From d343acc622cddcbd9ddfccb39f8e844eac25c89a Mon Sep 17 00:00:00 2001 From: Thomas Renger Date: Sat, 9 Dec 2023 10:14:00 +0000 Subject: [PATCH] Auto-generated commit [ci skip] Triggered by commit: https://github.com/bolzplatzarena/Components/commit/cd2c544fc3fec25dab5772f014d61e1b018d3ecc --- browser/index.html | 2 +- browser/{main-5EKESSTB.js => main-RJB2KKPY.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename browser/{main-5EKESSTB.js => main-RJB2KKPY.js} (99%) diff --git a/browser/index.html b/browser/index.html index e926bc4..5009cf0 100644 --- a/browser/index.html +++ b/browser/index.html @@ -10,5 +10,5 @@ - + diff --git a/browser/main-5EKESSTB.js b/browser/main-RJB2KKPY.js similarity index 99% rename from browser/main-5EKESSTB.js rename to browser/main-RJB2KKPY.js index 9dadd18..f553fd6 100644 --- a/browser/main-5EKESSTB.js +++ b/browser/main-RJB2KKPY.js @@ -769,7 +769,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { }`;function SE(){var i=wE,e=xE,n=q.cssPrefix,t=q.replacementClass,r=sV;if(n!==i||t!==e){var o=new RegExp("\\.".concat(i,"\\-"),"g"),s=new RegExp("\\--".concat(i,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(t))}return r}var XC=!1;function Zg(){q.autoAddCss&&!XC&&(tV(SE()),XC=!0)}var aV={mixout:function(){return{dom:{css:SE,insertCss:Zg}}},hooks:function(){return{beforeDOMElementCreation:function(){Zg()},beforeI2svg:function(){Zg()}}}},Bn=pr||{};Bn[Vn]||(Bn[Vn]={});Bn[Vn].styles||(Bn[Vn].styles={});Bn[Vn].hooks||(Bn[Vn].hooks={});Bn[Vn].shims||(Bn[Vn].shims=[]);var Gi=Bn[Vn],ME=[],lV=function i(){et.removeEventListener("DOMContentLoaded",i),ju=1,ME.map(function(e){return e()})},ju=!1;Hn&&(ju=(et.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(et.readyState),ju||et.addEventListener("DOMContentLoaded",lV));function cV(i){Hn&&(ju?setTimeout(i,0):ME.push(i))}function dl(i){var e=i.tag,n=i.attributes,t=n===void 0?{}:n,r=i.children,o=r===void 0?[]:r;return typeof i=="string"?IE(i):"<".concat(e," ").concat(nV(t),">").concat(o.map(dl).join(""),"")}function JC(i,e,n){if(i&&i[e]&&i[e][n])return{prefix:e,iconName:n,icon:i[e][n]}}var dV=function(e,n){return function(t,r,o,s){return e.call(n,t,r,o,s)}},Xg=function(e,n,t,r){var o=Object.keys(e),s=o.length,a=r!==void 0?dV(n,r):n,l,c,d;for(t===void 0?(l=1,d=e[o[0]]):(l=0,d=t);l=55296&&r<=56319&&n=55296&&t<=56319&&n>e+1&&(r=i.charCodeAt(e+1),r>=56320&&r<=57343)?(t-55296)*1024+r-56320+65536:t}function eE(i){return Object.keys(i).reduce(function(e,n){var t=i[n],r=!!t.icon;return r?e[t.iconName]=t.icon:e[n]=t,e},{})}function ob(i,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t=n.skipHooks,r=t===void 0?!1:t,o=eE(e);typeof Gi.hooks.addPack=="function"&&!r?Gi.hooks.addPack(i,eE(e)):Gi.styles[i]=$($({},Gi.styles[i]||{}),o),i==="fas"&&ob("fa",e)}var Ou,Ru,Fu,Ms=Gi.styles,hV=Gi.shims,fV=(Ou={},Ct(Ou,Je,Object.values(ol[Je])),Ct(Ou,lt,Object.values(ol[lt])),Ou),vb=null,TE={},AE={},OE={},RE={},FE={},pV=(Ru={},Ct(Ru,Je,Object.keys(nl[Je])),Ct(Ru,lt,Object.keys(nl[lt])),Ru);function gV(i){return~Zj.indexOf(i)}function bV(i,e){var n=e.split("-"),t=n[0],r=n.slice(1).join("-");return t===i&&r!==""&&!gV(r)?r:null}var PE=function(){var e=function(o){return Xg(Ms,function(s,a,l){return s[l]=Xg(a,o,{}),s},{})};TE=e(function(r,o,s){if(o[3]&&(r[o[3]]=s),o[2]){var a=o[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){r[l.toString(16)]=s})}return r}),AE=e(function(r,o,s){if(r[s]=s,o[2]){var a=o[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){r[l]=s})}return r}),FE=e(function(r,o,s){var a=o[2];return r[s]=s,a.forEach(function(l){r[l]=s}),r});var n="far"in Ms||q.autoFetchSvg,t=Xg(hV,function(r,o){var s=o[0],a=o[1],l=o[2];return a==="far"&&!n&&(a="fas"),typeof s=="string"&&(r.names[s]={prefix:a,iconName:l}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:a,iconName:l}),r},{names:{},unicodes:{}});OE=t.names,RE=t.unicodes,vb=zu(q.styleDefault,{family:q.familyDefault})};eV(function(i){vb=zu(i.styleDefault,{family:q.familyDefault})});PE();function yb(i,e){return(TE[i]||{})[e]}function _V(i,e){return(AE[i]||{})[e]}function so(i,e){return(FE[i]||{})[e]}function NE(i){return OE[i]||{prefix:null,iconName:null}}function vV(i){var e=RE[i],n=yb("fas",i);return e||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function gr(){return vb}var wb=function(){return{prefix:null,iconName:null,rest:[]}};function zu(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.family,t=n===void 0?Je:n,r=nl[t][i],o=rl[t][i]||rl[t][r],s=i in Gi.styles?i:null;return o||s||null}var tE=(Fu={},Ct(Fu,Je,Object.keys(ol[Je])),Ct(Fu,lt,Object.keys(ol[lt])),Fu);function Hu(i){var e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.skipLookups,r=t===void 0?!1:t,o=(e={},Ct(e,Je,"".concat(q.cssPrefix,"-").concat(Je)),Ct(e,lt,"".concat(q.cssPrefix,"-").concat(lt)),e),s=null,a=Je;(i.includes(o[Je])||i.some(function(c){return tE[Je].includes(c)}))&&(a=Je),(i.includes(o[lt])||i.some(function(c){return tE[lt].includes(c)}))&&(a=lt);var l=i.reduce(function(c,d){var u=bV(q.cssPrefix,d);if(Ms[d]?(d=fV[a].includes(d)?Wj[a][d]:d,s=d,c.prefix=d):pV[a].indexOf(d)>-1?(s=d,c.prefix=zu(d,{family:a})):u?c.iconName=u:d!==q.replacementClass&&d!==o[Je]&&d!==o[lt]&&c.rest.push(d),!r&&c.prefix&&c.iconName){var h=s==="fa"?NE(c.iconName):{},f=so(c.prefix,c.iconName);h.prefix&&(s=null),c.iconName=h.iconName||f||c.iconName,c.prefix=h.prefix||c.prefix,c.prefix==="far"&&!Ms.far&&Ms.fas&&!q.autoFetchSvg&&(c.prefix="fas")}return c},wb());return(i.includes("fa-brands")||i.includes("fab"))&&(l.prefix="fab"),(i.includes("fa-duotone")||i.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===lt&&(Ms.fass||q.autoFetchSvg)&&(l.prefix="fass",l.iconName=so(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||s==="fa")&&(l.prefix=gr()||"fas"),l}var yV=function(){function i(){Rj(this,i),this.definitions={}}return Fj(i,[{key:"add",value:function(){for(var n=this,t=arguments.length,r=new Array(t),o=0;o0&&d.forEach(function(u){typeof u=="string"&&(n[a][u]=c)}),n[a][l]=c}),n}}]),i}(),iE=[],Ts={},As={},wV=Object.keys(As);function xV(i,e){var n=e.mixoutsTo;return iE=i,Ts={},Object.keys(As).forEach(function(t){wV.indexOf(t)===-1&&delete As[t]}),iE.forEach(function(t){var r=t.mixout?t.mixout():{};if(Object.keys(r).forEach(function(s){typeof r[s]=="function"&&(n[s]=r[s]),Lu(r[s])==="object"&&Object.keys(r[s]).forEach(function(a){n[s]||(n[s]={}),n[s][a]=r[s][a]})}),t.hooks){var o=t.hooks();Object.keys(o).forEach(function(s){Ts[s]||(Ts[s]=[]),Ts[s].push(o[s])})}t.provides&&t.provides(As)}),n}function sb(i,e){for(var n=arguments.length,t=new Array(n>2?n-2:0),r=2;r1?e-1:0),t=1;t0&&arguments[0]!==void 0?arguments[0]:{};return Hn?(lo("beforeI2svg",e),zn("pseudoElements2svg",e),zn("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot;q.autoReplaceSvg===!1&&(q.autoReplaceSvg=!0),q.observeMutations=!0,cV(function(){kV({autoReplaceSvgRoot:n}),lo("watch",e)})}},EV={icon:function(e){if(e===null)return null;if(Lu(e)==="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:so(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var n=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],t=zu(e[0]);return{prefix:t,iconName:so(t,n)||n}}if(typeof e=="string"&&(e.indexOf("".concat(q.cssPrefix,"-"))>-1||e.match(Gj))){var r=Hu(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||gr(),iconName:so(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){var o=gr();return{prefix:o,iconName:so(o,e)||e}}}},di={noAuto:DV,config:q,dom:CV,parse:EV,library:LE,findIconDefinition:ab,toHtml:dl},kV=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.autoReplaceSvgRoot,t=n===void 0?et:n;(Object.keys(Gi.styles).length>0||q.autoFetchSvg)&&Hn&&q.autoReplaceSvg&&di.dom.i2svg({node:t})};function $u(i,e){return Object.defineProperty(i,"abstract",{get:e}),Object.defineProperty(i,"html",{get:function(){return i.abstract.map(function(t){return dl(t)})}}),Object.defineProperty(i,"node",{get:function(){if(Hn){var t=et.createElement("div");return t.innerHTML=i.html,t.children}}}),i}function IV(i){var e=i.children,n=i.main,t=i.mask,r=i.attributes,o=i.styles,s=i.transform;if(_b(s)&&n.found&&!t.found){var a=n.width,l=n.height,c={x:a/l/2,y:.5};r.style=Bu($($({},o),{},{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}function SV(i){var e=i.prefix,n=i.iconName,t=i.children,r=i.attributes,o=i.symbol,s=o===!0?"".concat(e,"-").concat(q.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:$($({},r),{},{id:s}),children:t}]}]}function xb(i){var e=i.icons,n=e.main,t=e.mask,r=i.prefix,o=i.iconName,s=i.transform,a=i.symbol,l=i.title,c=i.maskId,d=i.titleId,u=i.extra,h=i.watchable,f=h===void 0?!1:h,p=t.found?t:n,v=p.width,E=p.height,A=r==="fak",Y=[q.replacementClass,o?"".concat(q.cssPrefix,"-").concat(o):""].filter(function(ht){return u.classes.indexOf(ht)===-1}).filter(function(ht){return ht!==""||!!ht}).concat(u.classes).join(" "),oe={children:[],attributes:$($({},u.attributes),{},{"data-prefix":r,"data-icon":o,class:Y,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(E)})},_e=A&&!~u.classes.indexOf("fa-fw")?{width:"".concat(v/E*16*.0625,"em")}:{};f&&(oe.attributes[ao]=""),l&&(oe.children.push({tag:"title",attributes:{id:oe.attributes["aria-labelledby"]||"title-".concat(d||al())},children:[l]}),delete oe.attributes.title);var He=$($({},oe),{},{prefix:r,iconName:o,main:n,mask:t,maskId:c,transform:s,symbol:a,styles:$($({},_e),u.styles)}),Ne=t.found&&n.found?zn("generateAbstractMask",He)||{children:[],attributes:{}}:zn("generateAbstractIcon",He)||{children:[],attributes:{}},Le=Ne.children,Mt=Ne.attributes;return He.children=Le,He.attributes=Mt,a?SV(He):IV(He)}function nE(i){var e=i.content,n=i.width,t=i.height,r=i.transform,o=i.title,s=i.extra,a=i.watchable,l=a===void 0?!1:a,c=$($($({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(c[ao]="");var d=$({},s.styles);_b(r)&&(d.transform=oV({transform:r,startCentered:!0,width:n,height:t}),d["-webkit-transform"]=d.transform);var u=Bu(d);u.length>0&&(c.style=u);var h=[];return h.push({tag:"span",attributes:c,children:[e]}),o&&h.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),h}function MV(i){var e=i.content,n=i.title,t=i.extra,r=$($($({},t.attributes),n?{title:n}:{}),{},{class:t.classes.join(" ")}),o=Bu(t.styles);o.length>0&&(r.style=o);var s=[];return s.push({tag:"span",attributes:r,children:[e]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var Jg=Gi.styles;function lb(i){var e=i[0],n=i[1],t=i.slice(4),r=mb(t,1),o=r[0],s=null;return Array.isArray(o)?s={tag:"g",attributes:{class:"".concat(q.cssPrefix,"-").concat(oo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(q.cssPrefix,"-").concat(oo.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(q.cssPrefix,"-").concat(oo.PRIMARY),fill:"currentColor",d:o[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:e,height:n,icon:s}}var TV={found:!1,width:512,height:512};function AV(i,e){!DE&&!q.showMissingIcons&&i&&console.error('Icon with name "'.concat(i,'" and prefix "').concat(e,'" is missing.'))}function cb(i,e){var n=e;return e==="fa"&&q.styleDefault!==null&&(e=gr()),new Promise(function(t,r){var o={found:!1,width:512,height:512,icon:zn("missingIconAbstract")||{}};if(n==="fa"){var s=NE(i)||{};i=s.iconName||i,e=s.prefix||e}if(i&&e&&Jg[e]&&Jg[e][i]){var a=Jg[e][i];return t(lb(a))}AV(i,e),t($($({},TV),{},{icon:q.showMissingIcons&&i?zn("missingIconAbstract")||{}:{}}))})}var rE=function(){},db=q.measurePerformance&&ku&&ku.mark&&ku.measure?ku:{mark:rE,measure:rE},el='FA "6.5.1"',OV=function(e){return db.mark("".concat(el," ").concat(e," begins")),function(){return jE(e)}},jE=function(e){db.mark("".concat(el," ").concat(e," ends")),db.measure("".concat(el," ").concat(e),"".concat(el," ").concat(e," begins"),"".concat(el," ").concat(e," ends"))},Db={begin:OV,end:jE},Pu=function(){};function oE(i){var e=i.getAttribute?i.getAttribute(ao):null;return typeof e=="string"}function RV(i){var e=i.getAttribute?i.getAttribute(fb):null,n=i.getAttribute?i.getAttribute(pb):null;return e&&n}function FV(i){return i&&i.classList&&i.classList.contains&&i.classList.contains(q.replacementClass)}function PV(){if(q.autoReplaceSvg===!0)return Nu.replace;var i=Nu[q.autoReplaceSvg];return i||Nu.replace}function NV(i){return et.createElementNS("http://www.w3.org/2000/svg",i)}function LV(i){return et.createElement(i)}function VE(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.ceFn,t=n===void 0?i.tag==="svg"?NV:LV:n;if(typeof i=="string")return et.createTextNode(i);var r=t(i.tag);Object.keys(i.attributes||[]).forEach(function(s){r.setAttribute(s,i.attributes[s])});var o=i.children||[];return o.forEach(function(s){r.appendChild(VE(s,{ceFn:t}))}),r}function jV(i){var e=" ".concat(i.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var Nu={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach(function(r){n.parentNode.insertBefore(VE(r),n)}),n.getAttribute(ao)===null&&q.keepOriginalSource){var t=et.createComment(jV(n));n.parentNode.replaceChild(t,n)}else n.remove()},nest:function(e){var n=e[0],t=e[1];if(~bb(n).indexOf(q.replacementClass))return Nu.replace(e);var r=new RegExp("".concat(q.cssPrefix,"-.*"));if(delete t[0].attributes.id,t[0].attributes.class){var o=t[0].attributes.class.split(" ").reduce(function(a,l){return l===q.replacementClass||l.match(r)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});t[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var s=t.map(function(a){return dl(a)}).join(` `);n.setAttribute(ao,""),n.innerHTML=s}};function sE(i){i()}function BE(i,e){var n=typeof e=="function"?e:Pu;if(i.length===0)n();else{var t=sE;q.mutateApproach===$j&&(t=pr.requestAnimationFrame||sE),t(function(){var r=PV(),o=Db.begin("mutate");i.map(r),o(),n()})}}var Cb=!1;function zE(){Cb=!0}function ub(){Cb=!1}var Vu=null;function aE(i){if(QC&&q.observeMutations){var e=i.treeCallback,n=e===void 0?Pu:e,t=i.nodeCallback,r=t===void 0?Pu:t,o=i.pseudoElementsCallback,s=o===void 0?Pu:o,a=i.observeMutationsRoot,l=a===void 0?et:a;Vu=new QC(function(c){if(!Cb){var d=gr();Rs(c).forEach(function(u){if(u.type==="childList"&&u.addedNodes.length>0&&!oE(u.addedNodes[0])&&(q.searchPseudoElements&&s(u.target),n(u.target)),u.type==="attributes"&&u.target.parentNode&&q.searchPseudoElements&&s(u.target.parentNode),u.type==="attributes"&&oE(u.target)&&~Kj.indexOf(u.attributeName))if(u.attributeName==="class"&&RV(u.target)){var h=Hu(bb(u.target)),f=h.prefix,p=h.iconName;u.target.setAttribute(fb,f||d),p&&u.target.setAttribute(pb,p)}else FV(u.target)&&r(u.target)})}}),Hn&&Vu.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function VV(){Vu&&Vu.disconnect()}function BV(i){var e=i.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce(function(t,r){var o=r.split(":"),s=o[0],a=o.slice(1);return s&&a.length>0&&(t[s]=a.join(":").trim()),t},{})),n}function zV(i){var e=i.getAttribute("data-prefix"),n=i.getAttribute("data-icon"),t=i.innerText!==void 0?i.innerText.trim():"",r=Hu(bb(i));return r.prefix||(r.prefix=gr()),e&&n&&(r.prefix=e,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&t.length>0&&(r.iconName=_V(r.prefix,i.innerText)||yb(r.prefix,rb(i.innerText))),!r.iconName&&q.autoFetchSvg&&i.firstChild&&i.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=i.firstChild.data)),r}function HV(i){var e=Rs(i.attributes).reduce(function(r,o){return r.name!=="class"&&r.name!=="style"&&(r[o.name]=o.value),r},{}),n=i.getAttribute("title"),t=i.getAttribute("data-fa-title-id");return q.autoA11y&&(n?e["aria-labelledby"]="".concat(q.replacementClass,"-title-").concat(t||al()):(e["aria-hidden"]="true",e.focusable="false")),e}function $V(){return{iconName:null,title:null,titleId:null,prefix:null,transform:pn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function lE(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=zV(i),t=n.iconName,r=n.prefix,o=n.rest,s=HV(i),a=sb("parseNodeAttributes",{},i),l=e.styleParser?BV(i):[];return $({iconName:t,title:i.getAttribute("title"),titleId:i.getAttribute("data-fa-title-id"),prefix:r,transform:pn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},a)}var UV=Gi.styles;function HE(i){var e=q.autoReplaceSvg==="nest"?lE(i,{styleParser:!1}):lE(i);return~e.extra.classes.indexOf(CE)?zn("generateLayersText",i,e):zn("generateSvgReplacementMutation",i,e)}var br=new Set;gb.map(function(i){br.add("fa-".concat(i))});Object.keys(nl[Je]).map(br.add.bind(br));Object.keys(nl[lt]).map(br.add.bind(br));br=ll(br);function cE(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Hn)return Promise.resolve();var n=et.documentElement.classList,t=function(u){return n.add("".concat(KC,"-").concat(u))},r=function(u){return n.remove("".concat(KC,"-").concat(u))},o=q.autoFetchSvg?br:gb.map(function(d){return"fa-".concat(d)}).concat(Object.keys(UV));o.includes("fa")||o.push("fa");var s=[".".concat(CE,":not([").concat(ao,"])")].concat(o.map(function(d){return".".concat(d,":not([").concat(ao,"])")})).join(", ");if(s.length===0)return Promise.resolve();var a=[];try{a=Rs(i.querySelectorAll(s))}catch{}if(a.length>0)t("pending"),r("complete");else return Promise.resolve();var l=Db.begin("onTree"),c=a.reduce(function(d,u){try{var h=HE(u);h&&d.push(h)}catch(f){DE||f.name==="MissingIcon"&&console.error(f)}return d},[]);return new Promise(function(d,u){Promise.all(c).then(function(h){BE(h,function(){t("active"),t("complete"),r("pending"),typeof e=="function"&&e(),l(),d()})}).catch(function(h){l(),u(h)})})}function WV(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;HE(i).then(function(n){n&&BE([n],e)})}function GV(i){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=(e||{}).icon?e:ab(e||{}),r=n.mask;return r&&(r=(r||{}).icon?r:ab(r||{})),i(t,$($({},n),{},{mask:r}))}}var qV=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.transform,r=t===void 0?pn:t,o=n.symbol,s=o===void 0?!1:o,a=n.mask,l=a===void 0?null:a,c=n.maskId,d=c===void 0?null:c,u=n.title,h=u===void 0?null:u,f=n.titleId,p=f===void 0?null:f,v=n.classes,E=v===void 0?[]:v,A=n.attributes,Y=A===void 0?{}:A,oe=n.styles,_e=oe===void 0?{}:oe;if(e){var He=e.prefix,Ne=e.iconName,Le=e.icon;return $u($({type:"icon"},e),function(){return lo("beforeDOMElementCreation",{iconDefinition:e,params:n}),q.autoA11y&&(h?Y["aria-labelledby"]="".concat(q.replacementClass,"-title-").concat(p||al()):(Y["aria-hidden"]="true",Y.focusable="false")),xb({icons:{main:lb(Le),mask:l?lb(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:He,iconName:Ne,transform:$($({},pn),r),symbol:s,title:h,maskId:d,titleId:p,extra:{attributes:Y,styles:_e,classes:E}})})}},YV={mixout:function(){return{icon:GV(qV)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=cE,n.nodeCallback=WV,n}}},provides:function(e){e.i2svg=function(n){var t=n.node,r=t===void 0?et:t,o=n.callback,s=o===void 0?function(){}:o;return cE(r,s)},e.generateSvgReplacementMutation=function(n,t){var r=t.iconName,o=t.title,s=t.titleId,a=t.prefix,l=t.transform,c=t.symbol,d=t.mask,u=t.maskId,h=t.extra;return new Promise(function(f,p){Promise.all([cb(r,a),d.iconName?cb(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var E=mb(v,2),A=E[0],Y=E[1];f([n,xb({icons:{main:A,mask:Y},prefix:a,iconName:r,transform:l,symbol:c,maskId:u,title:o,titleId:s,extra:h,watchable:!0})])}).catch(p)})},e.generateAbstractIcon=function(n){var t=n.children,r=n.attributes,o=n.main,s=n.transform,a=n.styles,l=Bu(a);l.length>0&&(r.style=l);var c;return _b(s)&&(c=zn("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),t.push(c||o.icon),{children:t,attributes:r}}}},QV={mixout:function(){return{layer:function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.classes,o=r===void 0?[]:r;return $u({type:"layer"},function(){lo("beforeDOMElementCreation",{assembler:n,params:t});var s=[];return n(function(a){Array.isArray(a)?a.map(function(l){s=s.concat(l.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(q.cssPrefix,"-layers")].concat(ll(o)).join(" ")},children:s}]})}}}},KV={mixout:function(){return{counter:function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.title,o=r===void 0?null:r,s=t.classes,a=s===void 0?[]:s,l=t.attributes,c=l===void 0?{}:l,d=t.styles,u=d===void 0?{}:d;return $u({type:"counter",content:n},function(){return lo("beforeDOMElementCreation",{content:n,params:t}),MV({content:n.toString(),title:o,extra:{attributes:c,styles:u,classes:["".concat(q.cssPrefix,"-layers-counter")].concat(ll(a))}})})}}}},ZV={mixout:function(){return{text:function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.transform,o=r===void 0?pn:r,s=t.title,a=s===void 0?null:s,l=t.classes,c=l===void 0?[]:l,d=t.attributes,u=d===void 0?{}:d,h=t.styles,f=h===void 0?{}:h;return $u({type:"text",content:n},function(){return lo("beforeDOMElementCreation",{content:n,params:t}),nE({content:n,transform:$($({},pn),o),title:a,extra:{attributes:u,styles:f,classes:["".concat(q.cssPrefix,"-layers-text")].concat(ll(c))}})})}}},provides:function(e){e.generateLayersText=function(n,t){var r=t.title,o=t.transform,s=t.extra,a=null,l=null;if(yE){var c=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();a=d.width/c,l=d.height/c}return q.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,nE({content:n.innerHTML,width:a,height:l,transform:o,title:r,extra:s,watchable:!0})])}}},XV=new RegExp('"',"ug"),dE=[1105920,1112319];function JV(i){var e=i.replace(XV,""),n=mV(e,0),t=n>=dE[0]&&n<=dE[1],r=e.length===2?e[0]===e[1]:!1;return{value:rb(r?e[0]:e),isSecondary:t||r}}function uE(i,e){var n="".concat(Hj).concat(e.replace(":","-"));return new Promise(function(t,r){if(i.getAttribute(n)!==null)return t();var o=Rs(i.children),s=o.filter(function(Le){return Le.getAttribute(nb)===e})[0],a=pr.getComputedStyle(i,e),l=a.getPropertyValue("font-family").match(qj),c=a.getPropertyValue("font-weight"),d=a.getPropertyValue("content");if(s&&!l)return i.removeChild(s),t();if(l&&d!=="none"&&d!==""){var u=a.getPropertyValue("content"),h=~["Sharp"].indexOf(l[2])?lt:Je,f=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?rl[h][l[2].toLowerCase()]:Yj[h][c],p=JV(u),v=p.value,E=p.isSecondary,A=l[0].startsWith("FontAwesome"),Y=yb(f,v),oe=Y;if(A){var _e=vV(v);_e.iconName&&_e.prefix&&(Y=_e.iconName,f=_e.prefix)}if(Y&&!E&&(!s||s.getAttribute(fb)!==f||s.getAttribute(pb)!==oe)){i.setAttribute(n,oe),s&&i.removeChild(s);var He=$V(),Ne=He.extra;Ne.attributes[nb]=e,cb(Y,f).then(function(Le){var Mt=xb($($({},He),{},{icons:{main:Le,mask:wb()},prefix:f,iconName:oe,extra:Ne,watchable:!0})),ht=et.createElementNS("http://www.w3.org/2000/svg","svg");e==="::before"?i.insertBefore(ht,i.firstChild):i.appendChild(ht),ht.outerHTML=Mt.map(function(Qt){return dl(Qt)}).join(` `),i.removeAttribute(n),t()}).catch(r)}else t()}else t()})}function e3(i){return Promise.all([uE(i,"::before"),uE(i,"::after")])}function t3(i){return i.parentNode!==document.head&&!~Uj.indexOf(i.tagName.toUpperCase())&&!i.getAttribute(nb)&&(!i.parentNode||i.parentNode.tagName!=="svg")}function mE(i){if(Hn)return new Promise(function(e,n){var t=Rs(i.querySelectorAll("*")).filter(t3).map(e3),r=Db.begin("searchPseudoElements");zE(),Promise.all(t).then(function(){r(),ub(),e()}).catch(function(){r(),ub(),n()})})}var i3={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=mE,n}}},provides:function(e){e.pseudoElements2svg=function(n){var t=n.node,r=t===void 0?et:t;q.searchPseudoElements&&mE(r)}}},hE=!1,n3={mixout:function(){return{dom:{unwatch:function(){zE(),hE=!0}}}},hooks:function(){return{bootstrap:function(){aE(sb("mutationObserverCallbacks",{}))},noAuto:function(){VV()},watch:function(n){var t=n.observeMutationsRoot;hE?ub():aE(sb("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},fE=function(e){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce(function(t,r){var o=r.toLowerCase().split("-"),s=o[0],a=o.slice(1).join("-");if(s&&a==="h")return t.flipX=!0,t;if(s&&a==="v")return t.flipY=!0,t;if(a=parseFloat(a),isNaN(a))return t;switch(s){case"grow":t.size=t.size+a;break;case"shrink":t.size=t.size-a;break;case"left":t.x=t.x-a;break;case"right":t.x=t.x+a;break;case"up":t.y=t.y-a;break;case"down":t.y=t.y+a;break;case"rotate":t.rotate=t.rotate+a;break}return t},n)},r3={mixout:function(){return{parse:{transform:function(n){return fE(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,t){var r=t.getAttribute("data-fa-transform");return r&&(n.transform=fE(r)),n}}},provides:function(e){e.generateAbstractTransformGrouping=function(n){var t=n.main,r=n.transform,o=n.containerWidth,s=n.iconWidth,a={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(r.x*32,", ").concat(r.y*32,") "),c="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),d="rotate(".concat(r.rotate," 0 0)"),u={transform:"".concat(l," ").concat(c," ").concat(d)},h={transform:"translate(".concat(s/2*-1," -256)")},f={outer:a,inner:u,path:h};return{tag:"g",attributes:$({},f.outer),children:[{tag:"g",attributes:$({},f.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:$($({},t.icon.attributes),f.path)}]}]}}}},eb={x:0,y:0,width:"100%",height:"100%"};function pE(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return i.attributes&&(i.attributes.fill||e)&&(i.attributes.fill="black"),i}function o3(i){return i.tag==="g"?i.children:[i]}var s3={hooks:function(){return{parseNodeAttributes:function(n,t){var r=t.getAttribute("data-fa-mask"),o=r?Hu(r.split(" ").map(function(s){return s.trim()})):wb();return o.prefix||(o.prefix=gr()),n.mask=o,n.maskId=t.getAttribute("data-fa-mask-id"),n}}},provides:function(e){e.generateAbstractMask=function(n){var t=n.children,r=n.attributes,o=n.main,s=n.mask,a=n.maskId,l=n.transform,c=o.width,d=o.icon,u=s.width,h=s.icon,f=rV({transform:l,containerWidth:u,iconWidth:c}),p={tag:"rect",attributes:$($({},eb),{},{fill:"white"})},v=d.children?{children:d.children.map(pE)}:{},E={tag:"g",attributes:$({},f.inner),children:[pE($({tag:d.tag,attributes:$($({},d.attributes),f.path)},v))]},A={tag:"g",attributes:$({},f.outer),children:[E]},Y="mask-".concat(a||al()),oe="clip-".concat(a||al()),_e={tag:"mask",attributes:$($({},eb),{},{id:Y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,A]},He={tag:"defs",children:[{tag:"clipPath",attributes:{id:oe},children:o3(h)},_e]};return t.push(He,{tag:"rect",attributes:$({fill:"currentColor","clip-path":"url(#".concat(oe,")"),mask:"url(#".concat(Y,")")},eb)}),{children:t,attributes:r}}}},a3={provides:function(e){var n=!1;pr.matchMedia&&(n=pr.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var t=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:$($({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=$($({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:$($({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:$($({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:$($({},s),{},{values:"1;0;1;1;0;1;"})}),t.push(a),t.push({tag:"path",attributes:$($({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:$($({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||t.push({tag:"path",attributes:$($({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:$($({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},l3={hooks:function(){return{parseNodeAttributes:function(n,t){var r=t.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return n.symbol=o,n}}}},c3=[aV,YV,QV,KV,ZV,i3,n3,r3,s3,a3,l3];xV(c3,{mixoutsTo:di});var tK=di.noAuto,iK=di.config,nK=di.library,rK=di.dom,$E=di.parse,oK=di.findIconDefinition,sK=di.toHtml,UE=di.icon,aK=di.layer,d3=di.text,u3=di.counter;var m3=["*"],h3=i=>{throw new Error(`Could not find icon with iconName=${i.iconName} and prefix=${i.prefix} in the icon library.`)},f3=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},p3=i=>{let e={[`fa-${i.animation}`]:i.animation!=null&&!i.animation.startsWith("spin"),"fa-spin":i.animation==="spin"||i.animation==="spin-reverse","fa-spin-pulse":i.animation==="spin-pulse"||i.animation==="spin-pulse-reverse","fa-spin-reverse":i.animation==="spin-reverse"||i.animation==="spin-pulse-reverse","fa-pulse":i.animation==="spin-pulse"||i.animation==="spin-pulse-reverse","fa-fw":i.fixedWidth,"fa-border":i.border,"fa-inverse":i.inverse,"fa-layers-counter":i.counter,"fa-flip-horizontal":i.flip==="horizontal"||i.flip==="both","fa-flip-vertical":i.flip==="vertical"||i.flip==="both",[`fa-${i.size}`]:i.size!==null,[`fa-rotate-${i.rotate}`]:i.rotate!==null,[`fa-pull-${i.pull}`]:i.pull!==null,[`fa-stack-${i.stackItemSize}`]:i.stackItemSize!=null};return Object.keys(e).map(n=>e[n]?n:null).filter(n=>n)},g3=i=>i.prefix!==void 0&&i.iconName!==void 0,b3=(i,e)=>g3(i)?i:typeof i=="string"?{prefix:e,iconName:i}:{prefix:i[0],iconName:i[1]},_3=(()=>{let e=class e{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ul=(()=>{let e=class e{constructor(){this.definitions={}}addIcons(...t){for(let r of t){r.prefix in this.definitions||(this.definitions[r.prefix]={}),this.definitions[r.prefix][r.iconName]=r;for(let o of r.icon[2])typeof o=="string"&&(this.definitions[r.prefix][o]=r)}}addIconPacks(...t){for(let r of t){let o=Object.keys(r).map(s=>r[s]);this.addIcons(...o)}}getIconDefinition(t,r){return t in this.definitions&&r in this.definitions[t]?this.definitions[t][r]:null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),v3=(()=>{let e=class e{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=D({type:e,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[Oe]});let i=e;return i})(),y3=(()=>{let e=class e{constructor(t,r){this.renderer=t,this.elementRef=r}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(t){"size"in t&&(t.size.currentValue!=null&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${t.size.currentValue}`),t.size.previousValue!=null&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${t.size.previousValue}`))}};e.\u0275fac=function(r){return new(r||e)(m(Jn),m(k))},e.\u0275cmp=V({type:e,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[Oe,Re],ngContentSelectors:m3,decls:1,vars:0,template:function(r,o){r&1&&(ke(),K(0))},encapsulation:2});let i=e;return i})(),Uu=(()=>{let e=class e{set spin(t){this.animation=t?"spin":void 0}set pulse(t){this.animation=t?"spin-pulse":void 0}constructor(t,r,o,s,a){this.sanitizer=t,this.config=r,this.iconLibrary=o,this.stackItem=s,this.classes=[],a!=null&&s==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(t){if(this.icon==null&&this.config.fallbackIcon==null){f3();return}if(t){let r=this.icon!=null?this.icon:this.config.fallbackIcon,o=this.findIconDefinition(r);if(o!=null){let s=this.buildParams();this.renderIcon(o,s)}}}render(){this.ngOnChanges({})}findIconDefinition(t){let r=b3(t,this.config.defaultPrefix);if("icon"in r)return r;let o=this.iconLibrary.getIconDefinition(r.prefix,r.iconName);return o??(h3(r),null)}buildParams(){let t={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:typeof this.fixedWidth=="boolean"?this.fixedWidth:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize:null},r=typeof this.transform=="string"?$E.transform(this.transform):this.transform;return{title:this.title,transform:r,classes:[...p3(t),...this.classes],mask:this.mask!=null?this.findIconDefinition(this.mask):null,styles:this.styles!=null?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,r){let o=UE(t,r);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(o.html.join(` -`))}};e.\u0275fac=function(r){return new(r||e)(m(Dp),m(_3),m(ul),m(v3,8),m(y3,8))},e.\u0275cmp=V({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(r,o){r&2&&(Di("innerHTML",o.renderedIconHTML,zc),Q("title",o.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[Oe,Re],decls:0,vars:0,template:function(r,o){},encapsulation:2});let i=e;return i})();var Fs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({});let i=e;return i})();var w3=["mat-menu-item",""];function x3(i,e){i&1&&(_i(),g(0,"svg",3),z(1,"polygon",4),b())}var D3=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],C3=["mat-icon, [matMenuItemIcon]","*"];function E3(i,e){if(i&1){let n=It();g(0,"div",0),H("keydown",function(r){Ue(n);let o=M();return We(o._handleKeydown(r))})("click",function(){Ue(n);let r=M();return We(r.closed.emit("click"))})("@transformMenu.start",function(r){Ue(n);let o=M();return We(o._onAnimationStart(r))})("@transformMenu.done",function(r){Ue(n);let o=M();return We(o._onAnimationDone(r))}),g(1,"div",1),K(2),b()()}if(i&2){let n=M();F("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),Q("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var k3=["*"],kb=new w("MAT_MENU_PANEL"),ml=(()=>{let e=class e{constructor(t,r,o,s,a){this._elementRef=t,this._document=r,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new S,this._focused=new S,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(t,r){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),r=t.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{let e=class e{constructor(t,r,o,s,a,l,c){this._template=t,this._componentFactoryResolver=r,this._appRef=o,this._injector=s,this._viewContainerRef=a,this._document=l,this._changeDetectorRef=c,this._attached=new S}attach(t={}){this._portal||(this._portal=new oi(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ys(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));let r=this._template.elementRef.nativeElement;r.parentNode.insertBefore(this._outlet.outletElement,r),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(Ni),m(cn),m(bt),m(Qe),m(Z),m(ve))},e.\u0275dir=D({type:e,selectors:[["ng-template","matMenuContent",""]],features:[be([{provide:GE,useExisting:e}])]});let i=e;return i})(),Wu={transformMenu:Ot("transformMenu",[nt("void",me({opacity:0,transform:"scale(0.8)"})),Xe("void => enter",ot("120ms cubic-bezier(0, 0, 0.2, 1)",me({opacity:1,transform:"scale(1)"}))),Xe("* => void",ot("100ms 25ms linear",me({opacity:0})))]),fadeInItems:Ot("fadeInItems",[nt("showing",me({opacity:1})),Xe("void => *",[me({opacity:0}),ot("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},PK=Wu.fadeInItems,NK=Wu.transformMenu,I3=0,S3=new w("mat-menu-default-options",{providedIn:"root",factory:M3});function M3(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Ps=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}set panelClass(t){let r=this._previousPanelClass;r&&r.length&&r.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,r,o,s){this._elementRef=t,this._ngZone=r,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new on,this._classList={},this._panelAnimationState="void",this._animationDone=new S,this.closed=new O,this.close=this.closed,this.panelId=`mat-menu-panel-${I3++}`,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ss(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(tt(this._directDescendantItems),kt(t=>Be(...t.map(r=>r._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let r=this._keyManager;if(this._panelAnimationState==="enter"&&r.activeItem?._hasFocus()){let o=t.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(tt(this._directDescendantItems),kt(r=>Be(...r.map(o=>o._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let r=t.keyCode,o=this._keyManager;switch(r){case 27:Dt(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(r===38||r===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Se(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(t).setFirstItemActive(),!o.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let r=Math.min(this._baseElevation+t,24),o=`${this._elevationPrefix}${r}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(t=this.xPosition,r=this.yPosition){let o=this._classList;o["mat-menu-before"]=t==="before",o["mat-menu-after"]=t==="after",o["mat-menu-above"]=r==="above",o["mat-menu-below"]=r==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(tt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(r){return new(r||e)(m(k),m(T),m(S3),m(ve))},e.\u0275cmp=V({type:e,selectors:[["mat-menu"]],contentQueries:function(r,o,s){if(r&1&&(ye(s,GE,5),ye(s,ml,5),ye(s,ml,4)),r&2){let a;L(a=j())&&(o.lazyContent=a.first),L(a=j())&&(o._allItems=a),L(a=j())&&(o.items=a)}},viewQuery:function(r,o){if(r&1&&ue(Ae,5),r&2){let s;L(s=j())&&(o.templateRef=s.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(r,o){r&2&&Q("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",Me],hasBackdrop:["hasBackdrop","hasBackdrop",t=>t==null?null:Me(t)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[be([{provide:kb,useExisting:e}]),ct],ngContentSelectors:k3,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(r,o){r&1&&(ke(),G(0,E3,3,6,"ng-template"))},dependencies:[ir],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Wu.transformMenu,Wu.fadeInItems]},changeDetection:0});let i=e;return i})(),YE=new w("mat-menu-scroll-strategy");function T3(i){return()=>i.scrollStrategies.reposition()}var A3={provide:YE,deps:[mt],useFactory:T3},WE=qt({passive:!0});var QE=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(r=>{this._destroyMenu(r),(r==="click"||r==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,r,o,s,a,l,c,d,u){this._overlay=t,this._element=r,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=fe.EMPTY,this._hoverSubscription=fe.EMPTY,this._menuCloseSubscription=fe.EMPTY,this._changeDetectorRef=ee(ve),this._handleTouchStart=h=>{Na(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new O,this.onMenuOpen=this.menuOpened,this.menuClosed=new O,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof Ps?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,WE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,WE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let r=this._createOverlay(t),o=r.getConfig(),s=o.positionStrategy;this._setPosition(t,s),o.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,r.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof Ps&&(t._startAnimation(),t._directDescendantItems.changes.pipe(re(t.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,r){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof Ps?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(Ye(o=>o.toState==="void"),Se(1),re(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let r=0,o=t.parentMenu;for(;o;)r++,o=o.parentMenu;t.setElevation(r)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let r=this._getOverlayConfig(t);this._subscribeToPositions(t,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new ur({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,r){t.setPositionClasses&&r.positionChanges.subscribe(o=>{let s=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(s,a)):t.setPositionClasses(s,a)})}_setPosition(t,r){let[o,s]=t.xPosition==="before"?["end","start"]:["start","end"],[a,l]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,d]=[a,l],[u,h]=[o,s],f=0;if(this.triggersSubmenu()){if(h=o=t.xPosition==="before"?"start":"end",s=u=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}f=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(c=a==="top"?"bottom":"top",d=l==="top"?"bottom":"top");r.withPositions([{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:f},{originX:s,originY:c,overlayX:h,overlayY:a,offsetY:f},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-f},{originX:s,originY:d,overlayX:h,overlayY:l,offsetY:-f}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),r=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:Ee(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ye(a=>a!==this._menuItemInstance),Ye(()=>this._menuOpen)):Ee();return Be(t,o,s,r)}_handleMousedown(t){Pa(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let r=t.keyCode;(r===13||r===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(r===39&&this.dir==="ltr"||r===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ye(t=>t===this._menuItemInstance&&!t.disabled),Sr(0,Ws)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ps&&this.menu._isAnimating?this.menu._animationDone.pipe(Se(1),Sr(0,Ws),re(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new oi(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(r){return new(r||e)(m(mt),m(k),m(Qe),m(YE),m(kb,8),m(ml,10),m(vt,8),m(Rt),m(T))},e.\u0275dir=D({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(r,o){r&1&&H("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),r&2&&Q("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]});let i=e;return i})(),KE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({providers:[A3],imports:[Gt,zi,ae,fn,cr,ae]});let i=e;return i})();var R3=new w("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var F3=Va(class{constructor(i){this._elementRef=i}},"primary"),XE=(()=>{let e=class e extends F3{constructor(t,r,o,s,a){super(t),this._ngZone=r,this._changeDetectorRef=o,this._animationMode=s,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new O,this._mode="determinate",this._transitionendHandler=l=>{this.animationEnd.observers.length===0||!l.target||!l.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=s==="NoopAnimations",a&&(a.color&&(this.color=this.defaultColor=a.color),this.mode=a.mode||this.mode)}get value(){return this._value}set value(t){this._value=ZE(ze(t)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(t){this._bufferValue=ZE(ze(t)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(t){this._mode=t,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};e.\u0275fac=function(r){return new(r||e)(m(k),m(T),m(ve),m(Te,8),m(R3,8))},e.\u0275cmp=V({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(r,o){r&2&&(Q("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),W("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[B],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(r,o){r&1&&(g(0,"div",0),z(1,"div",1)(2,"div",2),b(),g(3,"div",3),z(4,"span",4),b(),g(5,"div",5),z(6,"span",4),b()),r&2&&(y(1),vi("flex-basis",o._getBufferBarFlexBasis()),y(2),vi("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let i=e;return i})();function ZE(i,e=0,n=100){return Math.max(e,Math.min(n,i))}var JE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({imports:[ae]});let i=e;return i})();var N3=["mat-sort-header",""];function L3(i,e){if(i&1){let n=It();g(0,"div",3),H("@arrowPosition.start",function(){Ue(n);let r=M();return We(r._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){Ue(n);let r=M();return We(r._disableViewStateAnimation=!1)}),z(1,"div",4),g(2,"div",5),z(3,"div",6)(4,"div",7)(5,"div",8),b()()}if(i&2){let n=M();F("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),y(2),F("@indicator",n._getArrowDirectionState()),y(1),F("@leftPointer",n._getArrowDirectionState()),y(1),F("@rightPointer",n._getArrowDirectionState())}}var j3=["*"];var e1=new w("MAT_SORT_DEFAULT_OPTIONS"),V3=ru(hn(class{})),hl=(()=>{let e=class e extends V3{get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=he(t)}constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new S,this.start="asc",this._direction="",this.sortChange=new O}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let r=t?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=B3(t.start||this.start,r),s=o.indexOf(this.direction)+1;return s>=o.length&&(s=0),o[s]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}};e.\u0275fac=function(r){return new(r||e)(m(e1,8))},e.\u0275dir=D({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[B,Oe]});let i=e;return i})();function B3(i,e){let n=["asc","desc"];return i=="desc"&&n.reverse(),e||n.push(""),n}var _r=dD.ENTERING+" "+cD.STANDARD_CURVE,Ns={indicator:Ot("indicator",[nt("active-asc, asc",me({transform:"translateY(0px)"})),nt("active-desc, desc",me({transform:"translateY(10px)"})),Xe("active-asc <=> active-desc",ot(_r))]),leftPointer:Ot("leftPointer",[nt("active-asc, asc",me({transform:"rotate(-45deg)"})),nt("active-desc, desc",me({transform:"rotate(45deg)"})),Xe("active-asc <=> active-desc",ot(_r))]),rightPointer:Ot("rightPointer",[nt("active-asc, asc",me({transform:"rotate(45deg)"})),nt("active-desc, desc",me({transform:"rotate(-45deg)"})),Xe("active-asc <=> active-desc",ot(_r))]),arrowOpacity:Ot("arrowOpacity",[nt("desc-to-active, asc-to-active, active",me({opacity:1})),nt("desc-to-hint, asc-to-hint, hint",me({opacity:.54})),nt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",me({opacity:0})),Xe("* => asc, * => desc, * => active, * => hint, * => void",ot("0ms")),Xe("* <=> *",ot(_r))]),arrowPosition:Ot("arrowPosition",[Xe("* => desc-to-hint, * => desc-to-active",ot(_r,Ea([me({transform:"translateY(-25%)"}),me({transform:"translateY(0)"})]))),Xe("* => hint-to-desc, * => active-to-desc",ot(_r,Ea([me({transform:"translateY(0)"}),me({transform:"translateY(25%)"})]))),Xe("* => asc-to-hint, * => asc-to-active",ot(_r,Ea([me({transform:"translateY(25%)"}),me({transform:"translateY(0)"})]))),Xe("* => hint-to-asc, * => active-to-asc",ot(_r,Ea([me({transform:"translateY(0)"}),me({transform:"translateY(-25%)"})]))),nt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",me({transform:"translateY(0)"})),nt("hint-to-desc, active-to-desc, desc",me({transform:"translateY(-25%)"})),nt("hint-to-asc, active-to-asc, asc",me({transform:"translateY(25%)"}))]),allowChildren:Ot("allowChildren",[Xe("* <=> *",[Id("@*",kd(),{optional:!0})])])},Gu=(()=>{let e=class e{constructor(){this.changes=new S}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function z3(i){return i||new Gu}var H3={provide:Gu,deps:[[new Ur,new Wo,Gu]],useFactory:z3},$3=hn(class{}),t1=(()=>{let e=class e extends $3{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=he(t)}constructor(t,r,o,s,a,l,c,d){super(),this._intl=t,this._changeDetectorRef=r,this._sort=o,this._columnDef=s,this._focusMonitor=a,this._elementRef=l,this._ariaDescriber=c,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",d?.arrowPosition&&(this.arrowPosition=d?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let r=!!t;r!==this._showIndicatorHint&&(this._setIndicatorHintVisible(r),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===32||t.keyCode===13)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=Be(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}};e.\u0275fac=function(r){return new(r||e)(m(Gu),m(ve),m(hl,8),m("MAT_SORT_HEADER_COLUMN_DEF",8),m(Rt),m(k),m(Jd,8),m(e1,8))},e.\u0275cmp=V({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(r,o){r&1&&H("click",function(){return o._handleClick()})("keydown",function(a){return o._handleKeydown(a)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),r&2&&(Q("aria-sort",o._getAriaSortAttribute()),W("mat-sort-header-disabled",o._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[B],attrs:N3,ngContentSelectors:j3,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(r,o){r&1&&(ke(),g(0,"div",0)(1,"div",1),K(2),b(),G(3,L3,6,6,"div",2),b()),r&2&&(W("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before"),Q("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),y(3),de(3,o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Ns.indicator,Ns.leftPointer,Ns.rightPointer,Ns.arrowOpacity,Ns.arrowPosition,Ns.allowChildren]},changeDetection:0});let i=e;return i})(),i1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({providers:[H3],imports:[ae]});let i=e;return i})();var G3=[[["caption"]],[["colgroup"],["col"]]],q3=["caption","colgroup, col"];function Ab(i){return class extends i{get sticky(){return this._sticky}set sticky(e){let n=this._sticky;this._sticky=he(e),this._hasStickyChanged=n!==this._sticky}hasStickyChanged(){let e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}}}var uo=new w("CDK_TABLE");var im=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["","cdkCellDef",""]]});let i=e;return i})(),nm=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["","cdkHeaderCellDef",""]]});let i=e;return i})(),r1=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["","cdkFooterCellDef",""]]});let i=e;return i})(),Ib=class{},Y3=Ab(Ib),Ls=(()=>{let e=class e extends Y3{get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){super(),this._table=t,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(r){return new(r||e)(m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(r,o,s){if(r&1&&(ye(s,im,5),ye(s,nm,5),ye(s,r1,5)),r&2){let a;L(a=j())&&(o.cell=a.first),L(a=j())&&(o.headerCell=a.first),L(a=j())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",Me]},features:[be([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ct,B]});let i=e;return i})(),Yu=class{constructor(e,n){n.nativeElement.classList.add(...e._columnCssClassName)}},o1=(()=>{let e=class e extends Yu{constructor(t,r){super(t,r)}};e.\u0275fac=function(r){return new(r||e)(m(Ls),m(k))},e.\u0275dir=D({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[B]});let i=e;return i})();var s1=(()=>{let e=class e extends Yu{constructor(t,r){if(super(t,r),t._table?._elementRef.nativeElement.nodeType===1){let o=t._table._elementRef.nativeElement.getAttribute("role"),s=o==="grid"||o==="treegrid"?"gridcell":"cell";r.nativeElement.setAttribute("role",s)}}};e.\u0275fac=function(r){return new(r||e)(m(Ls),m(k))},e.\u0275dir=D({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[B]});let i=e;return i})(),Qu=class{constructor(){this.tasks=[],this.endTasks=[]}},Ku=new w("_COALESCED_STYLE_SCHEDULER"),Ob=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new S}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Qu,this._getScheduleObservable().pipe(re(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Qu;for(let r of t.tasks)r();for(let r of t.endTasks)r()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?$t(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Se(1))}};e.\u0275fac=function(r){return new(r||e)(_(T))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let i=e;return i})();var Rb=(()=>{let e=class e{constructor(t,r){this.template=t,this._differs=r}ngOnChanges(t){if(!this._columnsDiffer){let r=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof fl?t.headerCell.template:this instanceof Fb?t.footerCell.template:t.cell.template}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an))},e.\u0275dir=D({type:e,features:[Oe]});let i=e;return i})(),Sb=class extends Rb{},Q3=Ab(Sb),fl=(()=>{let e=class e extends Q3{constructor(t,r,o){super(t,r),this._table=o}ngOnChanges(t){super.ngOnChanges(t)}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an),m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[B,Oe]});let i=e;return i})(),Mb=class extends Rb{},K3=Ab(Mb),Fb=(()=>{let e=class e extends K3{constructor(t,r,o){super(t,r),this._table=o}ngOnChanges(t){super.ngOnChanges(t)}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an),m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[B,Oe]});let i=e;return i})(),rm=(()=>{let e=class e extends Rb{constructor(t,r,o){super(t,r),this._table=o}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an),m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[B]});let i=e;return i})(),co=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(r){return new(r||e)(m(Qe))},e.\u0275dir=D({type:e,selectors:[["","cdkCellOutlet",""]]});let i=e;return i})(),Pb=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})();var Nb=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})(),a1=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["ng-template","cdkNoDataRow",""]]});let i=e;return i})(),n1=["top","bottom","left","right"],Tb=class{constructor(e,n,t,r,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${n}-border-elem-top`,bottom:`${n}-border-elem-bottom`,left:`${n}-border-elem-left`,right:`${n}-border-elem-right`}}clearStickyPositioning(e,n){let t=[];for(let r of e)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let o=0;o{for(let r of t)this._removeStickyStyle(r,n)})}updateStickyColumns(e,n,t,r=!0){if(!e.length||!this._isBrowser||!(n.some(h=>h)||t.some(h=>h))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}let o=e[0],s=o.children.length,a=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(a,n),c=this._getStickyEndColumnPositions(a,t),d=n.lastIndexOf(!0),u=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{let h=this.direction==="rtl",f=h?"right":"left",p=h?"left":"right";for(let v of e)for(let E=0;En[E]?v:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((v,E)=>t[E+u]?v:null).reverse()}))})}stickRows(e,n,t){if(!this._isBrowser)return;let r=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?n.slice().reverse():n,s=[],a=[],l=[];for(let d=0,u=0;d{for(let d=0;d{n.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(e,n){for(let r of n)e.style[r]="",e.classList.remove(this._borderCellCss[r]);n1.some(r=>n.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,n,t,r){e.classList.add(this._stickCellCss),r&&e.classList.add(this._borderCellCss[n]),e.style[n]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let n={top:100,bottom:10,left:1,right:1},t=0;for(let r of n1)e.style[r]&&(t+=n[r]);return t?`${t}`:""}_getCellWidths(e,n=!0){if(!n&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],r=e.children;for(let o=0;o0;o--)n[o]&&(t[o]=r,r+=e[o]);return t}};var Zu=new w("CDK_SPL");var Xu=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","rowOutlet",""]]});let i=e;return i})(),Ju=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","headerRowOutlet",""]]});let i=e;return i})(),em=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","footerRowOutlet",""]]});let i=e;return i})(),tm=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","noDataRowOutlet",""]]});let i=e;return i})();var Lb=(()=>{let e=class e{get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,r,o,s,a,l,c,d,u,h,f,p){this._differs=t,this._changeDetectorRef=r,this._elementRef=o,this._dir=a,this._platform=c,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._ngZone=p,this._onDestroy=new S,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new O,this.viewChange=new zt({start:0,end:Number.MAX_VALUE}),s||this._elementRef.nativeElement.setAttribute("role","table"),this._document=l,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r),this._viewportRuler.change().pipe(re(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let r=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||r,this._forceRecalculateCellWidths=r,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),cu(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,r,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===1&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&T.isInAngularZone()?this._ngZone.onStable.pipe(Se(1),re(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=t.length?"":"none");let s=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,s,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=t.length?"":"none");let s=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...r,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let l=0;l{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_getAllRenderRows(){let t=[],r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(a)?o.get(a):[];if(l.length){let c=l.shift();return c.dataIndex=r,c}else return{data:t,rowDef:a,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),qu(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(r=>{this._columnDefsByName.has(r.name),this._columnDefsByName.set(r.name,r)})}_cacheRowDefs(){this._headerRowDefs=qu(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=qu(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=qu(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(r=>!r.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,l)=>a||!!l.getColumnsDiff(),r=this._rowDefs.reduce(t,!1);r&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),r||o||s}_switchDataSource(t){this._data=[],cu(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;cu(this.dataSource)?t=this.dataSource.connect(this):Ut(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Ee(this.dataSource)),this._renderChangeSubscription=t.pipe(re(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,r)=>this._renderRow(this._headerRowOutlet,t,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,r)=>this._renderRow(this._footerRowOutlet,t,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,r){let o=Array.from(r.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),s=o.map(l=>l.sticky),a=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let r=[];for(let o=0;o!s.when||s.when(r,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(r,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,r){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:r}}_renderRow(t,r,o,s={}){let a=t.viewContainer.createEmbeddedView(r.template,s,o);return this._renderCellTemplateForItem(r,s),a}_renderCellTemplateForItem(t,r){for(let o of this._getCellTemplates(t))co.mostRecentCellOutlet&&co.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let r=0,o=t.length;r{let o=this._columnDefsByName.get(r);return t.extractCellTemplate(o)})}_applyNativeTableSections(){let t=this._document.createDocumentFragment(),r=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(let o of r){let s=this._document.createElement(o.tag);s.setAttribute("role","rowgroup");for(let a of o.outlets)s.appendChild(a.elementRef.nativeElement);t.appendChild(s)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(r,o)=>r||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Tb(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Ee()).pipe(re(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let r=this._rowOutlet.viewContainer.length===0;if(r===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(r){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=r,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(m(an),m(ve),m(k),sn("role"),m(vt,8),m(Z),m(we),m(za),m(Ku),m($i),m(Zu,12),m(T,8))},e.\u0275cmp=V({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(r,o,s){if(r&1&&(ye(s,a1,5),ye(s,Ls,5),ye(s,rm,5),ye(s,fl,5),ye(s,Fb,5)),r&2){let a;L(a=j())&&(o._noDataRow=a.first),L(a=j())&&(o._contentColumnDefs=a),L(a=j())&&(o._contentRowDefs=a),L(a=j())&&(o._contentHeaderRowDefs=a),L(a=j())&&(o._contentFooterRowDefs=a)}},viewQuery:function(r,o){if(r&1&&(ue(Xu,7),ue(Ju,7),ue(em,7),ue(tm,7)),r&2){let s;L(s=j())&&(o._rowOutlet=s.first),L(s=j())&&(o._headerRowOutlet=s.first),L(s=j())&&(o._footerRowOutlet=s.first),L(s=j())&&(o._noDataRowOutlet=s.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(r,o){r&2&&W("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",Me],fixedLayout:["fixedLayout","fixedLayout",Me]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[be([{provide:uo,useExisting:e},{provide:za,useClass:ps},{provide:Ku,useClass:Ob},{provide:Zu,useValue:null}]),ct],ngContentSelectors:q3,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(ke(G3),K(0),K(1,1),Cn(2,0)(3,1)(4,2)(5,3))},dependencies:[Xu,Ju,em,tm],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function qu(i,e){return i.concat(Array.from(e))}var l1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({imports:[Wa]});let i=e;return i})();var X3=[[["caption"]],[["colgroup"],["col"]]],J3=["caption","colgroup, col"];var c1=(()=>{let e=class e extends Lb{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,o){r&2&&W("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[be([{provide:Lb,useExisting:e},{provide:uo,useExisting:e},{provide:Ku,useClass:Ob},{provide:za,useClass:ps},{provide:Zu,useValue:null}]),B],ngContentSelectors:J3,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(ke(X3),K(0),K(1,1),Cn(2,0)(3,1)(4,2)(5,3))},dependencies:[Xu,Ju,em,tm],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),d1=(()=>{let e=class e extends im{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matCellDef",""]],features:[be([{provide:im,useExisting:e}]),B]});let i=e;return i})(),u1=(()=>{let e=class e extends nm{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matHeaderCellDef",""]],features:[be([{provide:nm,useExisting:e}]),B]});let i=e;return i})();var m1=(()=>{let e=class e extends Ls{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[be([{provide:Ls,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),B]});let i=e;return i})(),h1=(()=>{let e=class e extends o1{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[B]});let i=e;return i})();var f1=(()=>{let e=class e extends s1{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[B]});let i=e;return i})();var p1=(()=>{let e=class e extends fl{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[be([{provide:fl,useExisting:e}]),B]});let i=e;return i})();var g1=(()=>{let e=class e extends rm{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[be([{provide:rm,useExisting:e}]),B]});let i=e;return i})(),b1=(()=>{let e=class e extends Pb{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[be([{provide:Pb,useExisting:e}]),B],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})();var _1=(()=>{let e=class e extends Nb{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[be([{provide:Nb,useExisting:e}]),B],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})();var v1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({imports:[ae,l1,ae]});let i=e;return i})(),eB=9007199254740991,om=class extends lu{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new zt([]),this._filter=new zt(""),this._internalPageChanges=new S,this._renderChangesSubscription=null,this.sortingDataAccessor=(n,t)=>{let r=n[t];if(Xp(r)){let o=Number(r);return o{let r=t.active,o=t.direction;return!r||o==""?n:n.sort((s,a)=>{let l=this.sortingDataAccessor(s,r),c=this.sortingDataAccessor(a,r),d=typeof l,u=typeof c;d!==u&&(d==="number"&&(l+=""),u==="number"&&(c+=""));let h=0;return l!=null&&c!=null?l>c?h=1:l{let r=Object.keys(n).reduce((s,a)=>s+n[a]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return r.indexOf(o)!=-1},this._data=new zt(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?Be(this._sort.sortChange,this._sort.initialized):Ee(null),n=this._paginator?Be(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Ee(null),t=this._data,r=kr([t,this._filter]).pipe($e(([a])=>this._filterData(a))),o=kr([r,e]).pipe($e(([a])=>this._orderData(a))),s=kr([o,n]).pipe($e(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(n=>this.filterPredicate(n,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let n=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(n,n+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let n=this.paginator;if(n&&(n.length=e,n.pageIndex>0)){let t=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,t);r!==n.pageIndex&&(n.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};function iB(i,e){if(i&1&&(g(0,"th",16),I(1),it(2,"translate"),it(3,"lowercase"),b()),i&2){let n=M().$implicit,t=M();Qo(t.columnConfig==null||t.columnConfig[n]==null?null:t.columnConfig[n].cssClass),y(1),Ge("",at(2,3,at(3,5,t.translateKey+n))," ")}}function nB(i,e){if(i&1&&(I(0),it(1,"date")),i&2){let n=M().$implicit,t=M().$implicit;Ge(" ",at(1,1,n[t])," ")}}function rB(i,e){if(i&1&&(I(0),it(1,"translate"),it(2,"lowercase"),it(3,"enumKey")),i&2){let n=M().$implicit,t=M().$implicit,r=M();Ge(" ",at(1,1,at(2,3,r.translateKey+t+"."+Qc(3,5,n[t],r.columnConfig[t].args)))," ")}}function oB(i,e){if(i&1&&I(0),i&2){let n=M().$implicit,t=M().$implicit,r=M(),o;Ge(" ",(o=r.columnConfig==null||r.columnConfig[t]==null||r.columnConfig[t].getter==null?null:r.columnConfig[t].getter(n))!==null&&o!==void 0?o:n[t]," ")}}function sB(i,e){if(i&1&&(g(0,"td",17),G(1,nB,2,3)(2,rB,4,8)(3,oB,1,1),b()),i&2){let n=M().$implicit,t=M(),r;y(1),de(1,(r=t.columnConfig==null||t.columnConfig[n]==null?null:t.columnConfig[n].type)===t.ColumnType.Date?1:r===t.ColumnType.Enum?2:3)}}function aB(i,e){if(i&1&&(er(0,13),G(1,iB,4,7,"th",14)(2,sB,4,1,"td",15),tr()),i&2){let n=e.$implicit;F("matColumnDef",n)}}function lB(i,e){if(i&1&&(g(0,"th",18),I(1),it(2,"translate"),it(3,"lowercase"),b()),i&2){let n=M();y(1),Ge(" ",at(2,1,at(3,3,n.translateKey+"actions"))," ")}}var cB=i=>({element:i});function dB(i,e){if(i&1&&(g(0,"td",19)(1,"button",20),H("click",function(t){return t.stopPropagation()}),z(2,"fa-icon",21),b()()),i&2){let n=e.$implicit;M();let t=ei(14);y(1),F("matMenuTriggerData",Yc(2,cB,n))("matMenuTriggerFor",t)}}function uB(i,e){if(i&1&&z(0,"mat-progress-bar",23),i&2){let n=M(2);F("mode",n.loading?"indeterminate":"determinate")}}function mB(i,e){if(i&1&&(g(0,"th",22),G(1,uB,1,1,"mat-progress-bar",23),b()),i&2){let n=M();F("colSpan",n.displayedColumns.length+1),y(1),de(1,n.progress?1:-1)}}function hB(i,e){i&1&&z(0,"tr",24)}function fB(i,e){i&1&&z(0,"tr",25)}function pB(i,e){if(i&1){let n=It();g(0,"tr",26),H("click",function(){let o=Ue(n).$implicit,s=M();return We(s.rowClickedObserved&&s.rowClicked.emit(o))}),b()}if(i&2){let n=M();Oy(n.rowClickedObserved?"cursor: pointer":"")}}function gB(i,e){if(i&1&&z(0,"mat-paginator",27),i&2){let n=M();F("showFirstLastButtons",!0)("pageSizeOptions",n.pageSizeOptions)}}function bB(i,e){if(i&1){let n=It();g(0,"button",29),H("click",function(){Ue(n);let r=M().element,o=M();return We(o.deleteAction(r))}),z(1,"fa-icon",30),g(2,"span"),I(3),it(4,"translate"),b()()}if(i&2){let n=M(2);y(1),F("icon",n.deleteIcon),y(2),Ge("\xA0\xA0",at(4,2,n.translateKey+"action.delete"),"")}}function _B(i,e){if(i&1){let n=It();g(0,"button",29),H("click",function(){Ue(n);let r=M().element,o=M();return We(o.editAction(r))}),z(1,"fa-icon",30),g(2,"span"),I(3),it(4,"translate"),b()()}if(i&2){let n=M(2);y(1),F("icon",n.editIcon),y(2),Ge("\xA0\xA0",at(4,2,n.translateKey+"action.edit"),"")}}function vB(i,e){if(i&1&&G(0,bB,5,4,"button",28)(1,_B,5,4,"button",28),i&2){let n=M();de(0,n.delete?0:-1),y(1),de(1,n.edit?1:-1)}}var yB=()=>["loading"];function wB(i,e){if(i&1){let n=It();g(0,"bpa-inner-table",1),H("deleteEvent",function(r){Ue(n);let o=M();return We(o.deleteAction(r))})("editEvent",function(r){Ue(n);let o=M();return We(o.editAction(r))})("rowClicked",function(r){Ue(n);let o=M();return We(o.rowClicked.emit(r))}),K(1),b()}if(i&2){let n=M();F("columnConfig",n.columnConfig)("columns",n.columns)("sortable",n.sortable)("paging",n.paging)("edit",n.edit)("delete",n.delete)("rowClickedObserved",n.rowClickedObserved)("translateKey",n.translateKey)("dataset",n.innerData)("displayedColumns",n.displayedColumns)("progress",n.progress)("loading",n.loading)("pageSizeOptions",n.pageSizeOptions)}}var D1=["*"];function xB(i,e){if(i&1&&(g(0,"h2",0),I(1),it(2,"translate"),b()),i&2){let n=M();y(1),St(at(2,1,n.translateKey+".title"))}}var DB=(()=>{let e=class e{constructor(t){this.translate=t,this.changes=new S}get itemsPerPageLabel(){return this.translate.instant("bpa.components.table.items-per-page")}get firstPageLabel(){return this.translate.instant("bpa.components.table.first-page")}get lastPageLabel(){return this.translate.instant("bpa.components.table.last-page")}get nextPageLabel(){return this.translate.instant("bpa.components.table.next-page")}get previousPageLabel(){return this.translate.instant("bpa.components.table.previous-page")}getRangeLabel(t,r,o){if(o===0)return"";let s=Math.ceil(o/r);return this.translate.instant("bpa.components.table.page",{page:t+1,amountPages:s})}};e.\u0275fac=function(r){return new(r||e)(_(mr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let i=e;return i})(),C1=(()=>{let e=class e{constructor(t){t.addIcons(y1.faAddressCard),t.addIcons(x1.faSkullCrossbones),t.addIcons(w1.faEllipsisVertical)}};e.\u0275fac=function(r){return new(r||e)(_(ul))},e.\u0275mod=N({type:e}),e.\u0275inj=P({providers:[{provide:Cs,useClass:DB}],imports:[jx,zg]});let i=e;return i})();function CB(i,e){return Object.entries(i).filter(([n])=>isNaN(Number(n))).find(([,n])=>n===e)?.[0]}function E1(i,e){return Object.entries(i).filter(([n])=>isNaN(Number(n))).map(([n,t])=>({labelTranslateKey:`${e}.${n.toLowerCase()}`,value:t}))}var jb=(()=>{let e=class e{transform(t,r){return CB(r,t)??""}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=Qn({name:"enumKey",type:e,pure:!0,standalone:!0});let i=e;return i})(),Ft=function(i){return i[i.Unknown=-1]="Unknown",i[i.Date=0]="Date",i[i.Enum=1]="Enum",i[i.Number=2]="Number",i}(Ft||{}),EB=(()=>{let e=class e{constructor(){this.dataset=[],this.translateKey="core.components.table.",this.sortable=!0,this.paging=!0,this.displayedColumns=[],this.deleteIcon="skull-crossbones",this.editIcon="address-card",this.edit=!1,this.delete=!1,this.rowClickedObserved=!1,this.progress=!1,this.loading=!0,this.pageSizeOptions=[10,20,50],this.deleteEvent=new O,this.editEvent=new O,this.rowClicked=new O,this.ColumnType=Ft}ngOnChanges(){this.dataSource=new om(this.dataset),this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(t,r)=>this.getSortingAccessor(t,r),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator}deleteAction(t){this.deleteEvent.emit(t)}editAction(t){this.editEvent.emit(t)}getSortingAccessor(t,r){if(this.columnConfig?.[r]?.getter)return this.columnConfig[r].getter(t);switch(this.columnConfig?.[r]?.type){case Ft.Number:return Number(t[r])}return String(t[r])}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["bpa-inner-table"]],viewQuery:function(r,o){if(r&1&&(ue(Cu,5),ue(hl,5)),r&2){let s;L(s=j())&&(o.paginator=s.first),L(s=j())&&(o.sort=s.first)}},inputs:{columns:"columns",dataset:"dataset",translateKey:"translateKey",sortable:"sortable",paging:"paging",displayedColumns:"displayedColumns",columnConfig:"columnConfig",deleteIcon:"deleteIcon",editIcon:"editIcon",edit:"edit",delete:"delete",rowClickedObserved:"rowClickedObserved",progress:"progress",loading:"loading",pageSizeOptions:"pageSizeOptions"},outputs:{deleteEvent:"deleteEvent",editEvent:"editEvent",rowClicked:"rowClicked"},standalone:!0,features:[Oe,Re],decls:16,vars:9,consts:[["mat-table","","matSort","",1,"mat-elevation-z8","tw-w-full",3,"dataSource","matSortDisabled"],["matColumnDef","actions"],["mat-header-cell","","style","text-align: center; width: 1px;",4,"matHeaderCellDef"],["mat-cell","","style","text-align: center",4,"matCellDef"],["matColumnDef","loading"],["style","padding: 0",3,"colSpan",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-header-row","","style","height: auto;",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"style","click",4,"matRowDef","matRowDefColumns"],[1,"tw-flex-1"],["class","tw-sticky tw-bottom-0",3,"showFirstLastButtons","pageSizeOptions"],["menu","matMenu"],["matMenuContent",""],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",3,"class",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","",2,"text-align","center","width","1px"],["mat-cell","",2,"text-align","center"],["aria-label","Actions","mat-icon-button","",3,"matMenuTriggerData","matMenuTriggerFor","click"],["icon","ellipsis-vertical"],[2,"padding","0",3,"colSpan"],[3,"mode"],["mat-header-row",""],["mat-header-row","",2,"height","auto"],["mat-row","",3,"click"],[1,"tw-sticky","tw-bottom-0",3,"showFirstLastButtons","pageSizeOptions"],["mat-menu-item",""],["mat-menu-item","",3,"click"],[3,"icon"]],template:function(r,o){r&1&&(g(0,"table",0),wi(1,aB,3,1,"ng-container",13,yi),er(3,1),G(4,lB,4,5,"th",2)(5,dB,3,4,"td",3),tr(),er(6,4),G(7,mB,2,2,"th",5),tr(),G(8,hB,1,0,"tr",6)(9,fB,1,0,"tr",7)(10,pB,1,2,"tr",8),b(),z(11,"div",9),G(12,gB,1,2,"mat-paginator",10),g(13,"mat-menu",null,11),G(15,vB,2,2,"ng-template",12),b()),r&2&&(F("dataSource",o.dataSource)("matSortDisabled",!o.sortable),y(1),xi(o.columns),y(7),F("matHeaderRowDef",o.displayedColumns)("matHeaderRowDefSticky",!0),y(1),F("matHeaderRowDef",Li(8,yB))("matHeaderRowDefSticky",!0),y(1),F("matRowDefColumns",o.displayedColumns),y(2),de(12,o.paging&&o.dataset?12:-1))},dependencies:[ud,jb,Fs,Uu,_w,Hi,fs,KE,Ps,ml,qE,QE,_C,Cu,JE,XE,i1,hl,t1,v1,c1,u1,p1,m1,d1,g1,h1,f1,b1,_1,Lt,Ss],styles:["*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.tw-sticky[_ngcontent-%COMP%]{position:sticky}.tw-bottom-0[_ngcontent-%COMP%]{bottom:0}.tw-flex[_ngcontent-%COMP%]{display:flex}.tw-w-full[_ngcontent-%COMP%]{width:100%}.tw-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.tw-flex-col[_ngcontent-%COMP%]{flex-direction:column}"],changeDetection:0});let i=e;return i})(),sm=(()=>{let e=class e{constructor(){this.class="tw-flex tw-flex-1 tw-flex-col",this.dataset=[],this.translateKey="core.components.table.",this.progressBar="always",this.sortable=!0,this.paging=!0,this.deleteIcon="skull-crossbones",this.editIcon="address-card",this.pageSizeOptions=[10,20,50],this.rowClicked=new O,this.deleteEvent=new O,this.editEvent=new O,this.loading=!0,this.edit=!1,this.delete=!1,this.rowClickedObserved=!1,this.innerData=[]}get progress(){return this.progressBar==="always"||this.progressBar==="auto"&&this.loading}ngOnChanges(){this.delete=this.deleteEvent.observed,this.edit=this.editEvent.observed,this.rowClickedObserved=this.rowClicked.observed,this.displayedColumns=[...this.columns],(this.delete||this.edit)&&this.displayedColumns.push("actions"),this.loading=!this.dataset,this.loading||(this.innerData=this.dataset)}deleteAction(t){this.deleteEvent.emit(t)}editAction(t){this.editEvent.emit(t)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["bpa-table"]],hostVars:2,hostBindings:function(r,o){r&2&&Qo(o.class)},inputs:{columns:"columns",dataset:"dataset",translateKey:"translateKey",columnConfig:"columnConfig",progressBar:"progressBar",sortable:"sortable",paging:"paging",deleteIcon:"deleteIcon",editIcon:"editIcon",pageSizeOptions:"pageSizeOptions"},outputs:{rowClicked:"rowClicked",deleteEvent:"deleteEvent",editEvent:"editEvent"},standalone:!0,features:[Oe,Re],ngContentSelectors:D1,decls:1,vars:1,consts:[["class","tw-flex tw-flex-col tw-flex-1",3,"columnConfig","columns","sortable","paging","edit","delete","rowClickedObserved","translateKey","dataset","displayedColumns","progress","loading","pageSizeOptions"],[1,"tw-flex","tw-flex-col","tw-flex-1",3,"columnConfig","columns","sortable","paging","edit","delete","rowClickedObserved","translateKey","dataset","displayedColumns","progress","loading","pageSizeOptions","deleteEvent","editEvent","rowClicked"]],template:function(r,o){r&1&&(ke(),G(0,wB,2,13,"bpa-inner-table",0)),r&2&&de(0,o.innerData&&o.displayedColumns?0:-1)},dependencies:[EB],encapsulation:2,changeDetection:0});let i=e;return i})(),mo=(()=>{let e=class e{constructor(t,r){this.dialogRef=t,this.data=r,this.registerEnterKey=!1,this.registerEscKey=!0;let o=this.dialogRef.keydownEvents().subscribe(s=>{this.registerEscKey&&s.key==="Escape"&&this.close(),this.registerEnterKey&&s.key==="Enter"&&this.submit()});this.dialogRef.afterClosed().subscribe(()=>{o.unsubscribe()})}close(t){this.dialogRef.close(t)}};e.\u0275fac=function(r){return new(r||e)(m(jn),m(Ds))},e.\u0275dir=D({type:e});let i=e;return i})(),pl=(()=>{let e=class e extends mo{constructor(){super(...arguments),this.registerEnterKey=!1,this.registerEscKey=!1}ngOnInit(){if(!this.dialog)throw new Error("DialogLayoutComponent requires a dialog input");if(kB(this.dialog)){let t=this.dialog.form;this.valid$=t.statusChanges.pipe(tt(t.valid),$e(()=>t.valid))}else this.valid$=Ee(!0)}close(){return this.dialog?.close()}submit(){return this.dialog?.submit()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["bpa-dialog-layout"]],inputs:{dialog:"dialog",translateKey:"translateKey"},standalone:!0,features:[B,Re],ngContentSelectors:D1,decls:11,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-button","",3,"click"],["mat-button","","cdkFocusInitial","",3,"disabled","click"]],template:function(r,o){r&1&&(ke(),G(0,xB,3,3,"h2",0),g(1,"div",1),K(2),b(),g(3,"mat-dialog-actions",2)(4,"button",3),H("click",function(){return o.close()}),I(5),it(6,"translate"),b(),g(7,"button",4),H("click",function(){return o.submit()}),it(8,"async"),I(9),it(10,"translate"),b()()),r&2&&(de(0,o.translateKey?0:-1),y(5),Ge(" ",at(6,4,"bpa.global.no")," (Esc) "),y(2),F("disabled",at(8,6,o.valid$)!==!0),y(2),Ge(" ",at(10,8,"bpa.global.okay")," (Enter) "))},dependencies:[dd,Hi,su,zg,cC,uC,dC,Lt,Ss],encapsulation:2,changeDetection:0});let i=e;return i})();function kB(i){return i.form!==void 0}var IB=(()=>{let e=class e extends mo{close(){super.close(!1)}submit(){this.dialogRef.close(!0)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["ng-component"]],standalone:!0,features:[B,Re],decls:3,vars:5,consts:[[3,"dialog","translateKey"]],template:function(r,o){r&1&&(g(0,"bpa-dialog-layout",0),I(1),it(2,"translate"),b()),r&2&&(F("dialog",o)("translateKey",o.data.translateKey),y(1),Ge(" ",at(2,3,o.data.translateKey+".content"),` +`))}};e.\u0275fac=function(r){return new(r||e)(m(Dp),m(_3),m(ul),m(v3,8),m(y3,8))},e.\u0275cmp=V({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(r,o){r&2&&(Di("innerHTML",o.renderedIconHTML,zc),Q("title",o.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[Oe,Re],decls:0,vars:0,template:function(r,o){},encapsulation:2});let i=e;return i})();var Fs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({});let i=e;return i})();var w3=["mat-menu-item",""];function x3(i,e){i&1&&(_i(),g(0,"svg",3),z(1,"polygon",4),b())}var D3=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],C3=["mat-icon, [matMenuItemIcon]","*"];function E3(i,e){if(i&1){let n=It();g(0,"div",0),H("keydown",function(r){Ue(n);let o=M();return We(o._handleKeydown(r))})("click",function(){Ue(n);let r=M();return We(r.closed.emit("click"))})("@transformMenu.start",function(r){Ue(n);let o=M();return We(o._onAnimationStart(r))})("@transformMenu.done",function(r){Ue(n);let o=M();return We(o._onAnimationDone(r))}),g(1,"div",1),K(2),b()()}if(i&2){let n=M();F("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),Q("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var k3=["*"],kb=new w("MAT_MENU_PANEL"),ml=(()=>{let e=class e{constructor(t,r,o,s,a){this._elementRef=t,this._document=r,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new S,this._focused=new S,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(t,r){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),r=t.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{let e=class e{constructor(t,r,o,s,a,l,c){this._template=t,this._componentFactoryResolver=r,this._appRef=o,this._injector=s,this._viewContainerRef=a,this._document=l,this._changeDetectorRef=c,this._attached=new S}attach(t={}){this._portal||(this._portal=new oi(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new ys(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));let r=this._template.elementRef.nativeElement;r.parentNode.insertBefore(this._outlet.outletElement,r),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(Ni),m(cn),m(bt),m(Qe),m(Z),m(ve))},e.\u0275dir=D({type:e,selectors:[["ng-template","matMenuContent",""]],features:[be([{provide:GE,useExisting:e}])]});let i=e;return i})(),Wu={transformMenu:Ot("transformMenu",[nt("void",me({opacity:0,transform:"scale(0.8)"})),Xe("void => enter",ot("120ms cubic-bezier(0, 0, 0.2, 1)",me({opacity:1,transform:"scale(1)"}))),Xe("* => void",ot("100ms 25ms linear",me({opacity:0})))]),fadeInItems:Ot("fadeInItems",[nt("showing",me({opacity:1})),Xe("void => *",[me({opacity:0}),ot("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},PK=Wu.fadeInItems,NK=Wu.transformMenu,I3=0,S3=new w("mat-menu-default-options",{providedIn:"root",factory:M3});function M3(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Ps=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}set panelClass(t){let r=this._previousPanelClass;r&&r.length&&r.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,r,o,s){this._elementRef=t,this._ngZone=r,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new on,this._classList={},this._panelAnimationState="void",this._animationDone=new S,this.closed=new O,this.close=this.closed,this.panelId=`mat-menu-panel-${I3++}`,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ss(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(tt(this._directDescendantItems),kt(t=>Be(...t.map(r=>r._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let r=this._keyManager;if(this._panelAnimationState==="enter"&&r.activeItem?._hasFocus()){let o=t.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(tt(this._directDescendantItems),kt(r=>Be(...r.map(o=>o._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let r=t.keyCode,o=this._keyManager;switch(r){case 27:Dt(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(r===38||r===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Se(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(t).setFirstItemActive(),!o.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let r=Math.min(this._baseElevation+t,24),o=`${this._elevationPrefix}${r}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(t=this.xPosition,r=this.yPosition){let o=this._classList;o["mat-menu-before"]=t==="before",o["mat-menu-after"]=t==="after",o["mat-menu-above"]=r==="above",o["mat-menu-below"]=r==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(tt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(r){return new(r||e)(m(k),m(T),m(S3),m(ve))},e.\u0275cmp=V({type:e,selectors:[["mat-menu"]],contentQueries:function(r,o,s){if(r&1&&(ye(s,GE,5),ye(s,ml,5),ye(s,ml,4)),r&2){let a;L(a=j())&&(o.lazyContent=a.first),L(a=j())&&(o._allItems=a),L(a=j())&&(o.items=a)}},viewQuery:function(r,o){if(r&1&&ue(Ae,5),r&2){let s;L(s=j())&&(o.templateRef=s.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(r,o){r&2&&Q("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",Me],hasBackdrop:["hasBackdrop","hasBackdrop",t=>t==null?null:Me(t)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[be([{provide:kb,useExisting:e}]),ct],ngContentSelectors:k3,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(r,o){r&1&&(ke(),G(0,E3,3,6,"ng-template"))},dependencies:[ir],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Wu.transformMenu,Wu.fadeInItems]},changeDetection:0});let i=e;return i})(),YE=new w("mat-menu-scroll-strategy");function T3(i){return()=>i.scrollStrategies.reposition()}var A3={provide:YE,deps:[mt],useFactory:T3},WE=qt({passive:!0});var QE=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(r=>{this._destroyMenu(r),(r==="click"||r==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,r,o,s,a,l,c,d,u){this._overlay=t,this._element=r,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=fe.EMPTY,this._hoverSubscription=fe.EMPTY,this._menuCloseSubscription=fe.EMPTY,this._changeDetectorRef=ee(ve),this._handleTouchStart=h=>{Na(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new O,this.onMenuOpen=this.menuOpened,this.menuClosed=new O,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof Ps?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,WE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,WE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let r=this._createOverlay(t),o=r.getConfig(),s=o.positionStrategy;this._setPosition(t,s),o.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,r.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof Ps&&(t._startAnimation(),t._directDescendantItems.changes.pipe(re(t.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,r){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof Ps?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(Ye(o=>o.toState==="void"),Se(1),re(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let r=0,o=t.parentMenu;for(;o;)r++,o=o.parentMenu;t.setElevation(r)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let r=this._getOverlayConfig(t);this._subscribeToPositions(t,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new ur({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,r){t.setPositionClasses&&r.positionChanges.subscribe(o=>{let s=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(s,a)):t.setPositionClasses(s,a)})}_setPosition(t,r){let[o,s]=t.xPosition==="before"?["end","start"]:["start","end"],[a,l]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,d]=[a,l],[u,h]=[o,s],f=0;if(this.triggersSubmenu()){if(h=o=t.xPosition==="before"?"start":"end",s=u=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}f=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(c=a==="top"?"bottom":"top",d=l==="top"?"bottom":"top");r.withPositions([{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:f},{originX:s,originY:c,overlayX:h,overlayY:a,offsetY:f},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-f},{originX:s,originY:d,overlayX:h,overlayY:l,offsetY:-f}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),r=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:Ee(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ye(a=>a!==this._menuItemInstance),Ye(()=>this._menuOpen)):Ee();return Be(t,o,s,r)}_handleMousedown(t){Pa(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let r=t.keyCode;(r===13||r===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(r===39&&this.dir==="ltr"||r===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ye(t=>t===this._menuItemInstance&&!t.disabled),Sr(0,Ws)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ps&&this.menu._isAnimating?this.menu._animationDone.pipe(Se(1),Sr(0,Ws),re(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new oi(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(r){return new(r||e)(m(mt),m(k),m(Qe),m(YE),m(kb,8),m(ml,10),m(vt,8),m(Rt),m(T))},e.\u0275dir=D({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(r,o){r&1&&H("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),r&2&&Q("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]});let i=e;return i})(),KE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({providers:[A3],imports:[Gt,zi,ae,fn,cr,ae]});let i=e;return i})();var R3=new w("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var F3=Va(class{constructor(i){this._elementRef=i}},"primary"),XE=(()=>{let e=class e extends F3{constructor(t,r,o,s,a){super(t),this._ngZone=r,this._changeDetectorRef=o,this._animationMode=s,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new O,this._mode="determinate",this._transitionendHandler=l=>{this.animationEnd.observers.length===0||!l.target||!l.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=s==="NoopAnimations",a&&(a.color&&(this.color=this.defaultColor=a.color),this.mode=a.mode||this.mode)}get value(){return this._value}set value(t){this._value=ZE(ze(t)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(t){this._bufferValue=ZE(ze(t)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(t){this._mode=t,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};e.\u0275fac=function(r){return new(r||e)(m(k),m(T),m(ve),m(Te,8),m(R3,8))},e.\u0275cmp=V({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(r,o){r&2&&(Q("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),W("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[B],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(r,o){r&1&&(g(0,"div",0),z(1,"div",1)(2,"div",2),b(),g(3,"div",3),z(4,"span",4),b(),g(5,"div",5),z(6,"span",4),b()),r&2&&(y(1),vi("flex-basis",o._getBufferBarFlexBasis()),y(2),vi("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let i=e;return i})();function ZE(i,e=0,n=100){return Math.max(e,Math.min(n,i))}var JE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({imports:[ae]});let i=e;return i})();var N3=["mat-sort-header",""];function L3(i,e){if(i&1){let n=It();g(0,"div",3),H("@arrowPosition.start",function(){Ue(n);let r=M();return We(r._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){Ue(n);let r=M();return We(r._disableViewStateAnimation=!1)}),z(1,"div",4),g(2,"div",5),z(3,"div",6)(4,"div",7)(5,"div",8),b()()}if(i&2){let n=M();F("@arrowOpacity",n._getArrowViewState())("@arrowPosition",n._getArrowViewState())("@allowChildren",n._getArrowDirectionState()),y(2),F("@indicator",n._getArrowDirectionState()),y(1),F("@leftPointer",n._getArrowDirectionState()),y(1),F("@rightPointer",n._getArrowDirectionState())}}var j3=["*"];var e1=new w("MAT_SORT_DEFAULT_OPTIONS"),V3=ru(hn(class{})),hl=(()=>{let e=class e extends V3{get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=he(t)}constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new S,this.start="asc",this._direction="",this.sortChange=new O}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let r=t?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=B3(t.start||this.start,r),s=o.indexOf(this.direction)+1;return s>=o.length&&(s=0),o[s]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}};e.\u0275fac=function(r){return new(r||e)(m(e1,8))},e.\u0275dir=D({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[B,Oe]});let i=e;return i})();function B3(i,e){let n=["asc","desc"];return i=="desc"&&n.reverse(),e||n.push(""),n}var _r=dD.ENTERING+" "+cD.STANDARD_CURVE,Ns={indicator:Ot("indicator",[nt("active-asc, asc",me({transform:"translateY(0px)"})),nt("active-desc, desc",me({transform:"translateY(10px)"})),Xe("active-asc <=> active-desc",ot(_r))]),leftPointer:Ot("leftPointer",[nt("active-asc, asc",me({transform:"rotate(-45deg)"})),nt("active-desc, desc",me({transform:"rotate(45deg)"})),Xe("active-asc <=> active-desc",ot(_r))]),rightPointer:Ot("rightPointer",[nt("active-asc, asc",me({transform:"rotate(45deg)"})),nt("active-desc, desc",me({transform:"rotate(-45deg)"})),Xe("active-asc <=> active-desc",ot(_r))]),arrowOpacity:Ot("arrowOpacity",[nt("desc-to-active, asc-to-active, active",me({opacity:1})),nt("desc-to-hint, asc-to-hint, hint",me({opacity:.54})),nt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",me({opacity:0})),Xe("* => asc, * => desc, * => active, * => hint, * => void",ot("0ms")),Xe("* <=> *",ot(_r))]),arrowPosition:Ot("arrowPosition",[Xe("* => desc-to-hint, * => desc-to-active",ot(_r,Ea([me({transform:"translateY(-25%)"}),me({transform:"translateY(0)"})]))),Xe("* => hint-to-desc, * => active-to-desc",ot(_r,Ea([me({transform:"translateY(0)"}),me({transform:"translateY(25%)"})]))),Xe("* => asc-to-hint, * => asc-to-active",ot(_r,Ea([me({transform:"translateY(25%)"}),me({transform:"translateY(0)"})]))),Xe("* => hint-to-asc, * => active-to-asc",ot(_r,Ea([me({transform:"translateY(0)"}),me({transform:"translateY(-25%)"})]))),nt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",me({transform:"translateY(0)"})),nt("hint-to-desc, active-to-desc, desc",me({transform:"translateY(-25%)"})),nt("hint-to-asc, active-to-asc, asc",me({transform:"translateY(25%)"}))]),allowChildren:Ot("allowChildren",[Xe("* <=> *",[Id("@*",kd(),{optional:!0})])])},Gu=(()=>{let e=class e{constructor(){this.changes=new S}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function z3(i){return i||new Gu}var H3={provide:Gu,deps:[[new Ur,new Wo,Gu]],useFactory:z3},$3=hn(class{}),t1=(()=>{let e=class e extends $3{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=he(t)}constructor(t,r,o,s,a,l,c,d){super(),this._intl=t,this._changeDetectorRef=r,this._sort=o,this._columnDef=s,this._focusMonitor=a,this._elementRef=l,this._ariaDescriber=c,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",d?.arrowPosition&&(this.arrowPosition=d?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let r=!!t;r!==this._showIndicatorHint&&(this._setIndicatorHintVisible(r),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===32||t.keyCode===13)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=Be(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}};e.\u0275fac=function(r){return new(r||e)(m(Gu),m(ve),m(hl,8),m("MAT_SORT_HEADER_COLUMN_DEF",8),m(Rt),m(k),m(Jd,8),m(e1,8))},e.\u0275cmp=V({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(r,o){r&1&&H("click",function(){return o._handleClick()})("keydown",function(a){return o._handleKeydown(a)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),r&2&&(Q("aria-sort",o._getAriaSortAttribute()),W("mat-sort-header-disabled",o._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[B],attrs:N3,ngContentSelectors:j3,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(r,o){r&1&&(ke(),g(0,"div",0)(1,"div",1),K(2),b(),G(3,L3,6,6,"div",2),b()),r&2&&(W("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before"),Q("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),y(3),de(3,o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Ns.indicator,Ns.leftPointer,Ns.rightPointer,Ns.arrowOpacity,Ns.arrowPosition,Ns.allowChildren]},changeDetection:0});let i=e;return i})(),i1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({providers:[H3],imports:[ae]});let i=e;return i})();var G3=[[["caption"]],[["colgroup"],["col"]]],q3=["caption","colgroup, col"];function Ab(i){return class extends i{get sticky(){return this._sticky}set sticky(e){let n=this._sticky;this._sticky=he(e),this._hasStickyChanged=n!==this._sticky}hasStickyChanged(){let e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}}}var uo=new w("CDK_TABLE");var im=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["","cdkCellDef",""]]});let i=e;return i})(),nm=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["","cdkHeaderCellDef",""]]});let i=e;return i})(),r1=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["","cdkFooterCellDef",""]]});let i=e;return i})(),Ib=class{},Y3=Ab(Ib),Ls=(()=>{let e=class e extends Y3{get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){super(),this._table=t,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(r){return new(r||e)(m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(r,o,s){if(r&1&&(ye(s,im,5),ye(s,nm,5),ye(s,r1,5)),r&2){let a;L(a=j())&&(o.cell=a.first),L(a=j())&&(o.headerCell=a.first),L(a=j())&&(o.footerCell=a.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",Me]},features:[be([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ct,B]});let i=e;return i})(),Yu=class{constructor(e,n){n.nativeElement.classList.add(...e._columnCssClassName)}},o1=(()=>{let e=class e extends Yu{constructor(t,r){super(t,r)}};e.\u0275fac=function(r){return new(r||e)(m(Ls),m(k))},e.\u0275dir=D({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[B]});let i=e;return i})();var s1=(()=>{let e=class e extends Yu{constructor(t,r){if(super(t,r),t._table?._elementRef.nativeElement.nodeType===1){let o=t._table._elementRef.nativeElement.getAttribute("role"),s=o==="grid"||o==="treegrid"?"gridcell":"cell";r.nativeElement.setAttribute("role",s)}}};e.\u0275fac=function(r){return new(r||e)(m(Ls),m(k))},e.\u0275dir=D({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[B]});let i=e;return i})(),Qu=class{constructor(){this.tasks=[],this.endTasks=[]}},Ku=new w("_COALESCED_STYLE_SCHEDULER"),Ob=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new S}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Qu,this._getScheduleObservable().pipe(re(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Qu;for(let r of t.tasks)r();for(let r of t.endTasks)r()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?$t(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Se(1))}};e.\u0275fac=function(r){return new(r||e)(_(T))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let i=e;return i})();var Rb=(()=>{let e=class e{constructor(t,r){this.template=t,this._differs=r}ngOnChanges(t){if(!this._columnsDiffer){let r=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(r).create(),this._columnsDiffer.diff(r)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof fl?t.headerCell.template:this instanceof Fb?t.footerCell.template:t.cell.template}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an))},e.\u0275dir=D({type:e,features:[Oe]});let i=e;return i})(),Sb=class extends Rb{},Q3=Ab(Sb),fl=(()=>{let e=class e extends Q3{constructor(t,r,o){super(t,r),this._table=o}ngOnChanges(t){super.ngOnChanges(t)}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an),m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[B,Oe]});let i=e;return i})(),Mb=class extends Rb{},K3=Ab(Mb),Fb=(()=>{let e=class e extends K3{constructor(t,r,o){super(t,r),this._table=o}ngOnChanges(t){super.ngOnChanges(t)}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an),m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[B,Oe]});let i=e;return i})(),rm=(()=>{let e=class e extends Rb{constructor(t,r,o){super(t,r),this._table=o}};e.\u0275fac=function(r){return new(r||e)(m(Ae),m(an),m(uo,8))},e.\u0275dir=D({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[B]});let i=e;return i})(),co=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(r){return new(r||e)(m(Qe))},e.\u0275dir=D({type:e,selectors:[["","cdkCellOutlet",""]]});let i=e;return i})(),Pb=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})();var Nb=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})(),a1=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(r){return new(r||e)(m(Ae))},e.\u0275dir=D({type:e,selectors:[["ng-template","cdkNoDataRow",""]]});let i=e;return i})(),n1=["top","bottom","left","right"],Tb=class{constructor(e,n,t,r,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${n}-border-elem-top`,bottom:`${n}-border-elem-bottom`,left:`${n}-border-elem-left`,right:`${n}-border-elem-right`}}clearStickyPositioning(e,n){let t=[];for(let r of e)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let o=0;o{for(let r of t)this._removeStickyStyle(r,n)})}updateStickyColumns(e,n,t,r=!0){if(!e.length||!this._isBrowser||!(n.some(h=>h)||t.some(h=>h))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}let o=e[0],s=o.children.length,a=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(a,n),c=this._getStickyEndColumnPositions(a,t),d=n.lastIndexOf(!0),u=t.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{let h=this.direction==="rtl",f=h?"right":"left",p=h?"left":"right";for(let v of e)for(let E=0;En[E]?v:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((v,E)=>t[E+u]?v:null).reverse()}))})}stickRows(e,n,t){if(!this._isBrowser)return;let r=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?n.slice().reverse():n,s=[],a=[],l=[];for(let d=0,u=0;d{for(let d=0;d{n.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1)})}_removeStickyStyle(e,n){for(let r of n)e.style[r]="",e.classList.remove(this._borderCellCss[r]);n1.some(r=>n.indexOf(r)===-1&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,n,t,r){e.classList.add(this._stickCellCss),r&&e.classList.add(this._borderCellCss[n]),e.style[n]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let n={top:100,bottom:10,left:1,right:1},t=0;for(let r of n1)e.style[r]&&(t+=n[r]);return t?`${t}`:""}_getCellWidths(e,n=!0){if(!n&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],r=e.children;for(let o=0;o0;o--)n[o]&&(t[o]=r,r+=e[o]);return t}};var Zu=new w("CDK_SPL");var Xu=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","rowOutlet",""]]});let i=e;return i})(),Ju=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","headerRowOutlet",""]]});let i=e;return i})(),em=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","footerRowOutlet",""]]});let i=e;return i})(),tm=(()=>{let e=class e{constructor(t,r){this.viewContainer=t,this.elementRef=r}};e.\u0275fac=function(r){return new(r||e)(m(Qe),m(k))},e.\u0275dir=D({type:e,selectors:[["","noDataRowOutlet",""]]});let i=e;return i})();var Lb=(()=>{let e=class e{get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,r,o,s,a,l,c,d,u,h,f,p){this._differs=t,this._changeDetectorRef=r,this._elementRef=o,this._dir=a,this._platform=c,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=f,this._ngZone=p,this._onDestroy=new S,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new O,this.viewChange=new zt({start:0,end:Number.MAX_VALUE}),s||this._elementRef.nativeElement.setAttribute("role","table"),this._document=l,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,r)=>this.trackBy?this.trackBy(r.dataIndex,r.data):r),this._viewportRuler.change().pipe(re(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let r=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||r,this._forceRecalculateCellWidths=r,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),cu(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let r=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,r,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===1&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&T.isInAngularZone()?this._ngZone.onStable.pipe(Se(1),re(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=t.length?"":"none");let s=this._headerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,s,"top"),this._headerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=t.length?"":"none");let s=this._footerRowDefs.map(a=>a.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(a=>a.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),r=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...r,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let l=0;l{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_getAllRenderRows(){let t=[],r=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(a)?o.get(a):[];if(l.length){let c=l.shift();return c.dataIndex=r,c}else return{data:t,rowDef:a,dataIndex:r}})}_cacheColumnDefs(){this._columnDefsByName.clear(),qu(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(r=>{this._columnDefsByName.has(r.name),this._columnDefsByName.set(r.name,r)})}_cacheRowDefs(){this._headerRowDefs=qu(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=qu(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=qu(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(r=>!r.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,l)=>a||!!l.getColumnsDiff(),r=this._rowDefs.reduce(t,!1);r&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),r||o||s}_switchDataSource(t){this._data=[],cu(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;cu(this.dataSource)?t=this.dataSource.connect(this):Ut(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Ee(this.dataSource)),this._renderChangeSubscription=t.pipe(re(this._onDestroy)).subscribe(r=>{this._data=r||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,r)=>this._renderRow(this._headerRowOutlet,t,r)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,r)=>this._renderRow(this._footerRowOutlet,t,r)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,r){let o=Array.from(r.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),s=o.map(l=>l.sticky),a=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let r=[];for(let o=0;o!s.when||s.when(r,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(r,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,r){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:r}}_renderRow(t,r,o,s={}){let a=t.viewContainer.createEmbeddedView(r.template,s,o);return this._renderCellTemplateForItem(r,s),a}_renderCellTemplateForItem(t,r){for(let o of this._getCellTemplates(t))co.mostRecentCellOutlet&&co.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,r);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let r=0,o=t.length;r{let o=this._columnDefsByName.get(r);return t.extractCellTemplate(o)})}_applyNativeTableSections(){let t=this._document.createDocumentFragment(),r=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(let o of r){let s=this._document.createElement(o.tag);s.setAttribute("role","rowgroup");for(let a of o.outlets)s.appendChild(a.elementRef.nativeElement);t.appendChild(s)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(r,o)=>r||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Tb(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Ee()).pipe(re(this._onDestroy)).subscribe(r=>{this._stickyStyler.direction=r,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(r=>!r._table||r._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let r=this._rowOutlet.viewContainer.length===0;if(r===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(r){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=r,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(m(an),m(ve),m(k),sn("role"),m(vt,8),m(Z),m(we),m(za),m(Ku),m($i),m(Zu,12),m(T,8))},e.\u0275cmp=V({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(r,o,s){if(r&1&&(ye(s,a1,5),ye(s,Ls,5),ye(s,rm,5),ye(s,fl,5),ye(s,Fb,5)),r&2){let a;L(a=j())&&(o._noDataRow=a.first),L(a=j())&&(o._contentColumnDefs=a),L(a=j())&&(o._contentRowDefs=a),L(a=j())&&(o._contentHeaderRowDefs=a),L(a=j())&&(o._contentFooterRowDefs=a)}},viewQuery:function(r,o){if(r&1&&(ue(Xu,7),ue(Ju,7),ue(em,7),ue(tm,7)),r&2){let s;L(s=j())&&(o._rowOutlet=s.first),L(s=j())&&(o._headerRowOutlet=s.first),L(s=j())&&(o._footerRowOutlet=s.first),L(s=j())&&(o._noDataRowOutlet=s.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(r,o){r&2&&W("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",Me],fixedLayout:["fixedLayout","fixedLayout",Me]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[be([{provide:uo,useExisting:e},{provide:za,useClass:ps},{provide:Ku,useClass:Ob},{provide:Zu,useValue:null}]),ct],ngContentSelectors:q3,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(ke(G3),K(0),K(1,1),Cn(2,0)(3,1)(4,2)(5,3))},dependencies:[Xu,Ju,em,tm],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function qu(i,e){return i.concat(Array.from(e))}var l1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({imports:[Wa]});let i=e;return i})();var X3=[[["caption"]],[["colgroup"],["col"]]],J3=["caption","colgroup, col"];var c1=(()=>{let e=class e extends Lb{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(r,o){r&2&&W("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[be([{provide:Lb,useExisting:e},{provide:uo,useExisting:e},{provide:Ku,useClass:Ob},{provide:za,useClass:ps},{provide:Zu,useValue:null}]),B],ngContentSelectors:J3,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(r,o){r&1&&(ke(X3),K(0),K(1,1),Cn(2,0)(3,1)(4,2)(5,3))},dependencies:[Xu,Ju,em,tm],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),d1=(()=>{let e=class e extends im{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matCellDef",""]],features:[be([{provide:im,useExisting:e}]),B]});let i=e;return i})(),u1=(()=>{let e=class e extends nm{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matHeaderCellDef",""]],features:[be([{provide:nm,useExisting:e}]),B]});let i=e;return i})();var m1=(()=>{let e=class e extends Ls{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[be([{provide:Ls,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),B]});let i=e;return i})(),h1=(()=>{let e=class e extends o1{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[B]});let i=e;return i})();var f1=(()=>{let e=class e extends s1{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[B]});let i=e;return i})();var p1=(()=>{let e=class e extends fl{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[be([{provide:fl,useExisting:e}]),B]});let i=e;return i})();var g1=(()=>{let e=class e extends rm{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275dir=D({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[be([{provide:rm,useExisting:e}]),B]});let i=e;return i})(),b1=(()=>{let e=class e extends Pb{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[be([{provide:Pb,useExisting:e}]),B],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})();var _1=(()=>{let e=class e extends Nb{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[be([{provide:Nb,useExisting:e}]),B],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(r,o){r&1&&Cn(0,0)},dependencies:[co],encapsulation:2});let i=e;return i})();var v1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=N({type:e}),e.\u0275inj=P({imports:[ae,l1,ae]});let i=e;return i})(),eB=9007199254740991,om=class extends lu{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new zt([]),this._filter=new zt(""),this._internalPageChanges=new S,this._renderChangesSubscription=null,this.sortingDataAccessor=(n,t)=>{let r=n[t];if(Xp(r)){let o=Number(r);return o{let r=t.active,o=t.direction;return!r||o==""?n:n.sort((s,a)=>{let l=this.sortingDataAccessor(s,r),c=this.sortingDataAccessor(a,r),d=typeof l,u=typeof c;d!==u&&(d==="number"&&(l+=""),u==="number"&&(c+=""));let h=0;return l!=null&&c!=null?l>c?h=1:l{let r=Object.keys(n).reduce((s,a)=>s+n[a]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return r.indexOf(o)!=-1},this._data=new zt(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?Be(this._sort.sortChange,this._sort.initialized):Ee(null),n=this._paginator?Be(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Ee(null),t=this._data,r=kr([t,this._filter]).pipe($e(([a])=>this._filterData(a))),o=kr([r,e]).pipe($e(([a])=>this._orderData(a))),s=kr([o,n]).pipe($e(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(n=>this.filterPredicate(n,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let n=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(n,n+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let n=this.paginator;if(n&&(n.length=e,n.pageIndex>0)){let t=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,t);r!==n.pageIndex&&(n.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};function iB(i,e){if(i&1&&(g(0,"th",16),I(1),it(2,"translate"),it(3,"lowercase"),b()),i&2){let n=M().$implicit,t=M();Qo(t.columnConfig==null||t.columnConfig[n]==null?null:t.columnConfig[n].cssClass),y(1),Ge("",at(2,3,at(3,5,t.translateKey+n))," ")}}function nB(i,e){if(i&1&&(I(0),it(1,"date")),i&2){let n=M().$implicit,t=M().$implicit;Ge(" ",at(1,1,n[t])," ")}}function rB(i,e){if(i&1&&(I(0),it(1,"translate"),it(2,"lowercase"),it(3,"enumKey")),i&2){let n=M().$implicit,t=M().$implicit,r=M();Ge(" ",at(1,1,at(2,3,r.translateKey+t+"."+Qc(3,5,n[t],r.columnConfig[t].args)))," ")}}function oB(i,e){if(i&1&&I(0),i&2){let n=M().$implicit,t=M().$implicit,r=M(),o;Ge(" ",(o=r.columnConfig==null||r.columnConfig[t]==null||r.columnConfig[t].getter==null?null:r.columnConfig[t].getter(n))!==null&&o!==void 0?o:n[t]," ")}}function sB(i,e){if(i&1&&(g(0,"td",17),G(1,nB,2,3)(2,rB,4,8)(3,oB,1,1),b()),i&2){let n=M().$implicit,t=M(),r;y(1),de(1,(r=t.columnConfig==null||t.columnConfig[n]==null?null:t.columnConfig[n].type)===t.ColumnType.Date?1:r===t.ColumnType.Enum?2:3)}}function aB(i,e){if(i&1&&(er(0,13),G(1,iB,4,7,"th",14)(2,sB,4,1,"td",15),tr()),i&2){let n=e.$implicit;F("matColumnDef",n)}}function lB(i,e){if(i&1&&(g(0,"th",18),I(1),it(2,"translate"),it(3,"lowercase"),b()),i&2){let n=M();y(1),Ge(" ",at(2,1,at(3,3,n.translateKey+"actions"))," ")}}var cB=i=>({element:i});function dB(i,e){if(i&1&&(g(0,"td",19)(1,"button",20),H("click",function(t){return t.stopPropagation()}),z(2,"fa-icon",21),b()()),i&2){let n=e.$implicit;M();let t=ei(14);y(1),F("matMenuTriggerData",Yc(2,cB,n))("matMenuTriggerFor",t)}}function uB(i,e){if(i&1&&z(0,"mat-progress-bar",23),i&2){let n=M(2);F("mode",n.loading?"indeterminate":"determinate")}}function mB(i,e){if(i&1&&(g(0,"th",22),G(1,uB,1,1,"mat-progress-bar",23),b()),i&2){let n=M();F("colSpan",n.displayedColumns.length+1),y(1),de(1,n.progress?1:-1)}}function hB(i,e){i&1&&z(0,"tr",24)}function fB(i,e){i&1&&z(0,"tr",25)}function pB(i,e){if(i&1){let n=It();g(0,"tr",26),H("click",function(){let o=Ue(n).$implicit,s=M();return We(s.rowClickedObserved&&s.rowClicked.emit(o))}),b()}if(i&2){let n=M();Oy(n.rowClickedObserved?"cursor: pointer":"")}}function gB(i,e){if(i&1&&z(0,"mat-paginator",27),i&2){let n=M();F("showFirstLastButtons",!0)("pageSizeOptions",n.pageSizeOptions)}}function bB(i,e){if(i&1){let n=It();g(0,"button",29),H("click",function(){Ue(n);let r=M().element,o=M();return We(o.editAction(r))}),z(1,"fa-icon",30),g(2,"span"),I(3),it(4,"translate"),b()()}if(i&2){let n=M(2);y(1),F("icon",n.editIcon),y(2),Ge("\xA0\xA0",at(4,2,n.translateKey+"action.edit"),"")}}function _B(i,e){if(i&1){let n=It();g(0,"button",29),H("click",function(){Ue(n);let r=M().element,o=M();return We(o.deleteAction(r))}),z(1,"fa-icon",30),g(2,"span"),I(3),it(4,"translate"),b()()}if(i&2){let n=M(2);y(1),F("icon",n.deleteIcon),y(2),Ge("\xA0\xA0",at(4,2,n.translateKey+"action.delete"),"")}}function vB(i,e){if(i&1&&G(0,bB,5,4,"button",28)(1,_B,5,4,"button",28),i&2){let n=M();de(0,n.edit?0:-1),y(1),de(1,n.delete?1:-1)}}var yB=()=>["loading"];function wB(i,e){if(i&1){let n=It();g(0,"bpa-inner-table",1),H("deleteEvent",function(r){Ue(n);let o=M();return We(o.deleteAction(r))})("editEvent",function(r){Ue(n);let o=M();return We(o.editAction(r))})("rowClicked",function(r){Ue(n);let o=M();return We(o.rowClicked.emit(r))}),K(1),b()}if(i&2){let n=M();F("columnConfig",n.columnConfig)("columns",n.columns)("sortable",n.sortable)("paging",n.paging)("edit",n.edit)("delete",n.delete)("rowClickedObserved",n.rowClickedObserved)("translateKey",n.translateKey)("dataset",n.innerData)("displayedColumns",n.displayedColumns)("progress",n.progress)("loading",n.loading)("pageSizeOptions",n.pageSizeOptions)}}var D1=["*"];function xB(i,e){if(i&1&&(g(0,"h2",0),I(1),it(2,"translate"),b()),i&2){let n=M();y(1),St(at(2,1,n.translateKey+".title"))}}var DB=(()=>{let e=class e{constructor(t){this.translate=t,this.changes=new S}get itemsPerPageLabel(){return this.translate.instant("bpa.components.table.items-per-page")}get firstPageLabel(){return this.translate.instant("bpa.components.table.first-page")}get lastPageLabel(){return this.translate.instant("bpa.components.table.last-page")}get nextPageLabel(){return this.translate.instant("bpa.components.table.next-page")}get previousPageLabel(){return this.translate.instant("bpa.components.table.previous-page")}getRangeLabel(t,r,o){if(o===0)return"";let s=Math.ceil(o/r);return this.translate.instant("bpa.components.table.page",{page:t+1,amountPages:s})}};e.\u0275fac=function(r){return new(r||e)(_(mr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let i=e;return i})(),C1=(()=>{let e=class e{constructor(t){t.addIcons(y1.faAddressCard),t.addIcons(x1.faSkullCrossbones),t.addIcons(w1.faEllipsisVertical)}};e.\u0275fac=function(r){return new(r||e)(_(ul))},e.\u0275mod=N({type:e}),e.\u0275inj=P({providers:[{provide:Cs,useClass:DB}],imports:[jx,zg]});let i=e;return i})();function CB(i,e){return Object.entries(i).filter(([n])=>isNaN(Number(n))).find(([,n])=>n===e)?.[0]}function E1(i,e){return Object.entries(i).filter(([n])=>isNaN(Number(n))).map(([n,t])=>({labelTranslateKey:`${e}.${n.toLowerCase()}`,value:t}))}var jb=(()=>{let e=class e{transform(t,r){return CB(r,t)??""}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=Qn({name:"enumKey",type:e,pure:!0,standalone:!0});let i=e;return i})(),Ft=function(i){return i[i.Unknown=-1]="Unknown",i[i.Date=0]="Date",i[i.Enum=1]="Enum",i[i.Number=2]="Number",i}(Ft||{}),EB=(()=>{let e=class e{constructor(){this.dataset=[],this.translateKey="core.components.table.",this.sortable=!0,this.paging=!0,this.displayedColumns=[],this.deleteIcon="skull-crossbones",this.editIcon="address-card",this.edit=!1,this.delete=!1,this.rowClickedObserved=!1,this.progress=!1,this.loading=!0,this.pageSizeOptions=[10,20,50],this.deleteEvent=new O,this.editEvent=new O,this.rowClicked=new O,this.ColumnType=Ft}ngOnChanges(){this.dataSource=new om(this.dataset),this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(t,r)=>this.getSortingAccessor(t,r),this.dataSource.paginator=this.paginator}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator}deleteAction(t){this.deleteEvent.emit(t)}editAction(t){this.editEvent.emit(t)}getSortingAccessor(t,r){if(this.columnConfig?.[r]?.getter)return this.columnConfig[r].getter(t);switch(this.columnConfig?.[r]?.type){case Ft.Number:return Number(t[r])}return String(t[r])}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["bpa-inner-table"]],viewQuery:function(r,o){if(r&1&&(ue(Cu,5),ue(hl,5)),r&2){let s;L(s=j())&&(o.paginator=s.first),L(s=j())&&(o.sort=s.first)}},inputs:{columns:"columns",dataset:"dataset",translateKey:"translateKey",sortable:"sortable",paging:"paging",displayedColumns:"displayedColumns",columnConfig:"columnConfig",deleteIcon:"deleteIcon",editIcon:"editIcon",edit:"edit",delete:"delete",rowClickedObserved:"rowClickedObserved",progress:"progress",loading:"loading",pageSizeOptions:"pageSizeOptions"},outputs:{deleteEvent:"deleteEvent",editEvent:"editEvent",rowClicked:"rowClicked"},standalone:!0,features:[Oe,Re],decls:16,vars:9,consts:[["mat-table","","matSort","",1,"mat-elevation-z8","tw-w-full",3,"dataSource","matSortDisabled"],["matColumnDef","actions"],["mat-header-cell","","style","text-align: center; width: 1px;",4,"matHeaderCellDef"],["mat-cell","","style","text-align: center",4,"matCellDef"],["matColumnDef","loading"],["style","padding: 0",3,"colSpan",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-header-row","","style","height: auto;",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"style","click",4,"matRowDef","matRowDefColumns"],[1,"tw-flex-1"],["class","tw-sticky tw-bottom-0",3,"showFirstLastButtons","pageSizeOptions"],["menu","matMenu"],["matMenuContent",""],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",3,"class",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","",2,"text-align","center","width","1px"],["mat-cell","",2,"text-align","center"],["aria-label","Actions","mat-icon-button","",3,"matMenuTriggerData","matMenuTriggerFor","click"],["icon","ellipsis-vertical"],[2,"padding","0",3,"colSpan"],[3,"mode"],["mat-header-row",""],["mat-header-row","",2,"height","auto"],["mat-row","",3,"click"],[1,"tw-sticky","tw-bottom-0",3,"showFirstLastButtons","pageSizeOptions"],["mat-menu-item",""],["mat-menu-item","",3,"click"],[3,"icon"]],template:function(r,o){r&1&&(g(0,"table",0),wi(1,aB,3,1,"ng-container",13,yi),er(3,1),G(4,lB,4,5,"th",2)(5,dB,3,4,"td",3),tr(),er(6,4),G(7,mB,2,2,"th",5),tr(),G(8,hB,1,0,"tr",6)(9,fB,1,0,"tr",7)(10,pB,1,2,"tr",8),b(),z(11,"div",9),G(12,gB,1,2,"mat-paginator",10),g(13,"mat-menu",null,11),G(15,vB,2,2,"ng-template",12),b()),r&2&&(F("dataSource",o.dataSource)("matSortDisabled",!o.sortable),y(1),xi(o.columns),y(7),F("matHeaderRowDef",o.displayedColumns)("matHeaderRowDefSticky",!0),y(1),F("matHeaderRowDef",Li(8,yB))("matHeaderRowDefSticky",!0),y(1),F("matRowDefColumns",o.displayedColumns),y(2),de(12,o.paging&&o.dataset?12:-1))},dependencies:[ud,jb,Fs,Uu,_w,Hi,fs,KE,Ps,ml,qE,QE,_C,Cu,JE,XE,i1,hl,t1,v1,c1,u1,p1,m1,d1,g1,h1,f1,b1,_1,Lt,Ss],styles:["*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.tw-sticky[_ngcontent-%COMP%]{position:sticky}.tw-bottom-0[_ngcontent-%COMP%]{bottom:0}.tw-flex[_ngcontent-%COMP%]{display:flex}.tw-w-full[_ngcontent-%COMP%]{width:100%}.tw-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.tw-flex-col[_ngcontent-%COMP%]{flex-direction:column}"],changeDetection:0});let i=e;return i})(),sm=(()=>{let e=class e{constructor(){this.class="tw-flex tw-flex-1 tw-flex-col",this.dataset=[],this.translateKey="core.components.table.",this.progressBar="always",this.sortable=!0,this.paging=!0,this.deleteIcon="skull-crossbones",this.editIcon="address-card",this.pageSizeOptions=[10,20,50],this.rowClicked=new O,this.deleteEvent=new O,this.editEvent=new O,this.loading=!0,this.edit=!1,this.delete=!1,this.rowClickedObserved=!1,this.innerData=[]}get progress(){return this.progressBar==="always"||this.progressBar==="auto"&&this.loading}ngOnChanges(){this.delete=this.deleteEvent.observed,this.edit=this.editEvent.observed,this.rowClickedObserved=this.rowClicked.observed,this.displayedColumns=[...this.columns],(this.delete||this.edit)&&this.displayedColumns.push("actions"),this.loading=!this.dataset,this.loading||(this.innerData=this.dataset)}deleteAction(t){this.deleteEvent.emit(t)}editAction(t){this.editEvent.emit(t)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["bpa-table"]],hostVars:2,hostBindings:function(r,o){r&2&&Qo(o.class)},inputs:{columns:"columns",dataset:"dataset",translateKey:"translateKey",columnConfig:"columnConfig",progressBar:"progressBar",sortable:"sortable",paging:"paging",deleteIcon:"deleteIcon",editIcon:"editIcon",pageSizeOptions:"pageSizeOptions"},outputs:{rowClicked:"rowClicked",deleteEvent:"deleteEvent",editEvent:"editEvent"},standalone:!0,features:[Oe,Re],ngContentSelectors:D1,decls:1,vars:1,consts:[["class","tw-flex tw-flex-col tw-flex-1",3,"columnConfig","columns","sortable","paging","edit","delete","rowClickedObserved","translateKey","dataset","displayedColumns","progress","loading","pageSizeOptions"],[1,"tw-flex","tw-flex-col","tw-flex-1",3,"columnConfig","columns","sortable","paging","edit","delete","rowClickedObserved","translateKey","dataset","displayedColumns","progress","loading","pageSizeOptions","deleteEvent","editEvent","rowClicked"]],template:function(r,o){r&1&&(ke(),G(0,wB,2,13,"bpa-inner-table",0)),r&2&&de(0,o.innerData&&o.displayedColumns?0:-1)},dependencies:[EB],encapsulation:2,changeDetection:0});let i=e;return i})(),mo=(()=>{let e=class e{constructor(t,r){this.dialogRef=t,this.data=r,this.registerEnterKey=!1,this.registerEscKey=!0;let o=this.dialogRef.keydownEvents().subscribe(s=>{this.registerEscKey&&s.key==="Escape"&&this.close(),this.registerEnterKey&&s.key==="Enter"&&this.submit()});this.dialogRef.afterClosed().subscribe(()=>{o.unsubscribe()})}close(t){this.dialogRef.close(t)}};e.\u0275fac=function(r){return new(r||e)(m(jn),m(Ds))},e.\u0275dir=D({type:e});let i=e;return i})(),pl=(()=>{let e=class e extends mo{constructor(){super(...arguments),this.registerEnterKey=!1,this.registerEscKey=!1}ngOnInit(){if(!this.dialog)throw new Error("DialogLayoutComponent requires a dialog input");if(kB(this.dialog)){let t=this.dialog.form;this.valid$=t.statusChanges.pipe(tt(t.valid),$e(()=>t.valid))}else this.valid$=Ee(!0)}close(){return this.dialog?.close()}submit(){return this.dialog?.submit()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["bpa-dialog-layout"]],inputs:{dialog:"dialog",translateKey:"translateKey"},standalone:!0,features:[B,Re],ngContentSelectors:D1,decls:11,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-button","",3,"click"],["mat-button","","cdkFocusInitial","",3,"disabled","click"]],template:function(r,o){r&1&&(ke(),G(0,xB,3,3,"h2",0),g(1,"div",1),K(2),b(),g(3,"mat-dialog-actions",2)(4,"button",3),H("click",function(){return o.close()}),I(5),it(6,"translate"),b(),g(7,"button",4),H("click",function(){return o.submit()}),it(8,"async"),I(9),it(10,"translate"),b()()),r&2&&(de(0,o.translateKey?0:-1),y(5),Ge(" ",at(6,4,"bpa.global.no")," (Esc) "),y(2),F("disabled",at(8,6,o.valid$)!==!0),y(2),Ge(" ",at(10,8,"bpa.global.okay")," (Enter) "))},dependencies:[dd,Hi,su,zg,cC,uC,dC,Lt,Ss],encapsulation:2,changeDetection:0});let i=e;return i})();function kB(i){return i.form!==void 0}var IB=(()=>{let e=class e extends mo{close(){super.close(!1)}submit(){this.dialogRef.close(!0)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["ng-component"]],standalone:!0,features:[B,Re],decls:3,vars:5,consts:[[3,"dialog","translateKey"]],template:function(r,o){r&1&&(g(0,"bpa-dialog-layout",0),I(1),it(2,"translate"),b()),r&2&&(F("dialog",o)("translateKey",o.data.translateKey),y(1),Ge(" ",at(2,3,o.data.translateKey+".content"),` `))},dependencies:[pl,Lt,Ss],encapsulation:2,changeDetection:0});let i=e;return i})(),k1=(()=>{let e=class e{constructor(t){this.dialog=t}open(t,r){return this.dialog.open(t,{disableClose:!0,data:r}).afterClosed()}confirm(t,r){return xm(this.open(IB,{translateKey:t}).pipe(kt(o=>yl(this,null,function*(){return o&&r&&(yield r()),Promise.resolve(o)}))))}};e.\u0275fac=function(r){return new(r||e)(_(Du))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),I1=(()=>{let e=class e extends mo{constructor(t,r){super(t,r)}close(){this.dialogRef.close(void 0)}submit(){this.dialogRef.close(this.form.getRawValue())}};e.\u0275fac=function(r){return new(r||e)(m(jn),m(Ds))},e.\u0275dir=D({type:e,features:[B]});let i=e;return i})();var X1=ho(Ug()),J1=ho(F1()),ek=ho(z1());var H1=(()=>{let e=class e extends mo{close(){alert("Close button in layout clicked"),super.close(!1)}submit(){alert("Okay button in layout clicked"),super.close(!0)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["app-common-dialog"]],standalone:!0,features:[B,Re],decls:3,vars:1,consts:[["translateKey","dialog.layout",3,"dialog"]],template:function(r,o){r&1&&(g(0,"bpa-dialog-layout",0)(1,"p"),I(2,"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."),b()()),r&2&&F("dialog",o)},dependencies:[pl],encapsulation:2,changeDetection:0});let i=e;return i})();var $1=(()=>{let e=class e extends I1{constructor(t,r,o){super(r,o),this.fb=t,this.form=this.fb.nonNullable.group({email:["",[Sn.required]],name:["",[Sn.required]]}),alert(o.info+" given to the dialog")}};e.\u0275fac=function(r){return new(r||e)(m(Yw),m(jn),m(Ds))},e.\u0275cmp=V({type:e,selectors:[["app-form-dialog"]],standalone:!0,features:[B,Re],decls:10,vars:2,consts:[["translateKey","dialog.layout",3,"dialog"],[3,"formGroup"],["appearance","fill"],["matInput","","formControlName","email"],["matInput","","formControlName","name"]],template:function(r,o){r&1&&(g(0,"bpa-dialog-layout",0)(1,"form",1)(2,"mat-form-field",2)(3,"mat-label"),I(4,"Input"),b(),z(5,"input",3),b(),g(6,"mat-form-field",2)(7,"mat-label"),I(8,"Input"),b(),z(9,"input",4),b()()()),r&2&&(F("dialog",o),y(1),F("formGroup",o.form))},dependencies:[pl,Pn,_s,bs,hu,AD,xd,Gw,yd,Vw,Bw,Yr,dp],encapsulation:2,changeDetection:0});let i=e;return i})();var U1=(()=>{let e=class e extends mo{submit(){}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=je(e)))(o||e)}})(),e.\u0275cmp=V({type:e,selectors:[["app-simple"]],standalone:!0,features:[B,Re],decls:4,vars:0,template:function(r,o){r&1&&(g(0,"h2"),I(1,"The simple dialog works!"),b(),g(2,"p"),I(3,"You can press ESC to close the dialog"),b())},encapsulation:2,changeDetection:0});let i=e;return i})();var W1=(()=>{let e=class e{constructor(t){this.dialog=t}openDialog(){this.dialog.open(U1)}openConfirmation(){return yl(this,null,function*(){let t=yield this.dialog.confirm("dialog.confirm_delete");alert(t)})}openCommon(){this.dialog.open(H1).subscribe(t=>{alert(t)})}openForm(){this.dialog.open($1,{info:"Hello"}).subscribe(t=>{alert(JSON.stringify(t)+" returned from the dialog")})}};e.\u0275fac=function(r){return new(r||e)(m(k1))},e.\u0275cmp=V({type:e,selectors:[["app-dialogs"]],standalone:!0,features:[Re],decls:26,vars:0,consts:[["translate","",1,"tw-p-4","tw-m-0"],["translate","",1,"tw-px-4"],["translate",""],["mat-stroked-button","","type","button",3,"click"]],template:function(r,o){r&1&&(g(0,"h2",0),I(1,"content.headline.dialogs"),b(),g(2,"p",1),I(3,"content.text.dialogs"),b(),g(4,"h3",2),I(5,"dialog.simple_dialog.title"),b(),g(6,"p",2),I(7,"dialog.simple_dialog.content"),b(),g(8,"button",3),H("click",function(){return o.openDialog()}),I(9,"Open dialog"),b(),g(10,"h3",2),I(11,"dialog.confirmation.title"),b(),g(12,"p",2),I(13,"dialog.confirmation.content"),b(),g(14,"button",3),H("click",function(){return o.openConfirmation()}),I(15,"Open dialog"),b(),g(16,"h3",2),I(17,"dialog.layout.title"),b(),g(18,"p",2),I(19,"dialog.layout.content"),b(),g(20,"button",3),H("click",function(){return o.openCommon()}),I(21,"Open dialog"),b(),g(22,"p",2),I(23,"dialog.layout.form"),b(),g(24,"button",3),H("click",function(){return o.openForm()}),I(25,"Open dialog"),b())},dependencies:[Hi,su,Lt,hr],encapsulation:2,changeDetection:0});let i=e;return i})();var x=function(i){return i[i.Fighter=0]="Fighter",i[i.Hammer=1]="Hammer",i[i.Scientist=2]="Scientist",i[i.Spy=3]="Spy",i}(x||{});function MB(i,e){if(i&1&&(g(0,"mat-option",4),I(1),it(2,"translate"),b()),i&2){let n=e.$implicit,t;F("value",n.value),y(1),Ge(" ",(t=n.label)!==null&&t!==void 0?t:at(2,2,n.labelTranslateKey)," ")}}var G1=(()=>{let e=class e{constructor(){this.items=E1(x,"hero.types"),this.HeroType=x}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=V({type:e,selectors:[["app-enum"]],standalone:!0,features:[Re],decls:26,vars:10,consts:[["translate","",1,"tw-p-4"],[1,"tw-px-4",3,"innerHtml"],["translate","",1,"tw-px-4"],[1,"tw-block"],[3,"value"]],template:function(r,o){r&1&&(g(0,"h2",0),I(1,"content.headline.enum"),b(),z(2,"p",1),it(3,"translate"),g(4,"h3",0),I(5,"content.headline.enum_options"),b(),g(6,"p",2),I(7,"content.text.enum_options"),b(),g(8,"mat-form-field")(9,"mat-label"),I(10,"Hero Type"),b(),g(11,"mat-select"),wi(12,MB,3,4,"mat-option",4,yi),b()(),g(14,"h3",0),I(15,"content.headline.pipe"),b(),g(16,"p",2),I(17,"content.text.pipe"),b(),I(18),g(19,"code",3),I(20),b(),z(21,"br"),I(22),it(23,"enumKey"),g(24,"code",3),I(25),b()),r&2&&(y(2),F("innerHtml",at(3,5,"content.text.enum"),zc),y(10),xi(o.items),y(6),Ge(` Original value: `,o.HeroType.Scientist,` `),y(2),Ge(" Original value: ","{{ HeroType.Scientist }}",`