@sdkgen/playground 2.2.0 → 2.3.2
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 +2 -3
- package/dist/3rdpartylicenses.txt +4 -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.cd5704b111ddd45f.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.5daac479644281df.js +0 -1
- package/dist/polyfills.26ec4e41250220ec.js +0 -1
- package/dist/styles.faa0cdb0ceb032a5.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{7545:function(Q,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 k in O)Object.prototype.hasOwnProperty.call(O,k)&&(w[k]=O[k])})(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 k,w=0,O=b.length;w<O;w++)(k||!(w in b))&&(k||(k=Array.prototype.slice.call(b,0,w)),k[w]=b[w]);return y.concat(k||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 k;try{k=JSON.stringify(O)}catch{k=String(O)}return y.call(this,"Invalid type at '".concat(v,"', expected ").concat(String(w),", got ").concat(k))||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,k=v;O<k.length;O++){var S=k[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,k=v;O<k.length;O++){var S=k[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(Q,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(Q,o,a){"use strict";var n=this&&this.__awaiter||function(_,f,y,b){return new(y||(y=Promise))(function(w,O){function k(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(k,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:k(0),throw:k(1),return:k(2)},"function"==typeof Symbol&&(O[Symbol.iterator]=function(){return this}),O;function k(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,k,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}),k={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(k))}).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(Q,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(Q,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,k=_(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,dt=(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=dt.length)&&($=Ct,Ct=dt,dt=$,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]+dt[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=ge(J,!0):(V(q,0,p),void 0===we?we=z.rounding:V(we,0,8),re=ge(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?ge(z):(V(q,0,p),void 0===we?we=$.rounding:V(we,0,8),re=ge((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&&Ne((z=z.times(R)).d,we),0!==(re=_(re/2));)Ne((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=ge(z,(re=ue(z))<=$.toExpNeg||re>=$.toExpPos):(V(q,1,p),void 0===we?we=$.rounding:V(we,0,8),J=ge(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 ge(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,dt,Te,xe,ke,Me,Pe,_t,ft,tt,ce,Ee,Fe,lt=J.constructor,ot=J.s==z.s?1:-1,Et=J.d,jt=z.d;if(!J.s)return new lt(J);if(!z.s)throw Error(d+"Division by zero");for(H=J.e-z.e,Ee=jt.length,tt=Et.length,Te=(dt=new lt(ot)).d=[],Oe=0;jt[Oe]==(Et[Oe]||0);)++Oe;if(jt[Oe]>(Et[Oe]||0)&&--H,(Pe=null==$?$=lt.precision:U?$+(ue(J)-ue(z))+1:$)<0)return new lt(0);if(Pe=Pe/w+2|0,Oe=0,1==Ee)for(He=0,jt=jt[0],Pe++;(Oe<tt||He)&&Pe--;Oe++)Te[Oe]=(_t=He*v+(Et[Oe]||0))/jt|0,He=_t%jt|0;else{for((He=v/(jt[0]+1)|0)>1&&(jt=q(jt,He),Et=q(Et,He),Ee=jt.length,tt=Et.length),ft=Ee,ke=(xe=Et.slice(0,Ee)).length;ke<Ee;)xe[ke++]=0;(Fe=jt.slice()).unshift(0),ce=jt[0],jt[1]>=v/2&&++ce;do{He=0,(R=we(jt,xe,Ee,ke))<0?(Me=xe[0],Ee!=ke&&(Me=Me*v+(xe[1]||0)),(He=Me/ce|0)>1?(He>=v&&(He=v-1),1==(R=we(vt=q(jt,He),xe,Ct=vt.length,ke=xe.length))&&(He--,re(vt,Ee<Ct?Fe:jt,Ct))):(0==He&&(R=He=1),vt=jt.slice()),(Ct=vt.length)<ke&&vt.unshift(0),re(xe,vt,ke),-1==R&&(R=we(jt,xe,Ee,ke=xe.length))<1&&(He++,re(xe,Ee<ke?Fe:jt,ke)),ke=xe.length):0===R&&(He++,xe=[0]),Te[Oe++]=He,R&&xe[0]?xe[ke++]=Et[ft]||0:(xe=[Et[ft]],ke=1)}while((ft++<tt||void 0!==xe[0])&&Pe--)}return Te[0]||Te.shift(),dt.e=H,be(dt,U?$+ue(dt)+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,dt=q,Te=dt.d,xe=dt.constructor,ke=xe.precision;if(dt.s<1)throw Error(d+(dt.s?"NaN":"-Infinity"));if(dt.eq(b))return new xe(0);if(null==we?(c=!1,Oe=ke):Oe=we,dt.eq(10))return null==we&&(c=!0),ie(xe,Oe);if(xe.precision=Oe+=10,J=(re=ee(Te)).charAt(0),$=ue(dt),!(Math.abs($)<15e14))return H=ie(xe,Oe+2,ke).times($+""),dt=ve(new xe(J+"."+re.slice(1)),Oe-10).plus(H),xe.precision=ke,null==we?(c=!0,be(dt,ke)):dt;for(;J<7&&1!=J||1==J&&re.charAt(1)>3;)J=(re=ee((dt=dt.times(q)).d)).charAt(0),vt++;for($=ue(dt),J>1?(dt=new xe("0."+re),$++):dt=new xe(J+"."+re.slice(1)),R=U=dt=W(dt.minus(b),dt.plus(b),Oe),He=be(dt.times(dt),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,ke).times($+""))),R=W(R,new xe(vt),Oe),xe.precision=ke,null==we?(c=!0,be(R,ke)):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>k||q.e<-k))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>k||q.e<-k))throw Error(m+ue(q));return q}function Ye(q,we){var re,J,z,$,U,R,H,Oe,He,vt,Ct=q.constructor,dt=Ct.precision;if(!q.s||!we.s)return we.s?we.s=-we.s:we=new Ct(q),c?be(we,dt):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(dt/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,dt):we):new Ct(0)}function ge(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 Ne(q,we){if(q.length>we)return q.length=we,!0}function qe(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=qe,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,Q))&&(Q.exports=n)}()},4065:(Q,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:(Q,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,k=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,k);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,k,!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,k,!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${k} = 0; i${k} < ${v}.GetArrayLength(); ++i${k})\n {\n ${u(b.base)} element${k};\n ${m(b.base,`${v}[i${k}]`,`$"{${w}}[{i${k}}]"`,`element${k}`,k+1).replace(/\n/gu,"\n ")}\n ${O}.Add(element${k});\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 k=b.base;for(;k instanceof n.TypeReference;)k=k.type;return`\n if (${v} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${_(k,p.includes(k.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(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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,k=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,k);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,k,!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,k,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${m(b.base,v,w,O,k,!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,k,!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,k=!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,k)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return _(b.type,v,w,O,k);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(Q,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:(Q,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:(Q,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(Q,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(Q,o,a){"use strict";var n=this&&this.__rest||function(dt,Te){var xe={};for(var ke in dt)Object.prototype.hasOwnProperty.call(dt,ke)&&Te.indexOf(ke)<0&&(xe[ke]=dt[ke]);if(null!=dt&&"function"==typeof Object.getOwnPropertySymbols){var Me=0;for(ke=Object.getOwnPropertySymbols(dt);Me<ke.length;Me++)Te.indexOf(ke[Me])<0&&Object.prototype.propertyIsEnumerable.call(dt,ke[Me])&&(xe[ke[Me]]=dt[ke[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,ke,Me,Pe,_t){super(),this.method=Te,this.path=xe,this.pathVariables=ke,this.queryVariables=Me,this.headers=Pe,this.bodyVariable=_t}},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 k 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 ge extends v{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class Ne extends v{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class Xe extends v{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class qe 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,ke=!1){super(),this.name=Te,this.type=xe,this.secret=ke,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,ke){super(),this.name=Te,this.fieldsAndSpreads=xe,this.returnType=ke,this.annotations=[],this.args=[]}},o.AstRoot=class Ct{constructor(Te=[],xe=[],ke=[]){this.typeDefinitions=Te,this.operations=xe,this.errors=ke,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},6151:(Q,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:(Q,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(Q,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:(Q,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 k={};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))}}k[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:k,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}),k=new n.AstRoot(b,y,O);return(0,s.analyse)(k),k}},4159:(Q,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:(Q,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 k=(new n.VoidPrimitiveType).at(O);this.token instanceof c.ColonSymbolToken&&(this.nextToken(),k=this.parseType());const S=new n.FunctionOperation(y,v,k);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,k=[];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),k.push(S),!(this.token instanceof c.CommaSymbolToken))break;this.nextToken()}w.struct=new n.StructType(k).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:(Q,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,...k]=_.split("?");_=O;const S=k.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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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 k 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:(Q,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:(Q,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)),k=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 ge(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 Ne(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,ge,3,0,"ng-template",16),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(6,"mat-tab",17),f.\u0275\u0275template(7,Ne,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,k.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:(Q,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),k=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(),k.AngularSplitModule,s.HttpClientModule,g.MatButtonModule,c.MatChipsModule,u.MatDialogModule,m.MatIconModule,_.MatMenuModule,d.MatRippleModule,f.MatTableModule,y.MatTabsModule,b.MatTooltipModule]})}return ue})()},343:(Q,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(k,S){1&k&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"info_outline"),p.\u0275\u0275elementContainerEnd())}function _(k,S){1&k&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"error"),p.\u0275\u0275elementContainerEnd())}function f(k,S){1&k&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"public"),p.\u0275\u0275elementContainerEnd())}function y(k,S){1&k&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"warning"),p.\u0275\u0275elementContainerEnd())}function b(k,S){1&k&&(p.\u0275\u0275elementContainerStart(0),p.\u0275\u0275text(1,"bug_report"),p.\u0275\u0275elementContainerEnd())}function v(k,S){if(1&k&&p.\u0275\u0275element(0,"ngx-json-viewer",6),2&k){const K=p.\u0275\u0275nextContext().$implicit;p.\u0275\u0275property("json",K.details)("expanded",!1)}}function w(k,S){if(1&k&&(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&k){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 k{constructor(){this.itemTypes=s.ConsoleItemType,this.items=[]}static#e=this.\u0275fac=function(V){return new(V||k)};static#t=this.\u0275cmp=p.\u0275\u0275defineComponent({type:k,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 k})()},821:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(Q,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 Q.reduce((n,s)=>(n[s.name]=a(s.type),n),{})}getTypeScriptCode(Q,o){return`await client.${Q}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(Q,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 Q.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(Q,o){return 0===o.length?`client.${Q}().await();`:`client.${Q}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(Q,o){return'print("todo");'}getSwiftCode(Q,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:(Q,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 Q(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(Q){this.sdkgen=Q,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(Q=>{Q&&(this.generateFunctionCode(Q.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(Q.url,Q.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 Q=JSON.parse(_this.extras),o=Object.keys(Q);for(const a of o)_this.client?.extra.set(a,Q[a])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(Q){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Q.toString()}),delete Q.toString,_this.response={error:{type:Q.type,message:Q.message,data:Q.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(Q,o){const a=Q.operations.find(n=>n.name===o)?.args;a&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(a),null,2))}static#_=this.\u0275fac=function Q(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 Q(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(Q){this.sdkgen=Q,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(Q=>{if(!Q)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(Q.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(Q.url,Q.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]=Q.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(Q){return`declare namespace sdkgen {\n${Q.substring(95,Q.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(Q){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:Q.toString()})}_this.busy=!1})()}static#_=this.\u0275fac=function Q(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 Q(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:(Q,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)),k=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(Pe,_t){if(1&Pe&&(c.\u0275\u0275elementStart(0,"span",8),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Pe){const ft=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.description)}}const Y=function(Pe){return{active:Pe}};function ue(Pe,_t){if(1&Pe){const ft=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",5),c.\u0275\u0275listener("click",function(){const Ee=c.\u0275\u0275restoreView(ft).$implicit,Fe=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Fe.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&Pe){const ft=_t.$implicit,tt=c.\u0275\u0275nextContext();c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction1(3,Y,(null==tt.selectedFunction?null:tt.selectedFunction.name)===ft.name)),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(ft.name),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",ft.description)}}function ie(Pe,_t){1&Pe&&c.\u0275\u0275element(0,"span")}function te(Pe,_t){if(1&Pe){const ft=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(ft).$implicit,Fe=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Fe.showDocumentation(Ee.rawType))}),c.\u0275\u0275text(9),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(10,ie,1,0,"span",38),c.\u0275\u0275elementEnd()}if(2&Pe){const ft=_t.$implicit,tt=_t.index;c.\u0275\u0275nextContext();const ce=c.\u0275\u0275reference(18),Ee=c.\u0275\u0275reference(20),Fe=c.\u0275\u0275nextContext();c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(ft.name),c.\u0275\u0275advance(4),c.\u0275\u0275property("matTooltip",Fe.getTooltip(ft.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.type),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",tt!=Fe.selectedFunction.args.length-1)("ngIfThen",ce)("ngIfElse",Ee)}}function ve(Pe,_t){1&Pe&&c.\u0275\u0275text(0,",")}function nt(Pe,_t){1&Pe&&c.\u0275\u0275element(0,"br")}function be(Pe,_t){if(1&Pe){const ft=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"u",29),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ft);const ce=c.\u0275\u0275nextContext().$implicit,Ee=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Ee.showDocumentation(ce.dataType))}),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()}if(2&Pe){const ft=c.\u0275\u0275nextContext().$implicit,tt=c.\u0275\u0275nextContext(3);c.\u0275\u0275property("matTooltip",tt.getTooltip(ft.dataType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1("(",ft.dataType.name,")")}}function Ye(Pe,_t){if(1&Pe&&(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&Pe){const ft=_t.$implicit;c.\u0275\u0275property("disableRipple",!0),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(ft.name),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate1("",ft.type," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",ft.dataType&&"void"!==ft.dataType.name)}}function ge(Pe,_t){if(1&Pe&&(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&Pe){const ft=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(2),c.\u0275\u0275property("ngForOf",ft.selectedFunction.labels)}}function Ne(Pe,_t){if(1&Pe&&(c.\u0275\u0275elementStart(0,"p"),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Pe){const ft=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.selectedFunction.description)}}function Xe(Pe,_t){1&Pe&&(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 qe(Pe,_t){1&Pe&&(c.\u0275\u0275elementStart(0,"p",44),c.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),c.\u0275\u0275elementEnd())}function q(Pe,_t){1&Pe&&(c.\u0275\u0275elementStart(0,"th",54),c.\u0275\u0275text(1,"Nome"),c.\u0275\u0275elementEnd())}function we(Pe,_t){if(1&Pe&&(c.\u0275\u0275elementStart(0,"td",55),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Pe){const ft=_t.$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.name)}}function re(Pe,_t){1&Pe&&(c.\u0275\u0275elementStart(0,"th",54),c.\u0275\u0275text(1,"Tipo"),c.\u0275\u0275elementEnd())}function J(Pe,_t){if(1&Pe){const ft=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"td",55)(1,"u",29),c.\u0275\u0275listener("click",function(){const Ee=c.\u0275\u0275restoreView(ft).$implicit,Fe=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Fe.showDocumentation(Ee.rawType))}),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd()()}if(2&Pe){const ft=_t.$implicit,tt=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(1),c.\u0275\u0275property("matTooltip",tt.getTooltip(ft.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.type)}}function z(Pe,_t){1&Pe&&(c.\u0275\u0275elementStart(0,"th",54),c.\u0275\u0275text(1,"Descri\xe7\xe3o"),c.\u0275\u0275elementEnd())}function $(Pe,_t){if(1&Pe&&(c.\u0275\u0275elementStart(0,"td",56),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Pe){const ft=_t.$implicit;c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.description||"-")}}function U(Pe,_t){1&Pe&&c.\u0275\u0275element(0,"tr",57)}function R(Pe,_t){1&Pe&&c.\u0275\u0275element(0,"tr",58)}function H(Pe,_t){if(1&Pe&&(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&Pe){const ft=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("dataSource",ft.selectedFunction.args),c.\u0275\u0275advance(10),c.\u0275\u0275property("matHeaderRowDef",ft.argumentsTableColumns),c.\u0275\u0275advance(1),c.\u0275\u0275property("matRowDefColumns",ft.argumentsTableColumns)}}function Oe(Pe,_t){1&Pe&&(c.\u0275\u0275elementStart(0,"span",59),c.\u0275\u0275text(1,"Dart"),c.\u0275\u0275elementEnd())}function He(Pe,_t){1&Pe&&(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"}},dt=function(){return{theme:"vs-dark",language:"dart"}},Te=function(){return{theme:"vs-dark",language:"swift"}};function xe(Pe,_t){if(1&Pe){const ft=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(ft);const ce=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ce.showDocumentation(ce.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(ft);const ce=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ce.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,ge,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,Ne,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,qe,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(ft);const ce=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ce.showDocumentation(ce.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&Pe){const ft=c.\u0275\u0275nextContext();c.\u0275\u0275advance(8),c.\u0275\u0275textInterpolate(ft.selectedFunction.name),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngForOf",ft.selectedFunction.args),c.\u0275\u0275advance(5),c.\u0275\u0275property("matTooltip",ft.getTooltip(ft.selectedFunction.returns.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.selectedFunction.returns.type),c.\u0275\u0275advance(10),c.\u0275\u0275property("ngIf",ft.selectedFunction.labels.length>0),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngSwitch",!!ft.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",ft.selectedFunction.args.length),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",0),c.\u0275\u0275advance(7),c.\u0275\u0275property("matTooltip",ft.getTooltip(ft.selectedFunction.returns.rawType)),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(ft.selectedFunction.returns.type),c.\u0275\u0275advance(5),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(20,vt))("ngModel",ft.selectedFunction.examples.typeScript),c.\u0275\u0275advance(2),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(21,Ct))("ngModel",ft.selectedFunction.examples.kotlin),c.\u0275\u0275advance(3),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(22,dt))("ngModel",ft.selectedFunction.examples.dart),c.\u0275\u0275advance(3),c.\u0275\u0275property("options",c.\u0275\u0275pureFunction0(23,Te))("ngModel",ft.selectedFunction.examples.swift)}}const ke=function(){return{standalone:!0}};o.TabHomeComponent=(()=>{class Pe{constructor(ft,tt,ce){this.sdkgen=ft,this.dialog=tt,this.responsive=ce,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(ft=>{ft&&(this.selectedFunction=void 0,this.fnTable=ft.astRoot.operations.sort((tt,ce)=>tt.name.localeCompare(ce.name)).map(tt=>{const ce=ft.astJson.annotations[`fn.${tt.name}`],Ee=this.sdkgen.buildJsonObject(tt.args);return ce?.find(Fe=>"hidden"===Fe.type)?null:{name:tt.name,description:ce?.find(Fe=>"description"===Fe.type)?.value,args:tt.args.map(({name:Fe,type:lt})=>{const ot=[...ft.astJson.annotations[`type.${lt.name}.${Fe}`]??[],...ft.astJson.annotations[`fn.${tt.name}.${Fe}`]??[]];return{name:Fe,description:ot.find(Et=>"description"===Et.type)?.value,type:lt.name,rawType:lt}}),argsStr:tt.args.map(Fe=>`${Fe.name}: ${Fe.type.name}`).join(", "),argsFields:tt.args,returns:{type:tt.returnType.name,rawType:tt.returnType},labels:ce?.filter(Fe=>["rest","throws"].includes(Fe.type)).map(Fe=>"rest"===Fe.type?{name:"REST",type:`${Fe.value.method} ${Fe.value.path}`}:"throws"===Fe.type?{name:"THROWS",type:Fe.value,dataType:ft.astRoot.errors.find(lt=>lt.name===Fe.value)?.dataType}:{name:"?",type:"?"})??[],throws:ce?.find(Fe=>"throws"===Fe.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(tt.name,Ee),kotlin:this.sdkgen.getKotlinCode(tt.name,tt.args),dart:this.sdkgen.getDartCode(tt.name,Ee),swift:this.sdkgen.getSwiftCode(tt.name,Ee)}}}).filter(tt=>!!tt))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(ft=>{this.isBelowMd=ft.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(ft){return(0,p.getTypeDoc)(ft).shortDescription}showDocumentation(ft){this.dialog.open(g.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:ft},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(tt){return new(tt||Pe)(c.\u0275\u0275directiveInject(d.SdkgenService),c.\u0275\u0275directiveInject(u.MatDialog),c.\u0275\u0275directiveInject(m.ResponsiveService))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Pe,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(tt,ce){1&tt&&(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(Fe){return ce.searchText=Fe}),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&tt&&(c.\u0275\u0275property("direction",ce.isBelowMd?"vertical":"horizontal"),c.\u0275\u0275advance(1),c.\u0275\u0275property("size",ce.isBelowMd?130:350),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngModel",ce.searchText)("ngModelOptions",c.\u0275\u0275pureFunction0(9,ke)),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngForOf",c.\u0275\u0275pipeBind2(8,6,ce.fnTable,ce.searchText)),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",ce.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,k.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 Pe})()},3632:(Q,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:(Q,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(ge,Ne){1&ge&&(g.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),g.\u0275\u0275text(2,"arrow_back"),g.\u0275\u0275elementEnd()())}function v(ge,Ne){if(1&ge&&(g.\u0275\u0275elementStart(0,"mat-chip",7),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()),2&ge){const Xe=Ne.$implicit;g.\u0275\u0275property("disableRipple",!0),g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe)}}function w(ge,Ne){1&ge&&(g.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),g.\u0275\u0275text(2,"close"),g.\u0275\u0275elementEnd()())}function O(ge,Ne){1&ge&&(g.\u0275\u0275elementStart(0,"th",20),g.\u0275\u0275text(1,"Nome"),g.\u0275\u0275elementEnd())}function k(ge,Ne){if(1&ge&&(g.\u0275\u0275elementStart(0,"td",21),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()),2&ge){const Xe=Ne.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe.name)}}function S(ge,Ne){1&ge&&(g.\u0275\u0275elementStart(0,"th",20),g.\u0275\u0275text(1,"Tipo"),g.\u0275\u0275elementEnd())}function K(ge,Ne){1&ge&&(g.\u0275\u0275elementStart(0,"span"),g.\u0275\u0275text(1,"-"),g.\u0275\u0275elementEnd())}function V(ge,Ne){if(1&ge){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&ge){const Xe=g.\u0275\u0275nextContext().$implicit,qe=g.\u0275\u0275nextContext(2);g.\u0275\u0275property("matTooltip",qe.getTooltip(Xe.type)),g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe.type.name)}}function ee(ge,Ne){1&ge&&(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&ge&&(g.\u0275\u0275property("ngSwitch",Ne.$implicit.type),g.\u0275\u0275advance(1),g.\u0275\u0275property("ngSwitchCase",null))}function W(ge,Ne){1&ge&&(g.\u0275\u0275elementStart(0,"th",20),g.\u0275\u0275text(1,"Descri\xe7\xe3o"),g.\u0275\u0275elementEnd())}function Y(ge,Ne){if(1&ge&&(g.\u0275\u0275elementStart(0,"td",26),g.\u0275\u0275text(1),g.\u0275\u0275elementEnd()),2&ge){const Xe=Ne.$implicit;g.\u0275\u0275advance(1),g.\u0275\u0275textInterpolate(Xe.description||"-")}}function ue(ge,Ne){1&ge&&g.\u0275\u0275element(0,"tr",27)}function ie(ge,Ne){1&ge&&g.\u0275\u0275element(0,"tr",28)}const te=function(){return[]};function ve(ge,Ne){if(1&ge&&(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,k,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&ge){const Xe=g.\u0275\u0275nextContext();let qe;g.\u0275\u0275advance(2),g.\u0275\u0275property("dataSource",null!==(qe=null==Xe.typeDoc?null:Xe.typeDoc.structFields)&&void 0!==qe?qe: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(ge,Ne){if(1&ge&&(g.\u0275\u0275elementStart(0,"li")(1,"code",1),g.\u0275\u0275text(2),g.\u0275\u0275elementEnd()()),2&ge){const Xe=Ne.$implicit;g.\u0275\u0275advance(2),g.\u0275\u0275textInterpolate(Xe)}}function be(ge,Ne){if(1&ge&&(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&ge){const Xe=g.\u0275\u0275nextContext();g.\u0275\u0275advance(4),g.\u0275\u0275property("ngForOf",null==Xe.typeDoc?null:Xe.typeDoc.examples)}}o.TypeDetailsComponent=(()=>{class ge{constructor(Xe,qe,q){this.dialogRef=Xe,this.data=qe,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(ge,{position:{right:"0"},data:{type:Xe,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(qe){return new(qe||ge)(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:ge,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(qe,q){1&qe&&(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&qe&&(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 ge})()},5276:(Q,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:(Q,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4913:(Q,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(Q,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,k=/CriOS\/[\d]+/.test(navigator.userAgent);if((k||w&&O||m)&&typeof FileReader<"u"){var S=new FileReader;S.onloadend=function(){var ee=S.result;ee=k?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=_,Q.exports=_})?a.apply(o,[]):a)&&(Q.exports=s)},188:function(Q,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(yi,hi,Qn,Ci){void 0===Ci&&(Ci=Qn),Object.defineProperty(yi,Ci,{enumerable:!0,get:function(){return hi[Qn]}})}:function(yi,hi,Qn,Ci){void 0===Ci&&(Ci=Qn),yi[Ci]=hi[Qn]}),s=this&&this.__exportStar||function(yi,hi){for(var Qn in yi)"default"!==Qn&&!Object.prototype.hasOwnProperty.call(hi,Qn)&&n(hi,yi,Qn)};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 k=a(4283);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return k.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 ge=a(833);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return ge.SequenceError}});var Ne=a(6406);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return Ne.TimeoutError}});var Xe=a(1490);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return Xe.UnsubscriptionError}});var qe=a(2344);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return qe.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 dt=a(4052);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return dt.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 ke=a(8186);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return ke.onErrorResumeNext}});var Me=a(5887);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return Me.pairs}});var Pe=a(127);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return Pe.partition}});var _t=a(9867);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return _t.race}});var ft=a(1173);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return ft.range}});var tt=a(5931);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return tt.throwError}});var ce=a(441);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return ce.timer}});var Ee=a(7261);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return Ee.using}});var Fe=a(2323);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return Fe.zip}});var lt=a(3881);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return lt.scheduled}});var ot=a(8611);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return ot.EMPTY}});var Et=a(8661);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return Et.NEVER}}),s(a(1728),o);var jt=a(2528);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return jt.config}});var Gt=a(547);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Gt.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 ut=a(7865);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return ut.bufferCount}});var Tt=a(4567);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return Tt.bufferTime}});var Ue=a(8151);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return Ue.bufferToggle}});var oe=a(5201);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return oe.bufferWhen}});var De=a(5503);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return De.catchError}});var ct=a(8868);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return ct.combineAll}});var It=a(5638);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return It.combineLatestAll}});var kt=a(7869);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return kt.combineLatestWith}});var en=a(7507);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return en.concatAll}});var on=a(6118);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return on.concatMap}});var _n=a(5505);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return _n.concatMapTo}});var Tn=a(9451);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return Tn.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 pt=a(9033);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return pt.defaultIfEmpty}});var Ot=a(9908);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return Ot.delay}});var Xt=a(2680);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return Xt.delayWhen}});var ht=a(7856);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return ht.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 F=a(9745);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return F.distinctUntilKeyChanged}});var fe=a(55);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return fe.elementAt}});var Ge=a(4486);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return Ge.endWith}});var At=a(3595);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return At.every}});var Je=a(1222);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return Je.exhaust}});var Lt=a(5438);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return Lt.exhaustAll}});var me=a(733);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return me.exhaustMap}});var Re=a(5006);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return Re.expand}});var Le=a(4488);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return Le.filter}});var wt=a(835);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return wt.finalize}});var Ht=a(6167);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return Ht.find}});var bn=a(105);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return bn.findIndex}});var wn=a(531);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return wn.first}});var un=a(7389);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return un.groupBy}});var Qe=a(8228);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return Qe.ignoreElements}});var $e=a(9185);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return $e.isEmpty}});var Be=a(3383);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return Be.last}});var at=a(5970);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return at.map}});var xt=a(5901);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return xt.mapTo}});var Ft=a(3136);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return Ft.materialize}});var Pt=a(1027);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return Pt.max}});var nn=a(689);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return nn.mergeAll}});var zt=a(984);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return zt.flatMap}});var yn=a(1049);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return yn.mergeMap}});var Vn=a(6191);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return Vn.mergeMapTo}});var Pn=a(6439);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return Pn.mergeScan}});var Fn=a(8821);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return Fn.mergeWith}});var bi=a(4147);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return bi.min}});var kn=a(4290);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return kn.multicast}});var mn=a(9512);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return mn.observeOn}});var _e=a(4268);Object.defineProperty(o,"onErrorResumeNextWith",{enumerable:!0,get:function(){return _e.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 pe=a(3693);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return pe.publish}});var ne=a(7465);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return ne.publishBehavior}});var et=a(5982);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return et.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 je=a(597);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return je.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 Cn=a(1017);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return Cn.retry}});var Sn=a(3377);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Sn.retryWhen}});var zn=a(8551);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return zn.refCount}});var ti=a(8255);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return ti.sample}});var Pi=a(941);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return Pi.sampleTime}});var ni=a(4141);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return ni.scan}});var Ji=a(5318);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return Ji.sequenceEqual}});var pr=a(2905);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return pr.share}});var ao=a(5940);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return ao.shareReplay}});var Dr=a(1619);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return Dr.single}});var xr=a(7605);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return xr.skip}});var qi=a(3106);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return qi.skipLast}});var or=a(7457);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return or.skipUntil}});var sr=a(676);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return sr.skipWhile}});var gr=a(6907);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return gr.startWith}});var xn=a(8625);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return xn.subscribeOn}});var Zn=a(9311);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return Zn.switchAll}});var ii=a(6180);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return ii.switchMap}});var Mi=a(7235);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return Mi.switchMapTo}});var di=a(2546);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return di.switchScan}});var er=a(3007);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return er.take}});var Mr=a(9747);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return Mr.takeLast}});var Ni=a(8325);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return Ni.takeUntil}});var Sr=a(548);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return Sr.takeWhile}});var Ir=a(3023);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return Ir.tap}});var jn=a(7635);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return jn.throttle}});var Wt=a(2403);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return Wt.throttleTime}});var ln=a(909);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return ln.throwIfEmpty}});var Nn=a(5892);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return Nn.timeInterval}});var ri=a(6406);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return ri.timeout}});var ar=a(6348);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return ar.timeoutWith}});var Jn=a(9010);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return Jn.timestamp}});var Li=a(2341);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return Li.toArray}});var An=a(1176);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return An.window}});var Si=a(6193);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return Si.windowCount}});var ui=a(2642);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return ui.windowTime}});var an=a(8036);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return an.windowToggle}});var Hi=a(1624);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return Hi.windowWhen}});var Ar=a(3725);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return Ar.withLatestFrom}});var fi=a(378);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return fi.zipAll}});var Wn=a(9952);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return Wn.zipWith}})},2562:function(Q,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(Q,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:(Q,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,k=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(_,k):null===(b=_.complete)||void 0===b||b.call(_)}o.Notification=d,o.observeNotification=u},9642:(Q,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:(Q,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 k=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=k.operator,ee=k.source;S.add(V?V.call(S,ee):ee?k._subscribe(S):k._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(k,S){var K=new n.SafeSubscriber({next:function(V){try{v(V)}catch(ee){S(ee),K.unsubscribe()}},error:S,complete:k});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,k){var S;w.subscribe(function(K){return S=K},function(K){return k(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(Q,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:(Q,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(Q,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 k=s(v.currentObservers),S=k.next();!S.done;S=k.next())S.value.next(b)}catch(V){w={error:V}}finally{try{S&&!S.done&&(O=k.return)&&O.call(k)}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,k=v.isStopped;v.hasError?b.error(v.thrownError):k&&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(Q,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 k(K){throw K},complete:d.noop}},642:function(Q,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,k,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){k={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(k)throw k.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 k=this._parentage;if(k)if(this._parentage=null,Array.isArray(k))try{for(var S=n(k),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 k.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:(Q,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:(Q,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:(Q,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(Q,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:(Q,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(Q,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,k,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){k={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(k)throw k.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=[],k=0;k<arguments.length;k++)O[k]=arguments[k];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:(Q,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:(Q,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(k){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(k,function(ve){K[ue]=ve,te||(te=!0,ee--),ee||k.next(O(K.slice()))},function(){--V||k.complete()}))},k)},Y=0;Y<S;Y++)W(Y)},k)}}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),k=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 k?ee.pipe(c.mapOneOrManyArgs(k)):ee},o.combineLatestInit=y},7704:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(k){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(k,function(te){ie||(ie=!0,ee--),K[ue]=te},function(){return V--},void 0,function(){(!V||!ie)&&(ee||k.next(w?u.createObject(w,K):K),k.complete())}))},Y=0;Y<S;Y++)W(Y);else k.complete()});return y?O.pipe(d.mapOneOrManyArgs(y)):O}},7149:(Q,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(Q,o,a){"use strict";var n=this&&this.__read||function(k,S){var K="function"==typeof Symbol&&k[Symbol.iterator];if(!K)return k;var ee,Y,V=K.call(k),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(k,S){return function(K){return function(V){return k[K](S,V)}}}o.fromEvent=function y(k,S,K,V){if(d.isFunction(K)&&(V=K,K=void 0),V)return y(k,S,K).pipe(u.mapOneOrManyArgs(V));var ee=n(function O(k){return d.isFunction(k.addEventListener)&&d.isFunction(k.removeEventListener)}(k)?_.map(function(ue){return function(ie){return k[ue](S,ie,K)}}):function v(k){return d.isFunction(k.addListener)&&d.isFunction(k.removeListener)}(k)?m.map(b(k,S)):function w(k){return d.isFunction(k.on)&&d.isFunction(k.off)}(k)?f.map(b(k,S)):[],2),W=ee[0],Y=ee[1];if(!W&&c.isArrayLike(k))return g.mergeMap(function(ue){return y(ue,S,K)})(s.innerFrom(k));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:(Q,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:(Q,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(Q,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(k){return function(S){return function O(k){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(b=2&k[0]?y.return:k[0]?y.throw||((b=y.return)&&b.call(y),0):y.next)&&!(b=b.call(y,k[1])).done)return b;switch(y=0,b&&(k=[2&k[0],b.value]),k[0]){case 0:case 1:b=k;break;case 4:return _.label++,{value:k[1],done:!1};case 5:_.label++,y=k[1],k=[0];continue;case 7:k=_.ops.pop(),_.trys.pop();continue;default:if(!(b=(b=_.trys).length>0&&b[b.length-1])&&(6===k[0]||2===k[0])){_=0;continue}if(3===k[0]&&(!b||k[1]>b[0]&&k[1]<b[3])){_.label=k[1];break}if(6===k[0]&&_.label<b[1]){_.label=b[1],b=k;break}if(b&&_.label<b[2]){_.label=b[2],_.ops.push(k);break}b[2]&&_.ops.pop(),_.trys.pop();continue}k=m.call(u,_)}catch(S){k=[6,S],y=0}finally{f=b=0}if(5&k[0])throw k[1];return{value:k[0]?k[1]:void 0,done:!0}}([k,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 k(){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(k(),y)}:k)}},1575:(Q,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(Q,o,a){"use strict";var n=this&&this.__awaiter||function(ie,te,ve,nt){return new(ve||(ve=Promise))(function(Ye,ge){function Ne(q){try{qe(nt.next(q))}catch(we){ge(we)}}function Xe(q){try{qe(nt.throw(q))}catch(we){ge(we)}}function qe(q){q.done?Ye(q.value):function be(Ye){return Ye instanceof ve?Ye:new ve(function(ge){ge(Ye)})}(q.value).then(Ne,Xe)}qe((nt=nt.apply(ie,te||[])).next())})},s=this&&this.__generator||function(ie,te){var nt,be,Ye,ge,ve={label:0,sent:function(){if(1&Ye[0])throw Ye[1];return Ye[1]},trys:[],ops:[]};return ge={next:Ne(0),throw:Ne(1),return:Ne(2)},"function"==typeof Symbol&&(ge[Symbol.iterator]=function(){return this}),ge;function Ne(qe){return function(q){return function Xe(qe){if(nt)throw new TypeError("Generator is already executing.");for(;ve;)try{if(nt=1,be&&(Ye=2&qe[0]?be.return:qe[0]?be.throw||((Ye=be.return)&&Ye.call(be),0):be.next)&&!(Ye=Ye.call(be,qe[1])).done)return Ye;switch(be=0,Ye&&(qe=[2&qe[0],Ye.value]),qe[0]){case 0:case 1:Ye=qe;break;case 4:return ve.label++,{value:qe[1],done:!1};case 5:ve.label++,be=qe[1],qe=[0];continue;case 7:qe=ve.ops.pop(),ve.trys.pop();continue;default:if(!(Ye=(Ye=ve.trys).length>0&&Ye[Ye.length-1])&&(6===qe[0]||2===qe[0])){ve=0;continue}if(3===qe[0]&&(!Ye||qe[1]>Ye[0]&&qe[1]<Ye[3])){ve.label=qe[1];break}if(6===qe[0]&&ve.label<Ye[1]){ve.label=Ye[1],Ye=qe;break}if(Ye&&ve.label<Ye[2]){ve.label=Ye[2],ve.ops.push(qe);break}Ye[2]&&ve.ops.pop(),ve.trys.pop();continue}qe=te.call(ie,ve)}catch(q){qe=[6,q],be=0}finally{nt=Ye=0}if(5&qe[0])throw qe[1];return{value:qe[0]?qe[1]:void 0,done:!0}}([qe,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(ge){return new Promise(function(Ne,Xe){!function be(Ye,ge,Ne,Xe){Promise.resolve(Xe).then(function(qe){Ye({value:qe,done:Ne})},ge)}(Ne,Xe,(ge=ie[Ye](ge)).done,ge.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(Ne){ve={error:Ne}}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 Ne;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 Ne=Xe.sent(),be={error:Ne},[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 k(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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(Q,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,k,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){k={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(k)throw k.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[]}),k=v.map(function(){return!1});w.add(function(){O=k=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&&k[ue]})&&w.complete()}},function(){k[V]=!0,!O[V].length&&w.complete()}))},K=0;!w.closed&&K<v.length;K++)S(K);return function(){O=k=null}}):d.EMPTY}},3922:function(Q,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:(Q,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:(Q,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:(Q,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(Q,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,k,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&&(k=W.return)&&k.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(Q,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,k=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!==k&&k>=0?m.executeSchedule(V,O,ue,k,!0):W=!0,ue();var ie=g.createOperatorSubscriber(V,function(te){var ve,nt,be=ee.slice();try{for(var Ye=n(be),ge=Ye.next();!ge.done;ge=Ye.next()){var Ne=ge.value,Xe=Ne.buffer;Xe.push(te),S<=Xe.length&&Y(Ne)}}catch(qe){ve={error:qe}}finally{try{ge&&!ge.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(Q,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 k=new s.Subscription;k.add(g.innerFrom(f(w)).subscribe(c.createOperatorSubscriber(b,function(){u.arrRemove(v,O),b.next(O),k.unsubscribe()},d.noop)))},d.noop)),y.subscribe(c.createOperatorSubscriber(b,function(w){var O,k;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&&(k=S.return)&&k.call(S)}finally{if(O)throw O.error}}},function(){for(;v.length>0;)b.next(v.shift());b.complete()}))})}},5201:(Q,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:(Q,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:(Q,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(5638);o.combineAll=n.combineLatestAll},7839:function(Q,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,k,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){k={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(k)throw k.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:(Q,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(Q,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(Q,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:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(5438);o.exhaust=n.exhaustAll},5438:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(1049);o.flatMap=n.mergeMap},7389:(Q,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)},k=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){k(ve)}},function(){return O(function(W){return W.complete()})},k,function(){return w.clear()},function(){return K=!0,0===S});y.subscribe(V)})}},8228:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(Q,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(k){O={error:k}}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:(Q,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:(Q,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,k=!1,S=function(){k&&!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(){k=!0,S()})),function(){b?.()}}},1049:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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(),k()});S.subscribe(K)}else k()},k=function(){var S=!1;w=y.subscribe(p.createOperatorSubscriber(b,void 0,function(){++v<_?w?O():S=!0:b.complete()})),S&&O()};k()})}},2806:(Q,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)},k=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(){_?k():f=!0},function(){b=!0,w()}))),y).next()})),f&&(_.unsubscribe(),_=null,f=!1,k())};k()})}},1017:(Q,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,k=0,K=function(){var V=!1;S=w.subscribe(s.createOperatorSubscriber(O,function(ee){v&&(k=0),O.next(ee)},void 0,function(ee){if(k++<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,k)),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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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 k=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),k?.unsubscribe()});return k};m.subscribe(v(f,y)),p.innerFrom(d).subscribe(v(y,f))})}},2905:function(Q,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(k){O={error:k}}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,k=_.resetOnRefCountZero,S=void 0===k||k;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 ge=W=W??y();Ye.add(function(){0==--Y&&!ie&&!ue&&(ee=m(nt,S))}),ge.subscribe(Ye),!V&&Y>0&&(V=new c.SafeSubscriber({next:function(Ne){return ge.next(Ne)},error:function(Ne){ie=!0,te(),ee=m(ve,v,Ne),ge.error(Ne)},complete:function(){ue=!0,te(),ee=m(ve,O),ge.complete()}}),p.innerFrom(be).subscribe(V))})(K)}}},5940:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(k){return m.next(d?d(v,k,O,w++):k)},function(){_=null,b()}))},function(){y=!0,b()}))})}},7235:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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:(Q,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,k=null,S=!1,K=function(){k?.unsubscribe(),k=null,v&&(W(),S&&m.complete())},V=function(){k=null,S&&m.complete()},ee=function(Y){return k=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,(!k||k.closed)&&(y?W():ee(Y))},function(){S=!0,(!(v&&w&&k)||k.closed)&&m.complete()}))})}},2403:(Q,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:(Q,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:(Q,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:(Q,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,k=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(k({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:(Q,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:(Q,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:(Q,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:(Q,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(Q,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,k;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&&(k=S.return)&&k.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:(Q,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,k=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!==k&&k>=0?m.executeSchedule(V,O,ue,k,!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(Q,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(k){for(;0<w.length;)w.shift().error(k);v.error(k)};c.innerFrom(f).subscribe(d.createOperatorSubscriber(v,function(k){var S=new s.Subject;w.push(S);var ee,K=new p.Subscription;try{ee=c.innerFrom(y(k))}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(k){var S,K,V=w.slice();try{for(var ee=n(V),W=ee.next();!W.done;W=ee.next())W.value.next(k)}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:(Q,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(Q,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,k,v=b.call(f),O=[];try{for(;(void 0===y||y-- >0)&&!(w=v.next()).done;)O.push(w.value)}catch(S){k={error:S}}finally{try{w&&!w.done&&(b=v.return)&&b.call(v)}finally{if(k)throw k.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,k=new Array(O),S=f.map(function(){return!1}),K=!1,V=function(W){c.innerFrom(f[W]).subscribe(g.createOperatorSubscriber(w,function(Y){k[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(k));w.next(b?b.apply(void 0,s([],n(Y))):Y)}}))})}},398:function(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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,k){if(null!=O){if(d.isInteropObservable(O))return n.scheduleObservable(O,k);if(m.isArrayLike(O))return p.scheduleArray(O,k);if(u.isPromise(O))return s.schedulePromise(O,k);if(f.isAsyncIterable(O))return c.scheduleAsyncIterable(O,k);if(_.isIterable(O))return g.scheduleIterable(O,k);if(b.isReadableStreamLike(O))return v.scheduleReadableStreamLike(O,k)}throw y.createInvalidObservableTypeError(O)}},6667:function(Q,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(Q,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(Q,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(Q,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(Q,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(Q,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(Q,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(Q,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(Q,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(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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(Q,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(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},1728:(Q,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4936:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},1692:(Q,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:(Q,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:(Q,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:(Q,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},3593:(Q,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:(Q,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:(Q,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:(Q,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(Q,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(k){return function(S){return function O(k){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(b=2&k[0]?y.return:k[0]?y.throw||((b=y.return)&&b.call(y),0):y.next)&&!(b=b.call(y,k[1])).done)return b;switch(y=0,b&&(k=[2&k[0],b.value]),k[0]){case 0:case 1:b=k;break;case 4:return _.label++,{value:k[1],done:!1};case 5:_.label++,y=k[1],k=[0];continue;case 7:k=_.ops.pop(),_.trys.pop();continue;default:if(!(b=(b=_.trys).length>0&&b[b.length-1])&&(6===k[0]||2===k[0])){_=0;continue}if(3===k[0]&&(!b||k[1]>b[0]&&k[1]<b[3])){_.label=k[1];break}if(6===k[0]&&_.label<b[1]){_.label=b[1],b=k;break}if(b&&_.label<b[2]){_.label=b[2],_.ops.push(k);break}b[2]&&_.ops.pop(),_.trys.pop();continue}k=m.call(u,_)}catch(S){k=[6,S],y=0}finally{f=b=0}if(5&k[0])throw k[1];return{value:k[0]?k[1]:void 0,done:!0}}([k,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(k,S):K(b[0][2],V)}(f[V](ee))}catch(W){K(b[0][3],W)}}function k(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:(Q,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:(Q,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(Q,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:(Q,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},1080:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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(k){k&&(this._subscribe=k)}lift(k){const S=new w;return S.source=this,S.operator=k,S}subscribe(k,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)}(k)?k:new n.Hp(k,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(k){try{return this._subscribe(k)}catch(S){k.error(S)}}forEach(k,S){return new(S=y(S))((K,V)=>{const ee=new n.Hp({next:W=>{try{k(W)}catch(Y){V(Y),ee.unsubscribe()}},error:V,complete:K});this.subscribe(ee)})}_subscribe(k){var S;return null===(S=this.source)||void 0===S?void 0:S.subscribe(k)}[p.L](){return this}pipe(...k){return function d(w){return 0===w.length?g.y:1===w.length?w[0]:function(k){return w.reduce((S,K)=>K(S),k)}}(k)(this)}toPromise(k){return new(k=y(k))((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:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{Hp:()=>k,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 k(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 k 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:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(Q,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:k,keys:S}=(0,s.D)(v);if(0===k.length)return(0,p.D)([],w);const K=new n.y(function y(v,w,O=g.y){return k=>{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)(k,ie=>{K[W]=ie,ue||(ue=!0,ee--),ee||k.next(O(K.slice()))},()=>{--V||k.complete()}))},k)},k)}}(k,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:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{E:()=>s});const s=new(a(3018).y)(c=>c.complete())},9315:(Q,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 k=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--),k[V]=W},()=>S--,void 0,()=>{(!S||!ee)&&(K||w.next(b?(0,u.n)(b,k):k),w.complete())}))}});return f?v.pipe((0,d.Z)(f)):v}},7715:(Q,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),k=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,k.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,ge;try{({value:Ye,done:ge}=be.next())}catch(Ne){return void nt.error(Ne)}ge?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:(Q,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,k,S,K){if((0,c.m)(S)&&(K=S,S=void 0),K)return f(O,k,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](k,Y,S)):function b(O){return(0,c.m)(O.addListener)&&(0,c.m)(O.removeListener)}(O)?u.map(y(O,k)):function v(O){return(0,c.m)(O.on)&&(0,c.m)(O.off)}(O)?_.map(y(O,k)):[];if(!V&&(0,g.z)(O))return(0,p.z)(W=>f(W,k,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,k){return S=>K=>O[S](k,K)}},4829:(Q,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 k(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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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,k=>{O=!0,w.next(k)},()=>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)((k,S)=>b(k,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,k=>{O=!0,w.next(k)},()=>{O||w.next(b),w.complete()}))})}(v):m(()=>new s))}},7398:(Q,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:(Q,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:(Q,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,k){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()})),()=>{k?.()}}(b,v,_,y)))}},3020:(Q,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,k=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)=>{k++,!K&&!S&&V();const ie=O=O??m();ue.add(()=>{k--,0===k&&!K&&!S&&(w=d(W,y))}),ie.subscribe(ue),!v&&k>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:(Q,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:(Q,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:(Q,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,k=>m.next(d?d(v,k,O,w++):k),()=>{_=null,b()}))},()=>{y=!0,b()}))})}},8180:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{E:()=>w});var n=a(1954);let p,s=1;const g={};function c(k){return k in g&&(delete g[k],!0)}const d={setImmediate(k){const S=s++;return g[S]=!0,p||(p=Promise.resolve()),p.then(()=>c(S)&&k()),S},clearImmediate(k){c(k)}},{setImmediate:m,clearImmediate:_}=d,f={setImmediate(...k){const{delegate:S}=f;return(S?.setImmediate||m)(...k)},clearImmediate(k){const{delegate:S}=f;return(S?.clearImmediate||_)(k)},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:(Q,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:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{h:()=>s});const s=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Q,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,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:(Q,o,a)=>{"use strict";function n(s){return s}a.d(o,{y:()=>n})},4266:(Q,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=s=>s&&"number"==typeof s.length&&"function"!=typeof s},5726:(Q,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:(Q,o,a)=>{"use strict";function n(s){return"function"==typeof s}a.d(o,{m:()=>n})},8382:(Q,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:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{t:()=>s});var n=a(4674);function s(p){return(0,n.m)(p?.then)}},541:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{K:()=>s});var n=a(4674);function s(p){return p&&(0,n.m)(p.schedule)}},9360:(Q,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:(Q,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:(Q,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},3894:(Q,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:(Q,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:(Q,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(k=>`${p(k.name)}: ${s(k.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(k=>`${p(k.name)}: ${p(k.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(Q,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:(Q,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:(Q,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:(Q,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(Q,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:(Q,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:(Q,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:(Q,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:Q=>{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)}Q.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)})}},Q.exports.__esModule=!0,Q.exports.default=Q.exports},6825:(Q,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:(Q,o,a)=>{"use strict";a.d(o,{$s:()=>be,Em:()=>qe,X6:()=>ce,ic:()=>we,kH:()=>It,qV:()=>xe,qm:()=>_n,rt:()=>Tn,tE:()=>ct,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),k=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,pt){if(!this._canBeDescribed(Ie,We))return;const Ot=Ye(We,pt);"string"!=typeof We?(ge(We,this._id),this._messageRegistry.set(Ot,{messageElement:We,referenceCount:0})):this._messageRegistry.has(Ot)||this._createMessageElement(We,pt),this._isElementDescribedByMessage(Ie,Ot)||this._addMessageReference(Ie,Ot)}removeDescription(Ie,We,pt){if(!We||!this._isElementNode(Ie))return;const Ot=Ye(We,pt);if(this._isElementDescribedByMessage(Ie,Ot)&&this._removeMessageReference(Ie,Ot),"string"==typeof We){const Xt=this._messageRegistry.get(Ot);Xt&&0===Xt.referenceCount&&this._deleteMessageElement(Ot)}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 pt=this._document.createElement("div");ge(pt,this._id),pt.textContent=Ie,We&&pt.setAttribute("role",We),this._createMessagesContainer(),this._messagesContainer.appendChild(pt),this._messageRegistry.set(Ye(Ie,We),{messageElement:pt,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 Ot=0;Ot<We.length;Ot++)We[Ot].remove();const pt=this._document.createElement("div");pt.style.visibility="hidden",pt.classList.add(Ie),pt.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&pt.setAttribute("platform","server"),this._document.body.appendChild(pt),this._messagesContainer=pt}_removeCdkDescribedByReferenceIds(Ie){const We=ue(Ie,"aria-describedby").filter(pt=>0!=pt.indexOf(te));Ie.setAttribute("aria-describedby",We.join(" "))}_addMessageReference(Ie,We){const pt=this._messageRegistry.get(We);(function W(yt,rt,Ie){const We=ue(yt,rt);We.some(pt=>pt.trim()==Ie.trim())||(We.push(Ie.trim()),yt.setAttribute(rt,We.join(" ")))})(Ie,"aria-describedby",pt.messageElement.id),Ie.setAttribute(ve,this._id),pt.referenceCount++}_removeMessageReference(Ie,We){const pt=this._messageRegistry.get(We);pt.referenceCount--,function Y(yt,rt,Ie){const pt=ue(yt,rt).filter(Ot=>Ot!=Ie.trim());pt.length?yt.setAttribute(rt,pt.join(" ")):yt.removeAttribute(rt)}(Ie,"aria-describedby",pt.messageElement.id),Ie.removeAttribute(ve)}_isElementDescribedByMessage(Ie,We){const pt=ue(Ie,"aria-describedby"),Ot=this._messageRegistry.get(We),Xt=Ot&&Ot.messageElement.id;return!!Xt&&-1!=pt.indexOf(Xt)}_canBeDescribed(Ie,We){if(!this._isElementNode(Ie))return!1;if(We&&"object"==typeof We)return!0;const pt=null==We?"":`${We}`.trim(),Ot=Ie.getAttribute("aria-label");return!(!pt||Ot&&Ot.trim()===pt)}_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 ge(yt,rt){yt.id||(yt.id=`${te}-${rt}-${nt++}`)}class Ne{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 pt=Ie.toArray().indexOf(this._activeItem);pt>-1&&pt!==this._activeItemIndex&&(this._activeItemIndex=pt)}}))}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 pt=1;pt<We.length+1;pt++){const Ot=(this._activeItemIndex+pt)%We.length,Xt=We[Ot];if(!this._skipPredicateFn(Xt)&&0===Xt.getLabel().toUpperCase().trim().indexOf(Ie)){this.setActiveItem(Ot);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,pt=["altKey","ctrlKey","metaKey","shiftKey"].every(Ot=>!rt[Ot]||this._allowedModifierKeys.indexOf(Ot)>-1);switch(Ie){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&pt){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&pt){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&pt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&pt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&pt){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&pt){this.setLastItemActive();break}return;case m.Ku:if(this._pageUpAndDown.enabled&&pt){const Ot=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Ot>0?Ot:0,1);break}return;case m.VM:if(this._pageUpAndDown.enabled&&pt){const Ot=this._activeItemIndex+this._pageUpAndDown.delta,Xt=this._getItemsArray().length;this._setActiveItemByIndex(Ot<Xt?Ot:Xt-1,-1);break}return;default:return void((pt||(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 pt=(this._activeItemIndex+rt*We+Ie.length)%Ie.length;if(!this._skipPredicateFn(Ie[pt]))return void this.setActiveItem(pt)}}_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 qe extends Ne{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 dt(yt){return yt.ownerDocument&&yt.ownerDocument.defaultView||window}(Ie));if(We&&(-1===He(We)||!this.isVisible(We)))return!1;let pt=Ie.nodeName.toLowerCase(),Ot=He(Ie);return Ie.hasAttribute("contenteditable")?-1!==Ot:!("iframe"===pt||"object"===pt||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"===pt?!!Ie.hasAttribute("controls")&&-1!==Ot:"video"===pt?-1!==Ot&&(null!==Ot||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,pt,Ot=!1){this._element=rt,this._checker=Ie,this._ngZone=We,this._document=pt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ot||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 pt=Ie[We].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Ie[We]):null;if(pt)return pt}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 pt=Ie[We].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ie[We]):null;if(pt)return pt}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,pt){this._checker=Ie,this._ngZone=We,this._document=pt}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 ce(yt){return 0===yt.buttons||0===yt.detail}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 Fe=new s.InjectionToken("cdk-input-modality-detector-options"),lt={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},Et=(0,p.i$)({passive:!0,capture:!0});let jt=(()=>{class yt{get mostRecentModality(){return this._modality.value}constructor(Ie,We,pt,Ot){this._platform=Ie,this._mostRecentTarget=null,this._modality=new d.X(null),this._lastTouchMs=0,this._onKeydown=Xt=>{this._options?.ignoreKeys?.some(ht=>ht===Xt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,p.sA)(Xt))},this._onMousedown=Xt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ce(Xt)?"keyboard":"mouse"),this._mostRecentTarget=(0,p.sA)(Xt))},this._onTouchstart=Xt=>{Ee(Xt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,p.sA)(Xt))},this._options={...lt,...Ot},this.modalityDetected=this._modality.pipe((0,w.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,O.x)()),Ie.isBrowser&&We.runOutsideAngular(()=>{pt.addEventListener("keydown",this._onKeydown,Et),pt.addEventListener("mousedown",this._onMousedown,Et),pt.addEventListener("touchstart",this._onTouchstart,Et)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Et),document.removeEventListener("mousedown",this._onMousedown,Et),document.removeEventListener("touchstart",this._onTouchstart,Et))}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(Fe,8))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();const oe=new s.InjectionToken("cdk-focus-monitor-default-options"),De=(0,p.i$)({passive:!0,capture:!0});let ct=(()=>{class yt{constructor(Ie,We,pt,Ot,Xt){this._ngZone=Ie,this._platform=We,this._inputModalityDetector=pt,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=ht=>{for(let G=(0,p.sA)(ht);G;G=G.parentElement)"focus"===ht.type?this._onFocus(ht,G):this._onBlur(ht,G)},this._document=Ot,this._detectionMode=Xt?.detectionMode||0}monitor(Ie,We=!1){const pt=(0,S.fI)(Ie);if(!this._platform.isBrowser||1!==pt.nodeType)return(0,u.of)();const Ot=(0,p.kV)(pt)||this._getDocument(),Xt=this._elementInfo.get(pt);if(Xt)return We&&(Xt.checkChildren=!0),Xt.subject;const ht={checkChildren:We,subject:new g.x,rootNode:Ot};return this._elementInfo.set(pt,ht),this._registerGlobalListeners(ht),ht.subject}stopMonitoring(Ie){const We=(0,S.fI)(Ie),pt=this._elementInfo.get(We);pt&&(pt.subject.complete(),this._setClasses(We),this._elementInfo.delete(We),this._removeGlobalListeners(pt))}focusVia(Ie,We,pt){const Ot=(0,S.fI)(Ie);Ot===this._getDocument().activeElement?this._getClosestElementsInfo(Ot).forEach(([ht,ye])=>this._originChanged(ht,We,ye)):(this._setOrigin(We),"function"==typeof Ot.focus&&Ot.focus(pt))}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 pt=this._elementInfo.get(We),Ot=(0,p.sA)(Ie);!pt||!pt.checkChildren&&We!==Ot||this._originChanged(We,this._getFocusOrigin(Ot),pt)}_onBlur(Ie,We){const pt=this._elementInfo.get(We);!pt||pt.checkChildren&&Ie.relatedTarget instanceof Node&&We.contains(Ie.relatedTarget)||(this._setClasses(We),this._emitOrigin(pt,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,pt=this._rootNodeFocusListenerCount.get(We)||0;pt||this._ngZone.runOutsideAngular(()=>{We.addEventListener("focus",this._rootNodeFocusAndBlurListener,De),We.addEventListener("blur",this._rootNodeFocusAndBlurListener,De)}),this._rootNodeFocusListenerCount.set(We,pt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,k.R)(this._stopInputModalityDetector)).subscribe(Ot=>{this._setOrigin(Ot,!0)}))}_removeGlobalListeners(Ie){const We=Ie.rootNode;if(this._rootNodeFocusListenerCount.has(We)){const pt=this._rootNodeFocusListenerCount.get(We);pt>1?this._rootNodeFocusListenerCount.set(We,pt-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,pt){this._setClasses(Ie,We),this._emitOrigin(pt,We),this._lastFocusOrigin=We}_getClosestElementsInfo(Ie){const We=[];return this._elementInfo.forEach((pt,Ot)=>{(Ot===Ie||pt.checkChildren&&Ot.contains(Ie))&&We.push([Ot,pt])}),We}_isLastInteractionFromInputLabel(Ie){const{_mostRecentTarget:We,mostRecentModality:pt}=this._inputModalityDetector;if("mouse"!==pt||!We||We===Ie||"INPUT"!==Ie.nodeName&&"TEXTAREA"!==Ie.nodeName||Ie.disabled)return!1;const Ot=Ie.labels;if(Ot)for(let Xt=0;Xt<Ot.length;Xt++)if(Ot[Xt].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(oe,8))};static#t=this.\u0275prov=s.\u0275\u0275defineInjectable({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),It=(()=>{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(ct))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:yt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return yt})();const kt="cdk-high-contrast-black-on-white",en="cdk-high-contrast-white-on-black",on="cdk-high-contrast-active";let _n=(()=>{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,pt=We&&We.getComputedStyle?We.getComputedStyle(Ie):null,Ot=(pt&&pt.backgroundColor||"").replace(/ /g,"");switch(Ie.remove(),Ot){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(on,kt,en),this._hasCheckedHighContrastMode=!0;const We=this.getHighContrastMode();1===We?Ie.add(on,kt):2===We&&Ie.add(on,en)}}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})(),Tn=(()=>{class yt{constructor(Ie){Ie._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(We){return new(We||yt)(s.\u0275\u0275inject(_n))};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:yt});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[K.Q8]})}return yt})()},9388:(Q,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:(Q,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:(Q,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:()=>k,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,k=36,S=37,K=38,V=39,ee=40,ie=46,te=48,q=57,$=65,Zt=90,Qt=91,st=224;function X(pe,...ne){return ne.length?ne.some(et=>pe[et]):pe.altKey||pe.shiftKey||pe.ctrlKey||pe.metaKey}},1088:(Q,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 k,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{k||(k=document.createElement("style"),ie&&(k.nonce=ie),k.setAttribute("type","text/css"),document.head.appendChild(k)),k.sheet&&(k.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 ge={matches:!1,breakpoints:{}};return Ye.forEach(({matches:Ne,query:Xe})=>{ge.matches=ge.matches||Ne,ge.breakpoints[Xe]=Ne}),ge}))}_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 ge=Ne=>this._zone.run(()=>Ye.next(Ne));return ve.addListener(ge),()=>{ve.removeListener(ge)}}).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:(Q,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 k=this._observeElement(v).subscribe(w);return()=>{k.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:(Q,o,a)=>{"use strict";a.d(o,{Iu:()=>qe,U8:()=>_t,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(ce,Ee){this._viewportRuler=ce,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ee}attach(){}enable(){if(this._canBeEnabled()){const ce=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ce.style.left||"",this._previousHTMLStyles.top=ce.style.top||"",ce.style.left=(0,g.HM)(-this._previousScrollPosition.left),ce.style.top=(0,g.HM)(-this._previousScrollPosition.top),ce.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ce=this._document.documentElement,Fe=ce.style,lt=this._document.body.style,ot=Fe.scrollBehavior||"",Et=lt.scrollBehavior||"";this._isEnabled=!1,Fe.left=this._previousHTMLStyles.left,Fe.top=this._previousHTMLStyles.top,ce.classList.remove("cdk-global-scrollblock"),w&&(Fe.scrollBehavior=lt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(Fe.scrollBehavior=ot,lt.scrollBehavior=Et)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ee=this._document.body,Fe=this._viewportRuler.getViewportSize();return Ee.scrollHeight>Fe.height||Ee.scrollWidth>Fe.width}}class S{constructor(ce,Ee,Fe,lt){this._scrollDispatcher=ce,this._ngZone=Ee,this._viewportRuler=Fe,this._config=lt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ce){this._overlayRef=ce}enable(){if(this._scrollSubscription)return;const ce=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=ce.subscribe(()=>{const Ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ce.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(tt,ce){return ce.some(Ee=>tt.bottom<Ee.top||tt.top>Ee.bottom||tt.right<Ee.left||tt.left>Ee.right)}function ee(tt,ce){return ce.some(Ee=>tt.top<Ee.top||tt.bottom>Ee.bottom||tt.left<Ee.left||tt.right>Ee.right)}class W{constructor(ce,Ee,Fe,lt){this._scrollDispatcher=ce,this._viewportRuler=Ee,this._ngZone=Fe,this._config=lt,this._scrollSubscription=null}attach(ce){this._overlayRef=ce}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:Fe,height:lt}=this._viewportRuler.getViewportSize();V(Ee,[{width:Fe,height:lt,bottom:lt,right:Fe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Y=(()=>{class tt{constructor(Ee,Fe,lt,ot){this._scrollDispatcher=Ee,this._viewportRuler=Fe,this._ngZone=lt,this.noop=()=>new K,this.close=Et=>new S(this._scrollDispatcher,this._ngZone,this._viewportRuler,Et),this.block=()=>new O(this._viewportRuler,this._document),this.reposition=Et=>new W(this._scrollDispatcher,this._viewportRuler,this._ngZone,Et),this._document=ot}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(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:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})();class ue{constructor(ce){if(this.scrollStrategy=new K,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ce){const Ee=Object.keys(ce);for(const Fe of Ee)void 0!==ce[Fe]&&(this[Fe]=ce[Fe])}}}class ve{constructor(ce,Ee){this.connectionPair=ce,this.scrollableViewProperties=Ee}}let Ye=(()=>{class tt{constructor(Ee){this._attachedOverlays=[],this._document=Ee}ngOnDestroy(){this.detach()}add(Ee){this.remove(Ee),this._attachedOverlays.push(Ee)}remove(Ee){const Fe=this._attachedOverlays.indexOf(Ee);Fe>-1&&this._attachedOverlays.splice(Fe,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(p.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),ge=(()=>{class tt extends Ye{constructor(Ee,Fe){super(Ee),this._ngZone=Fe,this._keydownListener=lt=>{const ot=this._attachedOverlays;for(let Et=ot.length-1;Et>-1;Et--)if(ot[Et]._keydownEvents.observers.length>0){const jt=ot[Et]._keydownEvents;this._ngZone?this._ngZone.run(()=>jt.next(lt)):jt.next(lt);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(Fe){return new(Fe||tt)(p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(p.NgZone,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),Ne=(()=>{class tt extends Ye{constructor(Ee,Fe,lt){super(Ee),this._platform=Fe,this._ngZone=lt,this._cursorStyleIsSet=!1,this._pointerDownListener=ot=>{this._pointerDownEventTarget=(0,c.sA)(ot)},this._clickListener=ot=>{const Et=(0,c.sA)(ot),jt="click"===ot.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Et;this._pointerDownEventTarget=null;const Gt=this._attachedOverlays.slice();for(let Zt=Gt.length-1;Zt>-1;Zt--){const Qt=Gt[Zt];if(Qt._outsidePointerEvents.observers.length<1||!Qt.hasAttached())continue;if(Qt.overlayElement.contains(Et)||Qt.overlayElement.contains(jt))break;const ut=Qt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ut.next(ot)):ut.next(ot)}}}add(Ee){if(super.add(Ee),!this._isAttached){const Fe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Fe)):this._addEventListeners(Fe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Fe.style.cursor,Fe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const 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(Fe){return new(Fe||tt)(p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(c.t4),p.\u0275\u0275inject(p.NgZone,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),Xe=(()=>{class tt{constructor(Ee,Fe){this._platform=Fe,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 lt=this._document.querySelectorAll(`.${Ee}[platform="server"], .${Ee}[platform="test"]`);for(let ot=0;ot<lt.length;ot++)lt[ot].remove()}const Fe=this._document.createElement("div");Fe.classList.add(Ee),(0,c.Oy)()?Fe.setAttribute("platform","test"):this._platform.isBrowser||Fe.setAttribute("platform","server"),this._document.body.appendChild(Fe),this._containerElement=Fe}static#e=this.\u0275fac=function(Fe){return new(Fe||tt)(p.\u0275\u0275inject(s.DOCUMENT),p.\u0275\u0275inject(c.t4))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})();class qe{constructor(ce,Ee,Fe,lt,ot,Et,jt,Gt,Zt,Qt=!1){this._portalOutlet=ce,this._host=Ee,this._pane=Fe,this._config=lt,this._ngZone=ot,this._keyboardDispatcher=Et,this._document=jt,this._location=Gt,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=ut=>this._backdropClick.next(ut),this._backdropTransitionendHandler=ut=>{this._disposeBackdrop(ut.target)},this._keydownEvents=new y.x,this._outsidePointerEvents=new y.x,lt.scrollStrategy&&(this._scrollStrategy=lt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=lt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ce){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ee=this._portalOutlet.attach(ce);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 ce=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ce}dispose(){const ce=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,ce&&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(ce){ce!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ce,this.hasAttached()&&(ce.attach(this),this.updatePosition()))}updateSize(ce){this._config={...this._config,...ce},this._updateElementSize()}setDirection(ce){this._config={...this._config,direction:ce},this._updateElementDirection()}addPanelClass(ce){this._pane&&this._toggleClasses(this._pane,ce,!0)}removePanelClass(ce){this._pane&&this._toggleClasses(this._pane,ce,!1)}getDirection(){const ce=this._config.direction;return ce?"string"==typeof ce?ce:ce.value:"ltr"}updateScrollStrategy(ce){ce!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ce,this.hasAttached()&&(ce.attach(this),ce.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ce=this._pane.style;ce.width=(0,g.HM)(this._config.width),ce.height=(0,g.HM)(this._config.height),ce.minWidth=(0,g.HM)(this._config.minWidth),ce.minHeight=(0,g.HM)(this._config.minHeight),ce.maxWidth=(0,g.HM)(this._config.maxWidth),ce.maxHeight=(0,g.HM)(this._config.maxHeight)}_togglePointerEvents(ce){this._pane.style.pointerEvents=ce?"":"none"}_attachBackdrop(){const ce="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(ce)})}):this._backdropElement.classList.add(ce)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ce=this._backdropElement;if(ce){if(this._animationsDisabled)return void this._disposeBackdrop(ce);ce.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ce.addEventListener("transitionend",this._backdropTransitionendHandler)}),ce.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ce)},500))}}_toggleClasses(ce,Ee,Fe){const lt=(0,g.Eq)(Ee||[]).filter(ot=>!!ot);lt.length&&(Fe?ce.classList.add(...lt):ce.classList.remove(...lt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ce=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()),ce.unsubscribe())})})}_disposeScrollStrategy(){const ce=this._scrollStrategy;ce&&(ce.disable(),ce.detach&&ce.detach())}_disposeBackdrop(ce){ce&&(ce.removeEventListener("click",this._backdropClickHandler),ce.removeEventListener("transitionend",this._backdropTransitionendHandler),ce.remove(),this._backdropElement===ce&&(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(ce,Ee,Fe,lt,ot){this._viewportRuler=Ee,this._document=Fe,this._platform=lt,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(ce)}attach(ce){this._validatePositions(),ce.hostElement.classList.add(q),this._overlayRef=ce,this._boundingBox=ce.hostElement,this._pane=ce.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 ce=this._originRect,Ee=this._overlayRect,Fe=this._viewportRect,lt=this._containerRect,ot=[];let Et;for(let jt of this._preferredPositions){let Gt=this._getOriginPoint(ce,lt,jt),Zt=this._getOverlayPoint(Gt,Ee,jt),Qt=this._getOverlayFit(Zt,Ee,Fe,jt);if(Qt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(jt,Gt);this._canFitWithFlexibleDimensions(Qt,Zt,Fe)?ot.push({position:jt,origin:Gt,overlayRect:Ee,boundingBoxRect:this._calculateBoundingBoxRect(Gt,jt)}):(!Et||Et.overlayFit.visibleArea<Qt.visibleArea)&&(Et={overlayFit:Qt,overlayPoint:Zt,originPoint:Gt,position:jt,overlayRect:Ee})}if(ot.length){let jt=null,Gt=-1;for(const Zt of ot){const Qt=Zt.boundingBoxRect.width*Zt.boundingBoxRect.height*(Zt.position.weight||1);Qt>Gt&&(Gt=Qt,jt=Zt)}return this._isPushed=!1,void this._applyPosition(jt.position,jt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Et.position,Et.originPoint);this._applyPosition(Et.position,Et.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 ce=this._lastPosition;if(ce){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,ce);this._applyPosition(ce,Ee)}else this.apply()}withScrollableContainers(ce){return this._scrollables=ce,this}withPositions(ce){return this._preferredPositions=ce,-1===ce.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ce){return this._viewportMargin=ce,this}withFlexibleDimensions(ce=!0){return this._hasFlexibleDimensions=ce,this}withGrowAfterOpen(ce=!0){return this._growAfterOpen=ce,this}withPush(ce=!0){return this._canPush=ce,this}withLockedPosition(ce=!0){return this._positionLocked=ce,this}setOrigin(ce){return this._origin=ce,this}withDefaultOffsetX(ce){return this._offsetX=ce,this}withDefaultOffsetY(ce){return this._offsetY=ce,this}withTransformOriginOn(ce){return this._transformOriginSelector=ce,this}_getOriginPoint(ce,Ee,Fe){let lt,ot;if("center"==Fe.originX)lt=ce.left+ce.width/2;else{const Et=this._isRtl()?ce.right:ce.left,jt=this._isRtl()?ce.left:ce.right;lt="start"==Fe.originX?Et:jt}return Ee.left<0&&(lt-=Ee.left),ot="center"==Fe.originY?ce.top+ce.height/2:"top"==Fe.originY?ce.top:ce.bottom,Ee.top<0&&(ot-=Ee.top),{x:lt,y:ot}}_getOverlayPoint(ce,Ee,Fe){let lt,ot;return lt="center"==Fe.overlayX?-Ee.width/2:"start"===Fe.overlayX?this._isRtl()?-Ee.width:0:this._isRtl()?0:-Ee.width,ot="center"==Fe.overlayY?-Ee.height/2:"top"==Fe.overlayY?0:-Ee.height,{x:ce.x+lt,y:ce.y+ot}}_getOverlayFit(ce,Ee,Fe,lt){const ot=$(Ee);let{x:Et,y:jt}=ce,Gt=this._getOffset(lt,"x"),Zt=this._getOffset(lt,"y");Gt&&(Et+=Gt),Zt&&(jt+=Zt);let Tt=0-jt,Ue=jt+ot.height-Fe.height,oe=this._subtractOverflows(ot.width,0-Et,Et+ot.width-Fe.width),De=this._subtractOverflows(ot.height,Tt,Ue),ct=oe*De;return{visibleArea:ct,isCompletelyWithinViewport:ot.width*ot.height===ct,fitsInViewportVertically:De===ot.height,fitsInViewportHorizontally:oe==ot.width}}_canFitWithFlexibleDimensions(ce,Ee,Fe){if(this._hasFlexibleDimensions){const lt=Fe.bottom-Ee.y,ot=Fe.right-Ee.x,Et=z(this._overlayRef.getConfig().minHeight),jt=z(this._overlayRef.getConfig().minWidth);return(ce.fitsInViewportVertically||null!=Et&&Et<=lt)&&(ce.fitsInViewportHorizontally||null!=jt&&jt<=ot)}return!1}_pushOverlayOnScreen(ce,Ee,Fe){if(this._previousPushAmount&&this._positionLocked)return{x:ce.x+this._previousPushAmount.x,y:ce.y+this._previousPushAmount.y};const lt=$(Ee),ot=this._viewportRect,Et=Math.max(ce.x+lt.width-ot.width,0),jt=Math.max(ce.y+lt.height-ot.height,0),Gt=Math.max(ot.top-Fe.top-ce.y,0),Zt=Math.max(ot.left-Fe.left-ce.x,0);let Qt=0,ut=0;return Qt=lt.width<=ot.width?Zt||-Et:ce.x<this._viewportMargin?ot.left-Fe.left-ce.x:0,ut=lt.height<=ot.height?Gt||-jt:ce.y<this._viewportMargin?ot.top-Fe.top-ce.y:0,this._previousPushAmount={x:Qt,y:ut},{x:ce.x+Qt,y:ce.y+ut}}_applyPosition(ce,Ee){if(this._setTransformOrigin(ce),this._setOverlayElementStyles(Ee,ce),this._setBoundingBoxStyles(Ee,ce),ce.panelClass&&this._addPanelClasses(ce.panelClass),this._lastPosition=ce,this._positionChanges.observers.length){const Fe=this._getScrollVisibility(),lt=new ve(ce,Fe);this._positionChanges.next(lt)}this._isInitialRender=!1}_setTransformOrigin(ce){if(!this._transformOriginSelector)return;const Ee=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Fe,lt=ce.overlayY;Fe="center"===ce.overlayX?"center":this._isRtl()?"start"===ce.overlayX?"right":"left":"start"===ce.overlayX?"left":"right";for(let ot=0;ot<Ee.length;ot++)Ee[ot].style.transformOrigin=`${Fe} ${lt}`}_calculateBoundingBoxRect(ce,Ee){const Fe=this._viewportRect,lt=this._isRtl();let ot,Et,jt,Qt,ut,Tt;if("top"===Ee.overlayY)Et=ce.y,ot=Fe.height-Et+this._viewportMargin;else if("bottom"===Ee.overlayY)jt=Fe.height-ce.y+2*this._viewportMargin,ot=Fe.height-jt+this._viewportMargin;else{const Ue=Math.min(Fe.bottom-ce.y+Fe.top,ce.y),oe=this._lastBoundingBoxSize.height;ot=2*Ue,Et=ce.y-Ue,ot>oe&&!this._isInitialRender&&!this._growAfterOpen&&(Et=ce.y-oe/2)}if("end"===Ee.overlayX&&!lt||"start"===Ee.overlayX&<)Tt=Fe.width-ce.x+this._viewportMargin,Qt=ce.x-this._viewportMargin;else if("start"===Ee.overlayX&&!lt||"end"===Ee.overlayX&<)ut=ce.x,Qt=Fe.right-ce.x;else{const Ue=Math.min(Fe.right-ce.x+Fe.left,ce.x),oe=this._lastBoundingBoxSize.width;Qt=2*Ue,ut=ce.x-Ue,Qt>oe&&!this._isInitialRender&&!this._growAfterOpen&&(ut=ce.x-oe/2)}return{top:Et,left:ut,bottom:jt,right:Tt,width:Qt,height:ot}}_setBoundingBoxStyles(ce,Ee){const Fe=this._calculateBoundingBoxRect(ce,Ee);!this._isInitialRender&&!this._growAfterOpen&&(Fe.height=Math.min(Fe.height,this._lastBoundingBoxSize.height),Fe.width=Math.min(Fe.width,this._lastBoundingBoxSize.width));const lt={};if(this._hasExactPosition())lt.top=lt.left="0",lt.bottom=lt.right=lt.maxHeight=lt.maxWidth="",lt.width=lt.height="100%";else{const ot=this._overlayRef.getConfig().maxHeight,Et=this._overlayRef.getConfig().maxWidth;lt.height=(0,g.HM)(Fe.height),lt.top=(0,g.HM)(Fe.top),lt.bottom=(0,g.HM)(Fe.bottom),lt.width=(0,g.HM)(Fe.width),lt.left=(0,g.HM)(Fe.left),lt.right=(0,g.HM)(Fe.right),lt.alignItems="center"===Ee.overlayX?"center":"end"===Ee.overlayX?"flex-end":"flex-start",lt.justifyContent="center"===Ee.overlayY?"center":"bottom"===Ee.overlayY?"flex-end":"flex-start",ot&&(lt.maxHeight=(0,g.HM)(ot)),Et&&(lt.maxWidth=(0,g.HM)(Et))}this._lastBoundingBoxSize=Fe,J(this._boundingBox.style,lt)}_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(ce,Ee){const Fe={},lt=this._hasExactPosition(),ot=this._hasFlexibleDimensions,Et=this._overlayRef.getConfig();if(lt){const Qt=this._viewportRuler.getViewportScrollPosition();J(Fe,this._getExactOverlayY(Ee,ce,Qt)),J(Fe,this._getExactOverlayX(Ee,ce,Qt))}else Fe.position="static";let jt="",Gt=this._getOffset(Ee,"x"),Zt=this._getOffset(Ee,"y");Gt&&(jt+=`translateX(${Gt}px) `),Zt&&(jt+=`translateY(${Zt}px)`),Fe.transform=jt.trim(),Et.maxHeight&&(lt?Fe.maxHeight=(0,g.HM)(Et.maxHeight):ot&&(Fe.maxHeight="")),Et.maxWidth&&(lt?Fe.maxWidth=(0,g.HM)(Et.maxWidth):ot&&(Fe.maxWidth="")),J(this._pane.style,Fe)}_getExactOverlayY(ce,Ee,Fe){let lt={top:"",bottom:""},ot=this._getOverlayPoint(Ee,this._overlayRect,ce);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Fe)),"bottom"===ce.overlayY?lt.bottom=this._document.documentElement.clientHeight-(ot.y+this._overlayRect.height)+"px":lt.top=(0,g.HM)(ot.y),lt}_getExactOverlayX(ce,Ee,Fe){let Et,lt={left:"",right:""},ot=this._getOverlayPoint(Ee,this._overlayRect,ce);return this._isPushed&&(ot=this._pushOverlayOnScreen(ot,this._overlayRect,Fe)),Et=this._isRtl()?"end"===ce.overlayX?"left":"right":"end"===ce.overlayX?"right":"left","right"===Et?lt.right=this._document.documentElement.clientWidth-(ot.x+this._overlayRect.width)+"px":lt.left=(0,g.HM)(ot.x),lt}_getScrollVisibility(){const ce=this._getOriginRect(),Ee=this._pane.getBoundingClientRect(),Fe=this._scrollables.map(lt=>lt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ce,Fe),isOriginOutsideView:V(ce,Fe),isOverlayClipped:ee(Ee,Fe),isOverlayOutsideView:V(Ee,Fe)}}_subtractOverflows(ce,...Ee){return Ee.reduce((Fe,lt)=>Fe-Math.max(lt,0),ce)}_getNarrowedViewportRect(){const ce=this._document.documentElement.clientWidth,Ee=this._document.documentElement.clientHeight,Fe=this._viewportRuler.getViewportScrollPosition();return{top:Fe.top+this._viewportMargin,left:Fe.left+this._viewportMargin,right:Fe.left+ce-this._viewportMargin,bottom:Fe.top+Ee-this._viewportMargin,width:ce-2*this._viewportMargin,height:Ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ce,Ee){return"x"===Ee?null==ce.offsetX?this._offsetX:ce.offsetX:null==ce.offsetY?this._offsetY:ce.offsetY}_validatePositions(){}_addPanelClasses(ce){this._pane&&(0,g.Eq)(ce).forEach(Ee=>{""!==Ee&&-1===this._appliedPanelClasses.indexOf(Ee)&&(this._appliedPanelClasses.push(Ee),this._pane.classList.add(Ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ce=>{this._pane.classList.remove(ce)}),this._appliedPanelClasses=[])}_getOriginRect(){const ce=this._origin;if(ce instanceof p.ElementRef)return ce.nativeElement.getBoundingClientRect();if(ce instanceof Element)return ce.getBoundingClientRect();const Ee=ce.width||0,Fe=ce.height||0;return{top:ce.y,bottom:ce.y+Fe,left:ce.x,right:ce.x+Ee,height:Fe,width:Ee}}}function J(tt,ce){for(let Ee in ce)ce.hasOwnProperty(Ee)&&(tt[Ee]=ce[Ee]);return tt}function z(tt){if("number"!=typeof tt&&null!=tt){const[ce,Ee]=tt.split(we);return Ee&&"px"!==Ee?null:parseFloat(ce)}return tt||null}function $(tt){return{top:Math.floor(tt.top),right:Math.floor(tt.right),bottom:Math.floor(tt.bottom),left:Math.floor(tt.left),width:Math.floor(tt.width),height:Math.floor(tt.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(ce){const Ee=ce.getConfig();this._overlayRef=ce,this._width&&!Ee.width&&ce.updateSize({width:this._width}),this._height&&!Ee.height&&ce.updateSize({height:this._height}),ce.hostElement.classList.add(H),this._isDisposed=!1}top(ce=""){return this._bottomOffset="",this._topOffset=ce,this._alignItems="flex-start",this}left(ce=""){return this._xOffset=ce,this._xPosition="left",this}bottom(ce=""){return this._topOffset="",this._bottomOffset=ce,this._alignItems="flex-end",this}right(ce=""){return this._xOffset=ce,this._xPosition="right",this}start(ce=""){return this._xOffset=ce,this._xPosition="start",this}end(ce=""){return this._xOffset=ce,this._xPosition="end",this}width(ce=""){return this._overlayRef?this._overlayRef.updateSize({width:ce}):this._width=ce,this}height(ce=""){return this._overlayRef?this._overlayRef.updateSize({height:ce}):this._height=ce,this}centerHorizontally(ce=""){return this.left(ce),this._xPosition="center",this}centerVertically(ce=""){return this.top(ce),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ce=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement.style,Fe=this._overlayRef.getConfig(),{width:lt,height:ot,maxWidth:Et,maxHeight:jt}=Fe,Gt=!("100%"!==lt&&"100vw"!==lt||Et&&"100%"!==Et&&"100vw"!==Et),Zt=!("100%"!==ot&&"100vh"!==ot||jt&&"100%"!==jt&&"100vh"!==jt),Qt=this._xPosition,ut=this._xOffset,Tt="rtl"===this._overlayRef.getConfig().direction;let Ue="",oe="",De="";Gt?De="flex-start":"center"===Qt?(De="center",Tt?oe=ut:Ue=ut):Tt?"left"===Qt||"end"===Qt?(De="flex-end",Ue=ut):("right"===Qt||"start"===Qt)&&(De="flex-start",oe=ut):"left"===Qt||"start"===Qt?(De="flex-start",Ue=ut):("right"===Qt||"end"===Qt)&&(De="flex-end",oe=ut),ce.position=this._cssPosition,ce.marginLeft=Gt?"0":Ue,ce.marginTop=Zt?"0":this._topOffset,ce.marginBottom=this._bottomOffset,ce.marginRight=Gt?"0":oe,Ee.justifyContent=De,Ee.alignItems=Zt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ce=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement,Fe=Ee.style;Ee.classList.remove(H),Fe.justifyContent=Fe.alignItems=ce.marginTop=ce.marginBottom=ce.marginLeft=ce.marginRight=ce.position="",this._overlayRef=null,this._isDisposed=!0}}let He=(()=>{class tt{constructor(Ee,Fe,lt,ot){this._viewportRuler=Ee,this._document=Fe,this._platform=lt,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(Fe){return new(Fe||tt)(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:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),vt=0,Ct=(()=>{class tt{constructor(Ee,Fe,lt,ot,Et,jt,Gt,Zt,Qt,ut,Tt,Ue){this.scrollStrategies=Ee,this._overlayContainer=Fe,this._componentFactoryResolver=lt,this._positionBuilder=ot,this._keyboardDispatcher=Et,this._injector=jt,this._ngZone=Gt,this._document=Zt,this._directionality=Qt,this._location=ut,this._outsideClickDispatcher=Tt,this._animationsModuleType=Ue}create(Ee){const Fe=this._createHostElement(),lt=this._createPaneElement(Fe),ot=this._createPortalOutlet(lt),Et=new ue(Ee);return Et.direction=Et.direction||this._directionality.value,new qe(ot,Fe,lt,Et,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ee){const Fe=this._document.createElement("div");return Fe.id="cdk-overlay-"+vt++,Fe.classList.add("cdk-overlay-pane"),Ee.appendChild(Fe),Fe}_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(Fe){return new(Fe||tt)(p.\u0275\u0275inject(Y),p.\u0275\u0275inject(Xe),p.\u0275\u0275inject(p.ComponentFactoryResolver),p.\u0275\u0275inject(He),p.\u0275\u0275inject(ge),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(Ne),p.\u0275\u0275inject(p.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})();const Pe={provide:new p.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Ct],useFactory:function Me(tt){return()=>tt.scrollStrategies.reposition()}};let _t=(()=>{class tt{static#e=this.\u0275fac=function(Fe){return new(Fe||tt)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:tt});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[Ct,Pe],imports:[_.vT,f.eL,n.Cl,n.Cl]})}return tt})()},2831:(Q,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,k,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==k){const Y=typeof document<"u"?document.head:null;k=!(!Y||!Y.createShadowRoot&&!Y.attachShadow)}return k}()){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:(Q,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 ge=Ye.element,Ne=this._document.createComment("dom-portal");ge.parentNode.insertBefore(Ne,ge),this.outletElement.appendChild(ge),this._attachedPortal=Ye,super.setDisposeFn(()=>{Ne.parentNode&&Ne.parentNode.replaceChild(ge,Ne)})},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,ge=this._document.createComment("dom-portal");be.setAttachedHost(this),Ye.parentNode.insertBefore(ge,Ye),this._getRootNode().appendChild(Ye),this._attachedPortal=be,super.setDisposeFn(()=>{ge.parentNode&&ge.parentNode.replaceChild(Ye,ge)})},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:(Q,o,a)=>{"use strict";a.d(o,{ZD:()=>dt,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 ke=requestAnimationFrame,Me=cancelAnimationFrame;const{delegate:Pe}=_;Pe&&(ke=Pe.requestAnimationFrame,Me=Pe.cancelAnimationFrame);const _t=ke(ft=>{Me=void 0,xe(ft)});return new m.w0(()=>Me?.(_t))},requestAnimationFrame(...xe){const{delegate:ke}=_;return(ke?.requestAnimationFrame||requestAnimationFrame)(...xe)},cancelAnimationFrame(...xe){const{delegate:ke}=_;return(ke?.cancelAnimationFrame||cancelAnimationFrame)(...xe)},delegate:void 0};var y=a(9931);new class b extends y.v{flush(ke){this._active=!0;const Me=this._scheduled;this._scheduled=void 0;const{actions:Pe}=this;let _t;ke=ke||Pe.shift();do{if(_t=ke.execute(ke.state,ke.delay))break}while((ke=Pe[0])&&ke.id===Me&&Pe.shift());if(this._active=!1,_t){for(;(ke=Pe[0])&&ke.id===Me&&Pe.shift();)ke.unsubscribe();throw _t}}}(class f extends u.o{constructor(ke,Me){super(ke,Me),this.scheduler=ke,this.work=Me}requestAsyncId(ke,Me,Pe=0){return null!==Pe&&Pe>0?super.requestAsyncId(ke,Me,Pe):(ke.actions.push(this),ke._scheduled||(ke._scheduled=_.requestAnimationFrame(()=>ke.flush(void 0))))}recycleAsyncId(ke,Me,Pe=0){var _t;if(null!=Pe?Pe>0:this.delay>0)return super.recycleAsyncId(ke,Me,Pe);const{actions:ft}=ke;null!=Me&&(null===(_t=ft[ft.length-1])||void 0===_t?void 0:_t.id)!==Me&&(_.cancelAnimationFrame(Me),ke._scheduled=void 0)}});a(6410);var k=a(6321),S=a(9360),K=a(4829),V=a(8251),W=a(4825);function Y(xe,ke=k.z){return function ee(xe){return(0,S.e)((ke,Me)=>{let Pe=!1,_t=null,ft=null,tt=!1;const ce=()=>{if(ft?.unsubscribe(),ft=null,Pe){Pe=!1;const Fe=_t;_t=null,Me.next(Fe)}tt&&Me.complete()},Ee=()=>{ft=null,tt&&Me.complete()};ke.subscribe((0,V.x)(Me,Fe=>{Pe=!0,_t=Fe,ft||(0,K.Xf)(xe(Fe)).subscribe(ft=(0,V.x)(Me,ce,Ee))},()=>{tt=!0,(!Pe||!ft||ft.closed)&&Me.complete()}))})}(()=>(0,W.H)(xe,ke))}var ue=a(2181),ie=a(2831),te=a(6814),ve=a(9388);let q=(()=>{class xe{constructor(Me,Pe,_t){this._ngZone=Me,this._platform=Pe,this._scrolled=new p.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=_t}register(Me){this.scrollContainers.has(Me)||this.scrollContainers.set(Me,Me.elementScrolled().subscribe(()=>this._scrolled.next(Me)))}deregister(Me){const Pe=this.scrollContainers.get(Me);Pe&&(Pe.unsubscribe(),this.scrollContainers.delete(Me))}scrolled(Me=20){return this._platform.isBrowser?new c.y(Pe=>{this._globalSubscription||this._addGlobalListener();const _t=Me>0?this._scrolled.pipe(Y(Me)).subscribe(Pe):this._scrolled.subscribe(Pe);return this._scrolledCount++,()=>{_t.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Me,Pe)=>this.deregister(Pe)),this._scrolled.complete()}ancestorScrolled(Me,Pe){const _t=this.getAncestorScrollContainers(Me);return this.scrolled(Pe).pipe((0,ue.h)(ft=>!ft||_t.indexOf(ft)>-1))}getAncestorScrollContainers(Me){const Pe=[];return this.scrollContainers.forEach((_t,ft)=>{this._scrollableContainsElement(ft,Me)&&Pe.push(ft)}),Pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Me,Pe){let _t=(0,n.fI)(Pe),ft=Me.getElementRef().nativeElement;do{if(_t==ft)return!0}while(_t=_t.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(Pe){return new(Pe||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,Pe,_t){this._platform=Me,this._change=new p.x,this._changeListener=ft=>{this._change.next(ft)},this._document=_t,Pe.runOutsideAngular(()=>{if(Me.isBrowser){const ft=this._getWindow();ft.addEventListener("resize",this._changeListener),ft.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:Pe,height:_t}=this.getViewportSize();return{top:Me.top,left:Me.left,bottom:Me.top+_t,right:Me.left+Pe,height:_t,width:Pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Me=this._document,Pe=this._getWindow(),_t=Me.documentElement,ft=_t.getBoundingClientRect();return{top:-ft.top||Me.body.scrollTop||Pe.scrollY||_t.scrollTop||0,left:-ft.left||Me.body.scrollLeft||Pe.scrollX||_t.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(Pe){return new(Pe||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})(),dt=(()=>{class xe{static#e=this.\u0275fac=function(Pe){return new(Pe||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(Pe){return new(Pe||xe)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:xe});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[ve.vT,dt,ve.vT,dt]})}return xe})()},6814:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>w,AsyncPipe:()=>ao,BrowserPlatformLocation:()=>_,CommonModule:()=>Jn,CurrencyPipe:()=>Wt,DATE_PIPE_DEFAULT_OPTIONS:()=>xn,DATE_PIPE_DEFAULT_TIMEZONE:()=>gr,DOCUMENT:()=>d,DatePipe:()=>Zn,DecimalPipe:()=>Ir,FormStyle:()=>te,FormatWidth:()=>nt,HashLocationStrategy:()=>k,I18nPluralPipe:()=>Mi,I18nSelectPipe:()=>di,IMAGE_CONFIG:()=>Un,IMAGE_LOADER:()=>dr,JsonPipe:()=>er,KeyValuePipe:()=>Ni,LOCATION_INITIALIZED:()=>m,Location:()=>S,LocationStrategy:()=>v,LowerCasePipe:()=>Dr,NgClass:()=>Vn,NgComponentOutlet:()=>Pn,NgFor:()=>kn,NgForOf:()=>kn,NgForOfContext:()=>bi,NgIf:()=>st,NgIfContext:()=>X,NgLocaleLocalization:()=>Ft,NgLocalization:()=>at,NgOptimizedImage:()=>qn,NgPlural:()=>$t,NgPluralCase:()=>Bt,NgStyle:()=>Cn,NgSwitch:()=>et,NgSwitchCase:()=>L,NgSwitchDefault:()=>Ve,NgTemplateOutlet:()=>Sn,NumberFormatStyle:()=>ue,NumberSymbol:()=>be,PRECONNECT_CHECK_BLOCKLIST:()=>xs,PathLocationStrategy:()=>O,PercentPipe:()=>jn,PlatformLocation:()=>u,Plural:()=>ie,SlicePipe:()=>ri,TitleCasePipe:()=>qi,TranslationWidth:()=>ve,UpperCasePipe:()=>or,VERSION:()=>Wn,ViewportScroller:()=>yi,WeekDay:()=>Ye,XhrFactory:()=>Zr,formatCurrency:()=>wt,formatDate:()=>jt,formatNumber:()=>bn,formatPercent:()=>Ht,getCurrencySymbol:()=>_t,getLocaleCurrencyCode:()=>He,getLocaleCurrencyName:()=>Oe,getLocaleCurrencySymbol:()=>H,getLocaleDateFormat:()=>J,getLocaleDateTimeFormat:()=>$,getLocaleDayNames:()=>Xe,getLocaleDayPeriods:()=>Ne,getLocaleDirection:()=>ke,getLocaleEraNames:()=>q,getLocaleExtraDayPeriodRules:()=>Te,getLocaleExtraDayPeriods:()=>xe,getLocaleFirstDayOfWeek:()=>we,getLocaleId:()=>ge,getLocaleMonthNames:()=>qe,getLocaleNumberFormat:()=>R,getLocaleNumberSymbol:()=>U,getLocalePluralCase:()=>Ct,getLocaleTimeFormat:()=>z,getLocaleWeekEndRange:()=>re,getNumberOfCurrencyDigits:()=>tt,isPlatformBrowser:()=>an,isPlatformServer:()=>Hi,isPlatformWorkerApp:()=>Ar,isPlatformWorkerUi:()=>fi,provideCloudflareLoader:()=>vr,provideCloudinaryLoader:()=>Br,provideImageKitLoader:()=>co,provideImgixLoader:()=>I,registerLocaleData:()=>Pt,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>Ci,\u0275PLATFORM_BROWSER_ID:()=>Li,\u0275PLATFORM_SERVER_ID:()=>An,\u0275PLATFORM_WORKER_APP_ID:()=>Si,\u0275PLATFORM_WORKER_UI_ID:()=>ui,\u0275getDOM:()=>p,\u0275parseCookieValue:()=>nn,\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,ae){if(0==D.length)return ae;if(0==ae.length)return D;let A=0;return D.endsWith("/")&&A++,ae.startsWith("/")&&A++,2==A?D+ae.substring(1):1==A?D+ae:D+"/"+ae}function y(D){const ae=D.match(/#|\?|$/),A=ae&&ae.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,gt){const Dt=this.prepareExternalUrl(Se+b(gt));this._platformLocation.pushState(A,B,Dt)}replaceState(A,B,Se,gt){const Dt=this.prepareExternalUrl(Se+b(gt));this._platformLocation.replaceState(A,B,Dt)}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})(),k=(()=>{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,gt){let Dt=this.prepareExternalUrl(Se+b(gt));0==Dt.length&&(Dt=this._platformLocation.pathname),this._platformLocation.pushState(A,B,Dt)}replaceState(A,B,Se,gt){let Dt=this.prepareExternalUrl(Se+b(gt));0==Dt.length&&(Dt=this._platformLocation.pathname),this._platformLocation.replaceState(A,B,Dt)}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,ae){if(!D||!ae.startsWith(D))return ae;const A=ae.substring(D.length);return""===A||["/",";","?","#"].includes(A[0])?A:ae}(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 ge(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.LocaleId]}function Ne(D,ae,A){const B=(0,n.\u0275findLocaleData)(D),gt=Me([B[n.\u0275LocaleDataIndex.DayPeriodsFormat],B[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],ae);return Me(gt,A)}function Xe(D,ae,A){const B=(0,n.\u0275findLocaleData)(D),gt=Me([B[n.\u0275LocaleDataIndex.DaysFormat],B[n.\u0275LocaleDataIndex.DaysStandalone]],ae);return Me(gt,A)}function qe(D,ae,A){const B=(0,n.\u0275findLocaleData)(D),gt=Me([B[n.\u0275LocaleDataIndex.MonthsFormat],B[n.\u0275LocaleDataIndex.MonthsStandalone]],ae);return Me(gt,A)}function q(D,ae){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.Eras],ae)}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,ae){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.DateFormat],ae)}function z(D,ae){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.TimeFormat],ae)}function $(D,ae){return Me((0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.DateTimeFormat],ae)}function U(D,ae){const A=(0,n.\u0275findLocaleData)(D),B=A[n.\u0275LocaleDataIndex.NumberSymbols][ae];if(typeof B>"u"){if(ae===be.CurrencyDecimal)return A[n.\u0275LocaleDataIndex.NumberSymbols][be.Decimal];if(ae===be.CurrencyGroup)return A[n.\u0275LocaleDataIndex.NumberSymbols][be.Group]}return B}function R(D,ae){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.NumberFormats][ae]}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 dt(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 ae=(0,n.\u0275findLocaleData)(D);return dt(ae),(ae[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(B=>"string"==typeof B?Pe(B):[Pe(B[0]),Pe(B[1])])}function xe(D,ae,A){const B=(0,n.\u0275findLocaleData)(D);dt(B);const gt=Me([B[n.\u0275LocaleDataIndex.ExtraData][0],B[n.\u0275LocaleDataIndex.ExtraData][1]],ae)||[];return Me(gt,A)||[]}function ke(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.Directionality]}function Me(D,ae){for(let A=ae;A>-1;A--)if(typeof D[A]<"u")return D[A];throw new Error("Locale data API: locale data undefined")}function Pe(D){const[ae,A]=D.split(":");return{hours:+ae,minutes:+A}}function _t(D,ae,A="en"){const B=function vt(D){return(0,n.\u0275findLocaleData)(D)[n.\u0275LocaleDataIndex.Currencies]}(A)[D]||Y[D]||[],Se=B[1];return"narrow"===ae&&"string"==typeof Se?Se:B[0]||D}const ft=2;function tt(D){let ae;const A=Y[D];return A&&(ae=A[2]),"number"==typeof ae?ae:ft}const ce=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ee={},Fe=/((?:[^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 lt=function(D){return D[D.Short=0]="Short",D[D.ShortGMT=1]="ShortGMT",D[D.Long=2]="Long",D[D.Extended=3]="Extended",D}(lt||{}),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||{}),Et=function(D){return D[D.DayPeriods=0]="DayPeriods",D[D.Days=1]="Days",D[D.Months=2]="Months",D[D.Eras=3]="Eras",D}(Et||{});function jt(D,ae,A,B){let Se=function Xt(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,gt=1,Dt=1]=D.split("-").map(Jt=>+Jt);return Gt(Se,gt-1,Dt)}const A=parseFloat(D);if(!isNaN(D-A))return new Date(A);let B;if(B=D.match(ce))return function ht(D){const ae=new Date(0);let A=0,B=0;const Se=D[8]?ae.setUTCFullYear:ae.setFullYear,gt=D[8]?ae.setUTCHours:ae.setHours;D[9]&&(A=Number(D[9]+D[10]),B=Number(D[9]+D[11])),Se.call(ae,Number(D[1]),Number(D[2])-1,Number(D[3]));const Dt=Number(D[4]||0)-A,Jt=Number(D[5]||0)-B,Hn=Number(D[6]||0),Gn=Math.floor(1e3*parseFloat("0."+(D[7]||0)));return gt.call(ae,Dt,Jt,Hn,Gn),ae}(B)}const ae=new Date(D);if(!ye(ae))throw new Error(`Unable to convert "${D}" into a date`);return ae}(D);ae=Zt(A,ae)||ae;let Jt,Dt=[];for(;ae;){if(Jt=Fe.exec(ae),!Jt){Dt.push(ae);break}{Dt=Dt.concat(Jt.slice(1));const Bn=Dt.pop();if(!Bn)break;ae=Bn}}let Hn=Se.getTimezoneOffset();B&&(Hn=We(B,Hn),Se=function Ot(D,ae,A){const B=A?-1:1,Se=D.getTimezoneOffset();return function pt(D,ae){return(D=new Date(D.getTime())).setMinutes(D.getMinutes()+ae),D}(D,B*(We(ae,Se)-Se))}(Se,B,!0));let Gn="";return Dt.forEach(Bn=>{const In=function Ie(D){if(rt[D])return rt[D];let ae;switch(D){case"G":case"GG":case"GGG":ae=De(Et.Eras,ve.Abbreviated);break;case"GGGG":ae=De(Et.Eras,ve.Wide);break;case"GGGGG":ae=De(Et.Eras,ve.Narrow);break;case"y":ae=Ue(ot.FullYear,1,0,!1,!0);break;case"yy":ae=Ue(ot.FullYear,2,0,!0,!0);break;case"yyy":ae=Ue(ot.FullYear,3,0,!1,!0);break;case"yyyy":ae=Ue(ot.FullYear,4,0,!1,!0);break;case"Y":ae=yt(1);break;case"YY":ae=yt(2,!0);break;case"YYY":ae=yt(3);break;case"YYYY":ae=yt(4);break;case"M":case"L":ae=Ue(ot.Month,1,1);break;case"MM":case"LL":ae=Ue(ot.Month,2,1);break;case"MMM":ae=De(Et.Months,ve.Abbreviated);break;case"MMMM":ae=De(Et.Months,ve.Wide);break;case"MMMMM":ae=De(Et.Months,ve.Narrow);break;case"LLL":ae=De(Et.Months,ve.Abbreviated,te.Standalone);break;case"LLLL":ae=De(Et.Months,ve.Wide,te.Standalone);break;case"LLLLL":ae=De(Et.Months,ve.Narrow,te.Standalone);break;case"w":ae=Tn(1);break;case"ww":ae=Tn(2);break;case"W":ae=Tn(1,!0);break;case"d":ae=Ue(ot.Date,1);break;case"dd":ae=Ue(ot.Date,2);break;case"c":case"cc":ae=Ue(ot.Day,1);break;case"ccc":ae=De(Et.Days,ve.Abbreviated,te.Standalone);break;case"cccc":ae=De(Et.Days,ve.Wide,te.Standalone);break;case"ccccc":ae=De(Et.Days,ve.Narrow,te.Standalone);break;case"cccccc":ae=De(Et.Days,ve.Short,te.Standalone);break;case"E":case"EE":case"EEE":ae=De(Et.Days,ve.Abbreviated);break;case"EEEE":ae=De(Et.Days,ve.Wide);break;case"EEEEE":ae=De(Et.Days,ve.Narrow);break;case"EEEEEE":ae=De(Et.Days,ve.Short);break;case"a":case"aa":case"aaa":ae=De(Et.DayPeriods,ve.Abbreviated);break;case"aaaa":ae=De(Et.DayPeriods,ve.Wide);break;case"aaaaa":ae=De(Et.DayPeriods,ve.Narrow);break;case"b":case"bb":case"bbb":ae=De(Et.DayPeriods,ve.Abbreviated,te.Standalone,!0);break;case"bbbb":ae=De(Et.DayPeriods,ve.Wide,te.Standalone,!0);break;case"bbbbb":ae=De(Et.DayPeriods,ve.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":ae=De(Et.DayPeriods,ve.Abbreviated,te.Format,!0);break;case"BBBB":ae=De(Et.DayPeriods,ve.Wide,te.Format,!0);break;case"BBBBB":ae=De(Et.DayPeriods,ve.Narrow,te.Format,!0);break;case"h":ae=Ue(ot.Hours,1,-12);break;case"hh":ae=Ue(ot.Hours,2,-12);break;case"H":ae=Ue(ot.Hours,1);break;case"HH":ae=Ue(ot.Hours,2);break;case"m":ae=Ue(ot.Minutes,1);break;case"mm":ae=Ue(ot.Minutes,2);break;case"s":ae=Ue(ot.Seconds,1);break;case"ss":ae=Ue(ot.Seconds,2);break;case"S":ae=Ue(ot.FractionalSeconds,1);break;case"SS":ae=Ue(ot.FractionalSeconds,2);break;case"SSS":ae=Ue(ot.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ae=It(lt.Short);break;case"ZZZZZ":ae=It(lt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ae=It(lt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ae=It(lt.Long);break;default:return null}return rt[D]=ae,ae}(Bn);Gn+=In?In(Se,A,Hn):"''"===Bn?"'":Bn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Gn}function Gt(D,ae,A){const B=new Date(0);return B.setFullYear(D,ae,A),B.setHours(0,0,0),B}function Zt(D,ae){const A=ge(D);if(Ee[A]=Ee[A]||{},Ee[A][ae])return Ee[A][ae];let B="";switch(ae){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"),gt=Zt(D,"shortDate");B=Qt($(D,nt.Short),[Se,gt]);break;case"medium":const Dt=Zt(D,"mediumTime"),Jt=Zt(D,"mediumDate");B=Qt($(D,nt.Medium),[Dt,Jt]);break;case"long":const Hn=Zt(D,"longTime"),Gn=Zt(D,"longDate");B=Qt($(D,nt.Long),[Hn,Gn]);break;case"full":const Bn=Zt(D,"fullTime"),In=Zt(D,"fullDate");B=Qt($(D,nt.Full),[Bn,In])}return B&&(Ee[A][ae]=B),B}function Qt(D,ae){return ae&&(D=D.replace(/\{([^}]+)}/g,function(A,B){return null!=ae&&B in ae?ae[B]:A})),D}function ut(D,ae,A="-",B,Se){let gt="";(D<0||Se&&D<=0)&&(Se?D=1-D:(D=-D,gt=A));let Dt=String(D);for(;Dt.length<ae;)Dt="0"+Dt;return B&&(Dt=Dt.slice(Dt.length-ae)),gt+Dt}function Ue(D,ae,A=0,B=!1,Se=!1){return function(gt,Dt){let Jt=function oe(D,ae){switch(D){case ot.FullYear:return ae.getFullYear();case ot.Month:return ae.getMonth();case ot.Date:return ae.getDate();case ot.Hours:return ae.getHours();case ot.Minutes:return ae.getMinutes();case ot.Seconds:return ae.getSeconds();case ot.FractionalSeconds:return ae.getMilliseconds();case ot.Day:return ae.getDay();default:throw new Error(`Unknown DateType value "${D}".`)}}(D,gt);if((A>0||Jt>-A)&&(Jt+=A),D===ot.Hours)0===Jt&&-12===A&&(Jt=12);else if(D===ot.FractionalSeconds)return function Tt(D,ae){return ut(D,3).substring(0,ae)}(Jt,ae);const Hn=U(Dt,be.MinusSign);return ut(Jt,ae,Hn,B,Se)}}function De(D,ae,A=te.Format,B=!1){return function(Se,gt){return function ct(D,ae,A,B,Se,gt){switch(A){case Et.Months:return qe(ae,Se,B)[D.getMonth()];case Et.Days:return Xe(ae,Se,B)[D.getDay()];case Et.DayPeriods:const Dt=D.getHours(),Jt=D.getMinutes();if(gt){const Gn=Te(ae),Bn=xe(ae,Se,B),In=Gn.findIndex(ei=>{if(Array.isArray(ei)){const[Kn,Ei]=ei,$r=Dt>=Kn.hours&&Jt>=Kn.minutes,wr=Dt<Ei.hours||Dt===Ei.hours&&Jt<Ei.minutes;if(Kn.hours<Ei.hours){if($r&&wr)return!0}else if($r||wr)return!0}else if(ei.hours===Dt&&ei.minutes===Jt)return!0;return!1});if(-1!==In)return Bn[In]}return Ne(ae,Se,B)[Dt<12?0:1];case Et.Eras:return q(ae,B)[D.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${A}`)}}(Se,gt,D,ae,A,B)}}function It(D){return function(ae,A,B){const Se=-1*B,gt=U(A,be.MinusSign),Dt=Se>0?Math.floor(Se/60):Math.ceil(Se/60);switch(D){case lt.Short:return(Se>=0?"+":"")+ut(Dt,2,gt)+ut(Math.abs(Se%60),2,gt);case lt.ShortGMT:return"GMT"+(Se>=0?"+":"")+ut(Dt,1,gt);case lt.Long:return"GMT"+(Se>=0?"+":"")+ut(Dt,2,gt)+":"+ut(Math.abs(Se%60),2,gt);case lt.Extended:return 0===B?"Z":(Se>=0?"+":"")+ut(Dt,2,gt)+":"+ut(Math.abs(Se%60),2,gt);default:throw new Error(`Unknown zone width "${D}"`)}}}const kt=0,en=4;function _n(D){return Gt(D.getFullYear(),D.getMonth(),D.getDate()+(en-D.getDay()))}function Tn(D,ae=!1){return function(A,B){let Se;if(ae){const gt=new Date(A.getFullYear(),A.getMonth(),1).getDay()-1,Dt=A.getDate();Se=1+Math.floor((Dt+gt)/7)}else{const gt=_n(A),Dt=function on(D){const ae=Gt(D,kt,1).getDay();return Gt(D,0,1+(ae<=en?en:en+7)-ae)}(gt.getFullYear()),Jt=gt.getTime()-Dt.getTime();Se=1+Math.round(Jt/6048e5)}return ut(Se,D,U(B,be.MinusSign))}}function yt(D,ae=!1){return function(A,B){return ut(_n(A).getFullYear(),D,U(B,be.MinusSign),ae)}}const rt={};function We(D,ae){D=D.replace(/:/g,"");const A=Date.parse("Jan 01, 1970 00:00:00 "+D)/6e4;return isNaN(A)?ae:A}function ye(D){return D instanceof Date&&!isNaN(D.valueOf())}const G=/^(\d+)?\.((\d+)(-(\d+))?)?$/,F=22,fe=".",Ge="0",At=";",Je=",",Lt="#",me="\xa4",Re="%";function Le(D,ae,A,B,Se,gt,Dt=!1){let Jt="",Hn=!1;if(isFinite(D)){let Gn=function Qe(D){let B,Se,gt,Dt,Jt,ae=Math.abs(D)+"",A=0;for((Se=ae.indexOf(fe))>-1&&(ae=ae.replace(fe,"")),(gt=ae.search(/e/i))>0?(Se<0&&(Se=gt),Se+=+ae.slice(gt+1),ae=ae.substring(0,gt)):Se<0&&(Se=ae.length),gt=0;ae.charAt(gt)===Ge;gt++);if(gt===(Jt=ae.length))B=[0],Se=1;else{for(Jt--;ae.charAt(Jt)===Ge;)Jt--;for(Se-=gt,B=[],Dt=0;gt<=Jt;gt++,Dt++)B[Dt]=Number(ae.charAt(gt))}return Se>F&&(B=B.splice(0,F-1),A=Se-1,Se=1),{digits:B,exponent:A,integerLen:Se}}(D);Dt&&(Gn=function un(D){if(0===D.digits[0])return D;const ae=D.digits.length-D.integerLen;return D.exponent?D.exponent+=2:(0===ae?D.digits.push(0,0):1===ae&&D.digits.push(0),D.integerLen+=2),D}(Gn));let Bn=ae.minInt,In=ae.minFrac,ei=ae.maxFrac;if(gt){const ur=gt.match(G);if(null===ur)throw new Error(`${gt} is not a valid digit info`);const Fr=ur[1],qr=ur[3],Fi=ur[5];null!=Fr&&(Bn=Be(Fr)),null!=qr&&(In=Be(qr)),null!=Fi?ei=Be(Fi):null!=qr&&In>ei&&(ei=In)}!function $e(D,ae,A){if(ae>A)throw new Error(`The minimum number of digits after fraction (${ae}) is higher than the maximum (${A}).`);let B=D.digits,Se=B.length-D.integerLen;const gt=Math.min(Math.max(ae,Se),A);let Dt=gt+D.integerLen,Jt=B[Dt];if(Dt>0){B.splice(Math.max(D.integerLen,Dt));for(let In=Dt;In<B.length;In++)B[In]=0}else{Se=Math.max(0,Se),D.integerLen=1,B.length=Math.max(1,Dt=gt+1),B[0]=0;for(let In=1;In<Dt;In++)B[In]=0}if(Jt>=5)if(Dt-1<0){for(let In=0;In>Dt;In--)B.unshift(0),D.integerLen++;B.unshift(1),D.integerLen++}else B[Dt-1]++;for(;Se<Math.max(0,gt);Se++)B.push(0);let Hn=0!==gt;const Gn=ae+D.integerLen,Bn=B.reduceRight(function(In,ei,Kn,Ei){return Ei[Kn]=(ei+=In)<10?ei:ei-10,Hn&&(0===Ei[Kn]&&Kn>=Gn?Ei.pop():Hn=!1),ei>=10?1:0},0);Bn&&(B.unshift(Bn),D.integerLen++)}(Gn,In,ei);let Kn=Gn.digits,Ei=Gn.integerLen;const $r=Gn.exponent;let wr=[];for(Hn=Kn.every(ur=>!ur);Ei<Bn;Ei++)Kn.unshift(0);for(;Ei<0;Ei++)Kn.unshift(0);Ei>0?wr=Kn.splice(Ei,Kn.length):(wr=Kn,Kn=[0]);const Jr=[];for(Kn.length>=ae.lgSize&&Jr.unshift(Kn.splice(-ae.lgSize,Kn.length).join(""));Kn.length>ae.gSize;)Jr.unshift(Kn.splice(-ae.gSize,Kn.length).join(""));Kn.length&&Jr.unshift(Kn.join("")),Jt=Jr.join(U(A,B)),wr.length&&(Jt+=U(A,Se)+wr.join("")),$r&&(Jt+=U(A,be.Exponential)+"+"+$r)}else Jt=U(A,be.Infinity);return Jt=D<0&&!Hn?ae.negPre+Jt+ae.negSuf:ae.posPre+Jt+ae.posSuf,Jt}function wt(D,ae,A,B,Se){const Dt=wn(R(ae,ue.Currency),U(ae,be.MinusSign));return Dt.minFrac=tt(B),Dt.maxFrac=Dt.minFrac,Le(D,Dt,ae,be.CurrencyGroup,be.CurrencyDecimal,Se).replace(me,A).replace(me,"").trim()}function Ht(D,ae,A){return Le(D,wn(R(ae,ue.Percent),U(ae,be.MinusSign)),ae,be.Group,be.Decimal,A,!0).replace(new RegExp(Re,"g"),U(ae,be.PercentSign))}function bn(D,ae,A){return Le(D,wn(R(ae,ue.Decimal),U(ae,be.MinusSign)),ae,be.Group,be.Decimal,A)}function wn(D,ae="-"){const A={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},B=D.split(At),Se=B[0],gt=B[1],Dt=-1!==Se.indexOf(fe)?Se.split(fe):[Se.substring(0,Se.lastIndexOf(Ge)+1),Se.substring(Se.lastIndexOf(Ge)+1)],Jt=Dt[0],Hn=Dt[1]||"";A.posPre=Jt.substring(0,Jt.indexOf(Lt));for(let Bn=0;Bn<Hn.length;Bn++){const In=Hn.charAt(Bn);In===Ge?A.minFrac=A.maxFrac=Bn+1:In===Lt?A.maxFrac=Bn+1:A.posSuf+=In}const Gn=Jt.split(Je);if(A.gSize=Gn[1]?Gn[1].length:0,A.lgSize=Gn[2]||Gn[1]?(Gn[2]||Gn[1]).length:0,gt){const Bn=Se.length-A.posPre.length-A.posSuf.length,In=gt.indexOf(Lt);A.negPre=gt.substring(0,In).replace(/'/g,""),A.negSuf=gt.slice(In+Bn).replace(/'/g,"")}else A.negPre=ae+A.posPre,A.negSuf=A.posSuf;return A}function Be(D){const ae=parseInt(D);if(isNaN(ae))throw new Error("Invalid integer literal when parsing "+D);return ae}let at=(()=>{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:(gt=n.\u0275\u0275inject(n.LOCALE_ID),Se=new Ft(gt)),Se;var gt},providedIn:"root"})}return D})();function xt(D,ae,A,B){let Se=`=${D}`;if(ae.indexOf(Se)>-1||(Se=A.getPluralCategory(D,B),ae.indexOf(Se)>-1))return Se;if(ae.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${D}"`)}let Ft=(()=>{class D extends at{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 Pt(D,ae,A){return(0,n.\u0275registerLocaleData)(D,ae,A)}function nn(D,ae){ae=encodeURIComponent(ae);for(const A of D.split(";")){const B=A.indexOf("="),[Se,gt]=-1==B?[A,""]:[A.slice(0,B),A.slice(B+1)];if(Se.trim()===ae)return decodeURIComponent(gt)}return null}const zt=/\s+/,yn=[];let Vn=(()=>{class D{constructor(A,B,Se,gt){this._iterableDiffers=A,this._keyValueDiffers=B,this._ngEl=Se,this._renderer=gt,this.initialClasses=yn,this.stateMap=new Map}set klass(A){this.initialClasses=null!=A?A.trim().split(zt):yn}set ngClass(A){this.rawClass="string"==typeof A?A.trim().split(zt):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(zt).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})(),Pn=(()=>{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,Fn(B)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Fn(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 Fn(D){return D.get(n.NgModuleRef).injector}class bi{constructor(ae,A,B,Se){this.$implicit=ae,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 kn=(()=>{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,gt,Dt)=>{if(null==Se.previousIndex)B.createEmbeddedView(this._template,new bi(Se.item,this._ngForOf,-1,-1),null===Dt?void 0:Dt);else if(null==Dt)B.remove(null===gt?void 0:gt);else if(null!==gt){const Jt=B.get(gt);B.move(Jt,Dt),mn(Jt,Se)}});for(let Se=0,gt=B.length;Se<gt;Se++){const Jt=B.get(Se).context;Jt.index=Se,Jt.count=gt,Jt.ngForOf=this._ngForOf}A.forEachIdentityChange(Se=>{mn(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 mn(D,ae){D.context.$implicit=ae.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){pe("ngIfThen",A),this._thenTemplateRef=A,this._thenViewRef=null,this._updateView()}set ngIfElse(A){pe("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 pe(D,ae){if(ae&&!ae.createEmbeddedView)throw new Error(`${D} must be a TemplateRef, but received '${(0,n.\u0275stringify)(ae)}'.`)}class ne{constructor(ae,A){this._viewContainerRef=ae,this._templateRef=A,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ae){ae&&!this._created?this.create():!ae&&this._created&&this.destroy()}}let et=(()=>{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(et,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(et,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=xt(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(at))};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,gt){this.value=A;const Dt=!isNaN(Number(A));gt.addCase(Dt?`=${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})(),Cn=(()=>{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,gt]=A.split("."),Dt=-1===Se.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=B?this._renderer.setStyle(this._ngEl.nativeElement,Se,gt?`${B}${gt}`:B,Dt):this._renderer.removeStyle(this._ngEl.nativeElement,Se,Dt)}_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:gt,ngTemplateOutletInjector:Dt}=this;this._viewRef=B.createEmbeddedView(Se,gt,Dt?{injector:Dt}: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 ti(D,ae){return new n.\u0275RuntimeError(2100,!1)}class Pi{createSubscription(ae,A){return(0,n.untracked)(()=>ae.subscribe({next:A,error:B=>{throw B}}))}dispose(ae){(0,n.untracked)(()=>ae.unsubscribe())}}class ni{createSubscription(ae,A){return ae.then(A,B=>{throw B})}dispose(ae){}}const Ji=new ni,pr=new Pi;let ao=(()=>{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 pr;throw ti()}_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})(),Dr=(()=>{class D{transform(A){if(null==A)return null;if("string"!=typeof A)throw ti();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 xr=/(?:[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 ti();return A.replace(xr,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})(),or=(()=>{class D{transform(A){if(null==A)return null;if("string"!=typeof A)throw ti();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 gr=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),xn=new n.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");let Zn=(()=>{class D{constructor(A,B,Se){this.locale=A,this.defaultTimezone=B,this.defaultOptions=Se}transform(A,B,Se,gt){if(null==A||""===A||A!=A)return null;try{return jt(A,B??this.defaultOptions?.dateFormat??"mediumDate",gt||this.locale,Se??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Dt){throw ti()}}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(gr,24),n.\u0275\u0275directiveInject(xn,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:D,pure:!0,standalone:!0})}return D})();const ii=/#/g;let Mi=(()=>{class D{constructor(A){this._localization=A}transform(A,B,Se){if(null==A)return"";if("object"!=typeof B||null===B)throw ti();return B[xt(A,Object.keys(B),this._localization,Se)].replace(ii,A.toString())}static#e=this.\u0275fac=function(B){return new(B||D)(n.\u0275\u0275directiveInject(at,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:D,pure:!0,standalone:!0})}return D})(),di=(()=>{class D{transform(A,B){if(null==A)return"";if("object"!=typeof B||"string"!=typeof A)throw ti();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})(),er=(()=>{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})(),Ni=(()=>{class D{constructor(A){this.differs=A,this.keyValues=[],this.compareFn=Sr}transform(A,B=Sr){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),gt=B!==this.compareFn;return Se&&(this.keyValues=[],Se.forEachItem(Dt=>{this.keyValues.push(function Mr(D,ae){return{key:D,value:ae}}(Dt.key,Dt.currentValue))})),(Se||gt)&&(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 Sr(D,ae){const A=D.key,B=ae.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),gt=String(B);return Se==gt?0:Se<gt?-1:1}let Ir=(()=>{class D{constructor(A){this._locale=A}transform(A,B,Se){if(!ln(A))return null;Se=Se||this._locale;try{return bn(Nn(A),Se,B)}catch(gt){throw ti()}}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})(),jn=(()=>{class D{constructor(A){this._locale=A}transform(A,B,Se){if(!ln(A))return null;Se=Se||this._locale;try{return Ht(Nn(A),Se,B)}catch(gt){throw ti()}}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})(),Wt=(()=>{class D{constructor(A,B="USD"){this._locale=A,this._defaultCurrencyCode=B}transform(A,B=this._defaultCurrencyCode,Se="symbol",gt,Dt){if(!ln(A))return null;Dt=Dt||this._locale,"boolean"==typeof Se&&(Se=Se?"symbol":"code");let Jt=B||this._defaultCurrencyCode;"code"!==Se&&(Jt="symbol"===Se||"symbol-narrow"===Se?_t(Jt,"symbol"===Se?"wide":"narrow",Dt):Se);try{return wt(Nn(A),Dt,Jt,B,gt)}catch(Hn){throw ti()}}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 ln(D){return!(null==D||""===D||D!=D)}function Nn(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 ri=(()=>{class D{transform(A,B,Se){if(null==A)return null;if(!this.supports(A))throw ti();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})(),Jn=(()=>{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 Li="browser",An="server",Si="browserWorkerApp",ui="browserWorkerUi";function an(D){return D===Li}function Hi(D){return D===An}function Ar(D){return D===Si}function fi(D){return D===ui}const Wn=new n.Version("16.2.12");let yi=(()=>{class D{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:D,providedIn:"root",factory:()=>new hi((0,n.\u0275\u0275inject)(d),window)})}return D})();class hi{constructor(ae,A){this.document=ae,this.window=A,this.offset=()=>[0,0]}setOffset(ae){this.offset=Array.isArray(ae)?()=>ae:ae}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ae){this.supportsScrolling()&&this.window.scrollTo(ae[0],ae[1])}scrollToAnchor(ae){if(!this.supportsScrolling())return;const A=function Qn(D,ae){const A=D.getElementById(ae)||D.getElementsByName(ae)[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 gt=Se.shadowRoot;if(gt){const Dt=gt.getElementById(ae)||gt.querySelector(`[name="${ae}"]`);if(Dt)return Dt}Se=B.nextNode()}}return null}(this.document,ae);A&&(this.scrollToElement(A),A.focus())}setHistoryScrollRestoration(ae){this.supportsScrolling()&&(this.window.history.scrollRestoration=ae)}scrollToElement(ae){const A=ae.getBoundingClientRect(),B=A.left+this.window.pageXOffset,Se=A.top+this.window.pageYOffset,gt=this.offset();this.window.scrollTo(B-gt[0],Se-gt[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Ci{setOffset(ae){}getScrollPosition(){return[0,0]}scrollToPosition(ae){}scrollToAnchor(ae){}setHistoryScrollRestoration(ae){}}class Zr{}function Qr(D){return D.startsWith("/")?D.slice(1):D}const lr=D=>D.src,dr=new n.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>lr});function mi(D,ae){return function(B){return function cr(D){if("string"!=typeof D||""===D.trim())return!1;try{return new URL(D),!0}catch{return!1}}(B)||function _r(D,ae){throw new n.\u0275RuntimeError(2959,!1)}(),B=function Mn(D){return D.endsWith("/")?D.slice(0,-1):D}(B),[{provide:dr,useValue:Dt=>(function $n(D){return/^https?:\/\//.test(D)}(Dt.src)&&function Or(D,ae){throw new n.\u0275RuntimeError(2959,!1)}(),D(B,{...Dt,src:Qr(Dt.src)}))}]}}const vr=mi(pi);function pi(D,ae){let A="format=auto";return ae.width&&(A+=`,width=${ae.width}`),`${D}/cdn-cgi/image/${A}/${ae.src}`}const Br=mi(zi);function zi(D,ae){let A="f_auto,q_auto";return ae.width&&(A+=`,w_${ae.width}`),`${D}/image/upload/${A}/${ae.src}`}const co=mi(lo);function lo(D,ae){const{src:A,width:B}=ae;let Se;return Se=B?[D,`tr:w-${B}`,A]:[D,A],Se.join("/")}const I=mi(he);function he(D,ae){const A=new URL(`${D}/${ae.src}`);return A.searchParams.set("auto","format"),ae.width&&A.searchParams.set("w",ae.width.toString()),A.href}const xs=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,gt){if(this.preloadedImages.has(B))return;this.preloadedImages.add(B);const Dt=A.createElement("link");A.setAttribute(Dt,"as","image"),A.setAttribute(Dt,"href",B),A.setAttribute(Dt,"rel","preload"),A.setAttribute(Dt,"fetchpriority","high"),gt&&A.setAttribute(Dt,"imageSizes",gt),Se&&A.setAttribute(Dt,"imageSrcset",Se),A.appendChild(this.document.head,Dt)}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 se=/^((\s*\d+w\s*(,|$)){1,})$/,bt=[1,2],hn={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:()=>hn});let qn=(()=>{class D{constructor(){this.imageLoader=(0,n.inject)(dr),this.config=function ai(D){let ae={};return D.breakpoints&&(ae.breakpoints=D.breakpoints.sort((A,B)=>A-B)),Object.assign({},hn,D,ae)}((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=Hi((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=se.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Se=>""!==Se).map(Se=>{Se=Se.trim();const gt=A?parseFloat(Se):parseFloat(Se)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:gt})} ${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(gt=>gt>=640)),B.map(gt=>`${this.callImageLoader({src:this.ngSrc,width:gt})} ${gt}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(){let A=!1;return this.sizes||(A=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==lr&&!A}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",Rr],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 Rr(D){return"string"==typeof D?D:(0,n.\u0275unwrapSafeValue)(D)}},7502:(Q,o,a)=>{"use strict";function n(Qe,$e,Be,at,xt,Ft,Pt){try{var nn=Qe[Ft](Pt),zt=nn.value}catch(yn){return void Be(yn)}nn.done?$e(zt):Promise.resolve(zt).then(at,xt)}function s(Qe){return function(){var $e=this,Be=arguments;return new Promise(function(at,xt){var Ft=Qe.apply($e,Be);function Pt(zt){n(Ft,at,xt,Pt,nn,"next",zt)}function nn(zt){n(Ft,at,xt,Pt,nn,"throw",zt)}Pt(void 0)})}}a.r(o),a.d(o,{FetchBackend:()=>Ct,HTTP_INTERCEPTORS:()=>_t,HttpBackend:()=>K,HttpClient:()=>H,HttpClientJsonpModule:()=>me,HttpClientModule:()=>Lt,HttpClientXsrfModule:()=>Je,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:()=>ct,HttpXsrfTokenExtractor:()=>Tn,JsonpClientBackend:()=>ut,JsonpInterceptor:()=>Ue,provideHttpClient:()=>Ot,withFetch:()=>At,withInterceptors:()=>Xt,withInterceptorsFromDi:()=>ye,withJsonpSupport:()=>fe,withNoXsrfProtection:()=>F,withRequestsMadeViaParent:()=>Ge,withXsrfConfiguration:()=>G,\u0275HttpInterceptingHandler:()=>Ee,\u0275HttpInterceptorHandler:()=>Ee,\u0275withHttpTransferCache:()=>un});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),k=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(Be=>{const at=Be.indexOf(":");if(at>0){const xt=Be.slice(0,at),Ft=xt.toLowerCase(),Pt=Be.slice(at+1).trim();this.maybeSetNormalizedName(xt,Ft),this.headers.has(Ft)?this.headers.get(Ft).push(Pt):this.headers.set(Ft,[Pt])}})}:typeof Headers<"u"&&$e instanceof Headers?(this.headers=new Map,$e.forEach((Be,at)=>{this.setHeaderEntries(at,Be)})):this.lazyInit=()=>{this.headers=new Map,Object.entries($e).forEach(([Be,at])=>{this.setHeaderEntries(Be,at)})}:this.headers=new Map}has($e){return this.init(),this.headers.has($e.toLowerCase())}get($e){this.init();const Be=this.headers.get($e.toLowerCase());return Be&&Be.length>0?Be[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll($e){return this.init(),this.headers.get($e.toLowerCase())||null}append($e,Be){return this.clone({name:$e,value:Be,op:"a"})}set($e,Be){return this.clone({name:$e,value:Be,op:"s"})}delete($e,Be){return this.clone({name:$e,value:Be,op:"d"})}maybeSetNormalizedName($e,Be){this.normalizedNames.has(Be)||this.normalizedNames.set(Be,$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(Be=>{this.headers.set(Be,$e.headers.get(Be)),this.normalizedNames.set(Be,$e.normalizedNames.get(Be))})}clone($e){const Be=new V;return Be.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,Be.lazyUpdate=(this.lazyUpdate||[]).concat([$e]),Be}applyUpdate($e){const Be=$e.name.toLowerCase();switch($e.op){case"a":case"s":let at=$e.value;if("string"==typeof at&&(at=[at]),0===at.length)return;this.maybeSetNormalizedName($e.name,Be);const xt=("a"===$e.op?this.headers.get(Be):void 0)||[];xt.push(...at),this.headers.set(Be,xt);break;case"d":const Ft=$e.value;if(Ft){let Pt=this.headers.get(Be);if(!Pt)return;Pt=Pt.filter(nn=>-1===Ft.indexOf(nn)),0===Pt.length?(this.headers.delete(Be),this.normalizedNames.delete(Be)):this.headers.set(Be,Pt)}else this.headers.delete(Be),this.normalizedNames.delete(Be)}}setHeaderEntries($e,Be){const at=(Array.isArray(Be)?Be:[Be]).map(Ft=>Ft.toString()),xt=$e.toLowerCase();this.headers.set(xt,at),this.maybeSetNormalizedName($e,xt)}forEach($e){this.init(),Array.from(this.normalizedNames.keys()).forEach(Be=>$e(this.normalizedNames.get(Be),this.headers.get(Be)))}}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(Qe){return encodeURIComponent(Qe).replace(ue,($e,Be)=>ie[Be]??$e)}function ve(Qe){return`${Qe}`}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(Qe,$e){const Be=new Map;return Qe.length>0&&Qe.replace(/^\?/,"").split("&").forEach(xt=>{const Ft=xt.indexOf("="),[Pt,nn]=-1==Ft?[$e.decodeKey(xt),""]:[$e.decodeKey(xt.slice(0,Ft)),$e.decodeValue(xt.slice(Ft+1))],zt=Be.get(Pt)||[];zt.push(nn),Be.set(Pt,zt)}),Be}($e.fromString,this.encoder)}else $e.fromObject?(this.map=new Map,Object.keys($e.fromObject).forEach(Be=>{const at=$e.fromObject[Be],xt=Array.isArray(at)?at.map(ve):[ve(at)];this.map.set(Be,xt)})):this.map=null}has($e){return this.init(),this.map.has($e)}get($e){this.init();const Be=this.map.get($e);return Be?Be[0]:null}getAll($e){return this.init(),this.map.get($e)||null}keys(){return this.init(),Array.from(this.map.keys())}append($e,Be){return this.clone({param:$e,value:Be,op:"a"})}appendAll($e){const Be=[];return Object.keys($e).forEach(at=>{const xt=$e[at];Array.isArray(xt)?xt.forEach(Ft=>{Be.push({param:at,value:Ft,op:"a"})}):Be.push({param:at,value:xt,op:"a"})}),this.clone(Be)}set($e,Be){return this.clone({param:$e,value:Be,op:"s"})}delete($e,Be){return this.clone({param:$e,value:Be,op:"d"})}toString(){return this.init(),this.keys().map($e=>{const Be=this.encoder.encodeKey($e);return this.map.get($e).map(at=>Be+"="+this.encoder.encodeValue(at)).join("&")}).filter($e=>""!==$e).join("&")}clone($e){const Be=new nt({encoder:this.encoder});return Be.cloneFrom=this.cloneFrom||this,Be.updates=(this.updates||[]).concat($e),Be}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 Be=("a"===$e.op?this.map.get($e.param):void 0)||[];Be.push(ve($e.value)),this.map.set($e.param,Be);break;case"d":if(void 0===$e.value){this.map.delete($e.param);break}{let at=this.map.get($e.param)||[];const xt=at.indexOf(ve($e.value));-1!==xt&&at.splice(xt,1),at.length>0?this.map.set($e.param,at):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,Be){return this.map.set($e,Be),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 Ne(Qe){return typeof ArrayBuffer<"u"&&Qe instanceof ArrayBuffer}function Xe(Qe){return typeof Blob<"u"&&Qe instanceof Blob}function qe(Qe){return typeof FormData<"u"&&Qe instanceof FormData}class we{constructor($e,Be,at,xt){let Ft;if(this.url=Be,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=$e.toUpperCase(),function ge(Qe){switch(Qe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||xt?(this.body=void 0!==at?at:null,Ft=xt):Ft=at,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 Pt=this.params.toString();if(0===Pt.length)this.urlWithParams=Be;else{const nn=Be.indexOf("?");this.urlWithParams=Be+(-1===nn?"?":nn<Be.length-1?"&":"")+Pt}}else this.params=new nt,this.urlWithParams=Be}serializeBody(){return null===this.body?null:Ne(this.body)||Xe(this.body)||qe(this.body)||function q(Qe){return typeof URLSearchParams<"u"&&Qe 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||qe(this.body)?null:Xe(this.body)?this.body.type||null:Ne(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 Be=$e.method||this.method,at=$e.url||this.url,xt=$e.responseType||this.responseType,Ft=void 0!==$e.body?$e.body:this.body,Pt=void 0!==$e.withCredentials?$e.withCredentials:this.withCredentials,nn=void 0!==$e.reportProgress?$e.reportProgress:this.reportProgress;let zt=$e.headers||this.headers,yn=$e.params||this.params;const Vn=$e.context??this.context;return void 0!==$e.setHeaders&&(zt=Object.keys($e.setHeaders).reduce((Pn,Fn)=>Pn.set(Fn,$e.setHeaders[Fn]),zt)),$e.setParams&&(yn=Object.keys($e.setParams).reduce((Pn,Fn)=>Pn.set(Fn,$e.setParams[Fn]),yn)),new we(Be,at,Ft,{params:yn,headers:zt,context:Vn,reportProgress:nn,responseType:xt,withCredentials:Pt})}}var re=function(Qe){return Qe[Qe.Sent=0]="Sent",Qe[Qe.UploadProgress=1]="UploadProgress",Qe[Qe.ResponseHeader=2]="ResponseHeader",Qe[Qe.DownloadProgress=3]="DownloadProgress",Qe[Qe.Response=4]="Response",Qe[Qe.User=5]="User",Qe}(re||{});class J{constructor($e,Be=200,at="OK"){this.headers=$e.headers||new V,this.status=void 0!==$e.status?$e.status:Be,this.statusText=$e.statusText||at,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(Qe,$e){return{body:$e,headers:Qe.headers,context:Qe.context,observe:Qe.observe,params:Qe.params,reportProgress:Qe.reportProgress,responseType:Qe.responseType,withCredentials:Qe.withCredentials}}let H=(()=>{class Qe{constructor(Be){this.handler=Be}request(Be,at,xt={}){let Ft;if(Be instanceof we)Ft=Be;else{let zt,yn;zt=xt.headers instanceof V?xt.headers:new V(xt.headers),xt.params&&(yn=xt.params instanceof nt?xt.params:new nt({fromObject:xt.params})),Ft=new we(Be,at,void 0!==xt.body?xt.body:null,{headers:zt,context:xt.context,params:yn,reportProgress:xt.reportProgress,responseType:xt.responseType||"json",withCredentials:xt.withCredentials})}const Pt=(0,g.of)(Ft).pipe(function _(Qe,$e){return(0,m.m)($e)?(0,u.z)(Qe,$e,1):(0,u.z)(Qe,1)}(zt=>this.handler.handle(zt)));if(Be instanceof we||"events"===xt.observe)return Pt;const nn=Pt.pipe((0,f.h)(zt=>zt instanceof $));switch(xt.observe||"body"){case"body":switch(Ft.responseType){case"arraybuffer":return nn.pipe((0,y.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zt.body}));case"blob":return nn.pipe((0,y.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof Blob))throw new Error("Response is not a Blob.");return zt.body}));case"text":return nn.pipe((0,y.U)(zt=>{if(null!==zt.body&&"string"!=typeof zt.body)throw new Error("Response is not a string.");return zt.body}));default:return nn.pipe((0,y.U)(zt=>zt.body))}case"response":return nn;default:throw new Error(`Unreachable: unhandled observe type ${xt.observe}}`)}}delete(Be,at={}){return this.request("DELETE",Be,at)}get(Be,at={}){return this.request("GET",Be,at)}head(Be,at={}){return this.request("HEAD",Be,at)}jsonp(Be,at){return this.request("JSONP",Be,{params:(new nt).append(at,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Be,at={}){return this.request("OPTIONS",Be,at)}patch(Be,at,xt={}){return this.request("PATCH",Be,R(xt,at))}post(Be,at,xt={}){return this.request("POST",Be,R(xt,at))}put(Be,at,xt={}){return this.request("PUT",Be,R(xt,at))}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(S))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();const Oe=/^\)\]\}',?\n/;function vt(Qe){if(Qe.url)return Qe.url;const $e="X-Request-URL".toLocaleLowerCase();return Qe.headers.get($e)}let Ct=(()=>{class Qe{constructor(){this.fetchImpl=(0,p.inject)(dt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,p.inject)(p.NgZone)}handle(Be){return new c.y(at=>{const xt=new AbortController;return this.doRequest(Be,xt.signal,at).then(Te,Ft=>at.error(new U({error:Ft}))),()=>xt.abort()})}doRequest(Be,at,xt){var Ft=this;return s(function*(){const Pt=Ft.createRequestInit(Be);let nn;try{const kn=Ft.fetchImpl(Be.urlWithParams,{signal:at,...Pt});(function xe(Qe){Qe.then(Te,Te)})(kn),xt.next({type:re.Sent}),nn=yield kn}catch(kn){return void xt.error(new U({error:kn,status:kn.status??0,statusText:kn.statusText,url:Be.urlWithParams,headers:kn.headers}))}const zt=new V(nn.headers),yn=nn.statusText,Vn=vt(nn)??Be.urlWithParams;let Pn=nn.status,Fn=null;if(Be.reportProgress&&xt.next(new z({headers:zt,status:Pn,statusText:yn,url:Vn})),nn.body){const kn=nn.headers.get("content-length"),mn=[],_e=nn.body.getReader();let X,pe,st=0;const ne=typeof Zone<"u"&&Zone.current;yield Ft.ngZone.runOutsideAngular(s(function*(){for(;;){const{done:L,value:Ve}=yield _e.read();if(L)break;if(mn.push(Ve),st+=Ve.length,Be.reportProgress){pe="text"===Be.responseType?(pe??"")+(X??=new TextDecoder).decode(Ve,{stream:!0}):void 0;const je=()=>xt.next({type:re.DownloadProgress,total:kn?+kn:void 0,loaded:st,partialText:pe});ne?ne.run(je):je()}}}));const et=Ft.concatChunks(mn,st);try{Fn=Ft.parseBody(Be,et)}catch(L){return void xt.error(new U({error:L,headers:new V(nn.headers),status:nn.status,statusText:nn.statusText,url:vt(nn)??Be.urlWithParams}))}}0===Pn&&(Pn=Fn?200:0),Pn>=200&&Pn<300?(xt.next(new $({body:Fn,headers:zt,status:Pn,statusText:yn,url:Vn})),xt.complete()):xt.error(new U({error:Fn,headers:zt,status:Pn,statusText:yn,url:Vn}))})()}parseBody(Be,at){switch(Be.responseType){case"json":const xt=(new TextDecoder).decode(at).replace(Oe,"");return""===xt?null:JSON.parse(xt);case"text":return(new TextDecoder).decode(at);case"blob":return new Blob([at]);case"arraybuffer":return at.buffer}}createRequestInit(Be){const at={},xt=Be.withCredentials?"include":void 0;if(Be.headers.forEach((Ft,Pt)=>at[Ft]=Pt.join(",")),at.Accept??="application/json, text/plain, */*",!at["Content-Type"]){const Ft=Be.detectContentTypeHeader();null!==Ft&&(at["Content-Type"]=Ft)}return{body:Be.serializeBody(),method:Be.method,headers:at,credentials:xt}}concatChunks(Be,at){const xt=new Uint8Array(at);let Ft=0;for(const Pt of Be)xt.set(Pt,Ft),Ft+=Pt.length;return xt}static#e=this.\u0275fac=function(at){return new(at||Qe)};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();class dt{}function Te(){}function ke(Qe,$e){return $e(Qe)}function Me(Qe,$e){return(Be,at)=>$e.intercept(Be,{handle:xt=>Qe(xt,at)})}const _t=new p.InjectionToken(""),ft=new p.InjectionToken(""),tt=new p.InjectionToken("");function ce(){let Qe=null;return($e,Be)=>{null===Qe&&(Qe=((0,p.inject)(_t,{optional:!0})??[]).reduceRight(Me,ke));const at=(0,p.inject)(p.\u0275InitialRenderPendingTasks),xt=at.add();return Qe($e,Be).pipe((0,b.x)(()=>at.remove(xt)))}}let lt,Ee=(()=>{class Qe extends S{constructor(Be,at){super(),this.backend=Be,this.injector=at,this.chain=null,this.pendingTasks=(0,p.inject)(p.\u0275InitialRenderPendingTasks)}handle(Be){if(null===this.chain){const xt=Array.from(new Set([...this.injector.get(ft),...this.injector.get(tt,[])]));this.chain=xt.reduceRight((Ft,Pt)=>function Pe(Qe,$e,Be){return(at,xt)=>Be.runInContext(()=>$e(at,Ft=>Qe(Ft,xt)))}(Ft,Pt,this.injector),ke)}const at=this.pendingTasks.add();return this.chain(Be,xt=>this.backend.handle(xt)).pipe((0,b.x)(()=>this.pendingTasks.remove(at)))}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(K),p.\u0275\u0275inject(p.EnvironmentInjector))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})(),Fe=0;class Zt{}function Qt(){return"object"==typeof window?window:{}}let ut=(()=>{class Qe{constructor(Be,at){this.callbackMap=Be,this.document=at,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Fe++}handle(Be){if("JSONP"!==Be.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Be.responseType)throw new Error("JSONP requests must use Json response type.");if(Be.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new c.y(at=>{const xt=this.nextCallback(),Ft=Be.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${xt}$1`),Pt=this.document.createElement("script");Pt.src=Ft;let nn=null,zt=!1;this.callbackMap[xt]=Fn=>{delete this.callbackMap[xt],nn=Fn,zt=!0};const yn=()=>{Pt.parentNode&&Pt.parentNode.removeChild(Pt),delete this.callbackMap[xt]};return Pt.addEventListener("load",Fn=>{this.resolvedPromise.then(()=>{yn(),zt?(at.next(new $({body:nn,status:200,statusText:"OK",url:Ft})),at.complete()):at.error(new U({url:Ft,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Pt.addEventListener("error",Fn=>{yn(),at.error(new U({error:Fn,status:0,statusText:"JSONP Error",url:Ft}))}),this.document.body.appendChild(Pt),at.next({type:re.Sent}),()=>{zt||this.removeListeners(Pt),yn()}})}removeListeners(Be){lt||(lt=this.document.implementation.createHTMLDocument()),lt.adoptNode(Be)}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(Zt),p.\u0275\u0275inject(k.DOCUMENT))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();function Tt(Qe,$e){return"JSONP"===Qe.method?(0,p.inject)(ut).handle(Qe):$e(Qe)}let Ue=(()=>{class Qe{constructor(Be){this.injector=Be}intercept(Be,at){return this.injector.runInContext(()=>Tt(Be,xt=>at.handle(xt)))}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(p.EnvironmentInjector))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();const oe=/^\)\]\}',?\n/;let ct=(()=>{class Qe{constructor(Be){this.xhrFactory=Be}handle(Be){if("JSONP"===Be.method)throw new p.\u0275RuntimeError(-2800,!1);const at=this.xhrFactory;return(at.\u0275loadImpl?(0,d.D)(at.\u0275loadImpl()):(0,g.of)(null)).pipe((0,v.w)(()=>new c.y(Ft=>{const Pt=at.build();if(Pt.open(Be.method,Be.urlWithParams),Be.withCredentials&&(Pt.withCredentials=!0),Be.headers.forEach((mn,_e)=>Pt.setRequestHeader(mn,_e.join(","))),Be.headers.has("Accept")||Pt.setRequestHeader("Accept","application/json, text/plain, */*"),!Be.headers.has("Content-Type")){const mn=Be.detectContentTypeHeader();null!==mn&&Pt.setRequestHeader("Content-Type",mn)}if(Be.responseType){const mn=Be.responseType.toLowerCase();Pt.responseType="json"!==mn?mn:"text"}const nn=Be.serializeBody();let zt=null;const yn=()=>{if(null!==zt)return zt;const mn=Pt.statusText||"OK",_e=new V(Pt.getAllResponseHeaders()),st=function De(Qe){return"responseURL"in Qe&&Qe.responseURL?Qe.responseURL:/^X-Request-URL:/m.test(Qe.getAllResponseHeaders())?Qe.getResponseHeader("X-Request-URL"):null}(Pt)||Be.url;return zt=new z({headers:_e,status:Pt.status,statusText:mn,url:st}),zt},Vn=()=>{let{headers:mn,status:_e,statusText:st,url:X}=yn(),pe=null;204!==_e&&(pe=typeof Pt.response>"u"?Pt.responseText:Pt.response),0===_e&&(_e=pe?200:0);let ne=_e>=200&&_e<300;if("json"===Be.responseType&&"string"==typeof pe){const et=pe;pe=pe.replace(oe,"");try{pe=""!==pe?JSON.parse(pe):null}catch(L){pe=et,ne&&(ne=!1,pe={error:L,text:pe})}}ne?(Ft.next(new $({body:pe,headers:mn,status:_e,statusText:st,url:X||void 0})),Ft.complete()):Ft.error(new U({error:pe,headers:mn,status:_e,statusText:st,url:X||void 0}))},Pn=mn=>{const{url:_e}=yn(),st=new U({error:mn,status:Pt.status||0,statusText:Pt.statusText||"Unknown Error",url:_e||void 0});Ft.error(st)};let Fn=!1;const bi=mn=>{Fn||(Ft.next(yn()),Fn=!0);let _e={type:re.DownloadProgress,loaded:mn.loaded};mn.lengthComputable&&(_e.total=mn.total),"text"===Be.responseType&&Pt.responseText&&(_e.partialText=Pt.responseText),Ft.next(_e)},kn=mn=>{let _e={type:re.UploadProgress,loaded:mn.loaded};mn.lengthComputable&&(_e.total=mn.total),Ft.next(_e)};return Pt.addEventListener("load",Vn),Pt.addEventListener("error",Pn),Pt.addEventListener("timeout",Pn),Pt.addEventListener("abort",Pn),Be.reportProgress&&(Pt.addEventListener("progress",bi),null!==nn&&Pt.upload&&Pt.upload.addEventListener("progress",kn)),Pt.send(nn),Ft.next({type:re.Sent}),()=>{Pt.removeEventListener("error",Pn),Pt.removeEventListener("abort",Pn),Pt.removeEventListener("load",Vn),Pt.removeEventListener("timeout",Pn),Be.reportProgress&&(Pt.removeEventListener("progress",bi),null!==nn&&Pt.upload&&Pt.upload.removeEventListener("progress",kn)),Pt.readyState!==Pt.DONE&&Pt.abort()}})))}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(k.XhrFactory))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();const It=new p.InjectionToken("XSRF_ENABLED"),kt="XSRF-TOKEN",en=new p.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>kt}),on="X-XSRF-TOKEN",_n=new p.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>on});class Tn{}let yt=(()=>{class Qe{constructor(Be,at,xt){this.doc=Be,this.platform=at,this.cookieName=xt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Be=this.doc.cookie||"";return Be!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,k.\u0275parseCookieValue)(Be,this.cookieName),this.lastCookieString=Be),this.lastToken}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(k.DOCUMENT),p.\u0275\u0275inject(p.PLATFORM_ID),p.\u0275\u0275inject(en))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();function rt(Qe,$e){const Be=Qe.url.toLowerCase();if(!(0,p.inject)(It)||"GET"===Qe.method||"HEAD"===Qe.method||Be.startsWith("http://")||Be.startsWith("https://"))return $e(Qe);const at=(0,p.inject)(Tn).getToken(),xt=(0,p.inject)(_n);return null!=at&&!Qe.headers.has(xt)&&(Qe=Qe.clone({headers:Qe.headers.set(xt,at)})),$e(Qe)}let Ie=(()=>{class Qe{constructor(Be){this.injector=Be}intercept(Be,at){return this.injector.runInContext(()=>rt(Be,xt=>at.handle(xt)))}static#e=this.\u0275fac=function(at){return new(at||Qe)(p.\u0275\u0275inject(p.EnvironmentInjector))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac})}return Qe})();var We=function(Qe){return Qe[Qe.Interceptors=0]="Interceptors",Qe[Qe.LegacyInterceptors=1]="LegacyInterceptors",Qe[Qe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Qe[Qe.NoXsrfProtection=3]="NoXsrfProtection",Qe[Qe.JsonpSupport=4]="JsonpSupport",Qe[Qe.RequestsMadeViaParent=5]="RequestsMadeViaParent",Qe[Qe.Fetch=6]="Fetch",Qe}(We||{});function pt(Qe,$e){return{\u0275kind:Qe,\u0275providers:$e}}function Ot(...Qe){const $e=[H,ct,Ee,{provide:S,useExisting:Ee},{provide:K,useExisting:ct},{provide:ft,useValue:rt,multi:!0},{provide:It,useValue:!0},{provide:Tn,useClass:yt}];for(const Be of Qe)$e.push(...Be.\u0275providers);return(0,p.makeEnvironmentProviders)($e)}function Xt(Qe){return pt(We.Interceptors,Qe.map($e=>({provide:ft,useValue:$e,multi:!0})))}const ht=new p.InjectionToken("LEGACY_INTERCEPTOR_FN");function ye(){return pt(We.LegacyInterceptors,[{provide:ht,useFactory:ce},{provide:ft,useExisting:ht,multi:!0}])}function G({cookieName:Qe,headerName:$e}){const Be=[];return void 0!==Qe&&Be.push({provide:en,useValue:Qe}),void 0!==$e&&Be.push({provide:_n,useValue:$e}),pt(We.CustomXsrfConfiguration,Be)}function F(){return pt(We.NoXsrfProtection,[{provide:It,useValue:!1}])}function fe(){return pt(We.JsonpSupport,[ut,{provide:Zt,useFactory:Qt},{provide:ft,useValue:Tt,multi:!0}])}function Ge(){return pt(We.RequestsMadeViaParent,[{provide:K,useFactory:()=>(0,p.inject)(S,{skipSelf:!0,optional:!0})}])}function At(){return pt(We.Fetch,[Ct,{provide:K,useExisting:Ct}])}let Je=(()=>{class Qe{static disable(){return{ngModule:Qe,providers:[F().\u0275providers]}}static withOptions(Be={}){return{ngModule:Qe,providers:G(Be).\u0275providers}}static#e=this.\u0275fac=function(at){return new(at||Qe)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:Qe});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[Ie,{provide:_t,useExisting:Ie,multi:!0},{provide:Tn,useClass:yt},G({cookieName:kt,headerName:on}).\u0275providers,{provide:It,useValue:!0}]})}return Qe})(),Lt=(()=>{class Qe{static#e=this.\u0275fac=function(at){return new(at||Qe)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:Qe});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[Ot(ye())]})}return Qe})(),me=(()=>{class Qe{static#e=this.\u0275fac=function(at){return new(at||Qe)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:Qe});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[fe().\u0275providers]})}return Qe})();const Re=new p.InjectionToken(""),Le=["GET","HEAD"];function wt(Qe,$e){const{isCacheActive:Be}=(0,p.inject)(Re);if(!Be||!Le.includes(Qe.method))return $e(Qe);const at=(0,p.inject)(p.TransferState),xt=function bn(Qe){const{params:$e,method:Be,responseType:at,url:xt}=Qe,nn=function wn(Qe){let $e=0;for(const Be of Qe)$e=Math.imul(31,$e)+Be.charCodeAt(0)<<0;return $e+=2147483648,$e.toString()}(Be+"."+at+"."+xt+"?"+$e.keys().sort().map(zt=>`${zt}=${$e.getAll(zt)}`).join("&"));return(0,p.makeStateKey)(nn)}(Qe),Ft=at.get(xt,null);if(Ft){let Pt=Ft.body;switch(Ft.responseType){case"arraybuffer":Pt=(new TextEncoder).encode(Ft.body).buffer;break;case"blob":Pt=new Blob([Ft.body])}return(0,g.of)(new $({body:Pt,headers:new V(Ft.headers),status:Ft.status,statusText:Ft.statusText,url:Ft.url}))}return $e(Qe).pipe((0,w.b)(Pt=>{Pt instanceof $&&at.set(xt,{body:Pt.body,headers:Ht(Pt.headers),status:Pt.status,statusText:Pt.statusText,url:Pt.url||"",responseType:Qe.responseType})}))}function Ht(Qe){const $e={};for(const Be of Qe.keys()){const at=Qe.getAll(Be);null!==at&&($e[Be]=at)}return $e}function un(){return[{provide:Re,useFactory:()=>((0,p.inject)(p.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:tt,useValue:wt,multi:!0,deps:[p.TransferState,Re]},{provide:p.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Qe=(0,p.inject)(p.ApplicationRef),$e=(0,p.inject)(Re);return()=>{Qe.isStable.pipe((0,O.P)(Be=>Be)).toPromise().then(()=>{$e.isCacheActive=!1})}}}]}},5879:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>V0,APP_BOOTSTRAP_LISTENER:()=>Zu,APP_ID:()=>pm,APP_INITIALIZER:()=>Av,ApplicationInitStatus:()=>Fc,ApplicationModule:()=>_x,ApplicationRef:()=>Es,Attribute:()=>Zf,COMPILER_OPTIONS:()=>kv,CSP_NONCE:()=>$0,CUSTOM_ELEMENTS_SCHEMA:()=>uh,ChangeDetectionStrategy:()=>Qe,ChangeDetectorRef:()=>ob,Compiler:()=>bD,CompilerFactory:()=>yD,Component:()=>cD,ComponentFactory:()=>ec,ComponentFactoryResolver:()=>Ys,ComponentRef:()=>wm,ContentChild:()=>sy,ContentChildren:()=>oy,DEFAULT_CURRENCY_CODE:()=>gD,DebugElement:()=>ga,DebugEventListener:()=>nx,DebugNode:()=>Xu,DefaultIterableDiffer:()=>ub,DestroyRef:()=>Qs,Directive:()=>Iv,ENVIRONMENT_INITIALIZER:()=>zs,ElementRef:()=>Zs,EmbeddedViewRef:()=>tx,EnvironmentInjector:()=>zr,ErrorHandler:()=>_o,EventEmitter:()=>Wr,Host:()=>ih,HostBinding:()=>fD,HostListener:()=>hD,INJECTOR:()=>Al,Inject:()=>th,InjectFlags:()=>ot,Injectable:()=>lC,InjectionToken:()=>oe,Injector:()=>kr,Input:()=>dD,IterableDiffers:()=>nf,KeyValueDiffers:()=>rf,LOCALE_ID:()=>kc,MissingTranslationStrategy:()=>Pv,ModuleWithComponentFactories:()=>Fv,NO_ERRORS_SCHEMA:()=>fh,NgModule:()=>mD,NgModuleFactory:()=>u_,NgModuleRef:()=>Fo,NgProbeToken:()=>HD,NgZone:()=>Oi,Optional:()=>Sa,Output:()=>uD,PACKAGE_ROOT_URL:()=>B0,PLATFORM_ID:()=>Bl,PLATFORM_INITIALIZER:()=>gm,Pipe:()=>lD,PlatformRef:()=>Qu,Query:()=>Fs,QueryList:()=>Ic,Renderer2:()=>tC,RendererFactory2:()=>Tm,RendererStyleFlags2:()=>Na,Sanitizer:()=>Dm,SecurityContext:()=>So,Self:()=>nh,SimpleChange:()=>In,SkipSelf:()=>Ia,TRANSLATIONS:()=>_D,TRANSLATIONS_FORMAT:()=>vD,TemplateRef:()=>ha,Testability:()=>UD,TestabilityRegistry:()=>$v,TransferState:()=>Ws,Type:()=>Xf,VERSION:()=>Mm,Version:()=>xm,ViewChild:()=>cy,ViewChildren:()=>ay,ViewContainerRef:()=>Pc,ViewEncapsulation:()=>$e,ViewRef:()=>ab,afterNextRender:()=>Um,afterRender:()=>$m,asNativeElements:()=>ix,assertInInjectionContext:()=>nc,assertPlatform:()=>Zv,booleanAttribute:()=>Ax,computed:()=>fo,createComponent:()=>$x,createEnvironmentInjector:()=>m_,createNgModule:()=>f_,createNgModuleRef:()=>fT,createPlatform:()=>Gv,createPlatformFactory:()=>Yv,defineInjectable:()=>xe,destroyPlatform:()=>GD,effect:()=>vp,enableProdMode:()=>XD,forwardRef:()=>k,getDebugNode:()=>Ts,getModuleFactory:()=>JD,getNgModuleById:()=>qD,getPlatform:()=>Lc,importProvidersFrom:()=>lm,inject:()=>me,isDevMode:()=>QD,isSignal:()=>bt,isStandalone:()=>Mi,makeEnvironmentProviders:()=>Pl,makeStateKey:()=>U0,mergeApplicationConfig:()=>Hx,numberAttribute:()=>Ox,platformCore:()=>gx,provideZoneChangeDetection:()=>ib,reflectComponentType:()=>Ux,resolveForwardRef:()=>S,runInInjectionContext:()=>iC,setTestabilityGetter:()=>Uv,signal:()=>wi,untracked:()=>Dt,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Ku,\u0275AfterRenderEventManager:()=>ic,\u0275ComponentFactory:()=>ec,\u0275Console:()=>Ov,\u0275DEFAULT_LOCALE_ID:()=>Ro,\u0275ENABLED_SSR_FEATURES:()=>_m,\u0275INJECTOR_SCOPE:()=>kl,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Js,\u0275InitialRenderPendingTasks:()=>Rv,\u0275LContext:()=>yh,\u0275LifecycleHooksFeature:()=>Sp,\u0275LocaleDataIndex:()=>Cs,\u0275NG_COMP_DEF:()=>xt,\u0275NG_DIR_DEF:()=>Ft,\u0275NG_ELEMENT_ID:()=>yn,\u0275NG_INJ_DEF:()=>Ee,\u0275NG_MOD_DEF:()=>nn,\u0275NG_PIPE_DEF:()=>Pt,\u0275NG_PROV_DEF:()=>ce,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>tc,\u0275NO_CHANGE:()=>En,\u0275NgModuleFactory:()=>Sc,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>eh,\u0275Render3ComponentFactory:()=>ls,\u0275Render3ComponentRef:()=>Mp,\u0275Render3NgModuleRef:()=>Mc,\u0275RuntimeError:()=>Y,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>vm,\u0275TESTABILITY:()=>Bv,\u0275TESTABILITY_GETTER:()=>Vv,\u0275ViewRef:()=>cs,\u0275XSS_SECURITY_URL:()=>W,\u0275_sanitizeHtml:()=>tm,\u0275_sanitizeUrl:()=>Wa,\u0275allowSanitizationBypassAndThrow:()=>Jo,\u0275annotateForHydration:()=>Cx,\u0275bypassSanitizationTrustHtml:()=>p0,\u0275bypassSanitizationTrustResourceUrl:()=>b0,\u0275bypassSanitizationTrustScript:()=>_0,\u0275bypassSanitizationTrustStyle:()=>g0,\u0275bypassSanitizationTrustUrl:()=>v0,\u0275clearResolutionOfComponentResourcesQueue:()=>ch,\u0275compileComponent:()=>_v,\u0275compileDirective:()=>Hu,\u0275compileNgModule:()=>fv,\u0275compileNgModuleDefs:()=>hv,\u0275compileNgModuleFactory:()=>Hv,\u0275compilePipe:()=>Mv,\u0275convertToBitFlags:()=>Re,\u0275createInjector:()=>Ql,\u0275defaultIterableDiffers:()=>mx,\u0275defaultKeyValueDiffers:()=>px,\u0275detectChanges:()=>yp,\u0275devModeEqual:()=>Np,\u0275findLocaleData:()=>vu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>dv,\u0275formatRuntimeError:()=>ue,\u0275getDebugNode:()=>Ts,\u0275getDirectives:()=>y_,\u0275getHostElement:()=>Au,\u0275getInjectableDef:()=>Me,\u0275getLContext:()=>Zi,\u0275getLocaleCurrencyCode:()=>gE,\u0275getLocalePluralCase:()=>kg,\u0275getSanitizationBypassType:()=>Yh,\u0275getUnknownElementStrictMode:()=>My,\u0275getUnknownPropertyStrictMode:()=>Iy,\u0275global:()=>ut,\u0275injectChangeDetectorRef:()=>sb,\u0275internalCreateApplication:()=>WD,\u0275isBoundToModule:()=>Wv,\u0275isEnvironmentProviders:()=>V,\u0275isInjectable:()=>Pe,\u0275isNgModule:()=>Lu,\u0275isPromise:()=>Fd,\u0275isSubscribable:()=>Yp,\u0275noSideEffects:()=>un,\u0275patchComponentDefWithScope:()=>$u,\u0275publishDefaultGlobalUtils:()=>$D,\u0275publishGlobalUtil:()=>Xi,\u0275registerLocaleData:()=>pE,\u0275resetCompiledComponents:()=>QT,\u0275resetJitOptions:()=>GT,\u0275resolveComponentResources:()=>sh,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Dy,\u0275setAlternateWeakRefImpl:()=>Bn,\u0275setClassMetadata:()=>w_,\u0275setCurrentInjector:()=>Ge,\u0275setDocument:()=>l0,\u0275setInjectorProfilerContext:()=>It,\u0275setLocaleId:()=>bu,\u0275setUnknownElementStrictMode:()=>xy,\u0275setUnknownPropertyStrictMode:()=>Sy,\u0275store:()=>Hp,\u0275stringify:()=>v,\u0275transitiveScopesFor:()=>ko,\u0275unregisterLocaleData:()=>_E,\u0275unwrapSafeValue:()=>no,\u0275withDomHydration:()=>Sx,\u0275\u0275CopyDefinitionFeature:()=>Ap,\u0275\u0275FactoryTarget:()=>Do,\u0275\u0275HostDirectivesFeature:()=>Op,\u0275\u0275InheritDefinitionFeature:()=>hd,\u0275\u0275InputTransformsFeature:()=>kp,\u0275\u0275NgOnChangesFeature:()=>ei,\u0275\u0275ProvidersFeature:()=>d_,\u0275\u0275StandaloneFeature:()=>p_,\u0275\u0275advance:()=>ep,\u0275\u0275attribute:()=>pd,\u0275\u0275attributeInterpolate1:()=>gd,\u0275\u0275attributeInterpolate2:()=>_d,\u0275\u0275attributeInterpolate3:()=>vd,\u0275\u0275attributeInterpolate4:()=>bd,\u0275\u0275attributeInterpolate5:()=>yd,\u0275\u0275attributeInterpolate6:()=>Cd,\u0275\u0275attributeInterpolate7:()=>wd,\u0275\u0275attributeInterpolate8:()=>Ed,\u0275\u0275attributeInterpolateV:()=>Td,\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:()=>Qd,\u0275\u0275contentQuery:()=>iv,\u0275\u0275defer:()=>c_,\u0275\u0275defineComponent:()=>Ji,\u0275\u0275defineDirective:()=>sr,\u0275\u0275defineInjectable:()=>Te,\u0275\u0275defineInjector:()=>ke,\u0275\u0275defineNgModule:()=>xr,\u0275\u0275definePipe:()=>gr,\u0275\u0275directiveInject:()=>ss,\u0275\u0275disableBindings:()=>vf,\u0275\u0275element:()=>Pd,\u0275\u0275elementContainer:()=>Rd,\u0275\u0275elementContainerEnd:()=>vc,\u0275\u0275elementContainerStart:()=>_c,\u0275\u0275elementEnd:()=>gc,\u0275\u0275elementStart:()=>pc,\u0275\u0275enableBindings:()=>_f,\u0275\u0275getCurrentView:()=>Kp,\u0275\u0275getInheritedFactory:()=>Kf,\u0275\u0275hostProperty:()=>gu,\u0275\u0275i18n:()=>r_,\u0275\u0275i18nApply:()=>s_,\u0275\u0275i18nAttributes:()=>o_,\u0275\u0275i18nEnd:()=>Eu,\u0275\u0275i18nExp:()=>Tu,\u0275\u0275i18nPostprocess:()=>a_,\u0275\u0275i18nStart:()=>wu,\u0275\u0275inject:()=>Je,\u0275\u0275injectAttribute:()=>nl,\u0275\u0275invalidFactory:()=>np,\u0275\u0275invalidFactoryDep:()=>Lt,\u0275\u0275listener:()=>kd,\u0275\u0275loadQuery:()=>rv,\u0275\u0275namespaceHTML:()=>Rf,\u0275\u0275namespaceMathML:()=>Pf,\u0275\u0275namespaceSVG:()=>Of,\u0275\u0275nextContext:()=>Jp,\u0275\u0275ngDeclareClassMetadata:()=>Rx,\u0275\u0275ngDeclareComponent:()=>Fx,\u0275\u0275ngDeclareDirective:()=>Px,\u0275\u0275ngDeclareFactory:()=>kx,\u0275\u0275ngDeclareInjectable:()=>Lx,\u0275\u0275ngDeclareInjector:()=>jx,\u0275\u0275ngDeclareNgModule:()=>Bx,\u0275\u0275ngDeclarePipe:()=>Vx,\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:()=>Ad,\u0275\u0275propertyInterpolate:()=>Ld,\u0275\u0275propertyInterpolate1:()=>bc,\u0275\u0275propertyInterpolate2:()=>jd,\u0275\u0275propertyInterpolate3:()=>Bd,\u0275\u0275propertyInterpolate4:()=>Vd,\u0275\u0275propertyInterpolate5:()=>$d,\u0275\u0275propertyInterpolate6:()=>Ud,\u0275\u0275propertyInterpolate7:()=>Hd,\u0275\u0275propertyInterpolate8:()=>zd,\u0275\u0275propertyInterpolateV:()=>Wd,\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:()=>al,\u0275\u0275resetView:()=>yf,\u0275\u0275resolveBody:()=>td,\u0275\u0275resolveDocument:()=>Vm,\u0275\u0275resolveWindow:()=>Bm,\u0275\u0275restoreView:()=>bf,\u0275\u0275sanitizeHtml:()=>nm,\u0275\u0275sanitizeResourceUrl:()=>Il,\u0275\u0275sanitizeScript:()=>rm,\u0275\u0275sanitizeStyle:()=>im,\u0275\u0275sanitizeUrl:()=>Sl,\u0275\u0275sanitizeUrlOrResourceUrl:()=>am,\u0275\u0275setComponentScope:()=>pr,\u0275\u0275setNgModuleScope:()=>qi,\u0275\u0275styleMap:()=>Nr,\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:()=>Zd,\u0275\u0275stylePropInterpolate1:()=>au,\u0275\u0275stylePropInterpolate2:()=>cu,\u0275\u0275stylePropInterpolate3:()=>lu,\u0275\u0275stylePropInterpolate4:()=>du,\u0275\u0275stylePropInterpolate5:()=>uu,\u0275\u0275stylePropInterpolate6:()=>fu,\u0275\u0275stylePropInterpolate7:()=>hu,\u0275\u0275stylePropInterpolate8:()=>mu,\u0275\u0275stylePropInterpolateV:()=>pu,\u0275\u0275syntheticHostListener:()=>Nd,\u0275\u0275syntheticHostProperty:()=>_u,\u0275\u0275template:()=>Vp,\u0275\u0275templateRefExtractor:()=>cv,\u0275\u0275text:()=>pg,\u0275\u0275textInterpolate:()=>Jd,\u0275\u0275textInterpolate1:()=>wc,\u0275\u0275textInterpolate2:()=>qd,\u0275\u0275textInterpolate3:()=>eu,\u0275\u0275textInterpolate4:()=>tu,\u0275\u0275textInterpolate5:()=>nu,\u0275\u0275textInterpolate6:()=>iu,\u0275\u0275textInterpolate7:()=>ru,\u0275\u0275textInterpolate8:()=>ou,\u0275\u0275textInterpolateV:()=>su,\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 k(e){return e.__forward_ref__=k,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__===k}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 ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function Me(e){return _t(e,ce)||_t(e,Fe)}function Pe(e){return null!==Me(e)}function _t(e,t){return e.hasOwnProperty(t)?e[t]:null}function tt(e){return e&&(e.hasOwnProperty(Ee)||e.hasOwnProperty(lt))?e[Ee]:null}const ce=y({\u0275prov:y}),Ee=y({\u0275inj:y}),Fe=y({ngInjectableDef:y}),lt=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 Et;function jt(){return Et}function Gt(e){const t=Et;return Et=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 ut=globalThis;class oe{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}`}}let De;function It(e){He("setInjectorProfilerContext should never be called in production mode");const t=De;return De=e,t}let kt=null;const en=e=>{He("setInjectorProfiler should never be called in production mode"),kt=e},We={},pt="__NG_DI_FLAG__",Ot="ngTempTokenPath",ht=/\n/gm,G="__source";let F;function Ge(e){const t=F;return F=e,t}function At(e,t=ot.Default){if(void 0===F)throw new Y(-203,!1);return null===F?Zt(e,void 0,t):F.get(e,t&ot.Optional?null:void 0,t)}function Je(e,t=ot.Default){return(jt()||At)(S(e),t)}function Lt(e){throw new Y(202,!1)}function me(e,t=ot.Default){return Je(e,Re(t))}function Re(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Le(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=Ht(T);"number"==typeof M?-1===M?l=T.token:h|=M:l=T}t.push(Je(l,h))}else t.push(Je(r))}return t}function wt(e,t){return e[pt]=t,e.prototype[pt]=t,e}function Ht(e){return e[pt]}function un(e){return{toString:e}.toString()}var Qe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Qe||{}),$e=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}($e||{});const Be={},at=[],xt=y({\u0275cmp:y}),Ft=y({\u0275dir:y}),Pt=y({\u0275pipe:y}),nn=y({\u0275mod:y}),zt=y({\u0275fac:y}),yn=y({__NG_ELEMENT_ID__:y}),Vn=y({__NG_ENV_ID__:y});function Pn(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 Fn(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];kn(h)?e.setProperty(t,h,C):e.setAttribute(t,h,C),r++}}return r}function bi(e){return 3===e||4===e||6===e}function kn(e){return 64===e.charCodeAt(0)}function mn(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||_e(e,i,l,null,-1===i||2===i?t[++r]:null)}}return e}function _e(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 st="ng-template";function X(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!==Pn(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 pe(e){return 4===e.type&&e.value!==st}function ne(e,t,i){return t===(4!==e.type||i?e.value:st)}function et(e,t,i){let r=4;const l=e.attrs||[],h=function Bt(e){for(let t=0;t<e.length;t++)if(bi(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&&!ne(e,M,i)||""===M&&1===t.length){if(L(r))return!1;C=!0}}else{const N=8&r?M:t[++T];if(8&r&&null!==e.attrs){if(!X(e.attrs,N,i)){if(L(r))return!1;C=!0}continue}const Ae=Ve(8&r?"class":M,l,pe(e),i);if(-1===Ae){if(L(r))return!1;C=!0;continue}if(""!==N){let it;it=Ae>h?"":l[Ae+1].toLowerCase();const mt=8&r?it:null;if(mt&&-1!==Pn(mt,N,0)||2&r&&N!==it){if(L(r))return!1;C=!0}}}}else{if(!C&&!L(r)&&!L(M))return!1;if(C&&L(M))continue;C=!1,r=M|1&r}}return L(r)||C}function L(e){return 0==(1&e)}function Ve(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 Cn(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 je(e,t,i=!1){for(let r=0;r<t.length;r++)if(et(e,t[r],i))return!0;return!1}function Sn(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 zn(e,t){return e?":not("+t.trim()+")":t}function ti(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&&!L(C)&&(t+=zn(h,l),l=""),r=C,h=h||!L(r);i++}return""!==l&&(t+=zn(h,l)),t}function Ji(e){return un(()=>{const t=er(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Qe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$e.Emulated,styles:e.styles||at,_:null,schemas:e.schemas||null,tView:null,id:""};Mr(i);const r=e.dependencies;return i.directiveDefs=Ni(r,!1),i.pipeDefs=Ni(r,!0),i.id=function Ir(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 pr(e,t,i){const r=e.\u0275cmp;r.directiveDefs=Ni(t,!1),r.pipeDefs=Ni(i,!0)}function ao(e){return xn(e)||Zn(e)}function Dr(e){return null!==e}function xr(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||at,declarations:e.declarations||at,imports:e.imports||at,exports:e.exports||at,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qi(e,t){return un(()=>{const i=di(e,!0);i.declarations=t.declarations||at,i.imports=t.imports||at,i.exports=t.exports||at})}function or(e,t){if(null==e)return Be;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 sr(e){return un(()=>{const t=er(e);return Mr(t),t})}function gr(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 xn(e){return e[xt]||null}function Zn(e){return e[Ft]||null}function ii(e){return e[Pt]||null}function Mi(e){const t=xn(e)||Zn(e)||ii(e);return null!==t&&t.standalone}function di(e,t){const i=e[nn]||null;if(!i&&!0===t)throw new Error(`Type ${v(e)} does not have '\u0275mod' property.`);return i}function er(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||Be,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||at,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:or(e.inputs,t),outputs:or(e.outputs)}}function Mr(e){e.features?.forEach(t=>t(e))}function Ni(e,t){if(!e)return null;const i=t?ii:ao;return()=>("function"==typeof e?e():e).map(r=>i(r)).filter(Dr)}const Sr=new Map,jn=0,Wt=1,ln=2,Nn=3,ri=4,ar=5,Jn=6,Li=7,An=8,Si=9,ui=10,an=11,Hi=12,Ar=13,fi=14,Wn=15,yi=16,hi=17,Qn=18,Ci=19,Zr=20,oi=21,$n=22,Ri=23,cr=24,Mn=25,lr=1,dr=2,mi=7,Or=9,vr=10,pi=11;function si(e){return Array.isArray(e)&&"object"==typeof e[lr]}function gi(e){return Array.isArray(e)&&!0===e[lr]}function Br(e){return 0!=(4&e.flags)}function zi(e){return e.componentOffset>-1}function br(e){return 1==(1&e.flags)}function Ii(e){return!!e.template}function yr(e){return 0!=(512&e[ln])}function co(e){return 16==(16&e.type)}function Ke(e,t){return e.hasOwnProperty(zt)?e[zt]:null}const Ze=Symbol("SIGNAL");function bt(e){return"function"==typeof e&&void 0!==e[Ze]}function Mt(e,t){return(null===e||"object"!=typeof e)&&Object.is(e,t)}let Ut=null,Kt=!1;function fn(e){const t=Ut;return Ut=e,t}const pn={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 sn(e){if(Kt)throw new Error("");if(null===Ut)return;const t=Ut.nextProducerIndex++;Ai(Ut),t<Ut.producerNode.length&&Ut.producerNode[t]!==e&&Vi(Ut)&&Bi(Ut.producerNode[t],Ut.producerIndexOfThis[t]),Ut.producerNode[t]!==e&&(Ut.producerNode[t]=e,Ut.producerIndexOfThis[t]=Vi(Ut)?Ti(e,Ut,t):0),Ut.producerLastReadVersion[t]=e.version}function hn(e){if(!Vi(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Vr(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Un(e){if(void 0===e.liveConsumerNode)return;const t=Kt;Kt=!0;try{for(const i of e.liveConsumerNode)i.dirty||ai(i)}finally{Kt=t}}function qn(){return!1!==Ut?.consumerAllowSignalWrites}function ai(e){e.dirty=!0,Un(e),e.consumerMarkedDirty?.(e)}function _i(e){return e&&(e.nextProducerIndex=0),fn(e)}function ci(e,t){if(fn(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Vi(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)Bi(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Vr(e){Ai(e);for(let t=0;t<e.producerNode.length;t++){const i=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==i.version||(hn(i),r!==i.version))return!0}return!1}function tr(e){if(Ai(e),Vi(e))for(let t=0;t<e.producerNode.length;t++)Bi(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 Ti(e,t,i){if(Co(e),Ai(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ti(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(i),e.liveConsumerNode.push(t)-1}function Bi(e,t){if(Co(e),Ai(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Bi(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];Ai(l),l.producerIndexOfThis[r]=t}}function Vi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ai(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Co(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function fo(e,t){const i=Object.create(tn);i.computation=e,t?.equal&&(i.equal=t.equal);const r=()=>{if(hn(i),sn(i),i.value===ho)throw i.error;return i.value};return r[Ze]=i,r}const Cr=Symbol("UNSET"),wo=Symbol("COMPUTING"),ho=Symbol("ERRORED"),tn=(()=>({...pn,value:Cr,dirty:!0,error:null,equal:Mt,producerMustRecompute:e=>e.value===Cr||e.value===wo,producerRecomputeValue(e){if(e.value===wo)throw new Error("Detected cycle in computations.");const t=e.value;e.value=wo;const i=_i(e);let r;try{r=e.computation()}catch(l){r=ho,e.error=l}finally{ci(e,i)}t!==Cr&&t!==ho&&r!==ho&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}}))();let dn=function cn(){throw new Error};function Rn(){dn()}let Wi=null;function wi(e,t){const i=Object.create(D);function r(){return sn(i),i.value}return i.value=e,t?.equal&&(i.equal=t.equal),r.set=A,r.update=B,r.mutate=Se,r.asReadonly=gt,r[Ze]=i,r}const D=(()=>({...pn,equal:Mt,readonlyFn:void 0}))();function ae(e){e.version++,Un(e),Wi?.()}function A(e){const t=this[Ze];qn()||Rn(),t.equal(t.value,e)||(t.value=e,ae(t))}function B(e){qn()||Rn(),A.call(this,e(this[Ze].value))}function Se(e){const t=this[Ze];qn()||Rn(),e(t.value),ae(t)}function gt(){const e=this[Ze];if(void 0===e.readonlyFn){const t=()=>this();t[Ze]=e,e.readonlyFn=t}return e.readonlyFn}function Dt(e){const t=fn(null);try{return e()}finally{fn(t)}}const Hn=()=>{},Gn=(()=>({...pn,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Hn}))();function Bn(e){}class In{constructor(t,i,r){this.previousValue=t,this.currentValue=i,this.firstChange=r}isFirstChange(){return this.firstChange}}function ei(){return Kn}function Kn(e){return e.type.prototype.ngOnChanges&&(e.setInput=$r),Ei}function Ei(){const e=Jr(this),t=e?.current;if(t){const i=e.previous;if(i===Be)e.previous=t;else for(let r in t)i[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $r(e,t,i,r){const l=this.declaredInputs[i],h=Jr(e)||function ur(e,t){return e[wr]=t}(e,{previous:Be,current:null}),C=h.current||(h.current={}),T=h.previous,M=T[l];C[l]=new In(M&&M.currentValue,t,T===Be),e[r]=t}ei.ngInherit=!0;const wr="__ngSimpleChanges__";function Jr(e){return e[wr]||null}let Fr=null;const qr=e=>{Fr=e},Fi=function(e,t,i){Fr?.(e,t,i)},cf="svg",lf="math";function Xn(e){for(;Array.isArray(e);)e=e[jn];return e}function $c(e){for(;Array.isArray(e);){if("object"==typeof e[lr])return e;e=e[jn]}return null}function _a(e,t){return Xn(t[e])}function nr(e,t){return Xn(t[e.index])}function df(e,t){return e.data[t]}function Lo(e,t){return e[t]}function fr(e,t){const i=t[e];return si(i)?i:i[jn]}function mo(e,t){return null==t?null:e[t]}function uf(e){e[hi]=0}function Ib(e){1024&e[ln]||(e[ln]|=1024,hf(e,1))}function ff(e){1024&e[ln]&&(e[ln]&=-1025,hf(e,-1))}function hf(e,t){let i=e[Nn];if(null===i)return;i[ar]+=t;let r=i;for(i=i[Nn];null!==i&&(1===t&&1===r[ar]||-1===t&&0===r[ar]);)i[ar]+=t,r=i,i=i[Nn]}function mf(e,t){if(256==(256&e[ln]))throw new Y(911,!1);null===e[oi]&&(e[oi]=[]),e[oi].push(t)}const gn={lFrame:Sf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gf(){return gn.bindingsEnabled}function jo(){return null!==gn.skipHydrationRootTNode}function _f(){gn.bindingsEnabled=!0}function vf(){gn.bindingsEnabled=!1}function Nt(){return gn.lFrame.lView}function Ln(){return gn.lFrame.tView}function bf(e){return gn.lFrame.contextLView=e,e[An]}function yf(e){return gn.lFrame.contextLView=null,e}function ki(){let e=Cf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cf(){return gn.lFrame.currentTNode}function Ss(){const e=gn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ur(e,t){const i=gn.lFrame;i.currentTNode=e,i.isParent=t}function Uc(){return gn.lFrame.isParent}function Hc(){gn.lFrame.isParent=!1}function Gi(){const e=gn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function eo(){return gn.lFrame.bindingIndex}function Ef(e){return gn.lFrame.bindingIndex=e}function Bo(){return gn.lFrame.bindingIndex++}function to(e){const t=gn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Tf(e){gn.lFrame.inI18n=e}function Bb(e,t){const i=gn.lFrame;i.bindingIndex=i.bindingRootIndex=e,zc(t)}function zc(e){gn.lFrame.currentDirectiveIndex=e}function Wc(e){const t=gn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Df(){return gn.lFrame.currentQueryIndex}function Gc(e){gn.lFrame.currentQueryIndex=e}function $b(e){const t=e[Wt];return 2===t.type?t.declTNode:1===t.type?e[Jn]: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[fi],10&l.type))););if(null===l)return!1;t=l,e=h}const r=gn.lFrame=Mf();return r.currentTNode=t,r.lView=e,!0}function Kc(e){const t=Mf(),i=e[Wt];gn.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=gn.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=gn.lFrame;return gn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Af=If;function Yc(){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 gn.lFrame.selectedIndex}function Eo(e){gn.lFrame.selectedIndex=e}function li(){const e=gn.lFrame;return df(e.tView,e.selectedIndex)}function Of(){gn.lFrame.currentNamespace=cf}function Pf(){gn.lFrame.currentNamespace=lf}function Rf(){!function zb(){gn.lFrame.currentNamespace=null}()}function Ff(){return gn.lFrame.currentNamespace}let kf=!0;function va(){return kf}function po(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:le}=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!=le&&(e.destroyHooks??=[]).push(i,le)}}function ya(e,t,i){Nf(e,t,3,i)}function Ca(e,t,i,r){(3&e[ln])===i&&Nf(e,t,i,r)}function Zc(e,t){let i=e[ln];(3&i)===t&&(i&=8191,i+=1,e[ln]=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[hi]:0;M<C;M++)if("number"==typeof t[M+1]){if(T=t[M],null!=r&&T>=r)break}else t[M]<0&&(e[hi]+=65536),(T<h||-1==h)&&(Gb(e,i,t,M),e[hi]=(4294901760&e[hi])+M+2),M++}function Lf(e,t){Fi(4,e,t);const i=fn(null);try{t.call(e)}finally{fn(i),Fi(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[ln]>>13<e[hi]>>16&&(3&e[ln])===t&&(e[ln]+=8192,Lf(T,h)):Lf(T,h)}const Vo=-1;class Is{constructor(t,i,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=r}}function Xc(e){return e!==Vo}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[fi],i--;return r}let Jc=!0;function wa(e){const t=Jc;return Jc=e,t}const jf=255,Bf=5;let Xb=0;const Hr={};function Ea(e,t){const i=Vf(e,t);if(-1!==i)return i;const r=t[Wt];r.firstCreatePass&&(e.injectorIndex=t.length,qc(r.data,e),qc(t,null),qc(r.blueprint,null));const l=Ta(e,t),h=e.injectorIndex;if(Xc(l)){const C=As(l),T=Os(l,t),M=T[Wt].data;for(let N=0;N<8;N++)t[h+N]=T[C+N]|M[C+N]}return t[h+8]=l,h}function qc(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 Vo;if(i++,l=l[fi],-1!==r.injectorIndex)return r.injectorIndex|i<<16}return Vo}function el(e,t,i){!function Jb(e,t,i){let r;"string"==typeof i?r=i.charCodeAt(0)||0:i.hasOwnProperty(yn)&&(r=i[yn]),null==r&&(r=i[yn]=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[Si],h=Gt(void 0);try{return l?l.get(t,r,i&ot.Optional):Zt(t,r,i&ot.Optional)}finally{Gt(h)}}return $f(r,0,i)}function Hf(e,t,i,r=ot.Default,l){if(null!==e){if(2048&t[ln]&&!(r&ot.Self)){const C=function ry(e,t,i,r,l){let h=e,C=t;for(;null!==h&&null!==C&&2048&C[ln]&&!(512&C[ln]);){const T=zf(h,C,i,r|ot.Self,Hr);if(T!==Hr)return T;let M=h.parent;if(!M){const N=C[Zr];if(N){const le=N.get(i,Hr,r);if(le!==Hr)return le}M=Yf(C),C=C[fi]}h=M}return l}(e,t,i,r,Hr);if(C!==Hr)return C}const h=zf(e,t,i,r,Hr);if(h!==Hr)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(yn)?e[yn]: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=Vo,N=r&ot.Host?t[Wn][Jn]:null;for((-1===T||r&ot.SkipSelf)&&(M=-1===T?Ta(e,t):t[T+8],M!==Vo&&Gf(r,!1)?(C=t[Wt],T=As(M),t=Os(M,t)):T=-1);-1!==T;){const le=t[Wt];if(Wf(h,T,le.data)){const Ae=ey(T,t,i,C,r,N);if(Ae!==Hr)return Ae}M=t[T+8],M!==Vo&&Gf(r,t[Wt].data[T+8]===N)&&Wf(h,T,t)?(C=le,T=As(M),t=Os(M,t)):T=-1}}return l}function ey(e,t,i,r,l,h){const C=t[Wt],T=C.data[e+8],le=Da(T,C,i,null==r?zi(T)&&Jc:r!=C&&0!=(3&T.type),l&ot.Host&&h===T);return null!==le?To(t,C,le,T):Hr}function Da(e,t,i,r,l){const h=e.providerIndexes,C=t.data,T=1048575&h,M=e.directiveStart,le=h>>20,it=l?T+le:e.directiveEnd;for(let mt=r?T:T+le;mt<it;mt++){const St=C[mt];if(mt<M&&i===St||mt>=M&&St.type===i)return mt}if(l){const mt=C[M];if(mt&&Ii(mt)&&mt.type===i)return M}return null}function To(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?Gt(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=Kn(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&&Gt(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,Re(r),i)}}function iy(){return new Yi(ki(),Nt())}function Kf(e){return un(()=>{const t=e.prototype.constructor,i=t[zt]||tl(t),r=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==r;){const h=l[zt]||tl(l);if(h&&h!==i)return h;l=Object.getPrototypeOf(l)}return h=>new h})}function tl(e){return K(e)?()=>{const t=tl(S(e));return t&&t()}:Ke(e)}function Yf(e){const t=e[Wt],i=t.type;return 2===i?t.declTNode:1===i?e[Jn]:null}function nl(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(bi(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 $o="__annotations__",Uo="__parameters__",Ho="__prop__metadata__";function Rs(e,t,i,r,l){return un(()=>{const h=il(t);function C(...T){if(this instanceof C)return h.call(this,...T),this;const M=new C(...T);return function(le){return l&&l(le,...T),(le.hasOwnProperty($o)?le[$o]:Object.defineProperty(le,$o,{value:[]})[$o]).push(M),r&&r(le),le}}return i&&(C.prototype=Object.create(i.prototype)),C.prototype.ngMetadataName=e,C.annotationCls=C,C})}function il(e){return function(...i){if(e){const r=e(...i);for(const l in r)this[l]=r[l]}}}function zo(e,t,i){return un(()=>{const r=il(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,le){const Ae=M.hasOwnProperty(Uo)?M[Uo]:Object.defineProperty(M,Uo,{value:[]})[Uo];for(;Ae.length<=le;)Ae.push(null);return(Ae[le]=Ae[le]||[]).push(C),M}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function go(e,t,i,r){return un(()=>{const l=il(t);function h(...C){if(this instanceof h)return l.apply(this,C),this;const T=new h(...C);return function M(N,le){if(void 0===N)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const Ae=N.constructor,it=Ae.hasOwnProperty(Ho)?Ae[Ho]:Object.defineProperty(Ae,Ho,{value:{}})[Ho];it[le]=it.hasOwnProperty(le)&&it[le]||[],it[le].unshift(T),r&&r(N,le,...C)}}return i&&(h.prototype=Object.create(i.prototype)),h.prototype.ngMetadataName=e,h.annotationCls=h,h})}const Zf=zo("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>nl(e)}));class Fs{}const oy=go("ContentChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...t}),Fs),sy=go("ContentChild",(e,t={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...t}),Fs),ay=go("ViewChildren",(e,t={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...t}),Fs),cy=go("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),Fs);var Do=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}(Do||{});function Di(e){const t=ut.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 Er(e){return e.flat(Number.POSITIVE_INFINITY)}function Wo(e,t){e.forEach(i=>Array.isArray(i)?Wo(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 hr(e,t,i){let r=Go(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 rl(e,t){const i=Go(e,t);if(i>=0)return e[1|i]}function Go(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||ut.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(le=>le&&le.type),N=T.map(le=>le&&ol(le.decorators));return this._zipTypesAndAnnotations(M,N)}const h=t.hasOwnProperty(Uo)&&t[Uo],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?ol(t.decorators):t.hasOwnProperty($o)?t[$o]: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]=ol(r[h])}),l}return t.hasOwnProperty(Ho)?t[Ho]: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 ol(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=wt(zo("Inject",e=>({token:e})),-1),Sa=wt(zo("Optional"),8),nh=wt(zo("Self"),2),Ia=wt(zo("SkipSelf"),4),ih=wt(zo("Host"),1);let rh=null;function sl(){return rh=rh||new eh}function Aa(e){return oh(sl().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 Ko.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(mt=>{M[N+it]=mt,T.splice(T.indexOf(Ae),1),0==T.length&&(l.styleUrls=void 0)}))});const le=Promise.all(C).then(()=>function Ey(e){Ls.delete(e)}(h));t.push(le)}),ch(),Promise.all(t).then(()=>{})}let Ko=new Map;const Ls=new Set;function ah(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function ch(){const e=Ko;return Ko=new Map,e}function wy(e){return"string"==typeof e?e:e.text()}const Oa=new Map;let lh=!0;function al(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 cl=!1;function xy(e){cl=e}function My(){return cl}let ll=!1;function Sy(e){ll=e}function Iy(){return ll}const Yo="ngSkipHydration";function gh(e){const t=Yo.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(Yo)}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 dl=new Map;let Fy=0;function bh(e){return dl.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(si(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[Wt].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=Xn(i[r]),T=js(C),M=T&&!Array.isArray(T)?T:ul(i,r,C);if(l&&void 0===M.component&&(M.component=l,$i(M.component,M)),h&&void 0===M.directives){M.directives=h;for(let N=0;N<h.length;N++)$i(h[N],M)}$i(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=Xn(h[C]),M=ul(h,C,T);$i(T,M),t=M;break}}}}return t||null}function ul(e,t,i){return new yh(e[Ci],t,i)}function Ch(e){let i,t=js(e);if(si(t)){const r=t,l=Dh(r,e);i=fr(l,r);const h=ul(r,l,i[jn]);h.component=e,$i(e,h),$i(h.native,h)}else i=fr(t.nodeIndex,t.lView);return i}const fl="__ngContext__";function $i(e,t){si(t)?(e[fl]=t[Ci],function Ny(e){dl.set(e[Ci],e)}(t)):e[fl]=t}function js(e){const t=e[fl];return"number"==typeof t?bh(t):t||null}function wh(e){const t=js(e);return t?si(t)?t:t.lView:null}function Eh(e){return e&&e.constructor&&e.constructor.\u0275cmp}function Th(e,t){const i=e[Wt];for(let r=Mn;r<i.bindingStartIndex;r++)if(Xn(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[Wt].components;if(i)for(let r=0;r<i.length;r++){const l=i[r];if(fr(l,e)[An]===t)return l}else if(fr(Mn,e)[An]===t)return Mn;return-1}function xh(e,t){const i=t[Wt].data[e];if(0===i.directiveStart)return at;const r=[];for(let l=i.directiveStart;l<i.directiveEnd;l++){const h=t[l];Eh(h)||r.push(h)}return r}let hl;function ml(e,t){return hl(e,t)}function Bs(e){const t=e[Nn];return gi(t)?t[Nn]:t}function Wy(e){return function zy(e){let t=si(e)?e:wh(e);for(;t&&!(512&t[ln]);)t=Bs(t);return t}(e)[An]}function Mh(e){return Ih(e[Hi])}function Sh(e){return Ih(e[ri])}function Ih(e){for(;null!==e&&!gi(e);)e=e[ri];return e}function Zo(e,t,i,r,l){if(null!=r){let h,C=!1;gi(r)?h=r:si(r)&&(C=!0,r=r[jn]);const T=Xn(r);0===e&&null!==i?null==l?Rh(t,i,T):xo(t,i,T,l||null,!0):1===e&&null!==i?xo(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[mi];h!==Xn(i)&&Zo(t,e,r,h,l);for(let T=pi;T<i.length;T++){const M=i[T];$s(M[Wt],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 pl(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[Or],r=i.indexOf(t);ff(t),i.splice(r,1)}function Ba(e,t){if(e.length<=pi)return;const i=pi+t,r=e[i];if(r){const l=r[yi];null!==l&&l!==e&&Oh(l,r),t>0&&(e[i-1][ri]=r[ri]);const h=xa(e,pi+t);!function Gy(e,t){$s(e,t,t[an],2,null,null),t[jn]=null,t[Jn]=null}(r[Wt],r);const C=h[Qn];null!==C&&C.detachView(h[Wt]),r[Nn]=null,r[ri]=null,r[ln]&=-129}return r}function gl(e,t){if(!(256&t[ln])){const i=t[an];t[Ri]&&tr(t[Ri]),t[cr]&&tr(t[cr]),i.destroyNode&&$s(e,t,i,3,null,null),function Zy(e){let t=e[Hi];if(!t)return _l(e[Wt],e);for(;t;){let i=null;if(si(t))i=t[Hi];else{const r=t[pi];r&&(i=r)}if(!i){for(;t&&!t[ri]&&t!==e;)si(t)&&_l(t[Wt],t),t=t[Nn];null===t&&(t=e),si(t)&&_l(t[Wt],t),i=t&&t[ri]}t=i}}(t)}}function _l(e,t){if(!(256&t[ln])){t[ln]&=-129,t[ln]|=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];Fi(4,T,M);try{M.call(T)}finally{Fi(5,T,M)}}else{Fi(4,l,h);try{h.call(l)}finally{Fi(5,l,h)}}}}}(e,t),function Jy(e,t){const i=e.cleanup,r=t[Li];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[Li]=null);const l=t[oi];if(null!==l){t[oi]=null;for(let h=0;h<l.length;h++)(0,l[h])()}}(e,t),1===t[Wt].type&&t[an].destroy();const i=t[yi];if(null!==i&&gi(t[Nn])){i!==t[Nn]&&Oh(i,t);const r=t[Qn];null!==r&&r.detachView(e)}!function Ly(e){dl.delete(e[Ci])}(t)}}function vl(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[jn];{const{componentOffset:l}=r;if(l>-1){const{encapsulation:h}=e.data[r.directiveStart+l];if(h===$e.None||h===$e.Emulated)return null}return nr(r,i)}}function xo(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?xo(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?nr(e,i):null}let bl,Ha,El,za,Lh=Nh;function jh(e,t){Lh=e,bl=t}function $a(e,t,i,r){const l=vl(e,r,t),h=t[an],T=kh(r.parent||t[Jn],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!==bl&&bl(h,r,t,i,l)}function Vs(e,t){if(null!==t){const i=t.type;if(3&i)return nr(t,e);if(4&i)return yl(-1,e[t.index]);if(8&i){const r=t.child;if(null!==r)return Vs(e,r);{const l=e[t.index];return gi(l)?yl(-1,l):Xn(l)}}if(32&i)return ml(t,e)()||Xn(e[t.index]);{const r=Bh(e,t);return null!==r?Array.isArray(r)?r[0]:Vs(Bs(e[Wn]),r):Vs(e,t.next)}}return null}function Bh(e,t){return null!==t?e[Wn][Jn].projection[t.projection]:null}function yl(e,t){const i=pi+e+1;if(i<t.length){const r=t[i],l=r[Wt].firstChild;if(null!==l)return Vs(r,l)}return t[mi]}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 Cl(e,t,i,r,l,h,C){for(;null!=i;){const T=r[i.index],M=i.type;if(C&&0===t&&(T&&$i(Xn(T),r),i.flags|=2),32!=(32&i.flags))if(8&M)Cl(e,t,i.child,r,l,h,!1),Zo(t,e,l,T,h);else if(32&M){const N=ml(i,r);let le;for(;le=N();)Zo(t,e,l,le,h);Zo(t,e,l,T,h)}else 16&M?$h(e,t,r,i,l,h):Zo(t,e,l,T,h);i=C?i.projectionNext:i.next}}function $s(e,t,i,r,l,h){Cl(i,r,e.firstChild,t,l,h,!1)}function $h(e,t,i,r,l,h){const C=i[Wn],M=C[Jn].projection[r.projection];if(Array.isArray(M))for(let N=0;N<M.length;N++)Zo(t,e,l,M[N],h);else{let N=M;const le=C[Nn];Fa(r)&&(N.flags|=128),Cl(e,t,N,le,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&&Fn(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 wl(){if(void 0===Ha&&(Ha=null,ut.trustedTypes))try{Ha=ut.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ha}function Qo(e){return wl()?.createHTML(e)||e}function zh(e,t,i){const r=Nt(),l=li(),h=nr(l,r);if(2===l.type&&"iframe"===t.toLowerCase()){const C=h;throw C.src="",C.srcdoc=Qo(""),Ua(r[an],C),new Y(-910,!1)}return e}function l0(e){El=e}function Xo(){if(void 0!==El)return El;if(typeof document<"u")return document;throw new Y(210,!1)}function Tl(){if(void 0===za&&(za=null,ut.trustedTypes))try{za=ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}function Wh(e){return Tl()?.createHTML(e)||e}function Gh(e){return Tl()?.createScript(e)||e}function Kh(e){return Tl()?.createScriptURL(e)||e}class Mo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${W})`}}class d0 extends Mo{getTypeName(){return"HTML"}}class u0 extends Mo{getTypeName(){return"Style"}}class f0 extends Mo{getTypeName(){return"Script"}}class h0 extends Mo{getTypeName(){return"URL"}}class m0 extends Mo{getTypeName(){return"ResourceURL"}}function no(e){return e instanceof Mo?e.changingThisBreaksApplicationSecurity:e}function Jo(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 Mo&&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(Qo(""),"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(Qo(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=Qo(t),i}}const E0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(E0)?e:"unsafe:"+e}function io(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=io("area,br,col,hr,img,wbr"),Xh=io("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jh=io("rp,rt"),Dl=Us(Qh,Us(Xh,io("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,io("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)),xl=io("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qh=Us(xl,io("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"),io("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=io("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(!Dl.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;xl[T]&&(M=Wa(M)),this.buf.push(" ",C,'="',em(M),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();Dl.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 Qo((new D0).sanitizeChildren(Ml(i)||i))}finally{if(i){const r=Ml(i)||i;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ml(e){return"content"in e&&function S0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var So=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}(So||{});function nm(e){const t=Hs();return t?Wh(t.sanitize(So.HTML,e)||""):Jo(e,"HTML")?Wh(no(e)):tm(Xo(),ie(e))}function im(e){const t=Hs();return t?t.sanitize(So.STYLE,e)||"":Jo(e,"Style")?no(e):ie(e)}function Sl(e){const t=Hs();return t?t.sanitize(So.URL,e)||"":Jo(e,"URL")?no(e):Wa(ie(e))}function Il(e){const t=Hs();if(t)return Kh(t.sanitize(So.RESOURCE_URL,e)||"");if(Jo(e,"ResourceURL"))return Kh(no(e));throw new Y(904,!1)}function rm(e){const t=Hs();if(t)return Gh(t.sanitize(So.SCRIPT,e)||"");if(Jo(e,"Script"))return Gh(no(e));throw new Y(905,!1)}function om(e){return Qo(e[0])}function sm(e){return function c0(e){return wl()?.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)?Il:Sl}(t,i)(e)}function Hs(){const e=Nt();return e&&e[ui].sanitizer}const zs=new oe("ENVIRONMENT_INITIALIZER"),Al=new oe("INJECTOR",-1),cm=new oe("INJECTOR_DEF_TYPES");class Ol{get(t,i=We){if(i===We){const r=new Error(`NullInjectorError: No provider for ${v(t)}!`);throw r.name="NullInjectorError",r}return i}}function Pl(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 Wo(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];Rl(l,h=>{t(h,r)})}}function Ka(e,t,i,r){if(!(e=S(e)))return!1;let l=null,h=tt(e);const C=!h&&xn(e);if(h||C){if(C&&!C.standalone)return!1;l=e}else{const M=e.ngModule;if(h=tt(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{Wo(h.imports,le=>{Ka(le,t,i,r)&&(N||=[],N.push(le))})}finally{}void 0!==N&&um(N,t)}if(!T){const N=Ke(l)||(()=>new l);t({provide:l,useFactory:N,deps:at},l),t({provide:cm,useValue:l,multi:!0},l),t({provide:zs,useValue:()=>Je(l),multi:!0},l)}const M=h.providers;if(null!=M&&!T){const N=e;Rl(M,le=>{t(le,N)})}}}return l!==e&&void 0!==e.providers}function Rl(e,t){for(let i of e)V(i)&&(i=i.\u0275providers),Array.isArray(i)?Rl(i,t):t(i)}const A0=y({provide:String,useValue:y});function Fl(e){return null!==e&&"object"==typeof e&&A0 in e}function Io(e){return"function"==typeof e}const kl=new oe("Set Injector scope."),Ya={},P0={};let Nl;function Za(){return void 0===Nl&&(Nl=new Ol),Nl}class zr{}class qo extends zr{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,jl(t,C=>this.processProvider(C)),this.records.set(Al,es(void 0,this)),l.has("environment")&&this.records.set(zr,es(void 0,this));const h=this.records.get(kl);null!=h&&"string"==typeof h.value&&this.scopes.add(h.value),this.injectorDefTypes=new Set(this.get(cm.multi,at,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=Ge(this),r=Gt(void 0);try{return t()}finally{Ge(i),Gt(r)}}get(t,i=We,r=ot.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Vn))return t[Vn](this);r=Re(r);const h=Ge(this),C=Gt(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 oe}(t)&&Me(t);M=N&&this.injectableDefInScope(N)?es(Ll(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===We?null:i)}catch(T){if("NullInjectorError"===T.name){if((T[Ot]=T[Ot]||[]).unshift(v(t)),h)throw T;return function bn(e,t,i,r){const l=e[Ot];throw t[G]&&l.unshift(t[G]),e.message=function wn(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(ht,"\n ")}`}("\n"+e.message,l,i,r),e.ngTokenPath=l,e[Ot]=null,e}(T,t,"R3InjectorError",this.source)}throw T}finally{Gt(C),Ge(h)}}resolveInjectorInitializers(){const t=Ge(this),i=Gt(void 0);try{const l=this.get(zs.multi,at,ot.Self);for(const h of l)h()}finally{Ge(t),Gt(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=Io(t=S(t))?t:S(t&&t.provide);const r=function F0(e){return Fl(e)?es(void 0,e.useValue):es(mm(e),Ya)}(t);if(Io(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=es(void 0,Ya,!0),l.factory=()=>Le(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 Ll(e){const t=Me(e),i=null!==t?t.factory:Ke(e);if(null!==i)return i;if(e instanceof oe)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 ft(e){return e&&(e[ce]||e[Fe])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Y(204,!1)}function mm(e,t,i){let r;if(Io(e)){const l=S(e);return Ke(l)||Ll(l)}if(Fl(e))r=()=>S(e.useValue);else if(function hm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Le(e.deps||[]));else if(function fm(e){return!(!e||!e.useExisting)}(e))r=()=>Je(S(e.useExisting));else{const l=S(e&&(e.useClass||e.provide));if(!function k0(e){return!!e.deps}(e))return Ke(l)||Ll(l);r=()=>new l(...Le(e.deps))}return r}function es(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function jl(e,t){for(const i of e)Array.isArray(i)?jl(i,t):i&&V(i)?jl(i.\u0275providers,t):t(i)}const pm=new oe("AppId",{providedIn:"root",factory:()=>j0}),j0="ng",gm=new oe("Platform Initializer"),Bl=new oe("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),B0=new oe("Application Packages Root URL"),V0=new oe("AnimationModuleType"),$0=new oe("CSP nonce",{providedIn:"root",factory:()=>Xo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),_m=new oe("",{providedIn:"root",factory:()=>new Set});function U0(e){return e}function H0(){const e=new Ws;return"browser"===me(Bl)&&(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{}}(Xo(),me(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 Vl="h",$l="b";var ts=function(e){return e.FirstChild="f",e.NextSibling="n",e}(ts||{});const Ul="e",Hl="t",Gs="c",Qa="x",ns="r",zl="i",Wl="n",Xa="d",Gl="__\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(Gl,[])[Number(r)])}const M={data:T,firstChild:e.firstChild??null};return i&&(M.firstChild=e,Ja(M,0,e.nextSibling)),C?e.setAttribute(Ks,C):e.removeAttribute(Ks),M}function Kl(e,t,i=!1){return bm(e,t,i)}function ym(e){let t=e._lView;return 2===t[Wt].type?null:(yr(t)&&(t=t[Mn]),t)}function Ja(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Yl(e,t){return e.segmentHeads?.[t]??null}function Cm(e,t){return e.data[Gs]?.[t]??null}function Zl(e,t){const i=Cm(e,t)??[];let r=0;for(let l of i)r+=l[ns]*(l[Qa]??1);return r}function qa(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[Xa];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}class wm{}class ec{}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 is(ki(),Nt())}function is(e,t){return new Zs(nr(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=fr(ki().index,e);return(si(i)?i:e)[an]}()}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.12"),tc={};function iC(e,t){e instanceof qo&&e.assertNotDestroyed();const r=Ge(e),l=Gt(void 0);try{return t()}finally{Ge(r),Gt(l)}}function nc(e){if(!jt()&&!function fe(){return F}())throw new Y(-203,!1)}const Sm={\u0275\u0275defineInjectable:Te,\u0275\u0275defineInjector:ke,\u0275\u0275inject:Je,\u0275\u0275invalidFactoryDep:Lt,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(ce)||Object.defineProperty(e,ce,{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(zt)||Object.defineProperty(e,zt,{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 Ql(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||at,lm(e)];return r=r||("object"==typeof e?void 0:v(e)),new qo(h,t||Za(),r||null,l)}let kr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=We;static#t=this.NULL=new Ol;static create(i,r){if(Array.isArray(i))return Ql({name:""},r,i,"");{const l=i.name??"";return Ql({name:l},i.parent,i.providers,l)}}static#n=this.\u0275prov=Te({token:e,providedIn:"any",factory:()=>Je(Al)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Xl(e){return e.ngOriginalError}class _o{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&&Xl(t);for(;i&&Xl(i);)i=Xl(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[oi])return;const i=e[oi].indexOf(t);-1!==i&&e[oi].splice(i,1)}(this._lView,t)}}function uC(){return new dC(Nt())}function Jl(e){return t=>{setTimeout(e,void 0,t)}}const Wr=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=Jl(h),l&&(l=Jl(l)),C&&(C=Jl(C)));const T=super.subscribe({next:l,error:h,complete:C});return t instanceof s.w0&&t.add(T),T}};function Rm(...e){}class Oi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wr(!1),this.onMicrotaskEmpty=new Wr(!1),this.onStable=new Wr(!1),this.onError=new Wr(!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 ut.requestAnimationFrame;let t=ut[e?"requestAnimationFrame":"setTimeout"],i=ut[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(ut,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ed(e),e.isCheckStableRunning=!0,ql(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ed(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,ed(e),ql(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(!Oi.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(Oi.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 ql(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 ed(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--,ql(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wr,this.onMicrotaskEmpty=new Wr,this.onStable=new Wr,this.onError=new Wr}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 oe("",{providedIn:"root",factory:jm});function jm(){const e=me(Oi);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(()=>{Oi.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,l.next(!0))})})});const C=e.onUnstable.subscribe(()=>{Oi.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 td(e){return e.ownerDocument.body}function ro(e){return e instanceof Function?e():e}function os(e){return"browser"===(e??me(kr)).get(Bl)}function $m(e,t){!t&&nc();const i=t?.injector??me(kr);if(!os(i))return{destroy(){}};let r;const l=i.get(Qs).onDestroy(()=>r?.()),h=i.get(ic),C=h.handler??=new zm,T=i.get(Oi),M=i.get(_o,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&&nc();const i=t?.injector??me(kr);if(!os(i))return{destroy(){}};let r;const l=i.get(Qs).onDestroy(()=>r?.()),h=i.get(ic),C=h.handler??=new zm,T=i.get(Oi),M=i.get(_o,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 ic=(()=>{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[ln]|=64;const t=Bs(e);if(yr(e)&&!t)return e;e=t}return null}const Js=new oe(""),Gm=new oe("",{providedIn:"root",factory:()=>!1});let rc=null;function Qm(e,t){return e[t]??qm()}function Xm(e,t){const i=qm();i.producerNode?.length&&(e[t]=rc,i.lView=e,rc=Jm())}const EC={...pn,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Xs(e.lView)},lView:null};function Jm(){return Object.create(EC)}function qm(){return rc??=Jm(),rc}const En={};function ep(e){tp(Ln(),Nt(),Ki()+e,!1)}function tp(e,t,i,r){if(!r)if(3==(3&t[ln])){const h=e.preOrderCheckHooks;null!==h&&ya(t,h,i)}else{const h=e.preOrderHooks;null!==h&&Ca(t,h,0,i)}Eo(i)}function ss(e,t=ot.Default){const i=Nt();return null===i?Je(e,t):Hf(ki(),i,S(e),t)}function np(){throw new Error("invalid")}function oc(e,t,i,r,l,h,C,T,M,N,le){const Ae=t.blueprint.slice();return Ae[jn]=l,Ae[ln]=140|r,(null!==N||e&&2048&e[ln])&&(Ae[ln]|=2048),uf(Ae),Ae[Nn]=Ae[fi]=e,Ae[An]=i,Ae[ui]=C||e&&e[ui],Ae[an]=T||e&&e[an],Ae[Si]=M||e&&e[Si]||null,Ae[Jn]=h,Ae[Ci]=function ky(){return Fy++}(),Ae[$n]=le,Ae[Zr]=N,Ae[Wn]=2==t.type?e[Wn]:Ae,Ae}function as(e,t,i,r,l){let h=e.data[t];if(null===h)h=nd(e,t,i,r,l),function jb(){return gn.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 Ur(h,!0),h}function nd(e,t,i,r,l){const h=Cf(),C=Uc(),M=e.data[t]=function OC(e,t,i,r,l,h){let C=t?t.injectorIndex:-1,T=0;return jo()&&(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,Ri),C=Ki(),T=2&r;try{Eo(-1),T&&t.length>Mn&&tp(e,t,Mn,!1),Fi(T?2:0,l);const N=T?h:null,le=_i(N);try{null!==N&&(N.dirty=!1),i(r,l)}finally{ci(N,le)}}finally{T&&null===t[Ri]&&Xm(t,Ri),Eo(C),Fi(T?3:1,l)}}function id(e,t,i){if(Br(t)){const r=fn(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{fn(r)}}}function rd(e,t,i){gf()&&(function jC(e,t,i,r){const l=i.directiveStart,h=i.directiveEnd;zi(i)&&function WC(e,t,i){const r=nr(t,e),l=rp(i);let C=16;i.signals?C=4096:i.onPush&&(C=64);const T=sc(e,oc(e,l,null,C,r,t,null,e[ui].rendererFactory.createRenderer(r,i),null,null,null));e[t.index]=T}(t,i,e.data[l+i.componentOffset]),e.firstCreatePass||Ea(i,t),$i(r,t);const C=i.initialInputs;for(let T=l;T<h;T++){const M=e.data[T],N=To(t,e,T,i);$i(N,t),null!==C&&GC(0,T-l,N,M,0,C),Ii(M)&&(fr(i.index,t)[An]=To(t,e,T,i))}}(e,t,i,nr(i,t)),64==(64&i.flags)&&lp(e,t,i))}function od(e,t,i=nr){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=sd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function sd(e,t,i,r,l,h,C,T,M,N,le){const Ae=Mn+r,it=Ae+l,mt=function DC(e,t){const i=[];for(let r=0;r<t;r++)i.push(r<e?null:En);return i}(Ae,it),St="function"==typeof N?N():N;return mt[Wt]={type:e,blueprint:mt,template:i,queries:null,viewQuery:T,declTNode:t,data:mt.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:St,incompleteFirstPass:!1,ssrId:le}}let op=e=>null;function SC(e){_h(e)?Vh(e):function Y0(e){const t=Xo(),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 mr(e,t,i,r,l,h,C,T){const M=nr(t,i);let le,N=t.inputs;!T&&null!=N&&(le=N[r])?(ud(e,i,le,r,l),zi(t)&&function FC(e,t){const i=fr(t,e);16&i[ln]||(i[ln]|=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 ad(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(je(t,C.selectors,!1))if(r||(r=[]),Ii(C))if(null!==C.findHostDirectiveDefs){const T=[];l=l||new Map,C.findHostDirectiveDefs(C,T,l),r.unshift(...T,C),cd(e,t,T.length)}else r.unshift(C),cd(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=mn(i.mergedAttrs,i.attrs)}function cp(e,t,i,r,l,h){for(let N=0;N<r.length;N++)el(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 le=r[N];le.providersResolver&&le.providersResolver(le)}let C=!1,T=!1,M=qs(e,t,r.length,null);for(let N=0;N<r.length;N++){const le=r[N];i.mergedAttrs=mn(i.mergedAttrs,le.hostAttrs),zC(e,i,t,M,le),UC(M,le,l),null!==le.contentQueries&&(i.flags|=4),(null!==le.hostBindings||null!==le.hostAttrs||0!==le.hostVars)&&(i.flags|=64);const Ae=le.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 le=t.directiveStart;le<l;le++){const Ae=h[le],it=i?i.get(Ae):null,St=it?it.outputs:null;M=sp(Ae.inputs,le,M,it?it.inputs:null),N=sp(Ae.outputs,le,N,St);const Vt=null===M||null===C||pe(t)?null:KC(M,le,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 gn.lFrame.currentDirectiveIndex}();try{Eo(h);for(let T=r;T<l;T++){const M=e.data[T],N=t[T];zc(T),(null!==M.hostBindings||0!==M.hostVars||null!==M.hostAttrs)&&BC(M,N)}}finally{Eo(-1),zc(C)}}function BC(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function cd(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;Ii(t)&&(i[""]=e)}}function zC(e,t,i,r,l){e.data[r]=l;const h=l.factory||(l.factory=Ke(l.type)),C=new Is(h,Ii(l),ss);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,En),l)}function Gr(e,t,i,r,l,h){const C=nr(e,t);ld(t[an],C,h,e.value,i,r,l)}function ld(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=fn(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{fn(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];Gc(i[r]),C.contentQueries(2,t[h],h)}}}function sc(e,t){return e[Hi]?e[Ar][ri]=t:e[Hi]=t,e[Ar]=t,t}function dd(e,t,i){Gc(0);const r=fn(null);try{t(e,i)}finally{fn(r)}}function hp(e){return e[Li]||(e[Li]=[])}function mp(e){return e.cleanup||(e.cleanup=[])}function pp(e,t,i){return(null===e||Ii(e))&&(i=$c(i[t.index])),i[an]}function gp(e,t){const i=e[Si],r=i?i.get(_o,null):null;r&&r.handleError(t)}function ud(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 oo(e,t,i){const r=_a(t,e);Ah(e[an],r,i)}function YC(e,t){const i=fr(t,e),r=i[Wt];!function ZC(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(r,i);const l=i[jn];null!==l&&null===i[$n]&&(i[$n]=Kl(l,i[Si])),fd(r,i,i[An])}function fd(e,t,i){Kc(t);try{const r=e.viewQuery;null!==r&&dd(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&&dd(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[ln]&=-5,Yc()}}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 Jt(e,t,i){const r=Object.create(Gn);i&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const l=C=>{r.cleanupFn=C};return r.ref={notify:()=>ai(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Vr(r))return;r.hasRun=!0;const C=_i(r);try{r.cleanupFn(),r.cleanupFn=Hn,r.fn(l)}finally{ci(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&&nc();const i=t?.injector??me(kr),r=i.get(_p),l=!0!==t?.manualCleanup?i.get(Qs):null;return r.create(e,l,!!t?.allowSignalWrites)}function ac(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(Xn(h)),gi(h)&&bp(h,r);const C=i.type;if(8&C)ea(e,t,i.child,r);else if(32&C){const T=ml(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[Wn]);ea(M[Wt],M,T,r,!0)}}i=l?i.projectionNext:i.next}return r}function bp(e,t){for(let i=pi;i<e.length;i++){const r=e[i],l=r[Wt].firstChild;null!==l&&ea(r[Wt],r,l,t)}e[mi]!==e[jn]&&t.push(e[mi])}function cc(e,t,i,r=!0){const l=t[ui],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);cc(t[Wt],t,e)}function Cp(e,t,i,r){const l=t[ln];if(256!=(256&l)){t[ui].effectManager?.flush(),Kc(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),Zc(t,0)}if(function XC(e){for(let t=Mh(e);null!==t;t=Sh(t)){if(!t[dr])continue;const i=t[Or];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),Zc(t,1)}!function TC(e,t){const i=e.hostBindingOpCodes;if(null===i)return;const r=Qm(t,cr);try{for(let l=0;l<i.length;l++){const h=i[l];if(h<0)Eo(~h);else{const C=h,T=i[++l],M=i[++l];Bb(T,C),r.dirty=!1;const N=_i(r);try{M(2,t[C])}finally{ci(r,N)}}}}finally{null===t[cr]&&Xm(t,cr),Eo(-1)}}(e,t);const T=e.components;null!==T&&Tp(t,T,0);const M=e.viewQuery;if(null!==M&&dd(2,M,r),C){const N=e.viewCheckHooks;null!==N&&ya(t,N)}else{const N=e.viewHooks;null!==N&&Ca(t,N,2),Zc(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[ln]&=-73,ff(t)}finally{Yc()}}}function wp(e,t){for(let i=Mh(e);null!==i;i=Sh(i))for(let r=pi;r<i.length;r++)Ep(i[r],t)}function JC(e,t,i){Ep(fr(t,e),i)}function Ep(e,t){if(!function Mb(e){return 128==(128&e[ln])}(e))return;const i=e[Wt],r=e[ln];if(80&r&&0===t||1024&r||2===t)Cp(i,e,i.template,e[An]);else if(e[ar]>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 cs{get rootNodes(){const t=this._lView,i=t[Wt];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[An]}set context(t){this._lView[An]=t}get destroyed(){return 256==(256&this._lView[ln])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Nn];if(gi(t)){const i=t[8],r=i?i.indexOf(this):-1;r>-1&&(Ba(t,r),xa(i,r))}this._attachedToViewContainer=!1}gl(this._lView[Wt],this._lView)}onDestroy(t){mf(this._lView,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[ln]&=-129}reattach(){this._lView[ln]|=128}detectChanges(){cc(this._lView[Wt],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[an],2,null,null)}(this._lView[Wt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=t}}class qC extends cs{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;cc(t[Wt],t,t[An],!1)}checkNoChanges(){}get context(){return null}}class Dp extends Ys{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=xn(t);return new ls(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=Re(r);const l=this.injector.get(t,tc,r);return l!==tc||i===tc?l:this.parentInjector.get(t,i,r)}}class ls extends ec{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 Pi(e){return e.map(ti).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,r,l){let h=(l=l||this.ngModule)instanceof zr?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(ic,null)},it=T.createRenderer(null,this.componentDef),mt=this.componentDef.selectors[0][0]||"div",St=r?function xC(e,t,i,r){const h=r.get(Gm,!1)||i===$e.ShadowDom,C=e.selectRootElement(t,h);return function MC(e){op(e)}(C),C}(it,r,this.componentDef.encapsulation,C):ja(it,mt,function ew(e){const t=e.toLowerCase();return"svg"===t?cf:"math"===t?lf:null}(mt)),rn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Rt=null;null!==St&&(Rt=Kl(St,C,!0));const vn=sd(0,null,null,1,0,null,null,null,null,null,null),On=oc(null,vn,null,rn,null,null,Ae,it,C,null,Rt);let Yn,rr;Kc(On);try{const so=this.componentDef;let Ds,af=null;so.findHostDirectiveDefs?(Ds=[],af=new Map,so.findHostDirectiveDefs(so,Ds,af),Ds.push(so)):Ds=[so];const zx=function nw(e,t){const i=e[Wt],r=Mn;return e[r]=t,as(i,r,2,"#host",null)}(On,St),Wx=function iw(e,t,i,r,l,h,C){const T=l[Wt];!function rw(e,t,i,r){for(const l of e)t.mergedAttrs=mn(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(ac(t,t.mergedAttrs,!0),null!==i&&Hh(r,i,t))}(r,e,t,C);let M=null;null!==t&&(M=Kl(t,l[Si]));const N=h.rendererFactory.createRenderer(t,i);let le=16;i.signals?le=4096:i.onPush&&(le=64);const Ae=oc(l,rp(i),null,le,l[e.index],e,h,N,null,null,M);return T.firstCreatePass&&cd(T,e,r.length-1),sc(l,Ae),l[e.index]=Ae}(zx,St,so,Ds,On,Ae,it);rr=df(vn,Mn),St&&function sw(e,t,i,r){if(r)Fn(e,i,["ng-version",Mm.full]);else{const{attrs:l,classes:h}=function ni(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(!L(l))break;l=h}r++}return{attrs:t,classes:i}}(t.selectors[0]);l&&Fn(e,i,l),h&&h.length>0&&Uh(e,i,h.join(" "))}}(it,so,St,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)}}(rr,this.ngContentSelectors,i),Yn=function ow(e,t,i,r,l,h){const C=ki(),T=l[Wt],M=nr(C,l);cp(T,l,C,i,null,r);for(let le=0;le<i.length;le++)$i(To(l,T,C.directiveStart+le,C),l);lp(T,l,C),M&&$i(M,l);const N=To(l,T,C.directiveStart+C.componentOffset,C);if(e[An]=l[An]=N,null!==h)for(const le of h)le(N,t);return id(T,C,e),N}(Wx,so,Ds,af,On,[Sp]),fd(vn,On,null)}finally{Yc()}return new Mp(this.componentType,Yn,is(rr,On),On,rr)}}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;ud(h[Wt],h,l,t,i),this.previousInputValues.set(t,i),Xs(fr(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()[Wt],e)}function Ip(e){return Object.getPrototypeOf(e.prototype).constructor}function hd(e){let t=Ip(e.type),i=!0;const r=[e];for(;t;){let l;if(Ii(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=lc(e.inputs),C.inputTransforms=lc(e.inputTransforms),C.declaredInputs=lc(e.declaredInputs),C.outputs=lc(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)),Ii(l)&&l.data.animation){const le=e.data;le.animation=(le.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===hd&&(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=mn(l.hostAttrs,i=mn(i,l.hostAttrs))}}(r)}function lc(e){return e===Be?{}:e===at?[]: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=Ii(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const l of fw)r[l]=i[l];if(Ii(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:Be,outputs:Be}:{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=Zn(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 Be;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 dc(e){return!!md(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function md(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Np(e,t){const i=dc(e),r=dc(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 Kr(e,t,i){return e[t]=i}function ta(e,t){return e[t]}function Ui(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Ao(e,t,i,r){const l=Ui(e,t,i);return Ui(e,t+1,r)||l}function uc(e,t,i,r,l){const h=Ao(e,t,i,r);return Ui(e,t+2,l)||h}function Tr(e,t,i,r,l,h){const C=Ao(e,t,i,r);return Ao(e,t+2,l,h)||C}function pd(e,t,i,r){const l=Nt();return Ui(l,Bo(),t)&&(Ln(),Gr(li(),l,e,t,i,r)),pd}function ds(e,t){let i=!1,r=eo();for(let h=1;h<t.length;h+=2)i=Ui(e,r++,t[h])||i;if(Ef(r),!i)return En;let l=t[0];for(let h=1;h<t.length;h+=2)l+=ie(t[h])+t[h+1];return l}function us(e,t,i,r){return Ui(e,Bo(),i)?t+ie(i)+r:En}function fs(e,t,i,r,l,h){const T=Ao(e,eo(),i,l);return to(2),T?t+ie(i)+r+ie(l)+h:En}function hs(e,t,i,r,l,h,C,T){const N=uc(e,eo(),i,l,C);return to(3),N?t+ie(i)+r+ie(l)+h+ie(C)+T:En}function ms(e,t,i,r,l,h,C,T,M,N){const Ae=Tr(e,eo(),i,l,C,M);return to(4),Ae?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N:En}function ps(e,t,i,r,l,h,C,T,M,N,le,Ae){const it=eo();let mt=Tr(e,it,i,l,C,M);return mt=Ui(e,it+4,le)||mt,to(5),mt?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(le)+Ae:En}function gs(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt){const St=eo();let Vt=Tr(e,St,i,l,C,M);return Vt=Ao(e,St+4,le,it)||Vt,to(6),Vt?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(le)+Ae+ie(it)+mt:En}function _s(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt){const Yt=eo();let rn=Tr(e,Yt,i,l,C,M);return rn=uc(e,Yt+4,le,it,St)||rn,to(7),rn?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(le)+Ae+ie(it)+mt+ie(St)+Vt:En}function vs(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn){const Rt=eo();let vn=Tr(e,Rt,i,l,C,M);return vn=Tr(e,Rt+4,le,it,St,Yt)||vn,to(8),vn?t+ie(i)+r+ie(l)+h+ie(C)+T+ie(M)+N+ie(le)+Ae+ie(it)+mt+ie(St)+Vt+ie(Yt)+rn:En}function gd(e,t,i,r,l,h){const C=Nt(),T=us(C,t,i,r);return T!==En&&Gr(li(),C,e,T,l,h),gd}function _d(e,t,i,r,l,h,C,T){const M=Nt(),N=fs(M,t,i,r,l,h);return N!==En&&Gr(li(),M,e,N,C,T),_d}function vd(e,t,i,r,l,h,C,T,M,N){const le=Nt(),Ae=hs(le,t,i,r,l,h,C,T);return Ae!==En&&Gr(li(),le,e,Ae,M,N),vd}function bd(e,t,i,r,l,h,C,T,M,N,le,Ae){const it=Nt(),mt=ms(it,t,i,r,l,h,C,T,M,N);return mt!==En&&Gr(li(),it,e,mt,le,Ae),bd}function yd(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt){const St=Nt(),Vt=ps(St,t,i,r,l,h,C,T,M,N,le,Ae);return Vt!==En&&Gr(li(),St,e,Vt,it,mt),yd}function Cd(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt){const Yt=Nt(),rn=gs(Yt,t,i,r,l,h,C,T,M,N,le,Ae,it,mt);return rn!==En&&Gr(li(),Yt,e,rn,St,Vt),Cd}function wd(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn){const Rt=Nt(),vn=_s(Rt,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt);return vn!==En&&Gr(li(),Rt,e,vn,Yt,rn),wd}function Ed(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn,Rt,vn){const On=Nt(),Yn=vs(On,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn);return Yn!==En&&Gr(li(),On,e,Yn,Rt,vn),Ed}function Td(e,t,i,r){const l=Nt(),h=ds(l,t);return h!==En&&Gr(li(),l,e,h,i,r),Td}const Dd="<-- 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 fc(e){const t=" ";let i="";const r=e;return r.previousSibling&&(i+=" \u2026\n",i+=t+na(r.previousSibling)+"\n"),i+=t+na(r)+` ${Dd}\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 xd(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+)*(${$l}|${Vl})*(.*)`);function Sd(e){return e.index-Mn}function hc(e,t,i,r){let l=null;const h=Sd(r),C=e.data[Wl];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,le]of h.matchAll(/(f|n)(\d*)/g)){const Ae=parseInt(le,10)||1;T.push(N,Ae)}return[C,...T]}(e);let l;return l=i===Vl?t[Wn][jn]:i===$l?td(t[Wn][jn]):Xn(t[Number(i)+Mn]),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 ts.FirstChild:i=i.firstChild;break;case ts.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=Yl(e,Sd(r.parent));else{let N=nr(M,i);if(T)l=N.firstChild;else{const le=Sd(M),Ae=Yl(e,le);l=2===M.type&&Ae?mc(Zl(e,le)+1,Ae):N.nextSibling}}}return l}function mc(e,t){let i=t;for(let r=0;r<e;r++)i=i.nextSibling;return i}function Id(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(ts.NextSibling);return null==r?null:i}(e,t);{const i=t.parentElement,r=Id(e,i),l=Id(i.firstChild,t);return r&&l?[...r,ts.FirstChild,...l]:null}}function Bp(e,t,i){const r=Id(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=Xn(t[r]),h=ie(r-Mn)):(r=h=Vl,l=t[Wn][jn]);let C=Xn(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,$l),null===T))throw function bw(e,t){const r=`${function Md(e,t,i){const r=" ";let l="";t.prev?(l+=" \u2026\n",l+=r+xd(t.prev)+"\n"):t.type&&12&t.type&&(l+=" \u2026\n"),i?(l+=r+xd(t)+"\n",l+=r+`\x3c!-- container --\x3e ${Dd}\n`):l+=r+xd(t)+` ${Dd}\n`,l+=" \u2026\n";const h=t.type?vl(e[Wt],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(),le=e+Mn,Ae=N.firstCreatePass?function Rw(e,t,i,r,l,h,C,T,M){const N=t.consts,le=as(t,e,4,C||null,mo(N,T));ad(t,i,le,mo(N,M)),ba(t,le);const Ae=le.tView=sd(2,le,r,l,h,t.directiveRegistry,t.pipeRegistry,null,t.schemas,N,null);return null!==t.queries&&(t.queries.template(t,le),Ae.queries=t.queries.embeddedTView(le)),le}(le,N,M,t,i,r,l,h,C):N.data[le];Ur(Ae,!1);const it=$p(N,M,Ae,e);va()&&$a(N,M,it,Ae),$i(it,M),sc(M,M[le]=up(it,M,it,Ae)),br(Ae)&&rd(N,M,Ae),null!=C&&od(M,Ae,T)}let $p=Up;function Up(e,t,i,r){return po(!0),t[an].createComment("")}function Fw(e,t,i,r){const l=t[$n],h=!l||jo()||qa(l,r);if(po(h),h)return Up(0,t);const C=l.data[Hl]?.[r]??null;null!==C&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=C);const T=hc(l,e,t,i);return Ja(l,r,T),mc(Zl(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 Lo(function Lb(){return gn.lFrame.contextLView}(),Mn+e)}function Ad(e,t,i){const r=Nt();return Ui(r,Bo(),t)&&mr(Ln(),li(),r,e,t,r[an],i,!1),Ad}function Od(e,t,i,r,l){const C=l?"class":"style";ud(e,i,t.inputs[C],C,r)}function pc(e,t,i,r){const l=Nt(),h=Ln(),C=Mn+e,T=l[an],M=h.firstCreatePass?function Nw(e,t,i,r,l,h){const C=t.consts,M=as(t,e,2,r,mo(C,l));return ad(t,i,M,mo(C,h)),null!==M.attrs&&ac(M,M.attrs,!1),null!==M.mergedAttrs&&ac(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 le=br(M);return Ur(M,!0),Hh(T,N,M),32!=(32&M.flags)&&va()&&$a(h,l,N,M),0===function Ob(){return gn.lFrame.elementDepthCount}()&&$i(N,l),function Pb(){gn.lFrame.elementDepthCount++}(),le&&(rd(h,l,M),id(h,M,l)),null!==r&&od(l,M),pc}function gc(){let e=ki();Uc()?Hc():(e=e.parent,Ur(e,!1));const t=e;(function Fb(e){return gn.skipHydrationRootTNode===e})(t)&&function Nb(){gn.skipHydrationRootTNode=null}(),function Rb(){gn.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)&&Od(i,t,Nt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Zb(e){return 0!=(16&e.flags)}(t)&&Od(i,t,Nt(),t.stylesWithoutHost,!1),gc}function Pd(e,t,i,r){return pc(e,t,i,r),gc(),Pd}let Wp=(e,t,i,r,l,h)=>(po(!0),ja(r,l,Ff()));function Lw(e,t,i,r,l,h){const C=t[$n],T=!C||jo()||qa(C,h);if(po(T),T)return ja(r,l,Ff());const M=hc(C,e,t,i);return Cm(C,h)&&Ja(C,h,M.nextSibling),C&&(gh(i)||_h(M))&&zi(i)&&(function kb(e){gn.skipHydrationRootTNode=e}(i),Vh(M)),M}function _c(e,t,i){const r=Nt(),l=Ln(),h=e+Mn,C=l.firstCreatePass?function Bw(e,t,i,r,l){const h=t.consts,C=mo(h,r),T=as(t,e,8,"ng-container",C);return null!==C&&ac(T,C,!0),ad(t,i,T,mo(h,l)),null!==t.queries&&t.queries.elementStart(t,T),T}(h,l,r,t,i):l.data[h];Ur(C,!0);const T=Gp(l,r,C,e);return r[h]=T,va()&&$a(l,r,T,C),$i(T,r),br(C)&&(rd(l,r,C),id(l,C,r)),null!=i&&od(r,C),_c}function vc(){let e=ki();const t=Ln();return Uc()?Hc():(e=e.parent,Ur(e,!1)),t.firstCreatePass&&(ba(t,e),Br(e)&&t.queries.elementEnd(e)),vc}function Rd(e,t,i){return _c(e,t,i),vc(),Rd}let Gp=(e,t,i,r)=>(po(!0),pl(t[an],""));function Vw(e,t,i,r){let l;const h=t[$n],C=!h||jo();if(po(C),C)return pl(t[an],"");const T=hc(h,e,t,i),M=function Q0(e,t){const i=e.data;let r=i[Ul]?.[t]??null;return null===r&&i[Gs]?.[t]&&(r=Zl(e,t)),r}(h,r);return Ja(h,r,T),l=mc(M,T),l}function Kp(){return Nt()}function Fd(e){return!!e&&"function"==typeof e.then}function Yp(e){return!!e&&"function"==typeof e.subscribe}function kd(e,t,i,r){const l=Nt(),h=Ln(),C=ki();return Zp(h,l,l[an],C,e,t,r),kd}function Nd(e,t){const i=ki(),r=Nt(),l=Ln();return Zp(l,r,pp(Wc(l.data),i,r),i,e,t),Nd}function Zp(e,t,i,r,l,h,C){const T=br(r),N=e.firstCreatePass&&mp(e),le=t[An],Ae=hp(t);let it=!0;if(3&r.type||C){const Vt=nr(r,t),Yt=C?C(Vt):Vt,rn=Ae.length,Rt=C?On=>C(Xn(On[r.index])):r.index;let vn=null;if(!C&&T&&(vn=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[Li],M=l[h+2];return T.length>M?T[M]:null}"string"==typeof C&&(h+=2)}return null}(e,t,l,r.index)),null!==vn)(vn.__ngLastListenerFn__||vn).__ngNextListenerFn__=h,vn.__ngLastListenerFn__=h,it=!1;else{h=Xp(r,t,le,h,!1);const On=i.listen(Yt,l,h);Ae.push(h,On),N&&N.push(l,Rt,rn,rn+1)}}else h=Xp(r,t,le,h,!1);const mt=r.outputs;let St;if(it&&null!==mt&&(St=mt[l])){const Vt=St.length;if(Vt)for(let Yt=0;Yt<Vt;Yt+=2){const Yn=t[St[Yt]][St[Yt+1]].subscribe(h),rr=Ae.length;Ae.push(h,Yn),N&&N.push(l,r.index,rr,-(rr+1))}}}function Qp(e,t,i,r){try{return Fi(6,t,i),!1!==i(r)}catch(l){return gp(e,l),!1}finally{Fi(7,t,i)}}function Xp(e,t,i,r,l){return function h(C){if(C===Function)return r;Xs(e.componentOffset>-1?fr(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(gn.lFrame.contextLView=function Hb(e,t){for(;e>0;)t=t[fi],e--;return t}(e,gn.lFrame.contextLView))[An]}(e)}function Hw(e,t){let i=null;const r=function $t(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?je(e,h,!0):Sn(r,h))return l}else i=l}return i}function qp(e){const t=Nt()[Wn][Jn];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=as(l,Mn+e,16,null,i||null);null===h.projection&&(h.projection=t),Hc(),(!r[$n]||jo())&&32!=(32&h.flags)&&function n0(e,t,i){$h(t[an],0,t,i,vl(e,i,t),kh(i.parent||t[Jn],i,t))}(l,r,h)}function Ld(e,t,i){return bc(e,"",t,"",i),Ld}function bc(e,t,i,r,l){const h=Nt(),C=us(h,t,i,r);return C!==En&&mr(Ln(),li(),h,e,C,h[an],l,!1),bc}function jd(e,t,i,r,l,h,C){const T=Nt(),M=fs(T,t,i,r,l,h);return M!==En&&mr(Ln(),li(),T,e,M,T[an],C,!1),jd}function Bd(e,t,i,r,l,h,C,T,M){const N=Nt(),le=hs(N,t,i,r,l,h,C,T);return le!==En&&mr(Ln(),li(),N,e,le,N[an],M,!1),Bd}function Vd(e,t,i,r,l,h,C,T,M,N,le){const Ae=Nt(),it=ms(Ae,t,i,r,l,h,C,T,M,N);return it!==En&&mr(Ln(),li(),Ae,e,it,Ae[an],le,!1),Vd}function $d(e,t,i,r,l,h,C,T,M,N,le,Ae,it){const mt=Nt(),St=ps(mt,t,i,r,l,h,C,T,M,N,le,Ae);return St!==En&&mr(Ln(),li(),mt,e,St,mt[an],it,!1),$d}function Ud(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St){const Vt=Nt(),Yt=gs(Vt,t,i,r,l,h,C,T,M,N,le,Ae,it,mt);return Yt!==En&&mr(Ln(),li(),Vt,e,Yt,Vt[an],St,!1),Ud}function Hd(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt){const rn=Nt(),Rt=_s(rn,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt);return Rt!==En&&mr(Ln(),li(),rn,e,Rt,rn[an],Yt,!1),Hd}function zd(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn,Rt){const vn=Nt(),On=vs(vn,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn);return On!==En&&mr(Ln(),li(),vn,e,On,vn[an],Rt,!1),zd}function Wd(e,t,i){const r=Nt(),l=ds(r,t);return l!==En&&mr(Ln(),li(),r,e,l,r[an],i,!1),Wd}function yc(e,t){return e<<17|t<<2}function vo(e){return e>>17&32767}function Gd(e){return 2|e}function Oo(e){return(131068&e)>>2}function Kd(e,t){return-131069&e|t<<2}function Yd(e){return 1|e}function tg(e,t,i,r,l){const h=e[i+1],C=null===t;let T=r?vo(h):Oo(h),M=!1;for(;0!==T&&(!1===M||C);){const le=e[T+1];Zw(e[T],t)&&(M=!0,e[T+1]=r?Yd(le):Gd(le)),T=r?vo(le):Oo(le)}M&&(e[i+1]=r?Gd(h):Yd(h))}function Zw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Go(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),bs(e,t,i))}function rg(e,t){const i=xi.textEnd;let r=xi.key=bs(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=bs(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 bs(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function sg(e,t,i,r){return(t=bs(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 Zd(e,t,i){return Lr(e,t,i,!1),Zd}function Qd(e,t){return Lr(e,t,null,!0),Qd}function Nr(e){jr(ug,nE,e,!1)}function nE(e,t){for(let i=function Jw(e){return og(e),rg(e,bs(e,0,xi.textEnd))}(t);i>=0;i=rg(t,i))ug(e,ng(t),Qw(t))}function cg(e){jr(cE,Yr,e,!0)}function Yr(e,t){for(let i=function Xw(e){return og(e),ig(e,bs(e,0,xi.textEnd))}(t);i>=0;i=ig(t,i))hr(e,ng(t),!0)}function Lr(e,t,i,r){const l=Nt(),h=Ln(),C=to(2);h.firstUpdatePass&&dg(h,e,C,r),t!==En&&Ui(l,C,t)&&fg(h,h.data[Ki()],l,l[an],e,l[C+1]=function dE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=v(no(e)))),e}(t,i),r,C)}function jr(e,t,i,r){const l=Ln(),h=to(2);l.firstUpdatePass&&dg(l,null,h,r);const C=Nt();if(i!==En&&Ui(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||"")),Od(l,T,C,i,r)}else!function lE(e,t,i,r,l,h,C,T){l===En&&(l=at);let M=0,N=0,le=0<l.length?l[0]:null,Ae=0<h.length?h[0]:null;for(;null!==le||null!==Ae;){const it=M<l.length?l[M+1]:void 0,mt=N<h.length?h[N+1]:void 0;let Vt,St=null;le===Ae?(M+=2,N+=2,it!==mt&&(St=Ae,Vt=mt)):null===Ae||null!==le&&le<Ae?(M+=2,St=le):(N+=2,St=Ae,Vt=mt),null!==St&&fg(e,t,i,r,St,Vt,C,T),le=M<l.length?l[M]:null,Ae=N<h.length?h[N]:null}}(l,T,C,C[an],C[h+1],C[h+1]=function aE(e,t,i){if(null==i||""===i)return at;const r=[],l=no(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=Wc(e);let h=r?t.residualClasses:t.residualStyles;if(null===l)0===(r?t.classBindings:t.styleBindings)&&(i=oa(i=Xd(null,e,t,i,r),t.attrs,r),h=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==l)if(i=Xd(l,e,t,i,r),null===h){let M=function rE(e,t,i){const r=i?t.classBindings:t.styleBindings;if(0!==Oo(r))return e[vo(r)]}(e,t,r);void 0!==M&&Array.isArray(M)&&(M=Xd(null,e,t,M[1],r),M=oa(M,t.attrs,r),function oE(e,t,i,r){e[vo(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=vo(C),M=Oo(C);e[r]=i;let le,N=!1;if(Array.isArray(i)?(le=i[1],(null===le||Go(i,le)>0)&&(N=!0)):le=i,l)if(0!==M){const it=vo(e[T+1]);e[r+1]=yc(it,T),0!==it&&(e[it+1]=Kd(e[it+1],r)),e[T+1]=function Ww(e,t){return 131071&e|t<<17}(e[T+1],r)}else e[r+1]=yc(T,0),0!==T&&(e[T+1]=Kd(e[T+1],r)),T=r;else e[r+1]=yc(M,0),0===T?T=r:e[M+1]=Kd(e[M+1],r),M=r;N&&(e[r+1]=Gd(e[r+1])),tg(e,le,r,!0),tg(e,le,r,!1),function Yw(e,t,i,r,l){const h=l?e.residualClasses:e.residualStyles;null!=h&&"string"==typeof t&&Go(h,t)>=0&&(i[r+1]=Yd(i[r+1]))}(t,le,e,r,h),C=yc(T,M),h?t.classBindings=C:t.styleBindings=C}(l,h,t,i,C,r)}}function Xd(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]),hr(e,C,!!i||t[++h]))}return void 0===e?null:e}function ug(e,t,i){hr(e,t,no(i))}function cE(e,t,i){const r=String(t);""!==r&&!r.includes(" ")&&hr(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],le=function Gw(e){return 1==(1&e)}(N)?hg(M,t,i,l,Oo(N),C):void 0;Cc(le)||(Cc(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),le=N?M[1]:M,Ae=null===le;let it=i[l+1];it===En&&(it=Ae?at:void 0);let mt=Ae?rl(it,r):le===r?it:void 0;if(N&&!Cc(mt)&&(mt=rl(M,r)),Cc(mt)&&(T=mt,C))return T;const St=e[l+1];l=C?vo(St):Oo(St)}if(null!==t){let M=h?t.residualClasses:t.residualStyles;null!=M&&(T=rl(M,r))}return T}function Cc(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+Mn,h=r.firstCreatePass?as(r,l,1,t,null):r.data[l],C=gg(r,i,h,t,e);i[l]=C,va()&&$a(r,i,C,h),Ur(h,!1)}let gg=(e,t,i,r,l)=>(po(!0),La(t[an],r));function uE(e,t,i,r,l){const h=t[$n],C=!h||jo()||qa(h,l);return po(C),C?La(t[an],r):hc(h,e,t,i)}function Jd(e){return wc("",e,""),Jd}function wc(e,t,i){const r=Nt(),l=us(r,e,t,i);return l!==En&&oo(r,Ki(),l),wc}function qd(e,t,i,r,l){const h=Nt(),C=fs(h,e,t,i,r,l);return C!==En&&oo(h,Ki(),C),qd}function eu(e,t,i,r,l,h,C){const T=Nt(),M=hs(T,e,t,i,r,l,h,C);return M!==En&&oo(T,Ki(),M),eu}function tu(e,t,i,r,l,h,C,T,M){const N=Nt(),le=ms(N,e,t,i,r,l,h,C,T,M);return le!==En&&oo(N,Ki(),le),tu}function nu(e,t,i,r,l,h,C,T,M,N,le){const Ae=Nt(),it=ps(Ae,e,t,i,r,l,h,C,T,M,N,le);return it!==En&&oo(Ae,Ki(),it),nu}function iu(e,t,i,r,l,h,C,T,M,N,le,Ae,it){const mt=Nt(),St=gs(mt,e,t,i,r,l,h,C,T,M,N,le,Ae,it);return St!==En&&oo(mt,Ki(),St),iu}function ru(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St){const Vt=Nt(),Yt=_s(Vt,e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St);return Yt!==En&&oo(Vt,Ki(),Yt),ru}function ou(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt){const rn=Nt(),Rt=vs(rn,e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt);return Rt!==En&&oo(rn,Ki(),Rt),ou}function su(e){const t=Nt(),i=ds(t,e);return i!==En&&oo(t,Ki(),i),su}function _g(e,t,i){jr(hr,Yr,us(Nt(),e,t,i),!0)}function vg(e,t,i,r,l){jr(hr,Yr,fs(Nt(),e,t,i,r,l),!0)}function bg(e,t,i,r,l,h,C){jr(hr,Yr,hs(Nt(),e,t,i,r,l,h,C),!0)}function yg(e,t,i,r,l,h,C,T,M){jr(hr,Yr,ms(Nt(),e,t,i,r,l,h,C,T,M),!0)}function Cg(e,t,i,r,l,h,C,T,M,N,le){jr(hr,Yr,ps(Nt(),e,t,i,r,l,h,C,T,M,N,le),!0)}function wg(e,t,i,r,l,h,C,T,M,N,le,Ae,it){jr(hr,Yr,gs(Nt(),e,t,i,r,l,h,C,T,M,N,le,Ae,it),!0)}function Eg(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St){jr(hr,Yr,_s(Nt(),e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St),!0)}function Tg(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt){jr(hr,Yr,vs(Nt(),e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt),!0)}function Dg(e){jr(hr,Yr,ds(Nt(),e),!0)}function xg(e,t,i){Nr(us(Nt(),e,t,i))}function Mg(e,t,i,r,l){Nr(fs(Nt(),e,t,i,r,l))}function Sg(e,t,i,r,l,h,C){Nr(hs(Nt(),e,t,i,r,l,h,C))}function Ig(e,t,i,r,l,h,C,T,M){Nr(ms(Nt(),e,t,i,r,l,h,C,T,M))}function Ag(e,t,i,r,l,h,C,T,M,N,le){Nr(ps(Nt(),e,t,i,r,l,h,C,T,M,N,le))}function Og(e,t,i,r,l,h,C,T,M,N,le,Ae,it){Nr(gs(Nt(),e,t,i,r,l,h,C,T,M,N,le,Ae,it))}function Pg(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St){Nr(_s(Nt(),e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St))}function Rg(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt){Nr(vs(Nt(),e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt))}function Fg(e){Nr(ds(Nt(),e))}function au(e,t,i,r,l){return Lr(e,us(Nt(),t,i,r),l,!1),au}function cu(e,t,i,r,l,h,C){return Lr(e,fs(Nt(),t,i,r,l,h),C,!1),cu}function lu(e,t,i,r,l,h,C,T,M){return Lr(e,hs(Nt(),t,i,r,l,h,C,T),M,!1),lu}function du(e,t,i,r,l,h,C,T,M,N,le){return Lr(e,ms(Nt(),t,i,r,l,h,C,T,M,N),le,!1),du}function uu(e,t,i,r,l,h,C,T,M,N,le,Ae,it){return Lr(e,ps(Nt(),t,i,r,l,h,C,T,M,N,le,Ae),it,!1),uu}function fu(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St){return Lr(e,gs(Nt(),t,i,r,l,h,C,T,M,N,le,Ae,it,mt),St,!1),fu}function hu(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt){return Lr(e,_s(Nt(),t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt),Yt,!1),hu}function mu(e,t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn,Rt){return Lr(e,vs(Nt(),t,i,r,l,h,C,T,M,N,le,Ae,it,mt,St,Vt,Yt,rn),Rt,!1),mu}function pu(e,t,i){return Lr(e,ds(Nt(),t),i,!1),pu}function gu(e,t,i){const r=Nt();return Ui(r,Bo(),t)&&mr(Ln(),li(),r,e,t,r[an],i,!0),gu}function _u(e,t,i){const r=Nt();if(Ui(r,Bo(),t)){const h=Ln(),C=li();mr(h,C,r,e,t,pp(Wc(h.data),C,r),i,!0)}return _u}const Po=void 0;var mE=["en",[["a","p"],["AM","PM"],Po],[["AM","PM"],Po,Po],[["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"]],Po,[["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"]],Po,[["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}",Po,"{1} 'at' {0}",Po],[".",",",";","%","+","-","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 ys={};function pE(e,t,i){"string"!=typeof t&&(i=t,t=e[Cs.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ys[t]=e,i&&(ys[t][Cs.ExtraData]=i)}function vu(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 vu(e)[Cs.CurrencyCode]||null}function kg(e){return vu(e)[Cs.PluralCase]}function Ng(e){return e in ys||(ys[e]=ut.ng&&ut.ng.common&&ut.ng.common.locales&&ut.ng.common.locales[e]),ys[e]}function _E(){ys={}}var Cs=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}(Cs||{});const bE=["zero","one","two","few","many"],Ro="en-US",Ec={marker:"element"},Tc={marker:"ICU"};var ir=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(ir||{});let Lg=Ro;function bu(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):Xn(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++)xo(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=nd(e,i,64,null,null);return Vg(t,r),r}function Dc(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[an];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 le,Ae;if(null===h&&(h=N,C=Va(l,r)),N===h?(le=r,Ae=C):(le=null,Ae=Xn(i[N])),null!==Ae){const Vt=Hg(M);xo(l,Ae,i[Vt],le,!1);const rn=sa(e,Vt);if(null!==rn&&"object"==typeof rn){const Rt=Dc(rn,i);null!==Rt&&Wg(e,rn.create[Rt],i,i[rn.anchorIdx])}}break;case 1:const mt=t[++T],St=t[++T];ld(l,_a(M>>>1,i),null,null,mt,St,null)}else switch(M){case Tc:const N=t[++T],le=t[++T];null===i[le]&&$i(i[le]=pl(l,N),i);break;case Ec:const Ae=t[++T],it=t[++T];null===i[it]&&$i(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 le=i[N];if("string"==typeof le)M+=le;else if("number"==typeof le)if(le<0)M+=ie(t[r-le]);else{const Ae=le>>>2;switch(3&le){case 1:const it=i[++N],mt=i[++N],St=e.data[Ae];"string"==typeof St?ld(t[an],t[Ae],null,St,it,M,mt):mr(e,St,t,it,M,t[an],mt,!1);break;case 0:const Vt=t[Ae];null!==Vt&&Ah(t[an],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 le=sa(e,M>>>2);t[le.currentCaseLViewIndex]<0&&Kg(e,le,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(Dc(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=Dc(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[an],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=Dc(T,M);r=null!==N?T.remove[N]:at}function C(){if(t<r.length){const T=r[t++];return T>0?i[T]:(e.push(t,r),h(i[Wt].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 xc=/\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<<ir.SHIFT,N=Ss();t===N&&(N=null),null===N&&(M|=ir.APPEND_EAGERLY),C&&(M|=ir.COMMENT,function Hy(e){void 0===hl&&(hl=e())}(kE)),l.push(M,null===h?"":h);const le=nd(e,T,C?32:1,null===h?"":h,null);Vg(i,le);const Ae=le.index;return Ur(le,!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),le}function HE(e,t,i,r,l,h,C){const T=C.match(xc),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(xc);let le=0;for(let Ae=0;Ae<N.length;Ae++){const it=N[Ae];if(1&Ae){const mt=l+parseInt(it,10);e.push(-1-mt),le|=Jg(mt)}else""!==it&&e.push(it)}return e.push(i<<2|(r?1:0)),r&&e.push(r,h),e[C]=le,e[T]=e.length-M,le}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 le=M[N],Ae=[];for(let it=0;it<le.length;it++){const mt=le[it];if("string"!=typeof mt){const St=Ae.push(mt)-1;le[it]=`\x3c!--\ufffd${St}\ufffd--\x3e`}}C=ZE(e,T,t,i,r,l.cases[N],le.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=yu(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=yu(h[C++]);t.length>i.length&&i.push(M)}return{type:r,mainBinding:l,cases:t,values:i}}function yu(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=[],le=[];t.cases.push(h),t.create.push(M),t.remove.push(N),t.update.push(le);const it=Zh(Xo()).getInertBodyElement(C),mt=Ml(it)||it;return mt?t_(e,t,i,r,M,N,le,mt,l,T,0):0}function t_(e,t,i,r,l,h,C,T,M,N,le){let Ae=0,it=T.firstChild;for(;it;){const mt=qs(e,i,1,null);switch(it.nodeType){case Node.ELEMENT_NODE:const St=it,Vt=St.tagName.toLowerCase();if(Dl.hasOwnProperty(Vt)){Cu(l,Ec,Vt,M,mt),e.data[mt]=Vt;const vn=St.attributes;for(let On=0;On<vn.length;On++){const Yn=vn.item(On),rr=Yn.name.toLowerCase();Yn.value.match(xc)?qh.hasOwnProperty(rr)&&da(C,Yn.value,mt,Yn.name,0,xl[rr]?Wa:null):qE(l,mt,Yn)}Ae=t_(e,t,i,r,l,h,C,it,mt,N,le+1)|Ae,n_(h,mt,le)}break;case Node.TEXT_NODE:const Yt=it.textContent||"",rn=Yt.match(xc);Cu(l,null,rn?"":Yt,M,mt),n_(h,mt,le),rn&&(Ae=da(C,Yt,mt,null,0,null)|Ae);break;case Node.COMMENT_NODE:const Rt=LE.exec(it.textContent||"");if(Rt){const On=N[parseInt(Rt[1],10)];Cu(l,Tc,"",M,mt),e_(e,i,r,M,On,mt),QE(h,mt,le)}}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 Cu(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 wu(e,t,i=-1){const r=Ln(),l=Nt(),h=Mn+e,C=mo(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 le=function $E(e){return e.replace(VE," ")}(l).split(BE);for(let Ae=0;Ae<le.length;Ae++){let it=le[Ae];if(1&Ae){const mt=47===it.charCodeAt(0),Vt=(it.charCodeAt(mt?1:0),Mn+Number.parseInt(it.substring(mt?2:1)));if(mt)N.shift(),Ur(Ss(),!1);else{const Yt=SE(e,N[0],Vt);N.unshift([]),Ur(Yt,!0)}}else{const mt=yu(it);for(let St=0;St<mt.length;St++){let Vt=mt[St];if(1&St){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[Wn][ln]|=32:l[ln]|=32;const M=r.data[h],le=Ph(r,T===l[Jn]?null:T,l);(function PE(e,t,i,r){const l=e[an];for(let h=0;h<t.length;h++){const C=t[h++],T=t[h],N=(C&ir.APPEND_EAGERLY)===ir.APPEND_EAGERLY,le=C>>>ir.SHIFT;let Ae=e[le];null===Ae&&(Ae=e[le]=(C&ir.COMMENT)===ir.COMMENT?l.createComment(T):La(l,T)),N&&null!==i&&xo(l,i,Ae,r,!1)}})(l,M.create,le,T&&8&T.type?l[T.index]:null),Tf(!0)}function Eu(){Tf(!1)}function r_(e,t,i){wu(e,t,i),Eu()}function o_(e,t){const i=Ln(),r=mo(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+Mn,r)}function Tu(e){return function AE(e){e&&(aa|=1<<Math.min(ca,31)),ca++}(Ui(Nt(),Bo(),e)),Tu}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,eo()-ca-1,aa)}aa=0,ca=0}(Ln(),Nt(),e+Mn)}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),rn=Yt?parseInt(Yt[1],10):i_,Rt=oT.test(Vt);N.push([rn,Rt,Vt])}),r[M]=N),!N.length)throw new Error(`i18n postprocess: unmatched placeholder - ${M}`);const le=l[l.length-1];let Ae=0;for(let Vt=0;Vt<N.length;Vt++)if(N[Vt][0]===le){Ae=Vt;break}const[it,mt,St]=N[Ae];return mt?l.pop():le!==it&&l.push(it),N.splice(Ae,1),St})}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 Du(e,t,i,r,l){if(e=S(e),Array.isArray(e))for(let h=0;h<e.length;h++)Du(e[h],t,i,r,l);else{const h=Ln(),C=Nt(),T=ki();let M=Io(e)?e:S(e.provide);const N=mm(e),le=1048575&T.providerIndexes,Ae=T.directiveStart,it=T.providerIndexes>>20;if(Io(e)||!e.multi){const mt=new Is(N,l,ss),St=Mu(M,t,l?le:le+it,Ae);-1===St?(el(Ea(T,C),h,M),xu(h,e,t.length),t.push(M),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),i.push(mt),C.push(mt)):(i[St]=mt,C[St]=mt)}else{const mt=Mu(M,t,le+it,Ae),St=Mu(M,t,le,le+it),Yt=St>=0&&i[St];if(l&&!Yt||!l&&!(mt>=0&&i[mt])){el(Ea(T,C),h,M);const rn=function uT(e,t,i,r,l){const h=new Is(e,i,ss);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[St].providerFactory=rn),xu(h,e,t.length,0),t.push(M),T.directiveStart++,T.directiveEnd++,l&&(T.providerIndexes+=1048576),i.push(rn),C.push(rn)}else xu(h,e,mt>-1?mt:St,l_(i[l?St:mt],N,!l&&r));!l&&r&&Yt&&i[St].componentProviders++}}}function xu(e,t,i,r){const l=Io(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 le=N.indexOf(i);-1===le?N.push(i,[r,M]):N[le+1].push(r,M)}else N.push(i,M)}}}function l_(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Mu(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 Su(this.multi,[])}function dT(e,t,i,r){const l=this.multi;let h;if(this.providerFactory){const C=this.providerFactory.componentProviders,T=To(i,i[Wt],this.providerFactory.index,r);h=T.slice(0,C),Su(l,h);for(let M=C;M<T.length;M++)h.push(T[M])}else h=[],Su(l,h);return h}function Su(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=Ii(e);Du(i,r.data,r.blueprint,l,!0),Du(t,r.data,r.blueprint,l,!1)}}(r,l?l(e):e,t)}}class Fo{}class u_{}function f_(e,t){return new Mc(e,t??null,[])}const fT=f_;class Mc extends Fo{constructor(t,i,r){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Dp(this);const l=di(t);this._bootstrapComponents=ro(l.bootstrap),this._r3Injector=Om(t,i,[{provide:Fo,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 Sc extends u_{constructor(t){super(),this.moduleType=t}create(t){return new Mc(this.moduleType,t,[])}}class h_ extends Fo{constructor(t){super(),this.componentFactoryResolver=new Dp(this),this.instance=null;const i=new qo([...t.providers,{provide:Fo,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(Je(zr))})}return e})();function p_(e){e.getStandaloneInjector=t=>t.get(mT).getOrCreateStandaloneInjector(e)}function Iu(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[Wt].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[An]}function __(e){const t=Zi(e);let r,i=t?t.lView:null;if(null===i)return null;for(;2===i[Wt].type&&(r=Bs(i));)i=r;return 512&i[ln]?null:i[An]}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?kr.NULL:new Yi(i[Wt].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[Wt],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=xn(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Qe.OnPush:Qe.Default};const r=Zn(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Au(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[Li],h=i[Wt].cleanup,C=[];if(h&&l)for(let T=0;T<h.length;){const M=h[T++],N=h[T++];if("string"==typeof M){const le=M,Ae=Xn(i[N]),it=l[h[T++]],mt=h[T++];e==Ae&&C.push({element:e,name:le,callback:it,useCapture:"boolean"==typeof mt&&mt,type:"boolean"==typeof mt||mt>=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 un(()=>{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]===En?Kr(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(),le=Tr(N,M,i,r,l,h);return Ui(N,M+4,C)||le?Kr(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,le=Nt(),Ae=Tr(le,N,i,r,l,h);return Ao(le,N+4,C,T)||Ae?Kr(le,N+6,M?t.call(M,i,r,l,h,C,T):t(i,r,l,h,C,T)):ta(le,N+6)}function A_(e,t,i,r,l,h,C,T,M,N){const le=Gi()+e,Ae=Nt();let it=Tr(Ae,le,i,r,l,h);return uc(Ae,le+4,C,T,M)||it?Kr(Ae,le+7,N?t.call(N,i,r,l,h,C,T,M):t(i,r,l,h,C,T,M)):ta(Ae,le+7)}function O_(e,t,i,r,l,h,C,T,M,N,le){const Ae=Gi()+e,it=Nt(),mt=Tr(it,Ae,i,r,l,h);return Tr(it,Ae+4,C,T,M,N)||mt?Kr(it,Ae+8,le?t.call(le,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===En?void 0:i}function R_(e,t,i,r,l,h){const C=t+i;return Ui(e,C,l)?Kr(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 Ao(e,T,l,h)?Kr(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 uc(e,M,l,h,C)?Kr(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 Tr(e,N,l,h,C,T)?Kr(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++)Ui(e,C++,l[M])&&(T=!0);return T?Kr(e,C,r.apply(h,l)):ua(e,C)}function j_(e,t){const i=Ln();let r;const l=e+Mn;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=Ke(r.type)),T=Gt(ss);try{const M=wa(!1),N=h();return wa(M),Hp(i,Nt(),l,N),N}finally{Gt(T)}}function B_(e,t,i){const r=e+Mn,l=Nt(),h=Lo(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+Mn,h=Nt(),C=Lo(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+Mn,C=Nt(),T=Lo(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+Mn,T=Nt(),M=Lo(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+Mn,l=Nt(),h=Lo(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[Wt].data[t].pure}function wT(){return this._results[Symbol.iterator]()}class Ic{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Wr)}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=Ic.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=Er(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[Wt];if(function Qy(e,t,i,r){const l=pi+r,h=i.length;r>0&&(i[l-1][ri]=t),r<h-pi?(t[ri]=i[l],Jf(i,pi+r,t)):(i.push(t),t[ri]=null),t[Nn]=i;const C=t[yi];null!==C&&i!==C&&function Xy(e,t){const i=e[Or];t[Wn]!==t[Nn][Nn][Wn]&&(e[dr]=!0),null===i?e[Or]=[t]:i.push(t)}(C,t);const T=t[Qn];null!==T&&T.insertView(e),t[ln]|=128}(l,t,e,i),r){const h=yl(i,e),C=t[an],T=Va(C,e[mi]);null!==T&&function Ky(e,t,i,r,l,h){r[jn]=l,r[Jn]=t,$s(e,r,i,1,l,h)}(l,e[Jn],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=oc(e,l,i,4096&e[ln]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);T[yi]=e[t.index];const N=e[Qn];return null!==N&&(T[Qn]=N.createEmbeddedView(l)),fd(l,T,i),T}(this._declarationLView,this._declarationTContainer,t,{injector:i,hydrationInfo:r});return new cs(l)}};function MT(){return Ac(ki(),Nt())}function Ac(e,t){return 4&e.type?new xT(t,e,is(e,t)):null}function z_(e){const t=e[vr]??[],r=e[Nn][an];for(const l of t)ST(l,r);e[vr]=at}function ST(e,t){let i=0,r=e.firstChild;if(r){const l=e.data[ns];for(;i<l;){const h=r.nextSibling;Ua(t,r,!1),r=h,i++}}}function W_(e){z_(e);for(let t=pi;t<e.length;t++)Oc(e[t])}function Oc(e){const t=e[Wt];for(let i=Mn;i<t.bindingStartIndex;i++)gi(e[i])?W_(e[i]):Array.isArray(e[i])&&Oc(e[i])}let G_=(e,t)=>null;function OT(e,t){const i=e[vr];return t&&null!==i&&0!==i.length?i[0].data[zl]===t?i.shift():(z_(e),null):null}function K_(e,t){return G_(e,t)}let Pc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=RT}return e})();function RT(){return Q_(ki(),Nt())}const FT=Pc,Y_=class extends FT{constructor(t,i,r){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=r}get element(){return is(this._hostTNode,this._hostLView)}get injector(){return new Yi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ta(this._hostTNode,this._hostLView);if(Xc(t)){const i=Os(t,this._hostLView),r=As(t);return new Yi(i[Wt].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-pi}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 ls(xn(t)),N=r||this.parentInjector;if(!h&&null==M.ngModule){const Yt=(C?N:this.parentInjector).get(zr,null);Yt&&(h=Yt)}const le=xn(M.componentType??{}),Ae=K_(this._lContainer,le?.id??null),mt=M.create(N,l,Ae?.firstChild??null,h),St=!!Ae&&!Fa(this._hostTNode);return this.insertImpl(mt.hostView,T,St),mt}insert(t,i){return this.insertImpl(t,i,!1)}insertImpl(t,i,r){const l=t._lView;if(function Sb(e){return gi(e[Nn])}(l)){const M=this.indexOf(t);if(-1!==M)this.detach(M);else{const N=l[Nn],le=new Y_(N,N[Jn],N[Nn]);le.detach(le.indexOf(t))}}const C=this._adjustIndex(i),T=this._lContainer;return TT(T,l,C,!r),t.attachToViewContainerRef(),Jf(Ou(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(Ou(this._lContainer),i),gl(r[Wt],r))}detach(t){const i=this._adjustIndex(t,-1),r=Ba(this._lContainer,i);return r&&null!=xa(Ou(this._lContainer),i)?new cs(r):null}_adjustIndex(t,i=0){return t??this.length+i}};function Z_(e){return e[8]}function Ou(e){return e[8]||(e[8]=[])}function Q_(e,t){let i;const r=t[e.index];return gi(r)?i=r:(i=up(r,t,null,e),t[e.index]=i,sc(t,i)),X_(i,t,e,r),new Y_(i,e,t)}let X_=J_;function J_(e,t,i,r){if(e[mi])return;let l;l=8&i.type?Xn(r):function kT(e,t){const i=e[an],r=i.createComment(""),l=nr(t,e);return xo(i,Va(i,l),r,function t0(e,t){return e.nextSibling(t)}(i,l),!1),r}(t,i),e[mi]=l}function NT(e,t,i,r){if(e[mi]&&e[vr])return;const l=t[$n],h=i.index-Mn,C=ka(i)||Fa(i);if(!l||C||qa(l,h))return J_(e,t,i,r);const M=Yl(l,h),N=l.data[Gs]?.[h],[le,Ae]=function AT(e,t){const i=[];for(const r of t)for(let l=0;l<(r[Qa]??1);l++){const h={data:r,firstChild:null};r[ns]>0&&(h.firstChild=e,e=mc(r[ns],e)),i.push(h)}return[e,i]}(M,N);e[mi]=le,e[vr]=Ae}class Pu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Pu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ru{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 Ru(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 Fu{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 Fu(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 ku{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 ku(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===Pc||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?is(e,t):4&e.type?Ac(e,t):null}(t,e):-2===i?function $T(e,t,i){return i===Zs?is(t,e):i===ha?Ac(t,e):i===Pc?Q_(t,e):void 0}(e,t,r):To(e,e[Wt],i,t)}function ev(e,t,i,r){const l=t[Qn].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 Nu(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],le=t[-M];for(let Ae=pi;Ae<le.length;Ae++){const it=le[Ae];it[yi]===it[Nn]&&Nu(it[Wt],it,N,r)}if(null!==le[Or]){const Ae=le[Or];for(let it=0;it<Ae.length;it++){const mt=Ae[it];Nu(mt[Wt],mt,N,r)}}}}}return r}function tv(e){const t=Nt(),i=Ln(),r=Df();Gc(r+1);const l=av(i,r);if(e.dirty&&function xb(e){return 4==(4&e[ln])}(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const h=l.crossesNgTemplate?Nu(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[Qn].queries[t].queryList}(Nt(),Df())}function ov(e,t,i){const r=new Ic(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[Qn]&&(t[Qn]=new Ru),t[Qn].queries.push(new Pu(r))}function sv(e,t,i){null===e.queries&&(e.queries=new Fu),e.queries.track(new ku(t,i))}function av(e,t){return e.queries.getByIndex(t)}function cv(e,t){return Ac(e,t)}const Qi=(()=>({\u0275\u0275attribute:pd,\u0275\u0275attributeInterpolate1:gd,\u0275\u0275attributeInterpolate2:_d,\u0275\u0275attributeInterpolate3:vd,\u0275\u0275attributeInterpolate4:bd,\u0275\u0275attributeInterpolate5:yd,\u0275\u0275attributeInterpolate6:Cd,\u0275\u0275attributeInterpolate7:wd,\u0275\u0275attributeInterpolate8:Ed,\u0275\u0275attributeInterpolateV:Td,\u0275\u0275defineComponent:Ji,\u0275\u0275defineDirective:sr,\u0275\u0275defineInjectable:Te,\u0275\u0275defineInjector:ke,\u0275\u0275defineNgModule:xr,\u0275\u0275definePipe:gr,\u0275\u0275directiveInject:ss,\u0275\u0275getInheritedFactory:Kf,\u0275\u0275inject:Je,\u0275\u0275injectAttribute:nl,\u0275\u0275invalidFactory:np,\u0275\u0275invalidFactoryDep:Lt,\u0275\u0275templateRefExtractor:cv,\u0275\u0275resetView:yf,\u0275\u0275HostDirectivesFeature:Op,\u0275\u0275NgOnChangesFeature:ei,\u0275\u0275ProvidersFeature:d_,\u0275\u0275CopyDefinitionFeature:Ap,\u0275\u0275InheritDefinitionFeature:hd,\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:pc,\u0275\u0275elementEnd:gc,\u0275\u0275element:Pd,\u0275\u0275elementContainerStart:_c,\u0275\u0275elementContainerEnd:vc,\u0275\u0275elementContainer:Rd,\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:kd,\u0275\u0275projection:eg,\u0275\u0275syntheticHostProperty:_u,\u0275\u0275syntheticHostListener:Nd,\u0275\u0275pipeBind1:B_,\u0275\u0275pipeBind2:V_,\u0275\u0275pipeBind3:$_,\u0275\u0275pipeBind4:U_,\u0275\u0275pipeBindV:H_,\u0275\u0275projectionDef:qp,\u0275\u0275hostProperty:gu,\u0275\u0275property:Ad,\u0275\u0275propertyInterpolate:Ld,\u0275\u0275propertyInterpolate1:bc,\u0275\u0275propertyInterpolate2:jd,\u0275\u0275propertyInterpolate3:Bd,\u0275\u0275propertyInterpolate4:Vd,\u0275\u0275propertyInterpolate5:$d,\u0275\u0275propertyInterpolate6:Ud,\u0275\u0275propertyInterpolate7:Hd,\u0275\u0275propertyInterpolate8:zd,\u0275\u0275propertyInterpolateV:Wd,\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:Nr,\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:Zd,\u0275\u0275stylePropInterpolate1:au,\u0275\u0275stylePropInterpolate2:cu,\u0275\u0275stylePropInterpolate3:lu,\u0275\u0275stylePropInterpolate4:du,\u0275\u0275stylePropInterpolate5:uu,\u0275\u0275stylePropInterpolate6:fu,\u0275\u0275stylePropInterpolate7:hu,\u0275\u0275stylePropInterpolate8:mu,\u0275\u0275stylePropInterpolateV:pu,\u0275\u0275classProp:Qd,\u0275\u0275advance:ep,\u0275\u0275template:Vp,\u0275\u0275defer:c_,\u0275\u0275text:pg,\u0275\u0275textInterpolate:Jd,\u0275\u0275textInterpolate1:wc,\u0275\u0275textInterpolate2:qd,\u0275\u0275textInterpolate3:eu,\u0275\u0275textInterpolate4:tu,\u0275\u0275textInterpolate5:nu,\u0275\u0275textInterpolate6:iu,\u0275\u0275textInterpolate7:ru,\u0275\u0275textInterpolate8:ou,\u0275\u0275textInterpolateV:su,\u0275\u0275i18n:r_,\u0275\u0275i18nAttributes:o_,\u0275\u0275i18nExp:Tu,\u0275\u0275i18nStart:wu,\u0275\u0275i18nEnd:Eu,\u0275\u0275i18nApply:s_,\u0275\u0275i18nPostprocess:a_,\u0275\u0275resolveWindow:Bm,\u0275\u0275resolveDocument:Vm,\u0275\u0275resolveBody:td,\u0275\u0275setComponentScope:pr,\u0275\u0275setNgModuleScope:qi,\u0275\u0275registerNgModuleType:al,\u0275\u0275sanitizeHtml:nm,\u0275\u0275sanitizeStyle:im,\u0275\u0275sanitizeResourceUrl:Il,\u0275\u0275sanitizeScript:rm,\u0275\u0275sanitizeUrl:Sl,\u0275\u0275sanitizeUrlOrResourceUrl:am,\u0275\u0275trustConstantHtml:om,\u0275\u0275trustConstantResourceUrl:sm,\u0275\u0275validateIframeAttribute:zh,forwardRef:k,resolveForwardRef:S}))();let ws=null;function GT(){ws=null}function Lu(e){return!!di(e)}const ma=[];let ju=!1;function dv(){if(!ju){ju=!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{ju=!1}}}function uv(e){return Array.isArray(e)?e.every(uv):!!S(e)}function fv(e,t={}){hv(e,t),void 0!==t.id&&al(e,t.id),function KT(e,t){ma.push({moduleType:e,ngModule:t})}(e,t)}function hv(e,t,i=!1){const r=Er(t.declarations||at);let l=null;Object.defineProperty(e,nn,{configurable:!0,get:()=>(null===l&&(l=Di().compileNgModule(Qi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Er(t.bootstrap||at).map(S),declarations:r.map(S),imports:Er(t.imports||at).map(S).map(gv),exports:Er(t.exports||at).map(S).map(gv),schemas:t.schemas?Er(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let h=null;Object.defineProperty(e,zt,{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||at,imports:[(t.imports||at).map(S),(t.exports||at).map(S)]};C=Di().compileInjector(Qi,`ng:///${e.name}/\u0275inj.js`,T)}return C},configurable:!1})}let Rc=new WeakMap,Vu=new WeakMap;function QT(){Rc=new WeakMap,Vu=new WeakMap,ma.length=0,Sr.clear()}function XT(e,t){const i=Er(t.declarations||at),r=ko(e);i.forEach(l=>{(l=S(l)).hasOwnProperty(xt)?$u(xn(l),r):!l.hasOwnProperty(Ft)&&!l.hasOwnProperty(Pt)&&(l.ngSelectorScope=e)})}function $u(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(xt)?xn(i):Zn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>ii(i)),e.schemas=t.schemas,e.tView=null}function ko(e){if(Lu(e))return function JT(e){const t=di(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 ro(t.imports).forEach(r=>{const l=ko(r);l.exported.directives.forEach(h=>i.compilation.directives.add(h)),l.exported.pipes.forEach(h=>i.compilation.pipes.add(h))}),ro(t.declarations).forEach(r=>{ii(r)?i.compilation.pipes.add(r):i.compilation.directives.add(r)}),ro(t.exports).forEach(r=>{const l=r;if(Lu(l)){const h=ko(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 ii(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}(e);if(Mi(e)){if(null!==(xn(e)||Zn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==ii(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 Uu=0;function _v(e,t){let i=null;(function yy(e,t){ah(t)&&(Ko.set(e,t),Ls.add(e))})(e,t),bv(e,t),Object.defineProperty(e,xt,{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 ws}();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:$e.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||at,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:C,interpolation:t.interpolation,viewProviders:t.viewProviders||null};Uu++;try{if(M.usesInheritance&&Cv(e),i=r.compileComponent(Qi,T,M),t.standalone){const N=Er(t.imports||at),{directiveDefs:le,pipeDefs:Ae}=function eD(e,t){let i=null,r=null;return{directiveDefs:()=>{if(null===i){i=[xn(e)];const C=new Set([e]);for(const T of t){const M=S(T);if(!C.has(M))if(C.add(M),di(M)){const N=ko(M);for(const le of N.exported.directives){const Ae=xn(le)||Zn(le);Ae&&!C.has(le)&&(C.add(le),i.push(Ae))}}else{const N=xn(M)||Zn(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),di(M)){const N=ko(M);for(const le of N.exported.pipes){const Ae=ii(le);Ae&&!C.has(le)&&(C.add(le),r.push(Ae))}}else{const N=ii(M);N&&r.push(N)}}}return r}}}(e,N);i.directiveDefs=le,i.pipeDefs=Ae,i.dependencies=()=>N.map(S)}}finally{Uu--}if(0===Uu&&dv(),function tD(e){return void 0!==e.ngSelectorScope}(e)){const N=ko(e.ngSelectorScope);$u(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 Hu(e,t){let i=null;bv(e,t||{}),Object.defineProperty(e,Ft,{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,zt,{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=sl(),r=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Be,propMetadata:r,inputs:t.inputs||at,outputs:t.outputs||at,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;)!Zn(i)&&!xn(i)&&aD(i)&&Hu(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=sl();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,zt,{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,Pt,{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)=>Hu(e,t)),cD=Rs("Component",(e={})=>({changeDetection:Qe.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=go("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),uD=go("Output",e=>({alias:e})),fD=go("HostBinding",e=>({hostPropertyName:e})),hD=go("HostListener",(e,t)=>({eventName:e,args:t})),mD=Rs("NgModule",e=>e,void 0,void 0,(e,t)=>fv(e,t)),Av=new oe("Application Initializer");let Fc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r}),this.appInits=me(Av,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const l of this.appInits){const h=l();if(Fd(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 kc=new oe("LocaleId",{providedIn:"root",factory:()=>me(kc,ot.Optional|ot.SkipSelf)||function pD(){return typeof $localize<"u"&&$localize.locale||Ro}()}),gD=new oe("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),_D=new oe("Translations"),vD=new oe("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 Sc(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const r=this.compileModuleSync(i),h=ro(di(i).declarations).reduce((C,T)=>{const M=xn(T);return M&&C.push(new ls(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 oe("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 Nc(){return pa}function zu(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}=Nc();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 le=C[N];if(0!==N||!T.flags.skipSelf){if(T.flags.host&&le instanceof zr)break;if(null!==le.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=le);break}T.providedIn=le;break}if(0===N&&T.flags.self)break}}return T}),{instance:i,dependencies:h}}function kD(e){const t=Nc().resolverToProviders.get(e)??[];if(function ND(e){return e instanceof qo&&e.scopes.has("platform")}(e))return t;const i=function OD(e){const{standaloneInjectorToComponent:t}=Nc();if(t.has(e))return t.get(e);const i=e.get(Fo,null,{self:!0,optional:!0});return null===i||null===i.instance?null:i.instance.constructor}(e);if(null===i){if(function LD(e){return e instanceof qo&&e.scopes.has("root")}(e))return t;He("Could not determine where injector providers were configured.")}const r=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=tt(r);if(C||(C=tt(r.ngModule)),!C)return;const T=h[0];let M=!1;Wo(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}(i);return t.map(l=>{let h=r.get(l.provider)??[i];return!!xn(i)?.standalone&&(h=[i,...r.get(l.provider)??[]]),{...l,importPath:h}})}function jD(e){return e instanceof Yi?function PD(e){const t=Ps(e),{resolverToProviders:i}=Nc();return i.get(t)??[]}(e):e instanceof zr?kD(e):void He("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function Nv(e){const t=[e];return Wu(e,t),t}function Wu(e,t){const i=function BD(e){if(e instanceof qo)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 Ol)return null;He("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const r=Ta(t,i);if(Xc(r)){const l=As(r),h=Os(r,i);return new Yi(h[Wt].data[l+8],h)}{const h=i[Si].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 VD(e){let t;e instanceof Yi?t=Ps(e):He("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const r=t[Si].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),Wu(l,t)}return t}}else t.push(i),Wu(i,t);return t}const Lv="ng";let jv=!1;function $D(){jv||(jv=!0,function wD(){pa.reset(),en(e=>function ED(e){const{context:t,type:i}=e;0===i?function TD(e,t){const i=zu(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===zu(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!!xn(e)?.standalone}(r))return;const l=e.injector.get(zr,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=zu(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",jD),Xi("\u0275getInjectorResolutionPath",Nv),Xi("\u0275setProfiler",qr),Xi("getDirectiveMetadata",gT),Xi("getComponent",Iu),Xi("getContext",g_),Xi("getListeners",C_),Xi("getOwningComponent",__),Xi("getHostElement",Au),Xi("getInjector",b_),Xi("getRootComponents",v_),Xi("getDirectives",y_),Xi("applyChanges",ID))}function Xi(e,t){if((typeof COMPILED>"u"||!COMPILED)&&ut){let r=ut[Lv];r||(r=ut[Lv]={}),r[e]=t}}const Bv=new oe(""),Vv=new oe("");let UD=(()=>{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,Gu||(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:()=>{Oi.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)(Je(Oi),Je($v),Je(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 Gu?.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){Gu=e}let Gu,bo=null;const Ku=new oe("AllowMultipleToken"),Yu=new oe("PlatformDestroyListeners"),Zu=new oe("appBootstrapListener");function Hv(e,t,i){const r=new Sc(i);return Promise.resolve(r)}function zv(){!function vi(e){dn=e}(()=>{throw new Y(600,!1)})}function Wv(e){return e.isBoundToModule}class HD{constructor(t,i){this.name=t,this.token=i}}function Gv(e){if(bo&&!bo.get(Ku,!1))throw new Y(400,!1);zv(),bo=e;const t=e.get(Qu);return Kv(e),t}function Kv(e){e.get(gm,null)?.forEach(i=>i())}function WD(e){try{const{rootComponent:t,appProviders:i,platformProviders:r}=e,l=function zD(e=[]){if(bo)return bo;const t=Qv(e);return bo=t,zv(),Kv(t),t}(r),h=[ib(),...i||[]],T=new h_({providers:h,parent:l,debugName:"",runEnvironmentInitializers:!1}).injector,M=T.get(Oi);return M.run(()=>{T.resolveInjectorInitializers();const N=T.get(_o,null);let le;M.runOutsideAngular(()=>{le=M.onError.subscribe({next:mt=>{N.handleError(mt)}})});const Ae=()=>T.destroy(),it=l.get(Yu);return it.add(Ae),T.onDestroy(()=>{le.unsubscribe(),it.delete(Ae)}),Jv(N,M,()=>{const mt=T.get(Fc);return mt.runInitializers(),mt.donePromise.then(()=>{bu(T.get(kc,Ro)||Ro);const Vt=T.get(Es);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 oe(r);return(h=[])=>{let C=Lc();if(!C||C.injector.get(Ku,!1)){const T=[...i,...h,{provide:l,useValue:!0}];e?e(T):Gv(Qv(T,r))}return Zv()}}function Zv(e){const t=Lc();if(!t)throw new Y(401,!1);return t}function Qv(e=[],t){return kr.create({name:t,providers:[{provide:kl,useValue:"platform"},{provide:Yu,useValue:new Set([()=>bo=null])},...e]})}function GD(){Lc()?.destroy()}function Lc(){return bo?.get(Qu)??null}let Qu=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){const l=function KD(e="zone.js",t){return"noop"===e?new Nm:"zone.js"===e?new Oi(t):e}(r?.ngZone,Xv({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return l.run(()=>{const h=function hT(e,t,i){return new Mc(e,t,i)}(i.moduleType,this.injector,nb(()=>l)),C=h.injector.get(_o,null);return l.runOutsideAngular(()=>{const T=l.onError.subscribe({next:M=>{C.handleError(M)}});h.onDestroy(()=>{jc(this._modules,h),T.unsubscribe()})}),Jv(C,l,()=>{const T=h.injector.get(Fc);return T.runInitializers(),T.donePromise.then(()=>(bu(h.injector.get(kc,Ro)||Ro),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(Es);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(Yu,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)(Je(kr))};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 Fd(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 Es=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(tb),this.zoneIsStable=me(Lm),this.componentTypes=[],this.components=[],this.isStable=me(Rv).hasPendingTasks.pipe((0,m.w)(i=>i?(0,d.of)(!1):this.zoneIsStable),(0,_.x)(),(0,u.B)()),this._injector=me(zr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,r){const l=i instanceof ec;if(!this._injector.get(Fc).done)throw!l&&Mi(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(Fo),N=C.create(kr.NULL,[],r||C.selector,T),le=N.location.nativeElement,Ae=N.injector.get(Bv,null);return Ae?.registerApplication(le),N.onDestroy(()=>{this.detachView(N.hostView),jc(this.components,N),Ae?.unregisterApplication(le)}),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;jc(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const r=this._injector.get(Zu,[]);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),()=>jc(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 jc(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const tb=new oe("",{providedIn:"root",factory:()=>me(_o).handleError.bind(void 0)});function YD(){const e=me(Oi),t=me(_o);return i=>e.runOutsideAngular(()=>t.handleError(i))}let ZD=(()=>{class e{constructor(){this.zone=me(Oi),this.applicationRef=me(Es)}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:Oi,useFactory:e},{provide:zs,multi:!0,useFactory:()=>{const t=me(ZD,{optional:!0});return()=>t.initialize()}},{provide:tb,useFactory:YD},{provide:Lm,useFactory:jm}]}function ib(e){return Pl([[],nb(()=>new Oi(Xv(e)))])}function QD(){return!1}function XD(){}function JD(e){const t=dh(e);if(!t)throw rb(e);return new Sc(t)}function qD(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 ex(e,t,i){if(zi(e)&&!i){const r=fr(e.index,t);return new cs(r,r)}return 47&e.type?new cs(t[Wn],t):null}(ki(),Nt(),16==(16&e))}class ab extends ob{}class tx extends ab{}class nx{constructor(t,i){this.name=t,this.callback=i}}function ix(e){return e.map(t=>t.nativeElement)}class Xu{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&&(Iu(t)||__(t))}get context(){return Iu(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[Wt].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[Wt],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 Xu{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[Wt].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[Wt].data,l=r[t.nodeIndex],h={};return function rx(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];ox(C)&&(t[h]=C)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,h),function sx(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 le=M[1];for(let Ae=1;Ae<M.length-1;Ae++)le+=ie(i[C+Ae-1])+M[Ae+1];e[N]=le}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[Wt].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(Ts(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(Ts(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 ox(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?No(h[Wt].data[l.nodeIndex],h,t,i,r,e.nativeNode):qu(e.nativeNode,t,i,r)}function No(e,t,i,r,l,h){const C=function Db(e,t){const i=null===e?-1:e.index;return-1!==i?Xn(t[i]):null}(e,t);if(11&e.type){if(Ju(C,i,r,l,h),zi(e)){const M=fr(e.index,t);M&&M[Wt].firstChild&&No(M[Wt].firstChild,M,i,r,l,h)}else e.child&&No(e.child,t,i,r,l,h),C&&qu(C,i,r,l);const T=t[e.index];gi(T)&&lb(T,i,r,l,h)}else if(4&e.type){const T=t[e.index];Ju(T[mi],i,r,l,h),lb(T,i,r,l,h)}else if(16&e.type){const T=t[Wn],N=T[Jn].projection[e.projection];if(Array.isArray(N))for(let le of N)Ju(le,i,r,l,h);else if(N){const le=T[Nn];No(le[Wt].data[N.index],le,i,r,l,h)}}else e.child&&No(e.child,t,i,r,l,h);if(h!==C){const T=2&e.flags?e.projectionNext:e.next;T&&No(T,t,i,r,l,h)}}function lb(e,t,i,r,l){for(let h=pi;h<e.length;h++){const C=e[h],T=C[Wt].firstChild;T&&No(T,C,t,i,r,l)}}function Ju(e,t,i,r,l){if(l!==e){const h=Ts(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 qu(e,t,i,r){const l=e.childNodes,h=l.length;for(let C=0;C<h;C++){const T=l[C],M=Ts(T);M&&((r&&M instanceof ga&&t(M)&&-1===i.indexOf(M)||!r&&t(M)&&-1===i.indexOf(M))&&i.push(M),qu(T,t,i,r))}}const tf="__ng_debug__";function Ts(e){return e instanceof Node?(e.hasOwnProperty(tf)||(e[tf]=e.nodeType==Node.ELEMENT_NODE?new ga(e):new Xu(e)),e[tf]):null}class db{constructor(){}supports(t){return dc(t)}create(t){return new ub(t)}}const ax=(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||ax}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,le=M-l;if(N!=le){for(let it=0;it<N;it++){const mt=it<h.length?h[it]:h[it]=0,St=mt+it;le<=St&&St<N&&(h[it]=mt+1)}h[C.previousIndex]=le-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=[]),!dc(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 cx(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 cx{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 lx{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 lx,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||md(t)}create(){return new dx}}class dx{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||md(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 ux(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 ux{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 nf([new db])}let nf=(()=>{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 rf([new mb])}let rf=(()=>{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 fx=[new mb],mx=new nf([new db]),px=new rf(fx),gx=Yv(null,"core",[]);let _x=(()=>{class e{constructor(i){}static#e=this.\u0275fac=function(r){return new(r||e)(Je(Es))};static#t=this.\u0275mod=xr({type:e});static#n=this.\u0275inj=ke({})}return e})();class vx{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 bx=0;function _b(e){return e.ssrId||(e.ssrId="t"+bx++),e.ssrId}function vb(e,t,i){const r=[];return ea(e,t,i,r),r.length}function yx(e){const t=[];return bp(e,t),t.length}function bb(e,t){const i=e[jn];return i&&!i.hasAttribute(Yo)?Bc(i,e,t):null}function yb(e,t){const i=$c(e[jn]),r=bb(i,t),l=Xn(i[jn]),C=Bc(l,e[Nn],t);i[an].setAttribute(l,Ks,`${r}|${C}`)}function Cx(e,t){const i=new vx,r=new Map,l=e._views;for(const T of l){const M=ym(T);if(null!==M){const N={serializedViewCollection:i,corruptedTextNodes:r};gi(M)?yb(M,N):bb(M,N),Tx(r,t)}}const h=i.getAll();e.injector.get(Ws).set(Gl,h)}function wx(e,t){const i=[];let r="";for(let l=pi;l<e.length;l++){let C,T,M,h=e[l];if(yr(h)&&(h=h[Mn],gi(h))){T=yx(h)+1,yb(h,t);const le=$c(h[jn]);M={[zl]:le[Wt].ssrId,[ns]:T}}if(!M){const le=h[Wt];1===le.type?(C=le.ssrId,T=1):(C=_b(le),T=vb(le,h,le.firstChild)),M={[zl]:C,[ns]:T,...wb(e[l],t)}}const N=JSON.stringify(M);if(i.length>0&&N===r){const le=i[i.length-1];le[Qa]??=1,le[Qa]++}else r=N,i.push(M)}return i}function sf(e,t,i){const r=t.index-Mn;e[Wl]??={},e[Wl][r]=Pw(t,i)}function Cb(e,t){const i=t.index-Mn;e[Xa]??=[],e[Xa].includes(i)||e[Xa].push(i)}function wb(e,t){const i={},r=e[Wt];for(let l=Mn;l<r.bindingStartIndex;l++){const h=r.data[l],C=l-Mn;if(h){if(Eb(h,e)&&Dx(h)){Cb(i,h);continue}if(Array.isArray(h.projection))for(const T of h.projection)if(T){if(Array.isArray(T))throw yw(Xn(e[l]));!co(T)&&!ka(T)&&(Eb(T,e)?Cb(i,T):sf(i,T,e))}if(gi(e[l])){const T=h.tView;null!==T&&(i[Hl]??={},i[Hl][C]=_b(T));const M=e[l][jn];if(Array.isArray(M)){const N=Xn(M);N.hasAttribute(Yo)||Bc(N,M,t)}i[Gs]??={},i[Gs][C]=wx(e[l],t)}else if(Array.isArray(e[l])){const T=Xn(e[l][jn]);T.hasAttribute(Yo)||Bc(T,e[l],t)}else if(8&h.type)i[Ul]??={},i[Ul][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)&&sf(i,T,e)}else{if(1&h.type){const T=Xn(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)&&sf(i,h.projectionNext,e)}}}return i}function Bc(e,t,i){const r=t[an];if(function lo(e){return 32==(32&e[ln])}(t)||function Ex(e){const t=e[An];return!!t?.constructor&&xn(t.constructor)?.encapsulation===$e.ShadowDom}(t))return r.setAttribute(e,Yo,""),null;{const l=wb(t,i),h=i.serializedViewCollection.add(l);return r.setAttribute(e,Ks,h.toString()),h}}function Tx(e,t){for(const[i,r]of e)i.after(t.createComment(r))}function Dx(e){let t=e;for(;null!=t;){if(zi(t))return!0;t=t.parent}return!1}function Eb(e,t){return!(16&e.type||!t[e.index]||Xn(t[e.index]).isConnected)}let Tb=!1;function Sx(){return Pl([{provide:Js,useFactory:()=>{let e=!0;return os()&&(e=!!me(Ws,{optional:!0})?.get(Gl,null)),e&&me(_m).add("hydration"),e}},{provide:zs,useValue:()=>{os()&&me(Js)&&(function Ix(){const e=Xo();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 xx(){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:()=>os()&&me(Js)},{provide:Zu,useFactory:()=>{if(os()&&me(Js)){const e=me(Es);return me(kr),()=>{(function Mx(e,t){return e.isStable.pipe((0,f.P)(r=>r)).toPromise().then(()=>{})})(e).then(()=>{Oi.assertInAngularZone(),function IT(e){const t=e._views;for(const i of t){const r=ym(i);null!==r&&null!==r[jn]&&(si(r)?Oc(r):(Oc(r[jn]),W_(r)))}}(e)})}}return()=>{}},multi:!0}])}function Ax(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Ox(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function Px(e){return Di().compileDirectiveDeclaration(Qi,`ng:///${e.type.name}/\u0275fac.js`,e)}function Rx(e){w_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function Fx(e){return Di().compileComponentDeclaration(Qi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function kx(e){return Di(function Nx(e){switch(e){case Do.Directive:return"directive";case Do.Component:return"component";case Do.Injectable:return"injectable";case Do.Pipe:return"pipe";case Do.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Qi,`ng:///${e.type.name}/\u0275fac.js`,e)}function Lx(e){return Di().compileInjectableDeclaration(Qi,`ng:///${e.type.name}/\u0275prov.js`,e)}function jx(e){return Di().compileInjectorDeclaration(Qi,`ng:///${e.type.name}/\u0275inj.js`,e)}function Bx(e){return Di().compileNgModuleDeclaration(Qi,`ng:///${e.type.name}/\u0275mod.js`,e)}function Vx(e){return Di().compilePipeDeclaration(Qi,`ng:///${e.type.name}/\u0275pipe.js`,e)}function $x(e,t){const i=xn(e),r=t.elementInjector||Za();return new ls(i).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Ux(e){const t=xn(e);if(!t)return null;const i=new ls(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 Hx(...e){return e.reduce((t,i)=>Object.assign(t,i,{providers:[...t.providers,...i.providers]}),{providers:[]})}},6223:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>Ot,AbstractControlDirective:()=>dt,AbstractFormGroupDirective:()=>et,COMPOSITION_BUFFER_MODE:()=>v,CheckboxControlValueAccessor:()=>f,CheckboxRequiredValidator:()=>$n,ControlContainer:()=>Te,DefaultValueAccessor:()=>w,EmailValidator:()=>cr,FormArray:()=>si,FormArrayName:()=>Ni,FormBuilder:()=>br,FormControl:()=>X,FormControlDirective:()=>Zn,FormControlName:()=>jn,FormGroup:()=>Xt,FormGroupDirective:()=>Mi,FormGroupName:()=>er,FormRecord:()=>G,FormsModule:()=>lo,MaxLengthValidator:()=>dr,MaxValidator:()=>yi,MinLengthValidator:()=>Qr,MinValidator:()=>Qn,NG_ASYNC_VALIDATORS:()=>K,NG_VALIDATORS:()=>S,NG_VALUE_ACCESSOR:()=>m,NgControl:()=>xe,NgControlStatus:()=>_t,NgControlStatusGroup:()=>ft,NgForm:()=>mn,NgModel:()=>ti,NgModelGroup:()=>Cn,NgSelectOption:()=>ar,NonNullableFormBuilder:()=>Ii,NumberValueAccessor:()=>Ji,PatternValidator:()=>_r,RadioControlValueAccessor:()=>qi,RangeValueAccessor:()=>sr,ReactiveFormsModule:()=>yo,RequiredValidator:()=>oi,SelectControlValueAccessor:()=>ri,SelectMultipleControlValueAccessor:()=>ui,UntypedFormArray:()=>gi,UntypedFormBuilder:()=>yr,UntypedFormControl:()=>pe,UntypedFormGroup:()=>ht,VERSION:()=>co,Validators:()=>ee,isFormArray:()=>Br,isFormControl:()=>ne,isFormGroup:()=>ye,isFormRecord:()=>F,\u0275InternalFormsSharedModule:()=>Xr,\u0275NgNoValidate:()=>Pi,\u0275NgSelectMultipleOption:()=>an});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 k(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(Z){return W(Z)}static max(Z){return Y(Z)}static required(Z){return ue(Z)}static requiredTrue(Z){return ie(Z)}static email(Z){return te(Z)}static minLength(Z){return ve(Z)}static maxLength(Z){return nt(Z)}static pattern(Z){return be(Z)}static nullValidator(Z){return null}static compose(Z){return re(Z)}static composeAsync(Z){return z(Z)}}function W(j){return Z=>{if(O(Z.value)||O(j))return null;const I=parseFloat(Z.value);return!isNaN(I)&&I<j?{min:{min:j,actual:Z.value}}:null}}function Y(j){return Z=>{if(O(Z.value)||O(j))return null;const I=parseFloat(Z.value);return!isNaN(I)&&I>j?{max:{max:j,actual:Z.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 Z=>O(Z.value)||!k(Z.value)?null:Z.value.length<j?{minlength:{requiredLength:j,actualLength:Z.value.length}}:null}function nt(j){return Z=>k(Z.value)&&Z.value.length>j?{maxlength:{requiredLength:j,actualLength:Z.value.length}}:null}function be(j){if(!j)return Ye;let Z,I;return"string"==typeof j?(I="","^"!==j.charAt(0)&&(I+="^"),I+=j,"$"!==j.charAt(j.length-1)&&(I+="$"),Z=new RegExp(I)):(I=j.toString(),Z=j),he=>{if(O(he.value))return null;const ze=he.value;return Z.test(ze)?null:{pattern:{requiredPattern:I,actualValue:ze}}}}function Ye(j){return null}function ge(j){return null!=j}function Ne(j){return(0,n.\u0275isPromise)(j)?(0,p.D)(j):j}function Xe(j){let Z={};return j.forEach(I=>{Z=null!=I?{...Z,...I}:Z}),0===Object.keys(Z).length?null:Z}function qe(j,Z){return Z.map(I=>I(j))}function we(j){return j.map(Z=>function q(j){return!j.validate}(Z)?Z:I=>Z.validate(I))}function re(j){if(!j)return null;const Z=j.filter(ge);return 0==Z.length?null:function(I){return Xe(qe(I,Z))}}function J(j){return null!=j?re(we(j)):null}function z(j){if(!j)return null;const Z=j.filter(ge);return 0==Z.length?null:function(I){const he=qe(I,Z).map(Ne);return(0,g.D)(he).pipe((0,c.U)(Xe))}}function $(j){return null!=j?z(we(j)):null}function U(j,Z){return null===j?[Z]:Array.isArray(j)?[...j,Z]:[j,Z]}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,Z){return Array.isArray(j)?j.includes(Z):j===Z}function vt(j,Z){const I=Oe(Z);return Oe(j).forEach(ze=>{He(I,ze)||I.push(ze)}),I}function Ct(j,Z){return Oe(Z).filter(I=>!He(j,I))}class dt{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(Z){this._rawValidators=Z||[],this._composedValidatorFn=J(this._rawValidators)}_setAsyncValidators(Z){this._rawAsyncValidators=Z||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Z){this._onDestroyCallbacks.push(Z)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Z=>Z()),this._onDestroyCallbacks=[]}reset(Z=void 0){this.control&&this.control.reset(Z)}hasError(Z,I){return!!this.control&&this.control.hasError(Z,I)}getError(Z,I){return this.control?this.control.getError(Z,I):null}}class Te extends dt{get formDirective(){return null}get path(){return null}}class xe extends dt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ke{constructor(Z){this._cd=Z}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 _t=(()=>{class j extends ke{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})(),ft=(()=>{class j extends ke{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 It="VALID",kt="INVALID",en="PENDING",on="DISABLED";function _n(j){return(Ie(j)?j.validators:j)||null}function yt(j,Z){return(Ie(Z)?Z.asyncValidators:j)||null}function Ie(j){return null!=j&&!Array.isArray(j)&&"object"==typeof j}function We(j,Z,I){const he=j.controls;if(!(Z?Object.keys(he):he).length)throw new n.\u0275RuntimeError(1e3,"");if(!he[I])throw new n.\u0275RuntimeError(1001,"")}function pt(j,Z,I){j._forEachChild((he,ze)=>{if(void 0===I[ze])throw new n.\u0275RuntimeError(1002,"")})}class Ot{constructor(Z,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(Z),this._assignAsyncValidators(I)}get validator(){return this._composedValidatorFn}set validator(Z){this._rawValidators=this._composedValidatorFn=Z}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Z){this._rawAsyncValidators=this._composedAsyncValidatorFn=Z}get parent(){return this._parent}get valid(){return this.status===It}get invalid(){return this.status===kt}get pending(){return this.status==en}get disabled(){return this.status===on}get enabled(){return this.status!==on}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Z){this._assignValidators(Z)}setAsyncValidators(Z){this._assignAsyncValidators(Z)}addValidators(Z){this.setValidators(vt(Z,this._rawValidators))}addAsyncValidators(Z){this.setAsyncValidators(vt(Z,this._rawAsyncValidators))}removeValidators(Z){this.setValidators(Ct(Z,this._rawValidators))}removeAsyncValidators(Z){this.setAsyncValidators(Ct(Z,this._rawAsyncValidators))}hasValidator(Z){return He(this._rawValidators,Z)}hasAsyncValidator(Z){return He(this._rawAsyncValidators,Z)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Z={}){this.touched=!0,this._parent&&!Z.onlySelf&&this._parent.markAsTouched(Z)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Z=>Z.markAllAsTouched())}markAsUntouched(Z={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!Z.onlySelf&&this._parent._updateTouched(Z)}markAsDirty(Z={}){this.pristine=!1,this._parent&&!Z.onlySelf&&this._parent.markAsDirty(Z)}markAsPristine(Z={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!Z.onlySelf&&this._parent._updatePristine(Z)}markAsPending(Z={}){this.status=en,!1!==Z.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Z.onlySelf&&this._parent.markAsPending(Z)}disable(Z={}){const I=this._parentMarkedDirty(Z.onlySelf);this.status=on,this.errors=null,this._forEachChild(he=>{he.disable({...Z,onlySelf:!0})}),this._updateValue(),!1!==Z.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Z,skipPristineCheck:I}),this._onDisabledChange.forEach(he=>he(!0))}enable(Z={}){const I=this._parentMarkedDirty(Z.onlySelf);this.status=It,this._forEachChild(he=>{he.enable({...Z,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Z.emitEvent}),this._updateAncestors({...Z,skipPristineCheck:I}),this._onDisabledChange.forEach(he=>he(!1))}_updateAncestors(Z){this._parent&&!Z.onlySelf&&(this._parent.updateValueAndValidity(Z),Z.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Z){this._parent=Z}getRawValue(){return this.value}updateValueAndValidity(Z={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===It||this.status===en)&&this._runAsyncValidator(Z.emitEvent)),!1!==Z.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Z.onlySelf&&this._parent.updateValueAndValidity(Z)}_updateTreeValidity(Z={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(Z)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Z.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?on:It}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Z){if(this.asyncValidator){this.status=en,this._hasOwnPendingAsyncValidator=!0;const I=Ne(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(he=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(he,{emitEvent:Z})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Z,I={}){this.errors=Z,this._updateControlsErrors(!1!==I.emitEvent)}get(Z){let I=Z;return null==I||(Array.isArray(I)||(I=I.split(".")),0===I.length)?null:I.reduce((he,ze)=>he&&he._find(ze),this)}getError(Z,I){const he=I?this.get(I):this;return he&&he.errors?he.errors[Z]:null}hasError(Z,I){return!!this.getError(Z,I)}get root(){let Z=this;for(;Z._parent;)Z=Z._parent;return Z}_updateControlsErrors(Z){this.status=this._calculateStatus(),Z&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Z)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?on:this.errors?kt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(en)?en:this._anyControlsHaveStatus(kt)?kt:It}_anyControlsHaveStatus(Z){return this._anyControls(I=>I.status===Z)}_anyControlsDirty(){return this._anyControls(Z=>Z.dirty)}_anyControlsTouched(){return this._anyControls(Z=>Z.touched)}_updatePristine(Z={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Z.onlySelf&&this._parent._updatePristine(Z)}_updateTouched(Z={}){this.touched=this._anyControlsTouched(),this._parent&&!Z.onlySelf&&this._parent._updateTouched(Z)}_registerOnCollectionChange(Z){this._onCollectionChange=Z}_setUpdateStrategy(Z){Ie(Z)&&null!=Z.updateOn&&(this._updateOn=Z.updateOn)}_parentMarkedDirty(Z){return!Z&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Z){return null}_assignValidators(Z){this._rawValidators=Array.isArray(Z)?Z.slice():Z,this._composedValidatorFn=function Tn(j){return Array.isArray(j)?J(j):j||null}(this._rawValidators)}_assignAsyncValidators(Z){this._rawAsyncValidators=Array.isArray(Z)?Z.slice():Z,this._composedAsyncValidatorFn=function rt(j){return Array.isArray(j)?$(j):j||null}(this._rawAsyncValidators)}}class Xt extends Ot{constructor(Z,I,he){super(_n(I),yt(he,I)),this.controls=Z,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Z,I){return this.controls[Z]?this.controls[Z]:(this.controls[Z]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(Z,I,he={}){this.registerControl(Z,I),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}removeControl(Z,I={}){this.controls[Z]&&this.controls[Z]._registerOnCollectionChange(()=>{}),delete this.controls[Z],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(Z,I,he={}){this.controls[Z]&&this.controls[Z]._registerOnCollectionChange(()=>{}),delete this.controls[Z],I&&this.registerControl(Z,I),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}contains(Z){return this.controls.hasOwnProperty(Z)&&this.controls[Z].enabled}setValue(Z,I={}){pt(this,0,Z),Object.keys(Z).forEach(he=>{We(this,!0,he),this.controls[he].setValue(Z[he],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(Z,I={}){null!=Z&&(Object.keys(Z).forEach(he=>{const ze=this.controls[he];ze&&ze.patchValue(Z[he],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(Z={},I={}){this._forEachChild((he,ze)=>{he.reset(Z?Z[ze]:null,{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(Z,I,he)=>(Z[he]=I.getRawValue(),Z))}_syncPendingControls(){let Z=this._reduceChildren(!1,(I,he)=>!!he._syncPendingControls()||I);return Z&&this.updateValueAndValidity({onlySelf:!0}),Z}_forEachChild(Z){Object.keys(this.controls).forEach(I=>{const he=this.controls[I];he&&Z(he,I)})}_setUpControls(){this._forEachChild(Z=>{Z.setParent(this),Z._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Z){for(const[I,he]of Object.entries(this.controls))if(this.contains(I)&&Z(he))return!0;return!1}_reduceValue(){return this._reduceChildren({},(I,he,ze)=>((he.enabled||this.disabled)&&(I[ze]=he.value),I))}_reduceChildren(Z,I){let he=Z;return this._forEachChild((ze,qt)=>{he=I(he,ze,qt)}),he}_allControlsDisabled(){for(const Z of Object.keys(this.controls))if(this.controls[Z].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Z){return this.controls.hasOwnProperty(Z)?this.controls[Z]:null}}const ht=Xt,ye=j=>j instanceof Xt;class G extends Xt{}const F=j=>j instanceof G,fe=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Ge}),Ge="always";function At(j,Z){return[...Z.path,j]}function Je(j,Z,I=Ge){Le(j,Z),Z.valueAccessor.writeValue(j.value),(j.disabled||"always"===I)&&Z.valueAccessor.setDisabledState?.(j.disabled),function Ht(j,Z){Z.valueAccessor.registerOnChange(I=>{j._pendingValue=I,j._pendingChange=!0,j._pendingDirty=!0,"change"===j.updateOn&&wn(j,Z)})}(j,Z),function un(j,Z){const I=(he,ze)=>{Z.valueAccessor.writeValue(he),ze&&Z.viewToModelUpdate(he)};j.registerOnChange(I),Z._registerOnDestroy(()=>{j._unregisterOnChange(I)})}(j,Z),function bn(j,Z){Z.valueAccessor.registerOnTouched(()=>{j._pendingTouched=!0,"blur"===j.updateOn&&j._pendingChange&&wn(j,Z),"submit"!==j.updateOn&&j.markAsTouched()})}(j,Z),function Re(j,Z){if(Z.valueAccessor.setDisabledState){const I=he=>{Z.valueAccessor.setDisabledState(he)};j.registerOnDisabledChange(I),Z._registerOnDestroy(()=>{j._unregisterOnDisabledChange(I)})}}(j,Z)}function Lt(j,Z,I=!0){const he=()=>{};Z.valueAccessor&&(Z.valueAccessor.registerOnChange(he),Z.valueAccessor.registerOnTouched(he)),wt(j,Z),j&&(Z._invokeOnDestroyCallbacks(),j._registerOnCollectionChange(()=>{}))}function me(j,Z){j.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(Z)})}function Le(j,Z){const I=R(j);null!==Z.validator?j.setValidators(U(I,Z.validator)):"function"==typeof I&&j.setValidators([I]);const he=H(j);null!==Z.asyncValidator?j.setAsyncValidators(U(he,Z.asyncValidator)):"function"==typeof he&&j.setAsyncValidators([he]);const ze=()=>j.updateValueAndValidity();me(Z._rawValidators,ze),me(Z._rawAsyncValidators,ze)}function wt(j,Z){let I=!1;if(null!==j){if(null!==Z.validator){const ze=R(j);if(Array.isArray(ze)&&ze.length>0){const qt=ze.filter(Dn=>Dn!==Z.validator);qt.length!==ze.length&&(I=!0,j.setValidators(qt))}}if(null!==Z.asyncValidator){const ze=H(j);if(Array.isArray(ze)&&ze.length>0){const qt=ze.filter(Dn=>Dn!==Z.asyncValidator);qt.length!==ze.length&&(I=!0,j.setAsyncValidators(qt))}}}const he=()=>{};return me(Z._rawValidators,he),me(Z._rawAsyncValidators,he),I}function wn(j,Z){j._pendingDirty&&j.markAsDirty(),j.setValue(j._pendingValue,{emitModelToViewChange:!1}),Z.viewToModelUpdate(j._pendingValue),j._pendingChange=!1}function Qe(j,Z){Le(j,Z)}function nn(j,Z){if(!j.hasOwnProperty("model"))return!1;const I=j.model;return!!I.isFirstChange()||!Object.is(Z,I.currentValue)}function yn(j,Z){j._syncPendingControls(),Z.forEach(I=>{const he=I.control;"submit"===he.updateOn&&he._pendingChange&&(I.viewToModelUpdate(he._pendingValue),he._pendingChange=!1)})}function Vn(j,Z){if(!Z)return null;let I,he,ze;return Array.isArray(Z),Z.forEach(qt=>{qt.constructor===w?I=qt:function zt(j){return Object.getPrototypeOf(j.constructor)===u}(qt)?he=qt:ze=qt}),ze||he||I||null}const bi={provide:Te,useExisting:(0,n.forwardRef)(()=>mn)},kn=(()=>Promise.resolve())();let mn=(()=>{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 Xt({},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){kn.then(()=>{const he=this._findContainer(I.path);I.control=he.registerControl(I.name,I.control),Je(I.control,I,this.callSetDisabledState),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){kn.then(()=>{const he=this._findContainer(I.path);he&&he.removeControl(I.name),this._directives.delete(I)})}addFormGroup(I){kn.then(()=>{const he=this._findContainer(I.path),ze=new Xt({});Qe(ze,I),he.registerControl(I.name,ze),ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){kn.then(()=>{const he=this._findContainer(I.path);he&&he.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,he){kn.then(()=>{this.form.get(I.path).setValue(he)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,yn(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([bi]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();function _e(j,Z){const I=j.indexOf(Z);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 Ot{constructor(Z=null,I,he){super(_n(I),yt(he,I)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Z),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ie(I)&&(I.nonNullable||I.initialValueIsDefault)&&(this.defaultValue=st(Z)?Z.value:Z)}setValue(Z,I={}){this.value=this._pendingValue=Z,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(he=>he(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(Z,I={}){this.setValue(Z,I)}reset(Z=this.defaultValue,I={}){this._applyFormState(Z),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(Z){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Z){this._onChange.push(Z)}_unregisterOnChange(Z){_e(this._onChange,Z)}registerOnDisabledChange(Z){this._onDisabledChange.push(Z)}_unregisterOnDisabledChange(Z){_e(this._onDisabledChange,Z)}_forEachChild(Z){}_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(Z){st(Z)?(this.value=this._pendingValue=Z.value,Z.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Z}},pe=X,ne=j=>j instanceof X;let et=(()=>{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 At(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)(()=>Cn)};let Cn=(()=>{class j extends et{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)(()=>ti)},zn=(()=>Promise.resolve())();let ti=(()=>{class j extends xe{constructor(I,he,ze,qt,Dn,ji){super(),this._changeDetectorRef=Dn,this.callSetDisabledState=ji,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,qt)}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),nn(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(){Je(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){zn.then(()=>{this.control.setValue(I,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(I){const he=I.isDisabled.currentValue,ze=0!==he&&(0,n.booleanAttribute)(he);zn.then(()=>{ze&&!this.control.disabled?this.control.disable():!ze&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(I){return this._parent?At(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})(),Pi=(()=>{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 ni={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([ni]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const pr={provide:m,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let Dr=(()=>{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})(),xr=(()=>{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:Dr})}return j})(),qi=(()=>{class j extends u{constructor(I,he,ze,qt){super(I,he),this._registry=ze,this._injector=qt,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(fe,{optional:!0})??Ge}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(xr),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([pr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const or={provide:m,useExisting:(0,n.forwardRef)(()=>sr),multi:!0};let sr=(()=>{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([or]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const gr=new n.InjectionToken("NgModelWithFormControlWarning"),xn={provide:xe,useExisting:(0,n.forwardRef)(()=>Zn)};let Zn=(()=>{class j extends xe{set isDisabled(I){}static#e=this._ngModelWarningSentOnce=!1;constructor(I,he,ze,qt,Dn){super(),this._ngModelWarningConfig=qt,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&&Lt(he,this,!1),Je(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}nn(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(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(gr,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([xn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})();const ii={provide:Te,useExisting:(0,n.forwardRef)(()=>Mi)};let Mi=(()=>{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&&(wt(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 Je(he,I,this.callSetDisabledState),he.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),he}getControl(I){return this.form.get(I.path)}removeControl(I){Lt(I.control||null,I,!1),function Pn(j,Z){const I=j.indexOf(Z);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,yn(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&&(Lt(he||null,I),ne(ze)&&(Je(ze,I,this.callSetDisabledState),I.control=ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const he=this.form.get(I.path);Qe(he,I),he.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const he=this.form.get(I.path);he&&function $e(j,Z){return wt(j,Z)}(he,I)&&he.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Le(this.form,this),this._oldForm&&wt(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([ii]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})();const di={provide:Te,useExisting:(0,n.forwardRef)(()=>er)};let er=(()=>{class j extends et{constructor(I,he,ze){super(),this.name=null,this._parent=I,this._setValidators(he),this._setAsyncValidators(ze)}_checkParentType(){Sr(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([di]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Mr={provide:Te,useExisting:(0,n.forwardRef)(()=>Ni)};let Ni=(()=>{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 At(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Sr(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([Mr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();function Sr(j){return!(j instanceof er||j instanceof Mi||j instanceof Ni)}const Ir={provide:xe,useExisting:(0,n.forwardRef)(()=>jn)};let jn=(()=>{class j extends xe{set isDisabled(I){}static#e=this._ngModelWarningSentOnce=!1;constructor(I,he,ze,qt,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,qt)}ngOnChanges(I){this._added||this._setUpControl(),nn(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 At(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(gr,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([Ir]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return j})();const Wt={provide:m,useExisting:(0,n.forwardRef)(()=>ri),multi:!0};function ln(j,Z){return null==j?`${Z}`:(Z&&"object"==typeof Z&&(Z="Object"),`${j}: ${Z}`.slice(0,50))}let ri=(()=>{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=ln(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 Nn(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([Wt]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),ar=(()=>{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(ln(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(ri,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return j})();const Jn={provide:m,useExisting:(0,n.forwardRef)(()=>ui),multi:!0};function Li(j,Z){return null==j?`${Z}`:("string"==typeof Z&&(Z=`'${Z}'`),Z&&"object"==typeof Z&&(Z="Object"),`${j}: ${Z}`.slice(0,50))}let ui=(()=>{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(qt=>this._getOptionId(qt));he=(qt,Dn)=>{qt._setSelected(ze.indexOf(Dn.toString())>-1)}}else he=(ze,qt)=>{ze._setSelected(!1)};this._optionMap.forEach(he)}registerOnChange(I){this.onChange=he=>{const ze=[],qt=he.selectedOptions;if(void 0!==qt){const Dn=qt;for(let ji=0;ji<Dn.length;ji++){const uo=this._getOptionValue(Dn[ji].value);ze.push(uo)}}else{const Dn=he.options;for(let ji=0;ji<Dn.length;ji++){const Pr=Dn[ji];if(Pr.selected){const uo=this._getOptionValue(Pr.value);ze.push(uo)}}}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 An(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([Jn]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),an=(()=>{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(Li(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(Li(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(ui,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return j})();function Hi(j){return"number"==typeof j?j:parseInt(j,10)}function Ar(j){return"number"==typeof j?j:parseFloat(j)}let fi=(()=>{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 Wn={provide:S,useExisting:(0,n.forwardRef)(()=>yi),multi:!0};let yi=(()=>{class j extends fi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>Ar(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([Wn]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const hi={provide:S,useExisting:(0,n.forwardRef)(()=>Qn),multi:!0};let Qn=(()=>{class j extends fi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>Ar(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([hi]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Ci={provide:S,useExisting:(0,n.forwardRef)(()=>oi),multi:!0},Zr={provide:S,useExisting:(0,n.forwardRef)(()=>$n),multi:!0};let oi=(()=>{class j extends fi{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([Ci]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),$n=(()=>{class j extends oi{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([Zr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Ri={provide:S,useExisting:(0,n.forwardRef)(()=>cr),multi:!0};let cr=(()=>{class j extends fi{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([Ri]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const Mn={provide:S,useExisting:(0,n.forwardRef)(()=>Qr),multi:!0};let Qr=(()=>{class j extends fi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>Hi(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([Mn]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const lr={provide:S,useExisting:(0,n.forwardRef)(()=>dr),multi:!0};let dr=(()=>{class j extends fi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>Hi(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([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return j})();const mi={provide:S,useExisting:(0,n.forwardRef)(()=>_r),multi:!0};let _r=(()=>{class j extends fi{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([mi]),n.\u0275\u0275InheritDefinitionFeature]})}return j})(),Xr=(()=>{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:[Dr]})}return j})();class si extends Ot{constructor(Z,I,he){super(_n(I),yt(he,I)),this.controls=Z,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Z){return this.controls[this._adjustIndex(Z)]}push(Z,I={}){this.controls.push(Z),this._registerControl(Z),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(Z,I,he={}){this.controls.splice(Z,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:he.emitEvent})}removeAt(Z,I={}){let he=this._adjustIndex(Z);he<0&&(he=0),this.controls[he]&&this.controls[he]._registerOnCollectionChange(()=>{}),this.controls.splice(he,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(Z,I,he={}){let ze=this._adjustIndex(Z);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(Z,I={}){pt(this,0,Z),Z.forEach((he,ze)=>{We(this,!1,ze),this.at(ze).setValue(he,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(Z,I={}){null!=Z&&(Z.forEach((he,ze)=>{this.at(ze)&&this.at(ze).patchValue(he,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(Z=[],I={}){this._forEachChild((he,ze)=>{he.reset(Z[ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(Z=>Z.getRawValue())}clear(Z={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Z.emitEvent}))}_adjustIndex(Z){return Z<0?Z+this.length:Z}_syncPendingControls(){let Z=this.controls.reduce((I,he)=>!!he._syncPendingControls()||I,!1);return Z&&this.updateValueAndValidity({onlySelf:!0}),Z}_forEachChild(Z){this.controls.forEach((I,he)=>{Z(I,he)})}_updateValue(){this.value=this.controls.filter(Z=>Z.enabled||this.disabled).map(Z=>Z.value)}_anyControls(Z){return this.controls.some(I=>I.enabled&&Z(I))}_setUpControls(){this._forEachChild(Z=>this._registerControl(Z))}_allControlsDisabled(){for(const Z of this.controls)if(Z.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Z){Z.setParent(this),Z._registerOnCollectionChange(this._onCollectionChange)}_find(Z){return this.at(Z)??null}}const gi=si,Br=j=>j instanceof si;function zi(j){return!!j&&(void 0!==j.asyncValidators||void 0!==j.validators||void 0!==j.updateOn)}let br=(()=>{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 qt={};return zi(he)?qt=he:null!==he&&(qt.validators=he.validator,qt.asyncValidators=he.asyncValidator),new Xt(ze,qt)}record(I,he=null){const ze=this._reduceControls(I);return new G(ze,he)}control(I,he,ze){let qt={};return this.useNonNullable?(zi(he)?qt=he:(qt.validators=he,qt.asyncValidators=ze),new X(I,{...qt,nonNullable:!0})):new X(I,he,ze)}array(I,he,ze){const qt=I.map(Dn=>this._createControl(Dn));return new si(qt,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 Ot?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})(),Ii=(()=>{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)(br).nonNullable},providedIn:"root"})}return j})(),yr=(()=>{class j extends br{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 co=new n.Version("16.2.12");let lo=(()=>{class j{static withConfig(I){return{ngModule:j,providers:[{provide:fe,useValue:I.callSetDisabledState??Ge}]}}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:[Xr]})}return j})(),yo=(()=>{class j{static withConfig(I){return{ngModule:j,providers:[{provide:gr,useValue:I.warnOnNgModelWithFormControl??"always"},{provide:fe,useValue:I.callSetDisabledState??Ge}]}}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:[Xr]})}return j})()},2296:(Q,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:()=>qe,MatFabButton:()=>Ne,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),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}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 Ne=(()=>{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})(),qe=(()=>{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:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIP:()=>me,MAT_CHIPS_DEFAULT_OPTIONS:()=>Ge,MAT_CHIP_AVATAR:()=>At,MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR:()=>Vn,MAT_CHIP_REMOVE:()=>Lt,MAT_CHIP_TRAILING_ICON:()=>Je,MatChip:()=>$e,MatChipAvatar:()=>Ht,MatChipEditInput:()=>xt,MatChipGrid:()=>mn,MatChipGridChange:()=>Fn,MatChipInput:()=>st,MatChipListbox:()=>Pn,MatChipListboxChange:()=>yn,MatChipOption:()=>at,MatChipRemove:()=>wn,MatChipRow:()=>Ft,MatChipSelectionChange:()=>Be,MatChipSet:()=>zt,MatChipTrailingIcon:()=>bn,MatChipsModule:()=>pe});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 lt=(()=>{class ne{static#e=this.\u0275fac=function(Ve){return new(Ve||ne)};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:ne})}return ne})();const Gt=new s.InjectionToken("MatFormField");function It(ne,et){1&ne&&(s.\u0275\u0275elementStart(0,"span",7),s.\u0275\u0275projection(1,1),s.\u0275\u0275elementEnd())}function kt(ne,et){1&ne&&(s.\u0275\u0275elementStart(0,"span",8),s.\u0275\u0275projection(1,2),s.\u0275\u0275elementEnd())}const en=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],on=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function _n(ne,et){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 Tn(ne,et){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,et){1&ne&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"span",8),s.\u0275\u0275elementContainerEnd())}function Ie(ne,et){1&ne&&(s.\u0275\u0275elementStart(0,"span",9),s.\u0275\u0275projection(1),s.\u0275\u0275elementEnd())}function We(ne,et){1&ne&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275projection(1,1),s.\u0275\u0275elementContainerEnd())}function pt(ne,et){1&ne&&s.\u0275\u0275projection(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function Ot(ne,et){1&ne&&s.\u0275\u0275element(0,"span",12)}function Xt(ne,et){if(1&ne&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,pt,1,0,"ng-content",10),s.\u0275\u0275template(2,Ot,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 ht(ne,et){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]"],F=["*"],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}",Ge=new s.InjectionToken("mat-chips-default-options"),At=new s.InjectionToken("MatChipAvatar"),Je=new s.InjectionToken("MatChipTrailingIcon"),Lt=new s.InjectionToken("MatChipRemove"),me=new s.InjectionToken("MatChip");class Re{}const Le=(0,g.mixinTabIndex)(Re,-1);let wt=(()=>{class ne extends Le{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(me))};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,je){1&Ve&&s.\u0275\u0275listener("click",function(Bt){return je._handleClick(Bt)})("keydown",function(Bt){return je._handleKeydown(Bt)}),2&Ve&&(s.\u0275\u0275attribute("tabindex",je._getTabindex())("disabled",je._getDisabledAttribute())("aria-disabled",je.disabled),s.\u0275\u0275classProp("mdc-evolution-chip__action--primary",je._isPrimary)("mdc-evolution-chip__action--presentational",!je.isInteractive)("mdc-evolution-chip__action--trailing",!je._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return ne})(),Ht=(()=>{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:At,useExisting:ne}])]})}return ne})(),bn=(()=>{class ne extends wt{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}static#e=this.\u0275fac=function(){let L;return function(je){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(je||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:Je,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature]})}return ne})(),wn=(()=>{class ne extends wt{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(je){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(je||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,je){2&Ve&&s.\u0275\u0275attribute("aria-hidden",null)},features:[s.\u0275\u0275ProvidersFeature([{provide:Lt,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature]})}return ne})(),un=0;const Qe=(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 Qe{_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,je,$t,Bt,Cn,Sn,zn){super(Ve),this._changeDetectorRef=L,this._ngZone=je,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-"+un++,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"===Cn,null!=zn&&(this.tabIndex=parseInt(zn)??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._rippleLoader?.destroyRipple(this._elementRef.nativeElement),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 je=Ve._elementRef.nativeElement;return je===L||je.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,je,$t){if(1&Ve&&(s.\u0275\u0275contentQuery($t,At,5),s.\u0275\u0275contentQuery($t,Je,5),s.\u0275\u0275contentQuery($t,Lt,5),s.\u0275\u0275contentQuery($t,At,5),s.\u0275\u0275contentQuery($t,Je,5),s.\u0275\u0275contentQuery($t,Lt,5)),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je.leadingIcon=Bt.first),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je.trailingIcon=Bt.first),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je.removeIcon=Bt.first),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je._allLeadingIcons=Bt),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je._allTrailingIcons=Bt),s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je._allRemoveIcons=Bt)}},viewQuery:function(Ve,je){if(1&Ve&&s.\u0275\u0275viewQuery(wt,5),2&Ve){let $t;s.\u0275\u0275queryRefresh($t=s.\u0275\u0275loadQuery())&&(je.primaryAction=$t.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Ve,je){1&Ve&&s.\u0275\u0275listener("keydown",function(Bt){return je._handleKeydown(Bt)}),2&Ve&&(s.\u0275\u0275hostProperty("id",je.id),s.\u0275\u0275attribute("role",je.role)("tabindex",je.role?je.tabIndex:null)("aria-label",je.ariaLabel),s.\u0275\u0275classProp("mdc-evolution-chip",!je._isBasicChip)("mdc-evolution-chip--disabled",je.disabled)("mdc-evolution-chip--with-trailing-action",je._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",je.leadingIcon)("mdc-evolution-chip--with-primary-icon",je.leadingIcon)("mdc-evolution-chip--with-avatar",je.leadingIcon)("mat-mdc-chip-with-avatar",je.leadingIcon)("mat-mdc-chip-highlighted",je.highlighted)("mat-mdc-chip-disabled",je.disabled)("mat-mdc-basic-chip",je._isBasicChip)("mat-mdc-standard-chip",!je._isBasicChip)("mat-mdc-chip-with-trailing-icon",je._hasTrailingIcon())("_mat-animation-noopable",je._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:me,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:on,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,je){1&Ve&&(s.\u0275\u0275projectionDef(en),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275elementStart(1,"span",1)(2,"span",2),s.\u0275\u0275template(3,It,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,kt,2,0,"span",6)),2&Ve&&(s.\u0275\u0275advance(2),s.\u0275\u0275property("isInteractive",!1),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",je.leadingIcon),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",je._hasTrailingIcon()))},dependencies:[p.NgIf,wt],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 Be{constructor(et,L,Ve=!1){this.source=et,this.selected=L,this.isUserInput=Ve}}let at=(()=>{class ne extends $e{constructor(){super(...arguments),this._defaultOptions=(0,s.inject)(Ge,{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,je){L!==this.selected&&(this._selected=L,je&&this.selectionChange.emit({source:this,isUserInput:Ve,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(){let L;return function(je){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(je||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,je){2&Ve&&(s.\u0275\u0275hostProperty("id",je.id),s.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-description",null)("role",je.role),s.\u0275\u0275classProp("mdc-evolution-chip",!je._isBasicChip)("mdc-evolution-chip--filter",!je._isBasicChip)("mdc-evolution-chip--selectable",!je._isBasicChip)("mat-mdc-chip-selected",je.selected)("mat-mdc-chip-multiple",je._chipListMultiple)("mat-mdc-chip-disabled",je.disabled)("mat-mdc-chip-with-avatar",je.leadingIcon)("mdc-evolution-chip--disabled",je.disabled)("mdc-evolution-chip--selected",je.selected)("mdc-evolution-chip--selecting",!je._animationsDisabled)("mdc-evolution-chip--with-trailing-action",je._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",je.leadingIcon)("mdc-evolution-chip--with-primary-graphic",je._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",je.leadingIcon)("mat-mdc-chip-highlighted",je.highlighted)("mat-mdc-chip-with-trailing-icon",je._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:me,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:on,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,je){1&Ve&&(s.\u0275\u0275projectionDef(en),s.\u0275\u0275element(0,"span",0),s.\u0275\u0275elementStart(1,"span",1)(2,"button",2),s.\u0275\u0275template(3,_n,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,Tn,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",je.tabIndex)("_allowFocusWhenDisabled",!0),s.\u0275\u0275attribute("aria-selected",je.ariaSelected)("aria-label",je.ariaLabel)("aria-describedby",je._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",je._hasLeadingGraphic()),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",je._hasTrailingIcon()),s.\u0275\u0275advance(1),s.\u0275\u0275property("id",je._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(je.ariaDescription))},dependencies:[p.NgIf,wt],styles:[yt],encapsulation:2,changeDetection:0})}return ne})(),xt=(()=>{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,je,$t,Bt,Cn,Sn,zn){super(L,Ve,je,$t,Bt,Cn,Sn,zn),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,je,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,xt,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je.contentEditInput=Bt.first)}},viewQuery:function(Ve,je){if(1&Ve&&s.\u0275\u0275viewQuery(xt,5),2&Ve){let $t;s.\u0275\u0275queryRefresh($t=s.\u0275\u0275loadQuery())&&(je.defaultEditInput=$t.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(Ve,je){1&Ve&&s.\u0275\u0275listener("focus",function(Bt){return je._handleFocus(Bt)})("dblclick",function(Bt){return je._handleDoubleclick(Bt)}),2&Ve&&(s.\u0275\u0275hostProperty("id",je.id),s.\u0275\u0275attribute("tabindex",je.disabled?null:-1)("aria-label",null)("aria-description",null)("role",je.role),s.\u0275\u0275classProp("mat-mdc-chip-with-avatar",je.leadingIcon)("mat-mdc-chip-disabled",je.disabled)("mat-mdc-chip-editing",je._isEditing)("mat-mdc-chip-editable",je.editable)("mdc-evolution-chip--disabled",je.disabled)("mdc-evolution-chip--with-trailing-action",je._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",je.leadingIcon)("mdc-evolution-chip--with-primary-icon",je.leadingIcon)("mdc-evolution-chip--with-avatar",je.leadingIcon)("mat-mdc-chip-highlighted",je.highlighted)("mat-mdc-chip-with-trailing-icon",je._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[s.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:ne},{provide:me,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,je){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,Xt,4,2,"ng-container",4),s.\u0275\u0275element(6,"span",5),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(7,ht,2,0,"span",6),s.\u0275\u0275elementStart(8,"span",7),s.\u0275\u0275text(9),s.\u0275\u0275elementEnd()),2&Ve&&(s.\u0275\u0275property("ngIf",!je._isEditing),s.\u0275\u0275advance(1),s.\u0275\u0275property("tabIndex",je.tabIndex)("disabled",je.disabled),s.\u0275\u0275attribute("aria-label",je.ariaLabel)("aria-describedby",je._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",je.leadingIcon),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngSwitch",je._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",je._hasTrailingIcon()),s.\u0275\u0275advance(1),s.\u0275\u0275property("id",je._ariaDescriptionId),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(je.ariaDescription))},dependencies:[p.NgIf,p.NgSwitch,p.NgSwitchCase,wt,xt],styles:[yt],encapsulation:2,changeDetection:0})}return ne})();class Pt{constructor(et){}}const nn=(0,g.mixinTabIndex)(Pt);let zt=(()=>{class ne extends nn{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,je){super(L),this._elementRef=L,this._changeDetectorRef=Ve,this._dir=je,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(je=>je._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 je=this._chips.toArray().indexOf(L.chip);this._isValidIndex(je)&&L.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=je)})}_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,je,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,$e,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je._chips=Bt)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(Ve,je){1&Ve&&s.\u0275\u0275listener("keydown",function(Bt){return je._handleKeydown(Bt)}),2&Ve&&s.\u0275\u0275attribute("role",je.role)},inputs:{disabled:"disabled",role:"role"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:F,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Ve,je){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 yn{constructor(et,L){this.source=et,this.value=L}}const Vn={provide:w.NG_VALUE_ACCESSOR,useExisting:(0,s.forwardRef)(()=>Pn),multi:!0};let Pn=(()=>{class ne extends zt{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,s.inject)(Ge,{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(je=>this._selectValue(je,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 yn(this,L)),this._onChange(L),this._changeDetectorRef.markForCheck()}_clearSelection(L){this._chips.forEach(Ve=>{Ve!==L&&Ve.deselect()})}_selectValue(L,Ve){const je=this._chips.find($t=>null!=$t.value&&this.compareWith($t.value,L));return je&&(Ve?je.selectViaInteraction():je.select()),je}_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(je){return(L||(L=s.\u0275\u0275getInheritedFactory(ne)))(je||ne)}}();static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:ne,selectors:[["mat-chip-listbox"]],contentQueries:function(Ve,je,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,at,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je._chips=Bt)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(Ve,je){1&Ve&&s.\u0275\u0275listener("focus",function(){return je.focus()})("blur",function(){return je._blur()})("keydown",function(Bt){return je._keydown(Bt)}),2&Ve&&(s.\u0275\u0275hostProperty("tabIndex",je.empty?-1:je.tabIndex),s.\u0275\u0275attribute("role",je.role)("aria-describedby",je._ariaDescribedby||null)("aria-required",je.role?je.required:null)("aria-disabled",je.disabled.toString())("aria-multiselectable",je.multiple)("aria-orientation",je.ariaOrientation),s.\u0275\u0275classProp("mat-mdc-chip-list-disabled",je.disabled)("mat-mdc-chip-list-required",je.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:F,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Ve,je){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 Fn{constructor(et,L){this.source=et,this.value=L}}class bi extends zt{constructor(et,L,Ve,je,$t,Bt,Cn){super(et,L,Ve),this._defaultErrorStateMatcher=je,this._parentForm=$t,this._parentFormGroup=Bt,this.ngControl=Cn,this.stateChanges=new d.x}}const kn=(0,g.mixinErrorState)(bi);let mn=(()=>{class ne extends kn{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,je,$t,Bt,Cn,Sn){super(L,Ve,je,Cn,$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 Fn(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,je,$t){if(1&Ve&&s.\u0275\u0275contentQuery($t,Ft,5),2&Ve){let Bt;s.\u0275\u0275queryRefresh(Bt=s.\u0275\u0275loadQuery())&&(je._chips=Bt)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(Ve,je){1&Ve&&s.\u0275\u0275listener("focus",function(){return je.focus()})("blur",function(){return je._blur()}),2&Ve&&(s.\u0275\u0275hostProperty("tabIndex",je._chips&&0===je._chips.length?-1:je.tabIndex),s.\u0275\u0275attribute("role",je.role)("aria-disabled",je.disabled.toString())("aria-invalid",je.errorState),s.\u0275\u0275classProp("mat-mdc-chip-list-disabled",je.disabled)("mat-mdc-chip-list-invalid",je.errorState)("mat-mdc-chip-list-required",je.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[s.\u0275\u0275ProvidersFeature([{provide:lt,useExisting:ne}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:F,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Ve,je){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})(),_e=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,je){this._elementRef=L,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new s.EventEmitter,this.placeholder="",this.id="mat-mdc-chip-list-input-"+_e++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=Ve.separatorKeyCodes,je&&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(Ge),s.\u0275\u0275directiveInject(Gt,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,je){1&Ve&&s.\u0275\u0275listener("keydown",function(Bt){return je._keydown(Bt)})("keyup",function(Bt){return je._keyup(Bt)})("blur",function(){return je._blur()})("focus",function(){return je._focus()})("input",function(){return je._onInput()}),2&Ve&&(s.\u0275\u0275hostProperty("id",je.id),s.\u0275\u0275attribute("disabled",je.disabled||null)("placeholder",je.placeholder||null)("aria-invalid",je._chipGrid&&je._chipGrid.ngControl?je._chipGrid.ngControl.invalid:null)("aria-required",je._chipGrid&&je._chipGrid.required||null)("required",je._chipGrid&&je._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})(),pe=(()=>{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:Ge,useValue:{separatorKeyCodes:[b.K5]}}],imports:[g.MatCommonModule,p.CommonModule,g.MatRippleModule,g.MatCommonModule]})}return ne})()},3680:(Q,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:()=>ut,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Et,MatCommonModule:()=>te,MatLine:()=>dt,MatLineModule:()=>ke,MatNativeDateModule:()=>He,MatOptgroup:()=>ct,MatOption:()=>on,MatOptionModule:()=>yt,MatOptionSelectionChange:()=>kt,MatPseudoCheckbox:()=>Zt,MatPseudoCheckboxModule:()=>Qt,MatRipple:()=>jt,MatRippleLoader:()=>ht,MatRippleModule:()=>Gt,NativeDateAdapter:()=>R,NativeDateModule:()=>Oe,RippleRef:()=>Me,RippleRenderer:()=>lt,ShowOnDirtyErrorStateMatcher:()=>vt,VERSION:()=>ee,_MatOptgroupBase:()=>oe,_MatOptionBase:()=>en,_countGroupLabelsBeforeOption:()=>_n,_getOptionScrollPosition:()=>Tn,defaultRippleAnimationConfig:()=>ft,mixinColor:()=>ge,mixinDisableRipple:()=>Ne,mixinDisabled:()=>Ye,mixinErrorState:()=>qe,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 F=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",F.disabled)("state",F.selected?"checked":"unchecked")}}function k(ye,G){if(1&ye&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&ye){const F=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",F.disabled)}}function S(ye,G){if(1&ye&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ye){const F=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",F.group.label,")")}}const K=[[["mat-icon"]],"*"],V=["mat-icon","*"],ee=new n.Version("16.2.13");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(F,fe,Ge){this._sanityChecks=fe,this._document=Ge,this._hasDoneGlobalChecks=!1,F._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(F){return!(0,d.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[F])}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 ge(ye,G){return class extends ye{get color(){return this._color}set color(F){const fe=F||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(...F){super(...F),this.defaultColor=G,this.color=G}}}function Ne(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(F){this._tabIndex=null!=F?(0,u.su)(F):this.defaultTabIndex}constructor(...F){super(...F),this._tabIndex=G,this.defaultTabIndex=G}}}function qe(ye){return class extends ye{updateErrorState(){const G=this.errorState,At=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);At!==G&&(this.errorState=At,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(F=>{this._isInitialized?this._notifySubscriber(F):this._pendingSubscribers.push(F)})}_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,F){return this.getYear(G)-this.getYear(F)||this.getMonth(G)-this.getMonth(F)||this.getDate(G)-this.getDate(F)}sameDate(G,F){if(G&&F){let fe=this.isValid(G),Ge=this.isValid(F);return fe&&Ge?!this.compareDate(G,F):fe==Ge}return G==F}clampDate(G,F,fe){return F&&this.compareDate(G,F)<0?F: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 F=Array(ye);for(let fe=0;fe<ye;fe++)F[fe]=G(fe);return F}let R=(()=>{class ye extends J{constructor(F,fe){super(),this.useUtcForDisplay=!1,super.setLocale(F)}getYear(F){return F.getFullYear()}getMonth(F){return F.getMonth()}getDate(F){return F.getDate()}getDayOfWeek(F){return F.getDay()}getMonthNames(F){const fe=new Intl.DateTimeFormat(this.locale,{month:F,timeZone:"utc"});return U(12,Ge=>this._format(fe,new Date(2017,Ge,1)))}getDateNames(){const F=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return U(31,fe=>this._format(F,new Date(2017,0,fe+1)))}getDayOfWeekNames(F){const fe=new Intl.DateTimeFormat(this.locale,{weekday:F,timeZone:"utc"});return U(7,Ge=>this._format(fe,new Date(2017,0,Ge+1)))}getYearName(F){const fe=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(fe,F)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(F){return this.getDate(this._createDateWithOverflow(this.getYear(F),this.getMonth(F)+1,0))}clone(F){return new Date(F.getTime())}createDate(F,fe,Ge){let At=this._createDateWithOverflow(F,fe,Ge);return At.getMonth(),At}today(){return new Date}parse(F,fe){return"number"==typeof F?new Date(F):F?new Date(Date.parse(F)):null}format(F,fe){if(!this.isValid(F))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ge=new Intl.DateTimeFormat(this.locale,{...fe,timeZone:"utc"});return this._format(Ge,F)}addCalendarYears(F,fe){return this.addCalendarMonths(F,12*fe)}addCalendarMonths(F,fe){let Ge=this._createDateWithOverflow(this.getYear(F),this.getMonth(F)+fe,this.getDate(F));return this.getMonth(Ge)!=((this.getMonth(F)+fe)%12+12)%12&&(Ge=this._createDateWithOverflow(this.getYear(Ge),this.getMonth(Ge),0)),Ge}addCalendarDays(F,fe){return this._createDateWithOverflow(this.getYear(F),this.getMonth(F),this.getDate(F)+fe)}toIso8601(F){return[F.getUTCFullYear(),this._2digit(F.getUTCMonth()+1),this._2digit(F.getUTCDate())].join("-")}deserialize(F){if("string"==typeof F){if(!F)return null;if($.test(F)){let fe=new Date(F);if(this.isValid(fe))return fe}}return super.deserialize(F)}isDateInstance(F){return F instanceof Date}isValid(F){return!isNaN(F.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(F,fe,Ge){const At=new Date;return At.setFullYear(F,fe,Ge),At.setHours(0,0,0,0),At}_2digit(F){return("00"+F).slice(-2)}_format(F,fe){const Ge=new Date;return Ge.setUTCFullYear(fe.getFullYear(),fe.getMonth(),fe.getDate()),Ge.setUTCHours(fe.getHours(),fe.getMinutes(),fe.getSeconds(),fe.getMilliseconds()),F.format(Ge)}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(F,fe){return!!(F&&F.invalid&&(F.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(F,fe){return!!(F&&F.invalid&&(F.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})(),dt=(()=>{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,F="mat"){ye.changes.pipe((0,f.O)(ye)).subscribe(({length:fe})=>{xe(G,`${F}-2-line`,!1),xe(G,`${F}-3-line`,!1),xe(G,`${F}-multi-line`,!1),2===fe||3===fe?xe(G,`${F}-${fe}-line`,!0):fe>3&&xe(G,`${F}-multi-line`,!0)})}function xe(ye,G,F){ye.nativeElement.classList.toggle(G,F)}let ke=(()=>{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,F,fe,Ge=!1){this._renderer=G,this.element=F,this.config=fe,this._animationForciblyDisabledThroughCss=Ge,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Pe=(0,d.i$)({passive:!0,capture:!0});class _t{constructor(){this._events=new Map,this._delegateEventHandler=G=>{const F=(0,d.sA)(G);F&&this._events.get(G.type)?.forEach((fe,Ge)=>{(Ge===F||Ge.contains(F))&&fe.forEach(At=>At.handleEvent(G))})}}addHandler(G,F,fe,Ge){const At=this._events.get(F);if(At){const Je=At.get(fe);Je?Je.add(Ge):At.set(fe,new Set([Ge]))}else this._events.set(F,new Map([[fe,new Set([Ge])]])),G.runOutsideAngular(()=>{document.addEventListener(F,this._delegateEventHandler,Pe)})}removeHandler(G,F,fe){const Ge=this._events.get(G);if(!Ge)return;const At=Ge.get(F);At&&(At.delete(fe),0===At.size&&Ge.delete(F),0===Ge.size&&(this._events.delete(G),document.removeEventListener(G,this._delegateEventHandler,Pe)))}}const ft={enterDuration:225,exitDuration:150},ce=(0,d.i$)({passive:!0,capture:!0}),Ee=["mousedown","touchstart"],Fe=["mouseup","mouseleave","touchend","touchcancel"];class lt{static#e=this._eventManager=new _t;constructor(G,F,fe,Ge){this._target=G,this._ngZone=F,this._platform=Ge,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ge.isBrowser&&(this._containerElement=(0,u.fI)(fe))}fadeInRipple(G,F,fe={}){const Ge=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),At={...ft,...fe.animation};fe.centered&&(G=Ge.left+Ge.width/2,F=Ge.top+Ge.height/2);const Je=fe.radius||function ot(ye,G,F){const fe=Math.max(Math.abs(ye-F.left),Math.abs(ye-F.right)),Ge=Math.max(Math.abs(G-F.top),Math.abs(G-F.bottom));return Math.sqrt(fe*fe+Ge*Ge)}(G,F,Ge),Lt=G-Ge.left,me=F-Ge.top,Re=At.enterDuration,Le=document.createElement("div");Le.classList.add("mat-ripple-element"),Le.style.left=Lt-Je+"px",Le.style.top=me-Je+"px",Le.style.height=2*Je+"px",Le.style.width=2*Je+"px",null!=fe.color&&(Le.style.backgroundColor=fe.color),Le.style.transitionDuration=`${Re}ms`,this._containerElement.appendChild(Le);const wt=window.getComputedStyle(Le),bn=wt.transitionDuration,wn="none"===wt.transitionProperty||"0s"===bn||"0s, 0s"===bn||0===Ge.width&&0===Ge.height,un=new Me(this,Le,fe,wn);Le.style.transform="scale3d(1, 1, 1)",un.state=0,fe.persistent||(this._mostRecentTransientRipple=un);let Qe=null;return!wn&&(Re||At.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const $e=()=>this._finishRippleTransition(un),Be=()=>this._destroyRipple(un);Le.addEventListener("transitionend",$e),Le.addEventListener("transitioncancel",Be),Qe={onTransitionEnd:$e,onTransitionCancel:Be}}),this._activeRipples.set(un,Qe),(wn||!Re)&&this._finishRippleTransition(un),un}fadeOutRipple(G){if(2===G.state||3===G.state)return;const F=G.element,fe={...ft,...G.config.animation};F.style.transitionDuration=`${fe.exitDuration}ms`,F.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 F=(0,u.fI)(G);!this._platform.isBrowser||!F||F===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=F,Ee.forEach(fe=>{lt._eventManager.addHandler(this._ngZone,fe,F,this)}))}handleEvent(G){"mousedown"===G.type?this._onMousedown(G):"touchstart"===G.type?this._onTouchStart(G):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Fe.forEach(F=>{this._triggerElement.addEventListener(F,this,ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(G){0===G.state?this._startFadeOutTransition(G):2===G.state&&this._destroyRipple(G)}_startFadeOutTransition(G){const F=G===this._mostRecentTransientRipple,{persistent:fe}=G.config;G.state=1,!fe&&(!F||!this._isPointerDown)&&G.fadeOut()}_destroyRipple(G){const F=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!==F&&(G.element.removeEventListener("transitionend",F.onTransitionEnd),G.element.removeEventListener("transitioncancel",F.onTransitionCancel)),G.element.remove()}_onMousedown(G){const F=(0,s.X6)(G),fe=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!F&&!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 F=G.changedTouches;if(F)for(let fe=0;fe<F.length;fe++)this.fadeInRipple(F[fe].clientX,F[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(F=>lt._eventManager.removeHandler(F,G,this)),this._pointerUpEventsRegistered&&Fe.forEach(F=>G.removeEventListener(F,this,ce)))}}const Et=new n.InjectionToken("mat-ripple-global-options");let jt=(()=>{class ye{get disabled(){return this._disabled}set disabled(F){F&&this.fadeOutAllNonPersistent(),this._disabled=F,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(F){this._trigger=F,this._setupTriggerEventsIfEnabled()}constructor(F,fe,Ge,At,Je){this._elementRef=F,this._animationMode=Je,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=At||{},this._rippleRenderer=new lt(this,fe,F,Ge)}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(F,fe=0,Ge){return"number"==typeof F?this._rippleRenderer.fadeInRipple(F,fe,{...this.rippleConfig,...Ge}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...F})}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(Et,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,Ge){2&fe&&n.\u0275\u0275classProp("mat-ripple-unbounded",Ge.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})(),Gt=(()=>{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(F){this._animationMode=F,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,Ge){2&fe&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===Ge.state)("mat-pseudo-checkbox-checked","checked"===Ge.state)("mat-pseudo-checkbox-disabled",Ge.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ge.appearance)("mat-pseudo-checkbox-full","full"===Ge.appearance)("_mat-animation-noopable","NoopAnimations"===Ge._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(fe,Ge){},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 ut=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Tt=Ye(class{});let Ue=0,oe=(()=>{class ye extends Tt{constructor(F){super(),this._labelId="mat-optgroup-label-"+Ue++,this._inert=F?.inertGroups??!1}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275directiveInject(ut,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 ct=(()=>{class ye extends oe{static#e=this.\u0275fac=function(){let F;return function(Ge){return(F||(F=n.\u0275\u0275getInheritedFactory(ye)))(Ge||ye)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:ye,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(fe,Ge){2&fe&&n.\u0275\u0275attribute("role",Ge._inert?null:"group")("aria-disabled",Ge._inert?null:Ge.disabled.toString())("aria-labelledby",Ge._inert?null:Ge._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,Ge){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",Ge.disabled),n.\u0275\u0275property("id",Ge._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",Ge.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})(),It=0;class kt{constructor(G,F=!1){this.source=G,this.isUserInput=F}}let en=(()=>{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(F){this._disabled=(0,u.Ig)(F)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(F,fe,Ge,At){this._element=F,this._changeDetectorRef=fe,this._parent=Ge,this.group=At,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+It++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new _.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(F=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),F&&this._emitSelectionChangeEvent())}deselect(F=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),F&&this._emitSelectionChangeEvent())}focus(F,fe){const Ge=this._getHostElement();"function"==typeof Ge.focus&&Ge.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(F){(F.keyCode===y.K5||F.keyCode===y.L_)&&!(0,y.Vb)(F)&&(this._selectViaInteraction(),F.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 F=this.viewValue;F!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=F)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(F=!1){this.onSelectionChange.emit(new kt(this,F))}static#e=this.\u0275fac=function(fe){n.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ye,viewQuery:function(fe,Ge){if(1&fe&&n.\u0275\u0275viewQuery(w,7),2&fe){let At;n.\u0275\u0275queryRefresh(At=n.\u0275\u0275loadQuery())&&(Ge._text=At.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return ye})(),on=(()=>{class ye extends en{constructor(F,fe,Ge,At){super(F,fe,Ge,At)}static#e=this.\u0275fac=function(fe){return new(fe||ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ut,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,Ge){1&fe&&n.\u0275\u0275listener("click",function(){return Ge._selectViaInteraction()})("keydown",function(Je){return Ge._handleKeydown(Je)}),2&fe&&(n.\u0275\u0275hostProperty("id",Ge.id),n.\u0275\u0275attribute("aria-selected",Ge.selected)("aria-disabled",Ge.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",Ge.selected)("mat-mdc-option-multiple",Ge.multiple)("mat-mdc-option-active",Ge.active)("mdc-list-item--disabled",Ge.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,Ge){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,k,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",Ge.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!Ge.multiple&&Ge.selected&&!Ge.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ge.group&&Ge.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",Ge._getHostElement())("matRippleDisabled",Ge.disabled||Ge.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 _n(ye,G,F){if(F.length){let fe=G.toArray(),Ge=F.toArray(),At=0;for(let Je=0;Je<ye+1;Je++)fe[Je].group&&fe[Je].group===Ge[At]&&At++;return At}return 0}function Tn(ye,G,F,fe){return ye<F?ye:ye+G>F+fe?Math.max(0,ye-fe+G):F}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:[Gt,c.CommonModule,te,Qt]})}return ye})();const rt={capture:!0},Ie=["focus","click","mouseenter","touchstart"],We="mat-ripple-loader-uninitialized",pt="mat-ripple-loader-class-name",Ot="mat-ripple-loader-centered",Xt="mat-ripple-loader-disabled";let ht=(()=>{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)(Et,{optional:!0}),this._platform=(0,n.inject)(d.t4),this._ngZone=(0,n.inject)(n.NgZone),this._hosts=new Map,this._onInteraction=F=>{if(!(F.target instanceof HTMLElement))return;const Ge=F.target.closest(`[${We}]`);Ge&&this._createRipple(Ge)},this._ngZone.runOutsideAngular(()=>{for(const F of Ie)this._document?.addEventListener(F,this._onInteraction,rt)})}ngOnDestroy(){const F=this._hosts.keys();for(const fe of F)this.destroyRipple(fe);for(const fe of Ie)this._document?.removeEventListener(fe,this._onInteraction,rt)}configureRipple(F,fe){F.setAttribute(We,""),(fe.className||!F.hasAttribute(pt))&&F.setAttribute(pt,fe.className||""),fe.centered&&F.setAttribute(Ot,""),fe.disabled&&F.setAttribute(Xt,"")}getRipple(F){return this._hosts.get(F)||this._createRipple(F)}setDisabled(F,fe){const Ge=this._hosts.get(F);Ge?Ge.disabled=fe:fe?F.setAttribute(Xt,""):F.removeAttribute(Xt)}_createRipple(F){if(!this._document)return;const fe=this._hosts.get(F);if(fe)return fe;F.querySelector(".mat-ripple")?.remove();const Ge=this._document.createElement("span");Ge.classList.add("mat-ripple",F.getAttribute(pt)),F.append(Ge);const At=new jt(new n.ElementRef(Ge),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return At._isInitialized=!0,At.trigger=F,At.centered=F.hasAttribute(Ot),At.disabled=F.hasAttribute(Xt),this.attachRipple(F,At),At}attachRipple(F,fe){F.removeAttribute(We),this._hosts.set(F,fe)}destroyRipple(F){const fe=this._hosts.get(F);fe&&(fe.ngOnDestroy(),this._hosts.delete(F))}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:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>Te,MAT_DIALOG_DEFAULT_OPTIONS:()=>xe,MAT_DIALOG_SCROLL_STRATEGY:()=>ke,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>_t,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>Pe,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Me,MatDialog:()=>ce,MatDialogActions:()=>Et,MatDialogClose:()=>Fe,MatDialogConfig:()=>re,MatDialogContainer:()=>vt,MatDialogContent:()=>ot,MatDialogModule:()=>Gt,MatDialogRef:()=>Ct,MatDialogTitle:()=>lt,_MatDialogBase:()=>tt,_MatDialogContainerBase:()=>H,_closeDialogVia:()=>dt,_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(ut){return new _.y(Tt=>{(0,f.Xf)(ut()).subscribe(Tt)})}var b=a(2096),v=a(9388),w=a(7921);function O(ut,Tt){}class k{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 ut extends d.en{constructor(Ue,oe,De,ct,It,kt,en,on){super(),this._elementRef=Ue,this._focusTrapFactory=oe,this._config=ct,this._interactivityChecker=It,this._ngZone=kt,this._overlayRef=en,this._focusMonitor=on,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=_n=>{this._portalOutlet.hasAttached();const Tn=this._portalOutlet.attachDomPortal(_n);return this._contentAttached(),Tn},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 oe=this._portalOutlet.attachComponentPortal(Ue);return this._contentAttached(),oe}attachTemplatePortal(Ue){this._portalOutlet.hasAttached();const oe=this._portalOutlet.attachTemplatePortal(Ue);return this._contentAttached(),oe}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ue,oe){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(oe)}_focusByCssSelector(Ue,oe){let De=this._elementRef.nativeElement.querySelector(Ue);De&&this._forceFocus(De,oe)}_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(oe=>{oe||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 oe=null;if("string"==typeof Ue?oe=this._document.querySelector(Ue):"boolean"==typeof Ue?oe=Ue?this._elementFocusedBeforeDialogWasOpened:null:Ue&&(oe=Ue),this._config.restoreFocus&&oe&&"function"==typeof oe.focus){const De=(0,c.ht)(),ct=this._elementRef.nativeElement;(!De||De===this._document.body||De===ct||ct.contains(De))&&(this._focusMonitor?(this._focusMonitor.focusVia(oe,this._closeInteractionType),this._closeInteractionType=null):oe.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ue=this._elementRef.nativeElement,oe=(0,c.ht)();return Ue===oe||Ue.contains(oe)}_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(oe){return new(oe||ut)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(g.qV),p.\u0275\u0275directiveInject(s.DOCUMENT,8),p.\u0275\u0275directiveInject(k),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:ut,selectors:[["cdk-dialog-container"]],viewQuery:function(oe,De){if(1&oe&&p.\u0275\u0275viewQuery(d.Pl,7),2&oe){let ct;p.\u0275\u0275queryRefresh(ct=p.\u0275\u0275loadQuery())&&(De._portalOutlet=ct.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(oe,De){2&oe&&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(oe,De){1&oe&&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 ut})();class V{constructor(Tt,Ue){this.overlayRef=Tt,this.config=Ue,this.closed=new m.x,this.disableClose=Ue.disableClose,this.backdropClick=Tt.backdropClick(),this.keydownEvents=Tt.keydownEvents(),this.outsidePointerEvents=Tt.outsidePointerEvents(),this.id=Ue.id,this.keydownEvents.subscribe(oe=>{oe.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(oe)&&(oe.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Tt.detachments().subscribe(()=>{!1!==Ue.closeOnOverlayDetachments&&this.close()})}close(Tt,Ue){if(this.containerInstance){const oe=this.closed;this.containerInstance._closeInteractionType=Ue?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),oe.next(Tt),oe.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Tt="",Ue=""){return this.overlayRef.updateSize({width:Tt,height:Ue}),this}addPanelClass(Tt){return this.overlayRef.addPanelClass(Tt),this}removePanelClass(Tt){return this.overlayRef.removePanelClass(Tt),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(ut){return()=>ut.scrollStrategies.block()}};let te=0,ve=(()=>{class ut{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ue,oe,De,ct,It,kt){this._overlay=Ue,this._injector=oe,this._defaultOptions=De,this._parentDialog=ct,this._overlayContainer=It,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=kt}open(Ue,oe){(oe={...this._defaultOptions||new k,...oe}).id=oe.id||"cdk-dialog-"+te++,oe.id&&this.getDialogById(oe.id);const ct=this._getOverlayConfig(oe),It=this._overlay.create(ct),kt=new V(It,oe),en=this._attachContainer(It,kt,oe);return kt.containerInstance=en,this._attachDialogContent(Ue,kt,en,oe),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(kt),kt.closed.subscribe(()=>this._removeOpenDialog(kt,!0)),this.afterOpened.next(kt),kt}closeAll(){nt(this.openDialogs,Ue=>Ue.close())}getDialogById(Ue){return this.openDialogs.find(oe=>oe.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 oe=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&&(oe.backdropClass=Ue.backdropClass),oe}_attachContainer(Ue,oe,De){const ct=De.injector||De.viewContainerRef?.injector,It=[{provide:k,useValue:De},{provide:V,useValue:oe},{provide:n.Iu,useValue:Ue}];let kt;De.container?"function"==typeof De.container?kt=De.container:(kt=De.container.type,It.push(...De.container.providers(De))):kt=K;const en=new d.C5(kt,De.viewContainerRef,p.Injector.create({parent:ct||this._injector,providers:It}),De.componentFactoryResolver);return Ue.attach(en).instance}_attachDialogContent(Ue,oe,De,ct){if(Ue instanceof p.TemplateRef){const It=this._createInjector(ct,oe,De,void 0);let kt={$implicit:ct.data,dialogRef:oe};ct.templateContext&&(kt={...kt,..."function"==typeof ct.templateContext?ct.templateContext():ct.templateContext}),De.attachTemplatePortal(new d.UE(Ue,null,kt,It))}else{const It=this._createInjector(ct,oe,De,this._injector),kt=De.attachComponentPortal(new d.C5(Ue,ct.viewContainerRef,It,ct.componentFactoryResolver));oe.componentRef=kt,oe.componentInstance=kt.instance}}_createInjector(Ue,oe,De,ct){const It=Ue.injector||Ue.viewContainerRef?.injector,kt=[{provide:W,useValue:Ue.data},{provide:V,useValue:oe}];return Ue.providers&&("function"==typeof Ue.providers?kt.push(...Ue.providers(oe,Ue,De)):kt.push(...Ue.providers)),Ue.direction&&(!It||!It.get(v.Is,null,{optional:!0}))&&kt.push({provide:v.Is,useValue:{value:Ue.direction,change:(0,b.of)()}}),p.Injector.create({parent:It||ct,providers:kt})}_removeOpenDialog(Ue,oe){const De=this.openDialogs.indexOf(Ue);De>-1&&(this.openDialogs.splice(De,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ct,It)=>{ct?It.setAttribute("aria-hidden",ct):It.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),oe&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ue=this._overlayContainer.getContainerElement();if(Ue.parentElement){const oe=Ue.parentElement.children;for(let De=oe.length-1;De>-1;De--){const ct=oe[De];ct!==Ue&&"SCRIPT"!==ct.nodeName&&"STYLE"!==ct.nodeName&&!ct.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ct,ct.getAttribute("aria-hidden")),ct.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ue=this._parentDialog;return Ue?Ue._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(oe){return new(oe||ut)(p.\u0275\u0275inject(n.aV),p.\u0275\u0275inject(p.Injector),p.\u0275\u0275inject(Y,8),p.\u0275\u0275inject(ut,12),p.\u0275\u0275inject(n.Xj),p.\u0275\u0275inject(ee))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac})}return ut})();function nt(ut,Tt){let Ue=ut.length;for(;Ue--;)Tt(ut[Ue])}let be=(()=>{class ut{static#e=this.\u0275fac=function(oe){return new(oe||ut)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:ut});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[ve,ie],imports:[n.U8,d.eL,g.rt,d.eL]})}return ut})();var Ye=a(2495),ge=a(3019),Ne=a(2181),Xe=a(8180),qe=a(3680),q=a(6825);function we(ut,Tt){}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 ut extends K{constructor(Ue,oe,De,ct,It,kt,en,on){super(Ue,oe,De,ct,It,kt,en,on),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(oe){return new(oe||ut)(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:ut,selectors:[["ng-component"]],features:[p.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(oe,De){},encapsulation:2})}return ut})();const Oe="--mat-dialog-transition-duration";function He(ut){return null==ut?null:"number"==typeof ut?ut:ut.endsWith("ms")?(0,Ye.su)(ut.substring(0,ut.length-2)):ut.endsWith("s")?1e3*(0,Ye.su)(ut.substring(0,ut.length-1)):"0"===ut?0:null}let vt=(()=>{class ut extends H{constructor(Ue,oe,De,ct,It,kt,en,on,_n){super(Ue,oe,De,ct,It,kt,en,_n),this._animationMode=on,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,oe){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(oe,Ue)}_requestAnimationFrame(Ue){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ue):Ue()})}static#e=this.\u0275fac=function(oe){return new(oe||ut)(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:ut,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(oe,De){2&oe&&(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(oe,De){1&oe&&(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 ut})();class Ct{constructor(Tt,Ue,oe){this._ref=Tt,this._containerInstance=oe,this._afterOpened=new m.x,this._beforeClosed=new m.x,this._state=0,this.disableClose=Ue.disableClose,this.id=Tt.id,oe._animationStateChanged.pipe((0,Ne.h)(De=>"opened"===De.state),(0,Xe.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),oe._animationStateChanged.pipe((0,Ne.h)(De=>"closed"===De.state),(0,Xe.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Tt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ge.T)(this.backdropClick(),this.keydownEvents().pipe((0,Ne.h)(De=>De.keyCode===u.hY&&!this.disableClose&&!(0,u.Vb)(De)))).subscribe(De=>{this.disableClose||(De.preventDefault(),dt(this,"keydown"===De.type?"keyboard":"mouse"))})}close(Tt){this._result=Tt,this._containerInstance._animationStateChanged.pipe((0,Ne.h)(Ue=>"closing"===Ue.state),(0,Xe.q)(1)).subscribe(Ue=>{this._beforeClosed.next(Tt),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(Tt){let Ue=this._ref.config.positionStrategy;return Tt&&(Tt.left||Tt.right)?Tt.left?Ue.left(Tt.left):Ue.right(Tt.right):Ue.centerHorizontally(),Tt&&(Tt.top||Tt.bottom)?Tt.top?Ue.top(Tt.top):Ue.bottom(Tt.bottom):Ue.centerVertically(),this._ref.updatePosition(),this}updateSize(Tt="",Ue=""){return this._ref.updateSize(Tt,Ue),this}addPanelClass(Tt){return this._ref.addPanelClass(Tt),this}removePanelClass(Tt){return this._ref.removePanelClass(Tt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function dt(ut,Tt,Ue){return ut._closeInteractionType=Tt,ut.close(Ue)}const Te=new p.InjectionToken("MatMdcDialogData"),xe=new p.InjectionToken("mat-mdc-dialog-default-options"),ke=new p.InjectionToken("mat-mdc-dialog-scroll-strategy");function Me(ut){return()=>ut.scrollStrategies.block()}const Pe={provide:ke,deps:[n.aV],useFactory:Me};function _t(ut){return()=>ut.scrollStrategies.block()}let ft=0,tt=(()=>{class ut{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,oe,De,ct,It,kt,en,on,_n,Tn){this._overlay=Ue,this._defaultOptions=De,this._parentDialog=ct,this._dialogRefConstructor=en,this._dialogContainerType=on,this._dialogDataToken=_n,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=kt,this._dialog=oe.get(ve)}open(Ue,oe){let De;(oe={...this._defaultOptions||new re,...oe}).id=oe.id||`${this._idPrefix}${ft++}`,oe.scrollStrategy=oe.scrollStrategy||this._scrollStrategy();const ct=this._dialog.open(Ue,{...oe,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:oe},{provide:k,useValue:oe}]},templateContext:()=>({dialogRef:De}),providers:(It,kt,en)=>(De=new this._dialogRefConstructor(It,oe,en),De.updatePosition(oe?.position),[{provide:this._dialogContainerType,useValue:en},{provide:this._dialogDataToken,useValue:kt.data},{provide:this._dialogRefConstructor,useValue:De}])});return De.componentRef=ct.componentRef,De.componentInstance=ct.componentInstance,this.openDialogs.push(De),this.afterOpened.next(De),De.afterClosed().subscribe(()=>{const It=this.openDialogs.indexOf(De);It>-1&&(this.openDialogs.splice(It,1),this.openDialogs.length||this._getAfterAllClosed().next())}),De}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ue){return this.openDialogs.find(oe=>oe.id===Ue)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ue){let oe=Ue.length;for(;oe--;)Ue[oe].close()}static#e=this.\u0275fac=function(oe){p.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac})}return ut})(),ce=(()=>{class ut extends tt{constructor(Ue,oe,De,ct,It,kt,en,on){super(Ue,oe,ct,kt,en,It,Ct,vt,Te,on),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(oe){return new(oe||ut)(p.\u0275\u0275inject(n.aV),p.\u0275\u0275inject(p.Injector),p.\u0275\u0275inject(s.Location,8),p.\u0275\u0275inject(xe,8),p.\u0275\u0275inject(ke),p.\u0275\u0275inject(ut,12),p.\u0275\u0275inject(n.Xj),p.\u0275\u0275inject(p.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=p.\u0275\u0275defineInjectable({token:ut,factory:ut.\u0275fac})}return ut})(),Ee=0,Fe=(()=>{class ut{constructor(Ue,oe,De){this.dialogRef=Ue,this._elementRef=oe,this._dialog=De,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=jt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ue){const oe=Ue._matDialogClose||Ue._matDialogCloseResult;oe&&(this.dialogResult=oe.currentValue)}_onButtonClick(Ue){dt(this.dialogRef,0===Ue.screenX&&0===Ue.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(oe){return new(oe||ut)(p.\u0275\u0275directiveInject(Ct,8),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(ce))};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:ut,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(oe,De){1&oe&&p.\u0275\u0275listener("click",function(It){return De._onButtonClick(It)}),2&oe&&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 ut})(),lt=(()=>{class ut{constructor(Ue,oe,De){this._dialogRef=Ue,this._elementRef=oe,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 oe=Ue.indexOf(this.id);oe>-1&&Ue.splice(oe,1)})}static#e=this.\u0275fac=function(oe){return new(oe||ut)(p.\u0275\u0275directiveInject(Ct,8),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(ce))};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:ut,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(oe,De){2&oe&&p.\u0275\u0275hostProperty("id",De.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return ut})(),ot=(()=>{class ut{static#e=this.\u0275fac=function(oe){return new(oe||ut)};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:ut,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return ut})(),Et=(()=>{class ut{constructor(){this.align="start"}static#e=this.\u0275fac=function(oe){return new(oe||ut)};static#t=this.\u0275dir=p.\u0275\u0275defineDirective({type:ut,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(oe,De){2&oe&&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 ut})();function jt(ut,Tt){let Ue=ut.nativeElement.parentElement;for(;Ue&&!Ue.classList.contains("mat-mdc-dialog-container");)Ue=Ue.parentElement;return Ue?Tt.find(oe=>oe.id===Ue.id):null}let Gt=(()=>{class ut{static#e=this.\u0275fac=function(oe){return new(oe||ut)};static#t=this.\u0275mod=p.\u0275\u0275defineNgModule({type:ut});static#n=this.\u0275inj=p.\u0275\u0275defineInjector({providers:[ce,Pe],imports:[be,n.U8,d.eL,qe.MatCommonModule,qe.MatCommonModule]})}return ut})();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:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{ICON_REGISTRY_PROVIDER:()=>qe,ICON_REGISTRY_PROVIDER_FACTORY:()=>Xe,MAT_ICON_DEFAULT_OPTIONS:()=>z,MAT_ICON_LOCATION:()=>$,MAT_ICON_LOCATION_FACTORY:()=>U,MatIcon:()=>He,MatIconModule:()=>vt,MatIconRegistry:()=>Ne,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 k(Ct){return(0,O.e)((dt,Te)=>{let Me,xe=null,ke=!1;xe=dt.subscribe((0,w.x)(Te,void 0,void 0,Pe=>{Me=(0,v.Xf)(Ct(Pe,k(Ct)(dt))),xe?(xe.unsubscribe(),xe=null,Me.subscribe(Te)):ke=!0})),ke&&(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:dt=>dt}))}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 ge{constructor(dt,Te,xe){this.url=dt,this.svgText=Te,this.options=xe}}let Ne=(()=>{class Ct{constructor(Te,xe,ke,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=ke}addSvgIcon(Te,xe,ke){return this.addSvgIconInNamespace("",Te,xe,ke)}addSvgIconLiteral(Te,xe,ke){return this.addSvgIconLiteralInNamespace("",Te,xe,ke)}addSvgIconInNamespace(Te,xe,ke,Me){return this._addSvgIconConfig(Te,xe,new ge(ke,null,Me))}addSvgIconResolver(Te){return this._resolvers.push(Te),this}addSvgIconLiteralInNamespace(Te,xe,ke,Me){const Pe=this._sanitizer.sanitize(n.SecurityContext.HTML,ke);if(!Pe)throw Ye(ke);const _t=te(Pe);return this._addSvgIconConfig(Te,xe,new ge("",_t,Me))}addSvgIconSet(Te,xe){return this.addSvgIconSetInNamespace("",Te,xe)}addSvgIconSetLiteral(Te,xe){return this.addSvgIconSetLiteralInNamespace("",Te,xe)}addSvgIconSetInNamespace(Te,xe,ke){return this._addSvgIconSetConfig(Te,new ge(xe,null,ke))}addSvgIconSetLiteralInNamespace(Te,xe,ke){const Me=this._sanitizer.sanitize(n.SecurityContext.HTML,xe);if(!Me)throw Ye(xe);const Pe=te(Me);return this._addSvgIconSetConfig(Te,new ge("",Pe,ke))}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 ke=this._cachedIconsByUrl.get(xe);return ke?(0,c.of)(q(ke)):this._loadSvgIconFromConfig(new ge(Te,null)).pipe((0,y.b)(Me=>this._cachedIconsByUrl.set(xe,Me)),(0,b.U)(Me=>q(Me)))}getNamedSvgIcon(Te,xe=""){const ke=we(xe,Te);let Me=this._svgIconConfigs.get(ke);if(Me)return this._getSvgFromConfig(Me);if(Me=this._getIconConfigFromResolvers(xe,Te),Me)return this._svgIconConfigs.set(ke,Me),this._getSvgFromConfig(Me);const Pe=this._iconSetConfigs.get(xe);return Pe?this._getSvgFromIconSetConfigs(Te,Pe):function m(Ct,dt){const Te=(0,u.m)(Ct)?Ct:()=>Ct,xe=ke=>ke.error(Te());return new d.y(dt?ke=>dt.schedule(xe,0,ke):xe)}(ve(ke))}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 ke=this._extractIconWithNameFromAnySet(Te,xe);if(ke)return(0,c.of)(ke);const Me=xe.filter(Pe=>!Pe.svgText).map(Pe=>this._loadSvgIconSetFromConfig(Pe).pipe(k(_t=>{const tt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Pe.url)} failed: ${_t.message}`;return this._errorHandler.handleError(new Error(tt)),(0,c.of)(null)})));return(0,_.D)(Me).pipe((0,b.U)(()=>{const Pe=this._extractIconWithNameFromAnySet(Te,xe);if(!Pe)throw ve(Te);return Pe}))}_extractIconWithNameFromAnySet(Te,xe){for(let ke=xe.length-1;ke>=0;ke--){const Me=xe[ke];if(Me.svgText&&Me.svgText.toString().indexOf(Te)>-1){const Pe=this._svgElementFromConfig(Me),_t=this._extractSvgIconFromSet(Pe,Te,Me.options);if(_t)return _t}}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,ke){const Me=Te.querySelector(`[id="${xe}"]`);if(!Me)return null;const Pe=Me.cloneNode(!0);if(Pe.removeAttribute("id"),"svg"===Pe.nodeName.toLowerCase())return this._setSvgAttributes(Pe,ke);if("symbol"===Pe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Pe),ke);const _t=this._svgElementFromString(te("<svg></svg>"));return _t.appendChild(Pe),this._setSvgAttributes(_t,ke)}_svgElementFromString(Te){const xe=this._document.createElement("DIV");xe.innerHTML=Te;const ke=xe.querySelector("svg");if(!ke)throw Error("<svg> tag not found");return ke}_toSvgElement(Te){const xe=this._svgElementFromString(te("<svg></svg>")),ke=Te.attributes;for(let Me=0;Me<ke.length;Me++){const{name:Pe,value:_t}=ke[Me];"id"!==Pe&&xe.setAttribute(Pe,_t)}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:ke}=Te,Me=ke?.withCredentials??!1;if(!this._httpClient)throw nt();if(null==xe)throw Error(`Cannot fetch icon from URL "${xe}".`);const Pe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,xe);if(!Pe)throw be(xe);const _t=this._inProgressUrlFetches.get(Pe);if(_t)return _t;const ft=this._httpClient.get(Pe,{responseType:"text",withCredentials:Me}).pipe((0,b.U)(tt=>te(tt)),(0,S.x)(()=>this._inProgressUrlFetches.delete(Pe)),(0,K.B)());return this._inProgressUrlFetches.set(Pe,ft),ft}_addSvgIconConfig(Te,xe,ke){return this._svgIconConfigs.set(we(Te,xe),ke),this}_addSvgIconSetConfig(Te,xe){const ke=this._iconSetConfigs.get(Te);return ke?ke.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 ke=0;ke<this._resolvers.length;ke++){const Me=this._resolvers[ke](xe,Te);if(Me)return re(Me)?new ge(Me.url,null,Me.options):new ge(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,dt,Te,xe,ke){return Ct||new Ne(dt,Te,ke,xe)}const qe={provide:Ne,deps:[[new n.Optional,new n.SkipSelf,Ne],[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,dt){return Ct+":"+dt}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),dt=Ct?Ct.location:null;return{getPathname:()=>dt?dt.pathname+dt.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,ke,Me,Pe,_t){super(Te),this._iconRegistry=xe,this._location=Me,this._errorHandler=Pe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.w0.EMPTY,_t&&(_t.color&&(this.color=this.defaultColor=_t.color),_t.fontSet&&(this.fontSet=_t.fontSet)),ke||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 ke=Te.childNodes[xe];(1!==ke.nodeType||"svg"===ke.nodeName.toLowerCase())&&ke.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Te=this._elementRef.nativeElement,xe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ke=>ke.length>0);this._previousFontSetClass.forEach(ke=>Te.classList.remove(ke)),xe.forEach(ke=>Te.classList.add(ke)),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((ke,Me)=>{ke.forEach(Pe=>{Me.setAttribute(Pe.name,`url('${Te}#${Pe.value}')`)})})}_cacheChildrenWithExternalReferences(Te){const xe=Te.querySelectorAll(H),ke=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Me=0;Me<xe.length;Me++)R.forEach(Pe=>{const _t=xe[Me],ft=_t.getAttribute(Pe),tt=ft?ft.match(Oe):null;if(tt){let ce=ke.get(_t);ce||(ce=[],ke.set(_t,ce)),ce.push({name:Pe,value:tt[1]})}})}_updateSvgIcon(Te){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Te){const[xe,ke]=this._splitIconName(Te);xe&&(this._svgNamespace=xe),ke&&(this._svgName=ke),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ke,xe).pipe((0,V.q)(1)).subscribe(Me=>this._setSvgElement(Me),Me=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${xe}:${ke}! ${Me.message}`))})}}static#e=this.\u0275fac=function(xe){return new(xe||Ct)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ne),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,ke){2&xe&&(n.\u0275\u0275attribute("data-mat-icon-type",ke._usingFontIcon()?"font":"svg")("data-mat-icon-name",ke._svgName||ke.fontIcon)("data-mat-icon-namespace",ke._svgNamespace||ke.fontSet)("fontIcon",ke._usingFontIcon()?ke.fontIcon:null),n.\u0275\u0275classProp("mat-icon-inline",ke.inline)("mat-icon-no-color","primary"!==ke.color&&"accent"!==ke.color&&"warn"!==ke.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,ke){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:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>Te,MAT_MENU_DEFAULT_OPTIONS:()=>tt,MAT_MENU_PANEL:()=>H,MAT_MENU_SCROLL_STRATEGY:()=>lt,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Et,MENU_PANEL_TOP_PADDING:()=>Gt,MatMenu:()=>Fe,MatMenuContent:()=>ke,MatMenuItem:()=>He,MatMenuModule:()=>ut,MatMenuTrigger:()=>Qt,_MatMenuBase:()=>Ee,_MatMenuContentBase:()=>xe,_MatMenuTriggerBase:()=>Zt,fadeInItems:()=>Pe,matMenuAnimations:()=>Me,transformMenu:()=>_t});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),k=a(5211),S=a(9360),K=a(8251),V=a(2420),W=a(7398),ue=a(1631),ie=a(4829);function te(Tt,Ue){return Ue?oe=>(0,k.z)(Ue.pipe((0,b.q)(1),function ee(){return(0,S.e)((Tt,Ue)=>{Tt.subscribe((0,K.x)(Ue,V.Z))})}()),oe.pipe(te(Tt))):(0,ue.z)((oe,De)=>(0,ie.Xf)(Tt(oe,De)).pipe((0,b.q)(1),function Y(Tt){return(0,W.U)(()=>Tt)}(oe)))}var ve=a(4825);function nt(Tt,Ue=O.z){const oe=(0,ve.H)(Tt,Ue);return te(()=>oe)}var be=a(3680),Ye=a(6814),ge=a(8484),Ne=a(6825),Xe=a(9388),qe=a(9594),q=a(2831),we=a(9829);const re=["mat-menu-item",""];function J(Tt,Ue){1&Tt&&(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(Tt,Ue){if(1&Tt){const oe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(ct){n.\u0275\u0275restoreView(oe);const It=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(It._handleKeydown(ct))})("click",function(){n.\u0275\u0275restoreView(oe);const ct=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(ct.closed.emit("click"))})("@transformMenu.start",function(ct){n.\u0275\u0275restoreView(oe);const It=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(It._onAnimationStart(ct))})("@transformMenu.done",function(ct){n.\u0275\u0275restoreView(oe);const It=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(It._onAnimationDone(ct))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&Tt){const oe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",oe.panelId)("ngClass",oe._classList)("@transformMenu",oe._panelAnimationState),n.\u0275\u0275attribute("aria-label",oe.ariaLabel||null)("aria-labelledby",oe.ariaLabelledby||null)("aria-describedby",oe.ariaDescribedby||null)}}const R=["*"],H=new n.InjectionToken("MAT_MENU_PANEL"),Oe=(0,be.mixinDisableRipple)((0,be.mixinDisabled)(class{}));let He=(()=>{class Tt extends Oe{constructor(oe,De,ct,It,kt){super(),this._elementRef=oe,this._document=De,this._focusMonitor=ct,this._parentMenu=It,this._changeDetectorRef=kt,this.role="menuitem",this._hovered=new c.x,this._focused=new c.x,this._highlighted=!1,this._triggersSubmenu=!1,It?.addItem?.(this)}focus(oe,De){this._focusMonitor&&oe?this._focusMonitor.focusVia(this._getHostElement(),oe,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(oe){this.disabled&&(oe.preventDefault(),oe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const oe=this._elementRef.nativeElement.cloneNode(!0),De=oe.querySelectorAll("mat-icon, .material-icons");for(let ct=0;ct<De.length;ct++)De[ct].remove();return oe.textContent?.trim()||""}_setHighlighted(oe){this._highlighted=oe,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(oe){this._triggersSubmenu=oe,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(De){return new(De||Tt)(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:Tt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(De,ct){1&De&&n.\u0275\u0275listener("click",function(kt){return ct._checkDisabled(kt)})("mouseenter",function(){return ct._handleMouseEnter()}),2&De&&(n.\u0275\u0275attribute("role",ct.role)("tabindex",ct._getTabIndex())("aria-disabled",ct.disabled)("disabled",ct.disabled||null),n.\u0275\u0275classProp("mat-mdc-menu-item-highlighted",ct._highlighted)("mat-mdc-menu-item-submenu-trigger",ct._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,ct){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",ct.disableRipple||ct.disabled)("matRippleTrigger",ct._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",ct._triggersSubmenu))},dependencies:[Ye.NgIf,be.MatRipple],encapsulation:2,changeDetection:0})}return Tt})();const Te=new n.InjectionToken("MatMenuContent");let xe=(()=>{class Tt{constructor(oe,De,ct,It,kt,en,on){this._template=oe,this._componentFactoryResolver=De,this._appRef=ct,this._injector=It,this._viewContainerRef=kt,this._document=en,this._changeDetectorRef=on,this._attached=new c.x}attach(oe={}){this._portal||(this._portal=new ge.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ge.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,oe),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||Tt)(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:Tt})}return Tt})(),ke=(()=>{class Tt extends xe{static#e=this.\u0275fac=function(){let oe;return function(ct){return(oe||(oe=n.\u0275\u0275getInheritedFactory(Tt)))(ct||Tt)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Tt,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Te,useExisting:Tt}]),n.\u0275\u0275InheritDefinitionFeature]})}return Tt})();const Me={transformMenu:(0,Ne.X$)("transformMenu",[(0,Ne.SB)("void",(0,Ne.oB)({opacity:0,transform:"scale(0.8)"})),(0,Ne.eR)("void => enter",(0,Ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Ne.oB)({opacity:1,transform:"scale(1)"}))),(0,Ne.eR)("* => void",(0,Ne.jt)("100ms 25ms linear",(0,Ne.oB)({opacity:0})))]),fadeInItems:(0,Ne.X$)("fadeInItems",[(0,Ne.SB)("showing",(0,Ne.oB)({opacity:1})),(0,Ne.eR)("void => *",[(0,Ne.oB)({opacity:0}),(0,Ne.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Pe=Me.fadeInItems,_t=Me.transformMenu;let ft=0;const tt=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ce(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ee=(()=>{class Tt{get xPosition(){return this._xPosition}set xPosition(oe){this._xPosition=oe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(oe){this._yPosition=oe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(oe){this._overlapTrigger=(0,p.Ig)(oe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(oe){this._hasBackdrop=(0,p.Ig)(oe)}set panelClass(oe){const De=this._previousPanelClass;De&&De.length&&De.split(" ").forEach(ct=>{this._classList[ct]=!1}),this._previousPanelClass=oe,oe&&oe.length&&(oe.split(" ").forEach(ct=>{this._classList[ct]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(oe){this.panelClass=oe}constructor(oe,De,ct,It){this._elementRef=oe,this._ngZone=De,this._changeDetectorRef=It,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-"+ft++,this.overlayPanelClass=ct.overlayPanelClass||"",this._xPosition=ct.xPosition,this._yPosition=ct.yPosition,this.backdropClass=ct.backdropClass,this._overlapTrigger=ct.overlapTrigger,this._hasBackdrop=ct.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)(oe=>(0,d.T)(...oe.map(De=>De._focused)))).subscribe(oe=>this._keyManager.updateActiveItem(oe)),this._directDescendantItems.changes.subscribe(oe=>{const De=this._keyManager;if("enter"===this._panelAnimationState&&De.activeItem?._hasFocus()){const ct=oe.toArray(),It=Math.max(0,Math.min(ct.length-1,De.activeItemIndex||0));ct[It]&&!ct[It].disabled?De.setActiveItem(It):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(ct=>ct._hovered))))}addItem(oe){}removeItem(oe){}_handleKeydown(oe){const De=oe.keyCode,ct=this._keyManager;switch(De){case g.hY:(0,g.Vb)(oe)||(oe.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)&&ct.setFocusOrigin("keyboard"),void ct.onKeydown(oe)}oe.stopPropagation()}focusFirstItem(oe="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 ct=this._keyManager;ct.setFocusOrigin(oe).setFirstItemActive(),!ct.activeItem&&De&&De.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(oe){const De=Math.min(this._baseElevation+oe,24),ct=`${this._elevationPrefix}${De}`,It=Object.keys(this._classList).find(kt=>kt.startsWith(this._elevationPrefix));(!It||It===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ct]=!0,this._previousElevation=ct)}setPositionClasses(oe=this.xPosition,De=this.yPosition){const ct=this._classList;ct["mat-menu-before"]="before"===oe,ct["mat-menu-after"]="after"===oe,ct["mat-menu-above"]="above"===De,ct["mat-menu-below"]="below"===De,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(oe){this._animationDone.next(oe),this._isAnimating=!1}_onAnimationStart(oe){this._isAnimating=!0,"enter"===oe.toState&&0===this._keyManager.activeItemIndex&&(oe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,f.O)(this._allItems)).subscribe(oe=>{this._directDescendantItems.reset(oe.filter(De=>De._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(De){return new(De||Tt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(tt),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Tt,contentQueries:function(De,ct,It){if(1&De&&(n.\u0275\u0275contentQuery(It,Te,5),n.\u0275\u0275contentQuery(It,He,5),n.\u0275\u0275contentQuery(It,He,4)),2&De){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(ct.lazyContent=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(ct._allItems=kt),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(ct.items=kt)}},viewQuery:function(De,ct){if(1&De&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&De){let It;n.\u0275\u0275queryRefresh(It=n.\u0275\u0275loadQuery())&&(ct.templateRef=It.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 Tt})(),Fe=(()=>{class Tt extends Ee{constructor(oe,De,ct,It){super(oe,De,ct,It),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(De){return new(De||Tt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(tt),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Tt,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(De,ct){2&De&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:H,useExisting:Tt}]),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,ct){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 Tt})();const lt=new n.InjectionToken("mat-menu-scroll-strategy"),Et={provide:lt,deps:[qe.aV],useFactory:function ot(Tt){return()=>Tt.scrollStrategies.reposition()}},jt=(0,q.i$)({passive:!0}),Gt=8;let Zt=(()=>{class Tt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(oe){this.menu=oe}get menu(){return this._menu}set menu(oe){oe!==this._menu&&(this._menu=oe,this._menuCloseSubscription.unsubscribe(),oe&&(this._menuCloseSubscription=oe.close.subscribe(De=>{this._destroyMenu(De),("click"===De||"tab"===De)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(De)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(oe,De,ct,It,kt,en,on,_n,Tn){this._overlay=oe,this._element=De,this._viewContainerRef=ct,this._menuItemInstance=en,this._dir=on,this._focusMonitor=_n,this._ngZone=Tn,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=It,this._parentMaterialMenu=kt instanceof Ee?kt: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 oe=this.menu;if(this._menuOpen||!oe)return;const De=this._createOverlay(oe),ct=De.getConfig(),It=ct.positionStrategy;this._setPosition(oe,It),ct.hasBackdrop=null==oe.hasBackdrop?!this.triggersSubmenu():oe.hasBackdrop,De.attach(this._getPortal(oe)),oe.lazyContent&&oe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(oe),oe instanceof Ee&&(oe._startAnimation(),oe._directDescendantItems.changes.pipe((0,v.R)(oe.close)).subscribe(()=>{It.withLockedPosition(!1).reapplyLastPosition(),It.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(oe,De){this._focusMonitor&&oe?this._focusMonitor.focusVia(this._element,oe,De):this._element.nativeElement.focus(De)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(oe){if(!this._overlayRef||!this.menuOpen)return;const De=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===oe||!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)(ct=>"void"===ct.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(oe){oe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,oe.direction=this.dir,this._setMenuElevation(oe),oe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(oe){if(oe.setElevation){let De=0,ct=oe.parentMenu;for(;ct;)De++,ct=ct.parentMenu;oe.setElevation(De)}}_setIsMenuOpen(oe){oe!==this._menuOpen&&(this._menuOpen=oe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(oe),this._changeDetectorRef.markForCheck())}_createOverlay(oe){if(!this._overlayRef){const De=this._getOverlayConfig(oe);this._subscribeToPositions(oe,De.positionStrategy),this._overlayRef=this._overlay.create(De),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(oe){return new qe.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:oe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:oe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(oe,De){oe.setPositionClasses&&De.positionChanges.subscribe(ct=>{const It="start"===ct.connectionPair.overlayX?"after":"before",kt="top"===ct.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>oe.setPositionClasses(It,kt)):oe.setPositionClasses(It,kt)})}_setPosition(oe,De){let[ct,It]="before"===oe.xPosition?["end","start"]:["start","end"],[kt,en]="above"===oe.yPosition?["bottom","top"]:["top","bottom"],[on,_n]=[kt,en],[Tn,yt]=[ct,It],rt=0;if(this.triggersSubmenu()){if(yt=ct="before"===oe.xPosition?"start":"end",It=Tn="end"===ct?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ie=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ie?Ie._getHostElement().offsetTop:0}rt="bottom"===kt?this._parentInnerPadding:-this._parentInnerPadding}}else oe.overlapTrigger||(on="top"===kt?"bottom":"top",_n="top"===en?"bottom":"top");De.withPositions([{originX:ct,originY:on,overlayX:Tn,overlayY:kt,offsetY:rt},{originX:It,originY:on,overlayX:yt,overlayY:kt,offsetY:rt},{originX:ct,originY:_n,overlayX:Tn,overlayY:en,offsetY:-rt},{originX:It,originY:_n,overlayX:yt,overlayY:en,offsetY:-rt}])}_menuClosingActions(){const oe=this._overlayRef.backdropClick(),De=this._overlayRef.detachments(),ct=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,m.of)(),It=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,w.h)(kt=>kt!==this._menuItemInstance),(0,w.h)(()=>this._menuOpen)):(0,m.of)();return(0,d.T)(oe,ct,It,De)}_handleMousedown(oe){(0,s.X6)(oe)||(this._openedBy=0===oe.button?"mouse":void 0,this.triggersSubmenu()&&oe.preventDefault())}_handleKeydown(oe){const De=oe.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(oe){this.triggersSubmenu()?(oe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,w.h)(oe=>oe===this._menuItemInstance&&!oe.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(oe){return(!this._portal||this._portal.templateRef!==oe.templateRef)&&(this._portal=new ge.UE(oe.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(De){return new(De||Tt)(n.\u0275\u0275directiveInject(qe.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(lt),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:Tt,hostVars:3,hostBindings:function(De,ct){1&De&&n.\u0275\u0275listener("click",function(kt){return ct._handleClick(kt)})("mousedown",function(kt){return ct._handleMousedown(kt)})("keydown",function(kt){return ct._handleKeydown(kt)}),2&De&&n.\u0275\u0275attribute("aria-haspopup",ct.menu?"menu":null)("aria-expanded",ct.menuOpen)("aria-controls",ct.menuOpen?ct.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 Tt})(),Qt=(()=>{class Tt extends Zt{static#e=this.\u0275fac=function(){let oe;return function(ct){return(oe||(oe=n.\u0275\u0275getInheritedFactory(Tt)))(ct||Tt)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Tt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return Tt})(),ut=(()=>{class Tt{static#e=this.\u0275fac=function(De){return new(De||Tt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Tt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[Et],imports:[Ye.CommonModule,be.MatRippleModule,be.MatCommonModule,qe.U8,we.ZD,be.MatCommonModule]})}return Tt})()},1370:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>$e,MatCellDef:()=>wt,MatColumnDef:()=>wn,MatFooterCell:()=>Qe,MatFooterCellDef:()=>bn,MatFooterRow:()=>nn,MatFooterRowDef:()=>xt,MatHeaderCell:()=>un,MatHeaderCellDef:()=>Ht,MatHeaderRow:()=>Pt,MatHeaderRowDef:()=>at,MatNoDataRow:()=>yn,MatRecycleRows:()=>Re,MatRow:()=>zt,MatRowDef:()=>Ft,MatTable:()=>Le,MatTableDataSource:()=>mn,MatTableModule:()=>Fn,MatTextColumn:()=>Vn,_MatTableDataSource:()=>kn});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()},pe=>{this._teardown(),X.error(pe)},()=>this._teardown()))),st.closed&&(this._connection=null,st=c.w0.EMPTY)}return st}refCount(){return function m(){return(0,d.e)((_e,st)=>{let X=null;_e._refCount++;const pe=(0,u.x)(st,void 0,void 0,void 0,()=>{if(!_e||_e._refCount<=0||0<--_e._refCount)return void(X=null);const ne=_e._connection,et=X;X=null,ne&&(!et||ne===et)&&ne.unsubscribe(),st.unsubscribe()});_e.subscribe(pe),pe.closed||(X=_e.connect())})}()(this)}}class f{}function y(_e){return _e&&"function"==typeof _e.connect&&!(_e instanceof _)}class v{applyChanges(st,X,pe,ne,et){st.forEachOperation((L,Ve,je)=>{let $t,Bt;if(null==L.previousIndex){const Cn=pe(L,Ve,je);$t=X.createEmbeddedView(Cn.templateRef,Cn.context,Cn.index),Bt=1}else null==je?(X.remove(Ve),Bt=3):($t=X.get(Ve),X.move($t,je),Bt=2);et&&et({context:$t?.context,operation:Bt,record:L})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(st,X,pe,ne,et){st.forEachOperation((L,Ve,je)=>{let $t,Bt;null==L.previousIndex?($t=this._insertView(()=>pe(L,Ve,je),je,X,ne(L)),Bt=$t?1:0):null==je?(this._detachAndCacheView(Ve,X),Bt=3):($t=this._moveView(Ve,je,X,ne(L)),Bt=2),et&&et({context:$t?.context,operation:Bt,record:L})})}detach(){for(const st of this._viewCache)st.destroy();this._viewCache=[]}_insertView(st,X,pe,ne){const et=this._insertViewFromCache(X,pe);if(et)return void(et.context.$implicit=ne);const L=st();return pe.createEmbeddedView(L.templateRef,L.context,L.index)}_detachAndCacheView(st,X){const pe=X.detach(st);this._maybeCacheView(pe,X)}_moveView(st,X,pe,ne){const et=pe.get(st);return pe.move(et,X),et.context.$implicit=ne,et}_maybeCacheView(st,X){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(st);else{const pe=X.indexOf(st);-1===pe?st.destroy():X.remove(pe)}}_insertViewFromCache(st,X){const pe=this._viewCache.pop();return pe&&X.insert(pe,st),pe||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 ge=[[["caption"]],[["colgroup"],["col"]]],Ne=["caption","colgroup, col"];function Xe(_e,st){if(1&_e&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_e){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",X.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",X.headerText," ")}}function qe(_e,st){if(1&_e&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_e){const X=st.$implicit,pe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",pe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",pe.dataAccessor(X,pe.name)," ")}}function q(_e){return class extends _e{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 _e{constructor(X){this.template=X}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkCellDef",""]]})}return _e})(),z=(()=>{class _e{constructor(X){this.template=X}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkHeaderCellDef",""]]})}return _e})(),$=(()=>{class _e{constructor(X){this.template=X}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkFooterCellDef",""]]})}return _e})();class U{}const R=q(U);let H=(()=>{class _e extends R{get name(){return this._name}set name(X){this._setNameInput(X)}get stickyEnd(){return this._stickyEnd}set stickyEnd(X){const pe=this._stickyEnd;this._stickyEnd=(0,p.Ig)(X),this._hasStickyChanged=pe!==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(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkColumnDef",""]],contentQueries:function(pe,ne,et){if(1&pe&&(n.\u0275\u0275contentQuery(et,J,5),n.\u0275\u0275contentQuery(et,z,5),n.\u0275\u0275contentQuery(et,$,5)),2&pe){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:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})();class Oe{constructor(st,X){X.nativeElement.classList.add(...st._columnCssClassName)}}let He=(()=>{class _e extends Oe{constructor(X,pe){super(X,pe)}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),vt=(()=>{class _e extends Oe{constructor(X,pe){if(super(X,pe),1===X._table?._elementRef.nativeElement.nodeType){const ne=X._table._elementRef.nativeElement.getAttribute("role");pe.nativeElement.setAttribute("role","grid"===ne||"treegrid"===ne?"gridcell":"cell")}}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ct=(()=>{class _e extends Oe{constructor(X,pe){if(super(X,pe),1===X._table?._elementRef.nativeElement.nodeType){const ne=X._table._elementRef.nativeElement.getAttribute("role");pe.nativeElement.setAttribute("role","grid"===ne||"treegrid"===ne?"gridcell":"cell")}}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(H),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return _e})();class dt{constructor(){this.tasks=[],this.endTasks=[]}}const Te=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let xe=(()=>{class _e{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 dt,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 dt;for(const pe of X.tasks)pe();for(const pe of X.endTasks)pe()}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(pe){return new(pe||_e)(n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Me=(()=>{class _e{constructor(X,pe){this.template=X,this._differs=pe}ngOnChanges(X){if(!this._columnsDiffer){const pe=X.columns&&X.columns.currentValue||[];this._columnsDiffer=this._differs.find(pe).create(),this._columnsDiffer.diff(pe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(X){return this instanceof ft?X.headerCell.template:this instanceof Ee?X.footerCell.template:X.cell.template}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,features:[n.\u0275\u0275NgOnChangesFeature]})}return _e})();class Pe extends Me{}const _t=q(Pe);let ft=(()=>{class _e extends _t{constructor(X,pe,ne){super(X,pe),this._table=ne}ngOnChanges(X){super.ngOnChanges(X)}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return _e})();class tt extends Me{}const ce=q(tt);let Ee=(()=>{class _e extends ce{constructor(X,pe,ne){super(X,pe),this._table=ne}ngOnChanges(X){super.ngOnChanges(X)}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return _e})(),Fe=(()=>{class _e extends Me{constructor(X,pe,ne){super(X,pe),this._table=ne}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(we,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),lt=(()=>{class _e{static#e=this.mostRecentCellOutlet=null;constructor(X){this._viewContainer=X,_e.mostRecentCellOutlet=this}ngOnDestroy(){_e.mostRecentCellOutlet===this&&(_e.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","cdkCellOutlet",""]]})}return _e})(),ot=(()=>{class _e{static#e=this.\u0275fac=function(pe){return new(pe||_e)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pe,ne){1&pe&&n.\u0275\u0275elementContainer(0,0)},dependencies:[lt],encapsulation:2})}return _e})(),Et=(()=>{class _e{static#e=this.\u0275fac=function(pe){return new(pe||_e)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pe,ne){1&pe&&n.\u0275\u0275elementContainer(0,0)},dependencies:[lt],encapsulation:2})}return _e})(),jt=(()=>{class _e{static#e=this.\u0275fac=function(pe){return new(pe||_e)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pe,ne){1&pe&&n.\u0275\u0275elementContainer(0,0)},dependencies:[lt],encapsulation:2})}return _e})(),Gt=(()=>{class _e{constructor(X){this.templateRef=X,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","cdkNoDataRow",""]]})}return _e})();const Zt=["top","bottom","left","right"];class Qt{constructor(st,X,pe,ne,et=!0,L=!0,Ve){this._isNativeHtmlTable=st,this._stickCellCss=X,this.direction=pe,this._coalescedStyleScheduler=ne,this._isBrowser=et,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 pe=[];for(const ne of st)if(ne.nodeType===ne.ELEMENT_NODE){pe.push(ne);for(let et=0;et<ne.children.length;et++)pe.push(ne.children[et])}this._coalescedStyleScheduler.schedule(()=>{for(const ne of pe)this._removeStickyStyle(ne,X)})}updateStickyColumns(st,X,pe,ne=!0){if(!st.length||!this._isBrowser||!X.some(Sn=>Sn)&&!pe.some(Sn=>Sn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const et=st[0],L=et.children.length,Ve=this._getCellWidths(et,ne),je=this._getStickyStartColumnPositions(Ve,X),$t=this._getStickyEndColumnPositions(Ve,pe),Bt=X.lastIndexOf(!0),Cn=pe.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Sn="rtl"===this.direction,zn=Sn?"right":"left",ti=Sn?"left":"right";for(const Pi of st)for(let ni=0;ni<L;ni++){const Ji=Pi.children[ni];X[ni]&&this._addStickyStyle(Ji,zn,je[ni],ni===Bt),pe[ni]&&this._addStickyStyle(Ji,ti,$t[ni],ni===Cn)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Bt?[]:Ve.slice(0,Bt+1).map((Pi,ni)=>X[ni]?Pi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Cn?[]:Ve.slice(Cn).map((Pi,ni)=>pe[ni+Cn]?Pi:null).reverse()}))})}stickRows(st,X,pe){if(!this._isBrowser)return;const ne="bottom"===pe?st.slice().reverse():st,et="bottom"===pe?X.slice().reverse():X,L=[],Ve=[],je=[];for(let Bt=0,Cn=0;Bt<ne.length;Bt++){if(!et[Bt])continue;L[Bt]=Cn;const Sn=ne[Bt];je[Bt]=this._isNativeHtmlTable?Array.from(Sn.children):[Sn];const zn=Sn.getBoundingClientRect().height;Cn+=zn,Ve[Bt]=zn}const $t=et.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Bt=0;Bt<ne.length;Bt++){if(!et[Bt])continue;const Cn=L[Bt],Sn=Bt===$t;for(const zn of je[Bt])this._addStickyStyle(zn,pe,Cn,Sn)}"top"===pe?this._positionListener?.stickyHeaderRowsUpdated({sizes:Ve,offsets:L,elements:je}):this._positionListener?.stickyFooterRowsUpdated({sizes:Ve,offsets:L,elements:je})})}updateStickyFooterContainer(st,X){if(!this._isNativeHtmlTable)return;const pe=st.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{X.some(ne=>!ne)?this._removeStickyStyle(pe,["bottom"]):this._addStickyStyle(pe,"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,pe,ne){st.classList.add(this._stickCellCss),ne&&st.classList.add(this._borderCellCss[X]),st.style[X]=`${pe}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 pe=0;for(const ne of Zt)st.style[ne]&&(pe+=X[ne]);return pe?`${pe}`:""}_getCellWidths(st,X=!0){if(!X&&this._cachedCellWidths.length)return this._cachedCellWidths;const pe=[],ne=st.children;for(let et=0;et<ne.length;et++)pe.push(ne[et].getBoundingClientRect().width);return this._cachedCellWidths=pe,pe}_getStickyStartColumnPositions(st,X){const pe=[];let ne=0;for(let et=0;et<st.length;et++)X[et]&&(pe[et]=ne,ne+=st[et]);return pe}_getStickyEndColumnPositions(st,X){const pe=[];let ne=0;for(let et=st.length;et>0;et--)X[et]&&(pe[et]=ne,ne+=st[et]);return pe}}const en=new n.InjectionToken("CDK_SPL");let _n=(()=>{class _e{constructor(X,pe){this.viewContainer=X,this.elementRef=pe}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","rowOutlet",""]]})}return _e})(),Tn=(()=>{class _e{constructor(X,pe){this.viewContainer=X,this.elementRef=pe}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","headerRowOutlet",""]]})}return _e})(),yt=(()=>{class _e{constructor(X,pe){this.viewContainer=X,this.elementRef=pe}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","footerRowOutlet",""]]})}return _e})(),rt=(()=>{class _e{constructor(X,pe){this.viewContainer=X,this.elementRef=pe}static#e=this.\u0275fac=function(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","noDataRowOutlet",""]]})}return _e})(),pt=(()=>{class _e{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,pe,ne,et,L,Ve,je,$t,Bt,Cn,Sn,zn){this._differs=X,this._changeDetectorRef=pe,this._elementRef=ne,this._dir=L,this._platform=je,this._viewRepeater=$t,this._coalescedStyleScheduler=Bt,this._viewportRuler=Cn,this._stickyPositioningListener=Sn,this._ngZone=zn,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}),et||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,pe)=>this.trackBy?this.trackBy(pe.dataIndex,pe.data):pe),this._viewportRuler.change().pipe((0,be.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const pe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||pe,this._forceRecalculateCellWidths=pe,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 pe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(X,pe,(ne,et,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=>{pe.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 et=this._headerRowDefs.map(L=>L.sticky);this._stickyStyler.clearStickyPositioning(X,["top"]),this._stickyStyler.stickRows(X,et,"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 et=this._footerRowDefs.map(L=>L.sticky);this._stickyStyler.clearStickyPositioning(X,["bottom"]),this._stickyStyler.stickRows(X,et,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,et),this._footerRowDefs.forEach(L=>L.resetStickyChanged())}updateStickyColumnStyles(){const X=this._getRenderedRows(this._headerRowOutlet),pe=this._getRenderedRows(this._rowOutlet),ne=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...X,...pe,...ne],["left","right"]),this._stickyColumnStylesNeedReset=!1),X.forEach((et,L)=>{this._addStickyColumnStyles([et],this._headerRowDefs[L])}),this._rowDefs.forEach(et=>{const L=[];for(let Ve=0;Ve<pe.length;Ve++)this._renderRows[Ve].rowDef===et&&L.push(pe[Ve]);this._addStickyColumnStyles(L,et)}),ne.forEach((et,L)=>{this._addStickyColumnStyles([et],this._footerRowDefs[L])}),Array.from(this._columnDefsByName.values()).forEach(et=>et.resetStickyChanged())}_getAllRenderRows(){const X=[],pe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let ne=0;ne<this._data.length;ne++){let et=this._data[ne];const L=this._getRenderRowsForData(et,ne,pe.get(et));this._cachedRenderRowsMap.has(et)||this._cachedRenderRowsMap.set(et,new WeakMap);for(let Ve=0;Ve<L.length;Ve++){let je=L[Ve];const $t=this._cachedRenderRowsMap.get(je.data);$t.has(je.rowDef)?$t.get(je.rowDef).push(je):$t.set(je.rowDef,[je]),X.push(je)}}return X}_getRenderRowsForData(X,pe,ne){return this._getRowDefs(X,pe).map(L=>{const Ve=ne&&ne.has(L)?ne.get(L):[];if(Ve.length){const je=Ve.shift();return je.dataIndex=pe,je}return{data:X,rowDef:L,dataIndex:pe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ot(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(pe=>{this._columnDefsByName.has(pe.name),this._columnDefsByName.set(pe.name,pe)})}_cacheRowDefs(){this._headerRowDefs=Ot(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ot(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ot(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const X=this._rowDefs.filter(pe=>!pe.when);this._defaultRowDef=X[0]}_renderUpdatedColumns(){const X=(L,Ve)=>L||!!Ve.getColumnsDiff(),pe=this._rowDefs.reduce(X,!1);pe&&this._forceRenderDataRows();const ne=this._headerRowDefs.reduce(X,!1);ne&&this._forceRenderHeaderRows();const et=this._footerRowDefs.reduce(X,!1);return et&&this._forceRenderFooterRows(),pe||ne||et}_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(_e){return!!_e&&(_e instanceof g.y||(0,te.m)(_e.lift)&&(0,te.m)(_e.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(pe=>{this._data=pe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((X,pe)=>this._renderRow(this._headerRowOutlet,X,pe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((X,pe)=>this._renderRow(this._footerRowOutlet,X,pe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(X,pe){const ne=Array.from(pe.columns||[]).map(Ve=>this._columnDefsByName.get(Ve)),et=ne.map(Ve=>Ve.sticky),L=ne.map(Ve=>Ve.stickyEnd);this._stickyStyler.updateStickyColumns(X,et,L,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(X){const pe=[];for(let ne=0;ne<X.viewContainer.length;ne++){const et=X.viewContainer.get(ne);pe.push(et.rootNodes[0])}return pe}_getRowDefs(X,pe){if(1==this._rowDefs.length)return[this._rowDefs[0]];let ne=[];if(this.multiTemplateDataRows)ne=this._rowDefs.filter(et=>!et.when||et.when(pe,X));else{let et=this._rowDefs.find(L=>L.when&&L.when(pe,X))||this._defaultRowDef;et&&ne.push(et)}return ne}_getEmbeddedViewArgs(X,pe){return{templateRef:X.rowDef.template,context:{$implicit:X.data},index:pe}}_renderRow(X,pe,ne,et={}){const L=X.viewContainer.createEmbeddedView(pe.template,et,ne);return this._renderCellTemplateForItem(pe,et),L}_renderCellTemplateForItem(X,pe){for(let ne of this._getCellTemplates(X))lt.mostRecentCellOutlet&<.mostRecentCellOutlet._viewContainer.createEmbeddedView(ne,pe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const X=this._rowOutlet.viewContainer;for(let pe=0,ne=X.length;pe<ne;pe++){const L=X.get(pe).context;L.count=ne,L.first=0===pe,L.last=pe===ne-1,L.even=pe%2==0,L.odd=!L.even,this.multiTemplateDataRows?(L.dataIndex=this._renderRows[pe].dataIndex,L.renderIndex=pe):L.index=this._renderRows[pe].dataIndex}}_getCellTemplates(X){return X&&X.columns?Array.from(X.columns,pe=>{const ne=this._columnDefsByName.get(pe);return X.extractCellTemplate(ne)}):[]}_applyNativeTableSections(){const X=this._document.createDocumentFragment(),pe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const ne of pe){const et=this._document.createElement(ne.tag);et.setAttribute("role","rowgroup");for(const L of ne.outlets)et.appendChild(L.elementRef.nativeElement);X.appendChild(et)}this._elementRef.nativeElement.appendChild(X)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const X=(pe,ne)=>pe||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(pe=>{this._stickyStyler.direction=pe,this.updateStickyColumnStyles()})}_getOwnDefs(X){return X.filter(pe=>!pe._table||pe._table===this)}_updateNoDataRow(){const X=this._customNoDataRow||this._noDataRow;if(!X)return;const pe=0===this._rowOutlet.viewContainer.length;if(pe===this._isShowingNoDataRow)return;const ne=this._noDataRowOutlet.viewContainer;if(pe){const et=ne.createEmbeddedView(X.templateRef),L=et.rootNodes[0];1===et.rootNodes.length&&L?.nodeType===this._document.ELEMENT_NODE&&(L.setAttribute("role","row"),L.classList.add(X._contentClassName))}else ne.clear();this._isShowingNoDataRow=pe,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(pe){return new(pe||_e)(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(en,12),n.\u0275\u0275directiveInject(n.NgZone,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(pe,ne,et){if(1&pe&&(n.\u0275\u0275contentQuery(et,Gt,5),n.\u0275\u0275contentQuery(et,H,5),n.\u0275\u0275contentQuery(et,Fe,5),n.\u0275\u0275contentQuery(et,ft,5),n.\u0275\u0275contentQuery(et,Ee,5)),2&pe){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(pe,ne){if(1&pe&&(n.\u0275\u0275viewQuery(_n,7),n.\u0275\u0275viewQuery(Tn,7),n.\u0275\u0275viewQuery(yt,7),n.\u0275\u0275viewQuery(rt,7)),2&pe){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne._rowOutlet=et.first),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne._headerRowOutlet=et.first),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne._footerRowOutlet=et.first),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne._noDataRowOutlet=et.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(pe,ne){2&pe&&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:_e},{provide:K,useClass:v},{provide:Te,useClass:xe},{provide:en,useValue:null}])],ngContentSelectors:Ne,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(pe,ne){1&pe&&(n.\u0275\u0275projectionDef(ge),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[_n,Tn,yt,rt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return _e})();function Ot(_e,st){return _e.concat(Array.from(st))}let Xt=(()=>{class _e{get name(){return this._name}set name(X){this._name=X,this._syncColumnDefName()}constructor(X,pe){this._table=X,this._options=pe,this.justify="start",this._options=pe||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((X,pe)=>X[pe])),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(pe){return new(pe||_e)(n.\u0275\u0275directiveInject(pt,8),n.\u0275\u0275directiveInject(re,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["cdk-text-column"]],viewQuery:function(pe,ne){if(1&pe&&(n.\u0275\u0275viewQuery(H,7),n.\u0275\u0275viewQuery(J,7),n.\u0275\u0275viewQuery(z,7)),2&pe){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne.columnDef=et.first),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne.cell=et.first),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ne.headerCell=et.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(pe,ne){1&pe&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Xe,2,3,"th",1),n.\u0275\u0275template(2,qe,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[J,z,H,Ct,He],encapsulation:2})}return _e})(),ye=(()=>{class _e{static#e=this.\u0275fac=function(pe){return new(pe||_e)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[ee.Cl]})}return _e})();var G=a(3680),F=a(3019),fe=a(2572),Ge=a(7398);const At=[[["caption"]],[["colgroup"],["col"]]],Je=["caption","colgroup, col"];function Lt(_e,st){if(1&_e&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_e){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",X.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",X.headerText," ")}}function me(_e,st){if(1&_e&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&_e){const X=st.$implicit,pe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",pe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",pe.dataAccessor(X,pe.name)," ")}}let Re=(()=>{class _e{static#e=this.\u0275fac=function(pe){return new(pe||_e)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:K,useClass:w}])]})}return _e})(),Le=(()=>{class _e extends pt{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(_e)))(ne||_e)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(pe,ne){2&pe&&n.\u0275\u0275classProp("mdc-table-fixed-layout",ne.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:_e},{provide:we,useExisting:_e},{provide:Te,useClass:xe},{provide:K,useClass:v},{provide:en,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Je,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(pe,ne){1&pe&&(n.\u0275\u0275projectionDef(At),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[_n,Tn,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 _e})(),wt=(()=>{class _e extends J{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:J,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ht=(()=>{class _e extends z{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),bn=(()=>{class _e extends ${static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:$,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),wn=(()=>{class _e 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(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:H,useExisting:_e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),un=(()=>{class _e extends He{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,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 _e})(),Qe=(()=>{class _e extends vt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),$e=(()=>{class _e extends Ct{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),at=(()=>{class _e extends ft{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),xt=(()=>{class _e extends Ee{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ft=(()=>{class _e extends Fe{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Pt=(()=>{class _e extends ot{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,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:_e}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pe,ne){1&pe&&n.\u0275\u0275elementContainer(0,0)},dependencies:[lt],encapsulation:2})}return _e})(),nn=(()=>{class _e extends Et{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pe,ne){1&pe&&n.\u0275\u0275elementContainer(0,0)},dependencies:[lt],encapsulation:2})}return _e})(),zt=(()=>{class _e extends jt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,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:_e}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(pe,ne){1&pe&&n.\u0275\u0275elementContainer(0,0)},dependencies:[lt],encapsulation:2})}return _e})(),yn=(()=>{class _e extends Gt{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(_e)))(ne||_e)}}();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Vn=(()=>{class _e extends Xt{static#e=this.\u0275fac=function(){let X;return function(ne){return(X||(X=n.\u0275\u0275getInheritedFactory(_e)))(ne||_e)}}();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,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(pe,ne){1&pe&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Lt,2,3,"th",1),n.\u0275\u0275template(2,me,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[Ht,wn,wt,un,$e],encapsulation:2})}return _e})(),Fn=(()=>{class _e{static#e=this.\u0275fac=function(pe){return new(pe||_e)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[G.MatCommonModule,ye,G.MatCommonModule]})}return _e})();class kn 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,pe)=>{const ne=X[pe];if((0,p.t6)(ne)){const et=Number(ne);return et<9007199254740991?et:ne}return ne},this.sortData=(X,pe)=>{const ne=pe.active,et=pe.direction;return ne&&""!=et?X.sort((L,Ve)=>{let je=this.sortingDataAccessor(L,ne),$t=this.sortingDataAccessor(Ve,ne);const Bt=typeof je,Cn=typeof $t;Bt!==Cn&&("number"===Bt&&(je+=""),"number"===Cn&&($t+=""));let Sn=0;return null!=je&&null!=$t?je>$t?Sn=1:je<$t&&(Sn=-1):null!=je?Sn=1:null!=$t&&(Sn=-1),Sn*("asc"==et?1:-1)}):X},this.filterPredicate=(X,pe)=>{const ne=Object.keys(X).reduce((L,Ve)=>L+X[Ve]+"\u25ec","").toLowerCase(),et=pe.trim().toLowerCase();return-1!=ne.indexOf(et)},this._data=new ie.X(st),this._updateChangeSubscription()}_updateChangeSubscription(){const st=this._sort?(0,F.T)(this._sort.sortChange,this._sort.initialized):(0,nt.of)(null),X=this._paginator?(0,F.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,nt.of)(null),ne=(0,fe.a)([this._data,this._filter]).pipe((0,Ge.U)(([Ve])=>this._filterData(Ve))),et=(0,fe.a)([ne,st]).pipe((0,Ge.U)(([Ve])=>this._orderData(Ve))),L=(0,fe.a)([et,X]).pipe((0,Ge.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 pe=Math.ceil(X.length/X.pageSize)-1||0,ne=Math.min(X.pageIndex,pe);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 mn extends kn{}},4104:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>tt,MAT_TABS_CONFIG:()=>Tn,MAT_TAB_CONTENT:()=>Pe,MAT_TAB_GROUP:()=>Ue,MAT_TAB_LABEL:()=>ft,MatInkBar:()=>lt,MatPaginatedTabHeader:()=>en,MatTab:()=>De,MatTabBody:()=>Me,MatTabBodyPortal:()=>xe,MatTabChangeEvent:()=>pt,MatTabContent:()=>_t,MatTabGroup:()=>We,MatTabHeader:()=>_n,MatTabLabel:()=>ce,MatTabLabelWrapper:()=>ut,MatTabLink:()=>fe,MatTabNav:()=>F,MatTabNavPanel:()=>Ge,MatTabsModule:()=>At,_MAT_INK_BAR_POSITIONER:()=>jt,_MAT_INK_BAR_POSITIONER_FACTORY:()=>Et,_MatTabBase:()=>oe,_MatTabBodyBase:()=>ke,_MatTabGroupBase:()=>Ie,_MatTabHeaderBase:()=>on,_MatTabLabelWrapperBase:()=>Zt,_MatTabLinkBase:()=>ye,_MatTabNavBase:()=>Xt,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),k=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(Je,Lt){}const ge=function(Je){return{animationDuration:Je}},Ne=function(Je,Lt){return{value:Je,params:Lt}};function Xe(Je,Lt){1&Je&&s.\u0275\u0275projection(0)}const qe=["*"],q=["tabListContainer"],we=["tabList"],re=["tabListInner"],J=["nextPaginator"],z=["previousPaginator"],$=["tabBodyWrapper"],U=["tabHeader"];function R(Je,Lt){}function H(Je,Lt){if(1&Je&&s.\u0275\u0275template(0,R,0,0,"ng-template",14),2&Je){const me=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275property("cdkPortalOutlet",me.templateLabel)}}function Oe(Je,Lt){if(1&Je&&s.\u0275\u0275text(0),2&Je){const me=s.\u0275\u0275nextContext().$implicit;s.\u0275\u0275textInterpolate(me.textLabel)}}function He(Je,Lt){if(1&Je){const me=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"div",6,7),s.\u0275\u0275listener("click",function(){const Le=s.\u0275\u0275restoreView(me),wt=Le.$implicit,Ht=Le.index,bn=s.\u0275\u0275nextContext(),wn=s.\u0275\u0275reference(1);return s.\u0275\u0275resetView(bn._handleClick(wt,wn,Ht))})("cdkFocusChange",function(Le){const Ht=s.\u0275\u0275restoreView(me).index,bn=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(bn._tabFocusChanged(Le,Ht))}),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&Je){const me=Lt.$implicit,Re=Lt.index,Le=s.\u0275\u0275reference(1),wt=s.\u0275\u0275reference(8),Ht=s.\u0275\u0275nextContext();s.\u0275\u0275classProp("mdc-tab--active",Ht.selectedIndex===Re),s.\u0275\u0275property("id",Ht._getTabLabelId(Re))("ngClass",me.labelClass)("disabled",me.disabled)("fitInkBarToContent",Ht.fitInkBarToContent),s.\u0275\u0275attribute("tabIndex",Ht._getTabIndex(Re))("aria-posinset",Re+1)("aria-setsize",Ht._tabs.length)("aria-controls",Ht._getTabContentId(Re))("aria-selected",Ht.selectedIndex===Re)("aria-label",me.ariaLabel||null)("aria-labelledby",!me.ariaLabel&&me.ariaLabelledby?me.ariaLabelledby:null),s.\u0275\u0275advance(3),s.\u0275\u0275property("matRippleTrigger",Le)("matRippleDisabled",me.disabled||Ht.disableRipple),s.\u0275\u0275advance(3),s.\u0275\u0275property("ngIf",me.templateLabel)("ngIfElse",wt)}}function vt(Je,Lt){if(1&Je){const me=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-tab-body",15),s.\u0275\u0275listener("_onCentered",function(){s.\u0275\u0275restoreView(me);const Le=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(Le._removeTabBodyWrapperHeight())})("_onCentering",function(Le){s.\u0275\u0275restoreView(me);const wt=s.\u0275\u0275nextContext();return s.\u0275\u0275resetView(wt._setTabBodyWrapperHeight(Le))}),s.\u0275\u0275elementEnd()}if(2&Je){const me=Lt.$implicit,Re=Lt.index,Le=s.\u0275\u0275nextContext();s.\u0275\u0275classProp("mat-mdc-tab-body-active",Le.selectedIndex===Re),s.\u0275\u0275property("id",Le._getTabContentId(Re))("ngClass",me.bodyClass)("content",me.content)("position",me.position)("origin",me.origin)("animationDuration",Le.animationDuration)("preserveContent",Le.preserveContent),s.\u0275\u0275attribute("tabindex",null!=Le.contentTabIndex&&Le.selectedIndex===Re?Le.contentTabIndex:null)("aria-labelledby",Le._getTabLabelId(Re))("aria-hidden",Le.selectedIndex!==Re)}}const Ct=["mat-tab-nav-bar",""],dt=["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 Je extends g.Pl{constructor(me,Re,Le,wt){super(me,Re,wt),this._host=Le,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(me=>{me&&!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(Re){return new(Re||Je)(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:Je,selectors:[["","matTabBodyHost",""]],features:[s.\u0275\u0275InheritDefinitionFeature]})}return Je})(),ke=(()=>{class Je{set position(me){this._positionIndex=me,this._computePositionAnimationState()}constructor(me,Re,Le){this._elementRef=me,this._dir=Re,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,Re&&(this._dirChangeSubscription=Re.change.subscribe(wt=>{this._computePositionAnimationState(wt),Le.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((wt,Ht)=>wt.fromState===Ht.fromState&&wt.toState===Ht.toState)).subscribe(wt=>{this._isCenterPosition(wt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(wt.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(me){const Re=this._isCenterPosition(me.toState);this._beforeCentering.emit(Re),Re&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(me){return"center"==me||"left-origin-center"==me||"right-origin-center"==me}_computePositionAnimationState(me=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==me?"left":"right":this._positionIndex>0?"ltr"==me?"right":"left":"center"}_computePositionFromOrigin(me){const Re=this._getLayoutDirection();return"ltr"==Re&&me<=0||"rtl"==Re&&me>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.ChangeDetectorRef))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return Je})(),Me=(()=>{class Je extends ke{constructor(me,Re,Le){super(me,Re,Le)}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(u.Is,8),s.\u0275\u0275directiveInject(s.ChangeDetectorRef))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:Je,selectors:[["mat-tab-body"]],viewQuery:function(Re,Le){if(1&Re&&s.\u0275\u0275viewQuery(g.Pl,5),2&Re){let wt;s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._portalHost=wt.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(Re,Le){1&Re&&(s.\u0275\u0275elementStart(0,"div",0,1),s.\u0275\u0275listener("@translateTab.start",function(Ht){return Le._onTranslateTabStarted(Ht)})("@translateTab.done",function(Ht){return Le._translateTabComplete.next(Ht)}),s.\u0275\u0275template(2,Ye,0,0,"ng-template",2),s.\u0275\u0275elementEnd()),2&Re&&s.\u0275\u0275property("@translateTab",s.\u0275\u0275pureFunction2(3,Ne,Le._position,s.\u0275\u0275pureFunction1(1,ge,Le.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 Je})();const Pe=new s.InjectionToken("MatTabContent");let _t=(()=>{class Je{constructor(me){this.template=me}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.TemplateRef))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,selectors:[["","matTabContent",""]],features:[s.\u0275\u0275ProvidersFeature([{provide:Pe,useExisting:Je}])]})}return Je})();const ft=new s.InjectionToken("MatTabLabel"),tt=new s.InjectionToken("MAT_TAB");let ce=(()=>{class Je extends g.ig{constructor(me,Re,Le){super(me,Re),this._closestTab=Le}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.TemplateRef),s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(tt,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s.\u0275\u0275ProvidersFeature([{provide:ft,useExisting:Je}]),s.\u0275\u0275InheritDefinitionFeature]})}return Je})();const Ee="mdc-tab-indicator--active",Fe="mdc-tab-indicator--no-transition";class lt{constructor(Lt){this._items=Lt}hide(){this._items.forEach(Lt=>Lt.deactivateInkBar())}alignToElement(Lt){const me=this._items.find(Le=>Le.elementRef.nativeElement===Lt),Re=this._currentItem;if(me!==Re&&(Re?.deactivateInkBar(),me)){const Le=Re?.elementRef.nativeElement.getBoundingClientRect?.();me.activateInkBar(Le),this._currentItem=me}}}function ot(Je){return class extends Je{constructor(...Lt){super(...Lt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Lt){const me=(0,te.Ig)(Lt);this._fitToContent!==me&&(this._fitToContent=me,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Lt){const me=this.elementRef.nativeElement;if(!Lt||!me.getBoundingClientRect||!this._inkBarContentElement)return void me.classList.add(Ee);const Re=me.getBoundingClientRect(),Le=Lt.width/Re.width,wt=Lt.left-Re.left;me.classList.add(Fe),this._inkBarContentElement.style.setProperty("transform",`translateX(${wt}px) scaleX(${Le})`),me.getBoundingClientRect(),me.classList.remove(Fe),me.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 Lt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Lt.createElement("span"),this._inkBarContentElement=Lt.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 Et(){return Lt=>({left:Lt?(Lt.offsetLeft||0)+"px":"0",width:Lt?(Lt.offsetWidth||0)+"px":"0"})}const jt=new s.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:Et}),Gt=(0,p.mixinDisabled)(class{});let Zt=(()=>{class Je extends Gt{constructor(me){super(),this.elementRef=me}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.ElementRef))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,features:[s.\u0275\u0275InheritDefinitionFeature]})}return Je})();const Qt=ot(Zt);let ut=(()=>{class Je extends Qt{static#e=this.\u0275fac=function(){let me;return function(Le){return(me||(me=s.\u0275\u0275getInheritedFactory(Je)))(Le||Je)}}();static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Re,Le){2&Re&&(s.\u0275\u0275attribute("aria-disabled",!!Le.disabled),s.\u0275\u0275classProp("mat-mdc-tab-disabled",Le.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return Je})();const Tt=(0,p.mixinDisabled)(class{}),Ue=new s.InjectionToken("MAT_TAB_GROUP");let oe=(()=>{class Je extends Tt{get content(){return this._contentPortal}constructor(me,Re){super(),this._viewContainerRef=me,this._closestTabGroup=Re,this.textLabel="",this._contentPortal=null,this._stateChanges=new _.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(me){(me.hasOwnProperty("textLabel")||me.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new g.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(me){me&&me._closestTab===this&&(this._templateLabel=me)}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.ViewContainerRef),s.\u0275\u0275directiveInject(Ue,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,viewQuery:function(Re,Le){if(1&Re&&s.\u0275\u0275viewQuery(s.TemplateRef,7),2&Re){let wt;s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._implicitContent=wt.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 Je})(),De=(()=>{class Je extends oe{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(me){this._setTemplateLabelInput(me)}static#e=this.\u0275fac=function(){let me;return function(Le){return(me||(me=s.\u0275\u0275getInheritedFactory(Je)))(Le||Je)}}();static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:Je,selectors:[["mat-tab"]],contentQueries:function(Re,Le,wt){if(1&Re&&(s.\u0275\u0275contentQuery(wt,_t,7,s.TemplateRef),s.\u0275\u0275contentQuery(wt,ce,5)),2&Re){let Ht;s.\u0275\u0275queryRefresh(Ht=s.\u0275\u0275loadQuery())&&(Le._explicitContent=Ht.first),s.\u0275\u0275queryRefresh(Ht=s.\u0275\u0275loadQuery())&&(Le.templateLabel=Ht.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[s.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Je}]),s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:qe,decls:1,vars:0,template:function(Re,Le){1&Re&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275template(0,Xe,1,0,"ng-template"))},encapsulation:2})}return Je})();const ct=(0,nt.i$)({passive:!0});let en=(()=>{class Je{get disablePagination(){return this._disablePagination}set disablePagination(me){this._disablePagination=(0,te.Ig)(me)}get selectedIndex(){return this._selectedIndex}set selectedIndex(me){me=(0,te.su)(me),this._selectedIndex!=me&&(this._selectedIndexChanged=!0,this._selectedIndex=me,this._keyManager&&this._keyManager.updateActiveItem(me))}constructor(me,Re,Le,wt,Ht,bn,wn){this._elementRef=me,this._changeDetectorRef=Re,this._viewportRuler=Le,this._dir=wt,this._ngZone=Ht,this._platform=bn,this._animationMode=wn,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,Ht.runOutsideAngular(()=>{(0,f.R)(me.nativeElement,"mouseleave").pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,f.R)(this._previousPaginator.nativeElement,"touchstart",ct).pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,f.R)(this._nextPaginator.nativeElement,"touchstart",ct).pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const me=this._dir?this._dir.change:(0,y.of)("ltr"),Re=this._viewportRuler.change(150),Le=()=>{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(Le),(0,b.T)(me,Re,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)),Le()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(wt=>{this.indexFocused.emit(wt),this._setTabFocus(wt)})}_itemsResized(){return"function"!=typeof ResizeObserver?v.E:this._items.changes.pipe((0,S.O)(this._items),(0,W.w)(me=>new w.y(Re=>this._ngZone.runOutsideAngular(()=>{const Le=new ResizeObserver(wt=>Re.next(wt));return me.forEach(wt=>Le.observe(wt.elementRef.nativeElement)),()=>{Le.disconnect()}}))),(0,Y.T)(1),(0,ue.h)(me=>me.some(Re=>Re.contentRect.width>0&&Re.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(me){if(!(0,be.Vb)(me))switch(me.keyCode){case be.K5:case be.L_:if(this.focusIndex!==this.selectedIndex){const Re=this._items.get(this.focusIndex);Re&&!Re.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(me))}break;default:this._keyManager.onKeydown(me)}}_onContentChanges(){const me=this._elementRef.nativeElement.textContent;me!==this._currentTextContent&&(this._currentTextContent=me||"",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(me){!this._isValidIndex(me)||this.focusIndex===me||!this._keyManager||this._keyManager.setActiveItem(me)}_isValidIndex(me){return!this._items||!!this._items.toArray()[me]}_setTabFocus(me){if(this._showPaginationControls&&this._scrollToLabel(me),this._items&&this._items.length){this._items.toArray()[me].focus();const Re=this._tabListContainer.nativeElement;Re.scrollLeft="ltr"==this._getLayoutDirection()?0:Re.scrollWidth-Re.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const me=this.scrollDistance,Re="ltr"===this._getLayoutDirection()?-me:me;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Re)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(me){this._scrollTo(me)}_scrollHeader(me){return this._scrollTo(this._scrollDistance+("before"==me?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(me){this._stopInterval(),this._scrollHeader(me)}_scrollToLabel(me){if(this.disablePagination)return;const Re=this._items?this._items.toArray()[me]:null;if(!Re)return;const Le=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:wt,offsetWidth:Ht}=Re.elementRef.nativeElement;let bn,wn;"ltr"==this._getLayoutDirection()?(bn=wt,wn=bn+Ht):(wn=this._tabListInner.nativeElement.offsetWidth-wt,bn=wn-Ht);const un=this.scrollDistance,Qe=this.scrollDistance+Le;bn<un?this.scrollDistance-=un-bn:wn>Qe&&(this.scrollDistance+=Math.min(wn-Qe,bn-un))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const me=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;me||(this.scrollDistance=0),me!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=me}}_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 me=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Re=me?me.elementRef.nativeElement:null;Re?this._inkBar.alignToElement(Re):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(me,Re){Re&&null!=Re.button&&0!==Re.button||(this._stopInterval(),(0,O.H)(650,100).pipe((0,V.R)((0,b.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Le,distance:wt}=this._scrollHeader(me);(0===wt||wt>=Le)&&this._stopInterval()}))}_scrollTo(me){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Re=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Re,me)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Re,distance:this._scrollDistance}}static#e=this.\u0275fac=function(Re){return new(Re||Je)(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:Je,inputs:{disablePagination:"disablePagination"}})}return Je})(),on=(()=>{class Je extends en{get disableRipple(){return this._disableRipple}set disableRipple(me){this._disableRipple=(0,te.Ig)(me)}constructor(me,Re,Le,wt,Ht,bn,wn){super(me,Re,Le,wt,Ht,bn,wn),this._disableRipple=!1}_itemSelected(me){me.preventDefault()}static#e=this.\u0275fac=function(Re){return new(Re||Je)(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:Je,inputs:{disableRipple:"disableRipple"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return Je})(),_n=(()=>{class Je extends on{constructor(me,Re,Le,wt,Ht,bn,wn){super(me,Re,Le,wt,Ht,bn,wn)}ngAfterContentInit(){this._inkBar=new lt(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(Re){return new(Re||Je)(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:Je,selectors:[["mat-tab-header"]],contentQueries:function(Re,Le,wt){if(1&Re&&s.\u0275\u0275contentQuery(wt,ut,4),2&Re){let Ht;s.\u0275\u0275queryRefresh(Ht=s.\u0275\u0275loadQuery())&&(Le._items=Ht)}},viewQuery:function(Re,Le){if(1&Re&&(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&Re){let wt;s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabListContainer=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabList=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabListInner=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._nextPaginator=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._previousPaginator=wt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Re,Le){2&Re&&s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Le._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Le._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:qe,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(Re,Le){1&Re&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"button",0,1),s.\u0275\u0275listener("click",function(){return Le._handlePaginatorClick("before")})("mousedown",function(Ht){return Le._handlePaginatorPress("before",Ht)})("touchend",function(){return Le._stopInterval()}),s.\u0275\u0275element(2,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275listener("keydown",function(Ht){return Le._handleKeydown(Ht)}),s.\u0275\u0275elementStart(5,"div",5,6),s.\u0275\u0275listener("cdkObserveContent",function(){return Le._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(Ht){return Le._handlePaginatorPress("after",Ht)})("click",function(){return Le._handlePaginatorClick("after")})("touchend",function(){return Le._stopInterval()}),s.\u0275\u0275element(12,"div",2),s.\u0275\u0275elementEnd()),2&Re&&(s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Le._disableScrollBefore),s.\u0275\u0275property("matRippleDisabled",Le._disableScrollBefore||Le.disableRipple)("disabled",Le._disableScrollBefore||null),s.\u0275\u0275advance(3),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Le._animationMode),s.\u0275\u0275advance(7),s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Le._disableScrollAfter),s.\u0275\u0275property("matRippleDisabled",Le._disableScrollAfter||Le.disableRipple)("disabled",Le._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 Je})();const Tn=new s.InjectionToken("MAT_TABS_CONFIG");let yt=0;const rt=(0,p.mixinColor)((0,p.mixinDisableRipple)(class{constructor(Je){this._elementRef=Je}}),"primary");let Ie=(()=>{class Je extends rt{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(me){this._dynamicHeight=(0,te.Ig)(me)}get selectedIndex(){return this._selectedIndex}set selectedIndex(me){this._indexToSelect=(0,te.su)(me,null)}get animationDuration(){return this._animationDuration}set animationDuration(me){this._animationDuration=/^\d+$/.test(me+"")?me+"ms":me}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(me){this._contentTabIndex=(0,te.su)(me,null)}get disablePagination(){return this._disablePagination}set disablePagination(me){this._disablePagination=(0,te.Ig)(me)}get preserveContent(){return this._preserveContent}set preserveContent(me){this._preserveContent=(0,te.Ig)(me)}get backgroundColor(){return this._backgroundColor}set backgroundColor(me){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),me&&Re.add("mat-tabs-with-background",`mat-background-${me}`),this._backgroundColor=me}constructor(me,Re,Le,wt){super(me),this._changeDetectorRef=Re,this._animationMode=wt,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=Le&&Le.animationDuration?Le.animationDuration:"500ms",this.disablePagination=!(!Le||null==Le.disablePagination)&&Le.disablePagination,this.dynamicHeight=!(!Le||null==Le.dynamicHeight)&&Le.dynamicHeight,this.contentTabIndex=Le?.contentTabIndex??null,this.preserveContent=!!Le?.preserveContent}ngAfterContentChecked(){const me=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=me){const Re=null==this._selectedIndex;if(!Re){this.selectedTabChange.emit(this._createChangeEvent(me));const Le=this._tabBodyWrapper.nativeElement;Le.style.minHeight=Le.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Le,wt)=>Le.isActive=wt===me),Re||(this.selectedIndexChange.emit(me),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Re,Le)=>{Re.position=Le-me,null!=this._selectedIndex&&0==Re.position&&!Re.origin&&(Re.origin=me-this._selectedIndex)}),this._selectedIndex!==me&&(this._selectedIndex=me,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const me=this._clampTabIndex(this._indexToSelect);if(me===this._selectedIndex){const Re=this._tabs.toArray();let Le;for(let wt=0;wt<Re.length;wt++)if(Re[wt].isActive){this._indexToSelect=this._selectedIndex=wt,this._lastFocusedTabIndex=null,Le=Re[wt];break}!Le&&Re[me]&&Promise.resolve().then(()=>{Re[me].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(me))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,S.O)(this._allTabs)).subscribe(me=>{this._tabs.reset(me.filter(Re=>Re._closestTabGroup===this||!Re._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(me){const Re=this._tabHeader;Re&&(Re.focusIndex=me)}_focusChanged(me){this._lastFocusedTabIndex=me,this.focusChange.emit(this._createChangeEvent(me))}_createChangeEvent(me){const Re=new pt;return Re.index=me,this._tabs&&this._tabs.length&&(Re.tab=this._tabs.toArray()[me]),Re}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,b.T)(...this._tabs.map(me=>me._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(me){return Math.min(this._tabs.length-1,Math.max(me||0,0))}_getTabLabelId(me){return`mat-tab-label-${this._groupId}-${me}`}_getTabContentId(me){return`mat-tab-content-${this._groupId}-${me}`}_setTabBodyWrapperHeight(me){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Re=this._tabBodyWrapper.nativeElement;Re.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Re.style.height=me+"px")}_removeTabBodyWrapperHeight(){const me=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=me.clientHeight,me.style.height="",this.animationDone.emit()}_handleClick(me,Re,Le){Re.focusIndex=Le,me.disabled||(this.selectedIndex=Le)}_getTabIndex(me){return me===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(me,Re){me&&"mouse"!==me&&"touch"!==me&&(this._tabHeader.focusIndex=Re)}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(Tn,8),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=s.\u0275\u0275defineDirective({type:Je,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 Je})(),We=(()=>{class Je extends Ie{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(me){this._fitInkBarToContent=(0,te.Ig)(me),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(me){this._stretchTabs=(0,te.Ig)(me)}constructor(me,Re,Le,wt){super(me,Re,Le,wt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Le||null==Le.fitInkBarToContent)&&Le.fitInkBarToContent,this.stretchTabs=!Le||null==Le.stretchTabs||Le.stretchTabs}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(Tn,8),s.\u0275\u0275directiveInject(s.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:Je,selectors:[["mat-tab-group"]],contentQueries:function(Re,Le,wt){if(1&Re&&s.\u0275\u0275contentQuery(wt,De,5),2&Re){let Ht;s.\u0275\u0275queryRefresh(Ht=s.\u0275\u0275loadQuery())&&(Le._allTabs=Ht)}},viewQuery:function(Re,Le){if(1&Re&&(s.\u0275\u0275viewQuery($,5),s.\u0275\u0275viewQuery(U,5)),2&Re){let wt;s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabBodyWrapper=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabHeader=wt.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(Re,Le){2&Re&&(s.\u0275\u0275styleProp("--mat-tab-animation-duration",Le.animationDuration),s.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Le.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Le.headerPosition)("mat-mdc-tab-group-stretch-tabs",Le.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[s.\u0275\u0275ProvidersFeature([{provide:Ue,useExisting:Je}]),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(Re,Le){1&Re&&(s.\u0275\u0275elementStart(0,"mat-tab-header",0,1),s.\u0275\u0275listener("indexFocused",function(Ht){return Le._focusChanged(Ht)})("selectFocusedIndex",function(Ht){return Le.selectedIndex=Ht}),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&Re&&(s.\u0275\u0275property("selectedIndex",Le.selectedIndex||0)("disableRipple",Le.disableRipple)("disablePagination",Le.disablePagination),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",Le._tabs),s.\u0275\u0275advance(1),s.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Le._animationMode),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",Le._tabs))},dependencies:[n.NgClass,n.NgForOf,n.NgIf,g.Pl,p.MatRipple,d.kH,Me,ut,_n],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 Je})();class pt{}let Ot=0,Xt=(()=>{class Je extends en{get backgroundColor(){return this._backgroundColor}set backgroundColor(me){const Re=this._elementRef.nativeElement.classList;Re.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),me&&Re.add("mat-tabs-with-background",`mat-background-${me}`),this._backgroundColor=me}get disableRipple(){return this._disableRipple}set disableRipple(me){this._disableRipple=(0,te.Ig)(me)}constructor(me,Re,Le,wt,Ht,bn,wn){super(me,wt,Ht,Re,Le,bn,wn),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 me=this._items.toArray();for(let Re=0;Re<me.length;Re++)if(me[Re].active)return this.selectedIndex=Re,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=me[Re].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(Re){return new(Re||Je)(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:Je,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return Je})();const ht=(0,p.mixinTabIndex)((0,p.mixinDisableRipple)((0,p.mixinDisabled)(class{})));let ye=(()=>{class Je extends ht{get active(){return this._isActive}set active(me){const Re=(0,te.Ig)(me);Re!==this._isActive&&(this._isActive=Re,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(me,Re,Le,wt,Ht,bn){super(),this._tabNavBar=me,this.elementRef=Re,this._focusMonitor=Ht,this._isActive=!1,this.id="mat-tab-link-"+Ot++,this.rippleConfig=Le||{},this.tabIndex=parseInt(wt)||0,"NoopAnimations"===bn&&(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(me){(me.keyCode===be.L_||me.keyCode===be.K5)&&(this.disabled?me.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(Xt),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:Je,inputs:{active:"active",id:"id"},features:[s.\u0275\u0275InheritDefinitionFeature]})}return Je})();const G=ot(ye);let F=(()=>{class Je extends Xt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(me){this._fitInkBarToContent.next((0,te.Ig)(me)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(me){this._stretchTabs=(0,te.Ig)(me)}get animationDuration(){return this._animationDuration}set animationDuration(me){this._animationDuration=/^\d+$/.test(me+"")?me+"ms":me}constructor(me,Re,Le,wt,Ht,bn,wn,un){super(me,Re,Le,wt,Ht,bn,wn),this._fitInkBarToContent=new k.X(!1),this._stretchTabs=!0,this.disablePagination=!(!un||null==un.disablePagination)&&un.disablePagination,this.fitInkBarToContent=!(!un||null==un.fitInkBarToContent)&&un.fitInkBarToContent,this.stretchTabs=!un||null==un.stretchTabs||un.stretchTabs}ngAfterContentInit(){this._inkBar=new lt(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(Re){return new(Re||Je)(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(Tn,8))};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:Je,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Re,Le,wt){if(1&Re&&s.\u0275\u0275contentQuery(wt,fe,5),2&Re){let Ht;s.\u0275\u0275queryRefresh(Ht=s.\u0275\u0275loadQuery())&&(Le._items=Ht)}},viewQuery:function(Re,Le){if(1&Re&&(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&Re){let wt;s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabListContainer=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabList=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._tabListInner=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._nextPaginator=wt.first),s.\u0275\u0275queryRefresh(wt=s.\u0275\u0275loadQuery())&&(Le._previousPaginator=wt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(Re,Le){2&Re&&(s.\u0275\u0275attribute("role",Le._getRole()),s.\u0275\u0275styleProp("--mat-tab-animation-duration",Le.animationDuration),s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Le._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Le._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Le.stretchTabs)("mat-primary","warn"!==Le.color&&"accent"!==Le.color)("mat-accent","accent"===Le.color)("mat-warn","warn"===Le.color)("_mat-animation-noopable","NoopAnimations"===Le._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:Ct,ngContentSelectors:qe,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(Re,Le){1&Re&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275elementStart(0,"button",0,1),s.\u0275\u0275listener("click",function(){return Le._handlePaginatorClick("before")})("mousedown",function(Ht){return Le._handlePaginatorPress("before",Ht)})("touchend",function(){return Le._stopInterval()}),s.\u0275\u0275element(2,"div",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(3,"div",3,4),s.\u0275\u0275listener("keydown",function(Ht){return Le._handleKeydown(Ht)}),s.\u0275\u0275elementStart(5,"div",5,6),s.\u0275\u0275listener("cdkObserveContent",function(){return Le._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(Ht){return Le._handlePaginatorPress("after",Ht)})("click",function(){return Le._handlePaginatorClick("after")})("touchend",function(){return Le._stopInterval()}),s.\u0275\u0275element(12,"div",2),s.\u0275\u0275elementEnd()),2&Re&&(s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Le._disableScrollBefore),s.\u0275\u0275property("matRippleDisabled",Le._disableScrollBefore||Le.disableRipple)("disabled",Le._disableScrollBefore||null),s.\u0275\u0275advance(10),s.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Le._disableScrollAfter),s.\u0275\u0275property("matRippleDisabled",Le._disableScrollAfter||Le.disableRipple)("disabled",Le._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 Je})(),fe=(()=>{class Je extends G{constructor(me,Re,Le,wt,Ht,bn){super(me,Re,Le,wt,Ht,bn),this._destroyed=new _.x,me._fitInkBarToContent.pipe((0,V.R)(this._destroyed)).subscribe(wn=>{this.fitInkBarToContent=wn})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}static#e=this.\u0275fac=function(Re){return new(Re||Je)(s.\u0275\u0275directiveInject(F),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:Je,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Re,Le){1&Re&&s.\u0275\u0275listener("focus",function(){return Le._handleFocus()})("keydown",function(Ht){return Le._handleKeydown(Ht)}),2&Re&&(s.\u0275\u0275attribute("aria-controls",Le._getAriaControls())("aria-current",Le._getAriaCurrent())("aria-disabled",Le.disabled)("aria-selected",Le._getAriaSelected())("id",Le.id)("tabIndex",Le._getTabIndex())("role",Le._getRole()),s.\u0275\u0275classProp("mat-mdc-tab-disabled",Le.disabled)("mdc-tab--active",Le.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[s.\u0275\u0275InheritDefinitionFeature],attrs:dt,ngContentSelectors:qe,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(Re,Le){1&Re&&(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&Re&&(s.\u0275\u0275advance(1),s.\u0275\u0275property("matRippleTrigger",Le.elementRef.nativeElement)("matRippleDisabled",Le.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 Je})(),Ge=(()=>{class Je{constructor(){this.id="mat-tab-nav-panel-"+Ot++}static#e=this.\u0275fac=function(Re){return new(Re||Je)};static#t=this.\u0275cmp=s.\u0275\u0275defineComponent({type:Je,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Re,Le){2&Re&&s.\u0275\u0275attribute("aria-labelledby",Le._activeTabId)("id",Le.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:qe,decls:1,vars:0,template:function(Re,Le){1&Re&&(s.\u0275\u0275projectionDef(),s.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return Je})(),At=(()=>{class Je{static#e=this.\u0275fac=function(Re){return new(Re||Je)};static#t=this.\u0275mod=s.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=s.\u0275\u0275defineInjector({imports:[n.CommonModule,p.MatCommonModule,g.eL,p.MatRippleModule,c.Q8,d.rt,p.MatCommonModule]})}return Je})()},2596:(Q,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:()=>qe,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 k=["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,dt,Te,xe,ke,Me){this._overlay=U,this._elementRef=R,this._scrollDispatcher=H,this._viewContainerRef=Oe,this._ngZone=He,this._platform=vt,this._ariaDescriber=Ct,this._focusMonitor=dt,this._dir=xe,this._defaultOptions=ke,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,ke&&(this._showDelay=ke.showDelay,this._hideDelay=ke.hideDelay,ke.position&&(this.position=ke.position),ke.positionAtOrigin&&(this.positionAtOrigin=ke.positionAtOrigin),ke.touchGestures&&(this.touchGestures=ke.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})(),qe=(()=>{class z extends Xe{constructor(U,R,H,Oe,He,vt,Ct,dt,Te,xe,ke,Me){super(U,R,H,Oe,He,vt,Ct,dt,Te,xe,ke,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(k,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:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>uo,NoopAnimationsModule:()=>Vc,provideAnimations:()=>xs,provideNoopAnimations:()=>Ms,\u0275AnimationRenderer:()=>j,\u0275AnimationRendererFactory:()=>lo,\u0275BrowserAnimationBuilder:()=>Br,\u0275BrowserAnimationFactory:()=>zi,\u0275InjectableAnimationEngine:()=>he});var n=a(5879),s=a(6593),p=a(6825);function c(de){return new n.\u0275RuntimeError(3e3,!1)}function H(de){switch(de.length){case 0:return new p.ZN;case 1:return de[0];default:return new p.ZE(de)}}function Oe(de,E,x=new Map,P=new Map){const se=[],Ce=[];let Ke=-1,Ze=null;if(E.forEach(bt=>{const Mt=bt.get("offset"),Ut=Mt==Ke,Kt=Ut&&Ze||new Map;bt.forEach((fn,pn)=>{let sn=pn,hn=fn;if("offset"!==pn)switch(sn=de.normalizePropertyName(sn,se),hn){case p.k1:hn=x.get(pn);break;case p.l3:hn=P.get(pn);break;default:hn=de.normalizeStyleValue(pn,sn,hn,se)}Kt.set(sn,hn)}),Ut||Ce.push(Kt),Ze=Kt,Ke=Mt}),se.length)throw function Ye(de){return new n.\u0275RuntimeError(3502,!1)}();return Ce}function He(de,E,x,P){switch(E){case"start":de.onStart(()=>P(x&&vt(x,"start",de)));break;case"done":de.onDone(()=>P(x&&vt(x,"done",de)));break;case"destroy":de.onDestroy(()=>P(x&&vt(x,"destroy",de)))}}function vt(de,E,x){const Ce=Ct(de.element,de.triggerName,de.fromState,de.toState,E||de.phaseName,x.totalTime??de.totalTime,!!x.disabled),Ke=de._data;return null!=Ke&&(Ce._data=Ke),Ce}function Ct(de,E,x,P,se="",Ce=0,Ke){return{element:de,triggerName:E,fromState:x,toState:P,phaseName:se,totalTime:Ce,disabled:!!Ke}}function dt(de,E,x){let P=de.get(E);return P||de.set(E,P=x),P}function Te(de){const E=de.indexOf(":");return[de.substring(1,E),de.slice(E+1)]}const xe=(()=>typeof document>"u"?null:document.documentElement)();function ke(de){const E=de.parentNode||de.host||null;return E===xe?null:E}let Pe=null,_t=!1;function Ee(de,E){for(;E;){if(E===de)return!0;E=ke(E)}return!1}function Fe(de,E,x){if(x)return Array.from(de.querySelectorAll(E));const P=de.querySelector(E);return P?[P]:[]}let ot=(()=>{class de{validateStyleProperty(x){return function ft(de){Pe||(Pe=function ce(){return typeof document<"u"?document.body:null}()||{},_t=!!Pe.style&&"WebkitAppearance"in Pe.style);let E=!0;return Pe.style&&!function Me(de){return"ebkit"==de.substring(1,6)}(de)&&(E=de in Pe.style,!E&&_t&&(E="Webkit"+de.charAt(0).toUpperCase()+de.slice(1)in Pe.style)),E}(x)}matchesElement(x,P){return!1}containsElement(x,P){return Ee(x,P)}getParentElement(x){return ke(x)}query(x,P,se){return Fe(x,P,se)}computeStyle(x,P,se){return se||""}animate(x,P,se,Ce,Ke,Ze=[],bt){return new p.ZN(se,Ce)}static#e=this.\u0275fac=function(P){return new(P||de)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:de,factory:de.\u0275fac})}return de})(),Et=(()=>{class de{static#e=this.NOOP=new ot}return de})();const jt=1e3,Qt="ng-enter",ut="ng-leave",Tt="ng-trigger",Ue=".ng-trigger",oe="ng-animating",De=".ng-animating";function ct(de){if("number"==typeof de)return de;const E=de.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:It(parseFloat(E[1]),E[2])}function It(de,E){return"s"===E?de*jt:de}function kt(de,E,x){return de.hasOwnProperty("duration")?de:function en(de,E,x){let se,Ce=0,Ke="";if("string"==typeof de){const Ze=de.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ze)return E.push(c()),{duration:0,delay:0,easing:""};se=It(parseFloat(Ze[1]),Ze[2]);const bt=Ze[3];null!=bt&&(Ce=It(parseFloat(bt),Ze[4]));const Mt=Ze[5];Mt&&(Ke=Mt)}else se=de;if(!x){let Ze=!1,bt=E.length;se<0&&(E.push(function d(){return new n.\u0275RuntimeError(3100,!1)}()),Ze=!0),Ce<0&&(E.push(function u(){return new n.\u0275RuntimeError(3101,!1)}()),Ze=!0),Ze&&E.splice(bt,0,c())}return{duration:se,delay:Ce,easing:Ke}}(de,E,x)}function on(de,E={}){return Object.keys(de).forEach(x=>{E[x]=de[x]}),E}function _n(de){const E=new Map;return Object.keys(de).forEach(x=>{E.set(x,de[x])}),E}function rt(de,E=new Map,x){if(x)for(let[P,se]of x)E.set(P,se);for(let[P,se]of de)E.set(P,se);return E}function Ie(de,E,x){E.forEach((P,se)=>{const Ce=fe(se);x&&!x.has(se)&&x.set(se,de.style[Ce]),de.style[Ce]=P})}function We(de,E){E.forEach((x,P)=>{const se=fe(P);de.style[se]=""})}function pt(de){return Array.isArray(de)?1==de.length?de[0]:(0,p.vP)(de):de}const Xt=new RegExp("{{\\s*(.+?)\\s*}}","g");function ht(de){let E=[];if("string"==typeof de){let x;for(;x=Xt.exec(de);)E.push(x[1]);Xt.lastIndex=0}return E}function ye(de,E,x){const P=de.toString(),se=P.replace(Xt,(Ce,Ke)=>{let Ze=E[Ke];return null==Ze&&(x.push(function _(de){return new n.\u0275RuntimeError(3003,!1)}()),Ze=""),Ze.toString()});return se==P?de:se}function G(de){const E=[];let x=de.next();for(;!x.done;)E.push(x.value),x=de.next();return E}const F=/-+([a-z0-9])/g;function fe(de){return de.replace(F,(...E)=>E[1].toUpperCase())}function Lt(de,E,x){switch(E.type){case 7:return de.visitTrigger(E,x);case 0:return de.visitState(E,x);case 1:return de.visitTransition(E,x);case 2:return de.visitSequence(E,x);case 3:return de.visitGroup(E,x);case 4:return de.visitAnimate(E,x);case 5:return de.visitKeyframes(E,x);case 6:return de.visitStyle(E,x);case 8:return de.visitReference(E,x);case 9:return de.visitAnimateChild(E,x);case 10:return de.visitAnimateRef(E,x);case 11:return de.visitQuery(E,x);case 12:return de.visitStagger(E,x);default:throw function f(de){return new n.\u0275RuntimeError(3004,!1)}()}}function me(de,E){return window.getComputedStyle(de)[E]}const un="*";function Qe(de,E){const x=[];return"string"==typeof de?de.split(/\s*,\s*/).forEach(P=>function $e(de,E,x){if(":"==de[0]){const bt=function Be(de,E){switch(de){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(de){return new n.\u0275RuntimeError(3016,!1)}()),"* => *"}}(de,x);if("function"==typeof bt)return void E.push(bt);de=bt}const P=de.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==P||P.length<4)return x.push(function ie(de){return new n.\u0275RuntimeError(3015,!1)}()),E;const se=P[1],Ce=P[2],Ke=P[3];E.push(Ft(se,Ke));"<"==Ce[0]&&!(se==un&&Ke==un)&&E.push(Ft(Ke,se))}(P,x,E)):x.push(de),x}const at=new Set(["true","1"]),xt=new Set(["false","0"]);function Ft(de,E){const x=at.has(de)||xt.has(de),P=at.has(E)||xt.has(E);return(se,Ce)=>{let Ke=de==un||de==se,Ze=E==un||E==Ce;return!Ke&&x&&"boolean"==typeof se&&(Ke=se?at.has(de):xt.has(de)),!Ze&&P&&"boolean"==typeof Ce&&(Ze=Ce?at.has(E):xt.has(E)),Ke&&Ze}}const nn=new RegExp("s*:selfs*,?","g");function zt(de,E,x,P){return new Vn(de).build(E,x,P)}class Vn{constructor(E){this._driver=E}build(E,x,P){const se=new bi(x);return this._resetContextStyleTimingState(se),Lt(this,pt(E),se)}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles=new Map,E.collectedStyles.set("",new Map),E.currentTime=0}visitTrigger(E,x){let P=x.queryCount=0,se=x.depCount=0;const Ce=[],Ke=[];return"@"==E.name.charAt(0)&&x.errors.push(function b(){return new n.\u0275RuntimeError(3006,!1)}()),E.definitions.forEach(Ze=>{if(this._resetContextStyleTimingState(x),0==Ze.type){const bt=Ze,Mt=bt.name;Mt.toString().split(/\s*,\s*/).forEach(Ut=>{bt.name=Ut,Ce.push(this.visitState(bt,x))}),bt.name=Mt}else if(1==Ze.type){const bt=this.visitTransition(Ze,x);P+=bt.queryCount,se+=bt.depCount,Ke.push(bt)}else x.errors.push(function v(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:E.name,states:Ce,transitions:Ke,queryCount:P,depCount:se,options:null}}visitState(E,x){const P=this.visitStyle(E.styles,x),se=E.options&&E.options.params||null;if(P.containsDynamicStyles){const Ce=new Set,Ke=se||{};P.styles.forEach(Ze=>{Ze instanceof Map&&Ze.forEach(bt=>{ht(bt).forEach(Mt=>{Ke.hasOwnProperty(Mt)||Ce.add(Mt)})})}),Ce.size&&(G(Ce.values()),x.errors.push(function w(de,E){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:E.name,style:P,options:se?{params:se}:null}}visitTransition(E,x){x.queryCount=0,x.depCount=0;const P=Lt(this,pt(E.animation),x);return{type:1,matchers:Qe(E.expr,x.errors),animation:P,queryCount:x.queryCount,depCount:x.depCount,options:_e(E.options)}}visitSequence(E,x){return{type:2,steps:E.steps.map(P=>Lt(this,P,x)),options:_e(E.options)}}visitGroup(E,x){const P=x.currentTime;let se=0;const Ce=E.steps.map(Ke=>{x.currentTime=P;const Ze=Lt(this,Ke,x);return se=Math.max(se,x.currentTime),Ze});return x.currentTime=se,{type:3,steps:Ce,options:_e(E.options)}}visitAnimate(E,x){const P=function mn(de,E){if(de.hasOwnProperty("duration"))return de;if("number"==typeof de)return st(kt(de,E).duration,0,"");const x=de;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 se=kt(x,E);return st(se.duration,se.delay,se.easing)}(E.timings,x.errors);x.currentAnimateTimings=P;let se,Ce=E.styles?E.styles:(0,p.oB)({});if(5==Ce.type)se=this.visitKeyframes(Ce,x);else{let Ke=E.styles,Ze=!1;if(!Ke){Ze=!0;const Mt={};P.easing&&(Mt.easing=P.easing),Ke=(0,p.oB)(Mt)}x.currentTime+=P.duration+P.delay;const bt=this.visitStyle(Ke,x);bt.isEmptyStep=Ze,se=bt}return x.currentAnimateTimings=null,{type:4,timings:P,style:se,options:null}}visitStyle(E,x){const P=this._makeStyleAst(E,x);return this._validateStyleAst(P,x),P}_makeStyleAst(E,x){const P=[],se=Array.isArray(E.styles)?E.styles:[E.styles];for(let Ze of se)"string"==typeof Ze?Ze===p.l3?P.push(Ze):x.errors.push(new n.\u0275RuntimeError(3002,!1)):P.push(_n(Ze));let Ce=!1,Ke=null;return P.forEach(Ze=>{if(Ze instanceof Map&&(Ze.has("easing")&&(Ke=Ze.get("easing"),Ze.delete("easing")),!Ce))for(let bt of Ze.values())if(bt.toString().indexOf("{{")>=0){Ce=!0;break}}),{type:6,styles:P,easing:Ke,offset:E.offset,containsDynamicStyles:Ce,options:null}}_validateStyleAst(E,x){const P=x.currentAnimateTimings;let se=x.currentTime,Ce=x.currentTime;P&&Ce>0&&(Ce-=P.duration+P.delay),E.styles.forEach(Ke=>{"string"!=typeof Ke&&Ke.forEach((Ze,bt)=>{const Mt=x.collectedStyles.get(x.currentQuerySelector),Ut=Mt.get(bt);let Kt=!0;Ut&&(Ce!=se&&Ce>=Ut.startTime&&se<=Ut.endTime&&(x.errors.push(function S(de,E,x,P,se){return new n.\u0275RuntimeError(3010,!1)}()),Kt=!1),Ce=Ut.startTime),Kt&&Mt.set(bt,{startTime:Ce,endTime:se}),x.options&&function Ot(de,E,x){const P=E.params||{},se=ht(de);se.length&&se.forEach(Ce=>{P.hasOwnProperty(Ce)||x.push(function m(de){return new n.\u0275RuntimeError(3001,!1)}())})}(Ze,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 Ke=[];let Ze=!1,bt=!1,Mt=0;const Ut=E.steps.map(qn=>{const ai=this._makeStyleAst(qn,x);let _i=null!=ai.offset?ai.offset:function kn(de){if("string"==typeof de)return null;let E=null;if(Array.isArray(de))de.forEach(x=>{if(x instanceof Map&&x.has("offset")){const P=x;E=parseFloat(P.get("offset")),P.delete("offset")}});else if(de instanceof Map&&de.has("offset")){const x=de;E=parseFloat(x.get("offset")),x.delete("offset")}return E}(ai.styles),ci=0;return null!=_i&&(Ce++,ci=ai.offset=_i),bt=bt||ci<0||ci>1,Ze=Ze||ci<Mt,Mt=ci,Ke.push(ci),ai});bt&&x.errors.push(function V(){return new n.\u0275RuntimeError(3012,!1)}()),Ze&&x.errors.push(function ee(){return new n.\u0275RuntimeError(3200,!1)}());const Kt=E.steps.length;let fn=0;Ce>0&&Ce<Kt?x.errors.push(function W(){return new n.\u0275RuntimeError(3202,!1)}()):0==Ce&&(fn=1/(Kt-1));const pn=Kt-1,sn=x.currentTime,hn=x.currentAnimateTimings,Un=hn.duration;return Ut.forEach((qn,ai)=>{const _i=fn>0?ai==pn?1:fn*ai:Ke[ai],ci=_i*Un;x.currentTime=sn+hn.delay+ci,hn.duration=ci,this._validateStyleAst(qn,x),qn.offset=_i,P.styles.push(qn)}),P}visitReference(E,x){return{type:8,animation:Lt(this,pt(E.animation),x),options:_e(E.options)}}visitAnimateChild(E,x){return x.depCount++,{type:9,options:_e(E.options)}}visitAnimateRef(E,x){return{type:10,animation:this.visitReference(E.animation,x),options:_e(E.options)}}visitQuery(E,x){const P=x.currentQuerySelector,se=E.options||{};x.queryCount++,x.currentQuery=E;const[Ce,Ke]=function Pn(de){const E=!!de.split(/\s*,\s*/).find(x=>":self"==x);return E&&(de=de.replace(nn,"")),de=de.replace(/@\*/g,Ue).replace(/@\w+/g,x=>Ue+"-"+x.slice(1)).replace(/:animating/g,De),[de,E]}(E.selector);x.currentQuerySelector=P.length?P+" "+Ce:Ce,dt(x.collectedStyles,x.currentQuerySelector,new Map);const Ze=Lt(this,pt(E.animation),x);return x.currentQuery=null,x.currentQuerySelector=P,{type:11,selector:Ce,limit:se.limit||0,optional:!!se.optional,includeSelf:Ke,animation:Ze,originalSelector:E.selector,options:_e(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"}:kt(E.timings,x.errors,!0);return{type:12,animation:Lt(this,pt(E.animation),x),timings:P,options:null}}}class bi{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 _e(de){return de?(de=on(de)).params&&(de.params=function Fn(de){return de?on(de):null}(de.params)):de={},de}function st(de,E,x){return{duration:de,delay:E,easing:x}}function X(de,E,x,P,se,Ce,Ke=null,Ze=!1){return{type:1,element:de,keyframes:E,preStyleProps:x,postStyleProps:P,duration:se,delay:Ce,totalTime:se+Ce,easing:Ke,subTimeline:Ze}}class pe{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"),je=new RegExp(":leave","g");function $t(de,E,x,P,se,Ce=new Map,Ke=new Map,Ze,bt,Mt=[]){return(new Bt).buildKeyframes(de,E,x,P,se,Ce,Ke,Ze,bt,Mt)}class Bt{buildKeyframes(E,x,P,se,Ce,Ke,Ze,bt,Mt,Ut=[]){Mt=Mt||new pe;const Kt=new Sn(E,x,Mt,se,Ce,Ut,[]);Kt.options=bt;const fn=bt.delay?ct(bt.delay):0;Kt.currentTimeline.delayNextStep(fn),Kt.currentTimeline.setStyles([Ke],null,Kt.errors,bt),Lt(this,P,Kt);const pn=Kt.timelines.filter(sn=>sn.containsAnimation());if(pn.length&&Ze.size){let sn;for(let hn=pn.length-1;hn>=0;hn--){const Un=pn[hn];if(Un.element===x){sn=Un;break}}sn&&!sn.allowOnlyTimelineStyles()&&sn.setStyles([Ze],null,Kt.errors,bt)}return pn.length?pn.map(sn=>sn.buildKeyframes()):[X(x,[],[],[],0,fn,"",!1)]}visitTrigger(E,x){}visitState(E,x){}visitTransition(E,x){}visitAnimateChild(E,x){const P=x.subInstructions.get(x.element);if(P){const se=x.createSubContext(E.options),Ce=x.currentTimeline.currentTime,Ke=this._visitSubInstructions(P,se,se.options);Ce!=Ke&&x.transformIntoNewTimeline(Ke)}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 se of E){const Ce=se?.delay;if(Ce){const Ke="number"==typeof Ce?Ce:ct(ye(Ce,se?.params??{},x.errors));P.delayNextStep(Ke)}}}_visitSubInstructions(E,x,P){let Ce=x.currentTimeline.currentTime;const Ke=null!=P.duration?ct(P.duration):null,Ze=null!=P.delay?ct(P.delay):null;return 0!==Ke&&E.forEach(bt=>{const Mt=x.appendInstructionToTimeline(bt,Ke,Ze);Ce=Math.max(Ce,Mt.duration+Mt.delay)}),Ce}visitReference(E,x){x.updateOptions(E.options,!0),Lt(this,E.animation,x),x.previousNode=E}visitSequence(E,x){const P=x.subContextCount;let se=x;const Ce=E.options;if(Ce&&(Ce.params||Ce.delay)&&(se=x.createSubContext(Ce),se.transformIntoNewTimeline(),null!=Ce.delay)){6==se.previousNode.type&&(se.currentTimeline.snapshotCurrentStyles(),se.previousNode=Cn);const Ke=ct(Ce.delay);se.delayNextStep(Ke)}E.steps.length&&(E.steps.forEach(Ke=>Lt(this,Ke,se)),se.currentTimeline.applyStylesToKeyframe(),se.subContextCount>P&&se.transformIntoNewTimeline()),x.previousNode=E}visitGroup(E,x){const P=[];let se=x.currentTimeline.currentTime;const Ce=E.options&&E.options.delay?ct(E.options.delay):0;E.steps.forEach(Ke=>{const Ze=x.createSubContext(E.options);Ce&&Ze.delayNextStep(Ce),Lt(this,Ke,Ze),se=Math.max(se,Ze.currentTimeline.currentTime),P.push(Ze.currentTimeline)}),P.forEach(Ke=>x.currentTimeline.mergeTimelineCollectedStyles(Ke)),x.transformIntoNewTimeline(se),x.previousNode=E}_visitTiming(E,x){if(E.dynamic){const P=E.strValue;return kt(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),se=x.currentTimeline;P.delay&&(x.incrementTime(P.delay),se.snapshotCurrentStyles());const Ce=E.style;5==Ce.type?this.visitKeyframes(Ce,x):(x.incrementTime(P.duration),this.visitStyle(Ce,x),se.applyStylesToKeyframe()),x.currentAnimateTimings=null,x.previousNode=E}visitStyle(E,x){const P=x.currentTimeline,se=x.currentAnimateTimings;!se&&P.hasCurrentStyleProperties()&&P.forwardFrame();const Ce=se&&se.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,se=x.currentTimeline.duration,Ce=P.duration,Ze=x.createSubContext().currentTimeline;Ze.easing=P.easing,E.styles.forEach(bt=>{Ze.forwardTime((bt.offset||0)*Ce),Ze.setStyles(bt.styles,bt.easing,x.errors,x.options),Ze.applyStylesToKeyframe()}),x.currentTimeline.mergeTimelineCollectedStyles(Ze),x.transformIntoNewTimeline(se+Ce),x.previousNode=E}visitQuery(E,x){const P=x.currentTimeline.currentTime,se=E.options||{},Ce=se.delay?ct(se.delay):0;Ce&&(6===x.previousNode.type||0==P&&x.currentTimeline.hasCurrentStyleProperties())&&(x.currentTimeline.snapshotCurrentStyles(),x.previousNode=Cn);let Ke=P;const Ze=x.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!se.optional,x.errors);x.currentQueryTotal=Ze.length;let bt=null;Ze.forEach((Mt,Ut)=>{x.currentQueryIndex=Ut;const Kt=x.createSubContext(E.options,Mt);Ce&&Kt.delayNextStep(Ce),Mt===x.element&&(bt=Kt.currentTimeline),Lt(this,E.animation,Kt),Kt.currentTimeline.applyStylesToKeyframe(),Ke=Math.max(Ke,Kt.currentTimeline.currentTime)}),x.currentQueryIndex=0,x.currentQueryTotal=0,x.transformIntoNewTimeline(Ke),bt&&(x.currentTimeline.mergeTimelineCollectedStyles(bt),x.currentTimeline.snapshotCurrentStyles()),x.previousNode=E}visitStagger(E,x){const P=x.parentContext,se=x.currentTimeline,Ce=E.timings,Ke=Math.abs(Ce.duration),Ze=Ke*(x.currentQueryTotal-1);let bt=Ke*x.currentQueryIndex;switch(Ce.duration<0?"reverse":Ce.easing){case"reverse":bt=Ze-bt;break;case"full":bt=P.currentStaggerTime}const Ut=x.currentTimeline;bt&&Ut.delayNextStep(bt);const Kt=Ut.currentTime;Lt(this,E.animation,x),x.previousNode=E,P.currentStaggerTime=se.currentTime-Kt+(se.startTime-P.currentTimeline.startTime)}}const Cn={};class Sn{constructor(E,x,P,se,Ce,Ke,Ze,bt){this._driver=E,this.element=x,this.subInstructions=P,this._enterClassName=se,this._leaveClassName=Ce,this.errors=Ke,this.timelines=Ze,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Cn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=bt||new zn(this._driver,x,0),Ze.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,x){if(!E)return;const P=E;let se=this.options;null!=P.duration&&(se.duration=ct(P.duration)),null!=P.delay&&(se.delay=ct(P.delay));const Ce=P.params;if(Ce){let Ke=se.params;Ke||(Ke=this.options.params={}),Object.keys(Ce).forEach(Ze=>{(!x||!Ke.hasOwnProperty(Ze))&&(Ke[Ze]=ye(Ce[Ze],Ke,this.errors))})}}_copyOptions(){const E={};if(this.options){const x=this.options.params;if(x){const P=E.params={};Object.keys(x).forEach(se=>{P[se]=x[se]})}}return E}createSubContext(E=null,x,P){const se=x||this.element,Ce=new Sn(this._driver,se,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(se,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=Cn,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,x,P){const se={duration:x??E.duration,delay:this.currentTimeline.currentTime+(P??0)+E.delay,easing:""},Ce=new ti(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,se,E.stretchStartingKeyframe);return this.timelines.push(Ce),se}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,x,P,se,Ce,Ke){let Ze=[];if(se&&Ze.push(this.element),E.length>0){E=(E=E.replace(L,"."+this._enterClassName)).replace(je,"."+this._leaveClassName);let Mt=this._driver.query(this.element,E,1!=P);0!==P&&(Mt=P<0?Mt.slice(Mt.length+P,Mt.length):Mt.slice(0,P)),Ze.push(...Mt)}return!Ce&&0==Ze.length&&Ke.push(function ue(de){return new n.\u0275RuntimeError(3014,!1)}()),Ze}}class zn{constructor(E,x,P,se){this._driver=E,this.element=x,this.startTime=P,this._elementTimelineStylesLookup=se,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 zn(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,se){x&&this._previousKeyframe.set("easing",x);const Ce=se&&se.params||{},Ke=function ni(de,E){const x=new Map;let P;return de.forEach(se=>{if("*"===se){P=P||E.keys();for(let Ce of P)x.set(Ce,p.l3)}else rt(se,x)}),x}(E,this._globalTimelineStyles);for(let[Ze,bt]of Ke){const Mt=ye(bt,Ce,P);this._pendingStyles.set(Ze,Mt),this._localTimelineStyles.has(Ze)||this._backFill.set(Ze,this._globalTimelineStyles.get(Ze)??p.l3),this._updateStyle(Ze,Mt)}}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 se=this._styleSummary.get(P);(!se||x.time>se.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 se=[];this._keyframes.forEach((Ze,bt)=>{const Mt=rt(Ze,new Map,this._backFill);Mt.forEach((Ut,Kt)=>{Ut===p.k1?E.add(Kt):Ut===p.l3&&x.add(Kt)}),P||Mt.set("offset",bt/this.duration),se.push(Mt)});const Ce=E.size?G(E.values()):[],Ke=x.size?G(x.values()):[];if(P){const Ze=se[0],bt=new Map(Ze);Ze.set("offset",0),bt.set("offset",1),se=[Ze,bt]}return X(this.element,se,Ce,Ke,this.duration,this.startTime,this.easing,!1)}}class ti extends zn{constructor(E,x,P,se,Ce,Ke,Ze=!1){super(E,x,Ke.delay),this.keyframes=P,this.preStyleProps=se,this.postStyleProps=Ce,this._stretchStartingKeyframe=Ze,this.timings={duration:Ke.duration,delay:Ke.delay,easing:Ke.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:x,duration:P,easing:se}=this.timings;if(this._stretchStartingKeyframe&&x){const Ce=[],Ke=P+x,Ze=x/Ke,bt=rt(E[0]);bt.set("offset",0),Ce.push(bt);const Mt=rt(E[0]);Mt.set("offset",Pi(Ze)),Ce.push(Mt);const Ut=E.length-1;for(let Kt=1;Kt<=Ut;Kt++){let fn=rt(E[Kt]);const pn=fn.get("offset");fn.set("offset",Pi((x+pn*P)/Ke)),Ce.push(fn)}P=Ke,x=0,se="",E=Ce}return X(this.element,E,this.preStyleProps,this.postStyleProps,P,x,se,!0)}}function Pi(de,E=3){const x=Math.pow(10,E-1);return Math.round(de*x)/x}class pr{}const Dr=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 xr extends pr{normalizePropertyName(E,x){return fe(E)}normalizeStyleValue(E,x,P,se){let Ce="";const Ke=P.toString().trim();if(Dr.has(x)&&0!==P&&"0"!==P)if("number"==typeof P)Ce="px";else{const Ze=P.match(/^[+-]?[\d\.]+([a-z]*)$/);Ze&&0==Ze[1].length&&se.push(function y(de,E){return new n.\u0275RuntimeError(3005,!1)}())}return Ke+Ce}}function qi(de,E,x,P,se,Ce,Ke,Ze,bt,Mt,Ut,Kt,fn){return{type:0,element:de,triggerName:E,isRemovalTransition:se,fromState:x,fromStyles:Ce,toState:P,toStyles:Ke,timelines:Ze,queriedElements:bt,preStyleProps:Mt,postStyleProps:Ut,totalTime:Kt,errors:fn}}const or={};class sr{constructor(E,x,P){this._triggerName=E,this.ast=x,this._stateStyles=P}match(E,x,P,se){return function xn(de,E,x,P,se){return de.some(Ce=>Ce(E,x,P,se))}(this.ast.matchers,E,x,P,se)}buildStyles(E,x,P){let se=this._stateStyles.get("*");return void 0!==E&&(se=this._stateStyles.get(E?.toString())||se),se?se.buildStyles(x,P):new Map}build(E,x,P,se,Ce,Ke,Ze,bt,Mt,Ut){const Kt=[],fn=this.ast.options&&this.ast.options.params||or,sn=this.buildStyles(P,Ze&&Ze.params||or,Kt),hn=bt&&bt.params||or,Un=this.buildStyles(se,hn,Kt),qn=new Set,ai=new Map,_i=new Map,ci="void"===se,Vr={params:Zn(hn,fn),delay:this.ast.options?.delay},tr=Ut?[]:$t(E,x,this.ast.animation,Ce,Ke,sn,Un,Vr,Mt,Kt);let Ti=0;if(tr.forEach(Vi=>{Ti=Math.max(Vi.duration+Vi.delay,Ti)}),Kt.length)return qi(x,this._triggerName,P,se,ci,sn,Un,[],[],ai,_i,Ti,Kt);tr.forEach(Vi=>{const Ai=Vi.element,Co=dt(ai,Ai,new Set);Vi.preStyleProps.forEach(Cr=>Co.add(Cr));const fo=dt(_i,Ai,new Set);Vi.postStyleProps.forEach(Cr=>fo.add(Cr)),Ai!==x&&qn.add(Ai)});const Bi=G(qn.values());return qi(x,this._triggerName,P,se,ci,sn,Un,tr,Bi,ai,_i,Ti)}}function Zn(de,E){const x=on(E);for(const P in de)de.hasOwnProperty(P)&&null!=de[P]&&(x[P]=de[P]);return x}class ii{constructor(E,x,P){this.styles=E,this.defaultParams=x,this.normalizer=P}buildStyles(E,x){const P=new Map,se=on(this.defaultParams);return Object.keys(E).forEach(Ce=>{const Ke=E[Ce];null!==Ke&&(se[Ce]=Ke)}),this.styles.styles.forEach(Ce=>{"string"!=typeof Ce&&Ce.forEach((Ke,Ze)=>{Ke&&(Ke=ye(Ke,se,x));const bt=this.normalizer.normalizePropertyName(Ze,x);Ke=this.normalizer.normalizeStyleValue(Ze,bt,Ke,x),P.set(Ze,Ke)})}),P}}class di{constructor(E,x,P){this.name=E,this.ast=x,this._normalizer=P,this.transitionFactories=[],this.states=new Map,x.states.forEach(se=>{this.states.set(se.name,new ii(se.style,se.options&&se.options.params||{},P))}),Mr(this.states,"true","1"),Mr(this.states,"false","0"),x.transitions.forEach(se=>{this.transitionFactories.push(new sr(E,se,this.states))}),this.fallbackTransition=function er(de,E,x){return new sr(de,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ke,Ze)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,x,P,se){return this.transitionFactories.find(Ke=>Ke.match(E,x,P,se))||null}matchStyles(E,x,P){return this.fallbackTransition.buildStyles(E,x,P)}}function Mr(de,E,x){de.has(E)?de.has(x)||de.set(x,de.get(E)):de.has(x)&&de.set(E,de.get(x))}const Ni=new pe;class Sr{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=zt(this._driver,x,P,[]);if(P.length)throw function ge(de){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(E,Ce)}_buildPlayer(E,x,P){const se=E.element,Ce=Oe(this._normalizer,E.keyframes,x,P);return this._driver.animate(se,Ce,E.duration,E.delay,E.easing,[],!0)}create(E,x,P={}){const se=[],Ce=this._animations.get(E);let Ke;const Ze=new Map;if(Ce?(Ke=$t(this._driver,x,Ce,Qt,ut,new Map,new Map,P,Ni,se),Ke.forEach(Ut=>{const Kt=dt(Ze,Ut.element,new Map);Ut.postStyleProps.forEach(fn=>Kt.set(fn,null))})):(se.push(function Ne(){return new n.\u0275RuntimeError(3300,!1)}()),Ke=[]),se.length)throw function Xe(de){return new n.\u0275RuntimeError(3504,!1)}();Ze.forEach((Ut,Kt)=>{Ut.forEach((fn,pn)=>{Ut.set(pn,this._driver.computeStyle(Kt,pn,p.l3))})});const Mt=H(Ke.map(Ut=>{const Kt=Ze.get(Ut.element);return this._buildPlayer(Ut,new Map,Kt)}));return this._playersById.set(E,Mt),Mt.onDestroy(()=>this.destroy(E)),this.players.push(Mt),Mt}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 qe(de){return new n.\u0275RuntimeError(3301,!1)}();return x}listen(E,x,P,se){const Ce=Ct(x,"","","");return He(this._getPlayer(E),P,Ce,se),()=>{}}command(E,x,P,se){if("register"==P)return void this.register(E,se[0]);if("create"==P)return void this.create(E,x,se[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(se[0]));break;case"destroy":this.destroy(E)}}}const Ir="ng-animate-queued",Wt="ng-animate-disabled",ar=[],Jn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Li={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},An="__ng_removed";class Si{get params(){return this.options.params}constructor(E,x=""){this.namespaceId=x;const P=E&&E.hasOwnProperty("value");if(this.value=function yi(de){return de??null}(P?E.value:E),P){const Ce=on(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(se=>{null==P[se]&&(P[se]=x[se])})}}}const ui="void",an=new Si(ui);class Hi{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,$n(x,this._hostClassName)}listen(E,x,P,se){if(!this._triggers.has(x))throw function q(de,E){return new n.\u0275RuntimeError(3302,!1)}();if(null==P||0==P.length)throw function we(de){return new n.\u0275RuntimeError(3303,!1)}();if(!function Qn(de){return"start"==de||"done"==de}(P))throw function re(de,E){return new n.\u0275RuntimeError(3400,!1)}();const Ce=dt(this._elementListeners,E,[]),Ke={name:x,phase:P,callback:se};Ce.push(Ke);const Ze=dt(this._engine.statesByElement,E,new Map);return Ze.has(x)||($n(E,Tt),$n(E,Tt+"-"+x),Ze.set(x,an)),()=>{this._engine.afterFlush(()=>{const bt=Ce.indexOf(Ke);bt>=0&&Ce.splice(bt,1),this._triggers.has(x)||Ze.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(de){return new n.\u0275RuntimeError(3401,!1)}();return x}trigger(E,x,P,se=!0){const Ce=this._getTrigger(x),Ke=new fi(this.id,x,E);let Ze=this._engine.statesByElement.get(E);Ze||($n(E,Tt),$n(E,Tt+"-"+x),this._engine.statesByElement.set(E,Ze=new Map));let bt=Ze.get(x);const Mt=new Si(P,this.id);if(!(P&&P.hasOwnProperty("value"))&&bt&&Mt.absorbOptions(bt.options),Ze.set(x,Mt),bt||(bt=an),Mt.value!==ui&&bt.value===Mt.value){if(!function lr(de,E){const x=Object.keys(de),P=Object.keys(E);if(x.length!=P.length)return!1;for(let se=0;se<x.length;se++){const Ce=x[se];if(!E.hasOwnProperty(Ce)||de[Ce]!==E[Ce])return!1}return!0}(bt.params,Mt.params)){const hn=[],Un=Ce.matchStyles(bt.value,bt.params,hn),qn=Ce.matchStyles(Mt.value,Mt.params,hn);hn.length?this._engine.reportError(hn):this._engine.afterFlush(()=>{We(E,Un),Ie(E,qn)})}return}const fn=dt(this._engine.playersByElement,E,[]);fn.forEach(hn=>{hn.namespaceId==this.id&&hn.triggerName==x&&hn.queued&&hn.destroy()});let pn=Ce.matchTransition(bt.value,Mt.value,E,Mt.params),sn=!1;if(!pn){if(!se)return;pn=Ce.fallbackTransition,sn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:x,transition:pn,fromState:bt,toState:Mt,player:Ke,isFallbackTransition:sn}),sn||($n(E,Ir),Ke.onStart(()=>{Ri(E,Ir)})),Ke.onDone(()=>{let hn=this.players.indexOf(Ke);hn>=0&&this.players.splice(hn,1);const Un=this._engine.playersByElement.get(E);if(Un){let qn=Un.indexOf(Ke);qn>=0&&Un.splice(qn,1)}}),this.players.push(Ke),fn.push(Ke),Ke}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(se=>se.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(se=>{if(se[An])return;const Ce=this._engine.fetchNamespacesByElement(se);Ce.size?Ce.forEach(Ke=>Ke.triggerLeaveAnimation(se,x,!1,!0)):this.clearElementCache(se)}),this._engine.afterFlushAnimationsDone(()=>P.forEach(se=>this.clearElementCache(se)))}triggerLeaveAnimation(E,x,P,se){const Ce=this._engine.statesByElement.get(E),Ke=new Map;if(Ce){const Ze=[];if(Ce.forEach((bt,Mt)=>{if(Ke.set(Mt,bt.value),this._triggers.has(Mt)){const Ut=this.trigger(E,Mt,ui,se);Ut&&Ze.push(Ut)}}),Ze.length)return this._engine.markElementAsRemoved(this.id,E,!0,x,Ke),P&&H(Ze).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 se=new Set;x.forEach(Ce=>{const Ke=Ce.name;if(se.has(Ke))return;se.add(Ke);const bt=this._triggers.get(Ke).fallbackTransition,Mt=P.get(Ke)||an,Ut=new Si(ui),Kt=new fi(this.id,Ke,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Ke,transition:bt,fromState:Mt,toState:Ut,player:Kt,isFallbackTransition:!0})})}}removeNode(E,x){const P=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,x),this.triggerLeaveAnimation(E,x,!0))return;let se=!1;if(P.totalAnimations){const Ce=P.players.length?P.playersByQueriedElement.get(E):[];if(Ce&&Ce.length)se=!0;else{let Ke=E;for(;Ke=Ke.parentNode;)if(P.statesByElement.get(Ke)){se=!0;break}}}if(this.prepareLeaveAnimationListeners(E),se)P.markElementAsRemoved(this.id,E,!1,x);else{const Ce=E[An];(!Ce||Ce===Jn)&&(P.afterFlush(()=>this.clearElementCache(E)),P.destroyInnerAnimations(E),P._onRemovalComplete(E,x))}}insertNode(E,x){$n(E,this._hostClassName)}drainQueuedTransitions(E){const x=[];return this._queue.forEach(P=>{const se=P.player;if(se.destroyed)return;const Ce=P.element,Ke=this._elementListeners.get(Ce);Ke&&Ke.forEach(Ze=>{if(Ze.name==P.triggerName){const bt=Ct(Ce,P.triggerName,P.fromState.value,P.toState.value);bt._data=E,He(P.player,Ze.phase,bt,Ze.callback)}}),se.markedForDestroy?this._engine.afterFlush(()=>{se.destroy()}):x.push(P)}),this._queue=[],x.sort((P,se)=>{const Ce=P.transition.ast.depCount,Ke=se.transition.ast.depCount;return 0==Ce||0==Ke?Ce-Ke:this._engine.driver.containsElement(P.element,se.element)?1:-1})}destroy(E){this.players.forEach(x=>x.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}}class Ar{_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=(se,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 Hi(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,se=this.namespacesByHostElement;if(P.length-1>=0){let Ke=!1,Ze=this.driver.getParentElement(x);for(;Ze;){const bt=se.get(Ze);if(bt){const Mt=P.indexOf(bt);P.splice(Mt+1,0,E),Ke=!0;break}Ze=this.driver.getParentElement(Ze)}Ke||P.unshift(E)}else P.push(E);return se.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 se=this._namespaceLookup[E];se&&se.register(x,P)&&this.totalAnimations++}destroy(E,x){E&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const P=this._fetchNamespace(E);this.namespacesByHostElement.delete(P.hostElement);const se=this._namespaceList.indexOf(P);se>=0&&this._namespaceList.splice(se,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 se of P.values())if(se.namespaceId){const Ce=this._fetchNamespace(se.namespaceId);Ce&&x.add(Ce)}return x}trigger(E,x,P,se){if(hi(x)){const Ce=this._fetchNamespace(E);if(Ce)return Ce.trigger(x,P,se),!0}return!1}insertNode(E,x,P,se){if(!hi(x))return;const Ce=x[An];if(Ce&&Ce.setForRemoval){Ce.setForRemoval=!1,Ce.setForMove=!0;const Ke=this.collectedLeaveElements.indexOf(x);Ke>=0&&this.collectedLeaveElements.splice(Ke,1)}if(E){const Ke=this._fetchNamespace(E);Ke&&Ke.insertNode(x,P)}se&&this.collectEnterElement(x)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,x){x?this.disabledNodes.has(E)||(this.disabledNodes.add(E),$n(E,Wt)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Ri(E,Wt))}removeNode(E,x,P){if(hi(x)){const se=E?this._fetchNamespace(E):null;se?se.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,se,Ce){this.collectedLeaveElements.push(x),x[An]={namespaceId:E,setForRemoval:se,hasAnimation:P,removedBeforeQueried:!1,previousTriggersValues:Ce}}listen(E,x,P,se,Ce){return hi(x)?this._fetchNamespace(E).listen(x,P,se,Ce):()=>{}}_buildInstruction(E,x,P,se,Ce){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,P,se,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[An];if(x&&x.setForRemoval){if(E[An]=Jn,x.namespaceId){this.destroyInnerAnimations(E);const P=this._fetchNamespace(x.namespaceId);P&&P.clearElementCache(E)}this._onRemovalComplete(E,x.setForRemoval)}E.classList?.contains(Wt)&&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,se)=>this._balanceNamespaceList(P,se)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let P=0;P<this.collectedEnterElements.length;P++)$n(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 se=0;se<P.length;se++)P[se]()}}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(se=>se())}):P.forEach(se=>se())}}reportError(E){throw function z(de){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(E,x){const P=new pe,se=[],Ce=new Map,Ke=[],Ze=new Map,bt=new Map,Mt=new Map,Ut=new Set;this.disabledNodes.forEach(tn=>{Ut.add(tn);const cn=this.driver.query(tn,".ng-animate-queued",!0);for(let dn=0;dn<cn.length;dn++)Ut.add(cn[dn])});const Kt=this.bodyNode,fn=Array.from(this.statesByElement.keys()),pn=oi(fn,this.collectedEnterElements),sn=new Map;let hn=0;pn.forEach((tn,cn)=>{const dn=Qt+hn++;sn.set(cn,dn),tn.forEach(Rn=>$n(Rn,dn))});const Un=[],qn=new Set,ai=new Set;for(let tn=0;tn<this.collectedLeaveElements.length;tn++){const cn=this.collectedLeaveElements[tn],dn=cn[An];dn&&dn.setForRemoval&&(Un.push(cn),qn.add(cn),dn.hasAnimation?this.driver.query(cn,".ng-star-inserted",!0).forEach(Rn=>qn.add(Rn)):ai.add(cn))}const _i=new Map,ci=oi(fn,Array.from(qn));ci.forEach((tn,cn)=>{const dn=ut+hn++;_i.set(cn,dn),tn.forEach(Rn=>$n(Rn,dn))}),E.push(()=>{pn.forEach((tn,cn)=>{const dn=sn.get(cn);tn.forEach(Rn=>Ri(Rn,dn))}),ci.forEach((tn,cn)=>{const dn=_i.get(cn);tn.forEach(Rn=>Ri(Rn,dn))}),Un.forEach(tn=>{this.processLeaveNode(tn)})});const Vr=[],tr=[];for(let tn=this._namespaceList.length-1;tn>=0;tn--)this._namespaceList[tn].drainQueuedTransitions(x).forEach(dn=>{const Rn=dn.player,vi=dn.element;if(Vr.push(Rn),this.collectedEnterElements.length){const B=vi[An];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(dn.triggerName)){const Se=B.previousTriggersValues.get(dn.triggerName),gt=this.statesByElement.get(dn.element);if(gt&>.has(dn.triggerName)){const Dt=gt.get(dn.triggerName);Dt.value=Se,gt.set(dn.triggerName,Dt)}}return void Rn.destroy()}}const Wi=!Kt||!this.driver.containsElement(Kt,vi),wi=_i.get(vi),Rr=sn.get(vi),D=this._buildInstruction(dn,P,Rr,wi,Wi);if(D.errors&&D.errors.length)return void tr.push(D);if(Wi)return Rn.onStart(()=>We(vi,D.fromStyles)),Rn.onDestroy(()=>Ie(vi,D.toStyles)),void se.push(Rn);if(dn.isFallbackTransition)return Rn.onStart(()=>We(vi,D.fromStyles)),Rn.onDestroy(()=>Ie(vi,D.toStyles)),void se.push(Rn);const ae=[];D.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||ae.push(B)}),D.timelines=ae,P.append(vi,D.timelines),Ke.push({instruction:D,player:Rn,element:vi}),D.queriedElements.forEach(B=>dt(Ze,B,[]).push(Rn)),D.preStyleProps.forEach((B,Se)=>{if(B.size){let gt=bt.get(Se);gt||bt.set(Se,gt=new Set),B.forEach((Dt,Jt)=>gt.add(Jt))}}),D.postStyleProps.forEach((B,Se)=>{let gt=Mt.get(Se);gt||Mt.set(Se,gt=new Set),B.forEach((Dt,Jt)=>gt.add(Jt))})});if(tr.length){const tn=[];tr.forEach(cn=>{tn.push(function U(de,E){return new n.\u0275RuntimeError(3505,!1)}())}),Vr.forEach(cn=>cn.destroy()),this.reportError(tn)}const Ti=new Map,Bi=new Map;Ke.forEach(tn=>{const cn=tn.element;P.has(cn)&&(Bi.set(cn,cn),this._beforeAnimationBuild(tn.player.namespaceId,tn.instruction,Ti))}),se.forEach(tn=>{const cn=tn.element;this._getPreviousPlayers(cn,!1,tn.namespaceId,tn.triggerName,null).forEach(Rn=>{dt(Ti,cn,[]).push(Rn),Rn.destroy()})});const Vi=Un.filter(tn=>dr(tn,bt,Mt)),Ai=new Map;Zr(Ai,this.driver,ai,Mt,p.l3).forEach(tn=>{dr(tn,bt,Mt)&&Vi.push(tn)});const fo=new Map;pn.forEach((tn,cn)=>{Zr(fo,this.driver,new Set(tn),bt,p.k1)}),Vi.forEach(tn=>{const cn=Ai.get(tn),dn=fo.get(tn);Ai.set(tn,new Map([...cn?.entries()??[],...dn?.entries()??[]]))});const Cr=[],wo=[],ho={};Ke.forEach(tn=>{const{element:cn,player:dn,instruction:Rn}=tn;if(P.has(cn)){if(Ut.has(cn))return dn.onDestroy(()=>Ie(cn,Rn.toStyles)),dn.disabled=!0,dn.overrideTotalTime(Rn.totalTime),void se.push(dn);let vi=ho;if(Bi.size>1){let wi=cn;const Rr=[];for(;wi=wi.parentNode;){const D=Bi.get(wi);if(D){vi=D;break}Rr.push(wi)}Rr.forEach(D=>Bi.set(D,vi))}const Wi=this._buildAnimation(dn.namespaceId,Rn,Ti,Ce,fo,Ai);if(dn.setRealPlayer(Wi),vi===ho)Cr.push(dn);else{const wi=this.playersByElement.get(vi);wi&&wi.length&&(dn.parentPlayer=H(wi)),se.push(dn)}}else We(cn,Rn.fromStyles),dn.onDestroy(()=>Ie(cn,Rn.toStyles)),wo.push(dn),Ut.has(cn)&&se.push(dn)}),wo.forEach(tn=>{const cn=Ce.get(tn.element);if(cn&&cn.length){const dn=H(cn);tn.setRealPlayer(dn)}}),se.forEach(tn=>{tn.parentPlayer?tn.syncPlayerEvents(tn.parentPlayer):tn.destroy()});for(let tn=0;tn<Un.length;tn++){const cn=Un[tn],dn=cn[An];if(Ri(cn,ut),dn&&dn.hasAnimation)continue;let Rn=[];if(Ze.size){let Wi=Ze.get(cn);Wi&&Wi.length&&Rn.push(...Wi);let wi=this.driver.query(cn,De,!0);for(let Rr=0;Rr<wi.length;Rr++){let D=Ze.get(wi[Rr]);D&&D.length&&Rn.push(...D)}}const vi=Rn.filter(Wi=>!Wi.destroyed);vi.length?cr(this,cn,vi):this.processLeaveNode(cn)}return Un.length=0,Cr.forEach(tn=>{this.players.push(tn),tn.onDone(()=>{tn.destroy();const cn=this.players.indexOf(tn);this.players.splice(cn,1)}),tn.play()}),Cr}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,x,P,se,Ce){let Ke=[];if(x){const Ze=this.playersByQueriedElement.get(E);Ze&&(Ke=Ze)}else{const Ze=this.playersByElement.get(E);if(Ze){const bt=!Ce||Ce==ui;Ze.forEach(Mt=>{Mt.queued||!bt&&Mt.triggerName!=se||Ke.push(Mt)})}}return(P||se)&&(Ke=Ke.filter(Ze=>!(P&&P!=Ze.namespaceId||se&&se!=Ze.triggerName))),Ke}_beforeAnimationBuild(E,x,P){const Ce=x.element,Ke=x.isRemovalTransition?void 0:E,Ze=x.isRemovalTransition?void 0:x.triggerName;for(const bt of x.timelines){const Mt=bt.element,Ut=Mt!==Ce,Kt=dt(P,Mt,[]);this._getPreviousPlayers(Mt,Ut,Ke,Ze,x.toState).forEach(pn=>{const sn=pn.getRealPlayer();sn.beforeDestroy&&sn.beforeDestroy(),pn.destroy(),Kt.push(pn)})}We(Ce,x.fromStyles)}_buildAnimation(E,x,P,se,Ce,Ke){const Ze=x.triggerName,bt=x.element,Mt=[],Ut=new Set,Kt=new Set,fn=x.timelines.map(sn=>{const hn=sn.element;Ut.add(hn);const Un=hn[An];if(Un&&Un.removedBeforeQueried)return new p.ZN(sn.duration,sn.delay);const qn=hn!==bt,ai=function Mn(de){const E=[];return Qr(de,E),E}((P.get(hn)||ar).map(Ti=>Ti.getRealPlayer())).filter(Ti=>!!Ti.element&&Ti.element===hn),_i=Ce.get(hn),ci=Ke.get(hn),Vr=Oe(this._normalizer,sn.keyframes,_i,ci),tr=this._buildPlayer(sn,Vr,ai);if(sn.subTimeline&&se&&Kt.add(hn),qn){const Ti=new fi(E,Ze,hn);Ti.setRealPlayer(tr),Mt.push(Ti)}return tr});Mt.forEach(sn=>{dt(this.playersByQueriedElement,sn.element,[]).push(sn),sn.onDone(()=>function Wn(de,E,x){let P=de.get(E);if(P){if(P.length){const se=P.indexOf(x);P.splice(se,1)}0==P.length&&de.delete(E)}return P}(this.playersByQueriedElement,sn.element,sn))}),Ut.forEach(sn=>$n(sn,oe));const pn=H(fn);return pn.onDestroy(()=>{Ut.forEach(sn=>Ri(sn,oe)),Ie(bt,x.toStyles)}),Kt.forEach(sn=>{dt(se,sn,[]).push(pn)}),pn}_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 fi{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(se=>He(E,P,void 0,se))}),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){dt(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 hi(de){return de&&1===de.nodeType}function Ci(de,E){const x=de.style.display;return de.style.display=E??"none",x}function Zr(de,E,x,P,se){const Ce=[];x.forEach(bt=>Ce.push(Ci(bt)));const Ke=[];P.forEach((bt,Mt)=>{const Ut=new Map;bt.forEach(Kt=>{const fn=E.computeStyle(Mt,Kt,se);Ut.set(Kt,fn),(!fn||0==fn.length)&&(Mt[An]=Li,Ke.push(Mt))}),de.set(Mt,Ut)});let Ze=0;return x.forEach(bt=>Ci(bt,Ce[Ze++])),Ke}function oi(de,E){const x=new Map;if(de.forEach(Ze=>x.set(Ze,[])),0==E.length)return x;const se=new Set(E),Ce=new Map;function Ke(Ze){if(!Ze)return 1;let bt=Ce.get(Ze);if(bt)return bt;const Mt=Ze.parentNode;return bt=x.has(Mt)?Mt:se.has(Mt)?1:Ke(Mt),Ce.set(Ze,bt),bt}return E.forEach(Ze=>{const bt=Ke(Ze);1!==bt&&x.get(bt).push(Ze)}),x}function $n(de,E){de.classList?.add(E)}function Ri(de,E){de.classList?.remove(E)}function cr(de,E,x){H(x).onDone(()=>de.processLeaveNode(E))}function Qr(de,E){for(let x=0;x<de.length;x++){const P=de[x];P instanceof p.ZE?Qr(P.players,E):E.push(P)}}function dr(de,E,x){const P=x.get(de);if(!P)return!1;let se=E.get(de);return se?P.forEach(Ce=>se.add(Ce)):E.set(de,P),x.delete(de),!0}class mi{constructor(E,x,P){this.bodyNode=E,this._driver=x,this._normalizer=P,this._triggerCache={},this.onRemovalComplete=(se,Ce)=>{},this._transitionEngine=new Ar(E,x,P),this._timelineEngine=new Sr(E,x,P),this._transitionEngine.onRemovalComplete=(se,Ce)=>this.onRemovalComplete(se,Ce)}registerTrigger(E,x,P,se,Ce){const Ke=E+"-"+se;let Ze=this._triggerCache[Ke];if(!Ze){const bt=[],Ut=zt(this._driver,Ce,bt,[]);if(bt.length)throw function be(de,E){return new n.\u0275RuntimeError(3404,!1)}();Ze=function Mi(de,E,x){return new di(de,E,x)}(se,Ut,this._normalizer),this._triggerCache[Ke]=Ze}this._transitionEngine.registerTrigger(x,se,Ze)}register(E,x){this._transitionEngine.register(E,x)}destroy(E,x){this._transitionEngine.destroy(E,x)}onInsert(E,x,P,se){this._transitionEngine.insertNode(E,x,P,se)}onRemove(E,x,P){this._transitionEngine.removeNode(E,x,P)}disableAnimations(E,x){this._transitionEngine.markElementAsDisabled(E,x)}process(E,x,P,se){if("@"==P.charAt(0)){const[Ce,Ke]=Te(P);this._timelineEngine.command(Ce,x,Ke,se)}else this._transitionEngine.trigger(E,x,P,se)}listen(E,x,P,se,Ce){if("@"==P.charAt(0)){const[Ke,Ze]=Te(P);return this._timelineEngine.listen(Ke,x,Ze,Ce)}return this._transitionEngine.listen(E,x,P,se,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 Or=(()=>{class de{static#e=this.initialStylesByElement=new WeakMap;constructor(x,P,se){this._element=x,this._startStyles=P,this._endStyles=se,this._state=0;let Ce=de.initialStylesByElement.get(x);Ce||de.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&&(de.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 de})();function vr(de){let E=null;return de.forEach((x,P)=>{(function pi(de){return"display"===de||"position"===de})(P)&&(E=E||new Map,E.set(P,x))}),E}class Xr{constructor(E,x,P,se){this.element=E,this.keyframes=x,this.options=P,this._specialStyles=se,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;const x=()=>this._onFinish();this.domPlayer.addEventListener("finish",x),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",x)})}_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,se)=>{"offset"!==se&&E.set(se,this._finished?P:me(this.element,se))}),this.currentSnapshot=E}triggerCallback(E){const x="start"===E?this._onStartFns:this._onDoneFns;x.forEach(P=>P()),x.length=0}}class si{validateStyleProperty(E){return!0}validateAnimatableStyleProperty(E){return!0}matchesElement(E,x){return!1}containsElement(E,x){return Ee(E,x)}getParentElement(E){return ke(E)}query(E,x,P){return Fe(E,x,P)}computeStyle(E,x,P){return window.getComputedStyle(E)[x]}animate(E,x,P,se,Ce,Ke=[]){const bt={duration:P,delay:se,fill:0==se?"both":"forwards"};Ce&&(bt.easing=Ce);const Mt=new Map,Ut=Ke.filter(pn=>pn instanceof Xr);(function At(de,E){return 0===de||0===E})(P,se)&&Ut.forEach(pn=>{pn.currentSnapshot.forEach((sn,hn)=>Mt.set(hn,sn))});let Kt=function Tn(de){return de.length?de[0]instanceof Map?de:de.map(E=>_n(E)):[]}(x).map(pn=>rt(pn));Kt=function Je(de,E,x){if(x.size&&E.length){let P=E[0],se=[];if(x.forEach((Ce,Ke)=>{P.has(Ke)||se.push(Ke),P.set(Ke,Ce)}),se.length)for(let Ce=1;Ce<E.length;Ce++){let Ke=E[Ce];se.forEach(Ze=>Ke.set(Ze,me(de,Ze)))}}return E}(E,Kt,Mt);const fn=function _r(de,E){let x=null,P=null;return Array.isArray(E)&&E.length?(x=vr(E[0]),E.length>1&&(P=vr(E[E.length-1]))):E instanceof Map&&(x=vr(E)),x||P?new Or(de,x,P):null}(E,Kt);return new Xr(E,Kt,bt,fn)}}var gi=a(6814);let Br=(()=>{class de 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 se=Array.isArray(x)?(0,p.vP)(x):x;return Ii(this._renderer,null,P,"register",[se]),new zi(P,this._renderer)}static#e=this.\u0275fac=function(P){return new(P||de)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(gi.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:de,factory:de.\u0275fac})}return de})();class zi extends p.LC{constructor(E,x){super(),this._id=E,this._renderer=x}create(E,x){return new br(this._id,E,x||{},this._renderer)}}class br{constructor(E,x,P,se){this.id=E,this.element=x,this._renderer=se,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 Ii(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 Ii(de,E,x,P,se){return de.setProperty(E,`@@${x}:${P}`,se)}const co="@.disabled";let lo=(()=>{class de{constructor(x,P,se){this.delegate=x,this.engine=P,this._zone=se,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,P.onRemovalComplete=(Ce,Ke)=>{const Ze=Ke?.parentNode(Ce);Ze&&Ke.removeChild(Ze,Ce)}}createRenderer(x,P){const Ce=this.delegate.createRenderer(x,P);if(!(x&&P&&P.data&&P.data.animation)){let Ut=this._rendererCache.get(Ce);return Ut||(Ut=new yo("",Ce,this.engine,()=>this._rendererCache.delete(Ce)),this._rendererCache.set(Ce,Ut)),Ut}const Ke=P.id,Ze=P.id+"-"+this._currentId;this._currentId++,this.engine.register(Ze,x);const bt=Ut=>{Array.isArray(Ut)?Ut.forEach(bt):this.engine.registerTrigger(Ke,Ze,x,Ut.name,Ut)};return P.data.animation.forEach(bt),new j(this,Ze,Ce,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(x,P,se){x>=0&&x<this._microtaskId?this._zone.run(()=>P(se)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Ce=>{const[Ke,Ze]=Ce;Ke(Ze)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([P,se]))}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||de)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(mi),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:de,factory:de.\u0275fac})}return de})();class yo{constructor(E,x,P,se){this.namespaceId=E,this.delegate=x,this.engine=P,this._onDestroy=se}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,se=!0){this.delegate.insertBefore(E,x,P),this.engine.onInsert(this.namespaceId,x,E,se)}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,se){this.delegate.setAttribute(E,x,P,se)}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,se){this.delegate.setStyle(E,x,P,se)}removeStyle(E,x,P){this.delegate.removeStyle(E,x,P)}setProperty(E,x,P){"@"==x.charAt(0)&&x==co?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 yo{constructor(E,x,P,se,Ce){super(x,P,se,Ce),this.factory=E,this.namespaceId=x}setProperty(E,x,P){"@"==x.charAt(0)?"."==x.charAt(1)&&x==co?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 se=function Z(de){switch(de){case"body":return document.body;case"document":return document;case"window":return window;default:return de}}(E);let Ce=x.slice(1),Ke="";return"@"!=Ce.charAt(0)&&([Ce,Ke]=function I(de){const E=de.indexOf(".");return[de.substring(0,E),de.slice(E+1)]}(Ce)),this.engine.listen(this.namespaceId,se,Ce,Ke,Ze=>{this.factory.scheduleListenerCallback(Ze._data||-1,P,Ze)})}return this.delegate.listen(E,x,P)}}let he=(()=>{class de extends mi{constructor(x,P,se,Ce){super(x.body,P,se)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(P){return new(P||de)(n.\u0275\u0275inject(gi.DOCUMENT),n.\u0275\u0275inject(Et),n.\u0275\u0275inject(pr),n.\u0275\u0275inject(n.ApplicationRef))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:de,factory:de.\u0275fac})}return de})();const Dn=[{provide:p._j,useClass:Br},{provide:pr,useFactory:function ze(){return new xr}},{provide:mi,useClass:he},{provide:n.RendererFactory2,useFactory:function qt(de,E,x){return new lo(de,E,x)},deps:[s.\u0275DomRendererFactory2,mi,n.NgZone]}],ji=[{provide:Et,useFactory:()=>new si},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...Dn],Pr=[{provide:Et,useClass:ot},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Dn];let uo=(()=>{class de{static withConfig(x){return{ngModule:de,providers:x.disableAnimations?Pr:ji}}static#e=this.\u0275fac=function(P){return new(P||de)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:de});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:ji,imports:[s.BrowserModule]})}return de})();function xs(){return[...ji]}let Vc=(()=>{class de{static#e=this.\u0275fac=function(P){return new(P||de)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:de});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Pr,imports:[s.BrowserModule]})}return de})();function Ms(){return[...Pr]}},6593:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>Pe,By:()=>ut,DomSanitizer:()=>en,EVENT_MANAGER_PLUGINS:()=>b,EventManager:()=>v,HAMMER_GESTURE_CONFIG:()=>oe,HAMMER_LOADER:()=>De,HammerGestureConfig:()=>ct,HammerModule:()=>kt,Meta:()=>ft,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ue,Title:()=>Ee,TransferState:()=>Xt,VERSION:()=>pt,bootstrapApplication:()=>U,createApplication:()=>R,disableDebugTools:()=>Qt,enableDebugTools:()=>Zt,makeStateKey:()=>Ot,platformBrowser:()=>Te,provideClientHydration:()=>We,provideProtractorTestingSupport:()=>Oe,withNoDomReuse:()=>yt,withNoHttpTransferCache:()=>rt,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>f,\u0275DomEventsPlugin:()=>we,\u0275DomRendererFactory2:()=>nt,\u0275DomSanitizerImpl:()=>_n,\u0275HammerGesturesPlugin:()=>It,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>dt,\u0275KeyEventsPlugin:()=>$,\u0275SharedStylesHost:()=>k,\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,F){return ye.addEventListener(G,F),()=>{ye.removeEventListener(G,F)}}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 _(ht){m=m||document.createElement("a"),m.setAttribute("href",ht);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=(F,fe=!0)=>{const Ge=ye.findTestabilityInTree(F,fe);if(null==Ge)throw new n.\u0275RuntimeError(5103,!1);return Ge},n.\u0275global.getAllAngularTestabilities=()=>ye.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>ye.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(F=>{const fe=n.\u0275global.getAllAngularTestabilities();let Ge=fe.length,At=!1;const Je=function(Lt){At=At||Lt,Ge--,0==Ge&&F(At)};fe.forEach(Lt=>{Lt.whenStable(Je)})})}findTestabilityInTree(ye,G,F){return null==G?null:ye.getTestability(G)??(F?(0,s.\u0275getDOM)().isShadowRoot(G)?this.findTestabilityInTree(ye,G.host,!0):this.findTestabilityInTree(ye,G.parentElement,!0):null)}}let y=(()=>{class ht{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(F){return new(F||ht)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}return ht})();const b=new n.InjectionToken("EventManagerPlugins");let v=(()=>{class ht{constructor(G,F){this._zone=F,this._eventNameToPlugin=new Map,G.forEach(fe=>{fe.manager=this}),this._plugins=G.slice().reverse()}addEventListener(G,F,fe){return this._findPluginFor(F).addEventListener(G,F,fe)}getZone(){return this._zone}_findPluginFor(G){let F=this._eventNameToPlugin.get(G);if(F)return F;if(F=this._plugins.find(Ge=>Ge.supports(G)),!F)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(G,F),F}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(b),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}return ht})();class w{constructor(ye){this._doc=ye}}const O="ng-app-id";let k=(()=>{class ht{constructor(G,F,fe,Ge={}){this.doc=G,this.appId=F,this.nonce=fe,this.platformId=Ge,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,s.isPlatformServer)(Ge),this.resetHostNodes()}addStyles(G){for(const F of G)1===this.changeUsageCount(F,1)&&this.onStyleAdded(F)}removeStyles(G){for(const F of G)this.changeUsageCount(F,-1)<=0&&this.onStyleRemoved(F)}ngOnDestroy(){const G=this.styleNodesInDOM;G&&(G.forEach(F=>F.remove()),G.clear());for(const F of this.getAllStyles())this.onStyleRemoved(F);this.resetHostNodes()}addHost(G){this.hostNodes.add(G);for(const F of this.getAllStyles())this.addStyleToHost(G,F)}removeHost(G){this.hostNodes.delete(G)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(G){for(const F of this.hostNodes)this.addStyleToHost(F,G)}onStyleRemoved(G){const F=this.styleRef;F.get(G)?.elements?.forEach(fe=>fe.remove()),F.delete(G)}collectServerRenderedStyles(){const G=this.doc.head?.querySelectorAll(`style[${O}="${this.appId}"]`);if(G?.length){const F=new Map;return G.forEach(fe=>{null!=fe.textContent&&F.set(fe.textContent,fe)}),F}return null}changeUsageCount(G,F){const fe=this.styleRef;if(fe.has(G)){const Ge=fe.get(G);return Ge.usage+=F,Ge.usage}return fe.set(G,{usage:F,elements:[]}),F}getStyleElement(G,F){const fe=this.styleNodesInDOM,Ge=fe?.get(F);if(Ge?.parentNode===G)return fe.delete(F),Ge.removeAttribute(O),Ge;{const At=this.doc.createElement("style");return this.nonce&&At.setAttribute("nonce",this.nonce),At.textContent=F,this.platformIsServer&&At.setAttribute(O,this.appId),At}}addStyleToHost(G,F){const fe=this.getStyleElement(G,F);G.appendChild(fe);const Ge=this.styleRef,At=Ge.get(F)?.elements;At?At.push(fe):Ge.set(F,{elements:[fe],usage:1})}resetHostNodes(){const G=this.hostNodes;G.clear(),G.add(this.doc.head)}static#e=this.\u0275fac=function(F){return new(F||ht)(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:ht,factory:ht.\u0275fac})}return ht})();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(ht,ye){return ye.map(G=>G.replace(K,ht))}let nt=(()=>{class ht{constructor(G,F,fe,Ge,At,Je,Lt,me=null){this.eventManager=G,this.sharedStylesHost=F,this.appId=fe,this.removeStylesOnCompDestroy=Ge,this.doc=At,this.platformId=Je,this.ngZone=Lt,this.nonce=me,this.rendererByCompId=new Map,this.platformIsServer=(0,s.isPlatformServer)(Je),this.defaultRenderer=new be(G,At,Lt,this.platformIsServer)}createRenderer(G,F){if(!G||!F)return this.defaultRenderer;this.platformIsServer&&F.encapsulation===n.ViewEncapsulation.ShadowDom&&(F={...F,encapsulation:n.ViewEncapsulation.Emulated});const fe=this.getOrCreateRenderer(G,F);return fe instanceof q?fe.applyToHost(G):fe instanceof qe&&fe.applyStyles(),fe}getOrCreateRenderer(G,F){const fe=this.rendererByCompId;let Ge=fe.get(F.id);if(!Ge){const At=this.doc,Je=this.ngZone,Lt=this.eventManager,me=this.sharedStylesHost,Re=this.removeStylesOnCompDestroy,Le=this.platformIsServer;switch(F.encapsulation){case n.ViewEncapsulation.Emulated:Ge=new q(Lt,me,F,this.appId,Re,At,Je,Le);break;case n.ViewEncapsulation.ShadowDom:return new Xe(Lt,me,G,F,At,Je,this.nonce,Le);default:Ge=new qe(Lt,me,F,Re,At,Je,Le)}fe.set(F.id,Ge)}return Ge}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(v),n.\u0275\u0275inject(k),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:ht,factory:ht.\u0275fac})}return ht})();class be{constructor(ye,G,F,fe){this.eventManager=ye,this.doc=G,this.ngZone=F,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){(Ne(ye)?ye.content:ye).appendChild(G)}insertBefore(ye,G,F){ye&&(Ne(ye)?ye.content:ye).insertBefore(G,F)}removeChild(ye,G){ye&&ye.removeChild(G)}selectRootElement(ye,G){let F="string"==typeof ye?this.doc.querySelector(ye):ye;if(!F)throw new n.\u0275RuntimeError(-5104,!1);return G||(F.textContent=""),F}parentNode(ye){return ye.parentNode}nextSibling(ye){return ye.nextSibling}setAttribute(ye,G,F,fe){if(fe){G=fe+":"+G;const Ge=S[fe];Ge?ye.setAttributeNS(Ge,G,F):ye.setAttribute(G,F)}else ye.setAttribute(G,F)}removeAttribute(ye,G,F){if(F){const fe=S[F];fe?ye.removeAttributeNS(fe,G):ye.removeAttribute(`${F}:${G}`)}else ye.removeAttribute(G)}addClass(ye,G){ye.classList.add(G)}removeClass(ye,G){ye.classList.remove(G)}setStyle(ye,G,F,fe){fe&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?ye.style.setProperty(G,F,fe&n.RendererStyleFlags2.Important?"important":""):ye.style[G]=F}removeStyle(ye,G,F){F&n.RendererStyleFlags2.DashCase?ye.style.removeProperty(G):ye.style[G]=""}setProperty(ye,G,F){ye[G]=F}setValue(ye,G){ye.nodeValue=G}listen(ye,G,F){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(F))}decoratePreventDefault(ye){return G=>{if("__ngUnwrap__"===G)return ye;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ye(G)):ye(G))&&G.preventDefault()}}}function Ne(ht){return"TEMPLATE"===ht.tagName&&void 0!==ht.content}class Xe extends be{constructor(ye,G,F,fe,Ge,At,Je,Lt){super(ye,Ge,At,Lt),this.sharedStylesHost=G,this.hostEl=F,this.shadowRoot=F.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const me=ve(fe.id,fe.styles);for(const Re of me){const Le=document.createElement("style");Je&&Le.setAttribute("nonce",Je),Le.textContent=Re,this.shadowRoot.appendChild(Le)}}nodeOrShadowRoot(ye){return ye===this.hostEl?this.shadowRoot:ye}appendChild(ye,G){return super.appendChild(this.nodeOrShadowRoot(ye),G)}insertBefore(ye,G,F){return super.insertBefore(this.nodeOrShadowRoot(ye),G,F)}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 qe extends be{constructor(ye,G,F,fe,Ge,At,Je,Lt){super(ye,Ge,At,Je),this.sharedStylesHost=G,this.removeStylesOnCompDestroy=fe,this.styles=Lt?ve(Lt,F.styles):F.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class q extends qe{constructor(ye,G,F,fe,Ge,At,Je,Lt){const me=fe+"-"+F.id;super(ye,G,F,Ge,At,Je,Lt,me),this.contentAttr=function ie(ht){return W.replace(K,ht)}(me),this.hostAttr=function te(ht){return ee.replace(K,ht)}(me)}applyToHost(ye){this.applyStyles(),this.setAttribute(ye,this.hostAttr,"")}createElement(ye,G){const F=super.createElement(ye,G);return super.setAttribute(F,this.contentAttr,""),F}}let we=(()=>{class ht extends w{constructor(G){super(G)}supports(G){return!0}addEventListener(G,F,fe){return G.addEventListener(F,fe,!1),()=>this.removeEventListener(G,F,fe)}removeEventListener(G,F,fe){return G.removeEventListener(F,fe)}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}return ht})();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:ht=>ht.altKey,control:ht=>ht.ctrlKey,meta:ht=>ht.metaKey,shift:ht=>ht.shiftKey};let $=(()=>{class ht extends w{constructor(G){super(G)}supports(G){return null!=ht.parseEventName(G)}addEventListener(G,F,fe){const Ge=ht.parseEventName(F),At=ht.eventCallback(Ge.fullKey,fe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.\u0275getDOM)().onAndCancel(G,Ge.domEventName,At))}static parseEventName(G){const F=G.toLowerCase().split("."),fe=F.shift();if(0===F.length||"keydown"!==fe&&"keyup"!==fe)return null;const Ge=ht._normalizeKey(F.pop());let At="",Je=F.indexOf("code");if(Je>-1&&(F.splice(Je,1),At="code."),re.forEach(me=>{const Re=F.indexOf(me);Re>-1&&(F.splice(Re,1),At+=me+".")}),At+=Ge,0!=F.length||0===Ge.length)return null;const Lt={};return Lt.domEventName=fe,Lt.fullKey=At,Lt}static matchEventFullKeyCode(G,F){let fe=J[G.key]||G.key,Ge="";return F.indexOf("code.")>-1&&(fe=G.code,Ge="code."),!(null==fe||!fe)&&(fe=fe.toLowerCase()," "===fe?fe="space":"."===fe&&(fe="dot"),re.forEach(At=>{At!==fe&&(0,z[At])(G)&&(Ge+=At+".")}),Ge+=fe,Ge===F)}static eventCallback(G,F,fe){return Ge=>{ht.matchEventFullKeyCode(Ge,G)&&fe.runGuarded(()=>F(Ge))}}static _normalizeKey(G){return"esc"===G?"escape":G}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}return ht})();function U(ht,ye){return(0,n.\u0275internalCreateApplication)({rootComponent:ht,...H(ye)})}function R(ht){return(0,n.\u0275internalCreateApplication)(H(ht))}function H(ht){return{appProviders:[...Me,...ht?.providers??[]],platformProviders:dt}}function Oe(){return[...ke]}function He(){c.makeCurrent()}const dt=[{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",dt),xe=new n.InjectionToken(""),ke=[{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,k,v,{provide:n.RendererFactory2,useExisting:nt},{provide:s.XhrFactory,useClass:y,deps:[]},[]];let Pe=(()=>{class ht{constructor(G){}static withServerTransition(G){return{ngModule:ht,providers:[{provide:n.APP_ID,useValue:G.appId}]}}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(xe,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ht});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...Me,...ke],imports:[s.CommonModule,n.ApplicationModule]})}return ht})(),ft=(()=>{class ht{constructor(G){this._doc=G,this._dom=(0,s.\u0275getDOM)()}addTag(G,F=!1){return G?this._getOrCreateElement(G,F):null}addTags(G,F=!1){return G?G.reduce((fe,Ge)=>(Ge&&fe.push(this._getOrCreateElement(Ge,F)),fe),[]):[]}getTag(G){return G&&this._doc.querySelector(`meta[${G}]`)||null}getTags(G){if(!G)return[];const F=this._doc.querySelectorAll(`meta[${G}]`);return F?[].slice.call(F):[]}updateTag(G,F){if(!G)return null;F=F||this._parseSelector(G);const fe=this.getTag(F);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,F=!1){if(!F){const At=this._parseSelector(G),Je=this.getTags(At).filter(Lt=>this._containsAttributes(G,Lt))[0];if(void 0!==Je)return Je}const fe=this._dom.createElement("meta");return this._setMetaElementAttributes(G,fe),this._doc.getElementsByTagName("head")[0].appendChild(fe),fe}_setMetaElementAttributes(G,F){return Object.keys(G).forEach(fe=>F.setAttribute(this._getMetaKeyMap(fe),G[fe])),F}_parseSelector(G){const F=G.name?"name":"property";return`${F}="${G[F]}"`}_containsAttributes(G,F){return Object.keys(G).every(fe=>F.getAttribute(this._getMetaKeyMap(fe))===G[fe])}_getMetaKeyMap(G){return tt[G]||G}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:function(F){let fe=null;return fe=F?new F:function _t(){return new ft((0,n.\u0275\u0275inject)(s.DOCUMENT))}(),fe},providedIn:"root"})}return ht})();const tt={httpEquiv:"http-equiv"};let Ee=(()=>{class ht{constructor(G){this._doc=G}getTitle(){return this._doc.title}setTitle(G){this._doc.title=G||""}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:function(F){let fe=null;return fe=F?new F:function ce(){return new Ee((0,n.\u0275\u0275inject)(s.DOCUMENT))}(),fe},providedIn:"root"})}return ht})();function Fe(ht,ye){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[ht]=ye)}const lt=typeof window<"u"&&window||{};class ot{constructor(ye,G){this.msPerTick=ye,this.numTicks=G}}class Et{constructor(ye){this.appRef=ye.injector.get(n.ApplicationRef)}timeChangeDetection(ye){const G=ye&&ye.record,F="Change Detection",fe=null!=lt.console.profile;G&&fe&<.console.profile(F);const Ge=jt();let At=0;for(;At<5||jt()-Ge<500;)this.appRef.tick(),At++;const Je=jt();G&&fe&<.console.profileEnd(F);const Lt=(Je-Ge)/At;return lt.console.log(`ran ${At} change detection cycles`),lt.console.log(`${Lt.toFixed(2)} ms per check`),new ot(Lt,At)}}function jt(){return lt.performance&<.performance.now?lt.performance.now():(new Date).getTime()}const Gt="profiler";function Zt(ht){return Fe(Gt,new Et(ht)),ht}function Qt(){Fe(Gt,null)}class ut{static all(){return()=>!0}static css(ye){return G=>null!=G.nativeElement&&function Tt(ht,ye){return!!(0,s.\u0275getDOM)().isElementNode(ht)&&(ht.matches&&ht.matches(ye)||ht.msMatchesSelector&&ht.msMatchesSelector(ye)||ht.webkitMatchesSelector&&ht.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},oe=new n.InjectionToken("HammerGestureConfig"),De=new n.InjectionToken("HammerLoader");let ct=(()=>{class ht{constructor(){this.events=[],this.overrides={}}buildHammer(G){const F=new Hammer(G,this.options);F.get("pinch").set({enable:!0}),F.get("rotate").set({enable:!0});for(const fe in this.overrides)F.get(fe).set(this.overrides[fe]);return F}static#e=this.\u0275fac=function(F){return new(F||ht)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}return ht})(),It=(()=>{class ht extends w{constructor(G,F,fe,Ge){super(G),this._config=F,this.console=fe,this.loader=Ge,this._loaderPromise=null}supports(G){return!(!Ue.hasOwnProperty(G.toLowerCase())&&!this.isCustomEvent(G)||!window.Hammer&&!this.loader)}addEventListener(G,F,fe){const Ge=this.manager.getZone();if(F=F.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ge.runOutsideAngular(()=>this.loader());let At=!1,Je=()=>{At=!0};return Ge.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?At||(Je=this.addEventListener(G,F,fe)):Je=()=>{}}).catch(()=>{Je=()=>{}})),()=>{Je()}}return Ge.runOutsideAngular(()=>{const At=this._config.buildHammer(G),Je=function(Lt){Ge.runGuarded(function(){fe(Lt)})};return At.on(F,Je),()=>{At.off(F,Je),"function"==typeof At.destroy&&At.destroy()}})}isCustomEvent(G){return this._config.events.indexOf(G)>-1}static#e=this.\u0275fac=function(F){return new(F||ht)(n.\u0275\u0275inject(s.DOCUMENT),n.\u0275\u0275inject(oe),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(De,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}return ht})(),kt=(()=>{class ht{static#e=this.\u0275fac=function(F){return new(F||ht)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ht});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:b,useClass:It,multi:!0,deps:[s.DOCUMENT,oe,n.\u0275Console,[new n.Optional,De]]},{provide:oe,useClass:ct,deps:[]}]})}return ht})(),en=(()=>{class ht{static#e=this.\u0275fac=function(F){return new(F||ht)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:function(F){let fe=null;return fe=F?new(F||ht):n.\u0275\u0275inject(_n),fe},providedIn:"root"})}return ht})(),_n=(()=>{class ht extends en{constructor(G){super(),this._doc=G}sanitize(G,F){if(null==F)return null;switch(G){case n.SecurityContext.NONE:return F;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(F,"HTML")?(0,n.\u0275unwrapSafeValue)(F):(0,n.\u0275_sanitizeHtml)(this._doc,String(F)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(F,"Style")?(0,n.\u0275unwrapSafeValue)(F):F;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(F,"Script"))return(0,n.\u0275unwrapSafeValue)(F);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(F,"URL")?(0,n.\u0275unwrapSafeValue)(F):(0,n.\u0275_sanitizeUrl)(String(F));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(F,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(F);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(F){return new(F||ht)(n.\u0275\u0275inject(s.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ht,factory:function(F){let fe=null;return fe=F?new F:function on(ht){return new _n(ht.get(s.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),fe},providedIn:"root"})}return ht})();function Tn(ht,ye=[]){return{\u0275kind:ht,\u0275providers:ye}}function yt(){return Tn(0)}function rt(){return Tn(1)}function We(...ht){const ye=[],G=new Set;for(const{\u0275providers:F,\u0275kind:fe}of ht)G.add(fe),F.length&&ye.push(F);return(0,n.makeEnvironmentProviders)([[],G.has(0)?[]:(0,n.\u0275withDomHydration)(),G.has(1)?[]:(0,p.\u0275withHttpTransferCache)(),ye])}const pt=new n.Version("16.2.12"),Ot=n.makeStateKey,Xt=n.TransferState},3711:(Q,o,a)=>{"use strict";a.r(o),a.d(o,{MONACO_PATH:()=>y,MonacoDiffEditorComponent:()=>O,MonacoEditorComponent:()=>w,MonacoEditorLoaderDirective:()=>v,MonacoEditorLoaderService:()=>b,MonacoEditorModule:()=>k});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})(),k=(()=>{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:(Q,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 ge=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(Xe){n.\u0275\u0275restoreView(ge);const qe=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.startKeyboardDrag(Xe,2*qe+1,qe+1))})("mousedown",function(Xe){n.\u0275\u0275restoreView(ge);const qe=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.startMouseDrag(Xe,2*qe+1,qe+1))})("touchstart",function(Xe){n.\u0275\u0275restoreView(ge);const qe=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.startMouseDrag(Xe,2*qe+1,qe+1))})("mouseup",function(Xe){n.\u0275\u0275restoreView(ge);const qe=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.clickGutter(Xe,qe+1))})("touchend",function(Xe){n.\u0275\u0275restoreView(ge);const qe=n.\u0275\u0275nextContext().index,q=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(q.clickGutter(Xe,qe+1))}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&be){const ge=n.\u0275\u0275nextContext(),Ne=ge.index,Xe=ge.$implicit,qe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",qe.gutterSize,"px")("order",2*Ne+1),n.\u0275\u0275attribute("aria-label",qe.gutterAriaLabel)("aria-orientation",qe.direction)("aria-valuemin",Xe.minSize)("aria-valuemax",Xe.maxSize)("aria-valuenow",Xe.size)("aria-valuetext",qe.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,ge){return Math.abs(be.x-Ye.x)<=ge&&Math.abs(be.y-Ye.y)<=ge}function v(be,Ye){const ge=be.nativeElement.getBoundingClientRect();return"horizontal"===Ye?ge.width:ge.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 k(be,Ye){if("percent"===be){const ge=Ye.reduce((Xe,qe)=>"*"!==qe?Xe+qe:Xe,0),Ne=Ye.filter(Xe=>"*"===Xe);return!(Ne.length>1)&&(1===Ne.length||ge>99.9)&&ge<100.1}if("pixel"===be)return 1===Ye.filter(ge=>"*"===ge).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,ge,Ne){return Ye.reduce((Xe,qe)=>{const q=function ee(be,Ye,ge,Ne){return 0===ge?{areaSnapshot:Ye,pixelAbsorb:0,percentAfterAbsorption:Ye.sizePercentAtStart,pixelRemain:0}:0===Ye.sizePixelAtStart&&ge<0?{areaSnapshot:Ye,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:ge}:"percent"===be?function W(be,Ye,ge){const Xe=(be.sizePixelAtStart+Ye)/ge*100;if(Ye>0){if(null!==be.area.maxSize&&Xe>be.area.maxSize){const qe=be.area.maxSize/100*ge;return{areaSnapshot:be,pixelAbsorb:qe,percentAfterAbsorption:be.area.maxSize,pixelRemain:be.sizePixelAtStart+Ye-qe}}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 qe=be.area.minSize/100*ge;return{areaSnapshot:be,pixelAbsorb:qe,percentAfterAbsorption:be.area.minSize,pixelRemain:be.sizePixelAtStart+Ye-qe}}return Xe<0?{areaSnapshot:be,pixelAbsorb:-be.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:Ye+be.sizePixelAtStart}:{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:Xe,pixelRemain:0}}}(Ye,ge,Ne):"pixel"===be?function Y(be,Ye,ge){const Ne=be.sizePixelAtStart+Ye;return Ye>0?null!==be.area.maxSize&&Ne>be.area.maxSize?{areaSnapshot:be,pixelAbsorb:be.area.maxSize-be.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ne-be.area.maxSize}:{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:-1,pixelRemain:0}:Ye<0?null!==be.area.minSize&&Ne<be.area.minSize?{areaSnapshot:be,pixelAbsorb:be.area.minSize+Ye-Ne,percentAfterAbsorption:-1,pixelRemain:Ne-be.area.minSize}:Ne<0?{areaSnapshot:be,pixelAbsorb:-be.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ye+be.sizePixelAtStart}:{areaSnapshot:be,pixelAbsorb:Ye,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(Ye,ge):void 0}(be,qe,Xe.remain,Ne);return Xe.list.push(q),Xe.remain=q.pixelRemain,Xe},{remain:ge,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(ge){this._direction="vertical"===ge?"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(ge){this._unit="pixel"===ge?"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(ge){this._gutterSize=O(ge,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(ge){this._gutterStep=O(ge,1)}get gutterStep(){return this._gutterStep}set restrictMove(ge){this._restrictMove=w(ge)}get restrictMove(){return this._restrictMove}set useTransition(ge){this._useTransition=w(ge),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(ge){this._disabled=w(ge),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(ge){this._dir="rtl"===ge?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(ge){this._gutterDblClickDuration=O(ge,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new p.y(ge=>this.transitionEndSubscriber=ge).pipe((0,c.b)(20))}constructor(ge,Ne,Xe,qe,q){this.ngZone=ge,this.elRef=Ne,this.cdRef=Xe,this.renderer=qe,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new n.EventEmitter(!1),this.dragEnd=new n.EventEmitter(!1),this.gutterClick=new n.EventEmitter(!1),this.gutterDblClick=new n.EventEmitter(!1),this.dragProgressSubject=new 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(ge){const Ne={component:ge,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===ge.visible?(this.displayedAreas.push(Ne),this.build(!0,!0)):this.hiddenAreas.push(Ne)}removeArea(ge){if(this.displayedAreas.some(Ne=>Ne.component===ge)){const Ne=this.displayedAreas.find(Xe=>Xe.component===ge);this.displayedAreas.splice(this.displayedAreas.indexOf(Ne),1),this.build(!0,!0)}else if(this.hiddenAreas.some(Ne=>Ne.component===ge)){const Ne=this.hiddenAreas.find(Xe=>Xe.component===ge);this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ne),1)}}updateArea(ge,Ne,Xe){!0===ge.visible&&this.build(Ne,Xe)}showArea(ge){const Ne=this.hiddenAreas.find(qe=>qe.component===ge);if(void 0===Ne)return;const Xe=this.hiddenAreas.splice(this.hiddenAreas.indexOf(Ne),1);this.displayedAreas.push(...Xe),this.build(!0,!0)}hideArea(ge){const Ne=this.displayedAreas.find(qe=>qe.component===ge);if(void 0===Ne)return;const Xe=this.displayedAreas.splice(this.displayedAreas.indexOf(Ne),1);Xe.forEach(qe=>{qe.order=0,qe.size=0}),this.hiddenAreas.push(...Xe),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(ge=>ge.size)}setVisibleAreaSizes(ge){if(ge.length!==this.displayedAreas.length)return!1;const Ne=ge.map(qe=>O(qe,"*"));return!1!==k(this.unit,Ne)&&(this.displayedAreas.forEach((qe,q)=>qe.component._size=Ne[q]),this.build(!1,!0),!0)}build(ge,Ne){if(this.stopDragging(),!0===ge&&(this.displayedAreas.every(Xe=>null!==Xe.component.order)&&this.displayedAreas.sort((Xe,qe)=>Xe.component.order-qe.component.order),this.displayedAreas.forEach((Xe,qe)=>{Xe.order=2*qe,Xe.component.setStyleOrder(Xe.order)})),!0===Ne){const Xe=k(this.unit,this.displayedAreas.map(qe=>qe.component.size));switch(this.unit){case"percent":{const qe=100/this.displayedAreas.length;this.displayedAreas.forEach(q=>{q.size=Xe?q.component.size:qe,q.minSize=S(q),q.maxSize=K(q)});break}case"pixel":if(Xe)this.displayedAreas.forEach(qe=>{qe.size=qe.component.size,qe.minSize=S(qe),qe.maxSize=K(qe)});else{const qe=this.displayedAreas.filter(q=>"*"===q.component.size);if(0===qe.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(qe.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 ge=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(Ne=>{"*"===Ne.size?Ne.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):Ne.component.setStyleFlex(0,0,`calc( ${Ne.size}% - ${Ne.size/100*ge}px )`,null!==Ne.minSize&&Ne.minSize===Ne.size,null!==Ne.maxSize&&Ne.maxSize===Ne.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(ge=>{"*"===ge.size?ge.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?ge.component.setStyleFlex(0,0,"100%",!1,!1):ge.component.setStyleFlex(0,0,`${ge.size}px`,null!==ge.minSize&&ge.minSize===ge.size,null!==ge.maxSize&&ge.maxSize===ge.size)})}clickGutter(ge,Ne){const Xe=f(ge);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",Ne),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",Ne),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(ge,Ne,Xe){if(!0===this.disabled||!0===this.isWaitingClear)return;const qe=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 ge=be.currentTarget,Ne="PageUp"===be.key||"PageDown"===be.key?500:50;let Xe=ge.offsetLeft,qe=ge.offsetTop;switch(be.key){case"ArrowLeft":Xe-=Ne;break;case"ArrowRight":Xe+=Ne;break;case"ArrowUp":qe-=Ne;break;case"ArrowDown":qe+=Ne;break;case"PageUp":"vertical"===Ye?qe-=Ne:Xe+=Ne;break;case"PageDown":"vertical"===Ye?qe+=Ne:Xe-=Ne;break;default:return null}return{x:Xe,y:qe}}(ge,this.direction);null!==qe&&(this.endPoint=qe,this.startPoint=f(ge),ge.preventDefault(),ge.stopPropagation(),this.setupForDragEvent(Ne,Xe),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(ge,Ne,Xe){ge.preventDefault(),ge.stopPropagation(),this.startPoint=f(ge),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(Ne,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(ge,Ne){if(this.snapshot={gutterNum:Ne,lastSteppedOffset:0,allAreasSizePixel:v(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(Xe=>{const qe={area:Xe,sizePixelAtStart:v(Xe.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?Xe.size:-1};Xe.order<ge?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[qe]:this.snapshot.areasBeforeGutter.unshift(qe):Xe.order>ge&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[qe]):this.snapshot.areasAfterGutter.push(qe))}),this.restrictMove&&"percent"===this.unit){const Xe=this.snapshot.areasBeforeGutter[0],qe=this.snapshot.areasAfterGutter[0];if("*"===Xe.area.size||"*"===qe.area.size){const q=this.displayedAreas.reduce((we,re)=>Xe.area!==re&&qe.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(ge=>ge.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(ge){ge.preventDefault(),ge.stopPropagation();const Ne=f(ge);null!==this._clickTimeout&&!y(this.startPoint,Ne,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=f(ge),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 ge="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(ge=-ge);const Ne=Math.round(ge/this.gutterStep)*this.gutterStep;if(Ne===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=Ne;let Xe=V(this.unit,this.snapshot.areasBeforeGutter,-Ne,this.snapshot.allAreasSizePixel),qe=V(this.unit,this.snapshot.areasAfterGutter,Ne,this.snapshot.allAreasSizePixel);if(0!==Xe.remain&&0!==qe.remain?Math.abs(Xe.remain)===Math.abs(qe.remain)||(Math.abs(Xe.remain)>Math.abs(qe.remain)?qe=V(this.unit,this.snapshot.areasAfterGutter,Ne+Xe.remain,this.snapshot.allAreasSizePixel):Xe=V(this.unit,this.snapshot.areasBeforeGutter,-(Ne-qe.remain),this.snapshot.allAreasSizePixel)):0!==Xe.remain?qe=V(this.unit,this.snapshot.areasAfterGutter,Ne+Xe.remain,this.snapshot.allAreasSizePixel):0!==qe.remain&&(Xe=V(this.unit,this.snapshot.areasBeforeGutter,-(Ne-qe.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const q=[...Xe.list,...qe.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)),qe.list.forEach(q=>ue(this.unit,q)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(ge){if(ge&&(ge.preventDefault(),ge.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(Ne=>Ne.component.unlockEvents());this.dragListeners.length>0;){const Ne=this.dragListeners.pop();Ne&&Ne()}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(ge,Ne){const Xe=this.getVisibleAreaSizes();"start"===ge?this.dragStart.emit({gutterNum:Ne,sizes:Xe}):"end"===ge?this.dragEnd.emit({gutterNum:Ne,sizes:Xe}):"click"===ge?this.gutterClick.emit({gutterNum:Ne,sizes:Xe}):"dblclick"===ge?this.gutterDblClick.emit({gutterNum:Ne,sizes:Xe}):"transitionEnd"===ge?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(Xe)):"progress"===ge&&this.dragProgressSubject.next({gutterNum:Ne,sizes:Xe})}ngOnDestroy(){this.stopDragging()}collapseArea(ge,Ne,Xe){const qe=this.displayedAreas.find(re=>re.component===ge);if(void 0===qe)return;const q="right"===Xe?1:-1;qe.sizeBeforeCollapse||(qe.sizeBeforeCollapse=qe.size,qe.gutterBeforeCollapse=q),qe.size=Ne;const we=this.gutterEls.find(re=>re.nativeElement.style.order===`${qe.order+q}`);we&&this.renderer.addClass(we.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ge,!1,!1)}expandArea(ge){const Ne=this.displayedAreas.find(qe=>qe.component===ge);if(void 0===Ne||!Ne.sizeBeforeCollapse)return;Ne.size=Ne.sizeBeforeCollapse,Ne.sizeBeforeCollapse=null;const Xe=this.gutterEls.find(qe=>qe.nativeElement.style.order===`${Ne.order+Ne.gutterBeforeCollapse}`);Xe&&this.renderer.removeClass(Xe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ge,!1,!1)}getAriaAreaSizeText(ge){return"*"===ge?null:ge.toFixed(0)+" "+this.unit}static#e=this.\u0275fac=function(Ne){return new(Ne||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(Ne,Xe){if(1&Ne&&n.\u0275\u0275viewQuery(d,5),2&Ne){let qe;n.\u0275\u0275queryRefresh(qe=n.\u0275\u0275loadQuery())&&(Xe.gutterEls=qe)}},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(Ne,Xe){1&Ne&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,m,1,1,"ng-template",0)),2&Ne&&(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(ge){this._order=O(ge,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(ge){this._size=O(ge,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(ge){this._minSize=O(ge,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(ge){this._maxSize=O(ge,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(ge){this._lockSize=w(ge),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(ge){this._visible=w(ge),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(ge,Ne,Xe,qe){this.ngZone=ge,this.elRef=Ne,this.renderer=Xe,this.split=qe,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",Ne=>{"flex-basis"===Ne.propertyName&&this.split.notify("transitionEnd",-1)})});const ge=this.renderer.createElement("div");this.renderer.addClass(ge,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,ge)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,ge)})}setStyleOrder(ge){this.renderer.setStyle(this.elRef.nativeElement,"order",ge)}setStyleFlex(ge,Ne,Xe,qe,q){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",ge),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",Ne),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",Xe),!0===qe?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 ge=this.lockListeners.pop();ge&&ge()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(ge=0,Ne="right"){this.split.collapseArea(this,ge,Ne)}expand(){this.split.expandArea(this)}static#e=this.\u0275fac=function(Ne){return new(Ne||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(Ne){return new(Ne||be)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:be});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[s.CommonModule]})}return be})()},279:(Q,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 k=n.\u0275\u0275restoreView(v).$implicit,S=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(S.toggle(k))}),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(k,S){let K,V;return"object"!=typeof k||null===k||k instanceof Boolean||k instanceof Date||k instanceof Number||k instanceof RegExp||k instanceof String?k:(K=w.get(k),void 0!==K?{$ref:K}:(w.set(k,S),Array.isArray(k)?(V=[],k.forEach(function(ee,W){V[W]=O(ee,S+"["+W+"]")})):(V={},Object.keys(k).forEach(function(ee){V[ee]=O(k[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:(Q,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:()=>Ne,ToastContainerDirective:()=>V,ToastNoAnimation:()=>re,ToastNoAnimationModule:()=>z,ToastPackage:()=>ue,ToastRef:()=>Y,ToastrComponentlessModule:()=>we,ToastrModule:()=>q,ToastrService:()=>ge,provideToastr:()=>qe});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 k($,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 $})(),ge=(()=>{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 dt=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(dt),ke=new ue(this.index,He,Te,Oe,R,xe),Pe=n.Injector.create({providers:[{provide:ue,useValue:ke}],parent:this._injector}),_t=new ee(He.toastComponent,Pe),ft=dt.attach(_t,He.newestOnTop);xe.componentInstance=ft.instance;const tt={toastId:this.index,title:Oe||"",message:H||"",toastRef:xe,onShown:xe.afterActivate(),onHidden:xe.afterClosed(),onTap:ke.onTap(),onAction:ke.onAction(),portal:ft};return Ct||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{tt.toastRef.activate()})),this.toasts.push(tt),tt}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 $})(),Ne=(()=>{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(ge),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:Ne},qe=($={})=>(0,n.makeEnvironmentProviders)([{provide:te,useValue:{default:Xe,config:$}}]);let q=(()=>{class ${static forRoot(R={}){return{ngModule:$,providers:[qe(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(ge),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,k,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:(Q,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:()=>Ne,__classPrivateFieldSet:()=>ge,__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:()=>k,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(_t){if(void 0!==_t&&"function"!=typeof _t)throw new TypeError("Function expected");return _t}for(var dt,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 ke={};for(var Me in $)ke[Me]="access"===Me?{}:$[Me];for(var Me in $.access)ke.access[Me]=$.access[Me];ke.addInitializer=function(_t){if(Te)throw new TypeError("Cannot add initializers after decoration has completed");R.push(H(_t||null))};var Pe=(0,z[xe])("accessor"===Oe?{get:Ct.get,set:Ct.set}:Ct[He],ke);if("accessor"===Oe){if(void 0===Pe)continue;if(null===Pe||"object"!=typeof Pe)throw new TypeError("Object expected");(dt=H(Pe.get))&&(Ct.get=dt),(dt=H(Pe.set))&&(Ct.set=dt),(dt=H(Pe.init))&&U.unshift(dt)}else(dt=H(Pe))&&("field"===Oe?U.unshift(dt):Ct[He]=dt)}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(dt){H(dt)}}function He(Ct){try{vt($.throw(Ct))}catch(dt){H(dt)}}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 k(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(ke,Me){R.push([Te,xe,ke,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):dt(R[0][2],Te)}($[Te](xe))}catch(ke){dt(R[0][3],ke)}}function vt(Te){Oe("next",Te)}function Ct(Te){Oe("throw",Te)}function dt(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=k(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 ge(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 Ne(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 qe="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 qe($,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:k,__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:ge,__classPrivateFieldIn:Ne,__addDisposableResource:Xe,__disposeResources:q}},2598:Q=>{"use strict";Q.exports=JSON.parse('{"name":"@sdkgen/playground","version":"2.3.2","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"}}')}},Q=>{Q(Q.s=4913)}]);
|