diff --git a/.prettierrc b/.prettierrc index bd851c5..9552a2a 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,6 +6,10 @@ "arrowParens": "avoid", "trailingComma": "all", "bracketSpacing": true, + "importOrderParserPlugins": ["typescript", "decorators-legacy"], + "importOrder": ["^@angular/", "^[@]", "^(?!src|[.])", "^[^.]", "^[.]/", "^[..]/", ".*"], + "importOrderSeparation": true, + "importOrderSortSpecifiers": true, "overrides": [ { "files": "*.json", diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..77b3745 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,4 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 + "recommendations": ["angular.ng-template"] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..740e35a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "ng serve", + "type": "pwa-chrome", + "request": "launch", + "preLaunchTask": "npm: start", + "url": "http://localhost:4200/" + }, + { + "name": "ng test", + "type": "chrome", + "request": "launch", + "preLaunchTask": "npm: test", + "url": "http://localhost:9876/debug.html" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e30a8e3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "cSpell.words": [], + "editor.formatOnType": true +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..a298b5b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,42 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558 + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "start", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + }, + { + "type": "npm", + "script": "test", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + } + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d680d7..11be396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog of ng-select2 +## V14.0.0 (2024-01-XX) + +### Breaking Changes + +- minimum required support has been upgraded to Angular `17.0`. + ## V13.0.9 (2023-09-24) - add `autoCreate` for single mode #56 (thanks @majora2007) diff --git a/README.md b/README.md index 0227570..02ac31b 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@ npm i ng-select2-component --save - peerDependencies: - - `angular` 16.1.0 and more - - `angular/cdk` 16.1.0 and more + - `angular` 17.0.0 and more + - `angular/cdk` 17.0.0 and more - dependencies (include): - - `ngx-infinite-scroll` 16.0.0 and more + - `ngx-infinite-scroll` 17.0.0 and more > **Note:**
> @@ -29,6 +29,7 @@ npm i ng-select2-component --save > - For `angular` 15 (Ivy): use version `11.0.0`. > - For `angular` 16 and more (Ivy): use version `12.0.0`. > - For `angular` 16.1 and more (Ivy): use version `13.0.0`. +> - For `angular` 17 and more (Ivy): use version `14.0.0`. ## Demo diff --git a/dist/ng-select2/266.1835834e96094759.js b/dist/ng-select2/266.1835834e96094759.js deleted file mode 100644 index b5ed4ef..0000000 --- a/dist/ng-select2/266.1835834e96094759.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[266],{5266:(V,I,O)=>{O.r(I),O.d(I,{default:()=>Z});const b="[A-Za-z$_][0-9A-Za-z$_]*",M=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],v=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],L=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(k,w,L);function Z(e){const n=function F(e){const n=e.regex,t=b,r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,i)=>{const u=s[0].length+s.index,T=s.input[u];if("<"===T||","===T)return void i.ignoreMatch();let C;">"===T&&(((s,{after:i})=>{const u="",Q={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[d]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:p,CLASS_REFERENCE:U},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,S,N,E,m,y,{match:/\$\d+/},A,U,{className:"attr",begin:t+n.lookahead(":"),relevance:0},Q,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:p}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[d,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[d]},W,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},z,X,{match:/\$[(.]/}]}}(e),f=b,t=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],g={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[n.exports.CLASS_REFERENCE]},R={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:t},contains:[n.exports.CLASS_REFERENCE]},_={$pattern:b,keyword:M.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:v,built_in:h.concat(t),"variable.language":x},o={className:"meta",begin:"@"+f},l=(a,S,N)=>{const E=a.contains.findIndex(m=>m.label===S);if(-1===E)throw new Error("can not find mode to replace");a.contains.splice(E,1,N)};return Object.assign(n.keywords,_),n.exports.PARAMS_CONTAINS.push(o),n.contains=n.contains.concat([o,g,R]),l(n,"shebang",e.SHEBANG()),l(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(a=>"func.def"===a.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}}}]); \ No newline at end of file diff --git a/dist/ng-select2/266.296de3a69996bf2b.js b/dist/ng-select2/266.296de3a69996bf2b.js new file mode 100644 index 0000000..4ef5182 --- /dev/null +++ b/dist/ng-select2/266.296de3a69996bf2b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[266],{266:(V,I,O)=>{O.r(I),O.d(I,{default:()=>Z});const b="[A-Za-z$_][0-9A-Za-z$_]*",M=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],v=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],L=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(k,w,L);function Z(e){const n=function F(e){const n=e.regex,t=b,r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,i)=>{const u=s[0].length+s.index,T=s.input[u];if("<"===T||","===T)return void i.ignoreMatch();let C;">"===T&&(((s,{after:i})=>{const u="",Q={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[d]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:p,CLASS_REFERENCE:U},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,S,N,E,m,y,{match:/\$\d+/},A,U,{className:"attr",begin:t+n.lookahead(":"),relevance:0},Q,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:p}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}]},K,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[d,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},J,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[d]},W,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},z,X,{match:/\$[(.]/}]}}(e),f=b,t=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],g={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[n.exports.CLASS_REFERENCE]},R={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:t},contains:[n.exports.CLASS_REFERENCE]},_={$pattern:b,keyword:M.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:v,built_in:h.concat(t),"variable.language":x},o={className:"meta",begin:"@"+f},l=(a,S,N)=>{const E=a.contains.findIndex(m=>m.label===S);if(-1===E)throw new Error("can not find mode to replace");a.contains.splice(E,1,N)};return Object.assign(n.keywords,_),n.exports.PARAMS_CONTAINS.push(o),n.contains=n.contains.concat([o,g,R]),l(n,"shebang",e.SHEBANG()),l(n,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),n.contains.find(a=>"func.def"===a.label).relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}}}]); \ No newline at end of file diff --git a/dist/ng-select2/35.11f15df346402361.js b/dist/ng-select2/35.11f15df346402361.js new file mode 100644 index 0000000..48dfb15 --- /dev/null +++ b/dist/ng-select2/35.11f15df346402361.js @@ -0,0 +1 @@ +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[35],{35:()=>{!function(l,s){"use strict";var N="hljs-ln",M="hljs-ln-line",g="hljs-ln-code",y="hljs-ln-numbers",m="hljs-ln-n",d="data-line-number",p=/\r\n|\r|\n/g;function b(e){try{var n=s.querySelectorAll("code.hljs,code.nohighlight");for(var r in n)n.hasOwnProperty(r)&&(F(n[r])||E(n[r],e))}catch(t){l.console.error("LineNumbers error: ",t)}}function F(e){return e.classList.contains("nohljsln")}function E(e,n){"object"==typeof e&&function V(e){l.setTimeout(e,0)}(function(){e.innerHTML=L(e,n)})}function L(e,n){var r=function H(e,n){return{singleLine:I(n=n||{}),startFrom:R(e,n)}}(e,n);return A(e),function w(e,n){var r=j(e);if(""===r[r.length-1].trim()&&r.pop(),r.length>1||n.singleLine){for(var t="",a=0,i=r.length;a
{6}',[M,y,m,d,g,a+n.startFrom,r[a].length>0?r[a]:" "]);return c('{1}
',[N,t])}return e}(e.innerHTML,r)}function I(e){return!!e.singleLine&&e.singleLine}function R(e,n){var t=1;isFinite(n.startFrom)&&(t=n.startFrom);var a=function K(e,n){return e.hasAttribute(n)?e.getAttribute(n):null}(e,"data-ln-start-from");return null!==a&&(t=function T(e,n){if(!e)return n;var r=Number(e);return isFinite(r)?r:n}(a,1)),t}function A(e){var n=e.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var t=n[r];P(t.textContent)>0&&(t.childNodes.length>0?A(t):k(t.parentNode))}}function k(e){var n=e.className;if(/hljs-/.test(n)){for(var r=j(e.innerHTML),t=0,a="";t{1}\n',[n,r[t].length>0?r[t]:" "]);e.innerHTML=a.trim()}}function j(e){return 0===e.length?[]:e.split(p)}function P(e){return(e.trim().match(p)||[]).length}function c(e,n){return e.replace(/\{(\d+)\}/g,function(r,t){return void 0!==n[t]?n[t]:r})}l.hljs?(l.hljs.initLineNumbersOnLoad=function S(e){"interactive"===s.readyState||"complete"===s.readyState?b(e):l.addEventListener("DOMContentLoaded",function(){b(e)})},l.hljs.lineNumbersBlock=E,l.hljs.lineNumbersValue=function D(e,n){if("string"==typeof e){var r=document.createElement("code");return r.innerHTML=e,L(r,n)}},function B(){var e=s.createElement("style");e.type="text/css",e.innerHTML=c(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[N,m,d]),s.getElementsByTagName("head")[0].appendChild(e)}()):l.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var r,n=window.getSelection();(function O(e){for(var n=e;n;){if(n.className&&-1!==n.className.indexOf("hljs-ln-code"))return!0;n=n.parentNode}return!1})(n.anchorNode)&&(r=-1!==window.navigator.userAgent.indexOf("Edge")?function _(e){for(var n=e.toString(),r=e.anchorNode;"TD"!==r.nodeName;)r=r.parentNode;for(var t=e.focusNode;"TD"!==t.nodeName;)t=t.parentNode;var a=parseInt(r.dataset.lineNumber),i=parseInt(t.dataset.lineNumber);if(a!=i){var o=r.textContent,u=t.textContent;if(a>i){var f=a;a=i,i=f,f=o,o=u,u=f}for(;0!==n.indexOf(o);)o=o.slice(1);for(;-1===n.lastIndexOf(u);)u=u.slice(0,-1);for(var h=o,q=function C(e){for(var n=e;"TABLE"!==n.nodeName;)n=n.parentNode;return n}(r),v=a+1;v{!function(l,s){"use strict";var N="hljs-ln",M="hljs-ln-line",g="hljs-ln-code",y="hljs-ln-numbers",m="hljs-ln-n",d="data-line-number",p=/\r\n|\r|\n/g;function b(e){try{var n=s.querySelectorAll("code.hljs,code.nohighlight");for(var r in n)n.hasOwnProperty(r)&&(F(n[r])||E(n[r],e))}catch(t){l.console.error("LineNumbers error: ",t)}}function F(e){return e.classList.contains("nohljsln")}function E(e,n){"object"==typeof e&&function V(e){l.setTimeout(e,0)}(function(){e.innerHTML=L(e,n)})}function L(e,n){var r=function H(e,n){return{singleLine:I(n=n||{}),startFrom:R(e,n)}}(e,n);return A(e),function w(e,n){var r=j(e);if(""===r[r.length-1].trim()&&r.pop(),r.length>1||n.singleLine){for(var t="",a=0,i=r.length;a
{6}',[M,y,m,d,g,a+n.startFrom,r[a].length>0?r[a]:" "]);return c('{1}
',[N,t])}return e}(e.innerHTML,r)}function I(e){return!!e.singleLine&&e.singleLine}function R(e,n){var t=1;isFinite(n.startFrom)&&(t=n.startFrom);var a=function K(e,n){return e.hasAttribute(n)?e.getAttribute(n):null}(e,"data-ln-start-from");return null!==a&&(t=function T(e,n){if(!e)return n;var r=Number(e);return isFinite(r)?r:n}(a,1)),t}function A(e){var n=e.childNodes;for(var r in n)if(n.hasOwnProperty(r)){var t=n[r];P(t.textContent)>0&&(t.childNodes.length>0?A(t):k(t.parentNode))}}function k(e){var n=e.className;if(/hljs-/.test(n)){for(var r=j(e.innerHTML),t=0,a="";t{1}\n',[n,r[t].length>0?r[t]:" "]);e.innerHTML=a.trim()}}function j(e){return 0===e.length?[]:e.split(p)}function P(e){return(e.trim().match(p)||[]).length}function c(e,n){return e.replace(/\{(\d+)\}/g,function(r,t){return void 0!==n[t]?n[t]:r})}l.hljs?(l.hljs.initLineNumbersOnLoad=function S(e){"interactive"===s.readyState||"complete"===s.readyState?b(e):l.addEventListener("DOMContentLoaded",function(){b(e)})},l.hljs.lineNumbersBlock=E,l.hljs.lineNumbersValue=function D(e,n){if("string"==typeof e){var r=document.createElement("code");return r.innerHTML=e,L(r,n)}},function B(){var e=s.createElement("style");e.type="text/css",e.innerHTML=c(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[N,m,d]),s.getElementsByTagName("head")[0].appendChild(e)}()):l.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var r,n=window.getSelection();(function O(e){for(var n=e;n;){if(n.className&&-1!==n.className.indexOf("hljs-ln-code"))return!0;n=n.parentNode}return!1})(n.anchorNode)&&(r=-1!==window.navigator.userAgent.indexOf("Edge")?function _(e){for(var n=e.toString(),r=e.anchorNode;"TD"!==r.nodeName;)r=r.parentNode;for(var t=e.focusNode;"TD"!==t.nodeName;)t=t.parentNode;var a=parseInt(r.dataset.lineNumber),i=parseInt(t.dataset.lineNumber);if(a!=i){var o=r.textContent,u=t.textContent;if(a>i){var f=a;a=i,i=f,f=o,o=u,u=f}for(;0!==n.indexOf(o);)o=o.slice(1);for(;-1===n.lastIndexOf(u);)u=u.slice(0,-1);for(var h=o,q=function C(e){for(var n=e;"TABLE"!==n.nodeName;)n=n.parentNode;return n}(r),v=a+1;v{function j(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t],u=typeof i;("object"===u||"function"===u)&&!Object.isFrozen(i)&&j(i)}),e}class v{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function U(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function N(e,...t){const i=Object.create(null);for(const u in e)i[u]=e[u];return t.forEach(function(u){for(const b in u)i[b]=u[b]}),i}const ae=e=>!!e.scope;class ve{constructor(t,i){this.buffer="",this.classPrefix=i.classPrefix,t.walk(this)}addText(t){this.buffer+=U(t)}openNode(t){if(!ae(t))return;const i=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const i=e.split(".");return[`${t}${i.shift()}`,...i.map((u,b)=>`${u}${"_".repeat(b+1)}`)].join(" ")}return`${t}${e}`})(t.scope,{prefix:this.classPrefix});this.span(i)}closeNode(t){ae(t)&&(this.buffer+="")}value(){return this.buffer}span(t){this.buffer+=``}}const ue=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Q{constructor(){this.rootNode=ue(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const i=ue({scope:t});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,i){return"string"==typeof i?t.addText(i):i.children&&(t.openNode(i),i.children.forEach(u=>this._walk(t,u)),t.closeNode(i)),t}static _collapse(t){"string"!=typeof t&&t.children&&(t.children.every(i=>"string"==typeof i)?t.children=[t.children.join("")]:t.children.forEach(i=>{Q._collapse(i)}))}}class Pe extends Q{constructor(t){super(),this.options=t}addText(t){""!==t&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,i){const u=t.root;i&&(u.scope=`language:${i}`),this.add(u)}toHTML(){return new ve(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function $(e){return e?"string"==typeof e?e:e.source:null}function fe(e){return D("(?=",e,")")}function He(e){return D("(?:",e,")*")}function je(e){return D("(?:",e,")?")}function D(...e){return e.map(i=>$(i)).join("")}function q(...e){return"("+(function Ue(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(u=>$(u)).join("|")+")"}function ge(e){return new RegExp(e.toString()+"|").exec("").length-1}const Ge=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let i=0;return e.map(u=>{i+=1;const b=i;let _=$(u),c="";for(;_.length>0;){const r=Ge.exec(_);if(!r){c+=_;break}c+=_.substring(0,r.index),_=_.substring(r.index+r[0].length),"\\"===r[0][0]&&r[1]?c+="\\"+String(Number(r[1])+b):(c+=r[0],"("===r[0]&&i++)}return c}).map(u=>`(${u})`).join(t)}const he="[a-zA-Z]\\w*",ee="[a-zA-Z_]\\w*",pe="\\b\\d+(\\.\\d+)?",de="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ee="\\b(0b[01]+)",G={begin:"\\\\[\\s\\S]",relevance:0},ze={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},Xe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},K=function(e,t,i={}){const u=N({scope:"comment",begin:e,end:t,contains:[]},i);u.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const b=q("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return u.contains.push({begin:D(/[ ]+/,"(",b,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),u},Ze=K("//","$"),Je=K("/\\*","\\*/"),Ve=K("#","$");var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:he,UNDERSCORE_IDENT_RE:ee,NUMBER_RE:pe,C_NUMBER_RE:de,BINARY_NUMBER_RE:Ee,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=D(t,/.*\b/,e.binary,/\b.*/)),N({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(i,u)=>{0!==i.index&&u.ignoreMatch()}},e)},BACKSLASH_ESCAPE:G,APOS_STRING_MODE:ze,QUOTE_STRING_MODE:Xe,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:K,C_LINE_COMMENT_MODE:Ze,C_BLOCK_COMMENT_MODE:Je,HASH_COMMENT_MODE:Ve,NUMBER_MODE:{scope:"number",begin:pe,relevance:0},C_NUMBER_MODE:{scope:"number",begin:de,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:Ee,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]}]},TITLE_MODE:{scope:"title",begin:he,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:ee,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ee,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,i)=>{i.data._beginMatch=t[1]},"on:end":(t,i)=>{i.data._beginMatch!==t[1]&&i.ignoreMatch()}})}});function st(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function rt(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function ct(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=st,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function ot(e,t){Array.isArray(e.illegal)&&(e.illegal=q(...e.illegal))}function lt(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function at(e,t){void 0===e.relevance&&(e.relevance=1)}const ut=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(u=>{delete e[u]}),e.keywords=i.keywords,e.begin=D(i.beforeMatch,fe(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},ft=["of","and","for","in","not","or","if","then","parent","list","value"],gt="keyword";function be(e,t,i=gt){const u=Object.create(null);return"string"==typeof e?b(i,e.split(" ")):Array.isArray(e)?b(i,e):Object.keys(e).forEach(function(_){Object.assign(u,be(e[_],t,_))}),u;function b(_,c){t&&(c=c.map(r=>r.toLowerCase())),c.forEach(function(r){const a=r.split("|");u[a[0]]=[_,ht(a[0],a[1])]})}}function ht(e,t){return t?Number(t):function pt(e){return ft.includes(e.toLowerCase())}(e)?0:1}const _e={},C=e=>{console.error(e)},Me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},P=(e,t)=>{_e[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),_e[`${e}/${t}`]=!0)},z=new Error;function we(e,t,{key:i}){let u=0;const b=e[i],_={},c={};for(let r=1;r<=t.length;r++)c[r+u]=b[r],_[r+u]=!0,u+=ge(t[r-1]);e[i]=c,e[i]._emit=_,e[i]._multi=!0}function _t(e){(function bt(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function dt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw C("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),z;if("object"!=typeof e.beginScope||null===e.beginScope)throw C("beginScope must be object"),z;we(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}}(e),function Et(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw C("skip, excludeEnd, returnEnd not compatible with endScope: {}"),z;if("object"!=typeof e.endScope||null===e.endScope)throw C("endScope must be object"),z;we(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}(e)}function Mt(e){function t(c,r){return new RegExp($(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,r]),this.matchAt+=ge(r)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const r=this.regexes.map(a=>a[1]);this.matcherRe=t(m(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(r);if(!a)return null;const x=a.findIndex((W,ne)=>ne>0&&void 0!==W),M=this.matchIndexes[x];return a.splice(0,x),Object.assign(a,M)}}class u{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const a=new i;return this.rules.slice(r).forEach(([x,M])=>a.addRule(x,M)),a.compile(),this.multiRegexes[r]=a,a}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(r,a){this.rules.push([r,a]),"begin"===a.type&&this.count++}exec(r){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let x=a.exec(r);if(this.resumingScanAtSamePosition()&&(!x||x.index!==this.lastIndex)){const M=this.getMatcher(0);M.lastIndex=this.lastIndex+1,x=M.exec(r)}return x&&(this.regexIndex+=x.position+1,this.regexIndex===this.count&&this.considerAll()),x}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=N(e.classNameAliases||{}),function _(c,r){const a=c;if(c.isCompiled)return a;[rt,lt,_t,ut].forEach(M=>M(c,r)),e.compilerExtensions.forEach(M=>M(c,r)),c.__beforeBegin=null,[ct,ot,at].forEach(M=>M(c,r)),c.isCompiled=!0;let x=null;return"object"==typeof c.keywords&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),x=c.keywords.$pattern,delete c.keywords.$pattern),x=x||/\w+/,c.keywords&&(c.keywords=be(c.keywords,e.case_insensitive)),a.keywordPatternRe=t(x,!0),r&&(c.begin||(c.begin=/\B|\b/),a.beginRe=t(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=t(a.end)),a.terminatorEnd=$(a.end)||"",c.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+r.terminatorEnd)),c.illegal&&(a.illegalRe=t(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(M){return function wt(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return N(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:xe(e)?N(e,{starts:e.starts?N(e.starts):null}):Object.isFrozen(e)?N(e):e}("self"===M?c:M)})),c.contains.forEach(function(M){_(M,a)}),c.starts&&_(c.starts,r),a.matcher=function b(c){const r=new u;return c.contains.forEach(a=>r.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&r.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&r.addRule(c.illegal,{type:"illegal"}),r}(a),a}(e)}function xe(e){return!!e&&(e.endsWithParent||xe(e.starts))}class Ot extends Error{constructor(t,i){super(t),this.name="HTMLInjectionError",this.html=i}}const te=U,Oe=N,Re=Symbol("nomatch"),ye=function(e){const t=Object.create(null),i=Object.create(null),u=[];let b=!0;const _="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Pe};function a(n){return r.noHighlightRe.test(n)}function M(n,l,h){let d="",w="";"object"==typeof l?(d=n,h=l.ignoreIllegals,w=l.language):(P("10.7.0","highlight(lang, code, ...args) has been deprecated."),P("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),w=n,d=l),void 0===h&&(h=!0);const S={code:d,language:w};Y("before:highlight",S);const B=S.result?S.result:W(S.language,S.code,h);return B.code=S.code,Y("after:highlight",B),B}function W(n,l,h,d){const w=Object.create(null);function S(s,o){return s.keywords[o]}function B(){if(!f.keywords)return void O.addText(E);let s=0;f.keywordPatternRe.lastIndex=0;let o=f.keywordPatternRe.exec(E),g="";for(;o;){g+=E.substring(s,o.index);const p=k.case_insensitive?o[0].toLowerCase():o[0],R=S(f,p);if(R){const[T,Gt]=R;O.addText(g),g="",w[p]=(w[p]||0)+1,w[p]<=7&&(V+=Gt),T.startsWith("_")?g+=o[0]:A(o[0],k.classNameAliases[T]||T)}else g+=o[0];s=f.keywordPatternRe.lastIndex,o=f.keywordPatternRe.exec(E)}g+=E.substring(s),O.addText(g)}function y(){null!=f.subLanguage?function Z(){if(""===E)return;let s=null;if("string"==typeof f.subLanguage){if(!t[f.subLanguage])return void O.addText(E);s=W(f.subLanguage,E,!0,De[f.subLanguage]),De[f.subLanguage]=s._top}else s=ie(E,f.subLanguage.length?f.subLanguage:null);f.relevance>0&&(V+=s.relevance),O.__addSublanguage(s._emitter,s.language)}():B(),E=""}function A(s,o){""!==s&&(O.startScope(o),O.addText(s),O.endScope())}function ke(s,o){let g=1;const p=o.length-1;for(;g<=p;){if(!s._emit[g]){g++;continue}const R=k.classNameAliases[s[g]]||s[g],T=o[g];R?A(T,R):(E=T,B(),E=""),g++}}function Te(s,o){return s.scope&&"string"==typeof s.scope&&O.openNode(k.classNameAliases[s.scope]||s.scope),s.beginScope&&(s.beginScope._wrap?(A(E,k.classNameAliases[s.beginScope._wrap]||s.beginScope._wrap),E=""):s.beginScope._multi&&(ke(s.beginScope,o),E="")),f=Object.create(s,{parent:{value:f}}),f}function Ie(s,o,g){let p=function $e(e,t){const i=e&&e.exec(t);return i&&0===i.index}(s.endRe,g);if(p){if(s["on:end"]){const R=new v(s);s["on:end"](o,R),R.isMatchIgnored&&(p=!1)}if(p){for(;s.endsParent&&s.parent;)s=s.parent;return s}}if(s.endsWithParent)return Ie(s.parent,o,g)}function Pt(s){return 0===f.matcher.regexIndex?(E+=s[0],1):(oe=!0,0)}function jt(s){const o=s[0],g=l.substring(s.index),p=Ie(f,s,g);if(!p)return Re;const R=f;f.endScope&&f.endScope._wrap?(y(),A(o,f.endScope._wrap)):f.endScope&&f.endScope._multi?(y(),ke(f.endScope,s)):R.skip?E+=o:(R.returnEnd||R.excludeEnd||(E+=o),y(),R.excludeEnd&&(E=o));do{f.scope&&O.closeNode(),!f.skip&&!f.subLanguage&&(V+=f.relevance),f=f.parent}while(f!==p.parent);return p.starts&&Te(p.starts,s),R.returnEnd?0:o.length}let J={};function Be(s,o){const g=o&&o[0];if(E+=s,null==g)return y(),0;if("begin"===J.type&&"end"===o.type&&J.index===o.index&&""===g){if(E+=l.slice(o.index,o.index+1),!b){const p=new Error(`0 width match regex (${n})`);throw p.languageName=n,p.badRule=J.rule,p}return 1}if(J=o,"begin"===o.type)return function Ht(s){const o=s[0],g=s.rule,p=new v(g),R=[g.__beforeBegin,g["on:begin"]];for(const T of R)if(T&&(T(s,p),p.isMatchIgnored))return Pt(o);return g.skip?E+=o:(g.excludeBegin&&(E+=o),y(),!g.returnBegin&&!g.excludeBegin&&(E=o)),Te(g,s),g.returnBegin?0:o.length}(o);if("illegal"===o.type&&!h){const p=new Error('Illegal lexeme "'+g+'" for mode "'+(f.scope||"")+'"');throw p.mode=f,p}if("end"===o.type){const p=jt(o);if(p!==Re)return p}if("illegal"===o.type&&""===g)return 1;if(ce>1e5&&ce>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return E+=g,g.length}const k=I(n);if(!k)throw C(_.replace("{}",n)),new Error('Unknown language: "'+n+'"');const $t=Mt(k);let re="",f=d||$t;const De={},O=new r.__emitter(r);!function Ut(){const s=[];for(let o=f;o!==k;o=o.parent)o.scope&&s.unshift(o.scope);s.forEach(o=>O.openNode(o))}();let E="",V=0,L=0,ce=0,oe=!1;try{if(k.__emitTokens)k.__emitTokens(l,O);else{for(f.matcher.considerAll();;){ce++,oe?oe=!1:f.matcher.considerAll(),f.matcher.lastIndex=L;const s=f.matcher.exec(l);if(!s)break;const g=Be(l.substring(L,s.index),s);L=s.index+g}Be(l.substring(L))}return O.finalize(),re=O.toHTML(),{language:n,value:re,relevance:V,illegal:!1,_emitter:O,_top:f}}catch(s){if(s.message&&s.message.includes("Illegal"))return{language:n,value:te(l),illegal:!0,relevance:0,_illegalBy:{message:s.message,index:L,context:l.slice(L-100,L+100),mode:s.mode,resultSoFar:re},_emitter:O};if(b)return{language:n,value:te(l),illegal:!1,relevance:0,errorRaised:s,_emitter:O,_top:f};throw s}}function ie(n,l){l=l||r.languages||Object.keys(t);const h=function ne(n){const l={value:te(n),illegal:!1,relevance:0,_top:c,_emitter:new r.__emitter(r)};return l._emitter.addText(n),l}(n),d=l.filter(I).filter(Ae).map(y=>W(y,n,!1));d.unshift(h);const w=d.sort((y,A)=>{if(y.relevance!==A.relevance)return A.relevance-y.relevance;if(y.language&&A.language){if(I(y.language).supersetOf===A.language)return 1;if(I(A.language).supersetOf===y.language)return-1}return 0}),[S,B]=w,Z=S;return Z.secondBest=B,Z}function se(n){let l=null;const h=function x(n){let l=n.className+" ";l+=n.parentNode?n.parentNode.className:"";const h=r.languageDetectRe.exec(l);if(h){const d=I(h[1]);return d||(Me(_.replace("{}",h[1])),Me("Falling back to no-highlight mode for this block.",n)),d?h[1]:"no-highlight"}return l.split(/\s+/).find(d=>a(d)||I(d))}(n);if(a(h))return;if(Y("before:highlightElement",{el:n,language:h}),n.children.length>0&&(r.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(n)),r.throwUnescapedHTML))throw new Ot("One of your code blocks includes unescaped HTML.",n.innerHTML);l=n;const d=l.textContent,w=h?M(d,{language:h,ignoreIllegals:!0}):ie(d);n.innerHTML=w.value,function yt(n,l,h){const d=l&&i[l]||h;n.classList.add("hljs"),n.classList.add(`language-${d}`)}(n,h,w.language),n.result={language:w.language,re:w.relevance,relevance:w.relevance},w.secondBest&&(n.secondBest={language:w.secondBest.language,relevance:w.secondBest.relevance}),Y("after:highlightElement",{el:n,result:w,text:d})}let Se=!1;function X(){"loading"!==document.readyState?document.querySelectorAll(r.cssSelector).forEach(se):Se=!0}function I(n){return n=(n||"").toLowerCase(),t[n]||t[i[n]]}function Ne(n,{languageName:l}){"string"==typeof n&&(n=[n]),n.forEach(h=>{i[h.toLowerCase()]=l})}function Ae(n){const l=I(n);return l&&!l.disableAutodetect}function Y(n,l){const h=n;u.forEach(function(d){d[h]&&d[h](l)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function kt(){Se&&X()},!1),Object.assign(e,{highlight:M,highlightAuto:ie,highlightAll:X,highlightElement:se,highlightBlock:function vt(n){return P("10.7.0","highlightBlock will be removed entirely in v12.0"),P("10.7.0","Please use highlightElement now."),se(n)},configure:function St(n){r=Oe(r,n)},initHighlighting:()=>{X(),P("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function At(){X(),P("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Tt(n,l){let h=null;try{h=l(e)}catch(d){if(C("Language definition for '{}' could not be registered.".replace("{}",n)),!b)throw d;C(d),h=c}h.name||(h.name=n),t[n]=h,h.rawDefinition=l.bind(null,e),h.aliases&&Ne(h.aliases,{languageName:n})},unregisterLanguage:function It(n){delete t[n];for(const l of Object.keys(i))i[l]===n&&delete i[l]},listLanguages:function Bt(){return Object.keys(t)},getLanguage:I,registerAliases:Ne,autoDetection:Ae,inherit:Oe,addPlugin:function Ct(n){(function Dt(n){n["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=l=>{n["before:highlightBlock"](Object.assign({block:l.el},l))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=l=>{n["after:highlightBlock"](Object.assign({block:l.el},l))})})(n),u.push(n)},removePlugin:function Lt(n){const l=u.indexOf(n);-1!==l&&u.splice(l,1)}}),e.debugMode=function(){b=!1},e.safeMode=function(){b=!0},e.versionString="11.8.0",e.regex={concat:D,lookahead:fe,either:q,optional:je,anyNumberOfTimes:He};for(const n in F)"object"==typeof F[n]&&j(F[n]);return Object.assign(e,F),e},H=ye({});H.newInstance=()=>ye({}),le.exports=H,H.HighlightJS=H,H.default=H},4373:(le,j,v)=>{"use strict";v.r(j),v.d(j,{HighlightJS:()=>U,default:()=>N});var U=v(6548);const N=U}}]); \ No newline at end of file diff --git a/dist/ng-select2/373.731a0c17af9263d0.js b/dist/ng-select2/373.731a0c17af9263d0.js new file mode 100644 index 0000000..0ccf842 --- /dev/null +++ b/dist/ng-select2/373.731a0c17af9263d0.js @@ -0,0 +1 @@ +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[373],{548:le=>{function j(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t],u=typeof i;("object"===u||"function"===u)&&!Object.isFrozen(i)&&j(i)}),e}class v{constructor(t){void 0===t.data&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function U(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function N(e,...t){const i=Object.create(null);for(const u in e)i[u]=e[u];return t.forEach(function(u){for(const b in u)i[b]=u[b]}),i}const ae=e=>!!e.scope;class ve{constructor(t,i){this.buffer="",this.classPrefix=i.classPrefix,t.walk(this)}addText(t){this.buffer+=U(t)}openNode(t){if(!ae(t))return;const i=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const i=e.split(".");return[`${t}${i.shift()}`,...i.map((u,b)=>`${u}${"_".repeat(b+1)}`)].join(" ")}return`${t}${e}`})(t.scope,{prefix:this.classPrefix});this.span(i)}closeNode(t){ae(t)&&(this.buffer+="")}value(){return this.buffer}span(t){this.buffer+=``}}const ue=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Q{constructor(){this.rootNode=ue(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const i=ue({scope:t});this.add(i),this.stack.push(i)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,i){return"string"==typeof i?t.addText(i):i.children&&(t.openNode(i),i.children.forEach(u=>this._walk(t,u)),t.closeNode(i)),t}static _collapse(t){"string"!=typeof t&&t.children&&(t.children.every(i=>"string"==typeof i)?t.children=[t.children.join("")]:t.children.forEach(i=>{Q._collapse(i)}))}}class Pe extends Q{constructor(t){super(),this.options=t}addText(t){""!==t&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,i){const u=t.root;i&&(u.scope=`language:${i}`),this.add(u)}toHTML(){return new ve(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function $(e){return e?"string"==typeof e?e:e.source:null}function fe(e){return D("(?=",e,")")}function He(e){return D("(?:",e,")*")}function je(e){return D("(?:",e,")?")}function D(...e){return e.map(i=>$(i)).join("")}function q(...e){return"("+(function Ue(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(u=>$(u)).join("|")+")"}function ge(e){return new RegExp(e.toString()+"|").exec("").length-1}const Ge=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function m(e,{joinWith:t}){let i=0;return e.map(u=>{i+=1;const b=i;let _=$(u),c="";for(;_.length>0;){const r=Ge.exec(_);if(!r){c+=_;break}c+=_.substring(0,r.index),_=_.substring(r.index+r[0].length),"\\"===r[0][0]&&r[1]?c+="\\"+String(Number(r[1])+b):(c+=r[0],"("===r[0]&&i++)}return c}).map(u=>`(${u})`).join(t)}const he="[a-zA-Z]\\w*",ee="[a-zA-Z_]\\w*",pe="\\b\\d+(\\.\\d+)?",de="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ee="\\b(0b[01]+)",G={begin:"\\\\[\\s\\S]",relevance:0},ze={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},Xe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},K=function(e,t,i={}){const u=N({scope:"comment",begin:e,end:t,contains:[]},i);u.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const b=q("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return u.contains.push({begin:D(/[ ]+/,"(",b,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),u},Ze=K("//","$"),Je=K("/\\*","\\*/"),Ve=K("#","$");var F=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:he,UNDERSCORE_IDENT_RE:ee,NUMBER_RE:pe,C_NUMBER_RE:de,BINARY_NUMBER_RE:Ee,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=D(t,/.*\b/,e.binary,/\b.*/)),N({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(i,u)=>{0!==i.index&&u.ignoreMatch()}},e)},BACKSLASH_ESCAPE:G,APOS_STRING_MODE:ze,QUOTE_STRING_MODE:Xe,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:K,C_LINE_COMMENT_MODE:Ze,C_BLOCK_COMMENT_MODE:Je,HASH_COMMENT_MODE:Ve,NUMBER_MODE:{scope:"number",begin:pe,relevance:0},C_NUMBER_MODE:{scope:"number",begin:de,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:Ee,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]}]},TITLE_MODE:{scope:"title",begin:he,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:ee,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ee,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,i)=>{i.data._beginMatch=t[1]},"on:end":(t,i)=>{i.data._beginMatch!==t[1]&&i.ignoreMatch()}})}});function st(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function rt(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function ct(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=st,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function ot(e,t){Array.isArray(e.illegal)&&(e.illegal=q(...e.illegal))}function lt(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function at(e,t){void 0===e.relevance&&(e.relevance=1)}const ut=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const i=Object.assign({},e);Object.keys(e).forEach(u=>{delete e[u]}),e.keywords=i.keywords,e.begin=D(i.beforeMatch,fe(i.begin)),e.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},e.relevance=0,delete i.beforeMatch},ft=["of","and","for","in","not","or","if","then","parent","list","value"],gt="keyword";function be(e,t,i=gt){const u=Object.create(null);return"string"==typeof e?b(i,e.split(" ")):Array.isArray(e)?b(i,e):Object.keys(e).forEach(function(_){Object.assign(u,be(e[_],t,_))}),u;function b(_,c){t&&(c=c.map(r=>r.toLowerCase())),c.forEach(function(r){const a=r.split("|");u[a[0]]=[_,ht(a[0],a[1])]})}}function ht(e,t){return t?Number(t):function pt(e){return ft.includes(e.toLowerCase())}(e)?0:1}const _e={},C=e=>{console.error(e)},Me=(e,...t)=>{console.log(`WARN: ${e}`,...t)},P=(e,t)=>{_e[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),_e[`${e}/${t}`]=!0)},z=new Error;function we(e,t,{key:i}){let u=0;const b=e[i],_={},c={};for(let r=1;r<=t.length;r++)c[r+u]=b[r],_[r+u]=!0,u+=ge(t[r-1]);e[i]=c,e[i]._emit=_,e[i]._multi=!0}function _t(e){(function bt(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function dt(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw C("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),z;if("object"!=typeof e.beginScope||null===e.beginScope)throw C("beginScope must be object"),z;we(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}}(e),function Et(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw C("skip, excludeEnd, returnEnd not compatible with endScope: {}"),z;if("object"!=typeof e.endScope||null===e.endScope)throw C("endScope must be object"),z;we(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}}(e)}function Mt(e){function t(c,r){return new RegExp($(c),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(r?"g":""))}class i{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(r,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,r]),this.matchAt+=ge(r)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const r=this.regexes.map(a=>a[1]);this.matcherRe=t(m(r,{joinWith:"|"}),!0),this.lastIndex=0}exec(r){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(r);if(!a)return null;const x=a.findIndex((W,ne)=>ne>0&&void 0!==W),M=this.matchIndexes[x];return a.splice(0,x),Object.assign(a,M)}}class u{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(r){if(this.multiRegexes[r])return this.multiRegexes[r];const a=new i;return this.rules.slice(r).forEach(([x,M])=>a.addRule(x,M)),a.compile(),this.multiRegexes[r]=a,a}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(r,a){this.rules.push([r,a]),"begin"===a.type&&this.count++}exec(r){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let x=a.exec(r);if(this.resumingScanAtSamePosition()&&(!x||x.index!==this.lastIndex)){const M=this.getMatcher(0);M.lastIndex=this.lastIndex+1,x=M.exec(r)}return x&&(this.regexIndex+=x.position+1,this.regexIndex===this.count&&this.considerAll()),x}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=N(e.classNameAliases||{}),function _(c,r){const a=c;if(c.isCompiled)return a;[rt,lt,_t,ut].forEach(M=>M(c,r)),e.compilerExtensions.forEach(M=>M(c,r)),c.__beforeBegin=null,[ct,ot,at].forEach(M=>M(c,r)),c.isCompiled=!0;let x=null;return"object"==typeof c.keywords&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),x=c.keywords.$pattern,delete c.keywords.$pattern),x=x||/\w+/,c.keywords&&(c.keywords=be(c.keywords,e.case_insensitive)),a.keywordPatternRe=t(x,!0),r&&(c.begin||(c.begin=/\B|\b/),a.beginRe=t(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=t(a.end)),a.terminatorEnd=$(a.end)||"",c.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+r.terminatorEnd)),c.illegal&&(a.illegalRe=t(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(M){return function wt(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return N(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:xe(e)?N(e,{starts:e.starts?N(e.starts):null}):Object.isFrozen(e)?N(e):e}("self"===M?c:M)})),c.contains.forEach(function(M){_(M,a)}),c.starts&&_(c.starts,r),a.matcher=function b(c){const r=new u;return c.contains.forEach(a=>r.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&r.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&r.addRule(c.illegal,{type:"illegal"}),r}(a),a}(e)}function xe(e){return!!e&&(e.endsWithParent||xe(e.starts))}class Ot extends Error{constructor(t,i){super(t),this.name="HTMLInjectionError",this.html=i}}const te=U,Oe=N,Re=Symbol("nomatch"),ye=function(e){const t=Object.create(null),i=Object.create(null),u=[];let b=!0;const _="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let r={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Pe};function a(n){return r.noHighlightRe.test(n)}function M(n,l,h){let d="",w="";"object"==typeof l?(d=n,h=l.ignoreIllegals,w=l.language):(P("10.7.0","highlight(lang, code, ...args) has been deprecated."),P("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),w=n,d=l),void 0===h&&(h=!0);const S={code:d,language:w};Y("before:highlight",S);const B=S.result?S.result:W(S.language,S.code,h);return B.code=S.code,Y("after:highlight",B),B}function W(n,l,h,d){const w=Object.create(null);function S(s,o){return s.keywords[o]}function B(){if(!f.keywords)return void O.addText(E);let s=0;f.keywordPatternRe.lastIndex=0;let o=f.keywordPatternRe.exec(E),g="";for(;o;){g+=E.substring(s,o.index);const p=k.case_insensitive?o[0].toLowerCase():o[0],R=S(f,p);if(R){const[T,Gt]=R;O.addText(g),g="",w[p]=(w[p]||0)+1,w[p]<=7&&(V+=Gt),T.startsWith("_")?g+=o[0]:A(o[0],k.classNameAliases[T]||T)}else g+=o[0];s=f.keywordPatternRe.lastIndex,o=f.keywordPatternRe.exec(E)}g+=E.substring(s),O.addText(g)}function y(){null!=f.subLanguage?function Z(){if(""===E)return;let s=null;if("string"==typeof f.subLanguage){if(!t[f.subLanguage])return void O.addText(E);s=W(f.subLanguage,E,!0,De[f.subLanguage]),De[f.subLanguage]=s._top}else s=ie(E,f.subLanguage.length?f.subLanguage:null);f.relevance>0&&(V+=s.relevance),O.__addSublanguage(s._emitter,s.language)}():B(),E=""}function A(s,o){""!==s&&(O.startScope(o),O.addText(s),O.endScope())}function ke(s,o){let g=1;const p=o.length-1;for(;g<=p;){if(!s._emit[g]){g++;continue}const R=k.classNameAliases[s[g]]||s[g],T=o[g];R?A(T,R):(E=T,B(),E=""),g++}}function Te(s,o){return s.scope&&"string"==typeof s.scope&&O.openNode(k.classNameAliases[s.scope]||s.scope),s.beginScope&&(s.beginScope._wrap?(A(E,k.classNameAliases[s.beginScope._wrap]||s.beginScope._wrap),E=""):s.beginScope._multi&&(ke(s.beginScope,o),E="")),f=Object.create(s,{parent:{value:f}}),f}function Ie(s,o,g){let p=function $e(e,t){const i=e&&e.exec(t);return i&&0===i.index}(s.endRe,g);if(p){if(s["on:end"]){const R=new v(s);s["on:end"](o,R),R.isMatchIgnored&&(p=!1)}if(p){for(;s.endsParent&&s.parent;)s=s.parent;return s}}if(s.endsWithParent)return Ie(s.parent,o,g)}function Pt(s){return 0===f.matcher.regexIndex?(E+=s[0],1):(oe=!0,0)}function jt(s){const o=s[0],g=l.substring(s.index),p=Ie(f,s,g);if(!p)return Re;const R=f;f.endScope&&f.endScope._wrap?(y(),A(o,f.endScope._wrap)):f.endScope&&f.endScope._multi?(y(),ke(f.endScope,s)):R.skip?E+=o:(R.returnEnd||R.excludeEnd||(E+=o),y(),R.excludeEnd&&(E=o));do{f.scope&&O.closeNode(),!f.skip&&!f.subLanguage&&(V+=f.relevance),f=f.parent}while(f!==p.parent);return p.starts&&Te(p.starts,s),R.returnEnd?0:o.length}let J={};function Be(s,o){const g=o&&o[0];if(E+=s,null==g)return y(),0;if("begin"===J.type&&"end"===o.type&&J.index===o.index&&""===g){if(E+=l.slice(o.index,o.index+1),!b){const p=new Error(`0 width match regex (${n})`);throw p.languageName=n,p.badRule=J.rule,p}return 1}if(J=o,"begin"===o.type)return function Ht(s){const o=s[0],g=s.rule,p=new v(g),R=[g.__beforeBegin,g["on:begin"]];for(const T of R)if(T&&(T(s,p),p.isMatchIgnored))return Pt(o);return g.skip?E+=o:(g.excludeBegin&&(E+=o),y(),!g.returnBegin&&!g.excludeBegin&&(E=o)),Te(g,s),g.returnBegin?0:o.length}(o);if("illegal"===o.type&&!h){const p=new Error('Illegal lexeme "'+g+'" for mode "'+(f.scope||"")+'"');throw p.mode=f,p}if("end"===o.type){const p=jt(o);if(p!==Re)return p}if("illegal"===o.type&&""===g)return 1;if(ce>1e5&&ce>3*o.index)throw new Error("potential infinite loop, way more iterations than matches");return E+=g,g.length}const k=I(n);if(!k)throw C(_.replace("{}",n)),new Error('Unknown language: "'+n+'"');const $t=Mt(k);let re="",f=d||$t;const De={},O=new r.__emitter(r);!function Ut(){const s=[];for(let o=f;o!==k;o=o.parent)o.scope&&s.unshift(o.scope);s.forEach(o=>O.openNode(o))}();let E="",V=0,L=0,ce=0,oe=!1;try{if(k.__emitTokens)k.__emitTokens(l,O);else{for(f.matcher.considerAll();;){ce++,oe?oe=!1:f.matcher.considerAll(),f.matcher.lastIndex=L;const s=f.matcher.exec(l);if(!s)break;const g=Be(l.substring(L,s.index),s);L=s.index+g}Be(l.substring(L))}return O.finalize(),re=O.toHTML(),{language:n,value:re,relevance:V,illegal:!1,_emitter:O,_top:f}}catch(s){if(s.message&&s.message.includes("Illegal"))return{language:n,value:te(l),illegal:!0,relevance:0,_illegalBy:{message:s.message,index:L,context:l.slice(L-100,L+100),mode:s.mode,resultSoFar:re},_emitter:O};if(b)return{language:n,value:te(l),illegal:!1,relevance:0,errorRaised:s,_emitter:O,_top:f};throw s}}function ie(n,l){l=l||r.languages||Object.keys(t);const h=function ne(n){const l={value:te(n),illegal:!1,relevance:0,_top:c,_emitter:new r.__emitter(r)};return l._emitter.addText(n),l}(n),d=l.filter(I).filter(Ae).map(y=>W(y,n,!1));d.unshift(h);const w=d.sort((y,A)=>{if(y.relevance!==A.relevance)return A.relevance-y.relevance;if(y.language&&A.language){if(I(y.language).supersetOf===A.language)return 1;if(I(A.language).supersetOf===y.language)return-1}return 0}),[S,B]=w,Z=S;return Z.secondBest=B,Z}function se(n){let l=null;const h=function x(n){let l=n.className+" ";l+=n.parentNode?n.parentNode.className:"";const h=r.languageDetectRe.exec(l);if(h){const d=I(h[1]);return d||(Me(_.replace("{}",h[1])),Me("Falling back to no-highlight mode for this block.",n)),d?h[1]:"no-highlight"}return l.split(/\s+/).find(d=>a(d)||I(d))}(n);if(a(h))return;if(Y("before:highlightElement",{el:n,language:h}),n.children.length>0&&(r.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(n)),r.throwUnescapedHTML))throw new Ot("One of your code blocks includes unescaped HTML.",n.innerHTML);l=n;const d=l.textContent,w=h?M(d,{language:h,ignoreIllegals:!0}):ie(d);n.innerHTML=w.value,function yt(n,l,h){const d=l&&i[l]||h;n.classList.add("hljs"),n.classList.add(`language-${d}`)}(n,h,w.language),n.result={language:w.language,re:w.relevance,relevance:w.relevance},w.secondBest&&(n.secondBest={language:w.secondBest.language,relevance:w.secondBest.relevance}),Y("after:highlightElement",{el:n,result:w,text:d})}let Se=!1;function X(){"loading"!==document.readyState?document.querySelectorAll(r.cssSelector).forEach(se):Se=!0}function I(n){return n=(n||"").toLowerCase(),t[n]||t[i[n]]}function Ne(n,{languageName:l}){"string"==typeof n&&(n=[n]),n.forEach(h=>{i[h.toLowerCase()]=l})}function Ae(n){const l=I(n);return l&&!l.disableAutodetect}function Y(n,l){const h=n;u.forEach(function(d){d[h]&&d[h](l)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function kt(){Se&&X()},!1),Object.assign(e,{highlight:M,highlightAuto:ie,highlightAll:X,highlightElement:se,highlightBlock:function vt(n){return P("10.7.0","highlightBlock will be removed entirely in v12.0"),P("10.7.0","Please use highlightElement now."),se(n)},configure:function St(n){r=Oe(r,n)},initHighlighting:()=>{X(),P("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function At(){X(),P("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Tt(n,l){let h=null;try{h=l(e)}catch(d){if(C("Language definition for '{}' could not be registered.".replace("{}",n)),!b)throw d;C(d),h=c}h.name||(h.name=n),t[n]=h,h.rawDefinition=l.bind(null,e),h.aliases&&Ne(h.aliases,{languageName:n})},unregisterLanguage:function It(n){delete t[n];for(const l of Object.keys(i))i[l]===n&&delete i[l]},listLanguages:function Bt(){return Object.keys(t)},getLanguage:I,registerAliases:Ne,autoDetection:Ae,inherit:Oe,addPlugin:function Ct(n){(function Dt(n){n["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=l=>{n["before:highlightBlock"](Object.assign({block:l.el},l))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=l=>{n["after:highlightBlock"](Object.assign({block:l.el},l))})})(n),u.push(n)},removePlugin:function Lt(n){const l=u.indexOf(n);-1!==l&&u.splice(l,1)}}),e.debugMode=function(){b=!1},e.safeMode=function(){b=!0},e.versionString="11.8.0",e.regex={concat:D,lookahead:fe,either:q,optional:je,anyNumberOfTimes:He};for(const n in F)"object"==typeof F[n]&&j(F[n]);return Object.assign(e,F),e},H=ye({});H.newInstance=()=>ye({}),le.exports=H,H.HighlightJS=H,H.default=H},373:(le,j,v)=>{"use strict";v.r(j),v.d(j,{HighlightJS:()=>U,default:()=>N});var U=v(548);const N=U}}]); \ No newline at end of file diff --git a/dist/ng-select2/3rdpartylicenses.txt b/dist/ng-select2/3rdpartylicenses.txt index fb817ea..16d3c4a 100644 --- a/dist/ng-select2/3rdpartylicenses.txt +++ b/dist/ng-select2/3rdpartylicenses.txt @@ -106,29 +106,6 @@ programs and associated documentation files created by the Original Author, when distributed with the Software. -core-js -MIT -Copyright (c) 2014-2020 Denis Pushkarev - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - highlight.js BSD-3-Clause BSD 3-Clause License diff --git a/dist/ng-select2/668.c432ffc24fbf0d0e.js b/dist/ng-select2/668.c432ffc24fbf0d0e.js deleted file mode 100644 index 71aa545..0000000 --- a/dist/ng-select2/668.c432ffc24fbf0d0e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[668],{2668:(d,l,r)=>{function m(n){const e=n.regex,a=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},g=n.inherit(t,{begin:/\(/,end:/\)/}),o=n.inherit(n.APOS_STRING_MODE,{className:"string"}),c=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),i={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[t,c,o,g,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[t,g,c,o]}]}]},n.COMMENT(//,{relevance:10}),{begin://,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[i],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[i],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:i}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}r.r(l),r.d(l,{default:()=>m})}}]); \ No newline at end of file diff --git a/dist/ng-select2/668.ef784974125a0c60.js b/dist/ng-select2/668.ef784974125a0c60.js new file mode 100644 index 0000000..40463b4 --- /dev/null +++ b/dist/ng-select2/668.ef784974125a0c60.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[668],{668:(d,l,r)=>{function m(n){const e=n.regex,a=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},g=n.inherit(t,{begin:/\(/,end:/\)/}),o=n.inherit(n.APOS_STRING_MODE,{className:"string"}),c=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),i={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[t,c,o,g,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[t,g,c,o]}]}]},n.COMMENT(//,{relevance:10}),{begin://,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[i],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[i],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:i}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}r.r(l),r.d(l,{default:()=>m})}}]); \ No newline at end of file diff --git a/dist/ng-select2/743.0df2b095d3eb0a92.js b/dist/ng-select2/743.0df2b095d3eb0a92.js new file mode 100644 index 0000000..19c71c4 --- /dev/null +++ b/dist/ng-select2/743.0df2b095d3eb0a92.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[743],{743:(Q,_,A)=>{A.r(_),A.d(_,{default:()=>P});const N="[A-Za-z$_][0-9A-Za-z$_]*",B=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],U=["true","false","null","undefined","NaN","Infinity"],S=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],m=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],T=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],D=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],x=[].concat(T,S,m);function P(e){const a=e.regex,n=N,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,r)=>{const l=t[0].length+t.index,d=t.input[l];if("<"===d||","===d)return void r.ignoreMatch();let g;">"===d&&(((t,{after:r})=>{const l="",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(h)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[i]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,O,C,M,p,u,{match:/\$\d+/},I,w,{className:"attr",begin:n+a.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[u,e.REGEXP_MODE,{className:"function",begin:h,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[i,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},W,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[i]},J,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},F,X,{match:/\$[(.]/}]}}}}]); \ No newline at end of file diff --git a/dist/ng-select2/743.333486fd3a5b7bef.js b/dist/ng-select2/743.333486fd3a5b7bef.js deleted file mode 100644 index d81886f..0000000 --- a/dist/ng-select2/743.333486fd3a5b7bef.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[743],{8743:(Q,_,A)=>{A.r(_),A.d(_,{default:()=>P});const N="[A-Za-z$_][0-9A-Za-z$_]*",B=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],U=["true","false","null","undefined","NaN","Infinity"],S=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],m=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],T=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],D=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],x=[].concat(T,S,m);function P(e){const a=e.regex,n=N,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(t,r)=>{const l=t[0].length+t.index,d=t.input[l];if("<"===d||","===d)return void r.ignoreMatch();let g;">"===d&&(((t,{after:r})=>{const l="",Y={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,a.lookahead(h)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[i]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,O,C,M,p,u,{match:/\$\d+/},I,w,{className:"attr",begin:n+a.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[u,e.REGEXP_MODE,{className:"function",begin:h,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[i,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},W,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[i]},J,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},F,X,{match:/\$[(.]/}]}}}}]); \ No newline at end of file diff --git a/dist/ng-select2/746.02f7781d276444e6.js b/dist/ng-select2/746.02f7781d276444e6.js deleted file mode 100644 index 400afdc..0000000 --- a/dist/ng-select2/746.02f7781d276444e6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[746],{8746:(h,r,i)=>{i.r(r),i.d(r,{default:()=>b});const n=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),a=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],l=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],d=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function b(t){const g=t.regex,e=n(t),o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+d.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:l.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}}}}]); \ No newline at end of file diff --git a/dist/ng-select2/746.caf588dbc49342c7.js b/dist/ng-select2/746.caf588dbc49342c7.js new file mode 100644 index 0000000..868d521 --- /dev/null +++ b/dist/ng-select2/746.caf588dbc49342c7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[746],{746:(h,r,i)=>{i.r(r),i.d(r,{default:()=>b});const n=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),a=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],l=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],d=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function b(t){const g=t.regex,e=n(t),o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+d.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:l.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}}}}]); \ No newline at end of file diff --git a/dist/ng-select2/index.html b/dist/ng-select2/index.html index f0295ba..1336c1f 100644 --- a/dist/ng-select2/index.html +++ b/dist/ng-select2/index.html @@ -11,5 +11,5 @@ - + diff --git a/dist/ng-select2/main.0587b3ba16bb422f.js b/dist/ng-select2/main.0587b3ba16bb422f.js deleted file mode 100644 index 655613d..0000000 --- a/dist/ng-select2/main.0587b3ba16bb422f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[179],{6410:(en,we,N)=>{"use strict";function z(e){return"function"==typeof e}let F=!1;const C={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else F&&console.log("RxJS: Back to a better error behavior. Thank you. <3");F=e},get useDeprecatedSynchronousErrorHandling(){return F}};function E(e){setTimeout(()=>{throw e},0)}const G={closed:!0,next(e){},error(e){if(C.useDeprecatedSynchronousErrorHandling)throw e;E(e)},complete(){}},h=Array.isArray||(e=>e&&"number"==typeof e.length);function f(e){return null!==e&&"object"==typeof e}const L=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class A{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof A)t.remove(this);else if(null!==t)for(let s=0;sn.concat(t instanceof L?t.errors:t),[])}A.EMPTY=((e=new A).closed=!0,e);const k="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Z extends A{constructor(n,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=G;break;case 1:if(!n){this.destination=G;break}if("object"==typeof n){n instanceof Z?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new Te(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Te(this,n,t,r)}}[k](){return this}static create(n,t,r){const i=new Z(n,t,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class Te extends Z{constructor(n,t,r,i){super(),this._parentSubscriber=n;let o,s=this;z(t)?o=t:t&&(o=t.next,r=t.error,i=t.complete,t!==G&&(s=Object.create(t),z(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;C.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=C;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=n,t.syncErrorThrown=!0):E(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;E(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);C.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(r){if(this.unsubscribe(),C.useDeprecatedSynchronousErrorHandling)throw r;E(r)}}__tryOrSetError(n,t,r){if(!C.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return C.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(E(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const at="function"==typeof Symbol&&Symbol.observable||"@@observable";function Et(e){return e}function et(e){return 0===e.length?Et:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let be=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:o}=this,s=function $t(e,n,t){if(e){if(e instanceof Z)return e;if(e[k])return e[k]()}return e||n||t?new Z(e,n,t):new Z(G)}(t,r,i);if(s.add(o?o.call(s,this.source):this.source||C.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),C.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){C.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function st(e){for(;e;){const{closed:n,destination:t,isStopped:r}=e;if(n||r)return!1;e=t&&t instanceof Z?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=tn(r))((i,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[at](){return this}pipe(...t){return 0===t.length?this:et(t)(this)}toPromise(t){return new(t=tn(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function tn(e){if(e||(e=C.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Ct=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class gi extends A{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class nr extends Z{constructor(n){super(n),this.destination=n}}let je=(()=>{class e extends be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k](){return new nr(this)}lift(t){const r=new rr(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Ct;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew rr(n,t),e})();class rr extends je{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):A.EMPTY}}class ze extends je{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ct;return this._value}next(n){super.next(this._value=n)}}function zt(e){return e&&"function"==typeof e.schedule}function oe(e,n){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new mi(e,n))}}class mi{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new Eo(n,this.project,this.thisArg))}}class Eo extends Z{constructor(n,t,r){super(n),this.project=t,this.count=0,this.thisArg=r||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const _i=e=>n=>{for(let t=0,r=e.length;te&&"number"==typeof e.length&&"function"!=typeof e;function tt(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const At=e=>{if(e&&"function"==typeof e[at])return(e=>n=>{const t=e[at]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(kt(e))return _i(e);if(tt(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,E),n))(e);if(e&&"function"==typeof e[mn])return(e=>n=>{const t=e[mn]();for(;;){let r;try{r=t.next()}catch(i){return n.error(i),n}if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${f(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Fn(e,n){return new be(t=>{const r=new A;let i=0;return r.add(n.schedule(function(){i!==e.length?(t.next(e[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function _t(e,n){return n?function RS(e,n){if(null!=e){if(function OS(e){return e&&"function"==typeof e[at]}(e))return function _n(e,n){return new be(t=>{const r=new A;return r.add(n.schedule(()=>{const i=e[at]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>t.next(o)))},error(o){r.add(n.schedule(()=>t.error(o)))},complete(){r.add(n.schedule(()=>t.complete()))}}))})),r})}(e,n);if(tt(e))return function kn(e,n){return new be(t=>{const r=new A;return r.add(n.schedule(()=>e.then(i=>{r.add(n.schedule(()=>{t.next(i),r.add(n.schedule(()=>t.complete()))}))},i=>{r.add(n.schedule(()=>t.error(i)))}))),r})}(e,n);if(kt(e))return Fn(e,n);if(function xS(e){return e&&"function"==typeof e[mn]}(e)||"string"==typeof e)return function ea(e,n){if(!e)throw new Error("Iterable cannot be null");return new be(t=>{const r=new A;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(n.schedule(()=>{i=e[mn](),r.add(n.schedule(function(){if(t.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),r})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof be?e:new be(At(e))}class bi extends Z{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Ci extends Z{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function wi(e,n){if(n.closed)return;if(e instanceof be)return e.subscribe(n);let t;try{t=At(e)(n)}catch(r){n.error(r)}return t}function wt(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(wt((i,o)=>_t(e(i,o)).pipe(oe((s,a)=>n(i,s,o,a))),t)):("number"==typeof n&&(t=n),r=>r.lift(new PS(e,t)))}class PS{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new NS(n,this.project,this.concurrent))}}class NS extends Ci{constructor(n,t,r=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Di(e=Number.POSITIVE_INFINITY){return wt(Et,e)}function ta(e,n){return n?Fn(e,n):new be(_i(e))}function Jf(...e){let n=Number.POSITIVE_INFINITY,t=null,r=e[e.length-1];return zt(r)?(t=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===t&&1===e.length&&e[0]instanceof be?e[0]:Di(n)(ta(e,t))}function ne(...e){let n=e[e.length-1];return zt(n)?(e.pop(),Fn(e,n)):ta(e)}function na(){return function(n){return n.lift(new kS(n))}}class kS{constructor(n){this.connectable=n}call(n,t){const{connectable:r}=this;r._refCount++;const i=new FS(n,r),o=t.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class FS extends Z{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class xc extends be{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new A,n.add(this.source.subscribe(new VS(this.getSubject(),this))),n.closed&&(this._connection=null,n=A.EMPTY)),n}refCount(){return na()(this)}}const LS=(()=>{const e=xc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class VS extends nr{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}class jS{constructor(n,t){this.subjectFactory=n,this.selector=t}call(n,t){const{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(n);return o.add(t.subscribe(i)),o}}function US(){return new je}function ep(){return e=>na()(function HS(e,n){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof n)return r.lift(new jS(i,n));const o=Object.create(r,LS);return o.source=r,o.subjectFactory=i,o}}(US)(e))}function nn(e,n){return"function"==typeof n?t=>t.pipe(nn((r,i)=>_t(e(r,i)).pipe(oe((o,s)=>n(r,o,i,s))))):t=>t.lift(new $S(e))}class $S{constructor(n){this.project=n}call(n,t){return t.subscribe(new zS(n,this.project))}}class zS extends Ci{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const r=this.index++;try{t=this.project(n,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const r=new bi(this),i=this.destination;i.add(r),this.innerSubscription=wi(n,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}class WS{constructor(n,t){this.compare=n,this.keySelector=t}call(n,t){return t.subscribe(new qS(n,this.compare,this.keySelector))}}class qS extends Z{constructor(n,t,r){super(n),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(n,t){return n===t}_next(n){let t;try{const{keySelector:i}=this;t=i?i(n):n}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{const{compare:i}=this;r=i(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(n))}}function Oe(e){for(let n in e)if(e[n]===Oe)return n;throw Error("Could not find renamed property on target object.")}function ra(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ct(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ct).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const ZS=Oe({__forward_ref__:Oe});function Le(e){return e.__forward_ref__=Le,e.toString=function(){return ct(this())},e}function se(e){return Pc(e)?e():e}function Pc(e){return"function"==typeof e&&e.hasOwnProperty(ZS)&&e.__forward_ref__===Le}function Nc(e){return e&&!!e.\u0275providers}const tp="https://g.co/ng/security#xss";class O extends Error{constructor(n,t){super(function ia(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function oa(e,n){throw new O(-201,!1)}function vn(e,n){null==e&&function Ee(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nt(e){return{providers:e.providers||[],imports:e.imports||[]}}function sa(e){return np(e,aa)||np(e,ip)}function np(e,n){return e.hasOwnProperty(n)?e[n]:null}function rp(e){return e&&(e.hasOwnProperty(kc)||e.hasOwnProperty(nE))?e[kc]:null}const aa=Oe({\u0275prov:Oe}),kc=Oe({\u0275inj:Oe}),ip=Oe({ngInjectableDef:Oe}),nE=Oe({ngInjectorDef:Oe});var Q=(()=>((Q=Q||{})[Q.Default=0]="Default",Q[Q.Host=1]="Host",Q[Q.Self=2]="Self",Q[Q.SkipSelf=4]="SkipSelf",Q[Q.Optional=8]="Optional",Q))();let Fc;function Gt(e){const n=Fc;return Fc=e,n}function sp(e,n,t){const r=sa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&Q.Optional?null:void 0!==n?n:void oa(ct(e))}const ke=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Io={},Lc="__NG_DI_FLAG__",la="ngTempTokenPath",iE=/\n/gm,ap="__source";let Si;function Dr(e){const n=Si;return Si=e,n}function aE(e,n=Q.Default){if(void 0===Si)throw new O(-203,!1);return null===Si?sp(e,void 0,n):Si.get(e,n&Q.Optional?null:void 0,n)}function P(e,n=Q.Default){return(function op(){return Fc}()||aE)(se(e),n)}function W(e,n=Q.Default){return P(e,ca(n))}function ca(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Vc(e){const n=[];for(let t=0;t((Ln=Ln||{})[Ln.OnPush=0]="OnPush",Ln[Ln.Default=1]="Default",Ln))(),on=(()=>(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(on||(on={})),on))();const Vn={},De=[],ua=Oe({\u0275cmp:Oe}),Bc=Oe({\u0275dir:Oe}),Hc=Oe({\u0275pipe:Oe}),cp=Oe({\u0275mod:Oe}),or=Oe({\u0275fac:Oe}),Oo=Oe({__NG_ELEMENT_ID__:Oe}),up=Oe({__NG_ENV_ID__:Oe});function dp(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function jc(e,n,t){let r=0;for(;rn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const g=8&r?p:null;if(g&&-1!==dp(g,c,0)||2&r&&c!==p){if(En(r))return!1;s=!0}}}}else{if(!s&&!En(r)&&!En(l))return!1;if(s&&En(l))continue;s=!1,r=l|1&r}}return En(r)||s}function En(e){return 0==(1&e)}function pE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!En(s)&&(n+=vp(o,i),i=""),r=s,o=o||!En(r);t++}return""!==i&&(n+=vp(o,i)),n}function Ei(e){return ir(()=>{const n=bp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ln.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""};Cp(t);const r=e.dependencies;return t.directiveDefs=da(r,!1),t.pipeDefs=da(r,!0),t.id=function AE(e){let n=0;const t=[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 i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function DE(e){return Me(e)||It(e)}function SE(e){return null!==e}function ut(e){return ir(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yp(e,n){if(null==e)return Vn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function X(e){return ir(()=>{const n=bp(e);return Cp(n),n})}function Wt(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 Me(e){return e[ua]||null}function It(e){return e[Bc]||null}function qt(e){return e[Hc]||null}function sn(e,n){const t=e[cp]||null;if(!t&&!0===n)throw new Error(`Type ${ct(e)} does not have '\u0275mod' property.`);return t}function bp(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||Vn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:yp(e.inputs,n),outputs:yp(e.outputs)}}function Cp(e){e.features?.forEach(n=>n(e))}function da(e,n){if(!e)return null;const t=n?qt:DE;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(SE)}const dt=0,H=1,ce=2,Ge=3,Mn=4,Ro=5,Tt=6,Ai=7,Ke=8,Ii=9,Br=10,ue=11,Po=12,wp=13,Ti=14,Xe=15,No=16,Oi=17,Bn=18,ko=19,Dp=20,Sr=21,sr=22,ha=23,fa=24,_e=25,Uc=1,Sp=2,Hn=7,xi=9,Ot=11;function an(e){return Array.isArray(e)&&"object"==typeof e[Uc]}function Zt(e){return Array.isArray(e)&&!0===e[Uc]}function $c(e){return 0!=(4&e.flags)}function Hr(e){return e.componentOffset>-1}function ga(e){return 1==(1&e.flags)}function An(e){return!!e.template}function zc(e){return 0!=(512&e[ce])}function jr(e,n){return e.hasOwnProperty(or)?e[or]:null}let PE=ke.WeakRef??class RE{constructor(n){this.ref=n}deref(){return this.ref}},kE=0,jn=null,ma=!1;function vt(e){const n=jn;return jn=e,n}class Tp{constructor(){this.id=kE++,this.ref=function NE(e){return new PE(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,t]of this.producers){const r=t.producerNode.deref();if(null!=r&&t.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(t.seenValueVersion))return!0}else this.producers.delete(n),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=ma;ma=!0;try{for(const[t,r]of this.consumers){const i=r.consumerNode.deref();null!=i&&i.trackingVersion===r.atTrackingVersion?i.onConsumerDependencyMayHaveChanged():(this.consumers.delete(t),i?.producers.delete(this.id))}}finally{ma=n}}producerAccessed(){if(ma)throw new Error("");if(null===jn)return;let n=jn.producers.get(this.id);void 0===n?(n={consumerNode:jn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:jn.trackingVersion},jn.producers.set(this.id,n),this.consumers.set(jn.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=jn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==jn?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let Op=null;const Rp=()=>{};class BE extends Tp{constructor(n,t,r){super(),this.watch=n,this.schedule=t,this.dirty=!1,this.cleanupFn=Rp,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=vt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Rp,this.watch(this.registerOnCleanup)}finally{vt(n)}}cleanup(){this.cleanupFn()}}class HE{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ft(){return Pp}function Pp(e){return e.type.prototype.ngOnChanges&&(e.setInput=UE),jE}function jE(){const e=kp(this),n=e?.current;if(n){const t=e.previous;if(t===Vn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function UE(e,n,t,r){const i=this.declaredInputs[t],o=kp(e)||function $E(e,n){return e[Np]=n}(e,{previous:Vn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new HE(l&&l.currentValue,n,a===Vn),e[r]=n}Ft.ngInherit=!0;const Np="__ngSimpleChanges__";function kp(e){return e[Np]||null}const Un=function(e,n,t){};function Be(e){for(;Array.isArray(e);)e=e[dt];return e}function ya(e,n){return Be(n[e])}function Yt(e,n){return Be(n[e.index])}function Vp(e,n){return e.data[n]}function Ri(e,n){return e[n]}function ln(e,n){const t=n[e];return an(t)?t:t[dt]}function Er(e,n){return null==n?null:e[n]}function Bp(e){e[Oi]=0}function KE(e){1024&e[ce]||(e[ce]|=1024,jp(e,1))}function Hp(e){1024&e[ce]&&(e[ce]&=-1025,jp(e,-1))}function jp(e,n){let t=e[Ge];if(null===t)return;t[Ro]+=n;let r=t;for(t=t[Ge];null!==t&&(1===n&&1===r[Ro]||-1===n&&0===r[Ro]);)t[Ro]+=n,r=t,t=t[Ge]}const ie={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function zp(){return ie.bindingsEnabled}function Pi(){return null!==ie.skipHydrationRootTNode}function I(){return ie.lFrame.lView}function Ce(){return ie.lFrame.tView}function xe(e){return ie.lFrame.contextLView=e,e[Ke]}function Re(e){return ie.lFrame.contextLView=null,e}function Dt(){let e=Gp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gp(){return ie.lFrame.currentTNode}function $n(e,n){const t=ie.lFrame;t.currentTNode=e,t.isParent=n}function Kc(){return ie.lFrame.isParent}function Xc(){ie.lFrame.isParent=!1}function Lt(){const e=ie.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ni(){return ie.lFrame.bindingIndex++}function lr(e){const n=ie.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function lM(e,n){const t=ie.lFrame;t.bindingIndex=t.bindingRootIndex=e,Qc(n)}function Qc(e){ie.lFrame.currentDirectiveIndex=e}function Yp(){return ie.lFrame.currentQueryIndex}function eu(e){ie.lFrame.currentQueryIndex=e}function uM(e){const n=e[H];return 2===n.type?n.declTNode:1===n.type?e[Tt]:null}function Kp(e,n,t){if(t&Q.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&Q.Host||(i=uM(o),null===i||(o=o[Ti],10&i.type))););if(null===i)return!1;n=i,e=o}const r=ie.lFrame=Xp();return r.currentTNode=n,r.lView=e,!0}function tu(e){const n=Xp(),t=e[H];ie.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Xp(){const e=ie.lFrame,n=null===e?null:e.child;return null===n?Qp(e):n}function Qp(e){const n={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=n),n}function Jp(){const e=ie.lFrame;return ie.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const eg=Jp;function nu(){const e=Jp();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 Vt(){return ie.lFrame.selectedIndex}function Ur(e){ie.lFrame.selectedIndex=e}function We(){const e=ie.lFrame;return Vp(e.tView,e.selectedIndex)}let ng=!0;function ba(){return ng}function Mr(e){ng=e}function Ca(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Oi]+=65536),(a>13>16&&(3&e[ce])===n&&(e[ce]+=8192,ig(a,o)):ig(a,o)}const ki=-1;class Vo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function og(e){return e!==ki}function Sa(e){return 32767&e}function Ea(e,n){let t=function wM(e){return e>>16}(e),r=n;for(;t>0;)r=r[Ti],t--;return r}let ou=!0;function Ma(e){const n=ou;return ou=e,n}const sg=255,ag=5;let DM=0;const zn={};function Aa(e,n){const t=lg(e,n);if(-1!==t)return t;const r=n[H];r.firstCreatePass&&(e.injectorIndex=n.length,su(r.data,e),su(n,null),su(r.blueprint,null));const i=au(e,n),o=e.injectorIndex;if(og(i)){const s=Sa(i),a=Ea(i,n),l=a[H].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function su(e,n){e.push(0,0,0,0,0,0,0,0,n)}function lg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function au(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=gg(i),null===r)return ki;if(t++,i=i[Ti],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return ki}function lu(e,n,t){!function SM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Oo)&&(r=t[Oo]),null==r&&(r=t[Oo]=DM++);const i=r&sg;n.data[e+(i>>ag)]|=1<=0?n&sg:IM:n}(t);if("function"==typeof o){if(!Kp(n,e,r))return r&Q.Host?cg(i,0,r):ug(n,t,r,i);try{const s=o(r);if(null!=s||r&Q.Optional)return s;oa()}finally{eg()}}else if("number"==typeof o){let s=null,a=lg(e,n),l=ki,c=r&Q.Host?n[Xe][Tt]:null;for((-1===a||r&Q.SkipSelf)&&(l=-1===a?au(e,n):n[a+8],l!==ki&&pg(r,!1)?(s=n[H],a=Sa(l),n=Ea(l,n)):a=-1);-1!==a;){const u=n[H];if(fg(o,a,u.data)){const d=MM(a,n,t,s,r,c);if(d!==zn)return d}l=n[a+8],l!==ki&&pg(r,n[H].data[a+8]===c)&&fg(o,a,n)?(s=u,a=Sa(l),n=Ea(l,n)):a=-1}}return i}function MM(e,n,t,r,i,o){const s=n[H],a=s.data[e+8],u=Ia(a,s,t,null==r?Hr(a)&&ou:r!=s&&0!=(3&a.type),i&Q.Host&&o===a);return null!==u?$r(n,s,u,a):zn}function Ia(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,p=i?a+u:e.directiveEnd;for(let g=r?a:a+u;g=l&&y.type===t)return g}if(i){const g=s[l];if(g&&An(g)&&g.type===t)return l}return null}function $r(e,n,t,r){let i=e[t];const o=n.data;if(function yM(e){return e instanceof Vo}(i)){const s=i;s.resolving&&function YS(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new O(-200,`Circular dependency in DI detected for ${e}${t}`)}(function Ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}(o[t]));const a=Ma(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Gt(s.injectImpl):null;Kp(e,r,Q.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function _M(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Pp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&Gt(l),Ma(a),s.resolving=!1,eg()}}return i}function fg(e,n,t){return!!(t[n+(e>>ag)]&1<{const n=e.prototype.constructor,t=n[or]||cu(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[or]||cu(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function cu(e){return Pc(e)?()=>{const n=cu(se(e));return n&&n()}:jr(e)}function gg(e){const n=e[H],t=n.type;return 2===t?n.declTNode:1===t?e[Tt]:null}function Bo(e){return function EM(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{const r=function uu(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Vi)?l[Vi]:Object.defineProperty(l,Vi,{value:[]})[Vi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Uo(e,n){e.forEach(t=>Array.isArray(t)?Uo(t,n):n(t))}function _g(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ta(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function $o(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function NM(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function du(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function vg(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<((Kt=Kt||{})[Kt.Important=1]="Important",Kt[Kt.DashCase=2]="DashCase",Kt))();const t0=/^>|^->||--!>|)/,r0="\u200b$1\u200b";const mu=new Map;let o0=0;const vu="__ngContext__";function xt(e,n){an(n)?(e[vu]=n[ko],function a0(e){mu.set(e[ko],e)}(n)):e[vu]=n}let yu;function bu(e,n){return yu(e,n)}function Wo(e){const n=e[Ge];return Zt(n)?n[Ge]:n}function Vg(e){return Hg(e[Po])}function Bg(e){return Hg(e[Mn])}function Hg(e){for(;null!==e&&!Zt(e);)e=e[Mn];return e}function zi(e,n,t,r,i){if(null!=r){let o,s=!1;Zt(r)?o=r:an(r)&&(s=!0,r=r[dt]);const a=Be(r);0===e&&null!==t?null==i?Gg(n,t,a):zr(n,t,a,i||null,!0):1===e&&null!==t?zr(n,t,a,i||null,!0):2===e?function $a(e,n,t){const r=ja(e,n);r&&function M0(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function T0(e,n,t,r,i){const o=t[Hn];o!==Be(t)&&zi(n,e,r,o,i);for(let a=Ot;an.replace(n0,r0))}(n))}function Ha(e,n,t){return e.createElement(n,t)}function Ug(e,n){const t=e[xi],r=t.indexOf(n);Hp(n),t.splice(r,1)}function wu(e,n){if(e.length<=Ot)return;const t=Ot+n,r=e[t];if(r){const i=r[No];null!==i&&i!==e&&Ug(i,r),n>0&&(e[t-1][Mn]=r[Mn]);const o=Ta(e,Ot+n);!function v0(e,n){Zo(e,n,n[ue],2,null,null),n[dt]=null,n[Tt]=null}(r[H],r);const s=o[Bn];null!==s&&s.detachView(o[H]),r[Ge]=null,r[Mn]=null,r[ce]&=-129}return r}function $g(e,n){if(!(256&n[ce])){const t=n[ue];n[ha]?.destroy(),n[fa]?.destroy(),t.destroyNode&&Zo(e,n,t,3,null,null),function C0(e){let n=e[Po];if(!n)return Du(e[H],e);for(;n;){let t=null;if(an(n))t=n[Po];else{const r=n[Ot];r&&(t=r)}if(!t){for(;n&&!n[Mn]&&n!==e;)an(n)&&Du(n[H],n),n=n[Ge];null===n&&(n=e),an(n)&&Du(n[H],n),t=n&&n[Mn]}n=t}}(n)}}function Du(e,n){if(!(256&n[ce])){n[ce]&=-129,n[ce]|=256,function E0(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Ai]=null);const i=n[Sr];if(null!==i){n[Sr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===on.None||o===on.Emulated)return null}return Yt(r,t)}}(e,n.parent,t)}function zr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Gg(e,n,t){e.appendChild(n,t)}function Wg(e,n,t,r,i){null!==r?zr(e,n,t,r,i):Gg(e,n,t)}function ja(e,n){return e.parentNode(n)}function qg(e,n,t){return Yg(e,n,t)}let Eu,za,Tu,Ga,Yg=function Zg(e,n,t){return 40&e.type?Yt(e,t):null};function Ua(e,n,t,r){const i=Su(e,r,n),o=n[ue],a=qg(r.parent||n[Tt],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}()?.createHTML(e)||e}function Yo(){if(void 0!==Tu)return Tu;if(typeof document<"u")return document;throw new O(210,!1)}function Ou(){if(void 0===Ga&&(Ga=null,ke.trustedTypes))try{Ga=ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ga}function nm(e){return Ou()?.createHTML(e)||e}function im(e){return Ou()?.createScriptURL(e)||e}class Gr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tp})`}}class F0 extends Gr{getTypeName(){return"HTML"}}class L0 extends Gr{getTypeName(){return"Style"}}class V0 extends Gr{getTypeName(){return"Script"}}class B0 extends Gr{getTypeName(){return"URL"}}class H0 extends Gr{getTypeName(){return"ResourceURL"}}function un(e){return e instanceof Gr?e.changingThisBreaksApplicationSecurity:e}function Gn(e,n){const t=function j0(e){return e instanceof Gr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${tp})`)}return t===n}class q0{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Gi(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class Z0{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Gi(n),t}}const K0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(K0)?e:"unsafe:"+e}function cr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ko(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const sm=cr("area,br,col,hr,img,wbr"),am=cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lm=cr("rp,rt"),xu=Ko(sm,Ko(am,cr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ko(lm,cr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ko(lm,am)),Ru=cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cm=Ko(Ru,cr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),cr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),X0=cr("script,style,template");class Q0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!xu.hasOwnProperty(t))return this.sanitizedSomething=!0,!X0.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();xu.hasOwnProperty(t)&&!sm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(um(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const J0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eA=/([^\#-~ |!])/g;function um(e){return e.replace(/&/g,"&").replace(J0,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(eA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let qa;function dm(e,n){let t=null;try{qa=qa||function om(e){const n=new Z0(e);return function Y0(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new q0(n):n}(e);let r=n?String(n):"";t=qa.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=qa.getInertBodyElement(r)}while(r!==o);return Gi((new Q0).sanitizeChildren(Pu(t)||t))}finally{if(t){const r=Pu(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Pu(e){return"content"in e&&function tA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Fe=(()=>((Fe=Fe||{})[Fe.NONE=0]="NONE",Fe[Fe.HTML=1]="HTML",Fe[Fe.STYLE=2]="STYLE",Fe[Fe.SCRIPT=3]="SCRIPT",Fe[Fe.URL=4]="URL",Fe[Fe.RESOURCE_URL=5]="RESOURCE_URL",Fe))();function In(e){const n=Xo();return n?nm(n.sanitize(Fe.HTML,e)||""):Gn(e,"HTML")?nm(un(e)):dm(Yo(),ae(e))}function hm(e){const n=Xo();return n?n.sanitize(Fe.URL,e)||"":Gn(e,"URL")?un(e):Wa(ae(e))}function fm(e){const n=Xo();if(n)return im(n.sanitize(Fe.RESOURCE_URL,e)||"");if(Gn(e,"ResourceURL"))return im(un(e));throw new O(904,!1)}function Xo(){const e=I();return e&&e[Br].sanitizer}class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Qo=new $("ENVIRONMENT_INITIALIZER"),gm=new $("INJECTOR",-1),mm=new $("INJECTOR_DEF_TYPES");class _m{get(n,t=Io){if(t===Io){const r=new Error(`NullInjectorError: No provider for ${ct(n)}!`);throw r.name="NullInjectorError",r}return t}}function aA(...e){return{\u0275providers:ym(0,e),\u0275fromNgModule:!0}}function ym(e,...n){const t=[],r=new Set;let i;return Uo(n,o=>{const s=o;Nu(s,t,[],r)&&(i||=[],i.push(s))}),void 0!==i&&bm(i,t),t}function bm(e,n){for(let t=0;t{n.push(o)})}}function Nu(e,n,t,r){if(!(e=se(e)))return!1;let i=null,o=rp(e);const s=!o&&Me(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=rp(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Nu(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{Uo(o.imports,u=>{Nu(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&bm(c,n)}if(!a){const c=jr(i)||(()=>new i);n.push({provide:i,useFactory:c,deps:De},{provide:mm,useValue:i,multi:!0},{provide:Qo,useValue:()=>P(i),multi:!0})}const l=o.providers;null==l||a||ku(l,u=>{n.push(u)})}}return i!==e&&void 0!==e.providers}function ku(e,n){for(let t of e)Nc(t)&&(t=t.\u0275providers),Array.isArray(t)?ku(t,n):n(t)}const lA=Oe({provide:String,useValue:Oe});function Fu(e){return null!==e&&"object"==typeof e&&lA in e}function Wr(e){return"function"==typeof e}const Lu=new $("Set Injector scope."),Za={},uA={};let Vu;function Ya(){return void 0===Vu&&(Vu=new _m),Vu}class ur{}class Bu extends ur{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ju(n,s=>this.processProvider(s)),this.records.set(gm,Wi(void 0,this)),i.has("environment")&&this.records.set(ur,Wi(void 0,this));const o=this.records.get(Lu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(mm.multi,De,Q.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Dr(this),r=Gt(void 0);try{return n()}finally{Dr(t),Gt(r)}}get(n,t=Io,r=Q.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(up))return n[up](this);r=ca(r);const i=Dr(this),o=Gt(void 0);try{if(!(r&Q.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function gA(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&sa(n);a=l&&this.injectableDefInScope(l)?Wi(Hu(n),Za):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&Q.Self?Ya():this.parent).get(n,t=r&Q.Optional&&t===Io?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[la]=s[la]||[]).unshift(ct(n)),i)throw s;return function cE(e,n,t,r){const i=e[la];throw n[ap]&&i.unshift(n[ap]),e.message=function uE(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ct(n);if(Array.isArray(n))i=n.map(ct).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ct(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(iE,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[la]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{Gt(o),Dr(i)}}resolveInjectorInitializers(){const n=Dr(this),t=Gt(void 0);try{const r=this.get(Qo.multi,De,Q.Self);for(const i of r)i()}finally{Dr(n),Gt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ct(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new O(205,!1)}processProvider(n){let t=Wr(n=se(n))?n:se(n&&n.provide);const r=function hA(e){return Fu(e)?Wi(void 0,e.useValue):Wi(Dm(e),Za)}(n);if(Wr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Wi(void 0,Za,!0),i.factory=()=>Vc(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Za&&(t.value=uA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function pA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=se(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Hu(e){const n=sa(e),t=null!==n?n.factory:jr(e);if(null!==t)return t;if(e instanceof $)throw new O(204,!1);if(e instanceof Function)return function dA(e){const n=e.length;if(n>0)throw $o(n,"?"),new O(204,!1);const t=function tE(e){return e&&(e[aa]||e[ip])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new O(204,!1)}function Dm(e,n,t){let r;if(Wr(e)){const i=se(e);return jr(i)||Hu(i)}if(Fu(e))r=()=>se(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Vc(e.deps||[]));else if(function Cm(e){return!(!e||!e.useExisting)}(e))r=()=>P(se(e.useExisting));else{const i=se(e&&(e.useClass||e.provide));if(!function fA(e){return!!e.deps}(e))return jr(i)||Hu(i);r=()=>new i(...Vc(e.deps))}return r}function Wi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ju(e,n){for(const t of e)Array.isArray(t)?ju(t,n):t&&Nc(t)?ju(t.\u0275providers,n):n(t)}const Ka=new $("AppId",{providedIn:"root",factory:()=>mA}),mA="ng",Sm=new $("Platform Initializer"),dr=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_A=new $("AnimationModuleType"),Em=new $("CSP nonce",{providedIn:"root",factory:()=>Yo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Am=(e,n)=>null;function Im(e,n){return Am(e,n)}class MA{}class xm{}class IA{resolveComponentFactory(n){throw function AA(e){const n=Error(`No component factory found for ${ct(e)}.`);return n.ngComponent=e,n}(n)}}let ns=(()=>{class e{}return e.NULL=new IA,e})();function TA(){return qi(Dt(),I())}function qi(e,n){return new ft(Yt(e,n))}let ft=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=TA,e})();function OA(e){return e instanceof ft?e.nativeElement:e}class Pm{}let hr=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function xA(){const e=I(),t=ln(Dt().index,e);return(an(t)?t:e)[ue]}(),e})(),RA=(()=>{class e{}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>null}),e})();class rs{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const PA=new rs("16.1.6"),Qu={};function is(e){for(;e;){e[ce]|=64;const n=Wo(e);if(zc(e)&&!n)return e;e=n}return null}function Ju(e){return e.ngOriginalError}class qr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Ju(n);for(;t&&Ju(t);)t=Ju(t);return t||null}}const Fm=new $("",{providedIn:"root",factory:()=>!1});function Lm(e){return e.ownerDocument}function fr(e){return e instanceof Function?e():e}class Um extends Tp{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){is(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,t,r){const i=vt(this);this.trackingVersion++;try{n(t,r)}finally{vt(i)}}destroy(){this.trackingVersion++}}let nl=null;function $m(){return nl??=new Um,nl}function zm(e,n){return e[n]??$m()}function Gm(e,n){const t=$m();t.hasReadASignal&&(e[n]=nl,t.lView=e,nl=new Um)}const de={};function w(e){Wm(Ce(),I(),Vt()+e,!1)}function Wm(e,n,t,r){if(!r)if(3==(3&n[ce])){const o=e.preOrderCheckHooks;null!==o&&wa(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Da(n,o,0,t)}Ur(t)}function Km(e,n=null,t=null,r){const i=Xm(e,n,t,r);return i.resolveInjectorInitializers(),i}function Xm(e,n=null,t=null,r,i=new Set){const o=[t||De,aA(e)];return r=r||("object"==typeof e?void 0:ct(e)),new Bu(o,n||Ya(),r||null,i)}let dn=(()=>{class e{static create(t,r){if(Array.isArray(t))return Km({name:""},r,t,"");{const i=t.name??"";return Km({name:i},t.parent,t.providers,i)}}}return e.THROW_IF_NOT_FOUND=Io,e.NULL=new _m,e.\u0275prov=U({token:e,providedIn:"any",factory:()=>P(gm)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,n=Q.Default){const t=I();return null===t?P(e,n):dg(Dt(),t,se(e),n)}function rl(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[dt]=i,d[ce]=140|r,(null!==c||e&&2048&e[ce])&&(d[ce]|=2048),Bp(d),d[Ge]=d[Ti]=e,d[Ke]=t,d[Br]=s||e&&e[Br],d[ue]=a||e&&e[ue],d[Ii]=l||e&&e[Ii]||null,d[Tt]=o,d[ko]=function s0(){return o0++}(),d[sr]=u,d[Dp]=c,d[Xe]=2==n.type?e[Xe]:d,d}function Yi(e,n,t,r,i){let o=e.data[n];if(null===o)o=function ed(e,n,t,r,i){const o=Gp(),s=Kc(),l=e.data[n]=function JA(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return Pi()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function aM(){return ie.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Lo(){const e=ie.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return $n(o,!0),o}function os(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o_e&&Wm(e,n,_e,!1),Un(a?2:0,i),a)o.runInContext(t,r,i);else{const c=vt(null);try{t(r,i)}finally{vt(c)}}}finally{a&&null===n[ha]&&Gm(n,ha),Ur(s),Un(a?3:1,i)}}function td(e,n,t){if($c(n)){const r=vt(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function n_(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?r_(t,n,i,o):r.hasOwnProperty(i)&&r_(t,n,r[i],o)}return t}function r_(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function hn(e,n,t,r,i,o,s,a){const l=Yt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(cd(e,t,u,r,i),Hr(n)&&function nI(e,n){const t=ln(n,e);16&t[ce]||(t[ce]|=64)}(t,n.index)):3&n.type&&(r=function tI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function od(e,n,t,r){if(zp()){const i=null===r?null:{"":-1},o=function lI(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,os(e,t,i.hostVars,de),i)}function Wn(e,n,t,r,i,o){const s=Yt(e,n);!function ad(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?ae(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[ue],s,o,e.value,t,r,i)}function pI(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,i){const o=typeof Zone>"u"?null:Zone.current,s=new BE(t,c=>{this.all.has(c)&&this.queue.set(c,o)},i);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e}),e})();function ol(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0){g_(e,1);const i=e[H].components;null!==i&&__(e,i,1)}}function __(e,n,t){for(let r=0;r-1&&(wu(n,r),Ta(t,r))}this._attachedToViewContainer=!1}$g(this._lView[H],this._lView)}onDestroy(n){!function Up(e,n){if(256==(256&e[ce]))throw new O(911,!1);null===e[Sr]&&(e[Sr]=[]),e[Sr].push(n)}(this._lView,n)}markForCheck(){is(this._cdRefInjectingView||this._lView)}detach(){this._lView[ce]&=-129}reattach(){this._lView[ce]|=128}detectChanges(){sl(this._lView[H],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new O(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function b0(e,n){Zo(e,n,n[ue],2,null,null)}(this._lView[H],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new O(902,!1);this._appRef=n}}class EI extends as{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;sl(n[H],n,n[Ke],!1)}checkNoChanges(){}get context(){return null}}class v_ extends ns{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Me(n);return new ls(t,this.ngModule)}}function y_(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class AI{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=ca(r);const i=this.injector.get(n,Qu,r);return i!==Qu||t===Qu?i:this.parentInjector.get(n,t,r)}}class ls extends xm{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=y_(n.inputs);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return y_(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function bE(e){return e.map(yE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof ur?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new AI(n,o):n,a=s.get(Pm,null);if(null===a)throw new O(407,!1);const u={rendererFactory:a,sanitizer:s.get(RA,null),effectManager:s.get(f_,null)},d=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=r?function ZA(e,n,t,r){const o=r.get(Fm,!1)||t===on.ShadowDom,s=e.selectRootElement(n,o);return function YA(e){t_(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Ha(d,p,function MI(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p)),T=this.componentDef.signals?4608:this.componentDef.onPush?576:528,V=id(0,null,null,1,0,null,null,null,null,null,null),D=rl(null,V,null,T,null,null,u,d,s,null,null);let K,le;tu(D);try{const pe=this.componentDef;let Nt,Oc=null;pe.findHostDirectiveDefs?(Nt=[],Oc=new Map,pe.findHostDirectiveDefs(pe,Nt,Oc),Nt.push(pe)):Nt=[pe];const GH=function TI(e,n){const t=e[H],r=_e;return e[r]=n,Yi(t,r,2,"#host",null)}(D,g),WH=function OI(e,n,t,r,i,o,s){const a=i[H];!function xI(e,n,t,r){for(const i of e)n.mergedAttrs=xo(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(ol(n,n.mergedAttrs,!0),null!==t&&tm(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=Im(n,i[Ii]));const c=o.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=rl(i,e_(t),null,u,i[e.index],e,o,c,null,null,l);return a.firstCreatePass&&sd(a,e,r.length-1),il(i,d),i[e.index]=d}(GH,g,pe,Nt,D,u,d);le=Vp(V,_e),g&&function PI(e,n,t,r){if(r)jc(e,t,["ng-version",PA.full]);else{const{attrs:i,classes:o}=function CE(e){const n=[],t=[];let r=1,i=2;for(;r0&&em(e,t,o.join(" "))}}(d,pe,g,r),void 0!==t&&function NI(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=xo(i.hostAttrs,t=xo(t,i.hostAttrs))}}(r)}function al(e){return e===Vn?{}:e===De?[]:e}function LI(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function VI(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function BI(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function dd(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function ll(e){return!!function hd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function qn(e,n,t){return e[n]=t}function Rt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Zr(e,n,t,r){const i=Rt(e,n,t);return Rt(e,n+1,r)||i}function Bt(e,n,t,r){const i=I();return Rt(i,Ni(),n)&&(Ce(),Wn(We(),i,e,n,t,r)),Bt}function J(e,n,t,r,i,o,s,a){const l=I(),c=Ce(),u=e+_e,d=c.firstCreatePass?function uT(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Yi(n,e,4,s||null,Er(c,a));od(n,t,u,Er(c,l)),Ca(n,u);const d=u.tView=id(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];$n(d,!1);const p=F_(c,l,d,e);ba()&&Ua(c,l,p,d),xt(p,l),il(l,l[u]=a_(p,l,p,d)),ga(d)&&nd(c,l,d),null!=s&&rd(l,d,a)}let F_=function L_(e,n,t,r){return Mr(!0),n[ue].createComment("")};function Ue(e){return Ri(function sM(){return ie.lFrame.contextLView}(),_e+e)}function x(e,n,t){const r=I();return Rt(r,Ni(),n)&&hn(Ce(),We(),r,e,n,r[ue],t,!1),x}function vd(e,n,t,r,i){const s=i?"class":"style";cd(e,t,n.inputs[s],s,r)}function v(e,n,t,r){const i=I(),o=Ce(),s=_e+e,a=i[ue],l=o.firstCreatePass?function pT(e,n,t,r,i,o){const s=n.consts,l=Yi(n,e,2,r,Er(s,i));return od(n,t,l,Er(s,o)),null!==l.attrs&&ol(l,l.attrs,!1),null!==l.mergedAttrs&&ol(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=V_(o,i,l,a,n,e);i[s]=c;const u=ga(l);return $n(l,!0),tm(a,c,l),32!=(32&l.flags)&&ba()&&Ua(o,i,c,l),0===function QE(){return ie.lFrame.elementDepthCount}()&&xt(c,i),function JE(){ie.lFrame.elementDepthCount++}(),u&&(nd(o,i,l),td(o,l,i)),null!==r&&rd(i,l),v}function _(){let e=Dt();Kc()?Xc():(e=e.parent,$n(e,!1));const n=e;(function tM(e){return ie.skipHydrationRootTNode===e})(n)&&function oM(){ie.skipHydrationRootTNode=null}(),function eM(){ie.lFrame.elementDepthCount--}();const t=Ce();return t.firstCreatePass&&(Ca(t,e),$c(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function bM(e){return 0!=(8&e.flags)}(n)&&vd(t,n,I(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function CM(e){return 0!=(16&e.flags)}(n)&&vd(t,n,I(),n.stylesWithoutHost,!1),_}function te(e,n,t,r){return v(e,n,t,r),_(),te}let V_=(e,n,t,r,i,o)=>(Mr(!0),Ha(r,i,function tg(){return ie.lFrame.currentNamespace}()));function Yr(e,n,t){const r=I(),i=Ce(),o=e+_e,s=i.firstCreatePass?function _T(e,n,t,r,i){const o=n.consts,s=Er(o,r),a=Yi(n,e,8,"ng-container",s);return null!==s&&ol(a,s,!0),od(n,t,a,Er(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];$n(s,!0);const a=B_(i,r,s,e);return r[o]=a,ba()&&Ua(i,r,a,s),xt(a,r),ga(s)&&(nd(i,r,s),td(i,s,r)),null!=t&&rd(r,s),Yr}function Kr(){let e=Dt();const n=Ce();return Kc()?Xc():(e=e.parent,$n(e,!1)),n.firstCreatePass&&(Ca(n,e),$c(e)&&n.queries.elementEnd(e)),Kr}function gr(e,n,t){return Yr(e,n,t),Kr(),gr}let B_=(e,n,t,r)=>(Mr(!0),Cu(n[ue],""));function Zn(){return I()}function fs(e){return!!e&&"function"==typeof e.then}function H_(e){return!!e&&"function"==typeof e.subscribe}function j(e,n,t,r){const i=I(),o=Ce(),s=Dt();return function U_(e,n,t,r,i,o,s){const a=ga(r),c=e.firstCreatePass&&u_(e),u=n[Ke],d=c_(n);let p=!0;if(3&r.type||s){const S=Yt(r,n),T=s?s(S):S,V=d.length,D=s?le=>s(Be(le[r.index])):r.index;let K=null;if(!s&&a&&(K=function bT(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==K)(K.__ngLastListenerFn__||K).__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,p=!1;else{o=z_(r,n,u,o,!1);const le=t.listen(T,i,o);d.push(o,le),c&&c.push(i,D,V,V+1)}}else o=z_(r,n,u,o,!1);const g=r.outputs;let y;if(p&&null!==g&&(y=g[i])){const S=y.length;if(S)for(let T=0;T-1?ln(e.index,n):n);let l=$_(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=$_(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function q(e=1){return function dM(e){return(ie.lFrame.contextLView=function hM(e,n){for(;e>0;)n=n[Ti],e--;return n}(e,ie.lFrame.contextLView))[Ke]}(e)}function CT(e,n){let t=null;const r=function gE(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i>17&32767}function Cd(e){return 2|e}function Xr(e){return(131068&e)>>2}function wd(e,n){return-131069&e|n<<2}function Dd(e){return 1|e}function tv(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Ar(o):Xr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];AT(e[a],n)&&(l=!0,e[a+1]=r?Dd(u):Cd(u)),a=r?Ar(u):Xr(u)}l&&(e[t+1]=r?Cd(o):Dd(o))}function AT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&ji(e,n)>=0}const pt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nv(e){return e.substring(pt.key,pt.keyEnd)}function rv(e,n){const t=pt.textEnd;return t===n?-1:(n=pt.keyEnd=function xT(e,n,t){for(;n32;)n++;return n}(e,pt.key=n,t),oo(e,n,t))}function oo(e,n,t){for(;n=0;t=rv(n,t))cn(e,nv(n),!0)}function Tn(e,n,t,r){const i=I(),o=Ce(),s=lr(2);o.firstUpdatePass&&cv(o,e,s,r),n!==de&&Rt(i,s,n)&&dv(o,o.data[Vt()],i,i[ue],e,i[s+1]=function UT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ct(un(e)))),e}(n,t),r,s)}function lv(e,n){return n>=e.expandoStartIndex}function cv(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Vt()],s=lv(e,t);fv(o,r)&&null===n&&!s&&(n=!1),n=function kT(e,n,t,r){const i=function Jc(e){const n=ie.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=ps(t=Ed(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Ed(i,e,n,t,r),null===o){let l=function FT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Xr(r))return e[Ar(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Ed(null,e,n,l[1],r),l=ps(l,n.attrs,r),function LT(e,n,t,r){e[Ar(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function VT(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const p=Ar(e[a+1]);e[r+1]=fl(p,a),0!==p&&(e[p+1]=wd(e[p+1],r)),e[a+1]=function DT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=fl(a,0),0!==a&&(e[a+1]=wd(e[a+1],r)),a=r;else e[r+1]=fl(l,0),0===a?a=r:e[l+1]=wd(e[l+1],r),l=r;c&&(e[r+1]=Cd(e[r+1])),tv(e,u,r,!0),tv(e,u,r,!1),function MT(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[r+1]=Dd(t[r+1]))}(n,u,e,r,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Ed(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let p=t[i+1];p===de&&(p=d?De:void 0);let g=d?du(p,r):u===r?p:void 0;if(c&&!gl(g)&&(g=du(l,r)),gl(g)&&(a=g,s))return a;const y=e[i+1];i=s?Ar(y):Xr(y)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=du(l,r))}return a}function gl(e){return void 0!==e}function fv(e,n){return 0!=(e.flags&(n?8:16))}function b(e,n=""){const t=I(),r=Ce(),i=e+_e,o=r.firstCreatePass?Yi(r,i,1,n,null):r.data[i],s=pv(r,t,o,n,e);t[i]=s,ba()&&Ua(r,t,s,o),$n(o,!1)}let pv=(e,n,t,r,i)=>(Mr(!0),function Ba(e,n){return e.createText(n)}(n[ue],r));function fn(e){return he("",e,""),fn}function he(e,n,t){const r=I(),i=function Xi(e,n,t,r){return Rt(e,Ni(),t)?n+ae(t)+r:de}(r,e,n,t);return i!==de&&function pr(e,n,t){const r=ya(n,e);!function jg(e,n,t){e.setValue(n,t)}(e[ue],r,t)}(r,Vt(),i),he}function Md(e,n,t){const r=I();return Rt(r,Ni(),n)&&hn(Ce(),We(),r,e,n,r[ue],t,!0),Md}const ao="en-US";let kv=ao;function Td(e,n,t,r,i){if(e=se(e),Array.isArray(e))for(let o=0;o>20;if(Wr(e)||!e.multi){const g=new Vo(l,i,M),y=xd(a,n,i?u:u+p,d);-1===y?(lu(Aa(c,s),o,a),Od(o,e,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(g),s.push(g)):(t[y]=g,s[y]=g)}else{const g=xd(a,n,u+p,d),y=xd(a,n,u,u+p),T=y>=0&&t[y];if(i&&!T||!i&&!(g>=0&&t[g])){lu(Aa(c,s),o,a);const V=function l1(e,n,t,r,i){const o=new Vo(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,sy(o,i,r&&!t),o}(i?a1:s1,t.length,i,r,l);!i&&T&&(t[y].providerFactory=V),Od(o,e,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(V),s.push(V)}else Od(o,e,g>-1?g:y,sy(t[i?y:g],l,!i&&r));!i&&r&&T&&t[y].componentProviders++}}}function Od(e,n,t,r){const i=Wr(n),o=function cA(e){return!!e.useClass}(n);if(i||o){const l=(o?se(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function sy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function xd(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function o1(e,n,t){const r=Ce();if(r.firstCreatePass){const i=An(e);Td(t,r.data,r.blueprint,i,!0),Td(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class lo{}class ay{}class Pd extends lo{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new v_(this);const i=sn(n);this._bootstrapComponents=fr(i.bootstrap),this._r3Injector=Xm(n,t,[{provide:lo,useValue:this},{provide:ns,useValue:this.componentFactoryResolver},...r],ct(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Nd extends ay{constructor(n){super(),this.moduleType=n}create(n){return new Pd(this.moduleType,n,[])}}class ly extends lo{constructor(n){super(),this.componentFactoryResolver=new v_(this),this.instance=null;const t=new Bu([...n.providers,{provide:lo,useValue:this},{provide:ns,useValue:this.componentFactoryResolver}],n.parent||Ya(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kd(e,n,t=null){return new ly({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let d1=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=ym(0,t.type),i=r.length>0?kd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(P(ur))}),e})();function cy(e){e.getStandaloneInjector=n=>n.get(d1).getOrCreateStandaloneInjector(e)}function my(e,n,t,r,i){return function yy(e,n,t,r,i,o,s){const a=n+t;return Zr(e,a,i,o)?qn(e,a+2,s?r.call(s,i,o):r(i,o)):bs(e,a+2)}(I(),Lt(),e,n,t,r,i)}function _y(e,n,t,r,i,o){return function by(e,n,t,r,i,o,s,a){const l=n+t;return function cl(e,n,t,r,i){const o=Zr(e,n,t,r);return Rt(e,n+2,i)||o}(e,l,i,o,s)?qn(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):bs(e,l+3)}(I(),Lt(),e,n,t,r,i,o)}function bs(e,n){const t=e[n];return t===de?void 0:t}function bl(e,n){const t=Ce();let r;const i=e+_e;t.firstCreatePass?(r=function I1(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=jr(r.type)),s=Gt(M);try{const a=Ma(!1),l=o();return Ma(a),function fT(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,I(),i,l),l}finally{Gt(s)}}function Cl(e,n,t){const r=e+_e,i=I(),o=Ri(i,r);return function Cs(e,n){return e[H].data[n].pure}(i,r)?function vy(e,n,t,r,i,o){const s=n+t;return Rt(e,s,i)?qn(e,s+1,o?r.call(o,i):r(i)):bs(e,s+1)}(i,Lt(),n,o.transform,t,o):o.transform(t)}function Ld(e){return n=>{setTimeout(e,void 0,n)}}const ge=class P1 extends je{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Ld(o),i&&(i=Ld(i)),s&&(s=Ld(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof A&&n.add(a),a}};function N1(){return this._results[Symbol.iterator]()}class Vd{get changes(){return this._changes||(this._changes=new ge)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Vd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=N1)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=function yn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function RM(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=L1,e})();const k1=pn,F1=class extends k1{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t,null)}createEmbeddedViewImpl(n,t,r){const s=this._declarationTContainer.tView,a=rl(this._declarationLView,s,n,4096&this._declarationLView[ce]?4096:16,null,s.declTNode,null,null,null,t||null,r||null);a[No]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[Bn];return null!==c&&(a[Bn]=c.createEmbeddedView(s)),ud(s,a,n),new as(a)}};function L1(){return wl(Dt(),I())}function wl(e,n){return 4&e.type?new F1(n,e,qi(e,n)):null}let Cn=(()=>{class e{}return e.__NG_ELEMENT_ID__=z1,e})();function z1(){return Iy(Dt(),I())}const G1=Cn,My=class extends G1{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return qi(this._hostTNode,this._hostLView)}get injector(){return new Fi(this._hostTNode,this._hostLView)}get parentInjector(){const n=au(this._hostTNode,this._hostLView);if(og(n)){const t=Ea(n,this._hostLView),r=Sa(n);return new Fi(t[H].data[r+8],t)}return new Fi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ay(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ot}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,false),a}createComponent(n,t,r,i,o){const s=n&&!function jo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const S=t||{};a=S.index,r=S.injector,i=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}const l=s?n:new ls(Me(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const T=(s?c:this.parentInjector).get(ur,null);T&&(o=T)}Me(l.componentType??{});const g=l.create(c,i,null,o);return this.insertImpl(g.hostView,a,false),g}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const i=n._lView,o=i[H];if(function YE(e){return Zt(e[Ge])}(i)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=i[Ge],u=new My(c,c[Tt],c[Ge]);u.detach(u.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;if(function w0(e,n,t,r){const i=Ot+r,o=t.length;r>0&&(t[i-1][Mn]=n),r0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ot;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=W(Xd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(fs(o))t.push(o);else if(H_(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jy=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const mr=new $("LocaleId",{providedIn:"root",factory:()=>W(mr,Q.Optional|Q.SkipSelf)||function Cx(){return typeof $localize<"u"&&$localize.locale||ao}()});let eb=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ze(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Dx{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let tb=(()=>{class e{compileModuleSync(t){return new Nd(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=fr(sn(t).declarations).reduce((s,a)=>{const l=Me(a);return l&&s.push(new ls(l)),s},[]);return new Dx(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ib(...e){}class Ie{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1),typeof Zone>"u")throw new O(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Mx(){const e="function"==typeof ke.requestAnimationFrame;let n=ke[e?"requestAnimationFrame":"setTimeout"],t=ke[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Tx(e){const n=()=>{!function Ix(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ke,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,eh(e),e.isCheckStableRunning=!0,Jd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),eh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return ob(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),sb(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return ob(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),sb(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,eh(e),Jd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new O(909,!1)}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new O(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,Ax,ib,ib);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const Ax={};function Jd(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 eh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ob(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sb(e){e._nesting--,Jd(e)}class Ox{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const ab=new $("",{providedIn:"root",factory:lb});function lb(){const e=W(Ie);let n=!0;return Jf(new be(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new be(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(ep()))}const cb=new $(""),Sl=new $("");let rh,th=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,rh||(function xx(e){rh=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{Ie.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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(P(Ie),P(nh),P(Sl))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})(),nh=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return rh?.findTestabilityInTree(this,t,r)??null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Or=null;const ub=new $("AllowMultipleToken"),ih=new $("PlatformDestroyListeners"),oh=new $("appBootstrapListener");class hb{constructor(n,t){this.name=n,this.token=t}}function pb(e,n,t=[]){const r=`Platform: ${n}`,i=new $(r);return(o=[])=>{let s=sh();if(!s||s.injector.get(ub,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function Nx(e){if(Or&&!Or.get(ub,!1))throw new O(400,!1);(function db(){!function LE(e){Op=e}(()=>{throw new O(600,!1)})})(),Or=e;const n=e.get(mb);(function fb(e){e.get(Sm,null)?.forEach(t=>t())})(e)}(function gb(e=[],n){return dn.create({name:n,providers:[{provide:Lu,useValue:"platform"},{provide:ih,useValue:new Set([()=>Or=null])},...e]})}(a,r))}return function Fx(e){const n=sh();if(!n)throw new O(401,!1);return n}()}}function sh(){return Or?.get(mb)??null}let mb=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function Lx(e="zone.js",n){return"noop"===e?new Ox:"zone.js"===e?new Ie(n):e}(r?.ngZone,function _b(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function u1(e,n,t){return new Pd(e,n,t)}(t.moduleType,this.injector,function wb(e){return[{provide:Ie,useFactory:e},{provide:Qo,multi:!0,useFactory:()=>{const n=W(Bx,{optional:!0});return()=>n.initialize()}},{provide:Cb,useFactory:Vx},{provide:ab,useFactory:lb}]}(()=>i)),s=o.injector.get(qr,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{El(this._modules,o),a.unsubscribe()})}),function vb(e,n,t){try{const r=t();return fs(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Qd);return a.runInitializers(),a.donePromise.then(()=>(function Fv(e){vn(e,"Expected localeId to be defined"),"string"==typeof e&&(kv=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(mr,ao)||ao),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=yb({},r);return function Rx(e,n,t){const r=new Nd(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(ei);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new O(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new O(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(ih,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(P(dn))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function yb(e,n){return Array.isArray(n)?n.reduce(yb,e):{...e,...n}}let ei=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Cb),this.zoneIsStable=W(ab),this.componentTypes=[],this.components=[],this.isStable=W(eb).hasPendingTasks.pipe(nn(t=>t?ne(!1):this.zoneIsStable),function GS(e,n){return t=>t.lift(new WS(e,n))}(),ep()),this._injector=W(ur)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof xm;if(!this._injector.get(Qd).done)throw!i&&function Mi(e){const n=Me(e)||It(e)||qt(e);return null!==n&&n.standalone}(t),new O(405,!1);let s;s=i?t:this._injector.get(ns).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Px(e){return e.isBoundToModule}(s)?void 0:this._injector.get(lo),c=s.create(dn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(cb,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),El(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new O(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;El(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(oh,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>El(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new O(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function El(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const Cb=new $("",{providedIn:"root",factory:()=>W(qr).handleError.bind(void 0)});function Vx(){const e=W(Ie),n=W(qr);return t=>e.runOutsideAngular(()=>n.handleError(t))}let Bx=(()=>{class e{constructor(){this.zone=W(Ie),this.applicationRef=W(ei)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Ds=(()=>{class e{}return e.__NG_ELEMENT_ID__=jx,e})();function jx(e){return function Ux(e,n,t){if(Hr(e)&&!t){const r=ln(e.index,n);return new as(r,r)}return 47&e.type?new as(n[Xe],n):null}(Dt(),I(),16==(16&e))}class Mb{constructor(){}supports(n){return ll(n)}create(n){return new Zx(n)}}const qx=(e,n)=>n;class Zx{constructor(n){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=n||qx}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new Yx(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Ab),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ab),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Yx{constructor(n,t){this.item=n,this.trackById=t,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 Kx{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Ab{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new Kx,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ib(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{class e{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Ob()),deps:[[e,new Ra,new xa]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new O(901,!1)}}return e.\u0275prov=U({token:e,providedIn:"root",factory:Ob}),e})();const tR=pb(null,"core",[]);let nR=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(P(ei))},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();function St(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ni(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let fh=null;function xr(){return fh}class pR{}const He=new $("DocumentToken");let ph=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(mR)},providedIn:"platform"}),e})();const gR=new $("Location Initialized");let mR=(()=>{class e extends ph{constructor(){super(),this._doc=W(He),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xr().getBaseHref(this._doc)}onPopState(t){const r=xr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=xr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function gh(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function Vb(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function _r(e){return e&&"?"!==e[0]?"?"+e:e}let ri=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(Hb)},providedIn:"root"}),e})();const Bb=new $("appBaseHref");let Hb=(()=>{class e extends ri{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??W(He).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return gh(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+_r(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+_r(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+_r(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(P(ph),P(Bb,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),_R=(()=>{class e extends ri{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=gh(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+_r(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+_r(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(P(ph),P(Bb,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})(),Ol=(()=>{class e{constructor(t){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function bR(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(Vb(jb(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+_r(r))}normalize(t){return e.stripTrailingSlash(function yR(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,jb(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_r(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_r(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return e.normalizeQueryParams=_r,e.joinWithSlash=gh,e.stripTrailingSlash=Vb,e.\u0275fac=function(t){return new(t||e)(P(ri))},e.\u0275prov=U({token:e,factory:function(){return function vR(){return new Ol(P(ri))}()},providedIn:"root"}),e})();function jb(e){return e.replace(/\/index.html$/,"")}class sP{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}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 Qb=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new sP(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),Jb(a,i)}});for(let i=0,o=r.length;i{Jb(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Cn),M(pn),M(Il))},e.\u0275dir=X({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Jb(e,n){e.context.$implicit=n.item}let Mh=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new aP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){eC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){eC("ngIfElse",t),this._elseTemplateRef=t,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(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Cn),M(pn))},e.\u0275dir=X({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class aP{constructor(){this.$implicit=null,this.ngIf=null}}function eC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ct(n)}'.`)}let nC=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:i,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=r.createEmbeddedView(i,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(M(Cn))},e.\u0275dir=X({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ft]}),e})(),rC=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Wt({name:"json",type:e,pure:!1,standalone:!0}),e})(),oC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();const sC="browser";function Hl(e){return e===sC}function aC(e){return"server"===e}let FP=(()=>{class e{}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new LP(P(He),window)}),e})();class LP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function VP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=lC(this.window.history)||lC(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function lC(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class lN extends pR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ph extends lN{static makeCurrent(){!function fR(e){fh||(fh=e)}(new Ph)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function cN(){return Is=Is||document.querySelector("base"),Is?Is.getAttribute("href"):null}();return null==t?null:function uN(e){$l=$l||document.createElement("a"),$l.setAttribute("href",e);const n=$l.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Is=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function rP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let $l,Is=null,hN=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const Nh=new $("EventManagerPlugins");let fC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new O(5101,!1);return this._eventNameToPlugin.set(t,r),r}}return e.\u0275fac=function(t){return new(t||e)(P(Nh),P(Ie))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();class pC{constructor(n){this._doc=n}}const kh="ng-app-id";let gC=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=aC(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${kh}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(kh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(kh,this.appId),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r);t.appendChild(i);const o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Ka),P(Em,8),P(dr))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const Fh={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/"},Lh=/%COMP%/g,mN=new $("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function _C(e,n){return n.map(t=>t.replace(Lh,e))}let vC=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=aC(a),this.defaultRenderer=new Vh(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===on.ShadowDom&&(r={...r,encapsulation:on.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof bC?i.applyToHost(t):i instanceof Bh&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case on.Emulated:o=new bC(l,c,r,this.appId,u,s,a,d);break;case on.ShadowDom:return new bN(l,c,t,r,s,a,this.nonce,d);default:o=new Bh(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(t){return new(t||e)(P(fC),P(gC),P(Ka),P(mN),P(He),P(dr),P(Ie),P(Em))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();class Vh{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Fh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(yC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(yC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new O(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Fh[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Fh[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Kt.DashCase|Kt.Important)?n.style.setProperty(t,r,i&Kt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Kt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=xr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function yC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class bN extends Vh{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=_C(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Bh extends Vh{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?_C(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bC extends Bh{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function _N(e){return"_ngcontent-%COMP%".replace(Lh,e)}(c),this.hostAttr=function vN(e){return"_nghost-%COMP%".replace(Lh,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let CN=(()=>{class e extends pC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const CC=["alt","control","meta","shift"],wN={"\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"},DN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SN=(()=>{class e extends pC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),CC.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=wN[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),CC.forEach(s=>{s!==i&&(0,DN[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const DC=[{provide:dr,useValue:sC},{provide:Sm,useValue:function EN(){Ph.makeCurrent()},multi:!0},{provide:He,useFactory:function AN(){return function k0(e){Tu=e}(document),document},deps:[]}],IN=pb(tR,"browser",DC),TN=new $(""),SC=[{provide:Sl,useClass:class dN{addToWindow(n){ke.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new O(5103,!1);return o},ke.getAllAngularTestabilities=()=>n.getAllTestabilities(),ke.getAllAngularRootElements=()=>n.getAllRootElements(),ke.frameworkStabilizers||(ke.frameworkStabilizers=[]),ke.frameworkStabilizers.push(r=>{const i=ke.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?xr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:cb,useClass:th,deps:[Ie,nh,Sl]},{provide:th,useClass:th,deps:[Ie,nh,Sl]}],EC=[{provide:Lu,useValue:"root"},{provide:qr,useFactory:function MN(){return new qr},deps:[]},{provide:Nh,useClass:CN,multi:!0,deps:[He,Ie,dr]},{provide:Nh,useClass:SN,multi:!0,deps:[He]},vC,gC,fC,{provide:Pm,useExisting:vC},{provide:class BP{},useClass:hN,deps:[]},[]];let ON=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ka,useValue:t.appId}]}}}return e.\u0275fac=function(t){return new(t||e)(P(TN,12))},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({providers:[...EC,...SC],imports:[oC,nR]}),e})(),MC=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new t:function RN(){return new MC(P(He))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;let TC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new(t||e):P(OC),r},providedIn:"root"}),e})(),OC=(()=>{class e extends TC{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Fe.NONE:return r;case Fe.HTML:return Gn(r,"HTML")?un(r):dm(this._doc,String(r)).toString();case Fe.STYLE:return Gn(r,"Style")?un(r):r;case Fe.SCRIPT:if(Gn(r,"Script"))return un(r);throw new O(5200,!1);case Fe.URL:return Gn(r,"URL")?un(r):Wa(String(r));case Fe.RESOURCE_URL:if(Gn(r,"ResourceURL"))return un(r);throw new O(5201,!1);default:throw new O(5202,!1)}}bypassSecurityTrustHtml(t){return function U0(e){return new F0(e)}(t)}bypassSecurityTrustStyle(t){return function $0(e){return new L0(e)}(t)}bypassSecurityTrustScript(t){return function z0(e){return new V0(e)}(t)}bypassSecurityTrustUrl(t){return function G0(e){return new B0(e)}(t)}bypassSecurityTrustResourceUrl(t){return function W0(e){return new H0(e)}(t)}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new t:function FN(e){return new OC(e.get(He))}(P(dn)),r},providedIn:"root"}),e})();function zl(e,n){return new be(t=>{const r=e.length;if(0===r)return void t.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),i[a]=u},error:u=>t.error(u),complete:()=>{o++,(o===r||!c)&&(s===r&&t.next(n?n.reduce((u,d,p)=>(u[d]=i[p],u),{}):i),t.complete())}}))}})}let RC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return e.\u0275fac=function(t){return new(t||e)(M(hr),M(ft))},e.\u0275dir=X({type:e}),e})(),ii=(()=>{class e extends RC{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,features:[Pe]}),e})();const Xn=new $("NgValueAccessor"),VN={provide:Xn,useExisting:Le(()=>Gl),multi:!0};let Gl=(()=>{class e extends ii{writeValue(t){this.setProperty("checked",t)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,r){1&t&&j("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[$e([VN]),Pe]}),e})();const BN={provide:Xn,useExisting:Le(()=>Ts),multi:!0},jN=new $("CompositionEventMode");let Ts=(()=>{class e extends RC{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function HN(){const e=xr()?xr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return e.\u0275fac=function(t){return new(t||e)(M(hr),M(ft),M(jN,8))},e.\u0275dir=X({type:e,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(t,r){1&t&&j("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[$e([BN]),Pe]}),e})();function Pr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function PC(e){return null!=e&&"number"==typeof e.length}const Pt=new $("NgValidators"),Nr=new $("NgAsyncValidators"),UN=/^(?=.{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 NC{static min(n){return function kC(e){return n=>{if(Pr(n.value)||Pr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Pr(n.value)||Pr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function LC(e){return Pr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function VC(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function BC(e){return Pr(e.value)||UN.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function HC(e){return n=>Pr(n.value)||!PC(n.value)?null:n.value.lengthPC(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function UC(e){if(!e)return Wl;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Pr(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return ZC(n)}static composeAsync(n){return YC(n)}}function Wl(e){return null}function $C(e){return null!=e}function zC(e){return fs(e)?_t(e):e}function GC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function WC(e,n){return n.map(t=>t(e))}function qC(e){return e.map(n=>function $N(e){return!e.validate}(n)?n:t=>n.validate(t))}function ZC(e){if(!e)return null;const n=e.filter($C);return 0==n.length?null:function(t){return GC(WC(t,n))}}function jh(e){return null!=e?ZC(qC(e)):null}function YC(e){if(!e)return null;const n=e.filter($C);return 0==n.length?null:function(t){return function LN(...e){if(1===e.length){const n=e[0];if(h(n))return zl(n,null);if(f(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return zl(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return zl(e=1===e.length&&h(e[0])?e[0]:e,null).pipe(oe(t=>n(...t)))}return zl(e,null)}(WC(t,n).map(zC)).pipe(oe(GC))}}function Uh(e){return null!=e?YC(qC(e)):null}function KC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function XC(e){return e._rawValidators}function QC(e){return e._rawAsyncValidators}function $h(e){return e?Array.isArray(e)?e:[e]:[]}function ql(e,n){return Array.isArray(e)?e.includes(n):e===n}function JC(e,n){const t=$h(n);return $h(e).forEach(i=>{ql(t,i)||t.push(i)}),t}function ew(e,n){return $h(n).filter(t=>!ql(e,t))}class tw{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(n){this._rawValidators=n||[],this._composedValidatorFn=jh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Uh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ut extends tw{get formDirective(){return null}get path(){return null}}class yr extends tw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nw{constructor(n){this._cd=n}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 zh=(()=>{class e extends nw{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(yr,2))},e.\u0275dir=X({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&>("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[Pe]}),e})(),Gh=(()=>{class e extends nw{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Ut,10))},e.\u0275dir=X({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,r){2&t&>("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Pe]}),e})();const Os="VALID",Yl="INVALID",ho="PENDING",xs="DISABLED";function Zh(e){return(Kl(e)?e.validators:e)||null}function Yh(e,n){return(Kl(n)?n.asyncValidators:e)||null}function Kl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function iw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new O(1e3,"");if(!r[t])throw new O(1001,"")}function ow(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new O(1002,"")})}class Xl{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Os}get invalid(){return this.status===Yl}get pending(){return this.status==ho}get disabled(){return this.status===xs}get enabled(){return this.status!==xs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(JC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(JC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ew(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ew(n,this._rawAsyncValidators))}hasValidator(n){return ql(this._rawValidators,n)}hasAsyncValidator(n){return ql(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=ho,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xs,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Os,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Os||this.status===ho)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xs:Os}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=ho,this._hasOwnPendingAsyncValidator=!0;const t=zC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ge,this.statusChanges=new ge}_calculateStatus(){return this._allControlsDisabled()?xs:this.errors?Yl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ho)?ho:this._anyControlsHaveStatus(Yl)?Yl:Os}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Kl(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function qN(e){return Array.isArray(e)?jh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function ZN(e){return Array.isArray(e)?Uh(e):e||null}(this._rawAsyncValidators)}}class fo extends Xl{constructor(n,t,r){super(Zh(t),Yh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){ow(this,0,n),Object.keys(n).forEach(r=>{iw(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const YN=fo;class sw extends fo{}const oi=new $("CallSetDisabledState",{providedIn:"root",factory:()=>Rs}),Rs="always";function Ql(e,n){return[...n.path,e]}function Ps(e,n,t=Rs){Kh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function XN(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&aw(e,n)})}(e,n),function JN(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function QN(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&aw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function KN(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Jl(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),tc(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ec(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Kh(e,n){const t=XC(e);null!==n.validator?e.setValidators(KC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=QC(e);null!==n.asyncValidator?e.setAsyncValidators(KC(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();ec(n._rawValidators,i),ec(n._rawAsyncValidators,i)}function tc(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=XC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=QC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return ec(n._rawValidators,r),ec(n._rawAsyncValidators,r),t}function aw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function lw(e,n){Kh(e,n)}function Qh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function cw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Jh(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Ts?t=o:function nk(e){return Object.getPrototypeOf(e.constructor)===ii}(o)?r=o:i=o}),i||r||t||null}const ik={provide:Ut,useExisting:Le(()=>nc)},Ns=(()=>Promise.resolve())();let nc=(()=>{class e extends Ut{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ge,this.form=new fo({},jh(t),Uh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ns.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Ps(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ns.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ns.then(()=>{const r=this._findContainer(t.path),i=new fo({});lw(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ns.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Ns.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,cw(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return e.\u0275fac=function(t){return new(t||e)(M(Pt,10),M(Nr,10),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){1&t&&j("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([ik]),Pe]}),e})();function uw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function dw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const po=class extends Xl{constructor(n=null,t,r){super(Zh(t),Yh(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=dw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){uw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){uw(this._onDisabledChange,n)}_forEachChild(n){}_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(n){dw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},ye=po,ak={provide:yr,useExisting:Le(()=>ef)},pw=(()=>Promise.resolve())();let ef=(()=>{class e extends yr{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new po,this._registered=!1,this.name="",this.update=new ge,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Jh(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Qh(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){Ps(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(t){pw.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&St(r);pw.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Ql(t,this._parent):[t]}}return e.\u0275fac=function(t){return new(t||e)(M(Ut,9),M(Pt,10),M(Nr,10),M(Xn,10),M(Ds,8),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[$e([ak]),Pe,Ft]}),e})(),gw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const lk={provide:Xn,useExisting:Le(()=>rc),multi:!0};let rc=(()=>{class e extends ii{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,r){1&t&&j("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[$e([lk]),Pe]}),e})(),mw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();const tf=new $("NgModelWithFormControlWarning"),fk={provide:Ut,useExisting:Le(()=>go)};let go=(()=>{class e extends Ut{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ge,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Ps(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Jl(t.control||null,t,!1),function rk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,cw(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Jl(r||null,t),(e=>e instanceof po)(i)&&(Ps(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);lw(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function ek(e,n){return tc(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kh(this.form,this),this._oldForm&&tc(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(M(Pt,10),M(Nr,10),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,r){1&t&&j("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([fk]),Pe,Ft]}),e})();const mk={provide:yr,useExisting:Le(()=>ic)};let ic=(()=>{class e extends yr{set isDisabled(t){}constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ge,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Jh(0,o)}ngOnChanges(t){this._added||this._setUpControl(),Qh(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ql(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(t){return new(t||e)(M(Ut,13),M(Pt,10),M(Nr,10),M(Xn,10),M(tf,8))},e.\u0275dir=X({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[$e([mk]),Pe,Ft]}),e})();const _k={provide:Xn,useExisting:Le(()=>oc),multi:!0};function Cw(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let oc=(()=>{class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=Cw(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function vk(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,r){1&t&&j("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([_k]),Pe]}),e})(),sf=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Cw(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(ft),M(hr),M(oc,9))},e.\u0275dir=X({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const yk={provide:Xn,useExisting:Le(()=>af),multi:!0};function ww(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let af=(()=>{class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(ft),M(hr),M(af,9))},e.\u0275dir=X({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),Rw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({imports:[mw]}),e})();class Pw extends Xl{constructor(n,t,r){super(Zh(t),Yh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){ow(this,0,n),n.forEach((r,i)=>{iw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function Nw(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let Tk=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return Nw(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new fo(i,o)}record(t,r=null){const i=this._reduceControls(t);return new sw(i,r)}control(t,r,i){let o={};return this.useNonNullable?(Nw(r)?o=r:(o.validators=r,o.asyncValidators=i),new po(t,{...o,nonNullable:!0})):new po(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new Pw(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof po||t instanceof Xl?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kw=(()=>{class e extends Tk{group(t,r=null){return super.group(t,r)}control(t,r,i){return super.control(t,r,i)}array(t,r,i){return super.array(t,r,i)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),uf=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:oi,useValue:t.callSetDisabledState??Rs}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({imports:[Rw]}),e})(),Fw=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:tf,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:oi,useValue:t.callSetDisabledState??Rs}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({imports:[Rw]}),e})();const br=new be(e=>e.complete());function df(e){return e?function Ok(e){return new be(n=>e.schedule(()=>n.complete()))}(e):br}function Qn(e,n){return new be(n?t=>n.schedule(xk,0,{error:e,subscriber:t}):t=>t.error(e))}function xk({error:e,subscriber:n}){n.error(e)}class Pk{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new Nk(n,this.resultSelector))}}class Nk extends Z{constructor(n,t,r=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;h(n)?t.push(new Fk(n)):t.push("function"==typeof n[mn]?new kk(n[mn]()):new Lk(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let r=0;rthis.index}hasCompleted(){return this.array.length===this.index}}class Lk extends Ci{constructor(n,t,r){super(n),this.parent=t,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[mn](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return wi(this.observable,new bi(this))}}class Vk extends A{constructor(n,t){super()}schedule(n,t=0){return this}}class hf extends Vk{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const n=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}}let Lw=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return e.now=()=>Date.now(),e})();class Jn extends Lw{constructor(n,t=Lw.now){super(n,()=>Jn.delegate&&Jn.delegate!==this?Jn.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,r){return Jn.delegate&&Jn.delegate!==this?Jn.delegate.schedule(n,t,r):super.schedule(n,t,r)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let r;this.active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const sc=new class Hk extends Jn{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(cancelAnimationFrame(t),n.scheduled=void 0)}});function Jt(e,n){return function(r){return r.lift(new jk(e,n))}}class jk{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new Uk(n,this.predicate,this.thisArg))}}class Uk extends Z{constructor(n,t,r){super(n),this.predicate=t,this.thisArg=r,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(n)}}const Vw=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function kr(e){return n=>0===e?df():n.lift(new $k(e))}class $k{constructor(n){if(this.total=n,this.total<0)throw new Vw}call(n,t){return t.subscribe(new zk(n,this.total))}}class zk extends Z{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,r=++this.count;r<=t&&(this.destination.next(n),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Fr(){}function Ze(e,n,t){return function(i){return i.lift(new Gk(e,n,t))}}class Gk{constructor(n,t,r){this.nextOrObserver=n,this.error=t,this.complete=r}call(n,t){return t.subscribe(new Wk(n,this.nextOrObserver,this.error,this.complete))}}class Wk extends Z{constructor(n,t,r,i){super(n),this._tapNext=Fr,this._tapError=Fr,this._tapComplete=Fr,this._tapError=r||Fr,this._tapComplete=i||Fr,z(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Fr,this._tapError=t.error||Fr,this._tapComplete=t.complete||Fr)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function ai(e){return function(t){const r=new qk(e),i=t.lift(r);return r.caught=i}}class qk{constructor(n){this.selector=n}call(n,t){return t.subscribe(new Zk(n,this.selector,this.caught))}}class Zk extends Ci{constructor(n,t,r){super(n),this.selector=t,this.caught=r}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new bi(this);this.add(r);const i=wi(t,r);i!==r&&this.add(i)}}}const ac=new $("HIGHLIGHT_OPTIONS");let ff;let Xk=(()=>{class e{constructor(t,r,i){this.doc=t,this.platformId=r,this._options=i,this._ready=new ze(null),this.ready=this._ready.asObservable().pipe(Jt(o=>!!o),oe(o=>o),kr(1)),Hl(r)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe(nn(o=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=o,this.loadLineNumbers().pipe(Ze(()=>this._ready.next(o)))):(this._ready.next(o),br)),ai(o=>(console.error("[HLJS] ",o),br))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return Qn(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return Qn(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return Qn(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return Qn(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe(nn(t=>this._loadLanguages(t)))}return Qn(()=>"Highlight.js library was not imported!")}_loadLanguages(t){return function Rk(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),ta(e,void 0).lift(new Pk(n))}(...Object.entries(this._options.languages).map(([i,o])=>lc(o()).pipe(Ze(s=>t.registerLanguage(i,s))))).pipe(oe(()=>t))}loadCoreLibrary(){return lc(this._options.coreLibraryLoader())}loadFullLibrary(){return lc(this._options.fullLibraryLoader())}loadLineNumbers(){return lc(this._options.lineNumbersLoader())}setTheme(t){Hl(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(dr),P(ac,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lc=e=>_t(e).pipe(Jt(n=>!!n&&!!n.default),oe(n=>n.default));let Qk=(()=>{class e{get hljs(){return this._hljs}constructor(t,r){this._loader=t,this._hljs=null,t.ready.subscribe(i=>{this._hljs=i,r&&r.config&&(i.configure(r.config),i.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(t,{language:r,ignoreIllegals:i}){return this._loader.ready.pipe(oe(o=>o.highlight(t,{language:r,ignoreIllegals:i})))}highlightAuto(t,r){return this._loader.ready.pipe(oe(i=>i.highlightAuto(t,r)))}highlightElement(t){return this._loader.ready.pipe(oe(r=>r.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe(oe(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe(oe(r=>r.configure(t)))}registerLanguage(t,r){return this._loader.ready.pipe(Ze(i=>i.registerLanguage(t,r)))}unregisterLanguage(t){return this._loader.ready.pipe(Ze(r=>r.unregisterLanguage(t)))}registerAliases(t,{languageName:r}){return this._loader.ready.pipe(Ze(i=>i.registerAliases(t,{languageName:r})))}listLanguages(){return this._loader.ready.pipe(oe(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe(oe(r=>r.getLanguage(t)))}safeMode(){return this._loader.ready.pipe(oe(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe(oe(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe(Jt(r=>!!r.lineNumbersBlock),Ze(r=>r.lineNumbersBlock(t)))}}return e.\u0275fac=function(t){return new(t||e)(P(Xk),P(ac,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jk=(()=>{class e{constructor(t,r,i,o,s){this._hljs=r,this._sanitizer=i,this.platformId=o,this._options=s,this.highlighted=new ge,this._nativeElement=t.nativeElement}ngOnChanges(t){Hl(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,r){this.setTextContent(t),this._hljs.highlightAuto(t,r).subscribe(i=>{this.setInnerHTML(i?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(i)})}addLineNumbers(){this.destroyLineNumbersObserver(),sc.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){sc.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){sc.schedule(()=>this._nativeElement.innerHTML=function Kk(e){return function Yk(){if(!ff)try{ff=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return ff}()?.createHTML(e)||e}(this._sanitizer.sanitize(Fe.HTML,t)||""))}}return e.\u0275fac=function(t){return new(t||e)(M(ft),M(Qk),M(TC),M(dr),M(ac,8))},e.\u0275dir=X({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,r){2&t&>("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[Ft]}),e})(),eF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();const tF=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],rF=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function ks(e){return null!=e&&"false"!=`${e}`}function Bw(e){return Array.isArray(e)?e:[e]}function ot(e){return null==e?"":"string"==typeof e?e:`${e}px`}function pf(e,n,t,r){return z(t)&&(r=t,t=void 0),r?pf(e,n,t).pipe(oe(i=>h(i)?r(...i):r(i))):new be(i=>{Hw(e,n,function o(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,t)})}function Hw(e,n,t,r,i){let o;if(function lF(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const s=e;e.addEventListener(n,t,i),o=()=>s.removeEventListener(n,t,i)}else if(function aF(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const s=e;e.on(n,t),o=()=>s.off(n,t)}else if(function sF(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const s=e;e.addListener(n,t),o=()=>s.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;sjw(n)&&e()),n},clearImmediate(e){jw(e)}},gf=(new class hF extends Jn{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=Uw.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(Uw.clearImmediate(t),n.scheduled=void 0)}}),new Jn(hf));class gF{constructor(n){this.durationSelector=n}call(n,t){return t.subscribe(new mF(n,this.durationSelector))}}class mF extends Ci{constructor(n,t){super(n),this.durationSelector=t,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(n)}catch(i){return this.destination.error(i)}const r=wi(t,new bi(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:n,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function $w(e){return!h(e)&&e-parseFloat(e)+1>=0}function vF(e){const{index:n,period:t,subscriber:r}=e;if(r.next(n),!r.closed){if(-1===t)return r.complete();e.index=n+1,this.schedule(e,t)}}function zw(e,n=gf){return function pF(e){return function(t){return t.lift(new gF(e))}}(()=>function _F(e=0,n,t){let r=-1;return $w(n)?r=Number(n)<1?1:Number(n):zt(n)&&(t=n),zt(t)||(t=gf),new be(i=>{const o=$w(e)?e:+e-t.now();return t.schedule(vF,o,{index:0,period:r,subscriber:i})})}(e,n))}let mf;try{mf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{mf=!1}let li,Fs=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Hl(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&&!mf)&&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}}return e.\u0275fac=function(t){return new(t||e)(P(dr))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function bF(){if(null==li){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return li=!1,li;if("scrollBehavior"in document.documentElement.style)li=!0;else{const e=Element.prototype.scrollTo;li=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return li}function Ww(e){return e.composedPath?e.composedPath()[0]:e.target}function qw(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const wF=new $("cdk-dir-doc",{providedIn:"root",factory:function DF(){return W(He)}}),SF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Zw=(()=>{class e{constructor(t){this.value="ltr",this.change=new ge,t&&(this.value=function EF(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?SF.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(P(wF,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})(),AF=(()=>{class e{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new je,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new be(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(zw(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ne()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(Jt(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=function oF(e){return e instanceof ft?e.nativeElement:e}(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>pf(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(P(Ie),P(Fs),P(He,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yf=(()=>{class e{constructor(t,r,i){this._platform=t,this._change=new je,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(zw(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(P(Fs),P(Ie),P(He,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Yw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})(),Kw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({imports:[vf,Yw,vf,Yw]}),e})();class OF{constructor(n){this.notifier=n}call(n,t){const r=new xF(n),i=wi(this.notifier,new bi(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class xF extends Ci{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class PF{constructor(n,t){this.predicate=n,this.inclusive=t}call(n,t){return t.subscribe(new NF(n,this.predicate,this.inclusive))}}class NF extends Z{constructor(n,t,r){super(n),this.predicate=t,this.inclusive=r,this.index=0}_next(n){const t=this.destination;let r;try{r=this.predicate(n,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(n,r)}nextOrComplete(n,t){const r=this.destination;t?r.next(n):(this.inclusive&&r.next(n),r.complete())}}class bf{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class kF extends bf{constructor(n,t,r,i,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}}class Xw extends bf{constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class FF extends bf{constructor(n){super(),this.element=n instanceof ft?n.nativeElement:n}}class LF{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof kF?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Xw?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof FF?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class VF extends LF{constructor(n,t,r,i,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let i;return n.viewContainerRef?(i=n.viewContainerRef.createComponent(r,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(n.injector||this._defaultInjector||dn.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=n,i}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let BF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();const Qw=bF();class UF{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ot(-this._previousScrollPosition.left),n.style.top=ot(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Qw&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Qw&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class $F{constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Jt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Jw{enable(){}disable(){}attach(){}}function Cf(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function eD(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class zF{constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Cf(t,[{width:r,height:i,bottom:i,right:r,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 GF=(()=>{class e{constructor(t,r,i,o){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new Jw,this.close=s=>new $F(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new UF(this._viewportRuler,this._document),this.reposition=s=>new zF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(t){return new(t||e)(P(AF),P(yf),P(Ie),P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class tD{constructor(n){if(this.scrollStrategy=new Jw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class WF{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let nD=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),qF=(()=>{class e extends nD{constructor(t,r){super(t),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Ie,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ZF=(()=>{class e extends nD{constructor(t,r,i){super(t),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ww(o)},this._clickListener=o=>{const s=Ww(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Fs),P(Ie,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),rD=(()=>{class e{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||qw()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new je,this._outsidePointerEvents=new je,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(kr(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 t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=ot(this._config.width),n.height=ot(this._config.height),n.minWidth=ot(this._config.minWidth),n.minHeight=ot(this._config.minHeight),n.maxWidth=ot(this._config.maxWidth),n.maxHeight=ot(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,r){const i=Bw(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(function TF(e){return n=>n.lift(new OF(e))}(Jf(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const iD="cdk-overlay-connected-position-bounding-box",KF=/([A-Za-z%]+)$/;class XF{get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,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 je,this._resizeSubscription=A.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(iD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ci(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=sD(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let p=0-a,g=a+o.height-r.height,y=this._subtractOverflows(o.width,0-s,s+o.width-r.width),S=this._subtractOverflows(o.height,p,g),T=y*S;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:S===o.height,fitsInViewportHorizontally:y==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=oD(this._overlayRef.getConfig().minHeight),a=oD(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=sD(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let u=0,d=0;return u=i.width<=o.width?c||-s:n.xy&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-y/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)p=r.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)d=n.x,u=r.right-n.x;else{const g=Math.min(r.right-n.x+r.left,n.x),y=this._lastBoundingBoxSize.width;u=2*g,d=n.x-g,u>y&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-y/2)}return{top:s,left:d,bottom:a,right:p,width:u,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=ot(r.height),i.top=ot(r.top),i.bottom=ot(r.bottom),i.width=ot(r.width),i.left=ot(r.left),i.right=ot(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=ot(o)),s&&(i.maxWidth=ot(s))}this._lastBoundingBoxSize=r,ci(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ci(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ci(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();ci(r,this._getExactOverlayY(t,n,u)),ci(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=ot(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=ot(s.maxWidth):o&&(r.maxWidth="")),ci(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=ot(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=ot(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eD(n,r),isOriginOutsideView:Cf(n,r),isOverlayClipped:eD(t,r),isOverlayOutsideView:Cf(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Bw(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof ft)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function ci(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function oD(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(KF);return t&&"px"!==t?null:parseFloat(n)}return e||null}function sD(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const aD="cdk-global-overlay-wrapper";class QF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(aD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,p="rtl"===this._overlayRef.getConfig().direction;let g="",y="",S="";l?S="flex-start":"center"===u?(S="center",p?y=d:g=d):p?"left"===u||"end"===u?(S="flex-end",g=d):("right"===u||"start"===u)&&(S="flex-start",y=d):"left"===u||"start"===u?(S="flex-start",g=d):("right"===u||"end"===u)&&(S="flex-end",y=d),n.position=this._cssPosition,n.marginLeft=l?"0":g,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":y,t.justifyContent=S,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(aD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let JF=(()=>{class e{constructor(t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new QF}flexibleConnectedTo(t){return new XF(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(P(yf),P(He),P(Fs),P(rD))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),e2=0,wf=(()=>{class e{constructor(t,r,i,o,s,a,l,c,u,d,p,g){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=p,this._animationsModuleType=g}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new tD(t);return s.direction=s.direction||this._directionality.value,new YF(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+e2++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(ei)),new VF(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(P(GF),P(rD),P(ns),P(JF),P(qF),P(dn),P(Ie),P(He),P(Zw),P(Ol),P(ZF),P(_A,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const t2=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],lD=new $("cdk-connected-overlay-scroll-strategy");let cD=(()=>{class e{constructor(t){this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(M(ft))},e.\u0275dir=X({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),e})(),uD=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=ks(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=ks(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=ks(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=ks(t)}get push(){return this._push}set push(t){this._push=ks(t)}constructor(t,r,i,o,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=A.EMPTY,this._attachSubscription=A.EMPTY,this._detachSubscription=A.EMPTY,this._positionSubscription=A.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ge,this.positionChange=new ge,this.attach=new ge,this.detach=new ge,this.overlayKeydown=new ge,this.overlayOutsideClick=new ge,this._templatePortal=new Xw(r,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=t2);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!function jF(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new tD({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof cD?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function RF(e,n=!1){return t=>t.lift(new PF(e,n))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(M(wf),M(pn),M(Cn),M(lD),M(Zw,8))},e.\u0275dir=X({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ft]}),e})();const r2={provide:lD,deps:[wf],useFactory:function n2(e){return()=>e.scrollStrategies.reposition()}};let o2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({providers:[wf,r2],imports:[vf,BF,Kw,Kw]}),e})();class Se{static getOptionByValue(n,t){if(Array.isArray(n))for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return o}else if(r.value===t)return r}}static getOptionsByValue(n,t,r){if(r){const i=Array.isArray(t)?t:[],o=[];for(const s of i){const a=Se.getOptionByValue(n,s);a&&o.push(a)}return o}return Se.getOptionByValue(n,t)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const t of n){const r=t.options;if(r){for(const i of r)if(!i.disabled)return i.value}else if(!t.disabled)return t.value}return null}static valueIsNotInFilteredData(n,t){if(Se.isNullOrUndefined(t))return!0;for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return!1}else if(r.value===t)return!1}return!0}static getPreviousOption(n,t){let r=Se.isNullOrUndefined(t);for(let i=n.length-1;i>=0;i--){const o=n[i],s=o.options;if(s)for(let a=s.length-1;a>=0;a--){const l=s[a];if(r&&!l.disabled&&!l.hide)return l;r||(r=l.value===t)}else{if(r&&!o.disabled&&!o.hide)return o;r||(r=o.value===t)}}return null}static getNextOption(n,t){let r=Se.isNullOrUndefined(t);for(const i of n){const o=i.options;if(o)for(const s of o)if(r){if(!s.disabled&&!s.hide)return s}else r||(r=s.value===t);else if(r){if(!i.disabled&&!i.hide)return i}else r||(r=i.value===t)}return null}static getReduceData(n,t=0){if(t>0){let r=0;const i=[];for(const o of n){const s=o.options;if(s){const a={...o,options:[]};i.push(a);for(const l of s)if(a.options.push(l),r++,r===t)return{result:i,reduce:!0}}else i.push(o),r++;if(r===t)return{result:i,reduce:!0}}return{result:i,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,t,r){if(t){const i=[];for(const o of n){const s=o.options;if(s){if(s.some(a=>Se.containSearchText(a.label,t,r))){const a=s.filter(l=>Se.containSearchText(l.label,t,r));i.push({...o,options:a})}}else Se.containSearchText(o.label,t,r)&&i.push(o)}return i}return n}static getFilteredSelectedData(n,t){const r=[];for(const i of n){const o=i.options;if(o){const s=o.filter(a=>"false"===Se.isSelected(t,a,!0));s.length&&r.push({...i,options:s})}else"false"===Se.isSelected(t,i,!0)&&r.push(i)}return r}static isSearchboxHiddex(n,t){return(""===t||null==t||isNaN(+t))&&(t=6),Se.getOptionsCount(n)<+t}static isSelected(n,t,r){return r?n&&n.some(i=>i.value===t.value)?"true":"false":n&&t.value===n.value?"true":"false"}static removeSelection(n,t){for(let r=0;rObject.prototype.toString.call(e).includes(t))}function Sf(e,n){return e?n.document.documentElement:null}function hD(e,n){const t=function S2({container:e,isWindow:n,axis:t}){const{offsetHeightKey:r,clientHeightKey:i}=fD(t);return pD(e,n,r,i)}(n);return n.isWindow?function w2(e,n,t){const{axis:r,container:i,isWindow:o}=t,{offsetHeightKey:s,clientHeightKey:a}=fD(r),l=e+gD(Sf(o,i),r,o),c=pD(n.nativeElement,o,s,a),u=function E2(e,n,t){const r=n.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[r]+gD(e,n,t)}(n.nativeElement,r,o)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:o}}(t,e,n):function D2(e,n,t){const{axis:r,container:i}=t;return{height:e,scrolled:i[r.scrollTopKey()],totalToScroll:i[r.scrollHeightKey()],isWindow:!1}}(t,0,n)}function fD(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function pD(e,n,t,r){if(isNaN(e[t])){const i=Sf(n,e);return i?i[r]:0}return e[t]}function gD(e,n,t){const r=n.pageYOffsetKey(),i=n.scrollTopKey(),o=n.offsetTopKey();return isNaN(window.pageYOffset)?Sf(t,e)[i]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[o]}function M2(e,n={down:0,up:0},t){let r,i;if(e.totalToScroll<=0)return!1;const o=e.isWindow?e.scrolled:e.height+e.scrolled;return t?(r=(e.totalToScroll-o)/e.totalToScroll,i=(n?.down?n.down:0)/10):(r=e.scrolled/(e.scrolled+(e.totalToScroll-o)),i=(n?.up?n.up:0)/10),r<=i}class x2{constructor({totalToScroll:n}){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=n}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,t){this.updateScrollPosition(n),this.updateTotalToScroll(t)}updateTriggeredFlag(n,t){t?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,t){return t?this.triggered.down===n:this.triggered.up===n}}const Ef={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function k2(e){const{scrollDown:n,stats:{scrolled:t}}=e;return{type:n?Ef.DOWN:Ef.UP,payload:{currentScrollPosition:t}}}let F2=(()=>{class e{constructor(t,r){this.element=t,this.zone=r,this.scrolled=new ge,this.scrolledUp=new ge,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:r,infiniteScrollDistance:i}){const o=Df(t),s=Df(r),a=Df(i),l=!s&&!this.infiniteScrollDisabled||s&&!r.currentValue||a;(o||s||a)&&(this.destroyScroller(),l&&this.setup())}setup(){(function p2(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function R2(e){const{scrollContainer:n,scrollWindow:t,element:r,fromRoot:i}=e,o=function y2({windowElement:e,axis:n}){return function b2(e,n){const t=e.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...e,container:t}}({axis:n,isWindow:C2(e)},e)}({axis:new _2(!e.horizontal),windowElement:h2(n,t,r,i)}),s=new x2({totalToScroll:hD(r,o)}),l={up:e.upDistance,down:e.downDistance};return function P2(e){let n=pf(e.container,"scroll");return e.throttle&&(n=n.pipe(function l2(e,n=gf,t=dD){return r=>r.lift(new c2(e,n,t.leading,t.trailing))}(e.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:o.container,throttle:e.throttle}).pipe(wt(()=>ne(hD(r,o))),oe(c=>function N2(e,n,t){const{scrollDown:r,fire:i}=function I2(e,n,t){const r=function A2(e,n){return es.updateScroll(c.scrolled,c.totalToScroll)),Jt(({fire:c,scrollDown:u,stats:{totalToScroll:d}})=>function v2(e,n,t){return!!(e&&n||!t&&n)}(e.alwaysCallback,c,s.isTriggeredScroll(d,u))),Ze(({scrollDown:c,stats:{totalToScroll:u}})=>{s.updateTriggeredFlag(u,c)}),oe(k2))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:r}){const i=t===Ef.DOWN?this.scrolled:this.scrolledUp;(function L2(e){return e.observed??e.observers.length>0})(i)&&this.zone.run(()=>i.emit(r))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(M(ft),M(Ie))},e.\u0275dir=X({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[Ft]}),e})(),V2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();const B2=["selection"],H2=["results"],j2=["searchInput"],U2=["dropdown"],$2=["result"];function z2(e,n){1&e&&te(0,"span",14)}function G2(e,n){1&e&&(v(0,"span"),b(1,"\xa0"),_())}function W2(e,n){1&e&&te(0,"span",19),2&e&&x("innerHTML",q(3).select2Option.label,In)}function q2(e,n){1&e&&gr(0)}function Z2(e,n){if(1&e&&J(0,q2,1,0,"ng-container",20),2&e){const t=q(3);x("ngTemplateOutlet",t.getTemplate(t.select2Option,"option"))("ngTemplateOutletContext",t.select2Option)}}function Y2(e,n){if(1&e&&(Yr(0),J(1,W2,1,1,"span",17),J(2,Z2,1,2,"ng-template",null,18,bt),Kr()),2&e){const t=Ue(3),r=q(2);w(1),x("ngIf",!r.hasTemplate(r.select2Option,"option")||r.noLabelTemplate)("ngIfElse",t)}}function K2(e,n){if(1&e&&(v(0,"span",15),J(1,G2,2,0,"span",10),J(2,Y2,4,2,"ng-container",10),v(3,"span",16),b(4),_()()),2&e){const t=q();x("title",(null==t.select2Option?null:t.select2Option.label)||""),w(1),x("ngIf",!t.select2Option),w(1),x("ngIf",t.select2Option),w(1),gt("select2-selection__placeholder__option",t.option),w(1),fn(t.placeholder)}}function X2(e,n){if(1&e){const t=Zn();v(0,"span",21),j("click",function(i){return xe(t),Re(q().reset(i))}),b(1,"\xd7"),_()}}function Q2(e,n){1&e&&te(0,"span",22)}function J2(e,n){if(1&e&&(v(0,"span",16),b(1),_()),2&e){const t=q(2);gt("select2-selection__placeholder__option",(null==t.select2Options?null:t.select2Options.length)>0),w(1),fn(t.placeholder)}}function eL(e,n){if(1&e){const t=Zn();v(0,"span",30),j("click",function(i){xe(t);const o=q().$implicit;return Re(q(2).removeSelection(i,o))}),b(1,"\xd7"),_()}}function tL(e,n){1&e&&te(0,"span",19),2&e&&x("innerHTML",q().$implicit.label,In)}function nL(e,n){1&e&&gr(0)}function rL(e,n){if(1&e&&J(0,nL,1,0,"ng-container",20),2&e){const t=q().$implicit;x("ngTemplateOutlet",q(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function iL(e,n){if(1&e){const t=Zn();v(0,"li",27),j("keydown.enter",function(i){const s=xe(t).$implicit;return Re(q(2).removeSelection(i,s))}),J(1,eL,2,0,"span",28),J(2,tL,1,1,"span",17),J(3,rL,1,2,"ng-template",null,29,bt),_()}if(2&e){const t=n.$implicit,r=Ue(4),i=q(2);x("title",t.label),w(1),x("ngIf",!(i.disabled||i.readonly)),w(1),x("ngIf",!i.hasTemplate(t,"option")||i.noLabelTemplate)("ngIfElse",r)}}function oL(e,n){if(1&e){const t=Zn();v(0,"li",31),j("focus",function(i){return xe(t),Re(q(2).stopEvent(i))})("blur",function(i){return xe(t),Re(q(2).stopEvent(i))}),v(1,"input",32),j("click",function(i){xe(t);const o=q(2);return o.toggleOpenAndClose(!1,!0),Re(o.stopEvent(i))})("keydown",function(i){return xe(t),Re(q(2).keyDown(i,!0))})("keyup",function(i){return xe(t),Re(q(2).searchUpdate(i))})("change",function(i){return xe(t),Re(q(2).prevChange(i))}),_()()}if(2&e){const t=q(2);w(1),x("id",t.id+"-create-field")}}function sL(e,n){if(1&e&&(v(0,"ul",23),J(1,J2,2,3,"span",24),J(2,iL,5,4,"li",25),J(3,oL,2,1,"li",26),_()),2&e){const t=q();w(1),x("ngIf",!t.autoCreate),w(1),x("ngForOf",t.option)("ngForTrackBy",t.trackBy),w(1),x("ngIf",t.autoCreate)}}function aL(e,n){1&e&&gr(0)}function lL(e,n){if(1&e&&(Yr(0),J(1,aL,1,0,"ng-container",33),Kr()),2&e){q();const t=Ue(17);w(1),x("ngTemplateOutlet",t)}}function cL(e,n){1&e&&gr(0)}function uL(e,n){1&e&&J(0,cL,1,0,"ng-container",33),2&e&&(q(),x("ngTemplateOutlet",Ue(17)))}function dL(e,n){if(1&e&&te(0,"strong",19),2&e){const t=q(2).$implicit;x("innerHTML",t.label,In),Bt("class","select2-results__group"+(t.classes?" "+t.classes:""))}}function hL(e,n){1&e&&gr(0)}function fL(e,n){if(1&e&&J(0,hL,1,0,"ng-container",20),2&e){const t=q(2).$implicit;x("ngTemplateOutlet",q(2).getTemplate(t,"group"))("ngTemplateOutletContext",t)}}function pL(e,n){1&e&&te(0,"div",56),2&e&&x("innerHTML",q().$implicit.label,In)}function gL(e,n){1&e&&gr(0)}function mL(e,n){if(1&e&&J(0,gL,1,0,"ng-container",20),2&e){const t=q().$implicit;x("ngTemplateOutlet",q(4).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function _L(e,n){if(1&e){const t=Zn();v(0,"li",52,53),j("mouseenter",function(){const o=xe(t).$implicit;return Re(q(4).mouseenter(o))})("click",function(){const o=xe(t).$implicit;return Re(q(4).click(o))}),J(2,pL,1,1,"div",54),J(3,mL,1,2,"ng-template",null,55,bt),_()}if(2&e){const t=n.$implicit,r=n.index,i=Ue(4),o=q(2).index,s=q(2);Sd(s.getOptionStyle(t)),x("id",t.id||s.id+"-option-"+o+"-"+r),Bt("aria-selected",s.isSelected(t))("aria-disabled",s.isDisabled(t)),w(2),x("ngIf",!s.hasTemplate(t,"option"))("ngIfElse",i)}}function vL(e,n){if(1&e&&(v(0,"li",48),J(1,dL,1,2,"strong",17),J(2,fL,1,2,"ng-template",null,49,bt),v(4,"ul",50),J(5,_L,5,7,"li",51),_()()),2&e){const t=Ue(3),r=q().$implicit,i=q(2);w(1),x("ngIf",!i.hasTemplate(r,"group"))("ngIfElse",t),w(4),x("ngForOf",r.options)("ngForTrackBy",i.trackBy)}}function yL(e,n){1&e&&te(0,"div",56),2&e&&x("innerHTML",q(2).$implicit.label,In)}function bL(e,n){1&e&&gr(0)}function CL(e,n){if(1&e&&J(0,bL,1,0,"ng-container",20),2&e){const t=q(2).$implicit;x("ngTemplateOutlet",q(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function wL(e,n){if(1&e){const t=Zn();v(0,"li",52,53),j("mouseenter",function(){xe(t);const i=q().$implicit;return Re(q(2).mouseenter(i))})("click",function(){xe(t);const i=q().$implicit;return Re(q(2).click(i))}),J(2,yL,1,1,"div",54),J(3,CL,1,2,"ng-template",null,57,bt),_()}if(2&e){const t=Ue(4),r=q(),i=r.$implicit,o=r.index,s=q(2);Sd(s.getOptionStyle(i)),x("id",i.id||s.id+"-option-"+o),Bt("aria-selected",s.isSelected(i))("aria-disabled",s.isDisabled(i)),w(2),x("ngIf",!s.hasTemplate(i,"option"))("ngIfElse",t)}}function DL(e,n){if(1&e&&(Yr(0),J(1,vL,6,4,"li",46),J(2,wL,5,7,"li",47),Kr()),2&e){const t=n.$implicit;w(1),x("ngIf",t.options),w(1),x("ngIf",!t.options)}}function SL(e,n){1&e&&te(0,"li",58),2&e&&x("innerHTML",q(2).noResultMessage,In)}function EL(e,n){1&e&&te(0,"li",59),2&e&&x("innerHTML",q(2).maxResultsMessage,In)}function ML(e,n){if(1&e){const t=Zn();v(0,"div",34)(1,"div",35,36)(3,"div",37)(4,"input",38,39),j("keydown",function(i){xe(t);const o=q();return Re(o.keyDown(i,o.autoCreate))})("keyup",function(i){return xe(t),Re(q().searchUpdate(i))})("change",function(i){return xe(t),Re(q().prevChange(i))}),_()(),v(6,"div",40)(7,"ul",41,42),j("scrolled",function(){return xe(t),Re(q().onScroll("down"))})("scrolledUp",function(){return xe(t),Re(q().onScroll("up"))})("keydown",function(i){return xe(t),Re(q().keyDown(i))}),J(9,DL,3,2,"ng-container",43),J(10,SL,1,1,"li",44),J(11,EL,1,1,"li",45),_()()()()}if(2&e){const t=Ue(8),r=q();gt("select2-container--open",r.isOpen)("select2-overlay",r.overlay)("select2-position-auto","auto"===r.listPosition),w(1),gt("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),w(2),gt("select2-search--hide",r.hideSearch()),w(1),x("id",r.id+"-search-field")("value",r.searchText),Bt("tabindex",r.isOpen?r.tabIndex:"-1"),w(3),pl("max-height",r.resultMaxHeight),x("infiniteScrollDisabled",!r.infiniteScroll&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance)("infiniteScrollThrottle",r.infiniteScrollThrottle)("infiniteScrollContainer",t),w(2),x("ngForOf",r.filteredData)("ngForTrackBy",r.trackBy),w(1),x("ngIf",!(null!=r.filteredData&&r.filteredData.length)&&r.noResultMessage),w(1),x("ngIf",r.maxResultsExceeded)}}const AL=[[["select2-label"]],[["select2-hint"]]],IL=["select2-label","select2-hint"];let TL=0;const OL=["default","hidden","always"];let mD=(()=>{class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value=t,this.writeValue(t)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return"material"===this.styleMode}get classNostyle(){return"noStyle"===this.styleMode}get select2above(){return this.overlay?this._isAbobeOverlay():"above"===this.listPosition}get _positions(){return"auto"===this.listPosition?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,r,i,o,s,a){this._viewportRuler=t,this._changeDetectorRef=r,this._parentForm=i,this._parentFormGroup=o,this._control=s,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.update=new ge,this.autoCreateItem=new ge,this.open=new ge,this.close=new ge,this.focus=new ge,this.blur=new ge,this.search=new ge,this.scroll=new ge,this.removeOption=new ge,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new je,this._disabled=!1,this._multiple=!1,this._uid="select2-"+TL++,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(a,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){const r=t.target;this.ifParentContainsClass(r,"selection")?this.ifParentContainsId(r,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(r,"select2-dropdown")||this.toggleOpenAndClose(),this.ifParentContainsId(r,this._id)||this.clickExit())}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const t=Se.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{"auto"===this.listPosition&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition?this._dropdownRect.height:0))}updateSearchBox(){const t=!this.customSearchEnabled&&Se.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){const t=OL.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===t&&this.isSearchboxHidden||"hidden"===t}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(void 0!==this.resetSelectedValue?Se.getOptionByValue(this._data,this.resetSelectedValue)??null:null),this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,r,i){if(this.disabled)return;this._focus(t);const o=this.isOpen!==(r??!this.isOpen);this.isOpen=r??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&i?this.keyDown(i):setTimeout(()=>{if(this.option){const s=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(s)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,r){return this.templates instanceof pn||this.templates?.[t.templateId]instanceof pn||this.templates?.[r]instanceof pn}getTemplate(t,r){return this.hasTemplate(t,r)?this.templates[t.templateId]||this.templates[r]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}testSelection(t){return!t.disabled&&(!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let r=this._data;if(this.multiple&&this.hideSelectedItems&&(r=Se.getFilteredSelectedData(r,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(r=Se.getFilteredData(r,this.searchText,this.editPattern)),this.maxResults>0){const i=Se.getReduceData(r,+this.maxResults);r=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;Se.valueIsNotInFilteredData(r,this.hoveringValue)&&(this.hoveringValue=Se.getFirstAvailableOption(r)),t&&this.writeValue(this._control?this._control.value:this.value),this.filteredData=r,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,r){return null!==this.getParentElementByClass(t,r)}ifParentContainsId(t,r){return null!==this.getParentElementById(t,r)}getParentElementByClass(t,r){return this.containClasses(t,r.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,r):null}getParentElementById(t,r){return t.id===r?t:t.parentElement?this.getParentElementById(t.parentElement,r):null}containClasses(t,r){if(!t.classList)return!1;for(const i of r)if(!t.classList.contains(i))return!1;return!0}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t){let r;if(null!=t)if(this.multiple){const i=this.option,o=i.findIndex(s=>s.value===t.value);-1===o?i.push(t):i.splice(o,1),r=this.option.map(s=>s.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),r=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(r):this._value=r,this.update.emit({component:this,value:r,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}keyDown(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.isOpen?(this.toggleOpenAndClose(!1),this._onTouched(),t.preventDefault()):this._focus(!1))}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:r=>{this.filteredData=r,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,r){return r.value}isSelected(t){return Se.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,r){Se.removeSelection(this.option,r),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();const i=this.option.map(o=>o.value);this._control?this._onChange(i):this._value=i,this.update.emit({component:this,value:i,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:i,removedOption:r}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){const t=this._control?.invalid,r=this._control?.touched;return!(!t||!r&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}addItem(t){let r=Se.getOptionByValue(this._data,t);return r||(r={value:t,label:t},this._data.push(r)),r}createAndAdd(t){const r=t.target.value;if(r.trim()){const i=this.addItem(r.trim());this.click(i),t.target.value="",this.autoCreateItem.emit({value:i,component:this,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(Se.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(Se.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;const r=this.results.find(i=>i.nativeElement.innerText.trim()===t.label);if(r&&this.resultsElement){this.resultsElement.scrollTop=0;const i=this.resultsElement.getBoundingClientRect(),o=r.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-i.top}}}selectByEnter(){if(this.hoveringValue){const t=Se.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,r=[]){return this._isKey(this._getKey(t),r)}_getKey(t){let r;return void 0!==t.key?r=t.key:void 0!==t.keyIdentifier?r=t.keyIdentifier:void 0!==t.keyCode?r=t.keyCode:t.preventDefault(),r}_isKey(t,r=[]){return!!(r&&r.length>0)&&-1!==r.indexOf(t)}_setSelectionByValue(t){if(this.option||null!=t){const r=Array.isArray(t);if(this.multiple&&t&&!r)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],r&&Se.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o))):this.select(Se.getOptionByValue(this._data,t)):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&"auto"===this.listPosition?"top"===this._overlayPosition:"above"===this.listPosition}}return e.\u0275fac=function(t){return new(t||e)(M(yf),M(Ds),M(nc,8),M(go,8),M(yr,10),Bo("tabindex"))},e.\u0275cmp=Ei({type:e,selectors:[["select2"]],viewQuery:function(t,r){if(1&t&&(Jr(uD,5),Jr(B2,7),Jr(H2,5),Jr(j2,5),Jr(U2,5),Jr($2,5)),2&t){let i;Ir(i=Tr())&&(r.cdkConnectedOverlay=i.first),Ir(i=Tr())&&(r.selection=i.first),Ir(i=Tr())&&(r.resultContainer=i.first),Ir(i=Tr())&&(r.searchInput=i.first),Ir(i=Tr())&&(r.dropdown=i.first),Ir(i=Tr())&&(r.results=i)}},hostVars:8,hostBindings:function(t,r){1&t&&j("click",function(o){return r.clickDetection(o)},0,Lm),2&t&&(Md("id",r.id),Bt("aria-invalid",r.ariaInvalid),gt("material",r.classMaterial)("nostyle",r.classNostyle)("select2-above",r.select2above))},inputs:{data:"data",minCharForSearch:["minCharForSearch","minCharForSearch",ni],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:["limitSelection","limitSelection",ni],listPosition:"listPosition",multiple:["multiple","multiple",St],overlay:["overlay","overlay",St],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:["maxResults","maxResults",ni],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:["infiniteScrollDistance","infiniteScrollDistance",ni],infiniteScrollThrottle:["infiniteScrollThrottle","infiniteScrollThrottle",ni],infiniteScroll:["infiniteScroll","infiniteScroll",St],autoCreate:["autoCreate","autoCreate",St],noLabelTemplate:["noLabelTemplate","noLabelTemplate",St],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:["customSearchEnabled","customSearchEnabled",St],minCountForSearch:["minCountForSearch","minCountForSearch",ni],id:"id",required:["required","required",St],disabled:["disabled","disabled",St],hideSelectedItems:["hideSelectedItems","hideSelectedItems",St],readonly:["readonly","readonly",St],value:"value",tabIndex:["tabIndex","tabIndex",ni],resettable:["resettable","resettable",St],resetSelectedValue:"resetSelectedValue"},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[dd],ngContentSelectors:IL,decls:18,vars:28,consts:[[1,"select2-label",3,"click"],["class","select2-required",4,"ngIf"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"tabindex","click","focus","blur","keydown"],["selection","","trigger","cdkOverlayOrigin"],["role","combobox",1,"select2-selection"],["class","select2-selection__rendered",3,"title",4,"ngIf"],["class","select2-selection__reset","role","presentation",3,"click",4,"ngIf"],["class","select2-selection__arrow","role","presentation",4,"ngIf"],["class","select2-selection__rendered",4,"ngIf"],[4,"ngIf"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions","backdropClick"],["containerTemplate",""],[1,"select2-required"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],[3,"innerHTML",4,"ngIf","ngIfElse"],["template",""],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],["class","select2-selection__placeholder",3,"select2-selection__placeholder__option",4,"ngIf"],["class","select2-selection__choice","tabindex","0",3,"title","keydown.enter",4,"ngFor","ngForOf","ngForTrackBy"],["class","select2-selection__auto-create",3,"focus","blur",4,"ngIf"],["tabindex","0",1,"select2-selection__choice",3,"title","keydown.enter"],["class","select2-selection__choice__remove","role","presentation",3,"click",4,"ngIf"],["templateMultiple",""],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"id","click","keydown","keyup","change"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],["dropdown",""],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"id","value","keydown","keyup","change"],["searchInput",""],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer","scrolled","scrolledUp","keydown"],["results",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","select2-no-result select2-results__option",3,"innerHTML",4,"ngIf"],["class","select2-too-much-result select2-results__option",3,"innerHTML",4,"ngIf"],["class","select2-results__option","role","group",4,"ngIf"],["role","treeitem",3,"id","class","mouseenter","click",4,"ngIf"],["role","group",1,"select2-results__option"],["optGroup",""],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"id","class","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],["role","treeitem",3,"id","mouseenter","click"],["result",""],["class","select2-label-content",3,"innerHTML",4,"ngIf","ngIfElse"],["liGroup",""],[1,"select2-label-content",3,"innerHTML"],["li",""],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"]],template:function(t,r){if(1&t&&(function G_(e){const n=I()[Xe][Tt];if(!n.projection){const r=n.projection=$o(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){const s=e?CT(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(AL),v(0,"div",0),j("click",function(){return r.toggleOpenAndClose()}),yd(1),J(2,z2,1,0,"span",1),_(),v(3,"div",2)(4,"div",3,4),j("click",function(){return r.toggleOpenAndClose()})("focus",function(){return r.focusin()})("blur",function(){return r.focusout()})("keydown",function(o){return r.openKey(o)}),v(7,"div",5),J(8,K2,5,6,"span",6),J(9,X2,2,0,"span",7),J(10,Q2,1,0,"span",8),J(11,sL,4,4,"ul",9),_()(),J(12,lL,2,1,"ng-container",10),v(13,"div",11),yd(14,1),_()(),J(15,uL,1,1,"ng-template",12),j("backdropClick",function(){return r.toggleOpenAndClose()}),J(16,ML,12,25,"ng-template",null,13,bt)),2&t){const i=Ue(6);w(2),x("ngIf",r.required),w(1),gt("select2-container--focus",r.focused)("select2-container--below",!r.select2above)("select2-container--above",r.select2above)("select2-container--open",r.isOpen)("select2-container--disabled",r.disabled),w(1),gt("select2-focused",r.focused),x("tabindex",r.isOpen?"-1":r.tabIndex),w(3),gt("select2-selection--multiple",r.multiple)("select2-selection--single",!r.multiple),w(1),x("ngIf",!r.multiple),w(1),x("ngIf",!r.multiple&&r.resettable&&r.resetSelectedValue!==r.value&&r.select2Option&&!(r.disabled||r.readonly)),w(1),x("ngIf",!r.multiple),w(1),x("ngIf",r.multiple),w(1),x("ngIf",!r.overlay),w(3),x("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",r.isOpen&&r.overlay)("cdkConnectedOverlayMinWidth",r.overlayWidth)("cdkConnectedOverlayHeight",r.overlayHeight)("cdkConnectedOverlayPositions",r._positions)}},dependencies:[Qb,Mh,nC,uD,cD,F2],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-padding, 0 0 0 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99}.select2-required[_ngcontent-%COMP%]:before{content:"*";color:var(--select2-required-color, red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-line-height, 28px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{content:" ";border-color:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;background:var(--select2-material-underline-active, #5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']}),e})(),xL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({imports:[oC,uf,o2,Fw,V2,uf,Fw]}),e})();class PL extends Z{notifyNext(n,t,r,i,o){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class NL extends Z{constructor(n,t,r){super(),this.parent=n,this.outerValue=t,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function kL(e,n,t,r,i=new NL(e,t,r)){if(!i.closed)return n instanceof be?n.subscribe(i):At(n)(i)}const _D={};function Mf(...e){let n,t;return zt(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&h(e[0])&&(e=e[0]),ta(e,t).lift(new FL(n))}class FL{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new LL(n,this.resultSelector))}}class LL extends PL{constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(_D),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Af(...e){return function VL(){return Di(1)}()(ne(...e))}function vD(e){return new be(n=>{let t;try{t=e()}catch(i){return void n.error(i)}return(t?_t(t):df()).subscribe(n)})}function hc(e=null){return n=>n.lift(new HL(e))}class HL{constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new jL(n,this.defaultValue))}}class jL extends Z{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function yD(e=zL){return n=>n.lift(new UL(e))}class UL{constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new $L(n,this.errorFactory))}}class $L extends Z{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function zL(){return new dc}function ui(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Jt((i,o)=>e(i,o,r)):Et,kr(1),t?hc(n):yD(()=>new dc))}function Vs(e,n){return wt(e,n,1)}class WL{constructor(n,t,r=!1){this.accumulator=n,this.seed=t,this.hasSeed=r}call(n,t){return t.subscribe(new qL(n,this.accumulator,this.seed,this.hasSeed))}}class qL extends Z{constructor(n,t,r,i){super(n),this.accumulator=t,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let r;try{r=this.accumulator(this.seed,n,t)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function If(e){return function(t){return 0===e?df():t.lift(new ZL(e))}}class ZL{constructor(n){if(this.total=n,this.total<0)throw new Vw}call(n,t){return t.subscribe(new YL(n,this.total))}}class YL extends Z{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,r=this.total,i=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;on.lift(new eV(e))}class eV{constructor(n){this.callback=n}call(n,t){return t.subscribe(new tV(n,this.callback))}}class tV extends Z{constructor(n,t){super(n),this.add(new A(t))}}const fe="primary",Bs=Symbol("RouteTitle");class nV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function _o(e){return new nV(e)}function rV(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function CD(e){return e.length>0?e[e.length-1]:null}function Lr(e){return function RL(e){return!!e&&(e instanceof be||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:fs(e)?_t(Promise.resolve(e)):ne(e)}const oV={exact:function SD(e,n,t){if(!di(e.segments,n.segments)||!fc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!SD(e.children[r],n.children[r],t))return!1;return!0},subset:ED},wD={exact:function sV(e,n){return er(e,n)},subset:function aV(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>bD(e[t],n[t]))},ignored:()=>!0};function DD(e,n,t){return oV[t.paths](e.root,n.root,t.matrixParams)&&wD[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function ED(e,n,t){return MD(e,n,n.segments,t)}function MD(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!di(i,t)||n.hasChildren()||!fc(i,t,r))}if(e.segments.length===t.length){if(!di(e.segments,t)||!fc(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!ED(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(di(e.segments,i)&&fc(e.segments,i,r)&&e.children[fe])&&MD(e.children[fe],n,o,r)}}function fc(e,n,t){return n.every((r,i)=>wD[t](e[i].parameters,r.parameters))}class vo{constructor(n=new Ne([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return uV.serialize(this)}}class Ne{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pc(this)}}class Hs{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return TD(this)}}function di(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let js=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return new Of},providedIn:"root"}),e})();class Of{parse(n){const t=new CV(n);return new vo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Us(n.root,!0)}`,r=function fV(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${gc(t)}=${gc(i)}`).join("&"):`${gc(t)}=${gc(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams),i="string"==typeof n.fragment?`#${function dV(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${r}${i}`}}const uV=new Of;function pc(e){return e.segments.map(n=>TD(n)).join("/")}function Us(e,n){if(!e.hasChildren())return pc(e);if(n){const t=e.children[fe]?Us(e.children[fe],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==fe&&r.push(`${i}:${Us(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function cV(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===fe&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==fe&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===fe?[Us(e.children[fe],!1)]:[`${i}:${Us(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[fe]?`${pc(e)}/${t[0]}`:`${pc(e)}/(${t.join("//")})`}}function AD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gc(e){return AD(e).replace(/%3B/gi,";")}function xf(e){return AD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function ID(e){return mc(e.replace(/\+/g,"%20"))}function TD(e){return`${xf(e.path)}${function hV(e){return Object.keys(e).map(n=>`;${xf(n)}=${xf(e[n])}`).join("")}(e.parameters)}`}const pV=/^[^\/()?;#]+/;function Rf(e){const n=e.match(pV);return n?n[0]:""}const gV=/^[^\/()?;=#]+/,_V=/^[^=?&#]+/,yV=/^[^&#]+/;class CV{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[fe]=new Ne(n,t)),r}parseSegment(){const n=Rf(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new O(4009,!1);return this.capture(n),new Hs(mc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function mV(e){const n=e.match(gV);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Rf(this.remaining);i&&(r=i,this.capture(r))}n[mc(t)]=mc(r)}parseQueryParam(n){const t=function vV(e){const n=e.match(_V);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function bV(e){const n=e.match(yV);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=ID(t),o=ID(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Rf(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new O(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=fe);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[fe]:new Ne([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new O(4011,!1)}}function OD(e){return e.segments.length>0?new Ne([],{[fe]:e}):e}function xD(e){const n={};for(const r of Object.keys(e.children)){const o=xD(e.children[r]);if(r===fe&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function wV(e){if(1===e.numberOfChildren&&e.children[fe]){const n=e.children[fe];return new Ne(e.segments.concat(n.segments),n.children)}return e}(new Ne(e.segments,n))}function hi(e){return e instanceof vo}function RD(e){let n;const i=OD(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Ne(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function PD(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Pf(i,i,i,t,r);const o=function SV(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new kD(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new kD(t,n,r)}(n);if(o.toRoot())return Pf(i,i,new Ne([],{}),t,r);const s=function EV(e,n,t){if(e.isAbsolute)return new vc(n,!0,0);if(!t)return new vc(n,!1,NaN);if(null===t.parent)return new vc(t,!0,0);const r=_c(e.commands[0])?0:1;return function MV(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new O(4005,!1);i=r.segments.length}return new vc(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?zs(s.segmentGroup,s.index,o.commands):FD(s.segmentGroup,s.index,o.commands);return Pf(i,s.segmentGroup,a,t,r)}function _c(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $s(e){return"object"==typeof e&&null!=e&&e.outlets}function Pf(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:ND(e,n,t);const a=OD(xD(s));return new vo(a,o,i)}function ND(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:ND(o,n,t)}),new Ne(e.segments,r)}class kD{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&_c(r[0]))throw new O(4003,!1);const i=r.find($s);if(i&&i!==CD(r))throw new O(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vc{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function FD(e,n,t){if(e||(e=new Ne([],{})),0===e.segments.length&&e.hasChildren())return zs(e,n,t);const r=function IV(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if($s(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!VD(l,c,s))return o;r+=2}else{if(!VD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=FD(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new Ne(e.segments,i)}}function Nf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Nf(new Ne([],{}),0,r))}),n}function LD(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function VD(e,n,t){return e==t.path&&er(n,t.parameters)}const Gs="imperative";class tr{constructor(n,t){this.id=n,this.url=t}}class kf extends tr{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fi extends tr{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yc extends tr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ws extends tr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Ff extends tr{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class OV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class RV extends tr{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class PV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class NV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kV{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class FV{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class LV{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class VV{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BV{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class HV{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BD{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class jV{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new qs,this.attachRef=null}}let qs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new jV,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class HD{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Lf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=Lf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Vf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Vf(n,this._root).map(t=>t.value)}}function Lf(e,n){if(e===n.value)return n;for(const t of n.children){const r=Lf(e,t);if(r)return r}return null}function Vf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Vf(e,t);if(r.length)return r.unshift(n),r}return[]}class Cr{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function yo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class jD extends HD{constructor(n,t){super(n),this.snapshot=t,Bf(this,n)}toString(){return this.snapshot.toString()}}function UD(e,n){const t=function UV(e,n){const s=new bc([],{},{},"",{},fe,n,null,{});return new zD("",new Cr(s,[]))}(0,n),r=new ze([new Hs("",{})]),i=new ze({}),o=new ze({}),s=new ze({}),a=new ze(""),l=new bo(r,i,s,a,o,fe,n,t.root);return l.snapshot=t.root,new jD(new Cr(l,[]),t)}class bo{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(oe(c=>c[Bs]))??ne(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(oe(n=>_o(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(oe(n=>_o(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $D(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function $V(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class bc{get title(){return this.data?.[Bs]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zD extends HD{constructor(n,t){super(t),this.url=n,Bf(this,t)}toString(){return GD(this._root)}}function Bf(e,n){n.value._routerState=e,n.children.forEach(t=>Bf(e,t))}function GD(e){const n=e.children.length>0?` { ${e.children.map(GD).join(", ")} } `:"";return`${e.value}${n}`}function Hf(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,er(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),er(n.params,t.params)||e.paramsSubject.next(t.params),function iV(e,n){if(e.length!==n.length)return!1;for(let t=0;ter(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||jf(e.parent,n.parent))}let Uf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=W(qs),this.location=W(Cn),this.changeDetector=W(Ds),this.environmentInjector=W(ur),this.inputBinder=W(Cc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new O(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new O(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new O(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new O(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new zV(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ft]}),e})();class zV{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===bo?this.route:n===qs?this.childContexts:this.parent.get(n,t)}}const Cc=new $("");let WD=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Mf([r.queryParams,r.params,r.data]).pipe(nn(([o,s,a],l)=>(a={...o,...s,...a},0===l?ne(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function hR(e){const n=Me(e);if(!n)return null;const t=new ls(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();function Zs(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function WV(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Zs(e,r,i);return Zs(e,r)})}(e,n,t);return new Cr(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Zs(e,a)),s}}const r=function qV(e){return new bo(new ze(e.url),new ze(e.params),new ze(e.queryParams),new ze(e.fragment),new ze(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Zs(e,o));return new Cr(r,i)}}const $f="ngNavigationCancelingError";function qD(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=hi(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ZD(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function ZD(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[$f]=!0,r.cancellationCode=n,t&&(r.url=t),r}function YD(e){return KD(e)&&hi(e.url)}function KD(e){return e&&e[$f]}let XD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ei({type:e,selectors:[["ng-component"]],standalone:!0,features:[cy],decls:1,vars:0,template:function(t,r){1&t&&te(0,"router-outlet")},dependencies:[Uf],encapsulation:2}),e})();function zf(e){const n=e.children&&e.children.map(zf),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==fe&&(t.component=XD),t}function Nn(e){return e.outlet||fe}function Ys(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class eB{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Hf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=yo(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=yo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=yo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=yo(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new HV(o.value.snapshot))}),n.children.length&&this.forwardEvent(new VV(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(Hf(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hf(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ys(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class QD{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class wc{constructor(n,t){this.component=n,this.route=t}}function tB(e,n,t){const r=e._root;return Ks(r,n?n._root:null,t,[r.value])}function Co(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function eE(e){return null!==sa(e)}(e)?n.get(e):e:r}function Ks(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=yo(n);return e.children.forEach(s=>{(function rB(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function iB(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!di(e.url,n.url);case"pathParamsOrQueryParamsChange":return!di(e.url,n.url)||!er(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(e,n)||!er(e.queryParams,n.queryParams);default:return!jf(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new QD(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ks(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new wc(a.outlet.component,s))}else s&&Xs(n,a,i),i.canActivateChecks.push(new QD(r)),Ks(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Xs(a,t.getContext(s),i)),i}function Xs(e,n,t){const r=yo(e),i=e.value;Object.entries(r).forEach(([o,s])=>{Xs(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new wc(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Qs(e){return"function"==typeof e}function JD(e){return e instanceof dc||"EmptyError"===e?.name}const Dc=Symbol("INITIAL_VALUE");function wo(){return nn(e=>Mf(e.map(n=>n.pipe(kr(1),function BL(...e){const n=e[e.length-1];return zt(n)?(e.pop(),t=>Af(e,t,n)):t=>Af(e,t)}(Dc)))).pipe(oe(n=>{for(const t of n)if(!0!==t){if(t===Dc)return Dc;if(!1===t||t instanceof vo)return t}return!0}),Jt(n=>n!==Dc),kr(1)))}function eS(e){return function Mt(...e){return et(e)}(Ze(n=>{if(hi(n))throw qD(0,n)}),oe(n=>!0===n))}class Sc{constructor(n){this.segmentGroup=n||null}}class tS{constructor(n){this.urlTree=n}}function Do(e){return Qn(new Sc(e))}function nS(e){return Qn(new tS(e))}class SB{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new O(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return ne(r);if(i.numberOfChildren>1||!i.children[fe])return Qn(new O(4e3,!1));i=i.children[fe]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new vo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Ne(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new O(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Gf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function EB(e,n,t,r,i){const o=Wf(e,n,t);return o.matched?(r=function ZV(e,n){return e.providers&&!e._injector&&(e._injector=kd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function CB(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?ne(i.map(s=>{const a=Co(s,e);return Lr(function uB(e){return e&&Qs(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(wo(),eS()):ne(!0)}(r,n,t).pipe(oe(s=>!0===s?o:{...Gf}))):ne(o)}function Wf(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Gf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||rV)(t,e,n);if(!i)return{...Gf};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function rS(e,n,t,r){return t.length>0&&function IB(e,n,t){return t.some(r=>Ec(e,n,r)&&Nn(r)!==fe)}(e,t,r)?{segmentGroup:new Ne(n,AB(r,new Ne(t,e.children))),slicedSegments:[]}:0===t.length&&function TB(e,n,t){return t.some(r=>Ec(e,n,r))}(e,t,r)?{segmentGroup:new Ne(e.segments,MB(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Ne(e.segments,e.children),slicedSegments:t}}function MB(e,n,t,r,i){const o={};for(const s of r)if(Ec(e,t,s)&&!i[Nn(s)]){const a=new Ne([],{});o[Nn(s)]=a}return{...i,...o}}function AB(e,n){const t={};t[fe]=n;for(const r of e)if(""===r.path&&Nn(r)!==fe){const i=new Ne([],{});t[Nn(r)]=i}return t}function Ec(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class PB{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new SB(this.urlSerializer,this.urlTree)}noMatchError(n){return new O(4002,!1)}recognize(){const n=rS(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,fe).pipe(ai(t=>{if(t instanceof tS)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Sc?this.noMatchError(t):t}),oe(t=>{const r=new bc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},fe,this.rootComponentType,null,{}),i=new Cr(r,t),o=new zD("",i),s=function DV(e,n,t=null,r=null){return PD(RD(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,fe).pipe(ai(r=>{throw r instanceof Sc?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=$D(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0)}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return _t(i).pipe(Vs(o=>{const s=r.children[o],a=function QV(e,n){const t=e.filter(r=>Nn(r)===n);return t.push(...e.filter(r=>Nn(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function GL(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new WL(e,n,t))}}((o,s)=>(o.push(...s),o)),hc(null),function KL(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Jt((i,o)=>e(i,o,r)):Et,If(1),t?hc(n):yD(()=>new dc))}(),wt(o=>{if(null===o)return Do(r);const s=iS(o);return function NB(e){e.sort((n,t)=>n.value.outlet===fe?-1:t.value.outlet===fe?1:n.value.outlet.localeCompare(t.value.outlet))}(s),ne(s)}))}processSegment(n,t,r,i,o,s){return _t(t).pipe(Vs(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(ai(l=>{if(l instanceof Sc)return ne(null);throw l}))),ui(a=>!!a),ai(a=>{if(JD(a))return function xB(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?ne([]):Do(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function OB(e,n,t,r){return!!(Nn(e)===r||r!==fe&&Ec(n,t,e))&&("**"===e.path||Wf(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Do(i):Do(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?nS(o):this.applyRedirects.lineralizeSegments(r,o).pipe(wt(s=>{const a=new Ne(s,{});return this.processSegment(n,t,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Wf(t,i,o);if(!a)return Do(t);const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?nS(d):this.applyRedirects.lineralizeSegments(i,d).pipe(wt(p=>this.processSegment(n,r,t,p.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o,s){let a;if("**"===r.path){const l=i.length>0?CD(i).parameters:{};a=ne({snapshot:new bc(i,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oS(r),Nn(r),r.component??r._loadedComponent??null,r,sS(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=EB(t,r,i,n).pipe(oe(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new bc(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oS(r),Nn(r),r.component??r._loadedComponent??null,r,sS(r)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(nn(l=>null===l?Do(t):this.getChildConfig(n=r._injector??n,r,i).pipe(nn(({routes:c})=>{const u=r._loadedInjector??n,{snapshot:d,consumedSegments:p,remainingSegments:g}=l,{segmentGroup:y,slicedSegments:S}=rS(t,p,g,c);if(0===S.length&&y.hasChildren())return this.processChildren(u,c,y).pipe(oe(V=>null===V?null:[new Cr(d,V)]));if(0===c.length&&0===S.length)return ne([new Cr(d,[])]);const T=Nn(r)===o;return this.processSegment(u,c,y,S,T?fe:o,!0).pipe(oe(V=>[new Cr(d,V)]))}))))}getChildConfig(n,t,r){return t.children?ne({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?ne({routes:t._loadedRoutes,injector:t._loadedInjector}):function bB(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?ne(!0):ne(i.map(s=>{const a=Co(s,e);return Lr(function sB(e){return e&&Qs(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(wo(),eS())}(n,t,r).pipe(wt(i=>i?this.configLoader.loadChildren(n,t).pipe(Ze(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function DB(e){return Qn(ZD(!1,3))}())):ne({routes:[],injector:n})}}function kB(e){const n=e.value.routeConfig;return n&&""===n.path}function iS(e){const n=[],t=new Set;for(const r of e){if(!kB(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=iS(r.children);n.push(new Cr(r.value,i))}return n.filter(r=>!t.has(r))}function oS(e){return e.data||{}}function sS(e){return e.resolve||{}}function aS(e){return"string"==typeof e.title||null===e.title}function qf(e){return nn(n=>{const t=e(n);return t?_t(t).pipe(oe(()=>n)):ne(n)})}const So=new $("ROUTES");let Zf=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=W(tb)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ne(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Lr(t.loadComponent()).pipe(oe(lS),Ze(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Tf(()=>{this.componentLoaders.delete(t)})),i=new xc(r,()=>new je).pipe(na());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ne({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(oe(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c;return Array.isArray(a)?c=a:(l=a.create(t).injector,c=l.get(So,[],Q.Self|Q.Optional).flat()),{routes:c.map(zf),injector:l}}),Tf(()=>{this.childrenLoaders.delete(r)})),s=new xc(o,()=>new je).pipe(na());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return Lr(t()).pipe(oe(lS),wt(r=>r instanceof ay||Array.isArray(r)?ne(r):_t(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function lS(e){return function UB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Mc=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new je,this.configLoader=W(Zf),this.environmentInjector=W(ur),this.urlSerializer=W(js),this.rootContexts=W(qs),this.inputBindingEnabled=null!==W(Cc,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ne(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new FV(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new kV(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new ze({id:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Gs,restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Jt(r=>0!==r.id),oe(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),nn(r=>{let i=!1,o=!1;return ne(r).pipe(Ze(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),nn(s=>{const a=t.browserUrlTree.toString(),l=!t.navigated||s.extractedUrl.toString()!==a||a!==t.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Ws(s.id,t.serializeUrl(r.rawUrl),u,0)),t.rawUrlTree=s.rawUrl,s.resolve(null),br}if(t.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return cS(s.source)&&(t.browserUrlTree=s.extractedUrl),ne(s).pipe(nn(u=>{const d=this.transitions?.getValue();return this.events.next(new kf(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?br:Promise.resolve(u)}),function FB(e,n,t,r,i,o){return wt(s=>function RB(e,n,t,r,i,o,s="emptyOnly"){return new PB(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(oe(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Ze(u=>{if(r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},"eager"===t.urlUpdateStrategy){if(!u.extras.skipLocationChange){const p=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);t.setBrowserUrl(p,u)}t.browserUrlTree=u.urlAfterRedirects}const d=new OV(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:u,extractedUrl:d,source:p,restoredState:g,extras:y}=s,S=new kf(u,this.urlSerializer.serialize(d),p,g);this.events.next(S);const T=UD(0,this.rootComponentType).snapshot;return ne(r={...s,targetSnapshot:T,urlAfterRedirects:d,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new Ws(s.id,t.serializeUrl(r.extractedUrl),u,1)),t.rawUrlTree=s.rawUrl,s.resolve(null),br}}),Ze(s=>{const a=new xV(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),oe(s=>r={...s,guards:tB(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function hB(e,n){return wt(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?ne({...t,guardsResult:!0}):function fB(e,n,t,r){return _t(e).pipe(wt(i=>function yB(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ne(o.map(a=>{const l=Ys(n)??i,c=Co(a,l);return Lr(function cB(e){return e&&Qs(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(ui())})).pipe(wo()):ne(!0)}(i.component,i.route,t,n,r)),ui(i=>!0!==i,!0))}(s,r,i,e).pipe(wt(a=>a&&function oB(e){return"boolean"==typeof e}(a)?function pB(e,n,t,r){return _t(n).pipe(Vs(i=>Af(function mB(e,n){return null!==e&&n&&n(new LV(e)),ne(!0)}(i.route.parent,r),function gB(e,n){return null!==e&&n&&n(new BV(e)),ne(!0)}(i.route,r),function vB(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function nB(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>vD(()=>ne(s.guards.map(l=>{const c=Ys(s.node)??t,u=Co(l,c);return Lr(function lB(e){return e&&Qs(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(ui())})).pipe(wo())));return ne(o).pipe(wo())}(e,i.path,t),function _B(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return ne(!0);const i=r.map(o=>vD(()=>{const s=Ys(n)??t,a=Co(o,s);return Lr(function aB(e){return e&&Qs(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(ui())}));return ne(i).pipe(wo())}(e,i.route,t))),ui(i=>!0!==i,!0))}(r,o,e,n):ne(a)),oe(a=>({...t,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Ze(s=>{if(r.guardsResult=s.guardsResult,hi(s.guardsResult))throw qD(0,s.guardsResult);const a=new RV(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Jt(s=>!!s.guardsResult||(t.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),qf(s=>{if(s.guards.canActivateChecks.length)return ne(s).pipe(Ze(a=>{const l=new PV(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),nn(a=>{let l=!1;return ne(a).pipe(function LB(e,n){return wt(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return ne(t);let o=0;return _t(i).pipe(Vs(s=>function VB(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!aS(i)&&(o[Bs]=i.title),function BB(e,n,t,r){const i=function HB(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return ne({});const o={};return _t(i).pipe(wt(s=>function jB(e,n,t,r){const i=Ys(n)??r,o=Co(e,i);return Lr(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(ui(),Ze(a=>{o[s]=a}))),If(1),function XL(e){return n=>n.lift(new QL(e))}(o),ai(s=>JD(s)?br:Qn(s)))}(o,e,n,r).pipe(oe(s=>(e._resolvedData=s,e.data=$D(e,t).resolve,i&&aS(i)&&(e.data[Bs]=i.title),null)))}(s.route,r,e,n)),Ze(()=>o++),If(1),wt(s=>o===i.length?ne(t):br))})}(t.paramsInheritanceStrategy,this.environmentInjector),Ze({next:()=>l=!0,complete:()=>{l||(t.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Ze(a=>{const l=new NV(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),qf(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ze(u=>{l.component=u}),oe(()=>{})));for(const u of l.children)c.push(...a(u));return c};return Mf(a(s.targetSnapshot.root)).pipe(hc(),kr(1))}),qf(()=>this.afterPreactivation()),oe(s=>{const a=function GV(e,n,t){const r=Zs(e,n._root,t?t._root:void 0);return new jD(r,n)}(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Ze(s=>{t.currentUrlTree=s.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),t.routerState=s.targetRouterState,"deferred"===t.urlUpdateStrategy&&(s.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,s),t.browserUrlTree=s.urlAfterRedirects)}),((e,n,t,r)=>oe(i=>(new eB(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),kr(1),Ze({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new fi(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),Tf(()=>{i||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),ai(s=>{if(o=!0,KD(s)){YD(s)||(t.navigated=!0,t.restoreHistory(r,!0));const a=new yc(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),YD(s)){const l=t.urlHandlingStrategy.merge(s.url,t.rawUrlTree),c={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||cS(r.source)};t.scheduleNavigation(l,Gs,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const a=new Ff(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(t.errorHandler(s))}catch(l){r.reject(l)}}return br}))}))}cancelNavigationTransition(t,r,i){const o=new yc(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cS(e){return e!==Gs}let uS=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===fe);return r}getResolvedTitleForRoute(t){return t.data[Bs]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W($B)},providedIn:"root"}),e})(),$B=(()=>{class e extends uS{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(t){return new(t||e)(P(MC))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(WB)},providedIn:"root"}),e})();class GB{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let WB=(()=>{class e extends GB{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ac=new $("",{providedIn:"root",factory:()=>({})});let qB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(ZB)},providedIn:"root"}),e})(),ZB=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var gn=(()=>((gn=gn||{})[gn.COMPLETE=0]="COMPLETE",gn[gn.FAILED=1]="FAILED",gn[gn.REDIRECTING=2]="REDIRECTING",gn))();function dS(e,n){e.events.pipe(Jt(t=>t instanceof fi||t instanceof yc||t instanceof Ff||t instanceof Ws),oe(t=>t instanceof fi||t instanceof Ws?gn.COMPLETE:t instanceof yc&&(0===t.code||1===t.code)?gn.REDIRECTING:gn.FAILED),Jt(t=>t!==gn.REDIRECTING),kr(1)).subscribe(()=>{n()})}function YB(e){throw e}function KB(e,n,t){return n.parse("/")}const XB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},QB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=W(Jy),this.isNgZoneEnabled=!1,this.options=W(Ac,{optional:!0})||{},this.pendingTasks=W(eb),this.errorHandler=this.options.errorHandler||YB,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||KB,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=W(qB),this.routeReuseStrategy=W(zB),this.titleStrategy=W(uS),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=W(So,{optional:!0})?.flat()??[],this.navigationTransitions=W(Mc),this.urlSerializer=W(js),this.location=W(Ol),this.componentInputBindingEnabled=!!W(Cc,{optional:!0}),this.isNgZoneEnabled=W(Ie)instanceof Ie&&Ie.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=UD(0,null),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId??0},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Gs,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(zf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=RD(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return PD(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=hi(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Gs,null,r)}navigate(t,r={skipLocationChange:!1}){return function JB(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,p)=>{a=d,l=p});const u=this.pendingTasks.add();return dS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ic=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new je,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof fi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function pm(e,n,t){return function sA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?fm:hm}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(M(Sn),M(bo),Bo("tabindex"),M(hr),M(ft),M(ri))},e.\u0275dir=X({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,r){1&t&&j("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&Bt("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",St],skipLocationChange:["skipLocationChange","skipLocationChange",St],replaceUrl:["replaceUrl","replaceUrl",St],routerLink:"routerLink"},standalone:!0,features:[dd,Ft]}),e})(),hS=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,o,s){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ge,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof fi&&this.update()})}ngAfterContentInit(){ne(this.links.changes,ne(null)).pipe(Di()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=_t(t).pipe(Di()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function eH(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Sn),M(ft),M(hr),M(Ds),M(Ic,8))},e.\u0275dir=X({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,i){if(1&t&&function Py(e,n,t,r){const i=Ce();if(i.firstCreatePass){const o=Dt();ky(i,new xy(n,t,r),o.index),function ex(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}Ny(i,I(),t)}(i,Ic,5),2&t){let o;Ir(o=Tr())&&(r.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ft]}),e})();class fS{}let tH=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Jt(t=>t instanceof fi),Vs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=kd(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return _t(i).pipe(Di())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ne(null);const o=i.pipe(wt(s=>null===s?ne(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?_t([o,this.loader.loadComponent(r)]).pipe(Di()):o})}}return e.\u0275fac=function(t){return new(t||e)(P(Sn),P(tb),P(ur),P(fS),P(Zf))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yf=new $("");let pS=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof kf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof fi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Ws&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof BD&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new BD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(t){!function Qm(){throw new Error("invalid")}()},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();function wr(e,n){return{\u0275kind:e,\u0275providers:n}}function mS(){const e=W(dn);return n=>{const t=e.get(ei);if(n!==t.components[0])return;const r=e.get(Sn),i=e.get(_S);1===e.get(Kf)&&r.initialNavigation(),e.get(vS,null,Q.Optional)?.setUpPreloading(),e.get(Yf,null,Q.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const _S=new $("",{factory:()=>new je}),Kf=new $("",{providedIn:"root",factory:()=>1}),vS=new $("");function oH(e){return wr(0,[{provide:vS,useExisting:tH},{provide:fS,useExisting:e}])}const yS=new $("ROUTER_FORROOT_GUARD"),aH=[Ol,{provide:js,useClass:Of},Sn,qs,{provide:bo,useFactory:function gS(e){return e.routerState.root},deps:[Sn]},Zf,[]];function lH(){return new hb("Router",Sn)}let bS=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[aH,[],{provide:So,multi:!0,useValue:t},{provide:yS,useFactory:hH,deps:[[Sn,new xa,new Ra]]},{provide:Ac,useValue:r||{}},r?.useHash?{provide:ri,useClass:_R}:{provide:ri,useClass:Hb},{provide:Yf,useFactory:()=>{const e=W(FP),n=W(Ie),t=W(Ac),r=W(Mc),i=W(js);return t.scrollOffset&&e.setOffset(t.scrollOffset),new pS(i,r,e,n,t)}},r?.preloadingStrategy?oH(r.preloadingStrategy).\u0275providers:[],{provide:hb,multi:!0,useFactory:lH},r?.initialNavigation?fH(r):[],r?.bindToComponentInputs?wr(8,[WD,{provide:Cc,useExisting:WD}]).\u0275providers:[],[{provide:CS,useFactory:mS},{provide:oh,multi:!0,useExisting:CS}]]}}static forChild(t){return{ngModule:e,providers:[{provide:So,multi:!0,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)(P(yS,8))},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({}),e})();function hH(e){return"guarded"}function fH(e){return["disabled"===e.initialNavigation?wr(3,[{provide:Xd,multi:!0,useFactory:()=>{const n=W(Sn);return()=>{n.setUpLocationChangeListener()}}},{provide:Kf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?wr(2,[{provide:Kf,useValue:0},{provide:Xd,multi:!0,deps:[dn],useFactory:n=>{const t=n.get(gR,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Sn),o=n.get(_S);dS(i,()=>{r(!0)}),n.get(Mc).afterPreactivation=()=>(r(!0),o.closed?ne(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const CS=new $("");let gH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(t,r){1&t&&(v(0,"a",0),b(1,"the source code of the demo"),_(),v(2,"nav")(3,"ul")(4,"li")(5,"a",1),b(6,"Examples"),_()(),v(7,"li")(8,"a",2),b(9,"Code generator"),_()()()(),te(10,"router-outlet"))},dependencies:[Uf,Ic,hS],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px}\n"],encapsulation:2}),e})();const pi=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],Xf=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],Tc=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],mH=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],_H=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],vH=[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}],yH=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],Qf=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"},{value:"foo9",label:"foo9",hide:!0}],bH=[{value:!0,label:"true"},{value:!1,label:"false"}],CH=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],wH=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],wS=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],DS=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],SS=[];for(let e=1;e<=50;e++)SS.push({value:e,label:">"+e});const ES=[];for(let e=1;e<=200;e++)ES.push({value:e,label:"item n\xb0 "+e});const MS=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],DH=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xe7ais"},{value:"japanese",label:"Japonais"}],SH=[{value:"english",label:"\u82f1\u8a9e"},{value:"french",label:"\u30d5\u30e9\u30f3\u30b9\u8a9e"},{value:"japanese",label:"\u65e5\u672c\u8a9e"}];let AS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["select2-hint"]]}),e})(),IS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["select2-label"]]}),e})();function EH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),he(": ",null==t?null:t.name,"")}}function MH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),he(": ",null==t?null:t.name,"")}}function AH(e,n){if(1&e&&(v(0,"strong"),b(1),_()),2&e){const t=n.label;w(1),he("(",t,")")}}function IH(e,n){if(1&e&&(v(0,"span"),b(1),_()),2&e){const t=n.data;pl("background",null==t?null:t.color),w(1),fn(null==t?null:t.name)}}function TH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),he(": ",null==t?null:t.name,"")}}function OH(e,n){1&e&&(b(0),bl(1,"json")),2&e&&fn(Cl(1,1,n.data))}const xH=function(e,n){return{option:e,group:n}},RH=function(e,n,t){return{template1:e,template2:n,template3:t}};let TS=(()=>{class e{constructor(t){this.fb=t,this.data1=pi,this.data2=Xf,this.data3=Tc,this.data4=JSON.parse(JSON.stringify(Tc)),this.data5=mH,this.data6=_H,this.data7=JSON.parse(JSON.stringify(Tc)),this.data8=[],this.data9=JSON.parse(JSON.stringify(pi)),this.data10=JSON.parse(JSON.stringify(pi)),this.data11=JSON.parse(JSON.stringify(pi)),this.data12=JSON.parse(JSON.stringify(pi)),this.data13=bH,this.data15=Xf,this.data16=Xf,this.data17=CH,this.data18=yH,this.data19=Qf,this.data20=JSON.parse(JSON.stringify(Qf)),this.data21=JSON.parse(JSON.stringify(Qf)),this.data22=wH,this.data23=wS,this.data24=DS,this.data25=JSON.parse(JSON.stringify(wS)),this.data26=SS,this.data28=ES,this.data29=JSON.parse(JSON.stringify(Tc)),this.data29b=JSON.parse(JSON.stringify(pi)),this.data30=JSON.parse(JSON.stringify(pi)),this.data31=MS,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.limitSelection=0,this.overlay=!1,this.fg=new YN({state:new ye}),this.ctrlForm=this.fb.group({test11:new ye(null,NC.required)}),this.ctrlForm2=this.fb.group({test5:new ye(0,NC.required)}),this.fg.patchValue(this.formData())}addItem(){const t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}open(t,r){console.log(t,r)}close(t,r){console.log(t,r)}focus(t,r){console.log(t,r)}blur(t,r){console.log(t,r)}change(t,r){console.log(t,r)}search(t,r){console.log(t,r)}open8(){this.data8=vH}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(r=>r.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){const t=this.ctrlForm.get("test11");t&&t.reset()}change11(){const t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),"down"===t.way&&!t.search){const r=this.data26.length;for(let i=1+r;i<=50+r;i++)this.data26.push({value:i,label:">"+i})}}update(t,r){this[t]=r.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=MS;break;case"french":this.data31=DH;break;case"japanese":this.data31=SH}}}return e.\u0275fac=function(t){return new(t||e)(M(kw))},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:175,vars:154,consts:[["for","disabled"],["id","disabled","type","checkbox",3,"ngModel","ngModelChange"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"overlay","data","value","update","change","blur","focus","open","close","search"],["id","ex-2"],["id","selec2-2",3,"overlay","data","value","update"],["id","ex-3"],["id","selec2-3",3,"overlay","data","value","update"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"overlay","data","minCountForSearch","update"],["id","ex-6"],["size","3","value","7"],["limit",""],["status",""],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"overlay","data","value","minCountForSearch","displaySearchStatus","update"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"overlay","data","update"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"overlay","data","open","close","search","update"],["id","ex-9"],["type","number",3,"ngModel","ngModelChange"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"overlay","data","value","limitSelection","update","blur","focus","open","close","search"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"overlay","data","value","update"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"overlay","ngModel","data","ngModelChange"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"overlay","data","value","update"],["id","ex-13"],["id","selec2-13",3,"overlay","data","value","update"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"overlay","data"],["id","ex-15"],["id","selec2-15",3,"overlay","data","value","update"],["id","ex-16"],["required","","id","selec2-16",3,"overlay","data","value","update"],["id","ex-17"],["id","select2-17",3,"overlay","data","value","update"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"overlay","data","value","update"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"overlay","data","value","update"],[1,"noStyle"],["id","ex-20"],["listPosition","above","styleMode","noStyle","id","selec2-20",3,"overlay","data","value","update"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"overlay","data","value","update"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"overlay","data","value","update"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"overlay","data","value","templates","update"],["template",""],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"overlay","data","value","templates","update"],["templateOption",""],["templateGroup",""],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"overlay","data","value","templates","update"],["template1",""],["template2",""],["template3",""],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"overlay","data","value","update","scroll"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"overlay","data","value","update"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"overlay","data","value","update"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"overlay","data","value","update"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"overlay","data","value","update"],["id","ex-30"],["resettable","","resetSelectedValue","CA","id","selec2-30",3,"overlay","data","value","update"],["id","ex-31"],[3,"change"],["select",""],["id","selec2-31",3,"overlay","data","value","update"],["id","selec2-31b",3,"overlay","data","ngModel","ngModelChange","update"],["id","ex-32"],["resettable","","autoCreat","","resetSelectedValue","CA","id","selec2-32",3,"overlay","data","value","autoCreateItem"]],template:function(t,r){if(1&t){const i=Zn();v(0,"h2"),b(1,"Examples"),_(),v(2,"label",0),b(3,"overlay : "),_(),v(4,"input",1),j("ngModelChange",function(s){return r.overlay=s}),_(),v(5,"div",2)(6,"h3",3),b(7),_(),v(8,"select2",4),j("update",function(s){return r.update("value1",s)})("change",function(s){return r.change("change1",s)})("blur",function(s){return r.blur("blur1",s)})("focus",function(s){return r.focus("focus1",s)})("open",function(s){return r.open("open1",s)})("close",function(s){return r.close("close1",s)})("search",function(s){return r.search("search1",s)}),_(),v(9,"h3",5),b(10),_(),v(11,"select2",6),j("update",function(s){return r.update("value2",s)}),_(),v(12,"h3",7),b(13),_(),v(14,"select2",8),j("update",function(s){return r.update("value3",s)}),_(),v(15,"h3",9),b(16),_(),te(17,"select2",10),v(18,"h3",11),b(19),_(),v(20,"form",12)(21,"select2",13),j("update",function(s){return r.update("value5",s)}),_()(),v(22,"h3",14),b(23," 6. search limit to "),te(24,"input",15,16),b(26," / display status "),v(27,"select",null,17)(29,"option",18),b(30,"default"),_(),v(31,"option"),b(32,"hidden"),_(),v(33,"option"),b(34,"always"),_()(),b(35),_(),v(36,"div")(37,"button",19),j("click",function(){return r.addItem()}),b(38,"Add item"),_(),v(39,"button",19),j("click",function(){return r.removeItem()}),b(40,"Remove item"),_()(),v(41,"select2",20),j("update",function(s){return r.update("value6",s)}),_(),v(42,"h3",21),b(43),_(),v(44,"select2",22),j("update",function(s){return r.update("value7",s)}),_(),v(45,"h3",23),b(46),_(),v(47,"select2",24),j("open",function(){return r.open8()})("close",function(){return r.close8()})("search",function(s){return r.search8(s)})("update",function(s){return r.update("value8",s)}),v(48,"select2-hint"),b(49),_()(),v(50,"h3",25),b(51,"9. multiple + limite "),v(52,"input",26),j("ngModelChange",function(s){return r.limitSelection=s}),_(),b(53),bl(54,"json"),_(),v(55,"select2",27),j("update",function(s){return r.update("value9",s)})("blur",function(s){return r.blur("blur9",s)})("focus",function(s){return r.focus("focus9",s)})("open",function(s){return r.open("open9",s)})("close",function(s){return r.close("close9",s)})("search",function(s){return r.search("search9",s)}),_(),v(56,"h3",28),b(57),bl(58,"json"),_(),v(59,"select2",29),j("update",function(s){return r.update("value10",s)}),_(),v(60,"h3",30),b(61),_(),v(62,"form",12)(63,"select2",31),j("ngModelChange",function(s){return r.value11=s}),_(),v(64,"button",32),j("click",function(){return r.reset11()}),b(65,"reset"),_(),v(66,"button",32),j("click",function(){return r.change11()}),b(67,"Utah"),_()(),v(68,"h3",33),b(69),_(),v(70,"select2",34),j("update",function(s){return r.update("value12",s)}),_(),v(71,"h3",35),b(72),_(),v(73,"select2",36),j("update",function(s){return r.update("value13",s)}),_(),v(74,"h3",37),b(75,"14. FormControl"),_(),v(76,"form",12),te(77,"select2",38),v(78,"button",32),j("click",function(){return r.print()}),b(79,"Log Selected"),_(),v(80,"button",32),j("click",function(){return r.resetForm()}),b(81,"Reset Form"),_()(),v(82,"h3",39),b(83),_(),v(84,"select2",40),j("update",function(s){return r.update("value15",s)}),v(85,"select2-label"),b(86,"Select a state"),_()(),v(87,"h3",41),b(88),_(),v(89,"select2",42),j("update",function(s){return r.update("value16",s)}),v(90,"select2-label"),b(91,"Select a state"),_()(),v(92,"h3",43),b(93),_(),v(94,"select2",44),j("update",function(s){return r.update("value17",s)}),_(),v(95,"h3",45),b(96,"18. search starts with 3 chars"),_(),v(97,"select2",46),j("update",function(s){return r.update("value18",s)}),_(),v(98,"h3",47),b(99),_(),v(100,"select2",48),j("update",function(s){return r.update("value19",s)}),_(),v(101,"div",49)(102,"h3",50),b(103),_(),v(104,"select2",51),j("update",function(s){return r.update("value20",s)}),_()(),v(105,"h3",52),b(106),_(),v(107,"select2",53),j("update",function(s){return r.update("value21",s)}),_(),v(108,"button",32),j("click",function(){return r.value21=""}),b(109,"Update value to empty string"),_(),v(110,"button",32),j("click",function(){return r.value21=null}),b(111,"Update value to null"),_(),v(112,"button",32),j("click",function(){return r.value21=void 0}),b(113,"Update value to undefined"),_(),v(114,"h3",54),b(115),_(),v(116,"select2",55),j("update",function(s){return r.update("value22",s)}),_(),v(117,"h3",56),b(118),_(),v(119,"select2",57),j("update",function(s){return r.update("value23",s)}),J(120,EH,3,2,"ng-template",null,58,bt),_(),v(122,"h3",59),b(123),_(),v(124,"select2",60),j("update",function(s){return r.update("value24",s)}),J(125,MH,3,2,"ng-template",null,61,bt),J(127,AH,2,1,"ng-template",null,62,bt),_(),v(129,"h3",63),b(130),_(),v(131,"select2",64),j("update",function(s){return r.update("value25",s)}),J(132,IH,2,3,"ng-template",null,65,bt),J(134,TH,3,2,"ng-template",null,66,bt),J(136,OH,2,3,"ng-template",null,67,bt),_(),v(138,"h3",68),b(139),_(),v(140,"select2",69),j("update",function(s){return r.update("value26",s)})("scroll",function(s){return r.scroll26(s)}),_(),v(141,"h3",70),b(142),_(),v(143,"select2",71),j("update",function(s){return r.update("value2",s)}),_(),v(144,"h3",72),b(145),_(),v(146,"select2",73),j("update",function(s){return r.update("value28",s)}),_(),v(147,"h3",74),b(148),_(),v(149,"select2",75),j("update",function(s){return r.update("value29",s)}),_(),v(150,"h3",76),b(151),_(),v(152,"select2",77),j("update",function(s){return r.update("value29b",s)}),_(),v(153,"h3",78),b(154),_(),v(155,"select2",79),j("update",function(s){return r.update("value30",s)}),_(),v(156,"h3",80),b(157),_(),v(158,"select",81,82),j("change",function(){xe(i);const s=Ue(159);return Re(r.changeData31(s.value))}),v(160,"option"),b(161,"english"),_(),v(162,"option"),b(163,"french"),_(),v(164,"option"),b(165,"japanese"),_()(),te(166,"br"),b(167," Value : "),v(168,"select2",83),j("update",function(s){return r.update("value31",s)}),_(),te(169,"br"),b(170," NgModel : "),v(171,"select2",84),j("ngModelChange",function(s){return r.value31b=s})("update",function(s){return r.update("value31b",s)}),_(),v(172,"h3",85),b(173),_(),v(174,"select2",86),j("autoCreateItem",function(s){return r.update("value32",s)}),_()()}if(2&t){const i=Ue(25),o=Ue(28),s=Ue(121),a=Ue(126),l=Ue(128),c=Ue(133),u=Ue(135),d=Ue(137);w(4),x("ngModel",r.overlay),w(3),he("1. options in group (",r.value1,")"),w(1),x("overlay",r.overlay)("data",r.data1)("value",r.value1),w(2),he("2. options (",r.value2,")"),w(1),x("overlay",r.overlay)("data",r.data2)("value",r.value2),w(2),he("3. less options (",r.value3,")"),w(1),x("overlay",r.overlay)("data",r.data3)("value",r.value3),w(2),he("4. disabled (",r.value4,")"),w(1),x("overlay",r.overlay)("data",r.data4)("value",r.value4)("disabled",!0),w(2),he("5. hide search box (",r.value5,")"),w(1),x("formGroup",r.ctrlForm2),w(1),x("overlay",r.overlay)("data",r.data5)("minCountForSearch",r.minCountForSearch),w(14),he(" (",r.value6,") "),w(6),x("overlay",r.overlay)("data",r.data6)("value",r.value6)("minCountForSearch",i.value)("displaySearchStatus",o.value),w(2),he("7. placeholder (",r.value7,")"),w(1),x("overlay",r.overlay)("data",r.data7),w(2),he("8. open, close and search event (",r.value8,")"),w(1),x("overlay",r.overlay)("data",r.data8),w(2),he("value : ",r.value8,""),w(3),x("ngModel",r.limitSelection),w(1),he(" (",Cl(54,143,r.value9),")"),w(2),x("overlay",r.overlay)("data",r.data9)("value",r.value9)("limitSelection",r.limitSelection),w(2),he("10. multiple + hide selected items (",Cl(58,145,r.value10),")"),w(2),x("overlay",r.overlay)("data",r.data10)("value",r.value10),w(2),he("11. material style and form binding (",r.value11,")"),w(1),x("formGroup",r.ctrlForm),w(1),x("overlay",r.overlay)("ngModel",r.value11)("data",r.data11),w(6),he("12. material style (",r.value12,")"),w(1),x("overlay",r.overlay)("data",r.data12)("value",r.value12),w(2),he("13. boolean value (",r.value13,")"),w(1),x("overlay",r.overlay)("data",r.data13)("value",r.value13),w(3),x("formGroup",r.fg),w(1),x("overlay",r.overlay)("data",r.data9),w(6),he("15. with label (",r.value15,")"),w(1),x("overlay",r.overlay)("data",r.data15)("value",r.value15),w(4),he("16. required with label (",r.value16,")"),w(1),x("overlay",r.overlay)("data",r.data16)("value",r.value16),w(4),he("17. with two option labels (",r.value17,")"),w(1),x("overlay",r.overlay)("data",r.data17)("value",r.value17),w(3),x("overlay",r.overlay)("data",r.data18)("value",r.value18),w(2),he("19. dropdown list position above (",r.value19,")"),w(1),x("overlay",r.overlay)("data",r.data19)("value",r.value19),w(3),he("20. nostyle (",r.value20,")"),w(1),x("overlay",r.overlay)("data",r.data20)("value",r.value20),w(2),he("21. update to empty/null/undefined (",r.value21,")"),w(1),x("overlay",r.overlay)("data",r.data21)("value",r.value21),w(8),he("22. with item classes and id (",r.value22,")"),w(1),x("overlay",r.overlay)("data",r.data22)("value",r.value22),w(2),he("23. with template (",r.value23,")"),w(1),x("overlay",r.overlay)("data",r.data23)("value",r.value23)("templates",s),w(4),he("24. with template (option / group) (",r.value24,")"),w(1),x("overlay",r.overlay)("data",r.data24)("value",r.value24)("templates",my(147,xH,a,l)),w(6),he("25. with templates Ids (",r.value25,")"),w(1),x("overlay",r.overlay)("data",r.data25)("value",r.value25)("templates",_y(150,RH,c,u,d)),w(8),he("26. infiniteScroll(",r.value26,")"),w(1),x("overlay",r.overlay)("data",r.data26)("value",r.value26),w(2),he("27. position (",r.value2,")"),w(1),x("overlay",r.overlay)("data",r.data2)("value",r.value2),w(2),he("28. max results 50 (",r.value28,")"),w(1),x("overlay",r.overlay)("data",r.data28)("value",r.value28),w(2),he("29. option autocreate (",r.value29,")"),w(1),x("overlay",r.overlay)("data",r.data29)("value",r.value29),w(2),he("29b. option autocreate search search (",r.value29b,")"),w(1),x("overlay",r.overlay)("data",r.data29b)("value",r.value29b),w(2),he("30. selected option when \xd7 is clicked (",r.value30,")"),w(1),x("overlay",r.overlay)("data",r.data30)("value",r.value30),w(2),he("31. change list (",r.value31,")"),w(11),x("overlay",r.overlay)("data",r.data31)("value",r.value31),w(3),x("overlay",r.overlay)("data",r.data31)("ngModel",r.value31b),w(2),he("32. auto create when (",r.value30,")"),w(1),x("overlay",r.overlay)("data",r.data30)("value",r.value30)}},dependencies:[gw,sf,lf,Ts,rc,Gl,zh,Gh,ef,go,ic,AS,IS,mD,rC],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']}),e})();class PH{constructor(n,t={}){this.json=n,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,t)}toString(){let n="";const t="inline"===this.options.formatting;return Array.isArray(this.json)?this.json.forEach((r,i)=>{n+=`${i>0&&!t?"\n":""}${this._getSpacing(0)}${this._generate(0,r,t)}`}):n=`${this._getSpacing(0)}${this._generate(0,this.json,t)}`,n}_generate(n,t,r=!1){const i=!this.options.noContentTags.includes(t.tag.toLowerCase()),o=i&&!t.autoclose||!this._modeXML()?"":"/";let s=`<${t.tag}${this._generateAttrs(n,t,r||t.inline)}${o}>`;if(i&&!t.autoclose){let a=this._generateBody(n,t,r||t.inline);a&&this._hasMultiline()&&!(r||t.inline)&&(a=`${a}\n${this._getSpacing(n)}`),s+=a,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(t.tag.toLowerCase()))&&(s+=``)}return s}_generateAttrs(n,t,r){let i="";const o=t.attrs;if(o&&Object.keys(o).length){const s=Object.values(t.attrs).filter(u=>void 0!==u).length,a=(this.options.wrapAttrNumber??1){const g=o[u];if(void 0!==g){const y=`${u}${null!==g||g?`="${String(g).replace(/"/g,""e;")}"`:""}`;let S="",T="";const[V,D]=a.split(" ");switch(V){case"inline":if(!this.options.maxLength||(l.replace(/\n/g,"")+(c>1?" ":"")+y+(d===p.length-1?">":"")).length{i+=this._generateBodyElement(n,o,!1,r)}):i+=this._generateBodyElement(n,t.body,!0,r)),i}_generateBodyElement(n,t,r,i=!1){let o="";return this._hasMultiline()&&!i&&(o+=`\n${this._getSpacing(n+1)}`),!r&&this._modeXML()&&"string"==typeof t&&(t={tag:this.options.xmlDefaultTag,body:t}),o+="string"==typeof t?this._formatText(n+1,t,i):this._generate(n+1,t,i),o}_formatText(n,t,r=!1){let i="";const o=this._getSpacing(n);if(!r&&this.options.maxLength){const s=t.split("\n");for(const a of s){let l="";if((o+a).length>this.options.maxLength){const c=a.split(" ");for(const u of c)(o+l+(l?" ":"")+u).length{class e{constructor(t){this.fb=t,this.data=DS,this.ctrlForm=this.fb.group({json:new ye(JSON.stringify(this.data,null,2)),label:new ye,hint:new ye,disabled:new ye,overlay:new ye,minCharForSearch:new ye,minCountForSearch:new ye,displaySearchStatus:new ye,placeholder:new ye,multiple:new ye,autoCreate:new ye,resettable:new ye,resetSelectedValue:new ye,limitSelection:new ye,hideSelectedItems:new ye,resultMaxHeight:new ye,listPosition:new ye,infiniteScroll:new ye,infiniteScrollDistance:new ye,infiniteScrollThrottle:new ye,styleMode:new ye,noResultMessage:new ye,maxResults:new ye,maxResultsMessage:new ye,template:new ye,noLabelTemplate:new ye,update:new ye,open:new ye,close:new ye,focus:new ye,blur:new ye,search:new ye,scroll:new ye,removeOption:new ye}),this.ctrlForm.valueChanges.subscribe(()=>{console.log(this.ctrlForm.value)}),this.ctrlForm.valueChanges.subscribe(r=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(r=>this.changeJson(r))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,r,i,o,s){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:r,group:i};case"templateId":return{template1:o,template2:s}}}_event(t,r){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,r)}codeGeneration(){const t={tag:"select2",attrs:{"[data]":"data"},body:[]},r=this.ctrlForm.value,i=t.attrs,o=t.body;switch(r.label&&o.push({tag:"select2-label",body:r.label,inline:!0}),r.hint&&o.push({tag:"select2-hint",body:r.hint,inline:!0}),r.disabled&&(i.disabled=this._testBoolean(r.disabled)),r.overlay&&(i.overlay=this._testBoolean(r.overlay)),r.minCharForSearch&&(i.minCharForSearch=r.minCharForSearch),r.minCountForSearch&&(i.minCountForSearch=r.minCountForSearch),r.displaySearchStatus&&(i.displaySearchStatus=r.displaySearchStatus),r.placeholder&&(i.placeholder=r.placeholder),r.search&&(i.customSearchEnabled=this._testBoolean(r.search)),r.multiple?i.multiple=this._testBoolean(r.multiple):(r.resettable&&(i.resettable=this._testBoolean(r.resettable)),r.resetSelectedValue&&(i.resetSelectedValue=r.resetSelectedValue)),r.autoCreate&&(i.autoCreate=this._testBoolean(r.autoCreate)),r.limitSelection&&(i.limitSelection=r.limitSelection),r.hideSelectedItems&&(i.hideSelectedItems=this._testBoolean(r.hideSelectedItems)),r.resultMaxHeight&&(i.resultMaxHeight=r.resultMaxHeight),r.listPosition&&(i.listPosition=r.listPosition),r.infiniteScroll&&(i.infiniteScroll=this._testBoolean(r.infiniteScroll)),r.infiniteScrollDistance&&(i.infiniteScrollDistance=r.infiniteScrollDistance),r.infiniteScrollThrottle&&(i.infiniteScrollThrottle=r.infiniteScrollThrottle),r.styleMode&&(i.styleMode=r.styleMode),r.noResultMessage&&(i.noResultMessage=r.noResultMessage),r.maxResultsMessage&&(i.maxResultsMessage=r.maxResultsMessage),r.maxResults&&(i.maxResults=r.maxResults),r.noLabelTemplate&&(i.noLabelTemplate=this._testBoolean(r.noLabelTemplate)),r.template){case"ref":i["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":i["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":i["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"})}r.update&&(i["(update)"]="_update($event)"),r.open&&(i["(open)"]="_open($event)"),r.close&&(i["(close)"]="_close($event)"),r.focus&&(i["(focus)"]="_focus($event)"),r.blur&&(i["(blur)"]="_blur($event)"),r.search&&(i["(search)"]="_search($event)"),this.html=new PH(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(r){this.jsonError=this._parseJsonError(t,r)}}_parseJsonError(t,r){let i="";const o=r.message.match(/[^\n]+/)[0],s=NH.getParser(window.navigator.userAgent).getResult();if("Chrome"===s.browser.name)if(o.match(/at position/)){const a=parseInt(o.match(/at position (\d+)/)[1],10),l=t.split(/\n/);let c=1;for(const u of l)if(u){if(c+u.length>=a){i=o+"
"+u+"\n"+" ".repeat(a-c+1)+"^
";break}c+=u.length+1}}else i=o;else if("Firefox"===s.browser.name)if(o.match(/at line/)){const[,a,l]=o.match(/at line (\d+) column (\d+)/),c=t.split(/\n/);i=c[+a-1]?o+"
"+c[+a-1]+"\n"+" ".repeat(+l-1)+"^
":o}else i=o;else i=o;return i}_testBoolean(t){return t?null:void 0}}return e.\u0275fac=function(t){return new(t||e)(M(kw))},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:209,vars:16,consts:[[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption",4,"ngIf"],[1,"code"],[3,"highlight"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption"],[3,"innerHTML"],["template",""],["option",""],["group",""],["template1",""],["template2",""],[4,"ngIf"]],template:function(t,r){1&t&&(v(0,"h2"),b(1,"Generator"),_(),v(2,"div",0)(3,"div",1)(4,"h4"),b(5,"data"),_(),v(6,"div")(7,"label",2),b(8,"json (for "),v(9,"code"),b(10,"[data]"),_(),b(11,") : "),_(),te(12,"textarea",3)(13,"div",4),_(),v(14,"h4"),b(15,"tags"),_(),v(16,"div")(17,"label",5),b(18,"label : "),_(),te(19,"input",6),_(),v(20,"div")(21,"label",7),b(22,"hint : "),_(),te(23,"input",8),_(),v(24,"h4"),b(25,"parameters"),_(),v(26,"div")(27,"label",9),b(28,"disabled : "),_(),te(29,"input",10),_(),v(30,"div")(31,"label",11),b(32,"overlay : "),_(),te(33,"input",12),_(),v(34,"div")(35,"label",13),b(36,"minCharForSearch (0) : "),_(),te(37,"input",14),_(),v(38,"div")(39,"label",15),b(40,"minCountForSearch (6) : "),_(),te(41,"input",16),_(),v(42,"div")(43,"label",17),b(44,"displaySearchStatus :"),_(),v(45,"select",18)(46,"option",19),b(47,"default"),_(),v(48,"option",20),b(49,"hidden"),_(),v(50,"option",21),b(51,"always"),_()()(),v(52,"div")(53,"label",22),b(54,"placeholder : "),_(),te(55,"input",23),_(),v(56,"div")(57,"label",24),b(58,"noResultMessage : "),_(),te(59,"input",25),_(),v(60,"div")(61,"label",26),b(62,"multiple : "),_(),te(63,"input",27),_(),v(64,"div")(65,"label",28),b(66,"resettable : "),_(),te(67,"input",29),_(),v(68,"div")(69,"label",30),b(70,"resetSelectedValue : "),_(),v(71,"select",31)(72,"option",32),b(73,"undefined"),_(),v(74,"option",32),b(75,"null"),_(),v(76,"option",33),b(77,"hibiscus"),_(),v(78,"option",34),b(79,"marigold"),_(),v(80,"option",35),b(81,"sunflower"),_(),v(82,"option",36),b(83,"heliotrope"),_(),v(84,"option",37),b(85,"lily"),_(),v(86,"option",38),b(87,"petunia"),_()()(),v(88,"div")(89,"label",39),b(90,"autoCreate : "),_(),te(91,"input",40),_(),v(92,"div")(93,"label",41),b(94,"limitSelection (0) : "),_(),te(95,"input",42),_(),v(96,"div")(97,"label",43),b(98,"hideSelectedItems : "),_(),te(99,"input",44),_(),v(100,"div")(101,"label",45),b(102,"resultMaxHeight ('200px') : "),_(),te(103,"input",46),_(),v(104,"div")(105,"label",47),b(106,"maxResults (0 = infinity) : "),_(),te(107,"input",48),_(),v(108,"div")(109,"label",49),b(110,"maxResultsMessage ('Too much result...') : "),_(),te(111,"input",50),_(),v(112,"div")(113,"label",51),b(114,"listPosition :"),_(),v(115,"select",52),te(116,"option"),v(117,"option",53),b(118,"below"),_(),v(119,"option",54),b(120,"above"),_()()(),v(121,"div")(122,"label",55),b(123,"infiniteScroll : "),_(),te(124,"input",56),_(),v(125,"div")(126,"label",57),b(127,"infiniteScrollDistance (1.5) : "),_(),te(128,"input",58),_(),v(129,"div")(130,"label",59),b(131,"infiniteScrollThrottle (150) : "),_(),te(132,"input",60),_(),v(133,"div")(134,"label",61),b(135,"styleMode : "),_(),v(136,"select",62)(137,"option",63),b(138,"default"),_(),v(139,"option",64),b(140,"material"),_(),v(141,"option",65),b(142,"noStyle"),_()()(),v(143,"h4"),b(144,"Templates"),_(),v(145,"div")(146,"label",66),b(147,"template style :"),_(),v(148,"select",67)(149,"option",68),b(150,"None"),_(),v(151,"option",69),b(152,"Unique template"),_(),v(153,"option",70),b(154,"Template group & option"),_(),v(155,"option",71),b(156,"Template by templateId"),_()()(),v(157,"div")(158,"label",72),b(159,"noLabelTemplate : "),_(),te(160,"input",73),_(),v(161,"h4"),b(162,"Events"),_(),v(163,"div")(164,"label",74),b(165,"update: "),_(),te(166,"input",75),_(),v(167,"div")(168,"label",76),b(169,"open: "),_(),te(170,"input",77),_(),v(171,"div")(172,"label",78),b(173,"close: "),_(),te(174,"input",79),_(),v(175,"div")(176,"label",80),b(177,"focus: "),_(),te(178,"input",81),_(),v(179,"div")(180,"label",82),b(181,"blur: "),_(),te(182,"input",83),_(),v(183,"div")(184,"label",84),b(185,"search: "),_(),te(186,"input",85),b(187," (Required: "),v(188,"code"),b(189,"customSearchEnabled"),_(),b(190,") "),_(),v(191,"div")(192,"label",86),b(193,"scroll: "),_(),te(194,"input",87),_(),v(195,"div")(196,"label",88),b(197,"removeOption: "),_(),te(198,"input",89),_()(),v(199,"div")(200,"div",90)(201,"h4"),b(202,"HTML render"),_(),J(203,jH,13,27,"select2",91),v(204,"h4"),b(205,"HTML Code"),_(),v(206,"div",92)(207,"code"),te(208,"pre",93),_()()()()()),2&t&&(w(3),x("formGroup",r.ctrlForm),w(10),x("innerHTML",r.jsonError,In),w(51),gt("hide",null==r.ctrlForm||null==r.ctrlForm.value?null:r.ctrlForm.value.multiple),w(4),gt("hide",null==r.ctrlForm||null==r.ctrlForm.value?null:r.ctrlForm.value.multiple),w(4),x("value",void 0),w(2),x("value",null),w(22),gt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.multiple)),w(29),gt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.infiniteScrollDistance)),w(4),gt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.infiniteScroll)),w(74),x("ngIf",r.ctrlForm.value),w(5),x("highlight",r.html))},dependencies:[Mh,sf,lf,Ts,rc,Gl,oc,zh,Gh,go,ic,AS,IS,mD,Jk],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]}),e})()},{path:"**",component:TS}];let $H=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e}),e.\u0275inj=nt({imports:[bS.forRoot(UH),bS]}),e})(),zH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ut({type:e,bootstrap:[gH]}),e.\u0275inj=nt({providers:[{provide:ac,useValue:{coreLibraryLoader:()=>N.e(373).then(N.bind(N,4373)),lineNumbersLoader:()=>N.e(35).then(N.t.bind(N,1035,23)),languages:{typescript:()=>N.e(266).then(N.bind(N,5266)),javascript:()=>N.e(743).then(N.bind(N,8743)),css:()=>N.e(746).then(N.bind(N,8746)),xml:()=>N.e(668).then(N.bind(N,2668))}}}],imports:[ON,$H,uf,xL,eF]}),e})();IN().bootstrapModule(zH).catch(e=>console.log(e))},1523:function(en){en.exports=function(we){var N={};function z(F){if(N[F])return N[F].exports;var C=N[F]={i:F,l:!1,exports:{}};return we[F].call(C.exports,C,C.exports,z),C.l=!0,C.exports}return z.m=we,z.c=N,z.d=function(F,C,E){z.o(F,C)||Object.defineProperty(F,C,{enumerable:!0,get:E})},z.r=function(F){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(F,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(F,"__esModule",{value:!0})},z.t=function(F,C){if(1&C&&(F=z(F)),8&C||4&C&&"object"==typeof F&&F&&F.__esModule)return F;var E=Object.create(null);if(z.r(E),Object.defineProperty(E,"default",{enumerable:!0,value:F}),2&C&&"string"!=typeof F)for(var G in F)z.d(E,G,function(h){return F[h]}.bind(null,G));return E},z.n=function(F){var C=F&&F.__esModule?function(){return F.default}:function(){return F};return z.d(C,"a",C),C},z.o=function(F,C){return Object.prototype.hasOwnProperty.call(F,C)},z.p="",z(z.s=90)}({17:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F=z(18),C=function(){function E(){}return E.getFirstMatch=function(G,h){var f=h.match(G);return f&&f.length>0&&f[1]||""},E.getSecondMatch=function(G,h){var f=h.match(G);return f&&f.length>1&&f[2]||""},E.matchAndReturnConst=function(G,h,f){if(G.test(h))return f},E.getWindowsVersionName=function(G){switch(G){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},E.getMacOSVersionName=function(G){var h=G.split(".").splice(0,2).map(function(f){return parseInt(f,10)||0});if(h.push(0),10===h[0])switch(h[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},E.getAndroidVersionName=function(G){var h=G.split(".").splice(0,2).map(function(f){return parseInt(f,10)||0});if(h.push(0),!(1===h[0]&&h[1]<5))return 1===h[0]&&h[1]<6?"Cupcake":1===h[0]&&h[1]>=6?"Donut":2===h[0]&&h[1]<2?"Eclair":2===h[0]&&2===h[1]?"Froyo":2===h[0]&&h[1]>2?"Gingerbread":3===h[0]?"Honeycomb":4===h[0]&&h[1]<1?"Ice Cream Sandwich":4===h[0]&&h[1]<4?"Jelly Bean":4===h[0]&&h[1]>=4?"KitKat":5===h[0]?"Lollipop":6===h[0]?"Marshmallow":7===h[0]?"Nougat":8===h[0]?"Oreo":9===h[0]?"Pie":void 0},E.getVersionPrecision=function(G){return G.split(".").length},E.compareVersions=function(G,h,f){void 0===f&&(f=!1);var m=E.getVersionPrecision(G),L=E.getVersionPrecision(h),A=Math.max(m,L),R=0,k=E.map([G,h],function(Y){var Z=A-E.getVersionPrecision(Y),Te=Y+new Array(Z+1).join(".0");return E.map(Te.split("."),function(st){return new Array(20-st.length).join("0")+st}).reverse()});for(f&&(R=A-Math.min(m,L)),A-=1;A>=R;){if(k[0][A]>k[1][A])return 1;if(k[0][A]===k[1][A]){if(A===R)return 0;A-=1}else if(k[0][A]1?L-1:0),R=1;R0){var $t=Object.keys(Y),at=h.default.find($t,function(lt){return k.isOS(lt)});if(at){var Et=this.satisfies(Y[at]);if(void 0!==Et)return Et}var Mt=h.default.find($t,function(lt){return k.isPlatform(lt)});if(Mt){var et=this.satisfies(Y[Mt]);if(void 0!==et)return et}}if(st>0){var be=Object.keys(Te),tn=h.default.find(be,function(lt){return k.isBrowser(lt,!0)});if(void 0!==tn)return this.compareVersion(Te[tn])}},A.isBrowser=function(R,k){void 0===k&&(k=!1);var Y=this.getBrowserName().toLowerCase(),Z=R.toLowerCase(),Te=h.default.getBrowserTypeByAlias(Z);return k&&Te&&(Z=Te.toLowerCase()),Z===Y},A.compareVersion=function(R){var k=[0],Y=R,Z=!1,Te=this.getBrowserVersion();if("string"==typeof Te)return">"===R[0]||"<"===R[0]?(Y=R.substr(1),"="===R[1]?(Z=!0,Y=R.substr(2)):k=[],k.push(">"===R[0]?1:-1)):"="===R[0]?Y=R.substr(1):"~"===R[0]&&(Z=!0,Y=R.substr(1)),k.indexOf(h.default.compareVersions(Te,Y,Z))>-1},A.isOS=function(R){return this.getOSName(!0)===String(R).toLowerCase()},A.isPlatform=function(R){return this.getPlatformType(!0)===String(R).toLowerCase()},A.isEngine=function(R){return this.getEngineName(!0)===String(R).toLowerCase()},A.is=function(R,k){return void 0===k&&(k=!1),this.isBrowser(R,k)||this.isOS(R)||this.isPlatform(R)},A.some=function(R){var k=this;return void 0===R&&(R=[]),R.some(function(Y){return k.is(Y)})},L}();N.default=m,we.exports=N.default},92:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=/version\/(\d+(\.?_?\d+)+)/i;N.default=[{test:[/googlebot/i],describe:function(h){var f={name:"Googlebot"},m=C.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/opera/i],describe:function(h){var f={name:"Opera"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/opr\/|opios/i],describe:function(h){var f={name:"Opera"},m=C.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/SamsungBrowser/i],describe:function(h){var f={name:"Samsung Internet for Android"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/Whale/i],describe:function(h){var f={name:"NAVER Whale Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/MZBrowser/i],describe:function(h){var f={name:"MZ Browser"},m=C.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/focus/i],describe:function(h){var f={name:"Focus"},m=C.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/swing/i],describe:function(h){var f={name:"Swing"},m=C.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/coast/i],describe:function(h){var f={name:"Opera Coast"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(h){var f={name:"Opera Touch"},m=C.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/yabrowser/i],describe:function(h){var f={name:"Yandex Browser"},m=C.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/ucbrowser/i],describe:function(h){var f={name:"UC Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/Maxthon|mxios/i],describe:function(h){var f={name:"Maxthon"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/epiphany/i],describe:function(h){var f={name:"Epiphany"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/puffin/i],describe:function(h){var f={name:"Puffin"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/sleipnir/i],describe:function(h){var f={name:"Sleipnir"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/k-meleon/i],describe:function(h){var f={name:"K-Meleon"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/micromessenger/i],describe:function(h){var f={name:"WeChat"},m=C.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/qqbrowser/i],describe:function(h){var f={name:/qqbrowserlite/i.test(h)?"QQ Browser Lite":"QQ Browser"},m=C.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/msie|trident/i],describe:function(h){var f={name:"Internet Explorer"},m=C.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/\sedg\//i],describe:function(h){var f={name:"Microsoft Edge"},m=C.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/edg([ea]|ios)/i],describe:function(h){var f={name:"Microsoft Edge"},m=C.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/vivaldi/i],describe:function(h){var f={name:"Vivaldi"},m=C.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/seamonkey/i],describe:function(h){var f={name:"SeaMonkey"},m=C.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/sailfish/i],describe:function(h){var f={name:"Sailfish"},m=C.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,h);return m&&(f.version=m),f}},{test:[/silk/i],describe:function(h){var f={name:"Amazon Silk"},m=C.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/phantom/i],describe:function(h){var f={name:"PhantomJS"},m=C.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/slimerjs/i],describe:function(h){var f={name:"SlimerJS"},m=C.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var f={name:"BlackBerry"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var f={name:"WebOS Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/bada/i],describe:function(h){var f={name:"Bada"},m=C.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/tizen/i],describe:function(h){var f={name:"Tizen"},m=C.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/qupzilla/i],describe:function(h){var f={name:"QupZilla"},m=C.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/firefox|iceweasel|fxios/i],describe:function(h){var f={name:"Firefox"},m=C.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/electron/i],describe:function(h){var f={name:"Electron"},m=C.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/MiuiBrowser/i],describe:function(h){var f={name:"Miui"},m=C.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/chromium/i],describe:function(h){var f={name:"Chromium"},m=C.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/chrome|crios|crmo/i],describe:function(h){var f={name:"Chrome"},m=C.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/GSA/i],describe:function(h){var f={name:"Google Search"},m=C.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){var f=!h.test(/like android/i),m=h.test(/android/i);return f&&m},describe:function(h){var f={name:"Android Browser"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/playstation 4/i],describe:function(h){var f={name:"PlayStation 4"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/safari|applewebkit/i],describe:function(h){var f={name:"Safari"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/.*/i],describe:function(h){var f=-1!==h.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:C.default.getFirstMatch(f,h),version:C.default.getSecondMatch(f,h)}}}],we.exports=N.default},93:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:[/Roku\/DVP/],describe:function(h){var f=C.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,h);return{name:E.OS_MAP.Roku,version:f}}},{test:[/windows phone/i],describe:function(h){var f=C.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.WindowsPhone,version:f}}},{test:[/windows /i],describe:function(h){var f=C.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,h),m=C.default.getWindowsVersionName(f);return{name:E.OS_MAP.Windows,version:f,versionName:m}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(h){var f={name:E.OS_MAP.iOS},m=C.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,h);return m&&(f.version=m),f}},{test:[/macintosh/i],describe:function(h){var f=C.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,h).replace(/[_\s]/g,"."),m=C.default.getMacOSVersionName(f),L={name:E.OS_MAP.MacOS,version:f};return m&&(L.versionName=m),L}},{test:[/(ipod|iphone|ipad)/i],describe:function(h){var f=C.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,h).replace(/[_\s]/g,".");return{name:E.OS_MAP.iOS,version:f}}},{test:function(h){var f=!h.test(/like android/i),m=h.test(/android/i);return f&&m},describe:function(h){var f=C.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,h),m=C.default.getAndroidVersionName(f),L={name:E.OS_MAP.Android,version:f};return m&&(L.versionName=m),L}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var f=C.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,h),m={name:E.OS_MAP.WebOS};return f&&f.length&&(m.version=f),m}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var f=C.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,h)||C.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,h)||C.default.getFirstMatch(/\bbb(\d+)/i,h);return{name:E.OS_MAP.BlackBerry,version:f}}},{test:[/bada/i],describe:function(h){var f=C.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.Bada,version:f}}},{test:[/tizen/i],describe:function(h){var f=C.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.Tizen,version:f}}},{test:[/linux/i],describe:function(){return{name:E.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:E.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(h){var f=C.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.PlayStation4,version:f}}}],we.exports=N.default},94:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(h){var f=C.default.getFirstMatch(/(can-l01)/i,h)&&"Nova",m={type:E.PLATFORMS_MAP.mobile,vendor:"Huawei"};return f&&(m.model=f),m}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet}}},{test:function(h){var f=h.test(/ipod|iphone/i),m=h.test(/like (ipod|iphone)/i);return f&&!m},describe:function(h){var f=C.default.getFirstMatch(/(ipod|iphone)/i,h);return{type:E.PLATFORMS_MAP.mobile,vendor:"Apple",model:f}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"blackberry"===h.getBrowserName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(h){return"bada"===h.getBrowserName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"windows phone"===h.getBrowserName()},describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(h){var f=Number(String(h.getOSVersion()).split(".")[0]);return"android"===h.getOSName(!0)&&f>=3},describe:function(){return{type:E.PLATFORMS_MAP.tablet}}},{test:function(h){return"android"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"macos"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(h){return"windows"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop}}},{test:function(h){return"linux"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop}}},{test:function(h){return"playstation 4"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.tv}}},{test:function(h){return"roku"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.tv}}}],we.exports=N.default},95:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:function(h){return"microsoft edge"===h.getBrowserName(!0)},describe:function(h){if(/\sedg\//i.test(h))return{name:E.ENGINE_MAP.Blink};var f=C.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,h);return{name:E.ENGINE_MAP.EdgeHTML,version:f}}},{test:[/trident/i],describe:function(h){var f={name:E.ENGINE_MAP.Trident},m=C.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){return h.test(/presto/i)},describe:function(h){var f={name:E.ENGINE_MAP.Presto},m=C.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){var f=h.test(/gecko/i),m=h.test(/like gecko/i);return f&&!m},describe:function(h){var f={name:E.ENGINE_MAP.Gecko},m=C.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:E.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(h){var f={name:E.ENGINE_MAP.WebKit},m=C.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}}],we.exports=N.default}})},7354:en=>{const we="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],z=["true","false","null","undefined","NaN","Infinity"],F=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],E=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(E,F,C);en.exports=function f(m){const L=m.regex,R=we,Z={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(kt,tt)=>{const At=kt[0].length+kt.index,_n=kt.input[At];if("<"===_n||","===_n)return void tt.ignoreMatch();let kn;">"===_n&&(((kt,{after:tt})=>{const At="",yi={match:[/const|var|let/,/\s+/,R,/\s*/,/=\s*/,/(async\s*)?/,L.lookahead(vi)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ze]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Te,exports:{PARAMS_CONTAINS:rr,CLASS_REFERENCE:oe},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,et,be,tn,lt,gi,{match:/\$\d+/},Et,oe,{className:"attr",begin:R+L.lookahead(":"),relevance:0},yi,{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[gi,m.REGEXP_MODE,{className:"function",begin:vi,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Te,contains:rr}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Z.begin,"on:begin":Z.isTrulyOpeningTag,end:Z.end}],subLanguage:"xml",contains:[{begin:Z.begin,end:Z.end,skip:!0,contains:["self"]}]}]},Eo,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ze,m.inherit(m.TITLE_MODE,{begin:R,className:"title.function"})]},{match:/\.\.\./,relevance:0},mn,{match:"\\$"+R,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ze]},Ao,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},zt,Js,{match:/\$[(.]/}]}}},9574:en=>{const N=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],z=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],F=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],C=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],E=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();en.exports=function G(h){const f=(h=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:h.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[h.APOS_STRING_MODE,h.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:h.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(h),m=C,L=F,A="@[a-z-]+",Y={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[h.C_LINE_COMMENT_MODE,h.C_BLOCK_COMMENT_MODE,f.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},f.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+N.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+L.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+m.join("|")+")"},Y,{begin:/\(/,end:/\)/,contains:[f.CSS_NUMBER_MODE]},f.CSS_VARIABLE,{className:"attribute",begin:"\\b("+E.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[f.BLOCK_COMMENT,Y,f.HEXCOLOR,f.CSS_NUMBER_MODE,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,f.IMPORTANT,f.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:A,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:z.join(" ")},contains:[{begin:A,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},Y,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,f.HEXCOLOR,f.CSS_NUMBER_MODE]},f.FUNCTION_DISPATCH]}}},603:en=>{const we="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],z=["true","false","null","undefined","NaN","Infinity"],F=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],E=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(E,F,C);en.exports=function m(L){const A=function f(L){const A=L.regex,k=we,Te={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(tt,At)=>{const _n=tt[0].length+tt.index,kn=tt.input[_n];if("<"===kn||","===kn)return void At.ignoreMatch();let Fn;">"===kn&&(((tt,{after:At})=>{const _n="",kt={match:[/const|var|let/,/\s+/,k,/\s*/,/=\s*/,/(async\s*)?/,A.lookahead(yi)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[zt]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:st,exports:{PARAMS_CONTAINS:ze,CLASS_REFERENCE:mi},illegal:/#(?![$_A-z])/,contains:[L.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L.APOS_STRING_MODE,L.QUOTE_STRING_MODE,be,tn,lt,Ct,nr,{match:/\$\d+/},Mt,mi,{className:"attr",begin:k+A.lookahead(":"),relevance:0},kt,{begin:"("+L.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[nr,L.REGEXP_MODE,{className:"function",begin:yi,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:L.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:st,contains:ze}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Te.begin,"on:begin":Te.isTrulyOpeningTag,end:Te.end}],subLanguage:"xml",contains:[{begin:Te.begin,end:Te.end,skip:!0,contains:["self"]}]}]},_i,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+L.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[zt,L.inherit(L.TITLE_MODE,{begin:k,className:"title.function"})]},{match:/\.\.\./,relevance:0},Js,{match:"\\$"+k,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[zt]},mn,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},oe,vi,{match:/\$[(.]/}]}}(L),R=we,k=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],Y={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[A.exports.CLASS_REFERENCE]},Z={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:k},contains:[A.exports.CLASS_REFERENCE]},$t={$pattern:we,keyword:N.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:z,built_in:h.concat(k),"variable.language":G},at={className:"meta",begin:"@"+R},Et=(et,be,tn)=>{const lt=et.contains.findIndex(Ct=>Ct.label===be);if(-1===lt)throw new Error("can not find mode to replace");et.contains.splice(lt,1,tn)};return Object.assign(A.keywords,$t),A.exports.PARAMS_CONTAINS.push(at),A.contains=A.contains.concat([at,Y,Z]),Et(A,"shebang",L.SHEBANG()),Et(A,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),A.contains.find(et=>"func.def"===et.label).relevance=0,Object.assign(A,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),A}},5149:en=>{en.exports=function we(N){const z=N.regex,F=z.concat(/[\p{L}_]/u,z.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),E={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},G={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=N.inherit(G,{begin:/\(/,end:/\)/}),f=N.inherit(N.APOS_STRING_MODE,{className:"string"}),m=N.inherit(N.QUOTE_STRING_MODE,{className:"string"}),L={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[G,m,f,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[G,h,m,f]}]}]},N.COMMENT(//,{relevance:10}),{begin://,relevance:10},E,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[L],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[L],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:z.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:F,relevance:0,starts:L}]},{className:"tag",begin:z.concat(/<\//,z.lookahead(z.concat(F,/>/))),contains:[{className:"name",begin:F,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}},en=>{en(en.s=6410)}]); \ No newline at end of file diff --git a/dist/ng-select2/main.8ec4bbe0969081e5.js b/dist/ng-select2/main.8ec4bbe0969081e5.js new file mode 100644 index 0000000..ecb1af5 --- /dev/null +++ b/dist/ng-select2/main.8ec4bbe0969081e5.js @@ -0,0 +1 @@ +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[179],{425:(sn,ye,R)=>{"use strict";let N=null,M=1;function h(e){const n=N;return N=e,n}function q(e){if((!Ot(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==M)){if(!e.producerMustRecompute(e)&&!Vt(e))return e.dirty=!1,void(e.lastCleanEpoch=M);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=M}}function Vt(e){Ue(e);for(let n=0;n0}function Ue(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ni=null;function xr(e){return"function"==typeof e}let Xu=!1;const An={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else Xu&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Xu=e},get useDeprecatedSynchronousErrorHandling(){return Xu}};function Vi(e){setTimeout(()=>{throw e},0)}const nl={closed:!0,next(e){},error(e){if(An.useDeprecatedSynchronousErrorHandling)throw e;Vi(e)},complete(){}},oi=Array.isArray||(e=>e&&"number"==typeof e.length);function Ju(e){return null!==e&&"object"==typeof e}const rl=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class we{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof we)t.remove(this);else if(null!==t)for(let s=0;sn.concat(t instanceof rl?t.errors:t),[])}we.EMPTY=((e=new we).closed=!0,e);const il="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Ne extends we{constructor(n,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=nl;break;case 1:if(!n){this.destination=nl;break}if("object"==typeof n){n instanceof Ne?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new im(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new im(this,n,t,r)}}[il](){return this}static create(n,t,r){const i=new Ne(n,t,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class im extends Ne{constructor(n,t,r,i){super(),this._parentSubscriber=n;let o,s=this;xr(t)?o=t:t&&(o=t.next,r=t.error,i=t.complete,t!==nl&&(s=Object.create(t),xr(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;An.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=An;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=n,t.syncErrorThrown=!0):Vi(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;Vi(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);An.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(r){if(this.unsubscribe(),An.useDeprecatedSynchronousErrorHandling)throw r;Vi(r)}}__tryOrSetError(n,t,r){if(!An.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return An.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(Vi(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const _s="function"==typeof Symbol&&Symbol.observable||"@@observable";function ol(e){return e}function om(e){return 0===e.length?ol:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let qe=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:o}=this,s=function g0(e,n,t){if(e){if(e instanceof Ne)return e;if(e[il])return e[il]()}return e||n||t?new Ne(e,n,t):new Ne(nl)}(t,r,i);if(s.add(o?o.call(s,this.source):this.source||An.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),An.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){An.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function p0(e){for(;e;){const{closed:n,destination:t,isStopped:r}=e;if(n||r)return!1;e=t&&t instanceof Ne?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=sm(r))((i,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[_s](){return this}pipe(...t){return 0===t.length?this:om(t)(this)}toPromise(t){return new(t=sm(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function sm(e){if(e||(e=An.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Bi=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class _0 extends we{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class am extends Ne{constructor(n){super(n),this.destination=n}}let ht=(()=>{class e extends qe{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[il](){return new am(this)}lift(t){const r=new lm(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Bi;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew lm(n,t),e})();class lm extends ht{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):we.EMPTY}}class un extends ht{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Bi;return this._value}next(n){super.next(this._value=n)}}function se(e,n){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new v0(e,n))}}class v0{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new y0(n,this.project,this.thisArg))}}class y0 extends Ne{constructor(n,t,r){super(n),this.project=t,this.count=0,this.thisArg=r||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}function Ie(e){for(let n in e)if(e[n]===Ie)return n;throw Error("Could not find renamed property on target object.")}function sl(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ot(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ot).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ed(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const b0=Ie({__forward_ref__:Ie});function ke(e){return e.__forward_ref__=ke,e.toString=function(){return ot(this())},e}function X(e){return al(e)?e():e}function al(e){return"function"==typeof e&&e.hasOwnProperty(b0)&&e.__forward_ref__===ke}function td(e){return e&&!!e.\u0275providers}const cm="https://g.co/ng/security#xss";class A extends Error{constructor(n,t){super(function ji(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const vs=Ie({\u0275cmp:Ie}),nd=Ie({\u0275dir:Ie}),rd=Ie({\u0275pipe:Ie}),um=Ie({\u0275mod:Ie}),ur=Ie({\u0275fac:Ie}),ys=Ie({__NG_ELEMENT_ID__:Ie}),dm=Ie({__NG_ENV_ID__:Ie});function re(e){return"string"==typeof e?e:null==e?"":String(e)}function id(e,n){throw new A(-201,!1)}function Qt(e,n){null==e&&function J(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function st(e){return{providers:e.providers||[],imports:e.imports||[]}}function ll(e){return hm(e,ul)||hm(e,fm)}function hm(e,n){return e.hasOwnProperty(n)?e[n]:null}function cl(e){return e&&(e.hasOwnProperty(od)||e.hasOwnProperty(A0))?e[od]:null}const ul=Ie({\u0275prov:Ie}),od=Ie({\u0275inj:Ie}),fm=Ie({ngInjectableDef:Ie}),A0=Ie({ngInjectorDef:Ie});var fe=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}(fe||{});let sd;function pm(){return sd}function Xt(e){const n=sd;return sd=e,n}function gm(e,n,t){const r=ll(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&fe.Optional?null:void 0!==n?n:void id(ot(e))}const Fe=globalThis;class U{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=B({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const bs={},dd="__NG_DI_FLAG__",dl="ngTempTokenPath",R0=/\n/gm,_m="__source";let Hi;function Nr(e){const n=Hi;return Hi=e,n}function k0(e,n=fe.Default){if(void 0===Hi)throw new A(-203,!1);return null===Hi?gm(e,void 0,n):Hi.get(e,n&fe.Optional?null:void 0,n)}function x(e,n=fe.Default){return(pm()||k0)(X(e),n)}function L(e,n=fe.Default){return x(e,hl(n))}function hl(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function hd(e){const n=[];for(let t=0;tn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==ym(p,c,0)||2&r&&c!==f){if(xn(r))return!1;s=!0}}}}else{if(!s&&!xn(r)&&!xn(l))return!1;if(s&&xn(l))continue;s=!1,r=l|1&r}}return xn(r)||s}function xn(e){return 0==(1&e)}function U0(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!xn(s)&&(n+=Mm(o,i),i=""),r=s,o=o||!xn(r);t++}return""!==i&&(n+=Mm(o,i)),n}function Ui(e){return dr(()=>{const n=Tm(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||On.Emulated,styles:e.styles||be,_:null,schemas:e.schemas||null,tView:null,id:""};Am(t);const r=e.dependencies;return t.directiveDefs=pl(r,!1),t.pipeDefs=pl(r,!0),t.id=function J0(e){let n=0;const t=[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 i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function K0(e){return he(e)||pt(e)}function Q0(e){return null!==e}function ft(e){return dr(()=>({type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Im(e,n){if(null==e)return $n;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function K(e){return dr(()=>{const n=Tm(e);return Am(n),n})}function Jt(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 he(e){return e[vs]||null}function pt(e){return e[nd]||null}function Mt(e){return e[rd]||null}function xt(e,n){const t=e[um]||null;if(!t&&!0===n)throw new Error(`Type ${ot(e)} does not have '\u0275mod' property.`);return t}function Tm(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||$n,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Im(e.inputs,n),outputs:Im(e.outputs),debugInfo:null}}function Am(e){e.features?.forEach(n=>n(e))}function pl(e,n){if(!e)return null;const t=n?Mt:K0;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(Q0)}const Ke=0,P=1,Z=2,ze=3,Rn=4,Rt=5,Nn=6,$i=7,Le=8,Bt=9,hr=10,ie=11,Ds=12,Om=13,zi=14,Ze=15,Es=16,Gi=17,zn=18,Ss=19,xm=20,kr=21,gl=22,si=23,oe=25,pd=1,Gn=7,Wi=9,Je=10;var qi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(qi||{});function It(e){return Array.isArray(e)&&"object"==typeof e[pd]}function Et(e){return Array.isArray(e)&&!0===e[pd]}function gd(e){return 0!=(4&e.flags)}function ai(e){return e.componentOffset>-1}function _l(e){return 1==(1&e.flags)}function Pn(e){return!!e.template}function md(e){return 0!=(512&e[Z])}function li(e,n){return e.hasOwnProperty(ur)?e[ur]:null}class rI{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function jt(){return km}function km(e){return e.type.prototype.ngOnChanges&&(e.setInput=oI),iI}function iI(){const e=Lm(this),n=e?.current;if(n){const t=e.previous;if(t===$n)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function oI(e,n,t,r){const i=this.declaredInputs[t],o=Lm(e)||function sI(e,n){return e[Fm]=n}(e,{previous:$n,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new rI(l&&l.currentValue,n,a===$n),e[r]=n}jt.ngInherit=!0;const Fm="__ngSimpleChanges__";function Lm(e){return e[Fm]||null}const Wn=function(e,n,t){};let jm=!1;function Ve(e){for(;Array.isArray(e);)e=e[Ke];return e}function Is(e,n){return Ve(n[e])}function Ht(e,n){return Ve(n[e.index])}function Ts(e,n){return e.data[n]}function Zi(e,n){return e[n]}function hn(e,n){const t=n[e];return It(t)?t:t[Ke]}function Cd(e){return 128==(128&e[Z])}function qn(e,n){return null==n?null:e[n]}function Hm(e){e[Gi]=0}function hI(e){1024&e[Z]||(e[Z]|=1024,Cd(e)&&As(e))}function $m(e){return 9216&e[Z]||e[si]?.dirty}function wd(e){$m(e)?As(e):64&e[Z]&&(function lI(){return jm}()?(e[Z]|=1024,As(e)):e[hr].changeDetectionScheduler?.notify())}function As(e){e[hr].changeDetectionScheduler?.notify();let n=e[ze];for(;null!==n&&!(Et(n)&&n[Z]&qi.HasChildViewsToRefresh||It(n)&&8192&n[Z]);){if(Et(n))n[Z]|=qi.HasChildViewsToRefresh;else if(n[Z]|=8192,!Cd(n))break;n=n[ze]}}function vl(e,n){if(256==(256&e[Z]))throw new A(911,!1);null===e[kr]&&(e[kr]=[]),e[kr].push(n)}const te={lFrame:Jm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Gm(){return te.bindingsEnabled}function Yi(){return null!==te.skipHydrationRootTNode}function S(){return te.lFrame.lView}function _e(){return te.lFrame.tView}function Te(e){return te.lFrame.contextLView=e,e[Le]}function Ae(e){return te.lFrame.contextLView=null,e}function xe(){let e=Wm();for(;null!==e&&64===e.type;)e=e.parent;return e}function Wm(){return te.lFrame.currentTNode}function Zn(e,n){const t=te.lFrame;t.currentTNode=e,t.isParent=n}function Ed(){return te.lFrame.isParent}function Sd(){te.lFrame.isParent=!1}function Ut(){const e=te.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Yn(){return te.lFrame.bindingIndex++}function pr(e){const n=te.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function DI(e,n){const t=te.lFrame;t.bindingIndex=t.bindingRootIndex=e,Md(n)}function Md(e){te.lFrame.currentDirectiveIndex=e}function Km(){return te.lFrame.currentQueryIndex}function Td(e){te.lFrame.currentQueryIndex=e}function SI(e){const n=e[P];return 2===n.type?n.declTNode:1===n.type?e[Rt]:null}function Qm(e,n,t){if(t&fe.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&fe.Host||(i=SI(o),null===i||(o=o[zi],10&i.type))););if(null===i)return!1;n=i,e=o}const r=te.lFrame=Xm();return r.currentTNode=n,r.lView=e,!0}function Ad(e){const n=Xm(),t=e[P];te.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Xm(){const e=te.lFrame,n=null===e?null:e.child;return null===n?Jm(e):n}function Jm(e){const n={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=n),n}function e_(){const e=te.lFrame;return te.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const t_=e_;function Od(){const e=e_();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 Nt(){return te.lFrame.selectedIndex}function ci(e){te.lFrame.selectedIndex=e}function $e(){const e=te.lFrame;return Ts(e.tView,e.selectedIndex)}let r_=!0;function yl(){return r_}function Fr(e){r_=e}function bl(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Gi]+=65536),(a>14>16&&(3&e[Z])===n&&(e[Z]+=16384,o_(a,o)):o_(a,o)}const Ki=-1;class xs{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Nd(e){return e!==Ki}function Rs(e){return 32767&e}function Ns(e,n){let t=function LI(e){return e>>16}(e),r=n;for(;t>0;)r=r[zi],t--;return r}let Pd=!0;function Dl(e){const n=Pd;return Pd=e,n}const s_=255,a_=5;let VI=0;const Kn={};function El(e,n){const t=l_(e,n);if(-1!==t)return t;const r=n[P];r.firstCreatePass&&(e.injectorIndex=n.length,kd(r.data,e),kd(n,null),kd(r.blueprint,null));const i=Sl(e,n),o=e.injectorIndex;if(Nd(i)){const s=Rs(i),a=Ns(i,n),l=a[P].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function kd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function l_(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Sl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=g_(i),null===r)return Ki;if(t++,i=i[zi],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Ki}function Fd(e,n,t){!function BI(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ys)&&(r=t[ys]),null==r&&(r=t[ys]=VI++);const i=r&s_;n.data[e+(i>>a_)]|=1<=0?n&s_:$I:n}(t);if("function"==typeof o){if(!Qm(n,e,r))return r&fe.Host?c_(i,0,r):u_(n,t,r,i);try{let s;if(s=o(r),null!=s||r&fe.Optional)return s;id()}finally{t_()}}else if("number"==typeof o){let s=null,a=l_(e,n),l=Ki,c=r&fe.Host?n[Ze][Rt]:null;for((-1===a||r&fe.SkipSelf)&&(l=-1===a?Sl(e,n):n[a+8],l!==Ki&&p_(r,!1)?(s=n[P],a=Rs(l),n=Ns(l,n)):a=-1);-1!==a;){const u=n[P];if(f_(o,a,u.data)){const d=HI(a,n,t,s,r,c);if(d!==Kn)return d}l=n[a+8],l!==Ki&&p_(r,n[P].data[a+8]===c)&&f_(o,a,n)?(s=u,a=Rs(l),n=Ns(l,n)):a=-1}}return i}function HI(e,n,t,r,i,o){const s=n[P],a=s.data[e+8],u=Ml(a,s,t,null==r?ai(a)&&Pd:r!=s&&0!=(3&a.type),i&fe.Host&&o===a);return null!==u?ui(n,s,u,a):Kn}function Ml(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=i?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&y.type===t)return p}if(i){const p=s[l];if(p&&Pn(p)&&p.type===t)return l}return null}function ui(e,n,t,r){let i=e[t];const o=n.data;if(function NI(e){return e instanceof xs}(i)){const s=i;s.resolving&&function w0(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new A(-200,`Circular dependency in DI detected for ${e}${t}`)}(function De(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():re(e)}(o[t]));const a=Dl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Xt(s.injectImpl):null;Qm(e,r,fe.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function xI(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=km(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Xt(c),Dl(a),s.resolving=!1,t_()}}return i}function f_(e,n,t){return!!(t[n+(e>>a_)]&1<{const n=e.prototype.constructor,t=n[ur]||Ld(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ur]||Ld(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ld(e){return al(e)?()=>{const n=Ld(X(e));return n&&n()}:li(e)}function g_(e){const n=e[P],t=n.type;return 2===t?n.declTNode:1===t?e[Rt]:null}function Ps(e){return function jI(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{const r=function Vd(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(eo)?l[eo]:Object.defineProperty(l,eo,{value:[]})[eo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function io(e,n){e.forEach(t=>Array.isArray(t)?io(t,n):n(t))}function __(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Il(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Fs(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function v_(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function jd(e,n){const t=oo(e,n);if(t>=0)return e[1|t]}function oo(e,n){return function y_(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<{t.push(s)};return io(n,s=>{const a=s;Nl(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&M_(i,o),t}function M_(e,n){for(let t=0;t{n(o,r)})}}function Nl(e,n,t,r){if(!(e=X(e)))return!1;let i=null,o=cl(e);const s=!o&&he(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=cl(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Nl(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{io(o.imports,u=>{Nl(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&M_(c,n)}if(!a){const c=li(i)||(()=>new i);n({provide:i,useFactory:c,deps:be},i),n({provide:$d,useValue:i,multi:!0},i),n({provide:di,useValue:()=>x(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;zd(l,u=>{n(u,c)})}}}return i!==e&&void 0!==e.providers}function zd(e,n){for(let t of e)td(t)&&(t=t.\u0275providers),Array.isArray(t)?zd(t,n):n(t)}const fT=Ie({provide:String,useValue:Ie});function Gd(e){return null!==e&&"object"==typeof e&&fT in e}function hi(e){return"function"==typeof e}const Wd=new U("Set Injector scope."),Pl={},gT={};let qd;function kl(){return void 0===qd&&(qd=new Rl),qd}class wn{}class ao extends wn{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yd(n,s=>this.processProvider(s)),this.records.set(D_,lo(void 0,this)),i.has("environment")&&this.records.set(wn,lo(void 0,this));const o=this.records.get(Wd);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($d,be,fe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Nr(this),r=Xt(void 0);try{return n()}finally{Nr(t),Xt(r)}}get(n,t=bs,r=fe.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(dm))return n[dm](this);r=hl(r);const o=Nr(this),s=Xt(void 0);try{if(!(r&fe.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function bT(e){return"function"==typeof e||"object"==typeof e&&e instanceof U}(n)&&ll(n);l=c&&this.injectableDefInScope(c)?lo(Zd(n),Pl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&fe.Self?kl():this.parent).get(n,t=r&fe.Optional&&t===bs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[dl]=a[dl]||[]).unshift(ot(n)),o)throw a;return function L0(e,n,t,r){const i=e[dl];throw n[_m]&&i.unshift(n[_m]),e.message=function V0(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ot(n);if(Array.isArray(n))i=n.map(ot).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ot(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(R0,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[dl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Xt(s),Nr(o)}}resolveInjectorInitializers(){const n=Nr(this),t=Xt(void 0);try{const i=this.get(di,be,fe.Self);for(const o of i)o()}finally{Nr(n),Xt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ot(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(n){let t=hi(n=X(n))?n:X(n&&n.provide);const r=function _T(e){return Gd(e)?lo(void 0,e.useValue):lo(A_(e),Pl)}(n);if(hi(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=lo(void 0,Pl,!0),i.factory=()=>hd(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Pl&&(t.value=gT,t.value=t.factory()),"object"==typeof t.value&&t.value&&function yT(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=X(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Zd(e){const n=ll(e),t=null!==n?n.factory:li(e);if(null!==t)return t;if(e instanceof U)throw new A(204,!1);if(e instanceof Function)return function mT(e){const n=e.length;if(n>0)throw Fs(n,"?"),new A(204,!1);const t=function T0(e){return e&&(e[ul]||e[fm])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new A(204,!1)}function A_(e,n,t){let r;if(hi(e)){const i=X(e);return li(i)||Zd(i)}if(Gd(e))r=()=>X(e.useValue);else if(function T_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...hd(e.deps||[]));else if(function I_(e){return!(!e||!e.useExisting)}(e))r=()=>x(X(e.useExisting));else{const i=X(e&&(e.useClass||e.provide));if(!function vT(e){return!!e.deps}(e))return li(i)||Zd(i);r=()=>new i(...hd(e.deps))}return r}function lo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yd(e,n){for(const t of e)Array.isArray(t)?Yd(t,n):t&&td(t)?Yd(t.\u0275providers,n):n(t)}function fi(e,n){e instanceof ao&&e.assertNotDestroyed();const r=Nr(e),i=Xt(void 0);try{return n()}finally{Nr(r),Xt(i)}}function N_(e,n=null,t=null,r){const i=P_(e,n,t,r);return i.resolveInjectorInitializers(),i}function P_(e,n=null,t=null,r,i=new Set){const o=[t||be,hT(e)];return r=r||("object"==typeof e?void 0:ot(e)),new ao(o,n||kl(),r||null,i)}let Xd,Tt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=bs;static#t=this.NULL=new Rl;static create(t,r){if(Array.isArray(t))return N_({name:""},r,t,"");{const i=t.name??"";return N_({name:i},t.parent,t.providers,i)}}static#n=this.\u0275prov=B({token:e,providedIn:"any",factory:()=>x(D_)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Vr(){if(void 0!==Xd)return Xd;if(typeof document<"u")return document;throw new A(210,!1)}const Ll=new U("AppId",{providedIn:"root",factory:()=>AT}),AT="ng",F_=new U("Platform Initializer"),gr=new U("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),OT=new U("AnimationModuleType"),L_=new U("CSP nonce",{providedIn:"root",factory:()=>Vr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function V_(e){return e.ownerDocument}function pn(e){return e instanceof Function?e():e}function Hl(e){return 128==(128&e.flags)}var Hr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Hr||{});const BT=/^>|^->||--!>|)/g,HT="\u200b$1\u200b";const rh=new Map;let UT=0;const oh="__ngContext__";function Pt(e,n){It(n)?(e[oh]=n[Ss],function zT(e){rh.set(e[Ss],e)}(n)):e[oh]=n}let sh;function ah(e,n){return sh(e,n)}function Us(e){const n=e[ze];return Et(n)?n[ze]:n}function nv(e){return iv(e[Ds])}function rv(e){return iv(e[Rn])}function iv(e){for(;null!==e&&!Et(e);)e=e[Rn];return e}function uo(e,n,t,r,i){if(null!=r){let o,s=!1;Et(r)?o=r:It(r)&&(s=!0,r=r[Ke]);const a=Ve(r);0===e&&null!==t?null==i?lv(n,t,a):pi(n,t,a,i||null,!0):1===e&&null!==t?pi(n,t,a,i||null,!0):2===e?function Zl(e,n,t){const r=Wl(e,n);r&&function cA(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function hA(e,n,t,r,i){const o=t[Gn];o!==Ve(t)&&uo(n,e,r,o,i);for(let a=Je;an.replace(jT,HT))}(n))}function zl(e,n,t){return e.createElement(n,t)}function sv(e,n){const t=e[Wi],r=t.indexOf(n);t.splice(r,1)}function $s(e,n){if(e.length<=Je)return;const t=Je+n,r=e[t];if(r){const i=r[Es];null!==i&&i!==e&&sv(i,r),n>0&&(e[t-1][Rn]=r[Rn]);const o=Il(e,Je+n);!function tA(e,n){Gs(e,n,n[ie],2,null,null),n[Ke]=null,n[Rt]=null}(r[P],r);const s=o[zn];null!==s&&s.detachView(o[P]),r[ze]=null,r[Rn]=null,r[Z]&=-129}return r}function Gl(e,n){if(!(256&n[Z])){const t=n[ie];t.destroyNode&&Gs(e,n,t,3,null,null),function iA(e){let n=e[Ds];if(!n)return ch(e[P],e);for(;n;){let t=null;if(It(n))t=n[Ds];else{const r=n[Je];r&&(t=r)}if(!t){for(;n&&!n[Rn]&&n!==e;)It(n)&&ch(n[P],n),n=n[ze];null===n&&(n=e),It(n)&&ch(n[P],n),t=n&&n[Rn]}n=t}}(n)}}function ch(e,n){if(!(256&n[Z])){n[Z]&=-129,n[Z]|=256,n[si]&&function St(e){if(Ue(e),Ot(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[$i]=null);const i=n[kr];if(null!==i){n[kr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===On.None||o===On.Emulated)return null}return Ht(r,t)}}(e,n.parent,t)}function pi(e,n,t,r,i){e.insertBefore(n,t,r,i)}function lv(e,n,t){e.appendChild(n,t)}function cv(e,n,t,r,i){null!==r?pi(e,n,t,r,i):lv(e,n,t)}function Wl(e,n){return e.parentNode(n)}function uv(e,n,t){return hv(e,n,t)}let dh,Yl,Kl,hv=function dv(e,n,t){return 40&e.type?Ht(e,t):null};function ql(e,n,t,r){const i=uh(e,r,n),o=n[ie],a=uv(r.parent||n[Rt],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yl}()?.createHTML(e)||e}function gh(){if(void 0===Kl&&(Kl=null,Fe.trustedTypes))try{Kl=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kl}function yv(e){return gh()?.createHTML(e)||e}function Cv(e){return gh()?.createScriptURL(e)||e}class gi{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cm})`}}class vA extends gi{getTypeName(){return"HTML"}}class yA extends gi{getTypeName(){return"Style"}}class bA extends gi{getTypeName(){return"Script"}}class CA extends gi{getTypeName(){return"URL"}}class wA extends gi{getTypeName(){return"ResourceURL"}}function gn(e){return e instanceof gi?e.changingThisBreaksApplicationSecurity:e}function Qn(e,n){const t=function DA(e){return e instanceof gi&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${cm})`)}return t===n}class AA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(ho(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class OA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=ho(n),t}}const RA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ql(e){return(e=String(e)).match(RA)?e:"unsafe:"+e}function mr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ws(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const Dv=mr("area,br,col,hr,img,wbr"),Ev=mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Sv=mr("rp,rt"),mh=Ws(Dv,Ws(Ev,mr("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")),Ws(Sv,mr("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")),Ws(Sv,Ev)),_h=mr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mv=Ws(_h,mr("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"),mr("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")),NA=mr("script,style,template");class PA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!mh.hasOwnProperty(t))return this.sanitizedSomething=!0,!NA.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();mh.hasOwnProperty(t)&&!Dv.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Iv(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const kA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FA=/([^\#-~ |!])/g;function Iv(e){return e.replace(/&/g,"&").replace(kA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(FA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Xl;function Tv(e,n){let t=null;try{Xl=Xl||function wv(e){const n=new OA(e);return function xA(){try{return!!(new window.DOMParser).parseFromString(ho(""),"text/html")}catch{return!1}}()?new AA(n):n}(e);let r=n?String(n):"";t=Xl.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=Xl.getInertBodyElement(r)}while(r!==o);return ho((new PA).sanitizeChildren(vh(t)||t))}finally{if(t){const r=vh(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function vh(e){return"content"in e&&function LA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mn=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}(mn||{});function kn(e){const n=qs();return n?yv(n.sanitize(mn.HTML,e)||""):Qn(e,"HTML")?yv(gn(e)):Tv(Vr(),re(e))}function Av(e){const n=qs();return n?n.sanitize(mn.URL,e)||"":Qn(e,"URL")?gn(e):Ql(re(e))}function Ov(e){const n=qs();if(n)return Cv(n.sanitize(mn.RESOURCE_URL,e)||"");if(Qn(e,"ResourceURL"))return Cv(gn(e));throw new A(904,!1)}function qs(){const e=S();return e&&e[hr].sanitizer}class $A{}let Rv=(e,n,t)=>null;function Mh(e,n,t=!1){return Rv(e,n,t)}class XA{}class kv{}class eO{resolveComponentFactory(n){throw function JA(e){const n=Error(`No component factory found for ${ot(e)}.`);return n.ngComponent=e,n}(n)}}let Ks=(()=>{class e{static#e=this.NULL=new eO}return e})();function tO(){return go(xe(),S())}function go(e,n){return new vt(Ht(e,n))}let vt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=tO}return e})();function nO(e){return e instanceof vt?e.nativeElement:e}class Lv{}let _r=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function rO(){const e=S(),t=hn(xe().index,e);return(It(t)?t:e)[ie]}()}return e})(),iO=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();const Ah={};function Xs(e,n,t,r,i=!1){for(;null!==t;){const o=n[t.index];null!==o&&r.push(Ve(o)),Et(o)&&Gv(o,r);const s=t.type;if(8&s)Xs(e,n,t.child,r);else if(32&s){const a=ah(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=pv(n,t);if(Array.isArray(a))r.push(...a);else{const l=Us(n[Ze]);Xs(l[P],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function Gv(e,n){for(let t=Je;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{As(e.lView)},consumerOnSignalRead(){this.lView[si]=this}};function xh(e){return e.ngOriginalError}class vr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&xh(n);for(;t&&xh(t);)t=xh(t);return t||null}}const Zv=new U("",{providedIn:"root",factory:()=>L(vr).handleError.bind(void 0)}),Kv=new U("",{providedIn:"root",factory:()=>!1}),ae={};function D(e){ey(_e(),S(),Nt()+e,!1)}function ey(e,n,t,r){if(!r)if(3==(3&n[Z])){const o=e.preOrderCheckHooks;null!==o&&Cl(n,o,t)}else{const o=e.preOrderHooks;null!==o&&wl(n,o,0,t)}ci(t)}function I(e,n=fe.Default){const t=S();return null===t?x(e,n):d_(xe(),t,X(e),n)}function ac(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[Ke]=i,d[Z]=204|r,(null!==c||e&&2048&e[Z])&&(d[Z]|=2048),Hm(d),d[ze]=d[zi]=e,d[Le]=t,d[hr]=s||e&&e[hr],d[ie]=a||e&&e[ie],d[Bt]=l||e&&e[Bt]||null,d[Rt]=o,d[Ss]=function $T(){return UT++}(),d[Nn]=u,d[xm]=c,d[Ze]=2==n.type?e[Ze]:d,d}function mo(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Rh(e,n,t,r,i){const o=Wm(),s=Ed(),l=e.data[n]=function xO(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return Yi()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function wI(){return te.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Os(){const e=te.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Zn(o,!0),o}function Js(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;ooe&&ey(e,n,oe,!1),Wn(s?2:0,i),t(r,i)}finally{ci(o),Wn(s?3:1,i)}}function Nh(e,n,t){if(gd(n)){const r=h(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function oy(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?sy(t,n,i,o):r.hasOwnProperty(i)&&sy(t,n,r[i],o)}return t}function sy(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function _n(e,n,t,r,i,o,s,a){const l=Ht(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(Hh(e,t,u,r,i),ai(n)&&function PO(e,n){const t=hn(n,e);16&t[Z]||(t[Z]|=64)}(t,n.index)):3&n.type&&(r=function NO(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function Lh(e,n,t,r){if(Gm()){const i=null===r?null:{"":-1},o=function jO(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,Js(e,t,i.hostVars,ae),i)}function Xn(e,n,t,r,i,o){const s=Ht(e,n);!function Bh(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?re(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[ie],s,o,e.value,t,r,i)}function WO(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function _O(e){e.lView[si]!==e&&(e.lView=null,Wv.push(e))}(a)),Od()}}function gy(e,n){for(let t=nv(e);null!==t;t=rv(t)){t[Z]&=~qi.HasChildViewsToRefresh;for(let r=Je;r-1&&($s(n,r),Il(t,r))}this._attachedToViewContainer=!1}Gl(this._lView[P],this._lView)}onDestroy(n){vl(this._lView,n)}markForCheck(){ea(this._cdRefInjectingView||this._lView)}detach(){this._lView[Z]&=-129}reattach(){wd(this._lView),this._lView[Z]|=128}detectChanges(){this._lView[Z]|=1024,function Uh(e,n=!0){const t=e[hr],r=t.rendererFactory,i=t.afterRenderEventManager;r.begin?.(),i?.begin();try{!function YO(e){$h(e,0);let n=0;for(;$m(e);){if(100===n)throw new A(103,!1);n++,$h(e,1)}}(e)}catch(s){throw n&&cc(e,s),s}finally{r.end?.(),t.inlineEffectRunner?.flush(),i?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function rA(e,n){Gs(e,n,n[ie],2,null,null)}(this._lView[P],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n,wd(this._lView)}}let _o=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=e1}return e})();function e1(e){return function t1(e,n,t){if(ai(e)&&!t){const r=hn(e.index,n);return new ta(r,r)}return 47&e.type?new ta(n[Ze],n):null}(xe(),S(),16==(16&e))}let uc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=o1;static#t=this.__NG_ENV_ID__=t=>t}return e})();class i1 extends uc{constructor(n){super(),this._lView=n}onDestroy(n){return vl(this._lView,n),()=>function Dd(e,n){if(null===e[kr])return;const t=e[kr].indexOf(n);-1!==t&&e[kr].splice(t,1)}(this._lView,n)}}function o1(){return new i1(S())}const vy=new Set;function mi(e){vy.has(e)||(vy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function zh(e){return n=>{setTimeout(e,void 0,n)}}const ue=class h1 extends ht{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=zh(o),i&&(i=zh(i)),s&&(s=zh(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof we&&n.add(a),a}};function yy(...e){}class me{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function f1(){const e="function"==typeof Fe.requestAnimationFrame;let n=Fe[e?"requestAnimationFrame":"setTimeout"],t=Fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function m1(e){const n=()=>{!function g1(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Wh(e),e.isCheckStableRunning=!0,Gh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Wh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{if(function v1(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(i,o,s,a);try{return by(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Cy(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return by(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Cy(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Wh(e),Gh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!me.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(me.isInAngularZone())throw new A(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,p1,yy,yy);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const p1={};function Gh(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 Wh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function by(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cy(e){e._nesting--,Gh(e)}class _1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}var _i=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_i||{});const wy={destroy(){}};function Ey(e,n){!n&&function Kd(e){if(!pm()&&!function P0(){return Hi}())throw new A(-203,!1)}();const t=n?.injector??L(Tt);if(!function Br(e){return"browser"===(e??L(Tt)).get(gr)}(t))return wy;mi("NgAfterNextRender");const r=t.get(dc),i=r.handler??=new My,o=n?.phase??_i.MixedReadWrite,s=()=>{i.unregister(l),a()},a=t.get(uc).onDestroy(s),l=new Sy(t,o,()=>{s(),e()});return i.register(l),{destroy:s}}class Sy{constructor(n,t,r){this.phase=t,this.callbackFn=r,this.zone=n.get(me),this.errorHandler=n.get(vr,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class My{constructor(){this.executingCallbacks=!1,this.buckets={[_i.EarlyRead]:new Set,[_i.Write]:new Set,[_i.MixedReadWrite]:new Set,[_i.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new A(102,!1)}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let dc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const t of this.internalCallbacks)t();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function C1(e,n){const t=hn(n,e),r=t[P];!function w1(e,n){for(let t=n.length;t0&&_v(e,t,o.join(" "))}}(f,ce,y,r),void 0!==t&&function R1(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=ws(i.hostAttrs,t=ws(t,i.hostAttrs))}}(r)}function fc(e){return e===$n?{}:e===be?[]:e}function k1(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function F1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function L1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function pc(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function Jn(e,n,t){return e[n]=t}function at(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function vi(e,n,t,r){const i=at(e,n,t);return at(e,n+1,r)||i}function $t(e,n,t,r){const i=S();return at(i,Yn(),n)&&(_e(),Xn($e(),i,e,n,t,r)),$t}function mc(e,n){return e<<17|n<<2}function Ur(e){return e>>17&32767}function Zh(e){return 2|e}function yi(e){return(131068&e)>>2}function Yh(e,n){return-131069&e|n<<2}function Kh(e){return 1|e}function Uy(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Ur(o):yi(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Z1(e[a],n)&&(l=!0,e[a+1]=r?Kh(u):Zh(u)),a=r?Ur(u):yi(u)}l&&(e[t+1]=r?Zh(o):Kh(o))}function Z1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&oo(e,n)>=0}const yt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $y(e){return e.substring(yt.key,yt.keyEnd)}function zy(e,n){const t=yt.textEnd;return t===n?-1:(n=yt.keyEnd=function X1(e,n,t){for(;n32;)n++;return n}(e,yt.key=n,t),Io(e,n,t))}function Io(e,n,t){for(;n=0;t=zy(n,t))fn(e,$y(n),!0)}function Fn(e,n,t,r){const i=S(),o=_e(),s=pr(2);o.firstUpdatePass&&Ky(o,e,s,r),n!==ae&&at(i,s,n)&&Xy(o,o.data[Nt()],i,i[ie],e,i[s+1]=function cx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ot(gn(e)))),e}(n,t),r,s)}function Yy(e,n){return n>=e.expandoStartIndex}function Ky(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Nt()],s=Yy(e,t);eb(o,r)&&null===n&&!s&&(n=!1),n=function nx(e,n,t,r){const i=function Id(e){const n=te.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=ia(t=Jh(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Jh(i,e,n,t,r),null===o){let l=function rx(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==yi(r))return e[Ur(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Jh(null,e,n,l[1],r),l=ia(l,n.attrs,r),function ix(e,n,t,r){e[Ur(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function ox(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const f=Ur(e[a+1]);e[r+1]=mc(f,a),0!==f&&(e[f+1]=Yh(e[f+1],r)),e[a+1]=function z1(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=mc(a,0),0!==a&&(e[a+1]=Yh(e[a+1],r)),a=r;else e[r+1]=mc(l,0),0===a?a=r:e[l+1]=Yh(e[l+1],r),l=r;c&&(e[r+1]=Zh(e[r+1])),Uy(e,u,r,!0),Uy(e,u,r,!1),function q1(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&oo(o,n)>=0&&(t[r+1]=Kh(t[r+1]))}(n,u,e,r,o),s=mc(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Jh(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[i+1];f===ae&&(f=d?be:void 0);let p=d?jd(f,r):u===r?f:void 0;if(c&&!vc(p)&&(p=jd(l,r)),vc(p)&&(a=p,s))return a;const y=e[i+1];i=s?Ur(y):yi(y)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=jd(l,r))}return a}function vc(e){return void 0!==e}function eb(e,n){return 0!=(e.flags&(n?8:16))}function yc(){return S()[Ze][Le]}let sb=(e,n)=>null;function To(e,n){return sb(e,n)}class jx{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function af(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function lf(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function ab(e,n,t,r,i){if(lf(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function lb(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class cb{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function ca(e,n,t,r){const i=n.tView,a=ac(e,i,t,4096&e[Z]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Es]=e[n.index];const c=e[zn];return null!==c&&(a[zn]=c.createEmbeddedView(i)),qh(i,a,t),a}function ub(e,n){const t=Je+n;if(t0&&(t[i-1][Rn]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=Ux}return e})();function Ux(){return fb(xe(),S())}const $x=En,db=class extends $x{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new gt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Sl(this._hostTNode,this._hostLView);if(Nd(n)){const t=Ns(n,this._hostLView),r=Rs(n);return new gt(t[P].data[r+8],t)}return new gt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=hb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Je}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=To(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,i,Ao(this._hostTNode,s)),a}createComponent(n,t,r,i,o){const s=n&&!function ks(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const y=t||{};a=y.index,r=y.injector,i=y.projectableNodes,o=y.environmentInjector||y.ngModuleRef}const l=s?n:new na(he(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const w=(s?c:this.parentInjector).get(wn,null);w&&(o=w)}const u=he(l.componentType??{}),d=To(this._lContainer,u?.id??null),p=l.create(c,i,d?.firstChild??null,o);return this.insertImpl(p.hostView,a,Ao(this._hostTNode,d)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function dI(e){return Et(e[ze])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=i[ze],c=new db(l,l[Rt],l[ze]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return ua(s,i,o,r),n.attachToViewContainerRef(),__(uf(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=hb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=$s(this._lContainer,t);r&&(Il(uf(this._lContainer),t),Gl(r[P],r))}detach(n){const t=this._adjustIndex(n,-1),r=$s(this._lContainer,t);return r&&null!=Il(uf(this._lContainer),t)?new ta(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function hb(e){return e[8]}function uf(e){return e[8]||(e[8]=[])}function fb(e,n){let t;const r=n[e.index];return Et(r)?t=r:(t=uy(r,n,null,e),n[e.index]=t,lc(n,t)),pb(t,n,e,r),new db(t,e,n)}let pb=function mb(e,n,t,r){if(e[Gn])return;let i;i=8&t.type?Ve(r):function zx(e,n){const t=e[ie],r=t.createComment(""),i=Ht(n,e);return pi(t,Wl(t,i),r,function uA(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[Gn]=i},df=(e,n,t)=>!1;function ve(e,n,t,r,i,o,s,a){const l=S(),c=_e(),u=e+oe,d=c.firstCreatePass?function Zx(e,n,t,r,i,o,s,a,l){const c=n.consts,u=mo(n,e,4,s||null,qn(c,a));Lh(n,t,u,qn(c,l)),bl(n,u);const d=u.tView=Fh(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];Zn(d,!1);const f=_b(c,l,d,e);yl()&&ql(c,l,f,d),Pt(f,l);const p=uy(f,l,f,d);return l[u]=p,lc(l,p),function gb(e,n,t){return df(e,n,t)}(p,d,l),_l(d)&&Ph(c,l,d),null!=s&&kh(l,d,a),ve}let _b=function vb(e,n,t,r){return Fr(!0),n[ie].createComment("")};function Qe(e,n,t){mi("NgControlFlow");const r=S(),i=Yn(),o=hf(r,oe+e);if(at(r,i,n)){const a=h(null);try{if(cf(o,0),-1!==n){const l=ff(r[P],oe+n),c=To(o,l.tView.ssrId);ua(o,ca(r,l,t,{dehydratedView:c}),0,Ao(l,c))}}finally{h(a)}}else{const a=ub(o,0);void 0!==a&&(a[Le]=t)}}class Qx{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Je}}class eR{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function Ec(e,n,t,r,i,o,s,a,l,c,u){mi("NgControlFlow");const d=void 0!==l,f=S(),p=a?s.bind(f[Ze][Le]):s,y=new eR(d,p);f[oe+e]=y,ve(e+1,n,t,r,i,o),d&&ve(e+2,l,c,u)}class tR extends jx{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Je}at(n){return this.getLView(n)[Le].$implicit}attach(n,t){const r=t[Nn];this.needsIndexUpdate||=n!==this.length,ua(this.lContainer,t,n,Ao(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function nR(e,n){return $s(e,n)}(this.lContainer,n)}create(n,t){const r=To(this.lContainer,this.templateTNode.tView.ssrId);return ca(this.hostLView,this.templateTNode,new Qx(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Gl(n[P],n)}updateValue(n,t){this.getLView(n)[Le].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy(a)})}(s,e,o.trackByFn),s.updateIndexes(),o.hasEmptyBlock){const a=Yn(),l=0===s.length;if(at(r,a,l)){const c=t+2,u=hf(r,c);if(l){const d=ff(i,c),f=To(u,d.tView.ssrId);ua(u,ca(r,d,void 0,{dehydratedView:f}),0,Ao(d,f))}else cf(u,0)}}}finally{h(n)}}function hf(e,n){return e[n]}function ff(e,n){return Ts(e,n)}function v(e,n,t,r){const i=S(),o=_e(),s=oe+e,a=i[ie],l=o.firstCreatePass?function PR(e,n,t,r,i,o){const s=n.consts,l=mo(n,e,2,r,qn(s,i));return Lh(n,t,l,qn(s,o)),null!==l.attrs&&hc(l,l.attrs,!1),null!==l.mergedAttrs&&hc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=Hb(o,i,l,a,n,e);i[s]=c;const u=_l(l);return Zn(l,!0),vv(a,c,l),32!=(32&l.flags)&&yl()&&ql(o,i,c,l),0===function fI(){return te.lFrame.elementDepthCount}()&&Pt(c,i),function pI(){te.lFrame.elementDepthCount++}(),u&&(Ph(o,i,l),Nh(o,l,i)),null!==r&&kh(i,l),v}function _(){let e=xe();Ed()?Sd():(e=e.parent,Zn(e,!1));const n=e;(function mI(e){return te.skipHydrationRootTNode===e})(n)&&function bI(){te.skipHydrationRootTNode=null}(),function gI(){te.lFrame.elementDepthCount--}();const t=_e();return t.firstCreatePass&&(bl(t,e),gd(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function kI(e){return 0!=(8&e.flags)}(n)&&Qh(t,n,S(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function FI(e){return 0!=(16&e.flags)}(n)&&Qh(t,n,S(),n.stylesWithoutHost,!1),_}function Q(e,n,t,r){return v(e,n,t,r),_(),Q}let Hb=(e,n,t,r,i,o)=>(Fr(!0),zl(r,i,function n_(){return te.lFrame.currentNamespace}()));function wf(e,n,t){const r=S(),i=_e(),o=e+oe,s=i.firstCreatePass?function LR(e,n,t,r,i){const o=n.consts,s=qn(o,r),a=mo(n,e,8,"ng-container",s);return null!==s&&hc(a,s,!0),Lh(n,t,a,qn(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];Zn(s,!0);const a=Ub(i,r,s,e);return r[o]=a,yl()&&ql(i,r,a,s),Pt(a,r),_l(s)&&(Ph(i,r,s),Nh(i,s,r)),null!=t&&kh(r,s),wf}function Df(){let e=xe();const n=_e();return Ed()?Sd():(e=e.parent,Zn(e,!1)),n.firstCreatePass&&(bl(n,e),gd(e)&&n.queries.elementEnd(e)),Df}function nr(e,n,t){return wf(e,n,t),Df(),nr}let Ub=(e,n,t,r)=>(Fr(!0),lh(n[ie],""));function rr(){return S()}function Ef(e,n,t){const r=S();return at(r,Yn(),n)&&_n(_e(),$e(),r,e,n,r[ie],t,!0),Ef}const Lo="en-US";let Wb=Lo;function ya(e){return!!e&&"function"==typeof e.then}function _C(e){return!!e&&"function"==typeof e.subscribe}function $(e,n,t,r){const i=S(),o=_e(),s=xe();return function yC(e,n,t,r,i,o,s){const a=_l(r),c=e.firstCreatePass&&fy(e),u=n[Le],d=hy(n);let f=!0;if(3&r.type||s){const w=Ht(r,n),T=s?s(w):w,F=d.length,E=s?ne=>s(Ve(ne[r.index])):r.index;let Y=null;if(!s&&a&&(Y=function FN(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==Y)(Y.__ngLastListenerFn__||Y).__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,f=!1;else{o=CC(r,n,u,o,!1);const ne=t.listen(T,i,o);d.push(o,ne),c&&c.push(i,E,F,F+1)}}else o=CC(r,n,u,o,!1);const p=r.outputs;let y;if(f&&null!==p&&(y=p[i])){const w=y.length;if(w)for(let T=0;T-1?hn(e.index,n):n);let l=bC(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=bC(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function z(e=1){return function MI(e){return(te.lFrame.contextLView=function Um(e,n){for(;e>0;)n=n[zi],e--;return n}(e,te.lFrame.contextLView))[Le]}(e)}function LN(e,n){let t=null;const r=function $0(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i(Fr(!0),function $l(e,n){return e.createText(n)}(n[ie],r));function vn(e){return le("",e,""),vn}function le(e,n,t){const r=S(),i=function yo(e,n,t,r){return at(e,Yn(),t)?n+re(t)+r:ae}(r,e,n,t);return i!==ae&&function yr(e,n,t){const r=Is(n,e);!function ov(e,n,t){e.setValue(n,t)}(e[ie],r,t)}(r,Nt(),i),le}function Af(e,n,t,r,i){if(e=X(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new xs(c,i,I),y=xf(l,n,i?u:u+f,d);-1===y?(Fd(El(a,s),o,l),Of(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[y]=p,s[y]=p)}else{const p=xf(l,n,u+f,d),y=xf(l,n,u,u+f),T=y>=0&&t[y];if(i&&!T||!i&&!(p>=0&&t[p])){Fd(El(a,s),o,l);const F=function JN(e,n,t,r,i){const o=new xs(e,t,I);return o.multi=[],o.index=n,o.componentProviders=0,KC(o,i,r&&!t),o}(i?XN:QN,t.length,i,r,c);!i&&T&&(t[y].providerFactory=F),Of(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(F),s.push(F)}else Of(o,e,p>-1?p:y,KC(t[i?y:p],c,!i&&r));!i&&r&&T&&t[y].componentProviders++}}}function Of(e,n,t,r){const i=hi(n),o=function pT(e){return!!e.useClass}(n);if(i||o){const l=(o?X(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function KC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function xf(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function KN(e,n,t){const r=_e();if(r.firstCreatePass){const i=Pn(e);Af(t,r.data,r.blueprint,i,!0),Af(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class wi{}class QC{}class Nf extends wi{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Iy(this);const i=xt(n);this._bootstrapComponents=pn(i.bootstrap),this._r3Injector=P_(n,t,[{provide:wi,useValue:this},{provide:Ks,useValue:this.componentFactoryResolver},...r],ot(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Pf extends QC{constructor(n){super(),this.moduleType=n}create(n){return new Nf(this.moduleType,n,[])}}class XC extends wi{constructor(n){super(),this.componentFactoryResolver=new Iy(this),this.instance=null;const t=new ao([...n.providers,{provide:wi,useValue:this},{provide:Ks,useValue:this.componentFactoryResolver}],n.parent||kl(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kf(e,n,t=null){return new XC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let nP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=S_(0,t.type),i=r.length>0?kf([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=B({token:e,providedIn:"environment",factory:()=>new e(x(wn))})}return e})();function JC(e){mi("NgStandalone"),e.getStandaloneInjector=n=>n.get(nP).getOrCreateStandaloneInjector(e)}function lw(e,n,t,r,i){return function dw(e,n,t,r,i,o,s){const a=n+t;return vi(e,a,i,o)?Jn(e,a+2,s?r.call(s,i,o):r(i,o)):ba(e,a+2)}(S(),Ut(),e,n,t,r,i)}function cw(e,n,t,r,i,o){return function hw(e,n,t,r,i,o,s,a){const l=n+t;return function gc(e,n,t,r,i){const o=vi(e,n,t,r);return at(e,n+2,i)||o}(e,l,i,o,s)?Jn(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):ba(e,l+3)}(S(),Ut(),e,n,t,r,i,o)}function ba(e,n){const t=e[n];return t===ae?void 0:t}function Lc(e,n){const t=_e();let r;const i=e+oe;t.firstCreatePass?(r=function bP(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=li(r.type)),a=Xt(I);try{const l=Dl(!1),c=o();return Dl(l),function VN(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,S(),i,c),c}finally{Xt(a)}}function Vc(e,n,t){const r=e+oe,i=S(),o=Zi(i,r);return function Ca(e,n){return e[P].data[n].pure}(i,r)?function uw(e,n,t,r,i,o){const s=n+t;return at(e,s,i)?Jn(e,s+1,o?r.call(o,i):r(i)):ba(e,s+1)}(i,Ut(),n,o.transform,t,o):o.transform(t)}function SP(){return this._results[Symbol.iterator]()}class Lf{static#e=Symbol.iterator;get changes(){return this._changes??=new ue}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Lf.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=SP)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function en(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function YI(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=TP}return e})();const MP=yn,IP=class extends MP{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=ca(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new ta(i)}};function TP(){return Bc(xe(),S())}function Bc(e,n){return 4&e.type?new IP(n,e,go(e,n)):null}class Vf{constructor(n){this.queryList=n,this.matches=null}clone(){return new Vf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Bf{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Je;d{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class nk{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Lw=(()=>{class e{compileModuleSync(t){return new Pf(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=pn(xt(t).declarations).reduce((s,a)=>{const l=he(a);return l&&s.push(new na(l)),s},[]);return new nk(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qf=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new un(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Uw=new U(""),Uc=new U("");let Qf,Yf=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Qf||(function Ik(e){Qf=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{me.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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(x(me),x(Kf),x(Uc))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),Kf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Qf?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Xf=new U("Application Initializer");let Jf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=L(Xf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(ya(o))t.push(o);else if(_C(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ep=new U("appBootstrapListener");function Gw(e,n){return Array.isArray(n)?n.reduce(Gw,e):{...e,...n}}let Ei=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=L(Zv),this.componentTypes=[],this.components=[],this.isStable=L(qf).hasPendingTasks.pipe(se(t=>!t)),this._injector=L(wn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof kv;if(!this._injector.get(Jf).done)throw!i&&function Pr(e){const n=he(e)||pt(e)||Mt(e);return null!==n&&n.standalone}(t),new A(405,!1);let s;s=i?t:this._injector.get(Ks).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Ak(e){return e.isBoundToModule}(s)?void 0:this._injector.get(wi),c=s.create(Tt.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Uw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),$c(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new A(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;$c(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(ep,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>$c(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new A(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $c(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let xk=(()=>{class e{constructor(){this.zone=L(me),this.applicationRef=L(Ei)}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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Rk(){const e=L(me),n=L(vr);return t=>e.runOutsideAngular(()=>n.handleError(t))}let Pk=(()=>{class e{constructor(){this.subscription=new we,this.initialized=!1,this.zone=L(me),this.pendingTasks=L(qf)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{me.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{me.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const br=new U("LocaleId",{providedIn:"root",factory:()=>L(br,fe.Optional|fe.SkipSelf)||function kk(){return typeof $localize<"u"&&$localize.locale||Lo}()}),tp=new U("PlatformDestroyListeners");let Yw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function y1(e="zone.js",n){return"noop"===e?new _1:"zone.js"===e?new me(n):e}(r?.ngZone,function Zw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function tP(e,n,t){return new Nf(e,n,t)}(t.moduleType,this.injector,function qw(e){return[{provide:me,useFactory:e},{provide:di,multi:!0,useFactory:()=>{const n=L(xk,{optional:!0});return()=>n.initialize()}},{provide:di,multi:!0,useFactory:()=>{const n=L(Pk);return()=>{n.initialize()}}},{provide:Zv,useFactory:Rk}]}(()=>i)),s=o.injector.get(vr,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{$c(this._modules,o),a.unsubscribe()})}),function zw(e,n,t){try{const r=t();return ya(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Jf);return a.runInitializers(),a.donePromise.then(()=>(function qb(e){Qt(e,"Expected localeId to be defined"),"string"==typeof e&&(Wb=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(br,Lo)||Lo),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=Gw({},r);return function Tk(e,n,t){const r=new Pf(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(Ei);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new A(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new A(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(tp,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(x(Tt))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Wr=null;const Kw=new U("AllowMultipleToken");function Qw(e,n,t=[]){const r=`Platform: ${n}`,i=new U(r);return(o=[])=>{let s=np();if(!s||s.injector.get(Kw,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function Vk(e){if(Wr&&!Wr.get(Kw,!1))throw new A(400,!1);(function $w(){!function fs(e){ni=e}(()=>{throw new A(600,!1)})})(),Wr=e;const n=e.get(Yw);(function Jw(e){e.get(F_,null)?.forEach(t=>t())})(e)}(function Xw(e=[],n){return Tt.create({name:n,providers:[{provide:Wd,useValue:"platform"},{provide:tp,useValue:new Set([()=>Wr=null])},...e]})}(a,r))}return function Bk(e){const n=np();if(!n)throw new A(401,!1);return n}()}}function np(){return Wr?.get(Yw)??null}const Gk=Qw(null,"core",[]);let Wk=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(x(Ei))};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();function Ye(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Mi(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let dp=null;function qr(){return dp}class C2{}const je=new U("DocumentToken");let hp=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(D2),providedIn:"platform"})}return e})();const w2=new U("Location Initialized");let D2=(()=>{class e extends hp{constructor(){super(),this._doc=L(je),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return qr().getBaseHref(this._doc)}onPopState(t){const r=qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=qr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function fp(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function wD(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Cr(e){return e&&"?"!==e[0]?"?"+e:e}let Ii=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(ED),providedIn:"root"})}return e})();const DD=new U("appBaseHref");let ED=(()=>{class e extends Ii{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??L(je).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return fp(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Cr(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Cr(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Cr(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(hp),x(DD,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),E2=(()=>{class e extends Ii{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=fp(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Cr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Cr(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(hp),x(DD,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),Ho=(()=>{class e{constructor(t){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function I2(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(wD(SD(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Cr(r))}normalize(t){return e.stripTrailingSlash(function M2(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,SD(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cr(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Cr(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}static#e=this.normalizeQueryParams=Cr;static#t=this.joinWithSlash=fp;static#n=this.stripTrailingSlash=wD;static#r=this.\u0275fac=function(r){return new(r||e)(x(Ii))};static#i=this.\u0275prov=B({token:e,factory:()=>function S2(){return new Ho(x(Ii))}(),providedIn:"root"})}return e})();function SD(e){return e.replace(/\/index.html$/,"")}let BD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(I(En))};static#t=this.\u0275dir=K({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jt]})}return e})(),jD=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Jt({name:"json",type:e,pure:!1,standalone:!0})}return e})(),UD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const $D="browser";function lu(e){return e===$D}function zD(e){return"server"===e}let qF=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new ZF(x(je),window)})}return e})();class ZF{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function YF(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class yL extends C2{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Op extends yL{static makeCurrent(){!function b2(e){dp||(dp=e)}(new Op)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function bL(){return Oa=Oa||document.querySelector("base"),Oa?Oa.getAttribute("href"):null}();return null==t?null:function CL(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Oa=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function dF(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let Oa=null,DL=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const xp=new U("EventManagerPlugins");let ZD=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new A(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(x(xp),x(me))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class YD{constructor(n){this._doc=n}}const Rp="ng-app-id";let KD=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=zD(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Rp}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(Rp),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Rp,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je),x(Ll),x(L_,8),x(gr))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const Np={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/"},Pp=/%COMP%/g,IL=new U("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function XD(e,n){return n.map(t=>t.replace(Pp,e))}let JD=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=zD(a),this.defaultRenderer=new kp(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===On.ShadowDom&&(r={...r,encapsulation:On.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof tE?i.applyToHost(t):i instanceof Fp&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case On.Emulated:o=new tE(l,c,r,this.appId,u,s,a,d);break;case On.ShadowDom:return new xL(l,c,t,r,s,a,this.nonce,d);default:o=new Fp(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(x(ZD),x(KD),x(Ll),x(IL),x(je),x(gr),x(me),x(L_))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class kp{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Np[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(eE(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(eE(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new A(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Np[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Np[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Hr.DashCase|Hr.Important)?n.style.setProperty(t,r,i&Hr.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Hr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=qr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function eE(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class xL extends kp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=XD(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Fp extends kp{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?XD(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class tE extends Fp{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function TL(e){return"_ngcontent-%COMP%".replace(Pp,e)}(c),this.hostAttr=function AL(e){return"_nghost-%COMP%".replace(Pp,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let RL=(()=>{class e extends YD{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const nE=["alt","control","meta","shift"],NL={"\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"},PL={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let kL=(()=>{class e extends YD{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>qr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),nE.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=NL[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),nE.forEach(s=>{s!==i&&(0,PL[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const iE=[{provide:gr,useValue:$D},{provide:F_,useValue:function FL(){Op.makeCurrent()},multi:!0},{provide:je,useFactory:function VL(){return function TT(e){Xd=e}(document),document},deps:[]}],BL=Qw(Gk,"browser",iE),jL=new U(""),oE=[{provide:Uc,useClass:class wL{addToWindow(n){Fe.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new A(5103,!1);return o},Fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),Fe.getAllAngularRootElements=()=>n.getAllRootElements(),Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push(r=>{const i=Fe.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?qr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Uw,useClass:Yf,deps:[me,Kf,Uc]},{provide:Yf,useClass:Yf,deps:[me,Kf,Uc]}],sE=[{provide:Wd,useValue:"root"},{provide:vr,useFactory:function LL(){return new vr},deps:[]},{provide:xp,useClass:RL,multi:!0,deps:[je,me,gr]},{provide:xp,useClass:kL,multi:!0,deps:[je]},JD,KD,ZD,{provide:Lv,useExisting:JD},{provide:class KF{},useClass:DL,deps:[]},[]];let HL=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ll,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(x(jL,12))};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({providers:[...sE,...oE],imports:[UD,Wk]})}return e})(),aE=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new r:function $L(){return new aE(x(je))}(),i},providedIn:"root"})}return e})();typeof window<"u"&&window;let uE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new(r||e):x(dE),i},providedIn:"root"})}return e})(),dE=(()=>{class e extends uE{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case mn.NONE:return r;case mn.HTML:return Qn(r,"HTML")?gn(r):Tv(this._doc,String(r)).toString();case mn.STYLE:return Qn(r,"Style")?gn(r):r;case mn.SCRIPT:if(Qn(r,"Script"))return gn(r);throw new A(5200,!1);case mn.URL:return Qn(r,"URL")?gn(r):Ql(String(r));case mn.RESOURCE_URL:if(Qn(r,"ResourceURL"))return gn(r);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(t){return function EA(e){return new vA(e)}(t)}bypassSecurityTrustStyle(t){return function SA(e){return new yA(e)}(t)}bypassSecurityTrustScript(t){return function MA(e){return new bA(e)}(t)}bypassSecurityTrustUrl(t){return function IA(e){return new CA(e)}(t)}bypassSecurityTrustResourceUrl(t){return function TA(e){return new wA(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:function(r){let i=null;return i=r?new r:function qL(e){return new dE(e.get(je))}(x(Tt)),i},providedIn:"root"})}return e})();const fE=e=>n=>{for(let t=0,r=e.length;te&&"number"==typeof e.length&&"function"!=typeof e;function gE(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const Vp=e=>{if(e&&"function"==typeof e[_s])return(e=>n=>{const t=e[_s]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(pE(e))return fE(e);if(gE(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Vi),n))(e);if(e&&"function"==typeof e[Yr])return(e=>n=>{const t=e[Yr]();for(;;){let r;try{r=t.next()}catch(i){return n.error(i),n}if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${Ju(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Bp(e,n){return new qe(t=>{const r=new we;let i=0;return r.add(n.schedule(function(){i!==e.length?(t.next(e[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function Dt(e,n){return n?function rV(e,n){if(null!=e){if(function tV(e){return e&&"function"==typeof e[_s]}(e))return function XL(e,n){return new qe(t=>{const r=new we;return r.add(n.schedule(()=>{const i=e[_s]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>t.next(o)))},error(o){r.add(n.schedule(()=>t.error(o)))},complete(){r.add(n.schedule(()=>t.complete()))}}))})),r})}(e,n);if(gE(e))return function JL(e,n){return new qe(t=>{const r=new we;return r.add(n.schedule(()=>e.then(i=>{r.add(n.schedule(()=>{t.next(i),r.add(n.schedule(()=>t.complete()))}))},i=>{r.add(n.schedule(()=>t.error(i)))}))),r})}(e,n);if(pE(e))return Bp(e,n);if(function nV(e){return e&&"function"==typeof e[Yr]}(e)||"string"==typeof e)return function eV(e,n){if(!e)throw new Error("Iterable cannot be null");return new qe(t=>{const r=new we;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(n.schedule(()=>{i=e[Yr](),r.add(n.schedule(function(){if(t.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),r})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof qe?e:new qe(Vp(e))}function du(e,n){return new qe(t=>{const r=e.length;if(0===r)return void t.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),i[a]=u},error:u=>t.error(u),complete:()=>{o++,(o===r||!c)&&(s===r&&t.next(n?n.reduce((u,d,f)=>(u[d]=i[f],u),{}):i),t.complete())}}))}})}let mE=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(_r),I(vt))};static#t=this.\u0275dir=K({type:e})}return e})(),Ti=(()=>{class e extends mE{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,features:[Oe]})}return e})();const ir=new U("NgValueAccessor"),oV={provide:ir,useExisting:ke(()=>hu),multi:!0};let hu=(()=>{class e extends Ti{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[Ge([oV]),Oe]})}return e})();const sV={provide:ir,useExisting:ke(()=>xa),multi:!0},lV=new U("CompositionEventMode");let xa=(()=>{class e extends mE{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function aV(){const e=qr()?qr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(_r),I(vt),I(lV,8))};static#t=this.\u0275dir=K({type:e,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(r,i){1&r&&$("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[Ge([sV]),Oe]})}return e})();function Kr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function _E(e){return null!=e&&"number"==typeof e.length}const kt=new U("NgValidators"),Qr=new U("NgAsyncValidators"),cV=/^(?=.{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 vE{static min(n){return function yE(e){return n=>{if(Kr(n.value)||Kr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Kr(n.value)||Kr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function CE(e){return Kr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function wE(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function DE(e){return Kr(e.value)||cV.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function EE(e){return n=>Kr(n.value)||!_E(n.value)?null:n.value.length_E(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function ME(e){if(!e)return fu;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Kr(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return RE(n)}static composeAsync(n){return NE(n)}}function fu(e){return null}function IE(e){return null!=e}function TE(e){return ya(e)?Dt(e):e}function AE(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function OE(e,n){return n.map(t=>t(e))}function xE(e){return e.map(n=>function uV(e){return!e.validate}(n)?n:t=>n.validate(t))}function RE(e){if(!e)return null;const n=e.filter(IE);return 0==n.length?null:function(t){return AE(OE(t,n))}}function jp(e){return null!=e?RE(xE(e)):null}function NE(e){if(!e)return null;const n=e.filter(IE);return 0==n.length?null:function(t){return function iV(...e){if(1===e.length){const n=e[0];if(oi(n))return du(n,null);if(Ju(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return du(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return du(e=1===e.length&&oi(e[0])?e[0]:e,null).pipe(se(t=>n(...t)))}return du(e,null)}(OE(t,n).map(TE)).pipe(se(AE))}}function Hp(e){return null!=e?NE(xE(e)):null}function PE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function kE(e){return e._rawValidators}function FE(e){return e._rawAsyncValidators}function Up(e){return e?Array.isArray(e)?e:[e]:[]}function pu(e,n){return Array.isArray(e)?e.includes(n):e===n}function LE(e,n){const t=Up(n);return Up(e).forEach(i=>{pu(t,i)||t.push(i)}),t}function VE(e,n){return Up(n).filter(t=>!pu(e,t))}class BE{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(n){this._rawValidators=n||[],this._composedValidatorFn=jp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Zt extends BE{get formDirective(){return null}get path(){return null}}class Er extends BE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class jE{constructor(n){this._cd=n}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 $p=(()=>{class e extends jE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(Er,2))};static#t=this.\u0275dir=K({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&bt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Oe]})}return e})(),zp=(()=>{class e extends jE{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(Zt,10))};static#t=this.\u0275dir=K({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&bt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Oe]})}return e})();const Ra="VALID",mu="INVALID",$o="PENDING",Na="DISABLED";function qp(e){return(_u(e)?e.validators:e)||null}function Zp(e,n){return(_u(n)?n.asyncValidators:e)||null}function _u(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function UE(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new A(1e3,"");if(!r[t])throw new A(1001,"")}function $E(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new A(1002,"")})}class vu{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Ra}get invalid(){return this.status===mu}get pending(){return this.status==$o}get disabled(){return this.status===Na}get enabled(){return this.status!==Na}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(VE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(VE(n,this._rawAsyncValidators))}hasValidator(n){return pu(this._rawValidators,n)}hasAsyncValidator(n){return pu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=$o,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Na,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ra,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ra||this.status===$o)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Na:Ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=$o,this._hasOwnPendingAsyncValidator=!0;const t=TE(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?Na:this.errors?mu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($o)?$o:this._anyControlsHaveStatus(mu)?mu:Ra}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){_u(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function pV(e){return Array.isArray(e)?jp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function gV(e){return Array.isArray(e)?Hp(e):e||null}(this._rawAsyncValidators)}}class zo extends vu{constructor(n,t,r){super(qp(t),Zp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){$E(this,0,n),Object.keys(n).forEach(r=>{UE(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const mV=zo;class zE extends zo{}const Ai=new U("CallSetDisabledState",{providedIn:"root",factory:()=>Pa}),Pa="always";function yu(e,n){return[...n.path,e]}function ka(e,n,t=Pa){Yp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function vV(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&GE(e,n)})}(e,n),function bV(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function yV(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&GE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function _V(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function bu(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),wu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Cu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Yp(e,n){const t=kE(e);null!==n.validator?e.setValidators(PE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=FE(e);null!==n.asyncValidator?e.setAsyncValidators(PE(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Cu(n._rawValidators,i),Cu(n._rawAsyncValidators,i)}function wu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=kE(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=FE(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return Cu(n._rawValidators,r),Cu(n._rawAsyncValidators,r),t}function GE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function WE(e,n){Yp(e,n)}function Qp(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function qE(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Xp(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===xa?t=o:function DV(e){return Object.getPrototypeOf(e.constructor)===Ti}(o)?r=o:i=o}),i||r||t||null}const SV={provide:Zt,useExisting:ke(()=>Du)},Fa=(()=>Promise.resolve())();let Du=(()=>{class e extends Zt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ue,this.form=new zo({},jp(t),Hp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Fa.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ka(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Fa.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Fa.then(()=>{const r=this._findContainer(t.path),i=new zo({});WE(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Fa.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Fa.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,qE(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(r){return new(r||e)(I(kt,10),I(Qr,10),I(Ai,8))};static#t=this.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&$("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ge([SV]),Oe]})}return e})();function ZE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function YE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Go=class extends vu{constructor(n=null,t,r){super(qp(t),Zp(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_u(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=YE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){ZE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ZE(this._onDisabledChange,n)}_forEachChild(n){}_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(n){YE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},pe=Go,TV={provide:Er,useExisting:ke(()=>Jp)},XE=(()=>Promise.resolve())();let Jp=(()=>{class e extends Er{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Go,this._registered=!1,this.name="",this.update=new ue,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Xp(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Qp(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){ka(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(t){XE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&Ye(r);XE.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?yu(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(I(Zt,9),I(kt,10),I(Qr,10),I(ir,10),I(_o,8),I(Ai,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ge([TV]),Oe,jt]})}return e})(),JE=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const AV={provide:ir,useExisting:ke(()=>Eu),multi:!0};let Eu=(()=>{class e extends Ti{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){1&r&&$("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[Ge([AV]),Oe]})}return e})(),eS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const eg=new U("NgModelWithFormControlWarning"),PV={provide:Zt,useExisting:ke(()=>Wo)};let Wo=(()=>{class e extends Zt{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ue,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return ka(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){bu(t.control||null,t,!1),function EV(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,qE(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(bu(r||null,t),(e=>e instanceof Go)(i)&&(ka(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);WE(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function CV(e,n){return wu(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yp(this.form,this),this._oldForm&&wu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(I(kt,10),I(Qr,10),I(Ai,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&$("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ge([PV]),Oe,jt]})}return e})();const LV={provide:Er,useExisting:ke(()=>Su)};let Su=(()=>{class e extends Er{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ue,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Xp(0,o)}ngOnChanges(t){this._added||this._setUpControl(),Qp(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return yu(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(r){return new(r||e)(I(Zt,13),I(kt,10),I(Qr,10),I(ir,10),I(eg,8))};static#n=this.\u0275dir=K({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ge([LV]),Oe,jt]})}return e})();const VV={provide:ir,useExisting:ke(()=>Mu),multi:!0};function oS(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Mu=(()=>{class e extends Ti{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=oS(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function BV(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ge([VV]),Oe]})}return e})(),rg=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(oS(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(_r),I(Mu,9))};static#t=this.\u0275dir=K({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const jV={provide:ir,useExisting:ke(()=>ig),multi:!0};function sS(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ig=(()=>{class e extends Ti{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275dir=K({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,i){1&r&&$("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ge([jV]),Oe]})}return e})(),og=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(sS(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(sS(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(_r),I(ig,9))};static#t=this.\u0275dir=K({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),mS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[eS]})}return e})();class _S extends vu{constructor(n,t,r){super(qp(t),Zp(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){$E(this,0,n),n.forEach((r,i)=>{UE(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function vS(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let KV=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return vS(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new zo(i,o)}record(t,r=null){const i=this._reduceControls(t);return new zE(i,r)}control(t,r,i){let o={};return this.useNonNullable?(vS(r)?o=r:(o.validators=r,o.asyncValidators=i),new Go(t,{...o,nonNullable:!0})):new Go(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new _S(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof Go||t instanceof vu?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yS=(()=>{class e extends KV{group(t,r=null){return super.group(t,r)}control(t,r,i){return super.control(t,r,i)}array(t,r,i){return super.array(t,r,i)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ag=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ai,useValue:t.callSetDisabledState??Pa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[mS]})}return e})(),bS=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:eg,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ai,useValue:t.callSetDisabledState??Pa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[mS]})}return e})();const Sr=new qe(e=>e.complete());function lg(e){return e?function QV(e){return new qe(n=>e.schedule(()=>n.complete()))}(e):Sr}function Mr(e,n){return new qe(n?t=>n.schedule(XV,0,{error:e,subscriber:t}):t=>t.error(e))}function XV({error:e,subscriber:n}){n.error(e)}function Iu(e,n){return n?Bp(e,n):new qe(fE(e))}class qo extends Ne{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Zo extends Ne{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function Yo(e,n){if(n.closed)return;if(e instanceof qe)return e.subscribe(n);let t;try{t=Vp(e)(n)}catch(r){n.error(r)}return t}class eB{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new tB(n,this.resultSelector))}}class tB extends Ne{constructor(n,t,r=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;oi(n)?t.push(new rB(n)):t.push("function"==typeof n[Yr]?new nB(n[Yr]()):new iB(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let r=0;rthis.index}hasCompleted(){return this.array.length===this.index}}class iB extends Zo{constructor(n,t,r){super(n),this.parent=t,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Yr](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return Yo(this.observable,new qo(this))}}class oB extends we{constructor(n,t){super()}schedule(n,t=0){return this}}class cg extends oB{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const n=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}}let CS=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return e.now=()=>Date.now(),e})();class or extends CS{constructor(n,t=CS.now){super(n,()=>or.delegate&&or.delegate!==this?or.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,r){return or.delegate&&or.delegate!==this?or.delegate.schedule(n,t,r):super.schedule(n,t,r)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let r;this.active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const Tu=new class aB extends or{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(cancelAnimationFrame(t),n.scheduled=void 0)}});function on(e,n){return function(r){return r.lift(new lB(e,n))}}class lB{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new cB(n,this.predicate,this.thisArg))}}class cB extends Ne{constructor(n,t,r){super(n),this.predicate=t,this.thisArg=r,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(n)}}const wS=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Xr(e){return n=>0===e?lg():n.lift(new uB(e))}class uB{constructor(n){if(this.total=n,this.total<0)throw new wS}call(n,t){return t.subscribe(new dB(n,this.total))}}class dB extends Ne{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,r=++this.count;r<=t&&(this.destination.next(n),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Cn(e,n){return"function"==typeof n?t=>t.pipe(Cn((r,i)=>Dt(e(r,i)).pipe(se((o,s)=>n(r,o,i,s))))):t=>t.lift(new hB(e))}class hB{constructor(n){this.project=n}call(n,t){return t.subscribe(new fB(n,this.project))}}class fB extends Zo{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const r=this.index++;try{t=this.project(n,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const r=new qo(this),i=this.destination;i.add(r),this.innerSubscription=Yo(n,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}function Jr(){}function We(e,n,t){return function(i){return i.lift(new pB(e,n,t))}}class pB{constructor(n,t,r){this.nextOrObserver=n,this.error=t,this.complete=r}call(n,t){return t.subscribe(new gB(n,this.nextOrObserver,this.error,this.complete))}}class gB extends Ne{constructor(n,t,r,i){super(n),this._tapNext=Jr,this._tapError=Jr,this._tapComplete=Jr,this._tapError=r||Jr,this._tapComplete=i||Jr,xr(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Jr,this._tapError=t.error||Jr,this._tapComplete=t.complete||Jr)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Ko(e){return function(t){const r=new mB(e),i=t.lift(r);return r.caught=i}}class mB{constructor(n){this.selector=n}call(n,t){return t.subscribe(new _B(n,this.selector,this.caught))}}class _B extends Zo{constructor(n,t,r){super(n),this.selector=t,this.caught=r}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new qo(this);this.add(r);const i=Yo(t,r);i!==r&&this.add(i)}}}const Au=new U("HIGHLIGHT_OPTIONS");let ug;let bB=(()=>{class e{constructor(t,r,i){this.doc=t,this.platformId=r,this._options=i,this._ready=new un(null),this.ready=this._ready.asObservable().pipe(on(o=>!!o),se(o=>o),Xr(1)),lu(r)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe(Cn(o=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=o,this.loadLineNumbers().pipe(We(()=>this._ready.next(o)))):(this._ready.next(o),Sr)),Ko(o=>(console.error("[HLJS] ",o),Sr))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return Mr(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return Mr(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return Mr(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return Mr(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe(Cn(t=>this._loadLanguages(t)))}return Mr(()=>"Highlight.js library was not imported!")}_loadLanguages(t){return function JV(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),Iu(e,void 0).lift(new eB(n))}(...Object.entries(this._options.languages).map(([i,o])=>Ou(o()).pipe(We(s=>t.registerLanguage(i,s))))).pipe(se(()=>t))}loadCoreLibrary(){return Ou(this._options.coreLibraryLoader())}loadFullLibrary(){return Ou(this._options.fullLibraryLoader())}loadLineNumbers(){return Ou(this._options.lineNumbersLoader())}setTheme(t){lu(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je),x(gr),x(Au,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ou=e=>Dt(e).pipe(on(n=>!!n&&!!n.default),se(n=>n.default));let CB=(()=>{class e{get hljs(){return this._hljs}constructor(t,r){this._loader=t,this._hljs=null,t.ready.subscribe(i=>{this._hljs=i,r&&r.config&&(i.configure(r.config),i.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(t,{language:r,ignoreIllegals:i}){return this._loader.ready.pipe(se(o=>o.highlight(t,{language:r,ignoreIllegals:i})))}highlightAuto(t,r){return this._loader.ready.pipe(se(i=>i.highlightAuto(t,r)))}highlightElement(t){return this._loader.ready.pipe(se(r=>r.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe(se(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe(se(r=>r.configure(t)))}registerLanguage(t,r){return this._loader.ready.pipe(We(i=>i.registerLanguage(t,r)))}unregisterLanguage(t){return this._loader.ready.pipe(We(r=>r.unregisterLanguage(t)))}registerAliases(t,{languageName:r}){return this._loader.ready.pipe(We(i=>i.registerAliases(t,{languageName:r})))}listLanguages(){return this._loader.ready.pipe(se(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe(se(r=>r.getLanguage(t)))}safeMode(){return this._loader.ready.pipe(se(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe(se(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe(on(r=>!!r.lineNumbersBlock),We(r=>r.lineNumbersBlock(t)))}static#e=this.\u0275fac=function(r){return new(r||e)(x(bB),x(Au,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wB=(()=>{class e{constructor(t,r,i,o,s){this._hljs=r,this._sanitizer=i,this.platformId=o,this._options=s,this.highlighted=new ue,this._nativeElement=t.nativeElement}ngOnChanges(t){lu(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,r){this.setTextContent(t),this._hljs.highlightAuto(t,r).subscribe(i=>{this.setInnerHTML(i?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(i)})}addLineNumbers(){this.destroyLineNumbersObserver(),Tu.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){Tu.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){Tu.schedule(()=>this._nativeElement.innerHTML=function yB(e){return function vB(){if(!ug)try{ug=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return ug}()?.createHTML(e)||e}(this._sanitizer.sanitize(mn.HTML,t)||""))}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(CB),I(uE),I(gr),I(Au,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(r,i){2&r&&bt("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[jt]})}return e})(),DB=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const EB=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],MB=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function DS(e){return Array.isArray(e)?e:[e]}function ut(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Qo(e){return e&&"function"==typeof e.schedule}function ee(...e){let n=e[e.length-1];return Qo(n)?(e.pop(),Bp(e,n)):Iu(e)}function dg(e,n,t,r){return xr(t)&&(r=t,t=void 0),r?dg(e,n,t).pipe(se(i=>oi(i)?r(...i):r(i))):new qe(i=>{ES(e,n,function o(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,t)})}function ES(e,n,t,r,i){let o;if(function xB(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const s=e;e.addEventListener(n,t,i),o=()=>s.removeEventListener(n,t,i)}else if(function OB(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const s=e;e.on(n,t),o=()=>s.off(n,t)}else if(function AB(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const s=e;e.addListener(n,t),o=()=>s.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;sSS(n)&&e()),n},clearImmediate(e){SS(e)}},hg=(new class kB extends or{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=MS.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(MS.clearImmediate(t),n.scheduled=void 0)}}),new or(cg));class VB{constructor(n){this.durationSelector=n}call(n,t){return t.subscribe(new BB(n,this.durationSelector))}}class BB extends Zo{constructor(n,t){super(n),this.durationSelector=t,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(n)}catch(i){return this.destination.error(i)}const r=Yo(t,new qo(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:n,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function IS(e){return!oi(e)&&e-parseFloat(e)+1>=0}function HB(e){const{index:n,period:t,subscriber:r}=e;if(r.next(n),!r.closed){if(-1===t)return r.complete();e.index=n+1,this.schedule(e,t)}}function TS(e,n=hg){return function LB(e){return function(t){return t.lift(new VB(e))}}(()=>function jB(e=0,n,t){let r=-1;return IS(n)?r=Number(n)<1?1:Number(n):Qo(n)&&(t=n),Qo(t)||(t=hg),new qe(i=>{const o=IS(e)?e:+e-t.now();return t.schedule(HB,o,{index:0,period:r,subscriber:i})})}(e,n))}let fg;try{fg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{fg=!1}let xi,La=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?lu(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&&!fg)&&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(r){return new(r||e)(x(gr))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $B(){if(null==xi){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return xi=!1,xi;if("scrollBehavior"in document.documentElement.style)xi=!0;else{const e=Element.prototype.scrollTo;xi=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return xi}function OS(e){return e.composedPath?e.composedPath()[0]:e.target}function xS(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const GB=new U("cdk-dir-doc",{providedIn:"root",factory:function WB(){return L(je)}}),qB=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let RS=(()=>{class e{constructor(t){this.value="ltr",this.change=new ue,t&&(this.value=function ZB(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?qB.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(x(GB,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})(),KB=(()=>{class e{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new ht,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new qe(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(TS(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ee()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(on(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=function TB(e){return e instanceof vt?e.nativeElement:e}(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>dg(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(x(me),x(La),x(je,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mg=(()=>{class e{constructor(t,r,i){this._platform=t,this._change=new ht,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(TS(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(x(La),x(me),x(je,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),NS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})(),PS=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[gg,NS,gg,NS]})}return e})();function kS(e){return n=>n.lift(new XB(e))}class XB{constructor(n){this.notifier=n}call(n,t){const r=new JB(n),i=Yo(this.notifier,new qo(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class JB extends Zo{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class tj{constructor(n,t){this.predicate=n,this.inclusive=t}call(n,t){return t.subscribe(new nj(n,this.predicate,this.inclusive))}}class nj extends Ne{constructor(n,t,r){super(n),this.predicate=t,this.inclusive=r,this.index=0}_next(n){const t=this.destination;let r;try{r=this.predicate(n,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(n,r)}nextOrComplete(n,t){const r=this.destination;t?r.next(n):(this.inclusive&&r.next(n),r.complete())}}class _g{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class rj extends _g{constructor(n,t,r,i,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}}class FS extends _g{constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class ij extends _g{constructor(n){super(),this.element=n instanceof vt?n.nativeElement:n}}class oj{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof rj?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof FS?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof ij?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class sj extends oj{constructor(n,t,r,i,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let i;return n.viewContainerRef?(i=n.viewContainerRef.createComponent(r,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(n.injector||this._defaultInjector||Tt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=n,i}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();function Ft(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(Ft((i,o)=>Dt(e(i,o)).pipe(se((s,a)=>n(i,s,o,a))),t)):("number"==typeof n&&(t=n),r=>r.lift(new lj(e,t)))}class lj{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new cj(n,this.project,this.concurrent))}}class cj extends Zo{constructor(n,t,r=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Jo(e=Number.POSITIVE_INFINITY){return Ft(ol,e)}const LS=$B();class fj{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ut(-this._previousScrollPosition.left),n.style.top=ut(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),LS&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),LS&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class pj{constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(on(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class VS{enable(){}disable(){}attach(){}}function vg(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function BS(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class gj{constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();vg(t,[{width:r,height:i,bottom:i,right:r,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 mj=(()=>{class e{constructor(t,r,i,o){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new VS,this.close=s=>new pj(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new fj(this._viewportRuler,this._document),this.reposition=s=>new gj(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static#e=this.\u0275fac=function(r){return new(r||e)(x(KB),x(mg),x(me),x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class jS{constructor(n){if(this.scrollStrategy=new VS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class _j{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let HS=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(x(je))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vj=(()=>{class e extends HS{constructor(t,r){super(t),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(t){super.add(t),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(r){return new(r||e)(x(je),x(me,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yj=(()=>{class e extends HS{constructor(t,r,i){super(t),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=OS(o)},this._clickListener=o=>{const s=OS(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(x(je),x(La),x(me,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),US=(()=>{class e{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||xS()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new ht,this._outsidePointerEvents=new ht,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Xr(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 t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=ut(this._config.width),n.height=ut(this._config.height),n.minWidth=ut(this._config.minWidth),n.minHeight=ut(this._config.minHeight),n.maxWidth=ut(this._config.maxWidth),n.maxHeight=ut(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,r){const i=DS(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(kS(function uj(...e){let n=Number.POSITIVE_INFINITY,t=null,r=e[e.length-1];return Qo(r)?(t=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===t&&1===e.length&&e[0]instanceof qe?e[0]:Jo(n)(Iu(e,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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const $S="cdk-overlay-connected-position-bounding-box",Cj=/([A-Za-z%]+)$/;class wj{get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,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 ht,this._resizeSubscription=we.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add($S),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ri(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($S),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=GS(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let f=0-a,p=a+o.height-r.height,y=this._subtractOverflows(o.width,0-s,s+o.width-r.width),w=this._subtractOverflows(o.height,f,p),T=y*w;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:w===o.height,fitsInViewportHorizontally:y==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=zS(this._overlayRef.getConfig().minHeight),a=zS(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=GS(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let u=0,d=0;return u=i.width<=o.width?c||-s:n.xy&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-y/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)f=r.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)d=n.x,u=r.right-n.x;else{const p=Math.min(r.right-n.x+r.left,n.x),y=this._lastBoundingBoxSize.width;u=2*p,d=n.x-p,u>y&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-y/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=ut(r.height),i.top=ut(r.top),i.bottom=ut(r.bottom),i.width=ut(r.width),i.left=ut(r.left),i.right=ut(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=ut(o)),s&&(i.maxWidth=ut(s))}this._lastBoundingBoxSize=r,Ri(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Ri(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ri(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();Ri(r,this._getExactOverlayY(t,n,u)),Ri(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=ut(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=ut(s.maxWidth):o&&(r.maxWidth="")),Ri(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=ut(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=ut(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:BS(n,r),isOriginOutsideView:vg(n,r),isOverlayClipped:BS(t,r),isOverlayOutsideView:vg(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&DS(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof vt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function Ri(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function zS(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(Cj);return t&&"px"!==t?null:parseFloat(n)}return e||null}function GS(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const WS="cdk-global-overlay-wrapper";class Dj{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(WS),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let p="",y="",w="";l?w="flex-start":"center"===u?(w="center",f?y=d:p=d):f?"left"===u||"end"===u?(w="flex-end",p=d):("right"===u||"start"===u)&&(w="flex-start",y=d):"left"===u||"start"===u?(w="flex-start",p=d):("right"===u||"end"===u)&&(w="flex-end",y=d),n.position=this._cssPosition,n.marginLeft=l?"0":p,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":y,t.justifyContent=w,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(WS),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Ej=(()=>{class e{constructor(t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new Dj}flexibleConnectedTo(t){return new wj(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(x(mg),x(je),x(La),x(US))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sj=0,Nu=(()=>{class e{constructor(t,r,i,o,s,a,l,c,u,d,f,p){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=p}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new jS(t);return s.direction=s.direction||this._directionality.value,new bj(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+Sj++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ei)),new sj(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(x(mj),x(US),x(Ks),x(Ej),x(vj),x(Tt),x(me),x(je),x(RS),x(Ho),x(yj),x(OT,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Mj=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],qS=new U("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=L(Nu);return()=>e.scrollStrategies.reposition()}});let ZS=(()=>{class e{constructor(t){this.elementRef=t}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt))};static#t=this.\u0275dir=K({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return e})(),YS=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,r,i,o,s){this._overlay=t,this._dir=s,this._backdropSubscription=we.EMPTY,this._attachSubscription=we.EMPTY,this._detachSubscription=we.EMPTY,this._positionSubscription=we.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new ue,this.positionChange=new ue,this.attach=new ue,this.detach=new ue,this.overlayKeydown=new ue,this.overlayOutsideClick=new ue,this._templatePortal=new FS(r,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Mj);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!function hj(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new jS({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ZS?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function ej(e,n=!1){return t=>t.lift(new tj(e,n))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(I(Nu),I(yn),I(En),I(qS),I(RS,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop",Ye],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",Ye],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ye],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ye],push:["cdkConnectedOverlayPush","push",Ye],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ye]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[pc,jt]})}return e})();const Tj={provide:qS,deps:[Nu],useFactory:function Ij(e){return()=>e.scrollStrategies.reposition()}};let Aj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({providers:[Nu,Tj],imports:[gg,aj,PS,PS]})}return e})();class Ce{static getOptionByValue(n,t){if(Array.isArray(n))for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return o}else if(r.value===t)return r}}static getOptionsByValue(n,t,r){if(r){const i=Array.isArray(t)?t:[],o=[];for(const s of i){const a=Ce.getOptionByValue(n,s);a&&o.push(a)}return o}return Ce.getOptionByValue(n,t)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const t of n){const r=t.options;if(r){for(const i of r)if(!i.disabled)return i.value}else if(!t.disabled)return t.value}return null}static valueIsNotInFilteredData(n,t){if(Ce.isNullOrUndefined(t))return!0;for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return!1}else if(r.value===t)return!1}return!0}static getPreviousOption(n,t){let r=Ce.isNullOrUndefined(t);for(let i=n.length-1;i>=0;i--){const o=n[i],s=o.options;if(s)for(let a=s.length-1;a>=0;a--){const l=s[a];if(r&&!l.disabled&&!l.hide)return l;r||(r=l.value===t)}else{if(r&&!o.disabled&&!o.hide)return o;r||(r=o.value===t)}}return null}static getNextOption(n,t){let r=Ce.isNullOrUndefined(t);for(const i of n){const o=i.options;if(o)for(const s of o)if(r){if(!s.disabled&&!s.hide)return s}else r||(r=s.value===t);else if(r){if(!i.disabled&&!i.hide)return i}else r||(r=i.value===t)}return null}static getReduceData(n,t=0){if(t>0){let r=0;const i=[];for(const o of n){const s=o.options;if(s){const a={...o,options:[]};i.push(a);for(const l of s)if(a.options.push(l),r++,r===t)return{result:i,reduce:!0}}else i.push(o),r++;if(r===t)return{result:i,reduce:!0}}return{result:i,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,t,r){if(t){const i=[];for(const o of n){const s=o.options;if(s){if(s.some(a=>Ce.containSearchText(a.label,t,r))){const a=s.filter(l=>Ce.containSearchText(l.label,t,r));i.push({...o,options:a})}}else Ce.containSearchText(o.label,t,r)&&i.push(o)}return i}return n}static getFilteredSelectedData(n,t){const r=[];for(const i of n){const o=i.options;if(o){const s=o.filter(a=>"false"===Ce.isSelected(t,a,!0));s.length&&r.push({...i,options:s})}else"false"===Ce.isSelected(t,i,!0)&&r.push(i)}return r}static isSearchboxHiddex(n,t){return(""===t||null==t||isNaN(+t))&&(t=6),Ce.getOptionsCount(n)<+t}static isSelected(n,t,r){return r?n&&n.some(i=>i.value===t.value)?"true":"false":n&&t.value===n.value?"true":"false"}static removeSelection(n,t){for(let r=0;rObject.prototype.toString.call(e).includes(t))}function bg(e,n){return e?n.document.documentElement:null}function QS(e,n){const t=function Zj({container:e,isWindow:n,axis:t}){const{offsetHeightKey:r,clientHeightKey:i}=XS(t);return JS(e,n,r,i)}(n);return n.isWindow?function Wj(e,n,t){const{axis:r,container:i,isWindow:o}=t,{offsetHeightKey:s,clientHeightKey:a}=XS(r),l=e+eM(bg(o,i),r,o),c=JS(n.nativeElement,o,s,a),u=function Yj(e,n,t){const r=n.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[r]+eM(e,n,t)}(n.nativeElement,r,o)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:o}}(t,e,n):function qj(e,n,t){const{axis:r,container:i}=t;return{height:e,scrolled:i[r.scrollTopKey()],totalToScroll:i[r.scrollHeightKey()],isWindow:!1}}(t,0,n)}function XS(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function JS(e,n,t,r){if(isNaN(e[t])){const i=bg(n,e);return i?i[r]:0}return e[t]}function eM(e,n,t){const r=n.pageYOffsetKey(),i=n.scrollTopKey(),o=n.offsetTopKey();return isNaN(window.pageYOffset)?bg(t,e)[i]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[o]}function Kj(e,n={down:0,up:0},t){let r,i;if(e.totalToScroll<=0)return!1;const o=e.isWindow?e.scrolled:e.height+e.scrolled;return t?(r=(e.totalToScroll-o)/e.totalToScroll,i=(n?.down?n.down:0)/10):(r=e.scrolled/(e.scrolled+(e.totalToScroll-o)),i=(n?.up?n.up:0)/10),r<=i}class tH{constructor(n){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,n)}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,t){this.updateScrollPosition(n),this.updateTotalToScroll(t)}updateTriggeredFlag(n,t){t?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,t){return t?this.triggered.down===n:this.triggered.up===n}}const Cg={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function oH(e){const{scrollDown:n,stats:{scrolled:t}}=e;return{type:n?Cg.DOWN:Cg.UP,payload:{currentScrollPosition:t}}}let sH=(()=>{class e{constructor(t,r){this.element=t,this.zone=r,this.scrolled=new ue,this.scrolledUp=new ue,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:r,infiniteScrollDistance:i}){const o=yg(t),s=yg(r),a=yg(i),l=!s&&!this.infiniteScrollDisabled||s&&!r.currentValue||a;(o||s||a)&&(this.destroyScroller(),l&&this.setup())}setup(){(function Vj(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function nH(e){const{scrollContainer:n,scrollWindow:t,element:r,fromRoot:i}=e,o=function $j({windowElement:e,axis:n}){return function zj(e,n){const t=e.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...e,container:t}}({axis:n,isWindow:Gj(e)},e)}({axis:new Hj(!e.horizontal),windowElement:Fj(n,t,r,i)}),s=new tH({totalToScroll:QS(r,o).totalToScroll}),l={up:e.upDistance,down:e.downDistance};return function rH(e){let n=dg(e.container,"scroll");return e.throttle&&(n=n.pipe(function Rj(e,n=hg,t=KS){return r=>r.lift(new Nj(e,n,t.leading,t.trailing))}(e.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:o.container,throttle:e.throttle}).pipe(Ft(()=>ee(QS(r,o))),se(c=>function iH(e,n,t){const{scrollDown:r,fire:i}=function Xj(e,n,t){const r=function Qj(e,n){return es.updateScroll(c.scrolled,c.totalToScroll)),on(({fire:c,scrollDown:u,stats:{totalToScroll:d}})=>function Uj(e,n,t){return!!(e&&n||!t&&n)}(e.alwaysCallback,c,s.isTriggeredScroll(d,u))),We(({scrollDown:c,stats:{totalToScroll:u}})=>{s.updateTriggeredFlag(u,c)}),se(oH))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:r}){const i=t===Cg.DOWN?this.scrolled:this.scrolledUp;(function aH(e){return e.observed??e.observers.length>0})(i)&&this.zone.run(()=>i.emit(r))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)(I(vt),I(me))};static#t=this.\u0275dir=K({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[jt]})}return e})(),lH=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();const cH=["selection"],uH=["results"],dH=["searchInput"],hH=["dropdown"],fH=["result"];function pH(e,n){1&e&&Q(0,"span",13)}function gH(e,n){1&e&&(v(0,"span"),b(1,"\xa0"),_())}function mH(e,n){1&e&&Q(0,"span",16),2&e&&H("innerHTML",z(3).select2Option.label,kn)}function _H(e,n){1&e&&nr(0)}function vH(e,n){if(1&e&&ve(0,_H,1,0,"ng-container",17),2&e){const t=z(3);H("ngTemplateOutlet",t.getTemplate(t.select2Option,"option"))("ngTemplateOutletContext",t.select2Option)}}function yH(e,n){if(1&e&&ve(0,mH,1,1,"span",16)(1,vH,1,2),2&e){const t=z(2);Qe(0,!t.hasTemplate(t.select2Option,"option")||t.noLabelTemplate?0:1)}}function bH(e,n){if(1&e&&(v(0,"span",14),ve(1,gH,2,0,"span")(2,yH,2,1),v(3,"span",15),b(4),_()()),2&e){const t=z();H("title",(null==t.select2Option?null:t.select2Option.label)||""),D(1),Qe(1,t.select2Option?-1:1),D(1),Qe(2,t.select2Option?2:-1),D(1),bt("select2-selection__placeholder__option",t.option),D(1),vn(t.placeholder)}}function CH(e,n){if(1&e){const t=rr();v(0,"span",18),$("click",function(i){return Te(t),Ae(z().reset(i))}),b(1,"\xd7"),_()}}function wH(e,n){1&e&&Q(0,"span",19)}function DH(e,n){if(1&e&&(v(0,"span",15),b(1),_()),2&e){const t=z(2);bt("select2-selection__placeholder__option",(null==t.select2Options?null:t.select2Options.length)>0),D(1),vn(t.placeholder)}}function EH(e,n){if(1&e){const t=rr();v(0,"span",25),$("click",function(i){Te(t);const o=z().$implicit;return Ae(z(2).removeSelection(i,o))}),b(1,"\xd7"),_()}}function SH(e,n){1&e&&Q(0,"span",16),2&e&&H("innerHTML",z().$implicit.label,kn)}function MH(e,n){1&e&&nr(0)}function IH(e,n){if(1&e&&ve(0,MH,1,0,"ng-container",17),2&e){const t=z().$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function TH(e,n){if(1&e){const t=rr();v(0,"li",23),$("keydown.enter",function(i){const s=Te(t).$implicit;return Ae(z(2).removeSelection(i,s))}),ve(1,EH,2,0,"span",24)(2,SH,1,1,"span",16)(3,IH,1,2),_()}if(2&e){const t=n.$implicit,r=z(2);H("title",t.label),D(1),Qe(1,r.disabled||r.readonly?-1:1),D(1),Qe(2,!r.hasTemplate(t,"option")||r.noLabelTemplate?2:3)}}function AH(e,n){if(1&e){const t=rr();v(0,"li",26),$("focus",function(i){return Te(t),Ae(z(2).stopEvent(i))})("blur",function(i){return Te(t),Ae(z(2).stopEvent(i))}),v(1,"input",27),$("click",function(i){Te(t);const o=z(2);return o.toggleOpenAndClose(!1,!0),Ae(o.stopEvent(i))})("keydown",function(i){return Te(t),Ae(z(2).keyDown(i,!0))})("keyup",function(i){return Te(t),Ae(z(2).searchUpdate(i))})("change",function(i){return Te(t),Ae(z(2).prevChange(i))}),_()()}if(2&e){const t=z(2);D(1),H("id",t.id+"-create-field")}}const OH=()=>[];function xH(e,n){if(1&e&&(v(0,"ul",20),ve(1,DH,2,3,"span",21),Ec(2,TH,4,3,"li",28,yc().trackBy),ve(4,AH,2,1,"li",22),_()),2&e){const t=z();D(1),Qe(1,t.autoCreate?-1:1),D(1),Sc(t.option||function aw(e,n,t){const r=Ut()+e,i=S();return i[r]===ae?Jn(i,r,t?n.call(t):n()):function ra(e,n){return e[n]}(i,r)}(2,OH)),D(2),Qe(4,t.autoCreate?4:-1)}}function RH(e,n){1&e&&nr(0)}function NH(e,n){1&e&&ve(0,RH,1,0,"ng-container",29),2&e&&(z(),H("ngTemplateOutlet",Ct(17)))}function PH(e,n){1&e&&nr(0)}function kH(e,n){1&e&&ve(0,PH,1,0,"ng-container",29),2&e&&(z(),H("ngTemplateOutlet",Ct(17)))}function FH(e,n){if(1&e&&Q(0,"strong",16),2&e){const t=z(2).$implicit;H("innerHTML",t.label,kn),$t("class","select2-results__group"+(t.classes?" "+t.classes:""))}}function LH(e,n){1&e&&nr(0)}function VH(e,n){if(1&e&&ve(0,LH,1,0,"ng-container",17),2&e){const t=z(2).$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"group"))("ngTemplateOutletContext",t)}}function BH(e,n){1&e&&Q(0,"div",47),2&e&&H("innerHTML",z().$implicit.label,kn)}function jH(e,n){1&e&&nr(0)}function HH(e,n){if(1&e&&ve(0,jH,1,0,"ng-container",17),2&e){const t=z().$implicit;H("ngTemplateOutlet",z(4).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function UH(e,n){if(1&e){const t=rr();v(0,"li",44,45),$("mouseenter",function(){const o=Te(t).$implicit;return Ae(z(4).mouseenter(o))})("click",function(){const o=Te(t).$implicit;return Ae(z(4).click(o))}),ve(2,BH,1,1,"div",46)(3,HH,1,2),_()}if(2&e){const t=n.$implicit,r=n.$index,i=z(2).$index,o=z(2);Xh(o.getOptionStyle(t)),H("id",t.id||o.id+"-option-"+i+"-"+r),$t("aria-selected",o.isSelected(t))("aria-disabled",o.isDisabled(t)),D(2),Qe(2,o.hasTemplate(t,"option")?3:2)}}function $H(e,n){if(1&e&&(v(0,"li",42),ve(1,FH,1,2,"strong",16)(2,VH,1,2),v(3,"ul",43),Ec(4,UH,4,6,"li",48,yc().trackBy),_()()),2&e){const t=z().$implicit,r=z(2);D(1),Qe(1,r.hasTemplate(t,"group")?2:1),D(3),Sc(t.options)}}function zH(e,n){1&e&&Q(0,"div",47),2&e&&H("innerHTML",z(2).$implicit.label,kn)}function GH(e,n){1&e&&nr(0)}function WH(e,n){if(1&e&&ve(0,GH,1,0,"ng-container",17),2&e){const t=z(2).$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function qH(e,n){1&e&&nr(0)}function ZH(e,n){if(1&e&&ve(0,qH,1,0,"ng-container",17),2&e){const t=z(2).$implicit;H("ngTemplateOutlet",z(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function YH(e,n){if(1&e){const t=rr();v(0,"li",44,45),$("mouseenter",function(){Te(t);const i=z().$implicit;return Ae(z(2).mouseenter(i))})("click",function(){Te(t);const i=z().$implicit;return Ae(z(2).click(i))}),ve(2,zH,1,1,"div",46)(3,WH,1,2)(4,ZH,1,2,"ng-template",null,49,rn),_()}if(2&e){const t=z(),r=t.$implicit,i=t.$index,o=z(2);Xh(o.getOptionStyle(r)),H("id",r.id||o.id+"-option-"+i),$t("aria-selected",o.isSelected(r))("aria-disabled",o.isDisabled(r)),D(2),Qe(2,o.hasTemplate(r,"option")?3:2)}}function KH(e,n){1&e&&ve(0,$H,6,1,"li",41)(1,YH,6,6),2&e&&Qe(0,void 0!==n.$implicit.options?0:1)}function QH(e,n){1&e&&Q(0,"li",50),2&e&&H("innerHTML",z(2).noResultMessage,kn)}function XH(e,n){1&e&&Q(0,"li",51),2&e&&H("innerHTML",z(2).maxResultsMessage,kn)}function JH(e,n){if(1&e){const t=rr();v(0,"div",30)(1,"div",31,32)(3,"div",33)(4,"input",34,35),$("keydown",function(i){Te(t);const o=z();return Ae(o.keyDown(i,o.autoCreate))})("keyup",function(i){return Te(t),Ae(z().searchUpdate(i))})("change",function(i){return Te(t),Ae(z().prevChange(i))}),_()(),v(6,"div",36)(7,"ul",37,38),$("scrolled",function(){return Te(t),Ae(z().onScroll("down"))})("scrolledUp",function(){return Te(t),Ae(z().onScroll("up"))})("keydown",function(i){return Te(t),Ae(z().keyDown(i))}),Ec(9,KH,2,1,null,null,yc().trackBy),ve(11,QH,1,1,"li",39)(12,XH,1,1,"li",40),_()()()()}if(2&e){const t=Ct(8),r=z();bt("select2-container--open",r.isOpen)("select2-overlay",r.overlay)("select2-position-auto","auto"===r.listPosition),D(1),bt("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),D(2),bt("select2-search--hide",r.hideSearch()),D(1),H("id",r.id+"-search-field")("value",r.searchText),$t("tabindex",r.isOpen?r.tabIndex:"-1"),D(3),_c("max-height",r.resultMaxHeight),H("infiniteScrollDisabled",!r.infiniteScroll&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance)("infiniteScrollThrottle",r.infiniteScrollThrottle)("infiniteScrollContainer",t),D(2),Sc(r.filteredData),D(2),Qe(11,null!=r.filteredData&&r.filteredData.length||!r.noResultMessage?-1:11),D(1),Qe(12,r.maxResultsExceeded?12:-1)}}const eU=[[["select2-label"]],[["select2-hint"]]],tU=["select2-label","select2-hint"];let nU=0;const rU=["default","hidden","always"];let tM=(()=>{class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value=t,this.writeValue(t)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return"material"===this.styleMode}get classNostyle(){return"noStyle"===this.styleMode}get select2above(){return this.overlay?this._isAbobeOverlay():"above"===this.listPosition}get _positions(){return"auto"===this.listPosition?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,r,i,o,s,a){this._viewportRuler=t,this._changeDetectorRef=r,this._parentForm=i,this._parentFormGroup=o,this._control=s,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.update=new ue,this.autoCreateItem=new ue,this.open=new ue,this.close=new ue,this.focus=new ue,this.blur=new ue,this.search=new ue,this.scroll=new ue,this.removeOption=new ue,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new ht,this._disabled=!1,this._multiple=!1,this._uid="select2-"+nU++,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(a,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){const r=t.target;this.ifParentContainsClass(r,"selection")?this.ifParentContainsId(r,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(r,"select2-dropdown")||this.toggleOpenAndClose(),this.ifParentContainsId(r,this._id)||this.clickExit())}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const t=Ce.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{"auto"===this.listPosition&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition?this._dropdownRect.height:0))}updateSearchBox(){const t=!this.customSearchEnabled&&Ce.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){const t=rU.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===t&&this.isSearchboxHidden||"hidden"===t}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(void 0!==this.resetSelectedValue?Ce.getOptionByValue(this._data,this.resetSelectedValue)??null:null),this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,r,i){if(this.disabled)return;this._focus(t);const o=this.isOpen!==(r??!this.isOpen);this.isOpen=r??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&i?this.keyDown(i):setTimeout(()=>{if(this.option){const s=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(s)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,r){return this.templates instanceof yn||this.templates?.[t.templateId]instanceof yn||this.templates?.[r]instanceof yn}getTemplate(t,r){return this.hasTemplate(t,r)?this.templates[t.templateId]||this.templates[r]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}testSelection(t){return!t.disabled&&(!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let r=this._data;if(this.multiple&&this.hideSelectedItems&&(r=Ce.getFilteredSelectedData(r,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(r=Ce.getFilteredData(r,this.searchText,this.editPattern)),this.maxResults>0){const i=Ce.getReduceData(r,+this.maxResults);r=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;Ce.valueIsNotInFilteredData(r,this.hoveringValue)&&(this.hoveringValue=Ce.getFirstAvailableOption(r)),t&&this.writeValue(this._control?this._control.value:this.value),this.filteredData=r,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,r){return null!==this.getParentElementByClass(t,r)}ifParentContainsId(t,r){return null!==this.getParentElementById(t,r)}getParentElementByClass(t,r){return this.containClasses(t,r.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,r):null}getParentElementById(t,r){return t.id===r?t:t.parentElement?this.getParentElementById(t.parentElement,r):null}containClasses(t,r){if(!t.classList)return!1;for(const i of r)if(!t.classList.contains(i))return!1;return!0}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t){let r;if(null!=t)if(this.multiple){const i=this.option,o=i.findIndex(s=>s.value===t.value);-1===o?i.push(t):i.splice(o,1),r=this.option.map(s=>s.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),r=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(r):this._value=r,this.update.emit({component:this,value:r,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}keyDown(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.isOpen?(this.toggleOpenAndClose(!1),this._onTouched(),t.preventDefault()):this._focus(!1))}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:r=>{this.filteredData=r,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,r){return r.value}isSelected(t){return Ce.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,r){Ce.removeSelection(this.option,r),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();const i=this.option.map(o=>o.value);this._control?this._onChange(i):this._value=i,this.update.emit({component:this,value:i,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:i,removedOption:r}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){const t=this._control?.invalid,r=this._control?.touched;return!(!t||!r&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}addItem(t){let r=Ce.getOptionByValue(this._data,t);return r||(r={value:t,label:t},this._data.push(r)),r}createAndAdd(t){const r=t.target.value;if(r.trim()){const i=this.addItem(r.trim());this.click(i),t.target.value="",this.autoCreateItem.emit({value:i,component:this,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(Ce.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(Ce.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;const r=this.results.find(i=>i.nativeElement.innerText.trim()===t.label);if(r&&this.resultsElement){this.resultsElement.scrollTop=0;const i=this.resultsElement.getBoundingClientRect(),o=r.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-i.top}}}selectByEnter(){if(this.hoveringValue){const t=Ce.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,r=[]){return this._isKey(this._getKey(t),r)}_getKey(t){let r;return void 0!==t.key?r=t.key:void 0!==t.keyIdentifier?r=t.keyIdentifier:void 0!==t.keyCode?r=t.keyCode:t.preventDefault(),r}_isKey(t,r=[]){return!!(r&&r.length>0)&&-1!==r.indexOf(t)}_setSelectionByValue(t){if(this.option||null!=t){const r=Array.isArray(t);if(this.multiple&&t&&!r)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],r&&Ce.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o))):this.select(Ce.getOptionByValue(this._data,t)):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&"auto"===this.listPosition?"top"===this._overlayPosition:"above"===this.listPosition}static#e=this.\u0275fac=function(r){return new(r||e)(I(mg),I(_o),I(Du,8),I(Wo,8),I(Er,10),Ps("tabindex"))};static#t=this.\u0275cmp=Ui({type:e,selectors:[["select2"]],viewQuery:function(r,i){if(1&r&&(Di(YS,5),Di(cH,7),Di(uH,5),Di(dH,5),Di(hH,5),Di(fH,5)),2&r){let o;zr(o=Gr())&&(i.cdkConnectedOverlay=o.first),zr(o=Gr())&&(i.selection=o.first),zr(o=Gr())&&(i.resultContainer=o.first),zr(o=Gr())&&(i.searchInput=o.first),zr(o=Gr())&&(i.dropdown=o.first),zr(o=Gr())&&(i.results=o)}},hostVars:8,hostBindings:function(r,i){1&r&&$("click",function(s){return i.clickDetection(s)},0,V_),2&r&&(Ef("id",i.id),$t("aria-invalid",i.ariaInvalid),bt("material",i.classMaterial)("nostyle",i.classNostyle)("select2-above",i.select2above))},inputs:{data:"data",minCharForSearch:["minCharForSearch","minCharForSearch",Mi],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:["limitSelection","limitSelection",Mi],listPosition:"listPosition",multiple:["multiple","multiple",Ye],overlay:["overlay","overlay",Ye],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:["maxResults","maxResults",Mi],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:["infiniteScrollDistance","infiniteScrollDistance",Mi],infiniteScrollThrottle:["infiniteScrollThrottle","infiniteScrollThrottle",Mi],infiniteScroll:["infiniteScroll","infiniteScroll",Ye],autoCreate:["autoCreate","autoCreate",Ye],noLabelTemplate:["noLabelTemplate","noLabelTemplate",Ye],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:["customSearchEnabled","customSearchEnabled",Ye],minCountForSearch:["minCountForSearch","minCountForSearch",Mi],id:"id",required:["required","required",Ye],disabled:["disabled","disabled",Ye],hideSelectedItems:["hideSelectedItems","hideSelectedItems",Ye],readonly:["readonly","readonly",Ye],value:"value",tabIndex:["tabIndex","tabIndex",Mi],resettable:["resettable","resettable",Ye],resetSelectedValue:"resetSelectedValue"},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[pc],ngContentSelectors:tU,decls:18,vars:28,consts:[[1,"select2-label",3,"click"],["class","select2-required"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"tabindex","click","focus","blur","keydown"],["selection","","trigger","cdkOverlayOrigin"],["role","combobox",1,"select2-selection"],["class","select2-selection__rendered",3,"title"],["class","select2-selection__reset","role","presentation"],["class","select2-selection__arrow","role","presentation"],["class","select2-selection__rendered"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions","backdropClick"],["containerTemplate",""],[1,"select2-required"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],["class","select2-selection__placeholder",3,"select2-selection__placeholder__option"],["class","select2-selection__auto-create"],["tabindex","0",1,"select2-selection__choice",3,"title","keydown.enter"],["class","select2-selection__choice__remove","role","presentation"],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"id","click","keydown","keyup","change"],["class","select2-selection__choice","tabindex","0",3,"title"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],["dropdown",""],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"id","value","keydown","keyup","change"],["searchInput",""],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer","scrolled","scrolledUp","keydown"],["results",""],["class","select2-no-result select2-results__option",3,"innerHTML"],["class","select2-too-much-result select2-results__option",3,"innerHTML"],["class","select2-results__option","role","group"],["role","group",1,"select2-results__option"],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"id","mouseenter","click"],["result",""],["class","select2-label-content",3,"innerHTML"],[1,"select2-label-content",3,"innerHTML"],["role","treeitem",3,"id","class"],["li",""],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"]],template:function(r,i){if(1&r&&(function wC(e){const n=S()[Ze][Rt];if(!n.projection){const r=n.projection=Fs(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){const s=e?LN(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(eU),v(0,"div",0),$("click",function(){return i.toggleOpenAndClose()}),If(1),ve(2,pH,1,0,"span",1),_(),v(3,"div",2)(4,"div",3,4),$("click",function(){return i.toggleOpenAndClose()})("focus",function(){return i.focusin()})("blur",function(){return i.focusout()})("keydown",function(s){return i.openKey(s)}),v(7,"div",5),ve(8,bH,5,6,"span",6)(9,CH,2,0,"span",7)(10,wH,1,0,"span",8)(11,xH,5,3,"ul",9),_()(),ve(12,NH,1,1,"ng-container"),v(13,"div",10),If(14,1),_()(),ve(15,kH,1,1,"ng-template",11),$("backdropClick",function(){return i.toggleOpenAndClose()}),ve(16,JH,13,23,"ng-template",null,12,rn)),2&r){const o=Ct(6);D(2),Qe(2,i.required?2:-1),D(1),bt("select2-container--focus",i.focused)("select2-container--below",!i.select2above)("select2-container--above",i.select2above)("select2-container--open",i.isOpen)("select2-container--disabled",i.disabled),D(1),bt("select2-focused",i.focused),H("tabindex",i.isOpen?"-1":i.tabIndex),D(3),bt("select2-selection--multiple",i.multiple)("select2-selection--single",!i.multiple),D(1),Qe(8,i.multiple?-1:8),D(1),Qe(9,i.multiple||!i.resettable||i.resetSelectedValue===i.value||!i.select2Option||i.disabled||i.readonly?-1:9),D(1),Qe(10,i.multiple?-1:10),D(1),Qe(11,i.multiple?11:-1),D(1),Qe(12,i.overlay?-1:12),D(3),H("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",i.isOpen&&i.overlay)("cdkConnectedOverlayMinWidth",i.overlayWidth)("cdkConnectedOverlayHeight",i.overlayHeight)("cdkConnectedOverlayPositions",i._positions)}},dependencies:[BD,YS,ZS,sH],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-padding, 0 0 0 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99}.select2-required[_ngcontent-%COMP%]:before{content:"*";color:var(--select2-required-color, red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-line-height, 28px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{content:" ";border-color:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;background:var(--select2-material-underline-active, #5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']})}return e})(),iU=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[UD,ag,Aj,bS,lH,ag,bS]})}return e})();class sU extends Ne{notifyNext(n,t,r,i,o){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class aU extends Ne{constructor(n,t,r){super(),this.parent=n,this.outerValue=t,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function lU(e,n,t,r,i=new aU(e,t,r)){if(!i.closed)return n instanceof qe?n.subscribe(i):Vp(n)(i)}const nM={};function wg(...e){let n,t;return Qo(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&oi(e[0])&&(e=e[0]),Iu(e,t).lift(new cU(n))}class cU{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new uU(n,this.resultSelector))}}class uU extends sU{constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(nM),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Dg(...e){return function dU(){return Jo(1)}()(ee(...e))}function rM(e){return new qe(n=>{let t;try{t=e()}catch(i){return void n.error(i)}return(t?Dt(t):lg()).subscribe(n)})}function Eg(){return function(n){return n.lift(new hU(n))}}class hU{constructor(n){this.connectable=n}call(n,t){const{connectable:r}=this;r._refCount++;const i=new fU(n,r),o=t.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class fU extends Ne{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class Sg extends qe{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new we,n.add(this.source.subscribe(new pU(this.getSubject(),this))),n.closed&&(this._connection=null,n=we.EMPTY)),n}refCount(){return Eg()(this)}}class pU extends am{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}function ku(e=null){return n=>n.lift(new _U(e))}class _U{constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new vU(n,this.defaultValue))}}class vU extends Ne{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function iM(e=CU){return n=>n.lift(new yU(e))}class yU{constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new bU(n,this.errorFactory))}}class bU extends Ne{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function CU(){return new Pu}function Ni(e,n){const t=arguments.length>=2;return r=>r.pipe(e?on((i,o)=>e(i,o,r)):ol,Xr(1),t?ku(n):iM(()=>new Pu))}function Ba(e,n){return Ft(e,n,1)}class DU{constructor(n,t,r=!1){this.accumulator=n,this.seed=t,this.hasSeed=r}call(n,t){return t.subscribe(new EU(n,this.accumulator,this.seed,this.hasSeed))}}class EU extends Ne{constructor(n,t,r,i){super(n),this.accumulator=t,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let r;try{r=this.accumulator(this.seed,n,t)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function Mg(e){return function(t){return 0===e?lg():t.lift(new SU(e))}}class SU{constructor(n){if(this.total=n,this.total<0)throw new wS}call(n,t){return t.subscribe(new MU(n,this.total))}}class MU extends Ne{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,r=this.total,i=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;on.lift(new xU(e))}class xU{constructor(n){this.callback=n}call(n,t){return t.subscribe(new RU(n,this.callback))}}class RU extends Ne{constructor(n,t){super(n),this.add(new we(t))}}const de="primary",ja=Symbol("RouteTitle");class NU{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function es(e){return new NU(e)}function PU(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function sM(e){return e.length>0?e[e.length-1]:null}function ei(e){return function oU(e){return!!e&&(e instanceof qe||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:ya(e)?Dt(Promise.resolve(e)):ee(e)}const FU={exact:function cM(e,n,t){if(!Pi(e.segments,n.segments)||!Fu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!cM(e.children[r],n.children[r],t))return!1;return!0},subset:uM},aM={exact:function LU(e,n){return sr(e,n)},subset:function VU(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>oM(e[t],n[t]))},ignored:()=>!0};function lM(e,n,t){return FU[t.paths](e.root,n.root,t.matrixParams)&&aM[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function uM(e,n,t){return dM(e,n,n.segments,t)}function dM(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Pi(i,t)||n.hasChildren()||!Fu(i,t,r))}if(e.segments.length===t.length){if(!Pi(e.segments,t)||!Fu(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!uM(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Pi(e.segments,i)&&Fu(e.segments,i,r)&&e.children[de])&&dM(e.children[de],n,o,r)}}function Fu(e,n,t){return n.every((r,i)=>aM[t](e[i].parameters,r.parameters))}class ts{constructor(n=new Re([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=es(this.queryParams)),this._queryParamMap}toString(){return HU.serialize(this)}}class Re{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lu(this)}}class Ha{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=es(this.parameters)),this._parameterMap}toString(){return pM(this)}}function Pi(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let ns=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new Ag,providedIn:"root"})}return e})();class Ag{parse(n){const t=new XU(n);return new ts(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ua(n.root,!0)}`,r=function zU(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${Vu(t)}=${Vu(i)}`).join("&"):`${Vu(t)}=${Vu(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams),i="string"==typeof n.fragment?`#${function UU(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${r}${i}`}}const HU=new Ag;function Lu(e){return e.segments.map(n=>pM(n)).join("/")}function Ua(e,n){if(!e.hasChildren())return Lu(e);if(n){const t=e.children[de]?Ua(e.children[de],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==de&&r.push(`${i}:${Ua(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function jU(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===de&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==de&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===de?[Ua(e.children[de],!1)]:[`${i}:${Ua(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[de]?`${Lu(e)}/${t[0]}`:`${Lu(e)}/(${t.join("//")})`}}function hM(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vu(e){return hM(e).replace(/%3B/gi,";")}function Og(e){return hM(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bu(e){return decodeURIComponent(e)}function fM(e){return Bu(e.replace(/\+/g,"%20"))}function pM(e){return`${Og(e.path)}${function $U(e){return Object.keys(e).map(n=>`;${Og(n)}=${Og(e[n])}`).join("")}(e.parameters)}`}const GU=/^[^\/()?;#]+/;function xg(e){const n=e.match(GU);return n?n[0]:""}const WU=/^[^\/()?;=#]+/,ZU=/^[^=?&#]+/,KU=/^[^&#]+/;class XU{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[de]=new Re(n,t)),r}parseSegment(){const n=xg(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Ha(Bu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function qU(e){const n=e.match(WU);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=xg(this.remaining);i&&(r=i,this.capture(r))}n[Bu(t)]=Bu(r)}parseQueryParam(n){const t=function YU(e){const n=e.match(ZU);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function QU(e){const n=e.match(KU);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=fM(t),o=fM(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=xg(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new A(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=de);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[de]:new Re([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new A(4011,!1)}}function gM(e){return e.segments.length>0?new Re([],{[de]:e}):e}function mM(e){const n={};for(const r of Object.keys(e.children)){const o=mM(e.children[r]);if(r===de&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function JU(e){if(1===e.numberOfChildren&&e.children[de]){const n=e.children[de];return new Re(e.segments.concat(n.segments),n.children)}return e}(new Re(e.segments,n))}function ki(e){return e instanceof ts}function _M(e){let n;const i=gM(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Re(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function vM(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Rg(i,i,i,t,r);const o=function t3(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new bM(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new bM(t,n,r)}(n);if(o.toRoot())return Rg(i,i,new Re([],{}),t,r);const s=function n3(e,n,t){if(e.isAbsolute)return new Hu(n,!0,0);if(!t)return new Hu(n,!1,NaN);if(null===t.parent)return new Hu(t,!0,0);const r=ju(e.commands[0])?0:1;return function r3(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new A(4005,!1);i=r.segments.length}return new Hu(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?za(s.segmentGroup,s.index,o.commands):CM(s.segmentGroup,s.index,o.commands);return Rg(i,s.segmentGroup,a,t,r)}function ju(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $a(e){return"object"==typeof e&&null!=e&&e.outlets}function Rg(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:yM(e,n,t);const a=gM(mM(s));return new ts(a,o,i)}function yM(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:yM(o,n,t)}),new Re(e.segments,r)}class bM{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ju(r[0]))throw new A(4003,!1);const i=r.find($a);if(i&&i!==sM(r))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Hu{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function CM(e,n,t){if(e||(e=new Re([],{})),0===e.segments.length&&e.hasChildren())return za(e,n,t);const r=function o3(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if($a(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!DM(l,c,s))return o;r+=2}else{if(!DM(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndexo!==de)&&e.children[de]&&1===e.numberOfChildren&&0===e.children[de].segments.length){const o=za(e.children[de],n,t);return new Re(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=CM(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new Re(e.segments,i)}}function Ng(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Ng(new Re([],{}),0,r))}),n}function wM(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function DM(e,n,t){return e==t.path&&sr(n,t.parameters)}const Ga="imperative";class ar{constructor(n,t){this.id=n,this.url=t}}class Uu extends ar{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ir extends ar{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class rs extends ar{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class is extends ar{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class $u extends ar{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class EM extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class a3 extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class l3 extends ar{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class c3 extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class u3 extends ar{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class d3{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class h3{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class f3{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class p3{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class g3{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class m3{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class SM{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Pg{}class kg{constructor(n){this.url=n}}class _3{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Wa,this.attachRef=null}}let Wa=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new _3,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class MM{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Fg(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=Fg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Lg(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Lg(n,this._root).map(t=>t.value)}}function Fg(e,n){if(e===n.value)return n;for(const t of n.children){const r=Fg(e,t);if(r)return r}return null}function Lg(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Lg(e,t);if(r.length)return r.unshift(n),r}return[]}class jn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function os(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class IM extends MM{constructor(n,t){super(n),this.snapshot=t,jg(this,n)}toString(){return this.snapshot.toString()}}function TM(e,n){const t=function v3(e,n){const s=new Bg([],{},{},"",{},de,n,null,{});return new AM("",new jn(s,[]))}(0,n),r=new un([new Ha("",{})]),i=new un({}),o=new un({}),s=new un({}),a=new un(""),l=new ss(r,i,s,a,o,de,n,t.root);return l.snapshot=t.root,new IM(new jn(l,[]),t)}class ss{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(se(c=>c[ja]))??ee(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(se(n=>es(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(se(n=>es(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vg(e,n,t="emptyOnly"){let r;const{routeConfig:i}=e;return r=null===n||"always"!==t&&""!==i?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...i?.data,...e._resolvedData}},i&&xM(i)&&(r.resolve[ja]=i.title),r}class Bg{get title(){return this.data?.[ja]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=es(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=es(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class AM extends MM{constructor(n,t){super(t),this.url=n,jg(this,t)}toString(){return OM(this._root)}}function jg(e,n){n.value._routerState=e,n.children.forEach(t=>jg(e,t))}function OM(e){const n=e.children.length>0?` { ${e.children.map(OM).join(", ")} } `:"";return`${e.value}${n}`}function Hg(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,sr(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),sr(n.params,t.params)||e.paramsSubject.next(t.params),function kU(e,n){if(e.length!==n.length)return!1;for(let t=0;tsr(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Ug(e.parent,n.parent))}function xM(e){return"string"==typeof e.title||null===e.title}let $g=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=de,this.activateEvents=new ue,this.deactivateEvents=new ue,this.attachEvents=new ue,this.detachEvents=new ue,this.parentContexts=L(Wa),this.location=L(En),this.changeDetector=L(_o),this.environmentInjector=L(wn),this.inputBinder=L(zu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new y3(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jt]})}return e})();class y3{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===ss?this.route:n===Wa?this.childContexts:this.parent.get(n,t)}}const zu=new U("");let RM=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=wg([r.queryParams,r.params,r.data]).pipe(Cn(([o,s,a],l)=>(a={...o,...s,...a},0===l?ee(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function y2(e){const n=he(e);if(!n)return null;const t=new na(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function qa(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function C3(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return qa(e,r,i);return qa(e,r)})}(e,n,t);return new jn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>qa(e,a)),s}}const r=function w3(e){return new ss(new un(e.url),new un(e.params),new un(e.queryParams),new un(e.fragment),new un(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>qa(e,o));return new jn(r,i)}}const zg="ngNavigationCancelingError";function NM(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=ki(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=PM(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function PM(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[zg]=!0,r.cancellationCode=n,t&&(r.url=t),r}function kM(e){return e&&e[zg]}let FM=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ui({type:e,selectors:[["ng-component"]],standalone:!0,features:[JC],decls:1,vars:0,template:function(r,i){1&r&&Q(0,"router-outlet")},dependencies:[$g],encapsulation:2})}return e})();function Gg(e){const n=e.children&&e.children.map(Gg),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==de&&(t.component=FM),t}function lr(e){return e.outlet||de}function Za(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class O3{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Hg(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=os(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=os(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=os(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=os(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new m3(o.value.snapshot))}),n.children.length&&this.forwardEvent(new p3(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(Hg(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hg(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Za(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class LM{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Gu{constructor(n,t){this.component=n,this.route=t}}function x3(e,n,t){const r=e._root;return Ya(r,n?n._root:null,t,[r.value])}function as(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function I0(e){return null!==ll(e)}(e)?n.get(e):e:r}function Ya(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=os(n);return e.children.forEach(s=>{(function N3(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function P3(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Pi(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Pi(e.url,n.url)||!sr(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ug(e,n)||!sr(e.queryParams,n.queryParams);default:return!Ug(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new LM(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ya(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Gu(a.outlet.component,s))}else s&&Ka(n,a,i),i.canActivateChecks.push(new LM(r)),Ya(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ka(a,t.getContext(s),i)),i}function Ka(e,n,t){const r=os(e),i=e.value;Object.entries(r).forEach(([o,s])=>{Ka(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Gu(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Qa(e){return"function"==typeof e}function VM(e){return e instanceof Pu||"EmptyError"===e?.name}const Wu=Symbol("INITIAL_VALUE");function ls(){return Cn(e=>wg(e.map(n=>n.pipe(Xr(1),function mU(...e){const n=e[e.length-1];return Qo(n)?(e.pop(),t=>Dg(e,t,n)):t=>Dg(e,t)}(Wu)))).pipe(se(n=>{for(const t of n)if(!0!==t){if(t===Wu)return Wu;if(!1===t||t instanceof ts)return t}return!0}),on(n=>n!==Wu),Xr(1)))}function BM(e){return function m0(...e){return om(e)}(We(n=>{if(ki(n))throw NM(0,n)}),se(n=>!0===n))}class Wg{constructor(n){this.segmentGroup=n||null}}class qg extends Error{constructor(n){super(),this.urlTree=n}}function cs(e){return Mr(new Wg(e))}class e${constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return ee(r);if(i.numberOfChildren>1||!i.children[de])return Mr(new A(4e3,!1));i=i.children[de]}}applyRedirectCommands(n,t,r){const i=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new qg(i);return i}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new ts(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Re(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new A(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Zg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function t$(e,n,t,r,i){const o=Yg(e,n,t);return o.matched?(r=function E3(e,n){return e.providers&&!e._injector&&(e._injector=kf(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function Q3(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?ee(i.map(s=>{const a=as(s,e);return ei(function j3(e){return e&&Qa(e.canMatch)}(a)?a.canMatch(n,t):fi(e,()=>a(n,t)))})).pipe(ls(),BM()):ee(!0)}(r,n,t).pipe(se(s=>!0===s?o:{...Zg}))):ee(o)}function Yg(e,n,t){if("**"===n.path)return function n$(e){return{matched:!0,parameters:e.length>0?sM(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Zg}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||PU)(t,e,n);if(!i)return{...Zg};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jM(e,n,t,r){return t.length>0&&function o$(e,n,t){return t.some(r=>qu(e,n,r)&&lr(r)!==de)}(e,t,r)?{segmentGroup:new Re(n,i$(r,new Re(t,e.children))),slicedSegments:[]}:0===t.length&&function s$(e,n,t){return t.some(r=>qu(e,n,r))}(e,t,r)?{segmentGroup:new Re(e.segments,r$(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Re(e.segments,e.children),slicedSegments:t}}function r$(e,n,t,r,i){const o={};for(const s of r)if(qu(e,t,s)&&!i[lr(s)]){const a=new Re([],{});o[lr(s)]=a}return{...i,...o}}function i$(e,n){const t={};t[de]=n;for(const r of e)if(""===r.path&&lr(r)!==de){const i=new Re([],{});t[lr(r)]=i}return t}function qu(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class c${}class h${constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new e$(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){const n=jM(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(se(t=>{const r=new Bg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},de,this.rootComponentType,null,{}),i=new jn(r,t),o=new AM("",i),s=function e3(e,n,t=null,r=null){return vM(_M(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,de).pipe(Ko(r=>{if(r instanceof qg)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Wg?this.noMatchError(r):r}))}inheritParamsAndData(n,t){const r=n.value,i=Vg(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0).pipe(se(o=>o instanceof jn?[o]:[]))}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Dt(i).pipe(Ba(o=>{const s=r.children[o],a=function T3(e,n){const t=e.filter(r=>lr(r)===n);return t.push(...e.filter(r=>lr(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function wU(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new DU(e,n,t))}}((o,s)=>(o.push(...s),o)),ku(null),function IU(e,n){const t=arguments.length>=2;return r=>r.pipe(e?on((i,o)=>e(i,o,r)):ol,Mg(1),t?ku(n):iM(()=>new Pu))}(),Ft(o=>{if(null===o)return cs(r);const s=HM(o);return function f$(e){e.sort((n,t)=>n.value.outlet===de?-1:t.value.outlet===de?1:n.value.outlet.localeCompare(t.value.outlet))}(s),ee(s)}))}processSegment(n,t,r,i,o,s){return Dt(t).pipe(Ba(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(Ko(l=>{if(l instanceof Wg)return ee(null);throw l}))),Ni(a=>!!a),Ko(a=>{if(VM(a))return function l$(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?ee(new c$):cs(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function a$(e,n,t,r){return!!(lr(e)===r||r!==de&&qu(n,t,e))&&Yg(n,e,t).matched}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):cs(i):cs(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=Yg(t,i,o);if(!a)return cs(t);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,d).pipe(Ft(f=>this.processSegment(n,r,t,f.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){const s=t$(t,r,i,n);return"**"===r.path&&(t.children={}),s.pipe(Cn(a=>a.matched?this.getChildConfig(n=r._injector??n,r,i).pipe(Cn(({routes:l})=>{const c=r._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:f}=a,p=new Bg(u,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function g$(e){return e.data||{}}(r),lr(r),r.component??r._loadedComponent??null,r,function m$(e){return e.resolve||{}}(r)),{segmentGroup:y,slicedSegments:w}=jM(t,u,d,l);if(0===w.length&&y.hasChildren())return this.processChildren(c,l,y).pipe(se(F=>null===F?null:new jn(p,F)));if(0===l.length&&0===w.length)return ee(new jn(p,[]));const T=lr(r)===o;return this.processSegment(c,l,y,w,T?de:o,!0).pipe(se(F=>new jn(p,F instanceof jn?[F]:[])))})):cs(t)))}getChildConfig(n,t,r){return t.children?ee({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?ee({routes:t._loadedRoutes,injector:t._loadedInjector}):function K3(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?ee(!0):ee(i.map(s=>{const a=as(s,e);return ei(function F3(e){return e&&Qa(e.canLoad)}(a)?a.canLoad(n,t):fi(e,()=>a(n,t)))})).pipe(ls(),BM())}(n,t,r).pipe(Ft(i=>i?this.configLoader.loadChildren(n,t).pipe(We(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function J3(e){return Mr(PM(!1,3))}())):ee({routes:[],injector:n})}}function p$(e){const n=e.value.routeConfig;return n&&""===n.path}function HM(e){const n=[],t=new Set;for(const r of e){if(!p$(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=HM(r.children);n.push(new jn(r.value,i))}return n.filter(r=>!t.has(r))}function UM(e){const n=e.children.map(t=>UM(t)).flat();return[e,...n]}function Kg(e){return Cn(n=>{const t=e(n);return t?Dt(t).pipe(se(()=>n)):ee(n)})}let $M=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===de);return r}getResolvedTitleForRoute(t){return t.data[ja]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(w$),providedIn:"root"})}return e})(),w$=(()=>{class e extends $M{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static#e=this.\u0275fac=function(r){return new(r||e)(x(aE))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const us=new U("",{providedIn:"root",factory:()=>({})}),ds=new U("ROUTES");let Qg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=L(Lw)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ee(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=ei(t.loadComponent()).pipe(se(zM),We(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ig(()=>{this.componentLoaders.delete(t)})),i=new Sg(r,()=>new ht).pipe(Eg());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ee({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=function D$(e,n,t,r){return ei(e.loadChildren()).pipe(se(zM),Ft(i=>i instanceof QC||Array.isArray(i)?ee(i):Dt(n.compileModuleAsync(i))),se(i=>{r&&r(e);let o,s,a=!1;return Array.isArray(i)?(s=i,!0):(o=i.create(t).injector,s=o.get(ds,[],{optional:!0,self:!0}).flat()),{routes:s.map(Gg),injector:o}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Ig(()=>{this.childrenLoaders.delete(r)})),s=new Sg(o,()=>new ht).pipe(Eg());return this.childrenLoaders.set(r,s),s}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zM(e){return function E$(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Xg=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(S$),providedIn:"root"})}return e})(),S$=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const GM=new U(""),WM=new U("");function M$(e,n,t){const r=e.get(WM),i=e.get(je);return e.get(me).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,Promise.resolve();let o;const s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),function I$(e){return new Promise(n=>{Ey(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&fi(e,()=>l({transition:a,from:n,to:t})),s})}let Zu=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ht,this.transitionAbortSubject=new ht,this.configLoader=L(Qg),this.environmentInjector=L(wn),this.urlSerializer=L(ns),this.rootContexts=L(Wa),this.location=L(Ho),this.inputBindingEnabled=null!==L(zu,{optional:!0}),this.titleStrategy=L($M),this.options=L(us,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=L(Xg),this.createViewTransition=L(GM,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ee(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new h3(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new d3(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,i){return this.transitions=new un({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ga,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(on(o=>0!==o.id),se(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Cn(o=>{this.currentTransition=o;let s=!1,a=!1;return ee(o).pipe(We(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Cn(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new is(l.id,this.urlSerializer.serialize(l.rawUrl),d,0)),l.resolve(null),Sr}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ee(l).pipe(Cn(d=>{const f=this.transitions?.getValue();return this.events.next(new Uu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Sr:Promise.resolve(d)}),function _$(e,n,t,r,i,o){return Ft(s=>function u$(e,n,t,r,i,o,s="emptyOnly"){return new h$(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(se(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),We(d=>{o.targetSnapshot=d.targetSnapshot,o.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new EM(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:f,source:p,restoredState:y,extras:w}=l,T=new Uu(d,this.urlSerializer.serialize(f),p,y);this.events.next(T);const F=TM(0,this.rootComponentType).snapshot;return this.currentTransition=o={...l,targetSnapshot:F,urlAfterRedirects:f,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,ee(o)}{const d="";return this.events.next(new is(l.id,this.urlSerializer.serialize(l.extractedUrl),d,1)),l.resolve(null),Sr}}),We(l=>{const c=new a3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),se(l=>(this.currentTransition=o={...l,guards:x3(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},o)),function U3(e,n){return Ft(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?ee({...t,guardsResult:!0}):function $3(e,n,t,r){return Dt(e).pipe(Ft(i=>function Y3(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ee(o.map(a=>{const l=Za(n)??i,c=as(a,l);return ei(function B3(e){return e&&Qa(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):fi(l,()=>c(e,n,t,r))).pipe(Ni())})).pipe(ls()):ee(!0)}(i.component,i.route,t,n,r)),Ni(i=>!0!==i,!0))}(s,r,i,e).pipe(Ft(a=>a&&function k3(e){return"boolean"==typeof e}(a)?function z3(e,n,t,r){return Dt(n).pipe(Ba(i=>Dg(function W3(e,n){return null!==e&&n&&n(new f3(e)),ee(!0)}(i.route.parent,r),function G3(e,n){return null!==e&&n&&n(new g3(e)),ee(!0)}(i.route,r),function Z3(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function R3(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>rM(()=>ee(s.guards.map(l=>{const c=Za(s.node)??t,u=as(l,c);return ei(function V3(e){return e&&Qa(e.canActivateChild)}(u)?u.canActivateChild(r,e):fi(c,()=>u(r,e))).pipe(Ni())})).pipe(ls())));return ee(o).pipe(ls())}(e,i.path,t),function q3(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return ee(!0);const i=r.map(o=>rM(()=>{const s=Za(n)??t,a=as(o,s);return ei(function L3(e){return e&&Qa(e.canActivate)}(a)?a.canActivate(n,e):fi(s,()=>a(n,e))).pipe(Ni())}));return ee(i).pipe(ls())}(e,i.route,t))),Ni(i=>!0!==i,!0))}(r,o,e,n):ee(a)),se(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),We(l=>{if(o.guardsResult=l.guardsResult,ki(l.guardsResult))throw NM(0,l.guardsResult);const c=new l3(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),on(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),Kg(l=>{if(l.guards.canActivateChecks.length)return ee(l).pipe(We(c=>{const u=new c3(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),Cn(c=>{let u=!1;return ee(c).pipe(function v$(e,n){return Ft(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return ee(t);const o=new Set(i.map(l=>l.route)),s=new Set;for(const l of o)if(!s.has(l))for(const c of UM(l))s.add(c);let a=0;return Dt(s).pipe(Ba(l=>o.has(l)?function y$(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!xM(i)&&(o[ja]=i.title),function b$(e,n,t,r){const i=Tg(e);if(0===i.length)return ee({});const o={};return Dt(i).pipe(Ft(s=>function C$(e,n,t,r){const i=Za(n)??r,o=as(e,i);return ei(o.resolve?o.resolve(n,t):fi(i,()=>o(n,t)))}(e[s],n,t,r).pipe(Ni(),We(a=>{o[s]=a}))),Mg(1),function TU(e){return n=>n.lift(new AU(e))}(o),Ko(s=>VM(s)?Sr:Mr(s)))}(o,e,n,r).pipe(se(s=>(e._resolvedData=s,e.data=Vg(e,e.parent,t).resolve,null)))}(l,r,e,n):(l.data=Vg(l,l.parent,e).resolve,ee(void 0))),We(()=>a++),Mg(1),Ft(l=>a===s.size?ee(t):Sr))})}(this.paramsInheritanceStrategy,this.environmentInjector),We({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",2)}}))}),We(c=>{const u=new u3(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Kg(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(We(f=>{u.component=f}),se(()=>{})));for(const f of u.children)d.push(...c(f));return d};return wg(c(l.targetSnapshot.root)).pipe(ku(null),Xr(1))}),Kg(()=>this.afterPreactivation()),Cn(()=>{const{currentSnapshot:l,targetSnapshot:c}=o,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?Dt(u).pipe(se(()=>o)):ee(o)}),se(l=>{const c=function b3(e,n,t){const r=qa(e,n._root,t?t._root:void 0);return new IM(r,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,o}),We(()=>{this.events.next(new Pg)}),((e,n,t,r)=>se(i=>(new O3(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Xr(1),We({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ir(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),kS(this.transitionAbortSubject.pipe(We(l=>{throw l}))),Ig(()=>{s||a||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Ko(l=>{if(a=!0,kM(l))this.events.next(new rs(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),function D3(e){return kM(e)&&ki(e.url)}(l)?this.events.next(new kg(l.url)):o.resolve(!1);else{this.events.next(new $u(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0));try{o.resolve(t.errorHandler(l))}catch(c){o.reject(c)}}return Sr}))}))}cancelNavigationTransition(t,r,i){const o=new rs(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function T$(e){return e!==Ga}let A$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(x$),providedIn:"root"})}return e})();class O${shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let x$=(()=>{class e extends O${static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qM=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:()=>L(R$),providedIn:"root"})}return e})(),R$=(()=>{class e extends qM{constructor(){super(...arguments),this.location=L(Ho),this.urlSerializer=L(ns),this.options=L(us,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=L(Xg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ts,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=TM(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Uu)this.stateMemento=this.createStateMemento();else if(t instanceof is)this.rawUrlTree=r.initialUrl;else if(t instanceof EM){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(i,r)}}else t instanceof Pg?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof rs&&(3===t.code||2===t.code)?this.restoreHistory(r):t instanceof $u?this.restoreHistory(r,!0):t instanceof Ir&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&0===o&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=mt(e)))(i||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Xa||{});function ZM(e,n){e.events.pipe(on(t=>t instanceof Ir||t instanceof rs||t instanceof $u||t instanceof is),se(t=>t instanceof Ir||t instanceof is?Xa.COMPLETE:t instanceof rs&&(0===t.code||1===t.code)?Xa.REDIRECTING:Xa.FAILED),on(t=>t!==Xa.REDIRECTING),Xr(1)).subscribe(()=>{n()})}function N$(e){throw e}const P$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},k$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=L(Fw),this.stateManager=L(qM),this.options=L(us,{optional:!0})||{},this.pendingTasks=L(qf),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=L(Zu),this.urlSerializer=L(ns),this.location=L(Ho),this.urlHandlingStrategy=L(Xg),this._events=new ht,this.errorHandler=this.options.errorHandler||N$,this.navigated=!1,this.routeReuseStrategy=L(A$),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=L(ds,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!L(zu,{optional:!0}),this.eventsSubscription=new we,this.isNgZoneEnabled=L(me)instanceof me&&me.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(null!==i&&null!==o)if(this.stateManager.handleRouterEvent(r,o),r instanceof rs&&0!==r.code&&1!==r.code)this.navigated=!0;else if(r instanceof Ir)this.navigated=!0;else if(r instanceof kg){const s=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||T$(i.source)};this.scheduleNavigation(s,Ga,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}(function L$(e){return!(e instanceof Pg||e instanceof kg)})(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ga,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Gg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=_M(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return vM(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=ki(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Ga,null,r)}navigate(t,r={skipLocationChange:!1}){return function F$(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return ZM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yu=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new ht,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Ir&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function xv(e,n,t){return function UA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Ov:Av}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(r){return new(r||e)(I(Hn),I(ss),Ps("tabindex"),I(_r),I(vt),I(Ii))};static#t=this.\u0275dir=K({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){1&r&&$("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&$t("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Ye],skipLocationChange:["skipLocationChange","skipLocationChange",Ye],replaceUrl:["replaceUrl","replaceUrl",Ye],routerLink:"routerLink"},standalone:!0,features:[pc,jt]})}return e})(),YM=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,o,s){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ue,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Ir&&this.update()})}ngAfterContentInit(){ee(this.links.changes,ee(null)).pipe(Jo()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Dt(t).pipe(Jo()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function V$(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static#e=this.\u0275fac=function(r){return new(r||e)(I(Hn),I(vt),I(_r),I(_o),I(Yu,8))};static#t=this.\u0275dir=K({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(1&r&&function _w(e,n,t,r){const i=_e();if(i.firstCreatePass){const o=xe();yw(i,new gw(n,t,r),o.index),function PP(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}vw(i,S(),t)}(o,Yu,5),2&r){let s;zr(s=Gr())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[jt]})}return e})();class KM{}let B$=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(on(t=>t instanceof Ir),Ba(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=kf(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Dt(i).pipe(Jo())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ee(null);const o=i.pipe(Ft(s=>null===s?ee(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Dt([o,this.loader.loadComponent(r)]).pipe(Jo()):o})}static#e=this.\u0275fac=function(r){return new(r||e)(x(Hn),x(Lw),x(wn),x(KM),x(Qg))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Jg=new U("");let QM=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Uu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ir?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof is&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof SM&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new SM(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){!function ty(){throw new Error("invalid")}()};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function cr(e,n){return{\u0275kind:e,\u0275providers:n}}function JM(){const e=L(Tt);return n=>{const t=e.get(Ei);if(n!==t.components[0])return;const r=e.get(Hn),i=e.get(e0);1===e.get(em)&&r.initialNavigation(),e.get(t0,null,fe.Optional)?.setUpPreloading(),e.get(Jg,null,fe.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const e0=new U("",{factory:()=>new ht}),em=new U("",{providedIn:"root",factory:()=>1}),t0=new U("");function $$(e){return cr(0,[{provide:t0,useExisting:B$},{provide:KM,useExisting:e}])}function G$(e){return cr(9,[{provide:GM,useValue:M$},{provide:WM,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const n0=new U("ROUTER_FORROOT_GUARD"),W$=[Ho,{provide:ns,useClass:Ag},Hn,Wa,{provide:ss,useFactory:function XM(e){return e.routerState.root},deps:[Hn]},Qg,[]];let r0=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[W$,[],{provide:ds,multi:!0,useValue:t},{provide:n0,useFactory:K$,deps:[[Hn,new Al,new Ol]]},{provide:us,useValue:r||{}},r?.useHash?{provide:Ii,useClass:E2}:{provide:Ii,useClass:ED},{provide:Jg,useFactory:()=>{const e=L(qF),n=L(me),t=L(us),r=L(Zu),i=L(ns);return t.scrollOffset&&e.setOffset(t.scrollOffset),new QM(i,r,e,n,t)}},r?.preloadingStrategy?$$(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Q$(r):[],r?.bindToComponentInputs?cr(8,[RM,{provide:zu,useExisting:RM}]).\u0275providers:[],r?.enableViewTransitions?G$().\u0275providers:[],[{provide:o0,useFactory:JM},{provide:ep,multi:!0,useExisting:o0}]]}}static forChild(t){return{ngModule:e,providers:[{provide:ds,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(r){return new(r||e)(x(n0,8))};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({})}return e})();function K$(e){return"guarded"}function Q$(e){return["disabled"===e.initialNavigation?cr(3,[{provide:Xf,multi:!0,useFactory:()=>{const n=L(Hn);return()=>{n.setUpLocationChangeListener()}}},{provide:em,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?cr(2,[{provide:em,useValue:0},{provide:Xf,multi:!0,deps:[Tt],useFactory:n=>{const t=n.get(w2,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Hn),o=n.get(e0);ZM(i,()=>{r(!0)}),n.get(Zu).afterPreactivation=()=>(r(!0),o.closed?ee(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const o0=new U("");let J$=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=Ui({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(r,i){1&r&&(v(0,"a",0),b(1,"the source code of the demo"),_(),v(2,"nav")(3,"ul")(4,"li")(5,"a",1),b(6,"Examples"),_()(),v(7,"li")(8,"a",2),b(9,"Code generator"),_()()()(),Q(10,"router-outlet"))},dependencies:[$g,Yu,YM],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px}\n"],encapsulation:2})}return e})();const Fi=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],tm=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],Ku=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],e8=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],t8=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],n8=[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}],r8=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],nm=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"},{value:"foo9",label:"foo9",hide:!0}],i8=[{value:!0,label:"true"},{value:!1,label:"false"}],o8=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],s8=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],s0=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],a0=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],l0=[];for(let e=1;e<=50;e++)l0.push({value:e,label:">"+e});const c0=[];for(let e=1;e<=200;e++)c0.push({value:e,label:"item n\xb0 "+e});const u0=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],a8=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xe7ais"},{value:"japanese",label:"Japonais"}],l8=[{value:"english",label:"\u82f1\u8a9e"},{value:"french",label:"\u30d5\u30e9\u30f3\u30b9\u8a9e"},{value:"japanese",label:"\u65e5\u672c\u8a9e"}];let d0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["select2-hint"]]})}return e})(),h0=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=K({type:e,selectors:[["select2-label"]]})}return e})();function c8(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;D(1),vn(null==t?null:t.color),D(1),le(": ",null==t?null:t.name,"")}}function u8(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;D(1),vn(null==t?null:t.color),D(1),le(": ",null==t?null:t.name,"")}}function d8(e,n){if(1&e&&(v(0,"strong"),b(1),_()),2&e){const t=n.label;D(1),le("(",t,")")}}function h8(e,n){if(1&e&&(v(0,"span"),b(1),_()),2&e){const t=n.data;_c("background",null==t?null:t.color),D(1),vn(null==t?null:t.name)}}function f8(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;D(1),vn(null==t?null:t.color),D(1),le(": ",null==t?null:t.name,"")}}function p8(e,n){1&e&&(b(0),Lc(1,"json")),2&e&&vn(Vc(1,1,n.data))}const g8=(e,n)=>({option:e,group:n}),m8=(e,n,t)=>({template1:e,template2:n,template3:t});let f0=(()=>{class e{constructor(t){this.fb=t,this.data1=Fi,this.data2=tm,this.data3=Ku,this.data4=JSON.parse(JSON.stringify(Ku)),this.data5=e8,this.data6=t8,this.data7=JSON.parse(JSON.stringify(Ku)),this.data8=[],this.data9=JSON.parse(JSON.stringify(Fi)),this.data10=JSON.parse(JSON.stringify(Fi)),this.data11=JSON.parse(JSON.stringify(Fi)),this.data12=JSON.parse(JSON.stringify(Fi)),this.data13=i8,this.data15=tm,this.data16=tm,this.data17=o8,this.data18=r8,this.data19=nm,this.data20=JSON.parse(JSON.stringify(nm)),this.data21=JSON.parse(JSON.stringify(nm)),this.data22=s8,this.data23=s0,this.data24=a0,this.data25=JSON.parse(JSON.stringify(s0)),this.data26=l0,this.data28=c0,this.data29=JSON.parse(JSON.stringify(Ku)),this.data29b=JSON.parse(JSON.stringify(Fi)),this.data30=JSON.parse(JSON.stringify(Fi)),this.data31=u0,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.limitSelection=0,this.overlay=!1,this.fg=new mV({state:new pe}),this.ctrlForm=this.fb.group({test11:new pe(null,vE.required)}),this.ctrlForm2=this.fb.group({test5:new pe(0,vE.required)}),this.fg.patchValue(this.formData())}addItem(){const t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}open(t,r){console.log(t,r)}close(t,r){console.log(t,r)}focus(t,r){console.log(t,r)}blur(t,r){console.log(t,r)}change(t,r){console.log(t,r)}search(t,r){console.log(t,r)}open8(){this.data8=n8}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(r=>r.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){const t=this.ctrlForm.get("test11");t&&t.reset()}change11(){const t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),"down"===t.way&&!t.search){const r=this.data26.length;for(let i=1+r;i<=50+r;i++)this.data26.push({value:i,label:">"+i})}}update(t,r){this[t]=r.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=u0;break;case"french":this.data31=a8;break;case"japanese":this.data31=l8}}static#e=this.\u0275fac=function(r){return new(r||e)(I(yS))};static#t=this.\u0275cmp=Ui({type:e,selectors:[["app-root"]],decls:175,vars:154,consts:[["for","disabled"],["id","disabled","type","checkbox",3,"ngModel","ngModelChange"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"overlay","data","value","update","change","blur","focus","open","close","search"],["id","ex-2"],["id","selec2-2",3,"overlay","data","value","update"],["id","ex-3"],["id","selec2-3",3,"overlay","data","value","update"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"overlay","data","minCountForSearch","update"],["id","ex-6"],["size","3","value","7"],["limit",""],["status",""],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"overlay","data","value","minCountForSearch","displaySearchStatus","update"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"overlay","data","update"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"overlay","data","open","close","search","update"],["id","ex-9"],["type","number",3,"ngModel","ngModelChange"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"overlay","data","value","limitSelection","update","blur","focus","open","close","search"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"overlay","data","value","update"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"overlay","ngModel","data","ngModelChange"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"overlay","data","value","update"],["id","ex-13"],["id","selec2-13",3,"overlay","data","value","update"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"overlay","data"],["id","ex-15"],["id","selec2-15",3,"overlay","data","value","update"],["id","ex-16"],["required","","id","selec2-16",3,"overlay","data","value","update"],["id","ex-17"],["id","select2-17",3,"overlay","data","value","update"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"overlay","data","value","update"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"overlay","data","value","update"],[1,"noStyle"],["id","ex-20"],["listPosition","above","styleMode","noStyle","id","selec2-20",3,"overlay","data","value","update"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"overlay","data","value","update"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"overlay","data","value","update"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"overlay","data","value","templates","update"],["template",""],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"overlay","data","value","templates","update"],["templateOption",""],["templateGroup",""],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"overlay","data","value","templates","update"],["template1",""],["template2",""],["template3",""],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"overlay","data","value","update","scroll"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"overlay","data","value","update"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"overlay","data","value","update"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"overlay","data","value","update"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"overlay","data","value","update"],["id","ex-30"],["resettable","","resetSelectedValue","CA","id","selec2-30",3,"overlay","data","value","update"],["id","ex-31"],[3,"change"],["select",""],["id","selec2-31",3,"overlay","data","value","update"],["id","selec2-31b",3,"overlay","data","ngModel","ngModelChange","update"],["id","ex-32"],["resettable","","autoCreat","","resetSelectedValue","CA","id","selec2-32",3,"overlay","data","value","autoCreateItem"]],template:function(r,i){if(1&r){const o=rr();v(0,"h2"),b(1,"Examples"),_(),v(2,"label",0),b(3,"overlay : "),_(),v(4,"input",1),$("ngModelChange",function(a){return i.overlay=a}),_(),v(5,"div",2)(6,"h3",3),b(7),_(),v(8,"select2",4),$("update",function(a){return i.update("value1",a)})("change",function(a){return i.change("change1",a)})("blur",function(a){return i.blur("blur1",a)})("focus",function(a){return i.focus("focus1",a)})("open",function(a){return i.open("open1",a)})("close",function(a){return i.close("close1",a)})("search",function(a){return i.search("search1",a)}),_(),v(9,"h3",5),b(10),_(),v(11,"select2",6),$("update",function(a){return i.update("value2",a)}),_(),v(12,"h3",7),b(13),_(),v(14,"select2",8),$("update",function(a){return i.update("value3",a)}),_(),v(15,"h3",9),b(16),_(),Q(17,"select2",10),v(18,"h3",11),b(19),_(),v(20,"form",12)(21,"select2",13),$("update",function(a){return i.update("value5",a)}),_()(),v(22,"h3",14),b(23," 6. search limit to "),Q(24,"input",15,16),b(26," / display status "),v(27,"select",null,17)(29,"option",18),b(30,"default"),_(),v(31,"option"),b(32,"hidden"),_(),v(33,"option"),b(34,"always"),_()(),b(35),_(),v(36,"div")(37,"button",19),$("click",function(){return i.addItem()}),b(38,"Add item"),_(),v(39,"button",19),$("click",function(){return i.removeItem()}),b(40,"Remove item"),_()(),v(41,"select2",20),$("update",function(a){return i.update("value6",a)}),_(),v(42,"h3",21),b(43),_(),v(44,"select2",22),$("update",function(a){return i.update("value7",a)}),_(),v(45,"h3",23),b(46),_(),v(47,"select2",24),$("open",function(){return i.open8()})("close",function(){return i.close8()})("search",function(a){return i.search8(a)})("update",function(a){return i.update("value8",a)}),v(48,"select2-hint"),b(49),_()(),v(50,"h3",25),b(51,"9. multiple + limite "),v(52,"input",26),$("ngModelChange",function(a){return i.limitSelection=a}),_(),b(53),Lc(54,"json"),_(),v(55,"select2",27),$("update",function(a){return i.update("value9",a)})("blur",function(a){return i.blur("blur9",a)})("focus",function(a){return i.focus("focus9",a)})("open",function(a){return i.open("open9",a)})("close",function(a){return i.close("close9",a)})("search",function(a){return i.search("search9",a)}),_(),v(56,"h3",28),b(57),Lc(58,"json"),_(),v(59,"select2",29),$("update",function(a){return i.update("value10",a)}),_(),v(60,"h3",30),b(61),_(),v(62,"form",12)(63,"select2",31),$("ngModelChange",function(a){return i.value11=a}),_(),v(64,"button",32),$("click",function(){return i.reset11()}),b(65,"reset"),_(),v(66,"button",32),$("click",function(){return i.change11()}),b(67,"Utah"),_()(),v(68,"h3",33),b(69),_(),v(70,"select2",34),$("update",function(a){return i.update("value12",a)}),_(),v(71,"h3",35),b(72),_(),v(73,"select2",36),$("update",function(a){return i.update("value13",a)}),_(),v(74,"h3",37),b(75,"14. FormControl"),_(),v(76,"form",12),Q(77,"select2",38),v(78,"button",32),$("click",function(){return i.print()}),b(79,"Log Selected"),_(),v(80,"button",32),$("click",function(){return i.resetForm()}),b(81,"Reset Form"),_()(),v(82,"h3",39),b(83),_(),v(84,"select2",40),$("update",function(a){return i.update("value15",a)}),v(85,"select2-label"),b(86,"Select a state"),_()(),v(87,"h3",41),b(88),_(),v(89,"select2",42),$("update",function(a){return i.update("value16",a)}),v(90,"select2-label"),b(91,"Select a state"),_()(),v(92,"h3",43),b(93),_(),v(94,"select2",44),$("update",function(a){return i.update("value17",a)}),_(),v(95,"h3",45),b(96,"18. search starts with 3 chars"),_(),v(97,"select2",46),$("update",function(a){return i.update("value18",a)}),_(),v(98,"h3",47),b(99),_(),v(100,"select2",48),$("update",function(a){return i.update("value19",a)}),_(),v(101,"div",49)(102,"h3",50),b(103),_(),v(104,"select2",51),$("update",function(a){return i.update("value20",a)}),_()(),v(105,"h3",52),b(106),_(),v(107,"select2",53),$("update",function(a){return i.update("value21",a)}),_(),v(108,"button",32),$("click",function(){return i.value21=""}),b(109,"Update value to empty string"),_(),v(110,"button",32),$("click",function(){return i.value21=null}),b(111,"Update value to null"),_(),v(112,"button",32),$("click",function(){return i.value21=void 0}),b(113,"Update value to undefined"),_(),v(114,"h3",54),b(115),_(),v(116,"select2",55),$("update",function(a){return i.update("value22",a)}),_(),v(117,"h3",56),b(118),_(),v(119,"select2",57),$("update",function(a){return i.update("value23",a)}),ve(120,c8,3,2,"ng-template",null,58,rn),_(),v(122,"h3",59),b(123),_(),v(124,"select2",60),$("update",function(a){return i.update("value24",a)}),ve(125,u8,3,2,"ng-template",null,61,rn)(127,d8,2,1,"ng-template",null,62,rn),_(),v(129,"h3",63),b(130),_(),v(131,"select2",64),$("update",function(a){return i.update("value25",a)}),ve(132,h8,2,3,"ng-template",null,65,rn)(134,f8,3,2,"ng-template",null,66,rn)(136,p8,2,3,"ng-template",null,67,rn),_(),v(138,"h3",68),b(139),_(),v(140,"select2",69),$("update",function(a){return i.update("value26",a)})("scroll",function(a){return i.scroll26(a)}),_(),v(141,"h3",70),b(142),_(),v(143,"select2",71),$("update",function(a){return i.update("value2",a)}),_(),v(144,"h3",72),b(145),_(),v(146,"select2",73),$("update",function(a){return i.update("value28",a)}),_(),v(147,"h3",74),b(148),_(),v(149,"select2",75),$("update",function(a){return i.update("value29",a)}),_(),v(150,"h3",76),b(151),_(),v(152,"select2",77),$("update",function(a){return i.update("value29b",a)}),_(),v(153,"h3",78),b(154),_(),v(155,"select2",79),$("update",function(a){return i.update("value30",a)}),_(),v(156,"h3",80),b(157),_(),v(158,"select",81,82),$("change",function(){Te(o);const a=Ct(159);return Ae(i.changeData31(a.value))}),v(160,"option"),b(161,"english"),_(),v(162,"option"),b(163,"french"),_(),v(164,"option"),b(165,"japanese"),_()(),Q(166,"br"),b(167," Value : "),v(168,"select2",83),$("update",function(a){return i.update("value31",a)}),_(),Q(169,"br"),b(170," NgModel : "),v(171,"select2",84),$("ngModelChange",function(a){return i.value31b=a})("update",function(a){return i.update("value31b",a)}),_(),v(172,"h3",85),b(173),_(),v(174,"select2",86),$("autoCreateItem",function(a){return i.update("value32",a)}),_()()}if(2&r){const o=Ct(25),s=Ct(28),a=Ct(121),l=Ct(126),c=Ct(128),u=Ct(133),d=Ct(135),f=Ct(137);D(4),H("ngModel",i.overlay),D(3),le("1. options in group (",i.value1,")"),D(1),H("overlay",i.overlay)("data",i.data1)("value",i.value1),D(2),le("2. options (",i.value2,")"),D(1),H("overlay",i.overlay)("data",i.data2)("value",i.value2),D(2),le("3. less options (",i.value3,")"),D(1),H("overlay",i.overlay)("data",i.data3)("value",i.value3),D(2),le("4. disabled (",i.value4,")"),D(1),H("overlay",i.overlay)("data",i.data4)("value",i.value4)("disabled",!0),D(2),le("5. hide search box (",i.value5,")"),D(1),H("formGroup",i.ctrlForm2),D(1),H("overlay",i.overlay)("data",i.data5)("minCountForSearch",i.minCountForSearch),D(14),le(" (",i.value6,") "),D(6),H("overlay",i.overlay)("data",i.data6)("value",i.value6)("minCountForSearch",o.value)("displaySearchStatus",s.value),D(2),le("7. placeholder (",i.value7,")"),D(1),H("overlay",i.overlay)("data",i.data7),D(2),le("8. open, close and search event (",i.value8,")"),D(1),H("overlay",i.overlay)("data",i.data8),D(2),le("value : ",i.value8,""),D(3),H("ngModel",i.limitSelection),D(1),le(" (",Vc(54,143,i.value9),")"),D(2),H("overlay",i.overlay)("data",i.data9)("value",i.value9)("limitSelection",i.limitSelection),D(2),le("10. multiple + hide selected items (",Vc(58,145,i.value10),")"),D(2),H("overlay",i.overlay)("data",i.data10)("value",i.value10),D(2),le("11. material style and form binding (",i.value11,")"),D(1),H("formGroup",i.ctrlForm),D(1),H("overlay",i.overlay)("ngModel",i.value11)("data",i.data11),D(6),le("12. material style (",i.value12,")"),D(1),H("overlay",i.overlay)("data",i.data12)("value",i.value12),D(2),le("13. boolean value (",i.value13,")"),D(1),H("overlay",i.overlay)("data",i.data13)("value",i.value13),D(3),H("formGroup",i.fg),D(1),H("overlay",i.overlay)("data",i.data9),D(6),le("15. with label (",i.value15,")"),D(1),H("overlay",i.overlay)("data",i.data15)("value",i.value15),D(4),le("16. required with label (",i.value16,")"),D(1),H("overlay",i.overlay)("data",i.data16)("value",i.value16),D(4),le("17. with two option labels (",i.value17,")"),D(1),H("overlay",i.overlay)("data",i.data17)("value",i.value17),D(3),H("overlay",i.overlay)("data",i.data18)("value",i.value18),D(2),le("19. dropdown list position above (",i.value19,")"),D(1),H("overlay",i.overlay)("data",i.data19)("value",i.value19),D(3),le("20. nostyle (",i.value20,")"),D(1),H("overlay",i.overlay)("data",i.data20)("value",i.value20),D(2),le("21. update to empty/null/undefined (",i.value21,")"),D(1),H("overlay",i.overlay)("data",i.data21)("value",i.value21),D(8),le("22. with item classes and id (",i.value22,")"),D(1),H("overlay",i.overlay)("data",i.data22)("value",i.value22),D(2),le("23. with template (",i.value23,")"),D(1),H("overlay",i.overlay)("data",i.data23)("value",i.value23)("templates",a),D(4),le("24. with template (option / group) (",i.value24,")"),D(1),H("overlay",i.overlay)("data",i.data24)("value",i.value24)("templates",lw(147,g8,l,c)),D(6),le("25. with templates Ids (",i.value25,")"),D(1),H("overlay",i.overlay)("data",i.data25)("value",i.value25)("templates",cw(150,m8,u,d,f)),D(8),le("26. infiniteScroll(",i.value26,")"),D(1),H("overlay",i.overlay)("data",i.data26)("value",i.value26),D(2),le("27. position (",i.value2,")"),D(1),H("overlay",i.overlay)("data",i.data2)("value",i.value2),D(2),le("28. max results 50 (",i.value28,")"),D(1),H("overlay",i.overlay)("data",i.data28)("value",i.value28),D(2),le("29. option autocreate (",i.value29,")"),D(1),H("overlay",i.overlay)("data",i.data29)("value",i.value29),D(2),le("29b. option autocreate search search (",i.value29b,")"),D(1),H("overlay",i.overlay)("data",i.data29b)("value",i.value29b),D(2),le("30. selected option when \xd7 is clicked (",i.value30,")"),D(1),H("overlay",i.overlay)("data",i.data30)("value",i.value30),D(2),le("31. change list (",i.value31,")"),D(11),H("overlay",i.overlay)("data",i.data31)("value",i.value31),D(3),H("overlay",i.overlay)("data",i.data31)("ngModel",i.value31b),D(2),le("32. auto create when (",i.value30,")"),D(1),H("overlay",i.overlay)("data",i.data30)("value",i.value30)}},dependencies:[JE,rg,og,xa,Eu,hu,$p,zp,Jp,Wo,Su,d0,h0,tM,jD],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']})}return e})();class _8{constructor(n,t={}){this.json=n,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,t)}toString(){let n="";const t="inline"===this.options.formatting;return Array.isArray(this.json)?this.json.forEach((r,i)=>{n+=`${i>0&&!t?"\n":""}${this._getSpacing(0)}${this._generate(0,r,t)}`}):n=`${this._getSpacing(0)}${this._generate(0,this.json,t)}`,n}_generate(n,t,r=!1){const i=!this.options.noContentTags.includes(t.tag.toLowerCase()),o=i&&!t.autoclose||!this._modeXML()?"":"/";let s=`<${t.tag}${this._generateAttrs(n,t,r||t.inline)}${o}>`;if(i&&!t.autoclose){let a=this._generateBody(n,t,r||t.inline);a&&this._hasMultiline()&&!(r||t.inline)&&(a=`${a}\n${this._getSpacing(n)}`),s+=a,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(t.tag.toLowerCase()))&&(s+=``)}return s}_generateAttrs(n,t,r){let i="";const o=t.attrs;if(o&&Object.keys(o).length){const s=Object.values(t.attrs).filter(u=>void 0!==u).length,a=(this.options.wrapAttrNumber??1){const p=o[u];if(void 0!==p){const y=`${u}${null!==p||p?`="${String(p).replace(/"/g,""e;")}"`:""}`;let w="",T="";const[F,E]=a.split(" ");switch(F){case"inline":if(!this.options.maxLength||(l.replace(/\n/g,"")+(c>1?" ":"")+y+(d===f.length-1?">":"")).length{i+=this._generateBodyElement(n,o,!1,r)}):i+=this._generateBodyElement(n,t.body,!0,r)),i}_generateBodyElement(n,t,r,i=!1){let o="";return this._hasMultiline()&&!i&&(o+=`\n${this._getSpacing(n+1)}`),!r&&this._modeXML()&&"string"==typeof t&&(t={tag:this.options.xmlDefaultTag,body:t}),o+="string"==typeof t?this._formatText(n+1,t,i):this._generate(n+1,t,i),o}_formatText(n,t,r=!1){let i="";const o=this._getSpacing(n);if(!r&&this.options.maxLength){const s=t.split("\n");for(const a of s){let l="";if((o+a).length>this.options.maxLength){const c=a.split(" ");for(const u of c)(o+l+(l?" ":"")+u).length{class e{constructor(t){this.fb=t,this.data=a0,this.ctrlForm=this.fb.group({json:new pe(JSON.stringify(this.data,null,2)),label:new pe,hint:new pe,disabled:new pe,overlay:new pe,minCharForSearch:new pe,minCountForSearch:new pe,displaySearchStatus:new pe,placeholder:new pe,multiple:new pe,autoCreate:new pe,resettable:new pe,resetSelectedValue:new pe,limitSelection:new pe,hideSelectedItems:new pe,resultMaxHeight:new pe,listPosition:new pe,infiniteScroll:new pe,infiniteScrollDistance:new pe,infiniteScrollThrottle:new pe,styleMode:new pe,noResultMessage:new pe,maxResults:new pe,maxResultsMessage:new pe,template:new pe,noLabelTemplate:new pe,update:new pe,open:new pe,close:new pe,focus:new pe,blur:new pe,search:new pe,scroll:new pe,removeOption:new pe}),this.ctrlForm.valueChanges.subscribe(()=>{console.log(this.ctrlForm.value)}),this.ctrlForm.valueChanges.subscribe(r=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(r=>this.changeJson(r))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,r,i,o,s){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:r,group:i};case"templateId":return{template1:o,template2:s}}}_event(t,r){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,r)}codeGeneration(){const t={tag:"select2",attrs:{"[data]":"data"},body:[]},r=this.ctrlForm.value,i=t.attrs,o=t.body;switch(r.label&&o.push({tag:"select2-label",body:r.label,inline:!0}),r.hint&&o.push({tag:"select2-hint",body:r.hint,inline:!0}),r.disabled&&(i.disabled=this._testBoolean(r.disabled)),r.overlay&&(i.overlay=this._testBoolean(r.overlay)),r.minCharForSearch&&(i.minCharForSearch=r.minCharForSearch),r.minCountForSearch&&(i.minCountForSearch=r.minCountForSearch),r.displaySearchStatus&&(i.displaySearchStatus=r.displaySearchStatus),r.placeholder&&(i.placeholder=r.placeholder),r.search&&(i.customSearchEnabled=this._testBoolean(r.search)),r.multiple?i.multiple=this._testBoolean(r.multiple):(r.resettable&&(i.resettable=this._testBoolean(r.resettable)),r.resetSelectedValue&&(i.resetSelectedValue=r.resetSelectedValue)),r.autoCreate&&(i.autoCreate=this._testBoolean(r.autoCreate)),r.limitSelection&&(i.limitSelection=r.limitSelection),r.hideSelectedItems&&(i.hideSelectedItems=this._testBoolean(r.hideSelectedItems)),r.resultMaxHeight&&(i.resultMaxHeight=r.resultMaxHeight),r.listPosition&&(i.listPosition=r.listPosition),r.infiniteScroll&&(i.infiniteScroll=this._testBoolean(r.infiniteScroll)),r.infiniteScrollDistance&&(i.infiniteScrollDistance=r.infiniteScrollDistance),r.infiniteScrollThrottle&&(i.infiniteScrollThrottle=r.infiniteScrollThrottle),r.styleMode&&(i.styleMode=r.styleMode),r.noResultMessage&&(i.noResultMessage=r.noResultMessage),r.maxResultsMessage&&(i.maxResultsMessage=r.maxResultsMessage),r.maxResults&&(i.maxResults=r.maxResults),r.noLabelTemplate&&(i.noLabelTemplate=this._testBoolean(r.noLabelTemplate)),r.template){case"ref":i["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":i["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":i["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"})}r.update&&(i["(update)"]="_update($event)"),r.open&&(i["(open)"]="_open($event)"),r.close&&(i["(close)"]="_close($event)"),r.focus&&(i["(focus)"]="_focus($event)"),r.blur&&(i["(blur)"]="_blur($event)"),r.search&&(i["(search)"]="_search($event)"),this.html=new _8(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(r){this.jsonError=this._parseJsonError(t,r)}}_parseJsonError(t,r){let i="";const o=r.message.match(/[^\n]+/)[0],s=v8.getParser(window.navigator.userAgent).getResult();if("Chrome"===s.browser.name)if(o.match(/at position/)){const a=parseInt(o.match(/at position (\d+)/)[1],10),l=t.split(/\n/);let c=1;for(const u of l)if(u){if(c+u.length>=a){i=o+"
"+u+"\n"+" ".repeat(a-c+1)+"^
";break}c+=u.length+1}}else i=o;else if("Firefox"===s.browser.name)if(o.match(/at line/)){const[,a,l]=o.match(/at line (\d+) column (\d+)/),c=t.split(/\n/);i=c[+a-1]?o+"
"+c[+a-1]+"\n"+" ".repeat(+l-1)+"^
":o}else i=o;else i=o;return i}_testBoolean(t){return t?null:void 0}static#e=this.\u0275fac=function(r){return new(r||e)(I(yS))};static#t=this.\u0275cmp=Ui({type:e,selectors:[["app-root"]],decls:209,vars:16,consts:[[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates"],[1,"code"],[3,"highlight"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption"],[3,"innerHTML"],["template",""],["option",""],["group",""],["template1",""],["template2",""]],template:function(r,i){1&r&&(v(0,"h2"),b(1,"Generator"),_(),v(2,"div",0)(3,"div",1)(4,"h4"),b(5,"data"),_(),v(6,"div")(7,"label",2),b(8,"json (for "),v(9,"code"),b(10,"[data]"),_(),b(11,") : "),_(),Q(12,"textarea",3)(13,"div",4),_(),v(14,"h4"),b(15,"tags"),_(),v(16,"div")(17,"label",5),b(18,"label : "),_(),Q(19,"input",6),_(),v(20,"div")(21,"label",7),b(22,"hint : "),_(),Q(23,"input",8),_(),v(24,"h4"),b(25,"parameters"),_(),v(26,"div")(27,"label",9),b(28,"disabled : "),_(),Q(29,"input",10),_(),v(30,"div")(31,"label",11),b(32,"overlay : "),_(),Q(33,"input",12),_(),v(34,"div")(35,"label",13),b(36,"minCharForSearch (0) : "),_(),Q(37,"input",14),_(),v(38,"div")(39,"label",15),b(40,"minCountForSearch (6) : "),_(),Q(41,"input",16),_(),v(42,"div")(43,"label",17),b(44,"displaySearchStatus :"),_(),v(45,"select",18)(46,"option",19),b(47,"default"),_(),v(48,"option",20),b(49,"hidden"),_(),v(50,"option",21),b(51,"always"),_()()(),v(52,"div")(53,"label",22),b(54,"placeholder : "),_(),Q(55,"input",23),_(),v(56,"div")(57,"label",24),b(58,"noResultMessage : "),_(),Q(59,"input",25),_(),v(60,"div")(61,"label",26),b(62,"multiple : "),_(),Q(63,"input",27),_(),v(64,"div")(65,"label",28),b(66,"resettable : "),_(),Q(67,"input",29),_(),v(68,"div")(69,"label",30),b(70,"resetSelectedValue : "),_(),v(71,"select",31)(72,"option",32),b(73,"undefined"),_(),v(74,"option",32),b(75,"null"),_(),v(76,"option",33),b(77,"hibiscus"),_(),v(78,"option",34),b(79,"marigold"),_(),v(80,"option",35),b(81,"sunflower"),_(),v(82,"option",36),b(83,"heliotrope"),_(),v(84,"option",37),b(85,"lily"),_(),v(86,"option",38),b(87,"petunia"),_()()(),v(88,"div")(89,"label",39),b(90,"autoCreate : "),_(),Q(91,"input",40),_(),v(92,"div")(93,"label",41),b(94,"limitSelection (0) : "),_(),Q(95,"input",42),_(),v(96,"div")(97,"label",43),b(98,"hideSelectedItems : "),_(),Q(99,"input",44),_(),v(100,"div")(101,"label",45),b(102,"resultMaxHeight ('200px') : "),_(),Q(103,"input",46),_(),v(104,"div")(105,"label",47),b(106,"maxResults (0 = infinity) : "),_(),Q(107,"input",48),_(),v(108,"div")(109,"label",49),b(110,"maxResultsMessage ('Too much result...') : "),_(),Q(111,"input",50),_(),v(112,"div")(113,"label",51),b(114,"listPosition :"),_(),v(115,"select",52),Q(116,"option"),v(117,"option",53),b(118,"below"),_(),v(119,"option",54),b(120,"above"),_()()(),v(121,"div")(122,"label",55),b(123,"infiniteScroll : "),_(),Q(124,"input",56),_(),v(125,"div")(126,"label",57),b(127,"infiniteScrollDistance (1.5) : "),_(),Q(128,"input",58),_(),v(129,"div")(130,"label",59),b(131,"infiniteScrollThrottle (150) : "),_(),Q(132,"input",60),_(),v(133,"div")(134,"label",61),b(135,"styleMode : "),_(),v(136,"select",62)(137,"option",63),b(138,"default"),_(),v(139,"option",64),b(140,"material"),_(),v(141,"option",65),b(142,"noStyle"),_()()(),v(143,"h4"),b(144,"Templates"),_(),v(145,"div")(146,"label",66),b(147,"template style :"),_(),v(148,"select",67)(149,"option",68),b(150,"None"),_(),v(151,"option",69),b(152,"Unique template"),_(),v(153,"option",70),b(154,"Template group & option"),_(),v(155,"option",71),b(156,"Template by templateId"),_()()(),v(157,"div")(158,"label",72),b(159,"noLabelTemplate : "),_(),Q(160,"input",73),_(),v(161,"h4"),b(162,"Events"),_(),v(163,"div")(164,"label",74),b(165,"update: "),_(),Q(166,"input",75),_(),v(167,"div")(168,"label",76),b(169,"open: "),_(),Q(170,"input",77),_(),v(171,"div")(172,"label",78),b(173,"close: "),_(),Q(174,"input",79),_(),v(175,"div")(176,"label",80),b(177,"focus: "),_(),Q(178,"input",81),_(),v(179,"div")(180,"label",82),b(181,"blur: "),_(),Q(182,"input",83),_(),v(183,"div")(184,"label",84),b(185,"search: "),_(),Q(186,"input",85),b(187," (Required: "),v(188,"code"),b(189,"customSearchEnabled"),_(),b(190,") "),_(),v(191,"div")(192,"label",86),b(193,"scroll: "),_(),Q(194,"input",87),_(),v(195,"div")(196,"label",88),b(197,"removeOption: "),_(),Q(198,"input",89),_()(),v(199,"div")(200,"div",90)(201,"h4"),b(202,"HTML render"),_(),ve(203,S8,13,27,"select2",91),v(204,"h4"),b(205,"HTML Code"),_(),v(206,"div",92)(207,"code"),Q(208,"pre",93),_()()()()()),2&r&&(D(3),H("formGroup",i.ctrlForm),D(10),H("innerHTML",i.jsonError,kn),D(51),bt("hide",null==i.ctrlForm||null==i.ctrlForm.value?null:i.ctrlForm.value.multiple),D(4),bt("hide",null==i.ctrlForm||null==i.ctrlForm.value?null:i.ctrlForm.value.multiple),D(4),H("value",void 0),D(2),H("value",null),D(22),bt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.multiple)),D(29),bt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.infiniteScrollDistance)),D(4),bt("hide",!(null!=i.ctrlForm&&null!=i.ctrlForm.value&&i.ctrlForm.value.infiniteScroll)),D(74),Qe(203,i.ctrlForm.value?203:-1),D(5),H("highlight",i.html))},dependencies:[rg,og,xa,Eu,hu,Mu,$p,zp,Wo,Su,d0,h0,tM,wB],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]})}return e})()},{path:"**",component:f0}];let I8=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e});static#n=this.\u0275inj=st({imports:[r0.forRoot(M8),r0]})}return e})(),T8=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=ft({type:e,bootstrap:[J$]});static#n=this.\u0275inj=st({providers:[{provide:Au,useValue:{coreLibraryLoader:()=>R.e(373).then(R.bind(R,373)),lineNumbersLoader:()=>R.e(35).then(R.t.bind(R,35,23)),languages:{typescript:()=>R.e(266).then(R.bind(R,266)),javascript:()=>R.e(743).then(R.bind(R,743)),css:()=>R.e(746).then(R.bind(R,746)),xml:()=>R.e(668).then(R.bind(R,668))}}}],imports:[HL,I8,ag,iU,DB]})}return e})();BL().bootstrapModule(T8).catch(e=>console.log(e))},523:function(sn){sn.exports=function(ye){var R={};function W(N){if(R[N])return R[N].exports;var C=R[N]={i:N,l:!1,exports:{}};return ye[N].call(C.exports,C,C.exports,W),C.l=!0,C.exports}return W.m=ye,W.c=R,W.d=function(N,C,M){W.o(N,C)||Object.defineProperty(N,C,{enumerable:!0,get:M})},W.r=function(N){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})},W.t=function(N,C){if(1&C&&(N=W(N)),8&C||4&C&&"object"==typeof N&&N&&N.__esModule)return N;var M=Object.create(null);if(W.r(M),Object.defineProperty(M,"default",{enumerable:!0,value:N}),2&C&&"string"!=typeof N)for(var G in N)W.d(M,G,function(h){return N[h]}.bind(null,G));return M},W.n=function(N){var C=N&&N.__esModule?function(){return N.default}:function(){return N};return W.d(C,"a",C),C},W.o=function(N,C){return Object.prototype.hasOwnProperty.call(N,C)},W.p="",W(W.s=90)}({17:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N=W(18),C=function(){function M(){}return M.getFirstMatch=function(G,h){var g=h.match(G);return g&&g.length>0&&g[1]||""},M.getSecondMatch=function(G,h){var g=h.match(G);return g&&g.length>1&&g[2]||""},M.matchAndReturnConst=function(G,h,g){if(G.test(h))return g},M.getWindowsVersionName=function(G){switch(G){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},M.getMacOSVersionName=function(G){var h=G.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(h.push(0),10===h[0])switch(h[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},M.getAndroidVersionName=function(G){var h=G.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(h.push(0),!(1===h[0]&&h[1]<5))return 1===h[0]&&h[1]<6?"Cupcake":1===h[0]&&h[1]>=6?"Donut":2===h[0]&&h[1]<2?"Eclair":2===h[0]&&2===h[1]?"Froyo":2===h[0]&&h[1]>2?"Gingerbread":3===h[0]?"Honeycomb":4===h[0]&&h[1]<1?"Ice Cream Sandwich":4===h[0]&&h[1]<4?"Jelly Bean":4===h[0]&&h[1]>=4?"KitKat":5===h[0]?"Lollipop":6===h[0]?"Marshmallow":7===h[0]?"Nougat":8===h[0]?"Oreo":9===h[0]?"Pie":void 0},M.getVersionPrecision=function(G){return G.split(".").length},M.compareVersions=function(G,h,g){void 0===g&&(g=!1);var m=M.getVersionPrecision(G),j=M.getVersionPrecision(h),k=Math.max(m,j),O=0,V=M.map([G,h],function(q){var ge=k-M.getVersionPrecision(q),Me=q+new Array(ge+1).join(".0");return M.map(Me.split("."),function(nt){return new Array(20-nt.length).join("0")+nt}).reverse()});for(g&&(O=k-Math.min(m,j)),k-=1;k>=O;){if(V[0][k]>V[1][k])return 1;if(V[0][k]===V[1][k]){if(k===O)return 0;k-=1}else if(V[0][k]1?j-1:0),O=1;O0){var Lt=Object.keys(q),At=h.default.find(Lt,function(Ue){return V.isOS(Ue)});if(At){var Vt=this.satisfies(q[At]);if(void 0!==Vt)return Vt}var St=h.default.find(Lt,function(Ue){return V.isPlatform(Ue)});if(St){var rt=this.satisfies(q[St]);if(void 0!==rt)return rt}}if(nt>0){var Yt=Object.keys(Me),Ot=h.default.find(Yt,function(Ue){return V.isBrowser(Ue,!0)});if(void 0!==Ot)return this.compareVersion(Me[Ot])}},k.isBrowser=function(O,V){void 0===V&&(V=!1);var q=this.getBrowserName().toLowerCase(),ge=O.toLowerCase(),Me=h.default.getBrowserTypeByAlias(ge);return V&&Me&&(ge=Me.toLowerCase()),ge===q},k.compareVersion=function(O){var V=[0],q=O,ge=!1,Me=this.getBrowserVersion();if("string"==typeof Me)return">"===O[0]||"<"===O[0]?(q=O.substr(1),"="===O[1]?(ge=!0,q=O.substr(2)):V=[],V.push(">"===O[0]?1:-1)):"="===O[0]?q=O.substr(1):"~"===O[0]&&(ge=!0,q=O.substr(1)),V.indexOf(h.default.compareVersions(Me,q,ge))>-1},k.isOS=function(O){return this.getOSName(!0)===String(O).toLowerCase()},k.isPlatform=function(O){return this.getPlatformType(!0)===String(O).toLowerCase()},k.isEngine=function(O){return this.getEngineName(!0)===String(O).toLowerCase()},k.is=function(O,V){return void 0===V&&(V=!1),this.isBrowser(O,V)||this.isOS(O)||this.isPlatform(O)},k.some=function(O){var V=this;return void 0===O&&(O=[]),O.some(function(q){return V.is(q)})},j}();R.default=m,ye.exports=R.default},92:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=/version\/(\d+(\.?_?\d+)+)/i;R.default=[{test:[/googlebot/i],describe:function(h){var g={name:"Googlebot"},m=C.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/opera/i],describe:function(h){var g={name:"Opera"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/opr\/|opios/i],describe:function(h){var g={name:"Opera"},m=C.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/SamsungBrowser/i],describe:function(h){var g={name:"Samsung Internet for Android"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/Whale/i],describe:function(h){var g={name:"NAVER Whale Browser"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/MZBrowser/i],describe:function(h){var g={name:"MZ Browser"},m=C.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/focus/i],describe:function(h){var g={name:"Focus"},m=C.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/swing/i],describe:function(h){var g={name:"Swing"},m=C.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/coast/i],describe:function(h){var g={name:"Opera Coast"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(h){var g={name:"Opera Touch"},m=C.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/yabrowser/i],describe:function(h){var g={name:"Yandex Browser"},m=C.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/ucbrowser/i],describe:function(h){var g={name:"UC Browser"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/Maxthon|mxios/i],describe:function(h){var g={name:"Maxthon"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/epiphany/i],describe:function(h){var g={name:"Epiphany"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/puffin/i],describe:function(h){var g={name:"Puffin"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/sleipnir/i],describe:function(h){var g={name:"Sleipnir"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/k-meleon/i],describe:function(h){var g={name:"K-Meleon"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/micromessenger/i],describe:function(h){var g={name:"WeChat"},m=C.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/qqbrowser/i],describe:function(h){var g={name:/qqbrowserlite/i.test(h)?"QQ Browser Lite":"QQ Browser"},m=C.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/msie|trident/i],describe:function(h){var g={name:"Internet Explorer"},m=C.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/\sedg\//i],describe:function(h){var g={name:"Microsoft Edge"},m=C.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/edg([ea]|ios)/i],describe:function(h){var g={name:"Microsoft Edge"},m=C.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/vivaldi/i],describe:function(h){var g={name:"Vivaldi"},m=C.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/seamonkey/i],describe:function(h){var g={name:"SeaMonkey"},m=C.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/sailfish/i],describe:function(h){var g={name:"Sailfish"},m=C.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,h);return m&&(g.version=m),g}},{test:[/silk/i],describe:function(h){var g={name:"Amazon Silk"},m=C.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/phantom/i],describe:function(h){var g={name:"PhantomJS"},m=C.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/slimerjs/i],describe:function(h){var g={name:"SlimerJS"},m=C.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var g={name:"BlackBerry"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var g={name:"WebOS Browser"},m=C.default.getFirstMatch(M,h)||C.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/bada/i],describe:function(h){var g={name:"Bada"},m=C.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/tizen/i],describe:function(h){var g={name:"Tizen"},m=C.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/qupzilla/i],describe:function(h){var g={name:"QupZilla"},m=C.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/firefox|iceweasel|fxios/i],describe:function(h){var g={name:"Firefox"},m=C.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/electron/i],describe:function(h){var g={name:"Electron"},m=C.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/MiuiBrowser/i],describe:function(h){var g={name:"Miui"},m=C.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/chromium/i],describe:function(h){var g={name:"Chromium"},m=C.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/chrome|crios|crmo/i],describe:function(h){var g={name:"Chrome"},m=C.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/GSA/i],describe:function(h){var g={name:"Google Search"},m=C.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:function(h){var g=!h.test(/like android/i),m=h.test(/android/i);return g&&m},describe:function(h){var g={name:"Android Browser"},m=C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/playstation 4/i],describe:function(h){var g={name:"PlayStation 4"},m=C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/safari|applewebkit/i],describe:function(h){var g={name:"Safari"},m=C.default.getFirstMatch(M,h);return m&&(g.version=m),g}},{test:[/.*/i],describe:function(h){var g=-1!==h.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:C.default.getFirstMatch(g,h),version:C.default.getSecondMatch(g,h)}}}],ye.exports=R.default},93:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=W(18);R.default=[{test:[/Roku\/DVP/],describe:function(h){var g=C.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,h);return{name:M.OS_MAP.Roku,version:g}}},{test:[/windows phone/i],describe:function(h){var g=C.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.WindowsPhone,version:g}}},{test:[/windows /i],describe:function(h){var g=C.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,h),m=C.default.getWindowsVersionName(g);return{name:M.OS_MAP.Windows,version:g,versionName:m}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(h){var g={name:M.OS_MAP.iOS},m=C.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,h);return m&&(g.version=m),g}},{test:[/macintosh/i],describe:function(h){var g=C.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,h).replace(/[_\s]/g,"."),m=C.default.getMacOSVersionName(g),j={name:M.OS_MAP.MacOS,version:g};return m&&(j.versionName=m),j}},{test:[/(ipod|iphone|ipad)/i],describe:function(h){var g=C.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,h).replace(/[_\s]/g,".");return{name:M.OS_MAP.iOS,version:g}}},{test:function(h){var g=!h.test(/like android/i),m=h.test(/android/i);return g&&m},describe:function(h){var g=C.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,h),m=C.default.getAndroidVersionName(g),j={name:M.OS_MAP.Android,version:g};return m&&(j.versionName=m),j}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var g=C.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,h),m={name:M.OS_MAP.WebOS};return g&&g.length&&(m.version=g),m}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var g=C.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,h)||C.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,h)||C.default.getFirstMatch(/\bbb(\d+)/i,h);return{name:M.OS_MAP.BlackBerry,version:g}}},{test:[/bada/i],describe:function(h){var g=C.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.Bada,version:g}}},{test:[/tizen/i],describe:function(h){var g=C.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.Tizen,version:g}}},{test:[/linux/i],describe:function(){return{name:M.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:M.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(h){var g=C.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,h);return{name:M.OS_MAP.PlayStation4,version:g}}}],ye.exports=R.default},94:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=W(18);R.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(h){var g=C.default.getFirstMatch(/(can-l01)/i,h)&&"Nova",m={type:M.PLATFORMS_MAP.mobile,vendor:"Huawei"};return g&&(m.model=g),m}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:M.PLATFORMS_MAP.tablet}}},{test:function(h){var g=h.test(/ipod|iphone/i),m=h.test(/like (ipod|iphone)/i);return g&&!m},describe:function(h){var g=C.default.getFirstMatch(/(ipod|iphone)/i,h);return{type:M.PLATFORMS_MAP.mobile,vendor:"Apple",model:g}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(h){return"blackberry"===h.getBrowserName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(h){return"bada"===h.getBrowserName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(h){return"windows phone"===h.getBrowserName()},describe:function(){return{type:M.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(h){var g=Number(String(h.getOSVersion()).split(".")[0]);return"android"===h.getOSName(!0)&&g>=3},describe:function(){return{type:M.PLATFORMS_MAP.tablet}}},{test:function(h){return"android"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.mobile}}},{test:function(h){return"macos"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(h){return"windows"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop}}},{test:function(h){return"linux"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.desktop}}},{test:function(h){return"playstation 4"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.tv}}},{test:function(h){return"roku"===h.getOSName(!0)},describe:function(){return{type:M.PLATFORMS_MAP.tv}}}],ye.exports=R.default},95:function(ye,R,W){"use strict";R.__esModule=!0,R.default=void 0;var N,C=(N=W(17))&&N.__esModule?N:{default:N},M=W(18);R.default=[{test:function(h){return"microsoft edge"===h.getBrowserName(!0)},describe:function(h){if(/\sedg\//i.test(h))return{name:M.ENGINE_MAP.Blink};var g=C.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,h);return{name:M.ENGINE_MAP.EdgeHTML,version:g}}},{test:[/trident/i],describe:function(h){var g={name:M.ENGINE_MAP.Trident},m=C.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:function(h){return h.test(/presto/i)},describe:function(h){var g={name:M.ENGINE_MAP.Presto},m=C.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:function(h){var g=h.test(/gecko/i),m=h.test(/like gecko/i);return g&&!m},describe:function(h){var g={name:M.ENGINE_MAP.Gecko},m=C.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:M.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(h){var g={name:M.ENGINE_MAP.WebKit},m=C.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,h);return m&&(g.version=m),g}}],ye.exports=R.default}})},354:sn=>{const ye="[A-Za-z$_][0-9A-Za-z$_]*",R=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],W=["true","false","null","undefined","NaN","Infinity"],N=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(M,N,C);sn.exports=function g(m){const j=m.regex,O=ye,ge={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Kt,it)=>{const ln=Kt[0].length+Kt.index,cn=Kt.input[ln];if("<"===cn||","===cn)return void it.ignoreMatch();let Un;">"===cn&&(((Kt,{after:it})=>{const ln="",ms={match:[/const|var|let/,/\s+/,O,/\s*/,/=\s*/,/(async\s*)?/,j.lookahead(gs)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Tn]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Me,exports:{PARAMS_CONTAINS:Tr,CLASS_REFERENCE:ni},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,rt,Yt,Ot,Ue,hs,{match:/\$\d+/},Vt,ni,{className:"attr",begin:O+j.lookahead(":"),relevance:0},ms,{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[hs,m.REGEXP_MODE,{className:"function",begin:gs,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Me,contains:Tr}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:ge.begin,"on:begin":ge.isTrulyOpeningTag,end:ge.end}],subLanguage:"xml",contains:[{begin:ge.begin,end:ge.end,skip:!0,contains:["self"]}]}]},fs,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Tn,m.inherit(m.TITLE_MODE,{begin:O,className:"title.function"})]},{match:/\.\.\./,relevance:0},tl,{match:"\\$"+O,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Tn]},el,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},Ar,ps,{match:/\$[(.]/}]}}},574:sn=>{const R=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],W=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],N=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],C=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],M=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();sn.exports=function G(h){const g=(h=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:h.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[h.APOS_STRING_MODE,h.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:h.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(h),m=C,j=N,k="@[a-z-]+",q={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[h.C_LINE_COMMENT_MODE,h.C_BLOCK_COMMENT_MODE,g.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},g.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+R.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+j.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+m.join("|")+")"},q,{begin:/\(/,end:/\)/,contains:[g.CSS_NUMBER_MODE]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+M.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[g.BLOCK_COMMENT,q,g.HEXCOLOR,g.CSS_NUMBER_MODE,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:k,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:W.join(" ")},contains:[{begin:k,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},q,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,g.HEXCOLOR,g.CSS_NUMBER_MODE]},g.FUNCTION_DISPATCH]}}},603:sn=>{const ye="[A-Za-z$_][0-9A-Za-z$_]*",R=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],W=["true","false","null","undefined","NaN","Infinity"],N=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(M,N,C);sn.exports=function m(j){const k=function g(j){const k=j.regex,V=ye,Me={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(it,ln)=>{const cn=it[0].length+it.index,Un=it.input[cn];if("<"===Un||","===Un)return void ln.ignoreMatch();let ii;">"===Un&&(((it,{after:ln})=>{const cn="",Kt={match:[/const|var|let/,/\s+/,V,/\s*/,/=\s*/,/(async\s*)?/,k.lookahead(ms)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Ar]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:nt,exports:{PARAMS_CONTAINS:Tn,CLASS_REFERENCE:Or},illegal:/#(?![$_A-z])/,contains:[j.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},j.APOS_STRING_MODE,j.QUOTE_STRING_MODE,Yt,Ot,Ue,an,ti,{match:/\$\d+/},St,Or,{className:"attr",begin:V+k.lookahead(":"),relevance:0},Kt,{begin:"("+j.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[ti,j.REGEXP_MODE,{className:"function",begin:ms,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:j.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:nt,contains:Tn}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Me.begin,"on:begin":Me.isTrulyOpeningTag,end:Me.end}],subLanguage:"xml",contains:[{begin:Me.begin,end:Me.end,skip:!0,contains:["self"]}]}]},ri,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+j.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Ar,j.inherit(j.TITLE_MODE,{begin:V,className:"title.function"})]},{match:/\.\.\./,relevance:0},ps,{match:"\\$"+V,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Ar]},tl,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},ni,gs,{match:/\$[(.]/}]}}(j),O=ye,V=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],q={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[k.exports.CLASS_REFERENCE]},ge={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:V},contains:[k.exports.CLASS_REFERENCE]},Lt={$pattern:ye,keyword:R.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:W,built_in:h.concat(V),"variable.language":G},At={className:"meta",begin:"@"+O},Vt=(rt,Yt,Ot)=>{const Ue=rt.contains.findIndex(an=>an.label===Yt);if(-1===Ue)throw new Error("can not find mode to replace");rt.contains.splice(Ue,1,Ot)};return Object.assign(k.keywords,Lt),k.exports.PARAMS_CONTAINS.push(At),k.contains=k.contains.concat([At,q,ge]),Vt(k,"shebang",j.SHEBANG()),Vt(k,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),k.contains.find(rt=>"func.def"===rt.label).relevance=0,Object.assign(k,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),k}},149:sn=>{sn.exports=function ye(R){const W=R.regex,N=W.concat(/[\p{L}_]/u,W.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),M={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},G={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=R.inherit(G,{begin:/\(/,end:/\)/}),g=R.inherit(R.APOS_STRING_MODE,{className:"string"}),m=R.inherit(R.QUOTE_STRING_MODE,{className:"string"}),j={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[G,m,g,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[G,h,m,g]}]}]},R.COMMENT(//,{relevance:10}),{begin://,relevance:10},M,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[j],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[j],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:W.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:N,relevance:0,starts:j}]},{className:"tag",begin:W.concat(/<\//,W.lookahead(W.concat(N,/>/))),contains:[{className:"name",begin:N,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}},sn=>{sn(sn.s=425)}]); \ No newline at end of file diff --git a/dist/ng-select2/polyfills.319af6b6dc877312.js b/dist/ng-select2/polyfills.319af6b6dc877312.js new file mode 100644 index 0000000..459c541 --- /dev/null +++ b/dist/ng-select2/polyfills.319af6b6dc877312.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[429],{321:(ie,Ee,de)=>{de(332)},332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",M="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const M=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(p,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const M=p.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=321)}]); \ No newline at end of file diff --git a/dist/ng-select2/polyfills.363f2fb187a15e52.js b/dist/ng-select2/polyfills.363f2fb187a15e52.js deleted file mode 100644 index 8532818..0000000 --- a/dist/ng-select2/polyfills.363f2fb187a15e52.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[429],{5321:(s,u,t)=>{"use strict";t(4244),t(7657),t(8813),t(5310),t(1771),t(2314),t(6343),t(8148),t(7677),t(2691),t(9132),t(7878),t(6081),t(2298),t(8089),t(8332)},8332:()=>{"use strict";!function(v){const E=v.performance;function x(gt){E&&E.mark&&E.mark(gt)}function g(gt,V){E&&E.measure&&E.measure(gt,V)}x("Zone");const y=v.__Zone_symbol_prefix||"__zone_symbol__";function N(gt){return y+gt}const U=!0===v[N("forceDuplicateZoneCheck")];if(v.Zone){if(U||"function"!=typeof v.Zone.__symbol__)throw new Error("Zone already loaded.");return v.Zone}let B=(()=>{class gt{static assertZonePatched(){if(v.Promise!==Ht.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let p=gt.current;for(;p.parent;)p=p.parent;return p}static get current(){return Dt.zone}static get currentTask(){return Wt}static __load_patch(p,O,q=!1){if(Ht.hasOwnProperty(p)){if(!q&&U)throw Error("Already loaded patch: "+p)}else if(!v["__Zone_disable_"+p]){const ut="Zone:"+p;x(ut),Ht[p]=O(v,gt,bt),g(ut,ut)}}get parent(){return this._parent}get name(){return this._name}constructor(p,O){this._parent=p,this._name=O?O.name||"unnamed":"",this._properties=O&&O.properties||{},this._zoneDelegate=new Y(this,this._parent&&this._parent._zoneDelegate,O)}get(p){const O=this.getZoneWith(p);if(O)return O._properties[p]}getZoneWith(p){let O=this;for(;O;){if(O._properties.hasOwnProperty(p))return O;O=O._parent}return null}fork(p){if(!p)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,p)}wrap(p,O){if("function"!=typeof p)throw new Error("Expecting function got: "+p);const q=this._zoneDelegate.intercept(this,p,O),ut=this;return function(){return ut.runGuarded(q,this,arguments,O)}}run(p,O,q,ut){Dt={parent:Dt,zone:this};try{return this._zoneDelegate.invoke(this,p,O,q,ut)}finally{Dt=Dt.parent}}runGuarded(p,O=null,q,ut){Dt={parent:Dt,zone:this};try{try{return this._zoneDelegate.invoke(this,p,O,q,ut)}catch(At){if(this._zoneDelegate.handleError(this,At))throw At}}finally{Dt=Dt.parent}}runTask(p,O,q){if(p.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(p.zone||Lt).name+"; Execution: "+this.name+")");if(p.state===Tt&&(p.type===Zt||p.type===et))return;const ut=p.state!=H;ut&&p._transitionTo(H,yt),p.runCount++;const At=Wt;Wt=p,Dt={parent:Dt,zone:this};try{p.type==et&&p.data&&!p.data.isPeriodic&&(p.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,p,O,q)}catch(F){if(this._zoneDelegate.handleError(this,F))throw F}}finally{p.state!==Tt&&p.state!==W&&(p.type==Zt||p.data&&p.data.isPeriodic?ut&&p._transitionTo(yt,H):(p.runCount=0,this._updateTaskCount(p,-1),ut&&p._transitionTo(Tt,H,Tt))),Dt=Dt.parent,Wt=At}}scheduleTask(p){if(p.zone&&p.zone!==this){let q=this;for(;q;){if(q===p.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${p.zone.name}`);q=q.parent}}p._transitionTo(Ct,Tt);const O=[];p._zoneDelegates=O,p._zone=this;try{p=this._zoneDelegate.scheduleTask(this,p)}catch(q){throw p._transitionTo(W,Ct,Tt),this._zoneDelegate.handleError(this,q),q}return p._zoneDelegates===O&&this._updateTaskCount(p,1),p.state==Ct&&p._transitionTo(yt,Ct),p}scheduleMicroTask(p,O,q,ut){return this.scheduleTask(new K(pt,p,O,q,ut,void 0))}scheduleMacroTask(p,O,q,ut,At){return this.scheduleTask(new K(et,p,O,q,ut,At))}scheduleEventTask(p,O,q,ut,At){return this.scheduleTask(new K(Zt,p,O,q,ut,At))}cancelTask(p){if(p.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(p.zone||Lt).name+"; Execution: "+this.name+")");if(p.state===yt||p.state===H){p._transitionTo(St,yt,H);try{this._zoneDelegate.cancelTask(this,p)}catch(O){throw p._transitionTo(W,St),this._zoneDelegate.handleError(this,O),O}return this._updateTaskCount(p,-1),p._transitionTo(Tt,St),p.runCount=0,p}}_updateTaskCount(p,O){const q=p._zoneDelegates;-1==O&&(p._zoneDelegates=null);for(let ut=0;utgt.hasTask(p,O),onScheduleTask:(gt,V,p,O)=>gt.scheduleTask(p,O),onInvokeTask:(gt,V,p,O,q,ut)=>gt.invokeTask(p,O,q,ut),onCancelTask:(gt,V,p,O)=>gt.cancelTask(p,O)};class Y{constructor(V,p,O){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=V,this._parentDelegate=p,this._forkZS=O&&(O&&O.onFork?O:p._forkZS),this._forkDlgt=O&&(O.onFork?p:p._forkDlgt),this._forkCurrZone=O&&(O.onFork?this.zone:p._forkCurrZone),this._interceptZS=O&&(O.onIntercept?O:p._interceptZS),this._interceptDlgt=O&&(O.onIntercept?p:p._interceptDlgt),this._interceptCurrZone=O&&(O.onIntercept?this.zone:p._interceptCurrZone),this._invokeZS=O&&(O.onInvoke?O:p._invokeZS),this._invokeDlgt=O&&(O.onInvoke?p:p._invokeDlgt),this._invokeCurrZone=O&&(O.onInvoke?this.zone:p._invokeCurrZone),this._handleErrorZS=O&&(O.onHandleError?O:p._handleErrorZS),this._handleErrorDlgt=O&&(O.onHandleError?p:p._handleErrorDlgt),this._handleErrorCurrZone=O&&(O.onHandleError?this.zone:p._handleErrorCurrZone),this._scheduleTaskZS=O&&(O.onScheduleTask?O:p._scheduleTaskZS),this._scheduleTaskDlgt=O&&(O.onScheduleTask?p:p._scheduleTaskDlgt),this._scheduleTaskCurrZone=O&&(O.onScheduleTask?this.zone:p._scheduleTaskCurrZone),this._invokeTaskZS=O&&(O.onInvokeTask?O:p._invokeTaskZS),this._invokeTaskDlgt=O&&(O.onInvokeTask?p:p._invokeTaskDlgt),this._invokeTaskCurrZone=O&&(O.onInvokeTask?this.zone:p._invokeTaskCurrZone),this._cancelTaskZS=O&&(O.onCancelTask?O:p._cancelTaskZS),this._cancelTaskDlgt=O&&(O.onCancelTask?p:p._cancelTaskDlgt),this._cancelTaskCurrZone=O&&(O.onCancelTask?this.zone:p._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const q=O&&O.onHasTask;(q||p&&p._hasTaskZS)&&(this._hasTaskZS=q?O:X,this._hasTaskDlgt=p,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=V,O.onScheduleTask||(this._scheduleTaskZS=X,this._scheduleTaskDlgt=p,this._scheduleTaskCurrZone=this.zone),O.onInvokeTask||(this._invokeTaskZS=X,this._invokeTaskDlgt=p,this._invokeTaskCurrZone=this.zone),O.onCancelTask||(this._cancelTaskZS=X,this._cancelTaskDlgt=p,this._cancelTaskCurrZone=this.zone))}fork(V,p){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,V,p):new B(V,p)}intercept(V,p,O){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,V,p,O):p}invoke(V,p,O,q,ut){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,V,p,O,q,ut):p.apply(O,q)}handleError(V,p){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,V,p)}scheduleTask(V,p){let O=p;if(this._scheduleTaskZS)this._hasTaskZS&&O._zoneDelegates.push(this._hasTaskDlgtOwner),O=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,V,p),O||(O=p);else if(p.scheduleFn)p.scheduleFn(p);else{if(p.type!=pt)throw new Error("Task is missing scheduleFn.");at(p)}return O}invokeTask(V,p,O,q){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,V,p,O,q):p.callback.apply(O,q)}cancelTask(V,p){let O;if(this._cancelTaskZS)O=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,V,p);else{if(!p.cancelFn)throw Error("Task is not cancelable");O=p.cancelFn(p)}return O}hasTask(V,p){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,V,p)}catch(O){this.handleError(V,O)}}_updateTaskCount(V,p){const O=this._taskCounts,q=O[V],ut=O[V]=q+p;if(ut<0)throw new Error("More tasks executed then were scheduled.");0!=q&&0!=ut||this.hasTask(this.zone,{microTask:O.microTask>0,macroTask:O.macroTask>0,eventTask:O.eventTask>0,change:V})}}class K{constructor(V,p,O,q,ut,At){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=V,this.source=p,this.data=q,this.scheduleFn=ut,this.cancelFn=At,!O)throw new Error("callback is not defined");this.callback=O;const F=this;this.invoke=V===Zt&&q&&q.useG?K.invokeTask:function(){return K.invokeTask.call(v,F,this,arguments)}}static invokeTask(V,p,O){V||(V=this),wt++;try{return V.runCount++,V.zone.runTask(V,p,O)}finally{1==wt&&G(),wt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Tt,Ct)}_transitionTo(V,p,O){if(this._state!==p&&this._state!==O)throw new Error(`${this.type} '${this.source}': can not transition to '${V}', expecting state '${p}'${O?" or '"+O+"'":""}, was '${this._state}'.`);this._state=V,V==Tt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const mt=N("setTimeout"),vt=N("Promise"),ht=N("then");let Ft,Mt=[],xt=!1;function Nt(gt){if(Ft||v[vt]&&(Ft=v[vt].resolve(0)),Ft){let V=Ft[ht];V||(V=Ft.then),V.call(Ft,gt)}else v[mt](gt,0)}function at(gt){0===wt&&0===Mt.length&&Nt(G),gt&&Mt.push(gt)}function G(){if(!xt){for(xt=!0;Mt.length;){const gt=Mt;Mt=[];for(let V=0;VDt,onUnhandledError:jt,microtaskDrainDone:jt,scheduleMicroTask:at,showUncaughtError:()=>!B[N("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:jt,patchMethod:()=>jt,bindArguments:()=>[],patchThen:()=>jt,patchMacroTask:()=>jt,patchEventPrototype:()=>jt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>jt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>jt,wrapWithCurrentZone:()=>jt,filterProperties:()=>[],attachOriginToPatched:()=>jt,_redefineProperty:()=>jt,patchCallbacks:()=>jt,nativeScheduleMicroTask:Nt};let Dt={parent:null,zone:new B(null,null)},Wt=null,wt=0;function jt(){}g("Zone","Zone"),v.Zone=B}(typeof window<"u"&&window||typeof self<"u"&&self||global);const s=Object.getOwnPropertyDescriptor,u=Object.defineProperty,t=Object.getPrototypeOf,e=Object.create,n=Array.prototype.slice,o="addEventListener",r="removeEventListener",a=Zone.__symbol__(o),i=Zone.__symbol__(r),c="true",d="false",l=Zone.__symbol__("");function f(v,E){return Zone.current.wrap(v,E)}function h(v,E,x,g,y){return Zone.current.scheduleMacroTask(v,E,x,g,y)}const m=Zone.__symbol__,T=typeof window<"u",b=T?window:void 0,R=T&&b||"object"==typeof self&&self||global,P="removeAttribute";function I(v,E){for(let x=v.length-1;x>=0;x--)"function"==typeof v[x]&&(v[x]=f(v[x],E+"_"+x));return v}function A(v){return!v||!1!==v.writable&&!("function"==typeof v.get&&typeof v.set>"u")}const M=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,S=!("nw"in R)&&typeof R.process<"u"&&"[object process]"==={}.toString.call(R.process),j=!S&&!M&&!(!T||!b.HTMLElement),L=typeof R.process<"u"&&"[object process]"==={}.toString.call(R.process)&&!M&&!(!T||!b.HTMLElement),w={},_=function(v){if(!(v=v||R.event))return;let E=w[v.type];E||(E=w[v.type]=m("ON_PROPERTY"+v.type));const x=this||v.target||R,g=x[E];let y;return j&&x===b&&"error"===v.type?(y=g&&g.call(this,v.message,v.filename,v.lineno,v.colno,v.error),!0===y&&v.preventDefault()):(y=g&&g.apply(this,arguments),null!=y&&!y&&v.preventDefault()),y};function dt(v,E,x){let g=s(v,E);if(!g&&x&&s(x,E)&&(g={enumerable:!0,configurable:!0}),!g||!g.configurable)return;const y=m("on"+E+"patched");if(v.hasOwnProperty(y)&&v[y])return;delete g.writable,delete g.value;const N=g.get,U=g.set,B=E.slice(2);let X=w[B];X||(X=w[B]=m("ON_PROPERTY"+B)),g.set=function(Y){let K=this;!K&&v===R&&(K=R),K&&("function"==typeof K[X]&&K.removeEventListener(B,_),U&&U.call(K,null),K[X]=Y,"function"==typeof Y&&K.addEventListener(B,_,!1))},g.get=function(){let Y=this;if(!Y&&v===R&&(Y=R),!Y)return null;const K=Y[X];if(K)return K;if(N){let mt=N.call(this);if(mt)return g.set.call(this,mt),"function"==typeof Y[P]&&Y.removeAttribute(E),mt}return null},u(v,E,g),v[y]=!0}function ct(v,E,x){if(E)for(let g=0;gfunction(U,B){const X=x(U,B);return X.cbIdx>=0&&"function"==typeof B[X.cbIdx]?h(X.name,B[X.cbIdx],X,y):N.apply(U,B)})}function tt(v,E){v[m("OriginalDelegate")]=E}let st=!1,Et=!1;function Ut(){if(st)return Et;st=!0;try{const v=b.navigator.userAgent;(-1!==v.indexOf("MSIE ")||-1!==v.indexOf("Trident/")||-1!==v.indexOf("Edge/"))&&(Et=!0)}catch{}return Et}Zone.__load_patch("ZoneAwarePromise",(v,E,x)=>{const g=Object.getOwnPropertyDescriptor,y=Object.defineProperty,U=x.symbol,B=[],X=!0===v[U("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],Y=U("Promise"),K=U("then"),mt="__creationTrace__";x.onUnhandledError=F=>{if(x.showUncaughtError()){const $=F&&F.rejection;$?console.error("Unhandled Promise rejection:",$ instanceof Error?$.message:$,"; Zone:",F.zone.name,"; Task:",F.task&&F.task.source,"; Value:",$,$ instanceof Error?$.stack:void 0):console.error(F)}},x.microtaskDrainDone=()=>{for(;B.length;){const F=B.shift();try{F.zone.runGuarded(()=>{throw F.throwOriginal?F.rejection:F})}catch($){ht($)}}};const vt=U("unhandledPromiseRejectionHandler");function ht(F){x.onUnhandledError(F);try{const $=E[vt];"function"==typeof $&&$.call(this,F)}catch{}}function Mt(F){return F&&F.then}function xt(F){return F}function Ft(F){return p.reject(F)}const Nt=U("state"),at=U("value"),G=U("finally"),Lt=U("parentPromiseValue"),Tt=U("parentPromiseState"),Ct="Promise.then",yt=null,H=!0,St=!1,W=0;function pt(F,$){return D=>{try{bt(F,$,D)}catch(Z){bt(F,!1,Z)}}}const et=function(){let F=!1;return function(D){return function(){F||(F=!0,D.apply(null,arguments))}}},Zt="Promise resolved with itself",Ht=U("currentTaskTrace");function bt(F,$,D){const Z=et();if(F===D)throw new TypeError(Zt);if(F[Nt]===yt){let Q=null;try{("object"==typeof D||"function"==typeof D)&&(Q=D&&D.then)}catch(rt){return Z(()=>{bt(F,!1,rt)})(),F}if($!==St&&D instanceof p&&D.hasOwnProperty(Nt)&&D.hasOwnProperty(at)&&D[Nt]!==yt)Wt(D),bt(F,D[Nt],D[at]);else if($!==St&&"function"==typeof Q)try{Q.call(D,Z(pt(F,$)),Z(pt(F,!1)))}catch(rt){Z(()=>{bt(F,!1,rt)})()}else{F[Nt]=$;const rt=F[at];if(F[at]=D,F[G]===G&&$===H&&(F[Nt]=F[Tt],F[at]=F[Lt]),$===St&&D instanceof Error){const z=E.currentTask&&E.currentTask.data&&E.currentTask.data[mt];z&&y(D,Ht,{configurable:!0,enumerable:!1,writable:!0,value:z})}for(let z=0;z{try{const it=F[at],ft=!!D&&G===D[G];ft&&(D[Lt]=it,D[Tt]=rt);const lt=$.run(z,void 0,ft&&z!==Ft&&z!==xt?[]:[it]);bt(D,!0,lt)}catch(it){bt(D,!1,it)}},D)}const gt=function(){},V=v.AggregateError;class p{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve($){return bt(new this(null),H,$)}static reject($){return bt(new this(null),St,$)}static any($){if(!$||"function"!=typeof $[Symbol.iterator])return Promise.reject(new V([],"All promises were rejected"));const D=[];let Z=0;try{for(let z of $)Z++,D.push(p.resolve(z))}catch{return Promise.reject(new V([],"All promises were rejected"))}if(0===Z)return Promise.reject(new V([],"All promises were rejected"));let Q=!1;const rt=[];return new p((z,it)=>{for(let ft=0;ft{Q||(Q=!0,z(lt))},lt=>{rt.push(lt),Z--,0===Z&&(Q=!0,it(new V(rt,"All promises were rejected")))})})}static race($){let D,Z,Q=new this((it,ft)=>{D=it,Z=ft});function rt(it){D(it)}function z(it){Z(it)}for(let it of $)Mt(it)||(it=this.resolve(it)),it.then(rt,z);return Q}static all($){return p.allWithCallback($)}static allSettled($){return(this&&this.prototype instanceof p?this:p).allWithCallback($,{thenCallback:Z=>({status:"fulfilled",value:Z}),errorCallback:Z=>({status:"rejected",reason:Z})})}static allWithCallback($,D){let Z,Q,rt=new this((lt,Pt)=>{Z=lt,Q=Pt}),z=2,it=0;const ft=[];for(let lt of $){Mt(lt)||(lt=this.resolve(lt));const Pt=it;try{lt.then(It=>{ft[Pt]=D?D.thenCallback(It):It,z--,0===z&&Z(ft)},It=>{D?(ft[Pt]=D.errorCallback(It),z--,0===z&&Z(ft)):Q(It)})}catch(It){Q(It)}z++,it++}return z-=2,0===z&&Z(ft),rt}constructor($){const D=this;if(!(D instanceof p))throw new Error("Must be an instanceof Promise.");D[Nt]=yt,D[at]=[];try{const Z=et();$&&$(Z(pt(D,H)),Z(pt(D,St)))}catch(Z){bt(D,!1,Z)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return p}then($,D){let Z=this.constructor?.[Symbol.species];(!Z||"function"!=typeof Z)&&(Z=this.constructor||p);const Q=new Z(gt),rt=E.current;return this[Nt]==yt?this[at].push(rt,Q,$,D):wt(this,rt,Q,$,D),Q}catch($){return this.then(null,$)}finally($){let D=this.constructor?.[Symbol.species];(!D||"function"!=typeof D)&&(D=p);const Z=new D(gt);Z[G]=G;const Q=E.current;return this[Nt]==yt?this[at].push(Q,Z,$,$):wt(this,Q,Z,$,$),Z}}p.resolve=p.resolve,p.reject=p.reject,p.race=p.race,p.all=p.all;const O=v[Y]=v.Promise;v.Promise=p;const q=U("thenPatched");function ut(F){const $=F.prototype,D=g($,"then");if(D&&(!1===D.writable||!D.configurable))return;const Z=$.then;$[K]=Z,F.prototype.then=function(Q,rt){return new p((it,ft)=>{Z.call(this,it,ft)}).then(Q,rt)},F[q]=!0}return x.patchThen=ut,O&&(ut(O),J(v,"fetch",F=>function At(F){return function($,D){let Z=F.apply($,D);if(Z instanceof p)return Z;let Q=Z.constructor;return Q[q]||ut(Q),Z}}(F))),Promise[E.__symbol__("uncaughtPromiseErrors")]=B,p}),Zone.__load_patch("toString",v=>{const E=Function.prototype.toString,x=m("OriginalDelegate"),g=m("Promise"),y=m("Error"),N=function(){if("function"==typeof this){const Y=this[x];if(Y)return"function"==typeof Y?E.call(Y):Object.prototype.toString.call(Y);if(this===Promise){const K=v[g];if(K)return E.call(K)}if(this===Error){const K=v[y];if(K)return E.call(K)}}return E.call(this)};N[x]=E,Function.prototype.toString=N;const U=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":U.call(this)}});let Bt=!1;if(typeof window<"u")try{const v=Object.defineProperty({},"passive",{get:function(){Bt=!0}});window.addEventListener("test",v,v),window.removeEventListener("test",v,v)}catch{Bt=!1}const Gt={useG:!0},Rt={},kt={},$t=new RegExp("^"+l+"(\\w+)(true|false)$"),Kt=m("propagationStopped");function _t(v,E){const x=(E?E(v):v)+d,g=(E?E(v):v)+c,y=l+x,N=l+g;Rt[v]={},Rt[v][d]=y,Rt[v][c]=N}function ne(v,E,x,g){const y=g&&g.add||o,N=g&&g.rm||r,U=g&&g.listeners||"eventListeners",B=g&&g.rmAll||"removeAllListeners",X=m(y),Y="."+y+":",K="prependListener",mt="."+K+":",vt=function(at,G,Lt){if(at.isRemoved)return;const Tt=at.callback;let Ct;"object"==typeof Tt&&Tt.handleEvent&&(at.callback=H=>Tt.handleEvent(H),at.originalDelegate=Tt);try{at.invoke(at,G,[Lt])}catch(H){Ct=H}const yt=at.options;return yt&&"object"==typeof yt&&yt.once&&G[N].call(G,Lt.type,at.originalDelegate?at.originalDelegate:at.callback,yt),Ct};function ht(at,G,Lt){if(!(G=G||v.event))return;const Tt=at||G.target||v,Ct=Tt[Rt[G.type][Lt?c:d]];if(Ct){const yt=[];if(1===Ct.length){const H=vt(Ct[0],Tt,G);H&&yt.push(H)}else{const H=Ct.slice();for(let St=0;St{throw St})}}}const Mt=function(at){return ht(this,at,!1)},xt=function(at){return ht(this,at,!0)};function Ft(at,G){if(!at)return!1;let Lt=!0;G&&void 0!==G.useG&&(Lt=G.useG);const Tt=G&&G.vh;let Ct=!0;G&&void 0!==G.chkDup&&(Ct=G.chkDup);let yt=!1;G&&void 0!==G.rt&&(yt=G.rt);let H=at;for(;H&&!H.hasOwnProperty(y);)H=t(H);if(!H&&at[y]&&(H=at),!H||H[X])return!1;const St=G&&G.eventNameToString,W={},pt=H[X]=H[y],et=H[m(N)]=H[N],Zt=H[m(U)]=H[U],Ht=H[m(B)]=H[B];let bt;G&&G.prepend&&(bt=H[m(G.prepend)]=H[G.prepend]);const p=Lt?function(D){if(!W.isExisting)return pt.call(W.target,W.eventName,W.capture?xt:Mt,W.options)}:function(D){return pt.call(W.target,W.eventName,D.invoke,W.options)},O=Lt?function(D){if(!D.isRemoved){const Z=Rt[D.eventName];let Q;Z&&(Q=Z[D.capture?c:d]);const rt=Q&&D.target[Q];if(rt)for(let z=0;zfunction(y,N){y[Kt]=!0,g&&g.apply(y,N)})}function re(v,E,x,g,y){const N=Zone.__symbol__(g);if(E[N])return;const U=E[N]=E[g];E[g]=function(B,X,Y){return X&&X.prototype&&y.forEach(function(K){const mt=`${x}.${g}::`+K,vt=X.prototype;try{if(vt.hasOwnProperty(K)){const ht=v.ObjectGetOwnPropertyDescriptor(vt,K);ht&&ht.value?(ht.value=v.wrapWithCurrentZone(ht.value,mt),v._redefineProperty(X.prototype,K,ht)):vt[K]&&(vt[K]=v.wrapWithCurrentZone(vt[K],mt))}else vt[K]&&(vt[K]=v.wrapWithCurrentZone(vt[K],mt))}catch{}}),U.call(E,B,X,Y)},v.attachOriginToPatched(E[g],U)}function Yt(v,E,x){if(!x||0===x.length)return E;const g=x.filter(N=>N.target===v);if(!g||0===g.length)return E;const y=g[0].ignoreProperties;return E.filter(N=>-1===y.indexOf(N))}function oe(v,E,x,g){v&&ct(v,Yt(v,E,x),g)}function se(v){return Object.getOwnPropertyNames(v).filter(E=>E.startsWith("on")&&E.length>2).map(E=>E.substring(2))}Zone.__load_patch("util",(v,E,x)=>{const g=se(v);x.patchOnProperties=ct,x.patchMethod=J,x.bindArguments=I,x.patchMacroTask=k;const y=E.__symbol__("BLACK_LISTED_EVENTS"),N=E.__symbol__("UNPATCHED_EVENTS");v[N]&&(v[y]=v[N]),v[y]&&(E[y]=E[N]=v[y]),x.patchEventPrototype=ue,x.patchEventTarget=ne,x.isIEOrEdge=Ut,x.ObjectDefineProperty=u,x.ObjectGetOwnPropertyDescriptor=s,x.ObjectCreate=e,x.ArraySlice=n,x.patchClass=ot,x.wrapWithCurrentZone=f,x.filterProperties=Yt,x.attachOriginToPatched=tt,x._redefineProperty=Object.defineProperty,x.patchCallbacks=re,x.getGlobalObjects=()=>({globalSources:kt,zoneSymbolEventNames:Rt,eventNames:g,isBrowser:j,isMix:L,isNode:S,TRUE_STR:c,FALSE_STR:d,ZONE_SYMBOL_PREFIX:l,ADD_EVENT_LISTENER_STR:o,REMOVE_EVENT_LISTENER_STR:r})});const Qt=m("zoneTask");function zt(v,E,x,g){let y=null,N=null;x+=g;const U={};function B(Y){const K=Y.data;return K.args[0]=function(){return Y.invoke.apply(this,arguments)},K.handleId=y.apply(v,K.args),Y}function X(Y){return N.call(v,Y.data.handleId)}y=J(v,E+=g,Y=>function(K,mt){if("function"==typeof mt[0]){const vt={isPeriodic:"Interval"===g,delay:"Timeout"===g||"Interval"===g?mt[1]||0:void 0,args:mt},ht=mt[0];mt[0]=function(){try{return ht.apply(this,arguments)}finally{vt.isPeriodic||("number"==typeof vt.handleId?delete U[vt.handleId]:vt.handleId&&(vt.handleId[Qt]=null))}};const Mt=h(E,mt[0],vt,B,X);if(!Mt)return Mt;const xt=Mt.data.handleId;return"number"==typeof xt?U[xt]=Mt:xt&&(xt[Qt]=Mt),xt&&xt.ref&&xt.unref&&"function"==typeof xt.ref&&"function"==typeof xt.unref&&(Mt.ref=xt.ref.bind(xt),Mt.unref=xt.unref.bind(xt)),"number"==typeof xt||xt?xt:Mt}return Y.apply(v,mt)}),N=J(v,x,Y=>function(K,mt){const vt=mt[0];let ht;"number"==typeof vt?ht=U[vt]:(ht=vt&&vt[Qt],ht||(ht=vt)),ht&&"string"==typeof ht.type?"notScheduled"!==ht.state&&(ht.cancelFn&&ht.data.isPeriodic||0===ht.runCount)&&("number"==typeof vt?delete U[vt]:vt&&(vt[Qt]=null),ht.zone.cancelTask(ht)):Y.apply(v,mt)})}Zone.__load_patch("legacy",v=>{const E=v[Zone.__symbol__("legacyPatch")];E&&E()}),Zone.__load_patch("timers",v=>{const E="set",x="clear";zt(v,E,x,"Timeout"),zt(v,E,x,"Interval"),zt(v,E,x,"Immediate")}),Zone.__load_patch("requestAnimationFrame",v=>{zt(v,"request","cancel","AnimationFrame"),zt(v,"mozRequest","mozCancel","AnimationFrame"),zt(v,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(v,E)=>{const x=["alert","prompt","confirm"];for(let g=0;gfunction(X,Y){return E.current.run(N,v,Y,B)})}),Zone.__load_patch("EventTarget",(v,E,x)=>{(function de(v,E){E.patchEventPrototype(v,E)})(v,x),function le(v,E){if(Zone[E.symbol("patchEventTarget")])return;const{eventNames:x,zoneSymbolEventNames:g,TRUE_STR:y,FALSE_STR:N,ZONE_SYMBOL_PREFIX:U}=E.getGlobalObjects();for(let X=0;X{ot("MutationObserver"),ot("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(v,E,x)=>{ot("IntersectionObserver")}),Zone.__load_patch("FileReader",(v,E,x)=>{ot("FileReader")}),Zone.__load_patch("on_property",(v,E,x)=>{!function ie(v,E){if(S&&!L||Zone[v.symbol("patchEvents")])return;const x=E.__Zone_ignore_on_properties;let g=[];if(j){const y=window;g=g.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const N=function Ot(){try{const v=b.navigator.userAgent;if(-1!==v.indexOf("MSIE ")||-1!==v.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:y,ignoreProperties:["error"]}]:[];oe(y,se(y),x&&x.concat(N),t(y))}g=g.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let y=0;y{!function fe(v,E){const{isBrowser:x,isMix:g}=E.getGlobalObjects();(x||g)&&v.customElements&&"customElements"in v&&E.patchCallbacks(E,v.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(v,x)}),Zone.__load_patch("XHR",(v,E)=>{!function X(Y){const K=Y.XMLHttpRequest;if(!K)return;const mt=K.prototype;let ht=mt[a],Mt=mt[i];if(!ht){const W=Y.XMLHttpRequestEventTarget;if(W){const pt=W.prototype;ht=pt[a],Mt=pt[i]}}const xt="readystatechange",Ft="scheduled";function Nt(W){const pt=W.data,et=pt.target;et[N]=!1,et[B]=!1;const Zt=et[y];ht||(ht=et[a],Mt=et[i]),Zt&&Mt.call(et,xt,Zt);const Ht=et[y]=()=>{if(et.readyState===et.DONE)if(!pt.aborted&&et[N]&&W.state===Ft){const Dt=et[E.__symbol__("loadfalse")];if(0!==et.status&&Dt&&Dt.length>0){const Wt=W.invoke;W.invoke=function(){const wt=et[E.__symbol__("loadfalse")];for(let jt=0;jtfunction(W,pt){return W[g]=0==pt[2],W[U]=pt[1],Lt.apply(W,pt)}),Ct=m("fetchTaskAborting"),yt=m("fetchTaskScheduling"),H=J(mt,"send",()=>function(W,pt){if(!0===E.current[yt]||W[g])return H.apply(W,pt);{const et={target:W,url:W[U],isPeriodic:!1,args:pt,aborted:!1},Zt=h("XMLHttpRequest.send",at,et,Nt,G);W&&!0===W[B]&&!et.aborted&&Zt.state===Ft&&Zt.invoke()}}),St=J(mt,"abort",()=>function(W,pt){const et=function vt(W){return W[x]}(W);if(et&&"string"==typeof et.type){if(null==et.cancelFn||et.data&&et.data.aborted)return;et.zone.cancelTask(et)}else if(!0===E.current[Ct])return St.apply(W,pt)})}(v);const x=m("xhrTask"),g=m("xhrSync"),y=m("xhrListener"),N=m("xhrScheduled"),U=m("xhrURL"),B=m("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",v=>{v.navigator&&v.navigator.geolocation&&function C(v,E){const x=v.constructor.name;for(let g=0;g{const X=function(){return B.apply(this,I(arguments,x+"."+y))};return tt(X,B),X})(N)}}}(v.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(v,E)=>{function x(g){return function(y){te(v,g).forEach(U=>{const B=v.PromiseRejectionEvent;if(B){const X=new B(g,{promise:y.promise,reason:y.rejection});U.invoke(X)}})}}v.PromiseRejectionEvent&&(E[m("unhandledPromiseRejectionHandler")]=x("unhandledrejection"),E[m("rejectionHandledHandler")]=x("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(v,E,x)=>{!function ce(v,E){E.patchMethod(v,"queueMicrotask",x=>function(g,y){Zone.current.scheduleMicroTask("queueMicrotask",y[0])})}(v,x)})},2691:(s,u,t)=>{t(9115),t(774),t(522),t(8295),t(7842),t(110),t(75),t(4336),t(1802),t(8837),t(6773),t(5745),t(3057),t(3750),t(3369),t(9564),t(2e3),t(8977),t(2310),t(4899),t(1842),t(6997),t(5645)},7677:(s,u,t)=>{t(1822),t(9977),t(1031),t(6331),t(1560),s.exports=Date},8813:(s,u,t)=>{t(9730),t(6059),t(8377),t(5645)},7878:(s,u,t)=>{t(6253),t(9115),t(1181),t(8416),t(5645)},6343:(s,u,t)=>{t(6503),t(6786),t(932),t(7526),t(1591),t(9073),t(347),t(579),t(4669),t(7710),t(5789),t(3514),t(9978),t(8472),t(6946),t(5068),t(413),t(5645)},2314:(s,u,t)=>{t(1246),t(726),t(1901),t(5972),t(3403),t(2516),t(9371),t(6479),t(1736),t(1889),t(5177),t(6943),t(5645)},7657:(s,u,t)=>{t(5767),t(8132),t(8388),t(7470),t(4882),t(1520),t(7476),t(9622),t(9375),t(3533),t(4672),t(4157),t(5095),t(9892),t(5115),t(9176),t(8838),t(6253),t(5645)},1771:(s,u,t)=>{t(4299),t(5645)},5310:(s,u,t)=>{t(1084),t(5645)},9132:(s,u,t)=>{t(3946),t(8269),t(6108),t(6774),t(1466),t(9357),t(6142),t(1876),t(5645)},2298:(s,u,t)=>{t(6253),t(9115),t(1181),t(8184),t(5645)},8148:(s,u,t)=>{t(191),t(8306),t(4564),t(9115),t(9539),t(6620),t(2850),t(823),t(7732),t(856),t(703),t(1539),t(5292),t(6629),t(3694),t(7648),t(7795),t(4531),t(3605),t(6780),t(9937),t(511),t(1466),t(9357),t(6142),t(1876),t(5645)},4244:(s,u,t)=>{t(5767),t(6253),t(5645)},6081:(s,u,t)=>{t(6253),t(6997),t(147),t(5645)},8089:(s,u,t)=>{t(3364),t(1432),t(6562),t(4416),t(8681),t(2213),t(3471),t(4329),t(5159),t(5645)},4963:s=>{s.exports=function(u){if("function"!=typeof u)throw TypeError(u+" is not a function!");return u}},3365:(s,u,t)=>{var e=t(2032);s.exports=function(n,o){if("number"!=typeof n&&"Number"!=e(n))throw TypeError(o);return+n}},7722:(s,u,t)=>{var e=t(6314)("unscopables"),n=Array.prototype;null==n[e]&&t(7728)(n,e,{}),s.exports=function(o){n[e][o]=!0}},6793:(s,u,t)=>{"use strict";var e=t(4496)(!0);s.exports=function(n,o,r){return o+(r?e(n,o).length:1)}},3328:s=>{s.exports=function(u,t,e,n){if(!(u instanceof t)||void 0!==n&&n in u)throw TypeError(e+": incorrect invocation!");return u}},7007:(s,u,t)=>{var e=t(5286);s.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},5216:(s,u,t)=>{"use strict";var e=t(508),n=t(2337),o=t(875);s.exports=[].copyWithin||function(a,i){var c=e(this),d=o(c.length),l=n(a,d),f=n(i,d),h=arguments.length>2?arguments[2]:void 0,m=Math.min((void 0===h?d:n(h,d))-f,d-l),T=1;for(f0;)f in c?c[l]=c[f]:delete c[l],l+=T,f+=T;return c}},6852:(s,u,t)=>{"use strict";var e=t(508),n=t(2337),o=t(875);s.exports=function(a){for(var i=e(this),c=o(i.length),d=arguments.length,l=n(d>1?arguments[1]:void 0,c),f=d>2?arguments[2]:void 0,h=void 0===f?c:n(f,c);h>l;)i[l++]=a;return i}},9490:(s,u,t)=>{var e=t(3531);s.exports=function(n,o){var r=[];return e(n,!1,r.push,r,o),r}},9315:(s,u,t)=>{var e=t(2110),n=t(875),o=t(2337);s.exports=function(r){return function(a,i,c){var h,d=e(a),l=n(d.length),f=o(c,l);if(r&&i!=i){for(;l>f;)if((h=d[f++])!=h)return!0}else for(;l>f;f++)if((r||f in d)&&d[f]===i)return r||f||0;return!r&&-1}}},50:(s,u,t)=>{var e=t(741),n=t(9797),o=t(508),r=t(875),a=t(6886);s.exports=function(i,c){var d=1==i,l=2==i,f=3==i,h=4==i,m=6==i,T=5==i||m,b=c||a;return function(R,P,I){for(var w,_,C=o(R),A=n(C),M=e(P,I,3),S=r(A.length),j=0,L=d?b(R,S):l?b(R,0):void 0;S>j;j++)if((T||j in A)&&(_=M(w=A[j],j,C),i))if(d)L[j]=_;else if(_)switch(i){case 3:return!0;case 5:return w;case 6:return j;case 2:L.push(w)}else if(h)return!1;return m?-1:f||h?h:L}}},7628:(s,u,t)=>{var e=t(4963),n=t(508),o=t(9797),r=t(875);s.exports=function(a,i,c,d,l){e(i);var f=n(a),h=o(f),m=r(f.length),T=l?m-1:0,b=l?-1:1;if(c<2)for(;;){if(T in h){d=h[T],T+=b;break}if(T+=b,l?T<0:m<=T)throw TypeError("Reduce of empty array with no initial value")}for(;l?T>=0:m>T;T+=b)T in h&&(d=i(d,h[T],T,f));return d}},2736:(s,u,t)=>{var e=t(5286),n=t(4302),o=t(6314)("species");s.exports=function(r){var a;return n(r)&&("function"==typeof(a=r.constructor)&&(a===Array||n(a.prototype))&&(a=void 0),e(a)&&null===(a=a[o])&&(a=void 0)),void 0===a?Array:a}},6886:(s,u,t)=>{var e=t(2736);s.exports=function(n,o){return new(e(n))(o)}},4398:(s,u,t)=>{"use strict";var e=t(4963),n=t(5286),o=t(7242),r=[].slice,a={};s.exports=Function.bind||function(d){var l=e(this),f=r.call(arguments,1),h=function(){var m=f.concat(r.call(arguments));return this instanceof h?function(c,d,l){if(!(d in a)){for(var f=[],h=0;h{var e=t(2032),n=t(6314)("toStringTag"),o="Arguments"==e(function(){return arguments}());s.exports=function(a){var i,c,d;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=function(a,i){try{return a[i]}catch{}}(i=Object(a),n))?c:o?e(i):"Object"==(d=e(i))&&"function"==typeof i.callee?"Arguments":d}},2032:s=>{var u={}.toString;s.exports=function(t){return u.call(t).slice(8,-1)}},9824:(s,u,t)=>{"use strict";var e=t(9275).f,n=t(2503),o=t(4408),r=t(741),a=t(3328),i=t(3531),c=t(2923),d=t(5436),l=t(2974),f=t(7057),h=t(4728).fastKey,m=t(1616),T=f?"_s":"size",b=function(R,P){var C,I=h(P);if("F"!==I)return R._i[I];for(C=R._f;C;C=C.n)if(C.k==P)return C};s.exports={getConstructor:function(R,P,I,C){var A=R(function(M,S){a(M,A,P,"_i"),M._t=P,M._i=n(null),M._f=void 0,M._l=void 0,M[T]=0,null!=S&&i(S,I,M[C],M)});return o(A.prototype,{clear:function(){for(var S=m(this,P),j=S._i,L=S._f;L;L=L.n)L.r=!0,L.p&&(L.p=L.p.n=void 0),delete j[L.i];S._f=S._l=void 0,S[T]=0},delete:function(M){var S=m(this,P),j=b(S,M);if(j){var L=j.n,w=j.p;delete S._i[j.i],j.r=!0,w&&(w.n=L),L&&(L.p=w),S._f==j&&(S._f=L),S._l==j&&(S._l=w),S[T]--}return!!j},forEach:function(S){m(this,P);for(var L,j=r(S,arguments.length>1?arguments[1]:void 0,3);L=L?L.n:this._f;)for(j(L.v,L.k,this);L&&L.r;)L=L.p},has:function(S){return!!b(m(this,P),S)}}),f&&e(A.prototype,"size",{get:function(){return m(this,P)[T]}}),A},def:function(R,P,I){var A,M,C=b(R,P);return C?C.v=I:(R._l=C={i:M=h(P,!0),k:P,v:I,p:A=R._l,n:void 0,r:!1},R._f||(R._f=C),A&&(A.n=C),R[T]++,"F"!==M&&(R._i[M]=C)),R},getEntry:b,setStrong:function(R,P,I){c(R,P,function(C,A){this._t=m(C,P),this._k=A,this._l=void 0},function(){for(var C=this,A=C._k,M=C._l;M&&M.r;)M=M.p;return C._t&&(C._l=M=M?M.n:C._t._f)?d(0,"keys"==A?M.k:"values"==A?M.v:[M.k,M.v]):(C._t=void 0,d(1))},I?"entries":"values",!I,!0),l(P)}}},3657:(s,u,t)=>{"use strict";var e=t(4408),n=t(4728).getWeak,o=t(7007),r=t(5286),a=t(3328),i=t(3531),c=t(50),d=t(9181),l=t(1616),f=c(5),h=c(6),m=0,T=function(P){return P._l||(P._l=new b)},b=function(){this.a=[]},R=function(P,I){return f(P.a,function(C){return C[0]===I})};b.prototype={get:function(P){var I=R(this,P);if(I)return I[1]},has:function(P){return!!R(this,P)},set:function(P,I){var C=R(this,P);C?C[1]=I:this.a.push([P,I])},delete:function(P){var I=h(this.a,function(C){return C[0]===P});return~I&&this.a.splice(I,1),!!~I}},s.exports={getConstructor:function(P,I,C,A){var M=P(function(S,j){a(S,M,I,"_i"),S._t=I,S._i=m++,S._l=void 0,null!=j&&i(j,C,S[A],S)});return e(M.prototype,{delete:function(S){if(!r(S))return!1;var j=n(S);return!0===j?T(l(this,I)).delete(S):j&&d(j,this._i)&&delete j[this._i]},has:function(j){if(!r(j))return!1;var L=n(j);return!0===L?T(l(this,I)).has(j):L&&d(L,this._i)}}),M},def:function(P,I,C){var A=n(o(I),!0);return!0===A?T(P).set(I,C):A[P._i]=C,P},ufstore:T}},5795:(s,u,t)=>{"use strict";var e=t(3816),n=t(2985),o=t(7234),r=t(4408),a=t(4728),i=t(3531),c=t(3328),d=t(5286),l=t(4253),f=t(7462),h=t(2943),m=t(266);s.exports=function(T,b,R,P,I,C){var A=e[T],M=A,S=I?"set":"add",j=M&&M.prototype,L={},w=function(J){var k=j[J];o(j,J,"delete"==J?function(tt){return!(C&&!d(tt))&&k.call(this,0===tt?0:tt)}:"has"==J?function(st){return!(C&&!d(st))&&k.call(this,0===st?0:st)}:"get"==J?function(st){return C&&!d(st)?void 0:k.call(this,0===st?0:st)}:"add"==J?function(st){return k.call(this,0===st?0:st),this}:function(st,Et){return k.call(this,0===st?0:st,Et),this})};if("function"==typeof M&&(C||j.forEach&&!l(function(){(new M).entries().next()}))){var _=new M,dt=_[S](C?{}:-0,1)!=_,ct=l(function(){_.has(1)}),nt=f(function(J){new M(J)}),ot=!C&&l(function(){for(var J=new M,k=5;k--;)J[S](k,k);return!J.has(-0)});nt||((M=b(function(J,k){c(J,M,T);var tt=m(new A,J,M);return null!=k&&i(k,I,tt[S],tt),tt})).prototype=j,j.constructor=M),(ct||ot)&&(w("delete"),w("has"),I&&w("get")),(ot||dt)&&w(S),C&&j.clear&&delete j.clear}else M=P.getConstructor(b,T,I,S),r(M.prototype,R),a.NEED=!0;return h(M,T),L[T]=M,n(n.G+n.W+n.F*(M!=A),L),C||P.setStrong(M,T,I),M}},5645:s=>{var u=s.exports={version:"2.6.12"};"number"==typeof __e&&(__e=u)},2811:(s,u,t)=>{"use strict";var e=t(9275),n=t(681);s.exports=function(o,r,a){r in o?e.f(o,r,n(0,a)):o[r]=a}},741:(s,u,t)=>{var e=t(4963);s.exports=function(n,o,r){if(e(n),void 0===o)return n;switch(r){case 1:return function(a){return n.call(o,a)};case 2:return function(a,i){return n.call(o,a,i)};case 3:return function(a,i,c){return n.call(o,a,i,c)}}return function(){return n.apply(o,arguments)}}},3537:(s,u,t)=>{"use strict";var e=t(4253),n=Date.prototype.getTime,o=Date.prototype.toISOString,r=function(a){return a>9?a:"0"+a};s.exports=e(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))})||!e(function(){o.call(new Date(NaN))})?function(){if(!isFinite(n.call(this)))throw RangeError("Invalid time value");var i=this,c=i.getUTCFullYear(),d=i.getUTCMilliseconds(),l=c<0?"-":c>9999?"+":"";return l+("00000"+Math.abs(c)).slice(l?-6:-4)+"-"+r(i.getUTCMonth()+1)+"-"+r(i.getUTCDate())+"T"+r(i.getUTCHours())+":"+r(i.getUTCMinutes())+":"+r(i.getUTCSeconds())+"."+(d>99?d:"0"+r(d))+"Z"}:o},870:(s,u,t)=>{"use strict";var e=t(7007),n=t(1689),o="number";s.exports=function(r){if("string"!==r&&r!==o&&"default"!==r)throw TypeError("Incorrect hint");return n(e(this),r!=o)}},1355:s=>{s.exports=function(u){if(null==u)throw TypeError("Can't call method on "+u);return u}},7057:(s,u,t)=>{s.exports=!t(4253)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},2457:(s,u,t)=>{var e=t(5286),n=t(3816).document,o=e(n)&&e(n.createElement);s.exports=function(r){return o?n.createElement(r):{}}},4430:s=>{s.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:(s,u,t)=>{var e=t(7184),n=t(4548),o=t(4682);s.exports=function(r){var a=e(r),i=n.f;if(i)for(var f,c=i(r),d=o.f,l=0;c.length>l;)d.call(r,f=c[l++])&&a.push(f);return a}},2985:(s,u,t)=>{var e=t(3816),n=t(5645),o=t(7728),r=t(7234),a=t(741),i="prototype",c=function(d,l,f){var A,M,S,j,h=d&c.F,m=d&c.G,b=d&c.P,R=d&c.B,P=m?e:d&c.S?e[l]||(e[l]={}):(e[l]||{})[i],I=m?n:n[l]||(n[l]={}),C=I[i]||(I[i]={});for(A in m&&(f=l),f)S=((M=!h&&P&&void 0!==P[A])?P:f)[A],j=R&&M?a(S,e):b&&"function"==typeof S?a(Function.call,S):S,P&&r(P,A,S,d&c.U),I[A]!=S&&o(I,A,j),b&&C[A]!=S&&(C[A]=S)};e.core=n,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,s.exports=c},8852:(s,u,t)=>{var e=t(6314)("match");s.exports=function(n){var o=/./;try{"/./"[n](o)}catch{try{return o[e]=!1,!"/./"[n](o)}catch{}}return!0}},4253:s=>{s.exports=function(u){try{return!!u()}catch{return!0}}},8082:(s,u,t)=>{"use strict";t(8269);var e=t(7234),n=t(7728),o=t(4253),r=t(1355),a=t(6314),i=t(1165),c=a("species"),d=!o(function(){var f=/./;return f.exec=function(){var h=[];return h.groups={a:"7"},h},"7"!=="".replace(f,"$")}),l=function(){var f=/(?:)/,h=f.exec;f.exec=function(){return h.apply(this,arguments)};var m="ab".split(f);return 2===m.length&&"a"===m[0]&&"b"===m[1]}();s.exports=function(f,h,m){var T=a(f),b=!o(function(){var M={};return M[T]=function(){return 7},7!=""[f](M)}),R=b?!o(function(){var M=!1,S=/a/;return S.exec=function(){return M=!0,null},"split"===f&&(S.constructor={},S.constructor[c]=function(){return S}),S[T](""),!M}):void 0;if(!b||!R||"replace"===f&&!d||"split"===f&&!l){var P=/./[T],I=m(r,T,""[f],function(S,j,L,w,_){return j.exec===i?b&&!_?{done:!0,value:P.call(j,L,w)}:{done:!0,value:S.call(L,j,w)}:{done:!1}}),A=I[1];e(String.prototype,f,I[0]),n(RegExp.prototype,T,2==h?function(M,S){return A.call(M,this,S)}:function(M){return A.call(M,this)})}}},3218:(s,u,t)=>{"use strict";var e=t(7007);s.exports=function(){var n=e(this),o="";return n.global&&(o+="g"),n.ignoreCase&&(o+="i"),n.multiline&&(o+="m"),n.unicode&&(o+="u"),n.sticky&&(o+="y"),o}},3531:(s,u,t)=>{var e=t(741),n=t(8851),o=t(6555),r=t(7007),a=t(875),i=t(9002),c={},d={},l=s.exports=function(f,h,m,T,b){var C,A,M,S,R=b?function(){return f}:i(f),P=e(m,T,h?2:1),I=0;if("function"!=typeof R)throw TypeError(f+" is not iterable!");if(o(R)){for(C=a(f.length);C>I;I++)if((S=h?P(r(A=f[I])[0],A[1]):P(f[I]))===c||S===d)return S}else for(M=R.call(f);!(A=M.next()).done;)if((S=n(M,P,A.value,h))===c||S===d)return S};l.BREAK=c,l.RETURN=d},18:(s,u,t)=>{s.exports=t(3825)("native-function-to-string",Function.toString)},3816:s=>{var u=s.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=u)},9181:s=>{var u={}.hasOwnProperty;s.exports=function(t,e){return u.call(t,e)}},7728:(s,u,t)=>{var e=t(9275),n=t(681);s.exports=t(7057)?function(o,r,a){return e.f(o,r,n(1,a))}:function(o,r,a){return o[r]=a,o}},639:(s,u,t)=>{var e=t(3816).document;s.exports=e&&e.documentElement},1734:(s,u,t)=>{s.exports=!t(7057)&&!t(4253)(function(){return 7!=Object.defineProperty(t(2457)("div"),"a",{get:function(){return 7}}).a})},266:(s,u,t)=>{var e=t(5286),n=t(7375).set;s.exports=function(o,r,a){var c,i=r.constructor;return i!==a&&"function"==typeof i&&(c=i.prototype)!==a.prototype&&e(c)&&n&&n(o,c),o}},7242:s=>{s.exports=function(u,t,e){var n=void 0===e;switch(t.length){case 0:return n?u():u.call(e);case 1:return n?u(t[0]):u.call(e,t[0]);case 2:return n?u(t[0],t[1]):u.call(e,t[0],t[1]);case 3:return n?u(t[0],t[1],t[2]):u.call(e,t[0],t[1],t[2]);case 4:return n?u(t[0],t[1],t[2],t[3]):u.call(e,t[0],t[1],t[2],t[3])}return u.apply(e,t)}},9797:(s,u,t)=>{var e=t(2032);s.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},6555:(s,u,t)=>{var e=t(2803),n=t(6314)("iterator"),o=Array.prototype;s.exports=function(r){return void 0!==r&&(e.Array===r||o[n]===r)}},4302:(s,u,t)=>{var e=t(2032);s.exports=Array.isArray||function(o){return"Array"==e(o)}},8367:(s,u,t)=>{var e=t(5286),n=Math.floor;s.exports=function(r){return!e(r)&&isFinite(r)&&n(r)===r}},5286:s=>{s.exports=function(u){return"object"==typeof u?null!==u:"function"==typeof u}},5364:(s,u,t)=>{var e=t(5286),n=t(2032),o=t(6314)("match");s.exports=function(r){var a;return e(r)&&(void 0!==(a=r[o])?!!a:"RegExp"==n(r))}},8851:(s,u,t)=>{var e=t(7007);s.exports=function(n,o,r,a){try{return a?o(e(r)[0],r[1]):o(r)}catch(c){var i=n.return;throw void 0!==i&&e(i.call(n)),c}}},9988:(s,u,t)=>{"use strict";var e=t(2503),n=t(681),o=t(2943),r={};t(7728)(r,t(6314)("iterator"),function(){return this}),s.exports=function(a,i,c){a.prototype=e(r,{next:n(1,c)}),o(a,i+" Iterator")}},2923:(s,u,t)=>{"use strict";var e=t(4461),n=t(2985),o=t(7234),r=t(7728),a=t(2803),i=t(9988),c=t(2943),d=t(468),l=t(6314)("iterator"),f=!([].keys&&"next"in[].keys()),m="keys",T="values",b=function(){return this};s.exports=function(R,P,I,C,A,M,S){i(I,P,C);var k,tt,st,j=function(Et){if(!f&&Et in dt)return dt[Et];switch(Et){case m:case T:return function(){return new I(this,Et)}}return function(){return new I(this,Et)}},L=P+" Iterator",w=A==T,_=!1,dt=R.prototype,ct=dt[l]||dt["@@iterator"]||A&&dt[A],nt=ct||j(A),ot=A?w?j("entries"):nt:void 0,J="Array"==P&&dt.entries||ct;if(J&&(st=d(J.call(new R)))!==Object.prototype&&st.next&&(c(st,L,!0),!e&&"function"!=typeof st[l]&&r(st,l,b)),w&&ct&&ct.name!==T&&(_=!0,nt=function(){return ct.call(this)}),(!e||S)&&(f||_||!dt[l])&&r(dt,l,nt),a[P]=nt,a[L]=b,A)if(k={values:w?nt:j(T),keys:M?nt:j(m),entries:ot},S)for(tt in k)tt in dt||o(dt,tt,k[tt]);else n(n.P+n.F*(f||_),P,k);return k}},7462:(s,u,t)=>{var e=t(6314)("iterator"),n=!1;try{var o=[7][e]();o.return=function(){n=!0},Array.from(o,function(){throw 2})}catch{}s.exports=function(r,a){if(!a&&!n)return!1;var i=!1;try{var c=[7],d=c[e]();d.next=function(){return{done:i=!0}},c[e]=function(){return d},r(c)}catch{}return i}},5436:s=>{s.exports=function(u,t){return{value:t,done:!!u}}},2803:s=>{s.exports={}},4461:s=>{s.exports=!1},3086:s=>{var u=Math.expm1;s.exports=!u||u(10)>22025.465794806718||u(10)<22025.465794806718||-2e-17!=u(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:u},4934:(s,u,t)=>{var e=t(1801),n=Math.pow,o=n(2,-52),r=n(2,-23),a=n(2,127)*(2-r),i=n(2,-126);s.exports=Math.fround||function(l){var m,T,f=Math.abs(l),h=e(l);return fa||T!=T?h*(1/0):h*T}},6206:s=>{s.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},1801:s=>{s.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},4728:(s,u,t)=>{var e=t(3953)("meta"),n=t(5286),o=t(9181),r=t(9275).f,a=0,i=Object.isExtensible||function(){return!0},c=!t(4253)(function(){return i(Object.preventExtensions({}))}),d=function(T){r(T,e,{value:{i:"O"+ ++a,w:{}}})},m=s.exports={KEY:e,NEED:!1,fastKey:function(T,b){if(!n(T))return"symbol"==typeof T?T:("string"==typeof T?"S":"P")+T;if(!o(T,e)){if(!i(T))return"F";if(!b)return"E";d(T)}return T[e].i},getWeak:function(T,b){if(!o(T,e)){if(!i(T))return!0;if(!b)return!1;d(T)}return T[e].w},onFreeze:function(T){return c&&m.NEED&&i(T)&&!o(T,e)&&d(T),T}}},133:(s,u,t)=>{var e=t(8416),n=t(2985),o=t(3825)("metadata"),r=o.store||(o.store=new(t(147))),a=function(m,T,b){var R=r.get(m);if(!R){if(!b)return;r.set(m,R=new e)}var P=R.get(T);if(!P){if(!b)return;R.set(T,P=new e)}return P};s.exports={store:r,map:a,has:function(m,T,b){var R=a(T,b,!1);return void 0!==R&&R.has(m)},get:function(m,T,b){var R=a(T,b,!1);return void 0===R?void 0:R.get(m)},set:function(m,T,b,R){a(b,R,!0).set(m,T)},keys:function(m,T){var b=a(m,T,!1),R=[];return b&&b.forEach(function(P,I){R.push(I)}),R},key:function(m){return void 0===m||"symbol"==typeof m?m:String(m)},exp:function(m){n(n.S,"Reflect",m)}}},5345:(s,u,t)=>{"use strict";var e=t(7057),n=t(7184),o=t(4548),r=t(4682),a=t(508),i=t(9797),c=Object.assign;s.exports=!c||t(4253)(function(){var d={},l={},f=Symbol(),h="abcdefghijklmnopqrst";return d[f]=7,h.split("").forEach(function(m){l[m]=m}),7!=c({},d)[f]||Object.keys(c({},l)).join("")!=h})?function(l,f){for(var h=a(l),m=arguments.length,T=1,b=o.f,R=r.f;m>T;)for(var M,P=i(arguments[T++]),I=b?n(P).concat(b(P)):n(P),C=I.length,A=0;C>A;)M=I[A++],(!e||R.call(P,M))&&(h[M]=P[M]);return h}:c},2503:(s,u,t)=>{var e=t(7007),n=t(5588),o=t(4430),r=t(9335)("IE_PROTO"),a=function(){},i="prototype",c=function(){var m,d=t(2457)("iframe"),l=o.length;for(d.style.display="none",t(639).appendChild(d),d.src="javascript:",(m=d.contentWindow.document).open(),m.write("