diff --git a/404.html b/404.html index 503023f..374e536 100644 --- a/404.html +++ b/404.html @@ -37,5 +37,5 @@ - + diff --git a/503.de0a2e0753eb730a.js b/503.08fef2f416bd15cd.js similarity index 89% rename from 503.de0a2e0753eb730a.js rename to 503.08fef2f416bd15cd.js index 1c0990d..64e9181 100644 --- a/503.de0a2e0753eb730a.js +++ b/503.08fef2f416bd15cd.js @@ -1 +1 @@ -"use strict";(self.webpackChunkgrassland_literature_review=self.webpackChunkgrassland_literature_review||[]).push([[503],{503:(Nu,ue,I)=>{I.r(ue),I.d(ue,{HomeModule:()=>Lu});var m=I(177),L=I(7488),e=I(4438),$=I(139),R=I(4341),g=I(5779),M=I(1141),v=I(9969),d=I(1455),E=I(563),h=I(4420),x=I(461);let he=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),me=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),_e=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),A=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var F=I(1512);let ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CalendarIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const nt=["container"],ot=["inputfield"],st=["contentWrapper"],at=[[["p-header"]],[["p-footer"]]],lt=["p-header","p-footer"],rt=(o,a,t,i,n)=>({"p-calendar":!0,"p-input-icon-right":o,"p-calendar-w-btn":a,"p-calendar-timeonly":t,"p-calendar-disabled":i,"p-focus":n}),ct=o=>({clickCallBack:o}),dt=(o,a,t,i,n,s)=>({"p-datepicker p-component":!0,"p-datepicker-inline":o,"p-disabled":a,"p-datepicker-timeonly":t,"p-datepicker-multiple-month":i,"p-datepicker-monthpicker":n,"p-datepicker-touch-ui":s}),fe=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),pt=o=>({value:"visibleTouchUI",params:o}),ut=o=>({value:"visible",params:o}),ee=o=>({$implicit:o}),ht=(o,a)=>({"p-datepicker-other-month":o,"p-datepicker-today":a}),te=(o,a)=>({"p-highlight":o,"p-disabled":a}),be=o=>[o];function mt(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",11),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.k0s()}2&o&&e.Y8G("styleClass","p-calendar-clear-icon")}function _t(o,a){}function gt(o,a){1&o&&e.DNE(0,_t,0,0,"ng-template")}function ft(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.DNE(1,gt,1,0,null,13),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function bt(o,a){if(1&o&&(e.qex(0),e.DNE(1,mt,1,1,"TimesIcon",9)(2,ft,2,1,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function vt(o,a){if(1&o&&e.nrm(0,"span",16),2&o){const t=e.XpG(3);e.Y8G("ngClass",t.icon)}}function yt(o,a){1&o&&e.nrm(0,"CalendarIcon")}function Ct(o,a){}function wt(o,a){1&o&&e.DNE(0,Ct,0,0,"ng-template")}function It(o,a){if(1&o&&(e.qex(0),e.DNE(1,yt,1,0,"CalendarIcon",7)(2,wt,1,0,null,13),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.triggerIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.triggerIconTemplate)}}function xt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(n){e.eBV(t),e.XpG();const s=e.sdS(1),l=e.XpG();return e.Njj(l.onButtonClick(n,s))}),e.DNE(1,vt,1,1,"span",15)(2,It,3,2,"ng-container",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.disabled),e.BMQ("aria-label",t.iconButtonAriaLabel)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId),e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.Y8G("ngIf",!t.icon)}}function Tt(o,a){if(1&o){const t=e.RV6();e.j41(0,"CalendarIcon",19),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onButtonClick(n))}),e.k0s()}}function kt(o,a){1&o&&e.eu8(0)}function St(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tt,1,0,"CalendarIcon",17)(2,kt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.inputIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.inputIconTemplate)("ngTemplateOutletContext",e.eq3(3,ct,t.onButtonClick.bind(t)))}}function Dt(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",6,1),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputKeydown(n))})("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onInputClick())})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUserInput(n))}),e.k0s(),e.DNE(2,bt,3,2,"ng-container",7)(3,xt,3,6,"button",8)(4,St,3,5,"ng-container",7)}if(2&o){const t=e.XpG();e.HbH(t.inputStyleClass),e.Y8G("value",t.inputFieldValue)("readonly",t.readonlyInput)("ngStyle",t.inputStyle)("placeholder",t.placeholder||"")("disabled",t.disabled)("ngClass","p-inputtext p-component"),e.BMQ("id",t.inputId)("name",t.name)("required",t.required)("aria-required",t.required)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId)("aria-labelledby",t.ariaLabelledBy)("aria-label",t.ariaLabel)("tabindex",t.tabindex)("inputmode",t.touchUI?"off":null),e.R7$(2),e.Y8G("ngIf",t.showClear&&!t.disabled&&null!=t.value),e.R7$(),e.Y8G("ngIf",t.showIcon&&"button"===t.iconDisplay),e.R7$(),e.Y8G("ngIf","input"===t.iconDisplay&&t.showIcon)}}function Et(o,a){1&o&&e.eu8(0)}function Rt(o,a){1&o&&e.nrm(0,"ChevronLeftIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-prev-icon")}function Mt(o,a){}function Ft(o,a){1&o&&e.DNE(0,Mt,0,0,"ng-template")}function Gt(o,a){if(1&o&&(e.j41(0,"span",41),e.DNE(1,Ft,1,0,null,13),e.k0s()),2&o){const t=e.XpG(5);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousIconTemplate)}}function Vt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",38),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onPrevButtonClick(n))}),e.DNE(1,Rt,1,1,"ChevronLeftIcon",35)(2,Gt,2,1,"span",39),e.k0s()}if(2&o){const t=e.XpG(4);e.BMQ("aria-label",t.prevIconAriaLabel),e.R7$(),e.Y8G("ngIf",!t.previousIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousIconTemplate)}}function Bt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",42),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToMonthView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseMonth")),e.R7$(),e.SpI(" ",i.getMonthName(t.month)," ")}}function Ot(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",43),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToYearView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseYear")),e.R7$(),e.SpI(" ",i.getYear(t)," ")}}function Lt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(5);e.R7$(),e.Lme("",t.yearPickerValues()[0]," - ",t.yearPickerValues()[t.yearPickerValues().length-1],"")}}function Nt(o,a){1&o&&e.eu8(0)}function jt(o,a){if(1&o&&(e.j41(0,"span",44),e.DNE(1,Lt,2,2,"ng-container",7)(2,Nt,1,0,"ng-container",18),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",!t.decadeTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decadeTemplate)("ngTemplateOutletContext",e.eq3(3,ee,t.yearPickerValues))}}function Pt(o,a){1&o&&e.nrm(0,"ChevronRightIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-next-icon")}function zt(o,a){}function Ht(o,a){1&o&&e.DNE(0,zt,0,0,"ng-template")}function Yt(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,Ht,1,0,null,13),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextIconTemplate)}}function $t(o,a){if(1&o&&(e.j41(0,"th",51)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(5);e.R7$(2),e.JRh(t.getTranslation("weekHeader"))}}function At(o,a){if(1&o&&(e.j41(0,"th",52)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=a.$implicit;e.R7$(2),e.JRh(t)}}function Xt(o,a){if(1&o&&(e.j41(0,"td",55)(1,"span",56),e.EFF(2),e.k0s()()),2&o){const t=e.XpG().index,i=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",i.weekNumbers[t]," ")}}function Kt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.day)}}function Ut(o,a){1&o&&e.eu8(0)}function Qt(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ut,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.dateTemplate)("ngTemplateOutletContext",e.eq3(2,ee,t))}}function qt(o,a){1&o&&e.eu8(0)}function Wt(o,a){if(1&o&&(e.qex(0),e.DNE(1,qt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.disabledDateTemplate)("ngTemplateOutletContext",e.eq3(2,ee,t))}}function Zt(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.day," ")}}function Jt(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"span",57),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(6);return e.Njj(l.onDateSelect(n,s))})("keydown",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3).index,r=e.XpG(3);return e.Njj(r.onDateCellKeydown(n,s,l))}),e.DNE(2,Kt,2,1,"ng-container",7)(3,Qt,2,4,"ng-container",7)(4,Wt,2,4,"ng-container",7),e.k0s(),e.DNE(5,Zt,2,1,"div",58),e.bVm()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngClass",e.l_i(5,te,i.isSelected(t)&&t.selectable,!t.selectable)),e.R7$(),e.Y8G("ngIf",!i.dateTemplate&&(t.selectable||!i.disabledDateTemplate)),e.R7$(),e.Y8G("ngIf",t.selectable||!i.disabledDateTemplate),e.R7$(),e.Y8G("ngIf",!t.selectable),e.R7$(),e.Y8G("ngIf",i.isSelected(t))}}function ei(o,a){if(1&o&&(e.j41(0,"td",16),e.DNE(1,Jt,6,8,"ng-container",7),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(6);e.Y8G("ngClass",e.l_i(3,ht,t.otherMonth,t.today)),e.BMQ("aria-label",t.day),e.R7$(),e.Y8G("ngIf",!t.otherMonth||i.showOtherMonths)}}function ti(o,a){if(1&o&&(e.j41(0,"tr"),e.DNE(1,Xt,3,1,"td",53)(2,ei,2,6,"td",54),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(5);e.R7$(),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",t)}}function ii(o,a){if(1&o&&(e.j41(0,"div",46)(1,"table",47)(2,"thead")(3,"tr"),e.DNE(4,$t,3,1,"th",48)(5,At,3,1,"th",49),e.k0s()(),e.j41(6,"tbody"),e.DNE(7,ti,3,2,"tr",50),e.k0s()()()),2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(4),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",i.weekDays),e.R7$(2),e.Y8G("ngForOf",t.dates)}}function ni(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",27)(1,"div",28),e.DNE(2,Vt,3,3,"button",29),e.j41(3,"div",30),e.DNE(4,Bt,2,3,"button",31)(5,Ot,2,3,"button",32)(6,jt,3,5,"span",33),e.k0s(),e.j41(7,"button",34),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onNextButtonClick(n))}),e.DNE(8,Pt,1,1,"ChevronRightIcon",35)(9,Yt,2,1,"span",36),e.k0s()(),e.DNE(10,ii,8,3,"div",37),e.k0s()}if(2&o){const t=a.index,i=e.XpG(3);e.R7$(2),e.Y8G("ngIf",0===t),e.R7$(2),e.Y8G("ngIf","date"===i.currentView),e.R7$(),e.Y8G("ngIf","year"!==i.currentView),e.R7$(),e.Y8G("ngIf","year"===i.currentView),e.R7$(),e.xc7("display",1===i.numberOfMonths||t===i.numberOfMonths-1?"inline-flex":"none"),e.BMQ("aria-label",i.nextIconAriaLabel),e.R7$(),e.Y8G("ngIf",!i.nextIconTemplate),e.R7$(),e.Y8G("ngIf",i.nextIconTemplate),e.R7$(),e.Y8G("ngIf","date"===i.currentView)}}function oi(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function si(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",62),e.bIt("click",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthSelect(n,s))})("keydown",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthCellKeydown(n,s))}),e.EFF(1),e.DNE(2,oi,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.XpG(4);e.Y8G("ngClass",e.l_i(3,te,n.isMonthSelected(i),n.isMonthDisabled(i))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",n.isMonthSelected(i))}}function ai(o,a){if(1&o&&(e.j41(0,"div",60),e.DNE(1,si,3,6,"span",61),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.monthPickerValues())}}function li(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function ri(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",65),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearSelect(n,s))})("keydown",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearCellKeydown(n,s))}),e.EFF(1),e.DNE(2,li,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngClass",e.l_i(3,te,i.isYearSelected(t),i.isYearDisabled(t))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",i.isYearSelected(t))}}function ci(o,a){if(1&o&&(e.j41(0,"div",63),e.DNE(1,ri,3,6,"span",64),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.yearPickerValues())}}function di(o,a){if(1&o&&(e.qex(0),e.j41(1,"div",23),e.DNE(2,ni,11,10,"div",24),e.k0s(),e.DNE(3,ai,2,1,"div",25)(4,ci,2,1,"div",26),e.bVm()),2&o){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.months),e.R7$(),e.Y8G("ngIf","month"===t.currentView),e.R7$(),e.Y8G("ngIf","year"===t.currentView)}}function pi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function ui(o,a){}function hi(o,a){1&o&&e.DNE(0,ui,0,0,"ng-template")}function mi(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function _i(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function gi(o,a){}function fi(o,a){1&o&&e.DNE(0,gi,0,0,"ng-template")}function bi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function vi(o,a){}function yi(o,a){1&o&&e.DNE(0,vi,0,0,"ng-template")}function Ci(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function wi(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Ii(o,a){}function xi(o,a){1&o&&e.DNE(0,Ii,0,0,"ng-template")}function Ti(o,a){if(1&o&&(e.j41(0,"div",69)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(3);e.R7$(2),e.JRh(t.timeSeparator)}}function ki(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Si(o,a){}function Di(o,a){1&o&&e.DNE(0,Si,0,0,"ng-template")}function Ei(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function Ri(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Mi(o,a){}function Fi(o,a){1&o&&e.DNE(0,Mi,0,0,"ng-template")}function Gi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",74)(1,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(2,ki,1,0,"ChevronUpIcon",7)(3,Di,1,0,null,13),e.k0s(),e.j41(4,"span"),e.DNE(5,Ei,2,0,"ng-container",7),e.EFF(6),e.k0s(),e.j41(7,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(8,Ri,1,0,"ChevronDownIcon",7)(9,Fi,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("nextSecond")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentSecond<10),e.R7$(),e.JRh(t.currentSecond),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevSecond")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function Vi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Bi(o,a){}function Oi(o,a){1&o&&e.DNE(0,Bi,0,0,"ng-template")}function Li(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Ni(o,a){}function ji(o,a){1&o&&e.DNE(0,Ni,0,0,"ng-template")}function Pi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",75)(1,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(2,Vi,1,0,"ChevronUpIcon",7)(3,Oi,1,0,null,13),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s(),e.j41(6,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(7,Li,1,0,"ChevronDownIcon",7)(8,ji,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("am")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.JRh(t.pm?"PM":"AM"),e.R7$(),e.BMQ("aria-label",t.getTranslation("pm")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function zi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",66)(1,"div",67)(2,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(3,pi,1,0,"ChevronUpIcon",7)(4,hi,1,0,null,13),e.k0s(),e.j41(5,"span"),e.DNE(6,mi,2,0,"ng-container",7),e.EFF(7),e.k0s(),e.j41(8,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(9,_i,1,0,"ChevronDownIcon",7)(10,fi,1,0,null,13),e.k0s()(),e.j41(11,"div",69)(12,"span"),e.EFF(13),e.k0s()(),e.j41(14,"div",70)(15,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(16,bi,1,0,"ChevronUpIcon",7)(17,yi,1,0,null,13),e.k0s(),e.j41(18,"span"),e.DNE(19,Ci,2,0,"ng-container",7),e.EFF(20),e.k0s(),e.j41(21,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(22,wi,1,0,"ChevronDownIcon",7)(23,xi,1,0,null,13),e.k0s()(),e.DNE(24,Ti,3,1,"div",71)(25,Gi,10,8,"div",72)(26,Pi,9,7,"div",73),e.k0s()}if(2&o){const t=e.XpG(2);e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextHour")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentHour<10),e.R7$(),e.JRh(t.currentHour),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevHour")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(3),e.JRh(t.timeSeparator),e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextMinute")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentMinute<10),e.R7$(),e.JRh(t.currentMinute),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevMinute")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf","12"==t.hourFormat)}}function Hi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",77)(1,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTodayButtonClick(n))}),e.k0s(),e.j41(2,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onClearButtonClick(n))}),e.k0s()()}if(2&o){const t=e.XpG(2);e.R7$(),e.Y8G("label",t.getTranslation("today"))("ngClass",e.eq3(4,be,t.todayButtonStyleClass)),e.R7$(),e.Y8G("label",t.getTranslation("clear"))("ngClass",e.eq3(6,be,t.clearButtonStyleClass))}}function Yi(o,a){1&o&&e.eu8(0)}function $i(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",20,2),e.bIt("@overlayAnimation.start",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationStart(n))})("@overlayAnimation.done",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationDone(n))})("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayClick(n))}),e.SdG(2),e.DNE(3,Et,1,0,"ng-container",13)(4,di,5,3,"ng-container",7)(5,zi,27,20,"div",21)(6,Hi,3,8,"div",22),e.SdG(7,1),e.DNE(8,Yi,1,0,"ng-container",13),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngStyle",t.panelStyle)("ngClass",e.l4e(14,dt,t.inline,t.disabled,t.timeOnly,t.numberOfMonths>1,"month"===t.view,t.touchUI))("@overlayAnimation",t.touchUI?e.eq3(24,pt,e.l_i(21,fe,t.showTransitionOptions,t.hideTransitionOptions)):e.eq3(29,ut,e.l_i(26,fe,t.showTransitionOptions,t.hideTransitionOptions)))("@.disabled",!0===t.inline),e.BMQ("aria-label",t.getTranslation("chooseDate"))("role",t.inline?null:"dialog")("aria-modal",t.inline?null:"true"),e.R7$(3),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",!t.timeOnly),e.R7$(),e.Y8G("ngIf",(t.showTime||t.timeOnly)&&"date"===t.currentView),e.R7$(),e.Y8G("ngIf",t.showButtonBar),e.R7$(2),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}const Ai={provide:R.kq,useExisting:(0,e.Rfq)(()=>Xi),multi:!0};let Xi=(()=>{class o{document;el;renderer;cd;zone;config;overlayService;iconDisplay="button";style;styleClass;inputStyle;inputId;name;inputStyleClass;placeholder;ariaLabelledBy;ariaLabel;iconAriaLabel;disabled;dateFormat;multipleSeparator=",";rangeSeparator="-";inline=!1;showOtherMonths=!0;selectOtherMonths;showIcon;icon;appendTo;readonlyInput;shortYearCutoff="+10";monthNavigator;yearNavigator;hourFormat="24";timeOnly;stepHour=1;stepMinute=1;stepSecond=1;showSeconds=!1;required;showOnFocus=!0;showWeek=!1;showClear=!1;dataType="date";selectionMode="single";maxDateCount;showButtonBar;todayButtonStyleClass="p-button-text";clearButtonStyleClass="p-button-text";autoZIndex=!0;baseZIndex=0;panelStyleClass;panelStyle;keepInvalid=!1;hideOnDateTimeSelect=!0;touchUI;timeSeparator=":";focusTrap=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";tabindex;get minDate(){return this._minDate}set minDate(t){this._minDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(t){this._disabledDates=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(t){this._disabledDays=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(t){if(this._yearRange=t,t){const i=t.split(":"),n=parseInt(i[0]),s=parseInt(i[1]);this.populateYearOptions(n,s)}}get showTime(){return this._showTime}set showTime(t){this._showTime=t,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get responsiveOptions(){return this._responsiveOptions}set responsiveOptions(t){this._responsiveOptions=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get numberOfMonths(){return this._numberOfMonths}set numberOfMonths(t){this._numberOfMonths=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(t){this._firstDayOfWeek=t,this.createWeekDays()}set locale(t){console.warn("Locale property has no effect, use new i18n API instead.")}get view(){return this._view}set view(t){this._view=t,this.currentView=this._view}get defaultDate(){return this._defaultDate}set defaultDate(t){if(this._defaultDate=t,this.initialized){const i=t||new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.initTime(i),this.createMonths(this.currentMonth,this.currentYear)}}onFocus=new e.bkB;onBlur=new e.bkB;onClose=new e.bkB;onSelect=new e.bkB;onClear=new e.bkB;onInput=new e.bkB;onTodayClick=new e.bkB;onClearClick=new e.bkB;onMonthChange=new e.bkB;onYearChange=new e.bkB;onClickOutside=new e.bkB;onShow=new e.bkB;templates;containerViewChild;inputfieldViewChild;set content(t){this.contentViewChild=t,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):!this.focus&&!this.inline&&this.initFocusableCell())}contentViewChild;value;dates;months;weekDays;currentMonth;currentYear;currentHour;currentMinute;currentSecond;pm;mask;maskClickListener;overlay;responsiveStyleElement;overlayVisible;onModelChange=()=>{};onModelTouched=()=>{};calendarElement;timePickerTimer;documentClickListener;animationEndListener;ticksTo1970;yearOptions;focus;isKeydown;filled;inputFieldValue=null;_minDate;_maxDate;_showTime;_yearRange;preventDocumentListener;dateTemplate;headerTemplate;footerTemplate;disabledDateTemplate;decadeTemplate;previousIconTemplate;nextIconTemplate;triggerIconTemplate;clearIconTemplate;decrementIconTemplate;incrementIconTemplate;inputIconTemplate;_disabledDates;_disabledDays;selectElement;todayElement;focusElement;scrollHandler;documentResizeListener;navigationState=null;isMonthNavigate;initialized;translationSubscription;_locale;_responsiveOptions;currentView;attributeSelector;panelId;_numberOfMonths=1;_firstDayOfWeek;_view="date";preventFocus;_defaultDate;window;get locale(){return this._locale}get iconButtonAriaLabel(){return this.iconAriaLabel?this.iconAriaLabel:this.getTranslation("chooseDate")}get prevIconAriaLabel(){return this.getTranslation("year"===this.currentView?"prevDecade":"month"===this.currentView?"prevYear":"prevMonth")}get nextIconAriaLabel(){return this.getTranslation("year"===this.currentView?"nextDecade":"month"===this.currentView?"nextYear":"nextMonth")}constructor(t,i,n,s,l,r,c){this.document=t,this.el=i,this.renderer=n,this.cd=s,this.zone=l,this.config=r,this.overlayService=c,this.window=this.document.defaultView}ngOnInit(){this.attributeSelector=(0,h._Y)(),this.panelId=this.attributeSelector+"_panel";const t=this.defaultDate||new Date;this.createResponsiveStyle(),this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),this.yearOptions=[],this.currentView=this.view,"date"===this.view&&(this.createWeekDays(),this.initTime(t),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays(),this.cd.markForCheck()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"date":default:this.dateTemplate=t.template;break;case"decade":this.decadeTemplate=t.template;break;case"disabledDate":this.disabledDateTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"inputicon":this.inputIconTemplate=t.template;break;case"previousicon":this.previousIconTemplate=t.template;break;case"nexticon":this.nextIconTemplate=t.template;break;case"triggericon":this.triggerIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"decrementicon":this.decrementIconTemplate=t.template;break;case"incrementicon":this.incrementIconTemplate=t.template;break;case"footer":this.footerTemplate=t.template}})}ngAfterViewInit(){this.inline&&(this.contentViewChild&&this.contentViewChild.nativeElement.setAttribute(this.attributeSelector,""),!this.disabled&&!this.inline&&(this.initFocusableCell(),1===this.numberOfMonths&&this.contentViewChild&&this.contentViewChild.nativeElement&&(this.contentViewChild.nativeElement.style.width=d.D.getOuterWidth(this.containerViewChild?.nativeElement)+"px")))}getTranslation(t){return this.config.getTranslation(t)}populateYearOptions(t,i){this.yearOptions=[];for(let n=t;n<=i;n++)this.yearOptions.push(n)}createWeekDays(){this.weekDays=[];let t=this.getFirstDateOfWeek(),i=this.getTranslation(g.Yj.DAY_NAMES_MIN);for(let n=0;n<7;n++)this.weekDays.push(i[t]),t=6==t?0:++t}monthPickerValues(){let t=[];for(let i=0;i<=11;i++)t.push(this.config.getTranslation("monthNamesShort")[i]);return t}yearPickerValues(){let t=[],i=this.currentYear-this.currentYear%10;for(let n=0;n<10;n++)t.push(i+n);return t}createMonths(t,i){this.months=this.months=[];for(let n=0;n11&&(s=s%11-1,l=i+1),this.months.push(this.createMonth(s,l))}}getWeekNumber(t){let i=new Date(t.getTime());i.setDate(i.getDate()+4-(i.getDay()||7));let n=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((n-i.getTime())/864e5)/7)+1}createMonth(t,i){let n=[],s=this.getFirstDayOfMonthIndex(t,i),l=this.getDaysCountInMonth(t,i),r=this.getDaysCountInPrevMonth(t,i),c=1,p=new Date,u=[],_=Math.ceil((l+s)/7);for(let b=0;b<_;b++){let f=[];if(0==b){for(let C=r-s+1;C<=r;C++){let y=this.getPreviousMonthAndYear(t,i);f.push({day:C,month:y.month,year:y.year,otherMonth:!0,today:this.isToday(p,C,y.month,y.year),selectable:this.isSelectable(C,y.month,y.year,!0)})}let w=7-f.length;for(let C=0;Cl){let C=this.getNextMonthAndYear(t,i);f.push({day:c-l,month:C.month,year:C.year,otherMonth:!0,today:this.isToday(p,c-l,C.month,C.year),selectable:this.isSelectable(c-l,C.month,C.year,!0)})}else f.push({day:c,month:t,year:i,today:this.isToday(p,c,t,i),selectable:this.isSelectable(c,t,i,!1)});c++}this.showWeek&&u.push(this.getWeekNumber(new Date(f[0].year,f[0].month,f[0].day))),n.push(f)}return{month:t,year:i,dates:n,weekNumbers:u}}initTime(t){this.pm=t.getHours()>11,this.showTime?(this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds(),this.setCurrentHourPM(t.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.decrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.incrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){this.currentYear--;let t=this.yearOptions;if(this.yearNavigator&&this.currentYeart[t.length-1]){let i=t[t.length-1]-t[0];this.populateYearOptions(t[0]+i,t[t.length-1]+i)}}switchToMonthView(t){this.setCurrentView("month"),t.preventDefault()}switchToYearView(t){this.setCurrentView("year"),t.preventDefault()}onDateSelect(t,i){!this.disabled&&i.selectable?(this.isMultipleSelection()&&this.isSelected(i)?(this.value=this.value.filter((n,s)=>!this.isDateEquals(n,i)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(i)&&this.selectDate(i),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{t.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),t.preventDefault()):t.preventDefault()}shouldSelectDate(t){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(t,i){"month"===this.view?this.onDateSelect(t,{year:this.currentYear,month:i,day:1,selectable:!0}):(this.currentMonth=i,this.createMonths(this.currentMonth,this.currentYear),this.setCurrentView("date"),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}))}onYearSelect(t,i){"year"===this.view?this.onDateSelect(t,{year:i,month:0,day:1,selectable:!0}):(this.currentYear=i,this.setCurrentView("month"),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}))}updateInputfield(){let t="";if(this.value)if(this.isSingleSelection())t=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let i=0;i11,this.currentHour=t>=12?12==t?12:t-12:0==t?12:t):this.currentHour=t}setCurrentView(t){this.currentView=t,this.cd.detectChanges(),this.alignOverlay()}selectDate(t){let i=new Date(t.year,t.month,t.day);if(this.showTime&&(i.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),i.setMinutes(this.currentMinute),i.setSeconds(this.currentSecond)),this.minDate&&this.minDate>i&&(i=this.minDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.maxDate&&this.maxDate=n.getTime()?s=i:(n=i,s=null),this.updateModel([n,s])}else this.updateModel([i,null]);this.onSelect.emit(i)}updateModel(t){if(this.value=t,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let i=null;Array.isArray(this.value)&&(i=this.value.map(n=>this.formatDateTime(n))),this.onModelChange(i)}}getFirstDayOfMonthIndex(t,i){let n=new Date;n.setDate(1),n.setMonth(t),n.setFullYear(i);let s=n.getDay()+this.getSundayIndex();return s>=7?s-7:s}getDaysCountInMonth(t,i){return 32-this.daylightSavingAdjust(new Date(i,t,32)).getDate()}getDaysCountInPrevMonth(t,i){let n=this.getPreviousMonthAndYear(t,i);return this.getDaysCountInMonth(n.month,n.year)}getPreviousMonthAndYear(t,i){let n,s;return 0===t?(n=11,s=i-1):(n=t-1,s=i),{month:n,year:s}}getNextMonthAndYear(t,i){let n,s;return 11===t?(n=0,s=i+1):(n=t+1,s=i),{month:n,year:s}}getSundayIndex(){let t=this.getFirstDateOfWeek();return t>0?7-t:0}isSelected(t){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,t);if(this.isMultipleSelection()){let i=!1;for(let n of this.value)if(i=this.isDateEquals(n,t),i)break;return i}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],t)||this.isDateEquals(this.value[1],t)||this.isDateBetween(this.value[0],this.value[1],t):this.isDateEquals(this.value[0],t):void 0}isComparable(){return null!=this.value&&"string"!=typeof this.value}isMonthSelected(t){if(this.isComparable()&&!this.isMultipleSelection()){const[i,n]=this.isRangeSelection()?this.value:[this.value,this.value],s=new Date(this.currentYear,t,1);return s>=i&&s<=(n??i)}return!1}isMonthDisabled(t){for(let i=1;i=l.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(t,i,n,s){return t.getDate()===i&&t.getMonth()===n&&t.getFullYear()===s}isSelectable(t,i,n,s){let l=!0,r=!0,c=!0,p=!0;return!(s&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>i||this.minDate.getMonth()===i&&this.minDate.getDate()>t))&&(l=!1),this.maxDate&&(this.maxDate.getFullYear()1||this.disabled}onPrevButtonClick(t){this.navigationState={backward:!0,button:!0},this.navBackward(t)}onNextButtonClick(t){this.navigationState={backward:!1,button:!0},this.navForward(t)}onContainerButtonKeydown(t){switch(t.which){case 9:if(this.inline||this.trapFocus(t),this.inline){const i=d.D.findSingle(this.containerViewChild?.nativeElement,".p-datepicker-header");t.target==i.children[i.children.length-1]&&this.initFocusableCell()}break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()}}onInputKeydown(t){this.isKeydown=!0,40===t.keyCode&&this.contentViewChild?this.trapFocus(t):27===t.keyCode?this.overlayVisible&&(this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()):13===t.keyCode?this.overlayVisible&&(this.overlayVisible=!1,t.preventDefault()):9===t.keyCode&&this.contentViewChild&&(d.D.getFocusableElements(this.contentViewChild.nativeElement).forEach(i=>i.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(t,i,n){const s=t.currentTarget,l=s.parentElement;switch(t.which){case 40:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.nextElementSibling;c?d.D.hasClass(c.children[r].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(t)):(c.children[r].children[0].tabIndex="0",c.children[r].children[0].focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 38:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.previousElementSibling;if(c){let p=c.children[r].children[0];d.D.hasClass(p,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(t)):(p.tabIndex="0",p.focus())}else this.navigationState={backward:!0},this.navBackward(t);t.preventDefault();break}case 37:{s.tabIndex="-1";let r=l.previousElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")||d.D.hasClass(c.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!0,n);t.preventDefault();break}case 39:{s.tabIndex="-1";let r=l.nextElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")?this.navigateToMonth(!1,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!1,n);t.preventDefault();break}case 13:case 32:this.onDateSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onMonthCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+3:l-3];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onMonthSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onYearCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+2:l-2];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onYearSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.trapFocus(t)}}navigateToMonth(t,i){if(t)if(1===this.numberOfMonths||0===i)this.navigationState={backward:!0},this.navBackward(event);else{let s=d.D.find(this.contentViewChild.nativeElement.children[i-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),l=s[s.length-1];l.tabIndex="0",l.focus()}else if(1===this.numberOfMonths||i===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let s=d.D.findSingle(this.contentViewChild.nativeElement.children[i+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");s.tabIndex="0",s.focus()}}updateFocus(){let t;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let i;i=d.D.find(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),i&&i.length>0&&(t=i[i.length-1])}else t=d.D.findSingle(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");t&&(t.tabIndex="0",t.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){const t=this.contentViewChild?.nativeElement;let i;if("month"===this.currentView){let n=d.D.find(t,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),s=d.D.findSingle(t,".p-monthpicker .p-monthpicker-month.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if("year"===this.currentView){let n=d.D.find(t,".p-yearpicker .p-yearpicker-year:not(.p-disabled)"),s=d.D.findSingle(t,".p-yearpicker .p-yearpicker-year.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-yearpicker .p-yearpicker-year.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if(i=d.D.findSingle(t,"span.p-highlight"),!i){let n=d.D.findSingle(t,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)");i=n||d.D.findSingle(t,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}i&&(i.tabIndex="0",!this.preventFocus&&(!this.navigationState||!this.navigationState.button)&&setTimeout(()=>{this.disabled||i.focus()},1),this.preventFocus=!1)}trapFocus(t){let i=d.D.getFocusableElements(this.contentViewChild.nativeElement);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);if(t.shiftKey)if(-1==n||0===n)if(this.focusTrap)i[i.length-1].focus();else{if(-1===n)return this.hideOverlay();if(0===n)return}else i[n-1].focus();else if(-1==n)if(this.timeOnly)i[0].focus();else{let s=0;for(let l=0;lr||this.minDate.getHours()===r&&(this.minDate.getMinutes()>i||this.minDate.getMinutes()===i&&this.minDate.getSeconds()>n))||this.maxDate&&c&&this.maxDate.toDateString()===c&&(this.maxDate.getHours()=24?n-24:n:"12"==this.hourFormat&&(this.currentHour<12&&n>11&&(s=!this.pm),n=n>=13?n-12:n),this.validateTime(n,this.currentMinute,this.currentSecond,s)&&(this.currentHour=n,this.pm=s),t.preventDefault()}onTimePickerElementMouseDown(t,i,n){this.disabled||(this.repeat(t,null,i,n),t.preventDefault())}onTimePickerElementMouseUp(t){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(t,i,n,s){let l=i||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(t,100,n,s),this.cd.markForCheck()},l),n){case 0:1===s?this.incrementHour(t):this.decrementHour(t);break;case 1:1===s?this.incrementMinute(t):this.decrementMinute(t);break;case 2:1===s?this.incrementSecond(t):this.decrementSecond(t)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(t){let i=this.currentHour-this.stepHour,n=this.pm;"24"==this.hourFormat?i=i<0?24+i:i:"12"==this.hourFormat&&(12===this.currentHour&&(n=!this.pm),i=i<=0?12+i:i),this.validateTime(i,this.currentMinute,this.currentSecond,n)&&(this.currentHour=i,this.pm=n),t.preventDefault()}incrementMinute(t){let i=this.currentMinute+this.stepMinute;i=i>59?i-60:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}decrementMinute(t){let i=this.currentMinute-this.stepMinute;i=i<0?60+i:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}incrementSecond(t){let i=this.currentSecond+this.stepSecond;i=i>59?i-60:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}decrementSecond(t){let i=this.currentSecond-this.stepSecond;i=i<0?60+i:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}updateTime(){let t=this.value;this.isRangeSelection()&&(t=this.value[1]||this.value[0]),this.isMultipleSelection()&&(t=this.value[this.value.length-1]),t=t?new Date(t.getTime()):new Date,t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond),this.isRangeSelection()&&(t=this.value[1]?[this.value[0],t]:[t,null]),this.isMultipleSelection()&&(t=[...this.value.slice(0,-1),t]),this.updateModel(t),this.onSelect.emit(t),this.updateInputfield()}toggleAMPM(t){const i=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,i)&&(this.pm=i,this.updateTime()),t.preventDefault()}onUserInput(t){if(!this.isKeydown)return;this.isKeydown=!1;let i=t.target.value;try{let n=this.parseValueFromString(i);this.isValidSelection(n)?(this.updateModel(n),this.updateUI()):this.keepInvalid&&this.updateModel(n)}catch{this.updateModel(this.keepInvalid?i:null)}this.filled=null!=i&&i.length,this.onInput.emit(t)}isValidSelection(t){let i=!0;return this.isSingleSelection()?this.isSelectable(t.getDate(),t.getMonth(),t.getFullYear(),!1)||(i=!1):t.every(n=>this.isSelectable(n.getDate(),n.getMonth(),n.getFullYear(),!1))&&this.isRangeSelection()&&(i=t.length>1&&t[1]>t[0]),i}parseValueFromString(t){if(!t||0===t.trim().length)return null;let i;if(this.isSingleSelection())i=this.parseDateTime(t);else if(this.isMultipleSelection()){let n=t.split(this.multipleSeparator);i=[];for(let s of n)i.push(this.parseDateTime(s.trim()))}else if(this.isRangeSelection()){let n=t.split(" "+this.rangeSeparator+" ");i=[];for(let s=0;s{this.disableModality(),this.overlayVisible=!1}),this.renderer.appendChild(this.document.body,this.mask),d.D.blockBodyScroll())}disableModality(){this.mask&&(d.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyMask.bind(this))))}destroyMask(){if(!this.mask)return;this.renderer.removeChild(this.document.body,this.mask);let i,t=this.document.body.children;for(let n=0;n{const _=n+1{let f=""+_;if(s(u))for(;f.lengths(u)?f[_]:b[_];let c="",p=!1;if(t)for(n=0;n11&&12!=n&&(n-=12),i+="12"==this.hourFormat&&0===n?12:n<10?"0"+n:n,i+=":",i+=s<10?"0"+s:s,this.showSeconds&&(i+=":",i+=l<10?"0"+l:l),"12"==this.hourFormat&&(i+=t.getHours()>11?" PM":" AM"),i}parseTime(t){let i=t.split(":");if(i.length!==(this.showSeconds?3:2))throw"Invalid time";let s=parseInt(i[0]),l=parseInt(i[1]),r=this.showSeconds?parseInt(i[2]):null;if(isNaN(s)||isNaN(l)||s>23||l>59||"12"==this.hourFormat&&s>12||this.showSeconds&&(isNaN(r)||r>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==s&&this.pm?s+=12:!this.pm&&12===s&&(s-=12)),{hour:s,minute:l,second:r}}parseDate(t,i){if(null==i||null==t)throw"Invalid arguments";if(""===(t="object"==typeof t?t.toString():t+""))return null;let n,s,l,w,r=0,c="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),p=-1,u=-1,_=-1,b=-1,f=!1,C=S=>{let D=n+1{let D=C(S),G="@"===S?14:"!"===S?20:"y"===S&&D?4:"o"===S?3:2,J=new RegExp("^\\d{"+("y"===S?G:1)+","+G+"}"),O=t.substring(r).match(J);if(!O)throw"Missing number at position "+r;return r+=O[0].length,parseInt(O[0],10)},T=(S,D,G)=>{let B=-1,J=C(S)?G:D,O=[];for(let V=0;V-(V[1].length-Y[1].length));for(let V=0;V{if(t.charAt(r)!==i.charAt(n))throw"Unexpected literal at position "+r;r++};for("month"===this.view&&(_=1),n=0;n-1)for(u=1,_=b;s=this.getDaysCountInMonth(p,u-1),!(_<=s);)u++,_-=s;if("year"===this.view&&(u=-1===u?1:u,_=-1===_?1:_),w=this.daylightSavingAdjust(new Date(p,u-1,_)),w.getFullYear()!==p||w.getMonth()+1!==u||w.getDate()!==_)throw"Invalid date";return w}daylightSavingAdjust(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(t){const i=new Date,n={day:i.getDate(),month:i.getMonth(),year:i.getFullYear(),otherMonth:i.getMonth()!==this.currentMonth||i.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.createMonths(i.getMonth(),i.getFullYear()),this.onDateSelect(t,n),this.onTodayClick.emit(t)}onClearButtonClick(t){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(t)}createResponsiveStyle(){if(this.numberOfMonths>1&&this.responsiveOptions){this.responsiveStyleElement||(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.body,this.responsiveStyleElement));let t="";if(this.responsiveOptions){let i=[...this.responsiveOptions].filter(n=>!(!n.breakpoint||!n.numMonths)).sort((n,s)=>-1*n.breakpoint.localeCompare(s.breakpoint,void 0,{numeric:!0}));for(let n=0;n{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"mousedown",i=>{this.isOutsideClicked(i)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(i),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.containerViewChild?.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(t){return!(this.el.nativeElement.isSameNode(t.target)||this.isNavIconClicked(t)||this.el.nativeElement.contains(t.target)||this.overlay&&this.overlay.contains(t.target))}isNavIconClicked(t){return d.D.hasClass(t.target,"p-datepicker-prev")||d.D.hasClass(t.target,"p-datepicker-prev-icon")||d.D.hasClass(t.target,"p-datepicker-next")||d.D.hasClass(t.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!d.D.isTouchDevice()&&this.hideOverlay()}onOverlayHide(){this.currentView=this.view,this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&h.Q$.clear(this.overlay),this.destroyResponsiveStyleElement(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.r1),e.rXU(g.si))};static \u0275cmp=e.VBU({type:o,selectors:[["p-calendar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(nt,5),e.GBs(ot,5),e.GBs(st,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.inputfieldViewChild=s.first),e.mGM(s=e.lsd())&&(n.content=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focus)("p-calendar-clearable",n.showClear&&!n.disabled)},inputs:{iconDisplay:"iconDisplay",style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",iconAriaLabel:"iconAriaLabel",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",showClear:"showClear",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",responsiveOptions:"responsiveOptions",numberOfMonths:"numberOfMonths",firstDayOfWeek:"firstDayOfWeek",locale:"locale",view:"view",defaultDate:"defaultDate"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[e.Jv_([Ai])],ngContentSelectors:lt,decls:4,vars:12,consts:[["container",""],["inputfield",""],["contentWrapper",""],[3,"ngClass","ngStyle"],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","role","combobox","aria-autocomplete","none","aria-haspopup","dialog","autocomplete","off",3,"focus","keydown","click","blur","input","value","readonly","ngStyle","placeholder","disabled","ngClass"],[4,"ngIf"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","class","p-datepicker-trigger p-button-icon-only","tabindex","0",3,"disabled","click",4,"ngIf"],[3,"styleClass","click",4,"ngIf"],["class","p-calendar-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-calendar-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger","p-button-icon-only",3,"click","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"click",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"click"],[3,"click","ngStyle","ngClass"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],["class","p-yearpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["type","button","class","p-datepicker-month p-link",3,"disabled","click","keydown",4,"ngIf"],["type","button","class","p-datepicker-year p-link",3,"disabled","click","keydown",4,"ngIf"],["class","p-datepicker-decade",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[3,"styleClass",4,"ngIf"],["class","p-datepicker-next-icon",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],["class","p-datepicker-prev-icon",4,"ngIf"],[3,"styleClass"],[1,"p-datepicker-prev-icon"],["type","button",1,"p-datepicker-month","p-link",3,"click","keydown","disabled"],["type","button",1,"p-datepicker-year","p-link",3,"click","keydown","disabled"],[1,"p-datepicker-decade"],[1,"p-datepicker-next-icon"],[1,"p-datepicker-calendar-container"],["role","grid",1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],["draggable","false","pRipple","",3,"click","keydown","ngClass"],["class","p-hidden-accessible","aria-live","polite",4,"ngIf"],["aria-live","polite",1,"p-hidden-accessible"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"click","keydown","ngClass"],[1,"p-yearpicker"],["class","p-yearpicker-year","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-yearpicker-year",3,"click","keydown","ngClass"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","keydown.space","mousedown","mouseup","keyup.enter","keyup.space","mouseleave"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"keydown","click","label","ngClass"]],template:function(i,n){1&i&&(e.NAR(at),e.j41(0,"span",3,0),e.DNE(2,Dt,5,21,"ng-template",4)(3,$i,9,31,"div",5),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.s1E(6,rt,n.showIcon&&"input"===n.iconDisplay,n.showIcon&&"button"===n.iconDisplay,n.timeOnly,n.disabled,n.focus||n.overlayVisible))("ngStyle",n.style),e.R7$(2),e.Y8G("ngIf",!n.inline),e.R7$(),e.Y8G("ngIf",n.inline||n.overlayVisible))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,M._f,E.n,he,me,_e,A,F.A,ge],styles:["@layer primeng{.p-calendar{position:relative;display:inline-flex;max-width:100%}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-block;position:static;overflow-x:auto}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group{flex:1 1 auto}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-yearpicker-year{width:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-calendar-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-calendar-clearable{position:relative}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayAnimation",[(0,v.wk)("visibleTouchUI",(0,v.iF)({transform:"translate(-50%,-50%)",opacity:1})),(0,v.kY)("void => visible",[(0,v.iF)({opacity:0,transform:"scaleY(0.8)"}),(0,v.i0)("{{showTransitionParams}}",(0,v.iF)({opacity:1,transform:"*"}))]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0}))]),(0,v.kY)("void => visibleTouchUI",[(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visibleTouchUI => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0})}return o})(),Ki=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,M.tm,g.Gg,E.Z,he,me,_e,A,F.A,ge,M.tm,g.Gg]})}return o})(),Ui=(()=>{class o{host;constructor(t){this.host=t}autofocus;focused=!1;ngAfterContentChecked(){if(!this.focused&&this.autofocus){const t=d.D.getFocusableElements(this.host.nativeElement);0===t.length&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}})}return o})(),Qi=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})();const qi=["overlay"],Wi=["content"],Zi=["*"],Ji=(o,a,t,i,n,s,l,r,c,p,u,_,b,f)=>({"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":o,"p-overlay-center":a,"p-overlay-top":t,"p-overlay-top-start":i,"p-overlay-top-end":n,"p-overlay-bottom":s,"p-overlay-bottom-start":l,"p-overlay-bottom-end":r,"p-overlay-left":c,"p-overlay-left-start":p,"p-overlay-left-end":u,"p-overlay-right":_,"p-overlay-right-start":b,"p-overlay-right-end":f}),en=(o,a,t)=>({showTransitionParams:o,hideTransitionParams:a,transform:t}),tn=o=>({value:"visible",params:o}),nn=o=>({mode:o}),on=o=>({$implicit:o});function sn(o,a){1&o&&e.eu8(0)}function an(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,1),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationDone(n))}),e.SdG(2),e.DNE(3,sn,1,0,"ng-container",4),e.k0s()}if(2&o){const t=e.XpG(2);e.HbH(t.contentStyleClass),e.Y8G("ngStyle",t.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",e.eq3(11,tn,e.sMw(7,en,t.showTransitionOptions,t.hideTransitionOptions,t.transformOptions[t.modal?t.overlayResponsiveDirection:"default"]))),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.eq3(15,on,e.eq3(13,nn,t.overlayMode)))}}function ln(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onOverlayClick())}),e.DNE(2,an,4,17,"div",2),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass",e.zJS(5,Ji,[t.modal,t.modal&&"center"===t.overlayResponsiveDirection,t.modal&&"top"===t.overlayResponsiveDirection,t.modal&&"top-start"===t.overlayResponsiveDirection,t.modal&&"top-end"===t.overlayResponsiveDirection,t.modal&&"bottom"===t.overlayResponsiveDirection,t.modal&&"bottom-start"===t.overlayResponsiveDirection,t.modal&&"bottom-end"===t.overlayResponsiveDirection,t.modal&&"left"===t.overlayResponsiveDirection,t.modal&&"left-start"===t.overlayResponsiveDirection,t.modal&&"left-end"===t.overlayResponsiveDirection,t.modal&&"right"===t.overlayResponsiveDirection,t.modal&&"right-start"===t.overlayResponsiveDirection,t.modal&&"right-end"===t.overlayResponsiveDirection])),e.R7$(2),e.Y8G("ngIf",t.visible)}}const rn={provide:R.kq,useExisting:(0,e.Rfq)(()=>ve),multi:!0},cn=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),dn=(0,v.lY)([(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let ve=(()=>{class o{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(t){this._mode=t}get style(){return h.BF.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(t){this._style=t}get styleClass(){return h.BF.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(t){this._styleClass=t}get contentStyle(){return h.BF.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(t){this._contentStyle=t}get contentStyleClass(){return h.BF.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(t){this._contentStyleClass=t}get target(){const t=this._target||this.overlayOptions?.target;return void 0===t?"@prev":t}set target(t){this._target=t}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(t){this._appendTo=t}get autoZIndex(){const t=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===t||t}set autoZIndex(t){this._autoZIndex=t}get baseZIndex(){const t=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===t?0:t}set baseZIndex(t){this._baseZIndex=t}get showTransitionOptions(){const t=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===t?".12s cubic-bezier(0, 0, 0.2, 1)":t}set showTransitionOptions(t){this._showTransitionOptions=t}get hideTransitionOptions(){const t=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===t?".1s linear":t}set hideTransitionOptions(t){this._hideTransitionOptions=t}get listener(){return this._listener||this.overlayOptions?.listener}set listener(t){this._listener=t}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(t){this._responsive=t}get options(){return this._options}set options(t){this._options=t}visibleChange=new e.bkB;onBeforeShow=new e.bkB;onShow=new e.bkB;onBeforeHide=new e.bkB;onHide=new e.bkB;onAnimationStart=new e.bkB;onAnimationDone=new e.bkB;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,m.UE)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return d.D.getTargetElement(this.target,this.el?.nativeElement)}constructor(t,i,n,s,l,r,c,p){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.config=l,this.overlayService=r,this.cd=c,this.zone=p,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{t.getType(),this.contentTemplate=t.template})}show(t,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.addClass(this.document?.body,"p-overflow-hidden")}hide(t,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&d.D.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(t){this._visible=t,this.visibleChange.emit(t)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(t){this.overlayService.add({originalEvent:t,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(t){switch(t.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&h.Q$.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),d.D.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&d.D.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",t)}onOverlayContentAnimationDone(t){const i=this.overlayEl||t.element.parentElement;switch(t.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(i),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",t)}handleEvents(t,i){this[t].emit(i),this.options&&this.options[t]&&this.options[t](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[t]&&(this.config?.overlayOptions)[t](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.targetEl,t=>{(!this.listener||this.listener(t,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(t,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{const n=!(this.targetEl&&(this.targetEl.isSameNode(t.target)||!this.isOverlayClicked&&this.targetEl.contains(t.target))||this.isOverlayContentClicked);(this.listener?this.listener(t,{type:"outside",mode:this.overlayMode,valid:3!==t.which&&n}):n)&&this.hide(t),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",t=>{(this.listener?this.listener(t,{type:"resize",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.hide(t,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",t=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===t.code&&(this.listener?this.listener(t,{type:"keydown",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.zone.run(()=>{this.hide(t,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(g.r1),e.rXU(g.si),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-overlay"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(qi,5),e.GBs(Wi,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[e.Jv_([rn])],ngContentSelectors:Zi,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.NAR(),e.DNE(0,ln,3,20,"div",2)),2&i&&e.Y8G("ngIf",n.modalVisible)},dependencies:[m.YU,m.bT,m.T3,m.B3],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayContentAnimation",[(0,v.kY)(":enter",[(0,v.sM)(cn)]),(0,v.kY)(":leave",[(0,v.sM)(dn)])])]},changeDetection:0})}return o})(),ye=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,g.Gg]})}return o})();var X=I(8757);const pn=["element"],un=["content"],hn=["*"],mn=(o,a,t)=>({"p-scroller":!0,"p-scroller-inline":o,"p-both-scroll":a,"p-horizontal-scroll":t}),ie=(o,a)=>({$implicit:o,options:a}),_n=o=>({"p-scroller-loading":o}),gn=o=>({"p-component-overlay":o}),fn=o=>({numCols:o}),Ce=o=>({options:o}),bn=()=>({styleClass:"p-scroller-loading-icon"}),vn=(o,a)=>({rows:o,columns:a});function yn(o,a){1&o&&e.eu8(0)}function Cn(o,a){if(1&o&&(e.qex(0),e.DNE(1,yn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(2,ie,t.loadedItems,t.getContentOptions()))}}function wn(o,a){1&o&&e.eu8(0)}function In(o,a){if(1&o&&(e.qex(0),e.DNE(1,wn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.$implicit,i=a.index,n=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",n.itemTemplate)("ngTemplateOutletContext",e.l_i(2,ie,t,n.getOptions(i)))}}function xn(o,a){if(1&o&&(e.j41(0,"div",11,3),e.DNE(2,In,2,5,"ng-container",12),e.k0s()),2&o){const t=e.XpG(2);e.Y8G("ngClass",e.eq3(5,_n,t.d_loading))("ngStyle",t.contentStyle),e.BMQ("data-pc-section","content"),e.R7$(2),e.Y8G("ngForOf",t.loadedItems)("ngForTrackBy",t._trackBy||t.index)}}function Tn(o,a){if(1&o&&e.nrm(0,"div",13),2&o){const t=e.XpG(2);e.Y8G("ngStyle",t.spacerStyle),e.BMQ("data-pc-section","spacer")}}function kn(o,a){1&o&&e.eu8(0)}function Sn(o,a){if(1&o&&(e.qex(0),e.DNE(1,kn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.index,i=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(4,Ce,i.getLoaderOptions(t,i.both&&e.eq3(2,fn,i._numItemsInViewport.cols))))}}function Dn(o,a){if(1&o&&(e.qex(0),e.DNE(1,Sn,2,6,"ng-container",15),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.loaderArr)}}function En(o,a){1&o&&e.eu8(0)}function Rn(o,a){if(1&o&&(e.qex(0),e.DNE(1,En,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.loaderIconTemplate)("ngTemplateOutletContext",e.eq3(3,Ce,e.lJ4(2,bn)))}}function Mn(o,a){1&o&&e.nrm(0,"SpinnerIcon",16),2&o&&(e.Y8G("styleClass","p-scroller-loading-icon pi-spin"),e.BMQ("data-pc-section","loadingIcon"))}function Fn(o,a){if(1&o&&e.DNE(0,Rn,2,5,"ng-container",6)(1,Mn,1,2,"ng-template",null,5,e.C5r),2&o){const t=e.sdS(2),i=e.XpG(3);e.Y8G("ngIf",i.loaderIconTemplate)("ngIfElse",t)}}function Gn(o,a){if(1&o&&(e.j41(0,"div",14),e.DNE(1,Dn,2,1,"ng-container",6)(2,Fn,3,2,"ng-template",null,4,e.C5r),e.k0s()),2&o){const t=e.sdS(3),i=e.XpG(2);e.Y8G("ngClass",e.eq3(4,gn,!i.loaderTemplate)),e.BMQ("data-pc-section","loader"),e.R7$(),e.Y8G("ngIf",i.loaderTemplate)("ngIfElse",t)}}function Vn(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"div",7,1),e.bIt("scroll",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onContainerScroll(n))}),e.DNE(3,Cn,2,5,"ng-container",6)(4,xn,3,7,"ng-template",null,2,e.C5r)(6,Tn,1,2,"div",8)(7,Gn,4,6,"div",9),e.k0s(),e.bVm()}if(2&o){const t=e.sdS(5),i=e.XpG();e.R7$(),e.HbH(i._styleClass),e.Y8G("ngStyle",i._style)("ngClass",e.sMw(12,mn,i.inline,i.both,i.horizontal)),e.BMQ("id",i._id)("tabindex",i.tabindex)("data-pc-name","scroller")("data-pc-section","root"),e.R7$(2),e.Y8G("ngIf",i.contentTemplate)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i._showSpacer),e.R7$(),e.Y8G("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function Bn(o,a){1&o&&e.eu8(0)}function On(o,a){if(1&o&&(e.qex(0),e.DNE(1,Bn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(5,ie,t.items,e.l_i(2,vn,t._items,t.loadedColumns)))}}function Ln(o,a){if(1&o&&(e.SdG(0),e.DNE(1,On,2,8,"ng-container",17)),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.contentTemplate)}}let we=(()=>{class o{document;platformId;renderer;cd;zone;get id(){return this._id}set id(t){this._id=t}get style(){return this._style}set style(t){this._style=t}get styleClass(){return this._styleClass}set styleClass(t){this._styleClass=t}get tabindex(){return this._tabindex}set tabindex(t){this._tabindex=t}get items(){return this._items}set items(t){this._items=t}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t}get scrollHeight(){return this._scrollHeight}set scrollHeight(t){this._scrollHeight=t}get scrollWidth(){return this._scrollWidth}set scrollWidth(t){this._scrollWidth=t}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get step(){return this._step}set step(t){this._step=t}get delay(){return this._delay}set delay(t){this._delay=t}get resizeDelay(){return this._resizeDelay}set resizeDelay(t){this._resizeDelay=t}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=t}get inline(){return this._inline}set inline(t){this._inline=t}get lazy(){return this._lazy}set lazy(t){this._lazy=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(t){this._loaderDisabled=t}get columns(){return this._columns}set columns(t){this._columns=t}get showSpacer(){return this._showSpacer}set showSpacer(t){this._showSpacer=t}get showLoader(){return this._showLoader}set showLoader(t){this._showLoader=t}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(t){this._numToleratedItems=t}get loading(){return this._loading}set loading(t){this._loading=t}get autoSize(){return this._autoSize}set autoSize(t){this._autoSize=t}get trackBy(){return this._trackBy}set trackBy(t){this._trackBy=t}get options(){return this._options}set options(t){this._options=t,t&&"object"==typeof t&&Object.entries(t).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n))}onLazyLoad=new e.bkB;onScroll=new e.bkB;onScrollIndexChange=new e.bkB;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(t=>this._columns?t:t.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}constructor(t,i,n,s,l){this.document=t,this.platformId=i,this.renderer=n,this.cd=s,this.zone=l}ngOnInit(){this.setInitialState()}ngOnChanges(t){let i=!1;if(t.loading){const{previousValue:n,currentValue:s}=t.loading;this.lazy&&n!==s&&s!==this.d_loading&&(this.d_loading=s,i=!0)}if(t.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),t.numToleratedItems){const{previousValue:n,currentValue:s}=t.numToleratedItems;n!==s&&s!==this.d_numToleratedItems&&(this.d_numToleratedItems=s)}if(t.options){const{previousValue:n,currentValue:s}=t.options;this.lazy&&n?.loading!==s?.loading&&s?.loading!==this.d_loading&&(this.d_loading=s.loading,i=!0),n?.numToleratedItems!==s?.numToleratedItems&&s?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=s.numToleratedItems)}this.initialized&&!i&&(t.items?.previousValue?.length!==t.items?.currentValue?.length||t.itemSize||t.scrollHeight||t.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"content":this.contentTemplate=t.template;break;case"item":default:this.itemTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"loadericon":this.loaderIconTemplate=t.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,m.UE)(this.platformId)&&d.D.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=d.D.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=d.D.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(t){this.contentEl=t||this.contentViewChild?.nativeElement||d.D.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(t){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(t)}scrollToIndex(t,i="auto"){const{numToleratedItems:n}=this.calculateNumItems(),s=this.getContentPosition(),l=(u=0,_)=>u<=_?0:u,r=(u,_,b)=>u*_+b,c=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:i});let p=0;this.both?(p={rows:l(t[0],n[0]),cols:l(t[1],n[1])},c(r(p.cols,this._itemSize[1],s.left),r(p.rows,this._itemSize[0],s.top))):(p=l(t,n),this.horizontal?c(r(p,this._itemSize,s.left),0):c(0,r(p,this._itemSize,s.top))),this.isRangeChanged=this.first!==p,this.first=p}scrollInView(t,i,n="auto"){if(i){const{first:s,viewport:l}=this.getRenderedRange(),r=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:n}),p="to-end"===i;if("to-start"===i){if(this.both)l.first.rows-s.rows>t[0]?r(l.first.cols*this._itemSize[1],(l.first.rows-1)*this._itemSize[0]):l.first.cols-s.cols>t[1]&&r((l.first.cols-1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.first-s>t){const u=(l.first-1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else if(p)if(this.both)l.last.rows-s.rows<=t[0]+1?r(l.first.cols*this._itemSize[1],(l.first.rows+1)*this._itemSize[0]):l.last.cols-s.cols<=t[1]+1&&r((l.first.cols+1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.last-s<=t+1){const u=(l.first+1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else this.scrollToIndex(t,n)}getRenderedRange(){const t=(s,l)=>Math.floor(s/(l||s));let i=this.first,n=0;if(this.elementViewChild?.nativeElement){const{scrollTop:s,scrollLeft:l}=this.elementViewChild.nativeElement;this.both?(i={rows:t(s,this._itemSize[0]),cols:t(l,this._itemSize[1])},n={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=t(this.horizontal?l:s,this._itemSize),n=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:n}}}calculateNumItems(){const t=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-t.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-t.top:0)||0,s=(p,u)=>Math.ceil(p/(u||p)),l=p=>Math.ceil(p/2),r=this.both?{rows:s(n,this._itemSize[0]),cols:s(i,this._itemSize[1])}:s(this.horizontal?i:n,this._itemSize);return{numItemsInViewport:r,numToleratedItems:this.d_numToleratedItems||(this.both?[l(r.rows),l(r.cols)]:l(r))}}calculateOptions(){const{numItemsInViewport:t,numToleratedItems:i}=this.calculateNumItems(),n=(r,c,p,u=!1)=>this.getLast(r+c+(rArray.from({length:t.cols})):Array.from({length:t})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:s.cols}:0:s,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[t,i]=[d.D.getWidth(this.contentEl),d.D.getHeight(this.contentEl)];t!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[n,s]=[d.D.getWidth(this.elementViewChild.nativeElement),d.D.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=nthis.elementViewChild.nativeElement.style[l]=r;this.both||this.horizontal?(s("height",n),s("width",i)):s("height",n)}}setSpacerSize(){if(this._items){const t=this.getContentPosition(),i=(n,s,l,r=0)=>this.spacerStyle={...this.spacerStyle,[`${n}`]:(s||[]).length*l+r+"px"};this.both?(i("height",this._items,this._itemSize[0],t.y),i("width",this._columns||this._items[1],this._itemSize[1],t.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,t.x):i("height",this._items,this._itemSize,t.y)}}setContentPosition(t){if(this.contentEl&&!this._appendOnly){const i=t?t.first:this.first,n=(l,r)=>l*r,s=(l=0,r=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${l}px, ${r}px, 0)`};if(this.both)s(n(i.cols,this._itemSize[1]),n(i.rows,this._itemSize[0]));else{const l=n(i,this._itemSize);this.horizontal?s(l,0):s(0,l)}}}onScrollPositionChange(t){const i=t.target,n=this.getContentPosition(),s=(y,T)=>y?y>T?y-T:y:0,l=(y,T)=>Math.floor(y/(T||y)),r=(y,T,k,S,D,G)=>y<=D?D:G?k-S-D:T+D-1,c=(y,T,k,S,D,G,B)=>y<=G?0:Math.max(0,B?yT?k:y-2*G),p=(y,T,k,S,D,G=!1)=>{let B=T+S+2*D;return y>=D&&(B+=D+1),this.getLast(B,G)},u=s(i.scrollTop,n.top),_=s(i.scrollLeft,n.left);let b=this.both?{rows:0,cols:0}:0,f=this.last,w=!1,C=this.lastScrollPos;if(this.both){const y=this.lastScrollPos.top<=u,T=this.lastScrollPos.left<=_;if(!this._appendOnly||this._appendOnly&&(y||T)){const k={rows:l(u,this._itemSize[0]),cols:l(_,this._itemSize[1])},S={rows:r(k.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],y),cols:r(k.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],T)};b={rows:c(k.rows,S.rows,this.first.rows,0,0,this.d_numToleratedItems[0],y),cols:c(k.cols,S.cols,this.first.cols,0,0,this.d_numToleratedItems[1],T)},f={rows:p(k.rows,b.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:p(k.cols,b.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},w=b.rows!==this.first.rows||f.rows!==this.last.rows||b.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,C={top:u,left:_}}}else{const y=this.horizontal?_:u,T=this.lastScrollPos<=y;if(!this._appendOnly||this._appendOnly&&T){const k=l(y,this._itemSize);b=c(k,r(k,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,T),this.first,0,0,this.d_numToleratedItems,T),f=p(k,b,0,this.numItemsInViewport,this.d_numToleratedItems),w=b!==this.first||f!==this.last||this.isRangeChanged,C=y}}return{first:b,last:f,isRangeChanged:w,scrollPos:C}}onScrollChange(t){const{first:i,last:n,isRangeChanged:s,scrollPos:l}=this.onScrollPositionChange(t);if(s){const r={first:i,last:n};if(this.setContentPosition(r),this.first=i,this.last=n,this.lastScrollPos=l,this.handleEvents("onScrollIndexChange",r),this._lazy&&this.isPageChanged){const c={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:n,this.items.length)};(this.lazyLoadState.first!==c.first||this.lazyLoadState.last!==c.last)&&this.handleEvents("onLazyLoad",c),this.lazyLoadState=c}}}onContainerScroll(t){if(this.handleEvents("onScroll",{originalEvent:t}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(t);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(t)}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const t=this.document.defaultView,i=d.D.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(t,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(d.D.isVisible(this.elementViewChild?.nativeElement)){const[t,i]=[d.D.getWidth(this.elementViewChild?.nativeElement),d.D.getHeight(this.elementViewChild?.nativeElement)],[n,s]=[t!==this.defaultWidth,i!==this.defaultHeight];(this.both?n||s:this.horizontal?n:this.vertical&&s)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=t,this.defaultHeight=i,this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(t,i){return this.options&&this.options[t]?this.options[t](i):this[t].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:t=>this.getOptions(t),loading:this.d_loading,getLoaderOptions:(t,i)=>this.getLoaderOptions(t,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(t){const i=(this._items||[]).length,n=this.both?this.first.rows+t:this.first+t;return{index:n,count:i,first:0===n,last:n===i-1,even:n%2==0,odd:n%2!=0}}getLoaderOptions(t,i){const n=this.loaderArr.length;return{index:t,count:n,first:0===t,last:t===n-1,even:t%2==0,odd:t%2!=0,...i}}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-scroller"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(pn,5),e.GBs(un,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.elementViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[e.OA$],ngContentSelectors:hn,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(i,n){if(1&i&&(e.NAR(),e.DNE(0,Vn,8,16,"ng-container",6)(1,Ln,2,1,"ng-template",null,0,e.C5r)),2&i){const s=e.sdS(2);e.Y8G("ngIf",!n._disabled)("ngIfElse",s)}},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,X.N],styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return o})(),K=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,X.N,g.Gg]})}return o})();var j=I(8542);let Ie=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const z=o=>({height:o}),Nn=(o,a,t)=>({"p-dropdown-item":!0,"p-highlight":o,"p-disabled":a,"p-focus":t}),ne=o=>({$implicit:o});function jn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){let t;const i=e.XpG();e.R7$(),e.JRh(null!==(t=i.label)&&void 0!==t?t:"empty")}}function Pn(o,a){1&o&&e.eu8(0)}const zn=["container"],Hn=["filter"],Yn=["focusInput"],$n=["editableInput"],An=["items"],Xn=["scroller"],Kn=["overlay"],Un=["firstHiddenFocusableEl"],Qn=["lastHiddenFocusableEl"],xe=o=>({options:o}),Te=(o,a)=>({$implicit:o,options:a}),qn=()=>({});function Wn(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.label())}}function Zn(o,a){1&o&&e.eu8(0)}function Jn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.placeholder)}}function eo(o,a){if(1&o&&e.DNE(0,Jn,2,1,"span",17),2&o){const t=e.XpG(2);e.Y8G("ngIf",!t.modelValue()&&(t.label()===t.placeholder||t.label()&&!t.placeholder))}}function to(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",22,2),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))}),e.DNE(2,Wn,2,1,"ng-container",23)(3,Zn,1,0,"ng-container",24)(4,eo,1,1,"ng-template",null,3,e.C5r),e.k0s()}if(2&o){const t=e.sdS(5),i=e.XpG();e.Y8G("ngClass",i.inputClass)("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("autofocus",i.autofocus),e.BMQ("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel||("p-emptylabel"===i.label()?void 0:i.label()))("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible)("aria-controls",i.id+"_list")("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),e.R7$(2),e.Y8G("ngIf",!i.selectedItemTemplate)("ngIfElse",t),e.R7$(),e.Y8G("ngTemplateOutlet",i.selectedItemTemplate)("ngTemplateOutletContext",e.eq3(19,ne,i.selectedOption))}}function io(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",25,4),e.bIt("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onEditableInput(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))})("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))}),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",t.inputClass)("disabled",t.disabled),e.BMQ("maxlength",t.maxlength)("placeholder",t.placeholder)("aria-expanded",t.overlayVisible)}}function no(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.k0s()}2&o&&(e.Y8G("styleClass","p-dropdown-clear-icon"),e.BMQ("data-pc-section","clearicon"))}function oo(o,a){}function so(o,a){1&o&&e.DNE(0,oo,0,0,"ng-template")}function ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",29),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.DNE(1,so,1,0,null,30),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearicon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function lo(o,a){if(1&o&&(e.qex(0),e.DNE(1,no,1,2,"TimesIcon",26)(2,ao,2,2,"span",27),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ro(o,a){if(1&o&&e.nrm(0,"span",33),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.dropdownIcon)}}function co(o,a){1&o&&e.nrm(0,"ChevronDownIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-trigger-icon")}function po(o,a){if(1&o&&(e.qex(0),e.DNE(1,ro,1,1,"span",31)(2,co,1,1,"ChevronDownIcon",32),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.dropdownIcon),e.R7$(),e.Y8G("ngIf",!t.dropdownIcon)}}function uo(o,a){}function ho(o,a){1&o&&e.DNE(0,uo,0,0,"ng-template")}function mo(o,a){if(1&o&&(e.j41(0,"span",35),e.DNE(1,ho,1,0,null,30),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dropdownIconTemplate)}}function _o(o,a){1&o&&e.eu8(0)}function go(o,a){1&o&&e.eu8(0)}function fo(o,a){if(1&o&&(e.qex(0),e.DNE(1,go,1,0,"ng-container",24),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterTemplate)("ngTemplateOutletContext",e.eq3(2,xe,t.filterOptions))}}function bo(o,a){1&o&&e.nrm(0,"SearchIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-filter-icon")}function vo(o,a){}function yo(o,a){1&o&&e.DNE(0,vo,0,0,"ng-template")}function Co(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,yo,1,0,null,30),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterIconTemplate)}}function wo(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",42)(1,"input",43,9),e.bIt("input",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterInputChange(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterKeyDown(n))})("blur",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterBlur(n))}),e.k0s(),e.DNE(3,bo,1,1,"SearchIcon",32)(4,Co,2,1,"span",44),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("value",t._filterValue()||""),e.BMQ("placeholder",t.filterPlaceholder)("aria-owns",t.id+"_list")("aria-label",t.ariaFilterLabel)("aria-activedescendant",t.focusedOptionId),e.R7$(2),e.Y8G("ngIf",!t.filterIconTemplate),e.R7$(),e.Y8G("ngIf",t.filterIconTemplate)}}function Io(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",41),e.bIt("click",function(n){return e.eBV(t),e.Njj(n.stopPropagation())}),e.DNE(1,fo,2,4,"ng-container",23)(2,wo,5,7,"ng-template",null,8,e.C5r),e.k0s()}if(2&o){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.filterTemplate)("ngIfElse",t)}}function xo(o,a){1&o&&e.eu8(0)}function To(o,a){if(1&o&&e.DNE(0,xo,1,0,"ng-container",24),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(9);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,Te,t,i))}}function ko(o,a){1&o&&e.eu8(0)}function So(o,a){if(1&o&&e.DNE(0,ko,1,0,"ng-container",24),2&o){const t=a.options,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(2,xe,t))}}function Do(o,a){1&o&&(e.qex(0),e.DNE(1,So,1,4,"ng-template",47),e.bVm())}function Eo(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",46,10),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onLazyLoad.emit(n))}),e.DNE(2,To,1,5,"ng-template",21)(3,Do,2,0,"ng-container",17),e.k0s()}if(2&o){const t=e.XpG(2);e.Aen(e.eq3(8,z,t.scrollHeight)),e.Y8G("items",t.visibleOptions())("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("lazy",t.lazy)("options",t.virtualScrollOptions),e.R7$(3),e.Y8G("ngIf",t.loaderTemplate)}}function Ro(o,a){1&o&&e.eu8(0)}function Mo(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ro,1,0,"ng-container",24),e.bVm()),2&o){e.XpG();const t=e.sdS(9),i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(3,Te,i.visibleOptions(),e.lJ4(2,qn)))}}function Fo(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.JRh(i.getOptionGroupLabel(t.optionGroup))}}function Go(o,a){1&o&&e.eu8(0)}function Vo(o,a){if(1&o&&(e.qex(0),e.j41(1,"li",51),e.DNE(2,Fo,2,1,"span",17)(3,Go,1,0,"ng-container",24),e.k0s(),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("ngStyle",e.eq3(5,z,s.itemSize+"px")),e.BMQ("id",l.id+"_"+l.getOptionIndex(n,s)),e.R7$(),e.Y8G("ngIf",!l.groupTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",e.eq3(7,ne,i.optionGroup))}}function Bo(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"p-dropdownItem",52),e.bIt("onClick",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.onOptionSelect(n,s))})("onMouseEnter",function(n){e.eBV(t);const s=e.XpG().index,l=e.XpG().options,r=e.XpG(2);return e.Njj(r.onOptionMouseEnter(n,r.getOptionIndex(s,l)))}),e.k0s(),e.bVm()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("id",l.id+"_"+l.getOptionIndex(n,s))("option",i)("selected",l.isSelected(i))("label",l.getOptionLabel(i))("disabled",l.isOptionDisabled(i))("template",l.itemTemplate)("focused",l.focusedOptionIndex()===l.getOptionIndex(n,s))("ariaPosInset",l.getAriaPosInset(l.getOptionIndex(n,s)))("ariaSetSize",l.ariaSetSize)}}function Oo(o,a){if(1&o&&e.DNE(0,Vo,4,9,"ng-container",17)(1,Bo,2,9,"ng-container",17),2&o){const t=a.$implicit;e.Y8G("ngIf",t.group),e.R7$(),e.Y8G("ngIf",!t.group)}}function Lo(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyFilterMessageLabel," ")}}function No(o,a){1&o&&e.eu8(0,null,12)}function jo(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,Lo,2,1,"ng-container",23)(2,No,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function Po(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyMessageLabel," ")}}function zo(o,a){1&o&&e.eu8(0,null,13)}function Ho(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,Po,2,1,"ng-container",23)(2,zo,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyTemplate)}}function Yo(o,a){if(1&o&&(e.j41(0,"ul",48,11),e.DNE(2,Oo,2,2,"ng-template",49)(3,jo,3,6,"li",50)(4,Ho,3,6,"li",50),e.k0s()),2&o){const t=a.$implicit,i=a.options,n=e.XpG(2);e.Aen(i.contentStyle),e.Y8G("ngClass",i.contentStyleClass),e.BMQ("id",n.id+"_list"),e.R7$(2),e.Y8G("ngForOf",t),e.R7$(),e.Y8G("ngIf",n.filterValue&&n.isEmpty()),e.R7$(),e.Y8G("ngIf",!n.filterValue&&n.isEmpty())}}function $o(o,a){1&o&&e.eu8(0)}function Ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",36)(1,"span",37,5),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onFirstHiddenFocus(n))}),e.k0s(),e.DNE(3,_o,1,0,"ng-container",30)(4,Io,4,2,"div",38),e.j41(5,"div",39),e.DNE(6,Eo,4,10,"p-scroller",40)(7,Mo,2,6,"ng-container",17)(8,Yo,5,7,"ng-template",null,6,e.C5r),e.k0s(),e.DNE(10,$o,1,0,"ng-container",30),e.j41(11,"span",37,7),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLastHiddenFocus(n))}),e.k0s()()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngClass","p-dropdown-panel p-component")("ngStyle",t.panelStyle),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),e.R7$(2),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.filter),e.R7$(),e.xc7("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),e.R7$(),e.Y8G("ngIf",t.virtualScroll),e.R7$(),e.Y8G("ngIf",!t.virtualScroll),e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Xo={provide:R.kq,useExisting:(0,e.Rfq)(()=>ke),multi:!0};let Ko=(()=>{class o{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;onClick=new e.bkB;onMouseEnter=new e.bkB;ngOnInit(){}onOptionClick(t){this.onClick.emit(t)}onOptionMouseEnter(t){this.onMouseEnter.emit(t)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",focused:"focused",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:3,vars:21,consts:[["role","option","pRipple","",3,"click","mouseenter","id","ngStyle","ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"li",0),e.bIt("click",function(l){return n.onOptionClick(l)})("mouseenter",function(l){return n.onOptionMouseEnter(l)}),e.DNE(1,jn,2,1,"span",1)(2,Pn,1,0,"ng-container",2),e.k0s()),2&i&&(e.Y8G("id",n.id)("ngStyle",e.eq3(13,z,n.itemSize+"px"))("ngClass",e.sMw(15,Nn,n.selected,n.disabled,n.focused)),e.BMQ("aria-label",n.label)("aria-setsize",n.ariaSetSize)("aria-posinset",n.ariaPosInset)("aria-selected",n.selected)("data-p-focused",n.focused)("data-p-highlight",n.selected)("data-p-disabled",n.disabled),e.R7$(),e.Y8G("ngIf",!n.template),e.R7$(),e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.eq3(19,ne,n.option)))},dependencies:[m.YU,m.bT,m.T3,m.B3,E.n],encapsulation:2})}return o})(),ke=(()=>{class o{el;renderer;cd;zone;filterService;config;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;placeholder;filterPlaceholder;filterLocale;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!1;selectOnFocus=!1;autoOptionFocus=!0;autofocusFilter=!0;get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=t,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(t){this._showTransitionOptions=t,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(t){this._hideTransitionOptions=t,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(t){this._filterValue.set(t)}get options(){return this._options()}set options(t){this._options.set(t)}onChange=new e.bkB;onFilter=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onClick=new e.bkB;onShow=new e.bkB;onHide=new e.bkB;onClear=new e.bkB;onLazyLoad=new e.bkB;containerViewChild;filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;templates;_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;clearIconTemplate;filterIconTemplate;filterOptions;_options=(0,e.vPA)(null);modelValue=(0,e.vPA)(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=(0,e.vPA)(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=(0,e.vPA)(-1);labelId;listId;get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(g.Yj.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(g.Yj.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.modelValue()?!!this.modelValue():this.modelValue()||null!=this.modelValue()||null!=this.modelValue()}get isVisibleClearIcon(){return null!=this.modelValue()&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get containerClass(){return{"p-dropdown p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-dropdown-clearable":this.showClear&&!this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue(),"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){const t=this.label();return{"p-dropdown-label p-inputtext":!0,"p-placeholder":this.placeholder&&t===this.placeholder,"p-dropdown-label-empty":!(this.editable||this.selectedItemTemplate||t&&"p-emptylabel"!==t&&0!==t.length)}}get panelClass(){return{"p-dropdown-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}visibleOptions=(0,e.EWP)(()=>{const t=this.group?this.flatOptions(this.options):this.options||[];if(this._filterValue()){const i=this.filterBy||this.filterFields||this.optionValue?this.filterService.filter(t,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale):this.options.filter(n=>-1!==n.toLowerCase().indexOf(this._filterValue().toLowerCase()));if(this.group){const s=[];return(this.options||[]).forEach(l=>{const c=this.getOptionGroupChildren(l).filter(p=>i.includes(p));c.length>0&&s.push({...l,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...c]})}),this.flatOptions(s)}return i}return t});label=(0,e.EWP)(()=>{const t=this.findSelectedOptionIndex();return-1!==t?this.getOptionLabel(this.visibleOptions()[t]):this.placeholder||"p-emptylabel"});selectedOption;constructor(t,i,n,s,l,r){this.el=t,this.renderer=i,this.cd=n,this.zone=s,this.filterService=l,this.config=r,(0,e.QZP)(()=>{const c=this.modelValue(),p=this.visibleOptions();c&&this.editable&&this.updateEditableLabel(),p&&h.BF.isNotEmpty(p)&&(this.selectedOption=p[this.findSelectedOptionIndex()],this.cd.markForCheck())})}ngOnInit(){this.id=this.id||(0,h._Y)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:t=>this.onFilterInputChange(t),reset:()=>this.resetFilter()})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let t=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-highlight");t&&d.D.scrollInView(this.itemsWrapper,t),this.selectedOptionUpdated=!1}}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"selectedItem":this.selectedItemTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"filter":this.filterTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"emptyfilter":this.emptyFilterTemplate=t.template;break;case"empty":this.emptyTemplate=t.template;break;case"group":this.groupTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"filtericon":this.filterIconTemplate=t.template}})}flatOptions(t){return(t||[]).reduce((i,n,s)=>{i.push({optionGroup:n,group:!0,index:s});const l=this.getOptionGroupChildren(n);return l&&l.forEach(r=>i.push(r)),i},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&!this.modelValue()){const t=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[t],!1,!0)}}onOptionSelect(t,i,n=!0,s=!1){const l=this.getOptionValue(i);this.updateModel(l,t),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),n&&this.hide(!0),!1===s&&this.onChange.emit({originalEvent:t,value:l})}onOptionMouseEnter(t,i){this.focusOnHover&&this.changeFocusedOptionIndex(t,i)}updateModel(t,i){this.value=t,this.onModelChange(t),this.modelValue.set(t),this.selectedOptionUpdated=!0}writeValue(t){this.filter&&this.resetFilter(),this.value=t,this.allowModelChange()&&this.onModelChange(t),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return this.autoDisplayFirst&&!this.placeholder&&!this.modelValue()&&!this.editable&&this.options&&this.options.length}isSelected(t){return this.isValidOption(t)&&h.BF.equals(this.modelValue(),this.getOptionValue(t),this.equalityKey())}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=void 0===this.getOptionLabel(this.modelValue())?this.editableInputViewChild.nativeElement.value:this.getOptionLabel(this.modelValue()))}getOptionIndex(t,i){return this.virtualScrollerDisabled?t:i&&i.getItemOptions(t).index}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):t&&void 0!==t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):!this.optionLabel&&t&&void 0!==t.value?t.value:t}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled}getOptionGroupLabel(t){return this.optionGroupLabel?h.BF.resolveFieldData(t,this.optionGroupLabel):t&&void 0!==t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?h.BF.resolveFieldData(t,this.optionGroupChildren):t.items}getAriaPosInset(t){return(this.optionGroupLabel?t-this.visibleOptions().slice(0,t).filter(i=>this.isOptionGroup(i)).length:t)+1}get ariaSetSize(){return this.visibleOptions().filter(t=>!this.isOptionGroup(t)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onContainerClick(t){this.disabled||this.readonly||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),"INPUT"!==t.target.tagName&&"clearicon"!==t.target.getAttribute("data-pc-section")&&!t.target.closest('[data-pc-section="clearicon"]')&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(t),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}onEditableInput(t){const i=t.target.value;this.searchValue="",!this.searchOptions(t,i)&&this.focusedOptionIndex.set(-1),this.onModelChange(i),this.updateModel(i,t),this.onChange.emit({originalEvent:t,value:i})}show(t){this.overlayVisible=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(t){if("visible"===t.toState){if(this.itemsWrapper=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.modelValue()?this.focusedOptionIndex():-1;-1!==i&&this.scroller?.scrollToIndex(i)}else{let i=d.D.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(t)}"void"===t.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(t))}hide(t){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onInputFocus(t){if(this.disabled)return;this.focused=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(t)}onInputBlur(t){this.focused=!1,!1===this.overlayVisible&&this.onBlur.emit(t),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(t,i){if(!this.disabled&&!this.readonly)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Delete":this.onDeleteKey(t);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,i);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!t.metaKey&&h.BF.isPrintableCharacter(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key))}}onFilterKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0)}}onFilterBlur(t){this.focusedOptionIndex.set(-1)}onArrowDownKey(t){const i=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,i),!this.overlayVisible&&this.show(),t.preventDefault()}changeFocusedOptionIndex(t,i){if(this.focusedOptionIndex()!==i&&(this.focusedOptionIndex.set(i),this.scrollInView(),this.selectOnFocus)){const n=this.visibleOptions()[i];this.onOptionSelect(t,n,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(t=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const n=d.D.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedOptionId}"]`);n?n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==t?t:this.focusedOptionIndex())},0)}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}hasSelectedOption(){return void 0!==this.modelValue()}isValidSelectedOption(t){return this.isValidOption(t)&&this.isSelected(t)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t}findFirstOptionIndex(){return this.visibleOptions().findIndex(t=>this.isValidOption(t))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}findNextOptionIndex(t){const i=tthis.isValidOption(n)):-1;return i>-1?i+t+1:t}findPrevOptionIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleOptions().slice(0,t),n=>this.isValidOption(n)):-1;return i>-1?i:t}findLastOptionIndex(){return h.BF.findLastIndex(this.visibleOptions(),t=>this.isValidOption(t))}findLastFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t}isValidOption(t){return t&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))}isOptionGroup(t){return this.optionGroupLabel&&t.optionGroup&&t.group}onArrowUpKey(t,i=!1){if(t.altKey&&!i){if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(),t.preventDefault()}else{const n=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()}}onArrowLeftKey(t,i=!1){i&&this.focusedOptionIndex.set(-1)}onDeleteKey(t){this.showClear&&(this.clear(t),t.preventDefault())}onHomeKey(t,i=!1){i?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex.set(-1)):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()}onEndKey(t,i=!1){if(i){const n=t.currentTarget,s=n.value.length;n.setSelectionRange(s,s),this.focusedOptionIndex.set(-1)}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()}onPageDownKey(t){this.scrollInView(this.visibleOptions().length-1),t.preventDefault()}onPageUpKey(t){this.scrollInView(0),t.preventDefault()}onSpaceKey(t,i=!1){!this.editable&&!i&&this.onEnterKey(t)}onEnterKey(t){if(this.overlayVisible){if(-1!==this.focusedOptionIndex()){const i=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,i)}this.hide()}else this.onArrowDownKey(t);t.preventDefault()}onEscapeKey(t){this.overlayVisible&&this.hide(!0),t.preventDefault()}onTabKey(t,i=!1){if(!i)if(this.overlayVisible&&this.hasFocusableElements())d.D.focus(t.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),t.preventDefault();else{if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(this.filter)}}onFirstHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getFirstFocusableElement(this.overlayViewChild.el.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild.nativeElement;d.D.focus(i)}onLastHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;d.D.focus(i)}hasFocusableElements(){return d.D.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(t,i=!1){i&&!this.overlayVisible&&this.show()}searchFields(){return this.filterFields||[this.optionLabel]}searchOptions(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedOptionIndex()?(n=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)),n=-1===n?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)):n+this.focusedOptionIndex()):n=this.visibleOptions().findIndex(l=>this.isOptionMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedOptionIndex()&&(n=this.findFirstFocusedOptionIndex()),-1!==n&&this.changeFocusedOptionIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}isOptionMatched(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(t){let i=t.target.value?.trim();this._filterValue.set(i),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:t,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),this.cd.markForCheck()}applyFocus(){this.editable?d.D.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():d.D.focus(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(t){this.updateModel(null,t),this.updateEditableLabel(),this.onChange.emit({originalEvent:t,value:this.value}),this.onClear.emit(t)}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.E),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdown"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(zn,5),e.GBs(Hn,5),e.GBs(Yn,5),e.GBs($n,5),e.GBs(An,5),e.GBs(Xn,5),e.GBs(Kn,5),e.GBs(Un,5),e.GBs(Qn,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.filterViewChild=s.first),e.mGM(s=e.lsd())&&(n.focusInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.editableInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.itemsViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first),e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.firstHiddenFocusableElementOnOverlay=s.first),e.mGM(s=e.lsd())&&(n.lastHiddenFocusableElementOnOverlay=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused||n.overlayVisible)},inputs:{id:"id",scrollHeight:"scrollHeight",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:"focusOnHover",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus",autofocusFilter:"autofocusFilter",disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[e.Jv_([Xo])],decls:11,vars:20,consts:[["container",""],["overlay",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["items",""],["emptyFilter",""],["empty",""],[3,"click","ngClass","ngStyle"],["role","combobox","pAutoFocus","",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-dropdown-trigger"],["class","p-dropdown-trigger-icon",4,"ngIf"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["pTemplate","content"],["role","combobox","pAutoFocus","",3,"focus","blur","keydown","ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"input","keydown","focus","blur","ngClass","disabled"],[3,"styleClass","click",4,"ngIf"],["class","p-dropdown-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-dropdown-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-dropdown-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-dropdown-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-dropdown-header",3,"click",4,"ngIf"],[1,"p-dropdown-items-wrapper"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],[1,"p-dropdown-header",3,"click"],[1,"p-dropdown-filter-container"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"input","keydown","blur","value"],["class","p-dropdown-filter-icon",4,"ngIf"],[1,"p-dropdown-filter-icon"],[3,"onLazyLoad","items","itemSize","autoSize","lazy","options"],["pTemplate","loader"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","p-dropdown-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-dropdown-item-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize"],[1,"p-dropdown-empty-message",3,"ngStyle"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",14,0),e.bIt("click",function(r){return e.eBV(s),e.Njj(n.onContainerClick(r))}),e.DNE(2,to,6,21,"span",15)(3,io,2,5,"input",16)(4,lo,3,2,"ng-container",17),e.j41(5,"div",18),e.DNE(6,po,3,2,"ng-container",17)(7,mo,2,1,"span",19),e.k0s(),e.j41(8,"p-overlay",20,1),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.overlayVisible,r)||(n.overlayVisible=r),e.Njj(r)}),e.bIt("onAnimationStart",function(r){return e.eBV(s),e.Njj(n.onOverlayAnimationStart(r))})("onHide",function(){return e.eBV(s),e.Njj(n.hide())}),e.DNE(10,Ao,13,19,"ng-template",21),e.k0s()()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass)("ngStyle",n.style),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",!n.editable),e.R7$(),e.Y8G("ngIf",n.editable),e.R7$(),e.Y8G("ngIf",n.isVisibleClearIcon),e.R7$(),e.BMQ("aria-expanded",n.overlayVisible)("data-pc-section","trigger"),e.R7$(),e.Y8G("ngIf",!n.dropdownIconTemplate),e.R7$(),e.Y8G("ngIf",n.dropdownIconTemplate),e.R7$(),e.R50("visible",n.overlayVisible),e.Y8G("options",n.overlayOptions)("target","@parent")("appendTo",n.appendTo)("autoZIndex",n.autoZIndex)("baseZIndex",n.baseZIndex)("showTransitionOptions",n.showTransitionOptions)("hideTransitionOptions",n.hideTransitionOptions))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,ve,g.Ei,j.m,we,Ui,F.A,A,Ie,Ko],styles:["@layer primeng{.p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;opacity:0}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-item-group{cursor:auto}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}}\n"],encapsulation:2,changeDetection:0})}return o})(),oe=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,ye,g.Gg,j.S,E.Z,K,Qi,F.A,A,Ie,ye,g.Gg,K]})}return o})(),U=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Se=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var H=I(2242);const Uo=["input"],Qo=(o,a,t)=>({"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":o,"p-inputnumber-buttons-horizontal":a,"p-inputnumber-buttons-vertical":t}),De=()=>({"p-inputnumber-button p-inputnumber-button-up":!0}),Ee=()=>({"p-inputnumber-button p-inputnumber-button-down":!0});function qo(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",8),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.k0s()}2&o&&(e.Y8G("ngClass","p-inputnumber-clear-icon"),e.BMQ("data-pc-section","clearIcon"))}function Wo(o,a){}function Zo(o,a){1&o&&e.DNE(0,Wo,0,0,"ng-template")}function Jo(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",9),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.DNE(1,Zo,1,0,null,10),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function es(o,a){if(1&o&&(e.qex(0),e.DNE(1,qo,1,2,"TimesIcon",6)(2,Jo,2,2,"span",7),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ts(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function is(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ns(o,a){}function os(o,a){1&o&&e.DNE(0,ns,0,0,"ng-template")}function ss(o,a){if(1&o&&(e.qex(0),e.DNE(1,is,1,1,"AngleUpIcon",3)(2,os,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function as(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function ls(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function rs(o,a){}function cs(o,a){1&o&&e.DNE(0,rs,0,0,"ng-template")}function ds(o,a){if(1&o&&(e.qex(0),e.DNE(1,ls,1,1,"AngleDownIcon",3)(2,cs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function ps(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",11)(1,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(2,ts,1,2,"span",13)(3,ss,3,2,"ng-container",3),e.k0s(),e.j41(4,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(5,as,1,2,"span",13)(6,ds,3,2,"ng-container",3),e.k0s()()}if(2&o){const t=e.XpG();e.BMQ("data-pc-section","buttonGroup"),e.R7$(),e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(17,De))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon),e.R7$(),e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(18,Ee))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section",t.decrementbutton),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}function us(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function hs(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ms(o,a){}function _s(o,a){1&o&&e.DNE(0,ms,0,0,"ng-template")}function gs(o,a){if(1&o&&(e.qex(0),e.DNE(1,hs,1,1,"AngleUpIcon",3)(2,_s,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function fs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(1,us,1,2,"span",13)(2,gs,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(8,De))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon)}}function bs(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function vs(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function ys(o,a){}function Cs(o,a){1&o&&e.DNE(0,ys,0,0,"ng-template")}function ws(o,a){if(1&o&&(e.qex(0),e.DNE(1,vs,1,1,"AngleDownIcon",3)(2,Cs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function Is(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(1,bs,1,2,"span",13)(2,ws,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(8,Ee))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","decrementbutton"),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}const xs={provide:R.kq,useExisting:(0,e.Rfq)(()=>Re),multi:!0};let Re=(()=>{class o{document;el;cd;injector;showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;style;placeholder;size;maxlength;tabindex;title;ariaLabelledBy;ariaLabel;ariaRequired;name;required;autocomplete;min;max;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly=!1;step=1;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1),this._disabled=t,this.timer&&this.clearTimer()}onInput=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onKeyDown=new e.bkB;onClear=new e.bkB;input;templates;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;value;onModelChange=()=>{};onModelTouched=()=>{};focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_group;_minusSign;_currency;_prefix;_suffix;_index;_disabled;ngControl=null;constructor(t,i,n,s){this.document=t,this.el=i,this.cd=n,this.injector=s}ngOnChanges(t){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(n=>!!t[n])&&this.updateConstructParser()}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"clearicon":this.clearIconTemplate=t.template;break;case"incrementbuttonicon":this.incrementButtonIconTemplate=t.template;break;case"decrementbuttonicon":this.decrementButtonIconTemplate=t.template}})}ngOnInit(){this.ngControl=this.injector.get(R.vO,null,{optional:!0}),this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const t=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(t.map((n,s)=>[n,s]));this._numeral=new RegExp(`[${t.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=n=>i.get(n)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const t=new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1});return new RegExp(`[${t.format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=t.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${t.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const t=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${t.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=t.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=t.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(t){if(null!=t){if("-"===t)return t;if(this.format){let n=new Intl.NumberFormat(this.locale,this.getOptions()).format(t);return this.prefix&&(n=this.prefix+n),this.suffix&&(n+=this.suffix),n}return t.toString()}return""}parseValue(t){let i=t.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(i){if("-"===i)return i;let n=+i;return isNaN(n)?null:n}return null}repeat(t,i,n){if(this.readonly)return;let s=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(t,40,n)},s),this.spin(t,n)}spin(t,i){let n=this.step*i,s=this.parseValue(this.input?.nativeElement.value)||0,l=this.validateValue(s+n);this.maxlength&&this.maxlength0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i-1)+s.slice(i)}else"currency"===this.mode&&-1!=r.search(this._currency)&&(l=s.slice(1));this.updateValue(t,l,null,"delete-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Delete":if(t.preventDefault(),i===n){const r=s.charAt(i),{decimalCharIndex:c,decimalCharIndexWithoutPrefix:p}=this.getDecimalCharIndexes(s);if(this.isNumeralChar(r)){const u=this.getDecimalLength(s);if(this._group.test(r))this._group.lastIndex=0,l=s.slice(0,i)+s.slice(i+2);else if(this._decimal.test(r))this._decimal.lastIndex=0,u?this.input?.nativeElement.setSelectionRange(i+1,i+1):l=s.slice(0,i)+s.slice(i+1);else if(c>0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i)+s.slice(i+1)}this.updateValue(t,l,null,"delete-back-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Home":this.min&&(this.updateModel(t,this.min),t.preventDefault());break;case"End":this.max&&(this.updateModel(t,this.max),t.preventDefault())}this.onKeyDown.emit(t)}onInputKeyPress(t){if(this.readonly)return;let i=t.which||t.keyCode,n=String.fromCharCode(i);const s=this.isDecimalSign(n),l=this.isMinusSign(n);13!=i&&t.preventDefault();const r=this.parseValue(this.input.nativeElement.value+n),c=null!=r?r.toString():"";this.maxlength&&c.length>this.maxlength||(48<=i&&i<=57||l||s)&&this.insert(t,n,{isDecimalSign:s,isMinusSign:l})}onPaste(t){if(!this.disabled&&!this.readonly){t.preventDefault();let i=(t.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(i){this.maxlength&&(i=i.toString().substring(0,this.maxlength));let n=this.parseValue(i);null!=n&&this.insert(t,n.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(t){return!(!this._minusSign.test(t)&&"-"!==t||(this._minusSign.lastIndex=0,0))}isDecimalSign(t){return!!this._decimal.test(t)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(t){let i=t.search(this._decimal);this._decimal.lastIndex=0;const s=t.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:s}}getCharIndexes(t){const i=t.search(this._decimal);this._decimal.lastIndex=0;const n=t.search(this._minusSign);this._minusSign.lastIndex=0;const s=t.search(this._suffix);this._suffix.lastIndex=0;const l=t.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:n,suffixCharIndex:s,currencyCharIndex:l}}insert(t,i,n={isDecimalSign:!1,isMinusSign:!1}){const s=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==s)return;let l=this.input?.nativeElement.selectionStart,r=this.input?.nativeElement.selectionEnd,c=this.input?.nativeElement.value.trim();const{decimalCharIndex:p,minusCharIndex:u,suffixCharIndex:_,currencyCharIndex:b}=this.getCharIndexes(c);let f;if(n.isMinusSign)0===l&&(f=c,(-1===u||0!==r)&&(f=this.insertText(c,i,0,r)),this.updateValue(t,f,i,"insert"));else if(n.isDecimalSign)p>0&&l===p?this.updateValue(t,c,i,"insert"):(p>l&&p0&&l>p){if(l+i.length-(p+1)<=w){const y=b>=l?b-1:_>=l?_:c.length;f=c.slice(0,l)+i+c.slice(l+i.length,y)+c.slice(y),this.updateValue(t,f,i,C)}}else f=this.insertText(c,i,l,r),this.updateValue(t,f,i,C)}}insertText(t,i,n,s){if(2===("."===i?i:i.split(".")).length){const r=t.slice(n,s).search(this._decimal);return this._decimal.lastIndex=0,r>0?t.slice(0,n)+this.formatValue(i)+t.slice(s):t||this.formatValue(i)}return s-n===t.length?this.formatValue(i):0===n?i+t.slice(s):s===t.length?t.slice(0,n)+i:t.slice(0,n)+i+t.slice(s)}deleteRange(t,i,n){let s;return s=n-i===t.length?"":0===i?t.slice(n):n===t.length?t.slice(0,i):t.slice(0,i)+t.slice(n),s}initCursor(){let t=this.input?.nativeElement.selectionStart,i=this.input?.nativeElement.value,n=i.length,s=null,l=(this.prefixChar||"").length;i=i.replace(this._prefix,""),t-=l;let r=i.charAt(t);if(this.isNumeralChar(r))return t+l;let c=t-1;for(;c>=0;){if(r=i.charAt(c),this.isNumeralChar(r)){s=c+l;break}c--}if(null!==s)this.input?.nativeElement.setSelectionRange(s+1,s+1);else{for(c=t;cthis.max?this.max:t}updateInput(t,i,n,s){i=i||"";let l=this.input?.nativeElement.value,r=this.formatValue(t),c=l.length;if(r!==s&&(r=this.concatValues(r,s)),0===c){this.input.nativeElement.value=r,this.input.nativeElement.setSelectionRange(0,0);const u=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(u,u)}else{let p=this.input.nativeElement.selectionStart,u=this.input.nativeElement.selectionEnd;if(this.maxlength&&r.length>this.maxlength&&(r=r.slice(0,this.maxlength),p=Math.min(p,this.maxlength),u=Math.min(u,this.maxlength)),this.maxlength&&this.maxlength0}clearTimer(){this.timer&&clearInterval(this.timer)}getFormatter(){return this.numberFormat}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.zZn))};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputNumber"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&e.GBs(Uo,5),2&i){let s;e.mGM(s=e.lsd())&&(n.input=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused)("p-inputnumber-clearable",n.showClear&&"vertical"!=n.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[e.Jv_([xs]),e.OA$],decls:7,vars:39,consts:[["input",""],[3,"ngClass","ngStyle"],["pInputText","","role","spinbutton","inputmode","decimal",3,"input","keydown","keypress","paste","click","focus","blur","ngClass","ngStyle","value","disabled","readonly"],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","class","p-button-icon-only","tabindex","-1",3,"ngClass","class","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],["class","p-inputnumber-clear-icon",3,"click",4,"ngIf"],[3,"click","ngClass"],[1,"p-inputnumber-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[1,"p-inputnumber-button-group"],["type","button","pButton","","tabindex","-1",1,"p-button-icon-only",3,"mousedown","mouseup","mouseleave","keydown","keyup","ngClass","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"span",1)(1,"input",2,0),e.bIt("input",function(r){return e.eBV(s),e.Njj(n.onUserInput(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.onInputKeyDown(r))})("keypress",function(r){return e.eBV(s),e.Njj(n.onInputKeyPress(r))})("paste",function(r){return e.eBV(s),e.Njj(n.onPaste(r))})("click",function(){return e.eBV(s),e.Njj(n.onInputClick())})("focus",function(r){return e.eBV(s),e.Njj(n.onInputFocus(r))})("blur",function(r){return e.eBV(s),e.Njj(n.onInputBlur(r))}),e.k0s(),e.DNE(3,es,3,2,"ng-container",3)(4,ps,7,19,"span",4)(5,fs,3,9,"button",5)(6,Is,3,9,"button",5),e.k0s()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.sMw(35,Qo,n.showButtons&&"stacked"===n.buttonLayout,n.showButtons&&"horizontal"===n.buttonLayout,n.showButtons&&"vertical"===n.buttonLayout))("ngStyle",n.style),e.BMQ("data-pc-name","inputnumber")("data-pc-section","root"),e.R7$(),e.HbH(n.inputStyleClass),e.Y8G("ngClass","p-inputnumber-input")("ngStyle",n.inputStyle)("value",n.formattedValue())("disabled",n.disabled)("readonly",n.readonly),e.BMQ("id",n.inputId)("aria-valuemin",n.min)("aria-valuemax",n.max)("aria-valuenow",n.value)("placeholder",n.placeholder)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledBy)("title",n.title)("size",n.size)("name",n.name)("autocomplete",n.autocomplete)("maxlength",n.maxlength)("tabindex",n.tabindex)("aria-required",n.ariaRequired)("required",n.required)("min",n.min)("max",n.max)("data-pc-section","input"),e.R7$(2),e.Y8G("ngIf","vertical"!=n.buttonLayout&&n.showClear&&n.value),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"===n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,H.S,M._f,F.A,Se,U],styles:["@layer primeng{p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),se=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,H.u,M.tm,F.A,Se,U,g.Gg]})}return o})(),Me=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Fe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Q=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const q=o=>({"p-disabled":o}),ae=o=>({$implicit:o}),Ts=o=>({"p-highlight":o});function ks(o,a){1&o&&e.eu8(0)}function Ss(o,a){if(1&o&&(e.j41(0,"div",15),e.DNE(1,ks,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","start"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateLeft)("ngTemplateOutletContext",e.eq3(3,ae,t.paginatorState))}}function Ds(o,a){if(1&o&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.JRh(t.currentPageReport)}}function Es(o,a){1&o&&e.nrm(0,"AngleDoubleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Rs(o,a){}function Ms(o,a){1&o&&e.DNE(0,Rs,0,0,"ng-template")}function Fs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Ms,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.firstPageLinkIconTemplate)}}function Gs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",18),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToFirst(n))}),e.DNE(1,Es,1,1,"AngleDoubleLeftIcon",6)(2,Fs,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(5,q,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("firstPageLabel")),e.R7$(),e.Y8G("ngIf",!t.firstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.firstPageLinkIconTemplate)}}function Vs(o,a){1&o&&e.nrm(0,"AngleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Bs(o,a){}function Os(o,a){1&o&&e.DNE(0,Bs,0,0,"ng-template")}function Ls(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Os,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousPageLinkIconTemplate)}}function Ns(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.onPageLinkClick(n,s-1))}),e.EFF(1),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(3);e.Y8G("ngClass",e.eq3(3,Ts,t-1==i.getPage())),e.BMQ("aria-label",i.getAriaLabel("pageLabel")),e.R7$(),e.SpI(" ",i.getLocalization(t)," ")}}function js(o,a){if(1&o&&(e.j41(0,"span",22),e.DNE(1,Ns,2,5,"button",23),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.pageLinks)}}function Ps(o,a){if(1&o&&e.EFF(0),2&o){const t=e.XpG(3);e.JRh(t.currentPageReport)}}function zs(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",25),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onPageDropdownChange(n))}),e.DNE(1,Ps,1,1,"ng-template",26),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.pageItems)("ngModel",t.getPage())("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight),e.BMQ("aria-label",t.getAriaLabel("jumpToPageDropdownLabel"))}}function Hs(o,a){1&o&&e.nrm(0,"AngleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ys(o,a){}function $s(o,a){1&o&&e.DNE(0,Ys,0,0,"ng-template")}function As(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,$s,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextPageLinkIconTemplate)}}function Xs(o,a){1&o&&e.nrm(0,"AngleDoubleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ks(o,a){}function Us(o,a){1&o&&e.DNE(0,Ks,0,0,"ng-template")}function Qs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Us,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.lastPageLinkIconTemplate)}}function qs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",27),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToLast(n))}),e.DNE(1,Xs,1,1,"AngleDoubleRightIcon",6)(2,Qs,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(5,q,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("lastPageLabel")),e.R7$(),e.Y8G("ngIf",!t.lastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.lastPageLinkIconTemplate)}}function Ws(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-inputNumber",28),e.bIt("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePage(n-1))}),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("ngModel",t.currentPage())("disabled",t.empty())}}function Zs(o,a){1&o&&e.eu8(0)}function Js(o,a){if(1&o&&e.DNE(0,Zs,1,0,"ng-container",16),2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",e.eq3(2,ae,t))}}function ea(o,a){1&o&&(e.qex(0),e.DNE(1,Js,1,4,"ng-template",31),e.bVm())}function ta(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",29),e.mxI("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.DH7(s.rows,n)||(s.rows=n),e.Njj(n)}),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onRppChange(n))}),e.DNE(1,ea,2,0,"ng-container",30),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.rowsPerPageItems),e.R50("ngModel",t.rows),e.Y8G("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight)("ariaLabel",t.getAriaLabel("rowsPerPageLabel")),e.R7$(),e.Y8G("ngIf",t.dropdownItemTemplate)}}function ia(o,a){1&o&&e.eu8(0)}function na(o,a){if(1&o&&(e.j41(0,"div",32),e.DNE(1,ia,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","end"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateRight)("ngTemplateOutletContext",e.eq3(3,ae,t.paginatorState))}}function oa(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",1),e.DNE(1,Ss,2,5,"div",2)(2,Ds,2,1,"span",3)(3,Gs,3,7,"button",4),e.j41(4,"button",5),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToPrev(n))}),e.DNE(5,Vs,1,1,"AngleLeftIcon",6)(6,Ls,2,1,"span",7),e.k0s(),e.DNE(7,js,2,1,"span",8)(8,zs,2,6,"p-dropdown",9),e.j41(9,"button",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToNext(n))}),e.DNE(10,Hs,1,1,"AngleRightIcon",6)(11,As,2,1,"span",7),e.k0s(),e.DNE(12,qs,3,7,"button",11)(13,Ws,1,2,"p-inputNumber",12)(14,ta,2,7,"p-dropdown",13)(15,na,2,5,"div",14),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass","p-paginator p-component"),e.BMQ("data-pc-section","paginator")("data-pc-section","root"),e.R7$(),e.Y8G("ngIf",t.templateLeft),e.R7$(),e.Y8G("ngIf",t.showCurrentPageReport),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(25,q,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("prevPageLabel")),e.R7$(),e.Y8G("ngIf",!t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showPageLinks),e.R7$(),e.Y8G("ngIf",t.showJumpToPageDropdown),e.R7$(),e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(27,q,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("nextPageLabel")),e.R7$(),e.Y8G("ngIf",!t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("ngIf",t.showJumpToPageInput),e.R7$(),e.Y8G("ngIf",t.rowsPerPageOptions),e.R7$(),e.Y8G("ngIf",t.templateRight)}}let sa=(()=>{class o{cd;config;pageLinkSize=5;style;styleClass;alwaysShow=!0;dropdownAppendTo;templateLeft;templateRight;appendTo;dropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showFirstLastIcon=!0;totalRecords=0;rows=0;rowsPerPageOptions;showJumpToPageDropdown;showJumpToPageInput;showPageLinks=!0;locale;dropdownItemTemplate;get first(){return this._first}set first(t){this._first=t}onPageChange=new e.bkB;templates;firstPageLinkIconTemplate;previousPageLinkIconTemplate;lastPageLinkIconTemplate;nextPageLinkIconTemplate;pageLinks;pageItems;rowsPerPageItems;paginatorState;_first=0;_page=0;constructor(t,i){this.cd=t,this.config=i}ngOnInit(){this.updatePaginatorState()}getAriaLabel(t){return this.config.translation.aria?this.config.translation.aria[t]:void 0}getLocalization(t){const i=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),n=new Map(i.map((s,l)=>[l,s]));return t>9?String(t).split("").map(l=>n.get(Number(l))).join(""):n.get(t)}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"firstpagelinkicon":this.firstPageLinkIconTemplate=t.template;break;case"previouspagelinkicon":this.previousPageLinkIconTemplate=t.template;break;case"lastpagelinkicon":this.lastPageLinkIconTemplate=t.template;break;case"nextpagelinkicon":this.nextPageLinkIconTemplate=t.template}})}ngOnChanges(t){t.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),t.first&&(this._first=t.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),t.rows&&(this.updatePageLinks(),this.updatePaginatorState()),t.rowsPerPageOptions&&this.updateRowsPerPageOptions()}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];for(let t of this.rowsPerPageOptions)"object"==typeof t&&t.showAll?this.rowsPerPageItems.unshift({label:t.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(this.getLocalization(t)),value:t})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let t=this.getPageCount(),i=Math.min(this.pageLinkSize,t),n=Math.max(0,Math.ceil(this.getPage()-i/2)),s=Math.min(t-1,n+i-1);return n=Math.max(0,n-(this.pageLinkSize-(s-n+1))),[n,s]}updatePageLinks(){this.pageLinks=[];let t=this.calculatePageLinkBoundaries(),n=t[1];for(let s=t[0];s<=n;s++)this.pageLinks.push(s+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let s=0;s=0&&t0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(t-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(t){this.isFirstPage()||this.changePage(0),t.preventDefault()}changePageToPrev(t){this.changePage(this.getPage()-1),t.preventDefault()}changePageToNext(t){this.changePage(this.getPage()+1),t.preventDefault()}changePageToLast(t){this.isLastPage()||this.changePage(this.getPageCount()-1),t.preventDefault()}onPageLinkClick(t,i){this.changePage(i),t.preventDefault()}onRppChange(t){this.changePage(this.getPage())}onPageDropdownChange(t){this.changePage(t.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}empty(){return 0===this.getPageCount()}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.currentPage())).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-paginator"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",dropdownAppendTo:"dropdownAppendTo",templateLeft:"templateLeft",templateRight:"templateRight",appendTo:"appendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showPageLinks:"showPageLinks",locale:"locale",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[e.OA$],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"click","disabled","ngClass"],[3,"styleClass",4,"ngIf"],["class","p-paginator-icon",4,"ngIf"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"click","disabled","ngClass"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-page-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ariaLabel","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-paginator-element","p-link",3,"click","disabled","ngClass"],[3,"styleClass"],[1,"p-paginator-icon"],[4,"ngTemplateOutlet"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"click","ngClass"],["styleClass","p-paginator-page-options",3,"onChange","options","ngModel","disabled","appendTo","scrollHeight"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"click","disabled","ngClass"],[1,"p-paginator-page-input",3,"ngModelChange","ngModel","disabled"],["styleClass","p-paginator-rpp-options",3,"ngModelChange","onChange","options","ngModel","disabled","appendTo","scrollHeight","ariaLabel"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(i,n){1&i&&e.DNE(0,oa,16,29,"div",0),2&i&&e.Y8G("ngIf",!!n.alwaysShow||n.pageLinks&&n.pageLinks.length>1)},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,ke,g.Ei,Re,R.BC,R.vS,E.n,Me,Fe,Ge,Q],styles:["@layer primeng{.p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),aa=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,oe,se,R.YN,g.Gg,E.Z,Me,Fe,Ge,Q,oe,se,R.YN,g.Gg]})}return o})();const la=["container"],ra=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-button-icon-only":t}),ca=(o,a)=>({$implicit:o,index:a});function da(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2).$implicit;e.HbH(t.icon),e.Y8G("ngClass","p-button-icon p-button-icon-left"),e.BMQ("data-pc-section","icon")}}function pa(o,a){if(1&o&&(e.qex(0),e.DNE(1,da,1,4,"span",6),e.j41(2,"span",7),e.EFF(3),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.BMQ("data-pc-section","label"),e.R7$(),e.JRh(i.getOptionLabel(t))}}function ua(o,a){1&o&&e.eu8(0)}function ha(o,a){if(1&o&&e.DNE(0,ua,1,0,"ng-container",9),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.Y8G("ngTemplateOutlet",s.selectButtonTemplate)("ngTemplateOutletContext",e.l_i(2,ca,i,n))}}function ma(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",4),e.bIt("click",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onOptionSelect(n,l,r))})("keydown",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onKeyDown(n,l,r))})("focus",function(n){const s=e.eBV(t).index,l=e.XpG();return e.Njj(l.onFocus(n,s))})("blur",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onBlur())}),e.DNE(1,pa,4,3,"ng-container",5)(2,ha,1,5,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.sdS(3),s=e.XpG();e.HbH(t.styleClass),e.Y8G("role",s.multiple?"checkbox":"radio")("ngClass",e.sMw(14,ra,s.isSelected(t),s.disabled||s.isOptionDisabled(t),t.icon&&!s.getOptionLabel(t))),e.BMQ("tabindex",i===s.focusedIndex?"0":"-1")("aria-label",t.label)("aria-checked",s.isSelected(t))("aria-disabled",s.optionDisabled)("aria-pressed",s.isSelected(t))("title",t.title)("aria-labelledby",s.getOptionLabel(t))("data-pc-section","button"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate)("ngIfElse",n)}}const _a={provide:R.kq,useExisting:(0,e.Rfq)(()=>ga),multi:!0};let ga=(()=>{class o{cd;options;optionLabel;optionValue;optionDisabled;unselectable=!1;tabindex=0;multiple;allowEmpty=!0;style;styleClass;ariaLabelledBy;disabled;dataKey;onOptionClick=new e.bkB;onChange=new e.bkB;container;itemTemplate;get selectButtonTemplate(){return this.itemTemplate?.template}get equalityKey(){return this.optionValue?null:this.dataKey}value;onModelChange=()=>{};onModelTouched=()=>{};focusedIndex=0;constructor(t){this.cd=t}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):this.optionLabel||void 0===t.value?t:t.value}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):void 0!==t.disabled&&t.disabled}writeValue(t){this.value=t,this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onOptionSelect(t,i,n){if(this.disabled||this.isOptionDisabled(i))return;let s=this.isSelected(i);if(s&&this.unselectable)return;let r,l=this.getOptionValue(i);if(this.multiple)r=s?this.value.filter(c=>!h.BF.equals(c,l,this.equalityKey)):this.value?[...this.value,l]:[l];else{if(s&&!this.allowEmpty)return;r=s?null:l}this.focusedIndex=n,this.value=r,this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value}),this.onOptionClick.emit({originalEvent:t,option:i,index:n})}onKeyDown(t,i,n){switch(t.code){case"Space":this.onOptionSelect(t,i,n),t.preventDefault();break;case"ArrowDown":case"ArrowRight":this.changeTabIndexes(t,"next"),t.preventDefault();break;case"ArrowUp":case"ArrowLeft":this.changeTabIndexes(t,"prev"),t.preventDefault()}}changeTabIndexes(t,i){let n,s;for(let l=0;l<=this.container.nativeElement.children.length-1;l++)"0"===this.container.nativeElement.children[l].getAttribute("tabindex")&&(n={elem:this.container.nativeElement.children[l],index:l});s="prev"===i?0===n.index?this.container.nativeElement.children.length-1:n.index-1:n.index===this.container.nativeElement.children.length-1?0:n.index+1,this.focusedIndex=s,this.container.nativeElement.children[s].focus()}onFocus(t,i){this.focusedIndex=i}onBlur(){this.onModelTouched()}removeOption(t){this.value=this.value.filter(i=>!h.BF.equals(i,this.getOptionValue(t),this.dataKey))}isSelected(t){let i=!1;const n=this.getOptionValue(t);if(this.multiple){if(this.value&&Array.isArray(this.value))for(let s of this.value)if(h.BF.equals(s,n,this.dataKey)){i=!0;break}}else i=h.BF.equals(this.getOptionValue(t),this.value,this.equalityKey);return i}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-selectButton"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,5),2&i){let l;e.mGM(l=e.lsd())&&(n.itemTemplate=l.first)}},viewQuery:function(i,n){if(1&i&&e.GBs(la,5),2&i){let s;e.mGM(s=e.lsd())&&(n.container=s.first)}},hostAttrs:[1,"p-element"],inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",unselectable:"unselectable",tabindex:"tabindex",multiple:"multiple",allowEmpty:"allowEmpty",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[e.Jv_([_a])],decls:3,vars:8,consts:[["container",""],["customcontent",""],["role","group",3,"ngClass","ngStyle"],["pRipple","","class","p-button p-component",3,"role","class","ngClass","click","keydown","focus","blur",4,"ngFor","ngForOf"],["pRipple","",1,"p-button","p-component",3,"click","keydown","focus","blur","role","ngClass"],[4,"ngIf","ngIfElse"],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"div",2,0),e.DNE(2,ma,4,18,"div",3),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",n.style),e.BMQ("aria-labelledby",n.ariaLabelledBy)("data-pc-name","selectbutton")("data-pc-section","root"),e.R7$(2),e.Y8G("ngForOf",n.options))},dependencies:[m.YU,m.Sq,m.bT,m.T3,m.B3,E.n],styles:['@layer primeng{.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}p-button[iconpos=right] spinnericon{order:1}}\n'],encapsulation:2,changeDetection:0})}return o})(),fa=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,E.Z,g.Gg,g.Gg]})}return o})(),le=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CheckIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const ba=(o,a)=>({"p-checkbox p-component":!0,"p-checkbox-disabled":o,"p-checkbox-focused":a}),va=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-focus":t}),ya=(o,a,t)=>({"p-checkbox-label-active":o,"p-disabled":a,"p-checkbox-label-focus":t});function Ca(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxTrueIcon),e.BMQ("data-pc-section","checkIcon")}}function wa(o,a){1&o&&e.nrm(0,"CheckIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","checkIcon"))}function Ia(o,a){}function xa(o,a){1&o&&e.DNE(0,Ia,0,0,"ng-template")}function Ta(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,xa,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","checkIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.checkIconTemplate)}}function ka(o,a){if(1&o&&(e.qex(0),e.DNE(1,wa,1,2,"CheckIcon",9)(2,Ta,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.checkIconTemplate),e.R7$(),e.Y8G("ngIf",t.checkIconTemplate)}}function Sa(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ca,1,2,"span",7)(2,ka,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxTrueIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxTrueIcon)}}function Da(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxFalseIcon),e.BMQ("data-pc-section","uncheckIcon")}}function Ea(o,a){1&o&&e.nrm(0,"TimesIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","uncheckIcon"))}function Ra(o,a){}function Ma(o,a){1&o&&e.DNE(0,Ra,0,0,"ng-template")}function Fa(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,Ma,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","uncheckIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.uncheckIconTemplate)}}function Ga(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ea,1,2,"TimesIcon",9)(2,Fa,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.uncheckIconTemplate),e.R7$(),e.Y8G("ngIf",t.uncheckIconTemplate)}}function Va(o,a){if(1&o&&(e.qex(0),e.DNE(1,Da,1,2,"span",7)(2,Ga,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxFalseIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxFalseIcon)}}function Ba(o,a){if(1&o){const t=e.RV6();e.j41(0,"label",14),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(),l=e.sdS(3);return e.Njj(s.onClick(n,l))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",e.sMw(3,ya,null!=t.value,t.disabled,t.focused)),e.BMQ("for",t.inputId),e.R7$(),e.JRh(t.label)}}const Oa={provide:R.kq,useExisting:(0,e.Rfq)(()=>La),multi:!0};let La=(()=>{class o{cd;constructor(t){this.cd=t}disabled;name;ariaLabel;ariaLabelledBy;tabindex;inputId;style;styleClass;label;readonly;checkboxTrueIcon;checkboxFalseIcon;onChange=new e.bkB;templates;checkIconTemplate;uncheckIconTemplate;focused;value;onModelChange=()=>{};onModelTouched=()=>{};onClick(t,i){!this.disabled&&!this.readonly&&(this.toggle(t),this.focused=!0,i.focus())}onKeyDown(t){"Enter"===t.key&&(this.toggle(t),t.preventDefault())}toggle(t){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value})}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"checkicon":this.checkIconTemplate=t.template;break;case"uncheckicon":this.uncheckIconTemplate=t.template}})}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}writeValue(t){this.value=t,this.cd.markForCheck()}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-triStateCheckbox"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{disabled:"disabled",name:"name",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[e.Jv_([Oa])],decls:8,vars:26,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox","inputmode","none",3,"keydown","focus","blur","name","readonly","disabled"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"],[1,"p-checkbox-label",3,"click","ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",1),e.bIt("click",function(r){e.eBV(s);const c=e.sdS(3);return e.Njj(n.onClick(r,c))}),e.j41(1,"div",2)(2,"input",3,0),e.bIt("keydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("focus",function(){return e.eBV(s),e.Njj(n.onFocus())})("blur",function(){return e.eBV(s),e.Njj(n.onBlur())}),e.k0s()(),e.j41(4,"div",4),e.DNE(5,Sa,3,2,"ng-container",5)(6,Va,3,2,"ng-container",5),e.k0s()(),e.DNE(7,Ba,2,7,"label",6)}2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.l_i(19,ba,n.disabled,n.focused)),e.BMQ("data-pc-name","tristatecheckbox")("data-pc-section","root"),e.R7$(2),e.Y8G("name",n.name)("readonly",n.readonly)("disabled",n.disabled),e.BMQ("id",n.inputId)("tabindex",n.tabindex)("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel)("data-pc-section","hiddenInput"),e.R7$(2),e.Y8G("ngClass",e.sMw(22,va,null!=n.value,n.disabled,n.focused)),e.BMQ("aria-checked",!0===n.value),e.R7$(),e.Y8G("ngIf",!0===n.value),e.R7$(),e.Y8G("ngIf",!1===n.value),e.R7$(),e.Y8G("ngIf",n.label))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,le,F.A],encapsulation:2,changeDetection:0})}return o})(),Na=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,le,F.A,g.Gg]})}return o})();var P=I(1413);let Ve=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Be=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),ja=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Oe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:9,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z","fill","currentColor"],["d","M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z","fill","currentColor"],["d","M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z","fill","currentColor"],["d","M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1)(3,"path",2)(4,"path",3)(5,"path",4),e.k0s(),e.j41(6,"defs")(7,"clipPath",5),e.nrm(8,"rect",6),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(6),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Le=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ne=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountUpAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Pa=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterSlashIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const za=["container"],Ha=["resizeHelper"],Ya=["reorderIndicatorUp"],$a=["reorderIndicatorDown"],Aa=["wrapper"],Xa=["table"],Ka=["thead"],Ua=["tfoot"],Qa=["scroller"],qa=(o,a,t)=>({"p-datatable p-component":!0,"p-datatable-hoverable-rows":o,"p-datatable-scrollable":a,"p-datatable-flex-scrollable":t}),Wa=o=>({maxHeight:o}),Za=o=>({height:o}),je=(o,a)=>({$implicit:o,options:a}),Ja=o=>({columns:o}),el=(o,a,t)=>({"p-datatable-table":!0,"p-datatable-scrollable-table":o,"p-datatable-resizable-table":a,"p-datatable-resizable-table-fit":t}),N=o=>({$implicit:o});function tl(o,a){if(1&o&&e.nrm(0,"i"),2&o){const t=e.XpG(2);e.HbH("p-datatable-loading-icon "+t.loadingIcon)}}function il(o,a){1&o&&e.nrm(0,"SpinnerIcon",26),2&o&&e.Y8G("spin",!0)("styleClass","p-datatable-loading-icon")}function nl(o,a){}function ol(o,a){1&o&&e.DNE(0,nl,0,0,"ng-template")}function sl(o,a){if(1&o&&(e.j41(0,"span",27),e.DNE(1,ol,1,0,null,28),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.loadingIconTemplate)}}function al(o,a){if(1&o&&(e.qex(0),e.DNE(1,il,1,2,"SpinnerIcon",24)(2,sl,2,1,"span",25),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.loadingIconTemplate),e.R7$(),e.Y8G("ngIf",t.loadingIconTemplate)}}function ll(o,a){if(1&o&&(e.j41(0,"div",22),e.DNE(1,tl,1,2,"i",23)(2,al,3,2,"ng-container",16),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.loadingIcon),e.R7$(),e.Y8G("ngIf",!t.loadingIcon)}}function rl(o,a){1&o&&e.eu8(0)}function cl(o,a){if(1&o&&(e.j41(0,"div",29),e.DNE(1,rl,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.captionTemplate)}}function dl(o,a){1&o&&e.eu8(0)}function pl(o,a){if(1&o&&e.DNE(0,dl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function ul(o,a){1&o&&e.DNE(0,pl,1,1,"ng-template",31)}function hl(o,a){1&o&&e.eu8(0)}function ml(o,a){if(1&o&&e.DNE(0,hl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function _l(o,a){1&o&&e.DNE(0,ml,1,1,"ng-template",32)}function gl(o,a){1&o&&e.eu8(0)}function fl(o,a){if(1&o&&e.DNE(0,gl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function bl(o,a){1&o&&e.DNE(0,fl,1,1,"ng-template",33)}function vl(o,a){1&o&&e.eu8(0)}function yl(o,a){if(1&o&&e.DNE(0,vl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Cl(o,a){1&o&&e.DNE(0,yl,1,1,"ng-template",34)}function wl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",30),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,ul,1,0,null,16)(2,_l,1,0,null,16)(3,bl,1,0,null,16)(4,Cl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Il(o,a){1&o&&e.eu8(0)}function xl(o,a){if(1&o&&e.DNE(0,Il,1,0,"ng-container",37),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(10);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,je,t,i))}}function Tl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",35,3),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLazyItemLoad(n))}),e.DNE(2,xl,1,5,"ng-template",36),e.k0s()}if(2&o){const t=e.XpG();e.Aen(e.eq3(15,Za,"flex"!==t.scrollHeight?t.scrollHeight:void 0)),e.Y8G("items",t.processedData)("columns",t.columns)("scrollHeight","flex"!==t.scrollHeight?void 0:"100%")("itemSize",t.virtualScrollItemSize||t._virtualRowHeight)("step",t.rows)("delay",t.lazy?t.virtualScrollDelay:0)("inline",!0)("lazy",t.lazy)("loaderDisabled",!0)("showSpacer",!1)("showLoader",t.loadingBodyTemplate)("options",t.virtualScrollOptions)("autoSize",!0)}}function kl(o,a){1&o&&e.eu8(0)}function Sl(o,a){if(1&o&&(e.qex(0),e.DNE(1,kl,1,0,"ng-container",37),e.bVm()),2&o){const t=e.XpG(),i=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(4,je,t.processedData,e.eq3(2,Ja,t.columns)))}}function Dl(o,a){1&o&&e.eu8(0)}function El(o,a){1&o&&e.eu8(0)}function Rl(o,a){if(1&o&&e.nrm(0,"tbody",44),2&o){const t=e.XpG().options,i=e.XpG();e.Y8G("value",i.frozenValue)("frozenRows",!0)("pTableBody",t.columns)("pTableBodyTemplate",i.frozenBodyTemplate)("frozen",!0)}}function Ml(o,a){if(1&o&&e.nrm(0,"tbody",45),2&o){const t=e.XpG().options;e.Aen("height: calc("+t.spacerStyle.height+" - "+t.rows.length*t.itemSize+"px);")}}function Fl(o,a){1&o&&e.eu8(0)}function Gl(o,a){if(1&o&&(e.j41(0,"tfoot",46,6),e.DNE(2,Fl,1,0,"ng-container",37),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",i.footerGroupedTemplate||i.footerTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.columns))}}function Vl(o,a){if(1&o&&(e.j41(0,"table",38,4),e.DNE(2,Dl,1,0,"ng-container",37),e.j41(3,"thead",39,5),e.DNE(5,El,1,0,"ng-container",37),e.k0s(),e.DNE(6,Rl,1,5,"tbody",40),e.nrm(7,"tbody",41),e.DNE(8,Ml,1,2,"tbody",42)(9,Gl,3,4,"tfoot",43),e.k0s()),2&o){const t=a.options,i=e.XpG();e.Aen(i.tableStyle),e.HbH(i.tableStyleClass),e.Y8G("ngClass",e.sMw(20,el,i.scrollable,i.resizableColumns,i.resizableColumns&&"fit"===i.columnResizeMode)),e.BMQ("id",i.id+"-table"),e.R7$(2),e.Y8G("ngTemplateOutlet",i.colGroupTemplate)("ngTemplateOutletContext",e.eq3(24,N,t.columns)),e.R7$(3),e.Y8G("ngTemplateOutlet",i.headerGroupedTemplate||i.headerTemplate)("ngTemplateOutletContext",e.eq3(26,N,t.columns)),e.R7$(),e.Y8G("ngIf",i.frozenValue||i.frozenBodyTemplate),e.R7$(),e.Aen(t.contentStyle),e.Y8G("ngClass",t.contentStyleClass)("value",i.dataToRender(t.rows))("pTableBody",t.columns)("pTableBodyTemplate",i.bodyTemplate)("scrollerOptions",t),e.R7$(),e.Y8G("ngIf",t.spacerStyle),e.R7$(),e.Y8G("ngIf",i.footerGroupedTemplate||i.footerTemplate)}}function Bl(o,a){1&o&&e.eu8(0)}function Ol(o,a){if(1&o&&e.DNE(0,Bl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function Ll(o,a){1&o&&e.DNE(0,Ol,1,1,"ng-template",31)}function Nl(o,a){1&o&&e.eu8(0)}function jl(o,a){if(1&o&&e.DNE(0,Nl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function Pl(o,a){1&o&&e.DNE(0,jl,1,1,"ng-template",32)}function zl(o,a){1&o&&e.eu8(0)}function Hl(o,a){if(1&o&&e.DNE(0,zl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function Yl(o,a){1&o&&e.DNE(0,Hl,1,1,"ng-template",33)}function $l(o,a){1&o&&e.eu8(0)}function Al(o,a){if(1&o&&e.DNE(0,$l,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Xl(o,a){1&o&&e.DNE(0,Al,1,1,"ng-template",34)}function Kl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",47),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,Ll,1,0,null,16)(2,Pl,1,0,null,16)(3,Yl,1,0,null,16)(4,Xl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Ul(o,a){1&o&&e.eu8(0)}function Ql(o,a){if(1&o&&(e.j41(0,"div",48),e.DNE(1,Ul,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.summaryTemplate)}}function ql(o,a){1&o&&e.nrm(0,"div",49,7)}function Wl(o,a){1&o&&e.nrm(0,"ArrowDownIcon")}function Zl(o,a){}function Jl(o,a){1&o&&e.DNE(0,Zl,0,0,"ng-template")}function er(o,a){if(1&o&&(e.j41(0,"span",50,8),e.DNE(2,Wl,1,0,"ArrowDownIcon",16)(3,Jl,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorUpIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorUpIconTemplate)}}function tr(o,a){1&o&&e.nrm(0,"ArrowUpIcon")}function ir(o,a){}function nr(o,a){1&o&&e.DNE(0,ir,0,0,"ng-template")}function or(o,a){if(1&o&&(e.j41(0,"span",51,9),e.DNE(2,tr,1,0,"ArrowUpIcon",16)(3,nr,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorDownIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorDownIconTemplate)}}const sr=["pTableBody",""],re=(o,a,t,i,n)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n}),ar=(o,a,t,i,n,s,l)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n,rowgroup:s,rowspan:l}),W=(o,a,t,i,n,s)=>({$implicit:o,rowIndex:a,columns:t,expanded:i,editing:n,frozen:s}),Pe=(o,a,t,i)=>({$implicit:o,rowIndex:a,columns:t,frozen:i}),ze=(o,a)=>({$implicit:o,frozen:a});function lr(o,a){1&o&&e.eu8(0)}function rr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,lr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function cr(o,a){1&o&&e.eu8(0)}function dr(o,a){if(1&o&&(e.qex(0),e.DNE(1,cr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function pr(o,a){1&o&&e.eu8(0)}function ur(o,a){if(1&o&&(e.qex(0),e.DNE(1,pr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.sGs(2,ar,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen,s.shouldRenderRowspan(s.value,i,n),s.calculateRowGroupSize(s.value,i,n)))}}function hr(o,a){1&o&&e.eu8(0)}function mr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,hr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function _r(o,a){if(1&o&&e.DNE(0,rr,2,8,"ng-container",2)(1,dr,2,8,"ng-container",0)(2,ur,2,10,"ng-container",0)(3,mr,2,8,"ng-container",2),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",n.dt.groupHeaderTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,i)),e.R7$(),e.Y8G("ngIf","rowspan"!==n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf","rowspan"===n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf",n.dt.groupFooterTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupFooter(n.value,t,i))}}function gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,_r,4,4,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function fr(o,a){1&o&&e.eu8(0)}function br(o,a){if(1&o&&(e.qex(0),e.DNE(1,fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function vr(o,a){1&o&&e.eu8(0)}function yr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,vr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function Cr(o,a){1&o&&e.eu8(0)}function wr(o,a){1&o&&e.eu8(0)}function Ir(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,wr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(2),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function xr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Cr,1,0,"ng-container",4)(2,Ir,2,9,"ng-container",2),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.expandedRowTemplate)("ngTemplateOutletContext",e.ziG(3,Pe,i,s.getRowIndex(n),s.columns,s.frozen)),e.R7$(),e.Y8G("ngIf",s.dt.groupFooterTemplate&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupFooter(s.value,i,s.getRowIndex(n)))}}function Tr(o,a){if(1&o&&e.DNE(0,br,2,9,"ng-container",0)(1,yr,2,9,"ng-container",2)(2,xr,3,8,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",!n.dt.groupHeaderTemplate),e.R7$(),e.Y8G("ngIf",n.dt.groupHeaderTemplate&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,n.getRowIndex(i))),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function kr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tr,3,3,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Sr(o,a){1&o&&e.eu8(0)}function Dr(o,a){1&o&&e.eu8(0)}function Er(o,a){if(1&o&&(e.qex(0),e.DNE(1,Dr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",e.ziG(2,Pe,i,s.getRowIndex(n),s.columns,s.frozen))}}function Rr(o,a){if(1&o&&e.DNE(0,Sr,1,0,"ng-container",4)(1,Er,2,7,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.l4e(3,W,t,n.getRowIndex(i),n.columns,n.dt.isRowExpanded(t),"row"===n.dt.editMode&&n.dt.isRowEditing(t),n.frozen)),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function Mr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Rr,2,10,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Fr(o,a){1&o&&e.eu8(0)}function Gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.l_i(2,ze,t.columns,t.frozen))}}function Vr(o,a){1&o&&e.eu8(0)}function Br(o,a){if(1&o&&(e.qex(0),e.DNE(1,Vr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.emptyMessageTemplate)("ngTemplateOutletContext",e.l_i(2,ze,t.columns,t.frozen))}}function Or(o,a){1&o&&e.nrm(0,"SortAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Lr(o,a){1&o&&e.nrm(0,"SortAmountUpAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Nr(o,a){1&o&&e.nrm(0,"SortAmountDownIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function jr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Or,1,1,"SortAltIcon",3)(2,Lr,1,1,"SortAmountUpAltIcon",3)(3,Nr,1,1,"SortAmountDownIcon",3),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0===t.sortOrder),e.R7$(),e.Y8G("ngIf",1===t.sortOrder),e.R7$(),e.Y8G("ngIf",-1===t.sortOrder)}}function Pr(o,a){}function zr(o,a){1&o&&e.DNE(0,Pr,0,0,"ng-template")}function Hr(o,a){if(1&o&&(e.j41(0,"span",5),e.DNE(1,zr,1,0,null,6),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.sortIconTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.sortOrder))}}function Yr(o,a){if(1&o&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.JRh(t.getBadgeValue())}}let ce=(()=>{class o{sortSource=new P.B;selectionSource=new P.B;contextMenuSource=new P.B;valueSource=new P.B;totalRecordsSource=new P.B;columnsSource=new P.B;sortSource$=this.sortSource.asObservable();selectionSource$=this.selectionSource.asObservable();contextMenuSource$=this.contextMenuSource.asObservable();valueSource$=this.valueSource.asObservable();totalRecordsSource$=this.totalRecordsSource.asObservable();columnsSource$=this.columnsSource.asObservable();onSort(t){this.sortSource.next(t)}onSelectionChange(){this.selectionSource.next(null)}onContextMenu(t){this.contextMenuSource.next(t)}onValueChange(t){this.valueSource.next(t)}onTotalRecordsChange(t){this.totalRecordsSource.next(t)}onColumnsChange(t){this.columnsSource.next(t)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Z=(()=>{class o{document;platformId;renderer;el;zone;tableService;cd;filterService;overlayService;config;frozenColumns;frozenValue;style;styleClass;tableStyle;tableStyleClass;paginator;pageLinks=5;rowsPerPageOptions;alwaysShowPaginator=!0;paginatorPosition="bottom";paginatorStyleClass;paginatorDropdownAppendTo;paginatorDropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showJumpToPageDropdown;showJumpToPageInput;showFirstLastIcon=!0;showPageLinks=!0;defaultSortOrder=1;sortMode="single";resetPageOnSort=!0;selectionMode;selectionPageOnly;contextMenuSelection;contextMenuSelectionChange=new e.bkB;contextMenuSelectionMode="separate";dataKey;metaKeySelection=!0;rowSelectable;rowTrackBy=(t,i)=>i;lazy=!1;lazyLoadOnInit=!0;compareSelectionBy="deepEquals";csvSeparator=",";exportFilename="download";filters={};globalFilterFields;filterDelay=300;filterLocale;expandedRowKeys={};editingRowKeys={};rowExpandMode="multiple";scrollable;scrollDirection="vertical";rowGroupMode;scrollHeight;virtualScroll;virtualScrollItemSize;virtualScrollOptions;virtualScrollDelay=250;frozenWidth;get responsive(){return this._responsive}set responsive(t){this._responsive=t,console.warn("responsive property is deprecated as table is always responsive with scrollable behavior.")}_responsive;contextMenu;resizableColumns;columnResizeMode="fit";reorderableColumns;loading;loadingIcon;showLoader=!0;rowHover;customSort;showInitialSortBadge=!0;autoLayout;exportFunction;exportHeader;stateKey;stateStorage="session";editMode="cell";groupRowsBy;groupRowsByOrder=1;responsiveLayout="scroll";breakpoint="960px";paginatorLocale;get value(){return this._value}set value(t){this._value=t}get columns(){return this._columns}set columns(t){this._columns=t}get first(){return this._first}set first(t){this._first=t}get rows(){return this._rows}set rows(t){this._rows=t}get totalRecords(){return this._totalRecords}set totalRecords(t){this._totalRecords=t,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField(t){this._sortField=t}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder=t}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(t){this._multiSortMeta=t}get selection(){return this._selection}set selection(t){this._selection=t}get selectAll(){return this._selection}set selectAll(t){this._selection=t}selectAllChange=new e.bkB;selectionChange=new e.bkB;onRowSelect=new e.bkB;onRowUnselect=new e.bkB;onPage=new e.bkB;onSort=new e.bkB;onFilter=new e.bkB;onLazyLoad=new e.bkB;onRowExpand=new e.bkB;onRowCollapse=new e.bkB;onContextMenuSelect=new e.bkB;onColResize=new e.bkB;onColReorder=new e.bkB;onRowReorder=new e.bkB;onEditInit=new e.bkB;onEditComplete=new e.bkB;onEditCancel=new e.bkB;onHeaderCheckboxToggle=new e.bkB;sortFunction=new e.bkB;firstChange=new e.bkB;rowsChange=new e.bkB;onStateSave=new e.bkB;onStateRestore=new e.bkB;containerViewChild;resizeHelperViewChild;reorderIndicatorUpViewChild;reorderIndicatorDownViewChild;wrapperViewChild;tableViewChild;tableHeaderViewChild;tableFooterViewChild;scroller;templates;get virtualRowHeight(){return this._virtualRowHeight}set virtualRowHeight(t){this._virtualRowHeight=t,console.warn("The virtualRowHeight property is deprecated.")}_virtualRowHeight=28;_value=[];_columns;_totalRecords=0;_first=0;_rows;filteredValue;headerTemplate;headerGroupedTemplate;bodyTemplate;loadingBodyTemplate;captionTemplate;footerTemplate;footerGroupedTemplate;summaryTemplate;colGroupTemplate;expandedRowTemplate;groupHeaderTemplate;groupFooterTemplate;frozenExpandedRowTemplate;frozenHeaderTemplate;frozenBodyTemplate;frozenFooterTemplate;frozenColGroupTemplate;emptyMessageTemplate;paginatorLeftTemplate;paginatorRightTemplate;paginatorDropdownItemTemplate;loadingIconTemplate;reorderIndicatorUpIconTemplate;reorderIndicatorDownIconTemplate;sortIconTemplate;checkboxIconTemplate;headerCheckboxIconTemplate;paginatorFirstPageLinkIconTemplate;paginatorLastPageLinkIconTemplate;paginatorPreviousPageLinkIconTemplate;paginatorNextPageLinkIconTemplate;selectionKeys={};lastResizerHelperX;reorderIconWidth;reorderIconHeight;draggedColumn;draggedRowIndex;droppedRowIndex;rowDragging;dropPosition;editingCell;editingCellData;editingCellField;editingCellRowIndex;selfClick;documentEditListener;_multiSortMeta;_sortField;_sortOrder=1;preventSelectionSetterPropagation;_selection;_selectAll=null;anchorRowIndex;rangeRowIndex;filterTimeout;initialized;rowTouched;restoringSort;restoringFilter;stateRestored;columnOrderStateRestored;columnWidthsState;tableWidthState;overlaySubscription;resizeColumnElement;columnResizing=!1;rowGroupHeaderStyleObject={};id=(0,h._Y)();styleElement;responsiveStyleElement;window;constructor(t,i,n,s,l,r,c,p,u,_){this.document=t,this.platformId=i,this.renderer=n,this.el=s,this.zone=l,this.tableService=r,this.cd=c,this.filterService=p,this.overlayService=u,this.config=_,this.window=this.document.defaultView}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),"stack"===this.responsiveLayout&&!this.scrollable&&this.createResponsiveStyle(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"caption":this.captionTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"headergrouped":this.headerGroupedTemplate=t.template;break;case"body":this.bodyTemplate=t.template;break;case"loadingbody":this.loadingBodyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"footergrouped":this.footerGroupedTemplate=t.template;break;case"summary":this.summaryTemplate=t.template;break;case"colgroup":this.colGroupTemplate=t.template;break;case"rowexpansion":this.expandedRowTemplate=t.template;break;case"groupheader":this.groupHeaderTemplate=t.template;break;case"groupfooter":this.groupFooterTemplate=t.template;break;case"frozenheader":this.frozenHeaderTemplate=t.template;break;case"frozenbody":this.frozenBodyTemplate=t.template;break;case"frozenfooter":this.frozenFooterTemplate=t.template;break;case"frozencolgroup":this.frozenColGroupTemplate=t.template;break;case"frozenrowexpansion":this.frozenExpandedRowTemplate=t.template;break;case"emptymessage":this.emptyMessageTemplate=t.template;break;case"paginatorleft":this.paginatorLeftTemplate=t.template;break;case"paginatorright":this.paginatorRightTemplate=t.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=t.template;break;case"paginatorfirstpagelinkicon":this.paginatorFirstPageLinkIconTemplate=t.template;break;case"paginatorlastpagelinkicon":this.paginatorLastPageLinkIconTemplate=t.template;break;case"paginatorpreviouspagelinkicon":this.paginatorPreviousPageLinkIconTemplate=t.template;break;case"paginatornextpagelinkicon":this.paginatorNextPageLinkIconTemplate=t.template;break;case"loadingicon":this.loadingIconTemplate=t.template;break;case"reorderindicatorupicon":this.reorderIndicatorUpIconTemplate=t.template;break;case"reorderindicatordownicon":this.reorderIndicatorDownIconTemplate=t.template;break;case"sorticon":this.sortIconTemplate=t.template;break;case"checkboxicon":this.checkboxIconTemplate=t.template;break;case"headercheckboxicon":this.headerCheckboxIconTemplate=t.template}})}ngAfterViewInit(){(0,m.UE)(this.platformId)&&this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()}ngOnChanges(t){t.value&&(this.isStateful()&&!this.stateRestored&&(0,m.UE)(this.platformId)&&this.restoreState(),this._value=t.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&(this.sortField||this.groupRowsBy)?this.sortSingle():"multiple"==this.sortMode&&(this.multiSortMeta||this.groupRowsBy)?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(t.value.currentValue)),t.columns&&(this._columns=t.columns.currentValue,this.tableService.onColumnsChange(t.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()),t.sortField&&(this._sortField=t.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsBy&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.sortOrder&&(this._sortOrder=t.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsByOrder&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.multiSortMeta&&(this._multiSortMeta=t.multiSortMeta.currentValue,"multiple"===this.sortMode&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),t.selection&&(this._selection=t.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1),t.selectAll&&(this._selectAll=t.selectAll.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()),this.preventSelectionSetterPropagation=!1)}get processedData(){return this.filteredValue||this.value||[]}_initialColWidths;dataToRender(t){const i=t||this.processedData;if(i&&this.paginator){const n=this.lazy?0:this.first;return i.slice(n,n+this.rows)}return i}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let t of this._selection)this.selectionKeys[String(h.BF.resolveFieldData(t,this.dataKey))]=1;else this.selectionKeys[String(h.BF.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(t){this.first=t.first,this.rows=t.rows,this.onPage.emit({first:this.first,rows:this.rows}),this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(t){let i=t.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===t.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=t.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){let n=i.metaKey||i.ctrlKey,s=this.getSortMeta(t.field);s?n?s.order=-1*s.order:(this._multiSortMeta=[{field:t.field,order:-1*s.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!n||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:t.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){let t=this.sortField||this.groupRowsBy,i=this.sortField?this.sortOrder:this.groupRowsByOrder;if(this.groupRowsBy&&this.sortField&&this.groupRowsBy!==this.sortField)return this._multiSortMeta=[this.getGroupRowsMeta(),{field:this.sortField,order:this.sortOrder}],void this.sortMultiple();if(t&&i){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:t,order:i}):(this.value.sort((s,l)=>{let r=h.BF.resolveFieldData(s,t),c=h.BF.resolveFieldData(l,t),p=null;return p=null==r&&null!=c?-1:null!=r&&null==c?1:null==r&&null==c?0:"string"==typeof r&&"string"==typeof c?r.localeCompare(c):rc?1:0,i*p}),this._value=[...this.value]),this.hasFilter()&&this._filter());let n={field:t,order:i};this.onSort.emit(n),this.tableService.onSort(n)}}sortMultiple(){this.groupRowsBy&&(this._multiSortMeta?this.multiSortMeta[0].field!==this.groupRowsBy&&(this._multiSortMeta=[this.getGroupRowsMeta(),...this._multiSortMeta]):this._multiSortMeta=[this.getGroupRowsMeta()]),this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((t,i)=>this.multisortField(t,i,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(t,i,n,s){const l=h.BF.resolveFieldData(t,n[s].field),r=h.BF.resolveFieldData(i,n[s].field);return 0===h.BF.compare(l,r,this.filterLocale)?n.length-1>s?this.multisortField(t,i,n,s+1):0:this.compareValuesOnSort(l,r,n[s].order)}compareValuesOnSort(t,i,n){return h.BF.sort(t,i,n,this.filterLocale,this.sortOrder)}getSortMeta(t){if(this.multiSortMeta&&this.multiSortMeta.length)for(let i=0;iw!=b),this.selectionChange.emit(this.selection),u&&delete this.selectionKeys[u]}this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row"})}else this.isSingleSelectionMode()?(this._selection=l,this.selectionChange.emit(l),u&&(this.selectionKeys={},this.selectionKeys[u]=1)):this.isMultipleSelectionMode()&&(_?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,l],this.selectionChange.emit(this.selection),u&&(this.selectionKeys[u]=1)),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})}else if("single"===this.selectionMode)c?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})):(this._selection=l,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys={},this.selectionKeys[u]=1));else if("multiple"===this.selectionMode)if(c){let _=this.findIndexInSelection(l);this._selection=this.selection.filter((b,f)=>f!=_),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&delete this.selectionKeys[u]}else this._selection=this.selection?[...this.selection,l]:[l],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys[u]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(t){this.rowTouched=!0}handleRowRightClick(t){if(this.contextMenu){const i=t.rowData,n=t.rowIndex;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=i,this.contextMenuSelectionChange.emit(i),this.onContextMenuSelect.emit({originalEvent:t.originalEvent,data:i,index:t.rowIndex}),this.contextMenu.show(t.originalEvent),this.tableService.onContextMenu(i);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let s=this.isSelected(i),l=this.dataKey?String(h.BF.resolveFieldData(i,this.dataKey)):null;if(!s){if(!this.isRowSelectable(i,n))return;this.isSingleSelectionMode()?(this.selection=i,this.selectionChange.emit(i),l&&(this.selectionKeys={},this.selectionKeys[l]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),l&&(this.selectionKeys[l]=1))}this.tableService.onSelectionChange(),this.contextMenu.show(t.originalEvent),this.onContextMenuSelect.emit({originalEvent:t,data:i,index:t.rowIndex})}}}selectRange(t,i){let n,s;this.anchorRowIndex>i?(n=i,s=this.anchorRowIndex):this.anchorRowIndexl?(i=this.anchorRowIndex,n=this.rangeRowIndex):sb!=p);let u=this.dataKey?String(h.BF.resolveFieldData(c,this.dataKey)):null;u&&delete this.selectionKeys[u],this.onRowUnselect.emit({originalEvent:t,data:c,type:"row"})}}isSelected(t){return!(!t||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[h.BF.resolveFieldData(t,this.dataKey)]:Array.isArray(this.selection)?this.findIndexInSelection(t)>-1:this.equals(t,this.selection))}findIndexInSelection(t){let i=-1;if(this.selection&&this.selection.length)for(let n=0;nc!=l),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&delete this.selectionKeys[s]}else{if(!this.isRowSelectable(i,t.rowIndex))return;this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&(this.selectionKeys[s]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox(t,i){if(null!==this._selectAll)this.selectAllChange.emit({originalEvent:t,checked:i});else{const n=this.selectionPageOnly?this.dataToRender(this.processedData):this.processedData;let s=this.selectionPageOnly&&this._selection?this._selection.filter(l=>!n.some(r=>this.equals(l,r))):[];i&&(s=this.frozenValue?[...s,...this.frozenValue,...n]:[...s,...n],s=this.rowSelectable?s.filter((l,r)=>this.rowSelectable({data:l,index:r})):s),this._selection=s,this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:t,checked:i}),this.isStateful()&&this.saveState()}}equals(t,i){return"equals"===this.compareSelectionBy?t===i:h.BF.equals(t,i,this.dataKey)}filter(t,i,n){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(t)?this.filters[i]&&delete this.filters[i]:this.filters[i]={value:t,matchMode:n},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(t,i){this.filter(t,"global",i)}isFilterBlank(t){return null==t||!!("string"==typeof t&&0==t.trim().length||Array.isArray(t)&&0==t.length)}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let t;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");t=this.globalFilterFields||this.columns}this.filteredValue=[];for(let i=0;ithis.cd.detectChanges()}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.clearFilterValues(),this.filteredValue=null,this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}clearFilterValues(){for(const[,t]of Object.entries(this.filters))if(Array.isArray(t))for(let i of t)i.value=null;else t&&(t.value=null)}reset(){this.clear()}getExportHeader(t){return t[this.exportHeader]||t.header||t.field}exportCSV(t){let i,n="",s=this.columns;t&&t.selectionOnly?i=this.selection||[]:t&&t.allValues?i=this.value||[]:(i=this.filteredValue||this.value,this.frozenValue&&(i=i?[...this.frozenValue,...i]:this.frozenValue));for(let c=0;c{n+="\n";for(let u=0;u{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(d.D.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:t,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1}))}unbindDocumentEditListener(){this.documentEditListener&&(this.documentEditListener(),this.documentEditListener=null)}initRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));this.editingRowKeys[i]=!0}saveRowEdit(t,i){if(0===d.D.find(i,".ng-invalid.ng-dirty").length){let n=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[n]}}cancelRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[i]}toggleRow(t,i){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");let n=String(h.BF.resolveFieldData(t,this.dataKey));null!=this.expandedRowKeys[n]?(delete this.expandedRowKeys[n],this.onRowCollapse.emit({originalEvent:i,data:t})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[n]=!0,this.onRowExpand.emit({originalEvent:i,data:t})),i&&i.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(t){return!0===this.expandedRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isRowEditing(t){return!0===this.editingRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}onColumnResizeBegin(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;this.resizeColumnElement=t.target.parentElement,this.columnResizing=!0,this.lastResizerHelperX=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft,this.onColumnResize(t),t.preventDefault()}onColumnResize(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;d.D.addClass(this.containerViewChild?.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild?.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let t=this.resizeHelperViewChild?.nativeElement.offsetLeft-this.lastResizerHelperX,n=this.resizeColumnElement.offsetWidth+t;if(n>=(this.resizeColumnElement.style.minWidth.replace(/[^\d.]/g,"")||15)){if("fit"===this.columnResizeMode){let r=this.resizeColumnElement.nextElementSibling.offsetWidth-t;n>15&&r>15&&this.resizeTableCells(n,r)}else"expand"===this.columnResizeMode&&(this._initialColWidths=this._totalTableWidth(),this.setResizeTableWidth(this.tableViewChild?.nativeElement.offsetWidth+t+"px"),this.resizeTableCells(n,null));this.onColResize.emit({element:this.resizeColumnElement,delta:t}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",d.D.removeClass(this.containerViewChild?.nativeElement,"p-unselectable-text")}_totalTableWidth(){let t=[];const i=d.D.findSingle(this.containerViewChild.nativeElement,".p-datatable-thead");return d.D.find(i,"tr > th").forEach(s=>t.push(d.D.getOuterWidth(s))),t}onColumnDragStart(t,i){this.reorderIconWidth=d.D.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild?.nativeElement),this.reorderIconHeight=d.D.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild?.nativeElement),this.draggedColumn=i,t.dataTransfer.setData("text","b")}onColumnDragEnter(t,i){if(this.reorderableColumns&&this.draggedColumn&&i){t.preventDefault();let n=d.D.getOffset(this.containerViewChild?.nativeElement),s=d.D.getOffset(i);if(this.draggedColumn!=i){d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),d.D.indexWithinGroup(i,"preorderablecolumn");let c=s.left-n.left,u=s.left+i.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=s.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=s.top-n.top+i.offsetHeight+"px",t.pageX>u?(this.reorderIndicatorUpViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else t.dataTransfer.dropEffect="none"}}onColumnDragLeave(t){this.reorderableColumns&&this.draggedColumn&&t.preventDefault()}onColumnDrop(t,i){if(t.preventDefault(),this.draggedColumn){let n=d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),s=d.D.indexWithinGroup(i,"preorderablecolumn"),l=n!=s;if(l&&(s-n==1&&-1===this.dropPosition||n-s==1&&1===this.dropPosition)&&(l=!1),l&&sn&&-1===this.dropPosition&&(s-=1),l&&(h.BF.reorderArray(this.columns,n,s),this.onColReorder.emit({dragIndex:n,dropIndex:s,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.resizableColumns&&this.resizeColumnElement){let r="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();h.BF.reorderArray(r,n+1,s+1),this.updateStyleElement(r,n,null,null)}this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}resizeTableCells(t,i){let n=d.D.index(this.resizeColumnElement),s="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();this.updateStyleElement(s,n,t,i)}updateStyleElement(t,i,n,s){this.destroyStyleElement(),this.createStyleElement();let l="";t.forEach((r,c)=>{let p=c===i?n:s&&c===i+1?s:r;l+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${c+1}) {\n width: ${p}px !important; max-width: ${p}px !important;\n }\n `}),this.renderer.setProperty(this.styleElement,"innerHTML",l)}onRowDragStart(t,i){this.rowDragging=!0,this.draggedRowIndex=i,t.dataTransfer.setData("text","b")}onRowDragOver(t,i,n){if(this.rowDragging&&this.draggedRowIndex!==i){let s=d.D.getOffset(n).top,l=t.pageY,r=s+d.D.getOuterHeight(n)/2,c=n.previousElementSibling;lthis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;h.BF.reorderArray(this.value,this.draggedRowIndex,n),this.virtualScroll&&(this._value=[...this._value]),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:n})}this.onRowDragLeave(t,i),this.onRowDragEnd(t)}isEmpty(){let t=this.filteredValue||this.value;return null==t||0==t.length}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){if(!(0,m.UE)(this.platformId))throw new Error("Browser storage is not available in the server side.");switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}isStateful(){return null!=this.stateKey}saveState(){const t=this.getStorage();let i={};this.paginator&&(i.first=this.first,i.rows=this.rows),this.sortField&&(i.sortField=this.sortField,i.sortOrder=this.sortOrder),this.multiSortMeta&&(i.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(i.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(i),this.reorderableColumns&&this.saveColumnOrder(i),this.selection&&(i.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(i.expandedRowKeys=this.expandedRowKeys),t.setItem(this.stateKey,JSON.stringify(i)),this.onStateSave.emit(i)}clearState(){const t=this.getStorage();this.stateKey&&t.removeItem(this.stateKey)}restoreState(){const i=this.getStorage().getItem(this.stateKey),n=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(i){let l=JSON.parse(i,function(l,r){return"string"==typeof r&&n.test(r)?new Date(r):r});this.paginator&&(void 0!==this.first&&(this.first=l.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=l.rows,this.rowsChange.emit(this.rows))),l.sortField&&(this.restoringSort=!0,this._sortField=l.sortField,this._sortOrder=l.sortOrder),l.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=l.multiSortMeta),l.filters&&(this.restoringFilter=!0,this.filters=l.filters),this.resizableColumns&&(this.columnWidthsState=l.columnWidths,this.tableWidthState=l.tableWidth),l.expandedRowKeys&&(this.expandedRowKeys=l.expandedRowKeys),l.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(l.selection)),this.stateRestored=!0,this.onStateRestore.emit(l)}}saveColumnWidths(t){let i=[];d.D.find(this.containerViewChild?.nativeElement,".p-datatable-thead > tr > th").forEach(s=>i.push(d.D.getOuterWidth(s))),t.columnWidths=i.join(","),"expand"===this.columnResizeMode&&(t.tableWidth=d.D.getOuterWidth(this.tableViewChild?.nativeElement))}setResizeTableWidth(t){this.tableViewChild.nativeElement.style.width=t,this.tableViewChild.nativeElement.style.minWidth=t}restoreColumnWidths(){if(this.columnWidthsState){let t=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState&&this.setResizeTableWidth(this.tableWidthState+"px"),h.BF.isNotEmpty(t)){this.createStyleElement();let i="";t.forEach((n,s)=>{i+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${s+1}) {\n width: ${n}px !important; max-width: ${n}px !important\n }\n `}),this.styleElement.innerHTML=i}}}saveColumnOrder(t){if(this.columns){let i=[];this.columns.map(n=>{i.push(n.field||n.key)}),t.columnOrder=i}}restoreColumnOrder(){const i=this.getStorage().getItem(this.stateKey);if(i){let s=JSON.parse(i).columnOrder;if(s){let l=[];s.map(r=>{let c=this.findColumnByKey(r);c&&l.push(c)}),this.columnOrderStateRestored=!0,this.columns=l}}}findColumnByKey(t){if(!this.columns)return null;for(let i of this.columns)if(i.key===t||i.field===t)return i}createStyleElement(){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement)}getGroupRowsMeta(){return{field:this.groupRowsBy,order:this.groupRowsByOrder}}createResponsiveStyle(){(0,m.UE)(this.platformId)&&!this.responsiveStyleElement&&(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.head,this.responsiveStyleElement),this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",`\n @media screen and (max-width: ${this.breakpoint}) {\n #${this.id}-table > .p-datatable-thead > tr > th,\n #${this.id}-table > .p-datatable-tfoot > tr > td {\n display: none !important;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td {\n display: flex;\n width: 100% !important;\n align-items: center;\n justify-content: space-between;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td:not(:last-child) {\n border: 0 none;\n }\n\n #${this.id}.p-datatable-gridlines > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tbody > tr > td:last-child {\n border-top: 0;\n border-right: 0;\n border-left: 0;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td > .p-column-title {\n display: block;\n }\n }\n `))}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(ce),e.rXU(e.gRc),e.rXU(g.E),e.rXU(g.si),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-table"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(za,5),e.GBs(Ha,5),e.GBs(Ya,5),e.GBs($a,5),e.GBs(Aa,5),e.GBs(Xa,5),e.GBs(Ka,5),e.GBs(Ua,5),e.GBs(Qa,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.resizeHelperViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorUpViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorDownViewChild=s.first),e.mGM(s=e.lsd())&&(n.wrapperViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableHeaderViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableFooterViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first)}},hostAttrs:[1,"p-element"],inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",selectionPageOnly:"selectionPageOnly",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:"virtualScrollDelay",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",groupRowsByOrder:"groupRowsByOrder",responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",paginatorLocale:"paginatorLocale",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll",virtualRowHeight:"virtualRowHeight"},outputs:{contextMenuSelectionChange:"contextMenuSelectionChange",selectAllChange:"selectAllChange",selectionChange:"selectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[e.Jv_([ce]),e.OA$],decls:16,vars:22,consts:[["container",""],["wrapper",""],["buildInTable",""],["scroller",""],["table",""],["thead",""],["tfoot",""],["resizeHelper",""],["reorderIndicatorUp",""],["reorderIndicatorDown",""],[3,"ngStyle","ngClass"],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize","onLazyLoad",4,"ngIf"],[4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","p-datatable-reorder-indicator-up","style","display: none;",4,"ngIf"],["class","p-datatable-reorder-indicator-down","style","display: none;",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-datatable-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-datatable-loading-icon"],[4,"ngTemplateOutlet"],[1,"p-datatable-header"],["styleClass","p-paginator-top",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"onLazyLoad","items","columns","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize"],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"ngClass"],["role","rowgroup",1,"p-datatable-thead"],["role","rowgroup","class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody",3,"ngClass","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["role","rowgroup","class","p-datatable-scroller-spacer",3,"style",4,"ngIf"],["role","rowgroup","class","p-datatable-tfoot",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],["role","rowgroup",1,"p-datatable-scroller-spacer"],["role","rowgroup",1,"p-datatable-tfoot"],["styleClass","p-paginator-bottom",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],[1,"p-datatable-reorder-indicator-up",2,"display","none"],[1,"p-datatable-reorder-indicator-down",2,"display","none"]],template:function(i,n){1&i&&(e.j41(0,"div",10,0),e.DNE(2,ll,3,2,"div",11)(3,cl,2,1,"div",12)(4,wl,5,23,"p-paginator",13),e.j41(5,"div",14,1),e.DNE(7,Tl,3,17,"p-scroller",15)(8,Sl,2,7,"ng-container",16)(9,Vl,10,28,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(11,Kl,5,23,"p-paginator",17)(12,Ql,2,1,"div",18)(13,ql,2,0,"div",19)(14,er,4,2,"span",20)(15,or,4,2,"span",21),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.sMw(16,qa,n.rowHover||n.selectionMode,n.scrollable,n.scrollable&&"flex"===n.scrollHeight)),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",n.loading&&n.showLoader),e.R7$(),e.Y8G("ngIf",n.captionTemplate),e.R7$(),e.Y8G("ngIf",n.paginator&&("top"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngStyle",e.eq3(20,Wa,n.virtualScroll?"":n.scrollHeight)),e.R7$(2),e.Y8G("ngIf",n.virtualScroll),e.R7$(),e.Y8G("ngIf",!n.virtualScroll),e.R7$(3),e.Y8G("ngIf",n.paginator&&("bottom"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngIf",n.summaryTemplate),e.R7$(),e.Y8G("ngIf",n.resizableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,sa,g.Ei,we,Ve,Be,X.N,Gc],styles:["@layer primeng{.p-datatable{position:relative}.p-datatable>.p-datatable-wrapper{overflow:auto}.p-datatable-table{border-spacing:0px;width:100%}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-icon-wrapper{display:inline}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable>.p-datatable-wrapper{position:relative}.p-datatable-scrollable-table>.p-datatable-thead{position:sticky;top:0;z-index:2}.p-datatable-scrollable-table>.p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable-table>.p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit;z-index:1}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-flex-scrollable{display:flex;flex-direction:column;height:100%}.p-datatable-flex-scrollable>.p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header{position:sticky;z-index:2}.p-datatable-resizable-table>.p-datatable-thead>tr>th,.p-datatable-resizable-table>.p-datatable-tfoot>tr>td,.p-datatable-resizable-table>.p-datatable-tbody>tr>td{overflow:hidden;white-space:nowrap}.p-datatable-resizable-table>.p-datatable-thead>tr>th.p-resizable-column:not(.p-frozen-column){background-clip:padding-box;position:relative}.p-datatable-resizable-table-fit>.p-datatable-thead>tr>th.p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-menu-button,.p-column-filter-clear-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable-tbody>tr>td>.p-column-title{display:none}.p-datatable-scroller-spacer{display:flex}.p-datatable .p-scroller .p-scroller-loading{transform:none!important;min-height:0;position:sticky;top:0;left:0}}\n"],encapsulation:2})}return o})(),Gc=(()=>{class o{dt;tableService;cd;el;columns;template;get value(){return this._value}set value(t){this._value=t,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(t,i,n,s){this.dt=t,this.tableService=i,this.cd=n,this.el=s,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowGroupFooter(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n+1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowspan(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}calculateRowGroupSize(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=s,r=0;for(;s===l;){r++;let c=t[++n];if(!c)break;l=h.BF.resolveFieldData(c,this.dt.groupRowsBy)}return 1===r?null:r}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let t=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=t+"px"}}getScrollerOption(t,i){return this.dt.virtualScroll&&(i=i||this.scrollerOptions)?i[t]:null}getRowIndex(t){const i=this.dt.paginator?this.dt.first+t:t,n=this.getScrollerOption("getItemOptions");return n?n(i).index:i}static \u0275fac=function(i){return new(i||o)(e.rXU(Z),e.rXU(ce),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:[e.Mj6.None,"pTableBody","columns"],template:[e.Mj6.None,"pTableBodyTemplate","template"],value:"value",frozen:"frozen",frozenRows:"frozenRows",scrollerOptions:"scrollerOptions"},attrs:sr,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&e.DNE(0,gr,2,2,"ng-container",0)(1,kr,2,2,"ng-container",0)(2,Mr,2,2,"ng-container",0)(3,Gr,2,5,"ng-container",0)(4,Br,2,5,"ng-container",0),2&i&&(e.Y8G("ngIf",!n.dt.expandedRowTemplate),e.R7$(),e.Y8G("ngIf",n.dt.expandedRowTemplate&&!(n.frozen&&n.dt.frozenExpandedRowTemplate)),e.R7$(),e.Y8G("ngIf",n.dt.frozenExpandedRowTemplate&&n.frozen),e.R7$(),e.Y8G("ngIf",n.dt.loading),e.R7$(),e.Y8G("ngIf",n.dt.isEmpty()&&!n.dt.loading))},dependencies:[m.Sq,m.bT,m.T3],encapsulation:2})}return o})(),Vc=(()=>{class o{dt;field;pSortableColumnDisabled;sorted;sortOrder;subscription;constructor(t){this.dt=t,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(i=>{this.updateSortState()}))}ngOnInit(){this.isEnabled()&&this.updateSortState()}updateSortState(){this.sorted=this.dt.isSorted(this.field),this.sortOrder=this.sorted?1===this.dt.sortOrder?"ascending":"descending":"none"}onClick(t){this.isEnabled()&&!this.isFilterElement(t.target)&&(this.updateSortState(),this.dt.sort({originalEvent:t,field:this.field}),d.D.clearSelection())}onEnterKey(t){this.onClick(t),t.preventDefault()}isEnabled(){return!0!==this.pSortableColumnDisabled}isFilterElement(t){return this.isFilterElementIconOrButton(t)||this.isFilterElementIconOrButton(t?.parentElement?.parentElement)}isFilterElementIconOrButton(t){return d.D.hasClass(t,"pi-filter-icon")||d.D.hasClass(t,"p-column-filter-menu-button")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(Z))};static \u0275dir=e.FsC({type:o,selectors:[["","pSortableColumn",""]],hostAttrs:[1,"p-element"],hostVars:7,hostBindings:function(i,n){1&i&&e.bIt("click",function(l){return n.onClick(l)})("keydown.space",function(l){return n.onEnterKey(l)})("keydown.enter",function(l){return n.onEnterKey(l)}),2&i&&(e.BMQ("tabindex",n.isEnabled()?"0":null)("role","columnheader")("aria-sort",n.sortOrder),e.AVh("p-sortable-column",n.isEnabled())("p-highlight",n.sorted))},inputs:{field:[e.Mj6.None,"pSortableColumn","field"],pSortableColumnDisabled:"pSortableColumnDisabled"}})}return o})(),Bc=(()=>{class o{dt;cd;field;subscription;sortOrder;constructor(t,i){this.dt=t,this.cd=i,this.subscription=this.dt.tableService.sortSource$.subscribe(n=>{this.updateSortState()})}ngOnInit(){this.updateSortState()}onClick(t){t.preventDefault()}updateSortState(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){let t=this.dt.getSortMeta(this.field);this.sortOrder=t?t.order:0}this.cd.markForCheck()}getMultiSortMetaIndex(){let t=this.dt._multiSortMeta,i=-1;if(t&&"multiple"===this.dt.sortMode&&this.dt.showInitialSortBadge&&t.length>1)for(let n=0;n-1?t:t+1}isMultiSorted(){return"multiple"===this.dt.sortMode&&this.getMultiSortMetaIndex()>-1}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(Z),e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-sortIcon"]],hostAttrs:[1,"p-element"],inputs:{field:"field"},decls:3,vars:3,consts:[[4,"ngIf"],["class","p-sortable-column-icon",4,"ngIf"],["class","p-sortable-column-badge",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-sortable-column-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-sortable-column-badge"]],template:function(i,n){1&i&&e.DNE(0,jr,4,3,"ng-container",0)(1,Hr,2,4,"span",1)(2,Yr,2,1,"span",2),2&i&&(e.Y8G("ngIf",!n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.isMultiSorted()))},dependencies:()=>[m.bT,m.T3,Oe,Ne,Le],encapsulation:2,changeDetection:0})}return o})(),Oc=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,aa,H.u,oe,R.YN,M.tm,fa,Ki,se,Na,K,Ve,Be,X.N,Oe,Ne,Le,le,ja,Pa,g.Gg,K]})}return o})(),He=(()=>{class o{el;pFocusTrapDisabled=!1;constructor(t){this.el=t}onkeydown(t){if(!0!==this.pFocusTrapDisabled){t.preventDefault();const i=d.D.getNextFocusableElement(this.el.nativeElement,t.shiftKey);i&&(i.focus(),i.select?.())}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.tab",function(l){return n.onkeydown(l)})("keydown.shift.tab",function(l){return n.onkeydown(l)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}})}return o})(),Ye=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})(),$e=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ae=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Lc=["titlebar"],Nc=["content"],jc=["footer"],Pc=["*",[["p-header"]],[["p-footer"]]],zc=["*","p-header","p-footer"],Hc=(o,a,t,i,n,s,l,r,c,p)=>({"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":o,"p-dialog-mask-scrollblocker":a,"p-dialog-left":t,"p-dialog-right":i,"p-dialog-top":n,"p-dialog-top-left":s,"p-dialog-top-right":l,"p-dialog-bottom":r,"p-dialog-bottom-left":c,"p-dialog-bottom-right":p}),Yc=(o,a,t,i)=>({"p-dialog p-component":!0,"p-dialog-rtl":o,"p-dialog-draggable":a,"p-dialog-resizable":t,"p-dialog-maximized":i}),$c=(o,a)=>({transform:o,transition:a}),Ac=o=>({value:"visible",params:o}),Xc=()=>({"p-dialog-header-icon p-dialog-header-maximize p-link":!0}),Kc=()=>({"p-dialog-header-icon p-dialog-header-close p-link":!0});function Uc(o,a){1&o&&e.eu8(0)}function Qc(o,a){if(1&o&&(e.qex(0),e.DNE(1,Uc,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.headlessTemplate)}}function qc(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",15),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initResize(n))}),e.k0s()}}function Wc(o,a){if(1&o&&(e.j41(0,"span",21),e.EFF(1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy()),e.R7$(),e.JRh(t.header)}}function Zc(o,a){if(1&o&&(e.j41(0,"span",21),e.SdG(1,1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy())}}function Jc(o,a){1&o&&e.eu8(0)}function ed(o,a){if(1&o&&e.nrm(0,"span",25),2&o){const t=e.XpG(6);e.Y8G("ngClass",t.maximized?t.minimizeIcon:t.maximizeIcon)}}function td(o,a){1&o&&e.nrm(0,"WindowMaximizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function id(o,a){1&o&&e.nrm(0,"WindowMinimizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function nd(o,a){if(1&o&&(e.qex(0),e.DNE(1,td,1,1,"WindowMaximizeIcon",26)(2,id,1,1,"WindowMinimizeIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",!t.maximized&&!t.maximizeIconTemplate),e.R7$(),e.Y8G("ngIf",t.maximized&&!t.minimizeIconTemplate)}}function od(o,a){}function sd(o,a){1&o&&e.DNE(0,od,0,0,"ng-template")}function ad(o,a){if(1&o&&(e.qex(0),e.DNE(1,sd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.maximizeIconTemplate)}}function ld(o,a){}function rd(o,a){1&o&&e.DNE(0,ld,0,0,"ng-template")}function cd(o,a){if(1&o&&(e.qex(0),e.DNE(1,rd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.minimizeIconTemplate)}}function dd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",22),e.bIt("click",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())})("keydown.enter",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())}),e.DNE(1,ed,1,1,"span",23)(2,nd,3,2,"ng-container",24)(3,ad,2,1,"ng-container",24)(4,cd,2,1,"ng-container",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Xc)),e.R7$(),e.Y8G("ngIf",t.maximizeIcon&&!t.maximizeIconTemplate&&!t.minimizeIconTemplate),e.R7$(),e.Y8G("ngIf",!t.maximizeIcon),e.R7$(),e.Y8G("ngIf",!t.maximized),e.R7$(),e.Y8G("ngIf",t.maximized)}}function pd(o,a){if(1&o&&e.nrm(0,"span",30),2&o){const t=e.XpG(7);e.Y8G("ngClass",t.closeIcon)}}function ud(o,a){1&o&&e.nrm(0,"TimesIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-close-icon")}function hd(o,a){if(1&o&&(e.qex(0),e.DNE(1,pd,1,1,"span",29)(2,ud,1,1,"TimesIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.closeIcon),e.R7$(),e.Y8G("ngIf",!t.closeIcon)}}function md(o,a){}function _d(o,a){1&o&&e.DNE(0,md,0,0,"ng-template")}function gd(o,a){if(1&o&&(e.j41(0,"span"),e.DNE(1,_d,1,0,null,10),e.k0s()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate)}}function fd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))}),e.DNE(1,hd,3,2,"ng-container",24)(2,gd,2,1,"span",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Kc)),e.BMQ("aria-label",t.closeAriaLabel)("tabindex",t.closeTabindex),e.R7$(),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.closeIconTemplate)}}function bd(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",16,3),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initDrag(n))}),e.DNE(2,Wc,2,2,"span",17)(3,Zc,2,1,"span",17)(4,Jc,1,0,"ng-container",10),e.j41(5,"div",18),e.DNE(6,dd,5,6,"button",19)(7,fd,3,6,"button",20),e.k0s()()}if(2&o){const t=e.XpG(4);e.R7$(2),e.Y8G("ngIf",!t.headerFacet&&!t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.headerFacet),e.R7$(),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(2),e.Y8G("ngIf",t.maximizable),e.R7$(),e.Y8G("ngIf",t.closable)}}function vd(o,a){1&o&&e.eu8(0)}function yd(o,a){1&o&&e.eu8(0)}function Cd(o,a){if(1&o&&(e.j41(0,"div",31,4),e.SdG(2,2),e.DNE(3,yd,1,0,"ng-container",10),e.k0s()),2&o){const t=e.XpG(4);e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}function wd(o,a){if(1&o&&(e.DNE(0,qc,1,0,"div",11)(1,bd,8,5,"div",12),e.j41(2,"div",13,2),e.SdG(4),e.DNE(5,vd,1,0,"ng-container",10),e.k0s(),e.DNE(6,Cd,4,1,"div",14)),2&o){const t=e.XpG(3);e.Y8G("ngIf",t.resizable),e.R7$(),e.Y8G("ngIf",t.showHeader),e.R7$(),e.HbH(t.contentStyleClass),e.Y8G("ngClass","p-dialog-content")("ngStyle",t.contentStyle),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate),e.R7$(),e.Y8G("ngIf",t.footerFacet||t.footerTemplate)}}function Id(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",8,0),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.DNE(2,Qc,2,1,"ng-container",9)(3,wd,7,8,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG(2);e.HbH(i.styleClass),e.Y8G("ngClass",e.ziG(10,Yc,i.rtl,i.draggable,i.resizable,i.maximized))("ngStyle",i.style)("pFocusTrapDisabled",!1===i.focusTrap)("@animation",e.eq3(18,Ac,e.l_i(15,$c,i.transformOptions,i.transitionOptions))),e.BMQ("aria-labelledby",i.ariaLabelledBy)("aria-modal",!0),e.R7$(2),e.Y8G("ngIf",i.headlessTemplate)("ngIfElse",t)}}function xd(o,a){if(1&o&&(e.j41(0,"div",6),e.DNE(1,Id,5,20,"div",7),e.k0s()),2&o){const t=e.XpG();e.Aen(t.maskStyle),e.HbH(t.maskStyleClass),e.Y8G("ngClass",e.zJS(6,Hc,[t.modal,t.modal||t.blockScroll,"left"===t.position,"right"===t.position,"top"===t.position,"topleft"===t.position||"top-left"===t.position,"topright"===t.position||"top-right"===t.position,"bottom"===t.position,"bottomleft"===t.position||"bottom-left"===t.position,"bottomright"===t.position||"bottom-right"===t.position])),e.R7$(),e.Y8G("ngIf",t.visible)}}const Td=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{transition}}")]),kd=(0,v.lY)([(0,v.i0)("{{transition}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let Sd=(()=>{class o{document;platformId;el;renderer;zone;cd;config;header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(t){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(t){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(t){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(t){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="-1";minimizeIcon;maximizeIcon;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(t){t&&(this._style={...t},this.originalStyle=t)}get position(){return this._position}set position(t){switch(this._position=t,t){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}onShow=new e.bkB;onHide=new e.bkB;visibleChange=new e.bkB;onResizeInit=new e.bkB;onResizeEnd=new e.bkB;onDragEnd=new e.bkB;onMaximize=new e.bkB;headerFacet;footerFacet;templates;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;maximizeIconTemplate;closeIconTemplate;minimizeIconTemplate;headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy;documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=(0,h._Y)();_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.zone=l,this.cd=r,this.config=c,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this.headerTemplate=t.template;break;case"content":default:this.contentTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template;break;case"maximizeicon":this.maximizeIconTemplate=t.template;break;case"minimizeicon":this.minimizeIconTemplate=t.template;break;case"headless":this.headlessTemplate=t.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}getAriaLabelledBy(){return null!==this.header?(0,h._Y)()+"_header":null}focus(){let t=d.D.findSingle(this.container,"[autofocus]");t&&this.zone.runOutsideAngular(()=>{setTimeout(()=>t.focus(),5)})}close(t){this.visibleChange.emit(!1),t.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.close(t)})),this.modal&&d.D.blockBodyScroll()}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&d.D.unblockBodyScroll(),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?d.D.blockBodyScroll():d.D.unblockBodyScroll()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(h.Q$.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if((0,m.UE)(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let i in this.breakpoints)t+=`\n @media screen and (max-width: ${i}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[i]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t)}}initDrag(t){d.D.hasClass(t.target,"p-dialog-header-icon")||d.D.hasClass(t.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",d.D.addClass(this.document.body,"p-unselectable-text"))}onKeydown(t){if(this.focusTrap&&9===t.which){t.preventDefault();let i=d.D.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);t.shiftKey?-1==n||0===n?i[i.length-1].focus():i[n-1].focus():-1==n||n===i.length-1?i[0].focus():i[n+1].focus()}else i[0].focus()}}onDrag(t){if(this.dragging){const i=d.D.getOuterWidth(this.container),n=d.D.getOuterHeight(this.container),s=t.pageX-this.lastPageX,l=t.pageY-this.lastPageY,r=this.container.getBoundingClientRect(),c=getComputedStyle(this.container),p=parseFloat(c.marginLeft),u=parseFloat(c.marginTop),_=r.left+s-p,b=r.top+l-u,f=d.D.getViewport();this.container.style.position="fixed",this.keepInViewport?(_>=this.minX&&_+i=this.minY&&b+nparseInt(u))&&b.left+cparseInt(_))&&b.top+p{this.documentDragListener=this.renderer.listen(this.window,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.window,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.window,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.window,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&d.D.addClass(this.document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(d.D.removeClass(this.document.body,"p-overflow-hidden"),this.document.body.style.removeProperty("--scrollbar-width"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&d.D.removeClass(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&h.Q$.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dialog"]],contentQueries:function(i,n,s){if(1&i&&(e.wni(s,g.Y9,5),e.wni(s,g.wi,5),e.wni(s,g.Ei,4)),2&i){let l;e.mGM(l=e.lsd())&&(n.headerFacet=l.first),e.mGM(l=e.lsd())&&(n.footerFacet=l.first),e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Lc,5),e.GBs(Nc,5),e.GBs(jc,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.headerViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first),e.mGM(s=e.lsd())&&(n.footerViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:zc,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["footer",""],[3,"class","style","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["class","p-dialog-title",3,"id",4,"ngIf"],[1,"p-dialog-header-icons"],["role","button","type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title",3,"id"],["role","button","type","button","tabindex","-1","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-maximize-icon",3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],["type","button","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-close-icon",3,"ngClass",4,"ngIf"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"]],template:function(i,n){1&i&&(e.NAR(Pc),e.DNE(0,xd,2,17,"div",5)),2&i&&e.Y8G("ngIf",n.maskVisible)},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,He,E.n,F.A,$e,Ae],styles:["@layer primeng{.p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.sM)(Td)]),(0,v.kY)("visible => void",[(0,v.sM)(kd)])])]},changeDetection:0})}return o})(),Dd=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,Ye,E.Z,F.A,$e,Ae,g.Gg]})}return o})(),Xe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["EyeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.0535499 7.25213C0.208567 7.59162 2.40413 12.4 7 12.4C11.5959 12.4 13.7914 7.59162 13.9465 7.25213C13.9487 7.2471 13.9506 7.24304 13.952 7.24001C13.9837 7.16396 14 7.08239 14 7.00001C14 6.91762 13.9837 6.83605 13.952 6.76001C13.9506 6.75697 13.9487 6.75292 13.9465 6.74788C13.7914 6.4084 11.5959 1.60001 7 1.60001C2.40413 1.60001 0.208567 6.40839 0.0535499 6.74788C0.0512519 6.75292 0.0494023 6.75697 0.048 6.76001C0.0163137 6.83605 0 6.91762 0 7.00001C0 7.08239 0.0163137 7.16396 0.048 7.24001C0.0494023 7.24304 0.0512519 7.2471 0.0535499 7.25213ZM7 11.2C3.664 11.2 1.736 7.92001 1.264 7.00001C1.736 6.08001 3.664 2.80001 7 2.80001C10.336 2.80001 12.264 6.08001 12.736 7.00001C12.264 7.92001 10.336 11.2 7 11.2ZM5.55551 9.16182C5.98308 9.44751 6.48576 9.6 7 9.6C7.68891 9.59789 8.349 9.32328 8.83614 8.83614C9.32328 8.349 9.59789 7.68891 9.59999 7C9.59999 6.48576 9.44751 5.98308 9.16182 5.55551C8.87612 5.12794 8.47006 4.7947 7.99497 4.59791C7.51988 4.40112 6.99711 4.34963 6.49276 4.44995C5.98841 4.55027 5.52513 4.7979 5.16152 5.16152C4.7979 5.52513 4.55027 5.98841 4.44995 6.49276C4.34963 6.99711 4.40112 7.51988 4.59791 7.99497C4.7947 8.47006 5.12794 8.87612 5.55551 9.16182ZM6.2222 5.83594C6.45243 5.6821 6.7231 5.6 7 5.6C7.37065 5.6021 7.72553 5.75027 7.98762 6.01237C8.24972 6.27446 8.39789 6.62934 8.4 7C8.4 7.27689 8.31789 7.54756 8.16405 7.77779C8.01022 8.00802 7.79157 8.18746 7.53575 8.29343C7.27994 8.39939 6.99844 8.42711 6.72687 8.37309C6.4553 8.31908 6.20584 8.18574 6.01005 7.98994C5.81425 7.79415 5.68091 7.54469 5.6269 7.27312C5.57288 7.00155 5.6006 6.72006 5.70656 6.46424C5.81253 6.20842 5.99197 5.98977 6.2222 5.83594Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ke=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["RefreshIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.77051 5.96336C6.84324 5.99355 6.92127 6.00891 7.00002 6.00854C7.07877 6.00891 7.1568 5.99355 7.22953 5.96336C7.30226 5.93317 7.36823 5.88876 7.42357 5.83273L9.82101 3.43529C9.93325 3.32291 9.99629 3.17058 9.99629 3.01175C9.99629 2.85292 9.93325 2.70058 9.82101 2.5882L7.42357 0.190763C7.3687 0.131876 7.30253 0.0846451 7.22901 0.0518865C7.15549 0.019128 7.07612 0.00151319 6.99564 9.32772e-05C6.91517 -0.00132663 6.83523 0.0134773 6.7606 0.0436218C6.68597 0.0737664 6.61817 0.118634 6.56126 0.175548C6.50435 0.232462 6.45948 0.300257 6.42933 0.374888C6.39919 0.449519 6.38439 0.529456 6.38581 0.609933C6.38722 0.690409 6.40484 0.769775 6.4376 0.843296C6.47036 0.916817 6.51759 0.982986 6.57647 1.03786L7.95103 2.41241H6.99998C5.46337 2.41241 3.98969 3.02283 2.90314 4.10938C1.81659 5.19593 1.20618 6.66961 1.20618 8.20622C1.20618 9.74283 1.81659 11.2165 2.90314 12.3031C3.98969 13.3896 5.46337 14 6.99998 14C8.53595 13.9979 10.0084 13.3868 11.0945 12.3007C12.1806 11.2146 12.7917 9.74218 12.7938 8.20622C12.7938 8.04726 12.7306 7.89481 12.6182 7.78241C12.5058 7.67001 12.3534 7.60686 12.1944 7.60686C12.0355 7.60686 11.883 7.67001 11.7706 7.78241C11.6582 7.89481 11.5951 8.04726 11.5951 8.20622C11.5951 9.11504 11.3256 10.0035 10.8207 10.7591C10.3157 11.5148 9.59809 12.1037 8.75845 12.4515C7.9188 12.7993 6.99489 12.8903 6.10353 12.713C5.21217 12.5357 4.3934 12.0981 3.75077 11.4554C3.10813 10.8128 2.67049 9.99404 2.49319 9.10268C2.31589 8.21132 2.40688 7.2874 2.75468 6.44776C3.10247 5.60811 3.69143 4.89046 4.44709 4.38554C5.20275 3.88063 6.09116 3.61113 6.99998 3.61113H7.95098L6.57647 4.98564C6.46423 5.09802 6.40119 5.25035 6.40119 5.40918C6.40119 5.56801 6.46423 5.72035 6.57647 5.83273C6.63181 5.88876 6.69778 5.93317 6.77051 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ue=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchMinusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.0208 12.0411C4.83005 12.0411 3.66604 11.688 2.67596 11.0265C1.68589 10.3649 0.914216 9.42464 0.458534 8.32452C0.00285271 7.22441 -0.116374 6.01388 0.11593 4.84601C0.348235 3.67813 0.921637 2.60537 1.76363 1.76338C2.60562 0.921393 3.67838 0.34799 4.84625 0.115686C6.01412 -0.116618 7.22466 0.00260857 8.32477 0.45829C9.42488 0.913972 10.3652 1.68564 11.0267 2.67572C11.6883 3.66579 12.0414 4.8298 12.0414 6.02056C12.0395 7.41563 11.5542 8.76029 10.6783 9.8305L13.8244 12.9765C13.9367 13.089 13.9997 13.2414 13.9997 13.4003C13.9997 13.5592 13.9367 13.7116 13.8244 13.8241C13.769 13.8801 13.703 13.9245 13.6302 13.9548C13.5575 13.985 13.4794 14.0003 13.4006 14C13.3218 14.0003 13.2437 13.985 13.171 13.9548C13.0982 13.9245 13.0322 13.8801 12.9768 13.8241L9.83082 10.678C8.76059 11.5539 7.4159 12.0393 6.0208 12.0411ZM6.0208 1.20731C5.07199 1.20731 4.14449 1.48867 3.35559 2.0158C2.56669 2.54292 1.95181 3.29215 1.58872 4.16874C1.22562 5.04532 1.13062 6.00989 1.31572 6.94046C1.50083 7.87104 1.95772 8.72583 2.62863 9.39674C3.29954 10.0676 4.15433 10.5245 5.0849 10.7096C6.01548 10.8947 6.98005 10.7997 7.85663 10.4367C8.73322 10.0736 9.48244 9.45868 10.0096 8.66978C10.5367 7.88088 10.8181 6.95337 10.8181 6.00457C10.8181 4.73226 10.3126 3.51206 9.41297 2.6124C8.51331 1.71274 7.29311 1.20731 6.0208 1.20731ZM4.00591 6.60422H8.00362C8.16266 6.60422 8.31518 6.54104 8.42764 6.42859C8.5401 6.31613 8.60328 6.1636 8.60328 6.00456C8.60328 5.84553 8.5401 5.693 8.42764 5.58054C8.31518 5.46809 8.16266 5.40491 8.00362 5.40491H4.00591C3.84687 5.40491 3.69434 5.46809 3.58189 5.58054C3.46943 5.693 3.40625 5.84553 3.40625 6.00456C3.40625 6.1636 3.46943 6.31613 3.58189 6.42859C3.69434 6.54104 3.84687 6.60422 4.00591 6.60422Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchPlusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67596 11.0265C3.66604 11.688 4.83005 12.0411 6.0208 12.0411C6.81143 12.0411 7.59432 11.8854 8.32477 11.5828C8.86999 11.357 9.37802 11.0526 9.83311 10.6803L12.9768 13.8241C13.0322 13.8801 13.0982 13.9245 13.171 13.9548C13.2437 13.985 13.3218 14.0003 13.4006 14C13.4794 14.0003 13.5575 13.985 13.6302 13.9548C13.703 13.9245 13.769 13.8801 13.8244 13.8241C13.9367 13.7116 13.9997 13.5592 13.9997 13.4003C13.9997 13.2414 13.9367 13.089 13.8244 12.9765L10.6806 9.8328C11.0529 9.37773 11.3572 8.86972 11.5831 8.32452C11.8856 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0267 2.67572C10.3652 1.68564 9.42488 0.913972 8.32477 0.45829C7.22466 0.00260857 6.01412 -0.116618 4.84625 0.115686C3.67838 0.34799 2.60562 0.921393 1.76363 1.76338C0.921637 2.60537 0.348235 3.67813 0.11593 4.84601C-0.116374 6.01388 0.00285271 7.22441 0.458534 8.32452C0.914216 9.42464 1.68589 10.3649 2.67596 11.0265ZM3.35559 2.0158C4.14449 1.48867 5.07199 1.20731 6.0208 1.20731C7.29311 1.20731 8.51331 1.71274 9.41297 2.6124C10.3126 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5367 7.88088 10.0096 8.66978C9.48244 9.45868 8.73322 10.0736 7.85663 10.4367C6.98005 10.7997 6.01548 10.8947 5.0849 10.7096C4.15433 10.5245 3.29954 10.0676 2.62863 9.39674C1.95772 8.72583 1.50083 7.87104 1.31572 6.94046C1.13062 6.00989 1.22562 5.04532 1.58872 4.16874C1.95181 3.29215 2.56669 2.54292 3.35559 2.0158ZM6.00481 8.60309C5.84641 8.60102 5.69509 8.53718 5.58308 8.42517C5.47107 8.31316 5.40722 8.16183 5.40515 8.00344V6.60422H4.00591C3.84687 6.60422 3.69434 6.54104 3.58189 6.42859C3.46943 6.31613 3.40625 6.1636 3.40625 6.00456C3.40625 5.84553 3.46943 5.693 3.58189 5.58054C3.69434 5.46809 3.84687 5.40491 4.00591 5.40491H5.40515V4.00572C5.40515 3.84668 5.46833 3.69416 5.58079 3.5817C5.69324 3.46924 5.84577 3.40607 6.00481 3.40607C6.16385 3.40607 6.31637 3.46924 6.42883 3.5817C6.54129 3.69416 6.60447 3.84668 6.60447 4.00572V5.40491H8.00362C8.16266 5.40491 8.31518 5.46809 8.42764 5.58054C8.5401 5.693 8.60328 5.84553 8.60328 6.00456C8.60328 6.1636 8.5401 6.31613 8.42764 6.42859C8.31518 6.54104 8.16266 6.60422 8.00362 6.60422H6.60447V8.00344C6.60239 8.16183 6.53855 8.31316 6.42654 8.42517C6.31453 8.53718 6.1632 8.60102 6.00481 8.60309Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["UndoIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.77042 5.96336C6.84315 5.99355 6.92118 6.00891 6.99993 6.00854C7.07868 6.00891 7.15671 5.99355 7.22944 5.96336C7.30217 5.93317 7.36814 5.88876 7.42348 5.83273C7.53572 5.72035 7.59876 5.56801 7.59876 5.40918C7.59876 5.25035 7.53572 5.09802 7.42348 4.98564L6.04897 3.61113H6.99998C7.9088 3.61113 8.79722 3.88063 9.55288 4.38554C10.3085 4.89046 10.8975 5.60811 11.2453 6.44776C11.5931 7.2874 11.6841 8.21132 11.5068 9.10268C11.3295 9.99404 10.8918 10.8128 10.2492 11.4554C9.60657 12.0981 8.7878 12.5357 7.89644 12.713C7.00508 12.8903 6.08116 12.7993 5.24152 12.4515C4.40188 12.1037 3.68422 11.5148 3.17931 10.7591C2.67439 10.0035 2.4049 9.11504 2.4049 8.20622C2.4049 8.04726 2.34175 7.89481 2.22935 7.78241C2.11695 7.67001 1.9645 7.60686 1.80554 7.60686C1.64658 7.60686 1.49413 7.67001 1.38172 7.78241C1.26932 7.89481 1.20618 8.04726 1.20618 8.20622C1.20829 9.74218 1.81939 11.2146 2.90548 12.3007C3.99157 13.3868 5.46402 13.9979 6.99998 14C8.5366 14 10.0103 13.3896 11.0968 12.3031C12.1834 11.2165 12.7938 9.74283 12.7938 8.20622C12.7938 6.66961 12.1834 5.19593 11.0968 4.10938C10.0103 3.02283 8.5366 2.41241 6.99998 2.41241H6.04892L7.42348 1.03786C7.48236 0.982986 7.5296 0.916817 7.56235 0.843296C7.59511 0.769775 7.61273 0.690409 7.61415 0.609933C7.61557 0.529456 7.60076 0.449519 7.57062 0.374888C7.54047 0.300257 7.49561 0.232462 7.43869 0.175548C7.38178 0.118634 7.31398 0.0737664 7.23935 0.0436218C7.16472 0.0134773 7.08478 -0.00132663 7.00431 9.32772e-05C6.92383 0.00151319 6.84447 0.019128 6.77095 0.0518865C6.69742 0.0846451 6.63126 0.131876 6.57638 0.190763L4.17895 2.5882C4.06671 2.70058 4.00366 2.85292 4.00366 3.01175C4.00366 3.17058 4.06671 3.32291 4.17895 3.43529L6.57638 5.83273C6.63172 5.88876 6.69769 5.93317 6.77042 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Ed=["mask"],Rd=["previewButton"],Md=["closeButton"],Fd=(o,a)=>({height:o,width:a}),Gd=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),Vd=o=>({value:"visible",params:o});function Bd(o,a){1&o&&e.eu8(0)}function Od(o,a){if(1&o&&(e.qex(0),e.DNE(1,Bd,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.indicatorTemplate)}}function Ld(o,a){1&o&&e.nrm(0,"EyeIcon",11),2&o&&e.Y8G("styleClass","p-image-preview-icon")}function Nd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",8,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onImageClick())}),e.DNE(2,Od,2,1,"ng-container",9)(3,Ld,1,1,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG();e.Y8G("ngStyle",e.l_i(4,Fd,i.height+"px",i.width+"px")),e.BMQ("aria-label",i.zoomImageAriaLabel),e.R7$(2),e.Y8G("ngIf",i.indicatorTemplate)("ngIfElse",t)}}function jd(o,a){1&o&&e.nrm(0,"RefreshIcon")}function Pd(o,a){}function zd(o,a){1&o&&e.DNE(0,Pd,0,0,"ng-template")}function Hd(o,a){1&o&&e.nrm(0,"UndoIcon")}function Yd(o,a){}function $d(o,a){1&o&&e.DNE(0,Yd,0,0,"ng-template")}function Ad(o,a){1&o&&e.nrm(0,"SearchMinusIcon")}function Xd(o,a){}function Kd(o,a){1&o&&e.DNE(0,Xd,0,0,"ng-template")}function Ud(o,a){1&o&&e.nrm(0,"SearchPlusIcon")}function Qd(o,a){}function qd(o,a){1&o&&e.DNE(0,Qd,0,0,"ng-template")}function Wd(o,a){1&o&&e.nrm(0,"TimesIcon")}function Zd(o,a){}function Jd(o,a){1&o&&e.DNE(0,Zd,0,0,"ng-template")}function ep(o,a){if(1&o){const t=e.RV6();e.j41(0,"div"),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.j41(1,"img",17),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onPreviewImageClick())}),e.k0s()()}if(2&o){const t=e.XpG(2);e.Y8G("@animation",e.eq3(8,Vd,e.l_i(5,Gd,t.showTransitionOptions,t.hideTransitionOptions))),e.R7$(),e.Y8G("ngStyle",t.imagePreviewStyle()),e.BMQ("src",t.previewImageSrc?t.previewImageSrc:t.src,e.B4B)("srcset",t.previewImageSrcSet)("sizes",t.previewImageSizes)}}function tp(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",12,2),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onMaskClick())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onMaskKeydown(n))}),e.j41(2,"div",13),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.handleToolbarClick(n))}),e.j41(3,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateRight())}),e.DNE(4,jd,1,0,"RefreshIcon",15)(5,zd,1,0,null,10),e.k0s(),e.j41(6,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateLeft())}),e.DNE(7,Hd,1,0,"UndoIcon",15)(8,$d,1,0,null,10),e.k0s(),e.j41(9,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomOut())}),e.DNE(10,Ad,1,0,"SearchMinusIcon",15)(11,Kd,1,0,null,10),e.k0s(),e.j41(12,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomIn())}),e.DNE(13,Ud,1,0,"SearchPlusIcon",15)(14,qd,1,0,null,10),e.k0s(),e.j41(15,"button",14,3),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closePreview())}),e.DNE(17,Wd,1,0,"TimesIcon",15)(18,Jd,1,0,null,10),e.k0s()(),e.DNE(19,ep,2,10,"div",15),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-modal",t.maskVisible),e.R7$(3),e.BMQ("aria-label",t.rightAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateRightIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateRightIconTemplate),e.R7$(),e.BMQ("aria-label",t.leftAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateLeftIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateLeftIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomOutDisabled),e.BMQ("aria-label",t.zoomOutAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomOutIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomOutIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomInDisabled),e.BMQ("aria-label",t.zoomInAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomInIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomInIconTemplate),e.R7$(),e.BMQ("aria-label",t.closeAriaLabel()),e.R7$(2),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.previewVisible)}}let We=(()=>{class o{document;config;cd;el;imageClass;imageStyle;styleClass;style;src;srcSet;sizes;previewImageSrc;previewImageSrcSet;previewImageSizes;alt;width;height;loading;appendTo;preview=!1;showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";onShow=new e.bkB;onHide=new e.bkB;onImageError=new e.bkB;mask;previewButton;closeButton;templates;indicatorTemplate;rotateRightIconTemplate;rotateLeftIconTemplate;zoomOutIconTemplate;zoomInIconTemplate;closeIconTemplate;maskVisible=!1;previewVisible=!1;rotate=0;scale=1;previewClick=!1;container;wrapper;get isZoomOutDisabled(){return this.scale-this.zoomSettings.step<=this.zoomSettings.min}get isZoomInDisabled(){return this.scale+this.zoomSettings.step>=this.zoomSettings.max}zoomSettings={default:1,step:.1,max:1.5,min:.5};constructor(t,i,n,s){this.document=t,this.config=i,this.cd=n,this.el=s}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"indicator":default:this.indicatorTemplate=t.template;break;case"rotaterighticon":this.rotateRightIconTemplate=t.template;break;case"rotatelefticon":this.rotateLeftIconTemplate=t.template;break;case"zoomouticon":this.zoomOutIconTemplate=t.template;break;case"zoominicon":this.zoomInIconTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template}})}onImageClick(){this.preview&&(this.maskVisible=!0,this.previewVisible=!0,d.D.blockBodyScroll())}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}onMaskKeydown(t){"Escape"===t.code&&(this.onMaskClick(),setTimeout(()=>{d.D.focus(this.previewButton.nativeElement)},25),t.preventDefault())}onPreviewImageClick(){this.previewClick=!0}rotateRight(){this.rotate+=90,this.previewClick=!0}rotateLeft(){this.rotate-=90,this.previewClick=!0}zoomIn(){this.scale=this.scale+this.zoomSettings.step,this.previewClick=!0}zoomOut(){this.scale=this.scale-this.zoomSettings.step,this.previewClick=!0}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),setTimeout(()=>{d.D.focus(this.closeButton.nativeElement)},25);break;case"void":d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":h.Q$.clear(this.wrapper),this.maskVisible=!1,this.container=null,this.wrapper=null,this.cd.markForCheck(),this.onHide.emit({});break;case"visible":this.onShow.emit({})}}moveOnTop(){h.Q$.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}get zoomImageAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomImage:void 0}containerClass(){return{"p-image p-component":!0,"p-image-preview-container":this.preview}}handleToolbarClick(t){t.stopPropagation()}closePreview(){this.previewVisible=!1,this.rotate=0,this.scale=this.zoomSettings.default,d.D.unblockBodyScroll()}imageError(t){this.onImageError.emit(t)}rightAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateRight:void 0}leftAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateLeft:void 0}zoomInAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomIn:void 0}zoomOutAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomOut:void 0}closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}onKeydownHandler(t){this.previewVisible&&this.closePreview()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(g.r1),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["p-image"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Ed,5),e.GBs(Rd,5),e.GBs(Md,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.mask=s.first),e.mGM(s=e.lsd())&&(n.previewButton=s.first),e.mGM(s=e.lsd())&&(n.closeButton=s.first)}},hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.escape",function(l){return n.onKeydownHandler(l)},!1,e.EBC)},inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",srcSet:"srcSet",sizes:"sizes",previewImageSrc:"previewImageSrc",previewImageSrcSet:"previewImageSrcSet",previewImageSizes:"previewImageSizes",alt:"alt",width:"width",height:"height",loading:"loading",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:16,consts:[["previewButton",""],["defaultTemplate",""],["mask",""],["closeButton",""],[3,"ngClass","ngStyle"],[3,"error","ngStyle"],["type","button","class","p-image-preview-indicator","style","border: 'none';",3,"ngStyle","click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter","role","dialog","pFocusTrap","",3,"click","keydown",4,"ngIf"],["type","button",1,"p-image-preview-indicator",2,"border","'none'",3,"click","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"styleClass"],["role","dialog","pFocusTrap","",1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click","keydown"],[1,"p-image-toolbar",3,"click"],["type","button",1,"p-image-action","p-link",3,"click"],[4,"ngIf"],["type","button",1,"p-image-action","p-link",3,"click","disabled"],[1,"p-image-preview",3,"click","ngStyle"]],template:function(i,n){1&i&&(e.j41(0,"span",4)(1,"img",5),e.bIt("error",function(l){return n.imageError(l)}),e.k0s(),e.DNE(2,Nd,5,7,"button",6)(3,tp,20,19,"div",7),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass())("ngStyle",n.style),e.R7$(),e.HbH(n.imageClass),e.Y8G("ngStyle",n.imageStyle),e.BMQ("src",n.src,e.B4B)("srcset",n.srcSet)("sizes",n.sizes)("alt",n.alt)("width",n.width)("height",n.height)("loading",n.loading),e.R7$(),e.Y8G("ngIf",n.preview),e.R7$(),e.Y8G("ngIf",n.maskVisible))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,Ke,Xe,qe,Ue,Qe,F.A,He],styles:["@layer primeng{.p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block;line-height:0}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;outline:none;border:none;padding:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon.pi{font-size:1.5rem}.p-image-preview-icon.p-icon{scale:1.5}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex;z-index:1}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-action.p-link[disabled]{opacity:.5}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.iF)({transform:"scale(0.7)",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0})}return o})(),Ze=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,Ke,Xe,qe,Ue,Qe,F.A,Ye,g.Gg]})}return o})();var ip=I(4125);const np=["dt"],op=()=>[10,20,50,60,100,200],sp=()=>({width:"50rem"}),ap=()=>({"1250px":"75vw","800px":"90vw"});function lp(o,a){1&o&&(e.j41(0,"tr"),e.nrm(1,"th"),e.j41(2,"th"),e.EFF(3,"Doi"),e.k0s(),e.j41(4,"th",11),e.EFF(5," Title "),e.nrm(6,"p-sortIcon",12),e.k0s(),e.j41(7,"th",13),e.EFF(8," Keywords "),e.nrm(9,"p-sortIcon",14),e.k0s(),e.j41(10,"th"),e.EFF(11,"Cluster"),e.k0s(),e.j41(12,"th",15),e.EFF(13," Cited by Count "),e.nrm(14,"p-sortIcon",16),e.k0s(),e.j41(15,"th",17),e.EFF(16," Publication "),e.nrm(17,"p-sortIcon",18),e.k0s(),e.j41(18,"th",19),e.EFF(19," Referenced Works Count "),e.nrm(20,"p-sortIcon",20),e.k0s(),e.j41(21,"th",21),e.EFF(22," Relevance Score "),e.nrm(23,"p-sortIcon",22),e.k0s()())}function rp(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-button",27),e.bIt("onClick",function(){e.eBV(t);const n=e.XpG().$implicit,s=e.XpG();return e.Njj(s.openDoi(n.doi))}),e.k0s()}}function cp(o,a){if(1&o){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"p-button",23),e.bIt("onClick",function(){const n=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.openDialog(n.id))}),e.k0s()(),e.j41(3,"td"),e.DNE(4,rp,1,0,"p-button",24),e.k0s(),e.nrm(5,"td",25)(6,"td",26),e.j41(7,"td"),e.EFF(8),e.k0s(),e.j41(9,"td"),e.EFF(10),e.k0s(),e.j41(11,"td"),e.EFF(12),e.k0s(),e.j41(13,"td"),e.EFF(14),e.k0s(),e.j41(15,"td"),e.EFF(16),e.k0s()()}if(2&o){const t=a.$implicit;e.R7$(4),e.Y8G("ngIf",t.doi),e.R7$(),e.FS9("pTooltip",t.title),e.Y8G("innerHTML",t.title,e.npT),e.R7$(),e.FS9("pTooltip",t.keywords),e.Y8G("innerHTML",t.keywords,e.npT),e.R7$(2),e.Lme("",t.ismed_first?"Medicine":"Pasture"," ",t.cluster,""),e.R7$(2),e.JRh(t.cited_by_count),e.R7$(2),e.JRh(t.publication_date),e.R7$(2),e.JRh(t.referenced_works_count),e.R7$(2),e.JRh(t.relevance_score)}}function dp(o,a){if(1&o&&(e.j41(0,"a",28),e.nrm(1,"i",29),e.k0s()),2&o){const t=e.XpG();e.Y8G("href",null==t.source?null:t.source.doi,e.B4B)}}let de=(()=>{class o{constructor(t,i){this.sourceService=t,this.tableService=i,this.source=null,this.page=1,this.rows=10,this.limit=1e3,this.full=!0,this.isSorted=!1,this.showDialog=!1,this.dataSource=[],this.handleScroll=n=>{console.log("scroll",n),console.timeEnd("lastScrolled"),console.time("lastScrolled")}}ngOnInit(){this.tableService.table$.subscribe(t=>{this.dataSource=[],this.dataSource=t}),this.tableService.search$.subscribe(t=>{this.search=t})}announceSortChange2(t){let i={active:t.field,direction:1===t.order?"asc":"desc"};null==this.isSorted?(this.isSorted=!0,this.tableService.announceSortChange(i)):this.isSorted?this.isSorted=!1:this.isSorted||(this.isSorted=null,this.dataSource=[]),console.log(t.data=[])}applyFilter(t){this.tableService.applyFilter(t)}ngAfterViewInit(){this.tableService.getSourcesData(1)}hasMore(){return console.log(this.dataSource.length),!this.dataSource||this.dataSource.length{this.showDialog=!1,this.source=i,this.showDialog=!0},i=>{this.showDialog=!1,console.error("Erro ao obter dados da fonte:",i)})}openDoi(t){window.open(t,"_blanck")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ip.F),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-table"]],viewQuery:function(i,n){if(1&i&&e.GBs(np,5),2&i){let s;e.mGM(s=e.lsd())&&(n.dt=s.first)}},standalone:!0,features:[e.aNF],decls:21,vars:24,consts:[["dt",""],[3,"sortFunction","value","rows","customSort","paginator","rowsPerPageOptions"],["pTemplate","header"],["pTemplate","body"],[3,"visibleChange","modal","visible","breakpoints"],[3,"innerHTML"],["class","doiUrl","target","_blank",3,"href",4,"ngIf"],[1,"grid"],[1,"col-3"],["width","100%",3,"src","preview"],[1,"col-9"],["pSortableColumn","title"],["field","title"],["pSortableColumn","keywords"],["field","keywords"],["pSortableColumn","cited_by_count"],["field","cited_by_count"],["pSortableColumn","publication_date"],["field","publication_date"],["pSortableColumn","referenced_works_count"],["field","referenced_works_count"],["pSortableColumn","relevance_score"],["field","relevance_score"],["icon","pi pi-search","pTooltip","Open Abstract","severity","success",3,"onClick"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick",4,"ngIf"],[3,"pTooltip","innerHTML"],[1,"limited-width-text",3,"pTooltip","innerHTML"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick"],["target","_blank",1,"doiUrl",3,"href"],[1,"pi","pi-file"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"p-table",1,0),e.bIt("sortFunction",function(r){return e.eBV(s),e.Njj(n.announceSortChange2(r))}),e.DNE(2,lp,24,0,"ng-template",2)(3,cp,17,11,"ng-template",3),e.k0s(),e.j41(4,"p-dialog",4),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.showDialog,r)||(n.showDialog=r),e.Njj(r)}),e.nrm(5,"p-header",5),e.j41(6,"h3"),e.EFF(7),e.k0s(),e.j41(8,"p"),e.DNE(9,dp,2,1,"a",6),e.EFF(10),e.k0s(),e.j41(11,"h4"),e.EFF(12,"Keywords:"),e.k0s(),e.nrm(13,"p",5),e.j41(14,"div",7)(15,"div",8),e.nrm(16,"p-image",9),e.k0s(),e.j41(17,"div",10)(18,"h3"),e.EFF(19,"Abstract"),e.k0s(),e.nrm(20,"p",5),e.k0s()()()}2&i&&(e.Y8G("value",n.dataSource)("rows",n.rows)("customSort",!0)("paginator",!0)("rowsPerPageOptions",e.lJ4(21,op)),e.R7$(4),e.Aen(e.lJ4(22,sp)),e.Y8G("modal",!0),e.R50("visible",n.showDialog),e.Y8G("breakpoints",e.lJ4(23,ap)),e.R7$(),e.Y8G("innerHTML",null==n.source?null:n.source.title,e.npT),e.R7$(2),e.SpI("ID: ",null==n.source?null:n.source.id,""),e.R7$(2),e.Y8G("ngIf",null==n.source?null:n.source.doi),e.R7$(),e.LHq(" ",null==n.source?null:n.source.language," | ",null==n.source?null:n.source.type_crossref," | ",null!=n.source&&n.source.ismed_first?"Medicine":"Pasture"," Cluster:",null==n.source?null:n.source.cluster," "),e.R7$(3),e.Y8G("innerHTML",null==n.source?null:n.source.keywords,e.npT),e.R7$(3),e.Y8G("src",null==n.source?null:n.source.image)("preview",!0),e.R7$(4),e.Y8G("innerHTML",null==n.source?null:n.source.abstract,e.npT))},dependencies:[Oc,Z,g.Y9,g.Ei,Vc,Bc,m.MD,m.bT,Dd,Sd,Ze,We,M.tm,M.$n,j.S,j.m],styles:['@charset "UTF-8";.limited-width-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:200px}']})}return o})(),pp=(()=>{class o{constructor(t){this.tableService=t}ngOnInit(){this.tableService.setInfo("pasture")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-home"]],decls:1,vars:0,template:function(i,n){1&i&&e.nrm(0,"app-table")},dependencies:[de]})}return o})(),up=(()=>{class o{constructor(t,i){this.route=t,this.tableService=i,this.cluster_id=0}ngOnInit(){this.route.paramMap.subscribe(t=>{this.type_source=t.get("type_source"),this.tableService.setInfo(this.type_source,this.cluster_id)})}setCluster(t){this.cluster_id=t?39===this.cluster_id?0:this.cluster_id+1:0===this.cluster_id?39:this.cluster_id-1,this.tableService.setInfo(this.type_source,this.cluster_id)}getImageUrl(){let t=this.cluster_id.toString().padStart(3,"0"),i=this.type_source;return"medicine"===i&&(i="med"),`https://s3.lapig.iesa.ufg.br/public/bibiografia/${i}/${t}_keywords.png`}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(L.nX),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-cluster"]],standalone:!0,features:[e.aNF],decls:10,vars:7,consts:[[1,"grid"],[1,"col-3"],[1,"flex","justify-content-center","flex-wrap"],[1,"flex","align-items-center","justify-content-center"],["width","100%",3,"src","alt","preview"],[1,"flex","justify-content-evenly","w-full"],["icon","pi pi-step-backward",3,"click","rounded","outlined"],["icon","pi pi-step-forward",3,"click","rounded","outlined"],[1,"col-9"]],template:function(i,n){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.nrm(4,"p-image",4),e.k0s(),e.j41(5,"div",5)(6,"p-button",6),e.bIt("click",function(){return n.setCluster(!1)}),e.k0s(),e.j41(7,"p-button",7),e.bIt("click",function(){return n.setCluster(!0)}),e.k0s()()()(),e.j41(8,"div",8),e.nrm(9,"app-table"),e.k0s()()),2&i&&(e.R7$(4),e.Y8G("src",n.getImageUrl())("alt","Cluster_"+n.cluster_id)("preview",!0),e.R7$(2),e.Y8G("rounded",!0)("outlined",!0),e.R7$(),e.Y8G("rounded",!0)("outlined",!0))},dependencies:[M.tm,M.$n,de,Ze,We]})}return o})(),hp=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[L.iI.forChild([{path:"",data:{breadcrumb:"Grassland Literature Review"},component:pp},{path:"cluster/:type_source",data:{breadcrumb:"Type Source"},component:up}]),L.iI]})}return o})(),bp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();const vp=["*"];let yp=(()=>{class o{style;styleClass;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputGroup"]],hostAttrs:[1,"p-element","p-inputgroup"],inputs:{style:"style",styleClass:"styleClass"},ngContentSelectors:vp,decls:2,vars:3,consts:[[1,"p-inputgroup",3,"ngClass","ngStyle"]],template:function(i,n){1&i&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s()),2&i&&(e.Y8G("ngClass",n.styleClass)("ngStyle",n.style),e.BMQ("data-pc-name","inputgroup"))},dependencies:[m.YU,m.B3],encapsulation:2})}return o})(),Cp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();var Je=I(6150);let et=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["BarsIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var wp=I(3888),Ip=I(1584),Tp=I(9974),kp=I(5343),tt=I(4360),Sp=I(8750),Ep=I(5964);const Rp=["menubar"],Mp=(o,a)=>({"p-submenu-list":o,"p-menubar-root-list":a}),it=o=>({"p-menuitem-link":!0,"p-disabled":o}),Fp=()=>({exact:!1}),Gp=o=>({$implicit:o});function Vp(o,a){if(1&o&&e.nrm(0,"li",8),2&o){const t=e.XpG().$implicit,i=e.XpG();e.Aen(i.getItemProp(t,"style")),e.Y8G("ngClass",i.getSeparatorItemClass(t)),e.BMQ("id",i.getItemId(t))("data-pc-section","separator")}}function Bp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Op(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.BMQ("data-pc-section","label"),e.R7$(),e.SpI(" ",i.getItemLabel(t)," ")}}function Lp(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Np(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function jp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Pp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,jp,1,3,"AngleDownIcon",24)(2,Pp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Hp(o,a){}function Yp(o,a){1&o&&e.DNE(0,Hp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function $p(o,a){if(1&o&&(e.qex(0),e.DNE(1,zp,3,2,"ng-container",11)(2,Yp,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function Ap(o,a){if(1&o&&(e.j41(0,"a",15),e.DNE(1,Bp,1,5,"span",16)(2,Op,2,2,"span",17)(3,Lp,1,2,"ng-template",null,2,e.C5r)(5,Np,2,2,"span",18)(6,$p,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("target",n.getItemProp(i,"target"))("ngClass",e.eq3(12,it,n.getItemProp(i,"disabled"))),e.BMQ("href",n.getItemProp(i,"url"),e.B4B)("aria-hidden",!0)("data-automationid",n.getItemProp(i,"automationId"))("data-pc-section","action")("tabindex",-1),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function Xp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Kp(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.R7$(),e.JRh(i.getItemLabel(t))}}function Up(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Qp(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function qp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Wp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,qp,1,3,"AngleDownIcon",24)(2,Wp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Jp(o,a){}function eu(o,a){1&o&&e.DNE(0,Jp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function tu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Zp,3,2,"ng-container",11)(2,eu,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function iu(o,a){if(1&o&&(e.j41(0,"a",27),e.DNE(1,Xp,1,5,"span",16)(2,Kp,2,1,"span",17)(3,Up,1,2,"ng-template",null,3,e.C5r)(5,Qp,2,2,"span",18)(6,tu,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("routerLink",n.getItemProp(i,"routerLink"))("queryParams",n.getItemProp(i,"queryParams"))("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",n.getItemProp(i,"routerLinkActiveOptions")||e.lJ4(21,Fp))("target",n.getItemProp(i,"target"))("ngClass",e.eq3(22,it,n.getItemProp(i,"disabled")))("fragment",n.getItemProp(i,"fragment"))("queryParamsHandling",n.getItemProp(i,"queryParamsHandling"))("preserveFragment",n.getItemProp(i,"preserveFragment"))("skipLocationChange",n.getItemProp(i,"skipLocationChange"))("replaceUrl",n.getItemProp(i,"replaceUrl"))("state",n.getItemProp(i,"state")),e.BMQ("data-automationid",n.getItemProp(i,"automationId"))("tabindex",-1)("aria-hidden",!0)("data-pc-section","action"),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function nu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ap,7,14,"a",13)(2,iu,7,24,"a",14),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.getItemProp(t,"routerLink")),e.R7$(),e.Y8G("ngIf",i.getItemProp(t,"routerLink"))}}function ou(o,a){}function su(o,a){1&o&&e.DNE(0,ou,0,0,"ng-template")}function au(o,a){if(1&o&&(e.qex(0),e.DNE(1,su,1,0,null,28),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",i.itemTemplate)("ngTemplateOutletContext",e.eq3(2,Gp,t.item))}}function lu(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-menubarSub",29),e.bIt("itemClick",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.itemClick.emit(n))})("itemMouseEnter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onItemMouseEnter(n))}),e.k0s()}if(2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.Y8G("itemTemplate",i.itemTemplate)("items",t.items)("mobileActive",i.mobileActive)("autoDisplay",i.autoDisplay)("menuId",i.menuId)("activeItemPath",i.activeItemPath)("focusedItemId",i.focusedItemId)("level",i.level+1)}}function ru(o,a){if(1&o){const t=e.RV6();e.j41(0,"li",9,1)(2,"div",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemClick(n,s))})("mouseenter",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemMouseEnter({$event:n,processedItem:s}))}),e.DNE(3,nu,3,2,"ng-container",11)(4,au,2,4,"ng-container",11),e.k0s(),e.DNE(5,lu,1,8,"p-menubarSub",12),e.k0s()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.HbH(s.getItemProp(i,"styleClass")),e.Y8G("ngStyle",s.getItemProp(i,"style"))("ngClass",s.getItemClass(i))("tooltipOptions",s.getItemProp(i,"tooltipOptions")),e.BMQ("id",s.getItemId(i))("data-pc-section","menuitem")("data-p-highlight",s.isItemActive(i))("data-p-focused",s.isItemFocused(i))("data-p-disabled",s.isItemDisabled(i))("aria-label",s.getItemLabel(i))("aria-disabled",s.isItemDisabled(i)||void 0)("aria-haspopup",s.isItemGroup(i)&&!s.getItemProp(i,"to")?"menu":void 0)("aria-expanded",s.isItemGroup(i)?s.isItemActive(i):void 0)("aria-level",s.level+1)("aria-setsize",s.getAriaSetSize())("aria-posinset",s.getAriaPosInset(n)),e.R7$(2),e.BMQ("data-pc-section","content"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.isItemVisible(i)&&s.isItemGroup(i))}}function cu(o,a){if(1&o&&e.DNE(0,Vp,1,5,"li",6)(1,ru,6,21,"li",7),2&o){const t=a.$implicit,i=e.XpG();e.Y8G("ngIf",i.isItemVisible(t)&&i.getItemProp(t,"separator")),e.R7$(),e.Y8G("ngIf",i.isItemVisible(t)&&!i.getItemProp(t,"separator"))}}const du=["menubutton"],pu=["rootmenu"],uu=["*"],hu=o=>({"p-menubar p-component":!0,"p-menubar-mobile-active":o});function mu(o,a){1&o&&e.eu8(0)}function _u(o,a){if(1&o&&(e.j41(0,"div",8),e.DNE(1,mu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.startTemplate)}}function gu(o,a){1&o&&e.nrm(0,"BarsIcon")}function fu(o,a){}function bu(o,a){1&o&&e.DNE(0,fu,0,0,"ng-template")}function vu(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",10,2),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonClick(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonKeydown(n))}),e.DNE(2,gu,1,0,"BarsIcon",11)(3,bu,1,0,null,9),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-haspopup",!!(t.model.length&&t.model.length>0))("aria-expanded",t.mobileActive)("aria-controls",t.id)("aria-label",t.config.translation.aria.navigation)("data-pc-section","button"),e.R7$(2),e.Y8G("ngIf",!t.menuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.menuIconTemplate)}}function yu(o,a){1&o&&e.eu8(0)}function Cu(o,a){if(1&o&&(e.j41(0,"div",12),e.DNE(1,yu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.endTemplate)}}function wu(o,a){1&o&&(e.j41(0,"div",12),e.SdG(1),e.k0s())}let pe=(()=>{class o{autoHide;autoHideDelay;mouseLeaves=new P.B;mouseLeft$=this.mouseLeaves.pipe(function Dp(o){return(0,Tp.N)((a,t)=>{let i=!1,n=null,s=null;const l=()=>{if(s?.unsubscribe(),s=null,i){i=!1;const r=n;n=null,t.next(r)}};a.subscribe((0,tt._)(t,r=>{s?.unsubscribe(),i=!0,n=r,s=(0,tt._)(t,l,kp.l),(0,Sp.Tg)(o(r)).subscribe(s)},()=>{l(),t.complete()},void 0,()=>{n=s=null}))})}(()=>function xp(o=0,a=wp.E){return o<0&&(o=0),(0,Ip.O)(o,o,a)}(this.autoHideDelay)),(0,Ep.p)(t=>this.autoHide&&t));static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Iu=(()=>{class o{el;renderer;cd;menubarService;items;itemTemplate;root=!1;autoZIndex=!0;baseZIndex=0;mobileActive;autoDisplay;menuId;ariaLabel;ariaLabelledBy;level=0;focusedItemId;activeItemPath;itemClick=new e.bkB;itemMouseEnter=new e.bkB;menuFocus=new e.bkB;menuBlur=new e.bkB;menuKeydown=new e.bkB;menubarViewChild;mouseLeaveSubscriber;constructor(t,i,n,s){this.el=t,this.renderer=i,this.cd=n,this.menubarService=s}ngOnInit(){this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>{this.cd.markForCheck()})}onItemClick(t,i){this.getItemProp(i,"command",{originalEvent:t,item:i.item}),this.itemClick.emit({originalEvent:t,processedItem:i,isFocus:!0})}getItemProp(t,i,n=null){return t&&t.item?h.BF.getItemValue(t.item[i],n):void 0}getItemId(t){return t.item&&t.item?.id?t.item.id:`${this.menuId}_${t.key}`}getItemKey(t){return this.getItemId(t)}getItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem":!0,"p-highlight":this.isItemActive(t),"p-menuitem-active":this.isItemActive(t),"p-focus":this.isItemFocused(t),"p-disabled":this.isItemDisabled(t)}}getItemLabel(t){return this.getItemProp(t,"label")}getSeparatorItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem-separator":!0}}isItemVisible(t){return!1!==this.getItemProp(t,"visible")}isItemActive(t){if(this.activeItemPath)return this.activeItemPath.some(i=>i.key===t.key)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemFocused(t){return this.focusedItemId===this.getItemId(t)}isItemGroup(t){return h.BF.isNotEmpty(t.items)}getAriaSetSize(){return this.items.filter(t=>this.isItemVisible(t)&&!this.getItemProp(t,"separator")).length}getAriaPosInset(t){return t-this.items.slice(0,t).filter(i=>this.isItemVisible(i)&&this.getItemProp(i,"separator")).length+1}onItemMouseLeave(){this.menubarService.mouseLeaves.next(!0)}onItemMouseEnter(t){if(this.autoDisplay){this.menubarService.mouseLeaves.next(!1);const{event:i,processedItem:n}=t;this.itemMouseEnter.emit({originalEvent:i,processedItem:n})}}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(pe))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubarSub"]],viewQuery:function(i,n){if(1&i&&e.GBs(Rp,7),2&i){let s;e.mGM(s=e.lsd())&&(n.menubarViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{items:"items",itemTemplate:"itemTemplate",root:"root",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",mobileActive:"mobileActive",autoDisplay:"autoDisplay",menuId:"menuId",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",level:"level",focusedItemId:"focusedItemId",activeItemPath:"activeItemPath"},outputs:{itemClick:"itemClick",itemMouseEnter:"itemMouseEnter",menuFocus:"menuFocus",menuBlur:"menuBlur",menuKeydown:"menuKeydown"},decls:3,vars:11,consts:[["menubar",""],["listItem",""],["htmlLabel",""],["htmlRouteLabel",""],["role","menu",3,"focus","blur","keydown","ngClass","tabindex"],["ngFor","",3,"ngForOf"],["role","separator",3,"style","ngClass",4,"ngIf"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","class","tooltipOptions",4,"ngIf"],["role","separator",3,"ngClass"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","tooltipOptions"],[1,"p-menuitem-content",3,"click","mouseenter"],[4,"ngIf"],[3,"itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level","itemClick","itemMouseEnter",4,"ngIf"],["pRipple","",3,"target","ngClass",4,"ngIf"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["pRipple","",3,"target","ngClass"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[1,"p-menuitem-icon",3,"ngClass","ngStyle"],[1,"p-menuitem-text"],[1,"p-menuitem-text",3,"innerHTML"],[1,"p-menuitem-badge",3,"ngClass"],[4,"ngTemplateOutlet"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[3,"data-pc-section","aria-hidden"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"itemClick","itemMouseEnter","itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"ul",4,0),e.bIt("focus",function(r){return e.eBV(s),e.Njj(n.menuFocus.emit(r))})("blur",function(r){return e.eBV(s),e.Njj(n.menuBlur.emit(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.menuKeydown.emit(r))}),e.DNE(2,cu,2,2,"ng-template",5),e.k0s()}2&i&&(e.Y8G("ngClass",e.l_i(8,Mp,!n.root,n.root))("tabindex",0),e.BMQ("data-pc-section","menu")("aria-label",n.ariaLabel)("aria-labelledBy",n.ariaLabelledBy)("id",n.menuId)("aria-activedescendant",n.focusedItemId),e.R7$(2),e.Y8G("ngForOf",n.items))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,L.Wk,L.wQ,E.n,j.m,U,Q,o],encapsulation:2})}return o})(),xu=(()=>{class o{document;platformId;el;renderer;cd;config;menubarService;set model(t){this._model=t,this._processedItems=this.createProcessedItems(this._model||[])}get model(){return this._model}style;styleClass;autoZIndex=!0;baseZIndex=0;autoDisplay=!0;autoHide;autoHideDelay=100;id;ariaLabel;ariaLabelledBy;onFocus=new e.bkB;onBlur=new e.bkB;templates;menubutton;rootmenu;startTemplate;endTemplate;menuIconTemplate;submenuIconTemplate;itemTemplate;mobileActive;outsideClickListener;resizeListener;mouseLeaveSubscriber;dirty=!1;focused=!1;activeItemPath=(0,e.vPA)([]);number=(0,e.vPA)(0);focusedItemInfo=(0,e.vPA)({index:-1,level:0,parentKey:"",item:null});searchValue="";searchTimeout;_processedItems;_model;get visibleItems(){const t=this.activeItemPath().find(i=>i.key===this.focusedItemInfo().parentKey);return t?t.items:this.processedItems}get processedItems(){return(!this._processedItems||!this._processedItems.length)&&(this._processedItems=this.createProcessedItems(this.model||[])),this._processedItems}get focusedItemId(){const t=this.focusedItemInfo();return t.item&&t.item?.id?t.item.id:-1!==t.index?`${this.id}${h.BF.isNotEmpty(t.parentKey)?"_"+t.parentKey:""}_${t.index}`:null}constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.cd=l,this.config=r,this.menubarService=c,(0,e.QZP)(()=>{const p=this.activeItemPath();h.BF.isNotEmpty(p)?(this.bindOutsideClickListener(),this.bindResizeListener()):(this.unbindOutsideClickListener(),this.unbindResizeListener())})}ngOnInit(){this.menubarService.autoHide=this.autoHide,this.menubarService.autoHideDelay=this.autoHideDelay,this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>this.unbindOutsideClickListener()),this.id=this.id||(0,h._Y)()}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"start":this.startTemplate=t.template;break;case"end":this.endTemplate=t.template;break;case"menuicon":this.menuIconTemplate=t.template;break;case"submenuicon":this.submenuIconTemplate=t.template;break;default:this.itemTemplate=t.template}})}createProcessedItems(t,i=0,n={},s=""){const l=[];return t&&t.forEach((r,c)=>{const p=(""!==s?s+"_":"")+c,u={item:r,index:c,level:i,key:p,parent:n,parentKey:s};u.items=this.createProcessedItems(r.items,i+1,u,p),l.push(u)}),l}getItemProp(t,i){return t?h.BF.getItemValue(t[i]):void 0}menuButtonClick(t){this.toggle(t)}menuButtonKeydown(t){("Enter"===t.code||"Space"===t.code)&&this.menuButtonClick(t)}onItemClick(t){const{originalEvent:i,processedItem:n}=t,s=this.isProcessedItemGroup(n),l=h.BF.isEmpty(n.parent);if(this.isSelected(n)){const{index:c,key:p,level:u,parentKey:_,item:b}=n;this.activeItemPath.set(this.activeItemPath().filter(f=>p!==f.key&&p.startsWith(f.key))),this.focusedItemInfo.set({index:c,level:u,parentKey:_,item:b}),this.dirty=!l,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}else if(s)this.onItemChange(t);else{const c=l?n:this.activeItemPath().find(p=>""===p.parentKey);this.hide(i),this.changeFocusedItemIndex(i,c?c.index:-1),this.mobileActive=!1,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}}onItemMouseEnter(t){d.D.isTouchDevice()||this.mobileActive||this.onItemChange(t)}changeFocusedItemIndex(t,i){const n=this.findVisibleItem(i);if(this.focusedItemInfo().index!==i){const s=this.focusedItemInfo();this.focusedItemInfo.set({...s,item:n.item,index:i}),this.scrollInView()}}scrollInView(t=-1){const n=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedItemId}"]`);n&&n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"})}onItemChange(t){const{processedItem:i,isFocus:n}=t;if(h.BF.isEmpty(i))return;const{index:s,key:l,level:r,parentKey:c,items:p,item:u}=i,_=h.BF.isNotEmpty(p),b=this.activeItemPath().filter(f=>f.parentKey!==c&&f.parentKey!==l);_&&b.push(i),this.focusedItemInfo.set({index:s,level:r,parentKey:c,item:u}),this.activeItemPath.set(b),_&&(this.dirty=!0),n&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}toggle(t){this.mobileActive?(this.mobileActive=!1,h.Q$.clear(this.rootmenu.el.nativeElement),this.hide()):(this.mobileActive=!0,h.Q$.set("menu",this.rootmenu.el.nativeElement,this.config.zIndex.menu),setTimeout(()=>{this.show()},0)),this.cd.markForCheck(),this.bindOutsideClickListener(),t.preventDefault()}hide(t,i){this.mobileActive&&setTimeout(()=>{d.D.focus(this.menubutton.nativeElement)},0),this.activeItemPath.set([]),this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),i&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement),this.dirty=!1}show(){const t=this.findVisibleItem(this.findFirstFocusedItemIndex());this.focusedItemInfo.set({index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:t.item}),d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}onMenuFocus(t){this.focused=!0;const i=this.findVisibleItem(this.findFirstFocusedItemIndex()),n=-1!==this.focusedItemInfo().index?this.focusedItemInfo():{index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:i.item};this.focusedItemInfo.set(n),this.onFocus.emit(t)}onMenuBlur(t){this.focused=!1,this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),this.searchValue="",this.dirty=!1,this.onBlur.emit(t)}onKeyDown(t){const i=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"ArrowLeft":this.onArrowLeftKey(t);break;case"ArrowRight":this.onArrowRightKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Space":this.onSpaceKey(t);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!i&&h.BF.isPrintableCharacter(t.key)&&this.searchItems(t,t.key)}}findVisibleItem(t){return h.BF.isNotEmpty(this.visibleItems)?this.visibleItems[t]:null}findFirstFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findFirstItemIndex():t}findFirstItemIndex(){return this.visibleItems.findIndex(t=>this.isValidItem(t))}findSelectedItemIndex(){return this.visibleItems.findIndex(t=>this.isValidSelectedItem(t))}isProcessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}isSelected(t){return this.activeItemPath().some(i=>i.key===t.key)}isValidSelectedItem(t){return this.isValidItem(t)&&this.isSelected(t)}isValidItem(t){return!!t&&!this.isItemDisabled(t.item)&&!this.isItemSeparator(t.item)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemSeparator(t){return this.getItemProp(t,"separator")}isItemMatched(t){return this.isValidItem(t)&&this.getProccessedItemLabel(t).toLocaleLowerCase().startsWith(this.searchValue.toLocaleLowerCase())}isProccessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}searchItems(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedItemInfo().index?(n=this.visibleItems.slice(this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)),n=-1===n?this.visibleItems.slice(0,this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)):n+this.focusedItemInfo().index):n=this.visibleItems.findIndex(l=>this.isItemMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedItemInfo().index&&(n=this.findFirstFocusedItemIndex()),-1!==n&&this.changeFocusedItemIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}getProccessedItemLabel(t){return t?this.getItemLabel(t.item):void 0}getItemLabel(t){return this.getItemProp(t,"label")}onArrowDownKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&h.BF.isEmpty(i.parent))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowRightKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowRightKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&this.activeItemPath().find(s=>s.key===i.parentKey))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowDownKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowUpKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(h.BF.isEmpty(i.parent)){if(this.isProccessedItemGroup(i)){this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item});const l=this.findLastItemIndex();this.changeFocusedItemIndex(t,l)}}else{const s=this.activeItemPath().find(l=>l.key===i.parentKey);if(0===this.focusedItemInfo().index){this.focusedItemInfo.set({index:-1,parentKey:s?s.parentKey:"",item:i.item}),this.searchValue="",this.onArrowLeftKey(t);const l=this.activeItemPath().filter(r=>r.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(l)}else{const l=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,l)}}t.preventDefault()}onArrowLeftKey(t){const i=this.visibleItems[this.focusedItemInfo().index],n=i?this.activeItemPath().find(s=>s.key===i.parentKey):null;if(n){this.onItemChange({originalEvent:t,processedItem:n});const s=this.activeItemPath().filter(l=>l.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(s),t.preventDefault()}else{const s=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onHomeKey(t){this.changeFocusedItemIndex(t,this.findFirstItemIndex()),t.preventDefault()}onEndKey(t){this.changeFocusedItemIndex(t,this.findLastItemIndex()),t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}onEscapeKey(t){this.hide(t,!0),this.focusedItemInfo().index=this.findFirstFocusedItemIndex(),t.preventDefault()}onTabKey(t){if(-1!==this.focusedItemInfo().index){const i=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(i)&&this.onItemChange({originalEvent:t,processedItem:i})}this.hide()}onEnterKey(t){if(-1!==this.focusedItemInfo().index){const i=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${this.focusedItemId}"]`),n=i&&d.D.findSingle(i,'a[data-pc-section="action"]');n?n.click():i&&i.click();const s=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(s)&&(this.focusedItemInfo().index=this.findFirstFocusedItemIndex())}t.preventDefault()}findLastFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findLastItemIndex():t}findLastItemIndex(){return h.BF.findLastIndex(this.visibleItems,t=>this.isValidItem(t))}findPrevItemIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleItems.slice(0,t),n=>this.isValidItem(n)):-1;return i>-1?i:t}findNextItemIndex(t){const i=tthis.isValidItem(n)):-1;return i>-1?i+t+1:t}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.resizeListener||(this.resizeListener=this.renderer.listen(this.document.defaultView,"resize",t=>{d.D.isTouchDevice()||this.hide(t,!0),this.mobileActive=!1})))}bindOutsideClickListener(){(0,m.UE)(this.platformId)&&(this.outsideClickListener||(this.outsideClickListener=this.renderer.listen(this.document,"click",t=>{const i=this.rootmenu.el.nativeElement!==t.target&&!this.rootmenu.el.nativeElement.contains(t.target),n=this.mobileActive&&this.menubutton.nativeElement!==t.target&&!this.menubutton.nativeElement.contains(t.target);i&&(n?this.mobileActive=!1:this.hide())})))}unbindOutsideClickListener(){this.outsideClickListener&&(this.outsideClickListener(),this.outsideClickListener=null)}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe(),this.unbindOutsideClickListener(),this.unbindResizeListener()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(g.r1),e.rXU(pe))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(du,5),e.GBs(pu,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.menubutton=s.first),e.mGM(s=e.lsd())&&(n.rootmenu=s.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",style:"style",styleClass:"styleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",autoHide:"autoHide",autoHideDelay:"autoHideDelay",id:"id",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onFocus:"onFocus",onBlur:"onBlur"},features:[e.Jv_([pe])],ngContentSelectors:uu,decls:8,vars:24,consts:[["rootmenu",""],["legacy",""],["menubutton",""],[3,"ngClass","ngStyle"],["class","p-menubar-start",4,"ngIf"],["tabindex","0","role","button","class","p-menubar-button",3,"click","keydown",4,"ngIf"],[3,"itemClick","menuFocus","menuBlur","menuKeydown","itemMouseEnter","items","itemTemplate","menuId","root","baseZIndex","autoZIndex","mobileActive","autoDisplay","ariaLabel","ariaLabelledBy","focusedItemId","activeItemPath"],["class","p-menubar-end",4,"ngIf","ngIfElse"],[1,"p-menubar-start"],[4,"ngTemplateOutlet"],["tabindex","0","role","button",1,"p-menubar-button",3,"click","keydown"],[4,"ngIf"],[1,"p-menubar-end"]],template:function(i,n){if(1&i){const s=e.RV6();e.NAR(),e.j41(0,"div",3),e.DNE(1,_u,2,1,"div",4)(2,vu,4,7,"a",5),e.j41(3,"p-menubarSub",6,0),e.bIt("itemClick",function(r){return e.eBV(s),e.Njj(n.onItemClick(r))})("menuFocus",function(r){return e.eBV(s),e.Njj(n.onMenuFocus(r))})("menuBlur",function(r){return e.eBV(s),e.Njj(n.onMenuBlur(r))})("menuKeydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("itemMouseEnter",function(r){return e.eBV(s),e.Njj(n.onItemMouseEnter(r))}),e.k0s(),e.DNE(5,Cu,2,1,"div",7)(6,wu,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&i){const s=e.sdS(7);e.HbH(n.styleClass),e.Y8G("ngClass",e.eq3(22,hu,n.mobileActive))("ngStyle",n.style),e.BMQ("data-pc-section","root")("data-pc-name","menubar"),e.R7$(),e.Y8G("ngIf",n.startTemplate),e.R7$(),e.Y8G("ngIf",n.model&&n.model.length>0),e.R7$(),e.Y8G("items",n.processedItems)("itemTemplate",n.itemTemplate)("menuId",n.id)("root",!0)("baseZIndex",n.baseZIndex)("autoZIndex",n.autoZIndex)("mobileActive",n.mobileActive)("autoDisplay",n.autoDisplay)("ariaLabel",n.ariaLabel)("ariaLabelledBy",n.ariaLabelledBy)("focusedItemId",n.focused?n.focusedItemId:void 0)("activeItemPath",n.activeItemPath()),e.R7$(2),e.Y8G("ngIf",n.endTemplate)("ngIfElse",s)}},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,et,Iu],styles:["@layer primeng{.p-menubar{display:flex;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:2}.p-menubar .p-submenu-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-menubar .p-menubar-root-list .p-icon-wrapper,.p-menubar .p-submenu-list .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;align-self:center}.p-menubar-button{display:none;cursor:pointer;align-items:center;justify-content:center}}\n"],encapsulation:2,changeDetection:0})}return o})(),Tu=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,L.iI,E.Z,j.S,g.Gg,et,U,Q,L.iI,j.S,g.Gg]})}return o})();var ku=I(894);const Su=(o,a)=>({"ml-auto":o,"ml-2":a}),Du=o=>["pi",o];function Eu(o,a){}function Ru(o,a){if(1&o&&e.nrm(0,"p-badge",11),2&o){const t=e.XpG(2),i=t.$implicit,n=t.root;e.Y8G("ngClass",e.l_i(2,Su,!n,n))("value",i.badge)}}function Mu(o,a){if(1&o&&(e.j41(0,"span",12),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.shortcut)}}function Fu(o,a){if(1&o&&e.nrm(0,"i",13),2&o){const t=e.XpG(2).root;e.Y8G("ngClass",e.eq3(1,Du,t?"pi-angle-down ml-2":"pi-angle-right ml-auto"))}}function Gu(o,a){if(1&o&&(e.qex(0),e.j41(1,"a",6),e.nrm(2,"i"),e.j41(3,"span",7),e.EFF(4),e.k0s(),e.DNE(5,Ru,1,5,"p-badge",8)(6,Mu,2,1,"span",9)(7,Fu,1,3,"i",10),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit;e.R7$(),e.Y8G("routerLink",t.route),e.R7$(),e.HbH(t.icon),e.R7$(2),e.JRh(t.label),e.R7$(),e.Y8G("ngIf",t.badge),e.R7$(),e.Y8G("ngIf",t.shortcut),e.R7$(),e.Y8G("ngIf",t.items)}}function Vu(o,a){1&o&&e.DNE(0,Gu,8,7,"ng-container",5),2&o&&e.Y8G("ngIf",a.$implicit.route)}function Bu(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",14),e.EFF(1),e.k0s(),e.j41(2,"div",15)(3,"p-inputGroup"),e.nrm(4,"input",16,0),e.j41(6,"p-button",17),e.bIt("click",function(){e.eBV(t);const n=e.sdS(5),s=e.XpG();return e.Njj(s.applyFilter(n.value))}),e.nrm(7,"span",18),e.k0s()()()}if(2&o){const t=e.XpG();e.R7$(),e.SpI("Total: ",t.statisSource.total," ")}}let Ou=(()=>{class o{constructor(t,i){this.statusSource=t,this.tableService=i}ngOnInit(){this.statusSource.statusSource$.subscribe(t=>{this.statisSource=t}),this.items=[{label:"Full",icon:"pi pi-table",routerLink:["/"]},{label:"Cluster Pasture",icon:"pi pi-table",routerLink:["/pasture"]},{label:"Cluster Medicine",icon:"pi pi-table",routerLink:["/medicine"]}]}applyFilter(t){this.tableService.applyFilter(t)}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ku.d),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-head"]],standalone:!0,features:[e.aNF],decls:4,vars:1,consts:[["search",""],[3,"model"],["pTemplate","start"],["pTemplate","item"],["pTemplate","end"],[4,"ngIf"],[1,"p-menuitem-link",3,"routerLink"],[1,"ml-2"],[3,"ngClass","value",4,"ngIf"],["class","ml-auto border-1 surface-border border-round surface-100 text-xs p-1",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","value"],[1,"ml-auto","border-1","surface-border","border-round","surface-100","text-xs","p-1"],[3,"ngClass"],["p-menuitem-text","",1,"flex","align-items-center","p-menuitem-link"],[1,"flex","align-items-center","gap-2"],["type","text","pInputText","","placeholder","Search",1,"w-8rem","sm:w-auto"],[3,"click"],[1,"pi","pi-search"]],template:function(i,n){1&i&&(e.j41(0,"p-menubar",1),e.DNE(1,Eu,0,0,"ng-template",2)(2,Vu,1,1,"ng-template",3)(3,Bu,8,1,"ng-template",4),e.k0s()),2&i&&e.Y8G("model",n.items)},dependencies:[Cp,yp,g.Ei,Je.EJ,Je.Ex,Tu,xu,L.Wk,H.u,H.S,m.YU,E.Z,m.bT,M.tm,M.$n]})}return o})(),Lu=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[m.MD,hp,de,bp,Ou]})}return o})()}}]); \ No newline at end of file +"use strict";(self.webpackChunkgrassland_literature_review=self.webpackChunkgrassland_literature_review||[]).push([[503],{503:(Nu,ue,I)=>{I.r(ue),I.d(ue,{HomeModule:()=>Lu});var m=I(177),L=I(7488),e=I(4438),$=I(139),R=I(4341),g=I(5779),M=I(1141),v=I(9969),d=I(1455),E=I(563),h=I(4420),x=I(461);let he=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),me=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),_e=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),A=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ChevronDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var F=I(1512);let ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CalendarIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const nt=["container"],ot=["inputfield"],st=["contentWrapper"],at=[[["p-header"]],[["p-footer"]]],lt=["p-header","p-footer"],rt=(o,a,t,i,n)=>({"p-calendar":!0,"p-input-icon-right":o,"p-calendar-w-btn":a,"p-calendar-timeonly":t,"p-calendar-disabled":i,"p-focus":n}),ct=o=>({clickCallBack:o}),dt=(o,a,t,i,n,s)=>({"p-datepicker p-component":!0,"p-datepicker-inline":o,"p-disabled":a,"p-datepicker-timeonly":t,"p-datepicker-multiple-month":i,"p-datepicker-monthpicker":n,"p-datepicker-touch-ui":s}),fe=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),pt=o=>({value:"visibleTouchUI",params:o}),ut=o=>({value:"visible",params:o}),ee=o=>({$implicit:o}),ht=(o,a)=>({"p-datepicker-other-month":o,"p-datepicker-today":a}),te=(o,a)=>({"p-highlight":o,"p-disabled":a}),be=o=>[o];function mt(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",11),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.k0s()}2&o&&e.Y8G("styleClass","p-calendar-clear-icon")}function _t(o,a){}function gt(o,a){1&o&&e.DNE(0,_t,0,0,"ng-template")}function ft(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",12),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.clear())}),e.DNE(1,gt,1,0,null,13),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function bt(o,a){if(1&o&&(e.qex(0),e.DNE(1,mt,1,1,"TimesIcon",9)(2,ft,2,1,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function vt(o,a){if(1&o&&e.nrm(0,"span",16),2&o){const t=e.XpG(3);e.Y8G("ngClass",t.icon)}}function yt(o,a){1&o&&e.nrm(0,"CalendarIcon")}function Ct(o,a){}function wt(o,a){1&o&&e.DNE(0,Ct,0,0,"ng-template")}function It(o,a){if(1&o&&(e.qex(0),e.DNE(1,yt,1,0,"CalendarIcon",7)(2,wt,1,0,null,13),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngIf",!t.triggerIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.triggerIconTemplate)}}function xt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",14),e.bIt("click",function(n){e.eBV(t),e.XpG();const s=e.sdS(1),l=e.XpG();return e.Njj(l.onButtonClick(n,s))}),e.DNE(1,vt,1,1,"span",15)(2,It,3,2,"ng-container",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.disabled),e.BMQ("aria-label",t.iconButtonAriaLabel)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId),e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.Y8G("ngIf",!t.icon)}}function Tt(o,a){if(1&o){const t=e.RV6();e.j41(0,"CalendarIcon",19),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onButtonClick(n))}),e.k0s()}}function kt(o,a){1&o&&e.eu8(0)}function St(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tt,1,0,"CalendarIcon",17)(2,kt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.inputIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.inputIconTemplate)("ngTemplateOutletContext",e.eq3(3,ct,t.onButtonClick.bind(t)))}}function Dt(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",6,1),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputKeydown(n))})("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onInputClick())})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUserInput(n))}),e.k0s(),e.DNE(2,bt,3,2,"ng-container",7)(3,xt,3,6,"button",8)(4,St,3,5,"ng-container",7)}if(2&o){const t=e.XpG();e.HbH(t.inputStyleClass),e.Y8G("value",t.inputFieldValue)("readonly",t.readonlyInput)("ngStyle",t.inputStyle)("placeholder",t.placeholder||"")("disabled",t.disabled)("ngClass","p-inputtext p-component"),e.BMQ("id",t.inputId)("name",t.name)("required",t.required)("aria-required",t.required)("aria-expanded",t.overlayVisible)("aria-controls",t.panelId)("aria-labelledby",t.ariaLabelledBy)("aria-label",t.ariaLabel)("tabindex",t.tabindex)("inputmode",t.touchUI?"off":null),e.R7$(2),e.Y8G("ngIf",t.showClear&&!t.disabled&&null!=t.value),e.R7$(),e.Y8G("ngIf",t.showIcon&&"button"===t.iconDisplay),e.R7$(),e.Y8G("ngIf","input"===t.iconDisplay&&t.showIcon)}}function Et(o,a){1&o&&e.eu8(0)}function Rt(o,a){1&o&&e.nrm(0,"ChevronLeftIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-prev-icon")}function Mt(o,a){}function Ft(o,a){1&o&&e.DNE(0,Mt,0,0,"ng-template")}function Gt(o,a){if(1&o&&(e.j41(0,"span",41),e.DNE(1,Ft,1,0,null,13),e.k0s()),2&o){const t=e.XpG(5);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousIconTemplate)}}function Vt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",38),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onPrevButtonClick(n))}),e.DNE(1,Rt,1,1,"ChevronLeftIcon",35)(2,Gt,2,1,"span",39),e.k0s()}if(2&o){const t=e.XpG(4);e.BMQ("aria-label",t.prevIconAriaLabel),e.R7$(),e.Y8G("ngIf",!t.previousIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousIconTemplate)}}function Bt(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",42),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToMonthView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseMonth")),e.R7$(),e.SpI(" ",i.getMonthName(t.month)," ")}}function Ot(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",43),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.switchToYearView(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.onContainerButtonKeydown(n))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.Y8G("disabled",i.switchViewButtonDisabled()),e.BMQ("aria-label",i.getTranslation("chooseYear")),e.R7$(),e.SpI(" ",i.getYear(t)," ")}}function Lt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(5);e.R7$(),e.Lme("",t.yearPickerValues()[0]," - ",t.yearPickerValues()[t.yearPickerValues().length-1],"")}}function Nt(o,a){1&o&&e.eu8(0)}function jt(o,a){if(1&o&&(e.j41(0,"span",44),e.DNE(1,Lt,2,2,"ng-container",7)(2,Nt,1,0,"ng-container",18),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngIf",!t.decadeTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decadeTemplate)("ngTemplateOutletContext",e.eq3(3,ee,t.yearPickerValues))}}function Pt(o,a){1&o&&e.nrm(0,"ChevronRightIcon",40),2&o&&e.Y8G("styleClass","p-datepicker-next-icon")}function zt(o,a){}function Ht(o,a){1&o&&e.DNE(0,zt,0,0,"ng-template")}function Yt(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,Ht,1,0,null,13),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextIconTemplate)}}function $t(o,a){if(1&o&&(e.j41(0,"th",51)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(5);e.R7$(2),e.JRh(t.getTranslation("weekHeader"))}}function At(o,a){if(1&o&&(e.j41(0,"th",52)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=a.$implicit;e.R7$(2),e.JRh(t)}}function Xt(o,a){if(1&o&&(e.j41(0,"td",55)(1,"span",56),e.EFF(2),e.k0s()()),2&o){const t=e.XpG().index,i=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",i.weekNumbers[t]," ")}}function Kt(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.day)}}function Ut(o,a){1&o&&e.eu8(0)}function Qt(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ut,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.dateTemplate)("ngTemplateOutletContext",e.eq3(2,ee,t))}}function qt(o,a){1&o&&e.eu8(0)}function Wt(o,a){if(1&o&&(e.qex(0),e.DNE(1,qt,1,0,"ng-container",18),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",i.disabledDateTemplate)("ngTemplateOutletContext",e.eq3(2,ee,t))}}function Zt(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.SpI(" ",t.day," ")}}function Jt(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"span",57),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(6);return e.Njj(l.onDateSelect(n,s))})("keydown",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3).index,r=e.XpG(3);return e.Njj(r.onDateCellKeydown(n,s,l))}),e.DNE(2,Kt,2,1,"ng-container",7)(3,Qt,2,4,"ng-container",7)(4,Wt,2,4,"ng-container",7),e.k0s(),e.DNE(5,Zt,2,1,"div",58),e.bVm()}if(2&o){const t=e.XpG().$implicit,i=e.XpG(6);e.R7$(),e.Y8G("ngClass",e.l_i(5,te,i.isSelected(t)&&t.selectable,!t.selectable)),e.R7$(),e.Y8G("ngIf",!i.dateTemplate&&(t.selectable||!i.disabledDateTemplate)),e.R7$(),e.Y8G("ngIf",t.selectable||!i.disabledDateTemplate),e.R7$(),e.Y8G("ngIf",!t.selectable),e.R7$(),e.Y8G("ngIf",i.isSelected(t))}}function ei(o,a){if(1&o&&(e.j41(0,"td",16),e.DNE(1,Jt,6,8,"ng-container",7),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(6);e.Y8G("ngClass",e.l_i(3,ht,t.otherMonth,t.today)),e.BMQ("aria-label",t.day),e.R7$(),e.Y8G("ngIf",!t.otherMonth||i.showOtherMonths)}}function ti(o,a){if(1&o&&(e.j41(0,"tr"),e.DNE(1,Xt,3,1,"td",53)(2,ei,2,6,"td",54),e.k0s()),2&o){const t=a.$implicit,i=e.XpG(5);e.R7$(),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",t)}}function ii(o,a){if(1&o&&(e.j41(0,"div",46)(1,"table",47)(2,"thead")(3,"tr"),e.DNE(4,$t,3,1,"th",48)(5,At,3,1,"th",49),e.k0s()(),e.j41(6,"tbody"),e.DNE(7,ti,3,2,"tr",50),e.k0s()()()),2&o){const t=e.XpG().$implicit,i=e.XpG(3);e.R7$(4),e.Y8G("ngIf",i.showWeek),e.R7$(),e.Y8G("ngForOf",i.weekDays),e.R7$(2),e.Y8G("ngForOf",t.dates)}}function ni(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",27)(1,"div",28),e.DNE(2,Vt,3,3,"button",29),e.j41(3,"div",30),e.DNE(4,Bt,2,3,"button",31)(5,Ot,2,3,"button",32)(6,jt,3,5,"span",33),e.k0s(),e.j41(7,"button",34),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onNextButtonClick(n))}),e.DNE(8,Pt,1,1,"ChevronRightIcon",35)(9,Yt,2,1,"span",36),e.k0s()(),e.DNE(10,ii,8,3,"div",37),e.k0s()}if(2&o){const t=a.index,i=e.XpG(3);e.R7$(2),e.Y8G("ngIf",0===t),e.R7$(2),e.Y8G("ngIf","date"===i.currentView),e.R7$(),e.Y8G("ngIf","year"!==i.currentView),e.R7$(),e.Y8G("ngIf","year"===i.currentView),e.R7$(),e.xc7("display",1===i.numberOfMonths||t===i.numberOfMonths-1?"inline-flex":"none"),e.BMQ("aria-label",i.nextIconAriaLabel),e.R7$(),e.Y8G("ngIf",!i.nextIconTemplate),e.R7$(),e.Y8G("ngIf",i.nextIconTemplate),e.R7$(),e.Y8G("ngIf","date"===i.currentView)}}function oi(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function si(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",62),e.bIt("click",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthSelect(n,s))})("keydown",function(n){const s=e.eBV(t).index,l=e.XpG(4);return e.Njj(l.onMonthCellKeydown(n,s))}),e.EFF(1),e.DNE(2,oi,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.XpG(4);e.Y8G("ngClass",e.l_i(3,te,n.isMonthSelected(i),n.isMonthDisabled(i))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",n.isMonthSelected(i))}}function ai(o,a){if(1&o&&(e.j41(0,"div",60),e.DNE(1,si,3,6,"span",61),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.monthPickerValues())}}function li(o,a){if(1&o&&(e.j41(0,"div",59),e.EFF(1),e.k0s()),2&o){const t=e.XpG().$implicit;e.R7$(),e.SpI(" ",t," ")}}function ri(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",65),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearSelect(n,s))})("keydown",function(n){const s=e.eBV(t).$implicit,l=e.XpG(4);return e.Njj(l.onYearCellKeydown(n,s))}),e.EFF(1),e.DNE(2,li,2,1,"div",58),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngClass",e.l_i(3,te,i.isYearSelected(t),i.isYearDisabled(t))),e.R7$(),e.SpI(" ",t," "),e.R7$(),e.Y8G("ngIf",i.isYearSelected(t))}}function ci(o,a){if(1&o&&(e.j41(0,"div",63),e.DNE(1,ri,3,6,"span",64),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.yearPickerValues())}}function di(o,a){if(1&o&&(e.qex(0),e.j41(1,"div",23),e.DNE(2,ni,11,10,"div",24),e.k0s(),e.DNE(3,ai,2,1,"div",25)(4,ci,2,1,"div",26),e.bVm()),2&o){const t=e.XpG(2);e.R7$(2),e.Y8G("ngForOf",t.months),e.R7$(),e.Y8G("ngIf","month"===t.currentView),e.R7$(),e.Y8G("ngIf","year"===t.currentView)}}function pi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function ui(o,a){}function hi(o,a){1&o&&e.DNE(0,ui,0,0,"ng-template")}function mi(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function _i(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function gi(o,a){}function fi(o,a){1&o&&e.DNE(0,gi,0,0,"ng-template")}function bi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function vi(o,a){}function yi(o,a){1&o&&e.DNE(0,vi,0,0,"ng-template")}function Ci(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function wi(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Ii(o,a){}function xi(o,a){1&o&&e.DNE(0,Ii,0,0,"ng-template")}function Ti(o,a){if(1&o&&(e.j41(0,"div",69)(1,"span"),e.EFF(2),e.k0s()()),2&o){const t=e.XpG(3);e.R7$(2),e.JRh(t.timeSeparator)}}function ki(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Si(o,a){}function Di(o,a){1&o&&e.DNE(0,Si,0,0,"ng-template")}function Ei(o,a){1&o&&(e.qex(0),e.EFF(1,"0"),e.bVm())}function Ri(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Mi(o,a){}function Fi(o,a){1&o&&e.DNE(0,Mi,0,0,"ng-template")}function Gi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",74)(1,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.incrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(2,ki,1,0,"ChevronUpIcon",7)(3,Di,1,0,null,13),e.k0s(),e.j41(4,"span"),e.DNE(5,Ei,2,0,"ng-container",7),e.EFF(6),e.k0s(),e.j41(7,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.decrementSecond(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseDown(n,2,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(8,Ri,1,0,"ChevronDownIcon",7)(9,Fi,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("nextSecond")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentSecond<10),e.R7$(),e.JRh(t.currentSecond),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevSecond")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function Vi(o,a){1&o&&e.nrm(0,"ChevronUpIcon")}function Bi(o,a){}function Oi(o,a){1&o&&e.DNE(0,Bi,0,0,"ng-template")}function Li(o,a){1&o&&e.nrm(0,"ChevronDownIcon")}function Ni(o,a){}function ji(o,a){1&o&&e.DNE(0,Ni,0,0,"ng-template")}function Pi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",75)(1,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(2,Vi,1,0,"ChevronUpIcon",7)(3,Oi,1,0,null,13),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s(),e.j41(6,"button",76),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.toggleAMPM(n))}),e.DNE(7,Li,1,0,"ChevronDownIcon",7)(8,ji,1,0,null,13),e.k0s()()}if(2&o){const t=e.XpG(3);e.R7$(),e.BMQ("aria-label",t.getTranslation("am")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.JRh(t.pm?"PM":"AM"),e.R7$(),e.BMQ("aria-label",t.getTranslation("pm")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate)}}function zi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",66)(1,"div",67)(2,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(3,pi,1,0,"ChevronUpIcon",7)(4,hi,1,0,null,13),e.k0s(),e.j41(5,"span"),e.DNE(6,mi,2,0,"ng-container",7),e.EFF(7),e.k0s(),e.j41(8,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementHour(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,0,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(9,_i,1,0,"ChevronDownIcon",7)(10,fi,1,0,null,13),e.k0s()(),e.j41(11,"div",69)(12,"span"),e.EFF(13),e.k0s()(),e.j41(14,"div",70)(15,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.incrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(16,bi,1,0,"ChevronUpIcon",7)(17,yi,1,0,null,13),e.k0s(),e.j41(18,"span"),e.DNE(19,Ci,2,0,"ng-container",7),e.EFF(20),e.k0s(),e.j41(21,"button",68),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("keydown.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.decrementMinute(n))})("mousedown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseDown(n,1,-1))})("mouseup",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.enter",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("keyup.space",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTimePickerElementMouseUp(n))})("mouseleave",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onTimePickerElementMouseLeave())}),e.DNE(22,wi,1,0,"ChevronDownIcon",7)(23,xi,1,0,null,13),e.k0s()(),e.DNE(24,Ti,3,1,"div",71)(25,Gi,10,8,"div",72)(26,Pi,9,7,"div",73),e.k0s()}if(2&o){const t=e.XpG(2);e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextHour")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentHour<10),e.R7$(),e.JRh(t.currentHour),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevHour")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(3),e.JRh(t.timeSeparator),e.R7$(2),e.BMQ("aria-label",t.getTranslation("nextMinute")),e.R7$(),e.Y8G("ngIf",!t.incrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementIconTemplate),e.R7$(2),e.Y8G("ngIf",t.currentMinute<10),e.R7$(),e.JRh(t.currentMinute),e.R7$(),e.BMQ("aria-label",t.getTranslation("prevMinute")),e.R7$(),e.Y8G("ngIf",!t.decrementIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementIconTemplate),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf",t.showSeconds),e.R7$(),e.Y8G("ngIf","12"==t.hourFormat)}}function Hi(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",77)(1,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onTodayButtonClick(n))}),e.k0s(),e.j41(2,"button",78),e.bIt("keydown",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onContainerButtonKeydown(n))})("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onClearButtonClick(n))}),e.k0s()()}if(2&o){const t=e.XpG(2);e.R7$(),e.Y8G("label",t.getTranslation("today"))("ngClass",e.eq3(4,be,t.todayButtonStyleClass)),e.R7$(),e.Y8G("label",t.getTranslation("clear"))("ngClass",e.eq3(6,be,t.clearButtonStyleClass))}}function Yi(o,a){1&o&&e.eu8(0)}function $i(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",20,2),e.bIt("@overlayAnimation.start",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationStart(n))})("@overlayAnimation.done",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayAnimationDone(n))})("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onOverlayClick(n))}),e.SdG(2),e.DNE(3,Et,1,0,"ng-container",13)(4,di,5,3,"ng-container",7)(5,zi,27,20,"div",21)(6,Hi,3,8,"div",22),e.SdG(7,1),e.DNE(8,Yi,1,0,"ng-container",13),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngStyle",t.panelStyle)("ngClass",e.l4e(14,dt,t.inline,t.disabled,t.timeOnly,t.numberOfMonths>1,"month"===t.view,t.touchUI))("@overlayAnimation",t.touchUI?e.eq3(24,pt,e.l_i(21,fe,t.showTransitionOptions,t.hideTransitionOptions)):e.eq3(29,ut,e.l_i(26,fe,t.showTransitionOptions,t.hideTransitionOptions)))("@.disabled",!0===t.inline),e.BMQ("aria-label",t.getTranslation("chooseDate"))("role",t.inline?null:"dialog")("aria-modal",t.inline?null:"true"),e.R7$(3),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",!t.timeOnly),e.R7$(),e.Y8G("ngIf",(t.showTime||t.timeOnly)&&"date"===t.currentView),e.R7$(),e.Y8G("ngIf",t.showButtonBar),e.R7$(2),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}const Ai={provide:R.kq,useExisting:(0,e.Rfq)(()=>Xi),multi:!0};let Xi=(()=>{class o{document;el;renderer;cd;zone;config;overlayService;iconDisplay="button";style;styleClass;inputStyle;inputId;name;inputStyleClass;placeholder;ariaLabelledBy;ariaLabel;iconAriaLabel;disabled;dateFormat;multipleSeparator=",";rangeSeparator="-";inline=!1;showOtherMonths=!0;selectOtherMonths;showIcon;icon;appendTo;readonlyInput;shortYearCutoff="+10";monthNavigator;yearNavigator;hourFormat="24";timeOnly;stepHour=1;stepMinute=1;stepSecond=1;showSeconds=!1;required;showOnFocus=!0;showWeek=!1;showClear=!1;dataType="date";selectionMode="single";maxDateCount;showButtonBar;todayButtonStyleClass="p-button-text";clearButtonStyleClass="p-button-text";autoZIndex=!0;baseZIndex=0;panelStyleClass;panelStyle;keepInvalid=!1;hideOnDateTimeSelect=!0;touchUI;timeSeparator=":";focusTrap=!0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";tabindex;get minDate(){return this._minDate}set minDate(t){this._minDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(t){this._disabledDates=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(t){this._disabledDays=t,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(t){if(this._yearRange=t,t){const i=t.split(":"),n=parseInt(i[0]),s=parseInt(i[1]);this.populateYearOptions(n,s)}}get showTime(){return this._showTime}set showTime(t){this._showTime=t,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get responsiveOptions(){return this._responsiveOptions}set responsiveOptions(t){this._responsiveOptions=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get numberOfMonths(){return this._numberOfMonths}set numberOfMonths(t){this._numberOfMonths=t,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(t){this._firstDayOfWeek=t,this.createWeekDays()}set locale(t){console.warn("Locale property has no effect, use new i18n API instead.")}get view(){return this._view}set view(t){this._view=t,this.currentView=this._view}get defaultDate(){return this._defaultDate}set defaultDate(t){if(this._defaultDate=t,this.initialized){const i=t||new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.initTime(i),this.createMonths(this.currentMonth,this.currentYear)}}onFocus=new e.bkB;onBlur=new e.bkB;onClose=new e.bkB;onSelect=new e.bkB;onClear=new e.bkB;onInput=new e.bkB;onTodayClick=new e.bkB;onClearClick=new e.bkB;onMonthChange=new e.bkB;onYearChange=new e.bkB;onClickOutside=new e.bkB;onShow=new e.bkB;templates;containerViewChild;inputfieldViewChild;set content(t){this.contentViewChild=t,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):!this.focus&&!this.inline&&this.initFocusableCell())}contentViewChild;value;dates;months;weekDays;currentMonth;currentYear;currentHour;currentMinute;currentSecond;pm;mask;maskClickListener;overlay;responsiveStyleElement;overlayVisible;onModelChange=()=>{};onModelTouched=()=>{};calendarElement;timePickerTimer;documentClickListener;animationEndListener;ticksTo1970;yearOptions;focus;isKeydown;filled;inputFieldValue=null;_minDate;_maxDate;_showTime;_yearRange;preventDocumentListener;dateTemplate;headerTemplate;footerTemplate;disabledDateTemplate;decadeTemplate;previousIconTemplate;nextIconTemplate;triggerIconTemplate;clearIconTemplate;decrementIconTemplate;incrementIconTemplate;inputIconTemplate;_disabledDates;_disabledDays;selectElement;todayElement;focusElement;scrollHandler;documentResizeListener;navigationState=null;isMonthNavigate;initialized;translationSubscription;_locale;_responsiveOptions;currentView;attributeSelector;panelId;_numberOfMonths=1;_firstDayOfWeek;_view="date";preventFocus;_defaultDate;window;get locale(){return this._locale}get iconButtonAriaLabel(){return this.iconAriaLabel?this.iconAriaLabel:this.getTranslation("chooseDate")}get prevIconAriaLabel(){return this.getTranslation("year"===this.currentView?"prevDecade":"month"===this.currentView?"prevYear":"prevMonth")}get nextIconAriaLabel(){return this.getTranslation("year"===this.currentView?"nextDecade":"month"===this.currentView?"nextYear":"nextMonth")}constructor(t,i,n,s,l,r,c){this.document=t,this.el=i,this.renderer=n,this.cd=s,this.zone=l,this.config=r,this.overlayService=c,this.window=this.document.defaultView}ngOnInit(){this.attributeSelector=(0,h._Y)(),this.panelId=this.attributeSelector+"_panel";const t=this.defaultDate||new Date;this.createResponsiveStyle(),this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),this.yearOptions=[],this.currentView=this.view,"date"===this.view&&(this.createWeekDays(),this.initTime(t),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays(),this.cd.markForCheck()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"date":default:this.dateTemplate=t.template;break;case"decade":this.decadeTemplate=t.template;break;case"disabledDate":this.disabledDateTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"inputicon":this.inputIconTemplate=t.template;break;case"previousicon":this.previousIconTemplate=t.template;break;case"nexticon":this.nextIconTemplate=t.template;break;case"triggericon":this.triggerIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"decrementicon":this.decrementIconTemplate=t.template;break;case"incrementicon":this.incrementIconTemplate=t.template;break;case"footer":this.footerTemplate=t.template}})}ngAfterViewInit(){this.inline&&(this.contentViewChild&&this.contentViewChild.nativeElement.setAttribute(this.attributeSelector,""),!this.disabled&&!this.inline&&(this.initFocusableCell(),1===this.numberOfMonths&&this.contentViewChild&&this.contentViewChild.nativeElement&&(this.contentViewChild.nativeElement.style.width=d.D.getOuterWidth(this.containerViewChild?.nativeElement)+"px")))}getTranslation(t){return this.config.getTranslation(t)}populateYearOptions(t,i){this.yearOptions=[];for(let n=t;n<=i;n++)this.yearOptions.push(n)}createWeekDays(){this.weekDays=[];let t=this.getFirstDateOfWeek(),i=this.getTranslation(g.Yj.DAY_NAMES_MIN);for(let n=0;n<7;n++)this.weekDays.push(i[t]),t=6==t?0:++t}monthPickerValues(){let t=[];for(let i=0;i<=11;i++)t.push(this.config.getTranslation("monthNamesShort")[i]);return t}yearPickerValues(){let t=[],i=this.currentYear-this.currentYear%10;for(let n=0;n<10;n++)t.push(i+n);return t}createMonths(t,i){this.months=this.months=[];for(let n=0;n11&&(s=s%11-1,l=i+1),this.months.push(this.createMonth(s,l))}}getWeekNumber(t){let i=new Date(t.getTime());i.setDate(i.getDate()+4-(i.getDay()||7));let n=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((n-i.getTime())/864e5)/7)+1}createMonth(t,i){let n=[],s=this.getFirstDayOfMonthIndex(t,i),l=this.getDaysCountInMonth(t,i),r=this.getDaysCountInPrevMonth(t,i),c=1,p=new Date,u=[],_=Math.ceil((l+s)/7);for(let b=0;b<_;b++){let f=[];if(0==b){for(let C=r-s+1;C<=r;C++){let y=this.getPreviousMonthAndYear(t,i);f.push({day:C,month:y.month,year:y.year,otherMonth:!0,today:this.isToday(p,C,y.month,y.year),selectable:this.isSelectable(C,y.month,y.year,!0)})}let w=7-f.length;for(let C=0;Cl){let C=this.getNextMonthAndYear(t,i);f.push({day:c-l,month:C.month,year:C.year,otherMonth:!0,today:this.isToday(p,c-l,C.month,C.year),selectable:this.isSelectable(c-l,C.month,C.year,!0)})}else f.push({day:c,month:t,year:i,today:this.isToday(p,c,t,i),selectable:this.isSelectable(c,t,i,!1)});c++}this.showWeek&&u.push(this.getWeekNumber(new Date(f[0].year,f[0].month,f[0].day))),n.push(f)}return{month:t,year:i,dates:n,weekNumbers:u}}initTime(t){this.pm=t.getHours()>11,this.showTime?(this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds(),this.setCurrentHourPM(t.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.decrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(t){this.disabled?t.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.incrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){this.currentYear--;let t=this.yearOptions;if(this.yearNavigator&&this.currentYeart[t.length-1]){let i=t[t.length-1]-t[0];this.populateYearOptions(t[0]+i,t[t.length-1]+i)}}switchToMonthView(t){this.setCurrentView("month"),t.preventDefault()}switchToYearView(t){this.setCurrentView("year"),t.preventDefault()}onDateSelect(t,i){!this.disabled&&i.selectable?(this.isMultipleSelection()&&this.isSelected(i)?(this.value=this.value.filter((n,s)=>!this.isDateEquals(n,i)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(i)&&this.selectDate(i),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{t.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),t.preventDefault()):t.preventDefault()}shouldSelectDate(t){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(t,i){"month"===this.view?this.onDateSelect(t,{year:this.currentYear,month:i,day:1,selectable:!0}):(this.currentMonth=i,this.createMonths(this.currentMonth,this.currentYear),this.setCurrentView("date"),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}))}onYearSelect(t,i){"year"===this.view?this.onDateSelect(t,{year:i,month:0,day:1,selectable:!0}):(this.currentYear=i,this.setCurrentView("month"),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}))}updateInputfield(){let t="";if(this.value)if(this.isSingleSelection())t=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let i=0;i11,this.currentHour=t>=12?12==t?12:t-12:0==t?12:t):this.currentHour=t}setCurrentView(t){this.currentView=t,this.cd.detectChanges(),this.alignOverlay()}selectDate(t){let i=new Date(t.year,t.month,t.day);if(this.showTime&&(i.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),i.setMinutes(this.currentMinute),i.setSeconds(this.currentSecond)),this.minDate&&this.minDate>i&&(i=this.minDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.maxDate&&this.maxDate=n.getTime()?s=i:(n=i,s=null),this.updateModel([n,s])}else this.updateModel([i,null]);this.onSelect.emit(i)}updateModel(t){if(this.value=t,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let i=null;Array.isArray(this.value)&&(i=this.value.map(n=>this.formatDateTime(n))),this.onModelChange(i)}}getFirstDayOfMonthIndex(t,i){let n=new Date;n.setDate(1),n.setMonth(t),n.setFullYear(i);let s=n.getDay()+this.getSundayIndex();return s>=7?s-7:s}getDaysCountInMonth(t,i){return 32-this.daylightSavingAdjust(new Date(i,t,32)).getDate()}getDaysCountInPrevMonth(t,i){let n=this.getPreviousMonthAndYear(t,i);return this.getDaysCountInMonth(n.month,n.year)}getPreviousMonthAndYear(t,i){let n,s;return 0===t?(n=11,s=i-1):(n=t-1,s=i),{month:n,year:s}}getNextMonthAndYear(t,i){let n,s;return 11===t?(n=0,s=i+1):(n=t+1,s=i),{month:n,year:s}}getSundayIndex(){let t=this.getFirstDateOfWeek();return t>0?7-t:0}isSelected(t){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,t);if(this.isMultipleSelection()){let i=!1;for(let n of this.value)if(i=this.isDateEquals(n,t),i)break;return i}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],t)||this.isDateEquals(this.value[1],t)||this.isDateBetween(this.value[0],this.value[1],t):this.isDateEquals(this.value[0],t):void 0}isComparable(){return null!=this.value&&"string"!=typeof this.value}isMonthSelected(t){if(this.isComparable()&&!this.isMultipleSelection()){const[i,n]=this.isRangeSelection()?this.value:[this.value,this.value],s=new Date(this.currentYear,t,1);return s>=i&&s<=(n??i)}return!1}isMonthDisabled(t){for(let i=1;i=l.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(t,i,n,s){return t.getDate()===i&&t.getMonth()===n&&t.getFullYear()===s}isSelectable(t,i,n,s){let l=!0,r=!0,c=!0,p=!0;return!(s&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>i||this.minDate.getMonth()===i&&this.minDate.getDate()>t))&&(l=!1),this.maxDate&&(this.maxDate.getFullYear()1||this.disabled}onPrevButtonClick(t){this.navigationState={backward:!0,button:!0},this.navBackward(t)}onNextButtonClick(t){this.navigationState={backward:!1,button:!0},this.navForward(t)}onContainerButtonKeydown(t){switch(t.which){case 9:if(this.inline||this.trapFocus(t),this.inline){const i=d.D.findSingle(this.containerViewChild?.nativeElement,".p-datepicker-header");t.target==i.children[i.children.length-1]&&this.initFocusableCell()}break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()}}onInputKeydown(t){this.isKeydown=!0,40===t.keyCode&&this.contentViewChild?this.trapFocus(t):27===t.keyCode?this.overlayVisible&&(this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault()):13===t.keyCode?this.overlayVisible&&(this.overlayVisible=!1,t.preventDefault()):9===t.keyCode&&this.contentViewChild&&(d.D.getFocusableElements(this.contentViewChild.nativeElement).forEach(i=>i.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(t,i,n){const s=t.currentTarget,l=s.parentElement;switch(t.which){case 40:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.nextElementSibling;c?d.D.hasClass(c.children[r].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(t)):(c.children[r].children[0].tabIndex="0",c.children[r].children[0].focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 38:{s.tabIndex="-1";let r=d.D.index(l),c=l.parentElement.previousElementSibling;if(c){let p=c.children[r].children[0];d.D.hasClass(p,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(t)):(p.tabIndex="0",p.focus())}else this.navigationState={backward:!0},this.navBackward(t);t.preventDefault();break}case 37:{s.tabIndex="-1";let r=l.previousElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")||d.D.hasClass(c.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!0,n);t.preventDefault();break}case 39:{s.tabIndex="-1";let r=l.nextElementSibling;if(r){let c=r.children[0];d.D.hasClass(c,"p-disabled")?this.navigateToMonth(!1,n):(c.tabIndex="0",c.focus())}else this.navigateToMonth(!1,n);t.preventDefault();break}case 13:case 32:this.onDateSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onMonthCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+3:l-3];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onMonthSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.inline||this.trapFocus(t)}}onYearCellKeydown(t,i){const n=t.currentTarget;switch(t.which){case 38:case 40:{n.tabIndex="-1";var s=n.parentElement.children,l=d.D.index(n);let r=s[40===t.which?l+2:l-2];r&&(r.tabIndex="0",r.focus()),t.preventDefault();break}case 37:{n.tabIndex="-1";let r=n.previousElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case 39:{n.tabIndex="-1";let r=n.nextElementSibling;r?(r.tabIndex="0",r.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case 13:case 32:this.onYearSelect(t,i),t.preventDefault();break;case 27:this.inputfieldViewChild?.nativeElement.focus(),this.overlayVisible=!1,t.preventDefault();break;case 9:this.trapFocus(t)}}navigateToMonth(t,i){if(t)if(1===this.numberOfMonths||0===i)this.navigationState={backward:!0},this.navBackward(event);else{let s=d.D.find(this.contentViewChild.nativeElement.children[i-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),l=s[s.length-1];l.tabIndex="0",l.focus()}else if(1===this.numberOfMonths||i===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let s=d.D.findSingle(this.contentViewChild.nativeElement.children[i+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");s.tabIndex="0",s.focus()}}updateFocus(){let t;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():d.D.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let i;i=d.D.find(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),i&&i.length>0&&(t=i[i.length-1])}else t=d.D.findSingle(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");t&&(t.tabIndex="0",t.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){const t=this.contentViewChild?.nativeElement;let i;if("month"===this.currentView){let n=d.D.find(t,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),s=d.D.findSingle(t,".p-monthpicker .p-monthpicker-month.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if("year"===this.currentView){let n=d.D.find(t,".p-yearpicker .p-yearpicker-year:not(.p-disabled)"),s=d.D.findSingle(t,".p-yearpicker .p-yearpicker-year.p-highlight");n.forEach(l=>l.tabIndex=-1),i=s||n[0],0===n.length&&d.D.find(t,'.p-yearpicker .p-yearpicker-year.p-disabled[tabindex = "0"]').forEach(r=>r.tabIndex=-1)}else if(i=d.D.findSingle(t,"span.p-highlight"),!i){let n=d.D.findSingle(t,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)");i=n||d.D.findSingle(t,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}i&&(i.tabIndex="0",!this.preventFocus&&(!this.navigationState||!this.navigationState.button)&&setTimeout(()=>{this.disabled||i.focus()},1),this.preventFocus=!1)}trapFocus(t){let i=d.D.getFocusableElements(this.contentViewChild.nativeElement);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);if(t.shiftKey)if(-1==n||0===n)if(this.focusTrap)i[i.length-1].focus();else{if(-1===n)return this.hideOverlay();if(0===n)return}else i[n-1].focus();else if(-1==n)if(this.timeOnly)i[0].focus();else{let s=0;for(let l=0;lr||this.minDate.getHours()===r&&(this.minDate.getMinutes()>i||this.minDate.getMinutes()===i&&this.minDate.getSeconds()>n))||this.maxDate&&c&&this.maxDate.toDateString()===c&&(this.maxDate.getHours()=24?n-24:n:"12"==this.hourFormat&&(this.currentHour<12&&n>11&&(s=!this.pm),n=n>=13?n-12:n),this.validateTime(n,this.currentMinute,this.currentSecond,s)&&(this.currentHour=n,this.pm=s),t.preventDefault()}onTimePickerElementMouseDown(t,i,n){this.disabled||(this.repeat(t,null,i,n),t.preventDefault())}onTimePickerElementMouseUp(t){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(t,i,n,s){let l=i||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(t,100,n,s),this.cd.markForCheck()},l),n){case 0:1===s?this.incrementHour(t):this.decrementHour(t);break;case 1:1===s?this.incrementMinute(t):this.decrementMinute(t);break;case 2:1===s?this.incrementSecond(t):this.decrementSecond(t)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(t){let i=this.currentHour-this.stepHour,n=this.pm;"24"==this.hourFormat?i=i<0?24+i:i:"12"==this.hourFormat&&(12===this.currentHour&&(n=!this.pm),i=i<=0?12+i:i),this.validateTime(i,this.currentMinute,this.currentSecond,n)&&(this.currentHour=i,this.pm=n),t.preventDefault()}incrementMinute(t){let i=this.currentMinute+this.stepMinute;i=i>59?i-60:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}decrementMinute(t){let i=this.currentMinute-this.stepMinute;i=i<0?60+i:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),t.preventDefault()}incrementSecond(t){let i=this.currentSecond+this.stepSecond;i=i>59?i-60:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}decrementSecond(t){let i=this.currentSecond-this.stepSecond;i=i<0?60+i:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),t.preventDefault()}updateTime(){let t=this.value;this.isRangeSelection()&&(t=this.value[1]||this.value[0]),this.isMultipleSelection()&&(t=this.value[this.value.length-1]),t=t?new Date(t.getTime()):new Date,t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond),this.isRangeSelection()&&(t=this.value[1]?[this.value[0],t]:[t,null]),this.isMultipleSelection()&&(t=[...this.value.slice(0,-1),t]),this.updateModel(t),this.onSelect.emit(t),this.updateInputfield()}toggleAMPM(t){const i=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,i)&&(this.pm=i,this.updateTime()),t.preventDefault()}onUserInput(t){if(!this.isKeydown)return;this.isKeydown=!1;let i=t.target.value;try{let n=this.parseValueFromString(i);this.isValidSelection(n)?(this.updateModel(n),this.updateUI()):this.keepInvalid&&this.updateModel(n)}catch{this.updateModel(this.keepInvalid?i:null)}this.filled=null!=i&&i.length,this.onInput.emit(t)}isValidSelection(t){let i=!0;return this.isSingleSelection()?this.isSelectable(t.getDate(),t.getMonth(),t.getFullYear(),!1)||(i=!1):t.every(n=>this.isSelectable(n.getDate(),n.getMonth(),n.getFullYear(),!1))&&this.isRangeSelection()&&(i=t.length>1&&t[1]>t[0]),i}parseValueFromString(t){if(!t||0===t.trim().length)return null;let i;if(this.isSingleSelection())i=this.parseDateTime(t);else if(this.isMultipleSelection()){let n=t.split(this.multipleSeparator);i=[];for(let s of n)i.push(this.parseDateTime(s.trim()))}else if(this.isRangeSelection()){let n=t.split(" "+this.rangeSeparator+" ");i=[];for(let s=0;s{this.disableModality(),this.overlayVisible=!1}),this.renderer.appendChild(this.document.body,this.mask),d.D.blockBodyScroll())}disableModality(){this.mask&&(d.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyMask.bind(this))))}destroyMask(){if(!this.mask)return;this.renderer.removeChild(this.document.body,this.mask);let i,t=this.document.body.children;for(let n=0;n{const _=n+1{let f=""+_;if(s(u))for(;f.lengths(u)?f[_]:b[_];let c="",p=!1;if(t)for(n=0;n11&&12!=n&&(n-=12),i+="12"==this.hourFormat&&0===n?12:n<10?"0"+n:n,i+=":",i+=s<10?"0"+s:s,this.showSeconds&&(i+=":",i+=l<10?"0"+l:l),"12"==this.hourFormat&&(i+=t.getHours()>11?" PM":" AM"),i}parseTime(t){let i=t.split(":");if(i.length!==(this.showSeconds?3:2))throw"Invalid time";let s=parseInt(i[0]),l=parseInt(i[1]),r=this.showSeconds?parseInt(i[2]):null;if(isNaN(s)||isNaN(l)||s>23||l>59||"12"==this.hourFormat&&s>12||this.showSeconds&&(isNaN(r)||r>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==s&&this.pm?s+=12:!this.pm&&12===s&&(s-=12)),{hour:s,minute:l,second:r}}parseDate(t,i){if(null==i||null==t)throw"Invalid arguments";if(""===(t="object"==typeof t?t.toString():t+""))return null;let n,s,l,w,r=0,c="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),p=-1,u=-1,_=-1,b=-1,f=!1,C=S=>{let D=n+1{let D=C(S),G="@"===S?14:"!"===S?20:"y"===S&&D?4:"o"===S?3:2,J=new RegExp("^\\d{"+("y"===S?G:1)+","+G+"}"),O=t.substring(r).match(J);if(!O)throw"Missing number at position "+r;return r+=O[0].length,parseInt(O[0],10)},T=(S,D,G)=>{let B=-1,J=C(S)?G:D,O=[];for(let V=0;V-(V[1].length-Y[1].length));for(let V=0;V{if(t.charAt(r)!==i.charAt(n))throw"Unexpected literal at position "+r;r++};for("month"===this.view&&(_=1),n=0;n-1)for(u=1,_=b;s=this.getDaysCountInMonth(p,u-1),!(_<=s);)u++,_-=s;if("year"===this.view&&(u=-1===u?1:u,_=-1===_?1:_),w=this.daylightSavingAdjust(new Date(p,u-1,_)),w.getFullYear()!==p||w.getMonth()+1!==u||w.getDate()!==_)throw"Invalid date";return w}daylightSavingAdjust(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(t){const i=new Date,n={day:i.getDate(),month:i.getMonth(),year:i.getFullYear(),otherMonth:i.getMonth()!==this.currentMonth||i.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.createMonths(i.getMonth(),i.getFullYear()),this.onDateSelect(t,n),this.onTodayClick.emit(t)}onClearButtonClick(t){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(t)}createResponsiveStyle(){if(this.numberOfMonths>1&&this.responsiveOptions){this.responsiveStyleElement||(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.body,this.responsiveStyleElement));let t="";if(this.responsiveOptions){let i=[...this.responsiveOptions].filter(n=>!(!n.breakpoint||!n.numMonths)).sort((n,s)=>-1*n.breakpoint.localeCompare(s.breakpoint,void 0,{numeric:!0}));for(let n=0;n{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"mousedown",i=>{this.isOutsideClicked(i)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(i),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.containerViewChild?.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(t){return!(this.el.nativeElement.isSameNode(t.target)||this.isNavIconClicked(t)||this.el.nativeElement.contains(t.target)||this.overlay&&this.overlay.contains(t.target))}isNavIconClicked(t){return d.D.hasClass(t.target,"p-datepicker-prev")||d.D.hasClass(t.target,"p-datepicker-prev-icon")||d.D.hasClass(t.target,"p-datepicker-next")||d.D.hasClass(t.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!d.D.isTouchDevice()&&this.hideOverlay()}onOverlayHide(){this.currentView=this.view,this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&h.Q$.clear(this.overlay),this.destroyResponsiveStyleElement(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.r1),e.rXU(g.si))};static \u0275cmp=e.VBU({type:o,selectors:[["p-calendar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(nt,5),e.GBs(ot,5),e.GBs(st,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.inputfieldViewChild=s.first),e.mGM(s=e.lsd())&&(n.content=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focus)("p-calendar-clearable",n.showClear&&!n.disabled)},inputs:{iconDisplay:"iconDisplay",style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",iconAriaLabel:"iconAriaLabel",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",showClear:"showClear",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",responsiveOptions:"responsiveOptions",numberOfMonths:"numberOfMonths",firstDayOfWeek:"firstDayOfWeek",locale:"locale",view:"view",defaultDate:"defaultDate"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[e.Jv_([Ai])],ngContentSelectors:lt,decls:4,vars:12,consts:[["container",""],["inputfield",""],["contentWrapper",""],[3,"ngClass","ngStyle"],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","role","combobox","aria-autocomplete","none","aria-haspopup","dialog","autocomplete","off",3,"focus","keydown","click","blur","input","value","readonly","ngStyle","placeholder","disabled","ngClass"],[4,"ngIf"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","class","p-datepicker-trigger p-button-icon-only","tabindex","0",3,"disabled","click",4,"ngIf"],[3,"styleClass","click",4,"ngIf"],["class","p-calendar-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-calendar-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["type","button","aria-haspopup","dialog","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger","p-button-icon-only",3,"click","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"click",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"click"],[3,"click","ngStyle","ngClass"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],["class","p-yearpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["type","button","class","p-datepicker-month p-link",3,"disabled","click","keydown",4,"ngIf"],["type","button","class","p-datepicker-year p-link",3,"disabled","click","keydown",4,"ngIf"],["class","p-datepicker-decade",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[3,"styleClass",4,"ngIf"],["class","p-datepicker-next-icon",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],["class","p-datepicker-prev-icon",4,"ngIf"],[3,"styleClass"],[1,"p-datepicker-prev-icon"],["type","button",1,"p-datepicker-month","p-link",3,"click","keydown","disabled"],["type","button",1,"p-datepicker-year","p-link",3,"click","keydown","disabled"],[1,"p-datepicker-decade"],[1,"p-datepicker-next-icon"],[1,"p-datepicker-calendar-container"],["role","grid",1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],["draggable","false","pRipple","",3,"click","keydown","ngClass"],["class","p-hidden-accessible","aria-live","polite",4,"ngIf"],["aria-live","polite",1,"p-hidden-accessible"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"click","keydown","ngClass"],[1,"p-yearpicker"],["class","p-yearpicker-year","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-yearpicker-year",3,"click","keydown","ngClass"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","keydown.space","mousedown","mouseup","keyup.enter","keyup.space","mouseleave"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"keydown","click","label","ngClass"]],template:function(i,n){1&i&&(e.NAR(at),e.j41(0,"span",3,0),e.DNE(2,Dt,5,21,"ng-template",4)(3,$i,9,31,"div",5),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.s1E(6,rt,n.showIcon&&"input"===n.iconDisplay,n.showIcon&&"button"===n.iconDisplay,n.timeOnly,n.disabled,n.focus||n.overlayVisible))("ngStyle",n.style),e.R7$(2),e.Y8G("ngIf",!n.inline),e.R7$(),e.Y8G("ngIf",n.inline||n.overlayVisible))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,M._f,E.n,he,me,_e,A,F.A,ge],styles:["@layer primeng{.p-calendar{position:relative;display:inline-flex;max-width:100%}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-block;position:static;overflow-x:auto}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group{flex:1 1 auto}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-yearpicker-year{width:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-calendar-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-calendar-clearable{position:relative}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayAnimation",[(0,v.wk)("visibleTouchUI",(0,v.iF)({transform:"translate(-50%,-50%)",opacity:1})),(0,v.kY)("void => visible",[(0,v.iF)({opacity:0,transform:"scaleY(0.8)"}),(0,v.i0)("{{showTransitionParams}}",(0,v.iF)({opacity:1,transform:"*"}))]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0}))]),(0,v.kY)("void => visibleTouchUI",[(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visibleTouchUI => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0})}return o})(),Ki=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,M.tm,g.Gg,E.Z,he,me,_e,A,F.A,ge,M.tm,g.Gg]})}return o})(),Ui=(()=>{class o{host;constructor(t){this.host=t}autofocus;focused=!1;ngAfterContentChecked(){if(!this.focused&&this.autofocus){const t=d.D.getFocusableElements(this.host.nativeElement);0===t.length&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}})}return o})(),Qi=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})();const qi=["overlay"],Wi=["content"],Zi=["*"],Ji=(o,a,t,i,n,s,l,r,c,p,u,_,b,f)=>({"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":o,"p-overlay-center":a,"p-overlay-top":t,"p-overlay-top-start":i,"p-overlay-top-end":n,"p-overlay-bottom":s,"p-overlay-bottom-start":l,"p-overlay-bottom-end":r,"p-overlay-left":c,"p-overlay-left-start":p,"p-overlay-left-end":u,"p-overlay-right":_,"p-overlay-right-start":b,"p-overlay-right-end":f}),en=(o,a,t)=>({showTransitionParams:o,hideTransitionParams:a,transform:t}),tn=o=>({value:"visible",params:o}),nn=o=>({mode:o}),on=o=>({$implicit:o});function sn(o,a){1&o&&e.eu8(0)}function an(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,1),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onOverlayContentAnimationDone(n))}),e.SdG(2),e.DNE(3,sn,1,0,"ng-container",4),e.k0s()}if(2&o){const t=e.XpG(2);e.HbH(t.contentStyleClass),e.Y8G("ngStyle",t.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",e.eq3(11,tn,e.sMw(7,en,t.showTransitionOptions,t.hideTransitionOptions,t.transformOptions[t.modal?t.overlayResponsiveDirection:"default"]))),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.eq3(15,on,e.eq3(13,nn,t.overlayMode)))}}function ln(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",3,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onOverlayClick())}),e.DNE(2,an,4,17,"div",2),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass",e.zJS(5,Ji,[t.modal,t.modal&&"center"===t.overlayResponsiveDirection,t.modal&&"top"===t.overlayResponsiveDirection,t.modal&&"top-start"===t.overlayResponsiveDirection,t.modal&&"top-end"===t.overlayResponsiveDirection,t.modal&&"bottom"===t.overlayResponsiveDirection,t.modal&&"bottom-start"===t.overlayResponsiveDirection,t.modal&&"bottom-end"===t.overlayResponsiveDirection,t.modal&&"left"===t.overlayResponsiveDirection,t.modal&&"left-start"===t.overlayResponsiveDirection,t.modal&&"left-end"===t.overlayResponsiveDirection,t.modal&&"right"===t.overlayResponsiveDirection,t.modal&&"right-start"===t.overlayResponsiveDirection,t.modal&&"right-end"===t.overlayResponsiveDirection])),e.R7$(2),e.Y8G("ngIf",t.visible)}}const rn={provide:R.kq,useExisting:(0,e.Rfq)(()=>ve),multi:!0},cn=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),dn=(0,v.lY)([(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let ve=(()=>{class o{document;platformId;el;renderer;config;overlayService;cd;zone;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(t){this._mode=t}get style(){return h.BF.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(t){this._style=t}get styleClass(){return h.BF.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(t){this._styleClass=t}get contentStyle(){return h.BF.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(t){this._contentStyle=t}get contentStyleClass(){return h.BF.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(t){this._contentStyleClass=t}get target(){const t=this._target||this.overlayOptions?.target;return void 0===t?"@prev":t}set target(t){this._target=t}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(t){this._appendTo=t}get autoZIndex(){const t=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===t||t}set autoZIndex(t){this._autoZIndex=t}get baseZIndex(){const t=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===t?0:t}set baseZIndex(t){this._baseZIndex=t}get showTransitionOptions(){const t=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===t?".12s cubic-bezier(0, 0, 0.2, 1)":t}set showTransitionOptions(t){this._showTransitionOptions=t}get hideTransitionOptions(){const t=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===t?".1s linear":t}set hideTransitionOptions(t){this._hideTransitionOptions=t}get listener(){return this._listener||this.overlayOptions?.listener}set listener(t){this._listener=t}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(t){this._responsive=t}get options(){return this._options}set options(t){this._options=t}visibleChange=new e.bkB;onBeforeShow=new e.bkB;onShow=new e.bkB;onBeforeHide=new e.bkB;onHide=new e.bkB;onAnimationStart=new e.bkB;onAnimationDone=new e.bkB;templates;overlayViewChild;contentViewChild;contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if((0,m.UE)(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return d.D.getTargetElement(this.target,this.el?.nativeElement)}constructor(t,i,n,s,l,r,c,p){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.config=l,this.overlayService=r,this.cd=c,this.zone=p,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{t.getType(),this.contentTemplate=t.template})}show(t,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.addClass(this.document?.body,"p-overflow-hidden")}hide(t,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:t||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&d.D.focus(this.targetEl),this.modal&&d.D.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&d.D.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(t){this._visible=t,this.visibleChange.emit(t)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(t){this.overlayService.add({originalEvent:t,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(t){switch(t.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&h.Q$.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),d.D.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&d.D.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",t)}onOverlayContentAnimationDone(t){const i=this.overlayEl||t.element.parentElement;switch(t.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(i),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",t)}handleEvents(t,i){this[t].emit(i),this.options&&this.options[t]&&this.options[t](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[t]&&(this.config?.overlayOptions)[t](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.b(this.targetEl,t=>{(!this.listener||this.listener(t,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(t,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",t=>{const n=!(this.targetEl&&(this.targetEl.isSameNode(t.target)||!this.isOverlayClicked&&this.targetEl.contains(t.target))||this.isOverlayContentClicked);(this.listener?this.listener(t,{type:"outside",mode:this.overlayMode,valid:3!==t.which&&n}):n)&&this.hide(t),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",t=>{(this.listener?this.listener(t,{type:"resize",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.hide(t,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",t=>{!1!==this.overlayOptions.hideOnEscape&&"Escape"===t.code&&(this.listener?this.listener(t,{type:"keydown",mode:this.overlayMode,valid:!d.D.isTouchDevice()}):!d.D.isTouchDevice())&&this.zone.run(()=>{this.hide(t,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(d.D.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),h.Q$.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(g.r1),e.rXU(g.si),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-overlay"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(qi,5),e.GBs(Wi,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[e.Jv_([rn])],ngContentSelectors:Zi,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.NAR(),e.DNE(0,ln,3,20,"div",2)),2&i&&e.Y8G("ngIf",n.modalVisible)},dependencies:[m.YU,m.bT,m.T3,m.B3],styles:["@layer primeng{.p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("overlayContentAnimation",[(0,v.kY)(":enter",[(0,v.sM)(cn)]),(0,v.kY)(":leave",[(0,v.sM)(dn)])])]},changeDetection:0})}return o})(),ye=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,g.Gg]})}return o})();var X=I(8757);const pn=["element"],un=["content"],hn=["*"],mn=(o,a,t)=>({"p-scroller":!0,"p-scroller-inline":o,"p-both-scroll":a,"p-horizontal-scroll":t}),ie=(o,a)=>({$implicit:o,options:a}),_n=o=>({"p-scroller-loading":o}),gn=o=>({"p-component-overlay":o}),fn=o=>({numCols:o}),Ce=o=>({options:o}),bn=()=>({styleClass:"p-scroller-loading-icon"}),vn=(o,a)=>({rows:o,columns:a});function yn(o,a){1&o&&e.eu8(0)}function Cn(o,a){if(1&o&&(e.qex(0),e.DNE(1,yn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(2,ie,t.loadedItems,t.getContentOptions()))}}function wn(o,a){1&o&&e.eu8(0)}function In(o,a){if(1&o&&(e.qex(0),e.DNE(1,wn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.$implicit,i=a.index,n=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",n.itemTemplate)("ngTemplateOutletContext",e.l_i(2,ie,t,n.getOptions(i)))}}function xn(o,a){if(1&o&&(e.j41(0,"div",11,3),e.DNE(2,In,2,5,"ng-container",12),e.k0s()),2&o){const t=e.XpG(2);e.Y8G("ngClass",e.eq3(5,_n,t.d_loading))("ngStyle",t.contentStyle),e.BMQ("data-pc-section","content"),e.R7$(2),e.Y8G("ngForOf",t.loadedItems)("ngForTrackBy",t._trackBy||t.index)}}function Tn(o,a){if(1&o&&e.nrm(0,"div",13),2&o){const t=e.XpG(2);e.Y8G("ngStyle",t.spacerStyle),e.BMQ("data-pc-section","spacer")}}function kn(o,a){1&o&&e.eu8(0)}function Sn(o,a){if(1&o&&(e.qex(0),e.DNE(1,kn,1,0,"ng-container",10),e.bVm()),2&o){const t=a.index,i=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(4,Ce,i.getLoaderOptions(t,i.both&&e.eq3(2,fn,i._numItemsInViewport.cols))))}}function Dn(o,a){if(1&o&&(e.qex(0),e.DNE(1,Sn,2,6,"ng-container",15),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngForOf",t.loaderArr)}}function En(o,a){1&o&&e.eu8(0)}function Rn(o,a){if(1&o&&(e.qex(0),e.DNE(1,En,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.loaderIconTemplate)("ngTemplateOutletContext",e.eq3(3,Ce,e.lJ4(2,bn)))}}function Mn(o,a){1&o&&e.nrm(0,"SpinnerIcon",16),2&o&&(e.Y8G("styleClass","p-scroller-loading-icon pi-spin"),e.BMQ("data-pc-section","loadingIcon"))}function Fn(o,a){if(1&o&&e.DNE(0,Rn,2,5,"ng-container",6)(1,Mn,1,2,"ng-template",null,5,e.C5r),2&o){const t=e.sdS(2),i=e.XpG(3);e.Y8G("ngIf",i.loaderIconTemplate)("ngIfElse",t)}}function Gn(o,a){if(1&o&&(e.j41(0,"div",14),e.DNE(1,Dn,2,1,"ng-container",6)(2,Fn,3,2,"ng-template",null,4,e.C5r),e.k0s()),2&o){const t=e.sdS(3),i=e.XpG(2);e.Y8G("ngClass",e.eq3(4,gn,!i.loaderTemplate)),e.BMQ("data-pc-section","loader"),e.R7$(),e.Y8G("ngIf",i.loaderTemplate)("ngIfElse",t)}}function Vn(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"div",7,1),e.bIt("scroll",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onContainerScroll(n))}),e.DNE(3,Cn,2,5,"ng-container",6)(4,xn,3,7,"ng-template",null,2,e.C5r)(6,Tn,1,2,"div",8)(7,Gn,4,6,"div",9),e.k0s(),e.bVm()}if(2&o){const t=e.sdS(5),i=e.XpG();e.R7$(),e.HbH(i._styleClass),e.Y8G("ngStyle",i._style)("ngClass",e.sMw(12,mn,i.inline,i.both,i.horizontal)),e.BMQ("id",i._id)("tabindex",i.tabindex)("data-pc-name","scroller")("data-pc-section","root"),e.R7$(2),e.Y8G("ngIf",i.contentTemplate)("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",i._showSpacer),e.R7$(),e.Y8G("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function Bn(o,a){1&o&&e.eu8(0)}function On(o,a){if(1&o&&(e.qex(0),e.DNE(1,Bn,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.contentTemplate)("ngTemplateOutletContext",e.l_i(5,ie,t.items,e.l_i(2,vn,t._items,t.loadedColumns)))}}function Ln(o,a){if(1&o&&(e.SdG(0),e.DNE(1,On,2,8,"ng-container",17)),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.contentTemplate)}}let we=(()=>{class o{document;platformId;renderer;cd;zone;get id(){return this._id}set id(t){this._id=t}get style(){return this._style}set style(t){this._style=t}get styleClass(){return this._styleClass}set styleClass(t){this._styleClass=t}get tabindex(){return this._tabindex}set tabindex(t){this._tabindex=t}get items(){return this._items}set items(t){this._items=t}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t}get scrollHeight(){return this._scrollHeight}set scrollHeight(t){this._scrollHeight=t}get scrollWidth(){return this._scrollWidth}set scrollWidth(t){this._scrollWidth=t}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get step(){return this._step}set step(t){this._step=t}get delay(){return this._delay}set delay(t){this._delay=t}get resizeDelay(){return this._resizeDelay}set resizeDelay(t){this._resizeDelay=t}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=t}get inline(){return this._inline}set inline(t){this._inline=t}get lazy(){return this._lazy}set lazy(t){this._lazy=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(t){this._loaderDisabled=t}get columns(){return this._columns}set columns(t){this._columns=t}get showSpacer(){return this._showSpacer}set showSpacer(t){this._showSpacer=t}get showLoader(){return this._showLoader}set showLoader(t){this._showLoader=t}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(t){this._numToleratedItems=t}get loading(){return this._loading}set loading(t){this._loading=t}get autoSize(){return this._autoSize}set autoSize(t){this._autoSize=t}get trackBy(){return this._trackBy}set trackBy(t){this._trackBy=t}get options(){return this._options}set options(t){this._options=t,t&&"object"==typeof t&&Object.entries(t).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n))}onLazyLoad=new e.bkB;onScroll=new e.bkB;onScrollIndexChange=new e.bkB;elementViewChild;contentViewChild;templates;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(t=>this._columns?t:t.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}constructor(t,i,n,s,l){this.document=t,this.platformId=i,this.renderer=n,this.cd=s,this.zone=l}ngOnInit(){this.setInitialState()}ngOnChanges(t){let i=!1;if(t.loading){const{previousValue:n,currentValue:s}=t.loading;this.lazy&&n!==s&&s!==this.d_loading&&(this.d_loading=s,i=!0)}if(t.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),t.numToleratedItems){const{previousValue:n,currentValue:s}=t.numToleratedItems;n!==s&&s!==this.d_numToleratedItems&&(this.d_numToleratedItems=s)}if(t.options){const{previousValue:n,currentValue:s}=t.options;this.lazy&&n?.loading!==s?.loading&&s?.loading!==this.d_loading&&(this.d_loading=s.loading,i=!0),n?.numToleratedItems!==s?.numToleratedItems&&s?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=s.numToleratedItems)}this.initialized&&!i&&(t.items?.previousValue?.length!==t.items?.currentValue?.length||t.itemSize||t.scrollHeight||t.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"content":this.contentTemplate=t.template;break;case"item":default:this.itemTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"loadericon":this.loaderIconTemplate=t.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){(0,m.UE)(this.platformId)&&d.D.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=d.D.getWidth(this.elementViewChild?.nativeElement),this.defaultHeight=d.D.getHeight(this.elementViewChild?.nativeElement),this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(t){this.contentEl=t||this.contentViewChild?.nativeElement||d.D.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(t){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(t)}scrollToIndex(t,i="auto"){const{numToleratedItems:n}=this.calculateNumItems(),s=this.getContentPosition(),l=(u=0,_)=>u<=_?0:u,r=(u,_,b)=>u*_+b,c=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:i});let p=0;this.both?(p={rows:l(t[0],n[0]),cols:l(t[1],n[1])},c(r(p.cols,this._itemSize[1],s.left),r(p.rows,this._itemSize[0],s.top))):(p=l(t,n),this.horizontal?c(r(p,this._itemSize,s.left),0):c(0,r(p,this._itemSize,s.top))),this.isRangeChanged=this.first!==p,this.first=p}scrollInView(t,i,n="auto"){if(i){const{first:s,viewport:l}=this.getRenderedRange(),r=(u=0,_=0)=>this.scrollTo({left:u,top:_,behavior:n}),p="to-end"===i;if("to-start"===i){if(this.both)l.first.rows-s.rows>t[0]?r(l.first.cols*this._itemSize[1],(l.first.rows-1)*this._itemSize[0]):l.first.cols-s.cols>t[1]&&r((l.first.cols-1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.first-s>t){const u=(l.first-1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else if(p)if(this.both)l.last.rows-s.rows<=t[0]+1?r(l.first.cols*this._itemSize[1],(l.first.rows+1)*this._itemSize[0]):l.last.cols-s.cols<=t[1]+1&&r((l.first.cols+1)*this._itemSize[1],l.first.rows*this._itemSize[0]);else if(l.last-s<=t+1){const u=(l.first+1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else this.scrollToIndex(t,n)}getRenderedRange(){const t=(s,l)=>Math.floor(s/(l||s));let i=this.first,n=0;if(this.elementViewChild?.nativeElement){const{scrollTop:s,scrollLeft:l}=this.elementViewChild.nativeElement;this.both?(i={rows:t(s,this._itemSize[0]),cols:t(l,this._itemSize[1])},n={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=t(this.horizontal?l:s,this._itemSize),n=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:n}}}calculateNumItems(){const t=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-t.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-t.top:0)||0,s=(p,u)=>Math.ceil(p/(u||p)),l=p=>Math.ceil(p/2),r=this.both?{rows:s(n,this._itemSize[0]),cols:s(i,this._itemSize[1])}:s(this.horizontal?i:n,this._itemSize);return{numItemsInViewport:r,numToleratedItems:this.d_numToleratedItems||(this.both?[l(r.rows),l(r.cols)]:l(r))}}calculateOptions(){const{numItemsInViewport:t,numToleratedItems:i}=this.calculateNumItems(),n=(r,c,p,u=!1)=>this.getLast(r+c+(rArray.from({length:t.cols})):Array.from({length:t})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:s.cols}:0:s,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[t,i]=[d.D.getWidth(this.contentEl),d.D.getHeight(this.contentEl)];t!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[n,s]=[d.D.getWidth(this.elementViewChild.nativeElement),d.D.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=nthis.elementViewChild.nativeElement.style[l]=r;this.both||this.horizontal?(s("height",n),s("width",i)):s("height",n)}}setSpacerSize(){if(this._items){const t=this.getContentPosition(),i=(n,s,l,r=0)=>this.spacerStyle={...this.spacerStyle,[`${n}`]:(s||[]).length*l+r+"px"};this.both?(i("height",this._items,this._itemSize[0],t.y),i("width",this._columns||this._items[1],this._itemSize[1],t.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,t.x):i("height",this._items,this._itemSize,t.y)}}setContentPosition(t){if(this.contentEl&&!this._appendOnly){const i=t?t.first:this.first,n=(l,r)=>l*r,s=(l=0,r=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${l}px, ${r}px, 0)`};if(this.both)s(n(i.cols,this._itemSize[1]),n(i.rows,this._itemSize[0]));else{const l=n(i,this._itemSize);this.horizontal?s(l,0):s(0,l)}}}onScrollPositionChange(t){const i=t.target,n=this.getContentPosition(),s=(y,T)=>y?y>T?y-T:y:0,l=(y,T)=>Math.floor(y/(T||y)),r=(y,T,k,S,D,G)=>y<=D?D:G?k-S-D:T+D-1,c=(y,T,k,S,D,G,B)=>y<=G?0:Math.max(0,B?yT?k:y-2*G),p=(y,T,k,S,D,G=!1)=>{let B=T+S+2*D;return y>=D&&(B+=D+1),this.getLast(B,G)},u=s(i.scrollTop,n.top),_=s(i.scrollLeft,n.left);let b=this.both?{rows:0,cols:0}:0,f=this.last,w=!1,C=this.lastScrollPos;if(this.both){const y=this.lastScrollPos.top<=u,T=this.lastScrollPos.left<=_;if(!this._appendOnly||this._appendOnly&&(y||T)){const k={rows:l(u,this._itemSize[0]),cols:l(_,this._itemSize[1])},S={rows:r(k.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],y),cols:r(k.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],T)};b={rows:c(k.rows,S.rows,this.first.rows,0,0,this.d_numToleratedItems[0],y),cols:c(k.cols,S.cols,this.first.cols,0,0,this.d_numToleratedItems[1],T)},f={rows:p(k.rows,b.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:p(k.cols,b.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},w=b.rows!==this.first.rows||f.rows!==this.last.rows||b.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,C={top:u,left:_}}}else{const y=this.horizontal?_:u,T=this.lastScrollPos<=y;if(!this._appendOnly||this._appendOnly&&T){const k=l(y,this._itemSize);b=c(k,r(k,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,T),this.first,0,0,this.d_numToleratedItems,T),f=p(k,b,0,this.numItemsInViewport,this.d_numToleratedItems),w=b!==this.first||f!==this.last||this.isRangeChanged,C=y}}return{first:b,last:f,isRangeChanged:w,scrollPos:C}}onScrollChange(t){const{first:i,last:n,isRangeChanged:s,scrollPos:l}=this.onScrollPositionChange(t);if(s){const r={first:i,last:n};if(this.setContentPosition(r),this.first=i,this.last=n,this.lastScrollPos=l,this.handleEvents("onScrollIndexChange",r),this._lazy&&this.isPageChanged){const c={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:n,this.items.length)};(this.lazyLoadState.first!==c.first||this.lazyLoadState.last!==c.last)&&this.handleEvents("onLazyLoad",c),this.lazyLoadState=c}}}onContainerScroll(t){if(this.handleEvents("onScroll",{originalEvent:t}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(t);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(t)}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const t=this.document.defaultView,i=d.D.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(t,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(d.D.isVisible(this.elementViewChild?.nativeElement)){const[t,i]=[d.D.getWidth(this.elementViewChild?.nativeElement),d.D.getHeight(this.elementViewChild?.nativeElement)],[n,s]=[t!==this.defaultWidth,i!==this.defaultHeight];(this.both?n||s:this.horizontal?n:this.vertical&&s)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=t,this.defaultHeight=i,this.defaultContentWidth=d.D.getWidth(this.contentEl),this.defaultContentHeight=d.D.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(t,i){return this.options&&this.options[t]?this.options[t](i):this[t].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:t=>this.getOptions(t),loading:this.d_loading,getLoaderOptions:(t,i)=>this.getLoaderOptions(t,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(t){const i=(this._items||[]).length,n=this.both?this.first.rows+t:this.first+t;return{index:n,count:i,first:0===n,last:n===i-1,even:n%2==0,odd:n%2!=0}}getLoaderOptions(t,i){const n=this.loaderArr.length;return{index:t,count:n,first:0===t,last:t===n-1,even:t%2==0,odd:t%2!=0,...i}}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi))};static \u0275cmp=e.VBU({type:o,selectors:[["p-scroller"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(pn,5),e.GBs(un,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.elementViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[e.OA$],ngContentSelectors:hn,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(i,n){if(1&i&&(e.NAR(),e.DNE(0,Vn,8,16,"ng-container",6)(1,Ln,2,1,"ng-template",null,0,e.C5r)),2&i){const s=e.sdS(2);e.Y8G("ngIf",!n._disabled)("ngIfElse",s)}},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,X.N],styles:["@layer primeng{p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}}\n"],encapsulation:2})}return o})(),K=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,X.N,g.Gg]})}return o})();var j=I(8542);let Ie=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const z=o=>({height:o}),Nn=(o,a,t)=>({"p-dropdown-item":!0,"p-highlight":o,"p-disabled":a,"p-focus":t}),ne=o=>({$implicit:o});function jn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){let t;const i=e.XpG();e.R7$(),e.JRh(null!==(t=i.label)&&void 0!==t?t:"empty")}}function Pn(o,a){1&o&&e.eu8(0)}const zn=["container"],Hn=["filter"],Yn=["focusInput"],$n=["editableInput"],An=["items"],Xn=["scroller"],Kn=["overlay"],Un=["firstHiddenFocusableEl"],Qn=["lastHiddenFocusableEl"],xe=o=>({options:o}),Te=(o,a)=>({$implicit:o,options:a}),qn=()=>({});function Wn(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.label())}}function Zn(o,a){1&o&&e.eu8(0)}function Jn(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.JRh("p-emptylabel"===t.label()?"\xa0":t.placeholder)}}function eo(o,a){if(1&o&&e.DNE(0,Jn,2,1,"span",17),2&o){const t=e.XpG(2);e.Y8G("ngIf",!t.modelValue()&&(t.label()===t.placeholder||t.label()&&!t.placeholder))}}function to(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",22,2),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))}),e.DNE(2,Wn,2,1,"ng-container",23)(3,Zn,1,0,"ng-container",24)(4,eo,1,1,"ng-template",null,3,e.C5r),e.k0s()}if(2&o){const t=e.sdS(5),i=e.XpG();e.Y8G("ngClass",i.inputClass)("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("autofocus",i.autofocus),e.BMQ("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel||("p-emptylabel"===i.label()?void 0:i.label()))("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",i.overlayVisible)("aria-controls",i.id+"_list")("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0),e.R7$(2),e.Y8G("ngIf",!i.selectedItemTemplate)("ngIfElse",t),e.R7$(),e.Y8G("ngTemplateOutlet",i.selectedItemTemplate)("ngTemplateOutletContext",e.eq3(19,ne,i.selectedOption))}}function io(o,a){if(1&o){const t=e.RV6();e.j41(0,"input",25,4),e.bIt("input",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onEditableInput(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onKeyDown(n))})("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputFocus(n))})("blur",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onInputBlur(n))}),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",t.inputClass)("disabled",t.disabled),e.BMQ("maxlength",t.maxlength)("placeholder",t.placeholder)("aria-expanded",t.overlayVisible)}}function no(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.k0s()}2&o&&(e.Y8G("styleClass","p-dropdown-clear-icon"),e.BMQ("data-pc-section","clearicon"))}function oo(o,a){}function so(o,a){1&o&&e.DNE(0,oo,0,0,"ng-template")}function ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",29),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.clear(n))}),e.DNE(1,so,1,0,null,30),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearicon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function lo(o,a){if(1&o&&(e.qex(0),e.DNE(1,no,1,2,"TimesIcon",26)(2,ao,2,2,"span",27),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ro(o,a){if(1&o&&e.nrm(0,"span",33),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.dropdownIcon)}}function co(o,a){1&o&&e.nrm(0,"ChevronDownIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-trigger-icon")}function po(o,a){if(1&o&&(e.qex(0),e.DNE(1,ro,1,1,"span",31)(2,co,1,1,"ChevronDownIcon",32),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.dropdownIcon),e.R7$(),e.Y8G("ngIf",!t.dropdownIcon)}}function uo(o,a){}function ho(o,a){1&o&&e.DNE(0,uo,0,0,"ng-template")}function mo(o,a){if(1&o&&(e.j41(0,"span",35),e.DNE(1,ho,1,0,null,30),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dropdownIconTemplate)}}function _o(o,a){1&o&&e.eu8(0)}function go(o,a){1&o&&e.eu8(0)}function fo(o,a){if(1&o&&(e.qex(0),e.DNE(1,go,1,0,"ng-container",24),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterTemplate)("ngTemplateOutletContext",e.eq3(2,xe,t.filterOptions))}}function bo(o,a){1&o&&e.nrm(0,"SearchIcon",34),2&o&&e.Y8G("styleClass","p-dropdown-filter-icon")}function vo(o,a){}function yo(o,a){1&o&&e.DNE(0,vo,0,0,"ng-template")}function Co(o,a){if(1&o&&(e.j41(0,"span",45),e.DNE(1,yo,1,0,null,30),e.k0s()),2&o){const t=e.XpG(4);e.R7$(),e.Y8G("ngTemplateOutlet",t.filterIconTemplate)}}function wo(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",42)(1,"input",43,9),e.bIt("input",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterInputChange(n))})("keydown",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterKeyDown(n))})("blur",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onFilterBlur(n))}),e.k0s(),e.DNE(3,bo,1,1,"SearchIcon",32)(4,Co,2,1,"span",44),e.k0s()}if(2&o){const t=e.XpG(3);e.R7$(),e.Y8G("value",t._filterValue()||""),e.BMQ("placeholder",t.filterPlaceholder)("aria-owns",t.id+"_list")("aria-label",t.ariaFilterLabel)("aria-activedescendant",t.focusedOptionId),e.R7$(2),e.Y8G("ngIf",!t.filterIconTemplate),e.R7$(),e.Y8G("ngIf",t.filterIconTemplate)}}function Io(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",41),e.bIt("click",function(n){return e.eBV(t),e.Njj(n.stopPropagation())}),e.DNE(1,fo,2,4,"ng-container",23)(2,wo,5,7,"ng-template",null,8,e.C5r),e.k0s()}if(2&o){const t=e.sdS(3),i=e.XpG(2);e.R7$(),e.Y8G("ngIf",i.filterTemplate)("ngIfElse",t)}}function xo(o,a){1&o&&e.eu8(0)}function To(o,a){if(1&o&&e.DNE(0,xo,1,0,"ng-container",24),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(9);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,Te,t,i))}}function ko(o,a){1&o&&e.eu8(0)}function So(o,a){if(1&o&&e.DNE(0,ko,1,0,"ng-container",24),2&o){const t=a.options,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",e.eq3(2,xe,t))}}function Do(o,a){1&o&&(e.qex(0),e.DNE(1,So,1,4,"ng-template",47),e.bVm())}function Eo(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",46,10),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onLazyLoad.emit(n))}),e.DNE(2,To,1,5,"ng-template",21)(3,Do,2,0,"ng-container",17),e.k0s()}if(2&o){const t=e.XpG(2);e.Aen(e.eq3(8,z,t.scrollHeight)),e.Y8G("items",t.visibleOptions())("itemSize",t.virtualScrollItemSize||t._itemSize)("autoSize",!0)("lazy",t.lazy)("options",t.virtualScrollOptions),e.R7$(3),e.Y8G("ngIf",t.loaderTemplate)}}function Ro(o,a){1&o&&e.eu8(0)}function Mo(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ro,1,0,"ng-container",24),e.bVm()),2&o){e.XpG();const t=e.sdS(9),i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(3,Te,i.visibleOptions(),e.lJ4(2,qn)))}}function Fo(o,a){if(1&o&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit,i=e.XpG(3);e.R7$(),e.JRh(i.getOptionGroupLabel(t.optionGroup))}}function Go(o,a){1&o&&e.eu8(0)}function Vo(o,a){if(1&o&&(e.qex(0),e.j41(1,"li",51),e.DNE(2,Fo,2,1,"span",17)(3,Go,1,0,"ng-container",24),e.k0s(),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("ngStyle",e.eq3(5,z,s.itemSize+"px")),e.BMQ("id",l.id+"_"+l.getOptionIndex(n,s)),e.R7$(),e.Y8G("ngIf",!l.groupTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",e.eq3(7,ne,i.optionGroup))}}function Bo(o,a){if(1&o){const t=e.RV6();e.qex(0),e.j41(1,"p-dropdownItem",52),e.bIt("onClick",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG(3);return e.Njj(l.onOptionSelect(n,s))})("onMouseEnter",function(n){e.eBV(t);const s=e.XpG().index,l=e.XpG().options,r=e.XpG(2);return e.Njj(r.onOptionMouseEnter(n,r.getOptionIndex(s,l)))}),e.k0s(),e.bVm()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG().options,l=e.XpG(2);e.R7$(),e.Y8G("id",l.id+"_"+l.getOptionIndex(n,s))("option",i)("selected",l.isSelected(i))("label",l.getOptionLabel(i))("disabled",l.isOptionDisabled(i))("template",l.itemTemplate)("focused",l.focusedOptionIndex()===l.getOptionIndex(n,s))("ariaPosInset",l.getAriaPosInset(l.getOptionIndex(n,s)))("ariaSetSize",l.ariaSetSize)}}function Oo(o,a){if(1&o&&e.DNE(0,Vo,4,9,"ng-container",17)(1,Bo,2,9,"ng-container",17),2&o){const t=a.$implicit;e.Y8G("ngIf",t.group),e.R7$(),e.Y8G("ngIf",!t.group)}}function Lo(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyFilterMessageLabel," ")}}function No(o,a){1&o&&e.eu8(0,null,12)}function jo(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,Lo,2,1,"ng-container",23)(2,No,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function Po(o,a){if(1&o&&(e.qex(0),e.EFF(1),e.bVm()),2&o){const t=e.XpG(4);e.R7$(),e.SpI(" ",t.emptyMessageLabel," ")}}function zo(o,a){1&o&&e.eu8(0,null,13)}function Ho(o,a){if(1&o&&(e.j41(0,"li",53),e.DNE(1,Po,2,1,"ng-container",23)(2,zo,2,0,"ng-container",30),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG(2);e.Y8G("ngStyle",e.eq3(4,z,t.itemSize+"px")),e.R7$(),e.Y8G("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),e.R7$(),e.Y8G("ngTemplateOutlet",i.emptyTemplate)}}function Yo(o,a){if(1&o&&(e.j41(0,"ul",48,11),e.DNE(2,Oo,2,2,"ng-template",49)(3,jo,3,6,"li",50)(4,Ho,3,6,"li",50),e.k0s()),2&o){const t=a.$implicit,i=a.options,n=e.XpG(2);e.Aen(i.contentStyle),e.Y8G("ngClass",i.contentStyleClass),e.BMQ("id",n.id+"_list"),e.R7$(2),e.Y8G("ngForOf",t),e.R7$(),e.Y8G("ngIf",n.filterValue&&n.isEmpty()),e.R7$(),e.Y8G("ngIf",!n.filterValue&&n.isEmpty())}}function $o(o,a){1&o&&e.eu8(0)}function Ao(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",36)(1,"span",37,5),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onFirstHiddenFocus(n))}),e.k0s(),e.DNE(3,_o,1,0,"ng-container",30)(4,Io,4,2,"div",38),e.j41(5,"div",39),e.DNE(6,Eo,4,10,"p-scroller",40)(7,Mo,2,6,"ng-container",17)(8,Yo,5,7,"ng-template",null,6,e.C5r),e.k0s(),e.DNE(10,$o,1,0,"ng-container",30),e.j41(11,"span",37,7),e.bIt("focus",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLastHiddenFocus(n))}),e.k0s()()}if(2&o){const t=e.XpG();e.HbH(t.panelStyleClass),e.Y8G("ngClass","p-dropdown-panel p-component")("ngStyle",t.panelStyle),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),e.R7$(2),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.filter),e.R7$(),e.xc7("max-height",t.virtualScroll?"auto":t.scrollHeight||"auto"),e.R7$(),e.Y8G("ngIf",t.virtualScroll),e.R7$(),e.Y8G("ngIf",!t.virtualScroll),e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate),e.R7$(),e.BMQ("aria-hidden",!0)("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}const Xo={provide:R.kq,useExisting:(0,e.Rfq)(()=>ke),multi:!0};let Ko=(()=>{class o{id;option;selected;focused;label;disabled;visible;itemSize;ariaPosInset;ariaSetSize;template;onClick=new e.bkB;onMouseEnter=new e.bkB;ngOnInit(){}onOptionClick(t){this.onClick.emit(t)}onOptionMouseEnter(t){this.onMouseEnter.emit(t)}static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:"selected",focused:"focused",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},decls:3,vars:21,consts:[["role","option","pRipple","",3,"click","mouseenter","id","ngStyle","ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"li",0),e.bIt("click",function(l){return n.onOptionClick(l)})("mouseenter",function(l){return n.onOptionMouseEnter(l)}),e.DNE(1,jn,2,1,"span",1)(2,Pn,1,0,"ng-container",2),e.k0s()),2&i&&(e.Y8G("id",n.id)("ngStyle",e.eq3(13,z,n.itemSize+"px"))("ngClass",e.sMw(15,Nn,n.selected,n.disabled,n.focused)),e.BMQ("aria-label",n.label)("aria-setsize",n.ariaSetSize)("aria-posinset",n.ariaPosInset)("aria-selected",n.selected)("data-p-focused",n.focused)("data-p-highlight",n.selected)("data-p-disabled",n.disabled),e.R7$(),e.Y8G("ngIf",!n.template),e.R7$(),e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.eq3(19,ne,n.option)))},dependencies:[m.YU,m.bT,m.T3,m.B3,E.n],encapsulation:2})}return o})(),ke=(()=>{class o{el;renderer;cd;zone;filterService;config;id;scrollHeight="200px";filter;name;style;panelStyle;styleClass;panelStyleClass;readonly;required;editable;appendTo;tabindex=0;placeholder;filterPlaceholder;filterLocale;inputId;dataKey;filterBy;filterFields;autofocus;resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";autoDisplayFirst=!0;group;showClear;emptyFilterMessage="";emptyMessage="";lazy=!1;virtualScroll;virtualScrollItemSize;virtualScrollOptions;overlayOptions;ariaFilterLabel;ariaLabel;ariaLabelledBy;filterMatchMode="contains";maxlength;tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;focusOnHover=!1;selectOnFocus=!1;autoOptionFocus=!0;autofocusFilter=!0;get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=t,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}_itemSize;get autoZIndex(){return this._autoZIndex}set autoZIndex(t){this._autoZIndex=t,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_autoZIndex;get baseZIndex(){return this._baseZIndex}set baseZIndex(t){this._baseZIndex=t,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}_baseZIndex;get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(t){this._showTransitionOptions=t,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_showTransitionOptions;get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(t){this._hideTransitionOptions=t,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}_hideTransitionOptions;get filterValue(){return this._filterValue()}set filterValue(t){this._filterValue.set(t)}get options(){return this._options()}set options(t){this._options.set(t)}onChange=new e.bkB;onFilter=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onClick=new e.bkB;onShow=new e.bkB;onHide=new e.bkB;onClear=new e.bkB;onLazyLoad=new e.bkB;containerViewChild;filterViewChild;focusInputViewChild;editableInputViewChild;itemsViewChild;scroller;overlayViewChild;firstHiddenFocusableElementOnOverlay;lastHiddenFocusableElementOnOverlay;templates;_disabled;itemsWrapper;itemTemplate;groupTemplate;loaderTemplate;selectedItemTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;dropdownIconTemplate;clearIconTemplate;filterIconTemplate;filterOptions;_options=(0,e.vPA)(null);modelValue=(0,e.vPA)(null);value;onModelChange=()=>{};onModelTouched=()=>{};hover;focused;overlayVisible;optionsChanged;panel;dimensionsUpdated;hoveredItem;selectedOptionUpdated;_filterValue=(0,e.vPA)(null);searchValue;searchIndex;searchTimeout;previousSearchChar;currentSearchChar;preventModelTouched;focusedOptionIndex=(0,e.vPA)(-1);labelId;listId;get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(g.Yj.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(g.Yj.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.modelValue()?!!this.modelValue():this.modelValue()||null!=this.modelValue()||null!=this.modelValue()}get isVisibleClearIcon(){return null!=this.modelValue()&&this.hasSelectedOption()&&this.showClear&&!this.disabled}get containerClass(){return{"p-dropdown p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-dropdown-clearable":this.showClear&&!this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue(),"p-inputwrapper-focus":this.focused||this.overlayVisible}}get inputClass(){const t=this.label();return{"p-dropdown-label p-inputtext":!0,"p-placeholder":this.placeholder&&t===this.placeholder,"p-dropdown-label-empty":!(this.editable||this.selectedItemTemplate||t&&"p-emptylabel"!==t&&0!==t.length)}}get panelClass(){return{"p-dropdown-panel p-component":!0,"p-input-filled":"filled"===this.config.inputStyle,"p-ripple-disabled":!1===this.config.ripple}}visibleOptions=(0,e.EWP)(()=>{const t=this.group?this.flatOptions(this.options):this.options||[];if(this._filterValue()){const i=this.filterBy||this.filterFields||this.optionValue?this.filterService.filter(t,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale):this.options.filter(n=>-1!==n.toLowerCase().indexOf(this._filterValue().toLowerCase()));if(this.group){const s=[];return(this.options||[]).forEach(l=>{const c=this.getOptionGroupChildren(l).filter(p=>i.includes(p));c.length>0&&s.push({...l,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...c]})}),this.flatOptions(s)}return i}return t});label=(0,e.EWP)(()=>{const t=this.findSelectedOptionIndex();return-1!==t?this.getOptionLabel(this.visibleOptions()[t]):this.placeholder||"p-emptylabel"});selectedOption;constructor(t,i,n,s,l,r){this.el=t,this.renderer=i,this.cd=n,this.zone=s,this.filterService=l,this.config=r,(0,e.QZP)(()=>{const c=this.modelValue(),p=this.visibleOptions();c&&this.editable&&this.updateEditableLabel(),p&&h.BF.isNotEmpty(p)&&(this.selectedOption=p[this.findSelectedOptionIndex()],this.cd.markForCheck())})}ngOnInit(){this.id=this.id||(0,h._Y)(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:t=>this.onFilterInputChange(t),reset:()=>this.resetFilter()})}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let t=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,"li.p-highlight");t&&d.D.scrollInView(this.itemsWrapper,t),this.selectedOptionUpdated=!1}}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"item":default:this.itemTemplate=t.template;break;case"selectedItem":this.selectedItemTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"filter":this.filterTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"emptyfilter":this.emptyFilterTemplate=t.template;break;case"empty":this.emptyTemplate=t.template;break;case"group":this.groupTemplate=t.template;break;case"loader":this.loaderTemplate=t.template;break;case"dropdownicon":this.dropdownIconTemplate=t.template;break;case"clearicon":this.clearIconTemplate=t.template;break;case"filtericon":this.filterIconTemplate=t.template}})}flatOptions(t){return(t||[]).reduce((i,n,s)=>{i.push({optionGroup:n,group:!0,index:s});const l=this.getOptionGroupChildren(n);return l&&l.forEach(r=>i.push(r)),i},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()&&(this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex()),this.onOptionSelect(null,this.visibleOptions()[this.focusedOptionIndex()],!1)),this.autoDisplayFirst&&!this.modelValue()){const t=this.findFirstOptionIndex();this.onOptionSelect(null,this.visibleOptions()[t],!1,!0)}}onOptionSelect(t,i,n=!0,s=!1){const l=this.getOptionValue(i);this.updateModel(l,t),this.focusedOptionIndex.set(this.findSelectedOptionIndex()),n&&this.hide(!0),!1===s&&this.onChange.emit({originalEvent:t,value:l})}onOptionMouseEnter(t,i){this.focusOnHover&&this.changeFocusedOptionIndex(t,i)}updateModel(t,i){this.value=t,this.onModelChange(t),this.modelValue.set(t),this.selectedOptionUpdated=!0}writeValue(t){this.filter&&this.resetFilter(),this.value=t,this.allowModelChange()&&this.onModelChange(t),this.modelValue.set(this.value),this.updateEditableLabel(),this.cd.markForCheck()}allowModelChange(){return this.autoDisplayFirst&&!this.placeholder&&!this.modelValue()&&!this.editable&&this.options&&this.options.length}isSelected(t){return this.isValidOption(t)&&h.BF.equals(this.modelValue(),this.getOptionValue(t),this.equalityKey())}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}updateEditableLabel(){this.editableInputViewChild&&(this.editableInputViewChild.nativeElement.value=void 0===this.getOptionLabel(this.modelValue())?this.editableInputViewChild.nativeElement.value:this.getOptionLabel(this.modelValue()))}getOptionIndex(t,i){return this.virtualScrollerDisabled?t:i&&i.getItemOptions(t).index}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):t&&void 0!==t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):!this.optionLabel&&t&&void 0!==t.value?t.value:t}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled}getOptionGroupLabel(t){return this.optionGroupLabel?h.BF.resolveFieldData(t,this.optionGroupLabel):t&&void 0!==t.label?t.label:t}getOptionGroupChildren(t){return this.optionGroupChildren?h.BF.resolveFieldData(t,this.optionGroupChildren):t.items}getAriaPosInset(t){return(this.optionGroupLabel?t-this.visibleOptions().slice(0,t).filter(i=>this.isOptionGroup(i)).length:t)+1}get ariaSetSize(){return this.visibleOptions().filter(t=>!this.isOptionGroup(t)).length}resetFilter(){this._filterValue.set(null),this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value="")}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onContainerClick(t){this.disabled||this.readonly||(this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),"INPUT"!==t.target.tagName&&"clearicon"!==t.target.getAttribute("data-pc-section")&&!t.target.closest('[data-pc-section="clearicon"]')&&((!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(t.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.onClick.emit(t),this.cd.detectChanges()))}isEmpty(){return!this._options()||this.visibleOptions()&&0===this.visibleOptions().length}onEditableInput(t){const i=t.target.value;this.searchValue="",!this.searchOptions(t,i)&&this.focusedOptionIndex.set(-1),this.onModelChange(i),this.updateModel(i,t),this.onChange.emit({originalEvent:t,value:i})}show(t){this.overlayVisible=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onOverlayAnimationStart(t){if("visible"===t.toState){if(this.itemsWrapper=d.D.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.modelValue()?this.focusedOptionIndex():-1;-1!==i&&this.scroller?.scrollToIndex(i)}else{let i=d.D.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(t)}"void"===t.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(t))}hide(t){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),t&&d.D.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}onInputFocus(t){if(this.disabled)return;this.focused=!0;const i=-1!==this.focusedOptionIndex()?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(i),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit(t)}onInputBlur(t){this.focused=!1,!1===this.overlayVisible&&this.onBlur.emit(t),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onKeyDown(t,i){if(!this.disabled&&!this.readonly)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,this.editable);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,this.editable);break;case"Delete":this.onDeleteKey(t);break;case"Home":this.onHomeKey(t,this.editable);break;case"End":this.onEndKey(t,this.editable);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Space":this.onSpaceKey(t,i);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"Backspace":this.onBackspaceKey(t,this.editable);break;case"ShiftLeft":case"ShiftRight":break;default:!t.metaKey&&h.BF.isPrintableCharacter(t.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(t,t.key))}}onFilterKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0)}}onFilterBlur(t){this.focusedOptionIndex.set(-1)}onArrowDownKey(t){const i=-1!==this.focusedOptionIndex()?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,i),!this.overlayVisible&&this.show(),t.preventDefault()}changeFocusedOptionIndex(t,i){if(this.focusedOptionIndex()!==i&&(this.focusedOptionIndex.set(i),this.scrollInView(),this.selectOnFocus)){const n=this.visibleOptions()[i];this.onOptionSelect(t,n,!1)}}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(t=-1){if(this.itemsViewChild&&this.itemsViewChild.nativeElement){const n=d.D.findSingle(this.itemsViewChild.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedOptionId}"]`);n?n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(-1!==t?t:this.focusedOptionIndex())},0)}}get focusedOptionId(){return-1!==this.focusedOptionIndex()?`${this.id}_${this.focusedOptionIndex()}`:null}hasSelectedOption(){return void 0!==this.modelValue()}isValidSelectedOption(t){return this.isValidOption(t)&&this.isSelected(t)}equalityKey(){return this.optionValue?null:this.dataKey}findFirstFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t}findFirstOptionIndex(){return this.visibleOptions().findIndex(t=>this.isValidOption(t))}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(t=>this.isValidSelectedOption(t)):-1}findNextOptionIndex(t){const i=tthis.isValidOption(n)):-1;return i>-1?i+t+1:t}findPrevOptionIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleOptions().slice(0,t),n=>this.isValidOption(n)):-1;return i>-1?i:t}findLastOptionIndex(){return h.BF.findLastIndex(this.visibleOptions(),t=>this.isValidOption(t))}findLastFocusedOptionIndex(){const t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t}isValidOption(t){return t&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))}isOptionGroup(t){return this.optionGroupLabel&&t.optionGroup&&t.group}onArrowUpKey(t,i=!1){if(t.altKey&&!i){if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(),t.preventDefault()}else{const n=-1!==this.focusedOptionIndex()?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()}}onArrowLeftKey(t,i=!1){i&&this.focusedOptionIndex.set(-1)}onDeleteKey(t){this.showClear&&(this.clear(t),t.preventDefault())}onHomeKey(t,i=!1){i?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex.set(-1)):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()}onEndKey(t,i=!1){if(i){const n=t.currentTarget,s=n.value.length;n.setSelectionRange(s,s),this.focusedOptionIndex.set(-1)}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()}onPageDownKey(t){this.scrollInView(this.visibleOptions().length-1),t.preventDefault()}onPageUpKey(t){this.scrollInView(0),t.preventDefault()}onSpaceKey(t,i=!1){!this.editable&&!i&&this.onEnterKey(t)}onEnterKey(t){if(this.overlayVisible){if(-1!==this.focusedOptionIndex()){const i=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,i)}this.hide()}else this.onArrowDownKey(t);t.preventDefault()}onEscapeKey(t){this.overlayVisible&&this.hide(!0),t.preventDefault()}onTabKey(t,i=!1){if(!i)if(this.overlayVisible&&this.hasFocusableElements())d.D.focus(t.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),t.preventDefault();else{if(-1!==this.focusedOptionIndex()){const n=this.visibleOptions()[this.focusedOptionIndex()];this.onOptionSelect(t,n)}this.overlayVisible&&this.hide(this.filter)}}onFirstHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getFirstFocusableElement(this.overlayViewChild.el.nativeElement,":not(.p-hidden-focusable)"):this.focusInputViewChild.nativeElement;d.D.focus(i)}onLastHiddenFocus(t){const i=t.relatedTarget===this.focusInputViewChild?.nativeElement?d.D.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;d.D.focus(i)}hasFocusableElements(){return d.D.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}onBackspaceKey(t,i=!1){i&&!this.overlayVisible&&this.show()}searchFields(){return this.filterFields||[this.optionLabel]}searchOptions(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedOptionIndex()?(n=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)),n=-1===n?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(l=>this.isOptionMatched(l)):n+this.focusedOptionIndex()):n=this.visibleOptions().findIndex(l=>this.isOptionMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedOptionIndex()&&(n=this.findFirstFocusedOptionIndex()),-1!==n&&this.changeFocusedOptionIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}isOptionMatched(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}onFilterInputChange(t){let i=t.target.value?.trim();this._filterValue.set(i),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:t,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),this.cd.markForCheck()}applyFocus(){this.editable?d.D.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():d.D.focus(this.focusInputViewChild?.nativeElement)}focus(){this.applyFocus()}clear(t){this.updateModel(null,t),this.updateEditableLabel(),this.onChange.emit({originalEvent:t,value:this.value}),this.onClear.emit(t)}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(e.SKi),e.rXU(g.E),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dropdown"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(zn,5),e.GBs(Hn,5),e.GBs(Yn,5),e.GBs($n,5),e.GBs(An,5),e.GBs(Xn,5),e.GBs(Kn,5),e.GBs(Un,5),e.GBs(Qn,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.filterViewChild=s.first),e.mGM(s=e.lsd())&&(n.focusInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.editableInputViewChild=s.first),e.mGM(s=e.lsd())&&(n.itemsViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first),e.mGM(s=e.lsd())&&(n.overlayViewChild=s.first),e.mGM(s=e.lsd())&&(n.firstHiddenFocusableElementOnOverlay=s.first),e.mGM(s=e.lsd())&&(n.lastHiddenFocusableElementOnOverlay=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused||n.overlayVisible)},inputs:{id:"id",scrollHeight:"scrollHeight",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",dataKey:"dataKey",filterBy:"filterBy",filterFields:"filterFields",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",focusOnHover:"focusOnHover",selectOnFocus:"selectOnFocus",autoOptionFocus:"autoOptionFocus",autofocusFilter:"autofocusFilter",disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",filterValue:"filterValue",options:"options"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[e.Jv_([Xo])],decls:11,vars:20,consts:[["container",""],["overlay",""],["focusInput",""],["defaultPlaceholder",""],["editableInput",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["filter",""],["scroller",""],["items",""],["emptyFilter",""],["empty",""],[3,"click","ngClass","ngStyle"],["role","combobox","pAutoFocus","",3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus","focus","blur","keydown",4,"ngIf"],["type","text","aria-haspopup","listbox",3,"ngClass","disabled","input","keydown","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-dropdown-trigger"],["class","p-dropdown-trigger-icon",4,"ngIf"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["pTemplate","content"],["role","combobox","pAutoFocus","",3,"focus","blur","keydown","ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","text","aria-haspopup","listbox",3,"input","keydown","focus","blur","ngClass","disabled"],[3,"styleClass","click",4,"ngIf"],["class","p-dropdown-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-dropdown-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-dropdown-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-dropdown-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-dropdown-header",3,"click",4,"ngIf"],[1,"p-dropdown-items-wrapper"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],[1,"p-dropdown-header",3,"click"],[1,"p-dropdown-filter-container"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"input","keydown","blur","value"],["class","p-dropdown-filter-icon",4,"ngIf"],[1,"p-dropdown-filter-icon"],[3,"onLazyLoad","items","itemSize","autoSize","lazy","options"],["pTemplate","loader"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["ngFor","",3,"ngForOf"],["class","p-dropdown-empty-message",3,"ngStyle",4,"ngIf"],["role","option",1,"p-dropdown-item-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","selected","label","disabled","template","focused","ariaPosInset","ariaSetSize"],[1,"p-dropdown-empty-message",3,"ngStyle"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",14,0),e.bIt("click",function(r){return e.eBV(s),e.Njj(n.onContainerClick(r))}),e.DNE(2,to,6,21,"span",15)(3,io,2,5,"input",16)(4,lo,3,2,"ng-container",17),e.j41(5,"div",18),e.DNE(6,po,3,2,"ng-container",17)(7,mo,2,1,"span",19),e.k0s(),e.j41(8,"p-overlay",20,1),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.overlayVisible,r)||(n.overlayVisible=r),e.Njj(r)}),e.bIt("onAnimationStart",function(r){return e.eBV(s),e.Njj(n.onOverlayAnimationStart(r))})("onHide",function(){return e.eBV(s),e.Njj(n.hide())}),e.DNE(10,Ao,13,19,"ng-template",21),e.k0s()()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass)("ngStyle",n.style),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",!n.editable),e.R7$(),e.Y8G("ngIf",n.editable),e.R7$(),e.Y8G("ngIf",n.isVisibleClearIcon),e.R7$(),e.BMQ("aria-expanded",n.overlayVisible)("data-pc-section","trigger"),e.R7$(),e.Y8G("ngIf",!n.dropdownIconTemplate),e.R7$(),e.Y8G("ngIf",n.dropdownIconTemplate),e.R7$(),e.R50("visible",n.overlayVisible),e.Y8G("options",n.overlayOptions)("target","@parent")("appendTo",n.appendTo)("autoZIndex",n.autoZIndex)("baseZIndex",n.baseZIndex)("showTransitionOptions",n.showTransitionOptions)("hideTransitionOptions",n.hideTransitionOptions))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,ve,g.Ei,j.m,we,Ui,F.A,A,Ie,Ko],styles:["@layer primeng{.p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;opacity:0}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-item-group{cursor:auto}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}}\n"],encapsulation:2,changeDetection:0})}return o})(),oe=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,ye,g.Gg,j.S,E.Z,K,Qi,F.A,A,Ie,ye,g.Gg,K]})}return o})(),U=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Se=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var H=I(2242);const Uo=["input"],Qo=(o,a,t)=>({"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":o,"p-inputnumber-buttons-horizontal":a,"p-inputnumber-buttons-vertical":t}),De=()=>({"p-inputnumber-button p-inputnumber-button-up":!0}),Ee=()=>({"p-inputnumber-button p-inputnumber-button-down":!0});function qo(o,a){if(1&o){const t=e.RV6();e.j41(0,"TimesIcon",8),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.k0s()}2&o&&(e.Y8G("ngClass","p-inputnumber-clear-icon"),e.BMQ("data-pc-section","clearIcon"))}function Wo(o,a){}function Zo(o,a){1&o&&e.DNE(0,Wo,0,0,"ng-template")}function Jo(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",9),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.clear())}),e.DNE(1,Zo,1,0,null,10),e.k0s()}if(2&o){const t=e.XpG(2);e.BMQ("data-pc-section","clearIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.clearIconTemplate)}}function es(o,a){if(1&o&&(e.qex(0),e.DNE(1,qo,1,2,"TimesIcon",6)(2,Jo,2,2,"span",7),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",!t.clearIconTemplate),e.R7$(),e.Y8G("ngIf",t.clearIconTemplate)}}function ts(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function is(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ns(o,a){}function os(o,a){1&o&&e.DNE(0,ns,0,0,"ng-template")}function ss(o,a){if(1&o&&(e.qex(0),e.DNE(1,is,1,1,"AngleUpIcon",3)(2,os,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function as(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function ls(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function rs(o,a){}function cs(o,a){1&o&&e.DNE(0,rs,0,0,"ng-template")}function ds(o,a){if(1&o&&(e.qex(0),e.DNE(1,ls,1,1,"AngleDownIcon",3)(2,cs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function ps(o,a){if(1&o){const t=e.RV6();e.j41(0,"span",11)(1,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(2,ts,1,2,"span",13)(3,ss,3,2,"ng-container",3),e.k0s(),e.j41(4,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(5,as,1,2,"span",13)(6,ds,3,2,"ng-container",3),e.k0s()()}if(2&o){const t=e.XpG();e.BMQ("data-pc-section","buttonGroup"),e.R7$(),e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(17,De))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon),e.R7$(),e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(18,Ee))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section",t.decrementbutton),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}function us(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.incrementButtonIcon),e.BMQ("data-pc-section","incrementbuttonicon")}}function hs(o,a){1&o&&e.nrm(0,"AngleUpIcon"),2&o&&e.BMQ("data-pc-section","incrementbuttonicon")}function ms(o,a){}function _s(o,a){1&o&&e.DNE(0,ms,0,0,"ng-template")}function gs(o,a){if(1&o&&(e.qex(0),e.DNE(1,hs,1,1,"AngleUpIcon",3)(2,_s,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.incrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.incrementButtonIconTemplate)}}function fs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onUpButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onUpButtonKeyUp())}),e.DNE(1,us,1,2,"span",13)(2,gs,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.incrementButtonClass),e.Y8G("ngClass",e.lJ4(8,De))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","incrementbutton"),e.R7$(),e.Y8G("ngIf",t.incrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.incrementButtonIcon)}}function bs(o,a){if(1&o&&e.nrm(0,"span",14),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.decrementButtonIcon),e.BMQ("data-pc-section","decrementbuttonicon")}}function vs(o,a){1&o&&e.nrm(0,"AngleDownIcon"),2&o&&e.BMQ("data-pc-section","decrementbuttonicon")}function ys(o,a){}function Cs(o,a){1&o&&e.DNE(0,ys,0,0,"ng-template")}function ws(o,a){if(1&o&&(e.qex(0),e.DNE(1,vs,1,1,"AngleDownIcon",3)(2,Cs,1,0,null,10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.decrementButtonIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.decrementButtonIconTemplate)}}function Is(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",12),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonMouseDown(n))})("mouseup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseUp())})("mouseleave",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonMouseLeave())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onDownButtonKeyDown(n))})("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onDownButtonKeyUp())}),e.DNE(1,bs,1,2,"span",13)(2,ws,3,2,"ng-container",3),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.decrementButtonClass),e.Y8G("ngClass",e.lJ4(8,Ee))("disabled",t.disabled),e.BMQ("aria-hidden",!0)("data-pc-section","decrementbutton"),e.R7$(),e.Y8G("ngIf",t.decrementButtonIcon),e.R7$(),e.Y8G("ngIf",!t.decrementButtonIcon)}}const xs={provide:R.kq,useExisting:(0,e.Rfq)(()=>Re),multi:!0};let Re=(()=>{class o{document;el;cd;injector;showButtons=!1;format=!0;buttonLayout="stacked";inputId;styleClass;style;placeholder;size;maxlength;tabindex;title;ariaLabelledBy;ariaLabel;ariaRequired;name;required;autocomplete;min;max;incrementButtonClass;decrementButtonClass;incrementButtonIcon;decrementButtonIcon;readonly=!1;step=1;allowEmpty=!0;locale;localeMatcher;mode="decimal";currency;currencyDisplay;useGrouping=!0;minFractionDigits;maxFractionDigits;prefix;suffix;inputStyle;inputStyleClass;showClear=!1;get disabled(){return this._disabled}set disabled(t){t&&(this.focused=!1),this._disabled=t,this.timer&&this.clearTimer()}onInput=new e.bkB;onFocus=new e.bkB;onBlur=new e.bkB;onKeyDown=new e.bkB;onClear=new e.bkB;input;templates;clearIconTemplate;incrementButtonIconTemplate;decrementButtonIconTemplate;value;onModelChange=()=>{};onModelTouched=()=>{};focused;initialized;groupChar="";prefixChar="";suffixChar="";isSpecialChar;timer;lastValue;_numeral;numberFormat;_decimal;_group;_minusSign;_currency;_prefix;_suffix;_index;_disabled;ngControl=null;constructor(t,i,n,s){this.document=t,this.el=i,this.cd=n,this.injector=s}ngOnChanges(t){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(n=>!!t[n])&&this.updateConstructParser()}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"clearicon":this.clearIconTemplate=t.template;break;case"incrementbuttonicon":this.incrementButtonIconTemplate=t.template;break;case"decrementbuttonicon":this.decrementButtonIconTemplate=t.template}})}ngOnInit(){this.ngControl=this.injector.get(R.vO,null,{optional:!0}),this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const t=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(t.map((n,s)=>[n,s]));this._numeral=new RegExp(`[${t.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=n=>i.get(n)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const t=new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1});return new RegExp(`[${t.format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=t.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const t=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${t.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const t=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${t.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=t.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const t=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=t.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(t){if(null!=t){if("-"===t)return t;if(this.format){let n=new Intl.NumberFormat(this.locale,this.getOptions()).format(t);return this.prefix&&(n=this.prefix+n),this.suffix&&(n+=this.suffix),n}return t.toString()}return""}parseValue(t){let i=t.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(i){if("-"===i)return i;let n=+i;return isNaN(n)?null:n}return null}repeat(t,i,n){if(this.readonly)return;let s=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(t,40,n)},s),this.spin(t,n)}spin(t,i){let n=this.step*i,s=this.parseValue(this.input?.nativeElement.value)||0,l=this.validateValue(s+n);this.maxlength&&this.maxlength0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i-1)+s.slice(i)}else"currency"===this.mode&&-1!=r.search(this._currency)&&(l=s.slice(1));this.updateValue(t,l,null,"delete-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Delete":if(t.preventDefault(),i===n){const r=s.charAt(i),{decimalCharIndex:c,decimalCharIndexWithoutPrefix:p}=this.getDecimalCharIndexes(s);if(this.isNumeralChar(r)){const u=this.getDecimalLength(s);if(this._group.test(r))this._group.lastIndex=0,l=s.slice(0,i)+s.slice(i+2);else if(this._decimal.test(r))this._decimal.lastIndex=0,u?this.input?.nativeElement.setSelectionRange(i+1,i+1):l=s.slice(0,i)+s.slice(i+1);else if(c>0&&i>c){const _=this.isDecimalMode()&&(this.minFractionDigits||0)0?l:""):l=s.slice(0,i)+s.slice(i+1)}this.updateValue(t,l,null,"delete-back-single")}else l=this.deleteRange(s,i,n),this.updateValue(t,l,null,"delete-range");break;case"Home":this.min&&(this.updateModel(t,this.min),t.preventDefault());break;case"End":this.max&&(this.updateModel(t,this.max),t.preventDefault())}this.onKeyDown.emit(t)}onInputKeyPress(t){if(this.readonly)return;let i=t.which||t.keyCode,n=String.fromCharCode(i);const s=this.isDecimalSign(n),l=this.isMinusSign(n);13!=i&&t.preventDefault();const r=this.parseValue(this.input.nativeElement.value+n),c=null!=r?r.toString():"";this.maxlength&&c.length>this.maxlength||(48<=i&&i<=57||l||s)&&this.insert(t,n,{isDecimalSign:s,isMinusSign:l})}onPaste(t){if(!this.disabled&&!this.readonly){t.preventDefault();let i=(t.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(i){this.maxlength&&(i=i.toString().substring(0,this.maxlength));let n=this.parseValue(i);null!=n&&this.insert(t,n.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(t){return!(!this._minusSign.test(t)&&"-"!==t||(this._minusSign.lastIndex=0,0))}isDecimalSign(t){return!!this._decimal.test(t)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(t){let i=t.search(this._decimal);this._decimal.lastIndex=0;const s=t.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:s}}getCharIndexes(t){const i=t.search(this._decimal);this._decimal.lastIndex=0;const n=t.search(this._minusSign);this._minusSign.lastIndex=0;const s=t.search(this._suffix);this._suffix.lastIndex=0;const l=t.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:n,suffixCharIndex:s,currencyCharIndex:l}}insert(t,i,n={isDecimalSign:!1,isMinusSign:!1}){const s=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==s)return;let l=this.input?.nativeElement.selectionStart,r=this.input?.nativeElement.selectionEnd,c=this.input?.nativeElement.value.trim();const{decimalCharIndex:p,minusCharIndex:u,suffixCharIndex:_,currencyCharIndex:b}=this.getCharIndexes(c);let f;if(n.isMinusSign)0===l&&(f=c,(-1===u||0!==r)&&(f=this.insertText(c,i,0,r)),this.updateValue(t,f,i,"insert"));else if(n.isDecimalSign)p>0&&l===p?this.updateValue(t,c,i,"insert"):(p>l&&p0&&l>p){if(l+i.length-(p+1)<=w){const y=b>=l?b-1:_>=l?_:c.length;f=c.slice(0,l)+i+c.slice(l+i.length,y)+c.slice(y),this.updateValue(t,f,i,C)}}else f=this.insertText(c,i,l,r),this.updateValue(t,f,i,C)}}insertText(t,i,n,s){if(2===("."===i?i:i.split(".")).length){const r=t.slice(n,s).search(this._decimal);return this._decimal.lastIndex=0,r>0?t.slice(0,n)+this.formatValue(i)+t.slice(s):t||this.formatValue(i)}return s-n===t.length?this.formatValue(i):0===n?i+t.slice(s):s===t.length?t.slice(0,n)+i:t.slice(0,n)+i+t.slice(s)}deleteRange(t,i,n){let s;return s=n-i===t.length?"":0===i?t.slice(n):n===t.length?t.slice(0,i):t.slice(0,i)+t.slice(n),s}initCursor(){let t=this.input?.nativeElement.selectionStart,i=this.input?.nativeElement.value,n=i.length,s=null,l=(this.prefixChar||"").length;i=i.replace(this._prefix,""),t-=l;let r=i.charAt(t);if(this.isNumeralChar(r))return t+l;let c=t-1;for(;c>=0;){if(r=i.charAt(c),this.isNumeralChar(r)){s=c+l;break}c--}if(null!==s)this.input?.nativeElement.setSelectionRange(s+1,s+1);else{for(c=t;cthis.max?this.max:t}updateInput(t,i,n,s){i=i||"";let l=this.input?.nativeElement.value,r=this.formatValue(t),c=l.length;if(r!==s&&(r=this.concatValues(r,s)),0===c){this.input.nativeElement.value=r,this.input.nativeElement.setSelectionRange(0,0);const u=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(u,u)}else{let p=this.input.nativeElement.selectionStart,u=this.input.nativeElement.selectionEnd;if(this.maxlength&&r.length>this.maxlength&&(r=r.slice(0,this.maxlength),p=Math.min(p,this.maxlength),u=Math.min(u,this.maxlength)),this.maxlength&&this.maxlength0}clearTimer(){this.timer&&clearInterval(this.timer)}getFormatter(){return this.numberFormat}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.aKT),e.rXU(e.gRc),e.rXU(e.zZn))};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputNumber"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&e.GBs(Uo,5),2&i){let s;e.mGM(s=e.lsd())&&(n.input=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(i,n){2&i&&e.AVh("p-inputwrapper-filled",n.filled)("p-inputwrapper-focus",n.focused)("p-inputnumber-clearable",n.showClear&&"vertical"!=n.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[e.Jv_([xs]),e.OA$],decls:7,vars:39,consts:[["input",""],[3,"ngClass","ngStyle"],["pInputText","","role","spinbutton","inputmode","decimal",3,"input","keydown","keypress","paste","click","focus","blur","ngClass","ngStyle","value","disabled","readonly"],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","class","p-button-icon-only","tabindex","-1",3,"ngClass","class","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],["class","p-inputnumber-clear-icon",3,"click",4,"ngIf"],[3,"click","ngClass"],[1,"p-inputnumber-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[1,"p-inputnumber-button-group"],["type","button","pButton","","tabindex","-1",1,"p-button-icon-only",3,"mousedown","mouseup","mouseleave","keydown","keyup","ngClass","disabled"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"span",1)(1,"input",2,0),e.bIt("input",function(r){return e.eBV(s),e.Njj(n.onUserInput(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.onInputKeyDown(r))})("keypress",function(r){return e.eBV(s),e.Njj(n.onInputKeyPress(r))})("paste",function(r){return e.eBV(s),e.Njj(n.onPaste(r))})("click",function(){return e.eBV(s),e.Njj(n.onInputClick())})("focus",function(r){return e.eBV(s),e.Njj(n.onInputFocus(r))})("blur",function(r){return e.eBV(s),e.Njj(n.onInputBlur(r))}),e.k0s(),e.DNE(3,es,3,2,"ng-container",3)(4,ps,7,19,"span",4)(5,fs,3,9,"button",5)(6,Is,3,9,"button",5),e.k0s()}2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",e.sMw(35,Qo,n.showButtons&&"stacked"===n.buttonLayout,n.showButtons&&"horizontal"===n.buttonLayout,n.showButtons&&"vertical"===n.buttonLayout))("ngStyle",n.style),e.BMQ("data-pc-name","inputnumber")("data-pc-section","root"),e.R7$(),e.HbH(n.inputStyleClass),e.Y8G("ngClass","p-inputnumber-input")("ngStyle",n.inputStyle)("value",n.formattedValue())("disabled",n.disabled)("readonly",n.readonly),e.BMQ("id",n.inputId)("aria-valuemin",n.min)("aria-valuemax",n.max)("aria-valuenow",n.value)("placeholder",n.placeholder)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledBy)("title",n.title)("size",n.size)("name",n.name)("autocomplete",n.autocomplete)("maxlength",n.maxlength)("tabindex",n.tabindex)("aria-required",n.ariaRequired)("required",n.required)("min",n.min)("max",n.max)("data-pc-section","input"),e.R7$(2),e.Y8G("ngIf","vertical"!=n.buttonLayout&&n.showClear&&n.value),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"===n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout),e.R7$(),e.Y8G("ngIf",n.showButtons&&"stacked"!==n.buttonLayout))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,H.S,M._f,F.A,Se,U],styles:["@layer primeng{p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),se=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,H.u,M.tm,F.A,Se,U,g.Gg]})}return o})(),Me=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Fe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleDoubleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ge=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleLeftIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Q=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["AngleRightIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const q=o=>({"p-disabled":o}),ae=o=>({$implicit:o}),Ts=o=>({"p-highlight":o});function ks(o,a){1&o&&e.eu8(0)}function Ss(o,a){if(1&o&&(e.j41(0,"div",15),e.DNE(1,ks,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","start"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateLeft)("ngTemplateOutletContext",e.eq3(3,ae,t.paginatorState))}}function Ds(o,a){if(1&o&&(e.j41(0,"span",17),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.JRh(t.currentPageReport)}}function Es(o,a){1&o&&e.nrm(0,"AngleDoubleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Rs(o,a){}function Ms(o,a){1&o&&e.DNE(0,Rs,0,0,"ng-template")}function Fs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Ms,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.firstPageLinkIconTemplate)}}function Gs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",18),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToFirst(n))}),e.DNE(1,Es,1,1,"AngleDoubleLeftIcon",6)(2,Fs,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(5,q,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("firstPageLabel")),e.R7$(),e.Y8G("ngIf",!t.firstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.firstPageLinkIconTemplate)}}function Vs(o,a){1&o&&e.nrm(0,"AngleLeftIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Bs(o,a){}function Os(o,a){1&o&&e.DNE(0,Bs,0,0,"ng-template")}function Ls(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Os,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.previousPageLinkIconTemplate)}}function Ns(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",24),e.bIt("click",function(n){const s=e.eBV(t).$implicit,l=e.XpG(3);return e.Njj(l.onPageLinkClick(n,s-1))}),e.EFF(1),e.k0s()}if(2&o){const t=a.$implicit,i=e.XpG(3);e.Y8G("ngClass",e.eq3(3,Ts,t-1==i.getPage())),e.BMQ("aria-label",i.getAriaLabel("pageLabel")),e.R7$(),e.SpI(" ",i.getLocalization(t)," ")}}function js(o,a){if(1&o&&(e.j41(0,"span",22),e.DNE(1,Ns,2,5,"button",23),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngForOf",t.pageLinks)}}function Ps(o,a){if(1&o&&e.EFF(0),2&o){const t=e.XpG(3);e.JRh(t.currentPageReport)}}function zs(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",25),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onPageDropdownChange(n))}),e.DNE(1,Ps,1,1,"ng-template",26),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.pageItems)("ngModel",t.getPage())("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight),e.BMQ("aria-label",t.getAriaLabel("jumpToPageDropdownLabel"))}}function Hs(o,a){1&o&&e.nrm(0,"AngleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ys(o,a){}function $s(o,a){1&o&&e.DNE(0,Ys,0,0,"ng-template")}function As(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,$s,1,0,null,21),e.k0s()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.nextPageLinkIconTemplate)}}function Xs(o,a){1&o&&e.nrm(0,"AngleDoubleRightIcon",19),2&o&&e.Y8G("styleClass","p-paginator-icon")}function Ks(o,a){}function Us(o,a){1&o&&e.DNE(0,Ks,0,0,"ng-template")}function Qs(o,a){if(1&o&&(e.j41(0,"span",20),e.DNE(1,Us,1,0,null,21),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.lastPageLinkIconTemplate)}}function qs(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",27),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePageToLast(n))}),e.DNE(1,Xs,1,1,"AngleDoubleRightIcon",6)(2,Qs,2,1,"span",7),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(5,q,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("lastPageLabel")),e.R7$(),e.Y8G("ngIf",!t.lastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.lastPageLinkIconTemplate)}}function Ws(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-inputNumber",28),e.bIt("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.changePage(n-1))}),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("ngModel",t.currentPage())("disabled",t.empty())}}function Zs(o,a){1&o&&e.eu8(0)}function Js(o,a){if(1&o&&e.DNE(0,Zs,1,0,"ng-container",16),2&o){const t=a.$implicit,i=e.XpG(4);e.Y8G("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",e.eq3(2,ae,t))}}function ea(o,a){1&o&&(e.qex(0),e.DNE(1,Js,1,4,"ng-template",31),e.bVm())}function ta(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-dropdown",29),e.mxI("ngModelChange",function(n){e.eBV(t);const s=e.XpG(2);return e.DH7(s.rows,n)||(s.rows=n),e.Njj(n)}),e.bIt("onChange",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onRppChange(n))}),e.DNE(1,ea,2,0,"ng-container",30),e.k0s()}if(2&o){const t=e.XpG(2);e.Y8G("options",t.rowsPerPageItems),e.R50("ngModel",t.rows),e.Y8G("disabled",t.empty())("appendTo",t.dropdownAppendTo)("scrollHeight",t.dropdownScrollHeight)("ariaLabel",t.getAriaLabel("rowsPerPageLabel")),e.R7$(),e.Y8G("ngIf",t.dropdownItemTemplate)}}function ia(o,a){1&o&&e.eu8(0)}function na(o,a){if(1&o&&(e.j41(0,"div",32),e.DNE(1,ia,1,0,"ng-container",16),e.k0s()),2&o){const t=e.XpG(2);e.BMQ("data-pc-section","end"),e.R7$(),e.Y8G("ngTemplateOutlet",t.templateRight)("ngTemplateOutletContext",e.eq3(3,ae,t.paginatorState))}}function oa(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",1),e.DNE(1,Ss,2,5,"div",2)(2,Ds,2,1,"span",3)(3,Gs,3,7,"button",4),e.j41(4,"button",5),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToPrev(n))}),e.DNE(5,Vs,1,1,"AngleLeftIcon",6)(6,Ls,2,1,"span",7),e.k0s(),e.DNE(7,js,2,1,"span",8)(8,zs,2,6,"p-dropdown",9),e.j41(9,"button",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.changePageToNext(n))}),e.DNE(10,Hs,1,1,"AngleRightIcon",6)(11,As,2,1,"span",7),e.k0s(),e.DNE(12,qs,3,7,"button",11)(13,Ws,1,2,"p-inputNumber",12)(14,ta,2,7,"p-dropdown",13)(15,na,2,5,"div",14),e.k0s()}if(2&o){const t=e.XpG();e.HbH(t.styleClass),e.Y8G("ngStyle",t.style)("ngClass","p-paginator p-component"),e.BMQ("data-pc-section","paginator")("data-pc-section","root"),e.R7$(),e.Y8G("ngIf",t.templateLeft),e.R7$(),e.Y8G("ngIf",t.showCurrentPageReport),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("disabled",t.isFirstPage()||t.empty())("ngClass",e.eq3(25,q,t.isFirstPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("prevPageLabel")),e.R7$(),e.Y8G("ngIf",!t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.previousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showPageLinks),e.R7$(),e.Y8G("ngIf",t.showJumpToPageDropdown),e.R7$(),e.Y8G("disabled",t.isLastPage()||t.empty())("ngClass",e.eq3(27,q,t.isLastPage()||t.empty())),e.BMQ("aria-label",t.getAriaLabel("nextPageLabel")),e.R7$(),e.Y8G("ngIf",!t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.nextPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.showFirstLastIcon),e.R7$(),e.Y8G("ngIf",t.showJumpToPageInput),e.R7$(),e.Y8G("ngIf",t.rowsPerPageOptions),e.R7$(),e.Y8G("ngIf",t.templateRight)}}let sa=(()=>{class o{cd;config;pageLinkSize=5;style;styleClass;alwaysShow=!0;dropdownAppendTo;templateLeft;templateRight;appendTo;dropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showFirstLastIcon=!0;totalRecords=0;rows=0;rowsPerPageOptions;showJumpToPageDropdown;showJumpToPageInput;showPageLinks=!0;locale;dropdownItemTemplate;get first(){return this._first}set first(t){this._first=t}onPageChange=new e.bkB;templates;firstPageLinkIconTemplate;previousPageLinkIconTemplate;lastPageLinkIconTemplate;nextPageLinkIconTemplate;pageLinks;pageItems;rowsPerPageItems;paginatorState;_first=0;_page=0;constructor(t,i){this.cd=t,this.config=i}ngOnInit(){this.updatePaginatorState()}getAriaLabel(t){return this.config.translation.aria?this.config.translation.aria[t]:void 0}getLocalization(t){const i=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),n=new Map(i.map((s,l)=>[l,s]));return t>9?String(t).split("").map(l=>n.get(Number(l))).join(""):n.get(t)}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"firstpagelinkicon":this.firstPageLinkIconTemplate=t.template;break;case"previouspagelinkicon":this.previousPageLinkIconTemplate=t.template;break;case"lastpagelinkicon":this.lastPageLinkIconTemplate=t.template;break;case"nextpagelinkicon":this.nextPageLinkIconTemplate=t.template}})}ngOnChanges(t){t.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),t.first&&(this._first=t.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),t.rows&&(this.updatePageLinks(),this.updatePaginatorState()),t.rowsPerPageOptions&&this.updateRowsPerPageOptions()}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];for(let t of this.rowsPerPageOptions)"object"==typeof t&&t.showAll?this.rowsPerPageItems.unshift({label:t.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(this.getLocalization(t)),value:t})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let t=this.getPageCount(),i=Math.min(this.pageLinkSize,t),n=Math.max(0,Math.ceil(this.getPage()-i/2)),s=Math.min(t-1,n+i-1);return n=Math.max(0,n-(this.pageLinkSize-(s-n+1))),[n,s]}updatePageLinks(){this.pageLinks=[];let t=this.calculatePageLinkBoundaries(),n=t[1];for(let s=t[0];s<=n;s++)this.pageLinks.push(s+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let s=0;s=0&&t0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(t-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(t){this.isFirstPage()||this.changePage(0),t.preventDefault()}changePageToPrev(t){this.changePage(this.getPage()-1),t.preventDefault()}changePageToNext(t){this.changePage(this.getPage()+1),t.preventDefault()}changePageToLast(t){this.isLastPage()||this.changePage(this.getPageCount()-1),t.preventDefault()}onPageLinkClick(t,i){this.changePage(i),t.preventDefault()}onRppChange(t){this.changePage(this.getPage())}onPageDropdownChange(t){this.changePage(t.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}empty(){return 0===this.getPageCount()}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.currentPage())).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-paginator"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",dropdownAppendTo:"dropdownAppendTo",templateLeft:"templateLeft",templateRight:"templateRight",appendTo:"appendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showPageLinks:"showPageLinks",locale:"locale",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[e.OA$],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"click","disabled","ngClass"],[3,"styleClass",4,"ngIf"],["class","p-paginator-icon",4,"ngIf"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"click","disabled","ngClass"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-page-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ariaLabel","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-paginator-element","p-link",3,"click","disabled","ngClass"],[3,"styleClass"],[1,"p-paginator-icon"],[4,"ngTemplateOutlet"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"click","ngClass"],["styleClass","p-paginator-page-options",3,"onChange","options","ngModel","disabled","appendTo","scrollHeight"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"click","disabled","ngClass"],[1,"p-paginator-page-input",3,"ngModelChange","ngModel","disabled"],["styleClass","p-paginator-rpp-options",3,"ngModelChange","onChange","options","ngModel","disabled","appendTo","scrollHeight","ariaLabel"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(i,n){1&i&&e.DNE(0,oa,16,29,"div",0),2&i&&e.Y8G("ngIf",!!n.alwaysShow||n.pageLinks&&n.pageLinks.length>1)},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,ke,g.Ei,Re,R.BC,R.vS,E.n,Me,Fe,Ge,Q],styles:["@layer primeng{.p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}}\n"],encapsulation:2,changeDetection:0})}return o})(),aa=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,oe,se,R.YN,g.Gg,E.Z,Me,Fe,Ge,Q,oe,se,R.YN,g.Gg]})}return o})();const la=["container"],ra=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-button-icon-only":t}),ca=(o,a)=>({$implicit:o,index:a});function da(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2).$implicit;e.HbH(t.icon),e.Y8G("ngClass","p-button-icon p-button-icon-left"),e.BMQ("data-pc-section","icon")}}function pa(o,a){if(1&o&&(e.qex(0),e.DNE(1,da,1,4,"span",6),e.j41(2,"span",7),e.EFF(3),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",t.icon),e.R7$(),e.BMQ("data-pc-section","label"),e.R7$(),e.JRh(i.getOptionLabel(t))}}function ua(o,a){1&o&&e.eu8(0)}function ha(o,a){if(1&o&&e.DNE(0,ua,1,0,"ng-container",9),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.Y8G("ngTemplateOutlet",s.selectButtonTemplate)("ngTemplateOutletContext",e.l_i(2,ca,i,n))}}function ma(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",4),e.bIt("click",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onOptionSelect(n,l,r))})("keydown",function(n){const s=e.eBV(t),l=s.$implicit,r=s.index,c=e.XpG();return e.Njj(c.onKeyDown(n,l,r))})("focus",function(n){const s=e.eBV(t).index,l=e.XpG();return e.Njj(l.onFocus(n,s))})("blur",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onBlur())}),e.DNE(1,pa,4,3,"ng-container",5)(2,ha,1,5,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=a.$implicit,i=a.index,n=e.sdS(3),s=e.XpG();e.HbH(t.styleClass),e.Y8G("role",s.multiple?"checkbox":"radio")("ngClass",e.sMw(14,ra,s.isSelected(t),s.disabled||s.isOptionDisabled(t),t.icon&&!s.getOptionLabel(t))),e.BMQ("tabindex",i===s.focusedIndex?"0":"-1")("aria-label",t.label)("aria-checked",s.isSelected(t))("aria-disabled",s.optionDisabled)("aria-pressed",s.isSelected(t))("title",t.title)("aria-labelledby",s.getOptionLabel(t))("data-pc-section","button"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate)("ngIfElse",n)}}const _a={provide:R.kq,useExisting:(0,e.Rfq)(()=>ga),multi:!0};let ga=(()=>{class o{cd;options;optionLabel;optionValue;optionDisabled;unselectable=!1;tabindex=0;multiple;allowEmpty=!0;style;styleClass;ariaLabelledBy;disabled;dataKey;onOptionClick=new e.bkB;onChange=new e.bkB;container;itemTemplate;get selectButtonTemplate(){return this.itemTemplate?.template}get equalityKey(){return this.optionValue?null:this.dataKey}value;onModelChange=()=>{};onModelTouched=()=>{};focusedIndex=0;constructor(t){this.cd=t}getOptionLabel(t){return this.optionLabel?h.BF.resolveFieldData(t,this.optionLabel):null!=t.label?t.label:t}getOptionValue(t){return this.optionValue?h.BF.resolveFieldData(t,this.optionValue):this.optionLabel||void 0===t.value?t:t.value}isOptionDisabled(t){return this.optionDisabled?h.BF.resolveFieldData(t,this.optionDisabled):void 0!==t.disabled&&t.disabled}writeValue(t){this.value=t,this.cd.markForCheck()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}onOptionSelect(t,i,n){if(this.disabled||this.isOptionDisabled(i))return;let s=this.isSelected(i);if(s&&this.unselectable)return;let r,l=this.getOptionValue(i);if(this.multiple)r=s?this.value.filter(c=>!h.BF.equals(c,l,this.equalityKey)):this.value?[...this.value,l]:[l];else{if(s&&!this.allowEmpty)return;r=s?null:l}this.focusedIndex=n,this.value=r,this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value}),this.onOptionClick.emit({originalEvent:t,option:i,index:n})}onKeyDown(t,i,n){switch(t.code){case"Space":this.onOptionSelect(t,i,n),t.preventDefault();break;case"ArrowDown":case"ArrowRight":this.changeTabIndexes(t,"next"),t.preventDefault();break;case"ArrowUp":case"ArrowLeft":this.changeTabIndexes(t,"prev"),t.preventDefault()}}changeTabIndexes(t,i){let n,s;for(let l=0;l<=this.container.nativeElement.children.length-1;l++)"0"===this.container.nativeElement.children[l].getAttribute("tabindex")&&(n={elem:this.container.nativeElement.children[l],index:l});s="prev"===i?0===n.index?this.container.nativeElement.children.length-1:n.index-1:n.index===this.container.nativeElement.children.length-1?0:n.index+1,this.focusedIndex=s,this.container.nativeElement.children[s].focus()}onFocus(t,i){this.focusedIndex=i}onBlur(){this.onModelTouched()}removeOption(t){this.value=this.value.filter(i=>!h.BF.equals(i,this.getOptionValue(t),this.dataKey))}isSelected(t){let i=!1;const n=this.getOptionValue(t);if(this.multiple){if(this.value&&Array.isArray(this.value))for(let s of this.value)if(h.BF.equals(s,n,this.dataKey)){i=!0;break}}else i=h.BF.equals(this.getOptionValue(t),this.value,this.equalityKey);return i}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-selectButton"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,5),2&i){let l;e.mGM(l=e.lsd())&&(n.itemTemplate=l.first)}},viewQuery:function(i,n){if(1&i&&e.GBs(la,5),2&i){let s;e.mGM(s=e.lsd())&&(n.container=s.first)}},hostAttrs:[1,"p-element"],inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",unselectable:"unselectable",tabindex:"tabindex",multiple:"multiple",allowEmpty:"allowEmpty",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[e.Jv_([_a])],decls:3,vars:8,consts:[["container",""],["customcontent",""],["role","group",3,"ngClass","ngStyle"],["pRipple","","class","p-button p-component",3,"role","class","ngClass","click","keydown","focus","blur",4,"ngFor","ngForOf"],["pRipple","",1,"p-button","p-component",3,"click","keydown","focus","blur","role","ngClass"],[4,"ngIf","ngIfElse"],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&(e.j41(0,"div",2,0),e.DNE(2,ma,4,18,"div",3),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",n.style),e.BMQ("aria-labelledby",n.ariaLabelledBy)("data-pc-name","selectbutton")("data-pc-section","root"),e.R7$(2),e.Y8G("ngForOf",n.options))},dependencies:[m.YU,m.Sq,m.bT,m.T3,m.B3,E.n],styles:['@layer primeng{.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}p-button[iconpos=right] spinnericon{order:1}}\n'],encapsulation:2,changeDetection:0})}return o})(),fa=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,E.Z,g.Gg,g.Gg]})}return o})(),le=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["CheckIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();const ba=(o,a)=>({"p-checkbox p-component":!0,"p-checkbox-disabled":o,"p-checkbox-focused":a}),va=(o,a,t)=>({"p-highlight":o,"p-disabled":a,"p-focus":t}),ya=(o,a,t)=>({"p-checkbox-label-active":o,"p-disabled":a,"p-checkbox-label-focus":t});function Ca(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxTrueIcon),e.BMQ("data-pc-section","checkIcon")}}function wa(o,a){1&o&&e.nrm(0,"CheckIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","checkIcon"))}function Ia(o,a){}function xa(o,a){1&o&&e.DNE(0,Ia,0,0,"ng-template")}function Ta(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,xa,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","checkIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.checkIconTemplate)}}function ka(o,a){if(1&o&&(e.qex(0),e.DNE(1,wa,1,2,"CheckIcon",9)(2,Ta,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.checkIconTemplate),e.R7$(),e.Y8G("ngIf",t.checkIconTemplate)}}function Sa(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ca,1,2,"span",7)(2,ka,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxTrueIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxTrueIcon)}}function Da(o,a){if(1&o&&e.nrm(0,"span",8),2&o){const t=e.XpG(2);e.Y8G("ngClass",t.checkboxFalseIcon),e.BMQ("data-pc-section","uncheckIcon")}}function Ea(o,a){1&o&&e.nrm(0,"TimesIcon",11),2&o&&(e.Y8G("styleClass","p-checkbox-icon"),e.BMQ("data-pc-section","uncheckIcon"))}function Ra(o,a){}function Ma(o,a){1&o&&e.DNE(0,Ra,0,0,"ng-template")}function Fa(o,a){if(1&o&&(e.j41(0,"span",12),e.DNE(1,Ma,1,0,null,13),e.k0s()),2&o){const t=e.XpG(3);e.BMQ("data-pc-section","uncheckIcon"),e.R7$(),e.Y8G("ngTemplateOutlet",t.uncheckIconTemplate)}}function Ga(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ea,1,2,"TimesIcon",9)(2,Fa,2,2,"span",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.uncheckIconTemplate),e.R7$(),e.Y8G("ngIf",t.uncheckIconTemplate)}}function Va(o,a){if(1&o&&(e.qex(0),e.DNE(1,Da,1,2,"span",7)(2,Ga,3,2,"ng-container",5),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.checkboxFalseIcon),e.R7$(),e.Y8G("ngIf",!t.checkboxFalseIcon)}}function Ba(o,a){if(1&o){const t=e.RV6();e.j41(0,"label",14),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(),l=e.sdS(3);return e.Njj(s.onClick(n,l))}),e.EFF(1),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("ngClass",e.sMw(3,ya,null!=t.value,t.disabled,t.focused)),e.BMQ("for",t.inputId),e.R7$(),e.JRh(t.label)}}const Oa={provide:R.kq,useExisting:(0,e.Rfq)(()=>La),multi:!0};let La=(()=>{class o{cd;constructor(t){this.cd=t}disabled;name;ariaLabel;ariaLabelledBy;tabindex;inputId;style;styleClass;label;readonly;checkboxTrueIcon;checkboxFalseIcon;onChange=new e.bkB;templates;checkIconTemplate;uncheckIconTemplate;focused;value;onModelChange=()=>{};onModelTouched=()=>{};onClick(t,i){!this.disabled&&!this.readonly&&(this.toggle(t),this.focused=!0,i.focus())}onKeyDown(t){"Enter"===t.key&&(this.toggle(t),t.preventDefault())}toggle(t){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:t,value:this.value})}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"checkicon":this.checkIconTemplate=t.template;break;case"uncheckicon":this.uncheckIconTemplate=t.template}})}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}registerOnChange(t){this.onModelChange=t}registerOnTouched(t){this.onModelTouched=t}writeValue(t){this.value=t,this.cd.markForCheck()}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-triStateCheckbox"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},hostAttrs:[1,"p-element"],inputs:{disabled:"disabled",name:"name",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[e.Jv_([Oa])],decls:8,vars:26,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox","inputmode","none",3,"keydown","focus","blur","name","readonly","disabled"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"],[1,"p-checkbox-label",3,"click","ngClass"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"div",1),e.bIt("click",function(r){e.eBV(s);const c=e.sdS(3);return e.Njj(n.onClick(r,c))}),e.j41(1,"div",2)(2,"input",3,0),e.bIt("keydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("focus",function(){return e.eBV(s),e.Njj(n.onFocus())})("blur",function(){return e.eBV(s),e.Njj(n.onBlur())}),e.k0s()(),e.j41(4,"div",4),e.DNE(5,Sa,3,2,"ng-container",5)(6,Va,3,2,"ng-container",5),e.k0s()(),e.DNE(7,Ba,2,7,"label",6)}2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.l_i(19,ba,n.disabled,n.focused)),e.BMQ("data-pc-name","tristatecheckbox")("data-pc-section","root"),e.R7$(2),e.Y8G("name",n.name)("readonly",n.readonly)("disabled",n.disabled),e.BMQ("id",n.inputId)("tabindex",n.tabindex)("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel)("data-pc-section","hiddenInput"),e.R7$(2),e.Y8G("ngClass",e.sMw(22,va,null!=n.value,n.disabled,n.focused)),e.BMQ("aria-checked",!0===n.value),e.R7$(),e.Y8G("ngIf",!0===n.value),e.R7$(),e.Y8G("ngIf",!1===n.value),e.R7$(),e.Y8G("ngIf",n.label))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,le,F.A],encapsulation:2,changeDetection:0})}return o})(),Na=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,le,F.A,g.Gg]})}return o})();var P=I(1413);let Ve=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Be=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["ArrowUpIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),ja=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Oe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:9,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z","fill","currentColor"],["d","M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z","fill","currentColor"],["d","M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z","fill","currentColor"],["d","M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1)(3,"path",2)(4,"path",3)(5,"path",4),e.k0s(),e.j41(6,"defs")(7,"clipPath",5),e.nrm(8,"rect",6),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(6),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Le=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountDownIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ne=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SortAmountUpAltIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Pa=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["FilterSlashIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const za=["container"],Ha=["resizeHelper"],Ya=["reorderIndicatorUp"],$a=["reorderIndicatorDown"],Aa=["wrapper"],Xa=["table"],Ka=["thead"],Ua=["tfoot"],Qa=["scroller"],qa=(o,a,t)=>({"p-datatable p-component":!0,"p-datatable-hoverable-rows":o,"p-datatable-scrollable":a,"p-datatable-flex-scrollable":t}),Wa=o=>({maxHeight:o}),Za=o=>({height:o}),je=(o,a)=>({$implicit:o,options:a}),Ja=o=>({columns:o}),el=(o,a,t)=>({"p-datatable-table":!0,"p-datatable-scrollable-table":o,"p-datatable-resizable-table":a,"p-datatable-resizable-table-fit":t}),N=o=>({$implicit:o});function tl(o,a){if(1&o&&e.nrm(0,"i"),2&o){const t=e.XpG(2);e.HbH("p-datatable-loading-icon "+t.loadingIcon)}}function il(o,a){1&o&&e.nrm(0,"SpinnerIcon",26),2&o&&e.Y8G("spin",!0)("styleClass","p-datatable-loading-icon")}function nl(o,a){}function ol(o,a){1&o&&e.DNE(0,nl,0,0,"ng-template")}function sl(o,a){if(1&o&&(e.j41(0,"span",27),e.DNE(1,ol,1,0,null,28),e.k0s()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.loadingIconTemplate)}}function al(o,a){if(1&o&&(e.qex(0),e.DNE(1,il,1,2,"SpinnerIcon",24)(2,sl,2,1,"span",25),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngIf",!t.loadingIconTemplate),e.R7$(),e.Y8G("ngIf",t.loadingIconTemplate)}}function ll(o,a){if(1&o&&(e.j41(0,"div",22),e.DNE(1,tl,1,2,"i",23)(2,al,3,2,"ng-container",16),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.loadingIcon),e.R7$(),e.Y8G("ngIf",!t.loadingIcon)}}function rl(o,a){1&o&&e.eu8(0)}function cl(o,a){if(1&o&&(e.j41(0,"div",29),e.DNE(1,rl,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.captionTemplate)}}function dl(o,a){1&o&&e.eu8(0)}function pl(o,a){if(1&o&&e.DNE(0,dl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function ul(o,a){1&o&&e.DNE(0,pl,1,1,"ng-template",31)}function hl(o,a){1&o&&e.eu8(0)}function ml(o,a){if(1&o&&e.DNE(0,hl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function _l(o,a){1&o&&e.DNE(0,ml,1,1,"ng-template",32)}function gl(o,a){1&o&&e.eu8(0)}function fl(o,a){if(1&o&&e.DNE(0,gl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function bl(o,a){1&o&&e.DNE(0,fl,1,1,"ng-template",33)}function vl(o,a){1&o&&e.eu8(0)}function yl(o,a){if(1&o&&e.DNE(0,vl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Cl(o,a){1&o&&e.DNE(0,yl,1,1,"ng-template",34)}function wl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",30),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,ul,1,0,null,16)(2,_l,1,0,null,16)(3,bl,1,0,null,16)(4,Cl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Il(o,a){1&o&&e.eu8(0)}function xl(o,a){if(1&o&&e.DNE(0,Il,1,0,"ng-container",37),2&o){const t=a.$implicit,i=a.options;e.XpG(2);const n=e.sdS(10);e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.l_i(2,je,t,i))}}function Tl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-scroller",35,3),e.bIt("onLazyLoad",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onLazyItemLoad(n))}),e.DNE(2,xl,1,5,"ng-template",36),e.k0s()}if(2&o){const t=e.XpG();e.Aen(e.eq3(15,Za,"flex"!==t.scrollHeight?t.scrollHeight:void 0)),e.Y8G("items",t.processedData)("columns",t.columns)("scrollHeight","flex"!==t.scrollHeight?void 0:"100%")("itemSize",t.virtualScrollItemSize||t._virtualRowHeight)("step",t.rows)("delay",t.lazy?t.virtualScrollDelay:0)("inline",!0)("lazy",t.lazy)("loaderDisabled",!0)("showSpacer",!1)("showLoader",t.loadingBodyTemplate)("options",t.virtualScrollOptions)("autoSize",!0)}}function kl(o,a){1&o&&e.eu8(0)}function Sl(o,a){if(1&o&&(e.qex(0),e.DNE(1,kl,1,0,"ng-container",37),e.bVm()),2&o){const t=e.XpG(),i=e.sdS(10);e.R7$(),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(4,je,t.processedData,e.eq3(2,Ja,t.columns)))}}function Dl(o,a){1&o&&e.eu8(0)}function El(o,a){1&o&&e.eu8(0)}function Rl(o,a){if(1&o&&e.nrm(0,"tbody",44),2&o){const t=e.XpG().options,i=e.XpG();e.Y8G("value",i.frozenValue)("frozenRows",!0)("pTableBody",t.columns)("pTableBodyTemplate",i.frozenBodyTemplate)("frozen",!0)}}function Ml(o,a){if(1&o&&e.nrm(0,"tbody",45),2&o){const t=e.XpG().options;e.Aen("height: calc("+t.spacerStyle.height+" - "+t.rows.length*t.itemSize+"px);")}}function Fl(o,a){1&o&&e.eu8(0)}function Gl(o,a){if(1&o&&(e.j41(0,"tfoot",46,6),e.DNE(2,Fl,1,0,"ng-container",37),e.k0s()),2&o){const t=e.XpG().options,i=e.XpG();e.R7$(2),e.Y8G("ngTemplateOutlet",i.footerGroupedTemplate||i.footerTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.columns))}}function Vl(o,a){if(1&o&&(e.j41(0,"table",38,4),e.DNE(2,Dl,1,0,"ng-container",37),e.j41(3,"thead",39,5),e.DNE(5,El,1,0,"ng-container",37),e.k0s(),e.DNE(6,Rl,1,5,"tbody",40),e.nrm(7,"tbody",41),e.DNE(8,Ml,1,2,"tbody",42)(9,Gl,3,4,"tfoot",43),e.k0s()),2&o){const t=a.options,i=e.XpG();e.Aen(i.tableStyle),e.HbH(i.tableStyleClass),e.Y8G("ngClass",e.sMw(20,el,i.scrollable,i.resizableColumns,i.resizableColumns&&"fit"===i.columnResizeMode)),e.BMQ("id",i.id+"-table"),e.R7$(2),e.Y8G("ngTemplateOutlet",i.colGroupTemplate)("ngTemplateOutletContext",e.eq3(24,N,t.columns)),e.R7$(3),e.Y8G("ngTemplateOutlet",i.headerGroupedTemplate||i.headerTemplate)("ngTemplateOutletContext",e.eq3(26,N,t.columns)),e.R7$(),e.Y8G("ngIf",i.frozenValue||i.frozenBodyTemplate),e.R7$(),e.Aen(t.contentStyle),e.Y8G("ngClass",t.contentStyleClass)("value",i.dataToRender(t.rows))("pTableBody",t.columns)("pTableBodyTemplate",i.bodyTemplate)("scrollerOptions",t),e.R7$(),e.Y8G("ngIf",t.spacerStyle),e.R7$(),e.Y8G("ngIf",i.footerGroupedTemplate||i.footerTemplate)}}function Bl(o,a){1&o&&e.eu8(0)}function Ol(o,a){if(1&o&&e.DNE(0,Bl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorFirstPageLinkIconTemplate)}}function Ll(o,a){1&o&&e.DNE(0,Ol,1,1,"ng-template",31)}function Nl(o,a){1&o&&e.eu8(0)}function jl(o,a){if(1&o&&e.DNE(0,Nl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorPreviousPageLinkIconTemplate)}}function Pl(o,a){1&o&&e.DNE(0,jl,1,1,"ng-template",32)}function zl(o,a){1&o&&e.eu8(0)}function Hl(o,a){if(1&o&&e.DNE(0,zl,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorLastPageLinkIconTemplate)}}function Yl(o,a){1&o&&e.DNE(0,Hl,1,1,"ng-template",33)}function $l(o,a){1&o&&e.eu8(0)}function Al(o,a){if(1&o&&e.DNE(0,$l,1,0,"ng-container",28),2&o){const t=e.XpG(3);e.Y8G("ngTemplateOutlet",t.paginatorNextPageLinkIconTemplate)}}function Xl(o,a){1&o&&e.DNE(0,Al,1,1,"ng-template",34)}function Kl(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-paginator",47),e.bIt("onPageChange",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onPageChange(n))}),e.DNE(1,Ll,1,0,null,16)(2,Pl,1,0,null,16)(3,Yl,1,0,null,16)(4,Xl,1,0,null,16),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("rows",t.rows)("first",t.first)("totalRecords",t.totalRecords)("pageLinkSize",t.pageLinks)("alwaysShow",t.alwaysShowPaginator)("rowsPerPageOptions",t.rowsPerPageOptions)("templateLeft",t.paginatorLeftTemplate)("templateRight",t.paginatorRightTemplate)("dropdownAppendTo",t.paginatorDropdownAppendTo)("dropdownScrollHeight",t.paginatorDropdownScrollHeight)("currentPageReportTemplate",t.currentPageReportTemplate)("showFirstLastIcon",t.showFirstLastIcon)("dropdownItemTemplate",t.paginatorDropdownItemTemplate)("showCurrentPageReport",t.showCurrentPageReport)("showJumpToPageDropdown",t.showJumpToPageDropdown)("showJumpToPageInput",t.showJumpToPageInput)("showPageLinks",t.showPageLinks)("styleClass",t.paginatorStyleClass)("locale",t.paginatorLocale),e.R7$(),e.Y8G("ngIf",t.paginatorFirstPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorPreviousPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorLastPageLinkIconTemplate),e.R7$(),e.Y8G("ngIf",t.paginatorNextPageLinkIconTemplate)}}function Ul(o,a){1&o&&e.eu8(0)}function Ql(o,a){if(1&o&&(e.j41(0,"div",48),e.DNE(1,Ul,1,0,"ng-container",28),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.summaryTemplate)}}function ql(o,a){1&o&&e.nrm(0,"div",49,7)}function Wl(o,a){1&o&&e.nrm(0,"ArrowDownIcon")}function Zl(o,a){}function Jl(o,a){1&o&&e.DNE(0,Zl,0,0,"ng-template")}function er(o,a){if(1&o&&(e.j41(0,"span",50,8),e.DNE(2,Wl,1,0,"ArrowDownIcon",16)(3,Jl,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorUpIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorUpIconTemplate)}}function tr(o,a){1&o&&e.nrm(0,"ArrowUpIcon")}function ir(o,a){}function nr(o,a){1&o&&e.DNE(0,ir,0,0,"ng-template")}function or(o,a){if(1&o&&(e.j41(0,"span",51,9),e.DNE(2,tr,1,0,"ArrowUpIcon",16)(3,nr,1,0,null,28),e.k0s()),2&o){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",!t.reorderIndicatorDownIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.reorderIndicatorDownIconTemplate)}}const sr=["pTableBody",""],re=(o,a,t,i,n)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n}),ar=(o,a,t,i,n,s,l)=>({$implicit:o,rowIndex:a,columns:t,editing:i,frozen:n,rowgroup:s,rowspan:l}),W=(o,a,t,i,n,s)=>({$implicit:o,rowIndex:a,columns:t,expanded:i,editing:n,frozen:s}),Pe=(o,a,t,i)=>({$implicit:o,rowIndex:a,columns:t,frozen:i}),ze=(o,a)=>({$implicit:o,frozen:a});function lr(o,a){1&o&&e.eu8(0)}function rr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,lr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function cr(o,a){1&o&&e.eu8(0)}function dr(o,a){if(1&o&&(e.qex(0),e.DNE(1,cr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function pr(o,a){1&o&&e.eu8(0)}function ur(o,a){if(1&o&&(e.qex(0),e.DNE(1,pr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",i?s.template:s.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.sGs(2,ar,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen,s.shouldRenderRowspan(s.value,i,n),s.calculateRowGroupSize(s.value,i,n)))}}function hr(o,a){1&o&&e.eu8(0)}function mr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,hr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.s1E(2,re,i,s.getRowIndex(n),s.columns,"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function _r(o,a){if(1&o&&e.DNE(0,rr,2,8,"ng-container",2)(1,dr,2,8,"ng-container",0)(2,ur,2,10,"ng-container",0)(3,mr,2,8,"ng-container",2),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",n.dt.groupHeaderTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,i)),e.R7$(),e.Y8G("ngIf","rowspan"!==n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf","rowspan"===n.dt.rowGroupMode),e.R7$(),e.Y8G("ngIf",n.dt.groupFooterTemplate&&!n.dt.virtualScroll&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupFooter(n.value,t,i))}}function gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,_r,4,4,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function fr(o,a){1&o&&e.eu8(0)}function br(o,a){if(1&o&&(e.qex(0),e.DNE(1,fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function vr(o,a){1&o&&e.eu8(0)}function yr(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,vr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupHeaderTemplate)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function Cr(o,a){1&o&&e.eu8(0)}function wr(o,a){1&o&&e.eu8(0)}function Ir(o,a){if(1&o&&(e.qex(0,3),e.DNE(1,wr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(2),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.groupFooterTemplate)("ngTemplateOutletContext",e.l4e(2,W,i,s.getRowIndex(n),s.columns,s.dt.isRowExpanded(i),"row"===s.dt.editMode&&s.dt.isRowEditing(i),s.frozen))}}function xr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Cr,1,0,"ng-container",4)(2,Ir,2,9,"ng-container",2),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.expandedRowTemplate)("ngTemplateOutletContext",e.ziG(3,Pe,i,s.getRowIndex(n),s.columns,s.frozen)),e.R7$(),e.Y8G("ngIf",s.dt.groupFooterTemplate&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupFooter(s.value,i,s.getRowIndex(n)))}}function Tr(o,a){if(1&o&&e.DNE(0,br,2,9,"ng-container",0)(1,yr,2,9,"ng-container",2)(2,xr,3,8,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngIf",!n.dt.groupHeaderTemplate),e.R7$(),e.Y8G("ngIf",n.dt.groupHeaderTemplate&&"subheader"===n.dt.rowGroupMode&&n.shouldRenderRowGroupHeader(n.value,t,n.getRowIndex(i))),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function kr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Tr,3,3,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Sr(o,a){1&o&&e.eu8(0)}function Dr(o,a){1&o&&e.eu8(0)}function Er(o,a){if(1&o&&(e.qex(0),e.DNE(1,Dr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",s.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",e.ziG(2,Pe,i,s.getRowIndex(n),s.columns,s.frozen))}}function Rr(o,a){if(1&o&&e.DNE(0,Sr,1,0,"ng-container",4)(1,Er,2,7,"ng-container",0),2&o){const t=a.$implicit,i=a.index,n=e.XpG(2);e.Y8G("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.l4e(3,W,t,n.getRowIndex(i),n.columns,n.dt.isRowExpanded(t),"row"===n.dt.editMode&&n.dt.isRowEditing(t),n.frozen)),e.R7$(),e.Y8G("ngIf",n.dt.isRowExpanded(t))}}function Mr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Rr,2,10,"ng-template",1),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngForOf",t.value)("ngForTrackBy",t.dt.rowTrackBy)}}function Fr(o,a){1&o&&e.eu8(0)}function Gr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Fr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.loadingBodyTemplate)("ngTemplateOutletContext",e.l_i(2,ze,t.columns,t.frozen))}}function Vr(o,a){1&o&&e.eu8(0)}function Br(o,a){if(1&o&&(e.qex(0),e.DNE(1,Vr,1,0,"ng-container",4),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.emptyMessageTemplate)("ngTemplateOutletContext",e.l_i(2,ze,t.columns,t.frozen))}}function Or(o,a){1&o&&e.nrm(0,"SortAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Lr(o,a){1&o&&e.nrm(0,"SortAmountUpAltIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function Nr(o,a){1&o&&e.nrm(0,"SortAmountDownIcon",4),2&o&&e.Y8G("styleClass","p-sortable-column-icon")}function jr(o,a){if(1&o&&(e.qex(0),e.DNE(1,Or,1,1,"SortAltIcon",3)(2,Lr,1,1,"SortAmountUpAltIcon",3)(3,Nr,1,1,"SortAmountDownIcon",3),e.bVm()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngIf",0===t.sortOrder),e.R7$(),e.Y8G("ngIf",1===t.sortOrder),e.R7$(),e.Y8G("ngIf",-1===t.sortOrder)}}function Pr(o,a){}function zr(o,a){1&o&&e.DNE(0,Pr,0,0,"ng-template")}function Hr(o,a){if(1&o&&(e.j41(0,"span",5),e.DNE(1,zr,1,0,null,6),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.dt.sortIconTemplate)("ngTemplateOutletContext",e.eq3(2,N,t.sortOrder))}}function Yr(o,a){if(1&o&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.JRh(t.getBadgeValue())}}let ce=(()=>{class o{sortSource=new P.B;selectionSource=new P.B;contextMenuSource=new P.B;valueSource=new P.B;totalRecordsSource=new P.B;columnsSource=new P.B;sortSource$=this.sortSource.asObservable();selectionSource$=this.selectionSource.asObservable();contextMenuSource$=this.contextMenuSource.asObservable();valueSource$=this.valueSource.asObservable();totalRecordsSource$=this.totalRecordsSource.asObservable();columnsSource$=this.columnsSource.asObservable();onSort(t){this.sortSource.next(t)}onSelectionChange(){this.selectionSource.next(null)}onContextMenu(t){this.contextMenuSource.next(t)}onValueChange(t){this.valueSource.next(t)}onTotalRecordsChange(t){this.totalRecordsSource.next(t)}onColumnsChange(t){this.columnsSource.next(t)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Z=(()=>{class o{document;platformId;renderer;el;zone;tableService;cd;filterService;overlayService;config;frozenColumns;frozenValue;style;styleClass;tableStyle;tableStyleClass;paginator;pageLinks=5;rowsPerPageOptions;alwaysShowPaginator=!0;paginatorPosition="bottom";paginatorStyleClass;paginatorDropdownAppendTo;paginatorDropdownScrollHeight="200px";currentPageReportTemplate="{currentPage} of {totalPages}";showCurrentPageReport;showJumpToPageDropdown;showJumpToPageInput;showFirstLastIcon=!0;showPageLinks=!0;defaultSortOrder=1;sortMode="single";resetPageOnSort=!0;selectionMode;selectionPageOnly;contextMenuSelection;contextMenuSelectionChange=new e.bkB;contextMenuSelectionMode="separate";dataKey;metaKeySelection=!0;rowSelectable;rowTrackBy=(t,i)=>i;lazy=!1;lazyLoadOnInit=!0;compareSelectionBy="deepEquals";csvSeparator=",";exportFilename="download";filters={};globalFilterFields;filterDelay=300;filterLocale;expandedRowKeys={};editingRowKeys={};rowExpandMode="multiple";scrollable;scrollDirection="vertical";rowGroupMode;scrollHeight;virtualScroll;virtualScrollItemSize;virtualScrollOptions;virtualScrollDelay=250;frozenWidth;get responsive(){return this._responsive}set responsive(t){this._responsive=t,console.warn("responsive property is deprecated as table is always responsive with scrollable behavior.")}_responsive;contextMenu;resizableColumns;columnResizeMode="fit";reorderableColumns;loading;loadingIcon;showLoader=!0;rowHover;customSort;showInitialSortBadge=!0;autoLayout;exportFunction;exportHeader;stateKey;stateStorage="session";editMode="cell";groupRowsBy;groupRowsByOrder=1;responsiveLayout="scroll";breakpoint="960px";paginatorLocale;get value(){return this._value}set value(t){this._value=t}get columns(){return this._columns}set columns(t){this._columns=t}get first(){return this._first}set first(t){this._first=t}get rows(){return this._rows}set rows(t){this._rows=t}get totalRecords(){return this._totalRecords}set totalRecords(t){this._totalRecords=t,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField(t){this._sortField=t}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder=t}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(t){this._multiSortMeta=t}get selection(){return this._selection}set selection(t){this._selection=t}get selectAll(){return this._selection}set selectAll(t){this._selection=t}selectAllChange=new e.bkB;selectionChange=new e.bkB;onRowSelect=new e.bkB;onRowUnselect=new e.bkB;onPage=new e.bkB;onSort=new e.bkB;onFilter=new e.bkB;onLazyLoad=new e.bkB;onRowExpand=new e.bkB;onRowCollapse=new e.bkB;onContextMenuSelect=new e.bkB;onColResize=new e.bkB;onColReorder=new e.bkB;onRowReorder=new e.bkB;onEditInit=new e.bkB;onEditComplete=new e.bkB;onEditCancel=new e.bkB;onHeaderCheckboxToggle=new e.bkB;sortFunction=new e.bkB;firstChange=new e.bkB;rowsChange=new e.bkB;onStateSave=new e.bkB;onStateRestore=new e.bkB;containerViewChild;resizeHelperViewChild;reorderIndicatorUpViewChild;reorderIndicatorDownViewChild;wrapperViewChild;tableViewChild;tableHeaderViewChild;tableFooterViewChild;scroller;templates;get virtualRowHeight(){return this._virtualRowHeight}set virtualRowHeight(t){this._virtualRowHeight=t,console.warn("The virtualRowHeight property is deprecated.")}_virtualRowHeight=28;_value=[];_columns;_totalRecords=0;_first=0;_rows;filteredValue;headerTemplate;headerGroupedTemplate;bodyTemplate;loadingBodyTemplate;captionTemplate;footerTemplate;footerGroupedTemplate;summaryTemplate;colGroupTemplate;expandedRowTemplate;groupHeaderTemplate;groupFooterTemplate;frozenExpandedRowTemplate;frozenHeaderTemplate;frozenBodyTemplate;frozenFooterTemplate;frozenColGroupTemplate;emptyMessageTemplate;paginatorLeftTemplate;paginatorRightTemplate;paginatorDropdownItemTemplate;loadingIconTemplate;reorderIndicatorUpIconTemplate;reorderIndicatorDownIconTemplate;sortIconTemplate;checkboxIconTemplate;headerCheckboxIconTemplate;paginatorFirstPageLinkIconTemplate;paginatorLastPageLinkIconTemplate;paginatorPreviousPageLinkIconTemplate;paginatorNextPageLinkIconTemplate;selectionKeys={};lastResizerHelperX;reorderIconWidth;reorderIconHeight;draggedColumn;draggedRowIndex;droppedRowIndex;rowDragging;dropPosition;editingCell;editingCellData;editingCellField;editingCellRowIndex;selfClick;documentEditListener;_multiSortMeta;_sortField;_sortOrder=1;preventSelectionSetterPropagation;_selection;_selectAll=null;anchorRowIndex;rangeRowIndex;filterTimeout;initialized;rowTouched;restoringSort;restoringFilter;stateRestored;columnOrderStateRestored;columnWidthsState;tableWidthState;overlaySubscription;resizeColumnElement;columnResizing=!1;rowGroupHeaderStyleObject={};id=(0,h._Y)();styleElement;responsiveStyleElement;window;constructor(t,i,n,s,l,r,c,p,u,_){this.document=t,this.platformId=i,this.renderer=n,this.el=s,this.zone=l,this.tableService=r,this.cd=c,this.filterService=p,this.overlayService=u,this.config=_,this.window=this.document.defaultView}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),"stack"===this.responsiveLayout&&!this.scrollable&&this.createResponsiveStyle(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"caption":this.captionTemplate=t.template;break;case"header":this.headerTemplate=t.template;break;case"headergrouped":this.headerGroupedTemplate=t.template;break;case"body":this.bodyTemplate=t.template;break;case"loadingbody":this.loadingBodyTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"footergrouped":this.footerGroupedTemplate=t.template;break;case"summary":this.summaryTemplate=t.template;break;case"colgroup":this.colGroupTemplate=t.template;break;case"rowexpansion":this.expandedRowTemplate=t.template;break;case"groupheader":this.groupHeaderTemplate=t.template;break;case"groupfooter":this.groupFooterTemplate=t.template;break;case"frozenheader":this.frozenHeaderTemplate=t.template;break;case"frozenbody":this.frozenBodyTemplate=t.template;break;case"frozenfooter":this.frozenFooterTemplate=t.template;break;case"frozencolgroup":this.frozenColGroupTemplate=t.template;break;case"frozenrowexpansion":this.frozenExpandedRowTemplate=t.template;break;case"emptymessage":this.emptyMessageTemplate=t.template;break;case"paginatorleft":this.paginatorLeftTemplate=t.template;break;case"paginatorright":this.paginatorRightTemplate=t.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=t.template;break;case"paginatorfirstpagelinkicon":this.paginatorFirstPageLinkIconTemplate=t.template;break;case"paginatorlastpagelinkicon":this.paginatorLastPageLinkIconTemplate=t.template;break;case"paginatorpreviouspagelinkicon":this.paginatorPreviousPageLinkIconTemplate=t.template;break;case"paginatornextpagelinkicon":this.paginatorNextPageLinkIconTemplate=t.template;break;case"loadingicon":this.loadingIconTemplate=t.template;break;case"reorderindicatorupicon":this.reorderIndicatorUpIconTemplate=t.template;break;case"reorderindicatordownicon":this.reorderIndicatorDownIconTemplate=t.template;break;case"sorticon":this.sortIconTemplate=t.template;break;case"checkboxicon":this.checkboxIconTemplate=t.template;break;case"headercheckboxicon":this.headerCheckboxIconTemplate=t.template}})}ngAfterViewInit(){(0,m.UE)(this.platformId)&&this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()}ngOnChanges(t){t.value&&(this.isStateful()&&!this.stateRestored&&(0,m.UE)(this.platformId)&&this.restoreState(),this._value=t.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&(this.sortField||this.groupRowsBy)?this.sortSingle():"multiple"==this.sortMode&&(this.multiSortMeta||this.groupRowsBy)?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(t.value.currentValue)),t.columns&&(this._columns=t.columns.currentValue,this.tableService.onColumnsChange(t.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()),t.sortField&&(this._sortField=t.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsBy&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.sortOrder&&(this._sortOrder=t.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),t.groupRowsByOrder&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),t.multiSortMeta&&(this._multiSortMeta=t.multiSortMeta.currentValue,"multiple"===this.sortMode&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),t.selection&&(this._selection=t.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1),t.selectAll&&(this._selectAll=t.selectAll.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()),this.preventSelectionSetterPropagation=!1)}get processedData(){return this.filteredValue||this.value||[]}_initialColWidths;dataToRender(t){const i=t||this.processedData;if(i&&this.paginator){const n=this.lazy?0:this.first;return i.slice(n,n+this.rows)}return i}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let t of this._selection)this.selectionKeys[String(h.BF.resolveFieldData(t,this.dataKey))]=1;else this.selectionKeys[String(h.BF.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(t){this.first=t.first,this.rows=t.rows,this.onPage.emit({first:this.first,rows:this.rows}),this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(t){let i=t.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===t.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=t.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){let n=i.metaKey||i.ctrlKey,s=this.getSortMeta(t.field);s?n?s.order=-1*s.order:(this._multiSortMeta=[{field:t.field,order:-1*s.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!n||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:t.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){let t=this.sortField||this.groupRowsBy,i=this.sortField?this.sortOrder:this.groupRowsByOrder;if(this.groupRowsBy&&this.sortField&&this.groupRowsBy!==this.sortField)return this._multiSortMeta=[this.getGroupRowsMeta(),{field:this.sortField,order:this.sortOrder}],void this.sortMultiple();if(t&&i){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:t,order:i}):(this.value.sort((s,l)=>{let r=h.BF.resolveFieldData(s,t),c=h.BF.resolveFieldData(l,t),p=null;return p=null==r&&null!=c?-1:null!=r&&null==c?1:null==r&&null==c?0:"string"==typeof r&&"string"==typeof c?r.localeCompare(c):rc?1:0,i*p}),this._value=[...this.value]),this.hasFilter()&&this._filter());let n={field:t,order:i};this.onSort.emit(n),this.tableService.onSort(n)}}sortMultiple(){this.groupRowsBy&&(this._multiSortMeta?this.multiSortMeta[0].field!==this.groupRowsBy&&(this._multiSortMeta=[this.getGroupRowsMeta(),...this._multiSortMeta]):this._multiSortMeta=[this.getGroupRowsMeta()]),this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((t,i)=>this.multisortField(t,i,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(t,i,n,s){const l=h.BF.resolveFieldData(t,n[s].field),r=h.BF.resolveFieldData(i,n[s].field);return 0===h.BF.compare(l,r,this.filterLocale)?n.length-1>s?this.multisortField(t,i,n,s+1):0:this.compareValuesOnSort(l,r,n[s].order)}compareValuesOnSort(t,i,n){return h.BF.sort(t,i,n,this.filterLocale,this.sortOrder)}getSortMeta(t){if(this.multiSortMeta&&this.multiSortMeta.length)for(let i=0;iw!=b),this.selectionChange.emit(this.selection),u&&delete this.selectionKeys[u]}this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row"})}else this.isSingleSelectionMode()?(this._selection=l,this.selectionChange.emit(l),u&&(this.selectionKeys={},this.selectionKeys[u]=1)):this.isMultipleSelectionMode()&&(_?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,l],this.selectionChange.emit(this.selection),u&&(this.selectionKeys[u]=1)),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})}else if("single"===this.selectionMode)c?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r})):(this._selection=l,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys={},this.selectionKeys[u]=1));else if("multiple"===this.selectionMode)if(c){let _=this.findIndexInSelection(l);this._selection=this.selection.filter((b,f)=>f!=_),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&delete this.selectionKeys[u]}else this._selection=this.selection?[...this.selection,l]:[l],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,data:l,type:"row",index:r}),u&&(this.selectionKeys[u]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(t){this.rowTouched=!0}handleRowRightClick(t){if(this.contextMenu){const i=t.rowData,n=t.rowIndex;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=i,this.contextMenuSelectionChange.emit(i),this.onContextMenuSelect.emit({originalEvent:t.originalEvent,data:i,index:t.rowIndex}),this.contextMenu.show(t.originalEvent),this.tableService.onContextMenu(i);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let s=this.isSelected(i),l=this.dataKey?String(h.BF.resolveFieldData(i,this.dataKey)):null;if(!s){if(!this.isRowSelectable(i,n))return;this.isSingleSelectionMode()?(this.selection=i,this.selectionChange.emit(i),l&&(this.selectionKeys={},this.selectionKeys[l]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),l&&(this.selectionKeys[l]=1))}this.tableService.onSelectionChange(),this.contextMenu.show(t.originalEvent),this.onContextMenuSelect.emit({originalEvent:t,data:i,index:t.rowIndex})}}}selectRange(t,i){let n,s;this.anchorRowIndex>i?(n=i,s=this.anchorRowIndex):this.anchorRowIndexl?(i=this.anchorRowIndex,n=this.rangeRowIndex):sb!=p);let u=this.dataKey?String(h.BF.resolveFieldData(c,this.dataKey)):null;u&&delete this.selectionKeys[u],this.onRowUnselect.emit({originalEvent:t,data:c,type:"row"})}}isSelected(t){return!(!t||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[h.BF.resolveFieldData(t,this.dataKey)]:Array.isArray(this.selection)?this.findIndexInSelection(t)>-1:this.equals(t,this.selection))}findIndexInSelection(t){let i=-1;if(this.selection&&this.selection.length)for(let n=0;nc!=l),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&delete this.selectionKeys[s]}else{if(!this.isRowSelectable(i,t.rowIndex))return;this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:t.originalEvent,index:t.rowIndex,data:i,type:"checkbox"}),s&&(this.selectionKeys[s]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox(t,i){if(null!==this._selectAll)this.selectAllChange.emit({originalEvent:t,checked:i});else{const n=this.selectionPageOnly?this.dataToRender(this.processedData):this.processedData;let s=this.selectionPageOnly&&this._selection?this._selection.filter(l=>!n.some(r=>this.equals(l,r))):[];i&&(s=this.frozenValue?[...s,...this.frozenValue,...n]:[...s,...n],s=this.rowSelectable?s.filter((l,r)=>this.rowSelectable({data:l,index:r})):s),this._selection=s,this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:t,checked:i}),this.isStateful()&&this.saveState()}}equals(t,i){return"equals"===this.compareSelectionBy?t===i:h.BF.equals(t,i,this.dataKey)}filter(t,i,n){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(t)?this.filters[i]&&delete this.filters[i]:this.filters[i]={value:t,matchMode:n},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(t,i){this.filter(t,"global",i)}isFilterBlank(t){return null==t||!!("string"==typeof t&&0==t.trim().length||Array.isArray(t)&&0==t.length)}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let t;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");t=this.globalFilterFields||this.columns}this.filteredValue=[];for(let i=0;ithis.cd.detectChanges()}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.clearFilterValues(),this.filteredValue=null,this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}clearFilterValues(){for(const[,t]of Object.entries(this.filters))if(Array.isArray(t))for(let i of t)i.value=null;else t&&(t.value=null)}reset(){this.clear()}getExportHeader(t){return t[this.exportHeader]||t.header||t.field}exportCSV(t){let i,n="",s=this.columns;t&&t.selectionOnly?i=this.selection||[]:t&&t.allValues?i=this.value||[]:(i=this.filteredValue||this.value,this.frozenValue&&(i=i?[...this.frozenValue,...i]:this.frozenValue));for(let c=0;c{n+="\n";for(let u=0;u{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(d.D.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:t,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1}))}unbindDocumentEditListener(){this.documentEditListener&&(this.documentEditListener(),this.documentEditListener=null)}initRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));this.editingRowKeys[i]=!0}saveRowEdit(t,i){if(0===d.D.find(i,".ng-invalid.ng-dirty").length){let n=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[n]}}cancelRowEdit(t){let i=String(h.BF.resolveFieldData(t,this.dataKey));delete this.editingRowKeys[i]}toggleRow(t,i){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");let n=String(h.BF.resolveFieldData(t,this.dataKey));null!=this.expandedRowKeys[n]?(delete this.expandedRowKeys[n],this.onRowCollapse.emit({originalEvent:i,data:t})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[n]=!0,this.onRowExpand.emit({originalEvent:i,data:t})),i&&i.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(t){return!0===this.expandedRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isRowEditing(t){return!0===this.editingRowKeys[String(h.BF.resolveFieldData(t,this.dataKey))]}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}onColumnResizeBegin(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;this.resizeColumnElement=t.target.parentElement,this.columnResizing=!0,this.lastResizerHelperX=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft,this.onColumnResize(t),t.preventDefault()}onColumnResize(t){let i=d.D.getOffset(this.containerViewChild?.nativeElement).left;d.D.addClass(this.containerViewChild?.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild?.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=t.pageX-i+this.containerViewChild?.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let t=this.resizeHelperViewChild?.nativeElement.offsetLeft-this.lastResizerHelperX,n=this.resizeColumnElement.offsetWidth+t;if(n>=(this.resizeColumnElement.style.minWidth.replace(/[^\d.]/g,"")||15)){if("fit"===this.columnResizeMode){let r=this.resizeColumnElement.nextElementSibling.offsetWidth-t;n>15&&r>15&&this.resizeTableCells(n,r)}else"expand"===this.columnResizeMode&&(this._initialColWidths=this._totalTableWidth(),this.setResizeTableWidth(this.tableViewChild?.nativeElement.offsetWidth+t+"px"),this.resizeTableCells(n,null));this.onColResize.emit({element:this.resizeColumnElement,delta:t}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",d.D.removeClass(this.containerViewChild?.nativeElement,"p-unselectable-text")}_totalTableWidth(){let t=[];const i=d.D.findSingle(this.containerViewChild.nativeElement,".p-datatable-thead");return d.D.find(i,"tr > th").forEach(s=>t.push(d.D.getOuterWidth(s))),t}onColumnDragStart(t,i){this.reorderIconWidth=d.D.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild?.nativeElement),this.reorderIconHeight=d.D.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild?.nativeElement),this.draggedColumn=i,t.dataTransfer.setData("text","b")}onColumnDragEnter(t,i){if(this.reorderableColumns&&this.draggedColumn&&i){t.preventDefault();let n=d.D.getOffset(this.containerViewChild?.nativeElement),s=d.D.getOffset(i);if(this.draggedColumn!=i){d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),d.D.indexWithinGroup(i,"preorderablecolumn");let c=s.left-n.left,u=s.left+i.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=s.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=s.top-n.top+i.offsetHeight+"px",t.pageX>u?(this.reorderIndicatorUpViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=c-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else t.dataTransfer.dropEffect="none"}}onColumnDragLeave(t){this.reorderableColumns&&this.draggedColumn&&t.preventDefault()}onColumnDrop(t,i){if(t.preventDefault(),this.draggedColumn){let n=d.D.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),s=d.D.indexWithinGroup(i,"preorderablecolumn"),l=n!=s;if(l&&(s-n==1&&-1===this.dropPosition||n-s==1&&1===this.dropPosition)&&(l=!1),l&&sn&&-1===this.dropPosition&&(s-=1),l&&(h.BF.reorderArray(this.columns,n,s),this.onColReorder.emit({dragIndex:n,dropIndex:s,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.resizableColumns&&this.resizeColumnElement){let r="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();h.BF.reorderArray(r,n+1,s+1),this.updateStyleElement(r,n,null,null)}this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}resizeTableCells(t,i){let n=d.D.index(this.resizeColumnElement),s="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();this.updateStyleElement(s,n,t,i)}updateStyleElement(t,i,n,s){this.destroyStyleElement(),this.createStyleElement();let l="";t.forEach((r,c)=>{let p=c===i?n:s&&c===i+1?s:r;l+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${c+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${c+1}) {\n width: ${p}px !important; max-width: ${p}px !important;\n }\n `}),this.renderer.setProperty(this.styleElement,"innerHTML",l)}onRowDragStart(t,i){this.rowDragging=!0,this.draggedRowIndex=i,t.dataTransfer.setData("text","b")}onRowDragOver(t,i,n){if(this.rowDragging&&this.draggedRowIndex!==i){let s=d.D.getOffset(n).top,l=t.pageY,r=s+d.D.getOuterHeight(n)/2,c=n.previousElementSibling;lthis.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;h.BF.reorderArray(this.value,this.draggedRowIndex,n),this.virtualScroll&&(this._value=[...this._value]),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:n})}this.onRowDragLeave(t,i),this.onRowDragEnd(t)}isEmpty(){let t=this.filteredValue||this.value;return null==t||0==t.length}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){if(!(0,m.UE)(this.platformId))throw new Error("Browser storage is not available in the server side.");switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}isStateful(){return null!=this.stateKey}saveState(){const t=this.getStorage();let i={};this.paginator&&(i.first=this.first,i.rows=this.rows),this.sortField&&(i.sortField=this.sortField,i.sortOrder=this.sortOrder),this.multiSortMeta&&(i.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(i.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(i),this.reorderableColumns&&this.saveColumnOrder(i),this.selection&&(i.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(i.expandedRowKeys=this.expandedRowKeys),t.setItem(this.stateKey,JSON.stringify(i)),this.onStateSave.emit(i)}clearState(){const t=this.getStorage();this.stateKey&&t.removeItem(this.stateKey)}restoreState(){const i=this.getStorage().getItem(this.stateKey),n=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(i){let l=JSON.parse(i,function(l,r){return"string"==typeof r&&n.test(r)?new Date(r):r});this.paginator&&(void 0!==this.first&&(this.first=l.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=l.rows,this.rowsChange.emit(this.rows))),l.sortField&&(this.restoringSort=!0,this._sortField=l.sortField,this._sortOrder=l.sortOrder),l.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=l.multiSortMeta),l.filters&&(this.restoringFilter=!0,this.filters=l.filters),this.resizableColumns&&(this.columnWidthsState=l.columnWidths,this.tableWidthState=l.tableWidth),l.expandedRowKeys&&(this.expandedRowKeys=l.expandedRowKeys),l.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(l.selection)),this.stateRestored=!0,this.onStateRestore.emit(l)}}saveColumnWidths(t){let i=[];d.D.find(this.containerViewChild?.nativeElement,".p-datatable-thead > tr > th").forEach(s=>i.push(d.D.getOuterWidth(s))),t.columnWidths=i.join(","),"expand"===this.columnResizeMode&&(t.tableWidth=d.D.getOuterWidth(this.tableViewChild?.nativeElement))}setResizeTableWidth(t){this.tableViewChild.nativeElement.style.width=t,this.tableViewChild.nativeElement.style.minWidth=t}restoreColumnWidths(){if(this.columnWidthsState){let t=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState&&this.setResizeTableWidth(this.tableWidthState+"px"),h.BF.isNotEmpty(t)){this.createStyleElement();let i="";t.forEach((n,s)=>{i+=`\n #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${s+1}),\n #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${s+1}) {\n width: ${n}px !important; max-width: ${n}px !important\n }\n `}),this.styleElement.innerHTML=i}}}saveColumnOrder(t){if(this.columns){let i=[];this.columns.map(n=>{i.push(n.field||n.key)}),t.columnOrder=i}}restoreColumnOrder(){const i=this.getStorage().getItem(this.stateKey);if(i){let s=JSON.parse(i).columnOrder;if(s){let l=[];s.map(r=>{let c=this.findColumnByKey(r);c&&l.push(c)}),this.columnOrderStateRestored=!0,this.columns=l}}}findColumnByKey(t){if(!this.columns)return null;for(let i of this.columns)if(i.key===t||i.field===t)return i}createStyleElement(){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement)}getGroupRowsMeta(){return{field:this.groupRowsBy,order:this.groupRowsByOrder}}createResponsiveStyle(){(0,m.UE)(this.platformId)&&!this.responsiveStyleElement&&(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.head,this.responsiveStyleElement),this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",`\n @media screen and (max-width: ${this.breakpoint}) {\n #${this.id}-table > .p-datatable-thead > tr > th,\n #${this.id}-table > .p-datatable-tfoot > tr > td {\n display: none !important;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td {\n display: flex;\n width: 100% !important;\n align-items: center;\n justify-content: space-between;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td:not(:last-child) {\n border: 0 none;\n }\n\n #${this.id}.p-datatable-gridlines > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tbody > tr > td:last-child {\n border-top: 0;\n border-right: 0;\n border-left: 0;\n }\n\n #${this.id}-table > .p-datatable-tbody > tr > td > .p-column-title {\n display: block;\n }\n }\n `))}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(ce),e.rXU(e.gRc),e.rXU(g.E),e.rXU(g.si),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-table"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(za,5),e.GBs(Ha,5),e.GBs(Ya,5),e.GBs($a,5),e.GBs(Aa,5),e.GBs(Xa,5),e.GBs(Ka,5),e.GBs(Ua,5),e.GBs(Qa,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.containerViewChild=s.first),e.mGM(s=e.lsd())&&(n.resizeHelperViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorUpViewChild=s.first),e.mGM(s=e.lsd())&&(n.reorderIndicatorDownViewChild=s.first),e.mGM(s=e.lsd())&&(n.wrapperViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableHeaderViewChild=s.first),e.mGM(s=e.lsd())&&(n.tableFooterViewChild=s.first),e.mGM(s=e.lsd())&&(n.scroller=s.first)}},hostAttrs:[1,"p-element"],inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorStyleClass:"paginatorStyleClass",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",selectionPageOnly:"selectionPageOnly",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:"virtualScrollDelay",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",groupRowsByOrder:"groupRowsByOrder",responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",paginatorLocale:"paginatorLocale",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll",virtualRowHeight:"virtualRowHeight"},outputs:{contextMenuSelectionChange:"contextMenuSelectionChange",selectAllChange:"selectAllChange",selectionChange:"selectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[e.Jv_([ce]),e.OA$],decls:16,vars:22,consts:[["container",""],["wrapper",""],["buildInTable",""],["scroller",""],["table",""],["thead",""],["tfoot",""],["resizeHelper",""],["reorderIndicatorUp",""],["reorderIndicatorDown",""],[3,"ngStyle","ngClass"],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize","onLazyLoad",4,"ngIf"],[4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","p-datatable-reorder-indicator-up","style","display: none;",4,"ngIf"],["class","p-datatable-reorder-indicator-down","style","display: none;",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-datatable-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-datatable-loading-icon"],[4,"ngTemplateOutlet"],[1,"p-datatable-header"],["styleClass","p-paginator-top",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"onLazyLoad","items","columns","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize"],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"ngClass"],["role","rowgroup",1,"p-datatable-thead"],["role","rowgroup","class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody",3,"ngClass","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["role","rowgroup","class","p-datatable-scroller-spacer",3,"style",4,"ngIf"],["role","rowgroup","class","p-datatable-tfoot",4,"ngIf"],["role","rowgroup",1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],["role","rowgroup",1,"p-datatable-scroller-spacer"],["role","rowgroup",1,"p-datatable-tfoot"],["styleClass","p-paginator-bottom",3,"onPageChange","rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","styleClass","locale"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],[1,"p-datatable-reorder-indicator-up",2,"display","none"],[1,"p-datatable-reorder-indicator-down",2,"display","none"]],template:function(i,n){1&i&&(e.j41(0,"div",10,0),e.DNE(2,ll,3,2,"div",11)(3,cl,2,1,"div",12)(4,wl,5,23,"p-paginator",13),e.j41(5,"div",14,1),e.DNE(7,Tl,3,17,"p-scroller",15)(8,Sl,2,7,"ng-container",16)(9,Vl,10,28,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(11,Kl,5,23,"p-paginator",17)(12,Ql,2,1,"div",18)(13,ql,2,0,"div",19)(14,er,4,2,"span",20)(15,or,4,2,"span",21),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngStyle",n.style)("ngClass",e.sMw(16,qa,n.rowHover||n.selectionMode,n.scrollable,n.scrollable&&"flex"===n.scrollHeight)),e.BMQ("id",n.id),e.R7$(2),e.Y8G("ngIf",n.loading&&n.showLoader),e.R7$(),e.Y8G("ngIf",n.captionTemplate),e.R7$(),e.Y8G("ngIf",n.paginator&&("top"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngStyle",e.eq3(20,Wa,n.virtualScroll?"":n.scrollHeight)),e.R7$(2),e.Y8G("ngIf",n.virtualScroll),e.R7$(),e.Y8G("ngIf",!n.virtualScroll),e.R7$(3),e.Y8G("ngIf",n.paginator&&("bottom"===n.paginatorPosition||"both"==n.paginatorPosition)),e.R7$(),e.Y8G("ngIf",n.summaryTemplate),e.R7$(),e.Y8G("ngIf",n.resizableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns),e.R7$(),e.Y8G("ngIf",n.reorderableColumns))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,sa,g.Ei,we,Ve,Be,X.N,Gc],styles:["@layer primeng{.p-datatable{position:relative}.p-datatable>.p-datatable-wrapper{overflow:auto}.p-datatable-table{border-spacing:0px;width:100%}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-icon-wrapper{display:inline}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable>.p-datatable-wrapper{position:relative}.p-datatable-scrollable-table>.p-datatable-thead{position:sticky;top:0;z-index:2}.p-datatable-scrollable-table>.p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable-table>.p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit;z-index:1}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-flex-scrollable{display:flex;flex-direction:column;height:100%}.p-datatable-flex-scrollable>.p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header{position:sticky;z-index:2}.p-datatable-resizable-table>.p-datatable-thead>tr>th,.p-datatable-resizable-table>.p-datatable-tfoot>tr>td,.p-datatable-resizable-table>.p-datatable-tbody>tr>td{overflow:hidden;white-space:nowrap}.p-datatable-resizable-table>.p-datatable-thead>tr>th.p-resizable-column:not(.p-frozen-column){background-clip:padding-box;position:relative}.p-datatable-resizable-table-fit>.p-datatable-thead>tr>th.p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:3}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-menu-button,.p-column-filter-clear-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable-tbody>tr>td>.p-column-title{display:none}.p-datatable-scroller-spacer{display:flex}.p-datatable .p-scroller .p-scroller-loading{transform:none!important;min-height:0;position:sticky;top:0;left:0}}\n"],encapsulation:2})}return o})(),Gc=(()=>{class o{dt;tableService;cd;el;columns;template;get value(){return this._value}set value(t){this._value=t,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}frozen;frozenRows;scrollerOptions;subscription;_value;ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}constructor(t,i,n,s){this.dt=t,this.tableService=i,this.cd=n,this.el=s,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}shouldRenderRowGroupHeader(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowGroupFooter(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n+1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}shouldRenderRowspan(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=t[n-1];return!l||s!==h.BF.resolveFieldData(l,this.dt.groupRowsBy)}calculateRowGroupSize(t,i,n){let s=h.BF.resolveFieldData(i,this.dt.groupRowsBy),l=s,r=0;for(;s===l;){r++;let c=t[++n];if(!c)break;l=h.BF.resolveFieldData(c,this.dt.groupRowsBy)}return 1===r?null:r}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let t=d.D.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=t+"px"}}getScrollerOption(t,i){return this.dt.virtualScroll&&(i=i||this.scrollerOptions)?i[t]:null}getRowIndex(t){const i=this.dt.paginator?this.dt.first+t:t,n=this.getScrollerOption("getItemOptions");return n?n(i).index:i}static \u0275fac=function(i){return new(i||o)(e.rXU(Z),e.rXU(ce),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:[e.Mj6.None,"pTableBody","columns"],template:[e.Mj6.None,"pTableBodyTemplate","template"],value:"value",frozen:"frozen",frozenRows:"frozenRows",scrollerOptions:"scrollerOptions"},attrs:sr,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){1&i&&e.DNE(0,gr,2,2,"ng-container",0)(1,kr,2,2,"ng-container",0)(2,Mr,2,2,"ng-container",0)(3,Gr,2,5,"ng-container",0)(4,Br,2,5,"ng-container",0),2&i&&(e.Y8G("ngIf",!n.dt.expandedRowTemplate),e.R7$(),e.Y8G("ngIf",n.dt.expandedRowTemplate&&!(n.frozen&&n.dt.frozenExpandedRowTemplate)),e.R7$(),e.Y8G("ngIf",n.dt.frozenExpandedRowTemplate&&n.frozen),e.R7$(),e.Y8G("ngIf",n.dt.loading),e.R7$(),e.Y8G("ngIf",n.dt.isEmpty()&&!n.dt.loading))},dependencies:[m.Sq,m.bT,m.T3],encapsulation:2})}return o})(),Vc=(()=>{class o{dt;field;pSortableColumnDisabled;sorted;sortOrder;subscription;constructor(t){this.dt=t,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(i=>{this.updateSortState()}))}ngOnInit(){this.isEnabled()&&this.updateSortState()}updateSortState(){this.sorted=this.dt.isSorted(this.field),this.sortOrder=this.sorted?1===this.dt.sortOrder?"ascending":"descending":"none"}onClick(t){this.isEnabled()&&!this.isFilterElement(t.target)&&(this.updateSortState(),this.dt.sort({originalEvent:t,field:this.field}),d.D.clearSelection())}onEnterKey(t){this.onClick(t),t.preventDefault()}isEnabled(){return!0!==this.pSortableColumnDisabled}isFilterElement(t){return this.isFilterElementIconOrButton(t)||this.isFilterElementIconOrButton(t?.parentElement?.parentElement)}isFilterElementIconOrButton(t){return d.D.hasClass(t,"pi-filter-icon")||d.D.hasClass(t,"p-column-filter-menu-button")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(Z))};static \u0275dir=e.FsC({type:o,selectors:[["","pSortableColumn",""]],hostAttrs:[1,"p-element"],hostVars:7,hostBindings:function(i,n){1&i&&e.bIt("click",function(l){return n.onClick(l)})("keydown.space",function(l){return n.onEnterKey(l)})("keydown.enter",function(l){return n.onEnterKey(l)}),2&i&&(e.BMQ("tabindex",n.isEnabled()?"0":null)("role","columnheader")("aria-sort",n.sortOrder),e.AVh("p-sortable-column",n.isEnabled())("p-highlight",n.sorted))},inputs:{field:[e.Mj6.None,"pSortableColumn","field"],pSortableColumnDisabled:"pSortableColumnDisabled"}})}return o})(),Bc=(()=>{class o{dt;cd;field;subscription;sortOrder;constructor(t,i){this.dt=t,this.cd=i,this.subscription=this.dt.tableService.sortSource$.subscribe(n=>{this.updateSortState()})}ngOnInit(){this.updateSortState()}onClick(t){t.preventDefault()}updateSortState(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){let t=this.dt.getSortMeta(this.field);this.sortOrder=t?t.order:0}this.cd.markForCheck()}getMultiSortMetaIndex(){let t=this.dt._multiSortMeta,i=-1;if(t&&"multiple"===this.dt.sortMode&&this.dt.showInitialSortBadge&&t.length>1)for(let n=0;n-1?t:t+1}isMultiSorted(){return"multiple"===this.dt.sortMode&&this.getMultiSortMetaIndex()>-1}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(Z),e.rXU(e.gRc))};static \u0275cmp=e.VBU({type:o,selectors:[["p-sortIcon"]],hostAttrs:[1,"p-element"],inputs:{field:"field"},decls:3,vars:3,consts:[[4,"ngIf"],["class","p-sortable-column-icon",4,"ngIf"],["class","p-sortable-column-badge",4,"ngIf"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[1,"p-sortable-column-icon"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-sortable-column-badge"]],template:function(i,n){1&i&&e.DNE(0,jr,4,3,"ng-container",0)(1,Hr,2,4,"span",1)(2,Yr,2,1,"span",2),2&i&&(e.Y8G("ngIf",!n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.dt.sortIconTemplate),e.R7$(),e.Y8G("ngIf",n.isMultiSorted()))},dependencies:()=>[m.bT,m.T3,Oe,Ne,Le],encapsulation:2,changeDetection:0})}return o})(),Oc=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,aa,H.u,oe,R.YN,M.tm,fa,Ki,se,Na,K,Ve,Be,X.N,Oe,Ne,Le,le,ja,Pa,g.Gg,K]})}return o})(),He=(()=>{class o{el;pFocusTrapDisabled=!1;constructor(t){this.el=t}onkeydown(t){if(!0!==this.pFocusTrapDisabled){t.preventDefault();const i=d.D.getNextFocusableElement(this.el.nativeElement,t.shiftKey);i&&(i.focus(),i.select?.())}}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT))};static \u0275dir=e.FsC({type:o,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.tab",function(l){return n.onkeydown(l)})("keydown.shift.tab",function(l){return n.onkeydown(l)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}})}return o})(),Ye=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD]})}return o})(),$e=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ae=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Lc=["titlebar"],Nc=["content"],jc=["footer"],Pc=["*",[["p-header"]],[["p-footer"]]],zc=["*","p-header","p-footer"],Hc=(o,a,t,i,n,s,l,r,c,p)=>({"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":o,"p-dialog-mask-scrollblocker":a,"p-dialog-left":t,"p-dialog-right":i,"p-dialog-top":n,"p-dialog-top-left":s,"p-dialog-top-right":l,"p-dialog-bottom":r,"p-dialog-bottom-left":c,"p-dialog-bottom-right":p}),Yc=(o,a,t,i)=>({"p-dialog p-component":!0,"p-dialog-rtl":o,"p-dialog-draggable":a,"p-dialog-resizable":t,"p-dialog-maximized":i}),$c=(o,a)=>({transform:o,transition:a}),Ac=o=>({value:"visible",params:o}),Xc=()=>({"p-dialog-header-icon p-dialog-header-maximize p-link":!0}),Kc=()=>({"p-dialog-header-icon p-dialog-header-close p-link":!0});function Uc(o,a){1&o&&e.eu8(0)}function Qc(o,a){if(1&o&&(e.qex(0),e.DNE(1,Uc,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(3);e.R7$(),e.Y8G("ngTemplateOutlet",t.headlessTemplate)}}function qc(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",15),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initResize(n))}),e.k0s()}}function Wc(o,a){if(1&o&&(e.j41(0,"span",21),e.EFF(1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy()),e.R7$(),e.JRh(t.header)}}function Zc(o,a){if(1&o&&(e.j41(0,"span",21),e.SdG(1,1),e.k0s()),2&o){const t=e.XpG(5);e.Y8G("id",t.getAriaLabelledBy())}}function Jc(o,a){1&o&&e.eu8(0)}function ed(o,a){if(1&o&&e.nrm(0,"span",25),2&o){const t=e.XpG(6);e.Y8G("ngClass",t.maximized?t.minimizeIcon:t.maximizeIcon)}}function td(o,a){1&o&&e.nrm(0,"WindowMaximizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function id(o,a){1&o&&e.nrm(0,"WindowMinimizeIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-maximize-icon")}function nd(o,a){if(1&o&&(e.qex(0),e.DNE(1,td,1,1,"WindowMaximizeIcon",26)(2,id,1,1,"WindowMinimizeIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",!t.maximized&&!t.maximizeIconTemplate),e.R7$(),e.Y8G("ngIf",t.maximized&&!t.minimizeIconTemplate)}}function od(o,a){}function sd(o,a){1&o&&e.DNE(0,od,0,0,"ng-template")}function ad(o,a){if(1&o&&(e.qex(0),e.DNE(1,sd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.maximizeIconTemplate)}}function ld(o,a){}function rd(o,a){1&o&&e.DNE(0,ld,0,0,"ng-template")}function cd(o,a){if(1&o&&(e.qex(0),e.DNE(1,rd,1,0,null,10),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.minimizeIconTemplate)}}function dd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",22),e.bIt("click",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())})("keydown.enter",function(){e.eBV(t);const n=e.XpG(5);return e.Njj(n.maximize())}),e.DNE(1,ed,1,1,"span",23)(2,nd,3,2,"ng-container",24)(3,ad,2,1,"ng-container",24)(4,cd,2,1,"ng-container",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Xc)),e.R7$(),e.Y8G("ngIf",t.maximizeIcon&&!t.maximizeIconTemplate&&!t.minimizeIconTemplate),e.R7$(),e.Y8G("ngIf",!t.maximizeIcon),e.R7$(),e.Y8G("ngIf",!t.maximized),e.R7$(),e.Y8G("ngIf",t.maximized)}}function pd(o,a){if(1&o&&e.nrm(0,"span",30),2&o){const t=e.XpG(7);e.Y8G("ngClass",t.closeIcon)}}function ud(o,a){1&o&&e.nrm(0,"TimesIcon",27),2&o&&e.Y8G("styleClass","p-dialog-header-close-icon")}function hd(o,a){if(1&o&&(e.qex(0),e.DNE(1,pd,1,1,"span",29)(2,ud,1,1,"TimesIcon",26),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.closeIcon),e.R7$(),e.Y8G("ngIf",!t.closeIcon)}}function md(o,a){}function _d(o,a){1&o&&e.DNE(0,md,0,0,"ng-template")}function gd(o,a){if(1&o&&(e.j41(0,"span"),e.DNE(1,_d,1,0,null,10),e.k0s()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate)}}function fd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",28),e.bIt("click",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))})("keydown.enter",function(n){e.eBV(t);const s=e.XpG(5);return e.Njj(s.close(n))}),e.DNE(1,hd,3,2,"ng-container",24)(2,gd,2,1,"span",24),e.k0s()}if(2&o){const t=e.XpG(5);e.Y8G("ngClass",e.lJ4(5,Kc)),e.BMQ("aria-label",t.closeAriaLabel)("tabindex",t.closeTabindex),e.R7$(),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.closeIconTemplate)}}function bd(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",16,3),e.bIt("mousedown",function(n){e.eBV(t);const s=e.XpG(4);return e.Njj(s.initDrag(n))}),e.DNE(2,Wc,2,2,"span",17)(3,Zc,2,1,"span",17)(4,Jc,1,0,"ng-container",10),e.j41(5,"div",18),e.DNE(6,dd,5,6,"button",19)(7,fd,3,6,"button",20),e.k0s()()}if(2&o){const t=e.XpG(4);e.R7$(2),e.Y8G("ngIf",!t.headerFacet&&!t.headerTemplate),e.R7$(),e.Y8G("ngIf",t.headerFacet),e.R7$(),e.Y8G("ngTemplateOutlet",t.headerTemplate),e.R7$(2),e.Y8G("ngIf",t.maximizable),e.R7$(),e.Y8G("ngIf",t.closable)}}function vd(o,a){1&o&&e.eu8(0)}function yd(o,a){1&o&&e.eu8(0)}function Cd(o,a){if(1&o&&(e.j41(0,"div",31,4),e.SdG(2,2),e.DNE(3,yd,1,0,"ng-container",10),e.k0s()),2&o){const t=e.XpG(4);e.R7$(3),e.Y8G("ngTemplateOutlet",t.footerTemplate)}}function wd(o,a){if(1&o&&(e.DNE(0,qc,1,0,"div",11)(1,bd,8,5,"div",12),e.j41(2,"div",13,2),e.SdG(4),e.DNE(5,vd,1,0,"ng-container",10),e.k0s(),e.DNE(6,Cd,4,1,"div",14)),2&o){const t=e.XpG(3);e.Y8G("ngIf",t.resizable),e.R7$(),e.Y8G("ngIf",t.showHeader),e.R7$(),e.HbH(t.contentStyleClass),e.Y8G("ngClass","p-dialog-content")("ngStyle",t.contentStyle),e.R7$(3),e.Y8G("ngTemplateOutlet",t.contentTemplate),e.R7$(),e.Y8G("ngIf",t.footerFacet||t.footerTemplate)}}function Id(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",8,0),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.DNE(2,Qc,2,1,"ng-container",9)(3,wd,7,8,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG(2);e.HbH(i.styleClass),e.Y8G("ngClass",e.ziG(10,Yc,i.rtl,i.draggable,i.resizable,i.maximized))("ngStyle",i.style)("pFocusTrapDisabled",!1===i.focusTrap)("@animation",e.eq3(18,Ac,e.l_i(15,$c,i.transformOptions,i.transitionOptions))),e.BMQ("aria-labelledby",i.ariaLabelledBy)("aria-modal",!0),e.R7$(2),e.Y8G("ngIf",i.headlessTemplate)("ngIfElse",t)}}function xd(o,a){if(1&o&&(e.j41(0,"div",6),e.DNE(1,Id,5,20,"div",7),e.k0s()),2&o){const t=e.XpG();e.Aen(t.maskStyle),e.HbH(t.maskStyleClass),e.Y8G("ngClass",e.zJS(6,Hc,[t.modal,t.modal||t.blockScroll,"left"===t.position,"right"===t.position,"top"===t.position,"topleft"===t.position||"top-left"===t.position,"topright"===t.position||"top-right"===t.position,"bottom"===t.position,"bottomleft"===t.position||"bottom-left"===t.position,"bottomright"===t.position||"bottom-right"===t.position])),e.R7$(),e.Y8G("ngIf",t.visible)}}const Td=(0,v.lY)([(0,v.iF)({transform:"{{transform}}",opacity:0}),(0,v.i0)("{{transition}}")]),kd=(0,v.lY)([(0,v.i0)("{{transition}}",(0,v.iF)({transform:"{{transform}}",opacity:0}))]);let Sd=(()=>{class o{document;platformId;el;renderer;zone;cd;config;header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(t){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(t){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(t){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(t){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="-1";minimizeIcon;maximizeIcon;get visible(){return this._visible}set visible(t){this._visible=t,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(t){t&&(this._style={...t},this.originalStyle=t)}get position(){return this._position}set position(t){switch(this._position=t,t){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}onShow=new e.bkB;onHide=new e.bkB;visibleChange=new e.bkB;onResizeInit=new e.bkB;onResizeEnd=new e.bkB;onDragEnd=new e.bkB;onMaximize=new e.bkB;headerFacet;footerFacet;templates;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;maximizeIconTemplate;closeIconTemplate;minimizeIconTemplate;headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy;documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=(0,h._Y)();_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.zone=l,this.cd=r,this.config=c,this.window=this.document.defaultView}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"header":this.headerTemplate=t.template;break;case"content":default:this.contentTemplate=t.template;break;case"footer":this.footerTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template;break;case"maximizeicon":this.maximizeIconTemplate=t.template;break;case"minimizeicon":this.minimizeIconTemplate=t.template;break;case"headless":this.headlessTemplate=t.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}getAriaLabelledBy(){return null!==this.header?(0,h._Y)()+"_header":null}focus(){let t=d.D.findSingle(this.container,"[autofocus]");t&&this.zone.runOutsideAngular(()=>{setTimeout(()=>t.focus(),5)})}close(t){this.visibleChange.emit(!1),t.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",t=>{this.wrapper&&this.wrapper.isSameNode(t.target)&&this.close(t)})),this.modal&&d.D.blockBodyScroll()}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&d.D.unblockBodyScroll(),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?d.D.blockBodyScroll():d.D.unblockBodyScroll()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(h.Q$.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if((0,m.UE)(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let t="";for(let i in this.breakpoints)t+=`\n @media screen and (max-width: ${i}) {\n .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n width: ${this.breakpoints[i]} !important;\n }\n }\n `;this.renderer.setProperty(this.styleElement,"innerHTML",t)}}initDrag(t){d.D.hasClass(t.target,"p-dialog-header-icon")||d.D.hasClass(t.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",d.D.addClass(this.document.body,"p-unselectable-text"))}onKeydown(t){if(this.focusTrap&&9===t.which){t.preventDefault();let i=d.D.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let n=i.indexOf(i[0].ownerDocument.activeElement);t.shiftKey?-1==n||0===n?i[i.length-1].focus():i[n-1].focus():-1==n||n===i.length-1?i[0].focus():i[n+1].focus()}else i[0].focus()}}onDrag(t){if(this.dragging){const i=d.D.getOuterWidth(this.container),n=d.D.getOuterHeight(this.container),s=t.pageX-this.lastPageX,l=t.pageY-this.lastPageY,r=this.container.getBoundingClientRect(),c=getComputedStyle(this.container),p=parseFloat(c.marginLeft),u=parseFloat(c.marginTop),_=r.left+s-p,b=r.top+l-u,f=d.D.getViewport();this.container.style.position="fixed",this.keepInViewport?(_>=this.minX&&_+i=this.minY&&b+nparseInt(u))&&b.left+cparseInt(_))&&b.top+p{this.documentDragListener=this.renderer.listen(this.window,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.window,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.window,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.window,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&d.D.addClass(this.document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(d.D.removeClass(this.document.body,"p-overflow-hidden"),this.document.body.style.removeProperty("--scrollbar-width"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&d.D.removeClass(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&h.Q$.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(g.r1))};static \u0275cmp=e.VBU({type:o,selectors:[["p-dialog"]],contentQueries:function(i,n,s){if(1&i&&(e.wni(s,g.Y9,5),e.wni(s,g.wi,5),e.wni(s,g.Ei,4)),2&i){let l;e.mGM(l=e.lsd())&&(n.headerFacet=l.first),e.mGM(l=e.lsd())&&(n.footerFacet=l.first),e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Lc,5),e.GBs(Nc,5),e.GBs(jc,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.headerViewChild=s.first),e.mGM(s=e.lsd())&&(n.contentViewChild=s.first),e.mGM(s=e.lsd())&&(n.footerViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:zc,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["footer",""],[3,"class","style","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["class","p-dialog-title",3,"id",4,"ngIf"],[1,"p-dialog-header-icons"],["role","button","type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title",3,"id"],["role","button","type","button","tabindex","-1","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-maximize-icon",3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],["type","button","pRipple","",3,"click","keydown.enter","ngClass"],["class","p-dialog-header-close-icon",3,"ngClass",4,"ngIf"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"]],template:function(i,n){1&i&&(e.NAR(Pc),e.DNE(0,xd,2,17,"div",5)),2&i&&e.Y8G("ngIf",n.maskVisible)},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,He,E.n,F.A,$e,Ae],styles:["@layer primeng{.p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.sM)(Td)]),(0,v.kY)("visible => void",[(0,v.sM)(kd)])])]},changeDetection:0})}return o})(),Dd=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,Ye,E.Z,F.A,$e,Ae,g.Gg]})}return o})(),Xe=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["EyeIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.0535499 7.25213C0.208567 7.59162 2.40413 12.4 7 12.4C11.5959 12.4 13.7914 7.59162 13.9465 7.25213C13.9487 7.2471 13.9506 7.24304 13.952 7.24001C13.9837 7.16396 14 7.08239 14 7.00001C14 6.91762 13.9837 6.83605 13.952 6.76001C13.9506 6.75697 13.9487 6.75292 13.9465 6.74788C13.7914 6.4084 11.5959 1.60001 7 1.60001C2.40413 1.60001 0.208567 6.40839 0.0535499 6.74788C0.0512519 6.75292 0.0494023 6.75697 0.048 6.76001C0.0163137 6.83605 0 6.91762 0 7.00001C0 7.08239 0.0163137 7.16396 0.048 7.24001C0.0494023 7.24304 0.0512519 7.2471 0.0535499 7.25213ZM7 11.2C3.664 11.2 1.736 7.92001 1.264 7.00001C1.736 6.08001 3.664 2.80001 7 2.80001C10.336 2.80001 12.264 6.08001 12.736 7.00001C12.264 7.92001 10.336 11.2 7 11.2ZM5.55551 9.16182C5.98308 9.44751 6.48576 9.6 7 9.6C7.68891 9.59789 8.349 9.32328 8.83614 8.83614C9.32328 8.349 9.59789 7.68891 9.59999 7C9.59999 6.48576 9.44751 5.98308 9.16182 5.55551C8.87612 5.12794 8.47006 4.7947 7.99497 4.59791C7.51988 4.40112 6.99711 4.34963 6.49276 4.44995C5.98841 4.55027 5.52513 4.7979 5.16152 5.16152C4.7979 5.52513 4.55027 5.98841 4.44995 6.49276C4.34963 6.99711 4.40112 7.51988 4.59791 7.99497C4.7947 8.47006 5.12794 8.87612 5.55551 9.16182ZM6.2222 5.83594C6.45243 5.6821 6.7231 5.6 7 5.6C7.37065 5.6021 7.72553 5.75027 7.98762 6.01237C8.24972 6.27446 8.39789 6.62934 8.4 7C8.4 7.27689 8.31789 7.54756 8.16405 7.77779C8.01022 8.00802 7.79157 8.18746 7.53575 8.29343C7.27994 8.39939 6.99844 8.42711 6.72687 8.37309C6.4553 8.31908 6.20584 8.18574 6.01005 7.98994C5.81425 7.79415 5.68091 7.54469 5.6269 7.27312C5.57288 7.00155 5.6006 6.72006 5.70656 6.46424C5.81253 6.20842 5.99197 5.98977 6.2222 5.83594Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})(),Ke=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["RefreshIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.77051 5.96336C6.84324 5.99355 6.92127 6.00891 7.00002 6.00854C7.07877 6.00891 7.1568 5.99355 7.22953 5.96336C7.30226 5.93317 7.36823 5.88876 7.42357 5.83273L9.82101 3.43529C9.93325 3.32291 9.99629 3.17058 9.99629 3.01175C9.99629 2.85292 9.93325 2.70058 9.82101 2.5882L7.42357 0.190763C7.3687 0.131876 7.30253 0.0846451 7.22901 0.0518865C7.15549 0.019128 7.07612 0.00151319 6.99564 9.32772e-05C6.91517 -0.00132663 6.83523 0.0134773 6.7606 0.0436218C6.68597 0.0737664 6.61817 0.118634 6.56126 0.175548C6.50435 0.232462 6.45948 0.300257 6.42933 0.374888C6.39919 0.449519 6.38439 0.529456 6.38581 0.609933C6.38722 0.690409 6.40484 0.769775 6.4376 0.843296C6.47036 0.916817 6.51759 0.982986 6.57647 1.03786L7.95103 2.41241H6.99998C5.46337 2.41241 3.98969 3.02283 2.90314 4.10938C1.81659 5.19593 1.20618 6.66961 1.20618 8.20622C1.20618 9.74283 1.81659 11.2165 2.90314 12.3031C3.98969 13.3896 5.46337 14 6.99998 14C8.53595 13.9979 10.0084 13.3868 11.0945 12.3007C12.1806 11.2146 12.7917 9.74218 12.7938 8.20622C12.7938 8.04726 12.7306 7.89481 12.6182 7.78241C12.5058 7.67001 12.3534 7.60686 12.1944 7.60686C12.0355 7.60686 11.883 7.67001 11.7706 7.78241C11.6582 7.89481 11.5951 8.04726 11.5951 8.20622C11.5951 9.11504 11.3256 10.0035 10.8207 10.7591C10.3157 11.5148 9.59809 12.1037 8.75845 12.4515C7.9188 12.7993 6.99489 12.8903 6.10353 12.713C5.21217 12.5357 4.3934 12.0981 3.75077 11.4554C3.10813 10.8128 2.67049 9.99404 2.49319 9.10268C2.31589 8.21132 2.40688 7.2874 2.75468 6.44776C3.10247 5.60811 3.69143 4.89046 4.44709 4.38554C5.20275 3.88063 6.09116 3.61113 6.99998 3.61113H7.95098L6.57647 4.98564C6.46423 5.09802 6.40119 5.25035 6.40119 5.40918C6.40119 5.56801 6.46423 5.72035 6.57647 5.83273C6.63181 5.88876 6.69778 5.93317 6.77051 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Ue=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchMinusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.0208 12.0411C4.83005 12.0411 3.66604 11.688 2.67596 11.0265C1.68589 10.3649 0.914216 9.42464 0.458534 8.32452C0.00285271 7.22441 -0.116374 6.01388 0.11593 4.84601C0.348235 3.67813 0.921637 2.60537 1.76363 1.76338C2.60562 0.921393 3.67838 0.34799 4.84625 0.115686C6.01412 -0.116618 7.22466 0.00260857 8.32477 0.45829C9.42488 0.913972 10.3652 1.68564 11.0267 2.67572C11.6883 3.66579 12.0414 4.8298 12.0414 6.02056C12.0395 7.41563 11.5542 8.76029 10.6783 9.8305L13.8244 12.9765C13.9367 13.089 13.9997 13.2414 13.9997 13.4003C13.9997 13.5592 13.9367 13.7116 13.8244 13.8241C13.769 13.8801 13.703 13.9245 13.6302 13.9548C13.5575 13.985 13.4794 14.0003 13.4006 14C13.3218 14.0003 13.2437 13.985 13.171 13.9548C13.0982 13.9245 13.0322 13.8801 12.9768 13.8241L9.83082 10.678C8.76059 11.5539 7.4159 12.0393 6.0208 12.0411ZM6.0208 1.20731C5.07199 1.20731 4.14449 1.48867 3.35559 2.0158C2.56669 2.54292 1.95181 3.29215 1.58872 4.16874C1.22562 5.04532 1.13062 6.00989 1.31572 6.94046C1.50083 7.87104 1.95772 8.72583 2.62863 9.39674C3.29954 10.0676 4.15433 10.5245 5.0849 10.7096C6.01548 10.8947 6.98005 10.7997 7.85663 10.4367C8.73322 10.0736 9.48244 9.45868 10.0096 8.66978C10.5367 7.88088 10.8181 6.95337 10.8181 6.00457C10.8181 4.73226 10.3126 3.51206 9.41297 2.6124C8.51331 1.71274 7.29311 1.20731 6.0208 1.20731ZM4.00591 6.60422H8.00362C8.16266 6.60422 8.31518 6.54104 8.42764 6.42859C8.5401 6.31613 8.60328 6.1636 8.60328 6.00456C8.60328 5.84553 8.5401 5.693 8.42764 5.58054C8.31518 5.46809 8.16266 5.40491 8.00362 5.40491H4.00591C3.84687 5.40491 3.69434 5.46809 3.58189 5.58054C3.46943 5.693 3.40625 5.84553 3.40625 6.00456C3.40625 6.1636 3.46943 6.31613 3.58189 6.42859C3.69434 6.54104 3.84687 6.60422 4.00591 6.60422Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),Qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["SearchPlusIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67596 11.0265C3.66604 11.688 4.83005 12.0411 6.0208 12.0411C6.81143 12.0411 7.59432 11.8854 8.32477 11.5828C8.86999 11.357 9.37802 11.0526 9.83311 10.6803L12.9768 13.8241C13.0322 13.8801 13.0982 13.9245 13.171 13.9548C13.2437 13.985 13.3218 14.0003 13.4006 14C13.4794 14.0003 13.5575 13.985 13.6302 13.9548C13.703 13.9245 13.769 13.8801 13.8244 13.8241C13.9367 13.7116 13.9997 13.5592 13.9997 13.4003C13.9997 13.2414 13.9367 13.089 13.8244 12.9765L10.6806 9.8328C11.0529 9.37773 11.3572 8.86972 11.5831 8.32452C11.8856 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0267 2.67572C10.3652 1.68564 9.42488 0.913972 8.32477 0.45829C7.22466 0.00260857 6.01412 -0.116618 4.84625 0.115686C3.67838 0.34799 2.60562 0.921393 1.76363 1.76338C0.921637 2.60537 0.348235 3.67813 0.11593 4.84601C-0.116374 6.01388 0.00285271 7.22441 0.458534 8.32452C0.914216 9.42464 1.68589 10.3649 2.67596 11.0265ZM3.35559 2.0158C4.14449 1.48867 5.07199 1.20731 6.0208 1.20731C7.29311 1.20731 8.51331 1.71274 9.41297 2.6124C10.3126 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5367 7.88088 10.0096 8.66978C9.48244 9.45868 8.73322 10.0736 7.85663 10.4367C6.98005 10.7997 6.01548 10.8947 5.0849 10.7096C4.15433 10.5245 3.29954 10.0676 2.62863 9.39674C1.95772 8.72583 1.50083 7.87104 1.31572 6.94046C1.13062 6.00989 1.22562 5.04532 1.58872 4.16874C1.95181 3.29215 2.56669 2.54292 3.35559 2.0158ZM6.00481 8.60309C5.84641 8.60102 5.69509 8.53718 5.58308 8.42517C5.47107 8.31316 5.40722 8.16183 5.40515 8.00344V6.60422H4.00591C3.84687 6.60422 3.69434 6.54104 3.58189 6.42859C3.46943 6.31613 3.40625 6.1636 3.40625 6.00456C3.40625 5.84553 3.46943 5.693 3.58189 5.58054C3.69434 5.46809 3.84687 5.40491 4.00591 5.40491H5.40515V4.00572C5.40515 3.84668 5.46833 3.69416 5.58079 3.5817C5.69324 3.46924 5.84577 3.40607 6.00481 3.40607C6.16385 3.40607 6.31637 3.46924 6.42883 3.5817C6.54129 3.69416 6.60447 3.84668 6.60447 4.00572V5.40491H8.00362C8.16266 5.40491 8.31518 5.46809 8.42764 5.58054C8.5401 5.693 8.60328 5.84553 8.60328 6.00456C8.60328 6.1636 8.5401 6.31613 8.42764 6.42859C8.31518 6.54104 8.16266 6.60422 8.00362 6.60422H6.60447V8.00344C6.60239 8.16183 6.53855 8.31316 6.42654 8.42517C6.31453 8.53718 6.1632 8.60102 6.00481 8.60309Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})(),qe=(()=>{class o extends x.h{pathId;ngOnInit(){this.pathId="url(#"+(0,h._Y)()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["UndoIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.77042 5.96336C6.84315 5.99355 6.92118 6.00891 6.99993 6.00854C7.07868 6.00891 7.15671 5.99355 7.22944 5.96336C7.30217 5.93317 7.36814 5.88876 7.42348 5.83273C7.53572 5.72035 7.59876 5.56801 7.59876 5.40918C7.59876 5.25035 7.53572 5.09802 7.42348 4.98564L6.04897 3.61113H6.99998C7.9088 3.61113 8.79722 3.88063 9.55288 4.38554C10.3085 4.89046 10.8975 5.60811 11.2453 6.44776C11.5931 7.2874 11.6841 8.21132 11.5068 9.10268C11.3295 9.99404 10.8918 10.8128 10.2492 11.4554C9.60657 12.0981 8.7878 12.5357 7.89644 12.713C7.00508 12.8903 6.08116 12.7993 5.24152 12.4515C4.40188 12.1037 3.68422 11.5148 3.17931 10.7591C2.67439 10.0035 2.4049 9.11504 2.4049 8.20622C2.4049 8.04726 2.34175 7.89481 2.22935 7.78241C2.11695 7.67001 1.9645 7.60686 1.80554 7.60686C1.64658 7.60686 1.49413 7.67001 1.38172 7.78241C1.26932 7.89481 1.20618 8.04726 1.20618 8.20622C1.20829 9.74218 1.81939 11.2146 2.90548 12.3007C3.99157 13.3868 5.46402 13.9979 6.99998 14C8.5366 14 10.0103 13.3896 11.0968 12.3031C12.1834 11.2165 12.7938 9.74283 12.7938 8.20622C12.7938 6.66961 12.1834 5.19593 11.0968 4.10938C10.0103 3.02283 8.5366 2.41241 6.99998 2.41241H6.04892L7.42348 1.03786C7.48236 0.982986 7.5296 0.916817 7.56235 0.843296C7.59511 0.769775 7.61273 0.690409 7.61415 0.609933C7.61557 0.529456 7.60076 0.449519 7.57062 0.374888C7.54047 0.300257 7.49561 0.232462 7.43869 0.175548C7.38178 0.118634 7.31398 0.0737664 7.23935 0.0436218C7.16472 0.0134773 7.08478 -0.00132663 7.00431 9.32772e-05C6.92383 0.00151319 6.84447 0.019128 6.77095 0.0518865C6.69742 0.0846451 6.63126 0.131876 6.57638 0.190763L4.17895 2.5882C4.06671 2.70058 4.00366 2.85292 4.00366 3.01175C4.00366 3.17058 4.06671 3.32291 4.17895 3.43529L6.57638 5.83273C6.63172 5.88876 6.69769 5.93317 6.77042 5.96336Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0)(1,"g"),e.nrm(2,"path",1),e.k0s(),e.j41(3,"defs")(4,"clipPath",2),e.nrm(5,"rect",3),e.k0s()()()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),e.R7$(),e.BMQ("clip-path",n.pathId),e.R7$(3),e.Y8G("id",n.pathId))},encapsulation:2})}return o})();const Ed=["mask"],Rd=["previewButton"],Md=["closeButton"],Fd=(o,a)=>({height:o,width:a}),Gd=(o,a)=>({showTransitionParams:o,hideTransitionParams:a}),Vd=o=>({value:"visible",params:o});function Bd(o,a){1&o&&e.eu8(0)}function Od(o,a){if(1&o&&(e.qex(0),e.DNE(1,Bd,1,0,"ng-container",10),e.bVm()),2&o){const t=e.XpG(2);e.R7$(),e.Y8G("ngTemplateOutlet",t.indicatorTemplate)}}function Ld(o,a){1&o&&e.nrm(0,"EyeIcon",11),2&o&&e.Y8G("styleClass","p-image-preview-icon")}function Nd(o,a){if(1&o){const t=e.RV6();e.j41(0,"button",8,0),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onImageClick())}),e.DNE(2,Od,2,1,"ng-container",9)(3,Ld,1,1,"ng-template",null,1,e.C5r),e.k0s()}if(2&o){const t=e.sdS(4),i=e.XpG();e.Y8G("ngStyle",e.l_i(4,Fd,i.height+"px",i.width+"px")),e.BMQ("aria-label",i.zoomImageAriaLabel),e.R7$(2),e.Y8G("ngIf",i.indicatorTemplate)("ngIfElse",t)}}function jd(o,a){1&o&&e.nrm(0,"RefreshIcon")}function Pd(o,a){}function zd(o,a){1&o&&e.DNE(0,Pd,0,0,"ng-template")}function Hd(o,a){1&o&&e.nrm(0,"UndoIcon")}function Yd(o,a){}function $d(o,a){1&o&&e.DNE(0,Yd,0,0,"ng-template")}function Ad(o,a){1&o&&e.nrm(0,"SearchMinusIcon")}function Xd(o,a){}function Kd(o,a){1&o&&e.DNE(0,Xd,0,0,"ng-template")}function Ud(o,a){1&o&&e.nrm(0,"SearchPlusIcon")}function Qd(o,a){}function qd(o,a){1&o&&e.DNE(0,Qd,0,0,"ng-template")}function Wd(o,a){1&o&&e.nrm(0,"TimesIcon")}function Zd(o,a){}function Jd(o,a){1&o&&e.DNE(0,Zd,0,0,"ng-template")}function ep(o,a){if(1&o){const t=e.RV6();e.j41(0,"div"),e.bIt("@animation.start",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationStart(n))})("@animation.done",function(n){e.eBV(t);const s=e.XpG(2);return e.Njj(s.onAnimationEnd(n))}),e.j41(1,"img",17),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onPreviewImageClick())}),e.k0s()()}if(2&o){const t=e.XpG(2);e.Y8G("@animation",e.eq3(8,Vd,e.l_i(5,Gd,t.showTransitionOptions,t.hideTransitionOptions))),e.R7$(),e.Y8G("ngStyle",t.imagePreviewStyle()),e.BMQ("src",t.previewImageSrc?t.previewImageSrc:t.src,e.B4B)("srcset",t.previewImageSrcSet)("sizes",t.previewImageSizes)}}function tp(o,a){if(1&o){const t=e.RV6();e.j41(0,"div",12,2),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onMaskClick())})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.onMaskKeydown(n))}),e.j41(2,"div",13),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.handleToolbarClick(n))}),e.j41(3,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateRight())}),e.DNE(4,jd,1,0,"RefreshIcon",15)(5,zd,1,0,null,10),e.k0s(),e.j41(6,"button",14),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.rotateLeft())}),e.DNE(7,Hd,1,0,"UndoIcon",15)(8,$d,1,0,null,10),e.k0s(),e.j41(9,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomOut())}),e.DNE(10,Ad,1,0,"SearchMinusIcon",15)(11,Kd,1,0,null,10),e.k0s(),e.j41(12,"button",16),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.zoomIn())}),e.DNE(13,Ud,1,0,"SearchPlusIcon",15)(14,qd,1,0,null,10),e.k0s(),e.j41(15,"button",14,3),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.closePreview())}),e.DNE(17,Wd,1,0,"TimesIcon",15)(18,Jd,1,0,null,10),e.k0s()(),e.DNE(19,ep,2,10,"div",15),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-modal",t.maskVisible),e.R7$(3),e.BMQ("aria-label",t.rightAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateRightIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateRightIconTemplate),e.R7$(),e.BMQ("aria-label",t.leftAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.rotateLeftIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.rotateLeftIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomOutDisabled),e.BMQ("aria-label",t.zoomOutAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomOutIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomOutIconTemplate),e.R7$(),e.Y8G("disabled",t.isZoomInDisabled),e.BMQ("aria-label",t.zoomInAriaLabel()),e.R7$(),e.Y8G("ngIf",!t.zoomInIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.zoomInIconTemplate),e.R7$(),e.BMQ("aria-label",t.closeAriaLabel()),e.R7$(2),e.Y8G("ngIf",!t.closeIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.closeIconTemplate),e.R7$(),e.Y8G("ngIf",t.previewVisible)}}let We=(()=>{class o{document;config;cd;el;imageClass;imageStyle;styleClass;style;src;srcSet;sizes;previewImageSrc;previewImageSrcSet;previewImageSizes;alt;width;height;loading;appendTo;preview=!1;showTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";onShow=new e.bkB;onHide=new e.bkB;onImageError=new e.bkB;mask;previewButton;closeButton;templates;indicatorTemplate;rotateRightIconTemplate;rotateLeftIconTemplate;zoomOutIconTemplate;zoomInIconTemplate;closeIconTemplate;maskVisible=!1;previewVisible=!1;rotate=0;scale=1;previewClick=!1;container;wrapper;get isZoomOutDisabled(){return this.scale-this.zoomSettings.step<=this.zoomSettings.min}get isZoomInDisabled(){return this.scale+this.zoomSettings.step>=this.zoomSettings.max}zoomSettings={default:1,step:.1,max:1.5,min:.5};constructor(t,i,n,s){this.document=t,this.config=i,this.cd=n,this.el=s}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"indicator":default:this.indicatorTemplate=t.template;break;case"rotaterighticon":this.rotateRightIconTemplate=t.template;break;case"rotatelefticon":this.rotateLeftIconTemplate=t.template;break;case"zoomouticon":this.zoomOutIconTemplate=t.template;break;case"zoominicon":this.zoomInIconTemplate=t.template;break;case"closeicon":this.closeIconTemplate=t.template}})}onImageClick(){this.preview&&(this.maskVisible=!0,this.previewVisible=!0,d.D.blockBodyScroll())}onMaskClick(){this.previewClick||this.closePreview(),this.previewClick=!1}onMaskKeydown(t){"Escape"===t.code&&(this.onMaskClick(),setTimeout(()=>{d.D.focus(this.previewButton.nativeElement)},25),t.preventDefault())}onPreviewImageClick(){this.previewClick=!0}rotateRight(){this.rotate+=90,this.previewClick=!0}rotateLeft(){this.rotate-=90,this.previewClick=!0}zoomIn(){this.scale=this.scale+this.zoomSettings.step,this.previewClick=!0}zoomOut(){this.scale=this.scale-this.zoomSettings.step,this.previewClick=!0}onAnimationStart(t){switch(t.toState){case"visible":this.container=t.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),setTimeout(()=>{d.D.focus(this.closeButton.nativeElement)},25);break;case"void":d.D.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(t){switch(t.toState){case"void":h.Q$.clear(this.wrapper),this.maskVisible=!1,this.container=null,this.wrapper=null,this.cd.markForCheck(),this.onHide.emit({});break;case"visible":this.onShow.emit({})}}moveOnTop(){h.Q$.set("modal",this.wrapper,this.config.zIndex.modal)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.wrapper):d.D.appendChild(this.wrapper,this.appendTo))}imagePreviewStyle(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}}get zoomImageAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomImage:void 0}containerClass(){return{"p-image p-component":!0,"p-image-preview-container":this.preview}}handleToolbarClick(t){t.stopPropagation()}closePreview(){this.previewVisible=!1,this.rotate=0,this.scale=this.zoomSettings.default,d.D.unblockBodyScroll()}imageError(t){this.onImageError.emit(t)}rightAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateRight:void 0}leftAriaLabel(){return this.config.translation.aria?this.config.translation.aria.rotateLeft:void 0}zoomInAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomIn:void 0}zoomOutAriaLabel(){return this.config.translation.aria?this.config.translation.aria.zoomOut:void 0}closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}onKeydownHandler(t){this.previewVisible&&this.closePreview()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(g.r1),e.rXU(e.gRc),e.rXU(e.aKT))};static \u0275cmp=e.VBU({type:o,selectors:[["p-image"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(Ed,5),e.GBs(Rd,5),e.GBs(Md,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.mask=s.first),e.mGM(s=e.lsd())&&(n.previewButton=s.first),e.mGM(s=e.lsd())&&(n.closeButton=s.first)}},hostAttrs:[1,"p-element"],hostBindings:function(i,n){1&i&&e.bIt("keydown.escape",function(l){return n.onKeydownHandler(l)},!1,e.EBC)},inputs:{imageClass:"imageClass",imageStyle:"imageStyle",styleClass:"styleClass",style:"style",src:"src",srcSet:"srcSet",sizes:"sizes",previewImageSrc:"previewImageSrc",previewImageSrcSet:"previewImageSrcSet",previewImageSizes:"previewImageSizes",alt:"alt",width:"width",height:"height",loading:"loading",appendTo:"appendTo",preview:"preview",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{onShow:"onShow",onHide:"onHide",onImageError:"onImageError"},decls:4,vars:16,consts:[["previewButton",""],["defaultTemplate",""],["mask",""],["closeButton",""],[3,"ngClass","ngStyle"],[3,"error","ngStyle"],["type","button","class","p-image-preview-indicator","style","border: 'none';",3,"ngStyle","click",4,"ngIf"],["class","p-image-mask p-component-overlay p-component-overlay-enter","role","dialog","pFocusTrap","",3,"click","keydown",4,"ngIf"],["type","button",1,"p-image-preview-indicator",2,"border","'none'",3,"click","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[3,"styleClass"],["role","dialog","pFocusTrap","",1,"p-image-mask","p-component-overlay","p-component-overlay-enter",3,"click","keydown"],[1,"p-image-toolbar",3,"click"],["type","button",1,"p-image-action","p-link",3,"click"],[4,"ngIf"],["type","button",1,"p-image-action","p-link",3,"click","disabled"],[1,"p-image-preview",3,"click","ngStyle"]],template:function(i,n){1&i&&(e.j41(0,"span",4)(1,"img",5),e.bIt("error",function(l){return n.imageError(l)}),e.k0s(),e.DNE(2,Nd,5,7,"button",6)(3,tp,20,19,"div",7),e.k0s()),2&i&&(e.HbH(n.styleClass),e.Y8G("ngClass",n.containerClass())("ngStyle",n.style),e.R7$(),e.HbH(n.imageClass),e.Y8G("ngStyle",n.imageStyle),e.BMQ("src",n.src,e.B4B)("srcset",n.srcSet)("sizes",n.sizes)("alt",n.alt)("width",n.width)("height",n.height)("loading",n.loading),e.R7$(),e.Y8G("ngIf",n.preview),e.R7$(),e.Y8G("ngIf",n.maskVisible))},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,Ke,Xe,qe,Ue,Qe,F.A,He],styles:["@layer primeng{.p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block;line-height:0}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;outline:none;border:none;padding:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon.pi{font-size:1.5rem}.p-image-preview-icon.p-icon{scale:1.5}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex;z-index:1}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-action.p-link[disabled]{opacity:.5}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}}\n"],encapsulation:2,data:{animation:[(0,v.hZ)("animation",[(0,v.kY)("void => visible",[(0,v.iF)({transform:"scale(0.7)",opacity:0}),(0,v.i0)("{{showTransitionParams}}")]),(0,v.kY)("visible => void",[(0,v.i0)("{{hideTransitionParams}}",(0,v.iF)({transform:"scale(0.7)",opacity:0}))])])]},changeDetection:0})}return o})(),Ze=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg,Ke,Xe,qe,Ue,Qe,F.A,Ye,g.Gg]})}return o})();var ip=I(4125);const np=["dt"],op=()=>[10,20,50,60,100,200,1e3,1e4],sp=()=>({width:"50rem"}),ap=()=>({"1250px":"75vw","800px":"90vw"});function lp(o,a){1&o&&(e.j41(0,"tr"),e.nrm(1,"th"),e.j41(2,"th"),e.EFF(3,"Doi"),e.k0s(),e.j41(4,"th"),e.EFF(5,"Index"),e.k0s(),e.j41(6,"th",11),e.EFF(7," Title "),e.nrm(8,"p-sortIcon",12),e.k0s(),e.j41(9,"th",13),e.EFF(10," Keywords "),e.nrm(11,"p-sortIcon",14),e.k0s(),e.j41(12,"th"),e.EFF(13,"Cluster"),e.k0s(),e.j41(14,"th",15),e.EFF(15," Cited by Count "),e.nrm(16,"p-sortIcon",16),e.k0s(),e.j41(17,"th",17),e.EFF(18," Publication "),e.nrm(19,"p-sortIcon",18),e.k0s(),e.j41(20,"th",19),e.EFF(21," Referenced Works Count "),e.nrm(22,"p-sortIcon",20),e.k0s(),e.j41(23,"th",21),e.EFF(24," Relevance Score "),e.nrm(25,"p-sortIcon",22),e.k0s()())}function rp(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-button",26),e.bIt("onClick",function(){e.eBV(t);const n=e.XpG().$implicit,s=e.XpG();return e.Njj(s.openDoi(n.doi))}),e.k0s()}}function cp(o,a){if(1&o){const t=e.RV6();e.j41(0,"tr")(1,"td")(2,"p-button",23),e.bIt("onClick",function(){const n=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.openDialog(n.id))}),e.k0s()(),e.j41(3,"td"),e.DNE(4,rp,1,0,"p-button",24),e.k0s(),e.j41(5,"td"),e.EFF(6),e.k0s(),e.nrm(7,"td",25)(8,"td",25),e.j41(9,"td"),e.EFF(10),e.nI1(11,"number"),e.k0s(),e.j41(12,"td"),e.EFF(13),e.nI1(14,"number"),e.k0s(),e.j41(15,"td"),e.EFF(16),e.nI1(17,"date"),e.k0s(),e.j41(18,"td"),e.EFF(19),e.nI1(20,"number"),e.k0s(),e.j41(21,"td"),e.EFF(22),e.nI1(23,"number"),e.k0s()()}if(2&o){const t=a.$implicit,i=a.rowIndex;e.R7$(4),e.Y8G("ngIf",t.doi),e.R7$(2),e.JRh(i+1),e.R7$(),e.FS9("pTooltip",t.title),e.Y8G("innerHTML",t.title,e.npT),e.R7$(),e.FS9("pTooltip",t.keywords),e.Y8G("innerHTML",t.keywords,e.npT),e.R7$(2),e.Lme("",t.ismed_first?"Medicine":"Pasture"," ",e.bMT(11,12,t.cluster),""),e.R7$(3),e.JRh(e.bMT(14,14,t.cited_by_count)),e.R7$(3),e.JRh(e.bMT(17,16,t.publication_date)),e.R7$(3),e.JRh(e.bMT(20,18,t.referenced_works_count)),e.R7$(3),e.JRh(e.bMT(23,20,t.relevance_score))}}function dp(o,a){if(1&o&&(e.j41(0,"a",27),e.nrm(1,"i",28),e.k0s()),2&o){const t=e.XpG();e.Y8G("href",null==t.source?null:t.source.doi,e.B4B)}}let de=(()=>{class o{constructor(t,i){this.sourceService=t,this.tableService=i,this.source=null,this.page=1,this.rows=10,this.limit=1e3,this.full=!0,this.isSorted=!1,this.showDialog=!1,this.dataSource=[],this.handleScroll=n=>{console.log("scroll",n),console.timeEnd("lastScrolled"),console.time("lastScrolled")}}ngOnInit(){this.tableService.table$.subscribe(t=>{this.dataSource=[],this.dataSource=t}),this.tableService.search$.subscribe(t=>{this.search=t})}announceSortChange2(t){let i={active:t.field,direction:1===t.order?"asc":"desc"};null==this.isSorted?(this.isSorted=!0,this.tableService.announceSortChange(i)):this.isSorted?this.isSorted=!1:this.isSorted||(this.isSorted=null,this.dataSource=[]),console.log(t.data=[])}applyFilter(t){this.tableService.applyFilter(t)}ngAfterViewInit(){this.tableService.getSourcesData(1)}hasMore(){return console.log(this.dataSource.length),!this.dataSource||this.dataSource.length{this.showDialog=!1,this.source=i,this.showDialog=!0},i=>{this.showDialog=!1,console.error("Erro ao obter dados da fonte:",i)})}openDoi(t){window.open(t,"_blanck")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ip.F),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-table"]],viewQuery:function(i,n){if(1&i&&e.GBs(np,5),2&i){let s;e.mGM(s=e.lsd())&&(n.dt=s.first)}},standalone:!0,features:[e.aNF],decls:21,vars:24,consts:[["dt",""],[3,"sortFunction","value","rows","customSort","paginator","rowsPerPageOptions"],["pTemplate","header"],["pTemplate","body"],[3,"visibleChange","modal","visible","breakpoints"],[3,"innerHTML"],["class","doiUrl","target","_blank",3,"href",4,"ngIf"],[1,"grid"],[1,"col-3"],["width","100%",3,"src","preview"],[1,"col-9"],["pSortableColumn","title"],["field","title"],["pSortableColumn","keywords"],["field","keywords"],["pSortableColumn","cited_by_count"],["field","cited_by_count"],["pSortableColumn","publication_date"],["field","publication_date"],["pSortableColumn","referenced_works_count"],["field","referenced_works_count"],["pSortableColumn","relevance_score"],["field","relevance_score"],["icon","pi pi-search","pTooltip","Open Abstract","severity","success",3,"onClick"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick",4,"ngIf"],[3,"pTooltip","innerHTML"],["icon","pi pi-book","pTooltip","Open Article","severity","warning",3,"onClick"],["target","_blank",1,"doiUrl",3,"href"],[1,"pi","pi-file"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"p-table",1,0),e.bIt("sortFunction",function(r){return e.eBV(s),e.Njj(n.announceSortChange2(r))}),e.DNE(2,lp,26,0,"ng-template",2)(3,cp,24,22,"ng-template",3),e.k0s(),e.j41(4,"p-dialog",4),e.mxI("visibleChange",function(r){return e.eBV(s),e.DH7(n.showDialog,r)||(n.showDialog=r),e.Njj(r)}),e.nrm(5,"p-header",5),e.j41(6,"h3"),e.EFF(7),e.k0s(),e.j41(8,"p"),e.DNE(9,dp,2,1,"a",6),e.EFF(10),e.k0s(),e.j41(11,"h4"),e.EFF(12,"Keywords:"),e.k0s(),e.nrm(13,"p",5),e.j41(14,"div",7)(15,"div",8),e.nrm(16,"p-image",9),e.k0s(),e.j41(17,"div",10)(18,"h3"),e.EFF(19,"Abstract"),e.k0s(),e.nrm(20,"p",5),e.k0s()()()}2&i&&(e.Y8G("value",n.dataSource)("rows",n.rows)("customSort",!0)("paginator",!0)("rowsPerPageOptions",e.lJ4(21,op)),e.R7$(4),e.Aen(e.lJ4(22,sp)),e.Y8G("modal",!0),e.R50("visible",n.showDialog),e.Y8G("breakpoints",e.lJ4(23,ap)),e.R7$(),e.Y8G("innerHTML",null==n.source?null:n.source.title,e.npT),e.R7$(2),e.SpI("ID: ",null==n.source?null:n.source.id,""),e.R7$(2),e.Y8G("ngIf",null==n.source?null:n.source.doi),e.R7$(),e.LHq(" ",null==n.source?null:n.source.language," | ",null==n.source?null:n.source.type_crossref," | ",null!=n.source&&n.source.ismed_first?"Medicine":"Pasture"," Cluster:",null==n.source?null:n.source.cluster," "),e.R7$(3),e.Y8G("innerHTML",null==n.source?null:n.source.keywords,e.npT),e.R7$(3),e.Y8G("src",null==n.source?null:n.source.image)("preview",!0),e.R7$(4),e.Y8G("innerHTML",null==n.source?null:n.source.abstract,e.npT))},dependencies:[Oc,Z,g.Y9,g.Ei,Vc,Bc,m.MD,m.bT,m.QX,m.vh,Dd,Sd,Ze,We,M.tm,M.$n,j.S,j.m],styles:['@charset "UTF-8";.limited-width-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:200px}']})}return o})(),pp=(()=>{class o{constructor(t){this.tableService=t}ngOnInit(){this.tableService.setInfo("pasture")}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-home"]],decls:1,vars:0,template:function(i,n){1&i&&e.nrm(0,"app-table")},dependencies:[de]})}return o})(),up=(()=>{class o{constructor(t,i){this.route=t,this.tableService=i,this.cluster_id=0}ngOnInit(){this.route.paramMap.subscribe(t=>{this.type_source=t.get("type_source"),this.tableService.setInfo(this.type_source,this.cluster_id)})}setCluster(t){this.cluster_id=t?39===this.cluster_id?0:this.cluster_id+1:0===this.cluster_id?39:this.cluster_id-1,this.tableService.setInfo(this.type_source,this.cluster_id)}getImageUrl(){let t=this.cluster_id.toString().padStart(3,"0"),i=this.type_source;return"medicine"===i&&(i="med"),`https://s3.lapig.iesa.ufg.br/public/bibiografia/${i}/${t}_keywords.png`}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(L.nX),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-cluster"]],standalone:!0,features:[e.aNF],decls:10,vars:7,consts:[[1,"grid"],[1,"col-3"],[1,"flex","justify-content-center","flex-wrap"],[1,"flex","align-items-center","justify-content-center"],["width","100%",3,"src","alt","preview"],[1,"flex","justify-content-evenly","w-full"],["icon","pi pi-step-backward",3,"click","rounded","outlined"],["icon","pi pi-step-forward",3,"click","rounded","outlined"],[1,"col-9"]],template:function(i,n){1&i&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.nrm(4,"p-image",4),e.k0s(),e.j41(5,"div",5)(6,"p-button",6),e.bIt("click",function(){return n.setCluster(!1)}),e.k0s(),e.j41(7,"p-button",7),e.bIt("click",function(){return n.setCluster(!0)}),e.k0s()()()(),e.j41(8,"div",8),e.nrm(9,"app-table"),e.k0s()()),2&i&&(e.R7$(4),e.Y8G("src",n.getImageUrl())("alt","Cluster_"+n.cluster_id)("preview",!0),e.R7$(2),e.Y8G("rounded",!0)("outlined",!0),e.R7$(),e.Y8G("rounded",!0)("outlined",!0))},dependencies:[M.tm,M.$n,de,Ze,We]})}return o})(),hp=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[L.iI.forChild([{path:"",data:{breadcrumb:"Grassland Literature Review"},component:pp},{path:"cluster/:type_source",data:{breadcrumb:"Type Source"},component:up}]),L.iI]})}return o})(),bp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();const vp=["*"];let yp=(()=>{class o{style;styleClass;static \u0275fac=function(i){return new(i||o)};static \u0275cmp=e.VBU({type:o,selectors:[["p-inputGroup"]],hostAttrs:[1,"p-element","p-inputgroup"],inputs:{style:"style",styleClass:"styleClass"},ngContentSelectors:vp,decls:2,vars:3,consts:[[1,"p-inputgroup",3,"ngClass","ngStyle"]],template:function(i,n){1&i&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.k0s()),2&i&&(e.Y8G("ngClass",n.styleClass)("ngStyle",n.style),e.BMQ("data-pc-name","inputgroup"))},dependencies:[m.YU,m.B3],encapsulation:2})}return o})(),Cp=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,g.Gg]})}return o})();var Je=I(6150);let et=(()=>{class o extends x.h{static \u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})();static \u0275cmp=e.VBU({type:o,selectors:[["BarsIcon"]],standalone:!0,features:[e.Vt3,e.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z","fill","currentColor"]],template:function(i,n){1&i&&(e.qSk(),e.j41(0,"svg",0),e.nrm(1,"path",1),e.k0s()),2&i&&(e.HbH(n.getClassNames()),e.BMQ("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return o})();var wp=I(3888),Ip=I(1584),Tp=I(9974),kp=I(5343),tt=I(4360),Sp=I(8750),Ep=I(5964);const Rp=["menubar"],Mp=(o,a)=>({"p-submenu-list":o,"p-menubar-root-list":a}),it=o=>({"p-menuitem-link":!0,"p-disabled":o}),Fp=()=>({exact:!1}),Gp=o=>({$implicit:o});function Vp(o,a){if(1&o&&e.nrm(0,"li",8),2&o){const t=e.XpG().$implicit,i=e.XpG();e.Aen(i.getItemProp(t,"style")),e.Y8G("ngClass",i.getSeparatorItemClass(t)),e.BMQ("id",i.getItemId(t))("data-pc-section","separator")}}function Bp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Op(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.BMQ("data-pc-section","label"),e.R7$(),e.SpI(" ",i.getItemLabel(t)," ")}}function Lp(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Np(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function jp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Pp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,jp,1,3,"AngleDownIcon",24)(2,Pp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Hp(o,a){}function Yp(o,a){1&o&&e.DNE(0,Hp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function $p(o,a){if(1&o&&(e.qex(0),e.DNE(1,zp,3,2,"ng-container",11)(2,Yp,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function Ap(o,a){if(1&o&&(e.j41(0,"a",15),e.DNE(1,Bp,1,5,"span",16)(2,Op,2,2,"span",17)(3,Lp,1,2,"ng-template",null,2,e.C5r)(5,Np,2,2,"span",18)(6,$p,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("target",n.getItemProp(i,"target"))("ngClass",e.eq3(12,it,n.getItemProp(i,"disabled"))),e.BMQ("href",n.getItemProp(i,"url"),e.B4B)("aria-hidden",!0)("data-automationid",n.getItemProp(i,"automationId"))("data-pc-section","action")("tabindex",-1),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function Xp(o,a){if(1&o&&e.nrm(0,"span",19),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"icon"))("ngStyle",i.getItemProp(t,"iconStyle")),e.BMQ("data-pc-section","icon")("aria-hidden",!0)("tabindex",-1)}}function Kp(o,a){if(1&o&&(e.j41(0,"span",20),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.R7$(),e.JRh(i.getItemLabel(t))}}function Up(o,a){if(1&o&&e.nrm(0,"span",21),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("innerHTML",i.getItemLabel(t),e.npT),e.BMQ("data-pc-section","label")}}function Qp(o,a){if(1&o&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&o){const t=e.XpG(4).$implicit,i=e.XpG();e.Y8G("ngClass",i.getItemProp(t,"badgeStyleClass")),e.R7$(),e.JRh(i.getItemProp(t,"badge"))}}function qp(o,a){1&o&&e.nrm(0,"AngleDownIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Wp(o,a){1&o&&e.nrm(0,"AngleRightIcon",25),2&o&&(e.Y8G("styleClass","p-submenu-icon"),e.BMQ("data-pc-section","submenuicon")("aria-hidden",!0))}function Zp(o,a){if(1&o&&(e.qex(0),e.DNE(1,qp,1,3,"AngleDownIcon",24)(2,Wp,1,3,"AngleRightIcon",24),e.bVm()),2&o){const t=e.XpG(6);e.R7$(),e.Y8G("ngIf",t.root),e.R7$(),e.Y8G("ngIf",!t.root)}}function Jp(o,a){}function eu(o,a){1&o&&e.DNE(0,Jp,0,0,"ng-template",26),2&o&&e.Y8G("data-pc-section","submenuicon")("aria-hidden",!0)}function tu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Zp,3,2,"ng-container",11)(2,eu,1,2,null,23),e.bVm()),2&o){e.XpG(5);const t=e.sdS(1);e.R7$(),e.Y8G("ngIf",!t.submenuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.submenuIconTemplate)}}function iu(o,a){if(1&o&&(e.j41(0,"a",27),e.DNE(1,Xp,1,5,"span",16)(2,Kp,2,1,"span",17)(3,Up,1,2,"ng-template",null,3,e.C5r)(5,Qp,2,2,"span",18)(6,tu,3,2,"ng-container",11),e.k0s()),2&o){const t=e.sdS(4),i=e.XpG(3).$implicit,n=e.XpG();e.Y8G("routerLink",n.getItemProp(i,"routerLink"))("queryParams",n.getItemProp(i,"queryParams"))("routerLinkActive","p-menuitem-link-active")("routerLinkActiveOptions",n.getItemProp(i,"routerLinkActiveOptions")||e.lJ4(21,Fp))("target",n.getItemProp(i,"target"))("ngClass",e.eq3(22,it,n.getItemProp(i,"disabled")))("fragment",n.getItemProp(i,"fragment"))("queryParamsHandling",n.getItemProp(i,"queryParamsHandling"))("preserveFragment",n.getItemProp(i,"preserveFragment"))("skipLocationChange",n.getItemProp(i,"skipLocationChange"))("replaceUrl",n.getItemProp(i,"replaceUrl"))("state",n.getItemProp(i,"state")),e.BMQ("data-automationid",n.getItemProp(i,"automationId"))("tabindex",-1)("aria-hidden",!0)("data-pc-section","action"),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"icon")),e.R7$(),e.Y8G("ngIf",n.getItemProp(i,"escape"))("ngIfElse",t),e.R7$(3),e.Y8G("ngIf",n.getItemProp(i,"badge")),e.R7$(),e.Y8G("ngIf",n.isItemGroup(i))}}function nu(o,a){if(1&o&&(e.qex(0),e.DNE(1,Ap,7,14,"a",13)(2,iu,7,24,"a",14),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.getItemProp(t,"routerLink")),e.R7$(),e.Y8G("ngIf",i.getItemProp(t,"routerLink"))}}function ou(o,a){}function su(o,a){1&o&&e.DNE(0,ou,0,0,"ng-template")}function au(o,a){if(1&o&&(e.qex(0),e.DNE(1,su,1,0,null,28),e.bVm()),2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",i.itemTemplate)("ngTemplateOutletContext",e.eq3(2,Gp,t.item))}}function lu(o,a){if(1&o){const t=e.RV6();e.j41(0,"p-menubarSub",29),e.bIt("itemClick",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.itemClick.emit(n))})("itemMouseEnter",function(n){e.eBV(t);const s=e.XpG(3);return e.Njj(s.onItemMouseEnter(n))}),e.k0s()}if(2&o){const t=e.XpG(2).$implicit,i=e.XpG();e.Y8G("itemTemplate",i.itemTemplate)("items",t.items)("mobileActive",i.mobileActive)("autoDisplay",i.autoDisplay)("menuId",i.menuId)("activeItemPath",i.activeItemPath)("focusedItemId",i.focusedItemId)("level",i.level+1)}}function ru(o,a){if(1&o){const t=e.RV6();e.j41(0,"li",9,1)(2,"div",10),e.bIt("click",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemClick(n,s))})("mouseenter",function(n){e.eBV(t);const s=e.XpG().$implicit,l=e.XpG();return e.Njj(l.onItemMouseEnter({$event:n,processedItem:s}))}),e.DNE(3,nu,3,2,"ng-container",11)(4,au,2,4,"ng-container",11),e.k0s(),e.DNE(5,lu,1,8,"p-menubarSub",12),e.k0s()}if(2&o){const t=e.XpG(),i=t.$implicit,n=t.index,s=e.XpG();e.HbH(s.getItemProp(i,"styleClass")),e.Y8G("ngStyle",s.getItemProp(i,"style"))("ngClass",s.getItemClass(i))("tooltipOptions",s.getItemProp(i,"tooltipOptions")),e.BMQ("id",s.getItemId(i))("data-pc-section","menuitem")("data-p-highlight",s.isItemActive(i))("data-p-focused",s.isItemFocused(i))("data-p-disabled",s.isItemDisabled(i))("aria-label",s.getItemLabel(i))("aria-disabled",s.isItemDisabled(i)||void 0)("aria-haspopup",s.isItemGroup(i)&&!s.getItemProp(i,"to")?"menu":void 0)("aria-expanded",s.isItemGroup(i)?s.isItemActive(i):void 0)("aria-level",s.level+1)("aria-setsize",s.getAriaSetSize())("aria-posinset",s.getAriaPosInset(n)),e.R7$(2),e.BMQ("data-pc-section","content"),e.R7$(),e.Y8G("ngIf",!s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.itemTemplate),e.R7$(),e.Y8G("ngIf",s.isItemVisible(i)&&s.isItemGroup(i))}}function cu(o,a){if(1&o&&e.DNE(0,Vp,1,5,"li",6)(1,ru,6,21,"li",7),2&o){const t=a.$implicit,i=e.XpG();e.Y8G("ngIf",i.isItemVisible(t)&&i.getItemProp(t,"separator")),e.R7$(),e.Y8G("ngIf",i.isItemVisible(t)&&!i.getItemProp(t,"separator"))}}const du=["menubutton"],pu=["rootmenu"],uu=["*"],hu=o=>({"p-menubar p-component":!0,"p-menubar-mobile-active":o});function mu(o,a){1&o&&e.eu8(0)}function _u(o,a){if(1&o&&(e.j41(0,"div",8),e.DNE(1,mu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.startTemplate)}}function gu(o,a){1&o&&e.nrm(0,"BarsIcon")}function fu(o,a){}function bu(o,a){1&o&&e.DNE(0,fu,0,0,"ng-template")}function vu(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",10,2),e.bIt("click",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonClick(n))})("keydown",function(n){e.eBV(t);const s=e.XpG();return e.Njj(s.menuButtonKeydown(n))}),e.DNE(2,gu,1,0,"BarsIcon",11)(3,bu,1,0,null,9),e.k0s()}if(2&o){const t=e.XpG();e.BMQ("aria-haspopup",!!(t.model.length&&t.model.length>0))("aria-expanded",t.mobileActive)("aria-controls",t.id)("aria-label",t.config.translation.aria.navigation)("data-pc-section","button"),e.R7$(2),e.Y8G("ngIf",!t.menuIconTemplate),e.R7$(),e.Y8G("ngTemplateOutlet",t.menuIconTemplate)}}function yu(o,a){1&o&&e.eu8(0)}function Cu(o,a){if(1&o&&(e.j41(0,"div",12),e.DNE(1,yu,1,0,"ng-container",9),e.k0s()),2&o){const t=e.XpG();e.R7$(),e.Y8G("ngTemplateOutlet",t.endTemplate)}}function wu(o,a){1&o&&(e.j41(0,"div",12),e.SdG(1),e.k0s())}let pe=(()=>{class o{autoHide;autoHideDelay;mouseLeaves=new P.B;mouseLeft$=this.mouseLeaves.pipe(function Dp(o){return(0,Tp.N)((a,t)=>{let i=!1,n=null,s=null;const l=()=>{if(s?.unsubscribe(),s=null,i){i=!1;const r=n;n=null,t.next(r)}};a.subscribe((0,tt._)(t,r=>{s?.unsubscribe(),i=!0,n=r,s=(0,tt._)(t,l,kp.l),(0,Sp.Tg)(o(r)).subscribe(s)},()=>{l(),t.complete()},void 0,()=>{n=s=null}))})}(()=>function xp(o=0,a=wp.E){return o<0&&(o=0),(0,Ip.O)(o,o,a)}(this.autoHideDelay)),(0,Ep.p)(t=>this.autoHide&&t));static \u0275fac=function(i){return new(i||o)};static \u0275prov=e.jDH({token:o,factory:o.\u0275fac})}return o})(),Iu=(()=>{class o{el;renderer;cd;menubarService;items;itemTemplate;root=!1;autoZIndex=!0;baseZIndex=0;mobileActive;autoDisplay;menuId;ariaLabel;ariaLabelledBy;level=0;focusedItemId;activeItemPath;itemClick=new e.bkB;itemMouseEnter=new e.bkB;menuFocus=new e.bkB;menuBlur=new e.bkB;menuKeydown=new e.bkB;menubarViewChild;mouseLeaveSubscriber;constructor(t,i,n,s){this.el=t,this.renderer=i,this.cd=n,this.menubarService=s}ngOnInit(){this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>{this.cd.markForCheck()})}onItemClick(t,i){this.getItemProp(i,"command",{originalEvent:t,item:i.item}),this.itemClick.emit({originalEvent:t,processedItem:i,isFocus:!0})}getItemProp(t,i,n=null){return t&&t.item?h.BF.getItemValue(t.item[i],n):void 0}getItemId(t){return t.item&&t.item?.id?t.item.id:`${this.menuId}_${t.key}`}getItemKey(t){return this.getItemId(t)}getItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem":!0,"p-highlight":this.isItemActive(t),"p-menuitem-active":this.isItemActive(t),"p-focus":this.isItemFocused(t),"p-disabled":this.isItemDisabled(t)}}getItemLabel(t){return this.getItemProp(t,"label")}getSeparatorItemClass(t){return{...this.getItemProp(t,"class"),"p-menuitem-separator":!0}}isItemVisible(t){return!1!==this.getItemProp(t,"visible")}isItemActive(t){if(this.activeItemPath)return this.activeItemPath.some(i=>i.key===t.key)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemFocused(t){return this.focusedItemId===this.getItemId(t)}isItemGroup(t){return h.BF.isNotEmpty(t.items)}getAriaSetSize(){return this.items.filter(t=>this.isItemVisible(t)&&!this.getItemProp(t,"separator")).length}getAriaPosInset(t){return t-this.items.slice(0,t).filter(i=>this.isItemVisible(i)&&this.getItemProp(i,"separator")).length+1}onItemMouseLeave(){this.menubarService.mouseLeaves.next(!0)}onItemMouseEnter(t){if(this.autoDisplay){this.menubarService.mouseLeaves.next(!1);const{event:i,processedItem:n}=t;this.itemMouseEnter.emit({originalEvent:i,processedItem:n})}}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe()}static \u0275fac=function(i){return new(i||o)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(pe))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubarSub"]],viewQuery:function(i,n){if(1&i&&e.GBs(Rp,7),2&i){let s;e.mGM(s=e.lsd())&&(n.menubarViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{items:"items",itemTemplate:"itemTemplate",root:"root",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",mobileActive:"mobileActive",autoDisplay:"autoDisplay",menuId:"menuId",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",level:"level",focusedItemId:"focusedItemId",activeItemPath:"activeItemPath"},outputs:{itemClick:"itemClick",itemMouseEnter:"itemMouseEnter",menuFocus:"menuFocus",menuBlur:"menuBlur",menuKeydown:"menuKeydown"},decls:3,vars:11,consts:[["menubar",""],["listItem",""],["htmlLabel",""],["htmlRouteLabel",""],["role","menu",3,"focus","blur","keydown","ngClass","tabindex"],["ngFor","",3,"ngForOf"],["role","separator",3,"style","ngClass",4,"ngIf"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","class","tooltipOptions",4,"ngIf"],["role","separator",3,"ngClass"],["role","menuitem","pTooltip","",3,"ngStyle","ngClass","tooltipOptions"],[1,"p-menuitem-content",3,"click","mouseenter"],[4,"ngIf"],[3,"itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level","itemClick","itemMouseEnter",4,"ngIf"],["pRipple","",3,"target","ngClass",4,"ngIf"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["pRipple","",3,"target","ngClass"],["class","p-menuitem-icon",3,"ngClass","ngStyle",4,"ngIf"],["class","p-menuitem-text",4,"ngIf","ngIfElse"],["class","p-menuitem-badge",3,"ngClass",4,"ngIf"],[1,"p-menuitem-icon",3,"ngClass","ngStyle"],[1,"p-menuitem-text"],[1,"p-menuitem-text",3,"innerHTML"],[1,"p-menuitem-badge",3,"ngClass"],[4,"ngTemplateOutlet"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],[3,"data-pc-section","aria-hidden"],["pRipple","",3,"routerLink","queryParams","routerLinkActive","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"itemClick","itemMouseEnter","itemTemplate","items","mobileActive","autoDisplay","menuId","activeItemPath","focusedItemId","level"]],template:function(i,n){if(1&i){const s=e.RV6();e.j41(0,"ul",4,0),e.bIt("focus",function(r){return e.eBV(s),e.Njj(n.menuFocus.emit(r))})("blur",function(r){return e.eBV(s),e.Njj(n.menuBlur.emit(r))})("keydown",function(r){return e.eBV(s),e.Njj(n.menuKeydown.emit(r))}),e.DNE(2,cu,2,2,"ng-template",5),e.k0s()}2&i&&(e.Y8G("ngClass",e.l_i(8,Mp,!n.root,n.root))("tabindex",0),e.BMQ("data-pc-section","menu")("aria-label",n.ariaLabel)("aria-labelledBy",n.ariaLabelledBy)("id",n.menuId)("aria-activedescendant",n.focusedItemId),e.R7$(2),e.Y8G("ngForOf",n.items))},dependencies:()=>[m.YU,m.Sq,m.bT,m.T3,m.B3,L.Wk,L.wQ,E.n,j.m,U,Q,o],encapsulation:2})}return o})(),xu=(()=>{class o{document;platformId;el;renderer;cd;config;menubarService;set model(t){this._model=t,this._processedItems=this.createProcessedItems(this._model||[])}get model(){return this._model}style;styleClass;autoZIndex=!0;baseZIndex=0;autoDisplay=!0;autoHide;autoHideDelay=100;id;ariaLabel;ariaLabelledBy;onFocus=new e.bkB;onBlur=new e.bkB;templates;menubutton;rootmenu;startTemplate;endTemplate;menuIconTemplate;submenuIconTemplate;itemTemplate;mobileActive;outsideClickListener;resizeListener;mouseLeaveSubscriber;dirty=!1;focused=!1;activeItemPath=(0,e.vPA)([]);number=(0,e.vPA)(0);focusedItemInfo=(0,e.vPA)({index:-1,level:0,parentKey:"",item:null});searchValue="";searchTimeout;_processedItems;_model;get visibleItems(){const t=this.activeItemPath().find(i=>i.key===this.focusedItemInfo().parentKey);return t?t.items:this.processedItems}get processedItems(){return(!this._processedItems||!this._processedItems.length)&&(this._processedItems=this.createProcessedItems(this.model||[])),this._processedItems}get focusedItemId(){const t=this.focusedItemInfo();return t.item&&t.item?.id?t.item.id:-1!==t.index?`${this.id}${h.BF.isNotEmpty(t.parentKey)?"_"+t.parentKey:""}_${t.index}`:null}constructor(t,i,n,s,l,r,c){this.document=t,this.platformId=i,this.el=n,this.renderer=s,this.cd=l,this.config=r,this.menubarService=c,(0,e.QZP)(()=>{const p=this.activeItemPath();h.BF.isNotEmpty(p)?(this.bindOutsideClickListener(),this.bindResizeListener()):(this.unbindOutsideClickListener(),this.unbindResizeListener())})}ngOnInit(){this.menubarService.autoHide=this.autoHide,this.menubarService.autoHideDelay=this.autoHideDelay,this.mouseLeaveSubscriber=this.menubarService.mouseLeft$.subscribe(()=>this.unbindOutsideClickListener()),this.id=this.id||(0,h._Y)()}ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"start":this.startTemplate=t.template;break;case"end":this.endTemplate=t.template;break;case"menuicon":this.menuIconTemplate=t.template;break;case"submenuicon":this.submenuIconTemplate=t.template;break;default:this.itemTemplate=t.template}})}createProcessedItems(t,i=0,n={},s=""){const l=[];return t&&t.forEach((r,c)=>{const p=(""!==s?s+"_":"")+c,u={item:r,index:c,level:i,key:p,parent:n,parentKey:s};u.items=this.createProcessedItems(r.items,i+1,u,p),l.push(u)}),l}getItemProp(t,i){return t?h.BF.getItemValue(t[i]):void 0}menuButtonClick(t){this.toggle(t)}menuButtonKeydown(t){("Enter"===t.code||"Space"===t.code)&&this.menuButtonClick(t)}onItemClick(t){const{originalEvent:i,processedItem:n}=t,s=this.isProcessedItemGroup(n),l=h.BF.isEmpty(n.parent);if(this.isSelected(n)){const{index:c,key:p,level:u,parentKey:_,item:b}=n;this.activeItemPath.set(this.activeItemPath().filter(f=>p!==f.key&&p.startsWith(f.key))),this.focusedItemInfo.set({index:c,level:u,parentKey:_,item:b}),this.dirty=!l,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}else if(s)this.onItemChange(t);else{const c=l?n:this.activeItemPath().find(p=>""===p.parentKey);this.hide(i),this.changeFocusedItemIndex(i,c?c.index:-1),this.mobileActive=!1,d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}}onItemMouseEnter(t){d.D.isTouchDevice()||this.mobileActive||this.onItemChange(t)}changeFocusedItemIndex(t,i){const n=this.findVisibleItem(i);if(this.focusedItemInfo().index!==i){const s=this.focusedItemInfo();this.focusedItemInfo.set({...s,item:n.item,index:i}),this.scrollInView()}}scrollInView(t=-1){const n=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${-1!==t?`${this.id}_${t}`:this.focusedItemId}"]`);n&&n.scrollIntoView&&n.scrollIntoView({block:"nearest",inline:"nearest"})}onItemChange(t){const{processedItem:i,isFocus:n}=t;if(h.BF.isEmpty(i))return;const{index:s,key:l,level:r,parentKey:c,items:p,item:u}=i,_=h.BF.isNotEmpty(p),b=this.activeItemPath().filter(f=>f.parentKey!==c&&f.parentKey!==l);_&&b.push(i),this.focusedItemInfo.set({index:s,level:r,parentKey:c,item:u}),this.activeItemPath.set(b),_&&(this.dirty=!0),n&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}toggle(t){this.mobileActive?(this.mobileActive=!1,h.Q$.clear(this.rootmenu.el.nativeElement),this.hide()):(this.mobileActive=!0,h.Q$.set("menu",this.rootmenu.el.nativeElement,this.config.zIndex.menu),setTimeout(()=>{this.show()},0)),this.cd.markForCheck(),this.bindOutsideClickListener(),t.preventDefault()}hide(t,i){this.mobileActive&&setTimeout(()=>{d.D.focus(this.menubutton.nativeElement)},0),this.activeItemPath.set([]),this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),i&&d.D.focus(this.rootmenu.menubarViewChild.nativeElement),this.dirty=!1}show(){const t=this.findVisibleItem(this.findFirstFocusedItemIndex());this.focusedItemInfo.set({index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:t.item}),d.D.focus(this.rootmenu.menubarViewChild.nativeElement)}onMenuFocus(t){this.focused=!0;const i=this.findVisibleItem(this.findFirstFocusedItemIndex()),n=-1!==this.focusedItemInfo().index?this.focusedItemInfo():{index:this.findFirstFocusedItemIndex(),level:0,parentKey:"",item:i.item};this.focusedItemInfo.set(n),this.onFocus.emit(t)}onMenuBlur(t){this.focused=!1,this.focusedItemInfo.set({index:-1,level:0,parentKey:"",item:null}),this.searchValue="",this.dirty=!1,this.onBlur.emit(t)}onKeyDown(t){const i=t.metaKey||t.ctrlKey;switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"ArrowLeft":this.onArrowLeftKey(t);break;case"ArrowRight":this.onArrowRightKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Space":this.onSpaceKey(t);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t);break;case"PageDown":case"PageUp":case"Backspace":case"ShiftLeft":case"ShiftRight":break;default:!i&&h.BF.isPrintableCharacter(t.key)&&this.searchItems(t,t.key)}}findVisibleItem(t){return h.BF.isNotEmpty(this.visibleItems)?this.visibleItems[t]:null}findFirstFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findFirstItemIndex():t}findFirstItemIndex(){return this.visibleItems.findIndex(t=>this.isValidItem(t))}findSelectedItemIndex(){return this.visibleItems.findIndex(t=>this.isValidSelectedItem(t))}isProcessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}isSelected(t){return this.activeItemPath().some(i=>i.key===t.key)}isValidSelectedItem(t){return this.isValidItem(t)&&this.isSelected(t)}isValidItem(t){return!!t&&!this.isItemDisabled(t.item)&&!this.isItemSeparator(t.item)}isItemDisabled(t){return this.getItemProp(t,"disabled")}isItemSeparator(t){return this.getItemProp(t,"separator")}isItemMatched(t){return this.isValidItem(t)&&this.getProccessedItemLabel(t).toLocaleLowerCase().startsWith(this.searchValue.toLocaleLowerCase())}isProccessedItemGroup(t){return t&&h.BF.isNotEmpty(t.items)}searchItems(t,i){this.searchValue=(this.searchValue||"")+i;let n=-1,s=!1;return-1!==this.focusedItemInfo().index?(n=this.visibleItems.slice(this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)),n=-1===n?this.visibleItems.slice(0,this.focusedItemInfo().index).findIndex(l=>this.isItemMatched(l)):n+this.focusedItemInfo().index):n=this.visibleItems.findIndex(l=>this.isItemMatched(l)),-1!==n&&(s=!0),-1===n&&-1===this.focusedItemInfo().index&&(n=this.findFirstFocusedItemIndex()),-1!==n&&this.changeFocusedItemIndex(t,n),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),s}getProccessedItemLabel(t){return t?this.getItemLabel(t.item):void 0}getItemLabel(t){return this.getItemProp(t,"label")}onArrowDownKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&h.BF.isEmpty(i.parent))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowRightKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowRightKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(i&&this.activeItemPath().find(s=>s.key===i.parentKey))this.isProccessedItemGroup(i)&&(this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item}),this.onArrowDownKey(t));else{const s=-1!==this.focusedItemInfo().index?this.findNextItemIndex(this.focusedItemInfo().index):this.findFirstFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onArrowUpKey(t){const i=this.visibleItems[this.focusedItemInfo().index];if(h.BF.isEmpty(i.parent)){if(this.isProccessedItemGroup(i)){this.onItemChange({originalEvent:t,processedItem:i}),this.focusedItemInfo.set({index:-1,parentKey:i.key,item:i.item});const l=this.findLastItemIndex();this.changeFocusedItemIndex(t,l)}}else{const s=this.activeItemPath().find(l=>l.key===i.parentKey);if(0===this.focusedItemInfo().index){this.focusedItemInfo.set({index:-1,parentKey:s?s.parentKey:"",item:i.item}),this.searchValue="",this.onArrowLeftKey(t);const l=this.activeItemPath().filter(r=>r.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(l)}else{const l=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,l)}}t.preventDefault()}onArrowLeftKey(t){const i=this.visibleItems[this.focusedItemInfo().index],n=i?this.activeItemPath().find(s=>s.key===i.parentKey):null;if(n){this.onItemChange({originalEvent:t,processedItem:n});const s=this.activeItemPath().filter(l=>l.parentKey!==this.focusedItemInfo().parentKey);this.activeItemPath.set(s),t.preventDefault()}else{const s=-1!==this.focusedItemInfo().index?this.findPrevItemIndex(this.focusedItemInfo().index):this.findLastFocusedItemIndex();this.changeFocusedItemIndex(t,s),t.preventDefault()}}onHomeKey(t){this.changeFocusedItemIndex(t,this.findFirstItemIndex()),t.preventDefault()}onEndKey(t){this.changeFocusedItemIndex(t,this.findLastItemIndex()),t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}onEscapeKey(t){this.hide(t,!0),this.focusedItemInfo().index=this.findFirstFocusedItemIndex(),t.preventDefault()}onTabKey(t){if(-1!==this.focusedItemInfo().index){const i=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(i)&&this.onItemChange({originalEvent:t,processedItem:i})}this.hide()}onEnterKey(t){if(-1!==this.focusedItemInfo().index){const i=d.D.findSingle(this.rootmenu.el.nativeElement,`li[id="${this.focusedItemId}"]`),n=i&&d.D.findSingle(i,'a[data-pc-section="action"]');n?n.click():i&&i.click();const s=this.visibleItems[this.focusedItemInfo().index];!this.isProccessedItemGroup(s)&&(this.focusedItemInfo().index=this.findFirstFocusedItemIndex())}t.preventDefault()}findLastFocusedItemIndex(){const t=this.findSelectedItemIndex();return t<0?this.findLastItemIndex():t}findLastItemIndex(){return h.BF.findLastIndex(this.visibleItems,t=>this.isValidItem(t))}findPrevItemIndex(t){const i=t>0?h.BF.findLastIndex(this.visibleItems.slice(0,t),n=>this.isValidItem(n)):-1;return i>-1?i:t}findNextItemIndex(t){const i=tthis.isValidItem(n)):-1;return i>-1?i+t+1:t}bindResizeListener(){(0,m.UE)(this.platformId)&&(this.resizeListener||(this.resizeListener=this.renderer.listen(this.document.defaultView,"resize",t=>{d.D.isTouchDevice()||this.hide(t,!0),this.mobileActive=!1})))}bindOutsideClickListener(){(0,m.UE)(this.platformId)&&(this.outsideClickListener||(this.outsideClickListener=this.renderer.listen(this.document,"click",t=>{const i=this.rootmenu.el.nativeElement!==t.target&&!this.rootmenu.el.nativeElement.contains(t.target),n=this.mobileActive&&this.menubutton.nativeElement!==t.target&&!this.menubutton.nativeElement.contains(t.target);i&&(n?this.mobileActive=!1:this.hide())})))}unbindOutsideClickListener(){this.outsideClickListener&&(this.outsideClickListener(),this.outsideClickListener=null)}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}ngOnDestroy(){this.mouseLeaveSubscriber?.unsubscribe(),this.unbindOutsideClickListener(),this.unbindResizeListener()}static \u0275fac=function(i){return new(i||o)(e.rXU(m.qQ),e.rXU(e.Agw),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(e.gRc),e.rXU(g.r1),e.rXU(pe))};static \u0275cmp=e.VBU({type:o,selectors:[["p-menubar"]],contentQueries:function(i,n,s){if(1&i&&e.wni(s,g.Ei,4),2&i){let l;e.mGM(l=e.lsd())&&(n.templates=l)}},viewQuery:function(i,n){if(1&i&&(e.GBs(du,5),e.GBs(pu,5)),2&i){let s;e.mGM(s=e.lsd())&&(n.menubutton=s.first),e.mGM(s=e.lsd())&&(n.rootmenu=s.first)}},hostAttrs:[1,"p-element"],inputs:{model:"model",style:"style",styleClass:"styleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",autoDisplay:"autoDisplay",autoHide:"autoHide",autoHideDelay:"autoHideDelay",id:"id",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onFocus:"onFocus",onBlur:"onBlur"},features:[e.Jv_([pe])],ngContentSelectors:uu,decls:8,vars:24,consts:[["rootmenu",""],["legacy",""],["menubutton",""],[3,"ngClass","ngStyle"],["class","p-menubar-start",4,"ngIf"],["tabindex","0","role","button","class","p-menubar-button",3,"click","keydown",4,"ngIf"],[3,"itemClick","menuFocus","menuBlur","menuKeydown","itemMouseEnter","items","itemTemplate","menuId","root","baseZIndex","autoZIndex","mobileActive","autoDisplay","ariaLabel","ariaLabelledBy","focusedItemId","activeItemPath"],["class","p-menubar-end",4,"ngIf","ngIfElse"],[1,"p-menubar-start"],[4,"ngTemplateOutlet"],["tabindex","0","role","button",1,"p-menubar-button",3,"click","keydown"],[4,"ngIf"],[1,"p-menubar-end"]],template:function(i,n){if(1&i){const s=e.RV6();e.NAR(),e.j41(0,"div",3),e.DNE(1,_u,2,1,"div",4)(2,vu,4,7,"a",5),e.j41(3,"p-menubarSub",6,0),e.bIt("itemClick",function(r){return e.eBV(s),e.Njj(n.onItemClick(r))})("menuFocus",function(r){return e.eBV(s),e.Njj(n.onMenuFocus(r))})("menuBlur",function(r){return e.eBV(s),e.Njj(n.onMenuBlur(r))})("menuKeydown",function(r){return e.eBV(s),e.Njj(n.onKeyDown(r))})("itemMouseEnter",function(r){return e.eBV(s),e.Njj(n.onItemMouseEnter(r))}),e.k0s(),e.DNE(5,Cu,2,1,"div",7)(6,wu,2,0,"ng-template",null,1,e.C5r),e.k0s()}if(2&i){const s=e.sdS(7);e.HbH(n.styleClass),e.Y8G("ngClass",e.eq3(22,hu,n.mobileActive))("ngStyle",n.style),e.BMQ("data-pc-section","root")("data-pc-name","menubar"),e.R7$(),e.Y8G("ngIf",n.startTemplate),e.R7$(),e.Y8G("ngIf",n.model&&n.model.length>0),e.R7$(),e.Y8G("items",n.processedItems)("itemTemplate",n.itemTemplate)("menuId",n.id)("root",!0)("baseZIndex",n.baseZIndex)("autoZIndex",n.autoZIndex)("mobileActive",n.mobileActive)("autoDisplay",n.autoDisplay)("ariaLabel",n.ariaLabel)("ariaLabelledBy",n.ariaLabelledBy)("focusedItemId",n.focused?n.focusedItemId:void 0)("activeItemPath",n.activeItemPath()),e.R7$(2),e.Y8G("ngIf",n.endTemplate)("ngIfElse",s)}},dependencies:()=>[m.YU,m.bT,m.T3,m.B3,et,Iu],styles:["@layer primeng{.p-menubar{display:flex;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:2}.p-menubar .p-submenu-list>.p-menuitem-active>p-menubarsub>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon:not(svg){margin-left:auto}.p-menubar .p-menubar-root-list .p-icon-wrapper,.p-menubar .p-submenu-list .p-menuitem-link .p-icon-wrapper{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;align-self:center}.p-menubar-button{display:none;cursor:pointer;align-items:center;justify-content:center}}\n"],encapsulation:2,changeDetection:0})}return o})(),Tu=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e.$C({type:o});static \u0275inj=e.G2t({imports:[m.MD,L.iI,E.Z,j.S,g.Gg,et,U,Q,L.iI,j.S,g.Gg]})}return o})();var ku=I(894);const Su=(o,a)=>({"ml-auto":o,"ml-2":a}),Du=o=>["pi",o];function Eu(o,a){}function Ru(o,a){if(1&o&&e.nrm(0,"p-badge",11),2&o){const t=e.XpG(2),i=t.$implicit,n=t.root;e.Y8G("ngClass",e.l_i(2,Su,!n,n))("value",i.badge)}}function Mu(o,a){if(1&o&&(e.j41(0,"span",12),e.EFF(1),e.k0s()),2&o){const t=e.XpG(2).$implicit;e.R7$(),e.JRh(t.shortcut)}}function Fu(o,a){if(1&o&&e.nrm(0,"i",13),2&o){const t=e.XpG(2).root;e.Y8G("ngClass",e.eq3(1,Du,t?"pi-angle-down ml-2":"pi-angle-right ml-auto"))}}function Gu(o,a){if(1&o&&(e.qex(0),e.j41(1,"a",6),e.nrm(2,"i"),e.j41(3,"span",7),e.EFF(4),e.k0s(),e.DNE(5,Ru,1,5,"p-badge",8)(6,Mu,2,1,"span",9)(7,Fu,1,3,"i",10),e.k0s(),e.bVm()),2&o){const t=e.XpG().$implicit;e.R7$(),e.Y8G("routerLink",t.route),e.R7$(),e.HbH(t.icon),e.R7$(2),e.JRh(t.label),e.R7$(),e.Y8G("ngIf",t.badge),e.R7$(),e.Y8G("ngIf",t.shortcut),e.R7$(),e.Y8G("ngIf",t.items)}}function Vu(o,a){1&o&&e.DNE(0,Gu,8,7,"ng-container",5),2&o&&e.Y8G("ngIf",a.$implicit.route)}function Bu(o,a){if(1&o){const t=e.RV6();e.j41(0,"a",14),e.EFF(1),e.k0s(),e.j41(2,"div",15)(3,"p-inputGroup"),e.nrm(4,"input",16,0),e.j41(6,"p-button",17),e.bIt("click",function(){e.eBV(t);const n=e.sdS(5),s=e.XpG();return e.Njj(s.applyFilter(n.value))}),e.nrm(7,"span",18),e.k0s()()()}if(2&o){const t=e.XpG();e.R7$(),e.SpI("Total: ",t.statisSource.total," ")}}let Ou=(()=>{class o{constructor(t,i){this.statusSource=t,this.tableService=i}ngOnInit(){this.statusSource.statusSource$.subscribe(t=>{this.statisSource=t}),this.items=[{label:"Full",icon:"pi pi-table",routerLink:["/"]},{label:"Cluster Pasture",icon:"pi pi-table",routerLink:["/pasture"]},{label:"Cluster Medicine",icon:"pi pi-table",routerLink:["/medicine"]}]}applyFilter(t){this.tableService.applyFilter(t)}static#e=this.\u0275fac=function(i){return new(i||o)(e.rXU(ku.d),e.rXU($.F))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-head"]],standalone:!0,features:[e.aNF],decls:4,vars:1,consts:[["search",""],[3,"model"],["pTemplate","start"],["pTemplate","item"],["pTemplate","end"],[4,"ngIf"],[1,"p-menuitem-link",3,"routerLink"],[1,"ml-2"],[3,"ngClass","value",4,"ngIf"],["class","ml-auto border-1 surface-border border-round surface-100 text-xs p-1",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","value"],[1,"ml-auto","border-1","surface-border","border-round","surface-100","text-xs","p-1"],[3,"ngClass"],["p-menuitem-text","",1,"flex","align-items-center","p-menuitem-link"],[1,"flex","align-items-center","gap-2"],["type","text","pInputText","","placeholder","Search",1,"w-8rem","sm:w-auto"],[3,"click"],[1,"pi","pi-search"]],template:function(i,n){1&i&&(e.j41(0,"p-menubar",1),e.DNE(1,Eu,0,0,"ng-template",2)(2,Vu,1,1,"ng-template",3)(3,Bu,8,1,"ng-template",4),e.k0s()),2&i&&e.Y8G("model",n.items)},dependencies:[Cp,yp,g.Ei,Je.EJ,Je.Ex,Tu,xu,L.Wk,H.u,H.S,m.YU,E.Z,m.bT,M.tm,M.$n]})}return o})(),Lu=(()=>{class o{static#e=this.\u0275fac=function(i){return new(i||o)};static#t=this.\u0275mod=e.$C({type:o});static#i=this.\u0275inj=e.G2t({imports:[m.MD,hp,de,bp,Ou]})}return o})()}}]); \ No newline at end of file diff --git a/index.html b/index.html index 503023f..374e536 100644 --- a/index.html +++ b/index.html @@ -37,5 +37,5 @@ - + diff --git a/main.b4ceeb014a2baa3f.js b/main.b4ceeb014a2baa3f.js new file mode 100644 index 0000000..6ced79c --- /dev/null +++ b/main.b4ceeb014a2baa3f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkgrassland_literature_review=self.webpackChunkgrassland_literature_review||[]).push([[792],{6497:(Ze,De,N)=>{N.d(De,{G:()=>$});var g=N(177),v=N(4341),F=N(5875),re=N(494),f=N(1141),L=N(1631),A=N(4438);let $=(()=>{class H{static#e=this.\u0275fac=function(J){return new(J||H)};static#t=this.\u0275mod=A.$C({type:H});static#n=this.\u0275inj=A.G2t({imports:[g.MD,v.YN,F.n,re.Ko,f.tm,L.H_]})}return H})()},7693:(Ze,De,N)=>{N.d(De,{Y:()=>F});var g=N(4438),v=N(1413);let F=(()=>{class re{constructor(){this._config={ripple:!1,inputStyle:"outlined",menuMode:"static",colorScheme:"light",theme:"green",scale:14,menuTheme:"primaryColor"},this.config=(0,g.vPA)(this._config),this.state={staticMenuDesktopInactive:!1,overlayMenuActive:!1,profileSidebarVisible:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,sidebarActive:!1,anchored:!1},this.configUpdate=new v.B,this.overlayOpen=new v.B,this.configUpdate$=this.configUpdate.asObservable(),this.overlayOpen$=this.overlayOpen.asObservable(),(0,g.QZP)(()=>{const L=this.config();this.updateStyle(L)&&this.changeTheme(),this.changeScale(L.scale),this.onConfigUpdate()})}updateStyle(L){return L.theme!==this._config.theme||L.colorScheme!==this._config.colorScheme}onMenuToggle(){this.isOverlay()&&(this.state.overlayMenuActive=!this.state.overlayMenuActive,this.state.overlayMenuActive&&this.overlayOpen.next(null)),this.isDesktop()?this.state.staticMenuDesktopInactive=!this.state.staticMenuDesktopInactive:(this.state.staticMenuMobileActive=!this.state.staticMenuMobileActive,this.state.staticMenuMobileActive&&this.overlayOpen.next(null))}onOverlaySubmenuOpen(){this.overlayOpen.next(null)}showProfileSidebar(){this.state.profileSidebarVisible=!0}showConfigSidebar(){this.state.configSidebarVisible=!0}isOverlay(){return"overlay"===this.config().menuMode}isDesktop(){return window.innerWidth>991}isSlim(){return"slim"===this.config().menuMode}isSlimPlus(){return"slim-plus"===this.config().menuMode}isHorizontal(){return"horizontal"===this.config().menuMode}isMobile(){return!this.isDesktop()}onConfigUpdate(){this._config={...this.config()},this.configUpdate.next(this.config())}changeTheme(){const L=this.config(),H=document.getElementById("theme-link").getAttribute("href").split("/").map(k=>k==this._config.theme?k=L.theme:k==`theme-${this._config.colorScheme}`?k=`theme-${L.colorScheme}`:k).join("/");this.replaceThemeLink(H)}replaceThemeLink(L){const A="theme-link";let $=document.getElementById(A);const H=$.cloneNode(!0);H.setAttribute("href",L),H.setAttribute("id",A+"-clone"),$.parentNode.insertBefore(H,$.nextSibling),H.addEventListener("load",()=>{$.remove(),H.setAttribute("id",A)})}changeScale(L){document.documentElement.style.fontSize=`${L}px`}static#e=this.\u0275fac=function(A){return new(A||re)};static#t=this.\u0275prov=g.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},4125:(Ze,De,N)=>{N.d(De,{F:()=>F});var g=N(4438),v=N(1626);let F=(()=>{class re{constructor(L){this.http=L}getSources(L,A,$,H,k){let W={type_source:L,page:A};return $&&(W.search=$),void 0!==H&&(W.cluster=H),void 0!==k&&(W.sort_active=k.active,W.sort_direction=k.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${L}`,{params:W})}getTotal(L,A,$,H){let k={type_source:L,page:0};return A&&(k.search=A),void 0!==$&&(k.cluster=$),void 0!==H&&(k.sort_active=H.active,k.sort_direction=H.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${L}`,{params:k})}getSource(L){return this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/id/${L}`)}static#e=this.\u0275fac=function(A){return new(A||re)(g.KVO(v.Qq))};static#t=this.\u0275prov=g.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},894:(Ze,De,N)=>{N.d(De,{d:()=>F});var g=N(4412),v=N(4438);let F=(()=>{class re{constructor(){this.statusSource=new g.t({total:0,pages:0}),this.statusSource$=this.statusSource.asObservable()}setStatus(L){this.statusSource.next(L)}static#e=this.\u0275fac=function(A){return new(A||re)};static#t=this.\u0275prov=v.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},139:(Ze,De,N)=>{N.d(De,{F:()=>L});var g=N(4412),v=N(4438),F=N(4125),re=N(894);let L=(()=>{class A{constructor(H,k){this.sourceService=H,this.statusSourceService=k,this.table=new g.t([]),this._search=new g.t(void 0),this.search$=this._search.asObservable(),this.table$=this.table.asObservable(),this.type_source="all",this.page=1,this.limit=1e3,this.full=!0}setInfo(H,k){this.type_source=H,this.cluster=k,this.getSourcesData(1)}applyFilter(H){this.search=H,this._search.next(H),this.getSourcesData(1)}getSourcesData(H){this.pageIndex=H,1===H&&this.getTotal(),this.sourceService.getSources(this.type_source,H,this.search,this.cluster,this.sortState).subscribe(k=>{this.setData(k)},k=>{console.error("Erro ao obter dados da fonte:",k)})}getTotal(){this.sourceService.getTotal(this.type_source,this.search,this.cluster,this.sortState).subscribe(H=>{this.statusSourceService.setStatus(H),this.limit=H.total},H=>{console.error("Erro ao obter dados da fonte:",H)})}setData(H){this.table.next(H)}announceSortChange(H){this.sortState=H,this.getSourcesData(1)}static#e=this.\u0275fac=function(k){return new(k||A)(v.KVO(F.F),v.KVO(re.d))};static#t=this.\u0275prov=v.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},1480:(Ze,De,N)=>{var g=N(345),v=N(177),F=N(7488),re=N(5964),f=N(4438),L=N(7693);function A(S,u){if(1&S&&f.nrm(0,"li",4),2&S){const l=f.XpG(),w=l.index;f.Y8G("item",l.$implicit)("index",w)("root",!0)}}function $(S,u){1&S&&f.nrm(0,"li",5)}function H(S,u){if(1&S&&(f.qex(0),f.DNE(1,A,1,3,"li",2)(2,$,1,0,"li",3),f.bVm()),2&S){const l=u.$implicit;f.R7$(),f.Y8G("ngIf",!l.separator),f.R7$(),f.Y8G("ngIf",l.separator)}}let k=(()=>{class S{constructor(){this.model=[]}ngOnInit(){this.model=[{label:"HOME",icon:"pi pi-home",items:[{label:"Literature",icon:"pi pi-fw pi-book",routerLink:["/literature"]}]},{label:"Cluster",icon:"pi pi-home",items:[{label:"Pasture Cluster",icon:"pi pi-fw pi-book",routerLink:["/literature/cluster/pasture"]}]}]}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-menu"]],decls:2,vars:1,consts:[[1,"layout-menu"],[4,"ngFor","ngForOf"],["app-menuitem","",3,"item","index","root",4,"ngIf"],["class","menu-separator",4,"ngIf"],["app-menuitem","",3,"item","index","root"],[1,"menu-separator"]],template:function(_,w){1&_&&(f.j41(0,"ul",0),f.DNE(1,H,3,2,"ng-container",1),f.k0s()),2&_&&(f.R7$(),f.Y8G("ngForOf",w.model))},encapsulation:2})}return S})();const W=["menuContainer"],J=()=>["/"];let le=(()=>{class S{constructor(l,_){this.layoutService=l,this.el=_,this.timeout=null}onMouseEnter(){this.layoutService.state.anchored||(this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.layoutService.state.sidebarActive=!0)}onMouseLeave(){this.layoutService.state.anchored||this.timeout||(this.timeout=setTimeout(()=>this.layoutService.state.sidebarActive=!1,300))}anchor(){this.layoutService.state.anchored=!this.layoutService.state.anchored}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y),f.rXU(f.aKT))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-sidebar"]],viewQuery:function(_,w){if(1&_&&f.GBs(W,5),2&_){let x;f.mGM(x=f.lsd())&&(w.menuContainer=x.first)}},decls:9,vars:2,consts:[["menuContainer",""],[1,"layout-sidebar",3,"mouseenter","mouseleave"],[1,"sidebar-header"],[1,"app-logo",3,"routerLink"],["src","assets/layout/images/logo.png",1,"app-logo-small"],["src","assets/layout/images/logo.png",1,"app-logo-normal"],["type","button",1,"layout-sidebar-anchor","p-link","z-2","mb-2",3,"click"],[1,"layout-menu-container"]],template:function(_,w){if(1&_){const x=f.RV6();f.j41(0,"div",1),f.bIt("mouseenter",function(){return f.eBV(x),f.Njj(w.onMouseEnter())})("mouseleave",function(){return f.eBV(x),f.Njj(w.onMouseLeave())}),f.j41(1,"div",2)(2,"a",3),f.nrm(3,"img",4)(4,"img",5),f.k0s(),f.j41(5,"button",6),f.bIt("click",function(){return f.eBV(x),f.Njj(w.anchor())}),f.k0s()(),f.j41(6,"div",7,0),f.nrm(8,"app-menu"),f.k0s()()}2&_&&(f.R7$(2),f.Y8G("routerLink",f.lJ4(1,J)))},dependencies:[F.Wk,k],encapsulation:2})}return S})();var fe=N(894),be=N(139),Le=N(2242),He=N(1141),at=N(4412);function Bt(S,u){1&S&&(f.j41(0,"li",3),f.EFF(1," / "),f.k0s())}function St(S,u){if(1&S&&(f.j41(0,"li"),f.EFF(1),f.k0s(),f.DNE(2,Bt,2,0,"li",2)),2&S){const l=u.$implicit,_=u.last;f.R7$(),f.JRh(l.label),f.R7$(),f.Y8G("ngIf",!_)}}let $e=(()=>{class S{constructor(l){this.router=l,this._breadcrumbs$=new at.t([]),this.breadcrumbs$=this._breadcrumbs$.asObservable(),this.router.events.pipe((0,re.p)(_=>_ instanceof F.wF)).subscribe(_=>{const x=[];this.addBreadcrumb(this.router.routerState.snapshot.root,[],x),this._breadcrumbs$.next(x)})}addBreadcrumb(l,_,w){const x=_.concat(l.url.map(te=>te.path)),G=l.data.breadcrumb;G&&G!==(l.parent&&l.parent.data?l.parent.data.breadcrumb:null)&&w.push({label:l.data.breadcrumb,url:"/"+x.join("/")}),l.firstChild&&this.addBreadcrumb(l.firstChild,x,w)}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(F.Ix))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-breadcrumb"]],decls:4,vars:3,consts:[[1,"layout-breadcrumb"],["ngFor","",3,"ngForOf"],["class","layout-breadcrumb-chevron",4,"ngIf"],[1,"layout-breadcrumb-chevron"]],template:function(_,w){1&_&&(f.j41(0,"nav",0)(1,"ol"),f.DNE(2,St,3,2,"ng-template",1),f.nI1(3,"async"),f.k0s()()),2&_&&(f.R7$(2),f.Y8G("ngForOf",f.bMT(3,1,w.breadcrumbs$)))},dependencies:[v.Sq,v.bT,v.Jj],encapsulation:2})}return S})();const pe=["menubutton"];function et(S,u){if(1&S&&(f.j41(0,"div",16)(1,"h4"),f.EFF(2),f.nI1(3,"number"),f.k0s()()),2&S){const l=f.XpG();f.R7$(2),f.SpI("Total records: ",f.bMT(3,1,l.statisSource.total),"")}}let se=(()=>{class S{constructor(l,_,w){this.layoutService=l,this.statusSource=_,this.tableService=w}ngOnInit(){this.statusSource.statusSource$.subscribe(l=>{this.statisSource=l})}onMenuButtonClick(){this.layoutService.onMenuToggle()}onProfileButtonClick(){this.layoutService.showProfileSidebar()}onConfigButtonClick(){this.layoutService.showConfigSidebar()}applyFilter(l){console.log("CLiquei no bot\xe3o"),this.tableService.applyFilter(l)}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y),f.rXU(fe.d),f.rXU(be.F))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-topbar"]],viewQuery:function(_,w){if(1&_&&f.GBs(pe,5),2&_){let x;f.mGM(x=f.lsd())&&(w.menuButton=x.first)}},decls:16,vars:1,consts:[["menubutton",""],["serach",""],[1,"layout-topbar"],[1,"topbar-start"],["type","button",1,"topbar-menubutton","p-link","p-trigger",3,"click"],[1,"pi","pi-bars"],[1,"topbar-breadcrumb"],["class","flex align-items-center justify-content-center",4,"ngIf"],[1,"topbar-end"],[1,"topbar-menu"],[1,"topbar-search"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search",1,"w-12rem","sm:w-full"],[1,"ml-3"],["pButton","","type","button","icon","pi pi-search",1,"p-button-text","p-button-secondary","p-button-rounded","flex-shrinkcog-0",3,"click"],[1,"flex","align-items-center","justify-content-center"]],template:function(_,w){if(1&_){const x=f.RV6();f.j41(0,"div",2)(1,"div",3)(2,"button",4,0),f.bIt("click",function(){return f.eBV(x),f.Njj(w.onMenuButtonClick())}),f.nrm(4,"i",5),f.k0s(),f.nrm(5,"app-breadcrumb",6),f.k0s(),f.DNE(6,et,4,3,"div",7),f.j41(7,"div",8)(8,"ul",9)(9,"li",10)(10,"span",11),f.nrm(11,"i",12)(12,"input",13,1),f.k0s()(),f.j41(14,"li",14)(15,"button",15),f.bIt("click",function(){f.eBV(x);const U=f.sdS(13);return f.Njj(w.applyFilter(U.value))}),f.k0s()()()()()}2&_&&(f.R7$(6),f.Y8G("ngIf",w.statisSource.total))},dependencies:[v.bT,Le.S,He._f,$e,v.QX],encapsulation:2})}return S})();var ne=N(1413);let Ie=(()=>{class S{constructor(){this.menuSource=new ne.B,this.resetSource=new ne.B,this.menuSource$=this.menuSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onMenuStateChange(l){this.menuSource.next(l)}reset(){this.resetSource.next(!0)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();var Ee=N(5875),Y=N(6150);let xe=(()=>{class S{constructor(l){this.layoutService=l}get visible(){return this.layoutService.state.profileSidebarVisible}set visible(l){this.layoutService.state.profileSidebarVisible=l}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-profilemenu"]],decls:112,vars:2,consts:[["position","right","styleClass","layout-profile-sidebar w-full sm:w-25rem",3,"visibleChange","visible","transitionOptions"],[1,"flex","flex-column","mx-auto","md:mx-0"],[1,"mb-2","font-semibold"],[1,"text-color-secondary","font-medium","mb-5"],[1,"list-none","m-0","p-0"],[1,"cursor-pointer","flex","surface-border","mb-3","p-3","align-items-center","border-1","surface-border","border-round","hover:surface-hover","transition-colors","transition-duration-150"],[1,"pi","pi-user","text-xl","text-primary"],[1,"ml-3"],[1,"text-color-secondary","m-0"],[1,"pi","pi-cog","text-xl","text-primary"],[1,"pi","pi-power-off","text-xl","text-primary"],[1,"flex","flex-column","mt-5","mx-auto","md:mx-0"],[1,"pi","pi-comment","text-xl","text-primary"],[1,"pi","pi-trash","text-xl","text-primary"],[1,"pi","pi-folder","text-xl","text-primary"],["src","assets/demo/images/avatar/circle/avatar-m-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","3",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","1",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-4.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","2",1,"ml-auto"]],template:function(_,w){1&_&&(f.j41(0,"p-sidebar",0),f.mxI("visibleChange",function(G){return f.DH7(w.visible,G)||(w.visible=G),G}),f.j41(1,"div",1)(2,"span",2),f.EFF(3,"Welcome"),f.k0s(),f.j41(4,"span",3),f.EFF(5,"Isabella Andolini"),f.k0s(),f.j41(6,"ul",4)(7,"li")(8,"a",5)(9,"span"),f.nrm(10,"i",6),f.k0s(),f.j41(11,"div",7)(12,"span",2),f.EFF(13,"Profile"),f.k0s(),f.j41(14,"p",8),f.EFF(15,"Lorem ipsum date visale"),f.k0s()()()(),f.j41(16,"li")(17,"a",5)(18,"span"),f.nrm(19,"i",6),f.k0s(),f.j41(20,"div",7)(21,"span",2),f.EFF(22,"Billing"),f.k0s(),f.j41(23,"p",8),f.EFF(24,"Amet mimin m\u0131ollit"),f.k0s()()()(),f.j41(25,"li")(26,"a",5)(27,"span"),f.nrm(28,"i",9),f.k0s(),f.j41(29,"div",7)(30,"span",2),f.EFF(31,"Settings"),f.k0s(),f.j41(32,"p",8),f.EFF(33,"Exercitation veniam"),f.k0s()()()(),f.j41(34,"li")(35,"a",5)(36,"span"),f.nrm(37,"i",10),f.k0s(),f.j41(38,"div",7)(39,"span",2),f.EFF(40,"Sign Out"),f.k0s(),f.j41(41,"p",8),f.EFF(42,"Sed ut perspiciatis"),f.k0s()()()()()(),f.j41(43,"div",11)(44,"span",2),f.EFF(45,"Notifications"),f.k0s(),f.j41(46,"span",3),f.EFF(47,"You have 3 notifications"),f.k0s(),f.j41(48,"ul",4)(49,"li")(50,"a",5)(51,"span"),f.nrm(52,"i",12),f.k0s(),f.j41(53,"div",7)(54,"span",2),f.EFF(55,"Your post has new comments"),f.k0s(),f.j41(56,"p",8),f.EFF(57,"5 min ago"),f.k0s()()()(),f.j41(58,"li")(59,"a",5)(60,"span"),f.nrm(61,"i",13),f.k0s(),f.j41(62,"div",7)(63,"span",2),f.EFF(64,"Your post has been deleted"),f.k0s(),f.j41(65,"p",8),f.EFF(66,"15min ago"),f.k0s()()()(),f.j41(67,"li")(68,"a",5)(69,"span"),f.nrm(70,"i",14),f.k0s(),f.j41(71,"div",7)(72,"span",2),f.EFF(73,"Post has been updated"),f.k0s(),f.j41(74,"p",8),f.EFF(75,"3h ago"),f.k0s()()()()()(),f.j41(76,"div",11)(77,"span",2),f.EFF(78,"Messages"),f.k0s(),f.j41(79,"span",3),f.EFF(80,"You have new messages"),f.k0s(),f.j41(81,"ul",4)(82,"li")(83,"a",5)(84,"span"),f.nrm(85,"img",15),f.k0s(),f.j41(86,"div",7)(87,"span",2),f.EFF(88,"James Robinson"),f.k0s(),f.j41(89,"p",8),f.EFF(90,"10 min ago"),f.k0s()(),f.nrm(91,"p-badge",16),f.k0s()(),f.j41(92,"li")(93,"a",5)(94,"span"),f.nrm(95,"img",17),f.k0s(),f.j41(96,"div",7)(97,"span",2),f.EFF(98,"Mary Watson"),f.k0s(),f.j41(99,"p",8),f.EFF(100,"15min ago"),f.k0s()(),f.nrm(101,"p-badge",18),f.k0s()(),f.j41(102,"li")(103,"a",5)(104,"span"),f.nrm(105,"img",19),f.k0s(),f.j41(106,"div",7)(107,"span",2),f.EFF(108,"Aisha Webb"),f.k0s(),f.j41(109,"p",8),f.EFF(110,"3h ago"),f.k0s()(),f.nrm(111,"p-badge",20),f.k0s()()()()()),2&_&&(f.R50("visible",w.visible),f.Y8G("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)"))},dependencies:[Ee.B,Y.Ex],encapsulation:2})}return S})();const qe={anchorScrolling:"enabled"},Oe=[{path:"",loadChildren:()=>N.e(726).then(N.bind(N,2726)).then(S=>S.LandingModule)},{path:"literature",component:(()=>{class S{constructor(l,_,w,x){this.menuService=l,this.layoutService=_,this.renderer=w,this.router=x,this.overlayMenuOpenSubscription=this.layoutService.overlayOpen$.subscribe(()=>{this.menuOutsideClickListener||(this.menuOutsideClickListener=this.renderer.listen("document","click",G=>{!(this.appSidebar.el.nativeElement.isSameNode(G.target)||this.appSidebar.el.nativeElement.contains(G.target)||this.appTopbar.menuButton.nativeElement.isSameNode(G.target)||this.appTopbar.menuButton.nativeElement.contains(G.target))&&this.hideMenu()})),(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&!this.menuScrollListener&&(this.menuScrollListener=this.renderer.listen(this.appSidebar.menuContainer.nativeElement,"scroll",G=>{this.layoutService.isDesktop()&&this.hideMenu()})),this.layoutService.state.staticMenuMobileActive&&this.blockBodyScroll()}),this.router.events.pipe((0,re.p)(G=>G instanceof F.wF)).subscribe(()=>{this.hideMenu()})}blockBodyScroll(){document.body.classList?document.body.classList.add("blocked-scroll"):document.body.className+=" blocked-scroll"}unblockBodyScroll(){document.body.classList?document.body.classList.remove("blocked-scroll"):document.body.className=document.body.className.replace(new RegExp("(^|\\b)"+"blocked-scroll".split(" ").join("|")+"(\\b|$)","gi")," ")}hideMenu(){this.layoutService.state.overlayMenuActive=!1,this.layoutService.state.staticMenuMobileActive=!1,this.layoutService.state.menuHoverActive=!1,this.menuService.reset(),this.menuOutsideClickListener&&(this.menuOutsideClickListener(),this.menuOutsideClickListener=null),this.menuScrollListener&&(this.menuScrollListener(),this.menuScrollListener=null),this.unblockBodyScroll()}get containerClass(){return{"layout-light":"light"===this.layoutService.config().colorScheme,"layout-dim":"dim"===this.layoutService.config().colorScheme,"layout-dark":"dark"===this.layoutService.config().colorScheme,"layout-colorscheme-menu":"colorScheme"===this.layoutService.config().menuTheme,"layout-primarycolor-menu":"primaryColor"===this.layoutService.config().menuTheme,"layout-transparent-menu":"transparent"===this.layoutService.config().menuTheme,"layout-overlay":"overlay"===this.layoutService.config().menuMode,"layout-static":"static"===this.layoutService.config().menuMode,"layout-slim":"slim"===this.layoutService.config().menuMode,"layout-slim-plus":"slim-plus"===this.layoutService.config().menuMode,"layout-horizontal":"horizontal"===this.layoutService.config().menuMode,"layout-reveal":"reveal"===this.layoutService.config().menuMode,"layout-drawer":"drawer"===this.layoutService.config().menuMode,"layout-static-inactive":this.layoutService.state.staticMenuDesktopInactive&&"static"===this.layoutService.config().menuMode,"layout-overlay-active":this.layoutService.state.overlayMenuActive,"layout-mobile-active":this.layoutService.state.staticMenuMobileActive,"p-input-filled":"filled"===this.layoutService.config().inputStyle,"p-ripple-disabled":!this.layoutService.config().ripple,"layout-sidebar-active":this.layoutService.state.sidebarActive,"layout-sidebar-anchored":this.layoutService.state.anchored}}ngOnDestroy(){this.overlayMenuOpenSubscription&&this.overlayMenuOpenSubscription.unsubscribe(),this.menuOutsideClickListener&&this.menuOutsideClickListener()}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(Ie),f.rXU(L.Y),f.rXU(f.sFG),f.rXU(F.Ix))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-layout"]],viewQuery:function(_,w){if(1&_&&(f.GBs(le,5),f.GBs(se,5)),2&_){let x;f.mGM(x=f.lsd())&&(w.appSidebar=x.first),f.mGM(x=f.lsd())&&(w.appTopbar=x.first)}},decls:9,vars:1,consts:[[1,"layout-container",3,"ngClass"],[1,"layout-content-wrapper"],[1,"content-breadcrumb"],[1,"layout-content"],[1,"layout-mask"]],template:function(_,w){1&_&&(f.j41(0,"div",0),f.nrm(1,"app-sidebar"),f.j41(2,"div",1),f.nrm(3,"app-topbar")(4,"app-breadcrumb",2),f.j41(5,"div",3),f.nrm(6,"router-outlet"),f.k0s()(),f.nrm(7,"app-profilemenu")(8,"div",4),f.k0s()),2&_&&f.Y8G("ngClass",w.containerClass)},dependencies:[v.YU,F.n3,$e,le,se,xe],encapsulation:2})}return S})(),loadChildren:()=>N.e(503).then(N.bind(N,503)).then(S=>S.HomeModule)},{path:"notfound",loadChildren:()=>N.e(811).then(N.bind(N,6811)).then(S=>S.NotfoundModule)},{path:"**",redirectTo:"/notfound"}];let ze=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[F.iI.forRoot(Oe,qe),F.iI]})}return S})();var pt=N(3888),$t=N(8793),me=N(6697),Ce=N(9974),Se=N(4360),Me=N(5343),Fe=N(3703),st=N(1397),Lt=N(8750);function Ut(S,u){return u?l=>(0,$t.x)(u.pipe((0,me.s)(1),function je(){return(0,Ce.N)((S,u)=>{S.subscribe((0,Se._)(u,Me.l))})}()),l.pipe(Ut(S))):(0,st.Z)((l,_)=>(0,Lt.Tg)(S(l,_)).pipe((0,me.s)(1),(0,Fe.u)(l)))}var dt=N(1584),_n=N(5779);let Gt=(()=>{class S{constructor(){this.loadingSub=new at.t(!1),this.loadingMap=new Map}setLoading(l,_){if(!_)throw new Error("The request URL must be provided to the LoadingService.setLoading function");l?(this.loadingMap.set(_,l),this.loadingSub.next(!0)):!l&&this.loadingMap.has(_)&&this.loadingMap.delete(_),0===this.loadingMap.size&&this.loadingSub.next(!1)}show(){this.loadingSub.next(!0)}hide(){this.loadingSub.next(!1)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();var Ve=N(9969);let In=(()=>{class S{set show(l){this.state=l?"visible":"hidden"}constructor(){this.state="hidden"}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-loading"]],inputs:{show:"show"},decls:2,vars:1,consts:[[1,"loading","overlay"],["src","assets/layout/images/logo.png","alt","",1,"img-loading"]],template:function(_,w){1&_&&(f.j41(0,"div",0),f.nrm(1,"img",1),f.k0s()),2&_&&f.Y8G("@fade",w.state)},styles:[".loading[_ngcontent-%COMP%]{margin:auto}.overlay[_ngcontent-%COMP%]{position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;top:0;left:0;background-color:#4a4a4a66;z-index:99999}svg[_ngcontent-%COMP%]{z-index:1000000!important;margin:0 auto}.img-loading[_ngcontent-%COMP%]{width:72px;height:70px;animation:_ngcontent-%COMP%_pulse 1s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}"],data:{animation:[(0,Ve.hZ)("fade",[(0,Ve.wk)("visible",(0,Ve.iF)({opacity:1,visibility:"visible"})),(0,Ve.wk)("hidden",(0,Ve.iF)({opacity:0,visibility:"hidden"})),(0,Ve.kY)("visible <=> hidden",(0,Ve.i0)("400ms ease-in-out"))])]}})}return S})(),Pn=(()=>{class S{constructor(l,_){this.primengConfig=l,this.loadingService=_,this.loading=!1}ngOnInit(){this.primengConfig.ripple=!0,this.loadingService.loadingSub.pipe(function en(S,u=pt.E){const l=(0,dt.O)(S,u);return Ut(()=>l)}(0)).subscribe(l=>{this.loading=l})}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(_n.r1),f.rXU(Gt))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-root"]],decls:2,vars:1,consts:[[3,"show"]],template:function(_,w){1&_&&f.nrm(0,"app-loading",0)(1,"router-outlet"),2&_&&f.Y8G("show",w.loading)},dependencies:[F.n3,In],encapsulation:2})}return S})();var fn=N(4341),Gn=N(1626);function un(S){return new f.wOt(3e3,!1)}function Tr(S){switch(S.length){case 0:return new Ve.sf;case 1:return S[0];default:return new Ve.ui(S)}}function Cs(S,u,l=new Map,_=new Map){const w=[],x=[];let G=-1,U=null;if(u.forEach(te=>{const ge=te.get("offset"),Ge=ge==G,ke=Ge&&U||new Map;te.forEach((yt,vt)=>{let Ye=vt,ot=yt;if("offset"!==vt)switch(Ye=S.normalizePropertyName(Ye,w),ot){case Ve.FX:ot=l.get(vt);break;case Ve.kp:ot=_.get(vt);break;default:ot=S.normalizeStyleValue(vt,Ye,ot,w)}ke.set(Ye,ot)}),Ge||x.push(ke),U=ke,G=ge}),w.length)throw function ce(S){return new f.wOt(3502,!1)}();return x}function On(S,u,l,_){switch(u){case"start":S.onStart(()=>_(l&&ft(l,"start",S)));break;case"done":S.onDone(()=>_(l&&ft(l,"done",S)));break;case"destroy":S.onDestroy(()=>_(l&&ft(l,"destroy",S)))}}function ft(S,u,l){const x=Ui(S.element,S.triggerName,S.fromState,S.toState,u||S.phaseName,l.totalTime??S.totalTime,!!l.disabled),G=S._data;return null!=G&&(x._data=G),x}function Ui(S,u,l,_,w="",x=0,G){return{element:S,triggerName:u,fromState:l,toState:_,phaseName:w,totalTime:x,disabled:!!G}}function hn(S,u,l){let _=S.get(u);return _||S.set(u,_=l),_}function Xr(S){const u=S.indexOf(":");return[S.substring(1,u),S.slice(u+1)]}const oi=typeof document>"u"?null:document.documentElement;function yr(S){const u=S.parentNode||S.host||null;return u===oi?null:u}let vr=null,qr=!1;function ji(S,u){for(;u;){if(u===S)return!0;u=yr(u)}return!1}function fr(S,u,l){if(l)return Array.from(S.querySelectorAll(u));const _=S.querySelector(u);return _?[_]:[]}let X=(()=>{class S{validateStyleProperty(l){return function Or(S){vr||(vr=function Yr(){return typeof document<"u"?document.body:null}()||{},qr=!!vr.style&&"WebkitAppearance"in vr.style);let u=!0;return vr.style&&!function Wt(S){return"ebkit"==S.substring(1,6)}(S)&&(u=S in vr.style,!u&&qr&&(u="Webkit"+S.charAt(0).toUpperCase()+S.slice(1)in vr.style)),u}(l)}matchesElement(l,_){return!1}containsElement(l,_){return ji(l,_)}getParentElement(l){return yr(l)}query(l,_,w){return fr(l,_,w)}computeStyle(l,_,w){return w||""}animate(l,_,w,x,G,U=[],te){return new Ve.sf(w,x)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})();class q{static#e=this.NOOP=new X}class we{}const Ue=1e3,lt="ng-enter",Jt="ng-leave",Dn="ng-trigger",Ht=".ng-trigger",xn="ng-animating",Qn=".ng-animating";function sn(S){if("number"==typeof S)return S;const u=S.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Pt(parseFloat(u[1]),u[2])}function Pt(S,u){return"s"===u?S*Ue:S}function xt(S,u,l){return S.hasOwnProperty("duration")?S:function Nn(S,u,l){let w,x=0,G="";if("string"==typeof S){const U=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===U)return u.push(un()),{duration:0,delay:0,easing:""};w=Pt(parseFloat(U[1]),U[2]);const te=U[3];null!=te&&(x=Pt(parseFloat(te),U[4]));const ge=U[5];ge&&(G=ge)}else w=S;if(!l){let U=!1,te=u.length;w<0&&(u.push(function ut(){return new f.wOt(3100,!1)}()),U=!0),x<0&&(u.push(function mr(){return new f.wOt(3101,!1)}()),U=!0),U&&u.splice(te,0,un())}return{duration:w,delay:x,easing:G}}(S,u,l)}function on(S,u,l){u.forEach((_,w)=>{const x=Ur(w);l&&!l.has(w)&&l.set(w,S.style[x]),S.style[x]=_})}function _t(S,u){u.forEach((l,_)=>{const w=Ur(_);S.style[w]=""})}function pn(S){return Array.isArray(S)?1==S.length?S[0]:(0,Ve.K2)(S):S}const wt=new RegExp("{{\\s*(.+?)\\s*}}","g");function _r(S){let u=[];if("string"==typeof S){let l;for(;l=wt.exec(S);)u.push(l[1]);wt.lastIndex=0}return u}function jn(S,u,l){const _=`${S}`,w=_.replace(wt,(x,G)=>{let U=u[G];return null==U&&(l.push(function si(S){return new f.wOt(3003,!1)}()),U=""),U.toString()});return w==_?S:w}const ai=/-+([a-z0-9])/g;function Ur(S){return S.replace(ai,(...u)=>u[1].toUpperCase())}function Xn(S,u,l){switch(u.type){case Ve.If.Trigger:return S.visitTrigger(u,l);case Ve.If.State:return S.visitState(u,l);case Ve.If.Transition:return S.visitTransition(u,l);case Ve.If.Sequence:return S.visitSequence(u,l);case Ve.If.Group:return S.visitGroup(u,l);case Ve.If.Animate:return S.visitAnimate(u,l);case Ve.If.Keyframes:return S.visitKeyframes(u,l);case Ve.If.Style:return S.visitStyle(u,l);case Ve.If.Reference:return S.visitReference(u,l);case Ve.If.AnimateChild:return S.visitAnimateChild(u,l);case Ve.If.AnimateRef:return S.visitAnimateRef(u,l);case Ve.If.Query:return S.visitQuery(u,l);case Ve.If.Stagger:return S.visitStagger(u,l);default:throw function sr(S){return new f.wOt(3004,!1)}()}}function Hi(S,u){return window.getComputedStyle(S)[u]}const qn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class ns extends we{normalizePropertyName(u,l){return Ur(u)}normalizeStyleValue(u,l,_,w){let x="";const G=_.toString().trim();if(qn.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)x="px";else{const U=_.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&0==U[1].length&&w.push(function Mt(S,u){return new f.wOt(3005,!1)}())}return G+x}}const li="*";const Nr=new Set(["true","1"]),Yn=new Set(["false","0"]);function Wi(S,u){const l=Nr.has(S)||Yn.has(S),_=Nr.has(u)||Yn.has(u);return(w,x)=>{let G=S==li||S==w,U=u==li||u==x;return!G&&l&&"boolean"==typeof w&&(G=w?Nr.has(S):Yn.has(S)),!U&&_&&"boolean"==typeof x&&(U=x?Nr.has(u):Yn.has(u)),G&&U}}const Zn=new RegExp("s*:selfs*,?","g");function gt(S,u,l,_){return new is(S).build(u,l,_)}class is{constructor(u){this._driver=u}build(u,l,_){const w=new Mi(l);return this._resetContextStyleTimingState(w),Xn(this,pn(u),w)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,l){let _=l.queryCount=0,w=l.depCount=0;const x=[],G=[];return"@"==u.name.charAt(0)&&l.errors.push(function Dt(){return new f.wOt(3006,!1)}()),u.definitions.forEach(U=>{if(this._resetContextStyleTimingState(l),U.type==Ve.If.State){const te=U,ge=te.name;ge.toString().split(/\s*,\s*/).forEach(Ge=>{te.name=Ge,x.push(this.visitState(te,l))}),te.name=ge}else if(U.type==Ve.If.Transition){const te=this.visitTransition(U,l);_+=te.queryCount,w+=te.depCount,G.push(te)}else l.errors.push(function tr(){return new f.wOt(3007,!1)}())}),{type:Ve.If.Trigger,name:u.name,states:x,transitions:G,queryCount:_,depCount:w,options:null}}visitState(u,l){const _=this.visitStyle(u.styles,l),w=u.options&&u.options.params||null;if(_.containsDynamicStyles){const x=new Set,G=w||{};_.styles.forEach(U=>{U instanceof Map&&U.forEach(te=>{_r(te).forEach(ge=>{G.hasOwnProperty(ge)||x.add(ge)})})}),x.size&&l.errors.push(function or(S,u){return new f.wOt(3008,!1)}(0,x.values()))}return{type:Ve.If.State,name:u.name,style:_,options:w?{params:w}:null}}visitTransition(u,l){l.queryCount=0,l.depCount=0;const _=Xn(this,pn(u.animation),l),w=function Gi(S,u){const l=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach(_=>function Ws(S,u,l){if(":"==S[0]){const te=function jr(S,u){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_) *"}}(S,l);if("function"==typeof te)return void u.push(te);S=te}const _=S.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function mn(S){return new f.wOt(3015,!1)}()),u;const w=_[1],x=_[2],G=_[3];u.push(Wi(w,G)),"<"==x[0]&&(w!=li||G!=li)&&u.push(Wi(G,w))}(_,l,u)):l.push(S),l}(u.expr,l.errors);return{type:Ve.If.Transition,matchers:w,animation:_,queryCount:l.queryCount,depCount:l.depCount,options:rr(u.options)}}visitSequence(u,l){return{type:Ve.If.Sequence,steps:u.steps.map(_=>Xn(this,_,l)),options:rr(u.options)}}visitGroup(u,l){const _=l.currentTime;let w=0;const x=u.steps.map(G=>{l.currentTime=_;const U=Xn(this,G,l);return w=Math.max(w,l.currentTime),U});return l.currentTime=w,{type:Ve.If.Group,steps:x,options:rr(u.options)}}visitAnimate(u,l){const _=function ws(S,u){if(S.hasOwnProperty("duration"))return S;if("number"==typeof S)return zi(xt(S,u).duration,0,"");const l=S;if(l.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=zi(0,0,"");return x.dynamic=!0,x.strValue=l,x}const w=xt(l,u);return zi(w.duration,w.delay,w.easing)}(u.timings,l.errors);l.currentAnimateTimings=_;let w,x=u.styles?u.styles:(0,Ve.iF)({});if(x.type==Ve.If.Keyframes)w=this.visitKeyframes(x,l);else{let G=u.styles,U=!1;if(!G){U=!0;const ge={};_.easing&&(ge.easing=_.easing),G=(0,Ve.iF)(ge)}l.currentTime+=_.duration+_.delay;const te=this.visitStyle(G,l);te.isEmptyStep=U,w=te}return l.currentAnimateTimings=null,{type:Ve.If.Animate,timings:_,style:w,options:null}}visitStyle(u,l){const _=this._makeStyleAst(u,l);return this._validateStyleAst(_,l),_}_makeStyleAst(u,l){const _=[],w=Array.isArray(u.styles)?u.styles:[u.styles];for(let U of w)"string"==typeof U?U===Ve.kp?_.push(U):l.errors.push(new f.wOt(3002,!1)):_.push(new Map(Object.entries(U)));let x=!1,G=null;return _.forEach(U=>{if(U instanceof Map&&(U.has("easing")&&(G=U.get("easing"),U.delete("easing")),!x))for(let te of U.values())if(te.toString().indexOf("{{")>=0){x=!0;break}}),{type:Ve.If.Style,styles:_,easing:G,offset:u.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(u,l){const _=l.currentAnimateTimings;let w=l.currentTime,x=l.currentTime;_&&x>0&&(x-=_.duration+_.delay),u.styles.forEach(G=>{"string"!=typeof G&&G.forEach((U,te)=>{const ge=l.collectedStyles.get(l.currentQuerySelector),Ge=ge.get(te);let ke=!0;Ge&&(x!=w&&x>=Ge.startTime&&w<=Ge.endTime&&(l.errors.push(function Bn(S,u,l,_,w){return new f.wOt(3010,!1)}()),ke=!1),x=Ge.startTime),ke&&ge.set(te,{startTime:x,endTime:w}),l.options&&function mt(S,u,l){const _=u.params||{},w=_r(S);w.length&&w.forEach(x=>{_.hasOwnProperty(x)||l.push(function Bi(S){return new f.wOt(3001,!1)}())})}(U,l.options,l.errors)})})}visitKeyframes(u,l){const _={type:Ve.If.Keyframes,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function es(){return new f.wOt(3011,!1)}()),_;let x=0;const G=[];let U=!1,te=!1,ge=0;const Ge=u.steps.map(it=>{const nn=this._makeStyleAst(it,l);let pr=null!=nn.offset?nn.offset:function ss(S){if("string"==typeof S)return null;let u=null;if(Array.isArray(S))S.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;u=parseFloat(_.get("offset")),_.delete("offset")}});else if(S instanceof Map&&S.has("offset")){const l=S;u=parseFloat(l.get("offset")),l.delete("offset")}return u}(nn.styles),Ln=0;return null!=pr&&(x++,Ln=nn.offset=pr),te=te||Ln<0||Ln>1,U=U||Ln0&&x{const pr=yt>0?nn==vt?1:yt*nn:G[nn],Ln=pr*tn;l.currentTime=Ye+ot.delay+Ln,ot.duration=Ln,this._validateStyleAst(it,l),it.offset=pr,_.styles.push(it)}),_}visitReference(u,l){return{type:Ve.If.Reference,animation:Xn(this,pn(u.animation),l),options:rr(u.options)}}visitAnimateChild(u,l){return l.depCount++,{type:Ve.If.AnimateChild,options:rr(u.options)}}visitAnimateRef(u,l){return{type:Ve.If.AnimateRef,animation:this.visitReference(u.animation,l),options:rr(u.options)}}visitQuery(u,l){const _=l.currentQuerySelector,w=u.options||{};l.queryCount++,l.currentQuery=u;const[x,G]=function ui(S){const u=!!S.split(/\s*,\s*/).find(l=>":self"==l);return u&&(S=S.replace(Zn,"")),S=S.replace(/@\*/g,Ht).replace(/@\w+/g,l=>Ht+"-"+l.slice(1)).replace(/:animating/g,Qn),[S,u]}(u.selector);l.currentQuerySelector=_.length?_+" "+x:x,hn(l.collectedStyles,l.currentQuerySelector,new Map);const U=Xn(this,pn(u.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:Ve.If.Query,selector:x,limit:w.limit||0,optional:!!w.optional,includeSelf:G,animation:U,originalSelector:u.selector,options:rr(u.options)}}visitStagger(u,l){l.currentQuery||l.errors.push(function Yt(){return new f.wOt(3013,!1)}());const _="full"===u.timings?{duration:0,delay:0,easing:"full"}:xt(u.timings,l.errors,!0);return{type:Ve.If.Stagger,animation:Xn(this,pn(u.animation),l),timings:_,options:null}}}class Mi{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(S){return S?(S={...S}).params&&(S.params=function Hr(S){return S?{...S}:null}(S.params)):S={},S}function zi(S,u,l){return{duration:S,delay:u,easing:l}}function di(S,u,l,_,w,x,G=null,U=!1){return{type:1,element:S,keyframes:u,preStyleProps:l,postStyleProps:_,duration:w,delay:x,totalTime:w+x,easing:G,subTimeline:U}}class Zr{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,l){let _=this._map.get(u);_||this._map.set(u,_=[]),_.push(...l)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Hn=new RegExp(":enter","g"),os=new RegExp(":leave","g");function ei(S,u,l,_,w,x=new Map,G=new Map,U,te,ge=[]){return(new Dr).buildKeyframes(S,u,l,_,w,x,G,U,te,ge)}class Dr{buildKeyframes(u,l,_,w,x,G,U,te,ge,Ge=[]){ge=ge||new Zr;const ke=new Ti(u,l,ge,w,x,Ge,[]);ke.options=te;const yt=te.delay?sn(te.delay):0;ke.currentTimeline.delayNextStep(yt),ke.currentTimeline.setStyles([G],null,ke.errors,te),Xn(this,_,ke);const vt=ke.timelines.filter(Ye=>Ye.containsAnimation());if(vt.length&&U.size){let Ye;for(let ot=vt.length-1;ot>=0;ot--){const tn=vt[ot];if(tn.element===l){Ye=tn;break}}Ye&&!Ye.allowOnlyTimelineStyles()&&Ye.setStyles([U],null,ke.errors,te)}return vt.length?vt.map(Ye=>Ye.buildKeyframes()):[di(l,[],[],[],0,yt,"",!1)]}visitTrigger(u,l){}visitState(u,l){}visitTransition(u,l){}visitAnimateChild(u,l){const _=l.subInstructions.get(l.element);if(_){const w=l.createSubContext(u.options),x=l.currentTimeline.currentTime,G=this._visitSubInstructions(_,w,w.options);x!=G&&l.transformIntoNewTimeline(G)}l.previousNode=u}visitAnimateRef(u,l){const _=l.createSubContext(u.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],l,_),this.visitReference(u.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=u}_applyAnimationRefDelays(u,l,_){for(const w of u){const x=w?.delay;if(x){const G="number"==typeof x?x:sn(jn(x,w?.params??{},l.errors));_.delayNextStep(G)}}}_visitSubInstructions(u,l,_){let x=l.currentTimeline.currentTime;const G=null!=_.duration?sn(_.duration):null,U=null!=_.delay?sn(_.delay):null;return 0!==G&&u.forEach(te=>{const ge=l.appendInstructionToTimeline(te,G,U);x=Math.max(x,ge.duration+ge.delay)}),x}visitReference(u,l){l.updateOptions(u.options,!0),Xn(this,u.animation,l),l.previousNode=u}visitSequence(u,l){const _=l.subContextCount;let w=l;const x=u.options;if(x&&(x.params||x.delay)&&(w=l.createSubContext(x),w.transformIntoNewTimeline(),null!=x.delay)){w.previousNode.type==Ve.If.Style&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=fi);const G=sn(x.delay);w.delayNextStep(G)}u.steps.length&&(u.steps.forEach(G=>Xn(this,G,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>_&&w.transformIntoNewTimeline()),l.previousNode=u}visitGroup(u,l){const _=[];let w=l.currentTimeline.currentTime;const x=u.options&&u.options.delay?sn(u.options.delay):0;u.steps.forEach(G=>{const U=l.createSubContext(u.options);x&&U.delayNextStep(x),Xn(this,G,U),w=Math.max(w,U.currentTimeline.currentTime),_.push(U.currentTimeline)}),_.forEach(G=>l.currentTimeline.mergeTimelineCollectedStyles(G)),l.transformIntoNewTimeline(w),l.previousNode=u}_visitTiming(u,l){if(u.dynamic){const _=u.strValue;return xt(l.params?jn(_,l.params,l.errors):_,l.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,l){const _=l.currentAnimateTimings=this._visitTiming(u.timings,l),w=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),w.snapshotCurrentStyles());const x=u.style;x.type==Ve.If.Keyframes?this.visitKeyframes(x,l):(l.incrementTime(_.duration),this.visitStyle(x,l),w.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=u}visitStyle(u,l){const _=l.currentTimeline,w=l.currentAnimateTimings;!w&&_.hasCurrentStyleProperties()&&_.forwardFrame();const x=w&&w.easing||u.easing;u.isEmptyStep?_.applyEmptyStep(x):_.setStyles(u.styles,x,l.errors,l.options),l.previousNode=u}visitKeyframes(u,l){const _=l.currentAnimateTimings,w=l.currentTimeline.duration,x=_.duration,U=l.createSubContext().currentTimeline;U.easing=_.easing,u.styles.forEach(te=>{U.forwardTime((te.offset||0)*x),U.setStyles(te.styles,te.easing,l.errors,l.options),U.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(U),l.transformIntoNewTimeline(w+x),l.previousNode=u}visitQuery(u,l){const _=l.currentTimeline.currentTime,w=u.options||{},x=w.delay?sn(w.delay):0;x&&(l.previousNode.type===Ve.If.Style||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=fi);let G=_;const U=l.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!w.optional,l.errors);l.currentQueryTotal=U.length;let te=null;U.forEach((ge,Ge)=>{l.currentQueryIndex=Ge;const ke=l.createSubContext(u.options,ge);x&&ke.delayNextStep(x),ge===l.element&&(te=ke.currentTimeline),Xn(this,u.animation,ke),ke.currentTimeline.applyStylesToKeyframe(),G=Math.max(G,ke.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(G),te&&(l.currentTimeline.mergeTimelineCollectedStyles(te),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=u}visitStagger(u,l){const _=l.parentContext,w=l.currentTimeline,x=u.timings,G=Math.abs(x.duration),U=G*(l.currentQueryTotal-1);let te=G*l.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":te=U-te;break;case"full":te=_.currentStaggerTime}const Ge=l.currentTimeline;te&&Ge.delayNextStep(te);const ke=Ge.currentTime;Xn(this,u.animation,l),l.previousNode=u,_.currentStaggerTime=w.currentTime-ke+(w.startTime-_.currentTimeline.startTime)}}const fi={};class Ti{constructor(u,l,_,w,x,G,U,te){this._driver=u,this.element=l,this.subInstructions=_,this._enterClassName=w,this._leaveClassName=x,this.errors=G,this.timelines=U,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=te||new Ai(this._driver,l,0),U.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,l){if(!u)return;const _=u;let w=this.options;null!=_.duration&&(w.duration=sn(_.duration)),null!=_.delay&&(w.delay=sn(_.delay));const x=_.params;if(x){let G=w.params;G||(G=this.options.params={}),Object.keys(x).forEach(U=>{(!l||!G.hasOwnProperty(U))&&(G[U]=jn(x[U],G,this.errors))})}}_copyOptions(){const u={};if(this.options){const l=this.options.params;if(l){const _=u.params={};Object.keys(l).forEach(w=>{_[w]=l[w]})}}return u}createSubContext(u=null,l,_){const w=l||this.element,x=new Ti(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,_||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(u),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(u){return this.previousNode=fi,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,l,_){const w={duration:l??u.duration,delay:this.currentTimeline.currentTime+(_??0)+u.delay,easing:""},x=new Qi(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,w,u.stretchStartingKeyframe);return this.timelines.push(x),w}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,l,_,w,x,G){let U=[];if(w&&U.push(this.element),u.length>0){u=(u=u.replace(Hn,"."+this._enterClassName)).replace(os,"."+this._leaveClassName);let ge=this._driver.query(this.element,u,1!=_);0!==_&&(ge=_<0?ge.slice(ge.length+_,ge.length):ge.slice(0,_)),U.push(...ge)}return!x&&0==U.length&&G.push(function kr(S){return new f.wOt(3014,!1)}()),U}}class Ai{constructor(u,l,_,w){this._driver=u,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=w,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(u){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+u),l&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,l){return this.applyStylesToKeyframe(),new Ai(this._driver,u,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,l){this._localTimelineStyles.set(u,l),this._globalTimelineStyles.set(u,l),this._styleSummary.set(u,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||Ve.kp),this._currentKeyframe.set(l,Ve.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,l,_,w){l&&this._previousKeyframe.set("easing",l);const x=w&&w.params||{},G=function as(S,u){const l=new Map;let _;return S.forEach(w=>{if("*"===w){_??=u.keys();for(let x of _)l.set(x,Ve.kp)}else for(let[x,G]of w)l.set(x,G)}),l}(u,this._globalTimelineStyles);for(let[U,te]of G){const ge=jn(te,x,_);this._pendingStyles.set(U,ge),this._localTimelineStyles.has(U)||this._backFill.set(U,this._globalTimelineStyles.get(U)??Ve.kp),this._updateStyle(U,ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,l)=>{this._currentKeyframe.set(l,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,u)}))}snapshotCurrentStyles(){for(let[u,l]of this._localTimelineStyles)this._pendingStyles.set(u,l),this._updateStyle(u,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let l in this._currentKeyframe)u.push(l);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((l,_)=>{const w=this._styleSummary.get(_);(!w||l.time>w.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((U,te)=>{const ge=new Map([...this._backFill,...U]);ge.forEach((Ge,ke)=>{Ge===Ve.FX?u.add(ke):Ge===Ve.kp&&l.add(ke)}),_||ge.set("offset",te/this.duration),w.push(ge)});const x=[...u.values()],G=[...l.values()];if(_){const U=w[0],te=new Map(U);U.set("offset",0),te.set("offset",1),w=[U,te]}return di(this.element,w,x,G,this.duration,this.startTime,this.easing,!1)}}class Qi extends Ai{constructor(u,l,_,w,x,G,U=!1){super(u,l,G.delay),this.keyframes=_,this.preStyleProps=w,this.postStyleProps=x,this._stretchStartingKeyframe=U,this.timings={duration:G.duration,delay:G.delay,easing:G.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:l,duration:_,easing:w}=this.timings;if(this._stretchStartingKeyframe&&l){const x=[],G=_+l,U=l/G,te=new Map(u[0]);te.set("offset",0),x.push(te);const ge=new Map(u[0]);ge.set("offset",Wn(U)),x.push(ge);const Ge=u.length-1;for(let ke=1;ke<=Ge;ke++){let yt=new Map(u[ke]);const vt=yt.get("offset");yt.set("offset",Wn((l+vt*_)/G)),x.push(yt)}_=G,l=0,w="",u=x}return di(this.element,u,this.preStyleProps,this.postStyleProps,_,l,w,!0)}}function Wn(S,u=3){const l=Math.pow(10,u-1);return Math.round(S*l)/l}function ar(S,u,l,_,w,x,G,U,te,ge,Ge,ke,yt){return{type:0,element:S,triggerName:u,isRemovalTransition:w,fromState:l,fromStyles:x,toState:_,toStyles:G,timelines:U,queriedElements:te,preStyleProps:ge,postStyleProps:Ge,totalTime:ke,errors:yt}}const Xi={};class ls{constructor(u,l,_){this._triggerName=u,this.ast=l,this._stateStyles=_}match(u,l,_,w){return function zt(S,u,l,_,w){return S.some(x=>x(u,l,_,w))}(this.ast.matchers,u,l,_,w)}buildStyles(u,l,_){let w=this._stateStyles.get("*");return void 0!==u&&(w=this._stateStyles.get(u?.toString())||w),w?w.buildStyles(l,_):new Map}build(u,l,_,w,x,G,U,te,ge,Ge){const ke=[],yt=this.ast.options&&this.ast.options.params||Xi,Ye=this.buildStyles(_,U&&U.params||Xi,ke),ot=te&&te.params||Xi,tn=this.buildStyles(w,ot,ke),it=new Set,nn=new Map,pr=new Map,Ln="void"===w,an={params:hi(ot,yt),delay:this.ast.options?.delay},Er=Ge?[]:ei(u,l,this.ast.animation,x,G,Ye,tn,an,ge,ke);let zn=0;return Er.forEach(Rn=>{zn=Math.max(Rn.duration+Rn.delay,zn)}),ke.length?ar(l,this._triggerName,_,w,Ln,Ye,tn,[],[],nn,pr,zn,ke):(Er.forEach(Rn=>{const _i=Rn.element,Fs=hn(nn,_i,new Set);Rn.preStyleProps.forEach(Wr=>Fs.add(Wr));const Pi=hn(pr,_i,new Set);Rn.postStyleProps.forEach(Wr=>Pi.add(Wr)),_i!==l&&it.add(_i)}),ar(l,this._triggerName,_,w,Ln,Ye,tn,Er,[...it.values()],nn,pr,zn))}}function hi(S,u){const l={...u};return Object.entries(S).forEach(([_,w])=>{null!=w&&(l[_]=w)}),l}class zs{constructor(u,l,_){this.styles=u,this.defaultParams=l,this.normalizer=_}buildStyles(u,l){const _=new Map,w=hi(u,this.defaultParams);return this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((G,U)=>{G&&(G=jn(G,w,l));const te=this.normalizer.normalizePropertyName(U,l);G=this.normalizer.normalizeStyleValue(U,te,G,l),_.set(U,G)})}),_}}class Is{constructor(u,l,_){this.name=u,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(w=>{this.states.set(w.name,new zs(w.style,w.options&&w.options.params||{},_))}),Gr(this.states,"true","1"),Gr(this.states,"false","0"),l.transitions.forEach(w=>{this.transitionFactories.push(new ls(u,w,this.states))}),this.fallbackTransition=function cs(S,u,l){return new ls(S,{type:Ve.If.Transition,animation:{type:Ve.If.Sequence,steps:[],options:null},matchers:[(G,U)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,l,_,w){return this.transitionFactories.find(G=>G.match(u,l,_,w))||null}matchStyles(u,l,_){return this.fallbackTransition.buildStyles(u,l,_)}}function Gr(S,u,l){S.has(u)?S.has(l)||S.set(l,S.get(u)):S.has(l)&&S.set(u,S.get(l))}const Rr=new Zr;class Pr{constructor(u,l,_){this.bodyNode=u,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,l){const _=[],x=gt(this._driver,l,_,[]);if(_.length)throw function de(S){return new f.wOt(3503,!1)}();this._animations.set(u,x)}_buildPlayer(u,l,_){const w=u.element,x=Cs(this._normalizer,u.keyframes,l,_);return this._driver.animate(w,x,u.duration,u.delay,u.easing,[],!0)}create(u,l,_={}){const w=[],x=this._animations.get(u);let G;const U=new Map;if(x?(G=ei(this._driver,l,x,lt,Jt,new Map,new Map,_,Rr,w),G.forEach(Ge=>{const ke=hn(U,Ge.element,new Map);Ge.postStyleProps.forEach(yt=>ke.set(yt,null))})):(w.push(function Q(){return new f.wOt(3300,!1)}()),G=[]),w.length)throw function oe(S){return new f.wOt(3504,!1)}();U.forEach((Ge,ke)=>{Ge.forEach((yt,vt)=>{Ge.set(vt,this._driver.computeStyle(ke,vt,Ve.kp))})});const ge=Tr(G.map(Ge=>{const ke=U.get(Ge.element);return this._buildPlayer(Ge,new Map,ke)}));return this._playersById.set(u,ge),ge.onDestroy(()=>this.destroy(u)),this.players.push(ge),ge}destroy(u){const l=this._getPlayer(u);l.destroy(),this._playersById.delete(u);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(u){const l=this._playersById.get(u);if(!l)throw function Re(S){return new f.wOt(3301,!1)}();return l}listen(u,l,_,w){const x=Ui(l,"","","");return On(this._getPlayer(u),_,x,w),()=>{}}command(u,l,_,w){if("register"==_)return void this.register(u,w[0]);if("create"==_)return void this.create(u,l,w[0]||{});const x=this._getPlayer(u);switch(_){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(u)}}}const us="ng-animate-queued",Ks="ng-animate-disabled",qi=[],Ts={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},M={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},T="__ng_removed";class D{get params(){return this.options.params}constructor(u,l=""){this.namespaceId=l;const _=u&&u.hasOwnProperty("value");if(this.value=function gi(S){return S??null}(_?u.value:u),_){const{value:x,...G}=u;this.options=G}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const l=u.params;if(l){const _=this.options.params;Object.keys(l).forEach(w=>{null==_[w]&&(_[w]=l[w])})}}}const V="void",ee=new D(V);class rt{constructor(u,l,_){this.id=u,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,er(l,this._hostClassName)}listen(u,l,_,w){if(!this._triggers.has(l))throw function tt(S,u){return new f.wOt(3302,!1)}();if(null==_||0==_.length)throw function ht(S){return new f.wOt(3303,!1)}();if(!function As(S){return"start"==S||"done"==S}(_))throw function qt(S,u){return new f.wOt(3400,!1)}();const x=hn(this._elementListeners,u,[]),G={name:l,phase:_,callback:w};x.push(G);const U=hn(this._engine.statesByElement,u,new Map);return U.has(l)||(er(u,Dn),er(u,Dn+"-"+l),U.set(l,ee)),()=>{this._engine.afterFlush(()=>{const te=x.indexOf(G);te>=0&&x.splice(te,1),this._triggers.has(l)||U.delete(l)})}}register(u,l){return!this._triggers.has(u)&&(this._triggers.set(u,l),!0)}_getTrigger(u){const l=this._triggers.get(u);if(!l)throw function ln(S){return new f.wOt(3401,!1)}();return l}trigger(u,l,_,w=!0){const x=this._getTrigger(l),G=new Ot(this.id,l,u);let U=this._engine.statesByElement.get(u);U||(er(u,Dn),er(u,Dn+"-"+l),this._engine.statesByElement.set(u,U=new Map));let te=U.get(l);const ge=new D(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&te&&ge.absorbOptions(te.options),U.set(l,ge),te||(te=ee),ge.value!==V&&te.value===ge.value){if(!function Vt(S,u){const l=Object.keys(S),_=Object.keys(u);if(l.length!=_.length)return!1;for(let w=0;w{_t(u,tn),on(u,it)})}return}const yt=hn(this._engine.playersByElement,u,[]);yt.forEach(ot=>{ot.namespaceId==this.id&&ot.triggerName==l&&ot.queued&&ot.destroy()});let vt=x.matchTransition(te.value,ge.value,u,ge.params),Ye=!1;if(!vt){if(!w)return;vt=x.fallbackTransition,Ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:l,transition:vt,fromState:te,toState:ge,player:G,isFallbackTransition:Ye}),Ye||(er(u,us),G.onStart(()=>{Ni(u,us)})),G.onDone(()=>{let ot=this.players.indexOf(G);ot>=0&&this.players.splice(ot,1);const tn=this._engine.playersByElement.get(u);if(tn){let it=tn.indexOf(G);it>=0&&tn.splice(it,1)}}),this.players.push(G),yt.push(G),G}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(l=>l.delete(u)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(w=>w.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const l=this._engine.playersByElement.get(u);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,l){const _=this._engine.driver.query(u,Ht,!0);_.forEach(w=>{if(w[T])return;const x=this._engine.fetchNamespacesByElement(w);x.size?x.forEach(G=>G.triggerLeaveAnimation(w,l,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(u,l,_,w){const x=this._engine.statesByElement.get(u),G=new Map;if(x){const U=[];if(x.forEach((te,ge)=>{if(G.set(ge,te.value),this._triggers.has(ge)){const Ge=this.trigger(u,ge,V,w);Ge&&U.push(Ge)}}),U.length)return this._engine.markElementAsRemoved(this.id,u,!0,l,G),_&&Tr(U).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const l=this._elementListeners.get(u),_=this._engine.statesByElement.get(u);if(l&&_){const w=new Set;l.forEach(x=>{const G=x.name;if(w.has(G))return;w.add(G);const te=this._triggers.get(G).fallbackTransition,ge=_.get(G)||ee,Ge=new D(V),ke=new Ot(this.id,G,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:G,transition:te,fromState:ge,toState:Ge,player:ke,isFallbackTransition:!0})})}}removeNode(u,l){const _=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,l),this.triggerLeaveAnimation(u,l,!0))return;let w=!1;if(_.totalAnimations){const x=_.players.length?_.playersByQueriedElement.get(u):[];if(x&&x.length)w=!0;else{let G=u;for(;G=G.parentNode;)if(_.statesByElement.get(G)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(u),w)_.markElementAsRemoved(this.id,u,!1,l);else{const x=u[T];(!x||x===Ts)&&(_.afterFlush(()=>this.clearElementCache(u)),_.destroyInnerAnimations(u),_._onRemovalComplete(u,l))}}insertNode(u,l){er(u,this._hostClassName)}drainQueuedTransitions(u){const l=[];return this._queue.forEach(_=>{const w=_.player;if(w.destroyed)return;const x=_.element,G=this._elementListeners.get(x);G&&G.forEach(U=>{if(U.name==_.triggerName){const te=Ui(x,_.triggerName,_.fromState.value,_.toState.value);te._data=u,On(_.player,U.phase,te,U.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):l.push(_)}),this._queue=[],l.sort((_,w)=>{const x=_.transition.ast.depCount,G=w.transition.ast.depCount;return 0==x||0==G?x-G:this._engine.driver.containsElement(_.element,w.element)?1:-1})}destroy(u){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class Et{_onRemovalComplete(u,l){this.onRemovalComplete(u,l)}constructor(u,l,_,w){this.bodyNode=u,this.driver=l,this._normalizer=_,this.scheduler=w,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(x,G)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&u.push(_)})}),u}createNamespace(u,l){const _=new rt(u,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[u]=_}_balanceNamespaceList(u,l){const _=this._namespaceList,w=this.namespacesByHostElement;if(_.length-1>=0){let G=!1,U=this.driver.getParentElement(l);for(;U;){const te=w.get(U);if(te){const ge=_.indexOf(te);_.splice(ge+1,0,u),G=!0;break}U=this.driver.getParentElement(U)}G||_.unshift(u)}else _.push(u);return w.set(l,u),u}register(u,l){let _=this._namespaceLookup[u];return _||(_=this.createNamespace(u,l)),_}registerTrigger(u,l,_){let w=this._namespaceLookup[u];w&&w.register(l,_)&&this.totalAnimations++}destroy(u,l){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const _=this._fetchNamespace(u);this.namespacesByHostElement.delete(_.hostElement);const w=this._namespaceList.indexOf(_);w>=0&&this._namespaceList.splice(w,1),_.destroy(l),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const l=new Set,_=this.statesByElement.get(u);if(_)for(let w of _.values())if(w.namespaceId){const x=this._fetchNamespace(w.namespaceId);x&&l.add(x)}return l}trigger(u,l,_,w){if(mi(l)){const x=this._fetchNamespace(u);if(x)return x.trigger(l,_,w),!0}return!1}insertNode(u,l,_,w){if(!mi(l))return;const x=l[T];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const G=this.collectedLeaveElements.indexOf(l);G>=0&&this.collectedLeaveElements.splice(G,1)}if(u){const G=this._fetchNamespace(u);G&&G.insertNode(l,_)}w&&this.collectEnterElement(l)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,l){l?this.disabledNodes.has(u)||(this.disabledNodes.add(u),er(u,Ks)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),Ni(u,Ks))}removeNode(u,l,_){if(mi(l)){this.scheduler?.notify();const w=u?this._fetchNamespace(u):null;w?w.removeNode(l,_):this.markElementAsRemoved(u,l,!1,_);const x=this.namespacesByHostElement.get(l);x&&x.id!==u&&x.removeNode(l,_)}else this._onRemovalComplete(l,_)}markElementAsRemoved(u,l,_,w,x){this.collectedLeaveElements.push(l),l[T]={namespaceId:u,setForRemoval:w,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:x}}listen(u,l,_,w,x){return mi(l)?this._fetchNamespace(u).listen(l,_,w,x):()=>{}}_buildInstruction(u,l,_,w,x){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,_,w,u.fromState.options,u.toState.options,l,x)}destroyInnerAnimations(u){let l=this.driver.query(u,Ht,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(u,Qn,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(u){const l=this.playersByElement.get(u);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(u){const l=this.playersByQueriedElement.get(u);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Tr(this.players).onDone(()=>u());u()})}processLeaveNode(u){const l=u[T];if(l&&l.setForRemoval){if(u[T]=Ts,l.namespaceId){this.destroyInnerAnimations(u);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(u)}this._onRemovalComplete(u,l.setForRemoval)}u.classList?.contains(Ks)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(u=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,w)=>this._balanceNamespaceList(_,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Tr(l).onDone(()=>{_.forEach(w=>w())}):_.forEach(w=>w())}}reportError(u){throw function Mn(S){return new f.wOt(3402,!1)}()}_flushAnimations(u,l){const _=new Zr,w=[],x=new Map,G=[],U=new Map,te=new Map,ge=new Map,Ge=new Set;this.disabledNodes.forEach(Je=>{Ge.add(Je);const ct=this.driver.query(Je,".ng-animate-queued",!0);for(let Ct=0;Ct{const Ct=lt+ot++;Ye.set(ct,Ct),Je.forEach(Kt=>er(Kt,Ct))});const tn=[],it=new Set,nn=new Set;for(let Je=0;Jeit.add(Kt)):nn.add(ct))}const pr=new Map,Ln=Os(yt,Array.from(it));Ln.forEach((Je,ct)=>{const Ct=Jt+ot++;pr.set(ct,Ct),Je.forEach(Kt=>er(Kt,Ct))}),u.push(()=>{vt.forEach((Je,ct)=>{const Ct=Ye.get(ct);Je.forEach(Kt=>Ni(Kt,Ct))}),Ln.forEach((Je,ct)=>{const Ct=pr.get(ct);Je.forEach(Kt=>Ni(Kt,Ct))}),tn.forEach(Je=>{this.processLeaveNode(Je)})});const an=[],Er=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(l).forEach(Ct=>{const Kt=Ct.player,Qt=Ct.element;if(an.push(Kt),this.collectedEnterElements.length){const vn=Qt[T];if(vn&&vn.setForMove){if(vn.previousTriggersValues&&vn.previousTriggersValues.has(Ct.triggerName)){const xi=vn.previousTriggersValues.get(Ct.triggerName),ti=this.statesByElement.get(Ct.element);if(ti&&ti.has(Ct.triggerName)){const ko=ti.get(Ct.triggerName);ko.value=xi,ti.set(Ct.triggerName,ko)}}return void Kt.destroy()}}const Fr=!ke||!this.driver.containsElement(ke,Qt),dn=pr.get(Qt),bn=Ye.get(Qt),wn=this._buildInstruction(Ct,_,bn,dn,Fr);if(wn.errors&&wn.errors.length)return void Er.push(wn);if(Fr)return Kt.onStart(()=>_t(Qt,wn.fromStyles)),Kt.onDestroy(()=>on(Qt,wn.toStyles)),void w.push(Kt);if(Ct.isFallbackTransition)return Kt.onStart(()=>_t(Qt,wn.fromStyles)),Kt.onDestroy(()=>on(Qt,wn.toStyles)),void w.push(Kt);const Zi=[];wn.timelines.forEach(vn=>{vn.stretchStartingKeyframe=!0,this.disabledNodes.has(vn.element)||Zi.push(vn)}),wn.timelines=Zi,_.append(Qt,wn.timelines),G.push({instruction:wn,player:Kt,element:Qt}),wn.queriedElements.forEach(vn=>hn(U,vn,[]).push(Kt)),wn.preStyleProps.forEach((vn,xi)=>{if(vn.size){let ti=te.get(xi);ti||te.set(xi,ti=new Set),vn.forEach((ko,mo)=>ti.add(mo))}}),wn.postStyleProps.forEach((vn,xi)=>{let ti=ge.get(xi);ti||ge.set(xi,ti=new Set),vn.forEach((ko,mo)=>ti.add(mo))})});if(Er.length){const Je=[];Er.forEach(ct=>{Je.push(function Un(S,u){return new f.wOt(3505,!1)}())}),an.forEach(ct=>ct.destroy()),this.reportError(Je)}const zn=new Map,Rn=new Map;G.forEach(Je=>{const ct=Je.element;_.has(ct)&&(Rn.set(ct,ct),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,zn))}),w.forEach(Je=>{const ct=Je.element;this._getPreviousPlayers(ct,!1,Je.namespaceId,Je.triggerName,null).forEach(Kt=>{hn(zn,ct,[]).push(Kt),Kt.destroy()})});const _i=tn.filter(Je=>Fn(Je,te,ge)),Fs=new Map;qs(Fs,this.driver,nn,ge,Ve.kp).forEach(Je=>{Fn(Je,te,ge)&&_i.push(Je)});const Wr=new Map;vt.forEach((Je,ct)=>{qs(Wr,this.driver,new Set(Je),te,Ve.FX)}),_i.forEach(Je=>{const ct=Fs.get(Je),Ct=Wr.get(Je);Fs.set(Je,new Map([...ct?.entries()??[],...Ct?.entries()??[]]))});const Di=[],At=[],ao={};G.forEach(Je=>{const{element:ct,player:Ct,instruction:Kt}=Je;if(_.has(ct)){if(Ge.has(ct))return Ct.onDestroy(()=>on(ct,Kt.toStyles)),Ct.disabled=!0,Ct.overrideTotalTime(Kt.totalTime),void w.push(Ct);let Qt=ao;if(Rn.size>1){let dn=ct;const bn=[];for(;dn=dn.parentNode;){const wn=Rn.get(dn);if(wn){Qt=wn;break}bn.push(dn)}bn.forEach(wn=>Rn.set(wn,Qt))}const Fr=this._buildAnimation(Ct.namespaceId,Kt,zn,x,Wr,Fs);if(Ct.setRealPlayer(Fr),Qt===ao)Di.push(Ct);else{const dn=this.playersByElement.get(Qt);dn&&dn.length&&(Ct.parentPlayer=Tr(dn)),w.push(Ct)}}else _t(ct,Kt.fromStyles),Ct.onDestroy(()=>on(ct,Kt.toStyles)),At.push(Ct),Ge.has(ct)&&w.push(Ct)}),At.forEach(Je=>{const ct=x.get(Je.element);if(ct&&ct.length){const Ct=Tr(ct);Je.setRealPlayer(Ct)}}),w.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!Fr.destroyed);Qt.length?To(this,ct,Qt):this.processLeaveNode(ct)}return tn.length=0,Di.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const ct=this.players.indexOf(Je);this.players.splice(ct,1)}),Je.play()}),Di}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,l,_,w,x){let G=[];if(l){const U=this.playersByQueriedElement.get(u);U&&(G=U)}else{const U=this.playersByElement.get(u);if(U){const te=!x||x==V;U.forEach(ge=>{ge.queued||!te&&ge.triggerName!=w||G.push(ge)})}}return(_||w)&&(G=G.filter(U=>!(_&&_!=U.namespaceId||w&&w!=U.triggerName))),G}_beforeAnimationBuild(u,l,_){const x=l.element,G=l.isRemovalTransition?void 0:u,U=l.isRemovalTransition?void 0:l.triggerName;for(const te of l.timelines){const ge=te.element,Ge=ge!==x,ke=hn(_,ge,[]);this._getPreviousPlayers(ge,Ge,G,U,l.toState).forEach(vt=>{const Ye=vt.getRealPlayer();Ye.beforeDestroy&&Ye.beforeDestroy(),vt.destroy(),ke.push(vt)})}_t(x,l.fromStyles)}_buildAnimation(u,l,_,w,x,G){const U=l.triggerName,te=l.element,ge=[],Ge=new Set,ke=new Set,yt=l.timelines.map(Ye=>{const ot=Ye.element;Ge.add(ot);const tn=ot[T];if(tn&&tn.removedBeforeQueried)return new Ve.sf(Ye.duration,Ye.delay);const it=ot!==te,nn=function Ao(S){const u=[];return Ns(S,u),u}((_.get(ot)||qi).map(zn=>zn.getRealPlayer())).filter(zn=>!!zn.element&&zn.element===ot),pr=x.get(ot),Ln=G.get(ot),an=Cs(this._normalizer,Ye.keyframes,pr,Ln),Er=this._buildPlayer(Ye,an,nn);if(Ye.subTimeline&&w&&ke.add(ot),it){const zn=new Ot(u,U,ot);zn.setRealPlayer(Er),ge.push(zn)}return Er});ge.forEach(Ye=>{hn(this.playersByQueriedElement,Ye.element,[]).push(Ye),Ye.onDone(()=>function pi(S,u,l){let _=S.get(u);if(_){if(_.length){const w=_.indexOf(l);_.splice(w,1)}0==_.length&&S.delete(u)}return _}(this.playersByQueriedElement,Ye.element,Ye))}),Ge.forEach(Ye=>er(Ye,xn));const vt=Tr(yt);return vt.onDestroy(()=>{Ge.forEach(Ye=>Ni(Ye,xn)),on(te,l.toStyles)}),ke.forEach(Ye=>{hn(w,Ye,[]).push(vt)}),vt}_buildPlayer(u,l,_){return l.length>0?this.driver.animate(u.element,l,u.duration,u.delay,u.easing,_):new Ve.sf(u.duration,u.delay)}}class Ot{constructor(u,l,_){this.namespaceId=u,this.triggerName=l,this.element=_,this._player=new Ve.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((l,_)=>{l.forEach(w=>On(u,_,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const l=this._player;l.triggerCallback&&u.onStart(()=>l.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,l){hn(this._queuedCallbacks,u,[]).push(l)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const l=this._player;l.triggerCallback&&l.triggerCallback(u)}}function mi(S){return S&&1===S.nodeType}function Xs(S,u){const l=S.style.display;return S.style.display=u??"none",l}function qs(S,u,l,_,w){const x=[];l.forEach(te=>x.push(Xs(te)));const G=[];_.forEach((te,ge)=>{const Ge=new Map;te.forEach(ke=>{const yt=u.computeStyle(ge,ke,w);Ge.set(ke,yt),(!yt||0==yt.length)&&(ge[T]=M,G.push(ge))}),S.set(ge,Ge)});let U=0;return l.forEach(te=>Xs(te,x[U++])),G}function Os(S,u){const l=new Map;if(S.forEach(U=>l.set(U,[])),0==u.length)return l;const w=new Set(u),x=new Map;function G(U){if(!U)return 1;let te=x.get(U);if(te)return te;const ge=U.parentNode;return te=l.has(ge)?ge:w.has(ge)?1:G(ge),x.set(U,te),te}return u.forEach(U=>{const te=G(U);1!==te&&l.get(te).push(U)}),l}function er(S,u){S.classList?.add(u)}function Ni(S,u){S.classList?.remove(u)}function To(S,u,l){Tr(l).onDone(()=>S.processLeaveNode(u))}function Ns(S,u){for(let l=0;lw.add(x)):u.set(S,_),l.delete(S),!0}class Cn{constructor(u,l,_,w){this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(x,G)=>{},this._transitionEngine=new Et(u.body,l,_,w),this._timelineEngine=new Pr(u.body,l,_),this._transitionEngine.onRemovalComplete=(x,G)=>this.onRemovalComplete(x,G)}registerTrigger(u,l,_,w,x){const G=u+"-"+w;let U=this._triggerCache[G];if(!U){const te=[],Ge=gt(this._driver,x,te,[]);if(te.length)throw function dr(S,u){return new f.wOt(3404,!1)}();U=function Ss(S,u,l){return new Is(S,u,l)}(w,Ge,this._normalizer),this._triggerCache[G]=U}this._transitionEngine.registerTrigger(l,w,U)}register(u,l){this._transitionEngine.register(u,l)}destroy(u,l){this._transitionEngine.destroy(u,l)}onInsert(u,l,_,w){this._transitionEngine.insertNode(u,l,_,w)}onRemove(u,l,_){this._transitionEngine.removeNode(u,l,_)}disableAnimations(u,l){this._transitionEngine.markElementAsDisabled(u,l)}process(u,l,_,w){if("@"==_.charAt(0)){const[x,G]=Xr(_);this._timelineEngine.command(x,l,G,w)}else this._transitionEngine.trigger(u,l,_,w)}listen(u,l,_,w,x){if("@"==_.charAt(0)){const[G,U]=Xr(_);return this._timelineEngine.listen(G,l,U,x)}return this._transitionEngine.listen(u,l,_,w,x)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}}class $n{static#e=this.initialStylesByElement=new WeakMap;constructor(u,l,_){this._element=u,this._startStyles=l,this._endStyles=_,this._state=0;let w=$n.initialStylesByElement.get(u);w||$n.initialStylesByElement.set(u,w=new Map),this._initialStyles=w}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&($n.initialStylesByElement.delete(this._element),this._startStyles&&(_t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_t(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}function Rs(S){let u=null;return S.forEach((l,_)=>{(function Ys(S){return"display"===S||"position"===S})(_)&&(u=u||new Map,u.set(_,l))}),u}class yi{constructor(u,l,_,w){this.element=u,this.keyframes=l,this.options=_,this._specialStyles=w,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;const l=()=>this._onFinish();this.domPlayer.addEventListener("finish",l),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",l)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const l=[];return u.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(u,l,_){return u.animate(this._convertKeyframesToObject(l),_)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,w)=>{"offset"!==w&&u.set(w,this._finished?_:Hi(this.element,w))}),this.currentSnapshot=u}triggerCallback(u){const l="start"===u?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class Zs{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,l){return!1}containsElement(u,l){return ji(u,l)}getParentElement(u){return yr(u)}query(u,l,_){return fr(u,l,_)}computeStyle(u,l,_){return Hi(u,l)}animate(u,l,_,w,x,G=[]){const te={duration:_,delay:w,fill:0==w?"both":"forwards"};x&&(te.easing=x);const ge=new Map,Ge=G.filter(vt=>vt instanceof yi);(function Si(S,u){return 0===S||0===u})(_,w)&&Ge.forEach(vt=>{vt.currentSnapshot.forEach((Ye,ot)=>ge.set(ot,Ye))});let ke=function hr(S){return S.length?S[0]instanceof Map?S:S.map(u=>new Map(Object.entries(u))):[]}(l).map(vt=>new Map(vt));ke=function Ft(S,u,l){if(l.size&&u.length){let _=u[0],w=[];if(l.forEach((x,G)=>{_.has(G)||w.push(G),_.set(G,x)}),w.length)for(let x=1;xG.set(U,Hi(S,U)))}}return u}(u,ke,ge);const yt=function Ar(S,u){let l=null,_=null;return Array.isArray(u)&&u.length?(l=Rs(u[0]),u.length>1&&(_=Rs(u[u.length-1]))):u instanceof Map&&(l=Rs(u)),l||_?new $n(S,l,_):null}(u,ke);return new yi(u,ke,te,yt)}}const hs="@.disabled";class Js{constructor(u,l,_,w){this.namespaceId=u,this.delegate=l,this.engine=_,this._onDestroy=w,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(u){this.delegate.destroyNode?.(u)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(u,l){return this.delegate.createElement(u,l)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,l){this.delegate.appendChild(u,l),this.engine.onInsert(this.namespaceId,l,u,!1)}insertBefore(u,l,_,w=!0){this.delegate.insertBefore(u,l,_),this.engine.onInsert(this.namespaceId,l,u,w)}removeChild(u,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(u,l){return this.delegate.selectRootElement(u,l)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,l,_,w){this.delegate.setAttribute(u,l,_,w)}removeAttribute(u,l,_){this.delegate.removeAttribute(u,l,_)}addClass(u,l){this.delegate.addClass(u,l)}removeClass(u,l){this.delegate.removeClass(u,l)}setStyle(u,l,_,w){this.delegate.setStyle(u,l,_,w)}removeStyle(u,l,_){this.delegate.removeStyle(u,l,_)}setProperty(u,l,_){"@"==l.charAt(0)&&l==hs?this.disableAnimations(u,!!_):this.delegate.setProperty(u,l,_)}setValue(u,l){this.delegate.setValue(u,l)}listen(u,l,_){return this.delegate.listen(u,l,_)}disableAnimations(u,l){this.engine.disableAnimations(u,l)}}class ps extends Js{constructor(u,l,_,w,x){super(l,_,w,x),this.factory=u,this.namespaceId=l}setProperty(u,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==hs?this.disableAnimations(u,_=void 0===_||!!_):this.engine.process(this.namespaceId,u,l.slice(1),_):this.delegate.setProperty(u,l,_)}listen(u,l,_){if("@"==l.charAt(0)){const w=function za(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(u);let x=l.slice(1),G="";return"@"!=x.charAt(0)&&([x,G]=function xs(S){const u=S.indexOf(".");return[S.substring(0,u),S.slice(u+1)]}(x)),this.engine.listen(this.namespaceId,w,x,G,U=>{this.factory.scheduleListenerCallback(U._data||-1,_,U)})}return this.delegate.listen(u,l,_)}}class qo{constructor(u,l,_){this.delegate=u,this.engine=l,this._zone=_,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,l.onRemovalComplete=(w,x)=>{const G=x?.parentNode(w);G&&x.removeChild(G,w)}}createRenderer(u,l){const w=this.delegate.createRenderer(u,l);if(!u||!l?.data?.animation){const ge=this._rendererCache;let Ge=ge.get(w);return Ge||(Ge=new Js("",w,this.engine,()=>ge.delete(w)),ge.set(w,Ge)),Ge}const x=l.id,G=l.id+"-"+this._currentId;this._currentId++,this.engine.register(G,u);const U=ge=>{Array.isArray(ge)?ge.forEach(U):this.engine.registerTrigger(x,G,u,ge.name,ge)};return l.data.animation.forEach(U),new ps(this,G,w,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,l,_){if(u>=0&&ul(_));const w=this._animationCallbacksBuffer;0==w.length&&queueMicrotask(()=>{this._zone.run(()=>{w.forEach(x=>{const[G,U]=x;G(U)}),this._animationCallbacksBuffer=[]})}),w.push([l,_])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const vi=[{provide:we,useFactory:function Oo(){return new ns}},{provide:Cn,useClass:(()=>{class S extends Cn{constructor(l,_,w){super(l,_,w,(0,f.WQX)(f.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(_){return new(_||S)(f.KVO(v.qQ),f.KVO(q),f.KVO(we))};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})()},{provide:f._9s,useFactory:function No(S,u,l){return new qo(S,u,l)},deps:[g.B7,Cn,f.SKi]}],to=[{provide:q,useFactory:()=>new Zs},{provide:f.bc$,useValue:"BrowserAnimations"},...vi],Ri=[{provide:q,useClass:X},{provide:f.bc$,useValue:"NoopAnimations"},...vi];let no=(()=>{class S{static withConfig(l){return{ngModule:S,providers:l.disableAnimations?Ri:to}}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({providers:to,imports:[g.Bb]})}return S})();var xr=N(494),gs=N(1631),io=N(8542),Po=N(563),xo=N(6497),Zo=N(1455);const ms=["submenu"],Jo=["app-menuitem",""],ea=()=>({paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"});function ta(S,u){if(1&S&&(f.j41(0,"div",5),f.EFF(1),f.k0s()),2&S){const l=f.XpG();f.R7$(),f.JRh(l.item.label)}}function so(S,u){1&S&&f.nrm(0,"i",10)}function Yi(S,u){if(1&S){const l=f.RV6();f.j41(0,"a",6),f.bIt("click",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.itemClick(w))})("mouseenter",function(){f.eBV(l);const w=f.XpG();return f.Njj(w.onMouseEnter())}),f.nrm(1,"i",7),f.j41(2,"span",8),f.EFF(3),f.k0s(),f.DNE(4,so,1,0,"i",9),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("ngClass",l.item.class)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root&&!l.active)),f.BMQ("href",l.item.url,f.B4B)("target",l.item.target),f.R7$(),f.Y8G("ngClass",l.item.icon),f.R7$(2),f.JRh(l.item.label),f.R7$(),f.Y8G("ngIf",l.item.items)}}function Fo(S,u){1&S&&f.nrm(0,"i",10)}function oo(S,u){if(1&S){const l=f.RV6();f.j41(0,"a",11),f.bIt("click",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.itemClick(w))})("mouseenter",function(){f.eBV(l);const w=f.XpG();return f.Njj(w.onMouseEnter())}),f.nrm(1,"i",7),f.j41(2,"span",8),f.EFF(3),f.k0s(),f.DNE(4,Fo,1,0,"i",9),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("ngClass",l.item.class)("routerLink",l.item.routerLink)("routerLinkActiveOptions",l.item.routerLinkActiveOptions||f.lJ4(16,ea))("fragment",l.item.fragment)("queryParamsHandling",l.item.queryParamsHandling)("preserveFragment",l.item.preserveFragment)("skipLocationChange",l.item.skipLocationChange)("replaceUrl",l.item.replaceUrl)("state",l.item.state)("queryParams",l.item.queryParams)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root)),f.BMQ("target",l.item.target),f.R7$(),f.Y8G("ngClass",l.item.icon),f.R7$(2),f.JRh(l.item.label),f.R7$(),f.Y8G("ngIf",l.item.items)}}function p(S,u){if(1&S&&f.nrm(0,"li",13),2&S){const l=u.$implicit,_=u.index,w=f.XpG(2);f.HbH(l.badgeClass),f.Y8G("item",l)("index",_)("parentKey",w.key)}}function R(S,u){if(1&S){const l=f.RV6();f.j41(0,"ul",null,0),f.bIt("@children.done",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.onSubmenuAnimated(w))}),f.DNE(2,p,1,5,"ng-template",12),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("@children",l.submenuAnimation),f.R7$(2),f.Y8G("ngForOf",l.item.items)}}let E=(()=>{class S{constructor(l,_,w,x,G){this.layoutService=l,this.cd=_,this.router=w,this.appSidebar=x,this.menuService=G,this.active=!1,this.key="",this.menuSourceSubscription=this.menuService.menuSource$.subscribe(U=>{Promise.resolve(null).then(()=>{U.routeEvent?this.active=!(U.key!==this.key&&!U.key.startsWith(this.key+"-")):U.key!==this.key&&!U.key.startsWith(this.key+"-")&&(this.active=!1)})}),this.menuResetSubscription=this.menuService.resetSource$.subscribe(()=>{this.active=!1}),this.router.events.pipe((0,re.p)(U=>U instanceof F.wF)).subscribe(U=>{this.isSlimPlus||this.isSlim||this.isHorizontal?this.active=!1:this.item.routerLink&&this.updateActiveStateFromRoute()})}ngOnInit(){this.key=this.parentKey?this.parentKey+"-"+this.index:String(this.index),!(this.isSlimPlus||this.isSlim||this.isHorizontal)&&this.item.routerLink&&this.updateActiveStateFromRoute()}ngAfterViewChecked(){this.root&&this.active&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&this.calculatePosition(this.submenu?.nativeElement,this.submenu?.nativeElement.parentElement)}updateActiveStateFromRoute(){this.router.isActive(this.item.routerLink[0],{paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"})&&this.menuService.onMenuStateChange({key:this.key,routeEvent:!0})}onSubmenuAnimated(l){if("visible"===l.toState&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())){const _=l.element;this.calculatePosition(_,_.parentElement)}}calculatePosition(l,_){if(l){const{left:w,top:x}=_.getBoundingClientRect(),[G,U]=[window.innerWidth,window.innerHeight],[te,ge]=[l.offsetWidth,l.offsetHeight],Ge=Zo.D.calculateScrollbarWidth();if(l.style.top="",l.style.left="",this.layoutService.isHorizontal()){const ke=w+te+Ge;l.style.left=G expanded",(0,Ve.i0)("400ms cubic-bezier(0.86, 0, 0.07, 1)"))])]}})}return S})(),I=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[g.Bb,fn.YN,Gn.q1,no,Le.u,Ee.n,Y.EJ,xr.Ko,gs.H_,He.tm,io.S,Po.Z,F.iI,xo.G]})}return S})();f.wjB(k,[v.Sq,v.bT,E],[]);let z=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[v.MD]})}return S})();const ve=[];var Ne=N(980);let nt=(()=>{class S{constructor(l){this.loadingService=l}intercept(l,_){return ve.some(x=>l.url.toLowerCase().includes(x.toLowerCase()))?_.handle(l):(this.loadingService.setLoading(!0,l.url),_.handle(l).pipe((0,Ne.j)(()=>{this.loadingService.setLoading(!1,l.url)})))}static#e=this.\u0275fac=function(_){return new(_||S)(f.KVO(Gt))};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})(),gn=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S,bootstrap:[Pn]});static#n=this.\u0275inj=f.G2t({providers:[{provide:v.hb,useClass:v.fw},{provide:Gn.a7,useClass:nt,multi:!0}],imports:[ze,I,z]})}return S})();g.sG().bootstrapModule(gn).catch(S=>console.error(S))},4412:(Ze,De,N)=>{N.d(De,{t:()=>v});var g=N(1413);class v extends g.B{constructor(re){super(),this._value=re}get value(){return this.getValue()}_subscribe(re){const f=super._subscribe(re);return!f.closed&&re.next(this._value),f}getValue(){const{hasError:re,thrownError:f,_value:L}=this;if(re)throw f;return this._throwIfClosed(),L}next(re){super.next(this._value=re)}}},1985:(Ze,De,N)=>{N.d(De,{c:()=>$});var g=N(7707),v=N(8359),F=N(3494),re=N(1203),f=N(1026),L=N(8071),A=N(9786);let $=(()=>{class J{constructor(fe){fe&&(this._subscribe=fe)}lift(fe){const be=new J;return be.source=this,be.operator=fe,be}subscribe(fe,be,Le){const He=function W(J){return J&&J instanceof g.vU||function k(J){return J&&(0,L.T)(J.next)&&(0,L.T)(J.error)&&(0,L.T)(J.complete)}(J)&&(0,v.Uv)(J)}(fe)?fe:new g.Ms(fe,be,Le);return(0,A.Y)(()=>{const{operator:at,source:Bt}=this;He.add(at?at.call(He,Bt):Bt?this._subscribe(He):this._trySubscribe(He))}),He}_trySubscribe(fe){try{return this._subscribe(fe)}catch(be){fe.error(be)}}forEach(fe,be){return new(be=H(be))((Le,He)=>{const at=new g.Ms({next:Bt=>{try{fe(Bt)}catch(St){He(St),at.unsubscribe()}},error:He,complete:Le});this.subscribe(at)})}_subscribe(fe){var be;return null===(be=this.source)||void 0===be?void 0:be.subscribe(fe)}[F.s](){return this}pipe(...fe){return(0,re.m)(fe)(this)}toPromise(fe){return new(fe=H(fe))((be,Le)=>{let He;this.subscribe(at=>He=at,at=>Le(at),()=>be(He))})}}return J.create=le=>new J(le),J})();function H(J){var le;return null!==(le=J??f.$.Promise)&&void 0!==le?le:Promise}},1413:(Ze,De,N)=>{N.d(De,{B:()=>A});var g=N(1985),v=N(8359);const re=(0,N(1853).L)(H=>function(){H(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var f=N(7908),L=N(9786);let A=(()=>{class H extends g.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(W){const J=new $(this,this);return J.operator=W,J}_throwIfClosed(){if(this.closed)throw new re}next(W){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(W)}})}error(W){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=W;const{observers:J}=this;for(;J.length;)J.shift().error(W)}})}complete(){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:W}=this;for(;W.length;)W.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var W;return(null===(W=this.observers)||void 0===W?void 0:W.length)>0}_trySubscribe(W){return this._throwIfClosed(),super._trySubscribe(W)}_subscribe(W){return this._throwIfClosed(),this._checkFinalizedStatuses(W),this._innerSubscribe(W)}_innerSubscribe(W){const{hasError:J,isStopped:le,observers:fe}=this;return J||le?v.Kn:(this.currentObservers=null,fe.push(W),new v.yU(()=>{this.currentObservers=null,(0,f.o)(fe,W)}))}_checkFinalizedStatuses(W){const{hasError:J,thrownError:le,isStopped:fe}=this;J?W.error(le):fe&&W.complete()}asObservable(){const W=new g.c;return W.source=this,W}}return H.create=(k,W)=>new $(k,W),H})();class $ extends A{constructor(k,W){super(),this.destination=k,this.source=W}next(k){var W,J;null===(J=null===(W=this.destination)||void 0===W?void 0:W.next)||void 0===J||J.call(W,k)}error(k){var W,J;null===(J=null===(W=this.destination)||void 0===W?void 0:W.error)||void 0===J||J.call(W,k)}complete(){var k,W;null===(W=null===(k=this.destination)||void 0===k?void 0:k.complete)||void 0===W||W.call(k)}_subscribe(k){var W,J;return null!==(J=null===(W=this.source)||void 0===W?void 0:W.subscribe(k))&&void 0!==J?J:v.Kn}}},7707:(Ze,De,N)=>{N.d(De,{Ms:()=>Le,vU:()=>J});var g=N(8071),v=N(8359),F=N(1026),re=N(5334),f=N(5343);const L=H("C",void 0,void 0);function H($e,pe,et){return{kind:$e,value:pe,error:et}}var k=N(9270),W=N(9786);class J extends v.yU{constructor(pe){super(),this.isStopped=!1,pe?(this.destination=pe,(0,v.Uv)(pe)&&pe.add(this)):this.destination=St}static create(pe,et,se){return new Le(pe,et,se)}next(pe){this.isStopped?Bt(function $($e){return H("N",$e,void 0)}(pe),this):this._next(pe)}error(pe){this.isStopped?Bt(function A($e){return H("E",void 0,$e)}(pe),this):(this.isStopped=!0,this._error(pe))}complete(){this.isStopped?Bt(L,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(pe){this.destination.next(pe)}_error(pe){try{this.destination.error(pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const le=Function.prototype.bind;function fe($e,pe){return le.call($e,pe)}class be{constructor(pe){this.partialObserver=pe}next(pe){const{partialObserver:et}=this;if(et.next)try{et.next(pe)}catch(se){He(se)}}error(pe){const{partialObserver:et}=this;if(et.error)try{et.error(pe)}catch(se){He(se)}else He(pe)}complete(){const{partialObserver:pe}=this;if(pe.complete)try{pe.complete()}catch(et){He(et)}}}class Le extends J{constructor(pe,et,se){let ne;if(super(),(0,g.T)(pe)||!pe)ne={next:pe??void 0,error:et??void 0,complete:se??void 0};else{let Ie;this&&F.$.useDeprecatedNextContext?(Ie=Object.create(pe),Ie.unsubscribe=()=>this.unsubscribe(),ne={next:pe.next&&fe(pe.next,Ie),error:pe.error&&fe(pe.error,Ie),complete:pe.complete&&fe(pe.complete,Ie)}):ne=pe}this.destination=new be(ne)}}function He($e){F.$.useDeprecatedSynchronousErrorHandling?(0,W.l)($e):(0,re.m)($e)}function Bt($e,pe){const{onStoppedNotification:et}=F.$;et&&k.f.setTimeout(()=>et($e,pe))}const St={closed:!0,next:f.l,error:function at($e){throw $e},complete:f.l}},8359:(Ze,De,N)=>{N.d(De,{Kn:()=>L,yU:()=>f,Uv:()=>A});var g=N(8071);const F=(0,N(1853).L)(H=>function(W){H(this),this.message=W?`${W.length} errors occurred during unsubscription:\n${W.map((J,le)=>`${le+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=W});var re=N(7908);class f{constructor(k){this.initialTeardown=k,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let k;if(!this.closed){this.closed=!0;const{_parentage:W}=this;if(W)if(this._parentage=null,Array.isArray(W))for(const fe of W)fe.remove(this);else W.remove(this);const{initialTeardown:J}=this;if((0,g.T)(J))try{J()}catch(fe){k=fe instanceof F?fe.errors:[fe]}const{_finalizers:le}=this;if(le){this._finalizers=null;for(const fe of le)try{$(fe)}catch(be){k=k??[],be instanceof F?k=[...k,...be.errors]:k.push(be)}}if(k)throw new F(k)}}add(k){var W;if(k&&k!==this)if(this.closed)$(k);else{if(k instanceof f){if(k.closed||k._hasParent(this))return;k._addParent(this)}(this._finalizers=null!==(W=this._finalizers)&&void 0!==W?W:[]).push(k)}}_hasParent(k){const{_parentage:W}=this;return W===k||Array.isArray(W)&&W.includes(k)}_addParent(k){const{_parentage:W}=this;this._parentage=Array.isArray(W)?(W.push(k),W):W?[W,k]:k}_removeParent(k){const{_parentage:W}=this;W===k?this._parentage=null:Array.isArray(W)&&(0,re.o)(W,k)}remove(k){const{_finalizers:W}=this;W&&(0,re.o)(W,k),k instanceof f&&k._removeParent(this)}}f.EMPTY=(()=>{const H=new f;return H.closed=!0,H})();const L=f.EMPTY;function A(H){return H instanceof f||H&&"closed"in H&&(0,g.T)(H.remove)&&(0,g.T)(H.add)&&(0,g.T)(H.unsubscribe)}function $(H){(0,g.T)(H)?H():H.unsubscribe()}},1026:(Ze,De,N)=>{N.d(De,{$:()=>g});const g={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8793:(Ze,De,N)=>{N.d(De,{x:()=>f});var g=N(6365),F=N(9326),re=N(6648);function f(...L){return function v(){return(0,g.U)(1)}()((0,re.H)(L,(0,F.lI)(L)))}},983:(Ze,De,N)=>{N.d(De,{w:()=>v});const v=new(N(1985).c)(f=>f.complete())},6648:(Ze,De,N)=>{N.d(De,{H:()=>se});var g=N(8750),v=N(5225),F=N(9974),re=N(4360);function f(ne,Ie=0){return(0,F.N)((Ee,Y)=>{Ee.subscribe((0,re._)(Y,xe=>(0,v.N)(Y,ne,()=>Y.next(xe),Ie),()=>(0,v.N)(Y,ne,()=>Y.complete(),Ie),xe=>(0,v.N)(Y,ne,()=>Y.error(xe),Ie)))})}function L(ne,Ie=0){return(0,F.N)((Ee,Y)=>{Y.add(ne.schedule(()=>Ee.subscribe(Y),Ie))})}var H=N(1985),W=N(4761),J=N(8071);function fe(ne,Ie){if(!ne)throw new Error("Iterable cannot be null");return new H.c(Ee=>{(0,v.N)(Ee,Ie,()=>{const Y=ne[Symbol.asyncIterator]();(0,v.N)(Ee,Ie,()=>{Y.next().then(xe=>{xe.done?Ee.complete():Ee.next(xe.value)})},0,!0)})})}var be=N(5055),Le=N(9858),He=N(7441),at=N(5397),Bt=N(7953),St=N(591),$e=N(5196);function se(ne,Ie){return Ie?function et(ne,Ie){if(null!=ne){if((0,be.l)(ne))return function A(ne,Ie){return(0,g.Tg)(ne).pipe(L(Ie),f(Ie))}(ne,Ie);if((0,He.X)(ne))return function k(ne,Ie){return new H.c(Ee=>{let Y=0;return Ie.schedule(function(){Y===ne.length?Ee.complete():(Ee.next(ne[Y++]),Ee.closed||this.schedule())})})}(ne,Ie);if((0,Le.y)(ne))return function $(ne,Ie){return(0,g.Tg)(ne).pipe(L(Ie),f(Ie))}(ne,Ie);if((0,Bt.T)(ne))return fe(ne,Ie);if((0,at.x)(ne))return function le(ne,Ie){return new H.c(Ee=>{let Y;return(0,v.N)(Ee,Ie,()=>{Y=ne[W.l](),(0,v.N)(Ee,Ie,()=>{let xe,ae;try{({value:xe,done:ae}=Y.next())}catch(qe){return void Ee.error(qe)}ae?Ee.complete():Ee.next(xe)},0,!0)}),()=>(0,J.T)(Y?.return)&&Y.return()})}(ne,Ie);if((0,$e.U)(ne))return function pe(ne,Ie){return fe((0,$e.C)(ne),Ie)}(ne,Ie)}throw(0,St.L)(ne)}(ne,Ie):(0,g.Tg)(ne)}},8750:(Ze,De,N)=>{N.d(De,{Tg:()=>le});var g=N(1635),v=N(7441),F=N(9858),re=N(1985),f=N(5055),L=N(7953),A=N(591),$=N(5397),H=N(5196),k=N(8071),W=N(5334),J=N(3494);function le($e){if($e instanceof re.c)return $e;if(null!=$e){if((0,f.l)($e))return function fe($e){return new re.c(pe=>{const et=$e[J.s]();if((0,k.T)(et.subscribe))return et.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($e);if((0,v.X)($e))return function be($e){return new re.c(pe=>{for(let et=0;et<$e.length&&!pe.closed;et++)pe.next($e[et]);pe.complete()})}($e);if((0,F.y)($e))return function Le($e){return new re.c(pe=>{$e.then(et=>{pe.closed||(pe.next(et),pe.complete())},et=>pe.error(et)).then(null,W.m)})}($e);if((0,L.T)($e))return at($e);if((0,$.x)($e))return function He($e){return new re.c(pe=>{for(const et of $e)if(pe.next(et),pe.closed)return;pe.complete()})}($e);if((0,H.U)($e))return function Bt($e){return at((0,H.C)($e))}($e)}throw(0,A.L)($e)}function at($e){return new re.c(pe=>{(function St($e,pe){var et,se,ne,Ie;return(0,g.sH)(this,void 0,void 0,function*(){try{for(et=(0,g.xN)($e);!(se=yield et.next()).done;)if(pe.next(se.value),pe.closed)return}catch(Ee){ne={error:Ee}}finally{try{se&&!se.done&&(Ie=et.return)&&(yield Ie.call(et))}finally{if(ne)throw ne.error}}pe.complete()})})($e,pe).catch(et=>pe.error(et))})}},7673:(Ze,De,N)=>{N.d(De,{of:()=>F});var g=N(9326),v=N(6648);function F(...re){const f=(0,g.lI)(re);return(0,v.H)(re,f)}},1584:(Ze,De,N)=>{N.d(De,{O:()=>f});var g=N(1985),v=N(3888),F=N(9470);function f(L=0,A,$=v.b){let H=-1;return null!=A&&((0,F.m)(A)?$=A:H=A),new g.c(k=>{let W=function re(L){return L instanceof Date&&!isNaN(L)}(L)?+L-$.now():L;W<0&&(W=0);let J=0;return $.schedule(function(){k.closed||(k.next(J++),0<=H?this.schedule(void 0,H):k.complete())},W)})}},4360:(Ze,De,N)=>{N.d(De,{_:()=>v});var g=N(7707);function v(re,f,L,A,$){return new F(re,f,L,A,$)}class F extends g.vU{constructor(f,L,A,$,H,k){super(f),this.onFinalize=H,this.shouldUnsubscribe=k,this._next=L?function(W){try{L(W)}catch(J){f.error(J)}}:super._next,this._error=$?function(W){try{$(W)}catch(J){f.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(W){f.error(W)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:L}=this;super.unsubscribe(),!L&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}}}},274:(Ze,De,N)=>{N.d(De,{H:()=>F});var g=N(1397),v=N(8071);function F(re,f){return(0,v.T)(f)?(0,g.Z)(re,f,1):(0,g.Z)(re,1)}},5964:(Ze,De,N)=>{N.d(De,{p:()=>F});var g=N(9974),v=N(4360);function F(re,f){return(0,g.N)((L,A)=>{let $=0;L.subscribe((0,v._)(A,H=>re.call(f,H,$++)&&A.next(H)))})}},980:(Ze,De,N)=>{N.d(De,{j:()=>v});var g=N(9974);function v(F){return(0,g.N)((re,f)=>{try{re.subscribe(f)}finally{f.add(F)}})}},6354:(Ze,De,N)=>{N.d(De,{T:()=>F});var g=N(9974),v=N(4360);function F(re,f){return(0,g.N)((L,A)=>{let $=0;L.subscribe((0,v._)(A,H=>{A.next(re.call(f,H,$++))}))})}},3703:(Ze,De,N)=>{N.d(De,{u:()=>v});var g=N(6354);function v(F){return(0,g.T)(()=>F)}},6365:(Ze,De,N)=>{N.d(De,{U:()=>F});var g=N(1397),v=N(3669);function F(re=1/0){return(0,g.Z)(v.D,re)}},1397:(Ze,De,N)=>{N.d(De,{Z:()=>$});var g=N(6354),v=N(8750),F=N(9974),re=N(5225),f=N(4360),A=N(8071);function $(H,k,W=1/0){return(0,A.T)(k)?$((J,le)=>(0,g.T)((fe,be)=>k(J,fe,le,be))((0,v.Tg)(H(J,le))),W):("number"==typeof k&&(W=k),(0,F.N)((J,le)=>function L(H,k,W,J,le,fe,be,Le){const He=[];let at=0,Bt=0,St=!1;const $e=()=>{St&&!He.length&&!at&&k.complete()},pe=se=>at{fe&&k.next(se),at++;let ne=!1;(0,v.Tg)(W(se,Bt++)).subscribe((0,f._)(k,Ie=>{le?.(Ie),fe?pe(Ie):k.next(Ie)},()=>{ne=!0},void 0,()=>{if(ne)try{for(at--;He.length&&atet(Ie)):et(Ie)}$e()}catch(Ie){k.error(Ie)}}))};return H.subscribe((0,f._)(k,pe,()=>{St=!0,$e()})),()=>{Le?.()}}(J,le,H,W)))}},5558:(Ze,De,N)=>{N.d(De,{n:()=>re});var g=N(8750),v=N(9974),F=N(4360);function re(f,L){return(0,v.N)((A,$)=>{let H=null,k=0,W=!1;const J=()=>W&&!H&&$.complete();A.subscribe((0,F._)($,le=>{H?.unsubscribe();let fe=0;const be=k++;(0,g.Tg)(f(le,be)).subscribe(H=(0,F._)($,Le=>$.next(L?L(le,Le,be,fe++):Le),()=>{H=null,J()}))},()=>{W=!0,J()}))})}},6697:(Ze,De,N)=>{N.d(De,{s:()=>re});var g=N(983),v=N(9974),F=N(4360);function re(f){return f<=0?()=>g.w:(0,v.N)((L,A)=>{let $=0;L.subscribe((0,F._)(A,H=>{++$<=f&&(A.next(H),f<=$&&A.complete())}))})}},3888:(Ze,De,N)=>{N.d(De,{b:()=>k,E:()=>H});var g=N(8359);class v extends g.yU{constructor(J,le){super()}schedule(J,le=0){return this}}const F={setInterval(W,J,...le){const{delegate:fe}=F;return fe?.setInterval?fe.setInterval(W,J,...le):setInterval(W,J,...le)},clearInterval(W){const{delegate:J}=F;return(J?.clearInterval||clearInterval)(W)},delegate:void 0};var re=N(7908);const L={now:()=>(L.delegate||Date).now(),delegate:void 0};class A{constructor(J,le=A.now){this.schedulerActionCtor=J,this.now=le}schedule(J,le=0,fe){return new this.schedulerActionCtor(this,J).schedule(fe,le)}}A.now=L.now;const H=new class $ extends A{constructor(J,le=A.now){super(J,le),this.actions=[],this._active=!1}flush(J){const{actions:le}=this;if(this._active)return void le.push(J);let fe;this._active=!0;do{if(fe=J.execute(J.state,J.delay))break}while(J=le.shift());if(this._active=!1,fe){for(;J=le.shift();)J.unsubscribe();throw fe}}}(class f extends v{constructor(J,le){super(J,le),this.scheduler=J,this.work=le,this.pending=!1}schedule(J,le=0){var fe;if(this.closed)return this;this.state=J;const be=this.id,Le=this.scheduler;return null!=be&&(this.id=this.recycleAsyncId(Le,be,le)),this.pending=!0,this.delay=le,this.id=null!==(fe=this.id)&&void 0!==fe?fe:this.requestAsyncId(Le,this.id,le),this}requestAsyncId(J,le,fe=0){return F.setInterval(J.flush.bind(J,this),fe)}recycleAsyncId(J,le,fe=0){if(null!=fe&&this.delay===fe&&!1===this.pending)return le;null!=le&&F.clearInterval(le)}execute(J,le){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const fe=this._execute(J,le);if(fe)return fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,le){let be,fe=!1;try{this.work(J)}catch(Le){fe=!0,be=Le||new Error("Scheduled action threw falsy error")}if(fe)return this.unsubscribe(),be}unsubscribe(){if(!this.closed){const{id:J,scheduler:le}=this,{actions:fe}=le;this.work=this.state=this.scheduler=null,this.pending=!1,(0,re.o)(fe,this),null!=J&&(this.id=this.recycleAsyncId(le,J,null)),this.delay=null,super.unsubscribe()}}}),k=H},9270:(Ze,De,N)=>{N.d(De,{f:()=>g});const g={setTimeout(v,F,...re){const{delegate:f}=g;return f?.setTimeout?f.setTimeout(v,F,...re):setTimeout(v,F,...re)},clearTimeout(v){const{delegate:F}=g;return(F?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4761:(Ze,De,N)=>{N.d(De,{l:()=>v});const v=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ze,De,N)=>{N.d(De,{s:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Ze,De,N)=>{N.d(De,{lI:()=>f,ms:()=>re});var g=N(8071),v=N(9470);function F(A){return A[A.length-1]}function re(A){return(0,g.T)(F(A))?A.pop():void 0}function f(A){return(0,v.m)(F(A))?A.pop():void 0}},3073:(Ze,De,N)=>{N.d(De,{D:()=>f});const{isArray:g}=Array,{getPrototypeOf:v,prototype:F,keys:re}=Object;function f(A){if(1===A.length){const $=A[0];if(g($))return{args:$,keys:null};if(function L(A){return A&&"object"==typeof A&&v(A)===F}($)){const H=re($);return{args:H.map(k=>$[k]),keys:H}}}return{args:A,keys:null}}},7908:(Ze,De,N)=>{function g(v,F){if(v){const re=v.indexOf(F);0<=re&&v.splice(re,1)}}N.d(De,{o:()=>g})},1853:(Ze,De,N)=>{function g(v){const re=v(f=>{Error.call(f),f.stack=(new Error).stack});return re.prototype=Object.create(Error.prototype),re.prototype.constructor=re,re}N.d(De,{L:()=>g})},8496:(Ze,De,N)=>{function g(v,F){return v.reduce((re,f,L)=>(re[f]=F[L],re),{})}N.d(De,{e:()=>g})},9786:(Ze,De,N)=>{N.d(De,{Y:()=>F,l:()=>re});var g=N(1026);let v=null;function F(f){if(g.$.useDeprecatedSynchronousErrorHandling){const L=!v;if(L&&(v={errorThrown:!1,error:null}),f(),L){const{errorThrown:A,error:$}=v;if(v=null,A)throw $}}else f()}function re(f){g.$.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=f)}},5225:(Ze,De,N)=>{function g(v,F,re,f=0,L=!1){const A=F.schedule(function(){re(),L?v.add(this.schedule(null,f)):this.unsubscribe()},f);if(v.add(A),!L)return A}N.d(De,{N:()=>g})},3669:(Ze,De,N)=>{function g(v){return v}N.d(De,{D:()=>g})},7441:(Ze,De,N)=>{N.d(De,{X:()=>g});const g=v=>v&&"number"==typeof v.length&&"function"!=typeof v},7953:(Ze,De,N)=>{N.d(De,{T:()=>v});var g=N(8071);function v(F){return Symbol.asyncIterator&&(0,g.T)(F?.[Symbol.asyncIterator])}},8071:(Ze,De,N)=>{function g(v){return"function"==typeof v}N.d(De,{T:()=>g})},5055:(Ze,De,N)=>{N.d(De,{l:()=>F});var g=N(3494),v=N(8071);function F(re){return(0,v.T)(re[g.s])}},5397:(Ze,De,N)=>{N.d(De,{x:()=>F});var g=N(4761),v=N(8071);function F(re){return(0,v.T)(re?.[g.l])}},9858:(Ze,De,N)=>{N.d(De,{y:()=>v});var g=N(8071);function v(F){return(0,g.T)(F?.then)}},5196:(Ze,De,N)=>{N.d(De,{C:()=>F,U:()=>re});var g=N(1635),v=N(8071);function F(f){return(0,g.AQ)(this,arguments,function*(){const A=f.getReader();try{for(;;){const{value:$,done:H}=yield(0,g.N3)(A.read());if(H)return yield(0,g.N3)(void 0);yield yield(0,g.N3)($)}}finally{A.releaseLock()}})}function re(f){return(0,v.T)(f?.getReader)}},9470:(Ze,De,N)=>{N.d(De,{m:()=>v});var g=N(8071);function v(F){return F&&(0,g.T)(F.schedule)}},9974:(Ze,De,N)=>{N.d(De,{N:()=>F,S:()=>v});var g=N(8071);function v(re){return(0,g.T)(re?.lift)}function F(re){return f=>{if(v(f))return f.lift(function(L){try{return re(L,this)}catch(A){this.error(A)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ze,De,N)=>{N.d(De,{I:()=>re});var g=N(6354);const{isArray:v}=Array;function re(f){return(0,g.T)(L=>function F(f,L){return v(L)?f(...L):f(L)}(f,L))}},5343:(Ze,De,N)=>{function g(){}N.d(De,{l:()=>g})},1203:(Ze,De,N)=>{N.d(De,{F:()=>v,m:()=>F});var g=N(3669);function v(...re){return F(re)}function F(re){return 0===re.length?g.D:1===re.length?re[0]:function(L){return re.reduce((A,$)=>$(A),L)}}},5334:(Ze,De,N)=>{N.d(De,{m:()=>F});var g=N(1026),v=N(9270);function F(re){v.f.setTimeout(()=>{const{onUnhandledError:f}=g.$;if(!f)throw re;f(re)})}},591:(Ze,De,N)=>{function g(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}N.d(De,{L:()=>g})},9969:(Ze,De,N)=>{N.d(De,{FX:()=>Ie,If:()=>g,K2:()=>L,hZ:()=>F,i0:()=>re,iF:()=>A,kY:()=>k,kp:()=>v,lY:()=>W,sM:()=>le,sf:()=>se,ui:()=>ne,wk:()=>$});var g=function(Ee){return Ee[Ee.State=0]="State",Ee[Ee.Transition=1]="Transition",Ee[Ee.Sequence=2]="Sequence",Ee[Ee.Group=3]="Group",Ee[Ee.Animate=4]="Animate",Ee[Ee.Keyframes=5]="Keyframes",Ee[Ee.Style=6]="Style",Ee[Ee.Trigger=7]="Trigger",Ee[Ee.Reference=8]="Reference",Ee[Ee.AnimateChild=9]="AnimateChild",Ee[Ee.AnimateRef=10]="AnimateRef",Ee[Ee.Query=11]="Query",Ee[Ee.Stagger=12]="Stagger",Ee}(g||{});const v="*";function F(Ee,Y){return{type:g.Trigger,name:Ee,definitions:Y,options:{}}}function re(Ee,Y=null){return{type:g.Animate,styles:Y,timings:Ee}}function L(Ee,Y=null){return{type:g.Sequence,steps:Ee,options:Y}}function A(Ee){return{type:g.Style,styles:Ee,offset:null}}function $(Ee,Y,xe){return{type:g.State,name:Ee,styles:Y,options:xe}}function k(Ee,Y,xe=null){return{type:g.Transition,expr:Ee,animation:Y,options:xe}}function W(Ee,Y=null){return{type:g.Reference,animation:Ee,options:Y}}function le(Ee,Y=null){return{type:g.AnimateRef,animation:Ee,options:Y}}class se{constructor(Y=0,xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const xe="start"==Y?this._onStartFns:this._onDoneFns;xe.forEach(ae=>ae()),xe.length=0}}class ne{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let xe=0,ae=0,qe=0;const Oe=this.players.length;0==Oe?queueMicrotask(()=>this._onFinish()):this.players.forEach(ze=>{ze.onDone(()=>{++xe==Oe&&this._onFinish()}),ze.onDestroy(()=>{++ae==Oe&&this._onDestroy()}),ze.onStart(()=>{++qe==Oe&&this._onStart()})}),this.totalTime=this.players.reduce((ze,pt)=>Math.max(ze,pt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const xe=Y*this.totalTime;this.players.forEach(ae=>{const qe=ae.totalTime?Math.min(1,xe/ae.totalTime):1;ae.setPosition(qe)})}getPosition(){const Y=this.players.reduce((xe,ae)=>null===xe||ae.totalTime>xe.totalTime?ae:xe,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const xe="start"==Y?this._onStartFns:this._onDoneFns;xe.forEach(ae=>ae()),xe.length=0}}const Ie="!"},177:(Ze,De,N)=>{N.d(De,{AJ:()=>Hr,B3:()=>mt,Jj:()=>Ft,MD:()=>ui,N0:()=>ei,QT:()=>F,QX:()=>Yn,Sm:()=>Le,Sq:()=>lt,T3:()=>wt,UE:()=>rr,VF:()=>f,Vy:()=>zi,Xr:()=>Ki,YU:()=>_e,ZD:()=>re,_b:()=>X,aZ:()=>at,bT:()=>Ht,fw:()=>He,hb:()=>fe,hj:()=>H,qQ:()=>A,vh:()=>rs});var g=N(4438);let v=null;function F(){return v}function re(p){v??=p}class f{}const A=new g.nKC("");let $=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>(0,g.WQX)(k),providedIn:"platform"})}return p})();const H=new g.nKC("");let k=(()=>{class p extends ${constructor(){super(),this._doc=(0,g.WQX)(A),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return F().getBaseHref(this._doc)}onPopState(E){const I=F().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=F().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,I,z){this._history.pushState(E,I,z)}replaceState(E,I,z){this._history.replaceState(E,I,z)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function W(p,R){if(0==p.length)return R;if(0==R.length)return p;let E=0;return p.endsWith("/")&&E++,R.startsWith("/")&&E++,2==E?p+R.substring(1):1==E?p+R:p+"/"+R}function J(p){const R=p.match(/#|\?|$/),E=R&&R.index||p.length;return p.slice(0,E-("/"===p[E-1]?1:0))+p.slice(E)}function le(p){return p&&"?"!==p[0]?"?"+p:p}let fe=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>(0,g.WQX)(Le),providedIn:"root"})}return p})();const be=new g.nKC("");let Le=(()=>{class p extends fe{constructor(E,I){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,g.WQX)(A).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return W(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+le(this._platformLocation.search),z=this._platformLocation.hash;return z&&E?`${I}${z}`:I}pushState(E,I,z,ve){const Ne=this.prepareExternalUrl(z+le(ve));this._platformLocation.pushState(E,I,Ne)}replaceState(E,I,z,ve){const Ne=this.prepareExternalUrl(z+le(ve));this._platformLocation.replaceState(E,I,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(g.KVO($),g.KVO(be,8))};static#t=this.\u0275prov=g.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),He=(()=>{class p extends fe{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=W(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,z,ve){let Ne=this.prepareExternalUrl(z+le(ve));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.pushState(E,I,Ne)}replaceState(E,I,z,ve){let Ne=this.prepareExternalUrl(z+le(ve));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(g.KVO($),g.KVO(be,8))};static#t=this.\u0275prov=g.jDH({token:p,factory:p.\u0275fac})}return p})(),at=(()=>{class p{constructor(E){this._subject=new g.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const I=this._locationStrategy.getBaseHref();this._basePath=function pe(p){if(new RegExp("^(https?:)?//").test(p)){const[,E]=p.split(/\/\/[^\/]+/);return E}return p}(J($e(I))),this._locationStrategy.onPopState(z=>{this._subject.emit({url:this.path(!0),pop:!0,state:z.state,type:z.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+le(I))}normalize(E){return p.stripTrailingSlash(function St(p,R){if(!p||!R.startsWith(p))return R;const E=R.substring(p.length);return""===E||["/",";","?","#"].includes(E[0])?E:R}(this._basePath,$e(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,I="",z=null){this._locationStrategy.pushState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+le(I)),z)}replaceState(E,I="",z=null){this._locationStrategy.replaceState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+le(I)),z)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(z=>z(E,I))}subscribe(E,I,z){return this._subject.subscribe({next:E,error:I,complete:z})}static#e=this.normalizeQueryParams=le;static#t=this.joinWithSlash=W;static#n=this.stripTrailingSlash=J;static#r=this.\u0275fac=function(I){return new(I||p)(g.KVO(fe))};static#i=this.\u0275prov=g.jDH({token:p,factory:()=>function Bt(){return new at((0,g.KVO)(fe))}(),providedIn:"root"})}return p})();function $e(p){return p.replace(/\/index.html$/,"")}var se=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(se||{}),Ie=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(Ie||{}),Ee=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(Ee||{}),Y=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(Y||{});const xe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Se(p,R){return fn((0,g.H5H)(p)[g.KH2.DateFormat],R)}function Me(p,R){return fn((0,g.H5H)(p)[g.KH2.TimeFormat],R)}function je(p,R){return fn((0,g.H5H)(p)[g.KH2.DateTimeFormat],R)}function Fe(p,R){const E=(0,g.H5H)(p),I=E[g.KH2.NumberSymbols][R];if(typeof I>"u"){if(R===xe.CurrencyDecimal)return E[g.KH2.NumberSymbols][xe.Decimal];if(R===xe.CurrencyGroup)return E[g.KH2.NumberSymbols][xe.Group]}return I}function Gt(p){if(!p[g.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[g.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fn(p,R){for(let E=R;E>-1;E--)if(typeof p[E]<"u")return p[E];throw new Error("Locale data API: locale data undefined")}function Gn(p){const[R,E]=p.split(":");return{hours:+R,minutes:+E}}const mr=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bi={},si=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var sr=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(sr||{}),Mt=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(Mt||{}),Dt=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(Dt||{});function tr(p,R,E,I){let z=function ht(p){if(ln(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[z,ve=1,Ne=1]=p.split("-").map(nt=>+nt);return or(z,ve-1,Ne)}const E=parseFloat(p);if(!isNaN(p-E))return new Date(E);let I;if(I=p.match(mr))return function qt(p){const R=new Date(0);let E=0,I=0;const z=p[8]?R.setUTCFullYear:R.setFullYear,ve=p[8]?R.setUTCHours:R.setHours;p[9]&&(E=Number(p[9]+p[10]),I=Number(p[9]+p[11])),z.call(R,Number(p[1]),Number(p[2])-1,Number(p[3]));const Ne=Number(p[4]||0)-E,nt=Number(p[5]||0)-I,gn=Number(p[6]||0),S=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return ve.call(R,Ne,nt,gn,S),R}(I)}const R=new Date(p);if(!ln(R))throw new Error(`Unable to convert "${p}" into a date`);return R}(p);R=Vn(E,R)||R;let nt,Ne=[];for(;R;){if(nt=si.exec(R),!nt){Ne.push(R);break}{Ne=Ne.concat(nt.slice(1));const u=Ne.pop();if(!u)break;R=u}}let gn=z.getTimezoneOffset();I&&(gn=oe(I,gn),z=function tt(p,R,E){const I=E?-1:1,z=p.getTimezoneOffset();return function Re(p,R){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+R),p}(p,I*(oe(R,z)-z))}(z,I,!0));let S="";return Ne.forEach(u=>{const l=function Q(p){if(de[p])return de[p];let R;switch(p){case"G":case"GG":case"GGG":R=Xt(Dt.Eras,Ee.Abbreviated);break;case"GGGG":R=Xt(Dt.Eras,Ee.Wide);break;case"GGGGG":R=Xt(Dt.Eras,Ee.Narrow);break;case"y":R=bt(Mt.FullYear,1,0,!1,!0);break;case"yy":R=bt(Mt.FullYear,2,0,!0,!0);break;case"yyy":R=bt(Mt.FullYear,3,0,!1,!0);break;case"yyyy":R=bt(Mt.FullYear,4,0,!1,!0);break;case"Y":R=ce(1);break;case"YY":R=ce(2,!0);break;case"YYY":R=ce(3);break;case"YYYY":R=ce(4);break;case"M":case"L":R=bt(Mt.Month,1,1);break;case"MM":case"LL":R=bt(Mt.Month,2,1);break;case"MMM":R=Xt(Dt.Months,Ee.Abbreviated);break;case"MMMM":R=Xt(Dt.Months,Ee.Wide);break;case"MMMMM":R=Xt(Dt.Months,Ee.Narrow);break;case"LLL":R=Xt(Dt.Months,Ee.Abbreviated,Ie.Standalone);break;case"LLLL":R=Xt(Dt.Months,Ee.Wide,Ie.Standalone);break;case"LLLLL":R=Xt(Dt.Months,Ee.Narrow,Ie.Standalone);break;case"w":R=dr(1);break;case"ww":R=dr(2);break;case"W":R=dr(1,!0);break;case"d":R=bt(Mt.Date,1);break;case"dd":R=bt(Mt.Date,2);break;case"c":case"cc":R=bt(Mt.Day,1);break;case"ccc":R=Xt(Dt.Days,Ee.Abbreviated,Ie.Standalone);break;case"cccc":R=Xt(Dt.Days,Ee.Wide,Ie.Standalone);break;case"ccccc":R=Xt(Dt.Days,Ee.Narrow,Ie.Standalone);break;case"cccccc":R=Xt(Dt.Days,Ee.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":R=Xt(Dt.Days,Ee.Abbreviated);break;case"EEEE":R=Xt(Dt.Days,Ee.Wide);break;case"EEEEE":R=Xt(Dt.Days,Ee.Narrow);break;case"EEEEEE":R=Xt(Dt.Days,Ee.Short);break;case"a":case"aa":case"aaa":R=Xt(Dt.DayPeriods,Ee.Abbreviated);break;case"aaaa":R=Xt(Dt.DayPeriods,Ee.Wide);break;case"aaaaa":R=Xt(Dt.DayPeriods,Ee.Narrow);break;case"b":case"bb":case"bbb":R=Xt(Dt.DayPeriods,Ee.Abbreviated,Ie.Standalone,!0);break;case"bbbb":R=Xt(Dt.DayPeriods,Ee.Wide,Ie.Standalone,!0);break;case"bbbbb":R=Xt(Dt.DayPeriods,Ee.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":R=Xt(Dt.DayPeriods,Ee.Abbreviated,Ie.Format,!0);break;case"BBBB":R=Xt(Dt.DayPeriods,Ee.Wide,Ie.Format,!0);break;case"BBBBB":R=Xt(Dt.DayPeriods,Ee.Narrow,Ie.Format,!0);break;case"h":R=bt(Mt.Hours,1,-12);break;case"hh":R=bt(Mt.Hours,2,-12);break;case"H":R=bt(Mt.Hours,1);break;case"HH":R=bt(Mt.Hours,2);break;case"m":R=bt(Mt.Minutes,1);break;case"mm":R=bt(Mt.Minutes,2);break;case"s":R=bt(Mt.Seconds,1);break;case"ss":R=bt(Mt.Seconds,2);break;case"S":R=bt(Mt.FractionalSeconds,1);break;case"SS":R=bt(Mt.FractionalSeconds,2);break;case"SSS":R=bt(Mt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":R=kr(sr.Short);break;case"ZZZZZ":R=kr(sr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":R=kr(sr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":R=kr(sr.Long);break;default:return null}return de[p]=R,R}(u);S+=l?l(z,E,gn):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),S}function or(p,R,E){const I=new Date(0);return I.setFullYear(p,R,E),I.setHours(0,0,0),I}function Vn(p,R){const E=function qe(p){return(0,g.H5H)(p)[g.KH2.LocaleId]}(p);if(Bi[E]??={},Bi[E][R])return Bi[E][R];let I="";switch(R){case"shortDate":I=Se(p,Y.Short);break;case"mediumDate":I=Se(p,Y.Medium);break;case"longDate":I=Se(p,Y.Long);break;case"fullDate":I=Se(p,Y.Full);break;case"shortTime":I=Me(p,Y.Short);break;case"mediumTime":I=Me(p,Y.Medium);break;case"longTime":I=Me(p,Y.Long);break;case"fullTime":I=Me(p,Y.Full);break;case"short":const z=Vn(p,"shortTime"),ve=Vn(p,"shortDate");I=Kn(je(p,Y.Short),[z,ve]);break;case"medium":const Ne=Vn(p,"mediumTime"),nt=Vn(p,"mediumDate");I=Kn(je(p,Y.Medium),[Ne,nt]);break;case"long":const gn=Vn(p,"longTime"),S=Vn(p,"longDate");I=Kn(je(p,Y.Long),[gn,S]);break;case"full":const u=Vn(p,"fullTime"),l=Vn(p,"fullDate");I=Kn(je(p,Y.Full),[u,l])}return I&&(Bi[E][R]=I),I}function Kn(p,R){return R&&(p=p.replace(/\{([^}]+)}/g,function(E,I){return null!=R&&I in R?R[I]:E})),p}function Bn(p,R,E="-",I,z){let ve="";(p<0||z&&p<=0)&&(z?p=1-p:(p=-p,ve=E));let Ne=String(p);for(;Ne.length0||nt>-E)&&(nt+=E),p===Mt.Hours)0===nt&&-12===E&&(nt=12);else if(p===Mt.FractionalSeconds)return function es(p,R){return Bn(p,3).substring(0,R)}(nt,R);const gn=Fe(Ne,xe.MinusSign);return Bn(nt,R,gn,I,z)}}function Xt(p,R,E=Ie.Format,I=!1){return function(z,ve){return function Yt(p,R,E,I,z,ve){switch(E){case Dt.Months:return function pt(p,R,E){const I=(0,g.H5H)(p),ve=fn([I[g.KH2.MonthsFormat],I[g.KH2.MonthsStandalone]],R);return fn(ve,E)}(R,z,I)[p.getMonth()];case Dt.Days:return function ze(p,R,E){const I=(0,g.H5H)(p),ve=fn([I[g.KH2.DaysFormat],I[g.KH2.DaysStandalone]],R);return fn(ve,E)}(R,z,I)[p.getDay()];case Dt.DayPeriods:const Ne=p.getHours(),nt=p.getMinutes();if(ve){const S=function Ve(p){const R=(0,g.H5H)(p);return Gt(R),(R[g.KH2.ExtraData][2]||[]).map(I=>"string"==typeof I?Gn(I):[Gn(I[0]),Gn(I[1])])}(R),u=function In(p,R,E){const I=(0,g.H5H)(p);Gt(I);const ve=fn([I[g.KH2.ExtraData][0],I[g.KH2.ExtraData][1]],R)||[];return fn(ve,E)||[]}(R,z,I),l=S.findIndex(_=>{if(Array.isArray(_)){const[w,x]=_,G=Ne>=w.hours&&nt>=w.minutes,U=Ne0?Math.floor(z/60):Math.ceil(z/60);switch(p){case sr.Short:return(z>=0?"+":"")+Bn(Ne,2,ve)+Bn(Math.abs(z%60),2,ve);case sr.ShortGMT:return"GMT"+(z>=0?"+":"")+Bn(Ne,1,ve);case sr.Long:return"GMT"+(z>=0?"+":"")+Bn(Ne,2,ve)+":"+Bn(Math.abs(z%60),2,ve);case sr.Extended:return 0===I?"Z":(z>=0?"+":"")+Bn(Ne,2,ve)+":"+Bn(Math.abs(z%60),2,ve);default:throw new Error(`Unknown zone width "${p}"`)}}}const mn=0,nr=4;function Zt(p){const R=p.getDay(),E=0===R?-3:nr-R;return or(p.getFullYear(),p.getMonth(),p.getDate()+E)}function dr(p,R=!1){return function(E,I){let z;if(R){const ve=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Ne=E.getDate();z=1+Math.floor((Ne+ve)/7)}else{const ve=Zt(E),Ne=function Vr(p){const R=or(p,mn,1).getDay();return or(p,0,1+(R<=nr?nr:nr+7)-R)}(ve.getFullYear()),nt=ve.getTime()-Ne.getTime();z=1+Math.round(nt/6048e5)}return Bn(z,p,Fe(I,xe.MinusSign))}}function ce(p,R=!1){return function(E,I){return Bn(Zt(E).getFullYear(),p,Fe(I,xe.MinusSign),R)}}const de={};function oe(p,R){p=p.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(E)?R:E}function ln(p){return p instanceof Date&&!isNaN(p.valueOf())}const Mn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Br(p){const R=parseInt(p);if(isNaN(R))throw new Error("Invalid integer literal when parsing "+p);return R}function X(p,R){R=encodeURIComponent(R);for(const E of p.split(";")){const I=E.indexOf("="),[z,ve]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(z.trim()===R)return decodeURIComponent(ve)}return null}const q=/\s+/,we=[];let _e=(()=>{class p{constructor(E,I){this._ngEl=E,this._renderer=I,this.initialClasses=we,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(q):we}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(q):E}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const I of E)this._updateState(I,!0);else if(null!=E)for(const I of Object.keys(E))this._updateState(I,!!E[I]);this._applyStateDiff()}_updateState(E,I){const z=this.stateMap.get(E);void 0!==z?(z.enabled!==I&&(z.changed=!0,z.enabled=I),z.touched=!0):this.stateMap.set(E,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const I=E[0],z=E[1];z.changed?(this._toggleClass(I,z.enabled),z.changed=!1):z.touched||(z.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),z.touched=!1}}_toggleClass(E,I){(E=E.trim()).length>0&&E.split(q).forEach(z=>{I?this._renderer.addClass(this._ngEl.nativeElement,z):this._renderer.removeClass(this._ngEl.nativeElement,z)})}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.aKT),g.rXU(g.sFG))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[g.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class Tt{constructor(R,E,I,z){this.$implicit=R,this.ngForOf=E,this.index=I,this.count=z}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let lt=(()=>{class p{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,I,z){this._viewContainer=E,this._template=I,this._differs=z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((z,ve,Ne)=>{if(null==z.previousIndex)I.createEmbeddedView(this._template,new Tt(z.item,this._ngForOf,-1,-1),null===Ne?void 0:Ne);else if(null==Ne)I.remove(null===ve?void 0:ve);else if(null!==ve){const nt=I.get(ve);I.move(nt,Ne),Jt(nt,z)}});for(let z=0,ve=I.length;z{Jt(I.get(z.currentIndex),z)})}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b),g.rXU(g.C4Q),g.rXU(g._q3))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function Jt(p,R){p.context.$implicit=R.item}let Ht=(()=>{class p{constructor(E,I){this._viewContainer=E,this._context=new xn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Qn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Qn("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b),g.rXU(g.C4Q))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class xn{constructor(){this.$implicit=null,this.ngIf=null}}function Qn(p,R){if(R&&!R.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,g.Tbb)(R)}'.`)}let mt=(()=>{class p{constructor(E,I,z){this._ngEl=E,this._differs=I,this._renderer=z,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[z,ve]=E.split("."),Ne=-1===z.indexOf("-")?void 0:g.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,z,ve?`${I}${ve}`:I,Ne):this._renderer.removeStyle(this._ngEl.nativeElement,z,Ne)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.aKT),g.rXU(g.MKu),g.rXU(g.sFG))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),wt=(()=>{class p{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const z=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,z,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,I,z)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,z),get:(E,I,z)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,z)}})}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.OA$]})}return p})();function jn(p,R){return new g.wOt(2100,!1)}class ai{createSubscription(R,E){return(0,g.O8t)(()=>R.subscribe({next:E,error:I=>{throw I}}))}dispose(R){(0,g.O8t)(()=>R.unsubscribe())}}class Ur{createSubscription(R,E){return R.then(E,I=>{throw I})}dispose(R){}}const ts=new Ur,Si=new ai;let Ft=(()=>{class p{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,g.jNT)(E))return ts;if((0,g.zjR)(E))return Si;throw jn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.gRc,16))};static#t=this.\u0275pipe=g.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})();const Mo=new g.nKC(""),Ii=new g.nKC("");let rs=(()=>{class p{constructor(E,I,z){this.locale=E,this.defaultTimezone=I,this.defaultOptions=z}transform(E,I,z,ve){if(null==E||""===E||E!=E)return null;try{return tr(E,I??this.defaultOptions?.dateFormat??"mediumDate",ve||this.locale,z??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ne){throw jn()}}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.xe9,16),g.rXU(Mo,24),g.rXU(Ii,24))};static#t=this.\u0275pipe=g.EJ8({name:"date",type:p,pure:!0,standalone:!0})}return p})(),Yn=(()=>{class p{constructor(E){this._locale=E}transform(E,I,z){if(!function Zn(p){return!(null==p||""===p||p!=p)}(E))return null;z||=this._locale;try{return function yr(p,R,E){return function hn(p,R,E,I,z,ve,Ne=!1){let nt="",gn=!1;if(isFinite(p)){let S=function qr(p){let I,z,ve,Ne,nt,R=Math.abs(p)+"",E=0;for((z=R.indexOf("."))>-1&&(R=R.replace(".","")),(ve=R.search(/e/i))>0?(z<0&&(z=ve),z+=+R.slice(ve+1),R=R.substring(0,ve)):z<0&&(z=R.length),ve=0;"0"===R.charAt(ve);ve++);if(ve===(nt=R.length))I=[0],z=1;else{for(nt--;"0"===R.charAt(nt);)nt--;for(z-=ve,I=[],Ne=0;ve<=nt;ve++,Ne++)I[Ne]=Number(R.charAt(ve))}return z>22&&(I=I.splice(0,21),E=z-1,z=1),{digits:I,exponent:E,integerLen:z}}(p);Ne&&(S=function vr(p){if(0===p.digits[0])return p;const R=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===R?p.digits.push(0,0):1===R&&p.digits.push(0),p.integerLen+=2),p}(S));let u=R.minInt,l=R.minFrac,_=R.maxFrac;if(ve){const ge=ve.match(Mn);if(null===ge)throw new Error(`${ve} is not a valid digit info`);const Ge=ge[1],ke=ge[3],yt=ge[5];null!=Ge&&(u=Br(Ge)),null!=ke&&(l=Br(ke)),null!=yt?_=Br(yt):null!=ke&&l>_&&(_=l)}!function Or(p,R,E){if(R>E)throw new Error(`The minimum number of digits after fraction (${R}) is higher than the maximum (${E}).`);let I=p.digits,z=I.length-p.integerLen;const ve=Math.min(Math.max(R,z),E);let Ne=ve+p.integerLen,nt=I[Ne];if(Ne>0){I.splice(Math.max(p.integerLen,Ne));for(let l=Ne;l=5)if(Ne-1<0){for(let l=0;l>Ne;l--)I.unshift(0),p.integerLen++;I.unshift(1),p.integerLen++}else I[Ne-1]++;for(;z=S?x.pop():gn=!1),_>=10?1:0},0);u&&(I.unshift(u),p.integerLen++)}(S,l,_);let w=S.digits,x=S.integerLen;const G=S.exponent;let U=[];for(gn=w.every(ge=>!ge);x0?U=w.splice(x,w.length):(U=w,w=[0]);const te=[];for(w.length>=R.lgSize&&te.unshift(w.splice(-R.lgSize,w.length).join(""));w.length>R.gSize;)te.unshift(w.splice(-R.gSize,w.length).join(""));w.length&&te.unshift(w.join("")),nt=te.join(Fe(E,I)),U.length&&(nt+=Fe(E,z)+U.join("")),G&&(nt+=Fe(E,xe.Exponential)+"+"+G)}else nt=Fe(E,xe.Infinity);return nt=p<0&&!gn?R.negPre+nt+R.negSuf:R.posPre+nt+R.posSuf,nt}(p,function Wt(p,R="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=p.split(";"),z=I[0],ve=I[1],Ne=-1!==z.indexOf(".")?z.split("."):[z.substring(0,z.lastIndexOf("0")+1),z.substring(z.lastIndexOf("0")+1)],nt=Ne[0],gn=Ne[1]||"";E.posPre=nt.substring(0,nt.indexOf("#"));for(let u=0;u{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=g.$C({type:p});static#n=this.\u0275inj=g.G2t({})}return p})();const Hr="browser",Mi="server";function rr(p){return p===Hr}function zi(p){return p===Mi}let Ki=(()=>{class p{static#e=this.\u0275prov=(0,g.jDH)({token:p,providedIn:"root",factory:()=>rr((0,g.WQX)(g.Agw))?new Hn((0,g.WQX)(A),window):new os})}return p})();class Hn{constructor(R,E){this.document=R,this.window=E,this.offset=()=>[0,0]}setOffset(R){this.offset=Array.isArray(R)?()=>R:R}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(R){this.window.scrollTo(R[0],R[1])}scrollToAnchor(R){const E=function Jn(p,R){const E=p.getElementById(R)||p.getElementsByName(R)[0];if(E)return E;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let z=I.currentNode;for(;z;){const ve=z.shadowRoot;if(ve){const Ne=ve.getElementById(R)||ve.querySelector(`[name="${R}"]`);if(Ne)return Ne}z=I.nextNode()}}return null}(this.document,R);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(R){this.window.history.scrollRestoration=R}scrollToElement(R){const E=R.getBoundingClientRect(),I=E.left+this.window.pageXOffset,z=E.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(I-ve[0],z-ve[1])}}class os{setOffset(R){}getScrollPosition(){return[0,0]}scrollToPosition(R){}scrollToAnchor(R){}setHistoryScrollRestoration(R){}}class ei{}},1626:(Ze,De,N)=>{N.d(De,{Qq:()=>Se,a7:()=>Ve,q1:()=>Tr}),N(467);var v=N(4438),F=N(7673),re=N(1985),f=N(6648),L=N(274),A=N(5964),$=N(6354),H=N(980),k=N(5558),W=N(177);class J{}class le{}class fe{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?"string"==typeof X?this.lazyInit=()=>{this.headers=new Map,X.split("\n").forEach(q=>{const we=q.indexOf(":");if(we>0){const _e=q.slice(0,we),Ue=_e.toLowerCase(),Ke=q.slice(we+1).trim();this.maybeSetNormalizedName(_e,Ue),this.headers.has(Ue)?this.headers.get(Ue).push(Ke):this.headers.set(Ue,[Ke])}})}:typeof Headers<"u"&&X instanceof Headers?(this.headers=new Map,X.forEach((q,we)=>{this.setHeaderEntries(we,q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(X).forEach(([q,we])=>{this.setHeaderEntries(q,we)})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const q=this.headers.get(X.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,q){return this.clone({name:X,value:q,op:"a"})}set(X,q){return this.clone({name:X,value:q,op:"s"})}delete(X,q){return this.clone({name:X,value:q,op:"d"})}maybeSetNormalizedName(X,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,X)}init(){this.lazyInit&&(this.lazyInit instanceof fe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(q=>{this.headers.set(q,X.headers.get(q)),this.normalizedNames.set(q,X.normalizedNames.get(q))})}clone(X){const q=new fe;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof fe?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([X]),q}applyUpdate(X){const q=X.name.toLowerCase();switch(X.op){case"a":case"s":let we=X.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(X.name,q);const _e=("a"===X.op?this.headers.get(q):void 0)||[];_e.push(...we),this.headers.set(q,_e);break;case"d":const Ue=X.value;if(Ue){let Ke=this.headers.get(q);if(!Ke)return;Ke=Ke.filter(Tt=>-1===Ue.indexOf(Tt)),0===Ke.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,Ke)}else this.headers.delete(q),this.normalizedNames.delete(q)}}setHeaderEntries(X,q){const we=(Array.isArray(q)?q:[q]).map(Ue=>Ue.toString()),_e=X.toLowerCase();this.headers.set(_e,we),this.maybeSetNormalizedName(X,_e)}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>X(this.normalizedNames.get(q),this.headers.get(q)))}}class Le{encodeKey(X){return St(X)}encodeValue(X){return St(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const at=/%(\d[a-f0-9])/gi,Bt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function St(j){return encodeURIComponent(j).replace(at,(X,q)=>Bt[q]??X)}function $e(j){return`${j}`}class pe{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new Le,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function He(j,X){const q=new Map;return j.length>0&&j.replace(/^\?/,"").split("&").forEach(_e=>{const Ue=_e.indexOf("="),[Ke,Tt]=-1==Ue?[X.decodeKey(_e),""]:[X.decodeKey(_e.slice(0,Ue)),X.decodeValue(_e.slice(Ue+1))],lt=q.get(Ke)||[];lt.push(Tt),q.set(Ke,lt)}),q}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(q=>{const we=X.fromObject[q],_e=Array.isArray(we)?we.map($e):[$e(we)];this.map.set(q,_e)})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const q=this.map.get(X);return q?q[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,q){return this.clone({param:X,value:q,op:"a"})}appendAll(X){const q=[];return Object.keys(X).forEach(we=>{const _e=X[we];Array.isArray(_e)?_e.forEach(Ue=>{q.push({param:we,value:Ue,op:"a"})}):q.push({param:we,value:_e,op:"a"})}),this.clone(q)}set(X,q){return this.clone({param:X,value:q,op:"s"})}delete(X,q){return this.clone({param:X,value:q,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const q=this.encoder.encodeKey(X);return this.map.get(X).map(we=>q+"="+this.encoder.encodeValue(we)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const q=new pe({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(X),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const q=("a"===X.op?this.map.get(X.param):void 0)||[];q.push($e(X.value)),this.map.set(X.param,q);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let we=this.map.get(X.param)||[];const _e=we.indexOf($e(X.value));-1!==_e&&we.splice(_e,1),we.length>0?this.map.set(X.param,we):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class se{constructor(){this.map=new Map}set(X,q){return this.map.set(X,q),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ie(j){return typeof ArrayBuffer<"u"&&j instanceof ArrayBuffer}function Ee(j){return typeof Blob<"u"&&j instanceof Blob}function Y(j){return typeof FormData<"u"&&j instanceof FormData}class ae{constructor(X,q,we,_e){let Ue;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function ne(j){switch(j){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_e?(this.body=void 0!==we?we:null,Ue=_e):Ue=we,Ue&&(this.reportProgress=!!Ue.reportProgress,this.withCredentials=!!Ue.withCredentials,Ue.responseType&&(this.responseType=Ue.responseType),Ue.headers&&(this.headers=Ue.headers),Ue.context&&(this.context=Ue.context),Ue.params&&(this.params=Ue.params),this.transferCache=Ue.transferCache),this.headers??=new fe,this.context??=new se,this.params){const Ke=this.params.toString();if(0===Ke.length)this.urlWithParams=q;else{const Tt=q.indexOf("?");this.urlWithParams=q+(-1===Tt?"?":Ttxn.set(Qn,X.setHeaders[Qn]),Jt)),X.setParams&&(Dn=Object.keys(X.setParams).reduce((xn,Qn)=>xn.set(Qn,X.setParams[Qn]),Dn)),new ae(q,we,Ke,{params:Dn,headers:Jt,context:Ht,reportProgress:lt,responseType:_e,withCredentials:Tt,transferCache:Ue})}}var qe=function(j){return j[j.Sent=0]="Sent",j[j.UploadProgress=1]="UploadProgress",j[j.ResponseHeader=2]="ResponseHeader",j[j.DownloadProgress=3]="DownloadProgress",j[j.Response=4]="Response",j[j.User=5]="User",j}(qe||{});class Oe{constructor(X,q=me.Ok,we="OK"){this.headers=X.headers||new fe,this.status=void 0!==X.status?X.status:q,this.statusText=X.statusText||we,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ze extends Oe{constructor(X={}){super(X),this.type=qe.ResponseHeader}clone(X={}){return new ze({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class pt extends Oe{constructor(X={}){super(X),this.type=qe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new pt({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class $t extends Oe{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}var me=function(j){return j[j.Continue=100]="Continue",j[j.SwitchingProtocols=101]="SwitchingProtocols",j[j.Processing=102]="Processing",j[j.EarlyHints=103]="EarlyHints",j[j.Ok=200]="Ok",j[j.Created=201]="Created",j[j.Accepted=202]="Accepted",j[j.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",j[j.NoContent=204]="NoContent",j[j.ResetContent=205]="ResetContent",j[j.PartialContent=206]="PartialContent",j[j.MultiStatus=207]="MultiStatus",j[j.AlreadyReported=208]="AlreadyReported",j[j.ImUsed=226]="ImUsed",j[j.MultipleChoices=300]="MultipleChoices",j[j.MovedPermanently=301]="MovedPermanently",j[j.Found=302]="Found",j[j.SeeOther=303]="SeeOther",j[j.NotModified=304]="NotModified",j[j.UseProxy=305]="UseProxy",j[j.Unused=306]="Unused",j[j.TemporaryRedirect=307]="TemporaryRedirect",j[j.PermanentRedirect=308]="PermanentRedirect",j[j.BadRequest=400]="BadRequest",j[j.Unauthorized=401]="Unauthorized",j[j.PaymentRequired=402]="PaymentRequired",j[j.Forbidden=403]="Forbidden",j[j.NotFound=404]="NotFound",j[j.MethodNotAllowed=405]="MethodNotAllowed",j[j.NotAcceptable=406]="NotAcceptable",j[j.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",j[j.RequestTimeout=408]="RequestTimeout",j[j.Conflict=409]="Conflict",j[j.Gone=410]="Gone",j[j.LengthRequired=411]="LengthRequired",j[j.PreconditionFailed=412]="PreconditionFailed",j[j.PayloadTooLarge=413]="PayloadTooLarge",j[j.UriTooLong=414]="UriTooLong",j[j.UnsupportedMediaType=415]="UnsupportedMediaType",j[j.RangeNotSatisfiable=416]="RangeNotSatisfiable",j[j.ExpectationFailed=417]="ExpectationFailed",j[j.ImATeapot=418]="ImATeapot",j[j.MisdirectedRequest=421]="MisdirectedRequest",j[j.UnprocessableEntity=422]="UnprocessableEntity",j[j.Locked=423]="Locked",j[j.FailedDependency=424]="FailedDependency",j[j.TooEarly=425]="TooEarly",j[j.UpgradeRequired=426]="UpgradeRequired",j[j.PreconditionRequired=428]="PreconditionRequired",j[j.TooManyRequests=429]="TooManyRequests",j[j.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",j[j.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",j[j.InternalServerError=500]="InternalServerError",j[j.NotImplemented=501]="NotImplemented",j[j.BadGateway=502]="BadGateway",j[j.ServiceUnavailable=503]="ServiceUnavailable",j[j.GatewayTimeout=504]="GatewayTimeout",j[j.HttpVersionNotSupported=505]="HttpVersionNotSupported",j[j.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",j[j.InsufficientStorage=507]="InsufficientStorage",j[j.LoopDetected=508]="LoopDetected",j[j.NotExtended=510]="NotExtended",j[j.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",j}(me||{});function Ce(j,X){return{body:X,headers:j.headers,context:j.context,observe:j.observe,params:j.params,reportProgress:j.reportProgress,responseType:j.responseType,withCredentials:j.withCredentials,transferCache:j.transferCache}}let Se=(()=>{class j{constructor(q){this.handler=q}request(q,we,_e={}){let Ue;if(q instanceof ae)Ue=q;else{let lt,Jt;lt=_e.headers instanceof fe?_e.headers:new fe(_e.headers),_e.params&&(Jt=_e.params instanceof pe?_e.params:new pe({fromObject:_e.params})),Ue=new ae(q,we,void 0!==_e.body?_e.body:null,{headers:lt,context:_e.context,params:Jt,reportProgress:_e.reportProgress,responseType:_e.responseType||"json",withCredentials:_e.withCredentials,transferCache:_e.transferCache})}const Ke=(0,F.of)(Ue).pipe((0,L.H)(lt=>this.handler.handle(lt)));if(q instanceof ae||"events"===_e.observe)return Ke;const Tt=Ke.pipe((0,A.p)(lt=>lt instanceof pt));switch(_e.observe||"body"){case"body":switch(Ue.responseType){case"arraybuffer":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&!(lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return lt.body}));case"blob":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&!(lt.body instanceof Blob))throw new Error("Response is not a Blob.");return lt.body}));case"text":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&"string"!=typeof lt.body)throw new Error("Response is not a string.");return lt.body}));default:return Tt.pipe((0,$.T)(lt=>lt.body))}case"response":return Tt;default:throw new Error(`Unreachable: unhandled observe type ${_e.observe}}`)}}delete(q,we={}){return this.request("DELETE",q,we)}get(q,we={}){return this.request("GET",q,we)}head(q,we={}){return this.request("HEAD",q,we)}jsonp(q,we){return this.request("JSONP",q,{params:(new pe).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,we={}){return this.request("OPTIONS",q,we)}patch(q,we,_e={}){return this.request("PATCH",q,Ce(_e,we))}post(q,we,_e={}){return this.request("POST",q,Ce(_e,we))}put(q,we,_e={}){return this.request("PUT",q,Ce(_e,we))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(J))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();function en(j,X){return X(j)}function _n(j,X){return(q,we)=>X.intercept(q,{handle:_e=>j(_e,we)})}const Ve=new v.nKC(""),In=new v.nKC(""),Pn=new v.nKC(""),fn=new v.nKC("");function Gn(){let j=null;return(X,q)=>{null===j&&(j=((0,v.WQX)(Ve,{optional:!0})??[]).reduceRight(_n,en));const we=(0,v.WQX)(v.TgB),_e=we.add();return j(X,q).pipe((0,H.j)(()=>we.remove(_e)))}}let ut=(()=>{class j extends J{constructor(q,we){super(),this.backend=q,this.injector=we,this.chain=null,this.pendingTasks=(0,v.WQX)(v.TgB);const _e=(0,v.WQX)(fn,{optional:!0});this.backend=_e??q}handle(q){if(null===this.chain){const _e=Array.from(new Set([...this.injector.get(In),...this.injector.get(Pn,[])]));this.chain=_e.reduceRight((Ue,Ke)=>function Gt(j,X,q){return(we,_e)=>(0,v.N4e)(q,()=>X(we,Ue=>j(Ue,_e)))}(Ue,Ke,this.injector),en)}const we=this.pendingTasks.add();return this.chain(q,_e=>this.backend.handle(_e)).pipe((0,H.j)(()=>this.pendingTasks.remove(we)))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(le),v.KVO(v.uvJ))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();const es=/^\)\]\}',?\n/;let Lr=(()=>{class j{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new v.wOt(-2800,!1);const we=this.xhrFactory;return(we.\u0275loadImpl?(0,f.H)(we.\u0275loadImpl()):(0,F.of)(null)).pipe((0,k.n)(()=>new re.c(Ue=>{const Ke=we.build();if(Ke.open(q.method,q.urlWithParams),q.withCredentials&&(Ke.withCredentials=!0),q.headers.forEach((Pt,xt)=>Ke.setRequestHeader(Pt,xt.join(","))),q.headers.has("Accept")||Ke.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Pt=q.detectContentTypeHeader();null!==Pt&&Ke.setRequestHeader("Content-Type",Pt)}if(q.responseType){const Pt=q.responseType.toLowerCase();Ke.responseType="json"!==Pt?Pt:"text"}const Tt=q.serializeBody();let lt=null;const Jt=()=>{if(null!==lt)return lt;const Pt=Ke.statusText||"OK",xt=new fe(Ke.getAllResponseHeaders()),Nn=function bt(j){return"responseURL"in j&&j.responseURL?j.responseURL:/^X-Request-URL:/m.test(j.getAllResponseHeaders())?j.getResponseHeader("X-Request-URL"):null}(Ke)||q.url;return lt=new ze({headers:xt,status:Ke.status,statusText:Pt,url:Nn}),lt},Dn=()=>{let{headers:Pt,status:xt,statusText:Nn,url:hr}=Jt(),yn=null;xt!==me.NoContent&&(yn=typeof Ke.response>"u"?Ke.responseText:Ke.response),0===xt&&(xt=yn?me.Ok:0);let on=xt>=200&&xt<300;if("json"===q.responseType&&"string"==typeof yn){const _t=yn;yn=yn.replace(es,"");try{yn=""!==yn?JSON.parse(yn):null}catch(pn){yn=_t,on&&(on=!1,yn={error:pn,text:yn})}}on?(Ue.next(new pt({body:yn,headers:Pt,status:xt,statusText:Nn,url:hr||void 0})),Ue.complete()):Ue.error(new $t({error:yn,headers:Pt,status:xt,statusText:Nn,url:hr||void 0}))},Ht=Pt=>{const{url:xt}=Jt(),Nn=new $t({error:Pt,status:Ke.status||0,statusText:Ke.statusText||"Unknown Error",url:xt||void 0});Ue.error(Nn)};let xn=!1;const Qn=Pt=>{xn||(Ue.next(Jt()),xn=!0);let xt={type:qe.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),"text"===q.responseType&&Ke.responseText&&(xt.partialText=Ke.responseText),Ue.next(xt)},sn=Pt=>{let xt={type:qe.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),Ue.next(xt)};return Ke.addEventListener("load",Dn),Ke.addEventListener("error",Ht),Ke.addEventListener("timeout",Ht),Ke.addEventListener("abort",Ht),q.reportProgress&&(Ke.addEventListener("progress",Qn),null!==Tt&&Ke.upload&&Ke.upload.addEventListener("progress",sn)),Ke.send(Tt),Ue.next({type:qe.Sent}),()=>{Ke.removeEventListener("error",Ht),Ke.removeEventListener("abort",Ht),Ke.removeEventListener("load",Dn),Ke.removeEventListener("timeout",Ht),q.reportProgress&&(Ke.removeEventListener("progress",Qn),null!==Tt&&Ke.upload&&Ke.upload.removeEventListener("progress",sn)),Ke.readyState!==Ke.DONE&&Ke.abort()}})))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(W.N0))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();const Xt=new v.nKC(""),kr=new v.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),nr=new v.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vr{}let Zt=(()=>{class j{constructor(q,we,_e){this.doc=q,this.platform=we,this.cookieName=_e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W._b)(q,this.cookieName),this.lastCookieString=q),this.lastToken}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(W.qQ),v.KVO(v.Agw),v.KVO(kr))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();function dr(j,X){const q=j.url.toLowerCase();if(!(0,v.WQX)(Xt)||"GET"===j.method||"HEAD"===j.method||q.startsWith("http://")||q.startsWith("https://"))return X(j);const we=(0,v.WQX)(Vr).getToken(),_e=(0,v.WQX)(nr);return null!=we&&!j.headers.has(_e)&&(j=j.clone({headers:j.headers.set(_e,we)})),X(j)}var de=function(j){return j[j.Interceptors=0]="Interceptors",j[j.LegacyInterceptors=1]="LegacyInterceptors",j[j.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",j[j.NoXsrfProtection=3]="NoXsrfProtection",j[j.JsonpSupport=4]="JsonpSupport",j[j.RequestsMadeViaParent=5]="RequestsMadeViaParent",j[j.Fetch=6]="Fetch",j}(de||{});function oe(...j){const X=[Se,Lr,ut,{provide:J,useExisting:ut},{provide:le,useExisting:Lr},{provide:In,useValue:dr,multi:!0},{provide:Xt,useValue:!0},{provide:Vr,useClass:Zt}];for(const q of j)X.push(...q.\u0275providers);return(0,v.EmA)(X)}const tt=new v.nKC("");function ht(){return function Q(j,X){return{\u0275kind:j,\u0275providers:X}}(de.LegacyInterceptors,[{provide:tt,useFactory:Gn},{provide:In,useExisting:tt,multi:!0}])}let Tr=(()=>{class j{static#e=this.\u0275fac=function(we){return new(we||j)};static#t=this.\u0275mod=v.$C({type:j});static#n=this.\u0275inj=v.G2t({providers:[oe(ht())]})}return j})()},4438:(Ze,De,N)=>{function v(e,t){return Object.is(e,t)}N.d(De,{bc$:()=>yC,iLQ:()=>fh,sZ2:()=>Bp,hnV:()=>aD,Hbi:()=>DA,o8S:()=>So,BIS:()=>vC,gRc:()=>DD,Ql9:()=>KT,Ocv:()=>tA,Z63:()=>hi,aKT:()=>tl,uvJ:()=>xr,zcH:()=>fo,bkB:()=>Us,$GK:()=>Ft,nKC:()=>_e,zZn:()=>Li,_q3:()=>Dh,MKu:()=>Eh,xe9:()=>pu,Co$:()=>ty,Vns:()=>$o,SKi:()=>gr,Xx1:()=>rr,Agw:()=>ed,PLl:()=>Up,sFG:()=>Bw,_9s:()=>cm,czy:()=>Ec,kdw:()=>di,C4Q:()=>Dl,NYb:()=>UT,giA:()=>sD,RxE:()=>Y_,c1b:()=>jc,gXe:()=>Gr,mal:()=>mm,L39:()=>XA,EWP:()=>YA,Ol2:()=>mf,w6W:()=>V0,oH4:()=>mD,QZP:()=>YD,Rfq:()=>dr,WQX:()=>gt,QuC:()=>Ar,EmA:()=>go,fpN:()=>_A,HJs:()=>rO,N4e:()=>Yi,vPA:()=>km,O8t:()=>ZA,An2:()=>Lc,H3F:()=>Z_,H8p:()=>Ri,KH2:()=>Ua,TgB:()=>Ea,wOt:()=>Qe,WHO:()=>rD,e01:()=>iD,H5H:()=>Hf,Zy3:()=>un,mq5:()=>rv,JZv:()=>bt,LfX:()=>Br,plB:()=>Eo,jNT:()=>uh,zjR:()=>oD,TL$:()=>gC,Tbb:()=>mn,Vt3:()=>hf,Mj6:()=>Rr,GFd:()=>ey,OA$:()=>b,Jv_:()=>g_,aNF:()=>m_,R7$:()=>Rg,BMQ:()=>Mf,HbH:()=>Hy,AVh:()=>xf,wni:()=>Wv,VBU:()=>qs,FsC:()=>Ao,jDH:()=>Wt,G2t:()=>qr,$C:()=>Ni,EJ8:()=>Ns,rXU:()=>ma,nrm:()=>Uf,eu8:()=>jf,bVm:()=>ru,qex:()=>nu,k0s:()=>tu,j41:()=>eu,RV6:()=>ev,xGo:()=>lp,KVO:()=>En,kS0:()=>sc,QTQ:()=>xg,bIt:()=>Wf,lsd:()=>Qv,joV:()=>Qh,qSk:()=>Kh,XpG:()=>xv,nI1:()=>P_,bMT:()=>x_,SdG:()=>Lv,NAR:()=>Fv,Y8G:()=>Nf,FS9:()=>Kf,lJ4:()=>__,eq3:()=>D_,l_i:()=>E_,sMw:()=>C_,ziG:()=>b_,s1E:()=>w_,l4e:()=>S_,sGs:()=>I_,zJS:()=>M_,mGM:()=>Kv,sdS:()=>Xv,Njj:()=>kh,EBC:()=>fg,eBV:()=>Lh,npT:()=>og,B4B:()=>vd,n$t:()=>lg,wjB:()=>y_,Aen:()=>_s,xc7:()=>Pf,DNE:()=>Ca,C5r:()=>F_,EFF:()=>s_,JRh:()=>Xf,SpI:()=>lu,Lme:()=>qf,LHq:()=>Yf,DH7:()=>h_,mxI:()=>Jf,R50:()=>Zf,GBs:()=>zv}),N(467);let F=null,re=!1,f=1;const L=Symbol("SIGNAL");function A(e){const t=F;return F=e,t}const W={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function J(e){if(re)throw new Error("");if(null===F)return;F.consumerOnSignalRead(e);const t=F.nextProducerIndex++;ne(F),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function St(e){ne(e);for(let t=0;t0}function ne(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ie(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Y=Symbol("UNSET"),xe=Symbol("COMPUTING"),ae=Symbol("ERRORED"),qe={...W,value:Y,dirty:!0,error:null,equal:v,producerMustRecompute:e=>e.value===Y||e.value===xe,producerRecomputeValue(e){if(e.value===xe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=xe;const n=at(e);let r;try{r=e.computation()}catch(i){r=ae,e.error=i}finally{Bt(e,n)}t!==Y&&t!==ae&&r!==ae&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let ze=function Oe(){throw new Error};function pt(){ze()}let me=null;function je(e,t){Le()||pt(),e.equal(e.value,t)||(e.value=t,function Lt(e){e.version++,function le(){f++}(),be(e),me?.()}(e))}const st={...W,equal:v,value:void 0};const dt=()=>{},en={...W,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:dt};var Gt=N(1413),Ve=N(8359),In=N(4412),Pn=N(6354);const Gn="https://g.co/ng/security#xss";class Qe extends Error{constructor(t,n){super(un(t,n)),this.code=t}}function un(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Mt(e){return{toString:e}.toString()}const tr="__parameters__";function Bn(e,t,n){return Mt(()=>{const r=function Kn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(h,C,O){const B=h.hasOwnProperty(tr)?h[tr]:Object.defineProperty(h,tr,{value:[]})[tr];for(;B.length<=O;)B.push(null);return(B[O]=B[O]||[]).push(o),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const bt=globalThis;function Yt(e){for(let t in e)if(e[t]===Yt)return t;throw Error("Could not find renamed property on target object.")}function kr(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(mn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function nr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Zt=Yt({__forward_ref__:Yt});function dr(e){return e.__forward_ref__=dr,e.toString=function(){return mn(this())},e}function ce(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(Zt)&&e.__forward_ref__===dr}function Wt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Or(e){return Yr(e,j)||Yr(e,q)}function Br(e){return null!==Or(e)}function Yr(e,t){return e.hasOwnProperty(t)?e[t]:null}function fr(e){return e&&(e.hasOwnProperty(X)||e.hasOwnProperty(we))?e[X]:null}const j=Yt({\u0275prov:Yt}),X=Yt({\u0275inj:Yt}),q=Yt({ngInjectableDef:Yt}),we=Yt({ngInjectorDef:Yt});class _e{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Wt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pt(e){return e&&!!e.\u0275providers}const xt=Yt({\u0275cmp:Yt}),Nn=Yt({\u0275dir:Yt}),hr=Yt({\u0275pipe:Yt}),yn=Yt({\u0275mod:Yt}),on=Yt({\u0275fac:Yt}),_t=Yt({__NG_ELEMENT_ID__:Yt}),pn=Yt({__NG_ENV_ID__:Yt});function mt(e){return"string"==typeof e?e:null==e?"":String(e)}function Si(e,t){throw new Qe(-201,!1)}var Ft=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ft||{});let Xn;function Hi(){return Xn}function qn(e){const t=Xn;return Xn=e,t}function ns(e,t,n){const r=Or(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ft.Optional?null:void 0!==t?t:void Si()}const Ii={},rs="__NG_DI_FLAG__",$i="ngTempTokenPath",li=/\n/gm,Ws="__source";let jr;function Yn(e){const t=jr;return jr=e,t}function Wi(e,t=Ft.Default){if(void 0===jr)throw new Qe(-203,!1);return null===jr?ns(e,void 0,t):jr.get(e,t&Ft.Optional?null:void 0,t)}function En(e,t=Ft.Default){return(Hi()||Wi)(ce(e),t)}function gt(e,t=Ft.Default){return En(e,ci(t))}function ci(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function is(e){const t=[];for(let n=0;nArray.isArray(n)?Jn(n,t):t(n))}function os(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ei(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Wn(e,t,n){let r=ar(e,t);return r>=0?e[1|r]=n:(r=~r,function Ai(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function as(e,t){const n=ar(e,t);if(n>=0)return e[1|n]}function ar(e,t){return function ls(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<t?i=s:r=s+1}return~(i<t){o=s-1;break}}}for(;s-1){let s;for(;++is?"":i[O+1].toLowerCase(),2&r&&C!==B){if(D(r))return!1;o=!0}}}}else{if(!o&&!D(r)&&!D(h))return!1;if(o&&D(h))continue;o=!1,r=h|1&r}}return D(r)||o}function D(e){return!(1&e)}function V(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!D(o)&&(t+=gi(s,i),i=""),r=o,s=s||!D(r);n++}return""!==i&&(t+=gi(s,i)),t}function qs(e){return Mt(()=>{const t=Rs(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===cs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gr.Emulated,styles:e.styles||zt,_:null,schemas:e.schemas||null,tView:null,id:""};Ys(n);const r=e.dependencies;return n.directiveDefs=yi(r,!1),n.pipeDefs=yi(r,!0),n.id=function Ps(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Os(e){return Vt(e)||Fn(e)}function er(e){return null!==e}function Ni(e){return Mt(()=>({type:e.type,bootstrap:e.bootstrap||zt,declarations:e.declarations||zt,imports:e.imports||zt,exports:e.exports||zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function To(e,t){if(null==e)return $r;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,o,a=Rr.None;Array.isArray(i)?(a=i[0],s=i[1],o=i[2]??s):(s=i,o=i),t?(n[s]=a!==Rr.None?[r,a]:r,t[s]=o):n[s]=r}return n}function Ao(e){return Mt(()=>{const t=Rs(e);return Ys(t),t})}function Ns(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Vt(e){return e[xt]||null}function Fn(e){return e[Nn]||null}function Cn(e){return e[hr]||null}function Ar(e){const t=Vt(e)||Fn(e)||Cn(e);return null!==t&&t.standalone}function $n(e,t){const n=e[yn]||null;if(!n&&!0===t)throw new Error(`Type ${mn(e)} does not have '\u0275mod' property.`);return n}function Rs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||$r,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:To(e.inputs,t),outputs:To(e.outputs),debugInfo:null}}function Ys(e){e.features?.forEach(t=>t(e))}function yi(e,t){if(!e)return null;const n=t?Cn:Os;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(er)}function go(e){return{\u0275providers:e}}function fs(...e){return{\u0275providers:hs(0,e),\u0275fromNgModule:!0}}function hs(e,...t){const n=[],r=new Set;let i;const s=o=>{n.push(o)};return Jn(t,o=>{const a=o;ps(a,s,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Js(i,s),n}function Js(e,t){for(let n=0;n{t(s,r)})}}function ps(e,t,n,r){if(!(e=ce(e)))return!1;let i=null,s=fr(e);const o=!s&&Vt(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const h=e.ngModule;if(s=fr(h),!s)return!1;i=h}const a=r.has(i);if(o){if(a)return!1;if(r.add(i),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const C of h)ps(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let C;r.add(i);try{Jn(s.imports,O=>{ps(O,t,n,r)&&(C||=[],C.push(O))})}finally{}void 0!==C&&Js(C,t)}if(!a){const C=Jr(i)||(()=>new i);t({provide:i,useFactory:C,deps:zt},i),t({provide:Ss,useValue:i,multi:!0},i),t({provide:hi,useValue:()=>En(i),multi:!0},i)}const h=s.providers;if(null!=h&&!a){const C=e;xs(h,O=>{t(O,C)})}}}return i!==e&&void 0!==e.providers}function xs(e,t){for(let n of e)Pt(n)&&(n=n.\u0275providers),Array.isArray(n)?xs(n,t):t(n)}const qo=Yt({provide:String,useValue:Yt});function eo(e){return null!==e&&"object"==typeof e&&qo in e}function vi(e){return"function"==typeof e}const Ri=new _e(""),no={},Yo={};let Ro;function ro(){return void 0===Ro&&(Ro=new Is),Ro}class xr{}class gs extends xr{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,so(t,o=>this.processProvider(o)),this.records.set(zs,ms(void 0,this)),i.has("environment")&&this.records.set(xr,ms(void 0,this));const s=this.records.get(Ri);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Ss,zt,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=A(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Yn(this),r=qn(void 0);try{return t()}finally{Yn(n),qn(r)}}get(t,n=Ii,r=Ft.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pn))return t[pn](this);r=ci(r);const s=Yn(this),o=qn(void 0);try{if(!(r&Ft.SkipSelf)){let h=this.records.get(t);if(void 0===h){const C=function ta(e){return"function"==typeof e||"object"==typeof e&&e instanceof _e}(t)&&Or(t);h=C&&this.injectableDefInScope(C)?ms(io(t),no):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Ft.Self?ro():this.parent).get(t,n=r&Ft.Optional&&n===Ii?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[$i]=a[$i]||[]).unshift(mn(t)),s)throw a;return function Mi(e,t,n,r){const i=e[$i];throw t[Ws]&&i.unshift(t[Ws]),e.message=function ss(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=mn(t);if(Array.isArray(t))i=t.map(mn).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):mn(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(li,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[$i]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{qn(o),Yn(s)}}resolveInjectorInitializers(){const t=A(null),n=Yn(this),r=qn(void 0);try{const s=this.get(hi,zt,Ft.Self);for(const o of s)o()}finally{Yn(n),qn(r),A(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(mn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processProvider(t){let n=vi(t=ce(t))?t:ce(t&&t.provide);const r=function xo(e){return eo(e)?ms(void 0,e.useValue):ms(Zo(e),no)}(t);if(!vi(t)&&!0===t.multi){let i=this.records.get(n);i||(i=ms(void 0,no,!0),i.factory=()=>is(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=A(null);try{return n.value===no&&(n.value=Yo,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ea(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ce(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function io(e){const t=Or(e),n=null!==t?t.factory:Jr(e);if(null!==n)return n;if(e instanceof _e)throw new Qe(204,!1);if(e instanceof Function)return function Po(e){if(e.length>0)throw new Qe(204,!1);const n=function ji(e){return e&&(e[j]||e[q])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Qe(204,!1)}function Zo(e,t,n){let r;if(vi(e)){const i=ce(e);return Jr(i)||io(i)}if(eo(e))r=()=>ce(e.useValue);else if(function No(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...is(e.deps||[]));else if(function Oo(e){return!(!e||!e.useExisting)}(e))r=()=>En(ce(e.useExisting));else{const i=ce(e&&(e.useClass||e.provide));if(!function Jo(e){return!!e.deps}(e))return Jr(i)||io(i);r=()=>new i(...is(e.deps))}return r}function ms(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function so(e,t){for(const n of e)Array.isArray(n)?so(n,t):n&&Pt(n)?so(n.\u0275providers,t):t(n)}function Yi(e,t){e instanceof gs&&e.assertNotDestroyed();const r=Yn(e),i=qn(void 0);try{return t()}finally{Yn(r),qn(i)}}function Fo(){return void 0!==Hi()||null!=function Nr(){return jr}()}function oo(e){if(!Fo())throw new Qe(-203,!1)}const G=0,U=1,te=2,ge=3,Ge=4,ke=5,yt=6,vt=7,Ye=8,ot=9,tn=10,it=11,nn=12,pr=13,Ln=14,an=15,Er=16,zn=17,Rn=18,_i=19,Fs=20,Pi=21,Wr=22,Di=23,At=25,ao=1,ct=7,Kt=9,Qt=10;var Fr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fr||{});function dn(e){return Array.isArray(e)&&"object"==typeof e[ao]}function bn(e){return Array.isArray(e)&&!0===e[ao]}function wn(e){return!!(4&e.flags)}function Zi(e){return e.componentOffset>-1}function Lo(e){return!(1&~e.flags)}function vn(e){return!!e.template}function xi(e){return!!(512&e[te])}class d{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function y(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function b(){return P}function P(e){return e.type.prototype.ngOnChanges&&(e.setInput=ye),K}function K(){const e=We(this),t=e?.current;if(t){const n=e.previous;if(n===$r)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ye(e,t,n,r,i){const s=this.declaredInputs[r],o=We(e)||function Nt(e,t){return e[ue]=t}(e,{previous:$r,current:null}),a=o.current||(o.current={}),h=o.previous,C=h[s];a[s]=new d(C&&C.currentValue,n,h===$r),y(e,t,i,n)}b.ngInherit=!0;const ue="__ngSimpleChanges__";function We(e){return e[ue]||null}const zr=function(e,t,n){},yo="svg";let na=!1;function Tn(e){for(;Array.isArray(e);)e=e[G];return e}function Ka(e,t){return Tn(t[e])}function ni(e,t){return Tn(t[e.index])}function Qa(e,t){return e.data[t]}function ra(e,t){return e[t]}function Fi(e,t){const n=t[e];return dn(n)?n:n[G]}function Tu(e){return!(128&~e[te])}function Ls(e,t){return null==t?null:e[t]}function Rh(e){e[zn]=0}function oE(e){1024&e[te]||(e[te]|=1024,Tu(e)&&Xa(e))}function Au(e){return!!(9216&e[te]||e[Di]?.dirty)}function Ou(e){e[tn].changeDetectionScheduler?.notify(1),Au(e)?Xa(e):64&e[te]&&(function lo(){return na}()?(e[te]|=1024,Xa(e)):e[tn].changeDetectionScheduler?.notify())}function Xa(e){e[tn].changeDetectionScheduler?.notify();let t=Vo(e);for(;null!==t&&!(8192&t[te])&&(t[te]|=8192,Tu(t));)t=Vo(t)}function ql(e,t){if(!(256&~e[te]))throw new Qe(911,!1);null===e[Pi]&&(e[Pi]=[]),e[Pi].push(t)}function Vo(e){const t=e[ge];return bn(t)?t[ge]:t}const Rt={lFrame:Gh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fh(){return Rt.bindingsEnabled}function ia(){return null!==Rt.skipHydrationRootTNode}function Ae(){return Rt.lFrame.lView}function rn(){return Rt.lFrame.tView}function Lh(e){return Rt.lFrame.contextLView=e,e[Ye]}function kh(e){return Rt.lFrame.contextLView=null,e}function Sn(){let e=Vh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vh(){return Rt.lFrame.currentTNode}function ks(e,t){const n=Rt.lFrame;n.currentTNode=e,n.isParent=t}function Ru(){return Rt.lFrame.isParent}function Pu(){Rt.lFrame.isParent=!1}function ri(){const e=Rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function co(){return Rt.lFrame.bindingIndex}function ys(){return Rt.lFrame.bindingIndex++}function uo(e){const t=Rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function yE(e,t){const n=Rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,xu(t)}function xu(e){Rt.lFrame.currentDirectiveIndex=e}function Lu(){return Rt.lFrame.currentQueryIndex}function Yl(e){Rt.lFrame.currentQueryIndex=e}function _E(e){const t=e[U];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Hh(e,t,n){if(n&Ft.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Ft.Host||(i=_E(s),null===i||(s=s[Ln],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Rt.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function ku(e){const t=$h(),n=e[U];Rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $h(){const e=Rt.lFrame,t=null===e?null:e.child;return null===t?Gh(e):t}function Gh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wh(){const e=Rt.lFrame;return Rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zh=Wh;function Vu(){const e=Wh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Kr(){return Rt.lFrame.selectedIndex}function Bo(e){Rt.lFrame.selectedIndex=e}function kn(){const e=Rt.lFrame;return Qa(e.tView,e.selectedIndex)}function Kh(){Rt.lFrame.currentNamespace=yo}function Qh(){!function CE(){Rt.lFrame.currentNamespace=null}()}let qh=!0;function Ya(){return qh}function Vs(e){qh=e}function Zl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[zn]+=65536),(a>14>16&&(3&e[te])===t&&(e[te]+=16384,Zh(a,s)):Zh(a,s)}const sa=-1;class Za{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ju(e){return e!==sa}function Ja(e){return 32767&e}function el(e,t){let n=function AE(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ln],n--;return r}let Hu=!0;function tc(e){const t=Hu;return Hu=e,t}const Jh=255,ep=5;let OE=0;const Bs={};function nc(e,t){const n=tp(e,t);if(-1!==n)return n;const r=t[U];r.firstCreatePass&&(e.injectorIndex=t.length,$u(r.data,e),$u(t,null),$u(r.blueprint,null));const i=rc(e,t),s=e.injectorIndex;if(ju(i)){const o=Ja(i),a=el(i,t),h=a[U].data;for(let C=0;C<8;C++)t[s+C]=a[o+C]|h[o+C]}return t[s+8]=i,s}function $u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function rc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=cp(i),null===r)return sa;if(n++,i=i[Ln],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return sa}function Gu(e,t,n){!function NE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_t)&&(r=n[_t]),null==r&&(r=n[_t]=OE++);const i=r&Jh;t.data[e+(i>>ep)]|=1<=0?t&Jh:FE:t}(n);if("function"==typeof s){if(!Hh(t,e,r))return r&Ft.Host?np(i,0,r):rp(t,n,r,i);try{let o;if(o=s(r),null!=o||r&Ft.Optional)return o;Si()}finally{zh()}}else if("number"==typeof s){let o=null,a=tp(e,t),h=sa,C=r&Ft.Host?t[an][ke]:null;for((-1===a||r&Ft.SkipSelf)&&(h=-1===a?rc(e,t):t[a+8],h!==sa&&ap(r,!1)?(o=t[U],a=Ja(h),t=el(h,t)):a=-1);-1!==a;){const O=t[U];if(op(s,a,O.data)){const B=PE(a,t,n,o,r,C);if(B!==Bs)return B}h=t[a+8],h!==sa&&ap(r,t[U].data[a+8]===C)&&op(s,a,t)?(o=O,a=Ja(h),t=el(h,t)):a=-1}}return i}function PE(e,t,n,r,i,s){const o=t[U],a=o.data[e+8],O=ic(a,o,n,null==r?Zi(a)&&Hu:r!=o&&!!(3&a.type),i&Ft.Host&&s===a);return null!==O?Uo(t,o,O,a):Bs}function ic(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,h=e.directiveStart,O=s>>20,Z=i?a+O:e.directiveEnd;for(let ie=r?a:a+O;ie=h&&he.type===n)return ie}if(i){const ie=o[h];if(ie&&vn(ie)&&ie.type===n)return h}return null}function Uo(e,t,n,r){let i=e[n];const s=t.data;if(function SE(e){return e instanceof Za}(i)){const o=i;o.resolving&&function ai(e,t){throw t&&t.join(" > "),new Qe(-200,e)}(function wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():mt(e)}(s[n]));const a=tc(o.canSeeViewProviders);o.resolving=!0;const C=o.injectImpl?qn(o.injectImpl):null;Hh(e,r,Ft.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bE(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=P(t);(n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==C&&qn(C),tc(a),o.resolving=!1,zh()}}return i}function op(e,t,n){return!!(n[t+(e>>ep)]&1<{const t=e.prototype.constructor,n=t[on]||Wu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[on]||Wu(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Wu(e){return de(e)?()=>{const t=Wu(ce(e));return t&&t()}:Jr(e)}function cp(e){const t=e[U],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}function sc(e){return function RE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{static#e=this.THROW_IF_NOT_FOUND=Ii;static#t=this.NULL=new Is;static create(n,r){if(Array.isArray(n))return pp({name:""},r,n,"");{const i=n.name??"";return pp({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=Wt({token:e,providedIn:"any",factory:()=>En(zs)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Ku(e){return e.ngOriginalError}class fo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ku(t);for(;n&&Ku(n);)n=Ku(n);return n||null}}const yp=new _e("",{providedIn:"root",factory:()=>gt(fo).handleError.bind(void 0)});let la=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=WE;static#t=this.__NG_ENV_ID__=n=>n}return e})();class GE extends la{constructor(t){super(),this._lView=t}onDestroy(t){return ql(this._lView,t),()=>function Nu(e,t){if(null===e[Pi])return;const n=e[Pi].indexOf(t);-1!==n&&e[Pi].splice(n,1)}(this._lView,t)}}function WE(){return new GE(Ae())}function zE(){return ca(Sn(),Ae())}function ca(e,t){return new tl(ni(e,t))}let tl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=zE}return e})();function _p(e){return e instanceof tl?e.nativeElement:e}function Qu(e){return t=>{setTimeout(e,void 0,t)}}const Us=class KE extends Gt.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Fo()&&(this.destroyRef=gt(la,{optional:!0})??void 0)}emit(t){const n=A(null);try{super.next(t)}finally{A(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(s=Qu(s),i&&(i=Qu(i)),o&&(o=Qu(o)));const a=super.subscribe({next:i,error:s,complete:o});return t instanceof Ve.yU&&t.add(a),a}};function QE(){return this._results[Symbol.iterator]()}class Xu{static#e=Symbol.iterator;get changes(){return this._changes??=new Us}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Xu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=QE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Hn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ki(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rmC}),mC="ng",Up=new _e(""),ed=new _e("",{providedIn:"platform",factory:()=>"unknown"}),yC=new _e(""),vC=new _e("",{providedIn:"root",factory:()=>_o().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let jp=()=>null;function ld(e,t,n=!1){return jp(e,t,n)}const zp=new _e("",{providedIn:"root",factory:()=>!1});let mc,yc;function fa(e){return function fd(){if(void 0===mc&&(mc=null,bt.trustedTypes))try{mc=bt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return mc}()?.createHTML(e)||e}function hd(){if(void 0===yc&&(yc=null,bt.trustedTypes))try{yc=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return yc}function Qp(e){return hd()?.createHTML(e)||e}function qp(e){return hd()?.createScriptURL(e)||e}class Yp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gn})`}}function Do(e){return e instanceof Yp?e.changingThisBreaksApplicationSecurity:e}function ll(e,t){const n=function kC(e){return e instanceof Yp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gn})`)}return n===t}class VC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(fa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class BC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=fa(t),n}}const jC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pd(e){return(e=String(e)).match(jC)?e:"unsafe:"+e}function ho(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function cl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Jp=ho("area,br,col,hr,img,wbr"),eg=ho("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tg=ho("rp,rt"),gd=cl(Jp,cl(eg,ho("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cl(tg,ho("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),cl(tg,eg)),md=ho("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ng=cl(md,ho("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ho("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),HC=ho("script,style,template");class $C{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=zC(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=WC(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=rg(t).toLowerCase();if(!gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!HC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=rg(t).toLowerCase();gd.hasOwnProperty(n)&&!Jp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(sg(t))}}function WC(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ig(t);return t}function zC(e){const t=e.firstChild;if(t&&function GC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ig(t);return t}function rg(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ig(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const KC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function sg(e){return e.replace(/&/g,"&").replace(KC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(QC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let vc;function yd(e){return"content"in e&&function qC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ha=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ha||{});function og(e){const t=ul();return t?Qp(t.sanitize(ha.HTML,e)||""):ll(e,"HTML")?Qp(Do(e)):function XC(e,t){let n=null;try{vc=vc||function Zp(e){const t=new BC(e);return function UC(){try{return!!(new window.DOMParser).parseFromString(fa(""),"text/html")}catch{return!1}}()?new VC(t):t}(e);let r=t?String(t):"";n=vc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=vc.getInertBodyElement(r)}while(r!==s);return fa((new $C).sanitizeChildren(yd(n)||n))}finally{if(n){const r=yd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(_o(),mt(e))}function vd(e){const t=ul();return t?t.sanitize(ha.URL,e)||"":ll(e,"URL")?Do(e):pd(mt(e))}function ag(e){const t=ul();if(t)return qp(t.sanitize(ha.RESOURCE_URL,e)||"");if(ll(e,"ResourceURL"))return qp(Do(e));throw new Qe(904,!1)}function lg(e,t,n){return function tb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ag:vd}(t,n)(e)}function ul(){const e=Ae();return e&&e[tn].sanitizer}const nb=/^>|^->||--!>|)/g,ib="\u200b$1\u200b";function fg(e){return e.ownerDocument}function ki(e){return e instanceof Function?e():e}var Ec=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ec||{});let Cd;function bd(e,t){return Cd(e,t)}function ga(e,t,n,r,i){if(null!=r){let s,o=!1;bn(r)?s=r:dn(r)&&(o=!0,r=r[G]);const a=Tn(r);0===e&&null!==n?null==i?Eg(t,n,a):jo(t,n,a,i||null,!0):1===e&&null!==n?jo(t,n,a,i||null,!0):2===e?function hl(e,t,n){const r=wc(e,t);r&&function Cb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=s&&function Sb(e,t,n,r,i){const s=n[ct];s!==Tn(n)&&ga(t,e,r,s,i);for(let a=Qt;at.replace(rb,ib))}(t))}function Cc(e,t,n){return e.createElement(t,n)}function vg(e,t){t[tn].changeDetectionScheduler?.notify(1),Ic(e,t,t[it],2,null,null)}function _g(e,t){const n=e[Kt],r=n.indexOf(t);n.splice(r,1)}function dl(e,t){if(e.length<=Qt)return;const n=Qt+t,r=e[n];if(r){const i=r[Er];null!==i&&i!==e&&_g(i,r),t>0&&(e[n-1][Ge]=r[Ge]);const s=ei(e,Qt+t);!function gb(e,t){vg(e,t),t[G]=null,t[ke]=null}(r[U],r);const o=s[Rn];null!==o&&o.detachView(s[U]),r[ge]=null,r[Ge]=null,r[te]&=-129}return r}function bc(e,t){if(!(256&t[te])){const n=t[it];n.destroyNode&&Ic(e,t,n,3,null,null),function yb(e){let t=e[nn];if(!t)return Id(e[U],e);for(;t;){let n=null;if(dn(t))n=t[nn];else{const r=t[Qt];r&&(n=r)}if(!n){for(;t&&!t[Ge]&&t!==e;)dn(t)&&Id(t[U],t),t=t[ge];null===t&&(t=e),dn(t)&&Id(t[U],t),n=t&&t[Ge]}t=n}}(t)}}function Id(e,t){if(256&t[te])return;const n=A(null);try{t[te]&=-129,t[te]|=256,t[Di]&&$e(t[Di]),function Eb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o]():r[-o].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[vt]=null);const i=t[Pi];if(null!==i){t[Pi]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===Gr.None||s===Gr.Emulated)return null}return ni(r,n)}}(e,t.parent,n)}function jo(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eg(e,t,n){e.appendChild(t,n)}function Cg(e,t,n,r,i){null!==r?jo(e,t,n,r,i):Eg(e,t,n)}function wc(e,t){return e.parentNode(t)}function bg(e,t,n){return Sg(e,t,n)}let Td,Sg=function wg(e,t,n){return 40&e.type?ni(e,n):null};function Sc(e,t,n,r){const i=Md(e,r,t),s=t[it],a=bg(r.parent||t[ke],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;hAt&&Pg(e,t,At,!1),zr(o?2:0,i),n(r,i)}finally{Bo(s),zr(o?3:1,i)}}function Rd(e,t,n){if(wn(t)){const r=A(null);try{const s=t.directiveEnd;for(let o=t.directiveStart;onull;function Bg(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const o=t[s];if(void 0===o)continue;r??={};let a,h=Rr.None;Array.isArray(o)?(a=o[0],h=o[1]):a=o;let C=s;if(null!==i){if(!i.hasOwnProperty(s))continue;C=i[s]}0===e?Ug(r,n,C,a,h):Ug(r,n,C,a)}return r}function Ug(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function Ci(e,t,n,r,i,s,o,a){const h=ni(t,n);let O,C=t.inputs;!a&&null!=C&&(O=C[r])?(Ud(e,n,O,r,i),Zi(t)&&function Vb(e,t){const n=Fi(t,e);16&n[te]||(n[te]|=64)}(n,t.index)):3&t.type&&(r=function kb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(h,r,i))}function Ld(e,t,n,r){if(Fh()){const i=null===r?null:{"":-1},s=function Gb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(o)!=a&&o.push(a),o.push(n,r,s)}}(e,t,r,pl(e,n,i.hostVars,jt),i)}function js(e,t,n,r,i,s){const o=ni(e,t);!function Vd(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const a=null==o?mt(s):o(s,r||"",i);e.setAttribute(t,i,a,n)}}(t[it],o,s,e.value,n,r,i)}function qb(e,t,n,r,i,s){const o=s[t];if(null!==o)for(let a=0;a0&&(n[i-1][Ge]=t),r{Xa(e.lView)},consumerOnSignalRead(){this.lView[Di]=this}},Yg=100;function Oc(e,t=!0,n=0){const r=e[tn],i=r.rendererFactory;i.begin?.();try{!function sw(e,t){$d(e,t);let n=0;for(;Au(e);){if(n===Yg)throw new Qe(103,!1);n++,$d(e,1)}}(e,n)}catch(o){throw t&&Ac(e,o),o}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function ow(e,t,n,r){const i=t[te];if(!(256&~i))return;t[tn].inlineEffectRunner?.flush(),ku(t);let o=null,a=null;(function aw(e){return 2!==e.type})(e)&&(a=function tw(e){return e[Di]??function nw(e){const t=qg.pop()??Object.create(iw);return t.lView=e,t}(e)}(t),o=at(a));try{Rh(t),function Uh(e){return Rt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Lg(e,t,n,2,r);const h=!(3&~i);if(h){const B=e.preOrderCheckHooks;null!==B&&Jl(t,B,null)}else{const B=e.preOrderHooks;null!==B&&ec(t,B,0,null),Bu(t,0)}if(function lw(e){for(let t=Ap(e);null!==t;t=Op(t)){if(!(t[te]&Fr.HasTransplantedViews))continue;const n=t[Kt];for(let r=0;r-1&&(dl(t,r),ei(n,r))}this._attachedToViewContainer=!1}bc(this._lView[U],this._lView)}onDestroy(t){ql(this._lView,t)}markForCheck(){vl(this._cdRefInjectingView||this._lView)}detach(){this._lView[te]&=-129}reattach(){Ou(this._lView),this._lView[te]|=128}detectChanges(){this._lView[te]|=1024,Oc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vg(this._lView[U],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Qe(902,!1);this._appRef=t,Ou(this._lView)}}let Dl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fw}return e})();const uw=Dl,dw=class extends uw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function gl(e,t,n,r){const i=A(null);try{const s=t.tView,h=Mc(e,s,n,4096&e[te]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);h[Er]=e[t.index];const O=e[Rn];return null!==O&&(h[Rn]=O.createEmbeddedView(s)),jd(s,h,n),h}finally{A(i)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _l(i)}};function fw(){return Nc(Sn(),Ae())}function Nc(e,t){return 4&e.type?new dw(t,e,ca(e,t)):null}class Lc{}class Lw{}class am{}class Vw{resolveComponentFactory(t){throw function kw(e){const t=Error(`No component factory found for ${mn(e)}.`);return t.ngComponent=e,t}(t)}}let kc=(()=>{class e{static#e=this.NULL=new Vw}return e})();class cm{}let Bw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Uw(){const e=Ae(),n=Fi(Sn().index,e);return(dn(n)?n:e)[it]}()}return e})(),jw=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>null})}return e})();const Xd={},um=new Set;function Hs(e){um.has(e)||(um.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function dm(...e){}class gr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Us(!1),this.onMicrotaskEmpty=new Us(!1),this.onStable=new Us(!1),this.onError=new Us(!1),typeof Zone>"u")throw new Qe(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Hw(){const e="function"==typeof bt.requestAnimationFrame;let t=bt[e?"requestAnimationFrame":"setTimeout"],n=bt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Ww(e){const t=()=>{!function Gw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(bt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{if(function zw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(i,s,o,a);try{return fm(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),hm(e)}},onInvoke:(n,r,i,s,o,a,h)=>{try{return fm(e),n.invoke(i,s,o,a,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),hm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Yd(e),qd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gr.isInAngularZone())throw new Qe(909,!1)}static assertNotInAngularZone(){if(gr.isInAngularZone())throw new Qe(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,$w,dm,dm);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $w={};function qd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hm(e){e._nesting--,qd(e)}class pm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Us,this.onMicrotaskEmpty=new Us,this.onStable=new Us,this.onError=new Us}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}var Ho=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ho||{});const gm={destroy(){}};function mm(e,t){!t&&oo();const n=t?.injector??gt(Li);if(!function vs(e){return"browser"===(e??gt(Li)).get(ed)}(n))return gm;Hs("NgAfterNextRender");const r=n.get(Sl),i=r.handler??=new vm,s=t?.phase??Ho.MixedReadWrite,o=()=>{i.unregister(h),a()},a=n.get(la).onDestroy(o),h=Yi(n,()=>new ym(s,()=>{o(),e()}));return i.register(h),{destroy:o}}class ym{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=gt(gr),this.errorHandler=gt(fo,{optional:!0}),gt(Lc,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class vm{constructor(){this.executingCallbacks=!1,this.buckets={[Ho.EarlyRead]:new Set,[Ho.Write]:new Set,[Ho.MixedReadWrite]:new Set,[Ho.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Sl=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Eo(e){return!!$n(e)}function Bc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o0&&Og(e,n,s.join(" "))}}(ie,Sr,Te,r),void 0!==n&&function s0(e,t,n){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=a0}return e})();function a0(){return Sm(Sn(),Ae())}const l0=jc,bm=class extends l0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){const t=rc(this._hostTNode,this._hostLView);if(ju(t)){const n=el(t,this._hostLView),r=Ja(t);return new Cr(n[U].data[r+8],n)}return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Qt}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,i,va(this._hostTNode,null)),a}createComponent(t,n,r,i,s){const o=t&&!function Ne(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const he=n||{};a=he.index,r=he.injector,i=he.projectableNodes,s=he.environmentInjector||he.ngModuleRef}const h=o?t:new Tl(Vt(t)),C=r||this.parentInjector;if(!s&&null==h.ngModule){const Te=(o?C:this.parentInjector).get(xr,null);Te&&(s=Te)}Vt(h.componentType??{});const ie=h.create(C,i,null,s);return this.insertImpl(ie.hostView,a,va(this._hostTNode,null)),ie}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function sE(e){return bn(e[ge])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const h=i[ge],C=new bm(h,h[ke],h[ge]);C.detach(C.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;return ml(o,i,s,r),t.attachToViewContainerRef(),os(tf(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=wm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);r&&(ei(tf(this._lContainer),n),bc(r[U],r))}detach(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);return r&&null!=ei(tf(this._lContainer),n)?new _l(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function wm(e){return e[8]}function tf(e){return e[8]||(e[8]=[])}function Sm(e,t){let n;const r=t[e.index];return bn(r)?n=r:(n=$g(r,t,null,e),t[e.index]=n,Tc(t,n)),Im(n,t,e,r),new bm(n,e,t)}let Im=function Tm(e,t,n,r){if(e[ct])return;let i;i=8&n.type?Tn(r):function c0(e,t){const n=e[it],r=n.createComment(""),i=ni(t,e);return jo(n,wc(n,i),r,function bb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ct]=i},nf=()=>!1;class rf{constructor(t){this.queryList=t,this.matches=null}clone(){return new rf(this.queryList)}setDirty(){this.queryList.setDirty()}}class sf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;st.trim())}(t):t}}class af{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(o[a/2]);else{const C=s[a+1],O=t[-h];for(let B=Qt;B(J(t),t.value);return n[L]=t,n}(e),r=n[L];return t?.equal&&(r.equal=t.equal),n.set=i=>je(r,i),n.update=i=>function Fe(e,t){Le()||pt(),je(e,t(e.value))}(r,i),n.asReadonly=Vm.bind(n),n}function Vm(){const e=this[L];if(void 0===e.readonlyFn){const t=()=>this();t[L]=e,e.readonlyFn=t}return e.readonlyFn}function Bm(e){return function Lm(e){return"function"==typeof e&&void 0!==e[L]}(e)&&"function"==typeof e.set}function hf(e){let t=function qm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(vn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Qe(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=$c(e.inputs),o.inputTransforms=$c(e.inputTransforms),o.declaredInputs=$c(e.declaredInputs),o.outputs=$c(e.outputs);const a=i.hostBindings;a&&R0(e,a);const h=i.viewQuery,C=i.contentQueries;if(h&&O0(e,h),C&&N0(e,C),T0(e,i),kr(e.outputs,i.outputs),vn(i)&&i.data.animation){const O=e.data;O.animation=(O.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=ds(i.hostAttrs,n=ds(n,i.hostAttrs))}}(r)}function T0(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function $c(e){return e===$r?{}:e===zt?[]:e}function O0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function N0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function R0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function ey(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class $o{}class ty{}function V0(e,t){return new pf(e,t??null,[])}class pf extends $o{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Em(this);const i=$n(t);this._bootstrapComponents=ki(i.bootstrap),this._r3Injector=gp(t,n,[{provide:$o,useValue:this},{provide:kc,useValue:this.componentFactoryResolver},...r],mn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gf extends ty{constructor(t){super(),this.moduleType=t}create(t){return new pf(this.moduleType,t,[])}}class ny extends $o{constructor(t){super(),this.componentFactoryResolver=new Em(this),this.instance=null;const n=new gs([...t.providers,{provide:$o,useValue:this},{provide:kc,useValue:this.componentFactoryResolver}],t.parent||ro(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mf(e,t,n=null){return new ny({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Ea=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new In.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wc(e){return!!yf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function yf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $s(e,t,n){return e[t]=n}function Ol(e,t){return e[t]}function lr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Go(e,t,n,r){const i=lr(e,t,n);return lr(e,t+1,r)||i}function zc(e,t,n,r,i){const s=Go(e,t,n,r);return lr(e,t+2,i)||s}function Ji(e,t,n,r,i,s){const o=Go(e,t,n,r);return Go(e,t+2,i,s)||o}function Ca(e,t,n,r,i,s,o,a){const h=Ae(),C=rn(),O=e+At,B=C.firstCreatePass?function W0(e,t,n,r,i,s,o,a,h){const C=t.consts,O=ya(t,e,4,o||null,Ls(C,a));Ld(t,n,O,Ls(C,h)),Zl(t,O);const B=O.tView=Fd(2,O,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,O),B.queries=t.queries.embeddedTView(O)),O}(O,C,h,t,n,r,i,s,o):C.data[O];ks(B,!1);const Z=ry(C,h,B,e);Ya()&&Sc(C,h,Z,B),Qr(Z,h);const ie=$g(Z,h,Z,B);return h[O]=ie,Tc(h,ie),function Mm(e,t,n){return nf(e,t,n)}(ie,B,h),Lo(B)&&Pd(C,h,B),null!=o&&xd(h,B,a),Ca}let ry=function iy(e,t,n,r){return Vs(!0),t[it].createComment("")};function Mf(e,t,n,r){const i=Ae();return lr(i,ys(),t)&&(rn(),js(kn(),i,e,t,n,r)),Mf}function Oa(e,t,n,r){return lr(e,ys(),n)?t+mt(n)+r:jt}function Zc(e,t){return e<<17|t<<2}function wo(e){return e>>17&32767}function Tf(e){return 2|e}function zo(e){return(131068&e)>>2}function Af(e,t){return-131069&e|t<<2}function Of(e){return 1|e}function Fy(e,t,n,r){const i=e[n+1],s=null===t;let o=r?wo(i):zo(i),a=!1;for(;0!==o&&(!1===a||s);){const C=e[o+1];NS(e[o],t)&&(a=!0,e[o+1]=r?Of(C):Tf(C)),o=r?wo(C):zo(C)}a&&(e[n+1]=r?Tf(i):Of(i))}function NS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ar(e,t)>=0}const br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ly(e){return e.substring(br.key,br.keyEnd)}function RS(e){return e.substring(br.value,br.valueEnd)}function ky(e,t){const n=br.textEnd;return n===t?-1:(t=br.keyEnd=function FS(e,t,n){for(;t32;)t++;return t}(e,br.key=t,n),Va(e,t,n))}function Vy(e,t){const n=br.textEnd;let r=br.key=Va(e,t,n);return n===r?-1:(r=br.keyEnd=function LS(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Uy(e,r,n),r=br.value=Va(e,r,n),r=br.valueEnd=function kS(e,t,n){let r=-1,i=-1,s=-1,o=t,a=o;for(;o32&&(a=o),s=i,i=r,r=-33&h}return a}(e,r,n),Uy(e,r,n))}function By(e){br.key=0,br.keyEnd=0,br.value=0,br.valueEnd=0,br.textEnd=e.length}function Va(e,t,n){for(;t=0;n=Vy(t,n))Wy(e,Ly(t),RS(t))}function Hy(e){Es(GS,Gs,e,!0)}function Gs(e,t){for(let n=function PS(e){return By(e),ky(e,Va(e,0,br.textEnd))}(t);n>=0;n=ky(t,n))Wn(e,Ly(t),!0)}function Ds(e,t,n,r){const i=Ae(),s=rn(),o=uo(2);s.firstUpdatePass&&Gy(s,e,o,r),t!==jt&&lr(i,o,t)&&zy(s,s.data[Kr()],i,i[it],e,i[o+1]=function zS(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=mn(Do(e)))),e}(t,n),r,o)}function Es(e,t,n,r){const i=rn(),s=uo(2);i.firstUpdatePass&&Gy(i,null,s,r);const o=Ae();if(n!==jt&&lr(o,s,n)){const a=i.data[Kr()];if(Qy(a,r)&&!$y(i,s)){let h=r?a.classesWithoutHost:a.stylesWithoutHost;null!==h&&(n=nr(h,n||"")),Rf(i,a,o,n,r)}else!function WS(e,t,n,r,i,s,o,a){i===jt&&(i=zt);let h=0,C=0,O=0=e.expandoStartIndex}function Gy(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Kr()],o=$y(e,n);Qy(s,r)&&null===t&&!o&&(t=!1),t=function BS(e,t,n,r){const i=function Fu(e){const t=Rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Fl(n=Ff(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Ff(i,e,t,n,r),null===s){let h=function US(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==zo(r))return e[wo(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Ff(null,e,t,h[1],r),h=Fl(h,t.attrs,r),function jS(e,t,n,r){e[wo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function HS(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(C=!0)):O=n,i)if(0!==h){const Z=wo(e[a+1]);e[r+1]=Zc(Z,a),0!==Z&&(e[Z+1]=Af(e[Z+1],r)),e[a+1]=function MS(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Zc(a,0),0!==a&&(e[a+1]=Af(e[a+1],r)),a=r;else e[r+1]=Zc(h,0),0===a?a=r:e[h+1]=Af(e[h+1],r),h=r;C&&(e[r+1]=Tf(e[r+1])),Fy(e,O,r,!0),Fy(e,O,r,!1),function OS(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ar(s,t)>=0&&(n[r+1]=Of(n[r+1]))}(t,O,e,r,s),o=Zc(a,h),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Ff(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const h=e[i],C=Array.isArray(h),O=C?h[1]:h,B=null===O;let Z=n[i+1];Z===jt&&(Z=B?zt:void 0);let ie=B?as(Z,r):O===r?Z:void 0;if(C&&!Jc(ie)&&(ie=as(h,r)),Jc(ie)&&(a=ie,o))return a;const he=e[i+1];i=o?wo(he):zo(he)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(a=as(h,r))}return a}function Jc(e){return void 0!==e}function Qy(e,t){return!!(e.flags&(t?8:16))}function eu(e,t,n,r){const i=Ae(),s=rn(),o=At+e,a=i[it],h=s.firstCreatePass?function gI(e,t,n,r,i,s){const o=t.consts,h=ya(t,e,2,r,Ls(o,i));return Ld(t,n,h,Ls(o,s)),null!==h.attrs&&Bc(h,h.attrs,!1),null!==h.mergedAttrs&&Bc(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(o,s,i,t,n,r):s.data[o],C=Zy(s,i,h,a,t,e);i[o]=C;const O=Lo(h);return ks(h,!0),Ng(a,C,h),!function Nl(e){return!(32&~e.flags)}(h)&&Ya()&&Sc(s,i,C,h),0===function aE(){return Rt.lFrame.elementDepthCount}()&&Qr(C,i),function lE(){Rt.lFrame.elementDepthCount++}(),O&&(Pd(s,i,h),Rd(s,h,i)),null!==r&&xd(i,h),eu}function tu(){let e=Sn();Ru()?Pu():(e=e.parent,ks(e,!1));const t=e;(function uE(e){return Rt.skipHydrationRootTNode===e})(t)&&function pE(){Rt.skipHydrationRootTNode=null}(),function cE(){Rt.lFrame.elementDepthCount--}();const n=rn();return n.firstCreatePass&&(Zl(n,e),wn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ME(e){return!!(8&e.flags)}(t)&&Rf(n,t,Ae(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function TE(e){return!!(16&e.flags)}(t)&&Rf(n,t,Ae(),t.stylesWithoutHost,!1),tu}function Uf(e,t,n,r){return eu(e,t,n,r),tu(),Uf}let Zy=(e,t,n,r,i,s)=>(Vs(!0),Cc(r,i,function Xh(){return Rt.lFrame.currentNamespace}()));function nu(e,t,n){const r=Ae(),i=rn(),s=e+At,o=i.firstCreatePass?function vI(e,t,n,r,i){const s=t.consts,o=Ls(s,r),a=ya(t,e,8,"ng-container",o);return null!==o&&Bc(a,o,!0),Ld(t,n,a,Ls(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,n):i.data[s];ks(o,!0);const a=Jy(i,r,o,e);return r[s]=a,Ya()&&Sc(i,r,a,o),Qr(a,r),Lo(o)&&(Pd(i,r,o),Rd(i,o,r)),null!=n&&xd(r,o),nu}function ru(){let e=Sn();const t=rn();return Ru()?Pu():(e=e.parent,ks(e,!1)),t.firstCreatePass&&(Zl(t,e),wn(e)&&t.queries.elementEnd(e)),ru}function jf(e,t,n){return nu(e,t,n),ru(),jf}let Jy=(e,t,n,r)=>(Vs(!0),Sd(t[it],""));function ev(){return Ae()}const Ko=void 0;var CI=["en",[["a","p"],["AM","PM"],Ko],[["AM","PM"],Ko,Ko],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ko,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ko,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ko,"{1} 'at' {0}",Ko],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function EI(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ba={};function Hf(e){const t=function bI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iv(t);if(n)return n;const r=t.split("-")[0];if(n=iv(r),n)return n;if("en"===r)return CI;throw new Qe(701,!1)}function rv(e){return Hf(e)[Ua.PluralCase]}function iv(e){return e in Ba||(Ba[e]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[e]),Ba[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ua||{});const ja="en-US";let sv=ja;function Wf(e,t,n,r){const i=Ae(),s=rn(),o=Sn();return zf(s,i,i[it],o,e,t,r),Wf}function zf(e,t,n,r,i,s,o){const a=Lo(r),C=e.firstCreatePass&&zg(e),O=t[Ye],B=Wg(t);let Z=!0;if(3&r.type||o){const Te=ni(r,t),Be=o?o(Te):Te,Xe=B.length,Pe=o?cn=>o(Tn(cn[r.index])):r.index;let It=null;if(!o&&a&&(It=function _M(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sh?a[h]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==It)(It.__ngLastListenerFn__||It).__ngNextListenerFn__=s,It.__ngLastListenerFn__=s,Z=!1;else{s=Pv(r,t,O,s,!1);const cn=n.listen(Be,i,s);B.push(s,cn),C&&C.push(i,Pe,Xe,Xe+1)}}else s=Pv(r,t,O,s,!1);const ie=r.outputs;let he;if(Z&&null!==ie&&(he=ie[i])){const Te=he.length;if(Te)for(let Be=0;Be-1?Fi(e.index,t):t);let h=Rv(t,n,r,o),C=s.__ngNextListenerFn__;for(;C;)h=Rv(t,n,C,o)&&h,C=C.__ngNextListenerFn__;return i&&!1===h&&o.preventDefault(),h}}function xv(e=1){return function DE(e){return(Rt.lFrame.contextLView=function Ph(e,t){for(;e>0;)t=t[Ln],e--;return t}(e,Rt.lFrame.contextLView))[Ye]}(e)}function DM(e,t){let n=null;const r=function rt(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i(Vs(!0),function wd(e,t){return e.createText(t)}(t[it],r));function Xf(e){return lu("",e,""),Xf}function lu(e,t,n){const r=Ae(),i=Oa(r,e,t,n);return i!==jt&&po(r,Kr(),i),lu}function qf(e,t,n,r,i){const s=Ae(),o=function Na(e,t,n,r,i,s){const a=Go(e,co(),n,i);return uo(2),a?t+mt(n)+r+mt(i)+s:jt}(s,e,t,n,r,i);return o!==jt&&po(s,Kr(),o),qf}function Yf(e,t,n,r,i,s,o,a,h){const C=Ae(),O=function Pa(e,t,n,r,i,s,o,a,h,C){const B=Ji(e,co(),n,i,o,h);return uo(4),B?t+mt(n)+r+mt(i)+s+mt(o)+a+mt(h)+C:jt}(C,e,t,n,r,i,s,o,a,h);return O!==jt&&po(C,Kr(),O),Yf}function Zf(e,t,n){Bm(t)&&(t=t());const r=Ae();return lr(r,ys(),t)&&Ci(rn(),kn(),r,e,t,r[it],n,!1),Zf}function h_(e,t){const n=Bm(e);return n&&e.set(t),n}function Jf(e,t){const n=Ae(),r=rn(),i=Sn();return zf(r,n,n[it],i,e,t),Jf}function eh(e,t,n,r,i){if(e=ce(e),Array.isArray(e))for(let s=0;s>20;if(vi(e)||!e.multi){const ie=new Za(C,i,ma),he=nh(h,t,i?O:O+Z,B);-1===he?(Gu(nc(a,o),s,h),th(s,e,t.length),t.push(h),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(ie),o.push(ie)):(n[he]=ie,o[he]=ie)}else{const ie=nh(h,t,O+Z,B),he=nh(h,t,O,O+Z),Be=he>=0&&n[he];if(i&&!Be||!i&&!(ie>=0&&n[ie])){Gu(nc(a,o),s,h);const Xe=function BM(e,t,n,r,i){const s=new Za(e,n,ma);return s.multi=[],s.index=t,s.componentProviders=0,p_(s,i,r&&!n),s}(i?VM:kM,n.length,i,r,C);!i&&Be&&(n[he].providerFactory=Xe),th(s,e,t.length,0),t.push(h),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(Xe),o.push(Xe)}else th(s,e,ie>-1?ie:he,p_(n[i?he:ie],C,!i&&r));!i&&r&&Be&&n[he].componentProviders++}}}function th(e,t,n,r){const i=vi(t),s=function to(e){return!!e.useClass}(t);if(i||s){const h=(s?ce(t.useClass):t).prototype.ngOnDestroy;if(h){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const O=C.indexOf(n);-1===O?C.push(n,[r,h]):C[O+1].push(r,h)}else C.push(n,h)}}}function p_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nh(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function LM(e,t,n){const r=rn();if(r.firstCreatePass){const i=vn(e);eh(n,r.data,r.blueprint,i,!0),eh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let UM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=hs(0,n.type),i=r.length>0?mf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Wt({token:e,providedIn:"environment",factory:()=>new e(En(xr))})}return e})();function m_(e){Hs("NgStandalone"),e.getStandaloneInjector=t=>t.get(UM).getOrCreateStandaloneInjector(e)}function y_(e,t,n){const r=e.\u0275cmp;r.directiveDefs=yi(t,!1),r.pipeDefs=yi(n,!0)}function __(e,t,n){const r=ri()+e,i=Ae();return i[r]===jt?$s(i,r,n?t.call(n):t()):Ol(i,r)}function D_(e,t,n,r){return T_(Ae(),ri(),e,t,n,r)}function E_(e,t,n,r,i){return function A_(e,t,n,r,i,s,o){const a=t+n;return Go(e,a,i,s)?$s(e,a+2,o?r.call(o,i,s):r(i,s)):Hl(e,a+2)}(Ae(),ri(),e,t,n,r,i)}function C_(e,t,n,r,i,s){return function O_(e,t,n,r,i,s,o,a){const h=t+n;return zc(e,h,i,s,o)?$s(e,h+3,a?r.call(a,i,s,o):r(i,s,o)):Hl(e,h+3)}(Ae(),ri(),e,t,n,r,i,s)}function b_(e,t,n,r,i,s,o){return function N_(e,t,n,r,i,s,o,a,h){const C=t+n;return Ji(e,C,i,s,o,a)?$s(e,C+4,h?r.call(h,i,s,o,a):r(i,s,o,a)):Hl(e,C+4)}(Ae(),ri(),e,t,n,r,i,s,o)}function w_(e,t,n,r,i,s,o,a){const h=ri()+e,C=Ae(),O=Ji(C,h,n,r,i,s);return lr(C,h+4,o)||O?$s(C,h+5,a?t.call(a,n,r,i,s,o):t(n,r,i,s,o)):Ol(C,h+5)}function S_(e,t,n,r,i,s,o,a,h){const C=ri()+e,O=Ae(),B=Ji(O,C,n,r,i,s);return Go(O,C+4,o,a)||B?$s(O,C+6,h?t.call(h,n,r,i,s,o,a):t(n,r,i,s,o,a)):Ol(O,C+6)}function I_(e,t,n,r,i,s,o,a,h,C){const O=ri()+e,B=Ae();let Z=Ji(B,O,n,r,i,s);return zc(B,O+4,o,a,h)||Z?$s(B,O+7,C?t.call(C,n,r,i,s,o,a,h):t(n,r,i,s,o,a,h)):Ol(B,O+7)}function M_(e,t,n,r){return function R_(e,t,n,r,i,s){let o=t+n,a=!1;for(let h=0;h=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Jr(r.type)),a=qn(ma);try{const h=tc(!1),C=s();return tc(h),function wM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ae(),i,C),C}finally{qn(a)}}function x_(e,t,n){const r=e+At,i=Ae(),s=ra(i,r);return function $l(e,t){return e[U].data[t].pure}(i,r)?T_(i,ri(),t,s.transform,n,s):s.transform(n)}function F_(e,t){return Nc(e,t)}class Y_{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Z_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rD=new _e(""),iD=new _e("");let ch,UT=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ch||(function jT(e){ch=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(En(gr),En(sD),En(iD))};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}return e})(),sD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ch?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function uh(e){return!!e&&"function"==typeof e.then}function oD(e){return!!e&&"function"==typeof e.subscribe}const aD=new _e("");let dh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=gt(aD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(uh(s))n.push(s);else if(oD(s)){const o=new Promise((a,h)=>{s.subscribe({complete:a,error:h})});n.push(o)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fh=new _e("");function uD(e,t){return Array.isArray(t)?t.reduce(uD,e):{...e,...t}}let So=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gt(yp),this.afterRenderEffectManager=gt(Sl),this.externalTestViews=new Set,this.beforeRender=new Gt.B,this.afterTick=new Gt.B,this.componentTypes=[],this.components=[],this.isStable=gt(Ea).hasPendingTasks.pipe((0,Pn.T)(n=>!n)),this._injector=gt(xr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof am;if(!this._injector.get(dh).done)throw!i&&Ar(n),new Qe(405,!1);let o;o=i?n:this._injector.get(kc).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function HT(e){return e.isBoundToModule}(o)?void 0:this._injector.get($o),C=o.create(Li.NULL,[],r||o.selector,a),O=C.location.nativeElement,B=C.injector.get(rD,null);return B?.registerApplication(O),C.onDestroy(()=>{this.detachView(C.hostView),fu(this.components,C),B?.unregisterApplication(O)}),this._loadComponent(C),C}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Qe(101,!1);const r=A(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,A(r)}}detectChangesInAttachedViews(n){let r=0;const i=this.afterRenderEffectManager;for(;;){if(r===Yg)throw new Qe(103,!1);if(n){const s=0===r;this.beforeRender.next(s);for(let{_lView:o,notifyErrorHandler:a}of this._views)GT(o,s,a)}if(r++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hh(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hh(s))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(fh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Qe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function GT(e,t,n){!t&&!hh(e)||function WT(e,t,n){let r;n?(r=0,e[te]|=1024):r=64&e[te]?0:1,Oc(e,t,r)}(e,n,t)}function hh(e){return Au(e)}class zT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let KT=(()=>{class e{compileModuleSync(n){return new gf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ki($n(n).declarations).reduce((o,a)=>{const h=Vt(a);return h&&o.push(new Tl(h)),o},[]);return new zT(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qT=(()=>{class e{constructor(){this.zone=gt(gr),this.applicationRef=gt(So)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YT(){const e=gt(gr),t=gt(fo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let JT=(()=>{class e{constructor(){this.subscription=new Ve.yU,this.initialized=!1,this.zone=gt(gr),this.pendingTasks=gt(Ea)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{gr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const pu=new _e("",{providedIn:"root",factory:()=>gt(pu,Ft.Optional|Ft.SkipSelf)||function eA(){return typeof $localize<"u"&&$localize.locale||ja}()}),tA=new _e("",{providedIn:"root",factory:()=>"USD"}),ph=new _e("");let pD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Kw(e="zone.js",t){return"noop"===e?new pm:"zone.js"===e?new gr(t):e}(r?.ngZone,function hD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function B0(e,t,n){return new pf(e,t,n)}(n.moduleType,this.injector,function fD(e){return[{provide:gr,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const t=gt(qT,{optional:!0});return()=>t.initialize()}},{provide:hi,multi:!0,useFactory:()=>{const t=gt(JT);return()=>{t.initialize()}}},{provide:yp,useFactory:YT}]}(()=>i)),o=s.injector.get(fo,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:h=>{o.handleError(h)}});s.onDestroy(()=>{fu(this._modules,s),a.unsubscribe()})}),function cD(e,t,n){try{const r=n();return uh(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,i,()=>{const a=s.injector.get(dh);return a.runInitializers(),a.donePromise.then(()=>(function ov(e){"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(pu,ja)||ja),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=uD({},r);return function XT(e,t,n){const r=new gf(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(So);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Qe(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ph,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(En(Li))};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Io=null;const gD=new _e("");function mD(e,t,n=[]){const r=`Platform: ${t}`,i=new _e(r);return(s=[])=>{let o=gh();if(!o||o.injector.get(gD,!1)){const a=[...n,...s,{provide:i,useValue:!0}];e?e(a):function rA(e){if(Io&&!Io.get(gD,!1))throw new Qe(400,!1);(function lD(){!function $t(e){ze=e}(()=>{throw new Qe(600,!1)})})(),Io=e;const t=e.get(pD);(function vD(e){e.get(Up,null)?.forEach(n=>n())})(e)}(function yD(e=[],t){return Li.create({name:t,providers:[{provide:Ri,useValue:"platform"},{provide:ph,useValue:new Set([()=>Io=null])},...e]})}(a,r))}return function iA(e){const t=gh();if(!t)throw new Qe(401,!1);return t}()}}function gh(){return Io?.get(pD)??null}let DD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oA}return e})();function oA(e){return function aA(e,t,n){if(Zi(e)&&!n){const r=Fi(e.index,t);return new _l(r,r)}return 47&e.type?new _l(t[an],t):null}(Sn(),Ae(),!(16&~e))}class wD{constructor(){}supports(t){return Wc(t)}create(t){return new fA(t)}}const dA=(e,t)=>t;class fA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||dA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new hA(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new SD),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new SD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class hA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class SD{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new pA,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ID(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new mA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class mA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function TD(){return new Dh([new wD])}let Dh=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:TD});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||TD()),deps:[[e,new di,new rr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Qe(901,!1)}}return e})();function AD(){return new Eh([new MD])}let Eh=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:AD});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||AD()),deps:[[e,new di,new rr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Qe(901,!1)}}return e})();const _A=mD(null,"core",[]);let DA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(En(So))};static#t=this.\u0275mod=Ni({type:e});static#n=this.\u0275inj=qr({})}return e})();function XA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function YA(e,t){Hs("NgSignals");const n=function Ee(e){const t=Object.create(qe);t.computation=e;const n=()=>{if(fe(t),J(t),t.value===ae)throw t.error;return t.value};return n[L]=t,n}(e);return t?.equal&&(n[L].equal=t.equal),n}function ZA(e){const t=A(null);try{return e()}finally{A(t)}}const JA=new _e("",{providedIn:"root",factory:()=>gt(eO)});let eO=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>new tO})}return e})();class tO{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=gt(Ea),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class nO{constructor(t,n,r,i,s,o){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=s,this.watcher=function Ut(e,t,n){const r=Object.create(en);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=h=>{r.cleanupFn=h};return r.ref={notify:()=>He(r),run:()=>{if(null===r.fn)return;if(function H(){return re}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!St(r))return;r.hasRun=!0;const h=at(r);try{r.cleanupFn(),r.cleanupFn=dt,r.fn(i)}finally{Bt(r,h)}},cleanup:()=>r.cleanupFn(),destroy:()=>function o(h){(function s(h){return null===h.fn&&null===h.schedule})(h)||($e(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=dt)}(r),[L]:r},r.ref}(a=>this.runEffect(a),()=>this.schedule(),o),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(fo,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function YD(e,t){Hs("NgSignals"),!t?.injector&&oo();const n=t?.injector??gt(Li),r=!0!==t?.manualCleanup?n.get(la):null,i=new nO(n.get(JA),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),s=n.get(DD,null,{optional:!0});return s&&8&s._lView[te]?(s._lView[Wr]??=[]).push(i.watcher.notify):i.watcher.notify(),i}function rO(e){const t=Vt(e);if(!t)return null;const n=new Tl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},4341:(Ze,De,N)=>{N.d(De,{YN:()=>qi,kq:()=>be,vO:()=>ut,BC:()=>sr,vS:()=>Ft});var g=N(4438),v=N(177),F=N(6648),re=N(1985),f=N(3073),L=N(8750),A=N(9326),$=N(4360),H=N(6450),k=N(8496),J=N(6354);let le=(()=>{class M{constructor(D,V){this._renderer=D,this._elementRef=V,this.onChange=ee=>{},this.onTouched=()=>{}}setProperty(D,V){this._renderer.setProperty(this._elementRef.nativeElement,D,V)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(g.sFG),g.rXU(g.aKT))};static#t=this.\u0275dir=g.FsC({type:M})}return M})(),fe=(()=>{class M extends le{static#e=this.\u0275fac=(()=>{let D;return function(ee){return(D||(D=g.xGo(M)))(ee||M)}})();static#t=this.\u0275dir=g.FsC({type:M,features:[g.Vt3]})}return M})();const be=new g.nKC(""),at={provide:be,useExisting:(0,g.Rfq)(()=>$e),multi:!0},St=new g.nKC("");let $e=(()=>{class M extends le{constructor(D,V,ee){super(D,V),this._compositionMode=ee,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Bt(){const M=(0,v.QT)()?(0,v.QT)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(g.sFG),g.rXU(g.aKT),g.rXU(St,8))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(V,ee){1&V&&g.bIt("input",function(Et){return ee._handleInput(Et.target.value)})("blur",function(){return ee.onTouched()})("compositionstart",function(){return ee._compositionStart()})("compositionend",function(Et){return ee._compositionEnd(Et.target.value)})},features:[g.Jv_([at]),g.Vt3]})}return M})();const se=new g.nKC(""),ne=new g.nKC("");function Ce(M){return null!=M}function Se(M){return(0,g.jNT)(M)?(0,F.H)(M):M}function Me(M){let T={};return M.forEach(D=>{T=null!=D?{...T,...D}:T}),0===Object.keys(T).length?null:T}function je(M,T){return T.map(D=>D(M))}function st(M){return M.map(T=>function Fe(M){return!M.validate}(T)?T:D=>T.validate(D))}function Ut(M){return null!=M?function Lt(M){if(!M)return null;const T=M.filter(Ce);return 0==T.length?null:function(D){return Me(je(D,T))}}(st(M)):null}function en(M){return null!=M?function dt(M){if(!M)return null;const T=M.filter(Ce);return 0==T.length?null:function(D){return function W(...M){const T=(0,A.ms)(M),{args:D,keys:V}=(0,f.D)(M),ee=new re.c(rt=>{const{length:Et}=D;if(!Et)return void rt.complete();const Ot=new Array(Et);let pi=Et,gi=Et;for(let mi=0;mi{As||(As=!0,gi--),Ot[mi]=Xs},()=>pi--,void 0,()=>{(!pi||!As)&&(gi||rt.next(V?(0,k.e)(V,Ot):Ot),rt.complete())}))}});return T?ee.pipe((0,H.I)(T)):ee}(je(D,T).map(Se)).pipe((0,J.T)(Me))}}(st(M)):null}function _n(M,T){return null===M?[T]:Array.isArray(M)?[...M,T]:[M,T]}function In(M){return M?Array.isArray(M)?M:[M]:[]}function Pn(M,T){return Array.isArray(M)?M.includes(T):M===T}function fn(M,T){const D=In(T);return In(M).forEach(ee=>{Pn(D,ee)||D.push(ee)}),D}function Gn(M,T){return In(T).filter(D=>!Pn(M,D))}class Qe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Ut(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=en(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,D){return!!this.control&&this.control.hasError(T,D)}getError(T,D){return this.control?this.control.getError(T,D):null}}class un extends Qe{get formDirective(){return null}get path(){return null}}class ut extends Qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mr{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let sr=(()=>{class M extends mr{constructor(D){super(D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(ut,2))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,ee){2&V&&g.AVh("ng-untouched",ee.isUntouched)("ng-touched",ee.isTouched)("ng-pristine",ee.isPristine)("ng-dirty",ee.isDirty)("ng-valid",ee.isValid)("ng-invalid",ee.isInvalid)("ng-pending",ee.isPending)},features:[g.Vt3]})}return M})();const ce="VALID",de="INVALID",Q="PENDING",oe="DISABLED";function ln(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class Un{constructor(T,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(D)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===ce}get invalid(){return this.status===de}get pending(){return this.status==Q}get disabled(){return this.status===oe}get enabled(){return this.status!==oe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(fn(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(fn(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(Gn(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(Gn(T,this._rawAsyncValidators))}hasValidator(T){return Pn(this._rawValidators,T)}hasAsyncValidator(T){return Pn(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=Q,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const D=this._parentMarkedDirty(T.onlySelf);this.status=oe,this.errors=null,this._forEachChild(V=>{V.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:D}),this._onDisabledChange.forEach(V=>V(!0))}enable(T={}){const D=this._parentMarkedDirty(T.onlySelf);this.status=ce,this._forEachChild(V=>{V.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:D}),this._onDisabledChange.forEach(V=>V(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ce||this.status===Q)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?oe:ce}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=Q,this._hasOwnPendingAsyncValidator=!0;const D=Se(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(V=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(V,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,D={}){this.errors=T,this._updateControlsErrors(!1!==D.emitEvent)}get(T){let D=T;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((V,ee)=>V&&V._find(ee),this)}getError(T,D){const V=D?this.get(D):this;return V&&V.errors?V.errors[T]:null}hasError(T,D){return!!this.getError(T,D)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new g.bkB,this.statusChanges=new g.bkB}_calculateStatus(){return this._allControlsDisabled()?oe:this.errors?de:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Q)?Q:this._anyControlsHaveStatus(de)?de:ce}_anyControlsHaveStatus(T){return this._anyControls(D=>D.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){ln(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function tt(M){return Array.isArray(M)?Ut(M):M||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function qt(M){return Array.isArray(M)?en(M):M||null}(this._rawAsyncValidators)}}const hn=new g.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Xr}),Xr="always";function yr(M,T,D=Xr){(function Or(M,T){const D=function Gt(M){return M._rawValidators}(M);null!==T.validator?M.setValidators(_n(D,T.validator)):"function"==typeof D&&M.setValidators([D]);const V=function Ve(M){return M._rawAsyncValidators}(M);null!==T.asyncValidator?M.setAsyncValidators(_n(V,T.asyncValidator)):"function"==typeof V&&M.setAsyncValidators([V]);const ee=()=>M.updateValueAndValidity();vr(T._rawValidators,ee),vr(T._rawAsyncValidators,ee)})(M,T),T.valueAccessor.writeValue(M.value),(M.disabled||"always"===D)&&T.valueAccessor.setDisabledState?.(M.disabled),function Yr(M,T){T.valueAccessor.registerOnChange(D=>{M._pendingValue=D,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&fr(M,T)})}(M,T),function j(M,T){const D=(V,ee)=>{T.valueAccessor.writeValue(V),ee&&T.viewToModelUpdate(V)};M.registerOnChange(D),T._registerOnDestroy(()=>{M._unregisterOnChange(D)})}(M,T),function ji(M,T){T.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&fr(M,T),"submit"!==M.updateOn&&M.markAsTouched()})}(M,T),function qr(M,T){if(T.valueAccessor.setDisabledState){const D=V=>{T.valueAccessor.setDisabledState(V)};M.registerOnDisabledChange(D),T._registerOnDestroy(()=>{M._unregisterOnDisabledChange(D)})}}(M,T)}function vr(M,T){M.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(T)})}function fr(M,T){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Nn(M,T){const D=M.indexOf(T);D>-1&&M.splice(D,1)}function hr(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}Promise.resolve();const yn=class extends Un{constructor(T=null,D,V){super(function Re(M){return(ln(M)?M.validators:M)||null}(D),function ht(M,T){return(ln(T)?T.asyncValidators:M)||null}(V,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ln(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=hr(T)?T.value:T)}setValue(T,D={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(V=>V(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(T,D={}){this.setValue(T,D)}reset(T=this.defaultValue,D={}){this._applyFormState(T),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){Nn(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){Nn(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){hr(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},ts={provide:ut,useExisting:(0,g.Rfq)(()=>Ft)},Si=Promise.resolve();let Ft=(()=>{class M extends ut{constructor(D,V,ee,rt,Et,Ot){super(),this._changeDetectorRef=Et,this.callSetDisabledState=Ot,this.control=new yn,this._registered=!1,this.name="",this.update=new g.bkB,this._parent=D,this._setValidators(V),this._setAsyncValidators(ee),this.valueAccessor=function Ht(M,T){if(!T)return null;let D,V,ee;return Array.isArray(T),T.forEach(rt=>{rt.constructor===$e?D=rt:function Jt(M){return Object.getPrototypeOf(M.constructor)===fe}(rt)?V=rt:ee=rt}),ee||V||D||null}(0,rt)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const V=D.name.previousValue;this.formDirective.removeControl({name:V,path:this._getPath(V)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),function lt(M,T){if(!M.hasOwnProperty("model"))return!1;const D=M.model;return!!D.isFirstChange()||!Object.is(T,D.currentValue)}(D,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){yr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){Si.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const V=D.isDisabled.currentValue,ee=0!==V&&(0,g.L39)(V);Si.then(()=>{ee&&!this.control.disabled?this.control.disable():!ee&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?function oi(M,T){return[...T.path,M]}(D,this._parent):[D]}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(un,9),g.rXU(se,10),g.rXU(ne,10),g.rXU(be,10),g.rXU(g.gRc,8),g.rXU(hn,8))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[g.Mj6.None,"disabled","isDisabled"],model:[g.Mj6.None,"ngModel","model"],options:[g.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[g.Jv_([ts]),g.Vt3,g.OA$]})}return M})(),Gr=(()=>{class M{static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=g.$C({type:M});static#n=this.\u0275inj=g.G2t({})}return M})(),qi=(()=>{class M{static withConfig(D){return{ngModule:M,providers:[{provide:hn,useValue:D.callSetDisabledState??Xr}]}}static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=g.$C({type:M});static#n=this.\u0275inj=g.G2t({imports:[Gr]})}return M})()},345:(Ze,De,N)=>{N.d(De,{B7:()=>ne,Bb:()=>In,hE:()=>Gn,sG:()=>en});var g=N(4438),v=N(177);class F extends v.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends F{static makeCurrent(){(0,v.ZD)(new re)}onAndCancel(de,Q,oe){return de.addEventListener(Q,oe),()=>{de.removeEventListener(Q,oe)}}dispatchEvent(de,Q){de.dispatchEvent(Q)}remove(de){de.parentNode&&de.parentNode.removeChild(de)}createElement(de,Q){return(Q=Q||this.getDefaultDocument()).createElement(de)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(de){return de.nodeType===Node.ELEMENT_NODE}isShadowRoot(de){return de instanceof DocumentFragment}getGlobalEventTarget(de,Q){return"window"===Q?window:"document"===Q?de:"body"===Q?de.body:null}getBaseHref(de){const Q=function L(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Q?null:function A(ce){return new URL(ce,document.baseURI).pathname}(Q)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(de){return(0,v._b)(document.cookie,de)}}let f=null,H=(()=>{class ce{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||ce)};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const k=new g.nKC("");let W=(()=>{class ce{constructor(Q,oe){this._zone=oe,this._eventNameToPlugin=new Map,Q.forEach(Re=>{Re.manager=this}),this._plugins=Q.slice().reverse()}addEventListener(Q,oe,Re){return this._findPluginFor(oe).addEventListener(Q,oe,Re)}getZone(){return this._zone}_findPluginFor(Q){let oe=this._eventNameToPlugin.get(Q);if(oe)return oe;if(oe=this._plugins.find(tt=>tt.supports(Q)),!oe)throw new g.wOt(5101,!1);return this._eventNameToPlugin.set(Q,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(k),g.KVO(g.SKi))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();class J{constructor(de){this._doc=de}}const le="ng-app-id";let fe=(()=>{class ce{constructor(Q,oe,Re,tt={}){this.doc=Q,this.appId=oe,this.nonce=Re,this.platformId=tt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.Vy)(tt),this.resetHostNodes()}addStyles(Q){for(const oe of Q)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(Q){for(const oe of Q)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const Q=this.styleNodesInDOM;Q&&(Q.forEach(oe=>oe.remove()),Q.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(Q){this.hostNodes.add(Q);for(const oe of this.getAllStyles())this.addStyleToHost(Q,oe)}removeHost(Q){this.hostNodes.delete(Q)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Q){for(const oe of this.hostNodes)this.addStyleToHost(oe,Q)}onStyleRemoved(Q){const oe=this.styleRef;oe.get(Q)?.elements?.forEach(Re=>Re.remove()),oe.delete(Q)}collectServerRenderedStyles(){const Q=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(Q?.length){const oe=new Map;return Q.forEach(Re=>{null!=Re.textContent&&oe.set(Re.textContent,Re)}),oe}return null}changeUsageCount(Q,oe){const Re=this.styleRef;if(Re.has(Q)){const tt=Re.get(Q);return tt.usage+=oe,tt.usage}return Re.set(Q,{usage:oe,elements:[]}),oe}getStyleElement(Q,oe){const Re=this.styleNodesInDOM,tt=Re?.get(oe);if(tt?.parentNode===Q)return Re.delete(oe),tt.removeAttribute(le),tt;{const ht=this.doc.createElement("style");return this.nonce&&ht.setAttribute("nonce",this.nonce),ht.textContent=oe,this.platformIsServer&&ht.setAttribute(le,this.appId),Q.appendChild(ht),ht}}addStyleToHost(Q,oe){const Re=this.getStyleElement(Q,oe),tt=this.styleRef,ht=tt.get(oe)?.elements;ht?ht.push(Re):tt.set(oe,{elements:[Re],usage:1})}resetHostNodes(){const Q=this.hostNodes;Q.clear(),Q.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ),g.KVO(g.sZ2),g.KVO(g.BIS,8),g.KVO(g.Agw))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const be={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Le=/%COMP%/g,$e=new g.nKC("",{providedIn:"root",factory:()=>!0});function se(ce,de){return de.map(Q=>Q.replace(Le,ce))}let ne=(()=>{class ce{constructor(Q,oe,Re,tt,ht,qt,ln,Mn=null){this.eventManager=Q,this.sharedStylesHost=oe,this.appId=Re,this.removeStylesOnCompDestroy=tt,this.doc=ht,this.platformId=qt,this.ngZone=ln,this.nonce=Mn,this.rendererByCompId=new Map,this.platformIsServer=(0,v.Vy)(qt),this.defaultRenderer=new Ie(Q,ht,ln,this.platformIsServer)}createRenderer(Q,oe){if(!Q||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===g.gXe.ShadowDom&&(oe={...oe,encapsulation:g.gXe.Emulated});const Re=this.getOrCreateRenderer(Q,oe);return Re instanceof Oe?Re.applyToHost(Q):Re instanceof qe&&Re.applyStyles(),Re}getOrCreateRenderer(Q,oe){const Re=this.rendererByCompId;let tt=Re.get(oe.id);if(!tt){const ht=this.doc,qt=this.ngZone,ln=this.eventManager,Mn=this.sharedStylesHost,Ir=this.removeStylesOnCompDestroy,Un=this.platformIsServer;switch(oe.encapsulation){case g.gXe.Emulated:tt=new Oe(ln,Mn,oe,this.appId,Ir,ht,qt,Un);break;case g.gXe.ShadowDom:return new ae(ln,Mn,Q,oe,ht,qt,this.nonce,Un);default:tt=new qe(ln,Mn,oe,Ir,ht,qt,Un)}Re.set(oe.id,tt)}return tt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(W),g.KVO(fe),g.KVO(g.sZ2),g.KVO($e),g.KVO(v.qQ),g.KVO(g.Agw),g.KVO(g.SKi),g.KVO(g.BIS))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();class Ie{constructor(de,Q,oe,Re){this.eventManager=de,this.doc=Q,this.ngZone=oe,this.platformIsServer=Re,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(de,Q){return Q?this.doc.createElementNS(be[Q]||Q,de):this.doc.createElement(de)}createComment(de){return this.doc.createComment(de)}createText(de){return this.doc.createTextNode(de)}appendChild(de,Q){(xe(de)?de.content:de).appendChild(Q)}insertBefore(de,Q,oe){de&&(xe(de)?de.content:de).insertBefore(Q,oe)}removeChild(de,Q){de&&de.removeChild(Q)}selectRootElement(de,Q){let oe="string"==typeof de?this.doc.querySelector(de):de;if(!oe)throw new g.wOt(-5104,!1);return Q||(oe.textContent=""),oe}parentNode(de){return de.parentNode}nextSibling(de){return de.nextSibling}setAttribute(de,Q,oe,Re){if(Re){Q=Re+":"+Q;const tt=be[Re];tt?de.setAttributeNS(tt,Q,oe):de.setAttribute(Q,oe)}else de.setAttribute(Q,oe)}removeAttribute(de,Q,oe){if(oe){const Re=be[oe];Re?de.removeAttributeNS(Re,Q):de.removeAttribute(`${oe}:${Q}`)}else de.removeAttribute(Q)}addClass(de,Q){de.classList.add(Q)}removeClass(de,Q){de.classList.remove(Q)}setStyle(de,Q,oe,Re){Re&(g.czy.DashCase|g.czy.Important)?de.style.setProperty(Q,oe,Re&g.czy.Important?"important":""):de.style[Q]=oe}removeStyle(de,Q,oe){oe&g.czy.DashCase?de.style.removeProperty(Q):de.style[Q]=""}setProperty(de,Q,oe){null!=de&&(de[Q]=oe)}setValue(de,Q){de.nodeValue=Q}listen(de,Q,oe){if("string"==typeof de&&!(de=(0,v.QT)().getGlobalEventTarget(this.doc,de)))throw new Error(`Unsupported event target ${de} for event ${Q}`);return this.eventManager.addEventListener(de,Q,this.decoratePreventDefault(oe))}decoratePreventDefault(de){return Q=>{if("__ngUnwrap__"===Q)return de;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>de(Q)):de(Q))&&Q.preventDefault()}}}function xe(ce){return"TEMPLATE"===ce.tagName&&void 0!==ce.content}class ae extends Ie{constructor(de,Q,oe,Re,tt,ht,qt,ln){super(de,tt,ht,ln),this.sharedStylesHost=Q,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=se(Re.id,Re.styles);for(const Ir of Mn){const Un=document.createElement("style");qt&&Un.setAttribute("nonce",qt),Un.textContent=Ir,this.shadowRoot.appendChild(Un)}}nodeOrShadowRoot(de){return de===this.hostEl?this.shadowRoot:de}appendChild(de,Q){return super.appendChild(this.nodeOrShadowRoot(de),Q)}insertBefore(de,Q,oe){return super.insertBefore(this.nodeOrShadowRoot(de),Q,oe)}removeChild(de,Q){return super.removeChild(this.nodeOrShadowRoot(de),Q)}parentNode(de){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(de)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class qe extends Ie{constructor(de,Q,oe,Re,tt,ht,qt,ln){super(de,tt,ht,qt),this.sharedStylesHost=Q,this.removeStylesOnCompDestroy=Re,this.styles=ln?se(ln,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Oe extends qe{constructor(de,Q,oe,Re,tt,ht,qt,ln){const Mn=Re+"-"+oe.id;super(de,Q,oe,tt,ht,qt,ln,Mn),this.contentAttr=function pe(ce){return"_ngcontent-%COMP%".replace(Le,ce)}(Mn),this.hostAttr=function et(ce){return"_nghost-%COMP%".replace(Le,ce)}(Mn)}applyToHost(de){this.applyStyles(),this.setAttribute(de,this.hostAttr,"")}createElement(de,Q){const oe=super.createElement(de,Q);return super.setAttribute(oe,this.contentAttr,""),oe}}let ze=(()=>{class ce extends J{constructor(Q){super(Q)}supports(Q){return!0}addEventListener(Q,oe,Re){return Q.addEventListener(oe,Re,!1),()=>this.removeEventListener(Q,oe,Re)}removeEventListener(Q,oe,Re){return Q.removeEventListener(oe,Re)}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const pt=["alt","control","meta","shift"],$t={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},me={alt:ce=>ce.altKey,control:ce=>ce.ctrlKey,meta:ce=>ce.metaKey,shift:ce=>ce.shiftKey};let Ce=(()=>{class ce extends J{constructor(Q){super(Q)}supports(Q){return null!=ce.parseEventName(Q)}addEventListener(Q,oe,Re){const tt=ce.parseEventName(oe),ht=ce.eventCallback(tt.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.QT)().onAndCancel(Q,tt.domEventName,ht))}static parseEventName(Q){const oe=Q.toLowerCase().split("."),Re=oe.shift();if(0===oe.length||"keydown"!==Re&&"keyup"!==Re)return null;const tt=ce._normalizeKey(oe.pop());let ht="",qt=oe.indexOf("code");if(qt>-1&&(oe.splice(qt,1),ht="code."),pt.forEach(Mn=>{const Ir=oe.indexOf(Mn);Ir>-1&&(oe.splice(Ir,1),ht+=Mn+".")}),ht+=tt,0!=oe.length||0===tt.length)return null;const ln={};return ln.domEventName=Re,ln.fullKey=ht,ln}static matchEventFullKeyCode(Q,oe){let Re=$t[Q.key]||Q.key,tt="";return oe.indexOf("code.")>-1&&(Re=Q.code,tt="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),pt.forEach(ht=>{ht!==Re&&(0,me[ht])(Q)&&(tt+=ht+".")}),tt+=Re,tt===oe)}static eventCallback(Q,oe,Re){return tt=>{ce.matchEventFullKeyCode(tt,Q)&&Re.runGuarded(()=>oe(tt))}}static _normalizeKey(Q){return"esc"===Q?"escape":Q}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const en=(0,g.oH4)(g.fpN,"browser",[{provide:g.Agw,useValue:v.AJ},{provide:g.PLl,useValue:function st(){re.makeCurrent()},multi:!0},{provide:v.qQ,useFactory:function Ut(){return(0,g.TL$)(document),document},deps:[]}]),_n=new g.nKC(""),Gt=[{provide:g.e01,useClass:class ${addToWindow(de){g.JZv.getAngularTestability=(oe,Re=!0)=>{const tt=de.findTestabilityInTree(oe,Re);if(null==tt)throw new g.wOt(5103,!1);return tt},g.JZv.getAllAngularTestabilities=()=>de.getAllTestabilities(),g.JZv.getAllAngularRootElements=()=>de.getAllRootElements(),g.JZv.frameworkStabilizers||(g.JZv.frameworkStabilizers=[]),g.JZv.frameworkStabilizers.push(oe=>{const Re=g.JZv.getAllAngularTestabilities();let tt=Re.length;const ht=function(){tt--,0==tt&&oe()};Re.forEach(qt=>{qt.whenStable(ht)})})}findTestabilityInTree(de,Q,oe){return null==Q?null:de.getTestability(Q)??(oe?(0,v.QT)().isShadowRoot(Q)?this.findTestabilityInTree(de,Q.host,!0):this.findTestabilityInTree(de,Q.parentElement,!0):null)}},deps:[]},{provide:g.WHO,useClass:g.NYb,deps:[g.SKi,g.giA,g.e01]},{provide:g.NYb,useClass:g.NYb,deps:[g.SKi,g.giA,g.e01]}],Ve=[{provide:g.H8p,useValue:"root"},{provide:g.zcH,useFactory:function Lt(){return new g.zcH},deps:[]},{provide:k,useClass:ze,multi:!0,deps:[v.qQ,g.SKi,g.Agw]},{provide:k,useClass:Ce,multi:!0,deps:[v.qQ]},ne,fe,W,{provide:g._9s,useExisting:ne},{provide:v.N0,useClass:H,deps:[]},[]];let In=(()=>{class ce{constructor(Q){}static withServerTransition(Q){return{ngModule:ce,providers:[{provide:g.sZ2,useValue:Q.appId}]}}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(_n,12))};static#t=this.\u0275mod=g.$C({type:ce});static#n=this.\u0275inj=g.G2t({providers:[...Ve,...Gt],imports:[v.MD,g.Hbi]})}return ce})(),Gn=(()=>{class ce{constructor(Q){this._doc=Q}getTitle(){return this._doc.title}setTitle(Q){this._doc.title=Q||""}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})()},7488:(Ze,De,N)=>{N.d(De,{nX:()=>Hr,wF:()=>wt,Ix:()=>nn,Wk:()=>an,wQ:()=>Er,iI:()=>Sh,n3:()=>Ki});var g=N(467),v=N(4438),F=N(1985),re=N(8071),L=N(6648),A=N(7673),$=N(4412),H=N(3073),k=N(3669),W=N(6450),J=N(9326),le=N(8496),fe=N(4360),be=N(5225);function Le(...c){const m=(0,J.lI)(c),d=(0,J.ms)(c),{args:y,keys:b}=(0,H.D)(c);if(0===y.length)return(0,L.H)([],m);const P=new F.c(function He(c,m,d=k.D){return y=>{at(m,()=>{const{length:b}=c,P=new Array(b);let K=b,ye=b;for(let ue=0;ue{const We=(0,L.H)(c[ue],m);let Nt=!1;We.subscribe((0,fe._)(y,kt=>{P[ue]=kt,Nt||(Nt=!0,ye--),ye||y.next(d(P.slice()))},()=>{--K||y.complete()}))},y)},y)}}(y,m,b?K=>(0,le.e)(b,K):k.D));return d?P.pipe((0,W.I)(d)):P}function at(c,m,d){c?(0,be.N)(d,c,m):m()}const St=(0,N(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var $e=N(8793),pe=N(8750);function et(c){return new F.c(m=>{(0,pe.Tg)(c()).subscribe(m)})}var se=N(1203);function ne(c,m){const d=(0,re.T)(c)?c:()=>c,y=b=>b.error(d());return new F.c(m?b=>m.schedule(y,0,b):y)}var Ie=N(983),Ee=N(8359),Y=N(9974);function xe(){return(0,Y.N)((c,m)=>{let d=null;c._refCount++;const y=(0,fe._)(m,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(d=null);const b=c._connection,P=d;d=null,b&&(!P||b===P)&&b.unsubscribe(),m.unsubscribe()});c.subscribe(y),y.closed||(d=c.connect())})}class ae extends F.c{constructor(m,d){super(),this.source=m,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,Y.S)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new Ee.yU;const d=this.getSubject();m.add(this.source.subscribe((0,fe._)(d,void 0,()=>{this._teardown(),d.complete()},y=>{this._teardown(),d.error(y)},()=>this._teardown()))),m.closed&&(this._connection=null,m=Ee.yU.EMPTY)}return m}refCount(){return xe()(this)}}var qe=N(1413),Oe=N(177),ze=N(6354),pt=N(5558),$t=N(6697),Ce=N(5964),Se=N(1397);function Me(c){return(0,Y.N)((m,d)=>{let y=!1;m.subscribe((0,fe._)(d,b=>{y=!0,d.next(b)},()=>{y||d.next(c),d.complete()}))})}function je(c=Fe){return(0,Y.N)((m,d)=>{let y=!1;m.subscribe((0,fe._)(d,b=>{y=!0,d.next(b)},()=>y?d.complete():d.error(c())))})}function Fe(){return new St}function st(c,m){const d=arguments.length>=2;return y=>y.pipe(c?(0,Ce.p)((b,P)=>c(b,P,y)):k.D,(0,$t.s)(1),d?Me(m):je(()=>new St))}var Lt=N(274);function Ut(c,m,d){const y=(0,re.T)(c)||m||d?{next:c,error:m,complete:d}:c;return y?(0,Y.N)((b,P)=>{var K;null===(K=y.subscribe)||void 0===K||K.call(y);let ye=!0;b.subscribe((0,fe._)(P,ue=>{var We;null===(We=y.next)||void 0===We||We.call(y,ue),P.next(ue)},()=>{var ue;ye=!1,null===(ue=y.complete)||void 0===ue||ue.call(y),P.complete()},ue=>{var We;ye=!1,null===(We=y.error)||void 0===We||We.call(y,ue),P.error(ue)},()=>{var ue,We;ye&&(null===(ue=y.unsubscribe)||void 0===ue||ue.call(y)),null===(We=y.finalize)||void 0===We||We.call(y)}))}):k.D}function dt(c){return(0,Y.N)((m,d)=>{let P,y=null,b=!1;y=m.subscribe((0,fe._)(d,void 0,void 0,K=>{P=(0,pe.Tg)(c(K,dt(c)(m))),y?(y.unsubscribe(),y=null,P.subscribe(d)):b=!0})),b&&(y.unsubscribe(),y=null,P.subscribe(d))})}function Gt(c){return c<=0?()=>Ie.w:(0,Y.N)((m,d)=>{let y=[];m.subscribe((0,fe._)(d,b=>{y.push(b),c{for(const b of y)d.next(b);d.complete()},void 0,()=>{y=null}))})}var In=N(3703),Pn=N(980),fn=N(5343),Qe=N(6365),un=N(345);const ut="primary",mr=Symbol("RouteTitle");class Bi{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function si(c){return new Bi(c)}function sr(c,m,d){const y=d.path.split("/");if(y.length>c.length||"full"===d.pathMatch&&(m.hasChildren()||y.lengthy[P]===b)}return c===m}function Vn(c){return c.length>0?c[c.length-1]:null}function Kn(c){return function f(c){return!!c&&(c instanceof F.c||(0,re.T)(c.lift)&&(0,re.T)(c.subscribe))}(c)?c:(0,v.jNT)(c)?(0,L.H)(Promise.resolve(c)):(0,A.of)(c)}const Bn={exact:function Xt(c,m,d){if(!de(c.segments,m.segments)||!nr(c.segments,m.segments,d)||c.numberOfChildren!==m.numberOfChildren)return!1;for(const y in m.children)if(!c.children[y]||!Xt(c.children[y],m.children[y],d))return!1;return!0},subset:kr},es={exact:function Lr(c,m){return Dt(c,m)},subset:function Yt(c,m){return Object.keys(m).length<=Object.keys(c).length&&Object.keys(m).every(d=>or(c[d],m[d]))},ignored:()=>!0};function bt(c,m,d){return Bn[d.paths](c.root,m.root,d.matrixParams)&&es[d.queryParams](c.queryParams,m.queryParams)&&!("exact"===d.fragment&&c.fragment!==m.fragment)}function kr(c,m,d){return mn(c,m,m.segments,d)}function mn(c,m,d,y){if(c.segments.length>d.length){const b=c.segments.slice(0,d.length);return!(!de(b,d)||m.hasChildren()||!nr(b,d,y))}if(c.segments.length===d.length){if(!de(c.segments,d)||!nr(c.segments,d,y))return!1;for(const b in m.children)if(!c.children[b]||!kr(c.children[b],m.children[b],y))return!1;return!0}{const b=d.slice(0,c.segments.length),P=d.slice(c.segments.length);return!!(de(c.segments,b)&&nr(c.segments,b,y)&&c.children[ut])&&mn(c.children[ut],m,P,y)}}function nr(c,m,d){return m.every((y,b)=>es[d](c[b].parameters,y.parameters))}class Vr{constructor(m=new Zt([],{}),d={},y=null){this.root=m,this.queryParams=d,this.fragment=y}get queryParamMap(){return this._queryParamMap??=si(this.queryParams),this._queryParamMap}toString(){return tt.serialize(this)}}class Zt{constructor(m,d){this.segments=m,this.children=d,this.parent=null,Object.values(d).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ht(this)}}class dr{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap??=si(this.parameters),this._parameterMap}toString(){return Cs(this)}}function de(c,m){return c.length===m.length&&c.every((d,y)=>d.path===m[y].path)}let oe=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>new Re,providedIn:"root"})}return c})();class Re{parse(m){const d=new Or(m);return new Vr(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${qt(m.root,!0)}`,y=function ft(c){const m=Object.entries(c).map(([d,y])=>Array.isArray(y)?y.map(b=>`${Mn(d)}=${Mn(b)}`).join("&"):`${Mn(d)}=${Mn(y)}`).filter(d=>d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${y}${"string"==typeof m.fragment?`#${function Ir(c){return encodeURI(c)}(m.fragment)}`:""}`}}const tt=new Re;function ht(c){return c.segments.map(m=>Cs(m)).join("/")}function qt(c,m){if(!c.hasChildren())return ht(c);if(m){const d=c.children[ut]?qt(c.children[ut],!1):"",y=[];return Object.entries(c.children).forEach(([b,P])=>{b!==ut&&y.push(`${b}:${qt(P,!1)}`)}),y.length>0?`${d}(${y.join("//")})`:d}{const d=function Q(c,m){let d=[];return Object.entries(c.children).forEach(([y,b])=>{y===ut&&(d=d.concat(m(b,y)))}),Object.entries(c.children).forEach(([y,b])=>{y!==ut&&(d=d.concat(m(b,y)))}),d}(c,(y,b)=>b===ut?[qt(c.children[ut],!1)]:[`${b}:${qt(y,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[ut]?`${ht(c)}/${d[0]}`:`${ht(c)}/(${d.join("//")})`}}function ln(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mn(c){return ln(c).replace(/%3B/gi,";")}function Un(c){return ln(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mr(c){return decodeURIComponent(c)}function Tr(c){return Mr(c.replace(/\+/g,"%20"))}function Cs(c){return`${Un(c.path)}${function On(c){return Object.entries(c).map(([m,d])=>`;${Un(m)}=${Un(d)}`).join("")}(c.parameters)}`}const Ui=/^[^\/()?;#]+/;function hn(c){const m=c.match(Ui);return m?m[0]:""}const Xr=/^[^\/()?;=#]+/,yr=/^[^=?&#]+/,vr=/^[^&#]+/;class Or{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(y[ut]=new Zt(m,d)),y}parseSegment(){const m=hn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new v.wOt(4009,!1);return this.capture(m),new dr(Mr(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=function oi(c){const m=c.match(Xr);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let y="";if(this.consumeOptional("=")){const b=hn(this.remaining);b&&(y=b,this.capture(y))}m[Mr(d)]=Mr(y)}parseQueryParam(m){const d=function Wt(c){const m=c.match(yr);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let y="";if(this.consumeOptional("=")){const K=function qr(c){const m=c.match(vr);return m?m[0]:""}(this.remaining);K&&(y=K,this.capture(y))}const b=Tr(d),P=Tr(y);if(m.hasOwnProperty(b)){let K=m[b];Array.isArray(K)||(K=[K],m[b]=K),K.push(P)}else m[b]=P}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=hn(this.remaining),b=this.remaining[y.length];if("/"!==b&&")"!==b&&";"!==b)throw new v.wOt(4010,!1);let P;y.indexOf(":")>-1?(P=y.slice(0,y.indexOf(":")),this.capture(P),this.capture(":")):m&&(P=ut);const K=this.parseChildren();d[P]=1===Object.keys(K).length?K[ut]:new Zt([],K),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new v.wOt(4011,!1)}}function Br(c){return c.segments.length>0?new Zt([],{[ut]:c}):c}function Yr(c){const m={};for(const[y,b]of Object.entries(c.children)){const P=Yr(b);if(y===ut&&0===P.segments.length&&P.hasChildren())for(const[K,ye]of Object.entries(P.children))m[K]=ye;else(P.segments.length>0||P.hasChildren())&&(m[y]=P)}return function ji(c){if(1===c.numberOfChildren&&c.children[ut]){const m=c.children[ut];return new Zt(c.segments.concat(m.segments),m.children)}return c}(new Zt(c.segments,m))}function fr(c){return c instanceof Vr}function X(c){let m;const b=Br(function d(P){const K={};for(const ue of P.children){const We=d(ue);K[ue.outlet]=We}const ye=new Zt(P.url,K);return P===c&&(m=ye),ye}(c.root));return m??b}function q(c,m,d,y){let b=c;for(;b.parent;)b=b.parent;if(0===m.length)return Ue(b,b,b,d,y);const P=function lt(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Tt(!0,0,c);let m=0,d=!1;const y=c.reduce((b,P,K)=>{if("object"==typeof P&&null!=P){if(P.outlets){const ye={};return Object.entries(P.outlets).forEach(([ue,We])=>{ye[ue]="string"==typeof We?We.split("/"):We}),[...b,{outlets:ye}]}if(P.segmentPath)return[...b,P.segmentPath]}return"string"!=typeof P?[...b,P]:0===K?(P.split("/").forEach((ye,ue)=>{0==ue&&"."===ye||(0==ue&&""===ye?d=!0:".."===ye?m++:""!=ye&&b.push(ye))}),b):[...b,P]},[]);return new Tt(d,m,y)}(m);if(P.toRoot())return Ue(b,b,new Zt([],{}),d,y);const K=function Dn(c,m,d){if(c.isAbsolute)return new Jt(m,!0,0);if(!d)return new Jt(m,!1,NaN);if(null===d.parent)return new Jt(d,!0,0);const y=we(c.commands[0])?0:1;return function Ht(c,m,d){let y=c,b=m,P=d;for(;P>b;){if(P-=b,y=y.parent,!y)throw new v.wOt(4005,!1);b=y.segments.length}return new Jt(y,!1,b-P)}(d,d.segments.length-1+y,c.numberOfDoubleDots)}(P,b,c),ye=K.processChildren?sn(K.segmentGroup,K.index,P.commands):Qn(K.segmentGroup,K.index,P.commands);return Ue(b,K.segmentGroup,ye,d,y)}function we(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function _e(c){return"object"==typeof c&&null!=c&&c.outlets}function Ue(c,m,d,y,b){let K,P={};y&&Object.entries(y).forEach(([ue,We])=>{P[ue]=Array.isArray(We)?We.map(Nt=>`${Nt}`):`${We}`}),K=c===m?d:Ke(c,m,d);const ye=Br(Yr(K));return new Vr(ye,P,b)}function Ke(c,m,d){const y={};return Object.entries(c.children).forEach(([b,P])=>{y[b]=P===m?d:Ke(P,m,d)}),new Zt(c.segments,y)}class Tt{constructor(m,d,y){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=y,m&&y.length>0&&we(y[0]))throw new v.wOt(4003,!1);const b=y.find(_e);if(b&&b!==Vn(y))throw new v.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jt{constructor(m,d,y){this.segmentGroup=m,this.processChildren=d,this.index=y}}function Qn(c,m,d){if(c??=new Zt([],{}),0===c.segments.length&&c.hasChildren())return sn(c,m,d);const y=function Pt(c,m,d){let y=0,b=m;const P={match:!1,pathIndex:0,commandIndex:0};for(;b=d.length)return P;const K=c.segments[b],ye=d[y];if(_e(ye))break;const ue=`${ye}`,We=y0&&void 0===ue)break;if(ue&&We&&"object"==typeof We&&void 0===We.outlets){if(!yn(ue,We,K))return P;y+=2}else{if(!yn(ue,{},K))return P;y++}b++}return{match:!0,pathIndex:b,commandIndex:y}}(c,m,d),b=d.slice(y.commandIndex);if(y.match&&y.pathIndexP!==ut)&&c.children[ut]&&1===c.numberOfChildren&&0===c.children[ut].segments.length){const P=sn(c.children[ut],m,d);return new Zt(c.segments,P.children)}return Object.entries(y).forEach(([P,K])=>{"string"==typeof K&&(K=[K]),null!==K&&(b[P]=Qn(c.children[P],m,K))}),Object.entries(c.children).forEach(([P,K])=>{void 0===y[P]&&(b[P]=K)}),new Zt(c.segments,b)}}function xt(c,m,d){const y=c.segments.slice(0,m);let b=0;for(;b{"string"==typeof y&&(y=[y]),null!==y&&(m[d]=xt(new Zt([],{}),0,y))}),m}function hr(c){const m={};return Object.entries(c).forEach(([d,y])=>m[d]=`${y}`),m}function yn(c,m,d){return c==d.path&&Dt(m,d.parameters)}const on="imperative";var _t=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(_t||{});class pn{constructor(m,d){this.id=m,this.url=d}}class mt extends pn{constructor(m,d,y="imperative",b=null){super(m,d),this.type=_t.NavigationStart,this.navigationTrigger=y,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wt extends pn{constructor(m,d,y){super(m,d),this.urlAfterRedirects=y,this.type=_t.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var _r=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(_r||{}),jn=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(jn||{});class ai extends pn{constructor(m,d,y,b){super(m,d),this.reason=y,this.code=b,this.type=_t.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ur extends pn{constructor(m,d,y,b){super(m,d),this.reason=y,this.code=b,this.type=_t.NavigationSkipped}}class ts extends pn{constructor(m,d,y,b){super(m,d),this.error=y,this.target=b,this.type=_t.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Si extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn extends pn{constructor(m,d,y,b,P){super(m,d),this.urlAfterRedirects=y,this.state=b,this.shouldActivate=P,this.type=_t.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Hi extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ns{constructor(m){this.route=m,this.type=_t.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Xo{constructor(m){this.route=m,this.type=_t.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mo{constructor(m){this.snapshot=m,this.type=_t.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ii{constructor(m){this.snapshot=m,this.type=_t.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rs{constructor(m){this.snapshot=m,this.type=_t.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(m){this.snapshot=m,this.type=_t.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bs{constructor(m,d,y){this.routerEvent=m,this.position=d,this.anchor=y,this.type=_t.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class li{}class Gi{constructor(m){this.url=m}}class jr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Nr,this.attachRef=null}}let Nr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(d,y){const b=this.getOrCreateContext(d);b.outlet=y,this.contexts.set(d,b)}onChildOutletDestroyed(d){const y=this.getContext(d);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let y=this.getContext(d);return y||(y=new jr,this.contexts.set(d,y)),y}getContext(d){return this.contexts.get(d)||null}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class Yn{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Wi(m,this._root);return d?d.children.map(y=>y.value):[]}firstChild(m){const d=Wi(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=En(m,this._root);return d.length<2?[]:d[d.length-2].children.map(b=>b.value).filter(b=>b!==m)}pathFromRoot(m){return En(m,this._root).map(d=>d.value)}}function Wi(c,m){if(c===m.value)return m;for(const d of m.children){const y=Wi(c,d);if(y)return y}return null}function En(c,m){if(c===m.value)return[m];for(const d of m.children){const y=En(c,d);if(y.length)return y.unshift(m),y}return[]}class Zn{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function gt(c){const m={};return c&&c.children.forEach(d=>m[d.value.outlet]=d),m}class ci extends Yn{constructor(m,d){super(m),this.snapshot=d,rr(this,m)}toString(){return this.snapshot.toString()}}function is(c){const m=function ui(c){const P=new ss([],{},{},"",{},ut,c,null,{});return new ws("",new Zn(P,[]))}(c),d=new $.t([new dr("",{})]),y=new $.t({}),b=new $.t({}),P=new $.t({}),K=new $.t(""),ye=new Hr(d,y,P,K,b,ut,c,m.root);return ye.snapshot=m.root,new ci(new Zn(ye,[]),m)}class Hr{constructor(m,d,y,b,P,K,ye,ue){this.urlSubject=m,this.paramsSubject=d,this.queryParamsSubject=y,this.fragmentSubject=b,this.dataSubject=P,this.outlet=K,this.component=ye,this._futureSnapshot=ue,this.title=this.dataSubject?.pipe((0,ze.T)(We=>We[mr]))??(0,A.of)(void 0),this.url=m,this.params=d,this.queryParams=y,this.fragment=b,this.data=P}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ze.T)(m=>si(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ze.T)(m=>si(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mi(c,m,d="emptyOnly"){let y;const{routeConfig:b}=c;return y=null===m||"always"!==d&&""!==b?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.data,...b?.data,...c._resolvedData}},b&&Jr(b)&&(y.resolve[mr]=b.title),y}class ss{get title(){return this.data?.[mr]}constructor(m,d,y,b,P,K,ye,ue,We){this.url=m,this.params=d,this.queryParams=y,this.fragment=b,this.data=P,this.outlet=K,this.component=ye,this.routeConfig=ue,this._resolve=We}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=si(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=si(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ws extends Yn{constructor(m,d){super(d),this.url=m,rr(this,d)}toString(){return zi(this._root)}}function rr(c,m){m.value._routerState=c,m.children.forEach(d=>rr(c,d))}function zi(c){const m=c.children.length>0?` { ${c.children.map(zi).join(", ")} } `:"";return`${c.value}${m}`}function di(c){if(c.snapshot){const m=c.snapshot,d=c._futureSnapshot;c.snapshot=d,Dt(m.queryParams,d.queryParams)||c.queryParamsSubject.next(d.queryParams),m.fragment!==d.fragment&&c.fragmentSubject.next(d.fragment),Dt(m.params,d.params)||c.paramsSubject.next(d.params),function Mt(c,m){if(c.length!==m.length)return!1;for(let d=0;dDt(d.parameters,m[y].parameters))}(c.url,m.url);return d&&!(!c.parent!=!m.parent)&&(!c.parent||Zr(c.parent,m.parent))}function Jr(c){return"string"==typeof c.title||null===c.title}let Ki=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=ut,this.activateEvents=new v.bkB,this.deactivateEvents=new v.bkB,this.attachEvents=new v.bkB,this.detachEvents=new v.bkB,this.parentContexts=(0,v.WQX)(Nr),this.location=(0,v.WQX)(v.c1b),this.changeDetector=(0,v.WQX)(v.gRc),this.environmentInjector=(0,v.WQX)(v.uvJ),this.inputBinder=(0,v.WQX)(Jn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(d){if(d.name){const{firstChange:y,previousValue:b}=d.name;if(y)return;this.isTrackedInParentContexts(b)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(b)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v.wOt(4012,!1);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,y){this.activated=d,this._activatedRoute=y,this.location.insert(d.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,y){if(this.isActivated)throw new v.wOt(4013,!1);this._activatedRoute=d;const b=this.location,K=d.snapshot.component,ye=this.parentContexts.getOrCreateContext(this.name).children,ue=new Hn(d,ye,b.injector);this.activated=b.createComponent(K,{index:b.length,injector:ue,environmentInjector:y??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[v.OA$]})}return c})();class Hn{__ngOutletInjector(m){return new Hn(this.route,this.childContexts,m)}constructor(m,d,y){this.route=m,this.childContexts=d,this.parent=y}get(m,d){return m===Hr?this.route:m===Nr?this.childContexts:this.parent.get(m,d)}}const Jn=new v.nKC("");let os=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(d){this.unsubscribeFromRouteData(d),this.subscribeToRouteData(d)}unsubscribeFromRouteData(d){this.outletDataSubscriptions.get(d)?.unsubscribe(),this.outletDataSubscriptions.delete(d)}subscribeToRouteData(d){const{activatedRoute:y}=d,b=Le([y.queryParams,y.params,y.data]).pipe((0,pt.n)(([P,K,ye],ue)=>(ye={...P,...K,...ye},0===ue?(0,A.of)(ye):Promise.resolve(ye)))).subscribe(P=>{if(!d.isActivated||!d.activatedComponentRef||d.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(d);const K=(0,v.HJs)(y.component);if(K)for(const{templateName:ye}of K.inputs)d.activatedComponentRef.setInput(ye,P[ye]);else this.unsubscribeFromRouteData(d)});this.outletDataSubscriptions.set(d,b)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac})}return c})();function Dr(c,m,d){if(d&&c.shouldReuseRoute(m.value,d.value.snapshot)){const y=d.value;y._futureSnapshot=m.value;const b=function fi(c,m,d){return m.children.map(y=>{for(const b of d.children)if(c.shouldReuseRoute(y.value,b.value.snapshot))return Dr(c,y,b);return Dr(c,y)})}(c,m,d);return new Zn(y,b)}{if(c.shouldAttach(m.value)){const P=c.retrieve(m.value);if(null!==P){const K=P.route;return K.value._futureSnapshot=m.value,K.children=m.children.map(ye=>Dr(c,ye)),K}}const y=function Ti(c){return new Hr(new $.t(c.url),new $.t(c.params),new $.t(c.queryParams),new $.t(c.fragment),new $.t(c.data),c.outlet,c.component,c)}(m.value),b=m.children.map(P=>Dr(c,P));return new Zn(y,b)}}const Ai="ngNavigationCancelingError";function Qi(c,m){const{redirectTo:d,navigationBehaviorOptions:y}=fr(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,b=Wn(!1,_r.Redirect);return b.url=d,b.navigationBehaviorOptions=y,b}function Wn(c,m){const d=new Error(`NavigationCancelingError: ${c||""}`);return d[Ai]=!0,d.cancellationCode=m,d}function ar(c){return!!c&&c[Ai]}let Xi=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275cmp=v.VBU({type:c,selectors:[["ng-component"]],standalone:!0,features:[v.aNF],decls:1,vars:0,template:function(y,b){1&y&&v.nrm(0,"router-outlet")},dependencies:[Ki],encapsulation:2})}return c})();function Rr(c){const m=c.children&&c.children.map(Rr),d=m?{...c,children:m}:{...c};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==ut&&(d.component=Xi),d}function Pr(c){return c.outlet||ut}function Oi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let m=c.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class Qs{constructor(m,d,y,b,P){this.routeReuseStrategy=m,this.futureState=d,this.currState=y,this.forwardEvent=b,this.inputBindingEnabled=P}activate(m){const d=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,y,m),di(this.futureState.root),this.activateChildRoutes(d,y,m)}deactivateChildRoutes(m,d,y){const b=gt(d);m.children.forEach(P=>{const K=P.value.outlet;this.deactivateRoutes(P,b[K],y),delete b[K]}),Object.values(b).forEach(P=>{this.deactivateRouteAndItsChildren(P,y)})}deactivateRoutes(m,d,y){const b=m.value,P=d?d.value:null;if(b===P)if(b.component){const K=y.getContext(b.outlet);K&&this.deactivateChildRoutes(m,d,K.children)}else this.deactivateChildRoutes(m,d,y);else P&&this.deactivateRouteAndItsChildren(d,y)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const y=d.getContext(m.value.outlet),b=y&&m.value.component?y.children:d,P=gt(m);for(const K of Object.values(P))this.deactivateRouteAndItsChildren(K,b);if(y&&y.outlet){const K=y.outlet.detach(),ye=y.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:K,route:m,contexts:ye})}}deactivateRouteAndOutlet(m,d){const y=d.getContext(m.value.outlet),b=y&&m.value.component?y.children:d,P=gt(m);for(const K of Object.values(P))this.deactivateRouteAndItsChildren(K,b);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(m,d,y){const b=gt(d);m.children.forEach(P=>{this.activateRoutes(P,b[P.value.outlet],y),this.forwardEvent(new $i(P.value.snapshot))}),m.children.length&&this.forwardEvent(new Ii(m.value.snapshot))}activateRoutes(m,d,y){const b=m.value,P=d?d.value:null;if(di(b),b===P)if(b.component){const K=y.getOrCreateContext(b.outlet);this.activateChildRoutes(m,d,K.children)}else this.activateChildRoutes(m,d,y);else if(b.component){const K=y.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const ye=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),K.children.onOutletReAttached(ye.contexts),K.attachRef=ye.componentRef,K.route=ye.route.value,K.outlet&&K.outlet.attach(ye.componentRef,ye.route.value),di(ye.route.value),this.activateChildRoutes(m,null,K.children)}else{const ye=Oi(b.snapshot);K.attachRef=null,K.route=b,K.injector=ye,K.outlet&&K.outlet.activateWith(b,K.injector),this.activateChildRoutes(m,null,K.children)}}else this.activateChildRoutes(m,null,y)}}class Ms{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class qi{constructor(m,d){this.component=m,this.route=d}}function Ts(c,m,d){const y=c._root;return D(y,m?m._root:null,d,[y.value])}function T(c,m){const d=Symbol(),y=m.get(c,d);return y===d?"function"!=typeof c||(0,v.LfX)(c)?m.get(c):c:y}function D(c,m,d,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const P=gt(m);return c.children.forEach(K=>{(function V(c,m,d,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const P=c.value,K=m?m.value:null,ye=d?d.getContext(c.value.outlet):null;if(K&&P.routeConfig===K.routeConfig){const ue=function ee(c,m,d){if("function"==typeof d)return d(c,m);switch(d){case"pathParamsChange":return!de(c.url,m.url);case"pathParamsOrQueryParamsChange":return!de(c.url,m.url)||!Dt(c.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zr(c,m)||!Dt(c.queryParams,m.queryParams);default:return!Zr(c,m)}}(K,P,P.routeConfig.runGuardsAndResolvers);ue?b.canActivateChecks.push(new Ms(y)):(P.data=K.data,P._resolvedData=K._resolvedData),D(c,m,P.component?ye?ye.children:null:d,y,b),ue&&ye&&ye.outlet&&ye.outlet.isActivated&&b.canDeactivateChecks.push(new qi(ye.outlet.component,K))}else K&&rt(m,ye,b),b.canActivateChecks.push(new Ms(y)),D(c,null,P.component?ye?ye.children:null:d,y,b)})(K,P[K.value.outlet],d,y.concat([K.value]),b),delete P[K.value.outlet]}),Object.entries(P).forEach(([K,ye])=>rt(ye,d.getContext(K),b)),b}function rt(c,m,d){const y=gt(c),b=c.value;Object.entries(y).forEach(([P,K])=>{rt(K,b.component?m?m.children.getContext(P):null:m,d)}),d.canDeactivateChecks.push(new qi(b.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,b))}function Et(c){return"function"==typeof c}function qs(c){return c instanceof St||"EmptyError"===c?.name}const Os=Symbol("INITIAL_VALUE");function er(){return(0,pt.n)(c=>Le(c.map(m=>m.pipe((0,$t.s)(1),function me(...c){const m=(0,J.lI)(c);return(0,Y.N)((d,y)=>{(m?(0,$e.x)(c,d,m):(0,$e.x)(c,d)).subscribe(y)})}(Os)))).pipe((0,ze.T)(m=>{for(const d of m)if(!0!==d){if(d===Os)return Os;if(!1===d||d instanceof Vr)return d}return!0}),(0,Ce.p)(m=>m!==Os),(0,$t.s)(1)))}function Rs(c){return(0,se.F)(Ut(m=>{if(fr(m))throw Qi(0,m)}),(0,ze.T)(m=>!0===m))}class yi{constructor(m){this.segmentGroup=m||null}}class Zs extends Error{constructor(m){super(),this.urlTree=m}}function Ps(c){return ne(new yi(c))}class Js{constructor(m,d){this.urlSerializer=m,this.urlTree=d}lineralizeSegments(m,d){let y=[],b=d.root;for(;;){if(y=y.concat(b.segments),0===b.numberOfChildren)return(0,A.of)(y);if(b.numberOfChildren>1||!b.children[ut])return ne(new v.wOt(4e3,!1));b=b.children[ut]}}applyRedirectCommands(m,d,y){const b=this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,y);if(d.startsWith("/"))throw new Zs(b);return b}applyRedirectCreateUrlTree(m,d,y,b){const P=this.createSegmentGroup(m,d.root,y,b);return new Vr(P,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const y={};return Object.entries(m).forEach(([b,P])=>{if("string"==typeof P&&P.startsWith(":")){const ye=P.substring(1);y[b]=d[ye]}else y[b]=P}),y}createSegmentGroup(m,d,y,b){const P=this.createSegments(m,d.segments,y,b);let K={};return Object.entries(d.children).forEach(([ye,ue])=>{K[ye]=this.createSegmentGroup(m,ue,y,b)}),new Zt(P,K)}createSegments(m,d,y,b){return d.map(P=>P.path.startsWith(":")?this.findPosParam(m,P,b):this.findOrReturn(P,y))}findPosParam(m,d,y){const b=y[d.path.substring(1)];if(!b)throw new v.wOt(4001,!1);return b}findOrReturn(m,d){let y=0;for(const b of d){if(b.path===m.path)return d.splice(y),b;y++}return m}}const ps={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function za(c,m,d,y,b){const P=xs(c,m,d);return P.matched?(y=function ls(c,m){return c.providers&&!c._injector&&(c._injector=(0,v.Ol2)(c.providers,m,`Route: ${c.path}`)),c._injector??m}(m,y),function Ys(c,m,d,y){const b=m.canMatch;if(!b||0===b.length)return(0,A.of)(!0);const P=b.map(K=>{const ye=T(K,c);return Kn(function Xs(c){return c&&Et(c.canMatch)}(ye)?ye.canMatch(m,d):(0,v.N4e)(c,()=>ye(m,d)))});return(0,A.of)(P).pipe(er(),Rs())}(y,m,d).pipe((0,ze.T)(K=>!0===K?P:{...ps}))):(0,A.of)(P)}function xs(c,m,d){if("**"===m.path)return function qo(c){return{matched:!0,parameters:c.length>0?Vn(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(d);if(""===m.path)return"full"===m.pathMatch&&(c.hasChildren()||d.length>0)?{...ps}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const b=(m.matcher||sr)(d,c,m);if(!b)return{...ps};const P={};Object.entries(b.posParams??{}).forEach(([ye,ue])=>{P[ye]=ue.path});const K=b.consumed.length>0?{...P,...b.consumed[b.consumed.length-1].parameters}:P;return{matched:!0,consumedSegments:b.consumed,remainingSegments:d.slice(b.consumed.length),parameters:K,positionalParamSegments:b.posParams??{}}}function eo(c,m,d,y){return d.length>0&&function vi(c,m,d){return d.some(y=>Ri(c,m,y)&&Pr(y)!==ut)}(c,d,y)?{segmentGroup:new Zt(m,No(y,new Zt(d,c.children))),slicedSegments:[]}:0===d.length&&function to(c,m,d){return d.some(y=>Ri(c,m,y))}(c,d,y)?{segmentGroup:new Zt(c.segments,Oo(c,d,y,c.children)),slicedSegments:d}:{segmentGroup:new Zt(c.segments,c.children),slicedSegments:d}}function Oo(c,m,d,y){const b={};for(const P of d)if(Ri(c,m,P)&&!y[Pr(P)]){const K=new Zt([],{});b[Pr(P)]=K}return{...y,...b}}function No(c,m){const d={};d[ut]=m;for(const y of c)if(""===y.path&&Pr(y)!==ut){const b=new Zt([],{});d[Pr(y)]=b}return d}function Ri(c,m,d){return(!(c.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}class Ro{}class gs{constructor(m,d,y,b,P,K,ye){this.injector=m,this.configLoader=d,this.rootComponentType=y,this.config=b,this.urlTree=P,this.paramsInheritanceStrategy=K,this.urlSerializer=ye,this.applyRedirects=new Js(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new v.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=eo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,ze.T)(d=>{const y=new ss([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,{}),b=new Zn(y,d),P=new ws("",b),K=function j(c,m,d=null,y=null){return q(X(c),m,d,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return K.queryParams=this.urlTree.queryParams,P.url=this.urlSerializer.serialize(K),this.inheritParamsAndData(P._root,null),{state:P,tree:K}}))}match(m){return this.processSegmentGroup(this.injector,this.config,m,ut).pipe(dt(y=>{if(y instanceof Zs)return this.urlTree=y.urlTree,this.match(y.urlTree.root);throw y instanceof yi?this.noMatchError(y):y}))}inheritParamsAndData(m,d){const y=m.value,b=Mi(y,d,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data),m.children.forEach(P=>this.inheritParamsAndData(P,y))}processSegmentGroup(m,d,y,b){return 0===y.segments.length&&y.hasChildren()?this.processChildren(m,d,y):this.processSegment(m,d,y,y.segments,b,!0).pipe((0,ze.T)(P=>P instanceof Zn?[P]:[]))}processChildren(m,d,y){const b=[];for(const P of Object.keys(y.children))"primary"===P?b.unshift(P):b.push(P);return(0,L.H)(b).pipe((0,Lt.H)(P=>{const K=y.children[P],ye=function us(c,m){const d=c.filter(y=>Pr(y)===m);return d.push(...c.filter(y=>Pr(y)!==m)),d}(d,P);return this.processSegmentGroup(m,ye,K,P)}),function _n(c,m){return(0,Y.N)(function en(c,m,d,y,b){return(P,K)=>{let ye=d,ue=m,We=0;P.subscribe((0,fe._)(K,Nt=>{const kt=We++;ue=ye?c(ue,Nt,kt):(ye=!0,Nt),y&&K.next(ue)},b&&(()=>{ye&&K.next(ue),K.complete()})))}}(c,m,arguments.length>=2,!0))}((P,K)=>(P.push(...K),P)),Me(null),function Ve(c,m){const d=arguments.length>=2;return y=>y.pipe(c?(0,Ce.p)((b,P)=>c(b,P,y)):k.D,Gt(1),d?Me(m):je(()=>new St))}(),(0,Se.Z)(P=>{if(null===P)return Ps(y);const K=xo(P);return function io(c){c.sort((m,d)=>m.value.outlet===ut?-1:d.value.outlet===ut?1:m.value.outlet.localeCompare(d.value.outlet))}(K),(0,A.of)(K)}))}processSegment(m,d,y,b,P,K){return(0,L.H)(d).pipe((0,Lt.H)(ye=>this.processSegmentAgainstRoute(ye._injector??m,d,ye,y,b,P,K).pipe(dt(ue=>{if(ue instanceof yi)return(0,A.of)(null);throw ue}))),st(ye=>!!ye),dt(ye=>{if(qs(ye))return function Yo(c,m,d){return 0===m.length&&!c.children[d]}(y,b,P)?(0,A.of)(new Ro):Ps(y);throw ye}))}processSegmentAgainstRoute(m,d,y,b,P,K,ye){return function no(c,m,d,y){return!!(Pr(c)===y||y!==ut&&Ri(m,d,c))&&xs(m,c,d).matched}(y,b,P,K)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(m,b,y,P,K):this.allowRedirects&&ye?this.expandSegmentAgainstRouteUsingRedirect(m,b,d,y,P,K):Ps(b):Ps(b)}expandSegmentAgainstRouteUsingRedirect(m,d,y,b,P,K){const{matched:ye,consumedSegments:ue,positionalParamSegments:We,remainingSegments:Nt}=xs(d,b,P);if(!ye)return Ps(d);b.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const kt=this.applyRedirects.applyRedirectCommands(ue,b.redirectTo,We);return this.applyRedirects.lineralizeSegments(b,kt).pipe((0,Se.Z)(ir=>this.processSegment(m,y,d,ir.concat(Nt),K,!1)))}matchSegmentAgainstRoute(m,d,y,b,P){const K=za(d,y,b,m);return"**"===y.path&&(d.children={}),K.pipe((0,pt.n)(ye=>ye.matched?this.getChildConfig(m=y._injector??m,y,b).pipe((0,pt.n)(({routes:ue})=>{const We=y._loadedInjector??m,{consumedSegments:Nt,remainingSegments:kt,parameters:ir}=ye,zr=new ss(Nt,ir,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ms(c){return c.data||{}}(y),Pr(y),y.component??y._loadedComponent??null,y,function Jo(c){return c.resolve||{}}(y)),{segmentGroup:yo,slicedSegments:vo}=eo(d,Nt,kt,ue);if(0===vo.length&&yo.hasChildren())return this.processChildren(We,ue,yo).pipe((0,ze.T)(lo=>null===lo?null:new Zn(zr,lo)));if(0===ue.length&&0===vo.length)return(0,A.of)(new Zn(zr,[]));const na=Pr(y)===P;return this.processSegment(We,ue,yo,vo,na?ut:P,!0).pipe((0,ze.T)(lo=>new Zn(zr,lo instanceof Zn?[lo]:[])))})):Ps(d)))}getChildConfig(m,d,y){return d.children?(0,A.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,A.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function $n(c,m,d,y){const b=m.canLoad;if(void 0===b||0===b.length)return(0,A.of)(!0);const P=b.map(K=>{const ye=T(K,c);return Kn(function pi(c){return c&&Et(c.canLoad)}(ye)?ye.canLoad(m,d):(0,v.N4e)(c,()=>ye(m,d)))});return(0,A.of)(P).pipe(er(),Rs())}(m,d,y).pipe((0,Se.Z)(b=>b?this.configLoader.loadChildren(m,d).pipe(Ut(P=>{d._loadedRoutes=P.routes,d._loadedInjector=P.injector})):function hs(c){return ne(Wn(!1,_r.GuardRejected))}())):(0,A.of)({routes:[],injector:m})}}function Po(c){const m=c.value.routeConfig;return m&&""===m.path}function xo(c){const m=[],d=new Set;for(const y of c){if(!Po(y)){m.push(y);continue}const b=m.find(P=>y.value.routeConfig===P.value.routeConfig);void 0!==b?(b.children.push(...y.children),d.add(b)):m.push(y)}for(const y of d){const b=xo(y.children);m.push(new Zn(y.value,b))}return m.filter(y=>!d.has(y))}function so(c){const m=c.children.map(d=>so(d)).flat();return[c,...m]}function p(c){return(0,pt.n)(m=>{const d=c(m);return d?(0,L.H)(d).pipe((0,ze.T)(()=>m)):(0,A.of)(m)})}let R=(()=>{class c{buildTitle(d){let y,b=d.root;for(;void 0!==b;)y=this.getResolvedTitleForRoute(b)??y,b=b.children.find(P=>P.outlet===ut);return y}getResolvedTitleForRoute(d){return d.data[mr]}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(E),providedIn:"root"})}return c})(),E=(()=>{class c extends R{constructor(d){super(),this.title=d}updateTitle(d){const y=this.buildTitle(d);void 0!==y&&this.title.setTitle(y)}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(un.hE))};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const I=new v.nKC("",{providedIn:"root",factory:()=>({})}),z=new v.nKC("");let ve=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,v.WQX)(v.Ql9)}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,A.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const y=Kn(d.loadComponent()).pipe((0,ze.T)(gn),Ut(P=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=P}),(0,Pn.j)(()=>{this.componentLoaders.delete(d)})),b=new ae(y,()=>new qe.B).pipe(xe());return this.componentLoaders.set(d,b),b}loadChildren(d,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,A.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const P=function Ne(c,m,d,y){return Kn(c.loadChildren()).pipe((0,ze.T)(gn),(0,Se.Z)(b=>b instanceof v.Co$||Array.isArray(b)?(0,A.of)(b):(0,L.H)(m.compileModuleAsync(b))),(0,ze.T)(b=>{y&&y(c);let P,K,ye=!1;return Array.isArray(b)?(K=b,!0):(P=b.create(d).injector,K=P.get(z,[],{optional:!0,self:!0}).flat()),{routes:K.map(Rr),injector:P}}))}(y,this.compiler,d,this.onLoadEndListener).pipe((0,Pn.j)(()=>{this.childrenLoaders.delete(y)})),K=new ae(P,()=>new qe.B).pipe(xe());return this.childrenLoaders.set(y,K),K}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function gn(c){return function nt(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let S=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(u),providedIn:"root"})}return c})(),u=(()=>{class c{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,y){return d}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const l=new v.nKC(""),_=new v.nKC("");function w(c,m,d){const y=c.get(_),b=c.get(Oe.qQ);return c.get(v.SKi).runOutsideAngular(()=>{if(!b.startViewTransition||y.skipNextTransition)return y.skipNextTransition=!1,new Promise(We=>setTimeout(We));let P;const K=new Promise(We=>{P=We}),ye=b.startViewTransition(()=>(P(),function x(c){return new Promise(m=>{(0,v.mal)(m,{injector:c})})}(c))),{onViewTransitionCreated:ue}=y;return ue&&(0,v.N4e)(c,()=>ue({transition:ye,from:m,to:d})),K})}let G=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new qe.B,this.transitionAbortSubject=new qe.B,this.configLoader=(0,v.WQX)(ve),this.environmentInjector=(0,v.WQX)(v.uvJ),this.urlSerializer=(0,v.WQX)(oe),this.rootContexts=(0,v.WQX)(Nr),this.location=(0,v.WQX)(Oe.aZ),this.inputBindingEnabled=null!==(0,v.WQX)(Jn,{optional:!0}),this.titleStrategy=(0,v.WQX)(R),this.options=(0,v.WQX)(I,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,v.WQX)(S),this.createViewTransition=(0,v.WQX)(l,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,A.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new Xo(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new ns(b))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:y})}setupNavigations(d,y,b){return this.transitions=new $.t({id:0,currentUrlTree:y,currentRawUrl:y,extractedUrl:this.urlHandlingStrategy.extract(y),urlAfterRedirects:this.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:on,restoredState:null,currentSnapshot:b.snapshot,targetSnapshot:null,currentRouterState:b,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ce.p)(P=>0!==P.id),(0,ze.T)(P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)})),(0,pt.n)(P=>{let K=!1,ye=!1;return(0,A.of)(P).pipe((0,pt.n)(ue=>{if(this.navigationId>P.id)return this.cancelNavigationTransition(P,"",_r.SupersededByNewNavigation),Ie.w;this.currentTransition=P,this.currentNavigation={id:ue.id,initialUrl:ue.rawUrl,extractedUrl:ue.extractedUrl,trigger:ue.source,extras:ue.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const We=!d.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!We&&"reload"!==(ue.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const kt="";return this.events.next(new Ur(ue.id,this.urlSerializer.serialize(ue.rawUrl),kt,jn.IgnoredSameUrlNavigation)),ue.resolve(null),Ie.w}if(this.urlHandlingStrategy.shouldProcessUrl(ue.rawUrl))return(0,A.of)(ue).pipe((0,pt.n)(kt=>{const ir=this.transitions?.getValue();return this.events.next(new mt(kt.id,this.urlSerializer.serialize(kt.extractedUrl),kt.source,kt.restoredState)),ir!==this.transitions?.getValue()?Ie.w:Promise.resolve(kt)}),function ea(c,m,d,y,b,P){return(0,Se.Z)(K=>function ro(c,m,d,y,b,P,K="emptyOnly"){return new gs(c,m,d,y,b,K,P).recognize()}(c,m,d,y,K.extractedUrl,b,P).pipe((0,ze.T)(({state:ye,tree:ue})=>({...K,targetSnapshot:ye,urlAfterRedirects:ue}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,d.config,this.urlSerializer,this.paramsInheritanceStrategy),Ut(kt=>{P.targetSnapshot=kt.targetSnapshot,P.urlAfterRedirects=kt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects};const ir=new Si(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(ir)}));if(We&&this.urlHandlingStrategy.shouldProcessUrl(ue.currentRawUrl)){const{id:kt,extractedUrl:ir,source:zr,restoredState:yo,extras:vo}=ue,na=new mt(kt,this.urlSerializer.serialize(ir),zr,yo);this.events.next(na);const lo=is(this.rootComponentType).snapshot;return this.currentTransition=P={...ue,targetSnapshot:lo,urlAfterRedirects:ir,extras:{...vo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ir,(0,A.of)(P)}{const kt="";return this.events.next(new Ur(ue.id,this.urlSerializer.serialize(ue.extractedUrl),kt,jn.IgnoredByUrlHandlingStrategy)),ue.resolve(null),Ie.w}}),Ut(ue=>{const We=new Ft(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot);this.events.next(We)}),(0,ze.T)(ue=>(this.currentTransition=P={...ue,guards:Ts(ue.targetSnapshot,ue.currentSnapshot,this.rootContexts)},P)),function Ni(c,m){return(0,Se.Z)(d=>{const{targetSnapshot:y,currentSnapshot:b,guards:{canActivateChecks:P,canDeactivateChecks:K}}=d;return 0===K.length&&0===P.length?(0,A.of)({...d,guardsResult:!0}):function To(c,m,d,y){return(0,L.H)(c).pipe((0,Se.Z)(b=>function Ar(c,m,d,y,b){const P=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,A.of)(!0);const K=P.map(ye=>{const ue=Oi(m)??b,We=T(ye,ue);return Kn(function As(c){return c&&Et(c.canDeactivate)}(We)?We.canDeactivate(c,m,d,y):(0,v.N4e)(ue,()=>We(c,m,d,y))).pipe(st())});return(0,A.of)(K).pipe(er())}(b.component,b.route,d,m,y)),st(b=>!0!==b,!0))}(K,y,b,c).pipe((0,Se.Z)(ye=>ye&&function Ot(c){return"boolean"==typeof c}(ye)?function Ao(c,m,d,y){return(0,L.H)(m).pipe((0,Lt.H)(b=>(0,$e.x)(function Vt(c,m){return null!==c&&m&&m(new Mo(c)),(0,A.of)(!0)}(b.route.parent,y),function Ns(c,m){return null!==c&&m&&m(new rs(c)),(0,A.of)(!0)}(b.route,y),function Cn(c,m,d){const y=m[m.length-1],P=m.slice(0,m.length-1).reverse().map(K=>function M(c){const m=c.routeConfig?c.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:c,guards:m}:null}(K)).filter(K=>null!==K).map(K=>et(()=>{const ye=K.guards.map(ue=>{const We=Oi(K.node)??d,Nt=T(ue,We);return Kn(function mi(c){return c&&Et(c.canActivateChild)}(Nt)?Nt.canActivateChild(y,c):(0,v.N4e)(We,()=>Nt(y,c))).pipe(st())});return(0,A.of)(ye).pipe(er())}));return(0,A.of)(P).pipe(er())}(c,b.path,d),function Fn(c,m,d){const y=m.routeConfig?m.routeConfig.canActivate:null;if(!y||0===y.length)return(0,A.of)(!0);const b=y.map(P=>et(()=>{const K=Oi(m)??d,ye=T(P,K);return Kn(function gi(c){return c&&Et(c.canActivate)}(ye)?ye.canActivate(m,c):(0,v.N4e)(K,()=>ye(m,c))).pipe(st())}));return(0,A.of)(b).pipe(er())}(c,b.route,d))),st(b=>!0!==b,!0))}(y,P,c,m):(0,A.of)(ye)),(0,ze.T)(ye=>({...d,guardsResult:ye})))})}(this.environmentInjector,ue=>this.events.next(ue)),Ut(ue=>{if(P.guardsResult=ue.guardsResult,fr(ue.guardsResult))throw Qi(0,ue.guardsResult);const We=new Xn(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot,!!ue.guardsResult);this.events.next(We)}),(0,Ce.p)(ue=>!!ue.guardsResult||(this.cancelNavigationTransition(ue,"",_r.GuardRejected),!1)),p(ue=>{if(ue.guards.canActivateChecks.length)return(0,A.of)(ue).pipe(Ut(We=>{const Nt=new Hi(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Nt)}),(0,pt.n)(We=>{let Nt=!1;return(0,A.of)(We).pipe(function ta(c,m){return(0,Se.Z)(d=>{const{targetSnapshot:y,guards:{canActivateChecks:b}}=d;if(!b.length)return(0,A.of)(d);const P=new Set(b.map(ue=>ue.route)),K=new Set;for(const ue of P)if(!K.has(ue))for(const We of so(ue))K.add(We);let ye=0;return(0,L.H)(K).pipe((0,Lt.H)(ue=>P.has(ue)?function Yi(c,m,d,y){const b=c.routeConfig,P=c._resolve;return void 0!==b?.title&&!Jr(b)&&(P[mr]=b.title),function Fo(c,m,d,y){const b=tr(c);if(0===b.length)return(0,A.of)({});const P={};return(0,L.H)(b).pipe((0,Se.Z)(K=>function oo(c,m,d,y){const b=Oi(m)??y,P=T(c,b);return Kn(P.resolve?P.resolve(m,d):(0,v.N4e)(b,()=>P(m,d)))}(c[K],m,d,y).pipe(st(),Ut(ye=>{P[K]=ye}))),Gt(1),(0,In.u)(P),dt(K=>qs(K)?Ie.w:ne(K)))}(P,c,m,y).pipe((0,ze.T)(K=>(c._resolvedData=K,c.data=Mi(c,c.parent,d).resolve,null)))}(ue,y,c,m):(ue.data=Mi(ue,ue.parent,c).resolve,(0,A.of)(void 0))),Ut(()=>ye++),Gt(1),(0,Se.Z)(ue=>ye===K.size?(0,A.of)(d):Ie.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ut({next:()=>Nt=!0,complete:()=>{Nt||this.cancelNavigationTransition(We,"",_r.NoDataFromResolver)}}))}),Ut(We=>{const Nt=new qn(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Nt)}))}),p(ue=>{const We=Nt=>{const kt=[];Nt.routeConfig?.loadComponent&&!Nt.routeConfig._loadedComponent&&kt.push(this.configLoader.loadComponent(Nt.routeConfig).pipe(Ut(ir=>{Nt.component=ir}),(0,ze.T)(()=>{})));for(const ir of Nt.children)kt.push(...We(ir));return kt};return Le(We(ue.targetSnapshot.root)).pipe(Me(null),(0,$t.s)(1))}),p(()=>this.afterPreactivation()),(0,pt.n)(()=>{const{currentSnapshot:ue,targetSnapshot:We}=P,Nt=this.createViewTransition?.(this.environmentInjector,ue.root,We.root);return Nt?(0,L.H)(Nt).pipe((0,ze.T)(()=>P)):(0,A.of)(P)}),(0,ze.T)(ue=>{const We=function ei(c,m,d){const y=Dr(c,m._root,d?d._root:void 0);return new ci(y,m)}(d.routeReuseStrategy,ue.targetSnapshot,ue.currentRouterState);return this.currentTransition=P={...ue,targetRouterState:We},this.currentNavigation.targetRouterState=We,P}),Ut(()=>{this.events.next(new li)}),((c,m,d,y)=>(0,ze.T)(b=>(new Qs(m,b.targetRouterState,b.currentRouterState,d,y).activate(c),b)))(this.rootContexts,d.routeReuseStrategy,ue=>this.events.next(ue),this.inputBindingEnabled),(0,$t.s)(1),Ut({next:ue=>{K=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wt(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects))),this.titleStrategy?.updateTitle(ue.targetRouterState.snapshot),ue.resolve(!0)},complete:()=>{K=!0}}),function Gn(c){return(0,Y.N)((m,d)=>{(0,pe.Tg)(c).subscribe((0,fe._)(d,()=>d.complete(),fn.l)),!d.closed&&m.subscribe(d)})}(this.transitionAbortSubject.pipe(Ut(ue=>{throw ue}))),(0,Pn.j)(()=>{!K&&!ye&&this.cancelNavigationTransition(P,"",_r.SupersededByNewNavigation),this.currentTransition?.id===P.id&&(this.currentNavigation=null,this.currentTransition=null)}),dt(ue=>{if(ye=!0,ar(ue))this.events.next(new ai(P.id,this.urlSerializer.serialize(P.extractedUrl),ue.message,ue.cancellationCode)),function as(c){return ar(c)&&fr(c.url)}(ue)?this.events.next(new Gi(ue.url)):P.resolve(!1);else{this.events.next(new ts(P.id,this.urlSerializer.serialize(P.extractedUrl),ue,P.targetSnapshot??void 0));try{P.resolve(d.errorHandler(ue))}catch(We){this.options.resolveNavigationPromiseOnError?P.resolve(!1):P.reject(We)}}return Ie.w}))}))}cancelNavigationTransition(d,y,b){const P=new ai(d.id,this.urlSerializer.serialize(d.extractedUrl),y,b);this.events.next(P),d.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function U(c){return c!==on}let te=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(Ge),providedIn:"root"})}return c})();class ge{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let Ge=(()=>{class c extends ge{static#e=this.\u0275fac=(()=>{let d;return function(b){return(d||(d=v.xGo(c)))(b||c)}})();static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),ke=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(yt),providedIn:"root"})}return c})(),yt=(()=>{class c extends ke{constructor(){super(...arguments),this.location=(0,v.WQX)(Oe.aZ),this.urlSerializer=(0,v.WQX)(oe),this.options=(0,v.WQX)(I,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,v.WQX)(S),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Vr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=is(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(d){return this.location.subscribe(y=>{"popstate"===y.type&&d(y.url,y.state)})}handleRouterEvent(d,y){if(d instanceof mt)this.stateMemento=this.createStateMemento();else if(d instanceof Ur)this.rawUrlTree=y.initialUrl;else if(d instanceof Si){if("eager"===this.urlUpdateStrategy&&!y.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl);this.setBrowserUrl(b,y)}}else d instanceof li?(this.currentUrlTree=y.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y))):d instanceof ai&&(d.code===_r.GuardRejected||d.code===_r.NoDataFromResolver)?this.restoreHistory(y):d instanceof ts?this.restoreHistory(y,!0):d instanceof wt&&(this.lastSuccessfulId=d.id,this.currentPageId=this.browserPageId)}setBrowserUrl(d,y){const b=this.urlSerializer.serialize(d);if(this.location.isCurrentPathEqualTo(b)||y.extras.replaceUrl){const K={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(b,"",K)}else{const P={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(b,"",P)}}restoreHistory(d,y=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-this.browserPageId;0!==P?this.location.historyGo(P):this.currentUrlTree===d.finalUrl&&0===P&&(this.resetState(d),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,y){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:y}:{navigationId:d}}static#e=this.\u0275fac=(()=>{let d;return function(b){return(d||(d=v.xGo(c)))(b||c)}})();static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var vt=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(vt||{});function Ye(c,m){c.events.pipe((0,Ce.p)(d=>d instanceof wt||d instanceof ai||d instanceof ts||d instanceof Ur),(0,ze.T)(d=>d instanceof wt||d instanceof Ur?vt.COMPLETE:d instanceof ai&&(d.code===_r.Redirect||d.code===_r.SupersededByNewNavigation)?vt.REDIRECTING:vt.FAILED),(0,Ce.p)(d=>d!==vt.REDIRECTING),(0,$t.s)(1)).subscribe(()=>{m()})}function ot(c){throw c}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},it={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let nn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,v.WQX)(v.H3F),this.stateManager=(0,v.WQX)(ke),this.options=(0,v.WQX)(I,{optional:!0})||{},this.pendingTasks=(0,v.WQX)(v.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,v.WQX)(G),this.urlSerializer=(0,v.WQX)(oe),this.location=(0,v.WQX)(Oe.aZ),this.urlHandlingStrategy=(0,v.WQX)(S),this._events=new qe.B,this.errorHandler=this.options.errorHandler||ot,this.navigated=!1,this.routeReuseStrategy=(0,v.WQX)(te),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,v.WQX)(z,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,v.WQX)(Jn,{optional:!0}),this.eventsSubscription=new Ee.yU,this.isNgZoneEnabled=(0,v.WQX)(v.SKi)instanceof v.SKi&&v.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:d=>{this.console.warn(d)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const d=this.navigationTransitions.events.subscribe(y=>{try{const b=this.navigationTransitions.currentTransition,P=this.navigationTransitions.currentNavigation;if(null!==b&&null!==P)if(this.stateManager.handleRouterEvent(y,P),y instanceof ai&&y.code!==_r.Redirect&&y.code!==_r.SupersededByNewNavigation)this.navigated=!0;else if(y instanceof wt)this.navigated=!0;else if(y instanceof Gi){const K=this.urlHandlingStrategy.merge(y.url,b.currentRawUrl),ye={info:b.extras.info,skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||U(b.source)};this.scheduleNavigation(K,on,null,ye,{resolve:b.resolve,reject:b.reject,promise:b.promise})}(function Ln(c){return!(c instanceof li||c instanceof Gi)})(y)&&this._events.next(y)}catch(b){this.navigationTransitions.transitionAbortSubject.next(b)}});this.eventsSubscription.add(d)}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),on,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((d,y)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(d,"popstate",y)},0)})}navigateToSyncWithBrowser(d,y,b){const P={replaceUrl:!0},K=b?.navigationId?b:null;if(b){const ue={...b};delete ue.navigationId,delete ue.\u0275routerPageId,0!==Object.keys(ue).length&&(P.state=ue)}const ye=this.parseUrl(d);this.scheduleNavigation(ye,y,K,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(d){this.config=d.map(Rr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(d,y={}){const{relativeTo:b,queryParams:P,fragment:K,queryParamsHandling:ye,preserveFragment:ue}=y,We=ue?this.currentUrlTree.fragment:K;let kt,Nt=null;switch(ye){case"merge":Nt={...this.currentUrlTree.queryParams,...P};break;case"preserve":Nt=this.currentUrlTree.queryParams;break;default:Nt=P||null}null!==Nt&&(Nt=this.removeEmptyProps(Nt));try{kt=X(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof d[0]||!d[0].startsWith("/"))&&(d=[]),kt=this.currentUrlTree.root}return q(kt,d,Nt,We??null)}navigateByUrl(d,y={skipLocationChange:!1}){const b=fr(d)?d:this.parseUrl(d),P=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(P,on,null,y)}navigate(d,y={skipLocationChange:!1}){return function pr(c){for(let m=0;m(null!=P&&(y[b]=P),y),{})}scheduleNavigation(d,y,b,P,K){if(this.disposed)return Promise.resolve(!1);let ye,ue,We;K?(ye=K.resolve,ue=K.reject,We=K.promise):We=new Promise((kt,ir)=>{ye=kt,ue=ir});const Nt=this.pendingTasks.add();return Ye(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Nt))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:P,resolve:ye,reject:ue,promise:We,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),We.catch(kt=>Promise.reject(kt))}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),an=(()=>{class c{constructor(d,y,b,P,K,ye){this.router=d,this.route=y,this.tabIndexAttribute=b,this.renderer=P,this.el=K,this.locationStrategy=ye,this.href=null,this.commands=null,this.onChanges=new qe.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ue=K.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ue||"area"===ue,this.isAnchorElement?this.subscription=d.events.subscribe(We=>{We instanceof wt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,y,b,P,K){const ye=this.urlTree;return!!(null===ye||this.isAnchorElement&&(0!==d||y||b||P||K||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(ye,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const d=this.urlTree;this.href=null!==d&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(d)):null;const y=null===this.href?null:(0,v.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",y)}applyAttributeValue(d,y){const b=this.renderer,P=this.el.nativeElement;null!==y?b.setAttribute(P,d,y):b.removeAttribute(P,d)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(y){return new(y||c)(v.rXU(nn),v.rXU(Hr),v.kS0("tabindex"),v.rXU(v.sFG),v.rXU(v.aKT),v.rXU(Oe.hb))};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,b){1&y&&v.bIt("click",function(K){return b.onClick(K.button,K.ctrlKey,K.shiftKey,K.altKey,K.metaKey)}),2&y&&v.BMQ("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[v.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",v.L39],skipLocationChange:[v.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",v.L39],replaceUrl:[v.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",v.L39],routerLink:"routerLink"},standalone:!0,features:[v.GFd,v.OA$]})}return c})(),Er=(()=>{class c{get isActive(){return this._isActive}constructor(d,y,b,P,K){this.router=d,this.element=y,this.renderer=b,this.cdr=P,this.link=K,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new v.bkB,this.routerEventsSubscription=d.events.subscribe(ye=>{ye instanceof wt&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,(0,A.of)(null)).pipe((0,Qe.U)()).subscribe(d=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const d=[...this.links.toArray(),this.link].filter(y=>!!y).map(y=>y.onChanges);this.linkInputChangesSubscription=(0,L.H)(d).pipe((0,Qe.U)()).subscribe(y=>{this._isActive!==this.isLinkActive(this.router)(y)&&this.update()})}set routerLinkActive(d){const y=Array.isArray(d)?d:d.split(" ");this.classes=y.filter(b=>!!b)}ngOnChanges(d){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const d=this.hasActiveLinks();this.classes.forEach(y=>{d?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),d&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==d&&(this._isActive=d,this.cdr.markForCheck(),this.isActiveChange.emit(d))})}isLinkActive(d){const y=function zn(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>{const P=b.urlTree;return!!P&&d.isActive(P,y)}}hasActiveLinks(){const d=this.isLinkActive(this.router);return this.link&&d(this.link)||this.links.some(d)}static#e=this.\u0275fac=function(y){return new(y||c)(v.rXU(nn),v.rXU(v.aKT),v.rXU(v.sFG),v.rXU(v.gRc),v.rXU(an,8))};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(y,b,P){if(1&y&&v.wni(P,an,5),2&y){let K;v.mGM(K=v.lsd())&&(b.links=K)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[v.OA$]})}return c})();class Rn{}let Pi=(()=>{class c{constructor(d,y,b,P,K){this.router=d,this.injector=b,this.preloadingStrategy=P,this.loader=K}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ce.p)(d=>d instanceof wt),(0,Lt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,y){const b=[];for(const P of y){P.providers&&!P._injector&&(P._injector=(0,v.Ol2)(P.providers,d,`Route: ${P.path}`));const K=P._injector??d,ye=P._loadedInjector??K;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&b.push(this.preloadConfig(K,P)),(P.children||P._loadedRoutes)&&b.push(this.processRoutes(ye,P.children??P._loadedRoutes))}return(0,L.H)(b).pipe((0,Qe.U)())}preloadConfig(d,y){return this.preloadingStrategy.preload(y,()=>{let b;b=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(d,y):(0,A.of)(null);const P=b.pipe((0,Se.Z)(K=>null===K?(0,A.of)(void 0):(y._loadedRoutes=K.routes,y._loadedInjector=K.injector,this.processRoutes(K.injector??d,K.routes))));if(y.loadComponent&&!y._loadedComponent){const K=this.loader.loadComponent(y);return(0,L.H)([P,K]).pipe((0,Qe.U)())}return P})}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(nn),v.KVO(v.Ql9),v.KVO(v.uvJ),v.KVO(Rn),v.KVO(ve))};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Wr=new v.nKC("");let Di=(()=>{class c{constructor(d,y,b,P,K={}){this.urlSerializer=d,this.transitions=y,this.viewportScroller=b,this.zone=P,this.options=K,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,v.WQX)(v.uvJ),K.scrollPositionRestoration||="disabled",K.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof mt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof wt?(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment)):d instanceof Ur&&d.code===jn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof bs&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,y){var b=this;this.zone.runOutsideAngular((0,g.A)(function*(){yield new Promise(P=>{setTimeout(()=>{P()}),(0,v.mal)(()=>{P()},{injector:b.environmentInjector})}),b.zone.run(()=>{b.transitions.events.next(new bs(d,"popstate"===b.lastSource?b.store[b.restoredId]:null,y))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(y){v.QTQ()};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac})}return c})();function Je(c,m){return{\u0275kind:c,\u0275providers:m}}function Fr(){const c=(0,v.WQX)(v.zZn);return m=>{const d=c.get(v.o8S);if(m!==d.components[0])return;const y=c.get(nn),b=c.get(dn);1===c.get(bn)&&y.initialNavigation(),c.get(vn,null,v.$GK.Optional)?.setUpPreloading(),c.get(Wr,null,v.$GK.Optional)?.init(),y.resetRootComponentType(d.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}const dn=new v.nKC("",{factory:()=>new qe.B}),bn=new v.nKC("",{providedIn:"root",factory:()=>1}),vn=new v.nKC("");function xi(c){return Je(0,[{provide:vn,useExisting:Pi},{provide:Rn,useExisting:c}])}function Cu(c){return Je(9,[{provide:l,useValue:w},{provide:_,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const bu=new v.nKC("ROUTER_FORROOT_GUARD"),wh=[Oe.aZ,{provide:oe,useClass:Re},nn,Nr,{provide:Hr,useFactory:function ao(c){return c.routerState.root},deps:[nn]},ve,[]];let Sh=(()=>{class c{constructor(d){}static forRoot(d,y){return{ngModule:c,providers:[wh,[],{provide:z,multi:!0,useValue:d},{provide:bu,useFactory:Ah,deps:[[nn,new v.Xx1,new v.kdw]]},{provide:I,useValue:y||{}},y?.useHash?{provide:Oe.hb,useClass:Oe.fw}:{provide:Oe.hb,useClass:Oe.Sm},{provide:Wr,useFactory:()=>{const c=(0,v.WQX)(Oe.Xr),m=(0,v.WQX)(v.SKi),d=(0,v.WQX)(I),y=(0,v.WQX)(G),b=(0,v.WQX)(oe);return d.scrollOffset&&c.setOffset(d.scrollOffset),new Di(b,y,c,m,d)}},y?.preloadingStrategy?xi(y.preloadingStrategy).\u0275providers:[],y?.initialNavigation?Oh(y):[],y?.bindToComponentInputs?Je(8,[os,{provide:Jn,useExisting:os}]).\u0275providers:[],y?.enableViewTransitions?Cu().\u0275providers:[],[{provide:wu,useFactory:Fr},{provide:v.iLQ,multi:!0,useExisting:wu}]]}}static forChild(d){return{ngModule:c,providers:[{provide:z,multi:!0,useValue:d}]}}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(bu,8))};static#t=this.\u0275mod=v.$C({type:c});static#n=this.\u0275inj=v.G2t({})}return c})();function Ah(c){return"guarded"}function Oh(c){return["disabled"===c.initialNavigation?Je(3,[{provide:v.hnV,multi:!0,useFactory:()=>{const m=(0,v.WQX)(nn);return()=>{m.setUpLocationChangeListener()}}},{provide:bn,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?Je(2,[{provide:bn,useValue:0},{provide:v.hnV,multi:!0,deps:[v.zZn],useFactory:m=>{const d=m.get(Oe.hj,Promise.resolve());return()=>d.then(()=>new Promise(y=>{const b=m.get(nn),P=m.get(dn);Ye(b,()=>{y(!0)}),m.get(G).afterPreactivation=()=>(y(!0),P.closed?(0,A.of)(void 0):P),b.initialNavigation()}))}}]).\u0275providers:[]]}const wu=new v.nKC("")},5779:(Ze,De,N)=>{N.d(De,{E:()=>W,Ei:()=>at,Gg:()=>Bt,Rn:()=>H,Y9:()=>Le,Yj:()=>St,r1:()=>be,si:()=>le,tl:()=>k,wi:()=>He});var g=N(4438),v=N(1413),F=N(4420),re=N(177);const f=["*"];let H=(()=>class pe{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),k=(()=>class pe{static AND="and";static OR="or"})(),W=(()=>{class pe{filter(se,ne,Ie,Ee,Y){let xe=[];if(se)for(let ae of se)for(let qe of ne){let Oe=F.BF.resolveFieldData(ae,qe);if(this.filters[Ee](Oe,Ie,Y)){xe.push(ae);break}}return xe}filters={startsWith:(se,ne,Ie)=>{if(null==ne||""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).slice(0,Ee.length)===Ee},contains:(se,ne,Ie)=>{if(null==ne||"string"==typeof ne&&""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return-1!==F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).indexOf(Ee)},notContains:(se,ne,Ie)=>{if(null==ne||"string"==typeof ne&&""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return-1===F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).indexOf(Ee)},endsWith:(se,ne,Ie)=>{if(null==ne||""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie),Y=F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie);return-1!==Y.indexOf(Ee,Y.length-Ee.length)},equals:(se,ne,Ie)=>null==ne||"string"==typeof ne&&""===ne.trim()||null!=se&&(se.getTime&&ne.getTime?se.getTime()===ne.getTime():F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie)==F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie)),notEquals:(se,ne,Ie)=>!(null==ne||"string"==typeof ne&&""===ne.trim()||null!=se&&(se.getTime&&ne.getTime?se.getTime()===ne.getTime():F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie)==F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie))),in:(se,ne)=>{if(null==ne||0===ne.length)return!0;for(let Ie=0;Ienull==ne||null==ne[0]||null==ne[1]||null!=se&&(se.getTime?ne[0].getTime()<=se.getTime()&&se.getTime()<=ne[1].getTime():ne[0]<=se&&se<=ne[1]),lt:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()<=ne.getTime():se<=ne),gt:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()>ne.getTime():se>ne),gte:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()>=ne.getTime():se>=ne),is:(se,ne,Ie)=>this.filters.equals(se,ne,Ie),isNot:(se,ne,Ie)=>this.filters.notEquals(se,ne,Ie),before:(se,ne,Ie)=>this.filters.lt(se,ne,Ie),after:(se,ne,Ie)=>this.filters.gt(se,ne,Ie),dateIs:(se,ne)=>null==ne||null!=se&&se.toDateString()===ne.toDateString(),dateIsNot:(se,ne)=>null==ne||null!=se&&se.toDateString()!==ne.toDateString(),dateBefore:(se,ne)=>null==ne||null!=se&&se.getTime()null==ne||null!=se&&se.getTime()>ne.getTime()};register(se,ne){this.filters[se]=ne}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),le=(()=>{class pe{clickSource=new v.B;clickObservable=this.clickSource.asObservable();add(se){se&&this.clickSource.next(se)}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),be=(()=>{class pe{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[H.STARTS_WITH,H.CONTAINS,H.NOT_CONTAINS,H.ENDS_WITH,H.EQUALS,H.NOT_EQUALS],numeric:[H.EQUALS,H.NOT_EQUALS,H.LESS_THAN,H.LESS_THAN_OR_EQUAL_TO,H.GREATER_THAN,H.GREATER_THAN_OR_EQUAL_TO],date:[H.DATE_IS,H.DATE_IS_NOT,H.DATE_BEFORE,H.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new v.B;translationObserver=this.translationSource.asObservable();getTranslation(se){return this.translation[se]}setTranslation(se){this.translation={...this.translation,...se},this.translationSource.next(this.translation)}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),Le=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275cmp=g.VBU({type:pe,selectors:[["p-header"]],ngContentSelectors:f,decls:1,vars:0,template:function(ne,Ie){1&ne&&(g.NAR(),g.SdG(0))},encapsulation:2})}return pe})(),He=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275cmp=g.VBU({type:pe,selectors:[["p-footer"]],ngContentSelectors:f,decls:1,vars:0,template:function(ne,Ie){1&ne&&(g.NAR(),g.SdG(0))},encapsulation:2})}return pe})(),at=(()=>{class pe{template;type;name;constructor(se){this.template=se}getType(){return this.name}static \u0275fac=function(ne){return new(ne||pe)(g.rXU(g.C4Q))};static \u0275dir=g.FsC({type:pe,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[g.Mj6.None,"pTemplate","name"]}})}return pe})(),Bt=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275mod=g.$C({type:pe});static \u0275inj=g.G2t({imports:[re.MD]})}return pe})(),St=(()=>class pe{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage"})()},6150:(Ze,De,N)=>{N.d(De,{EJ:()=>A,Ex:()=>L});var g=N(177),v=N(4438),F=N(5779);function re($,H){if(1&$&&(v.j41(0,"span",1),v.EFF(1),v.k0s()),2&$){const k=v.XpG();v.HbH(k.styleClass),v.Y8G("ngClass",k.containerClass())("ngStyle",k.style),v.R7$(),v.JRh(k.value)}}let L=(()=>{class ${styleClass;style;size;severity;value;badgeDisabled=!1;containerClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":null!=this.value&&1===String(this.value).length,"p-badge-lg":"large"===this.size,"p-badge-xl":"xlarge"===this.size,"p-badge-info":"info"===this.severity,"p-badge-success":"success"===this.severity,"p-badge-warning":"warning"===this.severity,"p-badge-danger":"danger"===this.severity}}static \u0275fac=function(W){return new(W||$)};static \u0275cmp=v.VBU({type:$,selectors:[["p-badge"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",size:"size",severity:"severity",value:"value",badgeDisabled:"badgeDisabled"},decls:1,vars:1,consts:[[3,"ngClass","class","ngStyle",4,"ngIf"],[3,"ngClass","ngStyle"]],template:function(W,J){1&W&&v.DNE(0,re,2,5,"span",0),2&W&&v.Y8G("ngIf",!J.badgeDisabled)},dependencies:[g.YU,g.bT,g.B3],styles:["@layer primeng{.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}}\n"],encapsulation:2,changeDetection:0})}return $})(),A=(()=>{class ${static \u0275fac=function(W){return new(W||$)};static \u0275mod=v.$C({type:$});static \u0275inj=v.G2t({imports:[g.MD,F.Gg]})}return $})()},461:(Ze,De,N)=>{N.d(De,{h:()=>re});var g=N(4438),v=N(4420);const F=["*"];let re=(()=>{class f{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const A=v.BF.isEmpty(this.label);this.role=A?void 0:"img",this.ariaLabel=A?void 0:this.label,this.ariaHidden=A}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function($){return new($||f)};static \u0275cmp=g.VBU({type:f,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[g.aNF],ngContentSelectors:F,decls:1,vars:0,template:function($,H){1&$&&(g.NAR(),g.SdG(0))},encapsulation:2,changeDetection:0})}return f})()},1141:(Ze,De,N)=>{N.d(De,{$n:()=>Ie,_f:()=>ne,tm:()=>Ee});var g=N(177),v=N(4438),F=N(5779),re=N(1455),f=N(8757),L=N(563),A=N(4420);const $=["*"];function H(Y,xe){1&Y&&v.eu8(0)}function k(Y,xe){if(1&Y&&v.nrm(0,"span",8),2&Y){const ae=v.XpG(3);v.HbH("p-button-loading-icon pi-spin "+ae.loadingIcon),v.Y8G("ngClass",ae.iconClass()),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function W(Y,xe){if(1&Y&&v.nrm(0,"SpinnerIcon",9),2&Y){const ae=v.XpG(3);v.Y8G("styleClass",ae.spinnerIconClass())("spin",!0),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function J(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,k,1,5,"span",6)(2,W,1,4,"SpinnerIcon",7),v.bVm()),2&Y){const ae=v.XpG(2);v.R7$(),v.Y8G("ngIf",ae.loadingIcon),v.R7$(),v.Y8G("ngIf",!ae.loadingIcon)}}function le(Y,xe){}function fe(Y,xe){1&Y&&v.DNE(0,le,0,0,"ng-template")}function be(Y,xe){if(1&Y&&(v.j41(0,"span",10),v.DNE(1,fe,1,0,null,1),v.k0s()),2&Y){const ae=v.XpG(2);v.Y8G("ngClass",ae.iconClass()),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon"),v.R7$(),v.Y8G("ngTemplateOutlet",ae.loadingIconTemplate)}}function Le(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,J,3,2,"ng-container",2)(2,be,2,4,"span",5),v.bVm()),2&Y){const ae=v.XpG();v.R7$(),v.Y8G("ngIf",!ae.loadingIconTemplate),v.R7$(),v.Y8G("ngIf",ae.loadingIconTemplate)}}function He(Y,xe){if(1&Y&&v.nrm(0,"span",8),2&Y){const ae=v.XpG(2);v.HbH(ae.icon),v.Y8G("ngClass",ae.iconClass()),v.BMQ("data-pc-section","icon")}}function at(Y,xe){}function Bt(Y,xe){if(1&Y&&v.DNE(0,at,0,0,"ng-template",12),2&Y){const ae=v.XpG(3);v.Y8G("ngIf",!ae.icon)}}function St(Y,xe){if(1&Y&&(v.j41(0,"span",8),v.DNE(1,Bt,1,1,null,1),v.k0s()),2&Y){const ae=v.XpG(2);v.Y8G("ngClass",ae.iconClass()),v.BMQ("data-pc-section","icon"),v.R7$(),v.Y8G("ngTemplateOutlet",ae.iconTemplate)}}function $e(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,He,1,4,"span",6)(2,St,2,3,"span",11),v.bVm()),2&Y){const ae=v.XpG();v.R7$(),v.Y8G("ngIf",ae.icon&&!ae.iconTemplate),v.R7$(),v.Y8G("ngIf",!ae.icon&&ae.iconTemplate)}}function pe(Y,xe){if(1&Y&&(v.j41(0,"span",13),v.EFF(1),v.k0s()),2&Y){const ae=v.XpG();v.BMQ("aria-hidden",ae.icon&&!ae.label)("data-pc-section","label"),v.R7$(),v.JRh(ae.label)}}function et(Y,xe){if(1&Y&&(v.j41(0,"span",8),v.EFF(1),v.k0s()),2&Y){const ae=v.XpG();v.HbH(ae.badgeClass),v.Y8G("ngClass",ae.badgeStyleClass()),v.BMQ("data-pc-section","badge"),v.R7$(),v.JRh(ae.badge)}}const se={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let ne=(()=>{class Y{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(ae){this._label=ae,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(ae){this._icon=ae,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(ae){this._loading=ae,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(se);spinnerIcon='\n \n \n \n \n \n \n \n \n ';constructor(ae,qe){this.el=ae,this.document=qe}ngAfterViewInit(){re.D.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const ae=[se.button,se.component];return this.icon&&!this.label&&A.BF.isEmpty(this.htmlElement.textContent)&&ae.push(se.iconOnly),this.loading&&(ae.push(se.disabled,se.loading),!this.icon&&this.label&&ae.push(se.labelOnly),this.icon&&!this.label&&!A.BF.isEmpty(this.htmlElement.textContent)&&ae.push(se.iconOnly)),ae}setStyleClass(){const ae=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...ae)}createLabel(){if(this.label){let ae=this.document.createElement("span");this.icon&&!this.label&&ae.setAttribute("aria-hidden","true"),ae.className="p-button-label",ae.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(ae)}}createIcon(){if(this.icon||this.loading){let ae=this.document.createElement("span");ae.className="p-button-icon",ae.setAttribute("aria-hidden","true");let qe=this.label?"p-button-icon-"+this.iconPos:null;qe&&re.D.addClass(ae,qe);let Oe=this.getIconClass();Oe&&re.D.addMultipleClasses(ae,Oe),!this.loadingIcon&&this.loading&&(ae.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(ae,this.htmlElement.firstChild)}}updateLabel(){let ae=re.D.findSingle(this.htmlElement,".p-button-label");this.label?ae?ae.textContent=this.label:this.createLabel():ae&&this.htmlElement.removeChild(ae)}updateIcon(){let ae=re.D.findSingle(this.htmlElement,".p-button-icon"),qe=re.D.findSingle(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&ae?ae.innerHTML=this.spinnerIcon:ae?.innerHTML&&(ae.innerHTML=""),ae?ae.className=this.iconPos?"p-button-icon "+(qe?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(qe){return new(qe||Y)(v.rXU(v.aKT),v.rXU(g.qQ))};static \u0275dir=v.FsC({type:Y,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return Y})(),Ie=(()=>{class Y{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;size;style;styleClass;badgeClass;ariaLabel;onClick=new v.bkB;onFocus=new v.bkB;onBlur=new v.bkB;contentTemplate;loadingIconTemplate;iconTemplate;templates;spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,ae])=>!!ae).reduce((ae,[qe])=>ae+` ${qe}`,"p-button-loading-icon")}iconClass(){return{"p-button-icon":!0,"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}}buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this.loadingIcon||this.loadingIconTemplate)&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label&&!this.loadingIcon&&"left"===this.iconPos,"p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":"small"===this.size,"p-button-lg":"large"===this.size,"p-button-plain":this.plain,[`${this.styleClass}`]:this.styleClass}}ngAfterContentInit(){this.templates?.forEach(ae=>{switch(ae.getType()){case"content":default:this.contentTemplate=ae.template;break;case"icon":this.iconTemplate=ae.template;break;case"loadingicon":this.loadingIconTemplate=ae.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}static \u0275fac=function(qe){return new(qe||Y)};static \u0275cmp=v.VBU({type:Y,selectors:[["p-button"]],contentQueries:function(qe,Oe,ze){if(1&qe&&v.wni(ze,F.Ei,4),2&qe){let pt;v.mGM(pt=v.lsd())&&(Oe.templates=pt)}},hostAttrs:[1,"p-element"],hostVars:2,hostBindings:function(qe,Oe){2&qe&&v.AVh("p-disabled",Oe.disabled)},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",raised:"raised",rounded:"rounded",text:"text",plain:"plain",severity:"severity",outlined:"outlined",link:"link",size:"size",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:$,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","ngClass"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon",3,"ngClass"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(qe,Oe){1&qe&&(v.NAR(),v.j41(0,"button",0),v.bIt("click",function(pt){return Oe.onClick.emit(pt)})("focus",function(pt){return Oe.onFocus.emit(pt)})("blur",function(pt){return Oe.onBlur.emit(pt)}),v.SdG(1),v.DNE(2,H,1,0,"ng-container",1)(3,Le,3,2,"ng-container",2)(4,$e,3,2,"ng-container",2)(5,pe,2,3,"span",3)(6,et,2,5,"span",4),v.k0s()),2&qe&&(v.HbH(Oe.styleClass),v.Y8G("ngStyle",Oe.style)("disabled",Oe.disabled||Oe.loading)("ngClass",Oe.buttonClass()),v.BMQ("type",Oe.type)("aria-label",Oe.ariaLabel)("data-pc-name","button")("data-pc-section","root"),v.R7$(2),v.Y8G("ngTemplateOutlet",Oe.contentTemplate),v.R7$(),v.Y8G("ngIf",Oe.loading),v.R7$(),v.Y8G("ngIf",!Oe.loading),v.R7$(),v.Y8G("ngIf",!Oe.contentTemplate&&Oe.label),v.R7$(),v.Y8G("ngIf",!Oe.contentTemplate&&Oe.badge))},dependencies:()=>[g.YU,g.bT,g.T3,g.B3,L.n,f.N],encapsulation:2,changeDetection:0})}return Y})(),Ee=(()=>{class Y{static \u0275fac=function(qe){return new(qe||Y)};static \u0275mod=v.$C({type:Y});static \u0275inj=v.G2t({imports:[g.MD,L.Z,F.Gg,f.N,F.Gg]})}return Y})()},1455:(Ze,De,N)=>{N.d(De,{D:()=>g,b:()=>v});let g=(()=>{class F{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(f,L){f&&L&&(f.classList?f.classList.add(L):f.className+=" "+L)}static addMultipleClasses(f,L){if(f&&L)if(f.classList){let A=L.trim().split(" ");for(let $=0;$A.split(" ").forEach($=>this.removeClass(f,$)))}static hasClass(f,L){return!(!f||!L)&&(f.classList?f.classList.contains(L):new RegExp("(^| )"+L+"( |$)","gi").test(f.className))}static siblings(f){return Array.prototype.filter.call(f.parentNode.children,function(L){return L!==f})}static find(f,L){return Array.from(f.querySelectorAll(L))}static findSingle(f,L){return this.isElement(f)?f.querySelector(L):null}static index(f){let L=f.parentNode.childNodes,A=0;for(var $=0;${if(St)return"relative"===getComputedStyle(St).getPropertyValue("position")?St:A(St.parentElement)},$=f.offsetParent?{width:f.offsetWidth,height:f.offsetHeight}:this.getHiddenElementDimensions(f),H=L.offsetHeight,k=L.getBoundingClientRect(),W=this.getWindowScrollTop(),J=this.getWindowScrollLeft(),le=this.getViewport(),be=A(f)?.getBoundingClientRect()||{top:-1*W,left:-1*J};let Le,He;k.top+H+$.height>le.height?(Le=k.top-be.top-$.height,f.style.transformOrigin="bottom",k.top+Le<0&&(Le=-1*k.top)):(Le=H+k.top-be.top,f.style.transformOrigin="top");const at=k.left+$.width-le.width;He=$.width>le.width?-1*(k.left-be.left):at>0?k.left-be.left-at:k.left-be.left,f.style.top=Le+"px",f.style.left=He+"px"}static absolutePosition(f,L){const A=f.offsetParent?{width:f.offsetWidth,height:f.offsetHeight}:this.getHiddenElementDimensions(f),$=A.height,H=A.width,k=L.offsetHeight,W=L.offsetWidth,J=L.getBoundingClientRect(),le=this.getWindowScrollTop(),fe=this.getWindowScrollLeft(),be=this.getViewport();let Le,He;J.top+k+$>be.height?(Le=J.top+le-$,f.style.transformOrigin="bottom",Le<0&&(Le=le)):(Le=k+J.top+le,f.style.transformOrigin="top"),He=J.left+H>be.width?Math.max(0,J.left+fe+W-H):J.left+fe,f.style.top=Le+"px",f.style.left=He+"px"}static getParents(f,L=[]){return null===f.parentNode?L:this.getParents(f.parentNode,L.concat([f.parentNode]))}static getScrollableParents(f){let L=[];if(f){let A=this.getParents(f);const $=/(auto|scroll)/,H=k=>{let W=window.getComputedStyle(k,null);return $.test(W.getPropertyValue("overflow"))||$.test(W.getPropertyValue("overflowX"))||$.test(W.getPropertyValue("overflowY"))};for(let k of A){let W=1===k.nodeType&&k.dataset.scrollselectors;if(W){let J=W.split(",");for(let le of J){let fe=this.findSingle(k,le);fe&&H(fe)&&L.push(fe)}}9!==k.nodeType&&H(k)&&L.push(k)}}return L}static getHiddenElementOuterHeight(f){f.style.visibility="hidden",f.style.display="block";let L=f.offsetHeight;return f.style.display="none",f.style.visibility="visible",L}static getHiddenElementOuterWidth(f){f.style.visibility="hidden",f.style.display="block";let L=f.offsetWidth;return f.style.display="none",f.style.visibility="visible",L}static getHiddenElementDimensions(f){let L={};return f.style.visibility="hidden",f.style.display="block",L.width=f.offsetWidth,L.height=f.offsetHeight,f.style.display="none",f.style.visibility="visible",L}static scrollInView(f,L){let A=getComputedStyle(f).getPropertyValue("borderTopWidth"),$=A?parseFloat(A):0,H=getComputedStyle(f).getPropertyValue("paddingTop"),k=H?parseFloat(H):0,W=f.getBoundingClientRect(),le=L.getBoundingClientRect().top+document.body.scrollTop-(W.top+document.body.scrollTop)-$-k,fe=f.scrollTop,be=f.clientHeight,Le=this.getOuterHeight(L);le<0?f.scrollTop=fe+le:le+Le>be&&(f.scrollTop=fe+le-be+Le)}static fadeIn(f,L){f.style.opacity=0;let A=+new Date,$=0,H=function(){$=+f.style.opacity.replace(",",".")+((new Date).getTime()-A)/L,f.style.opacity=$,A=+new Date,+$<1&&(window.requestAnimationFrame&&requestAnimationFrame(H)||setTimeout(H,16))};H()}static fadeOut(f,L){var A=1,k=50/L;let W=setInterval(()=>{(A-=k)<=0&&(A=0,clearInterval(W)),f.style.opacity=A},50)}static getWindowScrollTop(){let f=document.documentElement;return(window.pageYOffset||f.scrollTop)-(f.clientTop||0)}static getWindowScrollLeft(){let f=document.documentElement;return(window.pageXOffset||f.scrollLeft)-(f.clientLeft||0)}static matches(f,L){var A=Element.prototype;return(A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.msMatchesSelector||function(H){return-1!==[].indexOf.call(document.querySelectorAll(H),this)}).call(f,L)}static getOuterWidth(f,L){let A=f.offsetWidth;if(L){let $=getComputedStyle(f);A+=parseFloat($.marginLeft)+parseFloat($.marginRight)}return A}static getHorizontalPadding(f){let L=getComputedStyle(f);return parseFloat(L.paddingLeft)+parseFloat(L.paddingRight)}static getHorizontalMargin(f){let L=getComputedStyle(f);return parseFloat(L.marginLeft)+parseFloat(L.marginRight)}static innerWidth(f){let L=f.offsetWidth,A=getComputedStyle(f);return L+=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight),L}static width(f){let L=f.offsetWidth,A=getComputedStyle(f);return L-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight),L}static getInnerHeight(f){let L=f.offsetHeight,A=getComputedStyle(f);return L+=parseFloat(A.paddingTop)+parseFloat(A.paddingBottom),L}static getOuterHeight(f,L){let A=f.offsetHeight;if(L){let $=getComputedStyle(f);A+=parseFloat($.marginTop)+parseFloat($.marginBottom)}return A}static getHeight(f){let L=f.offsetHeight,A=getComputedStyle(f);return L-=parseFloat(A.paddingTop)+parseFloat(A.paddingBottom)+parseFloat(A.borderTopWidth)+parseFloat(A.borderBottomWidth),L}static getWidth(f){let L=f.offsetWidth,A=getComputedStyle(f);return L-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight)+parseFloat(A.borderLeftWidth)+parseFloat(A.borderRightWidth),L}static getViewport(){let f=window,L=document,A=L.documentElement,$=L.getElementsByTagName("body")[0];return{width:f.innerWidth||A.clientWidth||$.clientWidth,height:f.innerHeight||A.clientHeight||$.clientHeight}}static getOffset(f){var L=f.getBoundingClientRect();return{top:L.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:L.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(f,L){let A=f.parentNode;if(!A)throw"Can't replace element";return A.replaceChild(L,f)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var f=window.navigator.userAgent;return f.indexOf("MSIE ")>0||(f.indexOf("Trident/")>0?(f.indexOf("rv:"),!0):f.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(f,L){if(this.isElement(L))L.appendChild(f);else{if(!(L&&L.el&&L.el.nativeElement))throw"Cannot append "+L+" to "+f;L.el.nativeElement.appendChild(f)}}static removeChild(f,L){if(this.isElement(L))L.removeChild(f);else{if(!L.el||!L.el.nativeElement)throw"Cannot remove "+f+" from "+L;L.el.nativeElement.removeChild(f)}}static removeElement(f){"remove"in Element.prototype?f.remove():f.parentNode.removeChild(f)}static isElement(f){return"object"==typeof HTMLElement?f instanceof HTMLElement:f&&"object"==typeof f&&null!==f&&1===f.nodeType&&"string"==typeof f.nodeName}static calculateScrollbarWidth(f){if(f){let L=getComputedStyle(f);return f.offsetWidth-f.clientWidth-parseFloat(L.borderLeftWidth)-parseFloat(L.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let L=document.createElement("div");L.className="p-scrollbar-measure",document.body.appendChild(L);let A=L.offsetWidth-L.clientWidth;return document.body.removeChild(L),this.calculatedScrollbarWidth=A,A}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let f=document.createElement("div");f.className="p-scrollbar-measure",document.body.appendChild(f);let L=f.offsetHeight-f.clientHeight;return document.body.removeChild(f),this.calculatedScrollbarWidth=L,L}static invokeElementMethod(f,L,A){f[L].apply(f,A)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let f=this.resolveUserAgent();this.browser={},f.browser&&(this.browser[f.browser]=!0,this.browser.version=f.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let f=navigator.userAgent.toLowerCase(),L=/(chrome)[ \/]([\w.]+)/.exec(f)||/(webkit)[ \/]([\w.]+)/.exec(f)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(f)||/(msie) ([\w.]+)/.exec(f)||f.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(f)||[];return{browser:L[1]||"",version:L[2]||"0"}}static isInteger(f){return Number.isInteger?Number.isInteger(f):"number"==typeof f&&isFinite(f)&&Math.floor(f)===f}static isHidden(f){return!f||null===f.offsetParent}static isVisible(f){return f&&null!=f.offsetParent}static isExist(f){return null!==f&&typeof f<"u"&&f.nodeName&&f.parentNode}static focus(f,L){f&&document.activeElement!==f&&f.focus(L)}static getFocusableElements(f,L=""){let A=this.find(f,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L}`),$=[];for(let H of A)"none"!=getComputedStyle(H).display&&"hidden"!=getComputedStyle(H).visibility&&$.push(H);return $}static getFirstFocusableElement(f,L){const A=this.getFocusableElements(f,L);return A.length>0?A[0]:null}static getLastFocusableElement(f,L){const A=this.getFocusableElements(f,L);return A.length>0?A[A.length-1]:null}static getNextFocusableElement(f,L=!1){const A=F.getFocusableElements(f);let $=0;if(A&&A.length>0){const H=A.indexOf(A[0].ownerDocument.activeElement);L?$=-1==H||0===H?A.length-1:H-1:-1!=H&&H!==A.length-1&&($=H+1)}return A[$]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(f,L){if(!f)return null;switch(f){case"document":return document;case"window":return window;case"@next":return L?.nextElementSibling;case"@prev":return L?.previousElementSibling;case"@parent":return L?.parentElement;case"@grandparent":return L?.parentElement.parentElement;default:const A=typeof f;if("string"===A)return document.querySelector(f);if("object"===A&&f.hasOwnProperty("nativeElement"))return this.isExist(f.nativeElement)?f.nativeElement:void 0;const H=(k=f)&&k.constructor&&k.call&&k.apply?f():f;return H&&9===H.nodeType||this.isExist(H)?H:null}var k}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(f,L){if(f){const A=f.getAttribute(L);return isNaN(A)?"true"===A||"false"===A?"true"===A:A:+A}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(f="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,f)}static unblockBodyScroll(f="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,f)}}return F})();class v{element;listener;scrollableParents;constructor(re,f=(()=>{})){this.element=re,this.listener=f}bindScrollListener(){this.scrollableParents=g.getScrollableParents(this.element);for(let re=0;re{N.d(De,{N:()=>re});var g=N(4438),v=N(461),F=N(4420);let re=(()=>{class f extends v.h{pathId;ngOnInit(){this.pathId="url(#"+(0,F._Y)()+")"}static \u0275fac=(()=>{let A;return function(H){return(A||(A=g.xGo(f)))(H||f)}})();static \u0275cmp=g.VBU({type:f,selectors:[["SpinnerIcon"]],standalone:!0,features:[g.Vt3,g.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function($,H){1&$&&(g.qSk(),g.j41(0,"svg",0)(1,"g"),g.nrm(2,"path",1),g.k0s(),g.j41(3,"defs")(4,"clipPath",2),g.nrm(5,"rect",3),g.k0s()()()),2&$&&(g.HbH(H.getClassNames()),g.BMQ("aria-label",H.ariaLabel)("aria-hidden",H.ariaHidden)("role",H.role),g.R7$(),g.BMQ("clip-path",H.pathId),g.R7$(3),g.Y8G("id",H.pathId))},encapsulation:2})}return f})()},1512:(Ze,De,N)=>{N.d(De,{A:()=>F});var g=N(4438),v=N(461);let F=(()=>{class re extends v.h{static \u0275fac=(()=>{let L;return function($){return(L||(L=g.xGo(re)))($||re)}})();static \u0275cmp=g.VBU({type:re,selectors:[["TimesIcon"]],standalone:!0,features:[g.Vt3,g.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(A,$){1&A&&(g.qSk(),g.j41(0,"svg",0),g.nrm(1,"path",1),g.k0s()),2&A&&(g.HbH($.getClassNames()),g.BMQ("aria-label",$.ariaLabel)("aria-hidden",$.ariaHidden)("role",$.role))},encapsulation:2})}return re})()},1631:(Ze,De,N)=>{N.d(De,{H_:()=>$});var g=N(177),v=N(4438),F=N(4341);const re=["input"],f=(H,k,W)=>({"p-inputswitch p-component":!0,"p-inputswitch-checked":H,"p-disabled":k,"p-focus":W}),L={provide:F.kq,useExisting:(0,v.Rfq)(()=>A),multi:!0};let A=(()=>{class H{cd;style;styleClass;tabindex;inputId;name;disabled;readonly;trueValue=!0;falseValue=!1;ariaLabel;ariaLabelledBy;onChange=new v.bkB;input;modelValue=!1;focused=!1;onModelChange=()=>{};onModelTouched=()=>{};constructor(W){this.cd=W}onClick(W){!this.disabled&&!this.readonly&&(this.modelValue=this.checked()?this.falseValue:this.trueValue,this.onModelChange(this.modelValue),this.onChange.emit({originalEvent:W,checked:this.modelValue}),W.preventDefault(),this.input.nativeElement.focus())}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}writeValue(W){this.modelValue=W,this.cd.markForCheck()}registerOnChange(W){this.onModelChange=W}registerOnTouched(W){this.onModelTouched=W}setDisabledState(W){this.disabled=W,this.cd.markForCheck()}checked(){return this.modelValue===this.trueValue}static \u0275fac=function(J){return new(J||H)(v.rXU(v.gRc))};static \u0275cmp=v.VBU({type:H,selectors:[["p-inputSwitch"]],viewQuery:function(J,le){if(1&J&&v.GBs(re,5),2&J){let fe;v.mGM(fe=v.lsd())&&(le.input=fe.first)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",tabindex:"tabindex",inputId:"inputId",name:"name",disabled:"disabled",readonly:"readonly",trueValue:"trueValue",falseValue:"falseValue",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onChange:"onChange"},features:[v.Jv_([L])],decls:5,vars:22,consts:[["input",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"focus","blur","checked","disabled"],[1,"p-inputswitch-slider"]],template:function(J,le){if(1&J){const fe=v.RV6();v.j41(0,"div",1),v.bIt("click",function(Le){return v.eBV(fe),v.Njj(le.onClick(Le))}),v.j41(1,"div",2)(2,"input",3,0),v.bIt("focus",function(){return v.eBV(fe),v.Njj(le.onFocus())})("blur",function(){return v.eBV(fe),v.Njj(le.onBlur())}),v.k0s()(),v.nrm(4,"span",4),v.k0s()}2&J&&(v.HbH(le.styleClass),v.Y8G("ngClass",v.sMw(18,f,le.checked(),le.disabled,le.focused))("ngStyle",le.style),v.BMQ("data-pc-name","inputswitch")("data-pc-section","root"),v.R7$(),v.BMQ("data-pc-section","hiddenInputWrapper")("data-p-hidden-accessible",!0),v.R7$(),v.Y8G("checked",le.checked())("disabled",le.disabled),v.BMQ("id",le.inputId)("aria-checked",le.checked())("aria-labelledby",le.ariaLabelledBy)("aria-label",le.ariaLabel)("name",le.name)("tabindex",le.tabindex)("data-pc-section","hiddenInput"),v.R7$(2),v.BMQ("data-pc-section","slider"))},dependencies:[g.YU,g.B3],styles:['@layer primeng{.p-inputswitch{position:relative;display:inline-block;-webkit-user-select:none;user-select:none}.p-inputswitch-slider{position:absolute;cursor:pointer;inset:0;border:1px solid transparent}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}}\n'],encapsulation:2,changeDetection:0})}return H})(),$=(()=>{class H{static \u0275fac=function(J){return new(J||H)};static \u0275mod=v.$C({type:H});static \u0275inj=v.G2t({imports:[g.MD]})}return H})()},2242:(Ze,De,N)=>{N.d(De,{S:()=>re,u:()=>f});var g=N(4438),v=N(177),F=N(4341);let re=(()=>{class L{el;ngModel;cd;filled;constructor($,H,k){this.el=$,this.ngModel=H,this.cd=k}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}static \u0275fac=function(H){return new(H||L)(g.rXU(g.aKT),g.rXU(F.vS,8),g.rXU(g.gRc))};static \u0275dir=g.FsC({type:L,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(H,k){1&H&&g.bIt("input",function(J){return k.onInput(J)}),2&H&&g.AVh("p-filled",k.filled)}})}return L})(),f=(()=>{class L{static \u0275fac=function(H){return new(H||L)};static \u0275mod=g.$C({type:L});static \u0275inj=g.G2t({imports:[v.MD]})}return L})()},494:(Ze,De,N)=>{N.d(De,{Ko:()=>J});var g=N(177),v=N(4438),F=N(4341);const re=["input"],f=(le,fe,be)=>({"p-radiobutton p-component":!0,"p-radiobutton-checked":le,"p-radiobutton-disabled":fe,"p-radiobutton-focused":be}),L=(le,fe,be)=>({"p-radiobutton-box":!0,"p-highlight":le,"p-disabled":fe,"p-focus":be}),A=(le,fe,be)=>({"p-radiobutton-label":!0,"p-radiobutton-label-active":le,"p-disabled":fe,"p-radiobutton-label-focus":be});function $(le,fe){if(1&le){const be=v.RV6();v.j41(0,"label",7),v.bIt("click",function(He){v.eBV(be);const at=v.XpG();return v.Njj(at.select(He))}),v.EFF(1),v.k0s()}if(2&le){const be=v.XpG(),Le=v.sdS(3);v.HbH(be.labelStyleClass),v.Y8G("ngClass",v.sMw(6,A,Le.checked,be.disabled,be.focused)),v.BMQ("for",be.inputId)("data-pc-section","label"),v.R7$(),v.JRh(be.label)}}const H={provide:F.kq,useExisting:(0,v.Rfq)(()=>W),multi:!0};let k=(()=>{class le{accessors=[];add(be,Le){this.accessors.push([be,Le])}remove(be){this.accessors=this.accessors.filter(Le=>Le[1]!==be)}select(be){this.accessors.forEach(Le=>{this.isSameGroup(Le,be)&&Le[1]!==be&&Le[1].writeValue(be.value)})}isSameGroup(be,Le){return!!be[0].control&&be[0].control.root===Le.control.control.root&&be[1].name===Le.name}static \u0275fac=function(Le){return new(Le||le)};static \u0275prov=v.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),W=(()=>{class le{cd;injector;registry;value;formControlName;name;disabled;label;tabindex;inputId;ariaLabelledBy;ariaLabel;style;styleClass;labelStyleClass;onClick=new v.bkB;onFocus=new v.bkB;onBlur=new v.bkB;inputViewChild;onModelChange=()=>{};onModelTouched=()=>{};checked;focused;control;constructor(be,Le,He){this.cd=be,this.injector=Le,this.registry=He}ngOnInit(){this.control=this.injector.get(F.vO),this.checkName(),this.registry.add(this.control,this)}handleClick(be,Le,He){be.preventDefault(),!this.disabled&&(this.select(be),He&&Le.focus())}select(be){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:be,value:this.value}))}writeValue(be){this.checked=be==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(be){this.onModelChange=be}registerOnTouched(be){this.onModelTouched=be}setDisabledState(be){this.disabled=be,this.cd.markForCheck()}onInputFocus(be){this.focused=!0,this.onFocus.emit(be)}onInputBlur(be){this.focused=!1,this.onModelTouched(),this.onBlur.emit(be)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}static \u0275fac=function(Le){return new(Le||le)(v.rXU(v.gRc),v.rXU(v.zZn),v.rXU(k))};static \u0275cmp=v.VBU({type:le,selectors:[["p-radioButton"]],viewQuery:function(Le,He){if(1&Le&&v.GBs(re,5),2&Le){let at;v.mGM(at=v.lsd())&&(He.inputViewChild=at.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",formControlName:"formControlName",name:"name",disabled:"disabled",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[v.Jv_([H])],decls:7,vars:29,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"focus","blur","checked","disabled","value"],[3,"ngClass"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"],[3,"click","ngClass"]],template:function(Le,He){if(1&Le){const at=v.RV6();v.j41(0,"div",1),v.bIt("click",function(St){v.eBV(at);const $e=v.sdS(3);return v.Njj(He.handleClick(St,$e,!0))}),v.j41(1,"div",2)(2,"input",3,0),v.bIt("focus",function(St){return v.eBV(at),v.Njj(He.onInputFocus(St))})("blur",function(St){return v.eBV(at),v.Njj(He.onInputBlur(St))}),v.k0s()(),v.j41(4,"div",4),v.nrm(5,"span",5),v.k0s()(),v.DNE(6,$,2,10,"label",6)}2&Le&&(v.HbH(He.styleClass),v.Y8G("ngStyle",He.style)("ngClass",v.sMw(21,f,He.checked,He.disabled,He.focused)),v.BMQ("data-pc-name","radiobutton")("data-pc-section","root"),v.R7$(),v.BMQ("data-pc-section","hiddenInputWrapper"),v.R7$(),v.Y8G("checked",He.checked)("disabled",He.disabled)("value",He.value),v.BMQ("id",He.inputId)("name",He.name)("aria-labelledby",He.ariaLabelledBy)("aria-label",He.ariaLabel)("tabindex",He.tabindex)("aria-checked",He.checked)("data-pc-section","hiddenInput"),v.R7$(2),v.Y8G("ngClass",v.sMw(25,L,He.checked,He.disabled,He.focused)),v.BMQ("data-pc-section","input"),v.R7$(),v.BMQ("data-pc-section","icon"),v.R7$(),v.Y8G("ngIf",He.label))},dependencies:[g.YU,g.bT,g.B3],encapsulation:2,changeDetection:0})}return le})(),J=(()=>{class le{static \u0275fac=function(Le){return new(Le||le)};static \u0275mod=v.$C({type:le});static \u0275inj=v.G2t({imports:[g.MD]})}return le})()},563:(Ze,De,N)=>{N.d(De,{Z:()=>L,n:()=>f});var g=N(177),v=N(4438),F=N(1455),re=N(5779);let f=(()=>{class A{document;platformId;renderer;el;zone;config;constructor(H,k,W,J,le,fe){this.document=H,this.platformId=k,this.renderer=W,this.el=J,this.zone=le,this.config=fe}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,g.UE)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(H){let k=this.getInk();if(!k||"none"===this.document.defaultView?.getComputedStyle(k,null).display)return;if(F.D.removeClass(k,"p-ink-active"),!F.D.getHeight(k)&&!F.D.getWidth(k)){let fe=Math.max(F.D.getOuterWidth(this.el.nativeElement),F.D.getOuterHeight(this.el.nativeElement));k.style.height=fe+"px",k.style.width=fe+"px"}let W=F.D.getOffset(this.el.nativeElement),J=H.pageX-W.left+this.document.body.scrollTop-F.D.getWidth(k)/2,le=H.pageY-W.top+this.document.body.scrollLeft-F.D.getHeight(k)/2;this.renderer.setStyle(k,"top",le+"px"),this.renderer.setStyle(k,"left",J+"px"),F.D.addClass(k,"p-ink-active"),this.timeout=setTimeout(()=>{let fe=this.getInk();fe&&F.D.removeClass(fe,"p-ink-active")},401)}getInk(){const H=this.el.nativeElement.children;for(let k=0;k{class A{static \u0275fac=function(k){return new(k||A)};static \u0275mod=v.$C({type:A});static \u0275inj=v.G2t({imports:[g.MD]})}return A})()},5875:(Ze,De,N)=>{N.d(De,{B:()=>Y,n:()=>xe});var g=N(9969),v=N(177),F=N(4438),re=N(5779),f=N(1455),L=N(1512),A=N(563),$=N(4420);const H=["*"],k=(ae,qe,Oe,ze,pt,$t)=>({"p-sidebar":!0,"p-sidebar-active":ae,"p-sidebar-left":qe,"p-sidebar-right":Oe,"p-sidebar-top":ze,"p-sidebar-bottom":pt,"p-sidebar-full":$t}),W=(ae,qe)=>({transform:ae,transition:qe}),J=ae=>({value:"visible",params:ae});function le(ae,qe){1&ae&&F.eu8(0)}function fe(ae,qe){if(1&ae&&(F.qex(0),F.DNE(1,le,1,0,"ng-container",5),F.bVm()),2&ae){const Oe=F.XpG(2);F.R7$(),F.Y8G("ngTemplateOutlet",Oe.headlessTemplate)}}function be(ae,qe){1&ae&&F.eu8(0)}function Le(ae,qe){1&ae&&F.nrm(0,"TimesIcon",13),2&ae&&(F.Y8G("styleClass","p-sidebar-close-icon"),F.BMQ("data-pc-section","closeicon"))}function He(ae,qe){}function at(ae,qe){1&ae&&F.DNE(0,He,0,0,"ng-template")}function Bt(ae,qe){if(1&ae&&(F.j41(0,"span",14),F.DNE(1,at,1,0,null,5),F.k0s()),2&ae){const Oe=F.XpG(4);F.BMQ("data-pc-section","closeicon"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.closeIconTemplate)}}function St(ae,qe){if(1&ae){const Oe=F.RV6();F.j41(0,"button",10),F.bIt("click",function(pt){F.eBV(Oe);const $t=F.XpG(3);return F.Njj($t.close(pt))})("keydown.enter",function(pt){F.eBV(Oe);const $t=F.XpG(3);return F.Njj($t.close(pt))}),F.DNE(1,Le,1,2,"TimesIcon",11)(2,Bt,2,2,"span",12),F.k0s()}if(2&ae){const Oe=F.XpG(3);F.BMQ("aria-label",Oe.ariaCloseLabel)("data-pc-section","closebutton")("data-pc-group-section","iconcontainer"),F.R7$(),F.Y8G("ngIf",!Oe.closeIconTemplate),F.R7$(),F.Y8G("ngIf",Oe.closeIconTemplate)}}function $e(ae,qe){1&ae&&F.eu8(0)}function pe(ae,qe){1&ae&&F.eu8(0)}function et(ae,qe){if(1&ae&&(F.qex(0),F.j41(1,"div",15),F.DNE(2,pe,1,0,"ng-container",5),F.k0s(),F.bVm()),2&ae){const Oe=F.XpG(3);F.R7$(),F.BMQ("data-pc-section","footer"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.footerTemplate)}}function se(ae,qe){if(1&ae&&(F.j41(0,"div",6),F.DNE(1,be,1,0,"ng-container",5)(2,St,3,5,"button",7),F.k0s(),F.j41(3,"div",8),F.SdG(4),F.DNE(5,$e,1,0,"ng-container",5),F.k0s(),F.DNE(6,et,3,2,"ng-container",9)),2&ae){const Oe=F.XpG(2);F.BMQ("data-pc-section","header"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.headerTemplate),F.R7$(),F.Y8G("ngIf",Oe.showCloseIcon),F.R7$(),F.BMQ("data-pc-section","content"),F.R7$(2),F.Y8G("ngTemplateOutlet",Oe.contentTemplate),F.R7$(),F.Y8G("ngIf",Oe.footerTemplate)}}function ne(ae,qe){if(1&ae){const Oe=F.RV6();F.j41(0,"div",3,0),F.bIt("@panelState.start",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onAnimationStart(pt))})("@panelState.done",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onAnimationEnd(pt))})("keydown",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onKeyDown(pt))}),F.DNE(2,fe,2,1,"ng-container",4)(3,se,7,6,"ng-template",null,1,F.C5r),F.k0s()}if(2&ae){const Oe=F.sdS(4),ze=F.XpG();F.HbH(ze.styleClass),F.Y8G("ngClass",F.l4e(10,k,ze.visible,"left"===ze.position&&!ze.fullScreen,"right"===ze.position&&!ze.fullScreen,"top"===ze.position&&!ze.fullScreen,"bottom"===ze.position&&!ze.fullScreen,ze.fullScreen))("@panelState",F.eq3(20,J,F.l_i(17,W,ze.transformOptions,ze.transitionOptions)))("ngStyle",ze.style),F.BMQ("data-pc-name","sidebar")("data-pc-section","root")("aria-modal",ze.modal),F.R7$(2),F.Y8G("ngIf",ze.headlessTemplate)("ngIfElse",Oe)}}const Ie=(0,g.lY)([(0,g.iF)({transform:"{{transform}}",opacity:0}),(0,g.i0)("{{transition}}")]),Ee=(0,g.lY)([(0,g.i0)("{{transition}}",(0,g.iF)({transform:"{{transform}}",opacity:0}))]);let Y=(()=>{class ae{document;el;renderer;cd;config;appendTo;blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible}set visible(Oe){this._visible=Oe}get position(){return this._position}set position(Oe){switch(this._position=Oe,Oe){case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)"}}get fullScreen(){return this._fullScreen}set fullScreen(Oe){this._fullScreen=Oe,Oe&&(this.transformOptions="none")}templates;onShow=new F.bkB;onHide=new F.bkB;visibleChange=new F.bkB;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;headlessTemplate;constructor(Oe,ze,pt,$t,me){this.document=Oe,this.el=ze,this.renderer=pt,this.cd=$t,this.config=me}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(Oe=>{switch(Oe.getType()){case"content":default:this.contentTemplate=Oe.template;break;case"header":this.headerTemplate=Oe.template;break;case"footer":this.footerTemplate=Oe.template;break;case"closeicon":this.closeIconTemplate=Oe.template;break;case"headless":this.headlessTemplate=Oe.template}})}onKeyDown(Oe){"Escape"===Oe.code&&this.hide(!1)}show(){this.autoZIndex&&$.Q$.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(Oe=!0){Oe&&this.onHide.emit({}),this.modal&&this.disableModality()}close(Oe){this.hide(!1),this.visibleChange.emit(!1),Oe.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),f.D.addMultipleClasses(this.mask,"p-component-overlay p-sidebar-mask p-component-overlay p-component-overlay-enter"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",Oe=>{this.dismissible&&this.close(Oe)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&f.D.blockBodyScroll())}disableModality(){this.mask&&(f.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&f.D.unblockBodyScroll(),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(Oe){"visible"===Oe.toState&&(this.container=Oe.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(Oe){"void"===Oe.toState&&(this.hide(),$.Q$.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):f.D.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",ze=>{27==ze.which&&parseInt(this.container.style.zIndex)===$.Q$.get(this.container)&&this.close(ze)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.appendTo&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&$.Q$.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(ze){return new(ze||ae)(F.rXU(v.qQ),F.rXU(F.aKT),F.rXU(F.sFG),F.rXU(F.gRc),F.rXU(re.r1))};static \u0275cmp=F.VBU({type:ae,selectors:[["p-sidebar"]],contentQueries:function(ze,pt,$t){if(1&ze&&F.wni($t,re.Ei,4),2&ze){let me;F.mGM(me=F.lsd())&&(pt.templates=me)}},hostAttrs:[1,"p-element"],inputs:{appendTo:"appendTo",blockScroll:"blockScroll",style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",modal:"modal",dismissible:"dismissible",showCloseIcon:"showCloseIcon",closeOnEscape:"closeOnEscape",transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},ngContentSelectors:H,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["role","complementary",3,"ngClass","ngStyle","class","keydown",4,"ngIf"],["role","complementary",3,"keydown","ngClass","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[1,"p-sidebar-header"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[4,"ngIf"],["type","button","pRipple","",1,"p-sidebar-close","p-sidebar-icon","p-link",3,"click","keydown.enter"],[3,"styleClass",4,"ngIf"],["class","p-sidebar-close-icon",4,"ngIf"],[3,"styleClass"],[1,"p-sidebar-close-icon"],[1,"p-sidebar-footer"]],template:function(ze,pt){1&ze&&(F.NAR(),F.DNE(0,ne,5,22,"div",2)),2&ze&&F.Y8G("ngIf",pt.visible)},dependencies:()=>[v.YU,v.bT,v.T3,v.B3,A.n,L.A],styles:["@layer primeng{.p-sidebar{position:fixed;transition:transform .3s;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto;flex-grow:1}.p-sidebar-header{display:flex;align-items:center}.p-sidebar-footer{margin-top:auto}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;margin-left:auto}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;transition:none}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}@media screen and (max-width: 64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}}\n"],encapsulation:2,data:{animation:[(0,g.hZ)("panelState",[(0,g.kY)("void => visible",[(0,g.sM)(Ie)]),(0,g.kY)("visible => void",[(0,g.sM)(Ee)])])]},changeDetection:0})}return ae})(),xe=(()=>{class ae{static \u0275fac=function(ze){return new(ze||ae)};static \u0275mod=F.$C({type:ae});static \u0275inj=F.G2t({imports:[v.MD,A.Z,re.Gg,L.A,re.Gg]})}return ae})()},8542:(Ze,De,N)=>{N.d(De,{S:()=>A,m:()=>L});var g=N(177),v=N(4438),F=N(1455),re=N(4420),f=N(5779);let L=(()=>{class ${platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(k){this._disabled=k,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:(0,re._Y)()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(k,W,J,le,fe,be){this.platformId=k,this.el=W,this.zone=J,this.config=le,this.renderer=fe,this.viewContainer=be}ngAfterViewInit(){(0,g.UE)(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let k=this.getTarget(this.el.nativeElement);k.addEventListener("focus",this.focusListener),k.addEventListener("blur",this.blurListener)}})}ngOnChanges(k){k.tooltipPosition&&this.setOption({tooltipPosition:k.tooltipPosition.currentValue}),k.tooltipEvent&&this.setOption({tooltipEvent:k.tooltipEvent.currentValue}),k.appendTo&&this.setOption({appendTo:k.appendTo.currentValue}),k.positionStyle&&this.setOption({positionStyle:k.positionStyle.currentValue}),k.tooltipStyleClass&&this.setOption({tooltipStyleClass:k.tooltipStyleClass.currentValue}),k.tooltipZIndex&&this.setOption({tooltipZIndex:k.tooltipZIndex.currentValue}),k.escape&&this.setOption({escape:k.escape.currentValue}),k.showDelay&&this.setOption({showDelay:k.showDelay.currentValue}),k.hideDelay&&this.setOption({hideDelay:k.hideDelay.currentValue}),k.life&&this.setOption({life:k.life.currentValue}),k.positionTop&&this.setOption({positionTop:k.positionTop.currentValue}),k.positionLeft&&this.setOption({positionLeft:k.positionLeft.currentValue}),k.disabled&&this.setOption({disabled:k.disabled.currentValue}),k.content&&(this.setOption({tooltipLabel:k.content.currentValue}),this.active&&(k.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),k.autoHide&&this.setOption({autoHide:k.autoHide.currentValue}),k.id&&this.setOption({id:k.id.currentValue}),k.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...k.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(k){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(k){(this.isAutoHide()||!(F.D.hasClass(k.relatedTarget,"p-tooltip")||F.D.hasClass(k.relatedTarget,"p-tooltip-text")||F.D.hasClass(k.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(k){this.activate()}onBlur(k){this.deactivate()}onInputClick(k){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let k=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},k)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let k=document.createElement("div");k.className="p-tooltip-arrow",this.container.appendChild(k),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?F.D.appendChild(this.container,this.el.nativeElement):F.D.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",W=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),F.D.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?re.Q$.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&re.Q$.clear(this.container),this.remove()}updateText(){const k=this.getOption("tooltipLabel");if(k instanceof v.C4Q){const W=this.viewContainer.createEmbeddedView(k);W.detectChanges(),W.rootNodes.forEach(J=>this.tooltipText.appendChild(J))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(k))):this.tooltipText.innerHTML=k}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let k=this.el.nativeElement.getBoundingClientRect();return{left:k.left+F.D.getWindowScrollLeft(),top:k.top+F.D.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let k=this.getHostOffset(),W=k.left+F.D.getOuterWidth(this.el.nativeElement),J=k.top+(F.D.getOuterHeight(this.el.nativeElement)-F.D.getOuterHeight(this.container))/2;this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let k=this.getHostOffset(),W=k.left-F.D.getOuterWidth(this.container),J=k.top+(F.D.getOuterHeight(this.el.nativeElement)-F.D.getOuterHeight(this.container))/2;this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let k=this.getHostOffset(),W=k.left+(F.D.getOuterWidth(this.el.nativeElement)-F.D.getOuterWidth(this.container))/2,J=k.top-F.D.getOuterHeight(this.container);this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let k=this.getHostOffset(),W=k.left+(F.D.getOuterWidth(this.el.nativeElement)-F.D.getOuterWidth(this.container))/2,J=k.top+F.D.getOuterHeight(this.el.nativeElement);this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}setOption(k){this._tooltipOptions={...this._tooltipOptions,...k}}getOption(k){return this._tooltipOptions[k]}getTarget(k){return F.D.hasClass(k,"p-inputwrapper")?F.D.findSingle(k,"input"):k}preAlign(k){this.container.style.left="-999px",this.container.style.top="-999px";let W="p-tooltip p-component p-tooltip-"+k;this.container.className=this.getOption("tooltipStyleClass")?W+" "+this.getOption("tooltipStyleClass"):W}isOutOfBounds(){let k=this.container.getBoundingClientRect(),W=k.top,J=k.left,le=F.D.getOuterWidth(this.container),fe=F.D.getOuterHeight(this.container),be=F.D.getViewport();return J+le>be.width||J<0||W<0||W+fe>be.height}onWindowResize(k){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new F.b(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let k=this.getTarget(this.el.nativeElement);k.removeEventListener("focus",this.focusListener),k.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):F.D.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&re.Q$.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(W){return new(W||$)(v.rXU(v.Agw),v.rXU(v.aKT),v.rXU(v.SKi),v.rXU(f.r1),v.rXU(v.sFG),v.rXU(v.c1b))};static \u0275dir=v.FsC({type:$,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(W,J){1&W&&v.bIt("keydown.escape",function(fe){return J.onPressEscape(fe)},!1,v.EBC)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[v.Mj6.None,"pTooltip","content"],disabled:[v.Mj6.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[v.OA$]})}return $})(),A=(()=>{class ${static \u0275fac=function(W){return new(W||$)};static \u0275mod=v.$C({type:$});static \u0275inj=v.G2t({imports:[g.MD]})}return $})()},4420:(Ze,De,N)=>{N.d(De,{BF:()=>g,Q$:()=>f,_Y:()=>F});class g{static equals(A,$,H){return H?this.resolveFieldData(A,H)===this.resolveFieldData($,H):this.equalsByValue(A,$)}static equalsByValue(A,$){if(A===$)return!0;if(A&&$&&"object"==typeof A&&"object"==typeof $){var W,J,le,H=Array.isArray(A),k=Array.isArray($);if(H&&k){if((J=A.length)!=$.length)return!1;for(W=J;0!=W--;)if(!this.equalsByValue(A[W],$[W]))return!1;return!0}if(H!=k)return!1;var fe=this.isDate(A),be=this.isDate($);if(fe!=be)return!1;if(fe&&be)return A.getTime()==$.getTime();var Le=A instanceof RegExp,He=$ instanceof RegExp;if(Le!=He)return!1;if(Le&&He)return A.toString()==$.toString();var at=Object.keys(A);if((J=at.length)!==Object.keys($).length)return!1;for(W=J;0!=W--;)if(!Object.prototype.hasOwnProperty.call($,at[W]))return!1;for(W=J;0!=W--;)if(!this.equalsByValue(A[le=at[W]],$[le]))return!1;return!0}return A!=A&&$!=$}static resolveFieldData(A,$){if(A&&$){if(this.isFunction($))return $(A);if(-1==$.indexOf("."))return A[$];{let H=$.split("."),k=A;for(let W=0,J=H.length;W=A.length&&(H%=A.length,$%=A.length),A.splice(H,0,A.splice($,1)[0]))}static insertIntoOrderedArray(A,$,H,k){if(H.length>0){let W=!1;for(let J=0;J$){H.splice(J,0,A),W=!0;break}W||H.push(A)}else H.push(A)}static findIndexInList(A,$){let H=-1;if($)for(let k=0;k<$.length;k++)if($[k]==A){H=k;break}return H}static contains(A,$){if(null!=A&&$&&$.length)for(let H of $)if(this.equals(A,H))return!0;return!1}static removeAccents(A){return A&&A.search(/[\xC0-\xFF]/g)>-1&&(A=A.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),A}static isDate(A){return"[object Date]"===Object.prototype.toString.call(A)}static isEmpty(A){return null==A||""===A||Array.isArray(A)&&0===A.length||!this.isDate(A)&&"object"==typeof A&&0===Object.keys(A).length}static isNotEmpty(A){return!this.isEmpty(A)}static compare(A,$,H,k=1){let W=-1;const J=this.isEmpty(A),le=this.isEmpty($);return W=J&&le?0:J?k:le?-k:"string"==typeof A&&"string"==typeof $?A.localeCompare($,H,{numeric:!0}):A<$?-1:A>$?1:0,W}static sort(A,$,H=1,k,W=1){const J=g.compare(A,$,k,H);let le=H;return(g.isEmpty(A)||g.isEmpty($))&&(le=1===W?H:W),le*J}static merge(A,$){if(null!=A||null!=$)return null!=A&&"object"!=typeof A||null!=$&&"object"!=typeof $?null!=A&&"string"!=typeof A||null!=$&&"string"!=typeof $?$||A:[A||"",$||""].join(" "):{...A||{},...$||{}}}static isPrintableCharacter(A=""){return this.isNotEmpty(A)&&1===A.length&&A.match(/\S| /)}static getItemValue(A,...$){return this.isFunction(A)?A(...$):A}static findLastIndex(A,$){let H=-1;if(this.isNotEmpty(A))try{H=A.findLastIndex($)}catch{H=A.lastIndexOf([...A].reverse().find($))}return H}static findLast(A,$){let H;if(this.isNotEmpty(A))try{H=A.findLast($)}catch{H=[...A].reverse().find($)}return H}}var v=0;function F(L="pn_id_"){return`${L}${++v}`}var f=function re(){let L=[];const k=W=>W&&parseInt(W.style.zIndex,10)||0;return{get:k,set:(W,J,le)=>{J&&(J.style.zIndex=String(((W,J)=>{let le=L.length>0?L[L.length-1]:{key:W,value:J},fe=le.value+(le.key===W?0:J)+2;return L.push({key:W,value:fe}),fe})(W,le)))},clear:W=>{W&&((W=>{L=L.filter(J=>J.value!==W)})(k(W)),W.style.zIndex="")},getCurrent:()=>L.length>0?L[L.length-1].value:0}}()},467:(Ze,De,N)=>{function g(F,re,f,L,A,$,H){try{var k=F[$](H),W=k.value}catch(J){return void f(J)}k.done?re(W):Promise.resolve(W).then(L,A)}function v(F){return function(){var re=this,f=arguments;return new Promise(function(L,A){var $=F.apply(re,f);function H(W){g($,L,A,H,k,"next",W)}function k(W){g($,L,A,H,k,"throw",W)}H(void 0)})}}N.d(De,{A:()=>v})},1635:(Ze,De,N)=>{function J(me,Ce,Se,Me){return new(Se||(Se=Promise))(function(Fe,st){function Lt(en){try{dt(Me.next(en))}catch(_n){st(_n)}}function Ut(en){try{dt(Me.throw(en))}catch(_n){st(_n)}}function dt(en){en.done?Fe(en.value):function je(Fe){return Fe instanceof Se?Fe:new Se(function(st){st(Fe)})}(en.value).then(Lt,Ut)}dt((Me=Me.apply(me,Ce||[])).next())})}function $e(me){return this instanceof $e?(this.v=me,this):new $e(me)}function pe(me,Ce,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var je,Me=Se.apply(me,Ce||[]),Fe=[];return je={},st("next"),st("throw"),st("return"),je[Symbol.asyncIterator]=function(){return this},je;function st(Gt){Me[Gt]&&(je[Gt]=function(Ve){return new Promise(function(In,Pn){Fe.push([Gt,Ve,In,Pn])>1||Lt(Gt,Ve)})})}function Lt(Gt,Ve){try{!function Ut(Gt){Gt.value instanceof $e?Promise.resolve(Gt.value.v).then(dt,en):_n(Fe[0][2],Gt)}(Me[Gt](Ve))}catch(In){_n(Fe[0][3],In)}}function dt(Gt){Lt("next",Gt)}function en(Gt){Lt("throw",Gt)}function _n(Gt,Ve){Gt(Ve),Fe.shift(),Fe.length&&Lt(Fe[0][0],Fe[0][1])}}function se(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,Ce=me[Symbol.asyncIterator];return Ce?Ce.call(me):(me=function Le(me){var Ce="function"==typeof Symbol&&Symbol.iterator,Se=Ce&&me[Ce],Me=0;if(Se)return Se.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&Me>=me.length&&(me=void 0),{value:me&&me[Me++],done:!me}}};throw new TypeError(Ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),Se={},Me("next"),Me("throw"),Me("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Me(Fe){Se[Fe]=me[Fe]&&function(st){return new Promise(function(Lt,Ut){!function je(Fe,st,Lt,Ut){Promise.resolve(Ut).then(function(dt){Fe({value:dt,done:Lt})},st)}(Lt,Ut,(st=me[Fe](st)).done,st.value)})}}}N.d(De,{AQ:()=>pe,N3:()=>$e,sH:()=>J,xN:()=>se}),"function"==typeof SuppressedError&&SuppressedError}},Ze=>{Ze(Ze.s=1480)}]); \ No newline at end of file diff --git a/main.e682bfe0caa534e6.js b/main.e682bfe0caa534e6.js deleted file mode 100644 index 178e6b6..0000000 --- a/main.e682bfe0caa534e6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkgrassland_literature_review=self.webpackChunkgrassland_literature_review||[]).push([[792],{6497:(Ze,De,N)=>{N.d(De,{G:()=>$});var g=N(177),v=N(4341),F=N(5875),re=N(494),f=N(1141),L=N(1631),A=N(4438);let $=(()=>{class H{static#e=this.\u0275fac=function(J){return new(J||H)};static#t=this.\u0275mod=A.$C({type:H});static#n=this.\u0275inj=A.G2t({imports:[g.MD,v.YN,F.n,re.Ko,f.tm,L.H_]})}return H})()},7693:(Ze,De,N)=>{N.d(De,{Y:()=>F});var g=N(4438),v=N(1413);let F=(()=>{class re{constructor(){this._config={ripple:!1,inputStyle:"outlined",menuMode:"static",colorScheme:"light",theme:"green",scale:14,menuTheme:"primaryColor"},this.config=(0,g.vPA)(this._config),this.state={staticMenuDesktopInactive:!1,overlayMenuActive:!1,profileSidebarVisible:!1,configSidebarVisible:!1,staticMenuMobileActive:!1,menuHoverActive:!1,sidebarActive:!1,anchored:!1},this.configUpdate=new v.B,this.overlayOpen=new v.B,this.configUpdate$=this.configUpdate.asObservable(),this.overlayOpen$=this.overlayOpen.asObservable(),(0,g.QZP)(()=>{const L=this.config();this.updateStyle(L)&&this.changeTheme(),this.changeScale(L.scale),this.onConfigUpdate()})}updateStyle(L){return L.theme!==this._config.theme||L.colorScheme!==this._config.colorScheme}onMenuToggle(){this.isOverlay()&&(this.state.overlayMenuActive=!this.state.overlayMenuActive,this.state.overlayMenuActive&&this.overlayOpen.next(null)),this.isDesktop()?this.state.staticMenuDesktopInactive=!this.state.staticMenuDesktopInactive:(this.state.staticMenuMobileActive=!this.state.staticMenuMobileActive,this.state.staticMenuMobileActive&&this.overlayOpen.next(null))}onOverlaySubmenuOpen(){this.overlayOpen.next(null)}showProfileSidebar(){this.state.profileSidebarVisible=!0}showConfigSidebar(){this.state.configSidebarVisible=!0}isOverlay(){return"overlay"===this.config().menuMode}isDesktop(){return window.innerWidth>991}isSlim(){return"slim"===this.config().menuMode}isSlimPlus(){return"slim-plus"===this.config().menuMode}isHorizontal(){return"horizontal"===this.config().menuMode}isMobile(){return!this.isDesktop()}onConfigUpdate(){this._config={...this.config()},this.configUpdate.next(this.config())}changeTheme(){const L=this.config(),H=document.getElementById("theme-link").getAttribute("href").split("/").map(k=>k==this._config.theme?k=L.theme:k==`theme-${this._config.colorScheme}`?k=`theme-${L.colorScheme}`:k).join("/");this.replaceThemeLink(H)}replaceThemeLink(L){const A="theme-link";let $=document.getElementById(A);const H=$.cloneNode(!0);H.setAttribute("href",L),H.setAttribute("id",A+"-clone"),$.parentNode.insertBefore(H,$.nextSibling),H.addEventListener("load",()=>{$.remove(),H.setAttribute("id",A)})}changeScale(L){document.documentElement.style.fontSize=`${L}px`}static#e=this.\u0275fac=function(A){return new(A||re)};static#t=this.\u0275prov=g.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},4125:(Ze,De,N)=>{N.d(De,{F:()=>F});var g=N(4438),v=N(1626);let F=(()=>{class re{constructor(L){this.http=L}getSources(L,A,$,H,k){let W={type_source:L,page:A};return $&&(W.search=$),void 0!==H&&(W.cluster=H),void 0!==k&&(W.sort_active=k.active,W.sort_direction=k.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${L}`,{params:W})}getTotal(L,A,$,H){let k={type_source:L,page:0};return A&&(k.search=A),void 0!==$&&(k.cluster=$),void 0!==H&&(k.sort_active=H.active,k.sort_direction=H.direction),this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/list/${L}`,{params:k})}getSource(L){return this.http.get(`https://download.lapig.iesa.ufg.br/api/bibio/works/id/${L}`)}static#e=this.\u0275fac=function(A){return new(A||re)(g.KVO(v.Qq))};static#t=this.\u0275prov=g.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},894:(Ze,De,N)=>{N.d(De,{d:()=>F});var g=N(4412),v=N(4438);let F=(()=>{class re{constructor(){this.statusSource=new g.t({total:0,pages:0}),this.statusSource$=this.statusSource.asObservable()}setStatus(L){this.statusSource.next(L)}static#e=this.\u0275fac=function(A){return new(A||re)};static#t=this.\u0275prov=v.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})()},139:(Ze,De,N)=>{N.d(De,{F:()=>L});var g=N(4412),v=N(4438),F=N(4125),re=N(894);let L=(()=>{class A{constructor(H,k){this.sourceService=H,this.statusSourceService=k,this.table=new g.t([]),this._search=new g.t(void 0),this.search$=this._search.asObservable(),this.table$=this.table.asObservable(),this.type_source="all",this.page=1,this.limit=1e3,this.full=!0}setInfo(H,k){this.type_source=H,this.cluster=k,this.getSourcesData(1)}applyFilter(H){this.search=H,this._search.next(H),this.getSourcesData(1)}getSourcesData(H){this.pageIndex=H,1===H&&this.getTotal(),this.sourceService.getSources(this.type_source,H,this.search,this.cluster,this.sortState).subscribe(k=>{this.setData(k)},k=>{console.error("Erro ao obter dados da fonte:",k)})}getTotal(){this.sourceService.getTotal(this.type_source,this.search,this.cluster,this.sortState).subscribe(H=>{this.statusSourceService.setStatus(H),this.limit=H.total},H=>{console.error("Erro ao obter dados da fonte:",H)})}setData(H){this.table.next(H)}announceSortChange(H){this.sortState=H,this.getSourcesData(1)}static#e=this.\u0275fac=function(k){return new(k||A)(v.KVO(F.F),v.KVO(re.d))};static#t=this.\u0275prov=v.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},1480:(Ze,De,N)=>{var g=N(345),v=N(177),F=N(7488),re=N(5964),f=N(4438),L=N(7693);function A(S,u){if(1&S&&f.nrm(0,"li",4),2&S){const l=f.XpG(),w=l.index;f.Y8G("item",l.$implicit)("index",w)("root",!0)}}function $(S,u){1&S&&f.nrm(0,"li",5)}function H(S,u){if(1&S&&(f.qex(0),f.DNE(1,A,1,3,"li",2)(2,$,1,0,"li",3),f.bVm()),2&S){const l=u.$implicit;f.R7$(),f.Y8G("ngIf",!l.separator),f.R7$(),f.Y8G("ngIf",l.separator)}}let k=(()=>{class S{constructor(){this.model=[]}ngOnInit(){this.model=[{label:"HOME",icon:"pi pi-home",items:[{label:"Literature",icon:"pi pi-fw pi-book",routerLink:["/literature"]}]},{label:"Cluster",icon:"pi pi-home",items:[{label:"Pasture Cluster",icon:"pi pi-fw pi-book",routerLink:["/literature/cluster/pasture"]}]}]}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-menu"]],decls:2,vars:1,consts:[[1,"layout-menu"],[4,"ngFor","ngForOf"],["app-menuitem","",3,"item","index","root",4,"ngIf"],["class","menu-separator",4,"ngIf"],["app-menuitem","",3,"item","index","root"],[1,"menu-separator"]],template:function(_,w){1&_&&(f.j41(0,"ul",0),f.DNE(1,H,3,2,"ng-container",1),f.k0s()),2&_&&(f.R7$(),f.Y8G("ngForOf",w.model))},encapsulation:2})}return S})();const W=["menuContainer"],J=()=>["/"];let le=(()=>{class S{constructor(l,_){this.layoutService=l,this.el=_,this.timeout=null}onMouseEnter(){this.layoutService.state.anchored||(this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.layoutService.state.sidebarActive=!0)}onMouseLeave(){this.layoutService.state.anchored||this.timeout||(this.timeout=setTimeout(()=>this.layoutService.state.sidebarActive=!1,300))}anchor(){this.layoutService.state.anchored=!this.layoutService.state.anchored}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y),f.rXU(f.aKT))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-sidebar"]],viewQuery:function(_,w){if(1&_&&f.GBs(W,5),2&_){let x;f.mGM(x=f.lsd())&&(w.menuContainer=x.first)}},decls:9,vars:2,consts:[["menuContainer",""],[1,"layout-sidebar",3,"mouseenter","mouseleave"],[1,"sidebar-header"],[1,"app-logo",3,"routerLink"],["src","assets/layout/images/logo.png",1,"app-logo-small"],["src","assets/layout/images/logo.png",1,"app-logo-normal"],["type","button",1,"layout-sidebar-anchor","p-link","z-2","mb-2",3,"click"],[1,"layout-menu-container"]],template:function(_,w){if(1&_){const x=f.RV6();f.j41(0,"div",1),f.bIt("mouseenter",function(){return f.eBV(x),f.Njj(w.onMouseEnter())})("mouseleave",function(){return f.eBV(x),f.Njj(w.onMouseLeave())}),f.j41(1,"div",2)(2,"a",3),f.nrm(3,"img",4)(4,"img",5),f.k0s(),f.j41(5,"button",6),f.bIt("click",function(){return f.eBV(x),f.Njj(w.anchor())}),f.k0s()(),f.j41(6,"div",7,0),f.nrm(8,"app-menu"),f.k0s()()}2&_&&(f.R7$(2),f.Y8G("routerLink",f.lJ4(1,J)))},dependencies:[F.Wk,k],encapsulation:2})}return S})();var fe=N(894),be=N(139),Le=N(2242),He=N(1141),at=N(4412);function Bt(S,u){1&S&&(f.j41(0,"li",3),f.EFF(1," / "),f.k0s())}function St(S,u){if(1&S&&(f.j41(0,"li"),f.EFF(1),f.k0s(),f.DNE(2,Bt,2,0,"li",2)),2&S){const l=u.$implicit,_=u.last;f.R7$(),f.JRh(l.label),f.R7$(),f.Y8G("ngIf",!_)}}let $e=(()=>{class S{constructor(l){this.router=l,this._breadcrumbs$=new at.t([]),this.breadcrumbs$=this._breadcrumbs$.asObservable(),this.router.events.pipe((0,re.p)(_=>_ instanceof F.wF)).subscribe(_=>{const x=[];this.addBreadcrumb(this.router.routerState.snapshot.root,[],x),this._breadcrumbs$.next(x)})}addBreadcrumb(l,_,w){const x=_.concat(l.url.map(te=>te.path)),G=l.data.breadcrumb;G&&G!==(l.parent&&l.parent.data?l.parent.data.breadcrumb:null)&&w.push({label:l.data.breadcrumb,url:"/"+x.join("/")}),l.firstChild&&this.addBreadcrumb(l.firstChild,x,w)}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(F.Ix))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-breadcrumb"]],decls:4,vars:3,consts:[[1,"layout-breadcrumb"],["ngFor","",3,"ngForOf"],["class","layout-breadcrumb-chevron",4,"ngIf"],[1,"layout-breadcrumb-chevron"]],template:function(_,w){1&_&&(f.j41(0,"nav",0)(1,"ol"),f.DNE(2,St,3,2,"ng-template",1),f.nI1(3,"async"),f.k0s()()),2&_&&(f.R7$(2),f.Y8G("ngForOf",f.bMT(3,1,w.breadcrumbs$)))},dependencies:[v.Sq,v.bT,v.Jj],encapsulation:2})}return S})();const pe=["menubutton"];function et(S,u){if(1&S&&(f.j41(0,"div",16)(1,"h4"),f.EFF(2),f.nI1(3,"number"),f.k0s()()),2&S){const l=f.XpG();f.R7$(2),f.SpI("Total records: ",f.bMT(3,1,l.statisSource.total),"")}}let se=(()=>{class S{constructor(l,_,w){this.layoutService=l,this.statusSource=_,this.tableService=w}ngOnInit(){this.statusSource.statusSource$.subscribe(l=>{this.statisSource=l})}onMenuButtonClick(){this.layoutService.onMenuToggle()}onProfileButtonClick(){this.layoutService.showProfileSidebar()}onConfigButtonClick(){this.layoutService.showConfigSidebar()}applyFilter(l){console.log("CLiquei no bot\xe3o"),this.tableService.applyFilter(l)}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y),f.rXU(fe.d),f.rXU(be.F))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-topbar"]],viewQuery:function(_,w){if(1&_&&f.GBs(pe,5),2&_){let x;f.mGM(x=f.lsd())&&(w.menuButton=x.first)}},decls:16,vars:1,consts:[["menubutton",""],["serach",""],[1,"layout-topbar"],[1,"topbar-start"],["type","button",1,"topbar-menubutton","p-link","p-trigger",3,"click"],[1,"pi","pi-bars"],[1,"topbar-breadcrumb"],["class","flex align-items-center justify-content-center",4,"ngIf"],[1,"topbar-end"],[1,"topbar-menu"],[1,"topbar-search"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search",1,"w-12rem","sm:w-full"],[1,"ml-3"],["pButton","","type","button","icon","pi pi-search",1,"p-button-text","p-button-secondary","p-button-rounded","flex-shrinkcog-0",3,"click"],[1,"flex","align-items-center","justify-content-center"]],template:function(_,w){if(1&_){const x=f.RV6();f.j41(0,"div",2)(1,"div",3)(2,"button",4,0),f.bIt("click",function(){return f.eBV(x),f.Njj(w.onMenuButtonClick())}),f.nrm(4,"i",5),f.k0s(),f.nrm(5,"app-breadcrumb",6),f.k0s(),f.DNE(6,et,4,3,"div",7),f.j41(7,"div",8)(8,"ul",9)(9,"li",10)(10,"span",11),f.nrm(11,"i",12)(12,"input",13,1),f.k0s()(),f.j41(14,"li",14)(15,"button",15),f.bIt("click",function(){f.eBV(x);const U=f.sdS(13);return f.Njj(w.applyFilter(U.value))}),f.k0s()()()()()}2&_&&(f.R7$(6),f.Y8G("ngIf",w.statisSource.total))},dependencies:[v.bT,Le.S,He._f,$e,v.QX],encapsulation:2})}return S})();var ne=N(1413);let Ie=(()=>{class S{constructor(){this.menuSource=new ne.B,this.resetSource=new ne.B,this.menuSource$=this.menuSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onMenuStateChange(l){this.menuSource.next(l)}reset(){this.resetSource.next(!0)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();var Ee=N(5875),Y=N(6150);let xe=(()=>{class S{constructor(l){this.layoutService=l}get visible(){return this.layoutService.state.profileSidebarVisible}set visible(l){this.layoutService.state.profileSidebarVisible=l}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(L.Y))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-profilemenu"]],decls:112,vars:2,consts:[["position","right","styleClass","layout-profile-sidebar w-full sm:w-25rem",3,"visibleChange","visible","transitionOptions"],[1,"flex","flex-column","mx-auto","md:mx-0"],[1,"mb-2","font-semibold"],[1,"text-color-secondary","font-medium","mb-5"],[1,"list-none","m-0","p-0"],[1,"cursor-pointer","flex","surface-border","mb-3","p-3","align-items-center","border-1","surface-border","border-round","hover:surface-hover","transition-colors","transition-duration-150"],[1,"pi","pi-user","text-xl","text-primary"],[1,"ml-3"],[1,"text-color-secondary","m-0"],[1,"pi","pi-cog","text-xl","text-primary"],[1,"pi","pi-power-off","text-xl","text-primary"],[1,"flex","flex-column","mt-5","mx-auto","md:mx-0"],[1,"pi","pi-comment","text-xl","text-primary"],[1,"pi","pi-trash","text-xl","text-primary"],[1,"pi","pi-folder","text-xl","text-primary"],["src","assets/demo/images/avatar/circle/avatar-m-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","3",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-8.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","1",1,"ml-auto"],["src","assets/demo/images/avatar/circle/avatar-f-4.png","alt","Avatar",1,"w-2rem","h-2rem"],["value","2",1,"ml-auto"]],template:function(_,w){1&_&&(f.j41(0,"p-sidebar",0),f.mxI("visibleChange",function(G){return f.DH7(w.visible,G)||(w.visible=G),G}),f.j41(1,"div",1)(2,"span",2),f.EFF(3,"Welcome"),f.k0s(),f.j41(4,"span",3),f.EFF(5,"Isabella Andolini"),f.k0s(),f.j41(6,"ul",4)(7,"li")(8,"a",5)(9,"span"),f.nrm(10,"i",6),f.k0s(),f.j41(11,"div",7)(12,"span",2),f.EFF(13,"Profile"),f.k0s(),f.j41(14,"p",8),f.EFF(15,"Lorem ipsum date visale"),f.k0s()()()(),f.j41(16,"li")(17,"a",5)(18,"span"),f.nrm(19,"i",6),f.k0s(),f.j41(20,"div",7)(21,"span",2),f.EFF(22,"Billing"),f.k0s(),f.j41(23,"p",8),f.EFF(24,"Amet mimin m\u0131ollit"),f.k0s()()()(),f.j41(25,"li")(26,"a",5)(27,"span"),f.nrm(28,"i",9),f.k0s(),f.j41(29,"div",7)(30,"span",2),f.EFF(31,"Settings"),f.k0s(),f.j41(32,"p",8),f.EFF(33,"Exercitation veniam"),f.k0s()()()(),f.j41(34,"li")(35,"a",5)(36,"span"),f.nrm(37,"i",10),f.k0s(),f.j41(38,"div",7)(39,"span",2),f.EFF(40,"Sign Out"),f.k0s(),f.j41(41,"p",8),f.EFF(42,"Sed ut perspiciatis"),f.k0s()()()()()(),f.j41(43,"div",11)(44,"span",2),f.EFF(45,"Notifications"),f.k0s(),f.j41(46,"span",3),f.EFF(47,"You have 3 notifications"),f.k0s(),f.j41(48,"ul",4)(49,"li")(50,"a",5)(51,"span"),f.nrm(52,"i",12),f.k0s(),f.j41(53,"div",7)(54,"span",2),f.EFF(55,"Your post has new comments"),f.k0s(),f.j41(56,"p",8),f.EFF(57,"5 min ago"),f.k0s()()()(),f.j41(58,"li")(59,"a",5)(60,"span"),f.nrm(61,"i",13),f.k0s(),f.j41(62,"div",7)(63,"span",2),f.EFF(64,"Your post has been deleted"),f.k0s(),f.j41(65,"p",8),f.EFF(66,"15min ago"),f.k0s()()()(),f.j41(67,"li")(68,"a",5)(69,"span"),f.nrm(70,"i",14),f.k0s(),f.j41(71,"div",7)(72,"span",2),f.EFF(73,"Post has been updated"),f.k0s(),f.j41(74,"p",8),f.EFF(75,"3h ago"),f.k0s()()()()()(),f.j41(76,"div",11)(77,"span",2),f.EFF(78,"Messages"),f.k0s(),f.j41(79,"span",3),f.EFF(80,"You have new messages"),f.k0s(),f.j41(81,"ul",4)(82,"li")(83,"a",5)(84,"span"),f.nrm(85,"img",15),f.k0s(),f.j41(86,"div",7)(87,"span",2),f.EFF(88,"James Robinson"),f.k0s(),f.j41(89,"p",8),f.EFF(90,"10 min ago"),f.k0s()(),f.nrm(91,"p-badge",16),f.k0s()(),f.j41(92,"li")(93,"a",5)(94,"span"),f.nrm(95,"img",17),f.k0s(),f.j41(96,"div",7)(97,"span",2),f.EFF(98,"Mary Watson"),f.k0s(),f.j41(99,"p",8),f.EFF(100,"15min ago"),f.k0s()(),f.nrm(101,"p-badge",18),f.k0s()(),f.j41(102,"li")(103,"a",5)(104,"span"),f.nrm(105,"img",19),f.k0s(),f.j41(106,"div",7)(107,"span",2),f.EFF(108,"Aisha Webb"),f.k0s(),f.j41(109,"p",8),f.EFF(110,"3h ago"),f.k0s()(),f.nrm(111,"p-badge",20),f.k0s()()()()()),2&_&&(f.R50("visible",w.visible),f.Y8G("transitionOptions",".3s cubic-bezier(0, 0, 0.2, 1)"))},dependencies:[Ee.B,Y.Ex],encapsulation:2})}return S})();const qe={anchorScrolling:"enabled"},Oe=[{path:"",loadChildren:()=>N.e(726).then(N.bind(N,2726)).then(S=>S.LandingModule)},{path:"literature",component:(()=>{class S{constructor(l,_,w,x){this.menuService=l,this.layoutService=_,this.renderer=w,this.router=x,this.overlayMenuOpenSubscription=this.layoutService.overlayOpen$.subscribe(()=>{this.menuOutsideClickListener||(this.menuOutsideClickListener=this.renderer.listen("document","click",G=>{!(this.appSidebar.el.nativeElement.isSameNode(G.target)||this.appSidebar.el.nativeElement.contains(G.target)||this.appTopbar.menuButton.nativeElement.isSameNode(G.target)||this.appTopbar.menuButton.nativeElement.contains(G.target))&&this.hideMenu()})),(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&!this.menuScrollListener&&(this.menuScrollListener=this.renderer.listen(this.appSidebar.menuContainer.nativeElement,"scroll",G=>{this.layoutService.isDesktop()&&this.hideMenu()})),this.layoutService.state.staticMenuMobileActive&&this.blockBodyScroll()}),this.router.events.pipe((0,re.p)(G=>G instanceof F.wF)).subscribe(()=>{this.hideMenu()})}blockBodyScroll(){document.body.classList?document.body.classList.add("blocked-scroll"):document.body.className+=" blocked-scroll"}unblockBodyScroll(){document.body.classList?document.body.classList.remove("blocked-scroll"):document.body.className=document.body.className.replace(new RegExp("(^|\\b)"+"blocked-scroll".split(" ").join("|")+"(\\b|$)","gi")," ")}hideMenu(){this.layoutService.state.overlayMenuActive=!1,this.layoutService.state.staticMenuMobileActive=!1,this.layoutService.state.menuHoverActive=!1,this.menuService.reset(),this.menuOutsideClickListener&&(this.menuOutsideClickListener(),this.menuOutsideClickListener=null),this.menuScrollListener&&(this.menuScrollListener(),this.menuScrollListener=null),this.unblockBodyScroll()}get containerClass(){return{"layout-light":"light"===this.layoutService.config().colorScheme,"layout-dim":"dim"===this.layoutService.config().colorScheme,"layout-dark":"dark"===this.layoutService.config().colorScheme,"layout-colorscheme-menu":"colorScheme"===this.layoutService.config().menuTheme,"layout-primarycolor-menu":"primaryColor"===this.layoutService.config().menuTheme,"layout-transparent-menu":"transparent"===this.layoutService.config().menuTheme,"layout-overlay":"overlay"===this.layoutService.config().menuMode,"layout-static":"static"===this.layoutService.config().menuMode,"layout-slim":"slim"===this.layoutService.config().menuMode,"layout-slim-plus":"slim-plus"===this.layoutService.config().menuMode,"layout-horizontal":"horizontal"===this.layoutService.config().menuMode,"layout-reveal":"reveal"===this.layoutService.config().menuMode,"layout-drawer":"drawer"===this.layoutService.config().menuMode,"layout-static-inactive":this.layoutService.state.staticMenuDesktopInactive&&"static"===this.layoutService.config().menuMode,"layout-overlay-active":this.layoutService.state.overlayMenuActive,"layout-mobile-active":this.layoutService.state.staticMenuMobileActive,"p-input-filled":"filled"===this.layoutService.config().inputStyle,"p-ripple-disabled":!this.layoutService.config().ripple,"layout-sidebar-active":this.layoutService.state.sidebarActive,"layout-sidebar-anchored":this.layoutService.state.anchored}}ngOnDestroy(){this.overlayMenuOpenSubscription&&this.overlayMenuOpenSubscription.unsubscribe(),this.menuOutsideClickListener&&this.menuOutsideClickListener()}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(Ie),f.rXU(L.Y),f.rXU(f.sFG),f.rXU(F.Ix))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-layout"]],viewQuery:function(_,w){if(1&_&&(f.GBs(le,5),f.GBs(se,5)),2&_){let x;f.mGM(x=f.lsd())&&(w.appSidebar=x.first),f.mGM(x=f.lsd())&&(w.appTopbar=x.first)}},decls:9,vars:1,consts:[[1,"layout-container",3,"ngClass"],[1,"layout-content-wrapper"],[1,"content-breadcrumb"],[1,"layout-content"],[1,"layout-mask"]],template:function(_,w){1&_&&(f.j41(0,"div",0),f.nrm(1,"app-sidebar"),f.j41(2,"div",1),f.nrm(3,"app-topbar")(4,"app-breadcrumb",2),f.j41(5,"div",3),f.nrm(6,"router-outlet"),f.k0s()(),f.nrm(7,"app-profilemenu")(8,"div",4),f.k0s()),2&_&&f.Y8G("ngClass",w.containerClass)},dependencies:[v.YU,F.n3,$e,le,se,xe],encapsulation:2})}return S})(),loadChildren:()=>N.e(503).then(N.bind(N,503)).then(S=>S.HomeModule)},{path:"notfound",loadChildren:()=>N.e(811).then(N.bind(N,6811)).then(S=>S.NotfoundModule)},{path:"**",redirectTo:"/notfound"}];let ze=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[F.iI.forRoot(Oe,qe),F.iI]})}return S})();var pt=N(3888),$t=N(8793),me=N(6697),Ce=N(9974),Se=N(4360),Me=N(5343),Fe=N(3703),st=N(1397),Lt=N(8750);function Ut(S,u){return u?l=>(0,$t.x)(u.pipe((0,me.s)(1),function je(){return(0,Ce.N)((S,u)=>{S.subscribe((0,Se._)(u,Me.l))})}()),l.pipe(Ut(S))):(0,st.Z)((l,_)=>(0,Lt.Tg)(S(l,_)).pipe((0,me.s)(1),(0,Fe.u)(l)))}var dt=N(1584),_n=N(5779);let Gt=(()=>{class S{constructor(){this.loadingSub=new at.t(!1),this.loadingMap=new Map}setLoading(l,_){if(!_)throw new Error("The request URL must be provided to the LoadingService.setLoading function");l?(this.loadingMap.set(_,l),this.loadingSub.next(!0)):!l&&this.loadingMap.has(_)&&this.loadingMap.delete(_),0===this.loadingMap.size&&this.loadingSub.next(!1)}show(){this.loadingSub.next(!0)}hide(){this.loadingSub.next(!1)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();var Ve=N(9969);let In=(()=>{class S{set show(l){this.state=l?"visible":"hidden"}constructor(){this.state="hidden"}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-loading"]],inputs:{show:"show"},decls:2,vars:1,consts:[[1,"loading","overlay"],["src","assets/layout/images/logo.png","alt","",1,"img-loading"]],template:function(_,w){1&_&&(f.j41(0,"div",0),f.nrm(1,"img",1),f.k0s()),2&_&&f.Y8G("@fade",w.state)},styles:[".loading[_ngcontent-%COMP%]{margin:auto}.overlay[_ngcontent-%COMP%]{position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;top:0;left:0;background-color:#4a4a4a66;z-index:99999}svg[_ngcontent-%COMP%]{z-index:1000000!important;margin:0 auto}.img-loading[_ngcontent-%COMP%]{width:72px;height:70px;animation:_ngcontent-%COMP%_pulse 1s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}"],data:{animation:[(0,Ve.hZ)("fade",[(0,Ve.wk)("visible",(0,Ve.iF)({opacity:1,visibility:"visible"})),(0,Ve.wk)("hidden",(0,Ve.iF)({opacity:0,visibility:"hidden"})),(0,Ve.kY)("visible <=> hidden",(0,Ve.i0)("400ms ease-in-out"))])]}})}return S})(),Pn=(()=>{class S{constructor(l,_){this.primengConfig=l,this.loadingService=_,this.loading=!1}ngOnInit(){this.primengConfig.ripple=!0,this.loadingService.loadingSub.pipe(function en(S,u=pt.E){const l=(0,dt.O)(S,u);return Ut(()=>l)}(0)).subscribe(l=>{this.loading=l})}static#e=this.\u0275fac=function(_){return new(_||S)(f.rXU(_n.r1),f.rXU(Gt))};static#t=this.\u0275cmp=f.VBU({type:S,selectors:[["app-root"]],decls:2,vars:1,consts:[[3,"show"]],template:function(_,w){1&_&&f.nrm(0,"app-loading",0)(1,"router-outlet"),2&_&&f.Y8G("show",w.loading)},dependencies:[F.n3,In],encapsulation:2})}return S})();var fn=N(4341),Gn=N(1626);function un(S){return new f.wOt(3e3,!1)}function Tr(S){switch(S.length){case 0:return new Ve.sf;case 1:return S[0];default:return new Ve.ui(S)}}function Es(S,u,l=new Map,_=new Map){const w=[],x=[];let G=-1,U=null;if(u.forEach(te=>{const ge=te.get("offset"),Ge=ge==G,ke=Ge&&U||new Map;te.forEach((yt,vt)=>{let Ye=vt,ot=yt;if("offset"!==vt)switch(Ye=S.normalizePropertyName(Ye,w),ot){case Ve.FX:ot=l.get(vt);break;case Ve.kp:ot=_.get(vt);break;default:ot=S.normalizeStyleValue(vt,Ye,ot,w)}ke.set(Ye,ot)}),Ge||x.push(ke),U=ke,G=ge}),w.length)throw function ce(S){return new f.wOt(3502,!1)}();return x}function On(S,u,l,_){switch(u){case"start":S.onStart(()=>_(l&&ft(l,"start",S)));break;case"done":S.onDone(()=>_(l&&ft(l,"done",S)));break;case"destroy":S.onDestroy(()=>_(l&&ft(l,"destroy",S)))}}function ft(S,u,l){const x=Ui(S.element,S.triggerName,S.fromState,S.toState,u||S.phaseName,l.totalTime??S.totalTime,!!l.disabled),G=S._data;return null!=G&&(x._data=G),x}function Ui(S,u,l,_,w="",x=0,G){return{element:S,triggerName:u,fromState:l,toState:_,phaseName:w,totalTime:x,disabled:!!G}}function hn(S,u,l){let _=S.get(u);return _||S.set(u,_=l),_}function Xr(S){const u=S.indexOf(":");return[S.substring(1,u),S.slice(u+1)]}const oi=typeof document>"u"?null:document.documentElement;function yr(S){const u=S.parentNode||S.host||null;return u===oi?null:u}let vr=null,qr=!1;function ji(S,u){for(;u;){if(u===S)return!0;u=yr(u)}return!1}function fr(S,u,l){if(l)return Array.from(S.querySelectorAll(u));const _=S.querySelector(u);return _?[_]:[]}let X=(()=>{class S{validateStyleProperty(l){return function Or(S){vr||(vr=function Yr(){return typeof document<"u"?document.body:null}()||{},qr=!!vr.style&&"WebkitAppearance"in vr.style);let u=!0;return vr.style&&!function Wt(S){return"ebkit"==S.substring(1,6)}(S)&&(u=S in vr.style,!u&&qr&&(u="Webkit"+S.charAt(0).toUpperCase()+S.slice(1)in vr.style)),u}(l)}matchesElement(l,_){return!1}containsElement(l,_){return ji(l,_)}getParentElement(l){return yr(l)}query(l,_,w){return fr(l,_,w)}computeStyle(l,_,w){return w||""}animate(l,_,w,x,G,U=[],te){return new Ve.sf(w,x)}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})();class q{static#e=this.NOOP=new X}class we{}const Ue=1e3,lt="ng-enter",Jt="ng-leave",Dn="ng-trigger",Ht=".ng-trigger",xn="ng-animating",Qn=".ng-animating";function sn(S){if("number"==typeof S)return S;const u=S.match(/^(-?[\.\d]+)(m?s)/);return!u||u.length<2?0:Pt(parseFloat(u[1]),u[2])}function Pt(S,u){return"s"===u?S*Ue:S}function xt(S,u,l){return S.hasOwnProperty("duration")?S:function Nn(S,u,l){let w,x=0,G="";if("string"==typeof S){const U=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===U)return u.push(un()),{duration:0,delay:0,easing:""};w=Pt(parseFloat(U[1]),U[2]);const te=U[3];null!=te&&(x=Pt(parseFloat(te),U[4]));const ge=U[5];ge&&(G=ge)}else w=S;if(!l){let U=!1,te=u.length;w<0&&(u.push(function ut(){return new f.wOt(3100,!1)}()),U=!0),x<0&&(u.push(function mr(){return new f.wOt(3101,!1)}()),U=!0),U&&u.splice(te,0,un())}return{duration:w,delay:x,easing:G}}(S,u,l)}function on(S,u,l){u.forEach((_,w)=>{const x=Ur(w);l&&!l.has(w)&&l.set(w,S.style[x]),S.style[x]=_})}function _t(S,u){u.forEach((l,_)=>{const w=Ur(_);S.style[w]=""})}function pn(S){return Array.isArray(S)?1==S.length?S[0]:(0,Ve.K2)(S):S}const wt=new RegExp("{{\\s*(.+?)\\s*}}","g");function _r(S){let u=[];if("string"==typeof S){let l;for(;l=wt.exec(S);)u.push(l[1]);wt.lastIndex=0}return u}function jn(S,u,l){const _=`${S}`,w=_.replace(wt,(x,G)=>{let U=u[G];return null==U&&(l.push(function si(S){return new f.wOt(3003,!1)}()),U=""),U.toString()});return w==_?S:w}const ai=/-+([a-z0-9])/g;function Ur(S){return S.replace(ai,(...u)=>u[1].toUpperCase())}function Xn(S,u,l){switch(u.type){case Ve.If.Trigger:return S.visitTrigger(u,l);case Ve.If.State:return S.visitState(u,l);case Ve.If.Transition:return S.visitTransition(u,l);case Ve.If.Sequence:return S.visitSequence(u,l);case Ve.If.Group:return S.visitGroup(u,l);case Ve.If.Animate:return S.visitAnimate(u,l);case Ve.If.Keyframes:return S.visitKeyframes(u,l);case Ve.If.Style:return S.visitStyle(u,l);case Ve.If.Reference:return S.visitReference(u,l);case Ve.If.AnimateChild:return S.visitAnimateChild(u,l);case Ve.If.AnimateRef:return S.visitAnimateRef(u,l);case Ve.If.Query:return S.visitQuery(u,l);case Ve.If.Stagger:return S.visitStagger(u,l);default:throw function sr(S){return new f.wOt(3004,!1)}()}}function Hi(S,u){return window.getComputedStyle(S)[u]}const qn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class ns extends we{normalizePropertyName(u,l){return Ur(u)}normalizeStyleValue(u,l,_,w){let x="";const G=_.toString().trim();if(qn.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)x="px";else{const U=_.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&0==U[1].length&&w.push(function Mt(S,u){return new f.wOt(3005,!1)}())}return G+x}}const li="*";const Nr=new Set(["true","1"]),Yn=new Set(["false","0"]);function Wi(S,u){const l=Nr.has(S)||Yn.has(S),_=Nr.has(u)||Yn.has(u);return(w,x)=>{let G=S==li||S==w,U=u==li||u==x;return!G&&l&&"boolean"==typeof w&&(G=w?Nr.has(S):Yn.has(S)),!U&&_&&"boolean"==typeof x&&(U=x?Nr.has(u):Yn.has(u)),G&&U}}const Zn=new RegExp("s*:selfs*,?","g");function gt(S,u,l,_){return new rs(S).build(u,l,_)}class rs{constructor(u){this._driver=u}build(u,l,_){const w=new Mi(l);return this._resetContextStyleTimingState(w),Xn(this,pn(u),w)}_resetContextStyleTimingState(u){u.currentQuerySelector="",u.collectedStyles=new Map,u.collectedStyles.set("",new Map),u.currentTime=0}visitTrigger(u,l){let _=l.queryCount=0,w=l.depCount=0;const x=[],G=[];return"@"==u.name.charAt(0)&&l.errors.push(function Dt(){return new f.wOt(3006,!1)}()),u.definitions.forEach(U=>{if(this._resetContextStyleTimingState(l),U.type==Ve.If.State){const te=U,ge=te.name;ge.toString().split(/\s*,\s*/).forEach(Ge=>{te.name=Ge,x.push(this.visitState(te,l))}),te.name=ge}else if(U.type==Ve.If.Transition){const te=this.visitTransition(U,l);_+=te.queryCount,w+=te.depCount,G.push(te)}else l.errors.push(function tr(){return new f.wOt(3007,!1)}())}),{type:Ve.If.Trigger,name:u.name,states:x,transitions:G,queryCount:_,depCount:w,options:null}}visitState(u,l){const _=this.visitStyle(u.styles,l),w=u.options&&u.options.params||null;if(_.containsDynamicStyles){const x=new Set,G=w||{};_.styles.forEach(U=>{U instanceof Map&&U.forEach(te=>{_r(te).forEach(ge=>{G.hasOwnProperty(ge)||x.add(ge)})})}),x.size&&l.errors.push(function or(S,u){return new f.wOt(3008,!1)}(0,x.values()))}return{type:Ve.If.State,name:u.name,style:_,options:w?{params:w}:null}}visitTransition(u,l){l.queryCount=0,l.depCount=0;const _=Xn(this,pn(u.animation),l),w=function Gi(S,u){const l=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach(_=>function Ws(S,u,l){if(":"==S[0]){const te=function jr(S,u){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_) *"}}(S,l);if("function"==typeof te)return void u.push(te);S=te}const _=S.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function mn(S){return new f.wOt(3015,!1)}()),u;const w=_[1],x=_[2],G=_[3];u.push(Wi(w,G)),"<"==x[0]&&(w!=li||G!=li)&&u.push(Wi(G,w))}(_,l,u)):l.push(S),l}(u.expr,l.errors);return{type:Ve.If.Transition,matchers:w,animation:_,queryCount:l.queryCount,depCount:l.depCount,options:rr(u.options)}}visitSequence(u,l){return{type:Ve.If.Sequence,steps:u.steps.map(_=>Xn(this,_,l)),options:rr(u.options)}}visitGroup(u,l){const _=l.currentTime;let w=0;const x=u.steps.map(G=>{l.currentTime=_;const U=Xn(this,G,l);return w=Math.max(w,l.currentTime),U});return l.currentTime=w,{type:Ve.If.Group,steps:x,options:rr(u.options)}}visitAnimate(u,l){const _=function ws(S,u){if(S.hasOwnProperty("duration"))return S;if("number"==typeof S)return zi(xt(S,u).duration,0,"");const l=S;if(l.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=zi(0,0,"");return x.dynamic=!0,x.strValue=l,x}const w=xt(l,u);return zi(w.duration,w.delay,w.easing)}(u.timings,l.errors);l.currentAnimateTimings=_;let w,x=u.styles?u.styles:(0,Ve.iF)({});if(x.type==Ve.If.Keyframes)w=this.visitKeyframes(x,l);else{let G=u.styles,U=!1;if(!G){U=!0;const ge={};_.easing&&(ge.easing=_.easing),G=(0,Ve.iF)(ge)}l.currentTime+=_.duration+_.delay;const te=this.visitStyle(G,l);te.isEmptyStep=U,w=te}return l.currentAnimateTimings=null,{type:Ve.If.Animate,timings:_,style:w,options:null}}visitStyle(u,l){const _=this._makeStyleAst(u,l);return this._validateStyleAst(_,l),_}_makeStyleAst(u,l){const _=[],w=Array.isArray(u.styles)?u.styles:[u.styles];for(let U of w)"string"==typeof U?U===Ve.kp?_.push(U):l.errors.push(new f.wOt(3002,!1)):_.push(new Map(Object.entries(U)));let x=!1,G=null;return _.forEach(U=>{if(U instanceof Map&&(U.has("easing")&&(G=U.get("easing"),U.delete("easing")),!x))for(let te of U.values())if(te.toString().indexOf("{{")>=0){x=!0;break}}),{type:Ve.If.Style,styles:_,easing:G,offset:u.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(u,l){const _=l.currentAnimateTimings;let w=l.currentTime,x=l.currentTime;_&&x>0&&(x-=_.duration+_.delay),u.styles.forEach(G=>{"string"!=typeof G&&G.forEach((U,te)=>{const ge=l.collectedStyles.get(l.currentQuerySelector),Ge=ge.get(te);let ke=!0;Ge&&(x!=w&&x>=Ge.startTime&&w<=Ge.endTime&&(l.errors.push(function Bn(S,u,l,_,w){return new f.wOt(3010,!1)}()),ke=!1),x=Ge.startTime),ke&&ge.set(te,{startTime:x,endTime:w}),l.options&&function mt(S,u,l){const _=u.params||{},w=_r(S);w.length&&w.forEach(x=>{_.hasOwnProperty(x)||l.push(function Bi(S){return new f.wOt(3001,!1)}())})}(U,l.options,l.errors)})})}visitKeyframes(u,l){const _={type:Ve.If.Keyframes,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function es(){return new f.wOt(3011,!1)}()),_;let x=0;const G=[];let U=!1,te=!1,ge=0;const Ge=u.steps.map(it=>{const nn=this._makeStyleAst(it,l);let pr=null!=nn.offset?nn.offset:function is(S){if("string"==typeof S)return null;let u=null;if(Array.isArray(S))S.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;u=parseFloat(_.get("offset")),_.delete("offset")}});else if(S instanceof Map&&S.has("offset")){const l=S;u=parseFloat(l.get("offset")),l.delete("offset")}return u}(nn.styles),Ln=0;return null!=pr&&(x++,Ln=nn.offset=pr),te=te||Ln<0||Ln>1,U=U||Ln0&&x{const pr=yt>0?nn==vt?1:yt*nn:G[nn],Ln=pr*tn;l.currentTime=Ye+ot.delay+Ln,ot.duration=Ln,this._validateStyleAst(it,l),it.offset=pr,_.styles.push(it)}),_}visitReference(u,l){return{type:Ve.If.Reference,animation:Xn(this,pn(u.animation),l),options:rr(u.options)}}visitAnimateChild(u,l){return l.depCount++,{type:Ve.If.AnimateChild,options:rr(u.options)}}visitAnimateRef(u,l){return{type:Ve.If.AnimateRef,animation:this.visitReference(u.animation,l),options:rr(u.options)}}visitQuery(u,l){const _=l.currentQuerySelector,w=u.options||{};l.queryCount++,l.currentQuery=u;const[x,G]=function ui(S){const u=!!S.split(/\s*,\s*/).find(l=>":self"==l);return u&&(S=S.replace(Zn,"")),S=S.replace(/@\*/g,Ht).replace(/@\w+/g,l=>Ht+"-"+l.slice(1)).replace(/:animating/g,Qn),[S,u]}(u.selector);l.currentQuerySelector=_.length?_+" "+x:x,hn(l.collectedStyles,l.currentQuerySelector,new Map);const U=Xn(this,pn(u.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:Ve.If.Query,selector:x,limit:w.limit||0,optional:!!w.optional,includeSelf:G,animation:U,originalSelector:u.selector,options:rr(u.options)}}visitStagger(u,l){l.currentQuery||l.errors.push(function Yt(){return new f.wOt(3013,!1)}());const _="full"===u.timings?{duration:0,delay:0,easing:"full"}:xt(u.timings,l.errors,!0);return{type:Ve.If.Stagger,animation:Xn(this,pn(u.animation),l),timings:_,options:null}}}class Mi{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(S){return S?(S={...S}).params&&(S.params=function Hr(S){return S?{...S}:null}(S.params)):S={},S}function zi(S,u,l){return{duration:S,delay:u,easing:l}}function di(S,u,l,_,w,x,G=null,U=!1){return{type:1,element:S,keyframes:u,preStyleProps:l,postStyleProps:_,duration:w,delay:x,totalTime:w+x,easing:G,subTimeline:U}}class Zr{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,l){let _=this._map.get(u);_||this._map.set(u,_=[]),_.push(...l)}has(u){return this._map.has(u)}clear(){this._map.clear()}}const Hn=new RegExp(":enter","g"),ss=new RegExp(":leave","g");function ei(S,u,l,_,w,x=new Map,G=new Map,U,te,ge=[]){return(new Dr).buildKeyframes(S,u,l,_,w,x,G,U,te,ge)}class Dr{buildKeyframes(u,l,_,w,x,G,U,te,ge,Ge=[]){ge=ge||new Zr;const ke=new Ti(u,l,ge,w,x,Ge,[]);ke.options=te;const yt=te.delay?sn(te.delay):0;ke.currentTimeline.delayNextStep(yt),ke.currentTimeline.setStyles([G],null,ke.errors,te),Xn(this,_,ke);const vt=ke.timelines.filter(Ye=>Ye.containsAnimation());if(vt.length&&U.size){let Ye;for(let ot=vt.length-1;ot>=0;ot--){const tn=vt[ot];if(tn.element===l){Ye=tn;break}}Ye&&!Ye.allowOnlyTimelineStyles()&&Ye.setStyles([U],null,ke.errors,te)}return vt.length?vt.map(Ye=>Ye.buildKeyframes()):[di(l,[],[],[],0,yt,"",!1)]}visitTrigger(u,l){}visitState(u,l){}visitTransition(u,l){}visitAnimateChild(u,l){const _=l.subInstructions.get(l.element);if(_){const w=l.createSubContext(u.options),x=l.currentTimeline.currentTime,G=this._visitSubInstructions(_,w,w.options);x!=G&&l.transformIntoNewTimeline(G)}l.previousNode=u}visitAnimateRef(u,l){const _=l.createSubContext(u.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],l,_),this.visitReference(u.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=u}_applyAnimationRefDelays(u,l,_){for(const w of u){const x=w?.delay;if(x){const G="number"==typeof x?x:sn(jn(x,w?.params??{},l.errors));_.delayNextStep(G)}}}_visitSubInstructions(u,l,_){let x=l.currentTimeline.currentTime;const G=null!=_.duration?sn(_.duration):null,U=null!=_.delay?sn(_.delay):null;return 0!==G&&u.forEach(te=>{const ge=l.appendInstructionToTimeline(te,G,U);x=Math.max(x,ge.duration+ge.delay)}),x}visitReference(u,l){l.updateOptions(u.options,!0),Xn(this,u.animation,l),l.previousNode=u}visitSequence(u,l){const _=l.subContextCount;let w=l;const x=u.options;if(x&&(x.params||x.delay)&&(w=l.createSubContext(x),w.transformIntoNewTimeline(),null!=x.delay)){w.previousNode.type==Ve.If.Style&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=fi);const G=sn(x.delay);w.delayNextStep(G)}u.steps.length&&(u.steps.forEach(G=>Xn(this,G,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>_&&w.transformIntoNewTimeline()),l.previousNode=u}visitGroup(u,l){const _=[];let w=l.currentTimeline.currentTime;const x=u.options&&u.options.delay?sn(u.options.delay):0;u.steps.forEach(G=>{const U=l.createSubContext(u.options);x&&U.delayNextStep(x),Xn(this,G,U),w=Math.max(w,U.currentTimeline.currentTime),_.push(U.currentTimeline)}),_.forEach(G=>l.currentTimeline.mergeTimelineCollectedStyles(G)),l.transformIntoNewTimeline(w),l.previousNode=u}_visitTiming(u,l){if(u.dynamic){const _=u.strValue;return xt(l.params?jn(_,l.params,l.errors):_,l.errors)}return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,l){const _=l.currentAnimateTimings=this._visitTiming(u.timings,l),w=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),w.snapshotCurrentStyles());const x=u.style;x.type==Ve.If.Keyframes?this.visitKeyframes(x,l):(l.incrementTime(_.duration),this.visitStyle(x,l),w.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=u}visitStyle(u,l){const _=l.currentTimeline,w=l.currentAnimateTimings;!w&&_.hasCurrentStyleProperties()&&_.forwardFrame();const x=w&&w.easing||u.easing;u.isEmptyStep?_.applyEmptyStep(x):_.setStyles(u.styles,x,l.errors,l.options),l.previousNode=u}visitKeyframes(u,l){const _=l.currentAnimateTimings,w=l.currentTimeline.duration,x=_.duration,U=l.createSubContext().currentTimeline;U.easing=_.easing,u.styles.forEach(te=>{U.forwardTime((te.offset||0)*x),U.setStyles(te.styles,te.easing,l.errors,l.options),U.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(U),l.transformIntoNewTimeline(w+x),l.previousNode=u}visitQuery(u,l){const _=l.currentTimeline.currentTime,w=u.options||{},x=w.delay?sn(w.delay):0;x&&(l.previousNode.type===Ve.If.Style||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=fi);let G=_;const U=l.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!w.optional,l.errors);l.currentQueryTotal=U.length;let te=null;U.forEach((ge,Ge)=>{l.currentQueryIndex=Ge;const ke=l.createSubContext(u.options,ge);x&&ke.delayNextStep(x),ge===l.element&&(te=ke.currentTimeline),Xn(this,u.animation,ke),ke.currentTimeline.applyStylesToKeyframe(),G=Math.max(G,ke.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(G),te&&(l.currentTimeline.mergeTimelineCollectedStyles(te),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=u}visitStagger(u,l){const _=l.parentContext,w=l.currentTimeline,x=u.timings,G=Math.abs(x.duration),U=G*(l.currentQueryTotal-1);let te=G*l.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":te=U-te;break;case"full":te=_.currentStaggerTime}const Ge=l.currentTimeline;te&&Ge.delayNextStep(te);const ke=Ge.currentTime;Xn(this,u.animation,l),l.previousNode=u,_.currentStaggerTime=w.currentTime-ke+(w.startTime-_.currentTimeline.startTime)}}const fi={};class Ti{constructor(u,l,_,w,x,G,U,te){this._driver=u,this.element=l,this.subInstructions=_,this._enterClassName=w,this._leaveClassName=x,this.errors=G,this.timelines=U,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=te||new Ai(this._driver,l,0),U.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(u,l){if(!u)return;const _=u;let w=this.options;null!=_.duration&&(w.duration=sn(_.duration)),null!=_.delay&&(w.delay=sn(_.delay));const x=_.params;if(x){let G=w.params;G||(G=this.options.params={}),Object.keys(x).forEach(U=>{(!l||!G.hasOwnProperty(U))&&(G[U]=jn(x[U],G,this.errors))})}}_copyOptions(){const u={};if(this.options){const l=this.options.params;if(l){const _=u.params={};Object.keys(l).forEach(w=>{_[w]=l[w]})}}return u}createSubContext(u=null,l,_){const w=l||this.element,x=new Ti(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,_||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(u),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(u){return this.previousNode=fi,this.currentTimeline=this.currentTimeline.fork(this.element,u),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(u,l,_){const w={duration:l??u.duration,delay:this.currentTimeline.currentTime+(_??0)+u.delay,easing:""},x=new Qi(this._driver,u.element,u.keyframes,u.preStyleProps,u.postStyleProps,w,u.stretchStartingKeyframe);return this.timelines.push(x),w}incrementTime(u){this.currentTimeline.forwardTime(this.currentTimeline.duration+u)}delayNextStep(u){u>0&&this.currentTimeline.delayNextStep(u)}invokeQuery(u,l,_,w,x,G){let U=[];if(w&&U.push(this.element),u.length>0){u=(u=u.replace(Hn,"."+this._enterClassName)).replace(ss,"."+this._leaveClassName);let ge=this._driver.query(this.element,u,1!=_);0!==_&&(ge=_<0?ge.slice(ge.length+_,ge.length):ge.slice(0,_)),U.push(...ge)}return!x&&0==U.length&&G.push(function kr(S){return new f.wOt(3014,!1)}()),U}}class Ai{constructor(u,l,_,w){this._driver=u,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=w,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(u){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+u),l&&this.snapshotCurrentStyles()):this.startTime+=u}fork(u,l){return this.applyStylesToKeyframe(),new Ai(this._driver,u,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(u){this.applyStylesToKeyframe(),this.duration=u,this._loadKeyframe()}_updateStyle(u,l){this._localTimelineStyles.set(u,l),this._globalTimelineStyles.set(u,l),this._styleSummary.set(u,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(u){u&&this._previousKeyframe.set("easing",u);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||Ve.kp),this._currentKeyframe.set(l,Ve.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(u,l,_,w){l&&this._previousKeyframe.set("easing",l);const x=w&&w.params||{},G=function os(S,u){const l=new Map;let _;return S.forEach(w=>{if("*"===w){_??=u.keys();for(let x of _)l.set(x,Ve.kp)}else for(let[x,G]of w)l.set(x,G)}),l}(u,this._globalTimelineStyles);for(let[U,te]of G){const ge=jn(te,x,_);this._pendingStyles.set(U,ge),this._localTimelineStyles.has(U)||this._backFill.set(U,this._globalTimelineStyles.get(U)??Ve.kp),this._updateStyle(U,ge)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((u,l)=>{this._currentKeyframe.set(l,u)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((u,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,u)}))}snapshotCurrentStyles(){for(let[u,l]of this._localTimelineStyles)this._pendingStyles.set(u,l),this._updateStyle(u,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const u=[];for(let l in this._currentKeyframe)u.push(l);return u}mergeTimelineCollectedStyles(u){u._styleSummary.forEach((l,_)=>{const w=this._styleSummary.get(_);(!w||l.time>w.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const u=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((U,te)=>{const ge=new Map([...this._backFill,...U]);ge.forEach((Ge,ke)=>{Ge===Ve.FX?u.add(ke):Ge===Ve.kp&&l.add(ke)}),_||ge.set("offset",te/this.duration),w.push(ge)});const x=[...u.values()],G=[...l.values()];if(_){const U=w[0],te=new Map(U);U.set("offset",0),te.set("offset",1),w=[U,te]}return di(this.element,w,x,G,this.duration,this.startTime,this.easing,!1)}}class Qi extends Ai{constructor(u,l,_,w,x,G,U=!1){super(u,l,G.delay),this.keyframes=_,this.preStyleProps=w,this.postStyleProps=x,this._stretchStartingKeyframe=U,this.timings={duration:G.duration,delay:G.delay,easing:G.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:l,duration:_,easing:w}=this.timings;if(this._stretchStartingKeyframe&&l){const x=[],G=_+l,U=l/G,te=new Map(u[0]);te.set("offset",0),x.push(te);const ge=new Map(u[0]);ge.set("offset",Wn(U)),x.push(ge);const Ge=u.length-1;for(let ke=1;ke<=Ge;ke++){let yt=new Map(u[ke]);const vt=yt.get("offset");yt.set("offset",Wn((l+vt*_)/G)),x.push(yt)}_=G,l=0,w="",u=x}return di(this.element,u,this.preStyleProps,this.postStyleProps,_,l,w,!0)}}function Wn(S,u=3){const l=Math.pow(10,u-1);return Math.round(S*l)/l}function ar(S,u,l,_,w,x,G,U,te,ge,Ge,ke,yt){return{type:0,element:S,triggerName:u,isRemovalTransition:w,fromState:l,fromStyles:x,toState:_,toStyles:G,timelines:U,queriedElements:te,preStyleProps:ge,postStyleProps:Ge,totalTime:ke,errors:yt}}const Xi={};class as{constructor(u,l,_){this._triggerName=u,this.ast=l,this._stateStyles=_}match(u,l,_,w){return function zt(S,u,l,_,w){return S.some(x=>x(u,l,_,w))}(this.ast.matchers,u,l,_,w)}buildStyles(u,l,_){let w=this._stateStyles.get("*");return void 0!==u&&(w=this._stateStyles.get(u?.toString())||w),w?w.buildStyles(l,_):new Map}build(u,l,_,w,x,G,U,te,ge,Ge){const ke=[],yt=this.ast.options&&this.ast.options.params||Xi,Ye=this.buildStyles(_,U&&U.params||Xi,ke),ot=te&&te.params||Xi,tn=this.buildStyles(w,ot,ke),it=new Set,nn=new Map,pr=new Map,Ln="void"===w,an={params:hi(ot,yt),delay:this.ast.options?.delay},Er=Ge?[]:ei(u,l,this.ast.animation,x,G,Ye,tn,an,ge,ke);let zn=0;return Er.forEach(Rn=>{zn=Math.max(Rn.duration+Rn.delay,zn)}),ke.length?ar(l,this._triggerName,_,w,Ln,Ye,tn,[],[],nn,pr,zn,ke):(Er.forEach(Rn=>{const _i=Rn.element,Fs=hn(nn,_i,new Set);Rn.preStyleProps.forEach(Wr=>Fs.add(Wr));const Pi=hn(pr,_i,new Set);Rn.postStyleProps.forEach(Wr=>Pi.add(Wr)),_i!==l&&it.add(_i)}),ar(l,this._triggerName,_,w,Ln,Ye,tn,Er,[...it.values()],nn,pr,zn))}}function hi(S,u){const l={...u};return Object.entries(S).forEach(([_,w])=>{null!=w&&(l[_]=w)}),l}class zs{constructor(u,l,_){this.styles=u,this.defaultParams=l,this.normalizer=_}buildStyles(u,l){const _=new Map,w=hi(u,this.defaultParams);return this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((G,U)=>{G&&(G=jn(G,w,l));const te=this.normalizer.normalizePropertyName(U,l);G=this.normalizer.normalizeStyleValue(U,te,G,l),_.set(U,G)})}),_}}class Is{constructor(u,l,_){this.name=u,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(w=>{this.states.set(w.name,new zs(w.style,w.options&&w.options.params||{},_))}),Gr(this.states,"true","1"),Gr(this.states,"false","0"),l.transitions.forEach(w=>{this.transitionFactories.push(new as(u,w,this.states))}),this.fallbackTransition=function ls(S,u,l){return new as(S,{type:Ve.If.Transition,animation:{type:Ve.If.Sequence,steps:[],options:null},matchers:[(G,U)=>!0],options:null,queryCount:0,depCount:0},u)}(u,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,l,_,w){return this.transitionFactories.find(G=>G.match(u,l,_,w))||null}matchStyles(u,l,_){return this.fallbackTransition.buildStyles(u,l,_)}}function Gr(S,u,l){S.has(u)?S.has(l)||S.set(l,S.get(u)):S.has(l)&&S.set(u,S.get(l))}const Rr=new Zr;class Pr{constructor(u,l,_){this.bodyNode=u,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,l){const _=[],x=gt(this._driver,l,_,[]);if(_.length)throw function de(S){return new f.wOt(3503,!1)}();this._animations.set(u,x)}_buildPlayer(u,l,_){const w=u.element,x=Es(this._normalizer,u.keyframes,l,_);return this._driver.animate(w,x,u.duration,u.delay,u.easing,[],!0)}create(u,l,_={}){const w=[],x=this._animations.get(u);let G;const U=new Map;if(x?(G=ei(this._driver,l,x,lt,Jt,new Map,new Map,_,Rr,w),G.forEach(Ge=>{const ke=hn(U,Ge.element,new Map);Ge.postStyleProps.forEach(yt=>ke.set(yt,null))})):(w.push(function Q(){return new f.wOt(3300,!1)}()),G=[]),w.length)throw function oe(S){return new f.wOt(3504,!1)}();U.forEach((Ge,ke)=>{Ge.forEach((yt,vt)=>{Ge.set(vt,this._driver.computeStyle(ke,vt,Ve.kp))})});const ge=Tr(G.map(Ge=>{const ke=U.get(Ge.element);return this._buildPlayer(Ge,new Map,ke)}));return this._playersById.set(u,ge),ge.onDestroy(()=>this.destroy(u)),this.players.push(ge),ge}destroy(u){const l=this._getPlayer(u);l.destroy(),this._playersById.delete(u);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(u){const l=this._playersById.get(u);if(!l)throw function Re(S){return new f.wOt(3301,!1)}();return l}listen(u,l,_,w){const x=Ui(l,"","","");return On(this._getPlayer(u),_,x,w),()=>{}}command(u,l,_,w){if("register"==_)return void this.register(u,w[0]);if("create"==_)return void this.create(u,l,w[0]||{});const x=this._getPlayer(u);switch(_){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(u)}}}const cs="ng-animate-queued",Ks="ng-animate-disabled",qi=[],Ts={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},M={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},T="__ng_removed";class D{get params(){return this.options.params}constructor(u,l=""){this.namespaceId=l;const _=u&&u.hasOwnProperty("value");if(this.value=function gi(S){return S??null}(_?u.value:u),_){const{value:x,...G}=u;this.options=G}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){const l=u.params;if(l){const _=this.options.params;Object.keys(l).forEach(w=>{null==_[w]&&(_[w]=l[w])})}}}const V="void",ee=new D(V);class rt{constructor(u,l,_){this.id=u,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,er(l,this._hostClassName)}listen(u,l,_,w){if(!this._triggers.has(l))throw function tt(S,u){return new f.wOt(3302,!1)}();if(null==_||0==_.length)throw function ht(S){return new f.wOt(3303,!1)}();if(!function As(S){return"start"==S||"done"==S}(_))throw function qt(S,u){return new f.wOt(3400,!1)}();const x=hn(this._elementListeners,u,[]),G={name:l,phase:_,callback:w};x.push(G);const U=hn(this._engine.statesByElement,u,new Map);return U.has(l)||(er(u,Dn),er(u,Dn+"-"+l),U.set(l,ee)),()=>{this._engine.afterFlush(()=>{const te=x.indexOf(G);te>=0&&x.splice(te,1),this._triggers.has(l)||U.delete(l)})}}register(u,l){return!this._triggers.has(u)&&(this._triggers.set(u,l),!0)}_getTrigger(u){const l=this._triggers.get(u);if(!l)throw function ln(S){return new f.wOt(3401,!1)}();return l}trigger(u,l,_,w=!0){const x=this._getTrigger(l),G=new Ot(this.id,l,u);let U=this._engine.statesByElement.get(u);U||(er(u,Dn),er(u,Dn+"-"+l),this._engine.statesByElement.set(u,U=new Map));let te=U.get(l);const ge=new D(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&te&&ge.absorbOptions(te.options),U.set(l,ge),te||(te=ee),ge.value!==V&&te.value===ge.value){if(!function Vt(S,u){const l=Object.keys(S),_=Object.keys(u);if(l.length!=_.length)return!1;for(let w=0;w{_t(u,tn),on(u,it)})}return}const yt=hn(this._engine.playersByElement,u,[]);yt.forEach(ot=>{ot.namespaceId==this.id&&ot.triggerName==l&&ot.queued&&ot.destroy()});let vt=x.matchTransition(te.value,ge.value,u,ge.params),Ye=!1;if(!vt){if(!w)return;vt=x.fallbackTransition,Ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:l,transition:vt,fromState:te,toState:ge,player:G,isFallbackTransition:Ye}),Ye||(er(u,cs),G.onStart(()=>{Ni(u,cs)})),G.onDone(()=>{let ot=this.players.indexOf(G);ot>=0&&this.players.splice(ot,1);const tn=this._engine.playersByElement.get(u);if(tn){let it=tn.indexOf(G);it>=0&&tn.splice(it,1)}}),this.players.push(G),yt.push(G),G}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(l=>l.delete(u)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(w=>w.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);const l=this._engine.playersByElement.get(u);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,l){const _=this._engine.driver.query(u,Ht,!0);_.forEach(w=>{if(w[T])return;const x=this._engine.fetchNamespacesByElement(w);x.size?x.forEach(G=>G.triggerLeaveAnimation(w,l,!1,!0)):this.clearElementCache(w)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(w=>this.clearElementCache(w)))}triggerLeaveAnimation(u,l,_,w){const x=this._engine.statesByElement.get(u),G=new Map;if(x){const U=[];if(x.forEach((te,ge)=>{if(G.set(ge,te.value),this._triggers.has(ge)){const Ge=this.trigger(u,ge,V,w);Ge&&U.push(Ge)}}),U.length)return this._engine.markElementAsRemoved(this.id,u,!0,l,G),_&&Tr(U).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){const l=this._elementListeners.get(u),_=this._engine.statesByElement.get(u);if(l&&_){const w=new Set;l.forEach(x=>{const G=x.name;if(w.has(G))return;w.add(G);const te=this._triggers.get(G).fallbackTransition,ge=_.get(G)||ee,Ge=new D(V),ke=new Ot(this.id,G,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:G,transition:te,fromState:ge,toState:Ge,player:ke,isFallbackTransition:!0})})}}removeNode(u,l){const _=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,l),this.triggerLeaveAnimation(u,l,!0))return;let w=!1;if(_.totalAnimations){const x=_.players.length?_.playersByQueriedElement.get(u):[];if(x&&x.length)w=!0;else{let G=u;for(;G=G.parentNode;)if(_.statesByElement.get(G)){w=!0;break}}}if(this.prepareLeaveAnimationListeners(u),w)_.markElementAsRemoved(this.id,u,!1,l);else{const x=u[T];(!x||x===Ts)&&(_.afterFlush(()=>this.clearElementCache(u)),_.destroyInnerAnimations(u),_._onRemovalComplete(u,l))}}insertNode(u,l){er(u,this._hostClassName)}drainQueuedTransitions(u){const l=[];return this._queue.forEach(_=>{const w=_.player;if(w.destroyed)return;const x=_.element,G=this._elementListeners.get(x);G&&G.forEach(U=>{if(U.name==_.triggerName){const te=Ui(x,_.triggerName,_.fromState.value,_.toState.value);te._data=u,On(_.player,U.phase,te,U.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):l.push(_)}),this._queue=[],l.sort((_,w)=>{const x=_.transition.ast.depCount,G=w.transition.ast.depCount;return 0==x||0==G?x-G:this._engine.driver.containsElement(_.element,w.element)?1:-1})}destroy(u){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}}class Et{_onRemovalComplete(u,l){this.onRemovalComplete(u,l)}constructor(u,l,_,w){this.bodyNode=u,this.driver=l,this._normalizer=_,this.scheduler=w,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(x,G)=>{}}get queuedPlayers(){const u=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&u.push(_)})}),u}createNamespace(u,l){const _=new rt(u,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[u]=_}_balanceNamespaceList(u,l){const _=this._namespaceList,w=this.namespacesByHostElement;if(_.length-1>=0){let G=!1,U=this.driver.getParentElement(l);for(;U;){const te=w.get(U);if(te){const ge=_.indexOf(te);_.splice(ge+1,0,u),G=!0;break}U=this.driver.getParentElement(U)}G||_.unshift(u)}else _.push(u);return w.set(l,u),u}register(u,l){let _=this._namespaceLookup[u];return _||(_=this.createNamespace(u,l)),_}registerTrigger(u,l,_){let w=this._namespaceLookup[u];w&&w.register(l,_)&&this.totalAnimations++}destroy(u,l){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const _=this._fetchNamespace(u);this.namespacesByHostElement.delete(_.hostElement);const w=this._namespaceList.indexOf(_);w>=0&&this._namespaceList.splice(w,1),_.destroy(l),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){const l=new Set,_=this.statesByElement.get(u);if(_)for(let w of _.values())if(w.namespaceId){const x=this._fetchNamespace(w.namespaceId);x&&l.add(x)}return l}trigger(u,l,_,w){if(mi(l)){const x=this._fetchNamespace(u);if(x)return x.trigger(l,_,w),!0}return!1}insertNode(u,l,_,w){if(!mi(l))return;const x=l[T];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const G=this.collectedLeaveElements.indexOf(l);G>=0&&this.collectedLeaveElements.splice(G,1)}if(u){const G=this._fetchNamespace(u);G&&G.insertNode(l,_)}w&&this.collectEnterElement(l)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,l){l?this.disabledNodes.has(u)||(this.disabledNodes.add(u),er(u,Ks)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),Ni(u,Ks))}removeNode(u,l,_){if(mi(l)){this.scheduler?.notify();const w=u?this._fetchNamespace(u):null;w?w.removeNode(l,_):this.markElementAsRemoved(u,l,!1,_);const x=this.namespacesByHostElement.get(l);x&&x.id!==u&&x.removeNode(l,_)}else this._onRemovalComplete(l,_)}markElementAsRemoved(u,l,_,w,x){this.collectedLeaveElements.push(l),l[T]={namespaceId:u,setForRemoval:w,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:x}}listen(u,l,_,w,x){return mi(l)?this._fetchNamespace(u).listen(l,_,w,x):()=>{}}_buildInstruction(u,l,_,w,x){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,_,w,u.fromState.options,u.toState.options,l,x)}destroyInnerAnimations(u){let l=this.driver.query(u,Ht,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(u,Qn,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(u){const l=this.playersByElement.get(u);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(u){const l=this.playersByQueriedElement.get(u);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return Tr(this.players).onDone(()=>u());u()})}processLeaveNode(u){const l=u[T];if(l&&l.setForRemoval){if(u[T]=Ts,l.namespaceId){this.destroyInnerAnimations(u);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(u)}this._onRemovalComplete(u,l.setForRemoval)}u.classList?.contains(Ks)&&this.markElementAsDisabled(u,!1),this.driver.query(u,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(u=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,w)=>this._balanceNamespaceList(_,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Tr(l).onDone(()=>{_.forEach(w=>w())}):_.forEach(w=>w())}}reportError(u){throw function Mn(S){return new f.wOt(3402,!1)}()}_flushAnimations(u,l){const _=new Zr,w=[],x=new Map,G=[],U=new Map,te=new Map,ge=new Map,Ge=new Set;this.disabledNodes.forEach(Je=>{Ge.add(Je);const ct=this.driver.query(Je,".ng-animate-queued",!0);for(let Ct=0;Ct{const Ct=lt+ot++;Ye.set(ct,Ct),Je.forEach(Kt=>er(Kt,Ct))});const tn=[],it=new Set,nn=new Set;for(let Je=0;Jeit.add(Kt)):nn.add(ct))}const pr=new Map,Ln=Os(yt,Array.from(it));Ln.forEach((Je,ct)=>{const Ct=Jt+ot++;pr.set(ct,Ct),Je.forEach(Kt=>er(Kt,Ct))}),u.push(()=>{vt.forEach((Je,ct)=>{const Ct=Ye.get(ct);Je.forEach(Kt=>Ni(Kt,Ct))}),Ln.forEach((Je,ct)=>{const Ct=pr.get(ct);Je.forEach(Kt=>Ni(Kt,Ct))}),tn.forEach(Je=>{this.processLeaveNode(Je)})});const an=[],Er=[];for(let Je=this._namespaceList.length-1;Je>=0;Je--)this._namespaceList[Je].drainQueuedTransitions(l).forEach(Ct=>{const Kt=Ct.player,Qt=Ct.element;if(an.push(Kt),this.collectedEnterElements.length){const vn=Qt[T];if(vn&&vn.setForMove){if(vn.previousTriggersValues&&vn.previousTriggersValues.has(Ct.triggerName)){const xi=vn.previousTriggersValues.get(Ct.triggerName),ti=this.statesByElement.get(Ct.element);if(ti&&ti.has(Ct.triggerName)){const ko=ti.get(Ct.triggerName);ko.value=xi,ti.set(Ct.triggerName,ko)}}return void Kt.destroy()}}const Fr=!ke||!this.driver.containsElement(ke,Qt),dn=pr.get(Qt),bn=Ye.get(Qt),wn=this._buildInstruction(Ct,_,bn,dn,Fr);if(wn.errors&&wn.errors.length)return void Er.push(wn);if(Fr)return Kt.onStart(()=>_t(Qt,wn.fromStyles)),Kt.onDestroy(()=>on(Qt,wn.toStyles)),void w.push(Kt);if(Ct.isFallbackTransition)return Kt.onStart(()=>_t(Qt,wn.fromStyles)),Kt.onDestroy(()=>on(Qt,wn.toStyles)),void w.push(Kt);const Zi=[];wn.timelines.forEach(vn=>{vn.stretchStartingKeyframe=!0,this.disabledNodes.has(vn.element)||Zi.push(vn)}),wn.timelines=Zi,_.append(Qt,wn.timelines),G.push({instruction:wn,player:Kt,element:Qt}),wn.queriedElements.forEach(vn=>hn(U,vn,[]).push(Kt)),wn.preStyleProps.forEach((vn,xi)=>{if(vn.size){let ti=te.get(xi);ti||te.set(xi,ti=new Set),vn.forEach((ko,mo)=>ti.add(mo))}}),wn.postStyleProps.forEach((vn,xi)=>{let ti=ge.get(xi);ti||ge.set(xi,ti=new Set),vn.forEach((ko,mo)=>ti.add(mo))})});if(Er.length){const Je=[];Er.forEach(ct=>{Je.push(function Un(S,u){return new f.wOt(3505,!1)}())}),an.forEach(ct=>ct.destroy()),this.reportError(Je)}const zn=new Map,Rn=new Map;G.forEach(Je=>{const ct=Je.element;_.has(ct)&&(Rn.set(ct,ct),this._beforeAnimationBuild(Je.player.namespaceId,Je.instruction,zn))}),w.forEach(Je=>{const ct=Je.element;this._getPreviousPlayers(ct,!1,Je.namespaceId,Je.triggerName,null).forEach(Kt=>{hn(zn,ct,[]).push(Kt),Kt.destroy()})});const _i=tn.filter(Je=>Fn(Je,te,ge)),Fs=new Map;qs(Fs,this.driver,nn,ge,Ve.kp).forEach(Je=>{Fn(Je,te,ge)&&_i.push(Je)});const Wr=new Map;vt.forEach((Je,ct)=>{qs(Wr,this.driver,new Set(Je),te,Ve.FX)}),_i.forEach(Je=>{const ct=Fs.get(Je),Ct=Wr.get(Je);Fs.set(Je,new Map([...ct?.entries()??[],...Ct?.entries()??[]]))});const Di=[],At=[],ao={};G.forEach(Je=>{const{element:ct,player:Ct,instruction:Kt}=Je;if(_.has(ct)){if(Ge.has(ct))return Ct.onDestroy(()=>on(ct,Kt.toStyles)),Ct.disabled=!0,Ct.overrideTotalTime(Kt.totalTime),void w.push(Ct);let Qt=ao;if(Rn.size>1){let dn=ct;const bn=[];for(;dn=dn.parentNode;){const wn=Rn.get(dn);if(wn){Qt=wn;break}bn.push(dn)}bn.forEach(wn=>Rn.set(wn,Qt))}const Fr=this._buildAnimation(Ct.namespaceId,Kt,zn,x,Wr,Fs);if(Ct.setRealPlayer(Fr),Qt===ao)Di.push(Ct);else{const dn=this.playersByElement.get(Qt);dn&&dn.length&&(Ct.parentPlayer=Tr(dn)),w.push(Ct)}}else _t(ct,Kt.fromStyles),Ct.onDestroy(()=>on(ct,Kt.toStyles)),At.push(Ct),Ge.has(ct)&&w.push(Ct)}),At.forEach(Je=>{const ct=x.get(Je.element);if(ct&&ct.length){const Ct=Tr(ct);Je.setRealPlayer(Ct)}}),w.forEach(Je=>{Je.parentPlayer?Je.syncPlayerEvents(Je.parentPlayer):Je.destroy()});for(let Je=0;Je!Fr.destroyed);Qt.length?To(this,ct,Qt):this.processLeaveNode(ct)}return tn.length=0,Di.forEach(Je=>{this.players.push(Je),Je.onDone(()=>{Je.destroy();const ct=this.players.indexOf(Je);this.players.splice(ct,1)}),Je.play()}),Di}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,l,_,w,x){let G=[];if(l){const U=this.playersByQueriedElement.get(u);U&&(G=U)}else{const U=this.playersByElement.get(u);if(U){const te=!x||x==V;U.forEach(ge=>{ge.queued||!te&&ge.triggerName!=w||G.push(ge)})}}return(_||w)&&(G=G.filter(U=>!(_&&_!=U.namespaceId||w&&w!=U.triggerName))),G}_beforeAnimationBuild(u,l,_){const x=l.element,G=l.isRemovalTransition?void 0:u,U=l.isRemovalTransition?void 0:l.triggerName;for(const te of l.timelines){const ge=te.element,Ge=ge!==x,ke=hn(_,ge,[]);this._getPreviousPlayers(ge,Ge,G,U,l.toState).forEach(vt=>{const Ye=vt.getRealPlayer();Ye.beforeDestroy&&Ye.beforeDestroy(),vt.destroy(),ke.push(vt)})}_t(x,l.fromStyles)}_buildAnimation(u,l,_,w,x,G){const U=l.triggerName,te=l.element,ge=[],Ge=new Set,ke=new Set,yt=l.timelines.map(Ye=>{const ot=Ye.element;Ge.add(ot);const tn=ot[T];if(tn&&tn.removedBeforeQueried)return new Ve.sf(Ye.duration,Ye.delay);const it=ot!==te,nn=function Ao(S){const u=[];return Ns(S,u),u}((_.get(ot)||qi).map(zn=>zn.getRealPlayer())).filter(zn=>!!zn.element&&zn.element===ot),pr=x.get(ot),Ln=G.get(ot),an=Es(this._normalizer,Ye.keyframes,pr,Ln),Er=this._buildPlayer(Ye,an,nn);if(Ye.subTimeline&&w&&ke.add(ot),it){const zn=new Ot(u,U,ot);zn.setRealPlayer(Er),ge.push(zn)}return Er});ge.forEach(Ye=>{hn(this.playersByQueriedElement,Ye.element,[]).push(Ye),Ye.onDone(()=>function pi(S,u,l){let _=S.get(u);if(_){if(_.length){const w=_.indexOf(l);_.splice(w,1)}0==_.length&&S.delete(u)}return _}(this.playersByQueriedElement,Ye.element,Ye))}),Ge.forEach(Ye=>er(Ye,xn));const vt=Tr(yt);return vt.onDestroy(()=>{Ge.forEach(Ye=>Ni(Ye,xn)),on(te,l.toStyles)}),ke.forEach(Ye=>{hn(w,Ye,[]).push(vt)}),vt}_buildPlayer(u,l,_){return l.length>0?this.driver.animate(u.element,l,u.duration,u.delay,u.easing,_):new Ve.sf(u.duration,u.delay)}}class Ot{constructor(u,l,_){this.namespaceId=u,this.triggerName=l,this.element=_,this._player=new Ve.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((l,_)=>{l.forEach(w=>On(u,_,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){const l=this._player;l.triggerCallback&&u.onStart(()=>l.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,l){hn(this._queuedCallbacks,u,[]).push(l)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){const l=this._player;l.triggerCallback&&l.triggerCallback(u)}}function mi(S){return S&&1===S.nodeType}function Xs(S,u){const l=S.style.display;return S.style.display=u??"none",l}function qs(S,u,l,_,w){const x=[];l.forEach(te=>x.push(Xs(te)));const G=[];_.forEach((te,ge)=>{const Ge=new Map;te.forEach(ke=>{const yt=u.computeStyle(ge,ke,w);Ge.set(ke,yt),(!yt||0==yt.length)&&(ge[T]=M,G.push(ge))}),S.set(ge,Ge)});let U=0;return l.forEach(te=>Xs(te,x[U++])),G}function Os(S,u){const l=new Map;if(S.forEach(U=>l.set(U,[])),0==u.length)return l;const w=new Set(u),x=new Map;function G(U){if(!U)return 1;let te=x.get(U);if(te)return te;const ge=U.parentNode;return te=l.has(ge)?ge:w.has(ge)?1:G(ge),x.set(U,te),te}return u.forEach(U=>{const te=G(U);1!==te&&l.get(te).push(U)}),l}function er(S,u){S.classList?.add(u)}function Ni(S,u){S.classList?.remove(u)}function To(S,u,l){Tr(l).onDone(()=>S.processLeaveNode(u))}function Ns(S,u){for(let l=0;lw.add(x)):u.set(S,_),l.delete(S),!0}class Cn{constructor(u,l,_,w){this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(x,G)=>{},this._transitionEngine=new Et(u.body,l,_,w),this._timelineEngine=new Pr(u.body,l,_),this._transitionEngine.onRemovalComplete=(x,G)=>this.onRemovalComplete(x,G)}registerTrigger(u,l,_,w,x){const G=u+"-"+w;let U=this._triggerCache[G];if(!U){const te=[],Ge=gt(this._driver,x,te,[]);if(te.length)throw function dr(S,u){return new f.wOt(3404,!1)}();U=function Ss(S,u,l){return new Is(S,u,l)}(w,Ge,this._normalizer),this._triggerCache[G]=U}this._transitionEngine.registerTrigger(l,w,U)}register(u,l){this._transitionEngine.register(u,l)}destroy(u,l){this._transitionEngine.destroy(u,l)}onInsert(u,l,_,w){this._transitionEngine.insertNode(u,l,_,w)}onRemove(u,l,_){this._transitionEngine.removeNode(u,l,_)}disableAnimations(u,l){this._transitionEngine.markElementAsDisabled(u,l)}process(u,l,_,w){if("@"==_.charAt(0)){const[x,G]=Xr(_);this._timelineEngine.command(x,l,G,w)}else this._transitionEngine.trigger(u,l,_,w)}listen(u,l,_,w,x){if("@"==_.charAt(0)){const[G,U]=Xr(_);return this._timelineEngine.listen(G,l,U,x)}return this._transitionEngine.listen(u,l,_,w,x)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}}class $n{static#e=this.initialStylesByElement=new WeakMap;constructor(u,l,_){this._element=u,this._startStyles=l,this._endStyles=_,this._state=0;let w=$n.initialStylesByElement.get(u);w||$n.initialStylesByElement.set(u,w=new Map),this._initialStyles=w}start(){this._state<1&&(this._startStyles&&on(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(on(this._element,this._initialStyles),this._endStyles&&(on(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&($n.initialStylesByElement.delete(this._element),this._startStyles&&(_t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_t(this._element,this._endStyles),this._endStyles=null),on(this._element,this._initialStyles),this._state=3)}}function Rs(S){let u=null;return S.forEach((l,_)=>{(function Ys(S){return"display"===S||"position"===S})(_)&&(u=u||new Map,u.set(_,l))}),u}class yi{constructor(u,l,_,w){this.element=u,this.keyframes=l,this.options=_,this._specialStyles=w,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;const l=()=>this._onFinish();this.domPlayer.addEventListener("finish",l),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",l)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){const l=[];return u.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(u,l,_){return u.animate(this._convertKeyframesToObject(l),_)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}setPosition(u){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,w)=>{"offset"!==w&&u.set(w,this._finished?_:Hi(this.element,w))}),this.currentSnapshot=u}triggerCallback(u){const l="start"===u?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class Zs{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,l){return!1}containsElement(u,l){return ji(u,l)}getParentElement(u){return yr(u)}query(u,l,_){return fr(u,l,_)}computeStyle(u,l,_){return Hi(u,l)}animate(u,l,_,w,x,G=[]){const te={duration:_,delay:w,fill:0==w?"both":"forwards"};x&&(te.easing=x);const ge=new Map,Ge=G.filter(vt=>vt instanceof yi);(function Si(S,u){return 0===S||0===u})(_,w)&&Ge.forEach(vt=>{vt.currentSnapshot.forEach((Ye,ot)=>ge.set(ot,Ye))});let ke=function hr(S){return S.length?S[0]instanceof Map?S:S.map(u=>new Map(Object.entries(u))):[]}(l).map(vt=>new Map(vt));ke=function Ft(S,u,l){if(l.size&&u.length){let _=u[0],w=[];if(l.forEach((x,G)=>{_.has(G)||w.push(G),_.set(G,x)}),w.length)for(let x=1;xG.set(U,Hi(S,U)))}}return u}(u,ke,ge);const yt=function Ar(S,u){let l=null,_=null;return Array.isArray(u)&&u.length?(l=Rs(u[0]),u.length>1&&(_=Rs(u[u.length-1]))):u instanceof Map&&(l=Rs(u)),l||_?new $n(S,l,_):null}(u,ke);return new yi(u,ke,te,yt)}}const fs="@.disabled";class Js{constructor(u,l,_,w){this.namespaceId=u,this.delegate=l,this.engine=_,this._onDestroy=w,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(u){this.delegate.destroyNode?.(u)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(u,l){return this.delegate.createElement(u,l)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,l){this.delegate.appendChild(u,l),this.engine.onInsert(this.namespaceId,l,u,!1)}insertBefore(u,l,_,w=!0){this.delegate.insertBefore(u,l,_),this.engine.onInsert(this.namespaceId,l,u,w)}removeChild(u,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(u,l){return this.delegate.selectRootElement(u,l)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,l,_,w){this.delegate.setAttribute(u,l,_,w)}removeAttribute(u,l,_){this.delegate.removeAttribute(u,l,_)}addClass(u,l){this.delegate.addClass(u,l)}removeClass(u,l){this.delegate.removeClass(u,l)}setStyle(u,l,_,w){this.delegate.setStyle(u,l,_,w)}removeStyle(u,l,_){this.delegate.removeStyle(u,l,_)}setProperty(u,l,_){"@"==l.charAt(0)&&l==fs?this.disableAnimations(u,!!_):this.delegate.setProperty(u,l,_)}setValue(u,l){this.delegate.setValue(u,l)}listen(u,l,_){return this.delegate.listen(u,l,_)}disableAnimations(u,l){this.engine.disableAnimations(u,l)}}class hs extends Js{constructor(u,l,_,w,x){super(l,_,w,x),this.factory=u,this.namespaceId=l}setProperty(u,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==fs?this.disableAnimations(u,_=void 0===_||!!_):this.engine.process(this.namespaceId,u,l.slice(1),_):this.delegate.setProperty(u,l,_)}listen(u,l,_){if("@"==l.charAt(0)){const w=function za(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(u);let x=l.slice(1),G="";return"@"!=x.charAt(0)&&([x,G]=function xs(S){const u=S.indexOf(".");return[S.substring(0,u),S.slice(u+1)]}(x)),this.engine.listen(this.namespaceId,w,x,G,U=>{this.factory.scheduleListenerCallback(U._data||-1,_,U)})}return this.delegate.listen(u,l,_)}}class qo{constructor(u,l,_){this.delegate=u,this.engine=l,this._zone=_,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,l.onRemovalComplete=(w,x)=>{const G=x?.parentNode(w);G&&x.removeChild(G,w)}}createRenderer(u,l){const w=this.delegate.createRenderer(u,l);if(!u||!l?.data?.animation){const ge=this._rendererCache;let Ge=ge.get(w);return Ge||(Ge=new Js("",w,this.engine,()=>ge.delete(w)),ge.set(w,Ge)),Ge}const x=l.id,G=l.id+"-"+this._currentId;this._currentId++,this.engine.register(G,u);const U=ge=>{Array.isArray(ge)?ge.forEach(U):this.engine.registerTrigger(x,G,u,ge.name,ge)};return l.data.animation.forEach(U),new hs(this,G,w,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,l,_){if(u>=0&&ul(_));const w=this._animationCallbacksBuffer;0==w.length&&queueMicrotask(()=>{this._zone.run(()=>{w.forEach(x=>{const[G,U]=x;G(U)}),this._animationCallbacksBuffer=[]})}),w.push([l,_])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const vi=[{provide:we,useFactory:function Oo(){return new ns}},{provide:Cn,useClass:(()=>{class S extends Cn{constructor(l,_,w){super(l,_,w,(0,f.WQX)(f.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(_){return new(_||S)(f.KVO(v.qQ),f.KVO(q),f.KVO(we))};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})()},{provide:f._9s,useFactory:function No(S,u,l){return new qo(S,u,l)},deps:[g.B7,Cn,f.SKi]}],to=[{provide:q,useFactory:()=>new Zs},{provide:f.bc$,useValue:"BrowserAnimations"},...vi],Ri=[{provide:q,useClass:X},{provide:f.bc$,useValue:"NoopAnimations"},...vi];let no=(()=>{class S{static withConfig(l){return{ngModule:S,providers:l.disableAnimations?Ri:to}}static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({providers:to,imports:[g.Bb]})}return S})();var xr=N(494),ps=N(1631),io=N(8542),Po=N(563),xo=N(6497),Zo=N(1455);const gs=["submenu"],Jo=["app-menuitem",""],ea=()=>({paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"});function ta(S,u){if(1&S&&(f.j41(0,"div",5),f.EFF(1),f.k0s()),2&S){const l=f.XpG();f.R7$(),f.JRh(l.item.label)}}function so(S,u){1&S&&f.nrm(0,"i",10)}function Yi(S,u){if(1&S){const l=f.RV6();f.j41(0,"a",6),f.bIt("click",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.itemClick(w))})("mouseenter",function(){f.eBV(l);const w=f.XpG();return f.Njj(w.onMouseEnter())}),f.nrm(1,"i",7),f.j41(2,"span",8),f.EFF(3),f.k0s(),f.DNE(4,so,1,0,"i",9),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("ngClass",l.item.class)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root&&!l.active)),f.BMQ("href",l.item.url,f.B4B)("target",l.item.target),f.R7$(),f.Y8G("ngClass",l.item.icon),f.R7$(2),f.JRh(l.item.label),f.R7$(),f.Y8G("ngIf",l.item.items)}}function Fo(S,u){1&S&&f.nrm(0,"i",10)}function oo(S,u){if(1&S){const l=f.RV6();f.j41(0,"a",11),f.bIt("click",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.itemClick(w))})("mouseenter",function(){f.eBV(l);const w=f.XpG();return f.Njj(w.onMouseEnter())}),f.nrm(1,"i",7),f.j41(2,"span",8),f.EFF(3),f.k0s(),f.DNE(4,Fo,1,0,"i",9),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("ngClass",l.item.class)("routerLink",l.item.routerLink)("routerLinkActiveOptions",l.item.routerLinkActiveOptions||f.lJ4(16,ea))("fragment",l.item.fragment)("queryParamsHandling",l.item.queryParamsHandling)("preserveFragment",l.item.preserveFragment)("skipLocationChange",l.item.skipLocationChange)("replaceUrl",l.item.replaceUrl)("state",l.item.state)("queryParams",l.item.queryParams)("pTooltip",l.item.label)("tooltipDisabled",!(l.isSlim&&l.root)),f.BMQ("target",l.item.target),f.R7$(),f.Y8G("ngClass",l.item.icon),f.R7$(2),f.JRh(l.item.label),f.R7$(),f.Y8G("ngIf",l.item.items)}}function p(S,u){if(1&S&&f.nrm(0,"li",13),2&S){const l=u.$implicit,_=u.index,w=f.XpG(2);f.HbH(l.badgeClass),f.Y8G("item",l)("index",_)("parentKey",w.key)}}function R(S,u){if(1&S){const l=f.RV6();f.j41(0,"ul",null,0),f.bIt("@children.done",function(w){f.eBV(l);const x=f.XpG();return f.Njj(x.onSubmenuAnimated(w))}),f.DNE(2,p,1,5,"ng-template",12),f.k0s()}if(2&S){const l=f.XpG();f.Y8G("@children",l.submenuAnimation),f.R7$(2),f.Y8G("ngForOf",l.item.items)}}let E=(()=>{class S{constructor(l,_,w,x,G){this.layoutService=l,this.cd=_,this.router=w,this.appSidebar=x,this.menuService=G,this.active=!1,this.key="",this.menuSourceSubscription=this.menuService.menuSource$.subscribe(U=>{Promise.resolve(null).then(()=>{U.routeEvent?this.active=!(U.key!==this.key&&!U.key.startsWith(this.key+"-")):U.key!==this.key&&!U.key.startsWith(this.key+"-")&&(this.active=!1)})}),this.menuResetSubscription=this.menuService.resetSource$.subscribe(()=>{this.active=!1}),this.router.events.pipe((0,re.p)(U=>U instanceof F.wF)).subscribe(U=>{this.isSlimPlus||this.isSlim||this.isHorizontal?this.active=!1:this.item.routerLink&&this.updateActiveStateFromRoute()})}ngOnInit(){this.key=this.parentKey?this.parentKey+"-"+this.index:String(this.index),!(this.isSlimPlus||this.isSlim||this.isHorizontal)&&this.item.routerLink&&this.updateActiveStateFromRoute()}ngAfterViewChecked(){this.root&&this.active&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())&&this.calculatePosition(this.submenu?.nativeElement,this.submenu?.nativeElement.parentElement)}updateActiveStateFromRoute(){this.router.isActive(this.item.routerLink[0],{paths:"exact",queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"})&&this.menuService.onMenuStateChange({key:this.key,routeEvent:!0})}onSubmenuAnimated(l){if("visible"===l.toState&&this.layoutService.isDesktop()&&(this.layoutService.isHorizontal()||this.layoutService.isSlim()||this.layoutService.isSlimPlus())){const _=l.element;this.calculatePosition(_,_.parentElement)}}calculatePosition(l,_){if(l){const{left:w,top:x}=_.getBoundingClientRect(),[G,U]=[window.innerWidth,window.innerHeight],[te,ge]=[l.offsetWidth,l.offsetHeight],Ge=Zo.D.calculateScrollbarWidth();if(l.style.top="",l.style.left="",this.layoutService.isHorizontal()){const ke=w+te+Ge;l.style.left=G expanded",(0,Ve.i0)("400ms cubic-bezier(0.86, 0, 0.07, 1)"))])]}})}return S})(),I=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[g.Bb,fn.YN,Gn.q1,no,Le.u,Ee.n,Y.EJ,xr.Ko,ps.H_,He.tm,io.S,Po.Z,F.iI,xo.G]})}return S})();f.wjB(k,[v.Sq,v.bT,E],[]);let z=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S});static#n=this.\u0275inj=f.G2t({imports:[v.MD]})}return S})();const ve=[];var Ne=N(980);let nt=(()=>{class S{constructor(l){this.loadingService=l}intercept(l,_){return ve.some(x=>l.url.toLowerCase().includes(x.toLowerCase()))?_.handle(l):(this.loadingService.setLoading(!0,l.url),_.handle(l).pipe((0,Ne.j)(()=>{this.loadingService.setLoading(!1,l.url)})))}static#e=this.\u0275fac=function(_){return new(_||S)(f.KVO(Gt))};static#t=this.\u0275prov=f.jDH({token:S,factory:S.\u0275fac})}return S})(),gn=(()=>{class S{static#e=this.\u0275fac=function(_){return new(_||S)};static#t=this.\u0275mod=f.$C({type:S,bootstrap:[Pn]});static#n=this.\u0275inj=f.G2t({providers:[{provide:v.hb,useClass:v.fw},{provide:Gn.a7,useClass:nt,multi:!0}],imports:[ze,I,z]})}return S})();g.sG().bootstrapModule(gn).catch(S=>console.error(S))},4412:(Ze,De,N)=>{N.d(De,{t:()=>v});var g=N(1413);class v extends g.B{constructor(re){super(),this._value=re}get value(){return this.getValue()}_subscribe(re){const f=super._subscribe(re);return!f.closed&&re.next(this._value),f}getValue(){const{hasError:re,thrownError:f,_value:L}=this;if(re)throw f;return this._throwIfClosed(),L}next(re){super.next(this._value=re)}}},1985:(Ze,De,N)=>{N.d(De,{c:()=>$});var g=N(7707),v=N(8359),F=N(3494),re=N(1203),f=N(1026),L=N(8071),A=N(9786);let $=(()=>{class J{constructor(fe){fe&&(this._subscribe=fe)}lift(fe){const be=new J;return be.source=this,be.operator=fe,be}subscribe(fe,be,Le){const He=function W(J){return J&&J instanceof g.vU||function k(J){return J&&(0,L.T)(J.next)&&(0,L.T)(J.error)&&(0,L.T)(J.complete)}(J)&&(0,v.Uv)(J)}(fe)?fe:new g.Ms(fe,be,Le);return(0,A.Y)(()=>{const{operator:at,source:Bt}=this;He.add(at?at.call(He,Bt):Bt?this._subscribe(He):this._trySubscribe(He))}),He}_trySubscribe(fe){try{return this._subscribe(fe)}catch(be){fe.error(be)}}forEach(fe,be){return new(be=H(be))((Le,He)=>{const at=new g.Ms({next:Bt=>{try{fe(Bt)}catch(St){He(St),at.unsubscribe()}},error:He,complete:Le});this.subscribe(at)})}_subscribe(fe){var be;return null===(be=this.source)||void 0===be?void 0:be.subscribe(fe)}[F.s](){return this}pipe(...fe){return(0,re.m)(fe)(this)}toPromise(fe){return new(fe=H(fe))((be,Le)=>{let He;this.subscribe(at=>He=at,at=>Le(at),()=>be(He))})}}return J.create=le=>new J(le),J})();function H(J){var le;return null!==(le=J??f.$.Promise)&&void 0!==le?le:Promise}},1413:(Ze,De,N)=>{N.d(De,{B:()=>A});var g=N(1985),v=N(8359);const re=(0,N(1853).L)(H=>function(){H(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var f=N(7908),L=N(9786);let A=(()=>{class H extends g.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(W){const J=new $(this,this);return J.operator=W,J}_throwIfClosed(){if(this.closed)throw new re}next(W){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(W)}})}error(W){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=W;const{observers:J}=this;for(;J.length;)J.shift().error(W)}})}complete(){(0,L.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:W}=this;for(;W.length;)W.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var W;return(null===(W=this.observers)||void 0===W?void 0:W.length)>0}_trySubscribe(W){return this._throwIfClosed(),super._trySubscribe(W)}_subscribe(W){return this._throwIfClosed(),this._checkFinalizedStatuses(W),this._innerSubscribe(W)}_innerSubscribe(W){const{hasError:J,isStopped:le,observers:fe}=this;return J||le?v.Kn:(this.currentObservers=null,fe.push(W),new v.yU(()=>{this.currentObservers=null,(0,f.o)(fe,W)}))}_checkFinalizedStatuses(W){const{hasError:J,thrownError:le,isStopped:fe}=this;J?W.error(le):fe&&W.complete()}asObservable(){const W=new g.c;return W.source=this,W}}return H.create=(k,W)=>new $(k,W),H})();class $ extends A{constructor(k,W){super(),this.destination=k,this.source=W}next(k){var W,J;null===(J=null===(W=this.destination)||void 0===W?void 0:W.next)||void 0===J||J.call(W,k)}error(k){var W,J;null===(J=null===(W=this.destination)||void 0===W?void 0:W.error)||void 0===J||J.call(W,k)}complete(){var k,W;null===(W=null===(k=this.destination)||void 0===k?void 0:k.complete)||void 0===W||W.call(k)}_subscribe(k){var W,J;return null!==(J=null===(W=this.source)||void 0===W?void 0:W.subscribe(k))&&void 0!==J?J:v.Kn}}},7707:(Ze,De,N)=>{N.d(De,{Ms:()=>Le,vU:()=>J});var g=N(8071),v=N(8359),F=N(1026),re=N(5334),f=N(5343);const L=H("C",void 0,void 0);function H($e,pe,et){return{kind:$e,value:pe,error:et}}var k=N(9270),W=N(9786);class J extends v.yU{constructor(pe){super(),this.isStopped=!1,pe?(this.destination=pe,(0,v.Uv)(pe)&&pe.add(this)):this.destination=St}static create(pe,et,se){return new Le(pe,et,se)}next(pe){this.isStopped?Bt(function $($e){return H("N",$e,void 0)}(pe),this):this._next(pe)}error(pe){this.isStopped?Bt(function A($e){return H("E",void 0,$e)}(pe),this):(this.isStopped=!0,this._error(pe))}complete(){this.isStopped?Bt(L,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(pe){this.destination.next(pe)}_error(pe){try{this.destination.error(pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const le=Function.prototype.bind;function fe($e,pe){return le.call($e,pe)}class be{constructor(pe){this.partialObserver=pe}next(pe){const{partialObserver:et}=this;if(et.next)try{et.next(pe)}catch(se){He(se)}}error(pe){const{partialObserver:et}=this;if(et.error)try{et.error(pe)}catch(se){He(se)}else He(pe)}complete(){const{partialObserver:pe}=this;if(pe.complete)try{pe.complete()}catch(et){He(et)}}}class Le extends J{constructor(pe,et,se){let ne;if(super(),(0,g.T)(pe)||!pe)ne={next:pe??void 0,error:et??void 0,complete:se??void 0};else{let Ie;this&&F.$.useDeprecatedNextContext?(Ie=Object.create(pe),Ie.unsubscribe=()=>this.unsubscribe(),ne={next:pe.next&&fe(pe.next,Ie),error:pe.error&&fe(pe.error,Ie),complete:pe.complete&&fe(pe.complete,Ie)}):ne=pe}this.destination=new be(ne)}}function He($e){F.$.useDeprecatedSynchronousErrorHandling?(0,W.l)($e):(0,re.m)($e)}function Bt($e,pe){const{onStoppedNotification:et}=F.$;et&&k.f.setTimeout(()=>et($e,pe))}const St={closed:!0,next:f.l,error:function at($e){throw $e},complete:f.l}},8359:(Ze,De,N)=>{N.d(De,{Kn:()=>L,yU:()=>f,Uv:()=>A});var g=N(8071);const F=(0,N(1853).L)(H=>function(W){H(this),this.message=W?`${W.length} errors occurred during unsubscription:\n${W.map((J,le)=>`${le+1}) ${J.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=W});var re=N(7908);class f{constructor(k){this.initialTeardown=k,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let k;if(!this.closed){this.closed=!0;const{_parentage:W}=this;if(W)if(this._parentage=null,Array.isArray(W))for(const fe of W)fe.remove(this);else W.remove(this);const{initialTeardown:J}=this;if((0,g.T)(J))try{J()}catch(fe){k=fe instanceof F?fe.errors:[fe]}const{_finalizers:le}=this;if(le){this._finalizers=null;for(const fe of le)try{$(fe)}catch(be){k=k??[],be instanceof F?k=[...k,...be.errors]:k.push(be)}}if(k)throw new F(k)}}add(k){var W;if(k&&k!==this)if(this.closed)$(k);else{if(k instanceof f){if(k.closed||k._hasParent(this))return;k._addParent(this)}(this._finalizers=null!==(W=this._finalizers)&&void 0!==W?W:[]).push(k)}}_hasParent(k){const{_parentage:W}=this;return W===k||Array.isArray(W)&&W.includes(k)}_addParent(k){const{_parentage:W}=this;this._parentage=Array.isArray(W)?(W.push(k),W):W?[W,k]:k}_removeParent(k){const{_parentage:W}=this;W===k?this._parentage=null:Array.isArray(W)&&(0,re.o)(W,k)}remove(k){const{_finalizers:W}=this;W&&(0,re.o)(W,k),k instanceof f&&k._removeParent(this)}}f.EMPTY=(()=>{const H=new f;return H.closed=!0,H})();const L=f.EMPTY;function A(H){return H instanceof f||H&&"closed"in H&&(0,g.T)(H.remove)&&(0,g.T)(H.add)&&(0,g.T)(H.unsubscribe)}function $(H){(0,g.T)(H)?H():H.unsubscribe()}},1026:(Ze,De,N)=>{N.d(De,{$:()=>g});const g={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},8793:(Ze,De,N)=>{N.d(De,{x:()=>f});var g=N(6365),F=N(9326),re=N(6648);function f(...L){return function v(){return(0,g.U)(1)}()((0,re.H)(L,(0,F.lI)(L)))}},983:(Ze,De,N)=>{N.d(De,{w:()=>v});const v=new(N(1985).c)(f=>f.complete())},6648:(Ze,De,N)=>{N.d(De,{H:()=>se});var g=N(8750),v=N(5225),F=N(9974),re=N(4360);function f(ne,Ie=0){return(0,F.N)((Ee,Y)=>{Ee.subscribe((0,re._)(Y,xe=>(0,v.N)(Y,ne,()=>Y.next(xe),Ie),()=>(0,v.N)(Y,ne,()=>Y.complete(),Ie),xe=>(0,v.N)(Y,ne,()=>Y.error(xe),Ie)))})}function L(ne,Ie=0){return(0,F.N)((Ee,Y)=>{Y.add(ne.schedule(()=>Ee.subscribe(Y),Ie))})}var H=N(1985),W=N(4761),J=N(8071);function fe(ne,Ie){if(!ne)throw new Error("Iterable cannot be null");return new H.c(Ee=>{(0,v.N)(Ee,Ie,()=>{const Y=ne[Symbol.asyncIterator]();(0,v.N)(Ee,Ie,()=>{Y.next().then(xe=>{xe.done?Ee.complete():Ee.next(xe.value)})},0,!0)})})}var be=N(5055),Le=N(9858),He=N(7441),at=N(5397),Bt=N(7953),St=N(591),$e=N(5196);function se(ne,Ie){return Ie?function et(ne,Ie){if(null!=ne){if((0,be.l)(ne))return function A(ne,Ie){return(0,g.Tg)(ne).pipe(L(Ie),f(Ie))}(ne,Ie);if((0,He.X)(ne))return function k(ne,Ie){return new H.c(Ee=>{let Y=0;return Ie.schedule(function(){Y===ne.length?Ee.complete():(Ee.next(ne[Y++]),Ee.closed||this.schedule())})})}(ne,Ie);if((0,Le.y)(ne))return function $(ne,Ie){return(0,g.Tg)(ne).pipe(L(Ie),f(Ie))}(ne,Ie);if((0,Bt.T)(ne))return fe(ne,Ie);if((0,at.x)(ne))return function le(ne,Ie){return new H.c(Ee=>{let Y;return(0,v.N)(Ee,Ie,()=>{Y=ne[W.l](),(0,v.N)(Ee,Ie,()=>{let xe,ae;try{({value:xe,done:ae}=Y.next())}catch(qe){return void Ee.error(qe)}ae?Ee.complete():Ee.next(xe)},0,!0)}),()=>(0,J.T)(Y?.return)&&Y.return()})}(ne,Ie);if((0,$e.U)(ne))return function pe(ne,Ie){return fe((0,$e.C)(ne),Ie)}(ne,Ie)}throw(0,St.L)(ne)}(ne,Ie):(0,g.Tg)(ne)}},8750:(Ze,De,N)=>{N.d(De,{Tg:()=>le});var g=N(1635),v=N(7441),F=N(9858),re=N(1985),f=N(5055),L=N(7953),A=N(591),$=N(5397),H=N(5196),k=N(8071),W=N(5334),J=N(3494);function le($e){if($e instanceof re.c)return $e;if(null!=$e){if((0,f.l)($e))return function fe($e){return new re.c(pe=>{const et=$e[J.s]();if((0,k.T)(et.subscribe))return et.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($e);if((0,v.X)($e))return function be($e){return new re.c(pe=>{for(let et=0;et<$e.length&&!pe.closed;et++)pe.next($e[et]);pe.complete()})}($e);if((0,F.y)($e))return function Le($e){return new re.c(pe=>{$e.then(et=>{pe.closed||(pe.next(et),pe.complete())},et=>pe.error(et)).then(null,W.m)})}($e);if((0,L.T)($e))return at($e);if((0,$.x)($e))return function He($e){return new re.c(pe=>{for(const et of $e)if(pe.next(et),pe.closed)return;pe.complete()})}($e);if((0,H.U)($e))return function Bt($e){return at((0,H.C)($e))}($e)}throw(0,A.L)($e)}function at($e){return new re.c(pe=>{(function St($e,pe){var et,se,ne,Ie;return(0,g.sH)(this,void 0,void 0,function*(){try{for(et=(0,g.xN)($e);!(se=yield et.next()).done;)if(pe.next(se.value),pe.closed)return}catch(Ee){ne={error:Ee}}finally{try{se&&!se.done&&(Ie=et.return)&&(yield Ie.call(et))}finally{if(ne)throw ne.error}}pe.complete()})})($e,pe).catch(et=>pe.error(et))})}},7673:(Ze,De,N)=>{N.d(De,{of:()=>F});var g=N(9326),v=N(6648);function F(...re){const f=(0,g.lI)(re);return(0,v.H)(re,f)}},1584:(Ze,De,N)=>{N.d(De,{O:()=>f});var g=N(1985),v=N(3888),F=N(9470);function f(L=0,A,$=v.b){let H=-1;return null!=A&&((0,F.m)(A)?$=A:H=A),new g.c(k=>{let W=function re(L){return L instanceof Date&&!isNaN(L)}(L)?+L-$.now():L;W<0&&(W=0);let J=0;return $.schedule(function(){k.closed||(k.next(J++),0<=H?this.schedule(void 0,H):k.complete())},W)})}},4360:(Ze,De,N)=>{N.d(De,{_:()=>v});var g=N(7707);function v(re,f,L,A,$){return new F(re,f,L,A,$)}class F extends g.vU{constructor(f,L,A,$,H,k){super(f),this.onFinalize=H,this.shouldUnsubscribe=k,this._next=L?function(W){try{L(W)}catch(J){f.error(J)}}:super._next,this._error=$?function(W){try{$(W)}catch(J){f.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(W){f.error(W)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var f;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:L}=this;super.unsubscribe(),!L&&(null===(f=this.onFinalize)||void 0===f||f.call(this))}}}},274:(Ze,De,N)=>{N.d(De,{H:()=>F});var g=N(1397),v=N(8071);function F(re,f){return(0,v.T)(f)?(0,g.Z)(re,f,1):(0,g.Z)(re,1)}},5964:(Ze,De,N)=>{N.d(De,{p:()=>F});var g=N(9974),v=N(4360);function F(re,f){return(0,g.N)((L,A)=>{let $=0;L.subscribe((0,v._)(A,H=>re.call(f,H,$++)&&A.next(H)))})}},980:(Ze,De,N)=>{N.d(De,{j:()=>v});var g=N(9974);function v(F){return(0,g.N)((re,f)=>{try{re.subscribe(f)}finally{f.add(F)}})}},6354:(Ze,De,N)=>{N.d(De,{T:()=>F});var g=N(9974),v=N(4360);function F(re,f){return(0,g.N)((L,A)=>{let $=0;L.subscribe((0,v._)(A,H=>{A.next(re.call(f,H,$++))}))})}},3703:(Ze,De,N)=>{N.d(De,{u:()=>v});var g=N(6354);function v(F){return(0,g.T)(()=>F)}},6365:(Ze,De,N)=>{N.d(De,{U:()=>F});var g=N(1397),v=N(3669);function F(re=1/0){return(0,g.Z)(v.D,re)}},1397:(Ze,De,N)=>{N.d(De,{Z:()=>$});var g=N(6354),v=N(8750),F=N(9974),re=N(5225),f=N(4360),A=N(8071);function $(H,k,W=1/0){return(0,A.T)(k)?$((J,le)=>(0,g.T)((fe,be)=>k(J,fe,le,be))((0,v.Tg)(H(J,le))),W):("number"==typeof k&&(W=k),(0,F.N)((J,le)=>function L(H,k,W,J,le,fe,be,Le){const He=[];let at=0,Bt=0,St=!1;const $e=()=>{St&&!He.length&&!at&&k.complete()},pe=se=>at{fe&&k.next(se),at++;let ne=!1;(0,v.Tg)(W(se,Bt++)).subscribe((0,f._)(k,Ie=>{le?.(Ie),fe?pe(Ie):k.next(Ie)},()=>{ne=!0},void 0,()=>{if(ne)try{for(at--;He.length&&atet(Ie)):et(Ie)}$e()}catch(Ie){k.error(Ie)}}))};return H.subscribe((0,f._)(k,pe,()=>{St=!0,$e()})),()=>{Le?.()}}(J,le,H,W)))}},5558:(Ze,De,N)=>{N.d(De,{n:()=>re});var g=N(8750),v=N(9974),F=N(4360);function re(f,L){return(0,v.N)((A,$)=>{let H=null,k=0,W=!1;const J=()=>W&&!H&&$.complete();A.subscribe((0,F._)($,le=>{H?.unsubscribe();let fe=0;const be=k++;(0,g.Tg)(f(le,be)).subscribe(H=(0,F._)($,Le=>$.next(L?L(le,Le,be,fe++):Le),()=>{H=null,J()}))},()=>{W=!0,J()}))})}},6697:(Ze,De,N)=>{N.d(De,{s:()=>re});var g=N(983),v=N(9974),F=N(4360);function re(f){return f<=0?()=>g.w:(0,v.N)((L,A)=>{let $=0;L.subscribe((0,F._)(A,H=>{++$<=f&&(A.next(H),f<=$&&A.complete())}))})}},3888:(Ze,De,N)=>{N.d(De,{b:()=>k,E:()=>H});var g=N(8359);class v extends g.yU{constructor(J,le){super()}schedule(J,le=0){return this}}const F={setInterval(W,J,...le){const{delegate:fe}=F;return fe?.setInterval?fe.setInterval(W,J,...le):setInterval(W,J,...le)},clearInterval(W){const{delegate:J}=F;return(J?.clearInterval||clearInterval)(W)},delegate:void 0};var re=N(7908);const L={now:()=>(L.delegate||Date).now(),delegate:void 0};class A{constructor(J,le=A.now){this.schedulerActionCtor=J,this.now=le}schedule(J,le=0,fe){return new this.schedulerActionCtor(this,J).schedule(fe,le)}}A.now=L.now;const H=new class $ extends A{constructor(J,le=A.now){super(J,le),this.actions=[],this._active=!1}flush(J){const{actions:le}=this;if(this._active)return void le.push(J);let fe;this._active=!0;do{if(fe=J.execute(J.state,J.delay))break}while(J=le.shift());if(this._active=!1,fe){for(;J=le.shift();)J.unsubscribe();throw fe}}}(class f extends v{constructor(J,le){super(J,le),this.scheduler=J,this.work=le,this.pending=!1}schedule(J,le=0){var fe;if(this.closed)return this;this.state=J;const be=this.id,Le=this.scheduler;return null!=be&&(this.id=this.recycleAsyncId(Le,be,le)),this.pending=!0,this.delay=le,this.id=null!==(fe=this.id)&&void 0!==fe?fe:this.requestAsyncId(Le,this.id,le),this}requestAsyncId(J,le,fe=0){return F.setInterval(J.flush.bind(J,this),fe)}recycleAsyncId(J,le,fe=0){if(null!=fe&&this.delay===fe&&!1===this.pending)return le;null!=le&&F.clearInterval(le)}execute(J,le){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const fe=this._execute(J,le);if(fe)return fe;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(J,le){let be,fe=!1;try{this.work(J)}catch(Le){fe=!0,be=Le||new Error("Scheduled action threw falsy error")}if(fe)return this.unsubscribe(),be}unsubscribe(){if(!this.closed){const{id:J,scheduler:le}=this,{actions:fe}=le;this.work=this.state=this.scheduler=null,this.pending=!1,(0,re.o)(fe,this),null!=J&&(this.id=this.recycleAsyncId(le,J,null)),this.delay=null,super.unsubscribe()}}}),k=H},9270:(Ze,De,N)=>{N.d(De,{f:()=>g});const g={setTimeout(v,F,...re){const{delegate:f}=g;return f?.setTimeout?f.setTimeout(v,F,...re):setTimeout(v,F,...re)},clearTimeout(v){const{delegate:F}=g;return(F?.clearTimeout||clearTimeout)(v)},delegate:void 0}},4761:(Ze,De,N)=>{N.d(De,{l:()=>v});const v=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ze,De,N)=>{N.d(De,{s:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Ze,De,N)=>{N.d(De,{lI:()=>f,ms:()=>re});var g=N(8071),v=N(9470);function F(A){return A[A.length-1]}function re(A){return(0,g.T)(F(A))?A.pop():void 0}function f(A){return(0,v.m)(F(A))?A.pop():void 0}},3073:(Ze,De,N)=>{N.d(De,{D:()=>f});const{isArray:g}=Array,{getPrototypeOf:v,prototype:F,keys:re}=Object;function f(A){if(1===A.length){const $=A[0];if(g($))return{args:$,keys:null};if(function L(A){return A&&"object"==typeof A&&v(A)===F}($)){const H=re($);return{args:H.map(k=>$[k]),keys:H}}}return{args:A,keys:null}}},7908:(Ze,De,N)=>{function g(v,F){if(v){const re=v.indexOf(F);0<=re&&v.splice(re,1)}}N.d(De,{o:()=>g})},1853:(Ze,De,N)=>{function g(v){const re=v(f=>{Error.call(f),f.stack=(new Error).stack});return re.prototype=Object.create(Error.prototype),re.prototype.constructor=re,re}N.d(De,{L:()=>g})},8496:(Ze,De,N)=>{function g(v,F){return v.reduce((re,f,L)=>(re[f]=F[L],re),{})}N.d(De,{e:()=>g})},9786:(Ze,De,N)=>{N.d(De,{Y:()=>F,l:()=>re});var g=N(1026);let v=null;function F(f){if(g.$.useDeprecatedSynchronousErrorHandling){const L=!v;if(L&&(v={errorThrown:!1,error:null}),f(),L){const{errorThrown:A,error:$}=v;if(v=null,A)throw $}}else f()}function re(f){g.$.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=f)}},5225:(Ze,De,N)=>{function g(v,F,re,f=0,L=!1){const A=F.schedule(function(){re(),L?v.add(this.schedule(null,f)):this.unsubscribe()},f);if(v.add(A),!L)return A}N.d(De,{N:()=>g})},3669:(Ze,De,N)=>{function g(v){return v}N.d(De,{D:()=>g})},7441:(Ze,De,N)=>{N.d(De,{X:()=>g});const g=v=>v&&"number"==typeof v.length&&"function"!=typeof v},7953:(Ze,De,N)=>{N.d(De,{T:()=>v});var g=N(8071);function v(F){return Symbol.asyncIterator&&(0,g.T)(F?.[Symbol.asyncIterator])}},8071:(Ze,De,N)=>{function g(v){return"function"==typeof v}N.d(De,{T:()=>g})},5055:(Ze,De,N)=>{N.d(De,{l:()=>F});var g=N(3494),v=N(8071);function F(re){return(0,v.T)(re[g.s])}},5397:(Ze,De,N)=>{N.d(De,{x:()=>F});var g=N(4761),v=N(8071);function F(re){return(0,v.T)(re?.[g.l])}},9858:(Ze,De,N)=>{N.d(De,{y:()=>v});var g=N(8071);function v(F){return(0,g.T)(F?.then)}},5196:(Ze,De,N)=>{N.d(De,{C:()=>F,U:()=>re});var g=N(1635),v=N(8071);function F(f){return(0,g.AQ)(this,arguments,function*(){const A=f.getReader();try{for(;;){const{value:$,done:H}=yield(0,g.N3)(A.read());if(H)return yield(0,g.N3)(void 0);yield yield(0,g.N3)($)}}finally{A.releaseLock()}})}function re(f){return(0,v.T)(f?.getReader)}},9470:(Ze,De,N)=>{N.d(De,{m:()=>v});var g=N(8071);function v(F){return F&&(0,g.T)(F.schedule)}},9974:(Ze,De,N)=>{N.d(De,{N:()=>F,S:()=>v});var g=N(8071);function v(re){return(0,g.T)(re?.lift)}function F(re){return f=>{if(v(f))return f.lift(function(L){try{return re(L,this)}catch(A){this.error(A)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ze,De,N)=>{N.d(De,{I:()=>re});var g=N(6354);const{isArray:v}=Array;function re(f){return(0,g.T)(L=>function F(f,L){return v(L)?f(...L):f(L)}(f,L))}},5343:(Ze,De,N)=>{function g(){}N.d(De,{l:()=>g})},1203:(Ze,De,N)=>{N.d(De,{F:()=>v,m:()=>F});var g=N(3669);function v(...re){return F(re)}function F(re){return 0===re.length?g.D:1===re.length?re[0]:function(L){return re.reduce((A,$)=>$(A),L)}}},5334:(Ze,De,N)=>{N.d(De,{m:()=>F});var g=N(1026),v=N(9270);function F(re){v.f.setTimeout(()=>{const{onUnhandledError:f}=g.$;if(!f)throw re;f(re)})}},591:(Ze,De,N)=>{function g(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}N.d(De,{L:()=>g})},9969:(Ze,De,N)=>{N.d(De,{FX:()=>Ie,If:()=>g,K2:()=>L,hZ:()=>F,i0:()=>re,iF:()=>A,kY:()=>k,kp:()=>v,lY:()=>W,sM:()=>le,sf:()=>se,ui:()=>ne,wk:()=>$});var g=function(Ee){return Ee[Ee.State=0]="State",Ee[Ee.Transition=1]="Transition",Ee[Ee.Sequence=2]="Sequence",Ee[Ee.Group=3]="Group",Ee[Ee.Animate=4]="Animate",Ee[Ee.Keyframes=5]="Keyframes",Ee[Ee.Style=6]="Style",Ee[Ee.Trigger=7]="Trigger",Ee[Ee.Reference=8]="Reference",Ee[Ee.AnimateChild=9]="AnimateChild",Ee[Ee.AnimateRef=10]="AnimateRef",Ee[Ee.Query=11]="Query",Ee[Ee.Stagger=12]="Stagger",Ee}(g||{});const v="*";function F(Ee,Y){return{type:g.Trigger,name:Ee,definitions:Y,options:{}}}function re(Ee,Y=null){return{type:g.Animate,styles:Y,timings:Ee}}function L(Ee,Y=null){return{type:g.Sequence,steps:Ee,options:Y}}function A(Ee){return{type:g.Style,styles:Ee,offset:null}}function $(Ee,Y,xe){return{type:g.State,name:Ee,styles:Y,options:xe}}function k(Ee,Y,xe=null){return{type:g.Transition,expr:Ee,animation:Y,options:xe}}function W(Ee,Y=null){return{type:g.Reference,animation:Ee,options:Y}}function le(Ee,Y=null){return{type:g.AnimateRef,animation:Ee,options:Y}}class se{constructor(Y=0,xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const xe="start"==Y?this._onStartFns:this._onDoneFns;xe.forEach(ae=>ae()),xe.length=0}}class ne{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let xe=0,ae=0,qe=0;const Oe=this.players.length;0==Oe?queueMicrotask(()=>this._onFinish()):this.players.forEach(ze=>{ze.onDone(()=>{++xe==Oe&&this._onFinish()}),ze.onDestroy(()=>{++ae==Oe&&this._onDestroy()}),ze.onStart(()=>{++qe==Oe&&this._onStart()})}),this.totalTime=this.players.reduce((ze,pt)=>Math.max(ze,pt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const xe=Y*this.totalTime;this.players.forEach(ae=>{const qe=ae.totalTime?Math.min(1,xe/ae.totalTime):1;ae.setPosition(qe)})}getPosition(){const Y=this.players.reduce((xe,ae)=>null===xe||ae.totalTime>xe.totalTime?ae:xe,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const xe="start"==Y?this._onStartFns:this._onDoneFns;xe.forEach(ae=>ae()),xe.length=0}}const Ie="!"},177:(Ze,De,N)=>{N.d(De,{AJ:()=>Hr,B3:()=>mt,Jj:()=>Ft,MD:()=>ui,N0:()=>ei,QT:()=>F,QX:()=>Yn,Sm:()=>Le,Sq:()=>lt,T3:()=>wt,UE:()=>rr,VF:()=>f,Vy:()=>zi,Xr:()=>Ki,YU:()=>_e,ZD:()=>re,_b:()=>X,aZ:()=>at,bT:()=>Ht,fw:()=>He,hb:()=>fe,hj:()=>H,qQ:()=>A});var g=N(4438);let v=null;function F(){return v}function re(p){v??=p}class f{}const A=new g.nKC("");let $=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>(0,g.WQX)(k),providedIn:"platform"})}return p})();const H=new g.nKC("");let k=(()=>{class p extends ${constructor(){super(),this._doc=(0,g.WQX)(A),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return F().getBaseHref(this._doc)}onPopState(E){const I=F().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=F().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,I,z){this._history.pushState(E,I,z)}replaceState(E,I,z){this._history.replaceState(E,I,z)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>new p,providedIn:"platform"})}return p})();function W(p,R){if(0==p.length)return R;if(0==R.length)return p;let E=0;return p.endsWith("/")&&E++,R.startsWith("/")&&E++,2==E?p+R.substring(1):1==E?p+R:p+"/"+R}function J(p){const R=p.match(/#|\?|$/),E=R&&R.index||p.length;return p.slice(0,E-("/"===p[E-1]?1:0))+p.slice(E)}function le(p){return p&&"?"!==p[0]?"?"+p:p}let fe=(()=>{class p{historyGo(E){throw new Error("")}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=g.jDH({token:p,factory:()=>(0,g.WQX)(Le),providedIn:"root"})}return p})();const be=new g.nKC("");let Le=(()=>{class p extends fe{constructor(E,I){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=I??this._platformLocation.getBaseHrefFromDOM()??(0,g.WQX)(A).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return W(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+le(this._platformLocation.search),z=this._platformLocation.hash;return z&&E?`${I}${z}`:I}pushState(E,I,z,ve){const Ne=this.prepareExternalUrl(z+le(ve));this._platformLocation.pushState(E,I,Ne)}replaceState(E,I,z,ve){const Ne=this.prepareExternalUrl(z+le(ve));this._platformLocation.replaceState(E,I,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(g.KVO($),g.KVO(be,8))};static#t=this.\u0275prov=g.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),He=(()=>{class p extends fe{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){const I=this._platformLocation.hash??"#";return I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=W(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,z,ve){let Ne=this.prepareExternalUrl(z+le(ve));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.pushState(E,I,Ne)}replaceState(E,I,z,ve){let Ne=this.prepareExternalUrl(z+le(ve));0==Ne.length&&(Ne=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,Ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static#e=this.\u0275fac=function(I){return new(I||p)(g.KVO($),g.KVO(be,8))};static#t=this.\u0275prov=g.jDH({token:p,factory:p.\u0275fac})}return p})(),at=(()=>{class p{constructor(E){this._subject=new g.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const I=this._locationStrategy.getBaseHref();this._basePath=function pe(p){if(new RegExp("^(https?:)?//").test(p)){const[,E]=p.split(/\/\/[^\/]+/);return E}return p}(J($e(I))),this._locationStrategy.onPopState(z=>{this._subject.emit({url:this.path(!0),pop:!0,state:z.state,type:z.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+le(I))}normalize(E){return p.stripTrailingSlash(function St(p,R){if(!p||!R.startsWith(p))return R;const E=R.substring(p.length);return""===E||["/",";","?","#"].includes(E[0])?E:R}(this._basePath,$e(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,I="",z=null){this._locationStrategy.pushState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+le(I)),z)}replaceState(E,I="",z=null){this._locationStrategy.replaceState(z,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+le(I)),z)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription??=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}),()=>{const I=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(z=>z(E,I))}subscribe(E,I,z){return this._subject.subscribe({next:E,error:I,complete:z})}static#e=this.normalizeQueryParams=le;static#t=this.joinWithSlash=W;static#n=this.stripTrailingSlash=J;static#r=this.\u0275fac=function(I){return new(I||p)(g.KVO(fe))};static#i=this.\u0275prov=g.jDH({token:p,factory:()=>function Bt(){return new at((0,g.KVO)(fe))}(),providedIn:"root"})}return p})();function $e(p){return p.replace(/\/index.html$/,"")}var se=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(se||{});const xe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Fe(p,R){const E=(0,g.H5H)(p),I=E[g.KH2.NumberSymbols][R];if(typeof I>"u"){if(R===xe.CurrencyDecimal)return E[g.KH2.NumberSymbols][xe.Decimal];if(R===xe.CurrencyGroup)return E[g.KH2.NumberSymbols][xe.Group]}return I}const Mn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Br(p){const R=parseInt(p);if(isNaN(R))throw new Error("Invalid integer literal when parsing "+p);return R}function X(p,R){R=encodeURIComponent(R);for(const E of p.split(";")){const I=E.indexOf("="),[z,ve]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(z.trim()===R)return decodeURIComponent(ve)}return null}const q=/\s+/,we=[];let _e=(()=>{class p{constructor(E,I){this._ngEl=E,this._renderer=I,this.initialClasses=we,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(q):we}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(q):E}ngDoCheck(){for(const I of this.initialClasses)this._updateState(I,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const I of E)this._updateState(I,!0);else if(null!=E)for(const I of Object.keys(E))this._updateState(I,!!E[I]);this._applyStateDiff()}_updateState(E,I){const z=this.stateMap.get(E);void 0!==z?(z.enabled!==I&&(z.changed=!0,z.enabled=I),z.touched=!0):this.stateMap.set(E,{enabled:I,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const I=E[0],z=E[1];z.changed?(this._toggleClass(I,z.enabled),z.changed=!1):z.touched||(z.enabled&&this._toggleClass(I,!1),this.stateMap.delete(I)),z.touched=!1}}_toggleClass(E,I){(E=E.trim()).length>0&&E.split(q).forEach(z=>{I?this._renderer.addClass(this._ngEl.nativeElement,z):this._renderer.removeClass(this._ngEl.nativeElement,z)})}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.aKT),g.rXU(g.sFG))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:[g.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return p})();class Tt{constructor(R,E,I,z){this.$implicit=R,this.ngForOf=E,this.index=I,this.count=z}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let lt=(()=>{class p{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,I,z){this._viewContainer=E,this._template=I,this._differs=z,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((z,ve,Ne)=>{if(null==z.previousIndex)I.createEmbeddedView(this._template,new Tt(z.item,this._ngForOf,-1,-1),null===Ne?void 0:Ne);else if(null==Ne)I.remove(null===ve?void 0:ve);else if(null!==ve){const nt=I.get(ve);I.move(nt,Ne),Jt(nt,z)}});for(let z=0,ve=I.length;z{Jt(I.get(z.currentIndex),z)})}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b),g.rXU(g.C4Q),g.rXU(g._q3))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return p})();function Jt(p,R){p.context.$implicit=R.item}let Ht=(()=>{class p{constructor(E,I){this._viewContainer=E,this._context=new xn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Qn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Qn("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,I){return!0}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b),g.rXU(g.C4Q))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return p})();class xn{constructor(){this.$implicit=null,this.ngIf=null}}function Qn(p,R){if(R&&!R.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,g.Tbb)(R)}'.`)}let mt=(()=>{class p{constructor(E,I,z){this._ngEl=E,this._differs=I,this._renderer=z,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[z,ve]=E.split("."),Ne=-1===z.indexOf("-")?void 0:g.czy.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,z,ve?`${I}${ve}`:I,Ne):this._renderer.removeStyle(this._ngEl.nativeElement,z,Ne)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.aKT),g.rXU(g.MKu),g.rXU(g.sFG))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return p})(),wt=(()=>{class p{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(this._shouldRecreateView(E)){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const z=this._createContextForwardProxy();this._viewRef=I.createEmbeddedView(this.ngTemplateOutlet,z,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(E){return!!E.ngTemplateOutlet||!!E.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(E,I,z)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,I,z),get:(E,I,z)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,I,z)}})}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.c1b))};static#t=this.\u0275dir=g.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.OA$]})}return p})();function jn(p,R){return new g.wOt(2100,!1)}class ai{createSubscription(R,E){return(0,g.O8t)(()=>R.subscribe({next:E,error:I=>{throw I}}))}dispose(R){(0,g.O8t)(()=>R.unsubscribe())}}class Ur{createSubscription(R,E){return R.then(E,I=>{throw I})}dispose(R){}}const ts=new Ur,Si=new ai;let Ft=(()=>{class p{constructor(E){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){if(!this._obj){if(E)try{this.markForCheckOnValueUpdate=!1,this._subscribe(E)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,g.jNT)(E))return ts;if((0,g.zjR)(E))return Si;throw jn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(I){return new(I||p)(g.rXU(g.gRc,16))};static#t=this.\u0275pipe=g.EJ8({name:"async",type:p,pure:!1,standalone:!0})}return p})(),Yn=(()=>{class p{constructor(E){this._locale=E}transform(E,I,z){if(!function Zn(p){return!(null==p||""===p||p!=p)}(E))return null;z||=this._locale;try{return function yr(p,R,E){return function hn(p,R,E,I,z,ve,Ne=!1){let nt="",gn=!1;if(isFinite(p)){let S=function qr(p){let I,z,ve,Ne,nt,R=Math.abs(p)+"",E=0;for((z=R.indexOf("."))>-1&&(R=R.replace(".","")),(ve=R.search(/e/i))>0?(z<0&&(z=ve),z+=+R.slice(ve+1),R=R.substring(0,ve)):z<0&&(z=R.length),ve=0;"0"===R.charAt(ve);ve++);if(ve===(nt=R.length))I=[0],z=1;else{for(nt--;"0"===R.charAt(nt);)nt--;for(z-=ve,I=[],Ne=0;ve<=nt;ve++,Ne++)I[Ne]=Number(R.charAt(ve))}return z>22&&(I=I.splice(0,21),E=z-1,z=1),{digits:I,exponent:E,integerLen:z}}(p);Ne&&(S=function vr(p){if(0===p.digits[0])return p;const R=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===R?p.digits.push(0,0):1===R&&p.digits.push(0),p.integerLen+=2),p}(S));let u=R.minInt,l=R.minFrac,_=R.maxFrac;if(ve){const ge=ve.match(Mn);if(null===ge)throw new Error(`${ve} is not a valid digit info`);const Ge=ge[1],ke=ge[3],yt=ge[5];null!=Ge&&(u=Br(Ge)),null!=ke&&(l=Br(ke)),null!=yt?_=Br(yt):null!=ke&&l>_&&(_=l)}!function Or(p,R,E){if(R>E)throw new Error(`The minimum number of digits after fraction (${R}) is higher than the maximum (${E}).`);let I=p.digits,z=I.length-p.integerLen;const ve=Math.min(Math.max(R,z),E);let Ne=ve+p.integerLen,nt=I[Ne];if(Ne>0){I.splice(Math.max(p.integerLen,Ne));for(let l=Ne;l=5)if(Ne-1<0){for(let l=0;l>Ne;l--)I.unshift(0),p.integerLen++;I.unshift(1),p.integerLen++}else I[Ne-1]++;for(;z=S?x.pop():gn=!1),_>=10?1:0},0);u&&(I.unshift(u),p.integerLen++)}(S,l,_);let w=S.digits,x=S.integerLen;const G=S.exponent;let U=[];for(gn=w.every(ge=>!ge);x0?U=w.splice(x,w.length):(U=w,w=[0]);const te=[];for(w.length>=R.lgSize&&te.unshift(w.splice(-R.lgSize,w.length).join(""));w.length>R.gSize;)te.unshift(w.splice(-R.gSize,w.length).join(""));w.length&&te.unshift(w.join("")),nt=te.join(Fe(E,I)),U.length&&(nt+=Fe(E,z)+U.join("")),G&&(nt+=Fe(E,xe.Exponential)+"+"+G)}else nt=Fe(E,xe.Infinity);return nt=p<0&&!gn?R.negPre+nt+R.negSuf:R.posPre+nt+R.posSuf,nt}(p,function Wt(p,R="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=p.split(";"),z=I[0],ve=I[1],Ne=-1!==z.indexOf(".")?z.split("."):[z.substring(0,z.lastIndexOf("0")+1),z.substring(z.lastIndexOf("0")+1)],nt=Ne[0],gn=Ne[1]||"";E.posPre=nt.substring(0,nt.indexOf("#"));for(let u=0;u{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=g.$C({type:p});static#n=this.\u0275inj=g.G2t({})}return p})();const Hr="browser",Mi="server";function rr(p){return p===Hr}function zi(p){return p===Mi}let Ki=(()=>{class p{static#e=this.\u0275prov=(0,g.jDH)({token:p,providedIn:"root",factory:()=>rr((0,g.WQX)(g.Agw))?new Hn((0,g.WQX)(A),window):new ss})}return p})();class Hn{constructor(R,E){this.document=R,this.window=E,this.offset=()=>[0,0]}setOffset(R){this.offset=Array.isArray(R)?()=>R:R}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(R){this.window.scrollTo(R[0],R[1])}scrollToAnchor(R){const E=function Jn(p,R){const E=p.getElementById(R)||p.getElementsByName(R)[0];if(E)return E;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const I=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let z=I.currentNode;for(;z;){const ve=z.shadowRoot;if(ve){const Ne=ve.getElementById(R)||ve.querySelector(`[name="${R}"]`);if(Ne)return Ne}z=I.nextNode()}}return null}(this.document,R);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(R){this.window.history.scrollRestoration=R}scrollToElement(R){const E=R.getBoundingClientRect(),I=E.left+this.window.pageXOffset,z=E.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(I-ve[0],z-ve[1])}}class ss{setOffset(R){}getScrollPosition(){return[0,0]}scrollToPosition(R){}scrollToAnchor(R){}setHistoryScrollRestoration(R){}}class ei{}},1626:(Ze,De,N)=>{N.d(De,{Qq:()=>Se,a7:()=>Ve,q1:()=>Tr}),N(467);var v=N(4438),F=N(7673),re=N(1985),f=N(6648),L=N(274),A=N(5964),$=N(6354),H=N(980),k=N(5558),W=N(177);class J{}class le{}class fe{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?"string"==typeof X?this.lazyInit=()=>{this.headers=new Map,X.split("\n").forEach(q=>{const we=q.indexOf(":");if(we>0){const _e=q.slice(0,we),Ue=_e.toLowerCase(),Ke=q.slice(we+1).trim();this.maybeSetNormalizedName(_e,Ue),this.headers.has(Ue)?this.headers.get(Ue).push(Ke):this.headers.set(Ue,[Ke])}})}:typeof Headers<"u"&&X instanceof Headers?(this.headers=new Map,X.forEach((q,we)=>{this.setHeaderEntries(we,q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(X).forEach(([q,we])=>{this.setHeaderEntries(q,we)})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const q=this.headers.get(X.toLowerCase());return q&&q.length>0?q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,q){return this.clone({name:X,value:q,op:"a"})}set(X,q){return this.clone({name:X,value:q,op:"s"})}delete(X,q){return this.clone({name:X,value:q,op:"d"})}maybeSetNormalizedName(X,q){this.normalizedNames.has(q)||this.normalizedNames.set(q,X)}init(){this.lazyInit&&(this.lazyInit instanceof fe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(q=>{this.headers.set(q,X.headers.get(q)),this.normalizedNames.set(q,X.normalizedNames.get(q))})}clone(X){const q=new fe;return q.lazyInit=this.lazyInit&&this.lazyInit instanceof fe?this.lazyInit:this,q.lazyUpdate=(this.lazyUpdate||[]).concat([X]),q}applyUpdate(X){const q=X.name.toLowerCase();switch(X.op){case"a":case"s":let we=X.value;if("string"==typeof we&&(we=[we]),0===we.length)return;this.maybeSetNormalizedName(X.name,q);const _e=("a"===X.op?this.headers.get(q):void 0)||[];_e.push(...we),this.headers.set(q,_e);break;case"d":const Ue=X.value;if(Ue){let Ke=this.headers.get(q);if(!Ke)return;Ke=Ke.filter(Tt=>-1===Ue.indexOf(Tt)),0===Ke.length?(this.headers.delete(q),this.normalizedNames.delete(q)):this.headers.set(q,Ke)}else this.headers.delete(q),this.normalizedNames.delete(q)}}setHeaderEntries(X,q){const we=(Array.isArray(q)?q:[q]).map(Ue=>Ue.toString()),_e=X.toLowerCase();this.headers.set(_e,we),this.maybeSetNormalizedName(X,_e)}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(q=>X(this.normalizedNames.get(q),this.headers.get(q)))}}class Le{encodeKey(X){return St(X)}encodeValue(X){return St(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const at=/%(\d[a-f0-9])/gi,Bt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function St(j){return encodeURIComponent(j).replace(at,(X,q)=>Bt[q]??X)}function $e(j){return`${j}`}class pe{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new Le,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function He(j,X){const q=new Map;return j.length>0&&j.replace(/^\?/,"").split("&").forEach(_e=>{const Ue=_e.indexOf("="),[Ke,Tt]=-1==Ue?[X.decodeKey(_e),""]:[X.decodeKey(_e.slice(0,Ue)),X.decodeValue(_e.slice(Ue+1))],lt=q.get(Ke)||[];lt.push(Tt),q.set(Ke,lt)}),q}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(q=>{const we=X.fromObject[q],_e=Array.isArray(we)?we.map($e):[$e(we)];this.map.set(q,_e)})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const q=this.map.get(X);return q?q[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,q){return this.clone({param:X,value:q,op:"a"})}appendAll(X){const q=[];return Object.keys(X).forEach(we=>{const _e=X[we];Array.isArray(_e)?_e.forEach(Ue=>{q.push({param:we,value:Ue,op:"a"})}):q.push({param:we,value:_e,op:"a"})}),this.clone(q)}set(X,q){return this.clone({param:X,value:q,op:"s"})}delete(X,q){return this.clone({param:X,value:q,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const q=this.encoder.encodeKey(X);return this.map.get(X).map(we=>q+"="+this.encoder.encodeValue(we)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const q=new pe({encoder:this.encoder});return q.cloneFrom=this.cloneFrom||this,q.updates=(this.updates||[]).concat(X),q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const q=("a"===X.op?this.map.get(X.param):void 0)||[];q.push($e(X.value)),this.map.set(X.param,q);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let we=this.map.get(X.param)||[];const _e=we.indexOf($e(X.value));-1!==_e&&we.splice(_e,1),we.length>0?this.map.set(X.param,we):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class se{constructor(){this.map=new Map}set(X,q){return this.map.set(X,q),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function Ie(j){return typeof ArrayBuffer<"u"&&j instanceof ArrayBuffer}function Ee(j){return typeof Blob<"u"&&j instanceof Blob}function Y(j){return typeof FormData<"u"&&j instanceof FormData}class ae{constructor(X,q,we,_e){let Ue;if(this.url=q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function ne(j){switch(j){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_e?(this.body=void 0!==we?we:null,Ue=_e):Ue=we,Ue&&(this.reportProgress=!!Ue.reportProgress,this.withCredentials=!!Ue.withCredentials,Ue.responseType&&(this.responseType=Ue.responseType),Ue.headers&&(this.headers=Ue.headers),Ue.context&&(this.context=Ue.context),Ue.params&&(this.params=Ue.params),this.transferCache=Ue.transferCache),this.headers??=new fe,this.context??=new se,this.params){const Ke=this.params.toString();if(0===Ke.length)this.urlWithParams=q;else{const Tt=q.indexOf("?");this.urlWithParams=q+(-1===Tt?"?":Ttxn.set(Qn,X.setHeaders[Qn]),Jt)),X.setParams&&(Dn=Object.keys(X.setParams).reduce((xn,Qn)=>xn.set(Qn,X.setParams[Qn]),Dn)),new ae(q,we,Ke,{params:Dn,headers:Jt,context:Ht,reportProgress:lt,responseType:_e,withCredentials:Tt,transferCache:Ue})}}var qe=function(j){return j[j.Sent=0]="Sent",j[j.UploadProgress=1]="UploadProgress",j[j.ResponseHeader=2]="ResponseHeader",j[j.DownloadProgress=3]="DownloadProgress",j[j.Response=4]="Response",j[j.User=5]="User",j}(qe||{});class Oe{constructor(X,q=me.Ok,we="OK"){this.headers=X.headers||new fe,this.status=void 0!==X.status?X.status:q,this.statusText=X.statusText||we,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class ze extends Oe{constructor(X={}){super(X),this.type=qe.ResponseHeader}clone(X={}){return new ze({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class pt extends Oe{constructor(X={}){super(X),this.type=qe.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new pt({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class $t extends Oe{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}var me=function(j){return j[j.Continue=100]="Continue",j[j.SwitchingProtocols=101]="SwitchingProtocols",j[j.Processing=102]="Processing",j[j.EarlyHints=103]="EarlyHints",j[j.Ok=200]="Ok",j[j.Created=201]="Created",j[j.Accepted=202]="Accepted",j[j.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",j[j.NoContent=204]="NoContent",j[j.ResetContent=205]="ResetContent",j[j.PartialContent=206]="PartialContent",j[j.MultiStatus=207]="MultiStatus",j[j.AlreadyReported=208]="AlreadyReported",j[j.ImUsed=226]="ImUsed",j[j.MultipleChoices=300]="MultipleChoices",j[j.MovedPermanently=301]="MovedPermanently",j[j.Found=302]="Found",j[j.SeeOther=303]="SeeOther",j[j.NotModified=304]="NotModified",j[j.UseProxy=305]="UseProxy",j[j.Unused=306]="Unused",j[j.TemporaryRedirect=307]="TemporaryRedirect",j[j.PermanentRedirect=308]="PermanentRedirect",j[j.BadRequest=400]="BadRequest",j[j.Unauthorized=401]="Unauthorized",j[j.PaymentRequired=402]="PaymentRequired",j[j.Forbidden=403]="Forbidden",j[j.NotFound=404]="NotFound",j[j.MethodNotAllowed=405]="MethodNotAllowed",j[j.NotAcceptable=406]="NotAcceptable",j[j.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",j[j.RequestTimeout=408]="RequestTimeout",j[j.Conflict=409]="Conflict",j[j.Gone=410]="Gone",j[j.LengthRequired=411]="LengthRequired",j[j.PreconditionFailed=412]="PreconditionFailed",j[j.PayloadTooLarge=413]="PayloadTooLarge",j[j.UriTooLong=414]="UriTooLong",j[j.UnsupportedMediaType=415]="UnsupportedMediaType",j[j.RangeNotSatisfiable=416]="RangeNotSatisfiable",j[j.ExpectationFailed=417]="ExpectationFailed",j[j.ImATeapot=418]="ImATeapot",j[j.MisdirectedRequest=421]="MisdirectedRequest",j[j.UnprocessableEntity=422]="UnprocessableEntity",j[j.Locked=423]="Locked",j[j.FailedDependency=424]="FailedDependency",j[j.TooEarly=425]="TooEarly",j[j.UpgradeRequired=426]="UpgradeRequired",j[j.PreconditionRequired=428]="PreconditionRequired",j[j.TooManyRequests=429]="TooManyRequests",j[j.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",j[j.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",j[j.InternalServerError=500]="InternalServerError",j[j.NotImplemented=501]="NotImplemented",j[j.BadGateway=502]="BadGateway",j[j.ServiceUnavailable=503]="ServiceUnavailable",j[j.GatewayTimeout=504]="GatewayTimeout",j[j.HttpVersionNotSupported=505]="HttpVersionNotSupported",j[j.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",j[j.InsufficientStorage=507]="InsufficientStorage",j[j.LoopDetected=508]="LoopDetected",j[j.NotExtended=510]="NotExtended",j[j.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",j}(me||{});function Ce(j,X){return{body:X,headers:j.headers,context:j.context,observe:j.observe,params:j.params,reportProgress:j.reportProgress,responseType:j.responseType,withCredentials:j.withCredentials,transferCache:j.transferCache}}let Se=(()=>{class j{constructor(q){this.handler=q}request(q,we,_e={}){let Ue;if(q instanceof ae)Ue=q;else{let lt,Jt;lt=_e.headers instanceof fe?_e.headers:new fe(_e.headers),_e.params&&(Jt=_e.params instanceof pe?_e.params:new pe({fromObject:_e.params})),Ue=new ae(q,we,void 0!==_e.body?_e.body:null,{headers:lt,context:_e.context,params:Jt,reportProgress:_e.reportProgress,responseType:_e.responseType||"json",withCredentials:_e.withCredentials,transferCache:_e.transferCache})}const Ke=(0,F.of)(Ue).pipe((0,L.H)(lt=>this.handler.handle(lt)));if(q instanceof ae||"events"===_e.observe)return Ke;const Tt=Ke.pipe((0,A.p)(lt=>lt instanceof pt));switch(_e.observe||"body"){case"body":switch(Ue.responseType){case"arraybuffer":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&!(lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return lt.body}));case"blob":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&!(lt.body instanceof Blob))throw new Error("Response is not a Blob.");return lt.body}));case"text":return Tt.pipe((0,$.T)(lt=>{if(null!==lt.body&&"string"!=typeof lt.body)throw new Error("Response is not a string.");return lt.body}));default:return Tt.pipe((0,$.T)(lt=>lt.body))}case"response":return Tt;default:throw new Error(`Unreachable: unhandled observe type ${_e.observe}}`)}}delete(q,we={}){return this.request("DELETE",q,we)}get(q,we={}){return this.request("GET",q,we)}head(q,we={}){return this.request("HEAD",q,we)}jsonp(q,we){return this.request("JSONP",q,{params:(new pe).append(we,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(q,we={}){return this.request("OPTIONS",q,we)}patch(q,we,_e={}){return this.request("PATCH",q,Ce(_e,we))}post(q,we,_e={}){return this.request("POST",q,Ce(_e,we))}put(q,we,_e={}){return this.request("PUT",q,Ce(_e,we))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(J))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();function en(j,X){return X(j)}function _n(j,X){return(q,we)=>X.intercept(q,{handle:_e=>j(_e,we)})}const Ve=new v.nKC(""),In=new v.nKC(""),Pn=new v.nKC(""),fn=new v.nKC("");function Gn(){let j=null;return(X,q)=>{null===j&&(j=((0,v.WQX)(Ve,{optional:!0})??[]).reduceRight(_n,en));const we=(0,v.WQX)(v.TgB),_e=we.add();return j(X,q).pipe((0,H.j)(()=>we.remove(_e)))}}let ut=(()=>{class j extends J{constructor(q,we){super(),this.backend=q,this.injector=we,this.chain=null,this.pendingTasks=(0,v.WQX)(v.TgB);const _e=(0,v.WQX)(fn,{optional:!0});this.backend=_e??q}handle(q){if(null===this.chain){const _e=Array.from(new Set([...this.injector.get(In),...this.injector.get(Pn,[])]));this.chain=_e.reduceRight((Ue,Ke)=>function Gt(j,X,q){return(we,_e)=>(0,v.N4e)(q,()=>X(we,Ue=>j(Ue,_e)))}(Ue,Ke,this.injector),en)}const we=this.pendingTasks.add();return this.chain(q,_e=>this.backend.handle(_e)).pipe((0,H.j)(()=>this.pendingTasks.remove(we)))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(le),v.KVO(v.uvJ))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();const es=/^\)\]\}',?\n/;let Lr=(()=>{class j{constructor(q){this.xhrFactory=q}handle(q){if("JSONP"===q.method)throw new v.wOt(-2800,!1);const we=this.xhrFactory;return(we.\u0275loadImpl?(0,f.H)(we.\u0275loadImpl()):(0,F.of)(null)).pipe((0,k.n)(()=>new re.c(Ue=>{const Ke=we.build();if(Ke.open(q.method,q.urlWithParams),q.withCredentials&&(Ke.withCredentials=!0),q.headers.forEach((Pt,xt)=>Ke.setRequestHeader(Pt,xt.join(","))),q.headers.has("Accept")||Ke.setRequestHeader("Accept","application/json, text/plain, */*"),!q.headers.has("Content-Type")){const Pt=q.detectContentTypeHeader();null!==Pt&&Ke.setRequestHeader("Content-Type",Pt)}if(q.responseType){const Pt=q.responseType.toLowerCase();Ke.responseType="json"!==Pt?Pt:"text"}const Tt=q.serializeBody();let lt=null;const Jt=()=>{if(null!==lt)return lt;const Pt=Ke.statusText||"OK",xt=new fe(Ke.getAllResponseHeaders()),Nn=function bt(j){return"responseURL"in j&&j.responseURL?j.responseURL:/^X-Request-URL:/m.test(j.getAllResponseHeaders())?j.getResponseHeader("X-Request-URL"):null}(Ke)||q.url;return lt=new ze({headers:xt,status:Ke.status,statusText:Pt,url:Nn}),lt},Dn=()=>{let{headers:Pt,status:xt,statusText:Nn,url:hr}=Jt(),yn=null;xt!==me.NoContent&&(yn=typeof Ke.response>"u"?Ke.responseText:Ke.response),0===xt&&(xt=yn?me.Ok:0);let on=xt>=200&&xt<300;if("json"===q.responseType&&"string"==typeof yn){const _t=yn;yn=yn.replace(es,"");try{yn=""!==yn?JSON.parse(yn):null}catch(pn){yn=_t,on&&(on=!1,yn={error:pn,text:yn})}}on?(Ue.next(new pt({body:yn,headers:Pt,status:xt,statusText:Nn,url:hr||void 0})),Ue.complete()):Ue.error(new $t({error:yn,headers:Pt,status:xt,statusText:Nn,url:hr||void 0}))},Ht=Pt=>{const{url:xt}=Jt(),Nn=new $t({error:Pt,status:Ke.status||0,statusText:Ke.statusText||"Unknown Error",url:xt||void 0});Ue.error(Nn)};let xn=!1;const Qn=Pt=>{xn||(Ue.next(Jt()),xn=!0);let xt={type:qe.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),"text"===q.responseType&&Ke.responseText&&(xt.partialText=Ke.responseText),Ue.next(xt)},sn=Pt=>{let xt={type:qe.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),Ue.next(xt)};return Ke.addEventListener("load",Dn),Ke.addEventListener("error",Ht),Ke.addEventListener("timeout",Ht),Ke.addEventListener("abort",Ht),q.reportProgress&&(Ke.addEventListener("progress",Qn),null!==Tt&&Ke.upload&&Ke.upload.addEventListener("progress",sn)),Ke.send(Tt),Ue.next({type:qe.Sent}),()=>{Ke.removeEventListener("error",Ht),Ke.removeEventListener("abort",Ht),Ke.removeEventListener("load",Dn),Ke.removeEventListener("timeout",Ht),q.reportProgress&&(Ke.removeEventListener("progress",Qn),null!==Tt&&Ke.upload&&Ke.upload.removeEventListener("progress",sn)),Ke.readyState!==Ke.DONE&&Ke.abort()}})))}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(W.N0))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();const Xt=new v.nKC(""),kr=new v.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),nr=new v.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Vr{}let Zt=(()=>{class j{constructor(q,we,_e){this.doc=q,this.platform=we,this.cookieName=_e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const q=this.doc.cookie||"";return q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W._b)(q,this.cookieName),this.lastCookieString=q),this.lastToken}static#e=this.\u0275fac=function(we){return new(we||j)(v.KVO(W.qQ),v.KVO(v.Agw),v.KVO(kr))};static#t=this.\u0275prov=v.jDH({token:j,factory:j.\u0275fac})}return j})();function dr(j,X){const q=j.url.toLowerCase();if(!(0,v.WQX)(Xt)||"GET"===j.method||"HEAD"===j.method||q.startsWith("http://")||q.startsWith("https://"))return X(j);const we=(0,v.WQX)(Vr).getToken(),_e=(0,v.WQX)(nr);return null!=we&&!j.headers.has(_e)&&(j=j.clone({headers:j.headers.set(_e,we)})),X(j)}var de=function(j){return j[j.Interceptors=0]="Interceptors",j[j.LegacyInterceptors=1]="LegacyInterceptors",j[j.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",j[j.NoXsrfProtection=3]="NoXsrfProtection",j[j.JsonpSupport=4]="JsonpSupport",j[j.RequestsMadeViaParent=5]="RequestsMadeViaParent",j[j.Fetch=6]="Fetch",j}(de||{});function oe(...j){const X=[Se,Lr,ut,{provide:J,useExisting:ut},{provide:le,useExisting:Lr},{provide:In,useValue:dr,multi:!0},{provide:Xt,useValue:!0},{provide:Vr,useClass:Zt}];for(const q of j)X.push(...q.\u0275providers);return(0,v.EmA)(X)}const tt=new v.nKC("");function ht(){return function Q(j,X){return{\u0275kind:j,\u0275providers:X}}(de.LegacyInterceptors,[{provide:tt,useFactory:Gn},{provide:In,useExisting:tt,multi:!0}])}let Tr=(()=>{class j{static#e=this.\u0275fac=function(we){return new(we||j)};static#t=this.\u0275mod=v.$C({type:j});static#n=this.\u0275inj=v.G2t({providers:[oe(ht())]})}return j})()},4438:(Ze,De,N)=>{function v(e,t){return Object.is(e,t)}N.d(De,{bc$:()=>yC,iLQ:()=>fh,sZ2:()=>Bp,hnV:()=>aD,Hbi:()=>DA,o8S:()=>So,BIS:()=>vC,gRc:()=>DD,Ql9:()=>KT,Ocv:()=>tA,Z63:()=>hi,aKT:()=>tl,uvJ:()=>xr,zcH:()=>fo,bkB:()=>Us,$GK:()=>Ft,nKC:()=>_e,zZn:()=>Li,_q3:()=>Dh,MKu:()=>Eh,xe9:()=>pu,Co$:()=>ty,Vns:()=>$o,SKi:()=>gr,Xx1:()=>rr,Agw:()=>ed,PLl:()=>Up,sFG:()=>Bw,_9s:()=>cm,czy:()=>Ec,kdw:()=>di,C4Q:()=>Dl,NYb:()=>UT,giA:()=>sD,RxE:()=>Y_,c1b:()=>jc,gXe:()=>Gr,mal:()=>mm,L39:()=>XA,EWP:()=>YA,Ol2:()=>mf,w6W:()=>V0,oH4:()=>mD,QZP:()=>YD,Rfq:()=>dr,WQX:()=>gt,QuC:()=>Ar,EmA:()=>go,fpN:()=>_A,HJs:()=>rO,N4e:()=>Yi,vPA:()=>km,O8t:()=>ZA,An2:()=>Lc,H3F:()=>Z_,H8p:()=>Ri,KH2:()=>Ua,TgB:()=>Ea,wOt:()=>Qe,WHO:()=>rD,e01:()=>iD,H5H:()=>Hf,Zy3:()=>un,mq5:()=>rv,JZv:()=>bt,LfX:()=>Br,plB:()=>Eo,jNT:()=>uh,zjR:()=>oD,TL$:()=>gC,Tbb:()=>mn,Vt3:()=>hf,Mj6:()=>Rr,GFd:()=>ey,OA$:()=>b,Jv_:()=>g_,aNF:()=>m_,R7$:()=>Rg,BMQ:()=>Mf,HbH:()=>Hy,AVh:()=>xf,wni:()=>Wv,VBU:()=>qs,FsC:()=>Ao,jDH:()=>Wt,G2t:()=>qr,$C:()=>Ni,EJ8:()=>Ns,rXU:()=>ma,nrm:()=>Uf,eu8:()=>jf,bVm:()=>ru,qex:()=>nu,k0s:()=>tu,j41:()=>eu,RV6:()=>ev,xGo:()=>lp,KVO:()=>En,kS0:()=>sc,QTQ:()=>xg,bIt:()=>Wf,lsd:()=>Qv,joV:()=>Qh,qSk:()=>Kh,XpG:()=>xv,nI1:()=>P_,bMT:()=>x_,SdG:()=>Lv,NAR:()=>Fv,Y8G:()=>Nf,FS9:()=>Kf,lJ4:()=>__,eq3:()=>D_,l_i:()=>E_,sMw:()=>C_,ziG:()=>b_,s1E:()=>w_,l4e:()=>S_,sGs:()=>I_,zJS:()=>M_,mGM:()=>Kv,sdS:()=>Xv,Njj:()=>kh,EBC:()=>fg,eBV:()=>Lh,npT:()=>og,B4B:()=>vd,n$t:()=>lg,wjB:()=>y_,Aen:()=>vs,xc7:()=>Pf,DNE:()=>Ca,C5r:()=>F_,EFF:()=>s_,JRh:()=>Xf,SpI:()=>lu,Lme:()=>qf,LHq:()=>Yf,DH7:()=>h_,mxI:()=>Jf,R50:()=>Zf,GBs:()=>zv}),N(467);let F=null,re=!1,f=1;const L=Symbol("SIGNAL");function A(e){const t=F;return F=e,t}const W={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function J(e){if(re)throw new Error("");if(null===F)return;F.consumerOnSignalRead(e);const t=F.nextProducerIndex++;ne(F),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function St(e){ne(e);for(let t=0;t0}function ne(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ie(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Y=Symbol("UNSET"),xe=Symbol("COMPUTING"),ae=Symbol("ERRORED"),qe={...W,value:Y,dirty:!0,error:null,equal:v,producerMustRecompute:e=>e.value===Y||e.value===xe,producerRecomputeValue(e){if(e.value===xe)throw new Error("Detected cycle in computations.");const t=e.value;e.value=xe;const n=at(e);let r;try{r=e.computation()}catch(i){r=ae,e.error=i}finally{Bt(e,n)}t!==Y&&t!==ae&&r!==ae&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let ze=function Oe(){throw new Error};function pt(){ze()}let me=null;function je(e,t){Le()||pt(),e.equal(e.value,t)||(e.value=t,function Lt(e){e.version++,function le(){f++}(),be(e),me?.()}(e))}const st={...W,equal:v,value:void 0};const dt=()=>{},en={...W,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:dt};var Gt=N(1413),Ve=N(8359),In=N(4412),Pn=N(6354);const Gn="https://g.co/ng/security#xss";class Qe extends Error{constructor(t,n){super(un(t,n)),this.code=t}}function un(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Mt(e){return{toString:e}.toString()}const tr="__parameters__";function Bn(e,t,n){return Mt(()=>{const r=function Kn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return a.annotation=o,a;function a(h,C,O){const B=h.hasOwnProperty(tr)?h[tr]:Object.defineProperty(h,tr,{value:[]})[tr];for(;B.length<=O;)B.push(null);return(B[O]=B[O]||[]).push(o),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const bt=globalThis;function Yt(e){for(let t in e)if(e[t]===Yt)return t;throw Error("Could not find renamed property on target object.")}function kr(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(mn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function nr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Zt=Yt({__forward_ref__:Yt});function dr(e){return e.__forward_ref__=dr,e.toString=function(){return mn(this())},e}function ce(e){return de(e)?e():e}function de(e){return"function"==typeof e&&e.hasOwnProperty(Zt)&&e.__forward_ref__===dr}function Wt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function qr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Or(e){return Yr(e,j)||Yr(e,q)}function Br(e){return null!==Or(e)}function Yr(e,t){return e.hasOwnProperty(t)?e[t]:null}function fr(e){return e&&(e.hasOwnProperty(X)||e.hasOwnProperty(we))?e[X]:null}const j=Yt({\u0275prov:Yt}),X=Yt({\u0275inj:Yt}),q=Yt({ngInjectableDef:Yt}),we=Yt({ngInjectorDef:Yt});class _e{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Wt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pt(e){return e&&!!e.\u0275providers}const xt=Yt({\u0275cmp:Yt}),Nn=Yt({\u0275dir:Yt}),hr=Yt({\u0275pipe:Yt}),yn=Yt({\u0275mod:Yt}),on=Yt({\u0275fac:Yt}),_t=Yt({__NG_ELEMENT_ID__:Yt}),pn=Yt({__NG_ENV_ID__:Yt});function mt(e){return"string"==typeof e?e:null==e?"":String(e)}function Si(e,t){throw new Qe(-201,!1)}var Ft=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ft||{});let Xn;function Hi(){return Xn}function qn(e){const t=Xn;return Xn=e,t}function ns(e,t,n){const r=Or(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ft.Optional?null:void 0!==t?t:void Si()}const Ii={},Cs="__NG_DI_FLAG__",$i="ngTempTokenPath",li=/\n/gm,Ws="__source";let jr;function Yn(e){const t=jr;return jr=e,t}function Wi(e,t=Ft.Default){if(void 0===jr)throw new Qe(-203,!1);return null===jr?ns(e,void 0,t):jr.get(e,t&Ft.Optional?null:void 0,t)}function En(e,t=Ft.Default){return(Hi()||Wi)(ce(e),t)}function gt(e,t=Ft.Default){return En(e,ci(t))}function ci(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rs(e){const t=[];for(let n=0;nArray.isArray(n)?Jn(n,t):t(n))}function ss(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ei(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Wn(e,t,n){let r=ar(e,t);return r>=0?e[1|r]=n:(r=~r,function Ai(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function os(e,t){const n=ar(e,t);if(n>=0)return e[1|n]}function ar(e,t){return function as(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<t?i=s:r=s+1}return~(i<t){o=s-1;break}}}for(;s-1){let s;for(;++is?"":i[O+1].toLowerCase(),2&r&&C!==B){if(D(r))return!1;o=!0}}}}else{if(!o&&!D(r)&&!D(h))return!1;if(o&&D(h))continue;o=!1,r=h|1&r}}return D(r)||o}function D(e){return!(1&e)}function V(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!D(o)&&(t+=gi(s,i),i=""),r=o,s=s||!D(r);n++}return""!==i&&(t+=gi(s,i)),t}function qs(e){return Mt(()=>{const t=Rs(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gr.Emulated,styles:e.styles||zt,_:null,schemas:e.schemas||null,tView:null,id:""};Ys(n);const r=e.dependencies;return n.directiveDefs=yi(r,!1),n.pipeDefs=yi(r,!0),n.id=function Ps(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Os(e){return Vt(e)||Fn(e)}function er(e){return null!==e}function Ni(e){return Mt(()=>({type:e.type,bootstrap:e.bootstrap||zt,declarations:e.declarations||zt,imports:e.imports||zt,exports:e.exports||zt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function To(e,t){if(null==e)return $r;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,o,a=Rr.None;Array.isArray(i)?(a=i[0],s=i[1],o=i[2]??s):(s=i,o=i),t?(n[s]=a!==Rr.None?[r,a]:r,t[s]=o):n[s]=r}return n}function Ao(e){return Mt(()=>{const t=Rs(e);return Ys(t),t})}function Ns(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Vt(e){return e[xt]||null}function Fn(e){return e[Nn]||null}function Cn(e){return e[hr]||null}function Ar(e){const t=Vt(e)||Fn(e)||Cn(e);return null!==t&&t.standalone}function $n(e,t){const n=e[yn]||null;if(!n&&!0===t)throw new Error(`Type ${mn(e)} does not have '\u0275mod' property.`);return n}function Rs(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||$r,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||zt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:To(e.inputs,t),outputs:To(e.outputs),debugInfo:null}}function Ys(e){e.features?.forEach(t=>t(e))}function yi(e,t){if(!e)return null;const n=t?Cn:Os;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(er)}function go(e){return{\u0275providers:e}}function ds(...e){return{\u0275providers:fs(0,e),\u0275fromNgModule:!0}}function fs(e,...t){const n=[],r=new Set;let i;const s=o=>{n.push(o)};return Jn(t,o=>{const a=o;hs(a,s,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Js(i,s),n}function Js(e,t){for(let n=0;n{t(s,r)})}}function hs(e,t,n,r){if(!(e=ce(e)))return!1;let i=null,s=fr(e);const o=!s&&Vt(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{const h=e.ngModule;if(s=fr(h),!s)return!1;i=h}const a=r.has(i);if(o){if(a)return!1;if(r.add(i),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const C of h)hs(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let C;r.add(i);try{Jn(s.imports,O=>{hs(O,t,n,r)&&(C||=[],C.push(O))})}finally{}void 0!==C&&Js(C,t)}if(!a){const C=Jr(i)||(()=>new i);t({provide:i,useFactory:C,deps:zt},i),t({provide:Ss,useValue:i,multi:!0},i),t({provide:hi,useValue:()=>En(i),multi:!0},i)}const h=s.providers;if(null!=h&&!a){const C=e;xs(h,O=>{t(O,C)})}}}return i!==e&&void 0!==e.providers}function xs(e,t){for(let n of e)Pt(n)&&(n=n.\u0275providers),Array.isArray(n)?xs(n,t):t(n)}const qo=Yt({provide:String,useValue:Yt});function eo(e){return null!==e&&"object"==typeof e&&qo in e}function vi(e){return"function"==typeof e}const Ri=new _e(""),no={},Yo={};let Ro;function ro(){return void 0===Ro&&(Ro=new Is),Ro}class xr{}class ps extends xr{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,so(t,o=>this.processProvider(o)),this.records.set(zs,gs(void 0,this)),i.has("environment")&&this.records.set(xr,gs(void 0,this));const s=this.records.get(Ri);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Ss,zt,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=A(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Yn(this),r=qn(void 0);try{return t()}finally{Yn(n),qn(r)}}get(t,n=Ii,r=Ft.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pn))return t[pn](this);r=ci(r);const s=Yn(this),o=qn(void 0);try{if(!(r&Ft.SkipSelf)){let h=this.records.get(t);if(void 0===h){const C=function ta(e){return"function"==typeof e||"object"==typeof e&&e instanceof _e}(t)&&Or(t);h=C&&this.injectableDefInScope(C)?gs(io(t),no):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Ft.Self?ro():this.parent).get(t,n=r&Ft.Optional&&n===Ii?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[$i]=a[$i]||[]).unshift(mn(t)),s)throw a;return function Mi(e,t,n,r){const i=e[$i];throw t[Ws]&&i.unshift(t[Ws]),e.message=function is(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=mn(t);if(Array.isArray(t))i=t.map(mn).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):mn(a)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(li,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[$i]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{qn(o),Yn(s)}}resolveInjectorInitializers(){const t=A(null),n=Yn(this),r=qn(void 0);try{const s=this.get(hi,zt,Ft.Self);for(const o of s)o()}finally{Yn(n),qn(r),A(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(mn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processProvider(t){let n=vi(t=ce(t))?t:ce(t&&t.provide);const r=function xo(e){return eo(e)?gs(void 0,e.useValue):gs(Zo(e),no)}(t);if(!vi(t)&&!0===t.multi){let i=this.records.get(n);i||(i=gs(void 0,no,!0),i.factory=()=>rs(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=A(null);try{return n.value===no&&(n.value=Yo,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ea(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ce(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function io(e){const t=Or(e),n=null!==t?t.factory:Jr(e);if(null!==n)return n;if(e instanceof _e)throw new Qe(204,!1);if(e instanceof Function)return function Po(e){if(e.length>0)throw new Qe(204,!1);const n=function ji(e){return e&&(e[j]||e[q])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Qe(204,!1)}function Zo(e,t,n){let r;if(vi(e)){const i=ce(e);return Jr(i)||io(i)}if(eo(e))r=()=>ce(e.useValue);else if(function No(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...rs(e.deps||[]));else if(function Oo(e){return!(!e||!e.useExisting)}(e))r=()=>En(ce(e.useExisting));else{const i=ce(e&&(e.useClass||e.provide));if(!function Jo(e){return!!e.deps}(e))return Jr(i)||io(i);r=()=>new i(...rs(e.deps))}return r}function gs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function so(e,t){for(const n of e)Array.isArray(n)?so(n,t):n&&Pt(n)?so(n.\u0275providers,t):t(n)}function Yi(e,t){e instanceof ps&&e.assertNotDestroyed();const r=Yn(e),i=qn(void 0);try{return t()}finally{Yn(r),qn(i)}}function Fo(){return void 0!==Hi()||null!=function Nr(){return jr}()}function oo(e){if(!Fo())throw new Qe(-203,!1)}const G=0,U=1,te=2,ge=3,Ge=4,ke=5,yt=6,vt=7,Ye=8,ot=9,tn=10,it=11,nn=12,pr=13,Ln=14,an=15,Er=16,zn=17,Rn=18,_i=19,Fs=20,Pi=21,Wr=22,Di=23,At=25,ao=1,ct=7,Kt=9,Qt=10;var Fr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Fr||{});function dn(e){return Array.isArray(e)&&"object"==typeof e[ao]}function bn(e){return Array.isArray(e)&&!0===e[ao]}function wn(e){return!!(4&e.flags)}function Zi(e){return e.componentOffset>-1}function Lo(e){return!(1&~e.flags)}function vn(e){return!!e.template}function xi(e){return!!(512&e[te])}class d{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function y(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function b(){return P}function P(e){return e.type.prototype.ngOnChanges&&(e.setInput=ye),K}function K(){const e=We(this),t=e?.current;if(t){const n=e.previous;if(n===$r)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ye(e,t,n,r,i){const s=this.declaredInputs[r],o=We(e)||function Nt(e,t){return e[ue]=t}(e,{previous:$r,current:null}),a=o.current||(o.current={}),h=o.previous,C=h[s];a[s]=new d(C&&C.currentValue,n,h===$r),y(e,t,i,n)}b.ngInherit=!0;const ue="__ngSimpleChanges__";function We(e){return e[ue]||null}const zr=function(e,t,n){},yo="svg";let na=!1;function Tn(e){for(;Array.isArray(e);)e=e[G];return e}function Ka(e,t){return Tn(t[e])}function ni(e,t){return Tn(t[e.index])}function Qa(e,t){return e.data[t]}function ra(e,t){return e[t]}function Fi(e,t){const n=t[e];return dn(n)?n:n[G]}function Tu(e){return!(128&~e[te])}function Ls(e,t){return null==t?null:e[t]}function Rh(e){e[zn]=0}function oE(e){1024&e[te]||(e[te]|=1024,Tu(e)&&Xa(e))}function Au(e){return!!(9216&e[te]||e[Di]?.dirty)}function Ou(e){e[tn].changeDetectionScheduler?.notify(1),Au(e)?Xa(e):64&e[te]&&(function lo(){return na}()?(e[te]|=1024,Xa(e)):e[tn].changeDetectionScheduler?.notify())}function Xa(e){e[tn].changeDetectionScheduler?.notify();let t=Vo(e);for(;null!==t&&!(8192&t[te])&&(t[te]|=8192,Tu(t));)t=Vo(t)}function ql(e,t){if(!(256&~e[te]))throw new Qe(911,!1);null===e[Pi]&&(e[Pi]=[]),e[Pi].push(t)}function Vo(e){const t=e[ge];return bn(t)?t[ge]:t}const Rt={lFrame:Gh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fh(){return Rt.bindingsEnabled}function ia(){return null!==Rt.skipHydrationRootTNode}function Ae(){return Rt.lFrame.lView}function rn(){return Rt.lFrame.tView}function Lh(e){return Rt.lFrame.contextLView=e,e[Ye]}function kh(e){return Rt.lFrame.contextLView=null,e}function Sn(){let e=Vh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vh(){return Rt.lFrame.currentTNode}function ks(e,t){const n=Rt.lFrame;n.currentTNode=e,n.isParent=t}function Ru(){return Rt.lFrame.isParent}function Pu(){Rt.lFrame.isParent=!1}function ri(){const e=Rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function co(){return Rt.lFrame.bindingIndex}function ms(){return Rt.lFrame.bindingIndex++}function uo(e){const t=Rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function yE(e,t){const n=Rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,xu(t)}function xu(e){Rt.lFrame.currentDirectiveIndex=e}function Lu(){return Rt.lFrame.currentQueryIndex}function Yl(e){Rt.lFrame.currentQueryIndex=e}function _E(e){const t=e[U];return 2===t.type?t.declTNode:1===t.type?e[ke]:null}function Hh(e,t,n){if(n&Ft.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Ft.Host||(i=_E(s),null===i||(s=s[Ln],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Rt.lFrame=$h();return r.currentTNode=t,r.lView=e,!0}function ku(e){const t=$h(),n=e[U];Rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $h(){const e=Rt.lFrame,t=null===e?null:e.child;return null===t?Gh(e):t}function Gh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wh(){const e=Rt.lFrame;return Rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zh=Wh;function Vu(){const e=Wh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Kr(){return Rt.lFrame.selectedIndex}function Bo(e){Rt.lFrame.selectedIndex=e}function kn(){const e=Rt.lFrame;return Qa(e.tView,e.selectedIndex)}function Kh(){Rt.lFrame.currentNamespace=yo}function Qh(){!function CE(){Rt.lFrame.currentNamespace=null}()}let qh=!0;function Ya(){return qh}function Vs(e){qh=e}function Zl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[zn]+=65536),(a>14>16&&(3&e[te])===t&&(e[te]+=16384,Zh(a,s)):Zh(a,s)}const sa=-1;class Za{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ju(e){return e!==sa}function Ja(e){return 32767&e}function el(e,t){let n=function AE(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ln],n--;return r}let Hu=!0;function tc(e){const t=Hu;return Hu=e,t}const Jh=255,ep=5;let OE=0;const Bs={};function nc(e,t){const n=tp(e,t);if(-1!==n)return n;const r=t[U];r.firstCreatePass&&(e.injectorIndex=t.length,$u(r.data,e),$u(t,null),$u(r.blueprint,null));const i=rc(e,t),s=e.injectorIndex;if(ju(i)){const o=Ja(i),a=el(i,t),h=a[U].data;for(let C=0;C<8;C++)t[s+C]=a[o+C]|h[o+C]}return t[s+8]=i,s}function $u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function rc(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=cp(i),null===r)return sa;if(n++,i=i[Ln],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return sa}function Gu(e,t,n){!function NE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_t)&&(r=n[_t]),null==r&&(r=n[_t]=OE++);const i=r&Jh;t.data[e+(i>>ep)]|=1<=0?t&Jh:FE:t}(n);if("function"==typeof s){if(!Hh(t,e,r))return r&Ft.Host?np(i,0,r):rp(t,n,r,i);try{let o;if(o=s(r),null!=o||r&Ft.Optional)return o;Si()}finally{zh()}}else if("number"==typeof s){let o=null,a=tp(e,t),h=sa,C=r&Ft.Host?t[an][ke]:null;for((-1===a||r&Ft.SkipSelf)&&(h=-1===a?rc(e,t):t[a+8],h!==sa&&ap(r,!1)?(o=t[U],a=Ja(h),t=el(h,t)):a=-1);-1!==a;){const O=t[U];if(op(s,a,O.data)){const B=PE(a,t,n,o,r,C);if(B!==Bs)return B}h=t[a+8],h!==sa&&ap(r,t[U].data[a+8]===C)&&op(s,a,t)?(o=O,a=Ja(h),t=el(h,t)):a=-1}}return i}function PE(e,t,n,r,i,s){const o=t[U],a=o.data[e+8],O=ic(a,o,n,null==r?Zi(a)&&Hu:r!=o&&!!(3&a.type),i&Ft.Host&&s===a);return null!==O?Uo(t,o,O,a):Bs}function ic(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,h=e.directiveStart,O=s>>20,Z=i?a+O:e.directiveEnd;for(let ie=r?a:a+O;ie=h&&he.type===n)return ie}if(i){const ie=o[h];if(ie&&vn(ie)&&ie.type===n)return h}return null}function Uo(e,t,n,r){let i=e[n];const s=t.data;if(function SE(e){return e instanceof Za}(i)){const o=i;o.resolving&&function ai(e,t){throw t&&t.join(" > "),new Qe(-200,e)}(function wt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():mt(e)}(s[n]));const a=tc(o.canSeeViewProviders);o.resolving=!0;const C=o.injectImpl?qn(o.injectImpl):null;Hh(e,r,Ft.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function bE(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const o=P(t);(n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==C&&qn(C),tc(a),o.resolving=!1,zh()}}return i}function op(e,t,n){return!!(n[t+(e>>ep)]&1<{const t=e.prototype.constructor,n=t[on]||Wu(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[on]||Wu(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Wu(e){return de(e)?()=>{const t=Wu(ce(e));return t&&t()}:Jr(e)}function cp(e){const t=e[U],n=t.type;return 2===n?t.declTNode:1===n?e[ke]:null}function sc(e){return function RE(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{class e{static#e=this.THROW_IF_NOT_FOUND=Ii;static#t=this.NULL=new Is;static create(n,r){if(Array.isArray(n))return pp({name:""},r,n,"");{const i=n.name??"";return pp({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=Wt({token:e,providedIn:"any",factory:()=>En(zs)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Ku(e){return e.ngOriginalError}class fo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ku(t);for(;n&&Ku(n);)n=Ku(n);return n||null}}const yp=new _e("",{providedIn:"root",factory:()=>gt(fo).handleError.bind(void 0)});let la=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=WE;static#t=this.__NG_ENV_ID__=n=>n}return e})();class GE extends la{constructor(t){super(),this._lView=t}onDestroy(t){return ql(this._lView,t),()=>function Nu(e,t){if(null===e[Pi])return;const n=e[Pi].indexOf(t);-1!==n&&e[Pi].splice(n,1)}(this._lView,t)}}function WE(){return new GE(Ae())}function zE(){return ca(Sn(),Ae())}function ca(e,t){return new tl(ni(e,t))}let tl=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=zE}return e})();function _p(e){return e instanceof tl?e.nativeElement:e}function Qu(e){return t=>{setTimeout(e,void 0,t)}}const Us=class KE extends Gt.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Fo()&&(this.destroyRef=gt(la,{optional:!0})??void 0)}emit(t){const n=A(null);try{super.next(t)}finally{A(n)}}subscribe(t,n,r){let i=t,s=n||(()=>null),o=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(s=Qu(s),i&&(i=Qu(i)),o&&(o=Qu(o)));const a=super.subscribe({next:i,error:s,complete:o});return t instanceof Ve.yU&&t.add(a),a}};function QE(){return this._results[Symbol.iterator]()}class Xu{static#e=Symbol.iterator;get changes(){return this._changes??=new Us}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=Xu.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=QE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Hn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ki(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rmC}),mC="ng",Up=new _e(""),ed=new _e("",{providedIn:"platform",factory:()=>"unknown"}),yC=new _e(""),vC=new _e("",{providedIn:"root",factory:()=>_o().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let jp=()=>null;function ld(e,t,n=!1){return jp(e,t,n)}const zp=new _e("",{providedIn:"root",factory:()=>!1});let mc,yc;function fa(e){return function fd(){if(void 0===mc&&(mc=null,bt.trustedTypes))try{mc=bt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return mc}()?.createHTML(e)||e}function hd(){if(void 0===yc&&(yc=null,bt.trustedTypes))try{yc=bt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return yc}function Qp(e){return hd()?.createHTML(e)||e}function qp(e){return hd()?.createScriptURL(e)||e}class Yp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gn})`}}function Do(e){return e instanceof Yp?e.changingThisBreaksApplicationSecurity:e}function ll(e,t){const n=function kC(e){return e instanceof Yp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gn})`)}return n===t}class VC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(fa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class BC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=fa(t),n}}const jC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pd(e){return(e=String(e)).match(jC)?e:"unsafe:"+e}function ho(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function cl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Jp=ho("area,br,col,hr,img,wbr"),eg=ho("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tg=ho("rp,rt"),gd=cl(Jp,cl(eg,ho("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cl(tg,ho("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),cl(tg,eg)),md=ho("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ng=cl(md,ho("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ho("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),HC=ho("script,style,template");class $C{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=zC(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=WC(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=rg(t).toLowerCase();if(!gd.hasOwnProperty(n))return this.sanitizedSomething=!0,!HC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=rg(t).toLowerCase();gd.hasOwnProperty(n)&&!Jp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(sg(t))}}function WC(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ig(t);return t}function zC(e){const t=e.firstChild;if(t&&function GC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ig(t);return t}function rg(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ig(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const KC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QC=/([^\#-~ |!])/g;function sg(e){return e.replace(/&/g,"&").replace(KC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(QC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let vc;function yd(e){return"content"in e&&function qC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ha=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ha||{});function og(e){const t=ul();return t?Qp(t.sanitize(ha.HTML,e)||""):ll(e,"HTML")?Qp(Do(e)):function XC(e,t){let n=null;try{vc=vc||function Zp(e){const t=new BC(e);return function UC(){try{return!!(new window.DOMParser).parseFromString(fa(""),"text/html")}catch{return!1}}()?new VC(t):t}(e);let r=t?String(t):"";n=vc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=vc.getInertBodyElement(r)}while(r!==s);return fa((new $C).sanitizeChildren(yd(n)||n))}finally{if(n){const r=yd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(_o(),mt(e))}function vd(e){const t=ul();return t?t.sanitize(ha.URL,e)||"":ll(e,"URL")?Do(e):pd(mt(e))}function ag(e){const t=ul();if(t)return qp(t.sanitize(ha.RESOURCE_URL,e)||"");if(ll(e,"ResourceURL"))return qp(Do(e));throw new Qe(904,!1)}function lg(e,t,n){return function tb(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ag:vd}(t,n)(e)}function ul(){const e=Ae();return e&&e[tn].sanitizer}const nb=/^>|^->||--!>|)/g,ib="\u200b$1\u200b";function fg(e){return e.ownerDocument}function ki(e){return e instanceof Function?e():e}var Ec=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ec||{});let Cd;function bd(e,t){return Cd(e,t)}function ga(e,t,n,r,i){if(null!=r){let s,o=!1;bn(r)?s=r:dn(r)&&(o=!0,r=r[G]);const a=Tn(r);0===e&&null!==n?null==i?Eg(t,n,a):jo(t,n,a,i||null,!0):1===e&&null!==n?jo(t,n,a,i||null,!0):2===e?function hl(e,t,n){const r=wc(e,t);r&&function Cb(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=s&&function Sb(e,t,n,r,i){const s=n[ct];s!==Tn(n)&&ga(t,e,r,s,i);for(let a=Qt;at.replace(rb,ib))}(t))}function Cc(e,t,n){return e.createElement(t,n)}function vg(e,t){t[tn].changeDetectionScheduler?.notify(1),Ic(e,t,t[it],2,null,null)}function _g(e,t){const n=e[Kt],r=n.indexOf(t);n.splice(r,1)}function dl(e,t){if(e.length<=Qt)return;const n=Qt+t,r=e[n];if(r){const i=r[Er];null!==i&&i!==e&&_g(i,r),t>0&&(e[n-1][Ge]=r[Ge]);const s=ei(e,Qt+t);!function gb(e,t){vg(e,t),t[G]=null,t[ke]=null}(r[U],r);const o=s[Rn];null!==o&&o.detachView(s[U]),r[ge]=null,r[Ge]=null,r[te]&=-129}return r}function bc(e,t){if(!(256&t[te])){const n=t[it];n.destroyNode&&Ic(e,t,n,3,null,null),function yb(e){let t=e[nn];if(!t)return Id(e[U],e);for(;t;){let n=null;if(dn(t))n=t[nn];else{const r=t[Qt];r&&(n=r)}if(!n){for(;t&&!t[Ge]&&t!==e;)dn(t)&&Id(t[U],t),t=t[ge];null===t&&(t=e),dn(t)&&Id(t[U],t),n=t&&t[Ge]}t=n}}(t)}}function Id(e,t){if(256&t[te])return;const n=A(null);try{t[te]&=-129,t[te]|=256,t[Di]&&$e(t[Di]),function Eb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o]():r[-o].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[vt]=null);const i=t[Pi];if(null!==i){t[Pi]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===Gr.None||s===Gr.Emulated)return null}return ni(r,n)}}(e,t.parent,n)}function jo(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Eg(e,t,n){e.appendChild(t,n)}function Cg(e,t,n,r,i){null!==r?jo(e,t,n,r,i):Eg(e,t,n)}function wc(e,t){return e.parentNode(t)}function bg(e,t,n){return Sg(e,t,n)}let Td,Sg=function wg(e,t,n){return 40&e.type?ni(e,n):null};function Sc(e,t,n,r){const i=Md(e,r,t),s=t[it],a=bg(r.parent||t[ke],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;hAt&&Pg(e,t,At,!1),zr(o?2:0,i),n(r,i)}finally{Bo(s),zr(o?3:1,i)}}function Rd(e,t,n){if(wn(t)){const r=A(null);try{const s=t.directiveEnd;for(let o=t.directiveStart;onull;function Bg(e,t,n,r,i){for(let s in t){if(!t.hasOwnProperty(s))continue;const o=t[s];if(void 0===o)continue;r??={};let a,h=Rr.None;Array.isArray(o)?(a=o[0],h=o[1]):a=o;let C=s;if(null!==i){if(!i.hasOwnProperty(s))continue;C=i[s]}0===e?Ug(r,n,C,a,h):Ug(r,n,C,a)}return r}function Ug(e,t,n,r,i){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,r):s=e[n]=[t,r],void 0!==i&&s.push(i)}function Ci(e,t,n,r,i,s,o,a){const h=ni(t,n);let O,C=t.inputs;!a&&null!=C&&(O=C[r])?(Ud(e,n,O,r,i),Zi(t)&&function Vb(e,t){const n=Fi(t,e);16&n[te]||(n[te]|=64)}(n,t.index)):3&t.type&&(r=function kb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,s.setProperty(h,r,i))}function Ld(e,t,n,r){if(Fh()){const i=null===r?null:{"":-1},s=function Gb(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(o)!=a&&o.push(a),o.push(n,r,s)}}(e,t,r,pl(e,n,i.hostVars,jt),i)}function js(e,t,n,r,i,s){const o=ni(e,t);!function Vd(e,t,n,r,i,s,o){if(null==s)e.removeAttribute(t,i,n);else{const a=null==o?mt(s):o(s,r||"",i);e.setAttribute(t,i,a,n)}}(t[it],o,s,e.value,n,r,i)}function qb(e,t,n,r,i,s){const o=s[t];if(null!==o)for(let a=0;a0&&(n[i-1][Ge]=t),r{Xa(e.lView)},consumerOnSignalRead(){this.lView[Di]=this}},Yg=100;function Oc(e,t=!0,n=0){const r=e[tn],i=r.rendererFactory;i.begin?.();try{!function sw(e,t){$d(e,t);let n=0;for(;Au(e);){if(n===Yg)throw new Qe(103,!1);n++,$d(e,1)}}(e,n)}catch(o){throw t&&Ac(e,o),o}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function ow(e,t,n,r){const i=t[te];if(!(256&~i))return;t[tn].inlineEffectRunner?.flush(),ku(t);let o=null,a=null;(function aw(e){return 2!==e.type})(e)&&(a=function tw(e){return e[Di]??function nw(e){const t=qg.pop()??Object.create(iw);return t.lView=e,t}(e)}(t),o=at(a));try{Rh(t),function Uh(e){return Rt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Lg(e,t,n,2,r);const h=!(3&~i);if(h){const B=e.preOrderCheckHooks;null!==B&&Jl(t,B,null)}else{const B=e.preOrderHooks;null!==B&&ec(t,B,0,null),Bu(t,0)}if(function lw(e){for(let t=Ap(e);null!==t;t=Op(t)){if(!(t[te]&Fr.HasTransplantedViews))continue;const n=t[Kt];for(let r=0;r-1&&(dl(t,r),ei(n,r))}this._attachedToViewContainer=!1}bc(this._lView[U],this._lView)}onDestroy(t){ql(this._lView,t)}markForCheck(){vl(this._cdRefInjectingView||this._lView)}detach(){this._lView[te]&=-129}reattach(){Ou(this._lView),this._lView[te]|=128}detectChanges(){this._lView[te]|=1024,Oc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vg(this._lView[U],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Qe(902,!1);this._appRef=t,Ou(this._lView)}}let Dl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fw}return e})();const uw=Dl,dw=class extends uw{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function gl(e,t,n,r){const i=A(null);try{const s=t.tView,h=Mc(e,s,n,4096&e[te]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);h[Er]=e[t.index];const O=e[Rn];return null!==O&&(h[Rn]=O.createEmbeddedView(s)),jd(s,h,n),h}finally{A(i)}}(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _l(i)}};function fw(){return Nc(Sn(),Ae())}function Nc(e,t){return 4&e.type?new dw(t,e,ca(e,t)):null}class Lc{}class Lw{}class am{}class Vw{resolveComponentFactory(t){throw function kw(e){const t=Error(`No component factory found for ${mn(e)}.`);return t.ngComponent=e,t}(t)}}let kc=(()=>{class e{static#e=this.NULL=new Vw}return e})();class cm{}let Bw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Uw(){const e=Ae(),n=Fi(Sn().index,e);return(dn(n)?n:e)[it]}()}return e})(),jw=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>null})}return e})();const Xd={},um=new Set;function Hs(e){um.has(e)||(um.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function dm(...e){}class gr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Us(!1),this.onMicrotaskEmpty=new Us(!1),this.onStable=new Us(!1),this.onError=new Us(!1),typeof Zone>"u")throw new Qe(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Hw(){const e="function"==typeof bt.requestAnimationFrame;let t=bt[e?"requestAnimationFrame":"setTimeout"],n=bt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Ww(e){const t=()=>{!function Gw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(bt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yd(e),e.isCheckStableRunning=!0,qd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{if(function zw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(i,s,o,a);try{return fm(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),hm(e)}},onInvoke:(n,r,i,s,o,a,h)=>{try{return fm(e),n.invoke(i,s,o,a,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),hm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Yd(e),qd(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gr.isInAngularZone())throw new Qe(909,!1)}static assertNotInAngularZone(){if(gr.isInAngularZone())throw new Qe(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,t,$w,dm,dm);try{return s.runTask(o,n,r)}finally{s.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $w={};function qd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hm(e){e._nesting--,qd(e)}class pm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Us,this.onMicrotaskEmpty=new Us,this.onStable=new Us,this.onError=new Us}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}var Ho=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ho||{});const gm={destroy(){}};function mm(e,t){!t&&oo();const n=t?.injector??gt(Li);if(!function ys(e){return"browser"===(e??gt(Li)).get(ed)}(n))return gm;Hs("NgAfterNextRender");const r=n.get(Sl),i=r.handler??=new vm,s=t?.phase??Ho.MixedReadWrite,o=()=>{i.unregister(h),a()},a=n.get(la).onDestroy(o),h=Yi(n,()=>new ym(s,()=>{o(),e()}));return i.register(h),{destroy:o}}class ym{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=gt(gr),this.errorHandler=gt(fo,{optional:!0}),gt(Lc,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class vm{constructor(){this.executingCallbacks=!1,this.buckets={[Ho.EarlyRead]:new Set,[Ho.Write]:new Set,[Ho.MixedReadWrite]:new Set,[Ho.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Sl=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Eo(e){return!!$n(e)}function Bc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o0&&Og(e,n,s.join(" "))}}(ie,Sr,Te,r),void 0!==n&&function s0(e,t,n){const r=e.projection=[];for(let i=0;i{class e{static#e=this.__NG_ELEMENT_ID__=a0}return e})();function a0(){return Sm(Sn(),Ae())}const l0=jc,bm=class extends l0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ca(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){const t=rc(this._hostTNode,this._hostLView);if(ju(t)){const n=el(t,this._hostLView),r=Ja(t);return new Cr(n[U].data[r+8],n)}return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=wm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Qt}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,i,va(this._hostTNode,null)),a}createComponent(t,n,r,i,s){const o=t&&!function Ne(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const he=n||{};a=he.index,r=he.injector,i=he.projectableNodes,s=he.environmentInjector||he.ngModuleRef}const h=o?t:new Tl(Vt(t)),C=r||this.parentInjector;if(!s&&null==h.ngModule){const Te=(o?C:this.parentInjector).get(xr,null);Te&&(s=Te)}Vt(h.componentType??{});const ie=h.create(C,i,null,s);return this.insertImpl(ie.hostView,a,va(this._hostTNode,null)),ie}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function sE(e){return bn(e[ge])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const h=i[ge],C=new bm(h,h[ke],h[ge]);C.detach(C.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;return ml(o,i,s,r),t.attachToViewContainerRef(),ss(tf(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=wm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);r&&(ei(tf(this._lContainer),n),bc(r[U],r))}detach(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);return r&&null!=ei(tf(this._lContainer),n)?new _l(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function wm(e){return e[8]}function tf(e){return e[8]||(e[8]=[])}function Sm(e,t){let n;const r=t[e.index];return bn(r)?n=r:(n=$g(r,t,null,e),t[e.index]=n,Tc(t,n)),Im(n,t,e,r),new bm(n,e,t)}let Im=function Tm(e,t,n,r){if(e[ct])return;let i;i=8&n.type?Tn(r):function c0(e,t){const n=e[it],r=n.createComment(""),i=ni(t,e);return jo(n,wc(n,i),r,function bb(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ct]=i},nf=()=>!1;class rf{constructor(t){this.queryList=t,this.matches=null}clone(){return new rf(this.queryList)}setDirty(){this.queryList.setDirty()}}class sf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;st.trim())}(t):t}}class af{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(o[a/2]);else{const C=s[a+1],O=t[-h];for(let B=Qt;B(J(t),t.value);return n[L]=t,n}(e),r=n[L];return t?.equal&&(r.equal=t.equal),n.set=i=>je(r,i),n.update=i=>function Fe(e,t){Le()||pt(),je(e,t(e.value))}(r,i),n.asReadonly=Vm.bind(n),n}function Vm(){const e=this[L];if(void 0===e.readonlyFn){const t=()=>this();t[L]=e,e.readonlyFn=t}return e.readonlyFn}function Bm(e){return function Lm(e){return"function"==typeof e&&void 0!==e[L]}(e)&&"function"==typeof e.set}function hf(e){let t=function qm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(vn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Qe(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const o=e;o.inputs=$c(e.inputs),o.inputTransforms=$c(e.inputTransforms),o.declaredInputs=$c(e.declaredInputs),o.outputs=$c(e.outputs);const a=i.hostBindings;a&&R0(e,a);const h=i.viewQuery,C=i.contentQueries;if(h&&O0(e,h),C&&N0(e,C),T0(e,i),kr(e.outputs,i.outputs),vn(i)&&i.data.animation){const O=e.data;O.animation=(O.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=us(i.hostAttrs,n=us(n,i.hostAttrs))}}(r)}function T0(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=t.inputTransforms[i]}}}function $c(e){return e===$r?{}:e===zt?[]:e}function O0(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function N0(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function R0(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function ey(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[3]&&(n[r]=i[3])}e.inputTransforms=n}class $o{}class ty{}function V0(e,t){return new pf(e,t??null,[])}class pf extends $o{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Em(this);const i=$n(t);this._bootstrapComponents=ki(i.bootstrap),this._r3Injector=gp(t,n,[{provide:$o,useValue:this},{provide:kc,useValue:this.componentFactoryResolver},...r],mn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class gf extends ty{constructor(t){super(),this.moduleType=t}create(t){return new pf(this.moduleType,t,[])}}class ny extends $o{constructor(t){super(),this.componentFactoryResolver=new Em(this),this.instance=null;const n=new ps([...t.providers,{provide:$o,useValue:this},{provide:kc,useValue:this.componentFactoryResolver}],t.parent||ro(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mf(e,t,n=null){return new ny({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let Ea=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new In.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wc(e){return!!yf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function yf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $s(e,t,n){return e[t]=n}function Ol(e,t){return e[t]}function lr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Go(e,t,n,r){const i=lr(e,t,n);return lr(e,t+1,r)||i}function zc(e,t,n,r,i){const s=Go(e,t,n,r);return lr(e,t+2,i)||s}function Ji(e,t,n,r,i,s){const o=Go(e,t,n,r);return Go(e,t+2,i,s)||o}function Ca(e,t,n,r,i,s,o,a){const h=Ae(),C=rn(),O=e+At,B=C.firstCreatePass?function W0(e,t,n,r,i,s,o,a,h){const C=t.consts,O=ya(t,e,4,o||null,Ls(C,a));Ld(t,n,O,Ls(C,h)),Zl(t,O);const B=O.tView=Fd(2,O,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,O),B.queries=t.queries.embeddedTView(O)),O}(O,C,h,t,n,r,i,s,o):C.data[O];ks(B,!1);const Z=ry(C,h,B,e);Ya()&&Sc(C,h,Z,B),Qr(Z,h);const ie=$g(Z,h,Z,B);return h[O]=ie,Tc(h,ie),function Mm(e,t,n){return nf(e,t,n)}(ie,B,h),Lo(B)&&Pd(C,h,B),null!=o&&xd(h,B,a),Ca}let ry=function iy(e,t,n,r){return Vs(!0),t[it].createComment("")};function Mf(e,t,n,r){const i=Ae();return lr(i,ms(),t)&&(rn(),js(kn(),i,e,t,n,r)),Mf}function Oa(e,t,n,r){return lr(e,ms(),n)?t+mt(n)+r:jt}function Zc(e,t){return e<<17|t<<2}function wo(e){return e>>17&32767}function Tf(e){return 2|e}function zo(e){return(131068&e)>>2}function Af(e,t){return-131069&e|t<<2}function Of(e){return 1|e}function Fy(e,t,n,r){const i=e[n+1],s=null===t;let o=r?wo(i):zo(i),a=!1;for(;0!==o&&(!1===a||s);){const C=e[o+1];NS(e[o],t)&&(a=!0,e[o+1]=r?Of(C):Tf(C)),o=r?wo(C):zo(C)}a&&(e[n+1]=r?Tf(i):Of(i))}function NS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ar(e,t)>=0}const br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ly(e){return e.substring(br.key,br.keyEnd)}function RS(e){return e.substring(br.value,br.valueEnd)}function ky(e,t){const n=br.textEnd;return n===t?-1:(t=br.keyEnd=function FS(e,t,n){for(;t32;)t++;return t}(e,br.key=t,n),Va(e,t,n))}function Vy(e,t){const n=br.textEnd;let r=br.key=Va(e,t,n);return n===r?-1:(r=br.keyEnd=function LS(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Uy(e,r,n),r=br.value=Va(e,r,n),r=br.valueEnd=function kS(e,t,n){let r=-1,i=-1,s=-1,o=t,a=o;for(;o32&&(a=o),s=i,i=r,r=-33&h}return a}(e,r,n),Uy(e,r,n))}function By(e){br.key=0,br.keyEnd=0,br.value=0,br.valueEnd=0,br.textEnd=e.length}function Va(e,t,n){for(;t=0;n=Vy(t,n))Wy(e,Ly(t),RS(t))}function Hy(e){Ds(GS,Gs,e,!0)}function Gs(e,t){for(let n=function PS(e){return By(e),ky(e,Va(e,0,br.textEnd))}(t);n>=0;n=ky(t,n))Wn(e,Ly(t),!0)}function _s(e,t,n,r){const i=Ae(),s=rn(),o=uo(2);s.firstUpdatePass&&Gy(s,e,o,r),t!==jt&&lr(i,o,t)&&zy(s,s.data[Kr()],i,i[it],e,i[o+1]=function zS(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=mn(Do(e)))),e}(t,n),r,o)}function Ds(e,t,n,r){const i=rn(),s=uo(2);i.firstUpdatePass&&Gy(i,null,s,r);const o=Ae();if(n!==jt&&lr(o,s,n)){const a=i.data[Kr()];if(Qy(a,r)&&!$y(i,s)){let h=r?a.classesWithoutHost:a.stylesWithoutHost;null!==h&&(n=nr(h,n||"")),Rf(i,a,o,n,r)}else!function WS(e,t,n,r,i,s,o,a){i===jt&&(i=zt);let h=0,C=0,O=0=e.expandoStartIndex}function Gy(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Kr()],o=$y(e,n);Qy(s,r)&&null===t&&!o&&(t=!1),t=function BS(e,t,n,r){const i=function Fu(e){const t=Rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Fl(n=Ff(null,e,t,n,r),t.attrs,r),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Ff(i,e,t,n,r),null===s){let h=function US(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==zo(r))return e[wo(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Ff(null,e,t,h[1],r),h=Fl(h,t.attrs,r),function jS(e,t,n,r){e[wo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function HS(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(C=!0)):O=n,i)if(0!==h){const Z=wo(e[a+1]);e[r+1]=Zc(Z,a),0!==Z&&(e[Z+1]=Af(e[Z+1],r)),e[a+1]=function MS(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Zc(a,0),0!==a&&(e[a+1]=Af(e[a+1],r)),a=r;else e[r+1]=Zc(h,0),0===a?a=r:e[h+1]=Af(e[h+1],r),h=r;C&&(e[r+1]=Tf(e[r+1])),Fy(e,O,r,!0),Fy(e,O,r,!1),function OS(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ar(s,t)>=0&&(n[r+1]=Of(n[r+1]))}(t,O,e,r,s),o=Zc(a,h),s?t.classBindings=o:t.styleBindings=o}(i,s,t,n,o,r)}}function Ff(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const h=e[i],C=Array.isArray(h),O=C?h[1]:h,B=null===O;let Z=n[i+1];Z===jt&&(Z=B?zt:void 0);let ie=B?os(Z,r):O===r?Z:void 0;if(C&&!Jc(ie)&&(ie=os(h,r)),Jc(ie)&&(a=ie,o))return a;const he=e[i+1];i=o?wo(he):zo(he)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(a=os(h,r))}return a}function Jc(e){return void 0!==e}function Qy(e,t){return!!(e.flags&(t?8:16))}function eu(e,t,n,r){const i=Ae(),s=rn(),o=At+e,a=i[it],h=s.firstCreatePass?function gI(e,t,n,r,i,s){const o=t.consts,h=ya(t,e,2,r,Ls(o,i));return Ld(t,n,h,Ls(o,s)),null!==h.attrs&&Bc(h,h.attrs,!1),null!==h.mergedAttrs&&Bc(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(o,s,i,t,n,r):s.data[o],C=Zy(s,i,h,a,t,e);i[o]=C;const O=Lo(h);return ks(h,!0),Ng(a,C,h),!function Nl(e){return!(32&~e.flags)}(h)&&Ya()&&Sc(s,i,C,h),0===function aE(){return Rt.lFrame.elementDepthCount}()&&Qr(C,i),function lE(){Rt.lFrame.elementDepthCount++}(),O&&(Pd(s,i,h),Rd(s,h,i)),null!==r&&xd(i,h),eu}function tu(){let e=Sn();Ru()?Pu():(e=e.parent,ks(e,!1));const t=e;(function uE(e){return Rt.skipHydrationRootTNode===e})(t)&&function pE(){Rt.skipHydrationRootTNode=null}(),function cE(){Rt.lFrame.elementDepthCount--}();const n=rn();return n.firstCreatePass&&(Zl(n,e),wn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ME(e){return!!(8&e.flags)}(t)&&Rf(n,t,Ae(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function TE(e){return!!(16&e.flags)}(t)&&Rf(n,t,Ae(),t.stylesWithoutHost,!1),tu}function Uf(e,t,n,r){return eu(e,t,n,r),tu(),Uf}let Zy=(e,t,n,r,i,s)=>(Vs(!0),Cc(r,i,function Xh(){return Rt.lFrame.currentNamespace}()));function nu(e,t,n){const r=Ae(),i=rn(),s=e+At,o=i.firstCreatePass?function vI(e,t,n,r,i){const s=t.consts,o=Ls(s,r),a=ya(t,e,8,"ng-container",o);return null!==o&&Bc(a,o,!0),Ld(t,n,a,Ls(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,i,r,t,n):i.data[s];ks(o,!0);const a=Jy(i,r,o,e);return r[s]=a,Ya()&&Sc(i,r,a,o),Qr(a,r),Lo(o)&&(Pd(i,r,o),Rd(i,o,r)),null!=n&&xd(r,o),nu}function ru(){let e=Sn();const t=rn();return Ru()?Pu():(e=e.parent,ks(e,!1)),t.firstCreatePass&&(Zl(t,e),wn(e)&&t.queries.elementEnd(e)),ru}function jf(e,t,n){return nu(e,t,n),ru(),jf}let Jy=(e,t,n,r)=>(Vs(!0),Sd(t[it],""));function ev(){return Ae()}const Ko=void 0;var CI=["en",[["a","p"],["AM","PM"],Ko],[["AM","PM"],Ko,Ko],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ko,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ko,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ko,"{1} 'at' {0}",Ko],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function EI(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ba={};function Hf(e){const t=function bI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iv(t);if(n)return n;const r=t.split("-")[0];if(n=iv(r),n)return n;if("en"===r)return CI;throw new Qe(701,!1)}function rv(e){return Hf(e)[Ua.PluralCase]}function iv(e){return e in Ba||(Ba[e]=bt.ng&&bt.ng.common&&bt.ng.common.locales&&bt.ng.common.locales[e]),Ba[e]}var Ua=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ua||{});const ja="en-US";let sv=ja;function Wf(e,t,n,r){const i=Ae(),s=rn(),o=Sn();return zf(s,i,i[it],o,e,t,r),Wf}function zf(e,t,n,r,i,s,o){const a=Lo(r),C=e.firstCreatePass&&zg(e),O=t[Ye],B=Wg(t);let Z=!0;if(3&r.type||o){const Te=ni(r,t),Be=o?o(Te):Te,Xe=B.length,Pe=o?cn=>o(Tn(cn[r.index])):r.index;let It=null;if(!o&&a&&(It=function _M(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sh?a[h]:null}"string"==typeof o&&(s+=2)}return null}(e,t,i,r.index)),null!==It)(It.__ngLastListenerFn__||It).__ngNextListenerFn__=s,It.__ngLastListenerFn__=s,Z=!1;else{s=Pv(r,t,O,s,!1);const cn=n.listen(Be,i,s);B.push(s,cn),C&&C.push(i,Pe,Xe,Xe+1)}}else s=Pv(r,t,O,s,!1);const ie=r.outputs;let he;if(Z&&null!==ie&&(he=ie[i])){const Te=he.length;if(Te)for(let Be=0;Be-1?Fi(e.index,t):t);let h=Rv(t,n,r,o),C=s.__ngNextListenerFn__;for(;C;)h=Rv(t,n,C,o)&&h,C=C.__ngNextListenerFn__;return i&&!1===h&&o.preventDefault(),h}}function xv(e=1){return function DE(e){return(Rt.lFrame.contextLView=function Ph(e,t){for(;e>0;)t=t[Ln],e--;return t}(e,Rt.lFrame.contextLView))[Ye]}(e)}function DM(e,t){let n=null;const r=function rt(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i(Vs(!0),function wd(e,t){return e.createText(t)}(t[it],r));function Xf(e){return lu("",e,""),Xf}function lu(e,t,n){const r=Ae(),i=Oa(r,e,t,n);return i!==jt&&po(r,Kr(),i),lu}function qf(e,t,n,r,i){const s=Ae(),o=function Na(e,t,n,r,i,s){const a=Go(e,co(),n,i);return uo(2),a?t+mt(n)+r+mt(i)+s:jt}(s,e,t,n,r,i);return o!==jt&&po(s,Kr(),o),qf}function Yf(e,t,n,r,i,s,o,a,h){const C=Ae(),O=function Pa(e,t,n,r,i,s,o,a,h,C){const B=Ji(e,co(),n,i,o,h);return uo(4),B?t+mt(n)+r+mt(i)+s+mt(o)+a+mt(h)+C:jt}(C,e,t,n,r,i,s,o,a,h);return O!==jt&&po(C,Kr(),O),Yf}function Zf(e,t,n){Bm(t)&&(t=t());const r=Ae();return lr(r,ms(),t)&&Ci(rn(),kn(),r,e,t,r[it],n,!1),Zf}function h_(e,t){const n=Bm(e);return n&&e.set(t),n}function Jf(e,t){const n=Ae(),r=rn(),i=Sn();return zf(r,n,n[it],i,e,t),Jf}function eh(e,t,n,r,i){if(e=ce(e),Array.isArray(e))for(let s=0;s>20;if(vi(e)||!e.multi){const ie=new Za(C,i,ma),he=nh(h,t,i?O:O+Z,B);-1===he?(Gu(nc(a,o),s,h),th(s,e,t.length),t.push(h),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(ie),o.push(ie)):(n[he]=ie,o[he]=ie)}else{const ie=nh(h,t,O+Z,B),he=nh(h,t,O,O+Z),Be=he>=0&&n[he];if(i&&!Be||!i&&!(ie>=0&&n[ie])){Gu(nc(a,o),s,h);const Xe=function BM(e,t,n,r,i){const s=new Za(e,n,ma);return s.multi=[],s.index=t,s.componentProviders=0,p_(s,i,r&&!n),s}(i?VM:kM,n.length,i,r,C);!i&&Be&&(n[he].providerFactory=Xe),th(s,e,t.length,0),t.push(h),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(Xe),o.push(Xe)}else th(s,e,ie>-1?ie:he,p_(n[i?he:ie],C,!i&&r));!i&&r&&Be&&n[he].componentProviders++}}}function th(e,t,n,r){const i=vi(t),s=function to(e){return!!e.useClass}(t);if(i||s){const h=(s?ce(t.useClass):t).prototype.ngOnDestroy;if(h){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const O=C.indexOf(n);-1===O?C.push(n,[r,h]):C[O+1].push(r,h)}else C.push(n,h)}}}function p_(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nh(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function LM(e,t,n){const r=rn();if(r.firstCreatePass){const i=vn(e);eh(n,r.data,r.blueprint,i,!0),eh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}let UM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=fs(0,n.type),i=r.length>0?mf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Wt({token:e,providedIn:"environment",factory:()=>new e(En(xr))})}return e})();function m_(e){Hs("NgStandalone"),e.getStandaloneInjector=t=>t.get(UM).getOrCreateStandaloneInjector(e)}function y_(e,t,n){const r=e.\u0275cmp;r.directiveDefs=yi(t,!1),r.pipeDefs=yi(n,!0)}function __(e,t,n){const r=ri()+e,i=Ae();return i[r]===jt?$s(i,r,n?t.call(n):t()):Ol(i,r)}function D_(e,t,n,r){return T_(Ae(),ri(),e,t,n,r)}function E_(e,t,n,r,i){return function A_(e,t,n,r,i,s,o){const a=t+n;return Go(e,a,i,s)?$s(e,a+2,o?r.call(o,i,s):r(i,s)):Hl(e,a+2)}(Ae(),ri(),e,t,n,r,i)}function C_(e,t,n,r,i,s){return function O_(e,t,n,r,i,s,o,a){const h=t+n;return zc(e,h,i,s,o)?$s(e,h+3,a?r.call(a,i,s,o):r(i,s,o)):Hl(e,h+3)}(Ae(),ri(),e,t,n,r,i,s)}function b_(e,t,n,r,i,s,o){return function N_(e,t,n,r,i,s,o,a,h){const C=t+n;return Ji(e,C,i,s,o,a)?$s(e,C+4,h?r.call(h,i,s,o,a):r(i,s,o,a)):Hl(e,C+4)}(Ae(),ri(),e,t,n,r,i,s,o)}function w_(e,t,n,r,i,s,o,a){const h=ri()+e,C=Ae(),O=Ji(C,h,n,r,i,s);return lr(C,h+4,o)||O?$s(C,h+5,a?t.call(a,n,r,i,s,o):t(n,r,i,s,o)):Ol(C,h+5)}function S_(e,t,n,r,i,s,o,a,h){const C=ri()+e,O=Ae(),B=Ji(O,C,n,r,i,s);return Go(O,C+4,o,a)||B?$s(O,C+6,h?t.call(h,n,r,i,s,o,a):t(n,r,i,s,o,a)):Ol(O,C+6)}function I_(e,t,n,r,i,s,o,a,h,C){const O=ri()+e,B=Ae();let Z=Ji(B,O,n,r,i,s);return zc(B,O+4,o,a,h)||Z?$s(B,O+7,C?t.call(C,n,r,i,s,o,a,h):t(n,r,i,s,o,a,h)):Ol(B,O+7)}function M_(e,t,n,r){return function R_(e,t,n,r,i,s){let o=t+n,a=!1;for(let h=0;h=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Jr(r.type)),a=qn(ma);try{const h=tc(!1),C=s();return tc(h),function wM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ae(),i,C),C}finally{qn(a)}}function x_(e,t,n){const r=e+At,i=Ae(),s=ra(i,r);return function $l(e,t){return e[U].data[t].pure}(i,r)?T_(i,ri(),t,s.transform,n,s):s.transform(n)}function F_(e,t){return Nc(e,t)}class Y_{constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Z_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rD=new _e(""),iD=new _e("");let ch,UT=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ch||(function jT(e){ch=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(En(gr),En(sD),En(iD))};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac})}return e})(),sD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ch?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function uh(e){return!!e&&"function"==typeof e.then}function oD(e){return!!e&&"function"==typeof e.subscribe}const aD=new _e("");let dh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=gt(aD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(uh(s))n.push(s);else if(oD(s)){const o=new Promise((a,h)=>{s.subscribe({complete:a,error:h})});n.push(o)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const fh=new _e("");function uD(e,t){return Array.isArray(t)?t.reduce(uD,e):{...e,...t}}let So=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=gt(yp),this.afterRenderEffectManager=gt(Sl),this.externalTestViews=new Set,this.beforeRender=new Gt.B,this.afterTick=new Gt.B,this.componentTypes=[],this.components=[],this.isStable=gt(Ea).hasPendingTasks.pipe((0,Pn.T)(n=>!n)),this._injector=gt(xr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof am;if(!this._injector.get(dh).done)throw!i&&Ar(n),new Qe(405,!1);let o;o=i?n:this._injector.get(kc).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function HT(e){return e.isBoundToModule}(o)?void 0:this._injector.get($o),C=o.create(Li.NULL,[],r||o.selector,a),O=C.location.nativeElement,B=C.injector.get(rD,null);return B?.registerApplication(O),C.onDestroy(()=>{this.detachView(C.hostView),fu(this.components,C),B?.unregisterApplication(O)}),this._loadComponent(C),C}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new Qe(101,!1);const r=A(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,A(r)}}detectChangesInAttachedViews(n){let r=0;const i=this.afterRenderEffectManager;for(;;){if(r===Yg)throw new Qe(103,!1);if(n){const s=0===r;this.beforeRender.next(s);for(let{_lView:o,notifyErrorHandler:a}of this._views)GT(o,s,a)}if(r++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hh(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hh(s))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;fu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(fh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fu(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Qe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function GT(e,t,n){!t&&!hh(e)||function WT(e,t,n){let r;n?(r=0,e[te]|=1024):r=64&e[te]?0:1,Oc(e,t,r)}(e,n,t)}function hh(e){return Au(e)}class zT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let KT=(()=>{class e{compileModuleSync(n){return new gf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ki($n(n).declarations).reduce((o,a)=>{const h=Vt(a);return h&&o.push(new Tl(h)),o},[]);return new zT(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qT=(()=>{class e{constructor(){this.zone=gt(gr),this.applicationRef=gt(So)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YT(){const e=gt(gr),t=gt(fo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let JT=(()=>{class e{constructor(){this.subscription=new Ve.yU,this.initialized=!1,this.zone=gt(gr),this.pendingTasks=gt(Ea)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{gr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const pu=new _e("",{providedIn:"root",factory:()=>gt(pu,Ft.Optional|Ft.SkipSelf)||function eA(){return typeof $localize<"u"&&$localize.locale||ja}()}),tA=new _e("",{providedIn:"root",factory:()=>"USD"}),ph=new _e("");let pD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function Kw(e="zone.js",t){return"noop"===e?new pm:"zone.js"===e?new gr(t):e}(r?.ngZone,function hD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function B0(e,t,n){return new pf(e,t,n)}(n.moduleType,this.injector,function fD(e){return[{provide:gr,useFactory:e},{provide:hi,multi:!0,useFactory:()=>{const t=gt(qT,{optional:!0});return()=>t.initialize()}},{provide:hi,multi:!0,useFactory:()=>{const t=gt(JT);return()=>{t.initialize()}}},{provide:yp,useFactory:YT}]}(()=>i)),o=s.injector.get(fo,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:h=>{o.handleError(h)}});s.onDestroy(()=>{fu(this._modules,s),a.unsubscribe()})}),function cD(e,t,n){try{const r=n();return uh(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,i,()=>{const a=s.injector.get(dh);return a.runInitializers(),a.donePromise.then(()=>(function ov(e){"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(pu,ja)||ja),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=uD({},r);return function XT(e,t,n){const r=new gf(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(So);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new Qe(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ph,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(En(Li))};static#t=this.\u0275prov=Wt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Io=null;const gD=new _e("");function mD(e,t,n=[]){const r=`Platform: ${t}`,i=new _e(r);return(s=[])=>{let o=gh();if(!o||o.injector.get(gD,!1)){const a=[...n,...s,{provide:i,useValue:!0}];e?e(a):function rA(e){if(Io&&!Io.get(gD,!1))throw new Qe(400,!1);(function lD(){!function $t(e){ze=e}(()=>{throw new Qe(600,!1)})})(),Io=e;const t=e.get(pD);(function vD(e){e.get(Up,null)?.forEach(n=>n())})(e)}(function yD(e=[],t){return Li.create({name:t,providers:[{provide:Ri,useValue:"platform"},{provide:ph,useValue:new Set([()=>Io=null])},...e]})}(a,r))}return function iA(e){const t=gh();if(!t)throw new Qe(401,!1);return t}()}}function gh(){return Io?.get(pD)??null}let DD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=oA}return e})();function oA(e){return function aA(e,t,n){if(Zi(e)&&!n){const r=Fi(e.index,t);return new _l(r,r)}return 47&e.type?new _l(t[an],t):null}(Sn(),Ae(),!(16&~e))}class wD{constructor(){}supports(t){return Wc(t)}create(t){return new fA(t)}}const dA=(e,t)=>t;class fA{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||dA}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const o=!r||n&&n.currentIndex{o=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new hA(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new SD),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new SD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class hA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class SD{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new pA,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ID(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new mA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class mA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function TD(){return new Dh([new wD])}let Dh=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:TD});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||TD()),deps:[[e,new di,new rr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Qe(901,!1)}}return e})();function AD(){return new Eh([new MD])}let Eh=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:AD});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||AD()),deps:[[e,new di,new rr]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Qe(901,!1)}}return e})();const _A=mD(null,"core",[]);let DA=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(En(So))};static#t=this.\u0275mod=Ni({type:e});static#n=this.\u0275inj=qr({})}return e})();function XA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function YA(e,t){Hs("NgSignals");const n=function Ee(e){const t=Object.create(qe);t.computation=e;const n=()=>{if(fe(t),J(t),t.value===ae)throw t.error;return t.value};return n[L]=t,n}(e);return t?.equal&&(n[L].equal=t.equal),n}function ZA(e){const t=A(null);try{return e()}finally{A(t)}}const JA=new _e("",{providedIn:"root",factory:()=>gt(eO)});let eO=(()=>{class e{static#e=this.\u0275prov=Wt({token:e,providedIn:"root",factory:()=>new tO})}return e})();class tO{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=gt(Ea),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){const n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}class nO{constructor(t,n,r,i,s,o){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=s,this.watcher=function Ut(e,t,n){const r=Object.create(en);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=h=>{r.cleanupFn=h};return r.ref={notify:()=>He(r),run:()=>{if(null===r.fn)return;if(function H(){return re}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!St(r))return;r.hasRun=!0;const h=at(r);try{r.cleanupFn(),r.cleanupFn=dt,r.fn(i)}finally{Bt(r,h)}},cleanup:()=>r.cleanupFn(),destroy:()=>function o(h){(function s(h){return null===h.fn&&null===h.schedule})(h)||($e(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=dt)}(r),[L]:r},r.ref}(a=>this.runEffect(a),()=>this.schedule(),o),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(fo,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function YD(e,t){Hs("NgSignals"),!t?.injector&&oo();const n=t?.injector??gt(Li),r=!0!==t?.manualCleanup?n.get(la):null,i=new nO(n.get(JA),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),s=n.get(DD,null,{optional:!0});return s&&8&s._lView[te]?(s._lView[Wr]??=[]).push(i.watcher.notify):i.watcher.notify(),i}function rO(e){const t=Vt(e);if(!t)return null;const n=new Tl(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},4341:(Ze,De,N)=>{N.d(De,{YN:()=>qi,kq:()=>be,vO:()=>ut,BC:()=>sr,vS:()=>Ft});var g=N(4438),v=N(177),F=N(6648),re=N(1985),f=N(3073),L=N(8750),A=N(9326),$=N(4360),H=N(6450),k=N(8496),J=N(6354);let le=(()=>{class M{constructor(D,V){this._renderer=D,this._elementRef=V,this.onChange=ee=>{},this.onTouched=()=>{}}setProperty(D,V){this._renderer.setProperty(this._elementRef.nativeElement,D,V)}registerOnTouched(D){this.onTouched=D}registerOnChange(D){this.onChange=D}setDisabledState(D){this.setProperty("disabled",D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(g.sFG),g.rXU(g.aKT))};static#t=this.\u0275dir=g.FsC({type:M})}return M})(),fe=(()=>{class M extends le{static#e=this.\u0275fac=(()=>{let D;return function(ee){return(D||(D=g.xGo(M)))(ee||M)}})();static#t=this.\u0275dir=g.FsC({type:M,features:[g.Vt3]})}return M})();const be=new g.nKC(""),at={provide:be,useExisting:(0,g.Rfq)(()=>$e),multi:!0},St=new g.nKC("");let $e=(()=>{class M extends le{constructor(D,V,ee){super(D,V),this._compositionMode=ee,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Bt(){const M=(0,v.QT)()?(0,v.QT)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(D){this.setProperty("value",D??"")}_handleInput(D){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(D)}_compositionStart(){this._composing=!0}_compositionEnd(D){this._composing=!1,this._compositionMode&&this.onChange(D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(g.sFG),g.rXU(g.aKT),g.rXU(St,8))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(V,ee){1&V&&g.bIt("input",function(Et){return ee._handleInput(Et.target.value)})("blur",function(){return ee.onTouched()})("compositionstart",function(){return ee._compositionStart()})("compositionend",function(Et){return ee._compositionEnd(Et.target.value)})},features:[g.Jv_([at]),g.Vt3]})}return M})();const se=new g.nKC(""),ne=new g.nKC("");function Ce(M){return null!=M}function Se(M){return(0,g.jNT)(M)?(0,F.H)(M):M}function Me(M){let T={};return M.forEach(D=>{T=null!=D?{...T,...D}:T}),0===Object.keys(T).length?null:T}function je(M,T){return T.map(D=>D(M))}function st(M){return M.map(T=>function Fe(M){return!M.validate}(T)?T:D=>T.validate(D))}function Ut(M){return null!=M?function Lt(M){if(!M)return null;const T=M.filter(Ce);return 0==T.length?null:function(D){return Me(je(D,T))}}(st(M)):null}function en(M){return null!=M?function dt(M){if(!M)return null;const T=M.filter(Ce);return 0==T.length?null:function(D){return function W(...M){const T=(0,A.ms)(M),{args:D,keys:V}=(0,f.D)(M),ee=new re.c(rt=>{const{length:Et}=D;if(!Et)return void rt.complete();const Ot=new Array(Et);let pi=Et,gi=Et;for(let mi=0;mi{As||(As=!0,gi--),Ot[mi]=Xs},()=>pi--,void 0,()=>{(!pi||!As)&&(gi||rt.next(V?(0,k.e)(V,Ot):Ot),rt.complete())}))}});return T?ee.pipe((0,H.I)(T)):ee}(je(D,T).map(Se)).pipe((0,J.T)(Me))}}(st(M)):null}function _n(M,T){return null===M?[T]:Array.isArray(M)?[...M,T]:[M,T]}function In(M){return M?Array.isArray(M)?M:[M]:[]}function Pn(M,T){return Array.isArray(M)?M.includes(T):M===T}function fn(M,T){const D=In(T);return In(M).forEach(ee=>{Pn(D,ee)||D.push(ee)}),D}function Gn(M,T){return In(T).filter(D=>!Pn(M,D))}class Qe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(T){this._rawValidators=T||[],this._composedValidatorFn=Ut(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=en(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(T){this._onDestroyCallbacks.push(T)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(T=>T()),this._onDestroyCallbacks=[]}reset(T=void 0){this.control&&this.control.reset(T)}hasError(T,D){return!!this.control&&this.control.hasError(T,D)}getError(T,D){return this.control?this.control.getError(T,D):null}}class un extends Qe{get formDirective(){return null}get path(){return null}}class ut extends Qe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mr{constructor(T){this._cd=T}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let sr=(()=>{class M extends mr{constructor(D){super(D)}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(ut,2))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,ee){2&V&&g.AVh("ng-untouched",ee.isUntouched)("ng-touched",ee.isTouched)("ng-pristine",ee.isPristine)("ng-dirty",ee.isDirty)("ng-valid",ee.isValid)("ng-invalid",ee.isInvalid)("ng-pending",ee.isPending)},features:[g.Vt3]})}return M})();const ce="VALID",de="INVALID",Q="PENDING",oe="DISABLED";function ln(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class Un{constructor(T,D){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(T),this._assignAsyncValidators(D)}get validator(){return this._composedValidatorFn}set validator(T){this._rawValidators=this._composedValidatorFn=T}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(T){this._rawAsyncValidators=this._composedAsyncValidatorFn=T}get parent(){return this._parent}get valid(){return this.status===ce}get invalid(){return this.status===de}get pending(){return this.status==Q}get disabled(){return this.status===oe}get enabled(){return this.status!==oe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(T){this._assignValidators(T)}setAsyncValidators(T){this._assignAsyncValidators(T)}addValidators(T){this.setValidators(fn(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(fn(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(Gn(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(Gn(T,this._rawAsyncValidators))}hasValidator(T){return Pn(this._rawValidators,T)}hasAsyncValidator(T){return Pn(this._rawAsyncValidators,T)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(T={}){this.touched=!0,this._parent&&!T.onlySelf&&this._parent.markAsTouched(T)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(T=>T.markAllAsTouched())}markAsUntouched(T={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(D=>{D.markAsUntouched({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}markAsDirty(T={}){this.pristine=!1,this._parent&&!T.onlySelf&&this._parent.markAsDirty(T)}markAsPristine(T={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(D=>{D.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=Q,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const D=this._parentMarkedDirty(T.onlySelf);this.status=oe,this.errors=null,this._forEachChild(V=>{V.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:D}),this._onDisabledChange.forEach(V=>V(!0))}enable(T={}){const D=this._parentMarkedDirty(T.onlySelf);this.status=ce,this._forEachChild(V=>{V.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:D}),this._onDisabledChange.forEach(V=>V(!1))}_updateAncestors(T){this._parent&&!T.onlySelf&&(this._parent.updateValueAndValidity(T),T.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(T){this._parent=T}getRawValue(){return this.value}updateValueAndValidity(T={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ce||this.status===Q)&&this._runAsyncValidator(T.emitEvent)),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!T.onlySelf&&this._parent.updateValueAndValidity(T)}_updateTreeValidity(T={emitEvent:!0}){this._forEachChild(D=>D._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?oe:ce}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=Q,this._hasOwnPendingAsyncValidator=!0;const D=Se(this.asyncValidator(this));this._asyncValidationSubscription=D.subscribe(V=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(V,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,D={}){this.errors=T,this._updateControlsErrors(!1!==D.emitEvent)}get(T){let D=T;return null==D||(Array.isArray(D)||(D=D.split(".")),0===D.length)?null:D.reduce((V,ee)=>V&&V._find(ee),this)}getError(T,D){const V=D?this.get(D):this;return V&&V.errors?V.errors[T]:null}hasError(T,D){return!!this.getError(T,D)}get root(){let T=this;for(;T._parent;)T=T._parent;return T}_updateControlsErrors(T){this.status=this._calculateStatus(),T&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(T)}_initObservables(){this.valueChanges=new g.bkB,this.statusChanges=new g.bkB}_calculateStatus(){return this._allControlsDisabled()?oe:this.errors?de:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Q)?Q:this._anyControlsHaveStatus(de)?de:ce}_anyControlsHaveStatus(T){return this._anyControls(D=>D.status===T)}_anyControlsDirty(){return this._anyControls(T=>T.dirty)}_anyControlsTouched(){return this._anyControls(T=>T.touched)}_updatePristine(T={}){this.pristine=!this._anyControlsDirty(),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}_updateTouched(T={}){this.touched=this._anyControlsTouched(),this._parent&&!T.onlySelf&&this._parent._updateTouched(T)}_registerOnCollectionChange(T){this._onCollectionChange=T}_setUpdateStrategy(T){ln(T)&&null!=T.updateOn&&(this._updateOn=T.updateOn)}_parentMarkedDirty(T){return!T&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(T){return null}_assignValidators(T){this._rawValidators=Array.isArray(T)?T.slice():T,this._composedValidatorFn=function tt(M){return Array.isArray(M)?Ut(M):M||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function qt(M){return Array.isArray(M)?en(M):M||null}(this._rawAsyncValidators)}}const hn=new g.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Xr}),Xr="always";function yr(M,T,D=Xr){(function Or(M,T){const D=function Gt(M){return M._rawValidators}(M);null!==T.validator?M.setValidators(_n(D,T.validator)):"function"==typeof D&&M.setValidators([D]);const V=function Ve(M){return M._rawAsyncValidators}(M);null!==T.asyncValidator?M.setAsyncValidators(_n(V,T.asyncValidator)):"function"==typeof V&&M.setAsyncValidators([V]);const ee=()=>M.updateValueAndValidity();vr(T._rawValidators,ee),vr(T._rawAsyncValidators,ee)})(M,T),T.valueAccessor.writeValue(M.value),(M.disabled||"always"===D)&&T.valueAccessor.setDisabledState?.(M.disabled),function Yr(M,T){T.valueAccessor.registerOnChange(D=>{M._pendingValue=D,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&fr(M,T)})}(M,T),function j(M,T){const D=(V,ee)=>{T.valueAccessor.writeValue(V),ee&&T.viewToModelUpdate(V)};M.registerOnChange(D),T._registerOnDestroy(()=>{M._unregisterOnChange(D)})}(M,T),function ji(M,T){T.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&fr(M,T),"submit"!==M.updateOn&&M.markAsTouched()})}(M,T),function qr(M,T){if(T.valueAccessor.setDisabledState){const D=V=>{T.valueAccessor.setDisabledState(V)};M.registerOnDisabledChange(D),T._registerOnDestroy(()=>{M._unregisterOnDisabledChange(D)})}}(M,T)}function vr(M,T){M.forEach(D=>{D.registerOnValidatorChange&&D.registerOnValidatorChange(T)})}function fr(M,T){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function Nn(M,T){const D=M.indexOf(T);D>-1&&M.splice(D,1)}function hr(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}Promise.resolve();const yn=class extends Un{constructor(T=null,D,V){super(function Re(M){return(ln(M)?M.validators:M)||null}(D),function ht(M,T){return(ln(T)?T.asyncValidators:M)||null}(V,D)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(D),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ln(D)&&(D.nonNullable||D.initialValueIsDefault)&&(this.defaultValue=hr(T)?T.value:T)}setValue(T,D={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==D.emitModelToViewChange&&this._onChange.forEach(V=>V(this.value,!1!==D.emitViewToModelChange)),this.updateValueAndValidity(D)}patchValue(T,D={}){this.setValue(T,D)}reset(T=this.defaultValue,D={}){this._applyFormState(T),this.markAsPristine(D),this.markAsUntouched(D),this.setValue(this.value,D),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){Nn(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){Nn(this._onDisabledChange,T)}_forEachChild(T){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(T){hr(T)?(this.value=this._pendingValue=T.value,T.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=T}},ts={provide:ut,useExisting:(0,g.Rfq)(()=>Ft)},Si=Promise.resolve();let Ft=(()=>{class M extends ut{constructor(D,V,ee,rt,Et,Ot){super(),this._changeDetectorRef=Et,this.callSetDisabledState=Ot,this.control=new yn,this._registered=!1,this.name="",this.update=new g.bkB,this._parent=D,this._setValidators(V),this._setAsyncValidators(ee),this.valueAccessor=function Ht(M,T){if(!T)return null;let D,V,ee;return Array.isArray(T),T.forEach(rt=>{rt.constructor===$e?D=rt:function Jt(M){return Object.getPrototypeOf(M.constructor)===fe}(rt)?V=rt:ee=rt}),ee||V||D||null}(0,rt)}ngOnChanges(D){if(this._checkForErrors(),!this._registered||"name"in D){if(this._registered&&(this._checkName(),this.formDirective)){const V=D.name.previousValue;this.formDirective.removeControl({name:V,path:this._getPath(V)})}this._setUpControl()}"isDisabled"in D&&this._updateDisabled(D),function lt(M,T){if(!M.hasOwnProperty("model"))return!1;const D=M.model;return!!D.isFirstChange()||!Object.is(T,D.currentValue)}(D,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(D){this.viewModel=D,this.update.emit(D)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){yr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(D){Si.then(()=>{this.control.setValue(D,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(D){const V=D.isDisabled.currentValue,ee=0!==V&&(0,g.L39)(V);Si.then(()=>{ee&&!this.control.disabled?this.control.disable():!ee&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(D){return this._parent?function oi(M,T){return[...T.path,M]}(D,this._parent):[D]}static#e=this.\u0275fac=function(V){return new(V||M)(g.rXU(un,9),g.rXU(se,10),g.rXU(ne,10),g.rXU(be,10),g.rXU(g.gRc,8),g.rXU(hn,8))};static#t=this.\u0275dir=g.FsC({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[g.Mj6.None,"disabled","isDisabled"],model:[g.Mj6.None,"ngModel","model"],options:[g.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[g.Jv_([ts]),g.Vt3,g.OA$]})}return M})(),Gr=(()=>{class M{static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=g.$C({type:M});static#n=this.\u0275inj=g.G2t({})}return M})(),qi=(()=>{class M{static withConfig(D){return{ngModule:M,providers:[{provide:hn,useValue:D.callSetDisabledState??Xr}]}}static#e=this.\u0275fac=function(V){return new(V||M)};static#t=this.\u0275mod=g.$C({type:M});static#n=this.\u0275inj=g.G2t({imports:[Gr]})}return M})()},345:(Ze,De,N)=>{N.d(De,{B7:()=>ne,Bb:()=>In,hE:()=>Gn,sG:()=>en});var g=N(4438),v=N(177);class F extends v.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class re extends F{static makeCurrent(){(0,v.ZD)(new re)}onAndCancel(de,Q,oe){return de.addEventListener(Q,oe),()=>{de.removeEventListener(Q,oe)}}dispatchEvent(de,Q){de.dispatchEvent(Q)}remove(de){de.parentNode&&de.parentNode.removeChild(de)}createElement(de,Q){return(Q=Q||this.getDefaultDocument()).createElement(de)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(de){return de.nodeType===Node.ELEMENT_NODE}isShadowRoot(de){return de instanceof DocumentFragment}getGlobalEventTarget(de,Q){return"window"===Q?window:"document"===Q?de:"body"===Q?de.body:null}getBaseHref(de){const Q=function L(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Q?null:function A(ce){return new URL(ce,document.baseURI).pathname}(Q)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(de){return(0,v._b)(document.cookie,de)}}let f=null,H=(()=>{class ce{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(oe){return new(oe||ce)};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const k=new g.nKC("");let W=(()=>{class ce{constructor(Q,oe){this._zone=oe,this._eventNameToPlugin=new Map,Q.forEach(Re=>{Re.manager=this}),this._plugins=Q.slice().reverse()}addEventListener(Q,oe,Re){return this._findPluginFor(oe).addEventListener(Q,oe,Re)}getZone(){return this._zone}_findPluginFor(Q){let oe=this._eventNameToPlugin.get(Q);if(oe)return oe;if(oe=this._plugins.find(tt=>tt.supports(Q)),!oe)throw new g.wOt(5101,!1);return this._eventNameToPlugin.set(Q,oe),oe}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(k),g.KVO(g.SKi))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();class J{constructor(de){this._doc=de}}const le="ng-app-id";let fe=(()=>{class ce{constructor(Q,oe,Re,tt={}){this.doc=Q,this.appId=oe,this.nonce=Re,this.platformId=tt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.Vy)(tt),this.resetHostNodes()}addStyles(Q){for(const oe of Q)1===this.changeUsageCount(oe,1)&&this.onStyleAdded(oe)}removeStyles(Q){for(const oe of Q)this.changeUsageCount(oe,-1)<=0&&this.onStyleRemoved(oe)}ngOnDestroy(){const Q=this.styleNodesInDOM;Q&&(Q.forEach(oe=>oe.remove()),Q.clear());for(const oe of this.getAllStyles())this.onStyleRemoved(oe);this.resetHostNodes()}addHost(Q){this.hostNodes.add(Q);for(const oe of this.getAllStyles())this.addStyleToHost(Q,oe)}removeHost(Q){this.hostNodes.delete(Q)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Q){for(const oe of this.hostNodes)this.addStyleToHost(oe,Q)}onStyleRemoved(Q){const oe=this.styleRef;oe.get(Q)?.elements?.forEach(Re=>Re.remove()),oe.delete(Q)}collectServerRenderedStyles(){const Q=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(Q?.length){const oe=new Map;return Q.forEach(Re=>{null!=Re.textContent&&oe.set(Re.textContent,Re)}),oe}return null}changeUsageCount(Q,oe){const Re=this.styleRef;if(Re.has(Q)){const tt=Re.get(Q);return tt.usage+=oe,tt.usage}return Re.set(Q,{usage:oe,elements:[]}),oe}getStyleElement(Q,oe){const Re=this.styleNodesInDOM,tt=Re?.get(oe);if(tt?.parentNode===Q)return Re.delete(oe),tt.removeAttribute(le),tt;{const ht=this.doc.createElement("style");return this.nonce&&ht.setAttribute("nonce",this.nonce),ht.textContent=oe,this.platformIsServer&&ht.setAttribute(le,this.appId),Q.appendChild(ht),ht}}addStyleToHost(Q,oe){const Re=this.getStyleElement(Q,oe),tt=this.styleRef,ht=tt.get(oe)?.elements;ht?ht.push(Re):tt.set(oe,{elements:[Re],usage:1})}resetHostNodes(){const Q=this.hostNodes;Q.clear(),Q.add(this.doc.head)}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ),g.KVO(g.sZ2),g.KVO(g.BIS,8),g.KVO(g.Agw))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const be={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Le=/%COMP%/g,$e=new g.nKC("",{providedIn:"root",factory:()=>!0});function se(ce,de){return de.map(Q=>Q.replace(Le,ce))}let ne=(()=>{class ce{constructor(Q,oe,Re,tt,ht,qt,ln,Mn=null){this.eventManager=Q,this.sharedStylesHost=oe,this.appId=Re,this.removeStylesOnCompDestroy=tt,this.doc=ht,this.platformId=qt,this.ngZone=ln,this.nonce=Mn,this.rendererByCompId=new Map,this.platformIsServer=(0,v.Vy)(qt),this.defaultRenderer=new Ie(Q,ht,ln,this.platformIsServer)}createRenderer(Q,oe){if(!Q||!oe)return this.defaultRenderer;this.platformIsServer&&oe.encapsulation===g.gXe.ShadowDom&&(oe={...oe,encapsulation:g.gXe.Emulated});const Re=this.getOrCreateRenderer(Q,oe);return Re instanceof Oe?Re.applyToHost(Q):Re instanceof qe&&Re.applyStyles(),Re}getOrCreateRenderer(Q,oe){const Re=this.rendererByCompId;let tt=Re.get(oe.id);if(!tt){const ht=this.doc,qt=this.ngZone,ln=this.eventManager,Mn=this.sharedStylesHost,Ir=this.removeStylesOnCompDestroy,Un=this.platformIsServer;switch(oe.encapsulation){case g.gXe.Emulated:tt=new Oe(ln,Mn,oe,this.appId,Ir,ht,qt,Un);break;case g.gXe.ShadowDom:return new ae(ln,Mn,Q,oe,ht,qt,this.nonce,Un);default:tt=new qe(ln,Mn,oe,Ir,ht,qt,Un)}Re.set(oe.id,tt)}return tt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(W),g.KVO(fe),g.KVO(g.sZ2),g.KVO($e),g.KVO(v.qQ),g.KVO(g.Agw),g.KVO(g.SKi),g.KVO(g.BIS))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();class Ie{constructor(de,Q,oe,Re){this.eventManager=de,this.doc=Q,this.ngZone=oe,this.platformIsServer=Re,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(de,Q){return Q?this.doc.createElementNS(be[Q]||Q,de):this.doc.createElement(de)}createComment(de){return this.doc.createComment(de)}createText(de){return this.doc.createTextNode(de)}appendChild(de,Q){(xe(de)?de.content:de).appendChild(Q)}insertBefore(de,Q,oe){de&&(xe(de)?de.content:de).insertBefore(Q,oe)}removeChild(de,Q){de&&de.removeChild(Q)}selectRootElement(de,Q){let oe="string"==typeof de?this.doc.querySelector(de):de;if(!oe)throw new g.wOt(-5104,!1);return Q||(oe.textContent=""),oe}parentNode(de){return de.parentNode}nextSibling(de){return de.nextSibling}setAttribute(de,Q,oe,Re){if(Re){Q=Re+":"+Q;const tt=be[Re];tt?de.setAttributeNS(tt,Q,oe):de.setAttribute(Q,oe)}else de.setAttribute(Q,oe)}removeAttribute(de,Q,oe){if(oe){const Re=be[oe];Re?de.removeAttributeNS(Re,Q):de.removeAttribute(`${oe}:${Q}`)}else de.removeAttribute(Q)}addClass(de,Q){de.classList.add(Q)}removeClass(de,Q){de.classList.remove(Q)}setStyle(de,Q,oe,Re){Re&(g.czy.DashCase|g.czy.Important)?de.style.setProperty(Q,oe,Re&g.czy.Important?"important":""):de.style[Q]=oe}removeStyle(de,Q,oe){oe&g.czy.DashCase?de.style.removeProperty(Q):de.style[Q]=""}setProperty(de,Q,oe){null!=de&&(de[Q]=oe)}setValue(de,Q){de.nodeValue=Q}listen(de,Q,oe){if("string"==typeof de&&!(de=(0,v.QT)().getGlobalEventTarget(this.doc,de)))throw new Error(`Unsupported event target ${de} for event ${Q}`);return this.eventManager.addEventListener(de,Q,this.decoratePreventDefault(oe))}decoratePreventDefault(de){return Q=>{if("__ngUnwrap__"===Q)return de;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>de(Q)):de(Q))&&Q.preventDefault()}}}function xe(ce){return"TEMPLATE"===ce.tagName&&void 0!==ce.content}class ae extends Ie{constructor(de,Q,oe,Re,tt,ht,qt,ln){super(de,tt,ht,ln),this.sharedStylesHost=Q,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=se(Re.id,Re.styles);for(const Ir of Mn){const Un=document.createElement("style");qt&&Un.setAttribute("nonce",qt),Un.textContent=Ir,this.shadowRoot.appendChild(Un)}}nodeOrShadowRoot(de){return de===this.hostEl?this.shadowRoot:de}appendChild(de,Q){return super.appendChild(this.nodeOrShadowRoot(de),Q)}insertBefore(de,Q,oe){return super.insertBefore(this.nodeOrShadowRoot(de),Q,oe)}removeChild(de,Q){return super.removeChild(this.nodeOrShadowRoot(de),Q)}parentNode(de){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(de)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class qe extends Ie{constructor(de,Q,oe,Re,tt,ht,qt,ln){super(de,tt,ht,qt),this.sharedStylesHost=Q,this.removeStylesOnCompDestroy=Re,this.styles=ln?se(ln,oe.styles):oe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Oe extends qe{constructor(de,Q,oe,Re,tt,ht,qt,ln){const Mn=Re+"-"+oe.id;super(de,Q,oe,tt,ht,qt,ln,Mn),this.contentAttr=function pe(ce){return"_ngcontent-%COMP%".replace(Le,ce)}(Mn),this.hostAttr=function et(ce){return"_nghost-%COMP%".replace(Le,ce)}(Mn)}applyToHost(de){this.applyStyles(),this.setAttribute(de,this.hostAttr,"")}createElement(de,Q){const oe=super.createElement(de,Q);return super.setAttribute(oe,this.contentAttr,""),oe}}let ze=(()=>{class ce extends J{constructor(Q){super(Q)}supports(Q){return!0}addEventListener(Q,oe,Re){return Q.addEventListener(oe,Re,!1),()=>this.removeEventListener(Q,oe,Re)}removeEventListener(Q,oe,Re){return Q.removeEventListener(oe,Re)}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const pt=["alt","control","meta","shift"],$t={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},me={alt:ce=>ce.altKey,control:ce=>ce.ctrlKey,meta:ce=>ce.metaKey,shift:ce=>ce.shiftKey};let Ce=(()=>{class ce extends J{constructor(Q){super(Q)}supports(Q){return null!=ce.parseEventName(Q)}addEventListener(Q,oe,Re){const tt=ce.parseEventName(oe),ht=ce.eventCallback(tt.fullKey,Re,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.QT)().onAndCancel(Q,tt.domEventName,ht))}static parseEventName(Q){const oe=Q.toLowerCase().split("."),Re=oe.shift();if(0===oe.length||"keydown"!==Re&&"keyup"!==Re)return null;const tt=ce._normalizeKey(oe.pop());let ht="",qt=oe.indexOf("code");if(qt>-1&&(oe.splice(qt,1),ht="code."),pt.forEach(Mn=>{const Ir=oe.indexOf(Mn);Ir>-1&&(oe.splice(Ir,1),ht+=Mn+".")}),ht+=tt,0!=oe.length||0===tt.length)return null;const ln={};return ln.domEventName=Re,ln.fullKey=ht,ln}static matchEventFullKeyCode(Q,oe){let Re=$t[Q.key]||Q.key,tt="";return oe.indexOf("code.")>-1&&(Re=Q.code,tt="code."),!(null==Re||!Re)&&(Re=Re.toLowerCase()," "===Re?Re="space":"."===Re&&(Re="dot"),pt.forEach(ht=>{ht!==Re&&(0,me[ht])(Q)&&(tt+=ht+".")}),tt+=Re,tt===oe)}static eventCallback(Q,oe,Re){return tt=>{ce.matchEventFullKeyCode(tt,Q)&&Re.runGuarded(()=>oe(tt))}}static _normalizeKey(Q){return"esc"===Q?"escape":Q}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac})}return ce})();const en=(0,g.oH4)(g.fpN,"browser",[{provide:g.Agw,useValue:v.AJ},{provide:g.PLl,useValue:function st(){re.makeCurrent()},multi:!0},{provide:v.qQ,useFactory:function Ut(){return(0,g.TL$)(document),document},deps:[]}]),_n=new g.nKC(""),Gt=[{provide:g.e01,useClass:class ${addToWindow(de){g.JZv.getAngularTestability=(oe,Re=!0)=>{const tt=de.findTestabilityInTree(oe,Re);if(null==tt)throw new g.wOt(5103,!1);return tt},g.JZv.getAllAngularTestabilities=()=>de.getAllTestabilities(),g.JZv.getAllAngularRootElements=()=>de.getAllRootElements(),g.JZv.frameworkStabilizers||(g.JZv.frameworkStabilizers=[]),g.JZv.frameworkStabilizers.push(oe=>{const Re=g.JZv.getAllAngularTestabilities();let tt=Re.length;const ht=function(){tt--,0==tt&&oe()};Re.forEach(qt=>{qt.whenStable(ht)})})}findTestabilityInTree(de,Q,oe){return null==Q?null:de.getTestability(Q)??(oe?(0,v.QT)().isShadowRoot(Q)?this.findTestabilityInTree(de,Q.host,!0):this.findTestabilityInTree(de,Q.parentElement,!0):null)}},deps:[]},{provide:g.WHO,useClass:g.NYb,deps:[g.SKi,g.giA,g.e01]},{provide:g.NYb,useClass:g.NYb,deps:[g.SKi,g.giA,g.e01]}],Ve=[{provide:g.H8p,useValue:"root"},{provide:g.zcH,useFactory:function Lt(){return new g.zcH},deps:[]},{provide:k,useClass:ze,multi:!0,deps:[v.qQ,g.SKi,g.Agw]},{provide:k,useClass:Ce,multi:!0,deps:[v.qQ]},ne,fe,W,{provide:g._9s,useExisting:ne},{provide:v.N0,useClass:H,deps:[]},[]];let In=(()=>{class ce{constructor(Q){}static withServerTransition(Q){return{ngModule:ce,providers:[{provide:g.sZ2,useValue:Q.appId}]}}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(_n,12))};static#t=this.\u0275mod=g.$C({type:ce});static#n=this.\u0275inj=g.G2t({providers:[...Ve,...Gt],imports:[v.MD,g.Hbi]})}return ce})(),Gn=(()=>{class ce{constructor(Q){this._doc=Q}getTitle(){return this._doc.title}setTitle(Q){this._doc.title=Q||""}static#e=this.\u0275fac=function(oe){return new(oe||ce)(g.KVO(v.qQ))};static#t=this.\u0275prov=g.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})()},7488:(Ze,De,N)=>{N.d(De,{nX:()=>Hr,wF:()=>wt,Ix:()=>nn,Wk:()=>an,wQ:()=>Er,iI:()=>Sh,n3:()=>Ki});var g=N(467),v=N(4438),F=N(1985),re=N(8071),L=N(6648),A=N(7673),$=N(4412),H=N(3073),k=N(3669),W=N(6450),J=N(9326),le=N(8496),fe=N(4360),be=N(5225);function Le(...c){const m=(0,J.lI)(c),d=(0,J.ms)(c),{args:y,keys:b}=(0,H.D)(c);if(0===y.length)return(0,L.H)([],m);const P=new F.c(function He(c,m,d=k.D){return y=>{at(m,()=>{const{length:b}=c,P=new Array(b);let K=b,ye=b;for(let ue=0;ue{const We=(0,L.H)(c[ue],m);let Nt=!1;We.subscribe((0,fe._)(y,kt=>{P[ue]=kt,Nt||(Nt=!0,ye--),ye||y.next(d(P.slice()))},()=>{--K||y.complete()}))},y)},y)}}(y,m,b?K=>(0,le.e)(b,K):k.D));return d?P.pipe((0,W.I)(d)):P}function at(c,m,d){c?(0,be.N)(d,c,m):m()}const St=(0,N(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var $e=N(8793),pe=N(8750);function et(c){return new F.c(m=>{(0,pe.Tg)(c()).subscribe(m)})}var se=N(1203);function ne(c,m){const d=(0,re.T)(c)?c:()=>c,y=b=>b.error(d());return new F.c(m?b=>m.schedule(y,0,b):y)}var Ie=N(983),Ee=N(8359),Y=N(9974);function xe(){return(0,Y.N)((c,m)=>{let d=null;c._refCount++;const y=(0,fe._)(m,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(d=null);const b=c._connection,P=d;d=null,b&&(!P||b===P)&&b.unsubscribe(),m.unsubscribe()});c.subscribe(y),y.closed||(d=c.connect())})}class ae extends F.c{constructor(m,d){super(),this.source=m,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,Y.S)(m)&&(this.lift=m.lift)}_subscribe(m){return this.getSubject().subscribe(m)}getSubject(){const m=this._subject;return(!m||m.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:m}=this;this._subject=this._connection=null,m?.unsubscribe()}connect(){let m=this._connection;if(!m){m=this._connection=new Ee.yU;const d=this.getSubject();m.add(this.source.subscribe((0,fe._)(d,void 0,()=>{this._teardown(),d.complete()},y=>{this._teardown(),d.error(y)},()=>this._teardown()))),m.closed&&(this._connection=null,m=Ee.yU.EMPTY)}return m}refCount(){return xe()(this)}}var qe=N(1413),Oe=N(177),ze=N(6354),pt=N(5558),$t=N(6697),Ce=N(5964),Se=N(1397);function Me(c){return(0,Y.N)((m,d)=>{let y=!1;m.subscribe((0,fe._)(d,b=>{y=!0,d.next(b)},()=>{y||d.next(c),d.complete()}))})}function je(c=Fe){return(0,Y.N)((m,d)=>{let y=!1;m.subscribe((0,fe._)(d,b=>{y=!0,d.next(b)},()=>y?d.complete():d.error(c())))})}function Fe(){return new St}function st(c,m){const d=arguments.length>=2;return y=>y.pipe(c?(0,Ce.p)((b,P)=>c(b,P,y)):k.D,(0,$t.s)(1),d?Me(m):je(()=>new St))}var Lt=N(274);function Ut(c,m,d){const y=(0,re.T)(c)||m||d?{next:c,error:m,complete:d}:c;return y?(0,Y.N)((b,P)=>{var K;null===(K=y.subscribe)||void 0===K||K.call(y);let ye=!0;b.subscribe((0,fe._)(P,ue=>{var We;null===(We=y.next)||void 0===We||We.call(y,ue),P.next(ue)},()=>{var ue;ye=!1,null===(ue=y.complete)||void 0===ue||ue.call(y),P.complete()},ue=>{var We;ye=!1,null===(We=y.error)||void 0===We||We.call(y,ue),P.error(ue)},()=>{var ue,We;ye&&(null===(ue=y.unsubscribe)||void 0===ue||ue.call(y)),null===(We=y.finalize)||void 0===We||We.call(y)}))}):k.D}function dt(c){return(0,Y.N)((m,d)=>{let P,y=null,b=!1;y=m.subscribe((0,fe._)(d,void 0,void 0,K=>{P=(0,pe.Tg)(c(K,dt(c)(m))),y?(y.unsubscribe(),y=null,P.subscribe(d)):b=!0})),b&&(y.unsubscribe(),y=null,P.subscribe(d))})}function Gt(c){return c<=0?()=>Ie.w:(0,Y.N)((m,d)=>{let y=[];m.subscribe((0,fe._)(d,b=>{y.push(b),c{for(const b of y)d.next(b);d.complete()},void 0,()=>{y=null}))})}var In=N(3703),Pn=N(980),fn=N(5343),Qe=N(6365),un=N(345);const ut="primary",mr=Symbol("RouteTitle");class Bi{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function si(c){return new Bi(c)}function sr(c,m,d){const y=d.path.split("/");if(y.length>c.length||"full"===d.pathMatch&&(m.hasChildren()||y.lengthy[P]===b)}return c===m}function Vn(c){return c.length>0?c[c.length-1]:null}function Kn(c){return function f(c){return!!c&&(c instanceof F.c||(0,re.T)(c.lift)&&(0,re.T)(c.subscribe))}(c)?c:(0,v.jNT)(c)?(0,L.H)(Promise.resolve(c)):(0,A.of)(c)}const Bn={exact:function Xt(c,m,d){if(!de(c.segments,m.segments)||!nr(c.segments,m.segments,d)||c.numberOfChildren!==m.numberOfChildren)return!1;for(const y in m.children)if(!c.children[y]||!Xt(c.children[y],m.children[y],d))return!1;return!0},subset:kr},es={exact:function Lr(c,m){return Dt(c,m)},subset:function Yt(c,m){return Object.keys(m).length<=Object.keys(c).length&&Object.keys(m).every(d=>or(c[d],m[d]))},ignored:()=>!0};function bt(c,m,d){return Bn[d.paths](c.root,m.root,d.matrixParams)&&es[d.queryParams](c.queryParams,m.queryParams)&&!("exact"===d.fragment&&c.fragment!==m.fragment)}function kr(c,m,d){return mn(c,m,m.segments,d)}function mn(c,m,d,y){if(c.segments.length>d.length){const b=c.segments.slice(0,d.length);return!(!de(b,d)||m.hasChildren()||!nr(b,d,y))}if(c.segments.length===d.length){if(!de(c.segments,d)||!nr(c.segments,d,y))return!1;for(const b in m.children)if(!c.children[b]||!kr(c.children[b],m.children[b],y))return!1;return!0}{const b=d.slice(0,c.segments.length),P=d.slice(c.segments.length);return!!(de(c.segments,b)&&nr(c.segments,b,y)&&c.children[ut])&&mn(c.children[ut],m,P,y)}}function nr(c,m,d){return m.every((y,b)=>es[d](c[b].parameters,y.parameters))}class Vr{constructor(m=new Zt([],{}),d={},y=null){this.root=m,this.queryParams=d,this.fragment=y}get queryParamMap(){return this._queryParamMap??=si(this.queryParams),this._queryParamMap}toString(){return tt.serialize(this)}}class Zt{constructor(m,d){this.segments=m,this.children=d,this.parent=null,Object.values(d).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ht(this)}}class dr{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap??=si(this.parameters),this._parameterMap}toString(){return Es(this)}}function de(c,m){return c.length===m.length&&c.every((d,y)=>d.path===m[y].path)}let oe=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>new Re,providedIn:"root"})}return c})();class Re{parse(m){const d=new Or(m);return new Vr(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${qt(m.root,!0)}`,y=function ft(c){const m=Object.entries(c).map(([d,y])=>Array.isArray(y)?y.map(b=>`${Mn(d)}=${Mn(b)}`).join("&"):`${Mn(d)}=${Mn(y)}`).filter(d=>d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${y}${"string"==typeof m.fragment?`#${function Ir(c){return encodeURI(c)}(m.fragment)}`:""}`}}const tt=new Re;function ht(c){return c.segments.map(m=>Es(m)).join("/")}function qt(c,m){if(!c.hasChildren())return ht(c);if(m){const d=c.children[ut]?qt(c.children[ut],!1):"",y=[];return Object.entries(c.children).forEach(([b,P])=>{b!==ut&&y.push(`${b}:${qt(P,!1)}`)}),y.length>0?`${d}(${y.join("//")})`:d}{const d=function Q(c,m){let d=[];return Object.entries(c.children).forEach(([y,b])=>{y===ut&&(d=d.concat(m(b,y)))}),Object.entries(c.children).forEach(([y,b])=>{y!==ut&&(d=d.concat(m(b,y)))}),d}(c,(y,b)=>b===ut?[qt(c.children[ut],!1)]:[`${b}:${qt(y,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[ut]?`${ht(c)}/${d[0]}`:`${ht(c)}/(${d.join("//")})`}}function ln(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mn(c){return ln(c).replace(/%3B/gi,";")}function Un(c){return ln(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mr(c){return decodeURIComponent(c)}function Tr(c){return Mr(c.replace(/\+/g,"%20"))}function Es(c){return`${Un(c.path)}${function On(c){return Object.entries(c).map(([m,d])=>`;${Un(m)}=${Un(d)}`).join("")}(c.parameters)}`}const Ui=/^[^\/()?;#]+/;function hn(c){const m=c.match(Ui);return m?m[0]:""}const Xr=/^[^\/()?;=#]+/,yr=/^[^=?&#]+/,vr=/^[^&#]+/;class Or{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(y[ut]=new Zt(m,d)),y}parseSegment(){const m=hn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new v.wOt(4009,!1);return this.capture(m),new dr(Mr(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=function oi(c){const m=c.match(Xr);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let y="";if(this.consumeOptional("=")){const b=hn(this.remaining);b&&(y=b,this.capture(y))}m[Mr(d)]=Mr(y)}parseQueryParam(m){const d=function Wt(c){const m=c.match(yr);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let y="";if(this.consumeOptional("=")){const K=function qr(c){const m=c.match(vr);return m?m[0]:""}(this.remaining);K&&(y=K,this.capture(y))}const b=Tr(d),P=Tr(y);if(m.hasOwnProperty(b)){let K=m[b];Array.isArray(K)||(K=[K],m[b]=K),K.push(P)}else m[b]=P}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=hn(this.remaining),b=this.remaining[y.length];if("/"!==b&&")"!==b&&";"!==b)throw new v.wOt(4010,!1);let P;y.indexOf(":")>-1?(P=y.slice(0,y.indexOf(":")),this.capture(P),this.capture(":")):m&&(P=ut);const K=this.parseChildren();d[P]=1===Object.keys(K).length?K[ut]:new Zt([],K),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new v.wOt(4011,!1)}}function Br(c){return c.segments.length>0?new Zt([],{[ut]:c}):c}function Yr(c){const m={};for(const[y,b]of Object.entries(c.children)){const P=Yr(b);if(y===ut&&0===P.segments.length&&P.hasChildren())for(const[K,ye]of Object.entries(P.children))m[K]=ye;else(P.segments.length>0||P.hasChildren())&&(m[y]=P)}return function ji(c){if(1===c.numberOfChildren&&c.children[ut]){const m=c.children[ut];return new Zt(c.segments.concat(m.segments),m.children)}return c}(new Zt(c.segments,m))}function fr(c){return c instanceof Vr}function X(c){let m;const b=Br(function d(P){const K={};for(const ue of P.children){const We=d(ue);K[ue.outlet]=We}const ye=new Zt(P.url,K);return P===c&&(m=ye),ye}(c.root));return m??b}function q(c,m,d,y){let b=c;for(;b.parent;)b=b.parent;if(0===m.length)return Ue(b,b,b,d,y);const P=function lt(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Tt(!0,0,c);let m=0,d=!1;const y=c.reduce((b,P,K)=>{if("object"==typeof P&&null!=P){if(P.outlets){const ye={};return Object.entries(P.outlets).forEach(([ue,We])=>{ye[ue]="string"==typeof We?We.split("/"):We}),[...b,{outlets:ye}]}if(P.segmentPath)return[...b,P.segmentPath]}return"string"!=typeof P?[...b,P]:0===K?(P.split("/").forEach((ye,ue)=>{0==ue&&"."===ye||(0==ue&&""===ye?d=!0:".."===ye?m++:""!=ye&&b.push(ye))}),b):[...b,P]},[]);return new Tt(d,m,y)}(m);if(P.toRoot())return Ue(b,b,new Zt([],{}),d,y);const K=function Dn(c,m,d){if(c.isAbsolute)return new Jt(m,!0,0);if(!d)return new Jt(m,!1,NaN);if(null===d.parent)return new Jt(d,!0,0);const y=we(c.commands[0])?0:1;return function Ht(c,m,d){let y=c,b=m,P=d;for(;P>b;){if(P-=b,y=y.parent,!y)throw new v.wOt(4005,!1);b=y.segments.length}return new Jt(y,!1,b-P)}(d,d.segments.length-1+y,c.numberOfDoubleDots)}(P,b,c),ye=K.processChildren?sn(K.segmentGroup,K.index,P.commands):Qn(K.segmentGroup,K.index,P.commands);return Ue(b,K.segmentGroup,ye,d,y)}function we(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function _e(c){return"object"==typeof c&&null!=c&&c.outlets}function Ue(c,m,d,y,b){let K,P={};y&&Object.entries(y).forEach(([ue,We])=>{P[ue]=Array.isArray(We)?We.map(Nt=>`${Nt}`):`${We}`}),K=c===m?d:Ke(c,m,d);const ye=Br(Yr(K));return new Vr(ye,P,b)}function Ke(c,m,d){const y={};return Object.entries(c.children).forEach(([b,P])=>{y[b]=P===m?d:Ke(P,m,d)}),new Zt(c.segments,y)}class Tt{constructor(m,d,y){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=y,m&&y.length>0&&we(y[0]))throw new v.wOt(4003,!1);const b=y.find(_e);if(b&&b!==Vn(y))throw new v.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jt{constructor(m,d,y){this.segmentGroup=m,this.processChildren=d,this.index=y}}function Qn(c,m,d){if(c??=new Zt([],{}),0===c.segments.length&&c.hasChildren())return sn(c,m,d);const y=function Pt(c,m,d){let y=0,b=m;const P={match:!1,pathIndex:0,commandIndex:0};for(;b=d.length)return P;const K=c.segments[b],ye=d[y];if(_e(ye))break;const ue=`${ye}`,We=y0&&void 0===ue)break;if(ue&&We&&"object"==typeof We&&void 0===We.outlets){if(!yn(ue,We,K))return P;y+=2}else{if(!yn(ue,{},K))return P;y++}b++}return{match:!0,pathIndex:b,commandIndex:y}}(c,m,d),b=d.slice(y.commandIndex);if(y.match&&y.pathIndexP!==ut)&&c.children[ut]&&1===c.numberOfChildren&&0===c.children[ut].segments.length){const P=sn(c.children[ut],m,d);return new Zt(c.segments,P.children)}return Object.entries(y).forEach(([P,K])=>{"string"==typeof K&&(K=[K]),null!==K&&(b[P]=Qn(c.children[P],m,K))}),Object.entries(c.children).forEach(([P,K])=>{void 0===y[P]&&(b[P]=K)}),new Zt(c.segments,b)}}function xt(c,m,d){const y=c.segments.slice(0,m);let b=0;for(;b{"string"==typeof y&&(y=[y]),null!==y&&(m[d]=xt(new Zt([],{}),0,y))}),m}function hr(c){const m={};return Object.entries(c).forEach(([d,y])=>m[d]=`${y}`),m}function yn(c,m,d){return c==d.path&&Dt(m,d.parameters)}const on="imperative";var _t=function(c){return c[c.NavigationStart=0]="NavigationStart",c[c.NavigationEnd=1]="NavigationEnd",c[c.NavigationCancel=2]="NavigationCancel",c[c.NavigationError=3]="NavigationError",c[c.RoutesRecognized=4]="RoutesRecognized",c[c.ResolveStart=5]="ResolveStart",c[c.ResolveEnd=6]="ResolveEnd",c[c.GuardsCheckStart=7]="GuardsCheckStart",c[c.GuardsCheckEnd=8]="GuardsCheckEnd",c[c.RouteConfigLoadStart=9]="RouteConfigLoadStart",c[c.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",c[c.ChildActivationStart=11]="ChildActivationStart",c[c.ChildActivationEnd=12]="ChildActivationEnd",c[c.ActivationStart=13]="ActivationStart",c[c.ActivationEnd=14]="ActivationEnd",c[c.Scroll=15]="Scroll",c[c.NavigationSkipped=16]="NavigationSkipped",c}(_t||{});class pn{constructor(m,d){this.id=m,this.url=d}}class mt extends pn{constructor(m,d,y="imperative",b=null){super(m,d),this.type=_t.NavigationStart,this.navigationTrigger=y,this.restoredState=b}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wt extends pn{constructor(m,d,y){super(m,d),this.urlAfterRedirects=y,this.type=_t.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var _r=function(c){return c[c.Redirect=0]="Redirect",c[c.SupersededByNewNavigation=1]="SupersededByNewNavigation",c[c.NoDataFromResolver=2]="NoDataFromResolver",c[c.GuardRejected=3]="GuardRejected",c}(_r||{}),jn=function(c){return c[c.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",c[c.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",c}(jn||{});class ai extends pn{constructor(m,d,y,b){super(m,d),this.reason=y,this.code=b,this.type=_t.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ur extends pn{constructor(m,d,y,b){super(m,d),this.reason=y,this.code=b,this.type=_t.NavigationSkipped}}class ts extends pn{constructor(m,d,y,b){super(m,d),this.error=y,this.target=b,this.type=_t.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Si extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn extends pn{constructor(m,d,y,b,P){super(m,d),this.urlAfterRedirects=y,this.state=b,this.shouldActivate=P,this.type=_t.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Hi extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qn extends pn{constructor(m,d,y,b){super(m,d),this.urlAfterRedirects=y,this.state=b,this.type=_t.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ns{constructor(m){this.route=m,this.type=_t.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Xo{constructor(m){this.route=m,this.type=_t.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Mo{constructor(m){this.snapshot=m,this.type=_t.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ii{constructor(m){this.snapshot=m,this.type=_t.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cs{constructor(m){this.snapshot=m,this.type=_t.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(m){this.snapshot=m,this.type=_t.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bs{constructor(m,d,y){this.routerEvent=m,this.position=d,this.anchor=y,this.type=_t.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class li{}class Gi{constructor(m){this.url=m}}class jr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Nr,this.attachRef=null}}let Nr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(d,y){const b=this.getOrCreateContext(d);b.outlet=y,this.contexts.set(d,b)}onChildOutletDestroyed(d){const y=this.getContext(d);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let y=this.getContext(d);return y||(y=new jr,this.contexts.set(d,y)),y}getContext(d){return this.contexts.get(d)||null}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class Yn{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Wi(m,this._root);return d?d.children.map(y=>y.value):[]}firstChild(m){const d=Wi(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=En(m,this._root);return d.length<2?[]:d[d.length-2].children.map(b=>b.value).filter(b=>b!==m)}pathFromRoot(m){return En(m,this._root).map(d=>d.value)}}function Wi(c,m){if(c===m.value)return m;for(const d of m.children){const y=Wi(c,d);if(y)return y}return null}function En(c,m){if(c===m.value)return[m];for(const d of m.children){const y=En(c,d);if(y.length)return y.unshift(m),y}return[]}class Zn{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function gt(c){const m={};return c&&c.children.forEach(d=>m[d.value.outlet]=d),m}class ci extends Yn{constructor(m,d){super(m),this.snapshot=d,rr(this,m)}toString(){return this.snapshot.toString()}}function rs(c){const m=function ui(c){const P=new is([],{},{},"",{},ut,c,null,{});return new ws("",new Zn(P,[]))}(c),d=new $.t([new dr("",{})]),y=new $.t({}),b=new $.t({}),P=new $.t({}),K=new $.t(""),ye=new Hr(d,y,P,K,b,ut,c,m.root);return ye.snapshot=m.root,new ci(new Zn(ye,[]),m)}class Hr{constructor(m,d,y,b,P,K,ye,ue){this.urlSubject=m,this.paramsSubject=d,this.queryParamsSubject=y,this.fragmentSubject=b,this.dataSubject=P,this.outlet=K,this.component=ye,this._futureSnapshot=ue,this.title=this.dataSubject?.pipe((0,ze.T)(We=>We[mr]))??(0,A.of)(void 0),this.url=m,this.params=d,this.queryParams=y,this.fragment=b,this.data=P}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ze.T)(m=>si(m))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ze.T)(m=>si(m))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Mi(c,m,d="emptyOnly"){let y;const{routeConfig:b}=c;return y=null===m||"always"!==d&&""!==b?.path&&(m.component||m.routeConfig?.loadComponent)?{params:{...c.params},data:{...c.data},resolve:{...c.data,...c._resolvedData??{}}}:{params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.data,...b?.data,...c._resolvedData}},b&&Jr(b)&&(y.resolve[mr]=b.title),y}class is{get title(){return this.data?.[mr]}constructor(m,d,y,b,P,K,ye,ue,We){this.url=m,this.params=d,this.queryParams=y,this.fragment=b,this.data=P,this.outlet=K,this.component=ye,this.routeConfig=ue,this._resolve=We}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=si(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=si(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ws extends Yn{constructor(m,d){super(d),this.url=m,rr(this,d)}toString(){return zi(this._root)}}function rr(c,m){m.value._routerState=c,m.children.forEach(d=>rr(c,d))}function zi(c){const m=c.children.length>0?` { ${c.children.map(zi).join(", ")} } `:"";return`${c.value}${m}`}function di(c){if(c.snapshot){const m=c.snapshot,d=c._futureSnapshot;c.snapshot=d,Dt(m.queryParams,d.queryParams)||c.queryParamsSubject.next(d.queryParams),m.fragment!==d.fragment&&c.fragmentSubject.next(d.fragment),Dt(m.params,d.params)||c.paramsSubject.next(d.params),function Mt(c,m){if(c.length!==m.length)return!1;for(let d=0;dDt(d.parameters,m[y].parameters))}(c.url,m.url);return d&&!(!c.parent!=!m.parent)&&(!c.parent||Zr(c.parent,m.parent))}function Jr(c){return"string"==typeof c.title||null===c.title}let Ki=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=ut,this.activateEvents=new v.bkB,this.deactivateEvents=new v.bkB,this.attachEvents=new v.bkB,this.detachEvents=new v.bkB,this.parentContexts=(0,v.WQX)(Nr),this.location=(0,v.WQX)(v.c1b),this.changeDetector=(0,v.WQX)(v.gRc),this.environmentInjector=(0,v.WQX)(v.uvJ),this.inputBinder=(0,v.WQX)(Jn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(d){if(d.name){const{firstChange:y,previousValue:b}=d.name;if(y)return;this.isTrackedInParentContexts(b)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(b)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v.wOt(4012,!1);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,y){this.activated=d,this._activatedRoute=y,this.location.insert(d.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,y){if(this.isActivated)throw new v.wOt(4013,!1);this._activatedRoute=d;const b=this.location,K=d.snapshot.component,ye=this.parentContexts.getOrCreateContext(this.name).children,ue=new Hn(d,ye,b.injector);this.activated=b.createComponent(K,{index:b.length,injector:ue,environmentInjector:y??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[v.OA$]})}return c})();class Hn{__ngOutletInjector(m){return new Hn(this.route,this.childContexts,m)}constructor(m,d,y){this.route=m,this.childContexts=d,this.parent=y}get(m,d){return m===Hr?this.route:m===Nr?this.childContexts:this.parent.get(m,d)}}const Jn=new v.nKC("");let ss=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(d){this.unsubscribeFromRouteData(d),this.subscribeToRouteData(d)}unsubscribeFromRouteData(d){this.outletDataSubscriptions.get(d)?.unsubscribe(),this.outletDataSubscriptions.delete(d)}subscribeToRouteData(d){const{activatedRoute:y}=d,b=Le([y.queryParams,y.params,y.data]).pipe((0,pt.n)(([P,K,ye],ue)=>(ye={...P,...K,...ye},0===ue?(0,A.of)(ye):Promise.resolve(ye)))).subscribe(P=>{if(!d.isActivated||!d.activatedComponentRef||d.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(d);const K=(0,v.HJs)(y.component);if(K)for(const{templateName:ye}of K.inputs)d.activatedComponentRef.setInput(ye,P[ye]);else this.unsubscribeFromRouteData(d)});this.outletDataSubscriptions.set(d,b)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac})}return c})();function Dr(c,m,d){if(d&&c.shouldReuseRoute(m.value,d.value.snapshot)){const y=d.value;y._futureSnapshot=m.value;const b=function fi(c,m,d){return m.children.map(y=>{for(const b of d.children)if(c.shouldReuseRoute(y.value,b.value.snapshot))return Dr(c,y,b);return Dr(c,y)})}(c,m,d);return new Zn(y,b)}{if(c.shouldAttach(m.value)){const P=c.retrieve(m.value);if(null!==P){const K=P.route;return K.value._futureSnapshot=m.value,K.children=m.children.map(ye=>Dr(c,ye)),K}}const y=function Ti(c){return new Hr(new $.t(c.url),new $.t(c.params),new $.t(c.queryParams),new $.t(c.fragment),new $.t(c.data),c.outlet,c.component,c)}(m.value),b=m.children.map(P=>Dr(c,P));return new Zn(y,b)}}const Ai="ngNavigationCancelingError";function Qi(c,m){const{redirectTo:d,navigationBehaviorOptions:y}=fr(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,b=Wn(!1,_r.Redirect);return b.url=d,b.navigationBehaviorOptions=y,b}function Wn(c,m){const d=new Error(`NavigationCancelingError: ${c||""}`);return d[Ai]=!0,d.cancellationCode=m,d}function ar(c){return!!c&&c[Ai]}let Xi=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275cmp=v.VBU({type:c,selectors:[["ng-component"]],standalone:!0,features:[v.aNF],decls:1,vars:0,template:function(y,b){1&y&&v.nrm(0,"router-outlet")},dependencies:[Ki],encapsulation:2})}return c})();function Rr(c){const m=c.children&&c.children.map(Rr),d=m?{...c,children:m}:{...c};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==ut&&(d.component=Xi),d}function Pr(c){return c.outlet||ut}function Oi(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let m=c.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class Qs{constructor(m,d,y,b,P){this.routeReuseStrategy=m,this.futureState=d,this.currState=y,this.forwardEvent=b,this.inputBindingEnabled=P}activate(m){const d=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,y,m),di(this.futureState.root),this.activateChildRoutes(d,y,m)}deactivateChildRoutes(m,d,y){const b=gt(d);m.children.forEach(P=>{const K=P.value.outlet;this.deactivateRoutes(P,b[K],y),delete b[K]}),Object.values(b).forEach(P=>{this.deactivateRouteAndItsChildren(P,y)})}deactivateRoutes(m,d,y){const b=m.value,P=d?d.value:null;if(b===P)if(b.component){const K=y.getContext(b.outlet);K&&this.deactivateChildRoutes(m,d,K.children)}else this.deactivateChildRoutes(m,d,y);else P&&this.deactivateRouteAndItsChildren(d,y)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const y=d.getContext(m.value.outlet),b=y&&m.value.component?y.children:d,P=gt(m);for(const K of Object.values(P))this.deactivateRouteAndItsChildren(K,b);if(y&&y.outlet){const K=y.outlet.detach(),ye=y.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:K,route:m,contexts:ye})}}deactivateRouteAndOutlet(m,d){const y=d.getContext(m.value.outlet),b=y&&m.value.component?y.children:d,P=gt(m);for(const K of Object.values(P))this.deactivateRouteAndItsChildren(K,b);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(m,d,y){const b=gt(d);m.children.forEach(P=>{this.activateRoutes(P,b[P.value.outlet],y),this.forwardEvent(new $i(P.value.snapshot))}),m.children.length&&this.forwardEvent(new Ii(m.value.snapshot))}activateRoutes(m,d,y){const b=m.value,P=d?d.value:null;if(di(b),b===P)if(b.component){const K=y.getOrCreateContext(b.outlet);this.activateChildRoutes(m,d,K.children)}else this.activateChildRoutes(m,d,y);else if(b.component){const K=y.getOrCreateContext(b.outlet);if(this.routeReuseStrategy.shouldAttach(b.snapshot)){const ye=this.routeReuseStrategy.retrieve(b.snapshot);this.routeReuseStrategy.store(b.snapshot,null),K.children.onOutletReAttached(ye.contexts),K.attachRef=ye.componentRef,K.route=ye.route.value,K.outlet&&K.outlet.attach(ye.componentRef,ye.route.value),di(ye.route.value),this.activateChildRoutes(m,null,K.children)}else{const ye=Oi(b.snapshot);K.attachRef=null,K.route=b,K.injector=ye,K.outlet&&K.outlet.activateWith(b,K.injector),this.activateChildRoutes(m,null,K.children)}}else this.activateChildRoutes(m,null,y)}}class Ms{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class qi{constructor(m,d){this.component=m,this.route=d}}function Ts(c,m,d){const y=c._root;return D(y,m?m._root:null,d,[y.value])}function T(c,m){const d=Symbol(),y=m.get(c,d);return y===d?"function"!=typeof c||(0,v.LfX)(c)?m.get(c):c:y}function D(c,m,d,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const P=gt(m);return c.children.forEach(K=>{(function V(c,m,d,y,b={canDeactivateChecks:[],canActivateChecks:[]}){const P=c.value,K=m?m.value:null,ye=d?d.getContext(c.value.outlet):null;if(K&&P.routeConfig===K.routeConfig){const ue=function ee(c,m,d){if("function"==typeof d)return d(c,m);switch(d){case"pathParamsChange":return!de(c.url,m.url);case"pathParamsOrQueryParamsChange":return!de(c.url,m.url)||!Dt(c.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zr(c,m)||!Dt(c.queryParams,m.queryParams);default:return!Zr(c,m)}}(K,P,P.routeConfig.runGuardsAndResolvers);ue?b.canActivateChecks.push(new Ms(y)):(P.data=K.data,P._resolvedData=K._resolvedData),D(c,m,P.component?ye?ye.children:null:d,y,b),ue&&ye&&ye.outlet&&ye.outlet.isActivated&&b.canDeactivateChecks.push(new qi(ye.outlet.component,K))}else K&&rt(m,ye,b),b.canActivateChecks.push(new Ms(y)),D(c,null,P.component?ye?ye.children:null:d,y,b)})(K,P[K.value.outlet],d,y.concat([K.value]),b),delete P[K.value.outlet]}),Object.entries(P).forEach(([K,ye])=>rt(ye,d.getContext(K),b)),b}function rt(c,m,d){const y=gt(c),b=c.value;Object.entries(y).forEach(([P,K])=>{rt(K,b.component?m?m.children.getContext(P):null:m,d)}),d.canDeactivateChecks.push(new qi(b.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,b))}function Et(c){return"function"==typeof c}function qs(c){return c instanceof St||"EmptyError"===c?.name}const Os=Symbol("INITIAL_VALUE");function er(){return(0,pt.n)(c=>Le(c.map(m=>m.pipe((0,$t.s)(1),function me(...c){const m=(0,J.lI)(c);return(0,Y.N)((d,y)=>{(m?(0,$e.x)(c,d,m):(0,$e.x)(c,d)).subscribe(y)})}(Os)))).pipe((0,ze.T)(m=>{for(const d of m)if(!0!==d){if(d===Os)return Os;if(!1===d||d instanceof Vr)return d}return!0}),(0,Ce.p)(m=>m!==Os),(0,$t.s)(1)))}function Rs(c){return(0,se.F)(Ut(m=>{if(fr(m))throw Qi(0,m)}),(0,ze.T)(m=>!0===m))}class yi{constructor(m){this.segmentGroup=m||null}}class Zs extends Error{constructor(m){super(),this.urlTree=m}}function Ps(c){return ne(new yi(c))}class Js{constructor(m,d){this.urlSerializer=m,this.urlTree=d}lineralizeSegments(m,d){let y=[],b=d.root;for(;;){if(y=y.concat(b.segments),0===b.numberOfChildren)return(0,A.of)(y);if(b.numberOfChildren>1||!b.children[ut])return ne(new v.wOt(4e3,!1));b=b.children[ut]}}applyRedirectCommands(m,d,y){const b=this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,y);if(d.startsWith("/"))throw new Zs(b);return b}applyRedirectCreateUrlTree(m,d,y,b){const P=this.createSegmentGroup(m,d.root,y,b);return new Vr(P,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const y={};return Object.entries(m).forEach(([b,P])=>{if("string"==typeof P&&P.startsWith(":")){const ye=P.substring(1);y[b]=d[ye]}else y[b]=P}),y}createSegmentGroup(m,d,y,b){const P=this.createSegments(m,d.segments,y,b);let K={};return Object.entries(d.children).forEach(([ye,ue])=>{K[ye]=this.createSegmentGroup(m,ue,y,b)}),new Zt(P,K)}createSegments(m,d,y,b){return d.map(P=>P.path.startsWith(":")?this.findPosParam(m,P,b):this.findOrReturn(P,y))}findPosParam(m,d,y){const b=y[d.path.substring(1)];if(!b)throw new v.wOt(4001,!1);return b}findOrReturn(m,d){let y=0;for(const b of d){if(b.path===m.path)return d.splice(y),b;y++}return m}}const hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function za(c,m,d,y,b){const P=xs(c,m,d);return P.matched?(y=function as(c,m){return c.providers&&!c._injector&&(c._injector=(0,v.Ol2)(c.providers,m,`Route: ${c.path}`)),c._injector??m}(m,y),function Ys(c,m,d,y){const b=m.canMatch;if(!b||0===b.length)return(0,A.of)(!0);const P=b.map(K=>{const ye=T(K,c);return Kn(function Xs(c){return c&&Et(c.canMatch)}(ye)?ye.canMatch(m,d):(0,v.N4e)(c,()=>ye(m,d)))});return(0,A.of)(P).pipe(er(),Rs())}(y,m,d).pipe((0,ze.T)(K=>!0===K?P:{...hs}))):(0,A.of)(P)}function xs(c,m,d){if("**"===m.path)return function qo(c){return{matched:!0,parameters:c.length>0?Vn(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}(d);if(""===m.path)return"full"===m.pathMatch&&(c.hasChildren()||d.length>0)?{...hs}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const b=(m.matcher||sr)(d,c,m);if(!b)return{...hs};const P={};Object.entries(b.posParams??{}).forEach(([ye,ue])=>{P[ye]=ue.path});const K=b.consumed.length>0?{...P,...b.consumed[b.consumed.length-1].parameters}:P;return{matched:!0,consumedSegments:b.consumed,remainingSegments:d.slice(b.consumed.length),parameters:K,positionalParamSegments:b.posParams??{}}}function eo(c,m,d,y){return d.length>0&&function vi(c,m,d){return d.some(y=>Ri(c,m,y)&&Pr(y)!==ut)}(c,d,y)?{segmentGroup:new Zt(m,No(y,new Zt(d,c.children))),slicedSegments:[]}:0===d.length&&function to(c,m,d){return d.some(y=>Ri(c,m,y))}(c,d,y)?{segmentGroup:new Zt(c.segments,Oo(c,d,y,c.children)),slicedSegments:d}:{segmentGroup:new Zt(c.segments,c.children),slicedSegments:d}}function Oo(c,m,d,y){const b={};for(const P of d)if(Ri(c,m,P)&&!y[Pr(P)]){const K=new Zt([],{});b[Pr(P)]=K}return{...y,...b}}function No(c,m){const d={};d[ut]=m;for(const y of c)if(""===y.path&&Pr(y)!==ut){const b=new Zt([],{});d[Pr(y)]=b}return d}function Ri(c,m,d){return(!(c.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}class Ro{}class ps{constructor(m,d,y,b,P,K,ye){this.injector=m,this.configLoader=d,this.rootComponentType=y,this.config=b,this.urlTree=P,this.paramsInheritanceStrategy=K,this.urlSerializer=ye,this.applyRedirects=new Js(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(m){return new v.wOt(4002,`'${m.segmentGroup}'`)}recognize(){const m=eo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(m).pipe((0,ze.T)(d=>{const y=new is([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,{}),b=new Zn(y,d),P=new ws("",b),K=function j(c,m,d=null,y=null){return q(X(c),m,d,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return K.queryParams=this.urlTree.queryParams,P.url=this.urlSerializer.serialize(K),this.inheritParamsAndData(P._root,null),{state:P,tree:K}}))}match(m){return this.processSegmentGroup(this.injector,this.config,m,ut).pipe(dt(y=>{if(y instanceof Zs)return this.urlTree=y.urlTree,this.match(y.urlTree.root);throw y instanceof yi?this.noMatchError(y):y}))}inheritParamsAndData(m,d){const y=m.value,b=Mi(y,d,this.paramsInheritanceStrategy);y.params=Object.freeze(b.params),y.data=Object.freeze(b.data),m.children.forEach(P=>this.inheritParamsAndData(P,y))}processSegmentGroup(m,d,y,b){return 0===y.segments.length&&y.hasChildren()?this.processChildren(m,d,y):this.processSegment(m,d,y,y.segments,b,!0).pipe((0,ze.T)(P=>P instanceof Zn?[P]:[]))}processChildren(m,d,y){const b=[];for(const P of Object.keys(y.children))"primary"===P?b.unshift(P):b.push(P);return(0,L.H)(b).pipe((0,Lt.H)(P=>{const K=y.children[P],ye=function cs(c,m){const d=c.filter(y=>Pr(y)===m);return d.push(...c.filter(y=>Pr(y)!==m)),d}(d,P);return this.processSegmentGroup(m,ye,K,P)}),function _n(c,m){return(0,Y.N)(function en(c,m,d,y,b){return(P,K)=>{let ye=d,ue=m,We=0;P.subscribe((0,fe._)(K,Nt=>{const kt=We++;ue=ye?c(ue,Nt,kt):(ye=!0,Nt),y&&K.next(ue)},b&&(()=>{ye&&K.next(ue),K.complete()})))}}(c,m,arguments.length>=2,!0))}((P,K)=>(P.push(...K),P)),Me(null),function Ve(c,m){const d=arguments.length>=2;return y=>y.pipe(c?(0,Ce.p)((b,P)=>c(b,P,y)):k.D,Gt(1),d?Me(m):je(()=>new St))}(),(0,Se.Z)(P=>{if(null===P)return Ps(y);const K=xo(P);return function io(c){c.sort((m,d)=>m.value.outlet===ut?-1:d.value.outlet===ut?1:m.value.outlet.localeCompare(d.value.outlet))}(K),(0,A.of)(K)}))}processSegment(m,d,y,b,P,K){return(0,L.H)(d).pipe((0,Lt.H)(ye=>this.processSegmentAgainstRoute(ye._injector??m,d,ye,y,b,P,K).pipe(dt(ue=>{if(ue instanceof yi)return(0,A.of)(null);throw ue}))),st(ye=>!!ye),dt(ye=>{if(qs(ye))return function Yo(c,m,d){return 0===m.length&&!c.children[d]}(y,b,P)?(0,A.of)(new Ro):Ps(y);throw ye}))}processSegmentAgainstRoute(m,d,y,b,P,K,ye){return function no(c,m,d,y){return!!(Pr(c)===y||y!==ut&&Ri(m,d,c))&&xs(m,c,d).matched}(y,b,P,K)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(m,b,y,P,K):this.allowRedirects&&ye?this.expandSegmentAgainstRouteUsingRedirect(m,b,d,y,P,K):Ps(b):Ps(b)}expandSegmentAgainstRouteUsingRedirect(m,d,y,b,P,K){const{matched:ye,consumedSegments:ue,positionalParamSegments:We,remainingSegments:Nt}=xs(d,b,P);if(!ye)return Ps(d);b.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const kt=this.applyRedirects.applyRedirectCommands(ue,b.redirectTo,We);return this.applyRedirects.lineralizeSegments(b,kt).pipe((0,Se.Z)(ir=>this.processSegment(m,y,d,ir.concat(Nt),K,!1)))}matchSegmentAgainstRoute(m,d,y,b,P){const K=za(d,y,b,m);return"**"===y.path&&(d.children={}),K.pipe((0,pt.n)(ye=>ye.matched?this.getChildConfig(m=y._injector??m,y,b).pipe((0,pt.n)(({routes:ue})=>{const We=y._loadedInjector??m,{consumedSegments:Nt,remainingSegments:kt,parameters:ir}=ye,zr=new is(Nt,ir,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function gs(c){return c.data||{}}(y),Pr(y),y.component??y._loadedComponent??null,y,function Jo(c){return c.resolve||{}}(y)),{segmentGroup:yo,slicedSegments:vo}=eo(d,Nt,kt,ue);if(0===vo.length&&yo.hasChildren())return this.processChildren(We,ue,yo).pipe((0,ze.T)(lo=>null===lo?null:new Zn(zr,lo)));if(0===ue.length&&0===vo.length)return(0,A.of)(new Zn(zr,[]));const na=Pr(y)===P;return this.processSegment(We,ue,yo,vo,na?ut:P,!0).pipe((0,ze.T)(lo=>new Zn(zr,lo instanceof Zn?[lo]:[])))})):Ps(d)))}getChildConfig(m,d,y){return d.children?(0,A.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,A.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function $n(c,m,d,y){const b=m.canLoad;if(void 0===b||0===b.length)return(0,A.of)(!0);const P=b.map(K=>{const ye=T(K,c);return Kn(function pi(c){return c&&Et(c.canLoad)}(ye)?ye.canLoad(m,d):(0,v.N4e)(c,()=>ye(m,d)))});return(0,A.of)(P).pipe(er(),Rs())}(m,d,y).pipe((0,Se.Z)(b=>b?this.configLoader.loadChildren(m,d).pipe(Ut(P=>{d._loadedRoutes=P.routes,d._loadedInjector=P.injector})):function fs(c){return ne(Wn(!1,_r.GuardRejected))}())):(0,A.of)({routes:[],injector:m})}}function Po(c){const m=c.value.routeConfig;return m&&""===m.path}function xo(c){const m=[],d=new Set;for(const y of c){if(!Po(y)){m.push(y);continue}const b=m.find(P=>y.value.routeConfig===P.value.routeConfig);void 0!==b?(b.children.push(...y.children),d.add(b)):m.push(y)}for(const y of d){const b=xo(y.children);m.push(new Zn(y.value,b))}return m.filter(y=>!d.has(y))}function so(c){const m=c.children.map(d=>so(d)).flat();return[c,...m]}function p(c){return(0,pt.n)(m=>{const d=c(m);return d?(0,L.H)(d).pipe((0,ze.T)(()=>m)):(0,A.of)(m)})}let R=(()=>{class c{buildTitle(d){let y,b=d.root;for(;void 0!==b;)y=this.getResolvedTitleForRoute(b)??y,b=b.children.find(P=>P.outlet===ut);return y}getResolvedTitleForRoute(d){return d.data[mr]}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(E),providedIn:"root"})}return c})(),E=(()=>{class c extends R{constructor(d){super(),this.title=d}updateTitle(d){const y=this.buildTitle(d);void 0!==y&&this.title.setTitle(y)}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(un.hE))};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const I=new v.nKC("",{providedIn:"root",factory:()=>({})}),z=new v.nKC("");let ve=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,v.WQX)(v.Ql9)}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,A.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const y=Kn(d.loadComponent()).pipe((0,ze.T)(gn),Ut(P=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=P}),(0,Pn.j)(()=>{this.componentLoaders.delete(d)})),b=new ae(y,()=>new qe.B).pipe(xe());return this.componentLoaders.set(d,b),b}loadChildren(d,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,A.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const P=function Ne(c,m,d,y){return Kn(c.loadChildren()).pipe((0,ze.T)(gn),(0,Se.Z)(b=>b instanceof v.Co$||Array.isArray(b)?(0,A.of)(b):(0,L.H)(m.compileModuleAsync(b))),(0,ze.T)(b=>{y&&y(c);let P,K,ye=!1;return Array.isArray(b)?(K=b,!0):(P=b.create(d).injector,K=P.get(z,[],{optional:!0,self:!0}).flat()),{routes:K.map(Rr),injector:P}}))}(y,this.compiler,d,this.onLoadEndListener).pipe((0,Pn.j)(()=>{this.childrenLoaders.delete(y)})),K=new ae(P,()=>new qe.B).pipe(xe());return this.childrenLoaders.set(y,K),K}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function gn(c){return function nt(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let S=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(u),providedIn:"root"})}return c})(),u=(()=>{class c{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,y){return d}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const l=new v.nKC(""),_=new v.nKC("");function w(c,m,d){const y=c.get(_),b=c.get(Oe.qQ);return c.get(v.SKi).runOutsideAngular(()=>{if(!b.startViewTransition||y.skipNextTransition)return y.skipNextTransition=!1,new Promise(We=>setTimeout(We));let P;const K=new Promise(We=>{P=We}),ye=b.startViewTransition(()=>(P(),function x(c){return new Promise(m=>{(0,v.mal)(m,{injector:c})})}(c))),{onViewTransitionCreated:ue}=y;return ue&&(0,v.N4e)(c,()=>ue({transition:ye,from:m,to:d})),K})}let G=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new qe.B,this.transitionAbortSubject=new qe.B,this.configLoader=(0,v.WQX)(ve),this.environmentInjector=(0,v.WQX)(v.uvJ),this.urlSerializer=(0,v.WQX)(oe),this.rootContexts=(0,v.WQX)(Nr),this.location=(0,v.WQX)(Oe.aZ),this.inputBindingEnabled=null!==(0,v.WQX)(Jn,{optional:!0}),this.titleStrategy=(0,v.WQX)(R),this.options=(0,v.WQX)(I,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,v.WQX)(S),this.createViewTransition=(0,v.WQX)(l,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,A.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new Xo(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new ns(b))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:y})}setupNavigations(d,y,b){return this.transitions=new $.t({id:0,currentUrlTree:y,currentRawUrl:y,extractedUrl:this.urlHandlingStrategy.extract(y),urlAfterRedirects:this.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:on,restoredState:null,currentSnapshot:b.snapshot,targetSnapshot:null,currentRouterState:b,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ce.p)(P=>0!==P.id),(0,ze.T)(P=>({...P,extractedUrl:this.urlHandlingStrategy.extract(P.rawUrl)})),(0,pt.n)(P=>{let K=!1,ye=!1;return(0,A.of)(P).pipe((0,pt.n)(ue=>{if(this.navigationId>P.id)return this.cancelNavigationTransition(P,"",_r.SupersededByNewNavigation),Ie.w;this.currentTransition=P,this.currentNavigation={id:ue.id,initialUrl:ue.rawUrl,extractedUrl:ue.extractedUrl,trigger:ue.source,extras:ue.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const We=!d.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!We&&"reload"!==(ue.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const kt="";return this.events.next(new Ur(ue.id,this.urlSerializer.serialize(ue.rawUrl),kt,jn.IgnoredSameUrlNavigation)),ue.resolve(null),Ie.w}if(this.urlHandlingStrategy.shouldProcessUrl(ue.rawUrl))return(0,A.of)(ue).pipe((0,pt.n)(kt=>{const ir=this.transitions?.getValue();return this.events.next(new mt(kt.id,this.urlSerializer.serialize(kt.extractedUrl),kt.source,kt.restoredState)),ir!==this.transitions?.getValue()?Ie.w:Promise.resolve(kt)}),function ea(c,m,d,y,b,P){return(0,Se.Z)(K=>function ro(c,m,d,y,b,P,K="emptyOnly"){return new ps(c,m,d,y,b,K,P).recognize()}(c,m,d,y,K.extractedUrl,b,P).pipe((0,ze.T)(({state:ye,tree:ue})=>({...K,targetSnapshot:ye,urlAfterRedirects:ue}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,d.config,this.urlSerializer,this.paramsInheritanceStrategy),Ut(kt=>{P.targetSnapshot=kt.targetSnapshot,P.urlAfterRedirects=kt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:kt.urlAfterRedirects};const ir=new Si(kt.id,this.urlSerializer.serialize(kt.extractedUrl),this.urlSerializer.serialize(kt.urlAfterRedirects),kt.targetSnapshot);this.events.next(ir)}));if(We&&this.urlHandlingStrategy.shouldProcessUrl(ue.currentRawUrl)){const{id:kt,extractedUrl:ir,source:zr,restoredState:yo,extras:vo}=ue,na=new mt(kt,this.urlSerializer.serialize(ir),zr,yo);this.events.next(na);const lo=rs(this.rootComponentType).snapshot;return this.currentTransition=P={...ue,targetSnapshot:lo,urlAfterRedirects:ir,extras:{...vo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=ir,(0,A.of)(P)}{const kt="";return this.events.next(new Ur(ue.id,this.urlSerializer.serialize(ue.extractedUrl),kt,jn.IgnoredByUrlHandlingStrategy)),ue.resolve(null),Ie.w}}),Ut(ue=>{const We=new Ft(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot);this.events.next(We)}),(0,ze.T)(ue=>(this.currentTransition=P={...ue,guards:Ts(ue.targetSnapshot,ue.currentSnapshot,this.rootContexts)},P)),function Ni(c,m){return(0,Se.Z)(d=>{const{targetSnapshot:y,currentSnapshot:b,guards:{canActivateChecks:P,canDeactivateChecks:K}}=d;return 0===K.length&&0===P.length?(0,A.of)({...d,guardsResult:!0}):function To(c,m,d,y){return(0,L.H)(c).pipe((0,Se.Z)(b=>function Ar(c,m,d,y,b){const P=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,A.of)(!0);const K=P.map(ye=>{const ue=Oi(m)??b,We=T(ye,ue);return Kn(function As(c){return c&&Et(c.canDeactivate)}(We)?We.canDeactivate(c,m,d,y):(0,v.N4e)(ue,()=>We(c,m,d,y))).pipe(st())});return(0,A.of)(K).pipe(er())}(b.component,b.route,d,m,y)),st(b=>!0!==b,!0))}(K,y,b,c).pipe((0,Se.Z)(ye=>ye&&function Ot(c){return"boolean"==typeof c}(ye)?function Ao(c,m,d,y){return(0,L.H)(m).pipe((0,Lt.H)(b=>(0,$e.x)(function Vt(c,m){return null!==c&&m&&m(new Mo(c)),(0,A.of)(!0)}(b.route.parent,y),function Ns(c,m){return null!==c&&m&&m(new Cs(c)),(0,A.of)(!0)}(b.route,y),function Cn(c,m,d){const y=m[m.length-1],P=m.slice(0,m.length-1).reverse().map(K=>function M(c){const m=c.routeConfig?c.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:c,guards:m}:null}(K)).filter(K=>null!==K).map(K=>et(()=>{const ye=K.guards.map(ue=>{const We=Oi(K.node)??d,Nt=T(ue,We);return Kn(function mi(c){return c&&Et(c.canActivateChild)}(Nt)?Nt.canActivateChild(y,c):(0,v.N4e)(We,()=>Nt(y,c))).pipe(st())});return(0,A.of)(ye).pipe(er())}));return(0,A.of)(P).pipe(er())}(c,b.path,d),function Fn(c,m,d){const y=m.routeConfig?m.routeConfig.canActivate:null;if(!y||0===y.length)return(0,A.of)(!0);const b=y.map(P=>et(()=>{const K=Oi(m)??d,ye=T(P,K);return Kn(function gi(c){return c&&Et(c.canActivate)}(ye)?ye.canActivate(m,c):(0,v.N4e)(K,()=>ye(m,c))).pipe(st())}));return(0,A.of)(b).pipe(er())}(c,b.route,d))),st(b=>!0!==b,!0))}(y,P,c,m):(0,A.of)(ye)),(0,ze.T)(ye=>({...d,guardsResult:ye})))})}(this.environmentInjector,ue=>this.events.next(ue)),Ut(ue=>{if(P.guardsResult=ue.guardsResult,fr(ue.guardsResult))throw Qi(0,ue.guardsResult);const We=new Xn(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot,!!ue.guardsResult);this.events.next(We)}),(0,Ce.p)(ue=>!!ue.guardsResult||(this.cancelNavigationTransition(ue,"",_r.GuardRejected),!1)),p(ue=>{if(ue.guards.canActivateChecks.length)return(0,A.of)(ue).pipe(Ut(We=>{const Nt=new Hi(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Nt)}),(0,pt.n)(We=>{let Nt=!1;return(0,A.of)(We).pipe(function ta(c,m){return(0,Se.Z)(d=>{const{targetSnapshot:y,guards:{canActivateChecks:b}}=d;if(!b.length)return(0,A.of)(d);const P=new Set(b.map(ue=>ue.route)),K=new Set;for(const ue of P)if(!K.has(ue))for(const We of so(ue))K.add(We);let ye=0;return(0,L.H)(K).pipe((0,Lt.H)(ue=>P.has(ue)?function Yi(c,m,d,y){const b=c.routeConfig,P=c._resolve;return void 0!==b?.title&&!Jr(b)&&(P[mr]=b.title),function Fo(c,m,d,y){const b=tr(c);if(0===b.length)return(0,A.of)({});const P={};return(0,L.H)(b).pipe((0,Se.Z)(K=>function oo(c,m,d,y){const b=Oi(m)??y,P=T(c,b);return Kn(P.resolve?P.resolve(m,d):(0,v.N4e)(b,()=>P(m,d)))}(c[K],m,d,y).pipe(st(),Ut(ye=>{P[K]=ye}))),Gt(1),(0,In.u)(P),dt(K=>qs(K)?Ie.w:ne(K)))}(P,c,m,y).pipe((0,ze.T)(K=>(c._resolvedData=K,c.data=Mi(c,c.parent,d).resolve,null)))}(ue,y,c,m):(ue.data=Mi(ue,ue.parent,c).resolve,(0,A.of)(void 0))),Ut(()=>ye++),Gt(1),(0,Se.Z)(ue=>ye===K.size?(0,A.of)(d):Ie.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),Ut({next:()=>Nt=!0,complete:()=>{Nt||this.cancelNavigationTransition(We,"",_r.NoDataFromResolver)}}))}),Ut(We=>{const Nt=new qn(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Nt)}))}),p(ue=>{const We=Nt=>{const kt=[];Nt.routeConfig?.loadComponent&&!Nt.routeConfig._loadedComponent&&kt.push(this.configLoader.loadComponent(Nt.routeConfig).pipe(Ut(ir=>{Nt.component=ir}),(0,ze.T)(()=>{})));for(const ir of Nt.children)kt.push(...We(ir));return kt};return Le(We(ue.targetSnapshot.root)).pipe(Me(null),(0,$t.s)(1))}),p(()=>this.afterPreactivation()),(0,pt.n)(()=>{const{currentSnapshot:ue,targetSnapshot:We}=P,Nt=this.createViewTransition?.(this.environmentInjector,ue.root,We.root);return Nt?(0,L.H)(Nt).pipe((0,ze.T)(()=>P)):(0,A.of)(P)}),(0,ze.T)(ue=>{const We=function ei(c,m,d){const y=Dr(c,m._root,d?d._root:void 0);return new ci(y,m)}(d.routeReuseStrategy,ue.targetSnapshot,ue.currentRouterState);return this.currentTransition=P={...ue,targetRouterState:We},this.currentNavigation.targetRouterState=We,P}),Ut(()=>{this.events.next(new li)}),((c,m,d,y)=>(0,ze.T)(b=>(new Qs(m,b.targetRouterState,b.currentRouterState,d,y).activate(c),b)))(this.rootContexts,d.routeReuseStrategy,ue=>this.events.next(ue),this.inputBindingEnabled),(0,$t.s)(1),Ut({next:ue=>{K=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wt(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects))),this.titleStrategy?.updateTitle(ue.targetRouterState.snapshot),ue.resolve(!0)},complete:()=>{K=!0}}),function Gn(c){return(0,Y.N)((m,d)=>{(0,pe.Tg)(c).subscribe((0,fe._)(d,()=>d.complete(),fn.l)),!d.closed&&m.subscribe(d)})}(this.transitionAbortSubject.pipe(Ut(ue=>{throw ue}))),(0,Pn.j)(()=>{!K&&!ye&&this.cancelNavigationTransition(P,"",_r.SupersededByNewNavigation),this.currentTransition?.id===P.id&&(this.currentNavigation=null,this.currentTransition=null)}),dt(ue=>{if(ye=!0,ar(ue))this.events.next(new ai(P.id,this.urlSerializer.serialize(P.extractedUrl),ue.message,ue.cancellationCode)),function os(c){return ar(c)&&fr(c.url)}(ue)?this.events.next(new Gi(ue.url)):P.resolve(!1);else{this.events.next(new ts(P.id,this.urlSerializer.serialize(P.extractedUrl),ue,P.targetSnapshot??void 0));try{P.resolve(d.errorHandler(ue))}catch(We){this.options.resolveNavigationPromiseOnError?P.resolve(!1):P.reject(We)}}return Ie.w}))}))}cancelNavigationTransition(d,y,b){const P=new ai(d.id,this.urlSerializer.serialize(d.extractedUrl),y,b);this.events.next(P),d.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function U(c){return c!==on}let te=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(Ge),providedIn:"root"})}return c})();class ge{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let Ge=(()=>{class c extends ge{static#e=this.\u0275fac=(()=>{let d;return function(b){return(d||(d=v.xGo(c)))(b||c)}})();static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),ke=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:()=>(0,v.WQX)(yt),providedIn:"root"})}return c})(),yt=(()=>{class c extends ke{constructor(){super(...arguments),this.location=(0,v.WQX)(Oe.aZ),this.urlSerializer=(0,v.WQX)(oe),this.options=(0,v.WQX)(I,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,v.WQX)(S),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Vr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=rs(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(d){return this.location.subscribe(y=>{"popstate"===y.type&&d(y.url,y.state)})}handleRouterEvent(d,y){if(d instanceof mt)this.stateMemento=this.createStateMemento();else if(d instanceof Ur)this.rawUrlTree=y.initialUrl;else if(d instanceof Si){if("eager"===this.urlUpdateStrategy&&!y.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl);this.setBrowserUrl(b,y)}}else d instanceof li?(this.currentUrlTree=y.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y))):d instanceof ai&&(d.code===_r.GuardRejected||d.code===_r.NoDataFromResolver)?this.restoreHistory(y):d instanceof ts?this.restoreHistory(y,!0):d instanceof wt&&(this.lastSuccessfulId=d.id,this.currentPageId=this.browserPageId)}setBrowserUrl(d,y){const b=this.urlSerializer.serialize(d);if(this.location.isCurrentPathEqualTo(b)||y.extras.replaceUrl){const K={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(b,"",K)}else{const P={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(b,"",P)}}restoreHistory(d,y=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-this.browserPageId;0!==P?this.location.historyGo(P):this.currentUrlTree===d.finalUrl&&0===P&&(this.resetState(d),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,y){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:y}:{navigationId:d}}static#e=this.\u0275fac=(()=>{let d;return function(b){return(d||(d=v.xGo(c)))(b||c)}})();static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var vt=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(vt||{});function Ye(c,m){c.events.pipe((0,Ce.p)(d=>d instanceof wt||d instanceof ai||d instanceof ts||d instanceof Ur),(0,ze.T)(d=>d instanceof wt||d instanceof Ur?vt.COMPLETE:d instanceof ai&&(d.code===_r.Redirect||d.code===_r.SupersededByNewNavigation)?vt.REDIRECTING:vt.FAILED),(0,Ce.p)(d=>d!==vt.REDIRECTING),(0,$t.s)(1)).subscribe(()=>{m()})}function ot(c){throw c}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},it={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let nn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,v.WQX)(v.H3F),this.stateManager=(0,v.WQX)(ke),this.options=(0,v.WQX)(I,{optional:!0})||{},this.pendingTasks=(0,v.WQX)(v.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,v.WQX)(G),this.urlSerializer=(0,v.WQX)(oe),this.location=(0,v.WQX)(Oe.aZ),this.urlHandlingStrategy=(0,v.WQX)(S),this._events=new qe.B,this.errorHandler=this.options.errorHandler||ot,this.navigated=!1,this.routeReuseStrategy=(0,v.WQX)(te),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,v.WQX)(z,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,v.WQX)(Jn,{optional:!0}),this.eventsSubscription=new Ee.yU,this.isNgZoneEnabled=(0,v.WQX)(v.SKi)instanceof v.SKi&&v.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:d=>{this.console.warn(d)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const d=this.navigationTransitions.events.subscribe(y=>{try{const b=this.navigationTransitions.currentTransition,P=this.navigationTransitions.currentNavigation;if(null!==b&&null!==P)if(this.stateManager.handleRouterEvent(y,P),y instanceof ai&&y.code!==_r.Redirect&&y.code!==_r.SupersededByNewNavigation)this.navigated=!0;else if(y instanceof wt)this.navigated=!0;else if(y instanceof Gi){const K=this.urlHandlingStrategy.merge(y.url,b.currentRawUrl),ye={info:b.extras.info,skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||U(b.source)};this.scheduleNavigation(K,on,null,ye,{resolve:b.resolve,reject:b.reject,promise:b.promise})}(function Ln(c){return!(c instanceof li||c instanceof Gi)})(y)&&this._events.next(y)}catch(b){this.navigationTransitions.transitionAbortSubject.next(b)}});this.eventsSubscription.add(d)}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),on,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((d,y)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(d,"popstate",y)},0)})}navigateToSyncWithBrowser(d,y,b){const P={replaceUrl:!0},K=b?.navigationId?b:null;if(b){const ue={...b};delete ue.navigationId,delete ue.\u0275routerPageId,0!==Object.keys(ue).length&&(P.state=ue)}const ye=this.parseUrl(d);this.scheduleNavigation(ye,y,K,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(d){this.config=d.map(Rr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(d,y={}){const{relativeTo:b,queryParams:P,fragment:K,queryParamsHandling:ye,preserveFragment:ue}=y,We=ue?this.currentUrlTree.fragment:K;let kt,Nt=null;switch(ye){case"merge":Nt={...this.currentUrlTree.queryParams,...P};break;case"preserve":Nt=this.currentUrlTree.queryParams;break;default:Nt=P||null}null!==Nt&&(Nt=this.removeEmptyProps(Nt));try{kt=X(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof d[0]||!d[0].startsWith("/"))&&(d=[]),kt=this.currentUrlTree.root}return q(kt,d,Nt,We??null)}navigateByUrl(d,y={skipLocationChange:!1}){const b=fr(d)?d:this.parseUrl(d),P=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(P,on,null,y)}navigate(d,y={skipLocationChange:!1}){return function pr(c){for(let m=0;m(null!=P&&(y[b]=P),y),{})}scheduleNavigation(d,y,b,P,K){if(this.disposed)return Promise.resolve(!1);let ye,ue,We;K?(ye=K.resolve,ue=K.reject,We=K.promise):We=new Promise((kt,ir)=>{ye=kt,ue=ir});const Nt=this.pendingTasks.add();return Ye(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Nt))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:P,resolve:ye,reject:ue,promise:We,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),We.catch(kt=>Promise.reject(kt))}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),an=(()=>{class c{constructor(d,y,b,P,K,ye){this.router=d,this.route=y,this.tabIndexAttribute=b,this.renderer=P,this.el=K,this.locationStrategy=ye,this.href=null,this.commands=null,this.onChanges=new qe.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ue=K.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ue||"area"===ue,this.isAnchorElement?this.subscription=d.events.subscribe(We=>{We instanceof wt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,y,b,P,K){const ye=this.urlTree;return!!(null===ye||this.isAnchorElement&&(0!==d||y||b||P||K||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(ye,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const d=this.urlTree;this.href=null!==d&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(d)):null;const y=null===this.href?null:(0,v.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",y)}applyAttributeValue(d,y){const b=this.renderer,P=this.el.nativeElement;null!==y?b.setAttribute(P,d,y):b.removeAttribute(P,d)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(y){return new(y||c)(v.rXU(nn),v.rXU(Hr),v.kS0("tabindex"),v.rXU(v.sFG),v.rXU(v.aKT),v.rXU(Oe.hb))};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,b){1&y&&v.bIt("click",function(K){return b.onClick(K.button,K.ctrlKey,K.shiftKey,K.altKey,K.metaKey)}),2&y&&v.BMQ("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[v.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",v.L39],skipLocationChange:[v.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",v.L39],replaceUrl:[v.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",v.L39],routerLink:"routerLink"},standalone:!0,features:[v.GFd,v.OA$]})}return c})(),Er=(()=>{class c{get isActive(){return this._isActive}constructor(d,y,b,P,K){this.router=d,this.element=y,this.renderer=b,this.cdr=P,this.link=K,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new v.bkB,this.routerEventsSubscription=d.events.subscribe(ye=>{ye instanceof wt&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,(0,A.of)(null)).pipe((0,Qe.U)()).subscribe(d=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const d=[...this.links.toArray(),this.link].filter(y=>!!y).map(y=>y.onChanges);this.linkInputChangesSubscription=(0,L.H)(d).pipe((0,Qe.U)()).subscribe(y=>{this._isActive!==this.isLinkActive(this.router)(y)&&this.update()})}set routerLinkActive(d){const y=Array.isArray(d)?d:d.split(" ");this.classes=y.filter(b=>!!b)}ngOnChanges(d){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const d=this.hasActiveLinks();this.classes.forEach(y=>{d?this.renderer.addClass(this.element.nativeElement,y):this.renderer.removeClass(this.element.nativeElement,y)}),d&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==d&&(this._isActive=d,this.cdr.markForCheck(),this.isActiveChange.emit(d))})}isLinkActive(d){const y=function zn(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>{const P=b.urlTree;return!!P&&d.isActive(P,y)}}hasActiveLinks(){const d=this.isLinkActive(this.router);return this.link&&d(this.link)||this.links.some(d)}static#e=this.\u0275fac=function(y){return new(y||c)(v.rXU(nn),v.rXU(v.aKT),v.rXU(v.sFG),v.rXU(v.gRc),v.rXU(an,8))};static#t=this.\u0275dir=v.FsC({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(y,b,P){if(1&y&&v.wni(P,an,5),2&y){let K;v.mGM(K=v.lsd())&&(b.links=K)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[v.OA$]})}return c})();class Rn{}let Pi=(()=>{class c{constructor(d,y,b,P,K){this.router=d,this.injector=b,this.preloadingStrategy=P,this.loader=K}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ce.p)(d=>d instanceof wt),(0,Lt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,y){const b=[];for(const P of y){P.providers&&!P._injector&&(P._injector=(0,v.Ol2)(P.providers,d,`Route: ${P.path}`));const K=P._injector??d,ye=P._loadedInjector??K;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&b.push(this.preloadConfig(K,P)),(P.children||P._loadedRoutes)&&b.push(this.processRoutes(ye,P.children??P._loadedRoutes))}return(0,L.H)(b).pipe((0,Qe.U)())}preloadConfig(d,y){return this.preloadingStrategy.preload(y,()=>{let b;b=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(d,y):(0,A.of)(null);const P=b.pipe((0,Se.Z)(K=>null===K?(0,A.of)(void 0):(y._loadedRoutes=K.routes,y._loadedInjector=K.injector,this.processRoutes(K.injector??d,K.routes))));if(y.loadComponent&&!y._loadedComponent){const K=this.loader.loadComponent(y);return(0,L.H)([P,K]).pipe((0,Qe.U)())}return P})}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(nn),v.KVO(v.Ql9),v.KVO(v.uvJ),v.KVO(Rn),v.KVO(ve))};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Wr=new v.nKC("");let Di=(()=>{class c{constructor(d,y,b,P,K={}){this.urlSerializer=d,this.transitions=y,this.viewportScroller=b,this.zone=P,this.options=K,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,v.WQX)(v.uvJ),K.scrollPositionRestoration||="disabled",K.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof mt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof wt?(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment)):d instanceof Ur&&d.code===jn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof bs&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,y){var b=this;this.zone.runOutsideAngular((0,g.A)(function*(){yield new Promise(P=>{setTimeout(()=>{P()}),(0,v.mal)(()=>{P()},{injector:b.environmentInjector})}),b.zone.run(()=>{b.transitions.events.next(new bs(d,"popstate"===b.lastSource?b.store[b.restoredId]:null,y))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(y){v.QTQ()};static#t=this.\u0275prov=v.jDH({token:c,factory:c.\u0275fac})}return c})();function Je(c,m){return{\u0275kind:c,\u0275providers:m}}function Fr(){const c=(0,v.WQX)(v.zZn);return m=>{const d=c.get(v.o8S);if(m!==d.components[0])return;const y=c.get(nn),b=c.get(dn);1===c.get(bn)&&y.initialNavigation(),c.get(vn,null,v.$GK.Optional)?.setUpPreloading(),c.get(Wr,null,v.$GK.Optional)?.init(),y.resetRootComponentType(d.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}const dn=new v.nKC("",{factory:()=>new qe.B}),bn=new v.nKC("",{providedIn:"root",factory:()=>1}),vn=new v.nKC("");function xi(c){return Je(0,[{provide:vn,useExisting:Pi},{provide:Rn,useExisting:c}])}function Cu(c){return Je(9,[{provide:l,useValue:w},{provide:_,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const bu=new v.nKC("ROUTER_FORROOT_GUARD"),wh=[Oe.aZ,{provide:oe,useClass:Re},nn,Nr,{provide:Hr,useFactory:function ao(c){return c.routerState.root},deps:[nn]},ve,[]];let Sh=(()=>{class c{constructor(d){}static forRoot(d,y){return{ngModule:c,providers:[wh,[],{provide:z,multi:!0,useValue:d},{provide:bu,useFactory:Ah,deps:[[nn,new v.Xx1,new v.kdw]]},{provide:I,useValue:y||{}},y?.useHash?{provide:Oe.hb,useClass:Oe.fw}:{provide:Oe.hb,useClass:Oe.Sm},{provide:Wr,useFactory:()=>{const c=(0,v.WQX)(Oe.Xr),m=(0,v.WQX)(v.SKi),d=(0,v.WQX)(I),y=(0,v.WQX)(G),b=(0,v.WQX)(oe);return d.scrollOffset&&c.setOffset(d.scrollOffset),new Di(b,y,c,m,d)}},y?.preloadingStrategy?xi(y.preloadingStrategy).\u0275providers:[],y?.initialNavigation?Oh(y):[],y?.bindToComponentInputs?Je(8,[ss,{provide:Jn,useExisting:ss}]).\u0275providers:[],y?.enableViewTransitions?Cu().\u0275providers:[],[{provide:wu,useFactory:Fr},{provide:v.iLQ,multi:!0,useExisting:wu}]]}}static forChild(d){return{ngModule:c,providers:[{provide:z,multi:!0,useValue:d}]}}static#e=this.\u0275fac=function(y){return new(y||c)(v.KVO(bu,8))};static#t=this.\u0275mod=v.$C({type:c});static#n=this.\u0275inj=v.G2t({})}return c})();function Ah(c){return"guarded"}function Oh(c){return["disabled"===c.initialNavigation?Je(3,[{provide:v.hnV,multi:!0,useFactory:()=>{const m=(0,v.WQX)(nn);return()=>{m.setUpLocationChangeListener()}}},{provide:bn,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?Je(2,[{provide:bn,useValue:0},{provide:v.hnV,multi:!0,deps:[v.zZn],useFactory:m=>{const d=m.get(Oe.hj,Promise.resolve());return()=>d.then(()=>new Promise(y=>{const b=m.get(nn),P=m.get(dn);Ye(b,()=>{y(!0)}),m.get(G).afterPreactivation=()=>(y(!0),P.closed?(0,A.of)(void 0):P),b.initialNavigation()}))}}]).\u0275providers:[]]}const wu=new v.nKC("")},5779:(Ze,De,N)=>{N.d(De,{E:()=>W,Ei:()=>at,Gg:()=>Bt,Rn:()=>H,Y9:()=>Le,Yj:()=>St,r1:()=>be,si:()=>le,tl:()=>k,wi:()=>He});var g=N(4438),v=N(1413),F=N(4420),re=N(177);const f=["*"];let H=(()=>class pe{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"})(),k=(()=>class pe{static AND="and";static OR="or"})(),W=(()=>{class pe{filter(se,ne,Ie,Ee,Y){let xe=[];if(se)for(let ae of se)for(let qe of ne){let Oe=F.BF.resolveFieldData(ae,qe);if(this.filters[Ee](Oe,Ie,Y)){xe.push(ae);break}}return xe}filters={startsWith:(se,ne,Ie)=>{if(null==ne||""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).slice(0,Ee.length)===Ee},contains:(se,ne,Ie)=>{if(null==ne||"string"==typeof ne&&""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return-1!==F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).indexOf(Ee)},notContains:(se,ne,Ie)=>{if(null==ne||"string"==typeof ne&&""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie);return-1===F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie).indexOf(Ee)},endsWith:(se,ne,Ie)=>{if(null==ne||""===ne.trim())return!0;if(null==se)return!1;let Ee=F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie),Y=F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie);return-1!==Y.indexOf(Ee,Y.length-Ee.length)},equals:(se,ne,Ie)=>null==ne||"string"==typeof ne&&""===ne.trim()||null!=se&&(se.getTime&&ne.getTime?se.getTime()===ne.getTime():F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie)==F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie)),notEquals:(se,ne,Ie)=>!(null==ne||"string"==typeof ne&&""===ne.trim()||null!=se&&(se.getTime&&ne.getTime?se.getTime()===ne.getTime():F.BF.removeAccents(se.toString()).toLocaleLowerCase(Ie)==F.BF.removeAccents(ne.toString()).toLocaleLowerCase(Ie))),in:(se,ne)=>{if(null==ne||0===ne.length)return!0;for(let Ie=0;Ienull==ne||null==ne[0]||null==ne[1]||null!=se&&(se.getTime?ne[0].getTime()<=se.getTime()&&se.getTime()<=ne[1].getTime():ne[0]<=se&&se<=ne[1]),lt:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()<=ne.getTime():se<=ne),gt:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()>ne.getTime():se>ne),gte:(se,ne,Ie)=>null==ne||null!=se&&(se.getTime&&ne.getTime?se.getTime()>=ne.getTime():se>=ne),is:(se,ne,Ie)=>this.filters.equals(se,ne,Ie),isNot:(se,ne,Ie)=>this.filters.notEquals(se,ne,Ie),before:(se,ne,Ie)=>this.filters.lt(se,ne,Ie),after:(se,ne,Ie)=>this.filters.gt(se,ne,Ie),dateIs:(se,ne)=>null==ne||null!=se&&se.toDateString()===ne.toDateString(),dateIsNot:(se,ne)=>null==ne||null!=se&&se.toDateString()!==ne.toDateString(),dateBefore:(se,ne)=>null==ne||null!=se&&se.getTime()null==ne||null!=se&&se.getTime()>ne.getTime()};register(se,ne){this.filters[se]=ne}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),le=(()=>{class pe{clickSource=new v.B;clickObservable=this.clickSource.asObservable();add(se){se&&this.clickSource.next(se)}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),be=(()=>{class pe{ripple=!1;inputStyle="outlined";overlayOptions={};filterMatchModeOptions={text:[H.STARTS_WITH,H.CONTAINS,H.NOT_CONTAINS,H.ENDS_WITH,H.EQUALS,H.NOT_EQUALS],numeric:[H.EQUALS,H.NOT_EQUALS,H.LESS_THAN,H.LESS_THAN_OR_EQUAL_TO,H.GREATER_THAN,H.GREATER_THAN_OR_EQUAL_TO],date:[H.DATE_IS,H.DATE_IS_NOT,H.DATE_BEFORE,H.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new v.B;translationObserver=this.translationSource.asObservable();getTranslation(se){return this.translation[se]}setTranslation(se){this.translation={...this.translation,...se},this.translationSource.next(this.translation)}static \u0275fac=function(ne){return new(ne||pe)};static \u0275prov=g.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),Le=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275cmp=g.VBU({type:pe,selectors:[["p-header"]],ngContentSelectors:f,decls:1,vars:0,template:function(ne,Ie){1&ne&&(g.NAR(),g.SdG(0))},encapsulation:2})}return pe})(),He=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275cmp=g.VBU({type:pe,selectors:[["p-footer"]],ngContentSelectors:f,decls:1,vars:0,template:function(ne,Ie){1&ne&&(g.NAR(),g.SdG(0))},encapsulation:2})}return pe})(),at=(()=>{class pe{template;type;name;constructor(se){this.template=se}getType(){return this.name}static \u0275fac=function(ne){return new(ne||pe)(g.rXU(g.C4Q))};static \u0275dir=g.FsC({type:pe,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[g.Mj6.None,"pTemplate","name"]}})}return pe})(),Bt=(()=>{class pe{static \u0275fac=function(ne){return new(ne||pe)};static \u0275mod=g.$C({type:pe});static \u0275inj=g.G2t({imports:[re.MD]})}return pe})(),St=(()=>class pe{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage"})()},6150:(Ze,De,N)=>{N.d(De,{EJ:()=>A,Ex:()=>L});var g=N(177),v=N(4438),F=N(5779);function re($,H){if(1&$&&(v.j41(0,"span",1),v.EFF(1),v.k0s()),2&$){const k=v.XpG();v.HbH(k.styleClass),v.Y8G("ngClass",k.containerClass())("ngStyle",k.style),v.R7$(),v.JRh(k.value)}}let L=(()=>{class ${styleClass;style;size;severity;value;badgeDisabled=!1;containerClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":null!=this.value&&1===String(this.value).length,"p-badge-lg":"large"===this.size,"p-badge-xl":"xlarge"===this.size,"p-badge-info":"info"===this.severity,"p-badge-success":"success"===this.severity,"p-badge-warning":"warning"===this.severity,"p-badge-danger":"danger"===this.severity}}static \u0275fac=function(W){return new(W||$)};static \u0275cmp=v.VBU({type:$,selectors:[["p-badge"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",size:"size",severity:"severity",value:"value",badgeDisabled:"badgeDisabled"},decls:1,vars:1,consts:[[3,"ngClass","class","ngStyle",4,"ngIf"],[3,"ngClass","ngStyle"]],template:function(W,J){1&W&&v.DNE(0,re,2,5,"span",0),2&W&&v.Y8G("ngIf",!J.badgeDisabled)},dependencies:[g.YU,g.bT,g.B3],styles:["@layer primeng{.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}}\n"],encapsulation:2,changeDetection:0})}return $})(),A=(()=>{class ${static \u0275fac=function(W){return new(W||$)};static \u0275mod=v.$C({type:$});static \u0275inj=v.G2t({imports:[g.MD,F.Gg]})}return $})()},461:(Ze,De,N)=>{N.d(De,{h:()=>re});var g=N(4438),v=N(4420);const F=["*"];let re=(()=>{class f{label;spin=!1;styleClass;role;ariaLabel;ariaHidden;ngOnInit(){this.getAttributes()}getAttributes(){const A=v.BF.isEmpty(this.label);this.role=A?void 0:"img",this.ariaLabel=A?void 0:this.label,this.ariaHidden=A}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}static \u0275fac=function($){return new($||f)};static \u0275cmp=g.VBU({type:f,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[g.aNF],ngContentSelectors:F,decls:1,vars:0,template:function($,H){1&$&&(g.NAR(),g.SdG(0))},encapsulation:2,changeDetection:0})}return f})()},1141:(Ze,De,N)=>{N.d(De,{$n:()=>Ie,_f:()=>ne,tm:()=>Ee});var g=N(177),v=N(4438),F=N(5779),re=N(1455),f=N(8757),L=N(563),A=N(4420);const $=["*"];function H(Y,xe){1&Y&&v.eu8(0)}function k(Y,xe){if(1&Y&&v.nrm(0,"span",8),2&Y){const ae=v.XpG(3);v.HbH("p-button-loading-icon pi-spin "+ae.loadingIcon),v.Y8G("ngClass",ae.iconClass()),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function W(Y,xe){if(1&Y&&v.nrm(0,"SpinnerIcon",9),2&Y){const ae=v.XpG(3);v.Y8G("styleClass",ae.spinnerIconClass())("spin",!0),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon")}}function J(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,k,1,5,"span",6)(2,W,1,4,"SpinnerIcon",7),v.bVm()),2&Y){const ae=v.XpG(2);v.R7$(),v.Y8G("ngIf",ae.loadingIcon),v.R7$(),v.Y8G("ngIf",!ae.loadingIcon)}}function le(Y,xe){}function fe(Y,xe){1&Y&&v.DNE(0,le,0,0,"ng-template")}function be(Y,xe){if(1&Y&&(v.j41(0,"span",10),v.DNE(1,fe,1,0,null,1),v.k0s()),2&Y){const ae=v.XpG(2);v.Y8G("ngClass",ae.iconClass()),v.BMQ("aria-hidden",!0)("data-pc-section","loadingicon"),v.R7$(),v.Y8G("ngTemplateOutlet",ae.loadingIconTemplate)}}function Le(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,J,3,2,"ng-container",2)(2,be,2,4,"span",5),v.bVm()),2&Y){const ae=v.XpG();v.R7$(),v.Y8G("ngIf",!ae.loadingIconTemplate),v.R7$(),v.Y8G("ngIf",ae.loadingIconTemplate)}}function He(Y,xe){if(1&Y&&v.nrm(0,"span",8),2&Y){const ae=v.XpG(2);v.HbH(ae.icon),v.Y8G("ngClass",ae.iconClass()),v.BMQ("data-pc-section","icon")}}function at(Y,xe){}function Bt(Y,xe){if(1&Y&&v.DNE(0,at,0,0,"ng-template",12),2&Y){const ae=v.XpG(3);v.Y8G("ngIf",!ae.icon)}}function St(Y,xe){if(1&Y&&(v.j41(0,"span",8),v.DNE(1,Bt,1,1,null,1),v.k0s()),2&Y){const ae=v.XpG(2);v.Y8G("ngClass",ae.iconClass()),v.BMQ("data-pc-section","icon"),v.R7$(),v.Y8G("ngTemplateOutlet",ae.iconTemplate)}}function $e(Y,xe){if(1&Y&&(v.qex(0),v.DNE(1,He,1,4,"span",6)(2,St,2,3,"span",11),v.bVm()),2&Y){const ae=v.XpG();v.R7$(),v.Y8G("ngIf",ae.icon&&!ae.iconTemplate),v.R7$(),v.Y8G("ngIf",!ae.icon&&ae.iconTemplate)}}function pe(Y,xe){if(1&Y&&(v.j41(0,"span",13),v.EFF(1),v.k0s()),2&Y){const ae=v.XpG();v.BMQ("aria-hidden",ae.icon&&!ae.label)("data-pc-section","label"),v.R7$(),v.JRh(ae.label)}}function et(Y,xe){if(1&Y&&(v.j41(0,"span",8),v.EFF(1),v.k0s()),2&Y){const ae=v.XpG();v.HbH(ae.badgeClass),v.Y8G("ngClass",ae.badgeStyleClass()),v.BMQ("data-pc-section","badge"),v.R7$(),v.JRh(ae.badge)}}const se={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let ne=(()=>{class Y{el;document;iconPos="left";loadingIcon;get label(){return this._label}set label(ae){this._label=ae,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(ae){this._icon=ae,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(ae){this._loading=ae,this.initialized&&(this.updateIcon(),this.setStyleClass())}_label;_icon;_loading=!1;initialized;get htmlElement(){return this.el.nativeElement}_internalClasses=Object.values(se);spinnerIcon='\n \n \n \n \n \n \n \n \n ';constructor(ae,qe){this.el=ae,this.document=qe}ngAfterViewInit(){re.D.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const ae=[se.button,se.component];return this.icon&&!this.label&&A.BF.isEmpty(this.htmlElement.textContent)&&ae.push(se.iconOnly),this.loading&&(ae.push(se.disabled,se.loading),!this.icon&&this.label&&ae.push(se.labelOnly),this.icon&&!this.label&&!A.BF.isEmpty(this.htmlElement.textContent)&&ae.push(se.iconOnly)),ae}setStyleClass(){const ae=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...ae)}createLabel(){if(this.label){let ae=this.document.createElement("span");this.icon&&!this.label&&ae.setAttribute("aria-hidden","true"),ae.className="p-button-label",ae.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(ae)}}createIcon(){if(this.icon||this.loading){let ae=this.document.createElement("span");ae.className="p-button-icon",ae.setAttribute("aria-hidden","true");let qe=this.label?"p-button-icon-"+this.iconPos:null;qe&&re.D.addClass(ae,qe);let Oe=this.getIconClass();Oe&&re.D.addMultipleClasses(ae,Oe),!this.loadingIcon&&this.loading&&(ae.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(ae,this.htmlElement.firstChild)}}updateLabel(){let ae=re.D.findSingle(this.htmlElement,".p-button-label");this.label?ae?ae.textContent=this.label:this.createLabel():ae&&this.htmlElement.removeChild(ae)}updateIcon(){let ae=re.D.findSingle(this.htmlElement,".p-button-icon"),qe=re.D.findSingle(this.htmlElement,".p-button-label");this.loading&&!this.loadingIcon&&ae?ae.innerHTML=this.spinnerIcon:ae?.innerHTML&&(ae.innerHTML=""),ae?ae.className=this.iconPos?"p-button-icon "+(qe?"p-button-icon-"+this.iconPos:"")+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon()}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this.icon||"p-hidden"}ngOnDestroy(){this.initialized=!1}static \u0275fac=function(qe){return new(qe||Y)(v.rXU(v.aKT),v.rXU(g.qQ))};static \u0275dir=v.FsC({type:Y,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}})}return Y})(),Ie=(()=>{class Y{type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;size;style;styleClass;badgeClass;ariaLabel;onClick=new v.bkB;onFocus=new v.bkB;onBlur=new v.bkB;contentTemplate;loadingIconTemplate;iconTemplate;templates;spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,ae])=>!!ae).reduce((ae,[qe])=>ae+` ${qe}`,"p-button-loading-icon")}iconClass(){return{"p-button-icon":!0,"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}}buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this.loadingIcon||this.loadingIconTemplate)&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label&&!this.loadingIcon&&"left"===this.iconPos,"p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":"small"===this.size,"p-button-lg":"large"===this.size,"p-button-plain":this.plain,[`${this.styleClass}`]:this.styleClass}}ngAfterContentInit(){this.templates?.forEach(ae=>{switch(ae.getType()){case"content":default:this.contentTemplate=ae.template;break;case"icon":this.iconTemplate=ae.template;break;case"loadingicon":this.loadingIconTemplate=ae.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}static \u0275fac=function(qe){return new(qe||Y)};static \u0275cmp=v.VBU({type:Y,selectors:[["p-button"]],contentQueries:function(qe,Oe,ze){if(1&qe&&v.wni(ze,F.Ei,4),2&qe){let pt;v.mGM(pt=v.lsd())&&(Oe.templates=pt)}},hostAttrs:[1,"p-element"],hostVars:2,hostBindings:function(qe,Oe){2&qe&&v.AVh("p-disabled",Oe.disabled)},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",raised:"raised",rounded:"rounded",text:"text",plain:"plain",severity:"severity",outlined:"outlined",link:"link",size:"size",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:$,decls:7,vars:14,consts:[["pRipple","",3,"click","focus","blur","ngStyle","disabled","ngClass"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon",3,"ngClass"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(qe,Oe){1&qe&&(v.NAR(),v.j41(0,"button",0),v.bIt("click",function(pt){return Oe.onClick.emit(pt)})("focus",function(pt){return Oe.onFocus.emit(pt)})("blur",function(pt){return Oe.onBlur.emit(pt)}),v.SdG(1),v.DNE(2,H,1,0,"ng-container",1)(3,Le,3,2,"ng-container",2)(4,$e,3,2,"ng-container",2)(5,pe,2,3,"span",3)(6,et,2,5,"span",4),v.k0s()),2&qe&&(v.HbH(Oe.styleClass),v.Y8G("ngStyle",Oe.style)("disabled",Oe.disabled||Oe.loading)("ngClass",Oe.buttonClass()),v.BMQ("type",Oe.type)("aria-label",Oe.ariaLabel)("data-pc-name","button")("data-pc-section","root"),v.R7$(2),v.Y8G("ngTemplateOutlet",Oe.contentTemplate),v.R7$(),v.Y8G("ngIf",Oe.loading),v.R7$(),v.Y8G("ngIf",!Oe.loading),v.R7$(),v.Y8G("ngIf",!Oe.contentTemplate&&Oe.label),v.R7$(),v.Y8G("ngIf",!Oe.contentTemplate&&Oe.badge))},dependencies:()=>[g.YU,g.bT,g.T3,g.B3,L.n,f.N],encapsulation:2,changeDetection:0})}return Y})(),Ee=(()=>{class Y{static \u0275fac=function(qe){return new(qe||Y)};static \u0275mod=v.$C({type:Y});static \u0275inj=v.G2t({imports:[g.MD,L.Z,F.Gg,f.N,F.Gg]})}return Y})()},1455:(Ze,De,N)=>{N.d(De,{D:()=>g,b:()=>v});let g=(()=>{class F{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(f,L){f&&L&&(f.classList?f.classList.add(L):f.className+=" "+L)}static addMultipleClasses(f,L){if(f&&L)if(f.classList){let A=L.trim().split(" ");for(let $=0;$A.split(" ").forEach($=>this.removeClass(f,$)))}static hasClass(f,L){return!(!f||!L)&&(f.classList?f.classList.contains(L):new RegExp("(^| )"+L+"( |$)","gi").test(f.className))}static siblings(f){return Array.prototype.filter.call(f.parentNode.children,function(L){return L!==f})}static find(f,L){return Array.from(f.querySelectorAll(L))}static findSingle(f,L){return this.isElement(f)?f.querySelector(L):null}static index(f){let L=f.parentNode.childNodes,A=0;for(var $=0;${if(St)return"relative"===getComputedStyle(St).getPropertyValue("position")?St:A(St.parentElement)},$=f.offsetParent?{width:f.offsetWidth,height:f.offsetHeight}:this.getHiddenElementDimensions(f),H=L.offsetHeight,k=L.getBoundingClientRect(),W=this.getWindowScrollTop(),J=this.getWindowScrollLeft(),le=this.getViewport(),be=A(f)?.getBoundingClientRect()||{top:-1*W,left:-1*J};let Le,He;k.top+H+$.height>le.height?(Le=k.top-be.top-$.height,f.style.transformOrigin="bottom",k.top+Le<0&&(Le=-1*k.top)):(Le=H+k.top-be.top,f.style.transformOrigin="top");const at=k.left+$.width-le.width;He=$.width>le.width?-1*(k.left-be.left):at>0?k.left-be.left-at:k.left-be.left,f.style.top=Le+"px",f.style.left=He+"px"}static absolutePosition(f,L){const A=f.offsetParent?{width:f.offsetWidth,height:f.offsetHeight}:this.getHiddenElementDimensions(f),$=A.height,H=A.width,k=L.offsetHeight,W=L.offsetWidth,J=L.getBoundingClientRect(),le=this.getWindowScrollTop(),fe=this.getWindowScrollLeft(),be=this.getViewport();let Le,He;J.top+k+$>be.height?(Le=J.top+le-$,f.style.transformOrigin="bottom",Le<0&&(Le=le)):(Le=k+J.top+le,f.style.transformOrigin="top"),He=J.left+H>be.width?Math.max(0,J.left+fe+W-H):J.left+fe,f.style.top=Le+"px",f.style.left=He+"px"}static getParents(f,L=[]){return null===f.parentNode?L:this.getParents(f.parentNode,L.concat([f.parentNode]))}static getScrollableParents(f){let L=[];if(f){let A=this.getParents(f);const $=/(auto|scroll)/,H=k=>{let W=window.getComputedStyle(k,null);return $.test(W.getPropertyValue("overflow"))||$.test(W.getPropertyValue("overflowX"))||$.test(W.getPropertyValue("overflowY"))};for(let k of A){let W=1===k.nodeType&&k.dataset.scrollselectors;if(W){let J=W.split(",");for(let le of J){let fe=this.findSingle(k,le);fe&&H(fe)&&L.push(fe)}}9!==k.nodeType&&H(k)&&L.push(k)}}return L}static getHiddenElementOuterHeight(f){f.style.visibility="hidden",f.style.display="block";let L=f.offsetHeight;return f.style.display="none",f.style.visibility="visible",L}static getHiddenElementOuterWidth(f){f.style.visibility="hidden",f.style.display="block";let L=f.offsetWidth;return f.style.display="none",f.style.visibility="visible",L}static getHiddenElementDimensions(f){let L={};return f.style.visibility="hidden",f.style.display="block",L.width=f.offsetWidth,L.height=f.offsetHeight,f.style.display="none",f.style.visibility="visible",L}static scrollInView(f,L){let A=getComputedStyle(f).getPropertyValue("borderTopWidth"),$=A?parseFloat(A):0,H=getComputedStyle(f).getPropertyValue("paddingTop"),k=H?parseFloat(H):0,W=f.getBoundingClientRect(),le=L.getBoundingClientRect().top+document.body.scrollTop-(W.top+document.body.scrollTop)-$-k,fe=f.scrollTop,be=f.clientHeight,Le=this.getOuterHeight(L);le<0?f.scrollTop=fe+le:le+Le>be&&(f.scrollTop=fe+le-be+Le)}static fadeIn(f,L){f.style.opacity=0;let A=+new Date,$=0,H=function(){$=+f.style.opacity.replace(",",".")+((new Date).getTime()-A)/L,f.style.opacity=$,A=+new Date,+$<1&&(window.requestAnimationFrame&&requestAnimationFrame(H)||setTimeout(H,16))};H()}static fadeOut(f,L){var A=1,k=50/L;let W=setInterval(()=>{(A-=k)<=0&&(A=0,clearInterval(W)),f.style.opacity=A},50)}static getWindowScrollTop(){let f=document.documentElement;return(window.pageYOffset||f.scrollTop)-(f.clientTop||0)}static getWindowScrollLeft(){let f=document.documentElement;return(window.pageXOffset||f.scrollLeft)-(f.clientLeft||0)}static matches(f,L){var A=Element.prototype;return(A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.msMatchesSelector||function(H){return-1!==[].indexOf.call(document.querySelectorAll(H),this)}).call(f,L)}static getOuterWidth(f,L){let A=f.offsetWidth;if(L){let $=getComputedStyle(f);A+=parseFloat($.marginLeft)+parseFloat($.marginRight)}return A}static getHorizontalPadding(f){let L=getComputedStyle(f);return parseFloat(L.paddingLeft)+parseFloat(L.paddingRight)}static getHorizontalMargin(f){let L=getComputedStyle(f);return parseFloat(L.marginLeft)+parseFloat(L.marginRight)}static innerWidth(f){let L=f.offsetWidth,A=getComputedStyle(f);return L+=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight),L}static width(f){let L=f.offsetWidth,A=getComputedStyle(f);return L-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight),L}static getInnerHeight(f){let L=f.offsetHeight,A=getComputedStyle(f);return L+=parseFloat(A.paddingTop)+parseFloat(A.paddingBottom),L}static getOuterHeight(f,L){let A=f.offsetHeight;if(L){let $=getComputedStyle(f);A+=parseFloat($.marginTop)+parseFloat($.marginBottom)}return A}static getHeight(f){let L=f.offsetHeight,A=getComputedStyle(f);return L-=parseFloat(A.paddingTop)+parseFloat(A.paddingBottom)+parseFloat(A.borderTopWidth)+parseFloat(A.borderBottomWidth),L}static getWidth(f){let L=f.offsetWidth,A=getComputedStyle(f);return L-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight)+parseFloat(A.borderLeftWidth)+parseFloat(A.borderRightWidth),L}static getViewport(){let f=window,L=document,A=L.documentElement,$=L.getElementsByTagName("body")[0];return{width:f.innerWidth||A.clientWidth||$.clientWidth,height:f.innerHeight||A.clientHeight||$.clientHeight}}static getOffset(f){var L=f.getBoundingClientRect();return{top:L.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:L.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(f,L){let A=f.parentNode;if(!A)throw"Can't replace element";return A.replaceChild(L,f)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var f=window.navigator.userAgent;return f.indexOf("MSIE ")>0||(f.indexOf("Trident/")>0?(f.indexOf("rv:"),!0):f.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(f,L){if(this.isElement(L))L.appendChild(f);else{if(!(L&&L.el&&L.el.nativeElement))throw"Cannot append "+L+" to "+f;L.el.nativeElement.appendChild(f)}}static removeChild(f,L){if(this.isElement(L))L.removeChild(f);else{if(!L.el||!L.el.nativeElement)throw"Cannot remove "+f+" from "+L;L.el.nativeElement.removeChild(f)}}static removeElement(f){"remove"in Element.prototype?f.remove():f.parentNode.removeChild(f)}static isElement(f){return"object"==typeof HTMLElement?f instanceof HTMLElement:f&&"object"==typeof f&&null!==f&&1===f.nodeType&&"string"==typeof f.nodeName}static calculateScrollbarWidth(f){if(f){let L=getComputedStyle(f);return f.offsetWidth-f.clientWidth-parseFloat(L.borderLeftWidth)-parseFloat(L.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let L=document.createElement("div");L.className="p-scrollbar-measure",document.body.appendChild(L);let A=L.offsetWidth-L.clientWidth;return document.body.removeChild(L),this.calculatedScrollbarWidth=A,A}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let f=document.createElement("div");f.className="p-scrollbar-measure",document.body.appendChild(f);let L=f.offsetHeight-f.clientHeight;return document.body.removeChild(f),this.calculatedScrollbarWidth=L,L}static invokeElementMethod(f,L,A){f[L].apply(f,A)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let f=this.resolveUserAgent();this.browser={},f.browser&&(this.browser[f.browser]=!0,this.browser.version=f.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let f=navigator.userAgent.toLowerCase(),L=/(chrome)[ \/]([\w.]+)/.exec(f)||/(webkit)[ \/]([\w.]+)/.exec(f)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(f)||/(msie) ([\w.]+)/.exec(f)||f.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(f)||[];return{browser:L[1]||"",version:L[2]||"0"}}static isInteger(f){return Number.isInteger?Number.isInteger(f):"number"==typeof f&&isFinite(f)&&Math.floor(f)===f}static isHidden(f){return!f||null===f.offsetParent}static isVisible(f){return f&&null!=f.offsetParent}static isExist(f){return null!==f&&typeof f<"u"&&f.nodeName&&f.parentNode}static focus(f,L){f&&document.activeElement!==f&&f.focus(L)}static getFocusableElements(f,L=""){let A=this.find(f,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L},\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${L}`),$=[];for(let H of A)"none"!=getComputedStyle(H).display&&"hidden"!=getComputedStyle(H).visibility&&$.push(H);return $}static getFirstFocusableElement(f,L){const A=this.getFocusableElements(f,L);return A.length>0?A[0]:null}static getLastFocusableElement(f,L){const A=this.getFocusableElements(f,L);return A.length>0?A[A.length-1]:null}static getNextFocusableElement(f,L=!1){const A=F.getFocusableElements(f);let $=0;if(A&&A.length>0){const H=A.indexOf(A[0].ownerDocument.activeElement);L?$=-1==H||0===H?A.length-1:H-1:-1!=H&&H!==A.length-1&&($=H+1)}return A[$]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(f,L){if(!f)return null;switch(f){case"document":return document;case"window":return window;case"@next":return L?.nextElementSibling;case"@prev":return L?.previousElementSibling;case"@parent":return L?.parentElement;case"@grandparent":return L?.parentElement.parentElement;default:const A=typeof f;if("string"===A)return document.querySelector(f);if("object"===A&&f.hasOwnProperty("nativeElement"))return this.isExist(f.nativeElement)?f.nativeElement:void 0;const H=(k=f)&&k.constructor&&k.call&&k.apply?f():f;return H&&9===H.nodeType||this.isExist(H)?H:null}var k}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(f,L){if(f){const A=f.getAttribute(L);return isNaN(A)?"true"===A||"false"===A?"true"===A:A:+A}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(f="p-overflow-hidden"){document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,f)}static unblockBodyScroll(f="p-overflow-hidden"){document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,f)}}return F})();class v{element;listener;scrollableParents;constructor(re,f=(()=>{})){this.element=re,this.listener=f}bindScrollListener(){this.scrollableParents=g.getScrollableParents(this.element);for(let re=0;re{N.d(De,{N:()=>re});var g=N(4438),v=N(461),F=N(4420);let re=(()=>{class f extends v.h{pathId;ngOnInit(){this.pathId="url(#"+(0,F._Y)()+")"}static \u0275fac=(()=>{let A;return function(H){return(A||(A=g.xGo(f)))(H||f)}})();static \u0275cmp=g.VBU({type:f,selectors:[["SpinnerIcon"]],standalone:!0,features:[g.Vt3,g.aNF],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function($,H){1&$&&(g.qSk(),g.j41(0,"svg",0)(1,"g"),g.nrm(2,"path",1),g.k0s(),g.j41(3,"defs")(4,"clipPath",2),g.nrm(5,"rect",3),g.k0s()()()),2&$&&(g.HbH(H.getClassNames()),g.BMQ("aria-label",H.ariaLabel)("aria-hidden",H.ariaHidden)("role",H.role),g.R7$(),g.BMQ("clip-path",H.pathId),g.R7$(3),g.Y8G("id",H.pathId))},encapsulation:2})}return f})()},1512:(Ze,De,N)=>{N.d(De,{A:()=>F});var g=N(4438),v=N(461);let F=(()=>{class re extends v.h{static \u0275fac=(()=>{let L;return function($){return(L||(L=g.xGo(re)))($||re)}})();static \u0275cmp=g.VBU({type:re,selectors:[["TimesIcon"]],standalone:!0,features:[g.Vt3,g.aNF],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(A,$){1&A&&(g.qSk(),g.j41(0,"svg",0),g.nrm(1,"path",1),g.k0s()),2&A&&(g.HbH($.getClassNames()),g.BMQ("aria-label",$.ariaLabel)("aria-hidden",$.ariaHidden)("role",$.role))},encapsulation:2})}return re})()},1631:(Ze,De,N)=>{N.d(De,{H_:()=>$});var g=N(177),v=N(4438),F=N(4341);const re=["input"],f=(H,k,W)=>({"p-inputswitch p-component":!0,"p-inputswitch-checked":H,"p-disabled":k,"p-focus":W}),L={provide:F.kq,useExisting:(0,v.Rfq)(()=>A),multi:!0};let A=(()=>{class H{cd;style;styleClass;tabindex;inputId;name;disabled;readonly;trueValue=!0;falseValue=!1;ariaLabel;ariaLabelledBy;onChange=new v.bkB;input;modelValue=!1;focused=!1;onModelChange=()=>{};onModelTouched=()=>{};constructor(W){this.cd=W}onClick(W){!this.disabled&&!this.readonly&&(this.modelValue=this.checked()?this.falseValue:this.trueValue,this.onModelChange(this.modelValue),this.onChange.emit({originalEvent:W,checked:this.modelValue}),W.preventDefault(),this.input.nativeElement.focus())}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}writeValue(W){this.modelValue=W,this.cd.markForCheck()}registerOnChange(W){this.onModelChange=W}registerOnTouched(W){this.onModelTouched=W}setDisabledState(W){this.disabled=W,this.cd.markForCheck()}checked(){return this.modelValue===this.trueValue}static \u0275fac=function(J){return new(J||H)(v.rXU(v.gRc))};static \u0275cmp=v.VBU({type:H,selectors:[["p-inputSwitch"]],viewQuery:function(J,le){if(1&J&&v.GBs(re,5),2&J){let fe;v.mGM(fe=v.lsd())&&(le.input=fe.first)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",tabindex:"tabindex",inputId:"inputId",name:"name",disabled:"disabled",readonly:"readonly",trueValue:"trueValue",falseValue:"falseValue",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy"},outputs:{onChange:"onChange"},features:[v.Jv_([L])],decls:5,vars:22,consts:[["input",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"focus","blur","checked","disabled"],[1,"p-inputswitch-slider"]],template:function(J,le){if(1&J){const fe=v.RV6();v.j41(0,"div",1),v.bIt("click",function(Le){return v.eBV(fe),v.Njj(le.onClick(Le))}),v.j41(1,"div",2)(2,"input",3,0),v.bIt("focus",function(){return v.eBV(fe),v.Njj(le.onFocus())})("blur",function(){return v.eBV(fe),v.Njj(le.onBlur())}),v.k0s()(),v.nrm(4,"span",4),v.k0s()}2&J&&(v.HbH(le.styleClass),v.Y8G("ngClass",v.sMw(18,f,le.checked(),le.disabled,le.focused))("ngStyle",le.style),v.BMQ("data-pc-name","inputswitch")("data-pc-section","root"),v.R7$(),v.BMQ("data-pc-section","hiddenInputWrapper")("data-p-hidden-accessible",!0),v.R7$(),v.Y8G("checked",le.checked())("disabled",le.disabled),v.BMQ("id",le.inputId)("aria-checked",le.checked())("aria-labelledby",le.ariaLabelledBy)("aria-label",le.ariaLabel)("name",le.name)("tabindex",le.tabindex)("data-pc-section","hiddenInput"),v.R7$(2),v.BMQ("data-pc-section","slider"))},dependencies:[g.YU,g.B3],styles:['@layer primeng{.p-inputswitch{position:relative;display:inline-block;-webkit-user-select:none;user-select:none}.p-inputswitch-slider{position:absolute;cursor:pointer;inset:0;border:1px solid transparent}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}}\n'],encapsulation:2,changeDetection:0})}return H})(),$=(()=>{class H{static \u0275fac=function(J){return new(J||H)};static \u0275mod=v.$C({type:H});static \u0275inj=v.G2t({imports:[g.MD]})}return H})()},2242:(Ze,De,N)=>{N.d(De,{S:()=>re,u:()=>f});var g=N(4438),v=N(177),F=N(4341);let re=(()=>{class L{el;ngModel;cd;filled;constructor($,H,k){this.el=$,this.ngModel=H,this.cd=k}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}static \u0275fac=function(H){return new(H||L)(g.rXU(g.aKT),g.rXU(F.vS,8),g.rXU(g.gRc))};static \u0275dir=g.FsC({type:L,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(H,k){1&H&&g.bIt("input",function(J){return k.onInput(J)}),2&H&&g.AVh("p-filled",k.filled)}})}return L})(),f=(()=>{class L{static \u0275fac=function(H){return new(H||L)};static \u0275mod=g.$C({type:L});static \u0275inj=g.G2t({imports:[v.MD]})}return L})()},494:(Ze,De,N)=>{N.d(De,{Ko:()=>J});var g=N(177),v=N(4438),F=N(4341);const re=["input"],f=(le,fe,be)=>({"p-radiobutton p-component":!0,"p-radiobutton-checked":le,"p-radiobutton-disabled":fe,"p-radiobutton-focused":be}),L=(le,fe,be)=>({"p-radiobutton-box":!0,"p-highlight":le,"p-disabled":fe,"p-focus":be}),A=(le,fe,be)=>({"p-radiobutton-label":!0,"p-radiobutton-label-active":le,"p-disabled":fe,"p-radiobutton-label-focus":be});function $(le,fe){if(1&le){const be=v.RV6();v.j41(0,"label",7),v.bIt("click",function(He){v.eBV(be);const at=v.XpG();return v.Njj(at.select(He))}),v.EFF(1),v.k0s()}if(2&le){const be=v.XpG(),Le=v.sdS(3);v.HbH(be.labelStyleClass),v.Y8G("ngClass",v.sMw(6,A,Le.checked,be.disabled,be.focused)),v.BMQ("for",be.inputId)("data-pc-section","label"),v.R7$(),v.JRh(be.label)}}const H={provide:F.kq,useExisting:(0,v.Rfq)(()=>W),multi:!0};let k=(()=>{class le{accessors=[];add(be,Le){this.accessors.push([be,Le])}remove(be){this.accessors=this.accessors.filter(Le=>Le[1]!==be)}select(be){this.accessors.forEach(Le=>{this.isSameGroup(Le,be)&&Le[1]!==be&&Le[1].writeValue(be.value)})}isSameGroup(be,Le){return!!be[0].control&&be[0].control.root===Le.control.control.root&&be[1].name===Le.name}static \u0275fac=function(Le){return new(Le||le)};static \u0275prov=v.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})(),W=(()=>{class le{cd;injector;registry;value;formControlName;name;disabled;label;tabindex;inputId;ariaLabelledBy;ariaLabel;style;styleClass;labelStyleClass;onClick=new v.bkB;onFocus=new v.bkB;onBlur=new v.bkB;inputViewChild;onModelChange=()=>{};onModelTouched=()=>{};checked;focused;control;constructor(be,Le,He){this.cd=be,this.injector=Le,this.registry=He}ngOnInit(){this.control=this.injector.get(F.vO),this.checkName(),this.registry.add(this.control,this)}handleClick(be,Le,He){be.preventDefault(),!this.disabled&&(this.select(be),He&&Le.focus())}select(be){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:be,value:this.value}))}writeValue(be){this.checked=be==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(be){this.onModelChange=be}registerOnTouched(be){this.onModelTouched=be}setDisabledState(be){this.disabled=be,this.cd.markForCheck()}onInputFocus(be){this.focused=!0,this.onFocus.emit(be)}onInputBlur(be){this.focused=!1,this.onModelTouched(),this.onBlur.emit(be)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}static \u0275fac=function(Le){return new(Le||le)(v.rXU(v.gRc),v.rXU(v.zZn),v.rXU(k))};static \u0275cmp=v.VBU({type:le,selectors:[["p-radioButton"]],viewQuery:function(Le,He){if(1&Le&&v.GBs(re,5),2&Le){let at;v.mGM(at=v.lsd())&&(He.inputViewChild=at.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",formControlName:"formControlName",name:"name",disabled:"disabled",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[v.Jv_([H])],decls:7,vars:29,consts:[["input",""],[3,"click","ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"focus","blur","checked","disabled","value"],[3,"ngClass"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"],[3,"click","ngClass"]],template:function(Le,He){if(1&Le){const at=v.RV6();v.j41(0,"div",1),v.bIt("click",function(St){v.eBV(at);const $e=v.sdS(3);return v.Njj(He.handleClick(St,$e,!0))}),v.j41(1,"div",2)(2,"input",3,0),v.bIt("focus",function(St){return v.eBV(at),v.Njj(He.onInputFocus(St))})("blur",function(St){return v.eBV(at),v.Njj(He.onInputBlur(St))}),v.k0s()(),v.j41(4,"div",4),v.nrm(5,"span",5),v.k0s()(),v.DNE(6,$,2,10,"label",6)}2&Le&&(v.HbH(He.styleClass),v.Y8G("ngStyle",He.style)("ngClass",v.sMw(21,f,He.checked,He.disabled,He.focused)),v.BMQ("data-pc-name","radiobutton")("data-pc-section","root"),v.R7$(),v.BMQ("data-pc-section","hiddenInputWrapper"),v.R7$(),v.Y8G("checked",He.checked)("disabled",He.disabled)("value",He.value),v.BMQ("id",He.inputId)("name",He.name)("aria-labelledby",He.ariaLabelledBy)("aria-label",He.ariaLabel)("tabindex",He.tabindex)("aria-checked",He.checked)("data-pc-section","hiddenInput"),v.R7$(2),v.Y8G("ngClass",v.sMw(25,L,He.checked,He.disabled,He.focused)),v.BMQ("data-pc-section","input"),v.R7$(),v.BMQ("data-pc-section","icon"),v.R7$(),v.Y8G("ngIf",He.label))},dependencies:[g.YU,g.bT,g.B3],encapsulation:2,changeDetection:0})}return le})(),J=(()=>{class le{static \u0275fac=function(Le){return new(Le||le)};static \u0275mod=v.$C({type:le});static \u0275inj=v.G2t({imports:[g.MD]})}return le})()},563:(Ze,De,N)=>{N.d(De,{Z:()=>L,n:()=>f});var g=N(177),v=N(4438),F=N(1455),re=N(5779);let f=(()=>{class A{document;platformId;renderer;el;zone;config;constructor(H,k,W,J,le,fe){this.document=H,this.platformId=k,this.renderer=W,this.el=J,this.zone=le,this.config=fe}animationListener;mouseDownListener;timeout;ngAfterViewInit(){(0,g.UE)(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))})}onMouseDown(H){let k=this.getInk();if(!k||"none"===this.document.defaultView?.getComputedStyle(k,null).display)return;if(F.D.removeClass(k,"p-ink-active"),!F.D.getHeight(k)&&!F.D.getWidth(k)){let fe=Math.max(F.D.getOuterWidth(this.el.nativeElement),F.D.getOuterHeight(this.el.nativeElement));k.style.height=fe+"px",k.style.width=fe+"px"}let W=F.D.getOffset(this.el.nativeElement),J=H.pageX-W.left+this.document.body.scrollTop-F.D.getWidth(k)/2,le=H.pageY-W.top+this.document.body.scrollLeft-F.D.getHeight(k)/2;this.renderer.setStyle(k,"top",le+"px"),this.renderer.setStyle(k,"left",J+"px"),F.D.addClass(k,"p-ink-active"),this.timeout=setTimeout(()=>{let fe=this.getInk();fe&&F.D.removeClass(fe,"p-ink-active")},401)}getInk(){const H=this.el.nativeElement.children;for(let k=0;k{class A{static \u0275fac=function(k){return new(k||A)};static \u0275mod=v.$C({type:A});static \u0275inj=v.G2t({imports:[g.MD]})}return A})()},5875:(Ze,De,N)=>{N.d(De,{B:()=>Y,n:()=>xe});var g=N(9969),v=N(177),F=N(4438),re=N(5779),f=N(1455),L=N(1512),A=N(563),$=N(4420);const H=["*"],k=(ae,qe,Oe,ze,pt,$t)=>({"p-sidebar":!0,"p-sidebar-active":ae,"p-sidebar-left":qe,"p-sidebar-right":Oe,"p-sidebar-top":ze,"p-sidebar-bottom":pt,"p-sidebar-full":$t}),W=(ae,qe)=>({transform:ae,transition:qe}),J=ae=>({value:"visible",params:ae});function le(ae,qe){1&ae&&F.eu8(0)}function fe(ae,qe){if(1&ae&&(F.qex(0),F.DNE(1,le,1,0,"ng-container",5),F.bVm()),2&ae){const Oe=F.XpG(2);F.R7$(),F.Y8G("ngTemplateOutlet",Oe.headlessTemplate)}}function be(ae,qe){1&ae&&F.eu8(0)}function Le(ae,qe){1&ae&&F.nrm(0,"TimesIcon",13),2&ae&&(F.Y8G("styleClass","p-sidebar-close-icon"),F.BMQ("data-pc-section","closeicon"))}function He(ae,qe){}function at(ae,qe){1&ae&&F.DNE(0,He,0,0,"ng-template")}function Bt(ae,qe){if(1&ae&&(F.j41(0,"span",14),F.DNE(1,at,1,0,null,5),F.k0s()),2&ae){const Oe=F.XpG(4);F.BMQ("data-pc-section","closeicon"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.closeIconTemplate)}}function St(ae,qe){if(1&ae){const Oe=F.RV6();F.j41(0,"button",10),F.bIt("click",function(pt){F.eBV(Oe);const $t=F.XpG(3);return F.Njj($t.close(pt))})("keydown.enter",function(pt){F.eBV(Oe);const $t=F.XpG(3);return F.Njj($t.close(pt))}),F.DNE(1,Le,1,2,"TimesIcon",11)(2,Bt,2,2,"span",12),F.k0s()}if(2&ae){const Oe=F.XpG(3);F.BMQ("aria-label",Oe.ariaCloseLabel)("data-pc-section","closebutton")("data-pc-group-section","iconcontainer"),F.R7$(),F.Y8G("ngIf",!Oe.closeIconTemplate),F.R7$(),F.Y8G("ngIf",Oe.closeIconTemplate)}}function $e(ae,qe){1&ae&&F.eu8(0)}function pe(ae,qe){1&ae&&F.eu8(0)}function et(ae,qe){if(1&ae&&(F.qex(0),F.j41(1,"div",15),F.DNE(2,pe,1,0,"ng-container",5),F.k0s(),F.bVm()),2&ae){const Oe=F.XpG(3);F.R7$(),F.BMQ("data-pc-section","footer"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.footerTemplate)}}function se(ae,qe){if(1&ae&&(F.j41(0,"div",6),F.DNE(1,be,1,0,"ng-container",5)(2,St,3,5,"button",7),F.k0s(),F.j41(3,"div",8),F.SdG(4),F.DNE(5,$e,1,0,"ng-container",5),F.k0s(),F.DNE(6,et,3,2,"ng-container",9)),2&ae){const Oe=F.XpG(2);F.BMQ("data-pc-section","header"),F.R7$(),F.Y8G("ngTemplateOutlet",Oe.headerTemplate),F.R7$(),F.Y8G("ngIf",Oe.showCloseIcon),F.R7$(),F.BMQ("data-pc-section","content"),F.R7$(2),F.Y8G("ngTemplateOutlet",Oe.contentTemplate),F.R7$(),F.Y8G("ngIf",Oe.footerTemplate)}}function ne(ae,qe){if(1&ae){const Oe=F.RV6();F.j41(0,"div",3,0),F.bIt("@panelState.start",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onAnimationStart(pt))})("@panelState.done",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onAnimationEnd(pt))})("keydown",function(pt){F.eBV(Oe);const $t=F.XpG();return F.Njj($t.onKeyDown(pt))}),F.DNE(2,fe,2,1,"ng-container",4)(3,se,7,6,"ng-template",null,1,F.C5r),F.k0s()}if(2&ae){const Oe=F.sdS(4),ze=F.XpG();F.HbH(ze.styleClass),F.Y8G("ngClass",F.l4e(10,k,ze.visible,"left"===ze.position&&!ze.fullScreen,"right"===ze.position&&!ze.fullScreen,"top"===ze.position&&!ze.fullScreen,"bottom"===ze.position&&!ze.fullScreen,ze.fullScreen))("@panelState",F.eq3(20,J,F.l_i(17,W,ze.transformOptions,ze.transitionOptions)))("ngStyle",ze.style),F.BMQ("data-pc-name","sidebar")("data-pc-section","root")("aria-modal",ze.modal),F.R7$(2),F.Y8G("ngIf",ze.headlessTemplate)("ngIfElse",Oe)}}const Ie=(0,g.lY)([(0,g.iF)({transform:"{{transform}}",opacity:0}),(0,g.i0)("{{transition}}")]),Ee=(0,g.lY)([(0,g.i0)("{{transition}}",(0,g.iF)({transform:"{{transform}}",opacity:0}))]);let Y=(()=>{class ae{document;el;renderer;cd;config;appendTo;blockScroll=!1;style;styleClass;ariaCloseLabel;autoZIndex=!0;baseZIndex=0;modal=!0;dismissible=!0;showCloseIcon=!0;closeOnEscape=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";get visible(){return this._visible}set visible(Oe){this._visible=Oe}get position(){return this._position}set position(Oe){switch(this._position=Oe,Oe){case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)"}}get fullScreen(){return this._fullScreen}set fullScreen(Oe){this._fullScreen=Oe,Oe&&(this.transformOptions="none")}templates;onShow=new F.bkB;onHide=new F.bkB;visibleChange=new F.bkB;initialized;_visible;_position="left";_fullScreen=!1;container;transformOptions="translate3d(-100%, 0px, 0px)";mask;maskClickListener;documentEscapeListener;animationEndListener;contentTemplate;headerTemplate;footerTemplate;closeIconTemplate;headlessTemplate;constructor(Oe,ze,pt,$t,me){this.document=Oe,this.el=ze,this.renderer=pt,this.cd=$t,this.config=me}ngAfterViewInit(){this.initialized=!0}ngAfterContentInit(){this.templates?.forEach(Oe=>{switch(Oe.getType()){case"content":default:this.contentTemplate=Oe.template;break;case"header":this.headerTemplate=Oe.template;break;case"footer":this.footerTemplate=Oe.template;break;case"closeicon":this.closeIconTemplate=Oe.template;break;case"headless":this.headlessTemplate=Oe.template}})}onKeyDown(Oe){"Escape"===Oe.code&&this.hide(!1)}show(){this.autoZIndex&&$.Q$.set("modal",this.container,this.baseZIndex||this.config.zIndex.modal),this.modal&&this.enableModality(),this.onShow.emit({}),this.visibleChange.emit(!0)}hide(Oe=!0){Oe&&this.onHide.emit({}),this.modal&&this.disableModality()}close(Oe){this.hide(!1),this.visibleChange.emit(!1),Oe.preventDefault()}enableModality(){this.mask||(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(this.container.style.zIndex)-1)),f.D.addMultipleClasses(this.mask,"p-component-overlay p-sidebar-mask p-component-overlay p-component-overlay-enter"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",Oe=>{this.dismissible&&this.close(Oe)})),this.renderer.appendChild(this.document.body,this.mask),this.blockScroll&&f.D.blockBodyScroll())}disableModality(){this.mask&&(f.D.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyModal.bind(this)))}destroyModal(){this.unbindMaskClickListener(),this.mask&&this.renderer.removeChild(this.document.body,this.mask),this.blockScroll&&f.D.unblockBodyScroll(),this.unbindAnimationEndListener(),this.mask=null}onAnimationStart(Oe){"visible"===Oe.toState&&(this.container=Oe.element,this.appendContainer(),this.show(),this.closeOnEscape&&this.bindDocumentEscapeListener())}onAnimationEnd(Oe){"void"===Oe.toState&&(this.hide(),$.Q$.clear(this.container),this.unbindGlobalListeners())}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.container):f.D.appendChild(this.container,this.appendTo))}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"keydown",ze=>{27==ze.which&&parseInt(this.container.style.zIndex)===$.Q$.get(this.container)&&this.close(ze)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}ngOnDestroy(){this.initialized=!1,this.visible&&this.modal&&this.destroyModal(),this.appendTo&&this.container&&this.renderer.appendChild(this.el.nativeElement,this.container),this.container&&this.autoZIndex&&$.Q$.clear(this.container),this.container=null,this.unbindGlobalListeners(),this.unbindAnimationEndListener()}static \u0275fac=function(ze){return new(ze||ae)(F.rXU(v.qQ),F.rXU(F.aKT),F.rXU(F.sFG),F.rXU(F.gRc),F.rXU(re.r1))};static \u0275cmp=F.VBU({type:ae,selectors:[["p-sidebar"]],contentQueries:function(ze,pt,$t){if(1&ze&&F.wni($t,re.Ei,4),2&ze){let me;F.mGM(me=F.lsd())&&(pt.templates=me)}},hostAttrs:[1,"p-element"],inputs:{appendTo:"appendTo",blockScroll:"blockScroll",style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",modal:"modal",dismissible:"dismissible",showCloseIcon:"showCloseIcon",closeOnEscape:"closeOnEscape",transitionOptions:"transitionOptions",visible:"visible",position:"position",fullScreen:"fullScreen"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},ngContentSelectors:H,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["role","complementary",3,"ngClass","ngStyle","class","keydown",4,"ngIf"],["role","complementary",3,"keydown","ngClass","ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],[1,"p-sidebar-header"],["type","button","class","p-sidebar-close p-sidebar-icon p-link","pRipple","",3,"click","keydown.enter",4,"ngIf"],[1,"p-sidebar-content"],[4,"ngIf"],["type","button","pRipple","",1,"p-sidebar-close","p-sidebar-icon","p-link",3,"click","keydown.enter"],[3,"styleClass",4,"ngIf"],["class","p-sidebar-close-icon",4,"ngIf"],[3,"styleClass"],[1,"p-sidebar-close-icon"],[1,"p-sidebar-footer"]],template:function(ze,pt){1&ze&&(F.NAR(),F.DNE(0,ne,5,22,"div",2)),2&ze&&F.Y8G("ngIf",pt.visible)},dependencies:()=>[v.YU,v.bT,v.T3,v.B3,A.n,L.A],styles:["@layer primeng{.p-sidebar{position:fixed;transition:transform .3s;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto;flex-grow:1}.p-sidebar-header{display:flex;align-items:center}.p-sidebar-footer{margin-top:auto}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;margin-left:auto}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;transition:none}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}@media screen and (max-width: 64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}}\n"],encapsulation:2,data:{animation:[(0,g.hZ)("panelState",[(0,g.kY)("void => visible",[(0,g.sM)(Ie)]),(0,g.kY)("visible => void",[(0,g.sM)(Ee)])])]},changeDetection:0})}return ae})(),xe=(()=>{class ae{static \u0275fac=function(ze){return new(ze||ae)};static \u0275mod=F.$C({type:ae});static \u0275inj=F.G2t({imports:[v.MD,A.Z,re.Gg,L.A,re.Gg]})}return ae})()},8542:(Ze,De,N)=>{N.d(De,{S:()=>A,m:()=>L});var g=N(177),v=N(4438),F=N(1455),re=N(4420),f=N(5779);let L=(()=>{class ${platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(k){this._disabled=k,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:(0,re._Y)()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(k,W,J,le,fe,be){this.platformId=k,this.el=W,this.zone=J,this.config=le,this.renderer=fe,this.viewContainer=be}ngAfterViewInit(){(0,g.UE)(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let k=this.getTarget(this.el.nativeElement);k.addEventListener("focus",this.focusListener),k.addEventListener("blur",this.blurListener)}})}ngOnChanges(k){k.tooltipPosition&&this.setOption({tooltipPosition:k.tooltipPosition.currentValue}),k.tooltipEvent&&this.setOption({tooltipEvent:k.tooltipEvent.currentValue}),k.appendTo&&this.setOption({appendTo:k.appendTo.currentValue}),k.positionStyle&&this.setOption({positionStyle:k.positionStyle.currentValue}),k.tooltipStyleClass&&this.setOption({tooltipStyleClass:k.tooltipStyleClass.currentValue}),k.tooltipZIndex&&this.setOption({tooltipZIndex:k.tooltipZIndex.currentValue}),k.escape&&this.setOption({escape:k.escape.currentValue}),k.showDelay&&this.setOption({showDelay:k.showDelay.currentValue}),k.hideDelay&&this.setOption({hideDelay:k.hideDelay.currentValue}),k.life&&this.setOption({life:k.life.currentValue}),k.positionTop&&this.setOption({positionTop:k.positionTop.currentValue}),k.positionLeft&&this.setOption({positionLeft:k.positionLeft.currentValue}),k.disabled&&this.setOption({disabled:k.disabled.currentValue}),k.content&&(this.setOption({tooltipLabel:k.content.currentValue}),this.active&&(k.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),k.autoHide&&this.setOption({autoHide:k.autoHide.currentValue}),k.id&&this.setOption({id:k.id.currentValue}),k.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...k.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(k){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(k){(this.isAutoHide()||!(F.D.hasClass(k.relatedTarget,"p-tooltip")||F.D.hasClass(k.relatedTarget,"p-tooltip-text")||F.D.hasClass(k.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(k){this.activate()}onBlur(k){this.deactivate()}onInputClick(k){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let k=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},k)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let k=document.createElement("div");k.className="p-tooltip-arrow",this.container.appendChild(k),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?F.D.appendChild(this.container,this.el.nativeElement):F.D.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",W=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),F.D.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?re.Q$.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&re.Q$.clear(this.container),this.remove()}updateText(){const k=this.getOption("tooltipLabel");if(k instanceof v.C4Q){const W=this.viewContainer.createEmbeddedView(k);W.detectChanges(),W.rootNodes.forEach(J=>this.tooltipText.appendChild(J))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(k))):this.tooltipText.innerHTML=k}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let k=this.el.nativeElement.getBoundingClientRect();return{left:k.left+F.D.getWindowScrollLeft(),top:k.top+F.D.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let k=this.getHostOffset(),W=k.left+F.D.getOuterWidth(this.el.nativeElement),J=k.top+(F.D.getOuterHeight(this.el.nativeElement)-F.D.getOuterHeight(this.container))/2;this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let k=this.getHostOffset(),W=k.left-F.D.getOuterWidth(this.container),J=k.top+(F.D.getOuterHeight(this.el.nativeElement)-F.D.getOuterHeight(this.container))/2;this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let k=this.getHostOffset(),W=k.left+(F.D.getOuterWidth(this.el.nativeElement)-F.D.getOuterWidth(this.container))/2,J=k.top-F.D.getOuterHeight(this.container);this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let k=this.getHostOffset(),W=k.left+(F.D.getOuterWidth(this.el.nativeElement)-F.D.getOuterWidth(this.container))/2,J=k.top+F.D.getOuterHeight(this.el.nativeElement);this.container.style.left=W+this.getOption("positionLeft")+"px",this.container.style.top=J+this.getOption("positionTop")+"px"}setOption(k){this._tooltipOptions={...this._tooltipOptions,...k}}getOption(k){return this._tooltipOptions[k]}getTarget(k){return F.D.hasClass(k,"p-inputwrapper")?F.D.findSingle(k,"input"):k}preAlign(k){this.container.style.left="-999px",this.container.style.top="-999px";let W="p-tooltip p-component p-tooltip-"+k;this.container.className=this.getOption("tooltipStyleClass")?W+" "+this.getOption("tooltipStyleClass"):W}isOutOfBounds(){let k=this.container.getBoundingClientRect(),W=k.top,J=k.left,le=F.D.getOuterWidth(this.container),fe=F.D.getOuterHeight(this.container),be=F.D.getViewport();return J+le>be.width||J<0||W<0||W+fe>be.height}onWindowResize(k){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new F.b(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let k=this.getTarget(this.el.nativeElement);k.removeEventListener("focus",this.focusListener),k.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):F.D.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&re.Q$.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(W){return new(W||$)(v.rXU(v.Agw),v.rXU(v.aKT),v.rXU(v.SKi),v.rXU(f.r1),v.rXU(v.sFG),v.rXU(v.c1b))};static \u0275dir=v.FsC({type:$,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(W,J){1&W&&v.bIt("keydown.escape",function(fe){return J.onPressEscape(fe)},!1,v.EBC)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[v.Mj6.None,"pTooltip","content"],disabled:[v.Mj6.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[v.OA$]})}return $})(),A=(()=>{class ${static \u0275fac=function(W){return new(W||$)};static \u0275mod=v.$C({type:$});static \u0275inj=v.G2t({imports:[g.MD]})}return $})()},4420:(Ze,De,N)=>{N.d(De,{BF:()=>g,Q$:()=>f,_Y:()=>F});class g{static equals(A,$,H){return H?this.resolveFieldData(A,H)===this.resolveFieldData($,H):this.equalsByValue(A,$)}static equalsByValue(A,$){if(A===$)return!0;if(A&&$&&"object"==typeof A&&"object"==typeof $){var W,J,le,H=Array.isArray(A),k=Array.isArray($);if(H&&k){if((J=A.length)!=$.length)return!1;for(W=J;0!=W--;)if(!this.equalsByValue(A[W],$[W]))return!1;return!0}if(H!=k)return!1;var fe=this.isDate(A),be=this.isDate($);if(fe!=be)return!1;if(fe&&be)return A.getTime()==$.getTime();var Le=A instanceof RegExp,He=$ instanceof RegExp;if(Le!=He)return!1;if(Le&&He)return A.toString()==$.toString();var at=Object.keys(A);if((J=at.length)!==Object.keys($).length)return!1;for(W=J;0!=W--;)if(!Object.prototype.hasOwnProperty.call($,at[W]))return!1;for(W=J;0!=W--;)if(!this.equalsByValue(A[le=at[W]],$[le]))return!1;return!0}return A!=A&&$!=$}static resolveFieldData(A,$){if(A&&$){if(this.isFunction($))return $(A);if(-1==$.indexOf("."))return A[$];{let H=$.split("."),k=A;for(let W=0,J=H.length;W=A.length&&(H%=A.length,$%=A.length),A.splice(H,0,A.splice($,1)[0]))}static insertIntoOrderedArray(A,$,H,k){if(H.length>0){let W=!1;for(let J=0;J$){H.splice(J,0,A),W=!0;break}W||H.push(A)}else H.push(A)}static findIndexInList(A,$){let H=-1;if($)for(let k=0;k<$.length;k++)if($[k]==A){H=k;break}return H}static contains(A,$){if(null!=A&&$&&$.length)for(let H of $)if(this.equals(A,H))return!0;return!1}static removeAccents(A){return A&&A.search(/[\xC0-\xFF]/g)>-1&&(A=A.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),A}static isDate(A){return"[object Date]"===Object.prototype.toString.call(A)}static isEmpty(A){return null==A||""===A||Array.isArray(A)&&0===A.length||!this.isDate(A)&&"object"==typeof A&&0===Object.keys(A).length}static isNotEmpty(A){return!this.isEmpty(A)}static compare(A,$,H,k=1){let W=-1;const J=this.isEmpty(A),le=this.isEmpty($);return W=J&&le?0:J?k:le?-k:"string"==typeof A&&"string"==typeof $?A.localeCompare($,H,{numeric:!0}):A<$?-1:A>$?1:0,W}static sort(A,$,H=1,k,W=1){const J=g.compare(A,$,k,H);let le=H;return(g.isEmpty(A)||g.isEmpty($))&&(le=1===W?H:W),le*J}static merge(A,$){if(null!=A||null!=$)return null!=A&&"object"!=typeof A||null!=$&&"object"!=typeof $?null!=A&&"string"!=typeof A||null!=$&&"string"!=typeof $?$||A:[A||"",$||""].join(" "):{...A||{},...$||{}}}static isPrintableCharacter(A=""){return this.isNotEmpty(A)&&1===A.length&&A.match(/\S| /)}static getItemValue(A,...$){return this.isFunction(A)?A(...$):A}static findLastIndex(A,$){let H=-1;if(this.isNotEmpty(A))try{H=A.findLastIndex($)}catch{H=A.lastIndexOf([...A].reverse().find($))}return H}static findLast(A,$){let H;if(this.isNotEmpty(A))try{H=A.findLast($)}catch{H=[...A].reverse().find($)}return H}}var v=0;function F(L="pn_id_"){return`${L}${++v}`}var f=function re(){let L=[];const k=W=>W&&parseInt(W.style.zIndex,10)||0;return{get:k,set:(W,J,le)=>{J&&(J.style.zIndex=String(((W,J)=>{let le=L.length>0?L[L.length-1]:{key:W,value:J},fe=le.value+(le.key===W?0:J)+2;return L.push({key:W,value:fe}),fe})(W,le)))},clear:W=>{W&&((W=>{L=L.filter(J=>J.value!==W)})(k(W)),W.style.zIndex="")},getCurrent:()=>L.length>0?L[L.length-1].value:0}}()},467:(Ze,De,N)=>{function g(F,re,f,L,A,$,H){try{var k=F[$](H),W=k.value}catch(J){return void f(J)}k.done?re(W):Promise.resolve(W).then(L,A)}function v(F){return function(){var re=this,f=arguments;return new Promise(function(L,A){var $=F.apply(re,f);function H(W){g($,L,A,H,k,"next",W)}function k(W){g($,L,A,H,k,"throw",W)}H(void 0)})}}N.d(De,{A:()=>v})},1635:(Ze,De,N)=>{function J(me,Ce,Se,Me){return new(Se||(Se=Promise))(function(Fe,st){function Lt(en){try{dt(Me.next(en))}catch(_n){st(_n)}}function Ut(en){try{dt(Me.throw(en))}catch(_n){st(_n)}}function dt(en){en.done?Fe(en.value):function je(Fe){return Fe instanceof Se?Fe:new Se(function(st){st(Fe)})}(en.value).then(Lt,Ut)}dt((Me=Me.apply(me,Ce||[])).next())})}function $e(me){return this instanceof $e?(this.v=me,this):new $e(me)}function pe(me,Ce,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var je,Me=Se.apply(me,Ce||[]),Fe=[];return je={},st("next"),st("throw"),st("return"),je[Symbol.asyncIterator]=function(){return this},je;function st(Gt){Me[Gt]&&(je[Gt]=function(Ve){return new Promise(function(In,Pn){Fe.push([Gt,Ve,In,Pn])>1||Lt(Gt,Ve)})})}function Lt(Gt,Ve){try{!function Ut(Gt){Gt.value instanceof $e?Promise.resolve(Gt.value.v).then(dt,en):_n(Fe[0][2],Gt)}(Me[Gt](Ve))}catch(In){_n(Fe[0][3],In)}}function dt(Gt){Lt("next",Gt)}function en(Gt){Lt("throw",Gt)}function _n(Gt,Ve){Gt(Ve),Fe.shift(),Fe.length&&Lt(Fe[0][0],Fe[0][1])}}function se(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,Ce=me[Symbol.asyncIterator];return Ce?Ce.call(me):(me=function Le(me){var Ce="function"==typeof Symbol&&Symbol.iterator,Se=Ce&&me[Ce],Me=0;if(Se)return Se.call(me);if(me&&"number"==typeof me.length)return{next:function(){return me&&Me>=me.length&&(me=void 0),{value:me&&me[Me++],done:!me}}};throw new TypeError(Ce?"Object is not iterable.":"Symbol.iterator is not defined.")}(me),Se={},Me("next"),Me("throw"),Me("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Me(Fe){Se[Fe]=me[Fe]&&function(st){return new Promise(function(Lt,Ut){!function je(Fe,st,Lt,Ut){Promise.resolve(Ut).then(function(dt){Fe({value:dt,done:Lt})},st)}(Lt,Ut,(st=me[Fe](st)).done,st.value)})}}}N.d(De,{AQ:()=>pe,N3:()=>$e,sH:()=>J,xN:()=>se}),"function"==typeof SuppressedError&&SuppressedError}},Ze=>{Ze(Ze.s=1480)}]); \ No newline at end of file diff --git a/runtime.99a0fb0d7774875b.js b/runtime.726b4266079bbad6.js similarity index 97% rename from runtime.99a0fb0d7774875b.js rename to runtime.726b4266079bbad6.js index e19e8cb..5dc4676 100644 --- a/runtime.99a0fb0d7774875b.js +++ b/runtime.726b4266079bbad6.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(o,t,i,u)=>{if(!t){var a=1/0;for(n=0;n=u)&&Object.keys(r.O).every(b=>r.O[b](t[l]))?t.splice(l--,1):(s=!1,u0&&e[n-1][2]>u;n--)e[n]=e[n-1];e[n]=[t,i,u]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>e+"."+{503:"de0a2e0753eb730a",726:"8bb1536147f23398",811:"589a0a92dfa86814"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="grassland-literature-review:";r.l=(t,i,u,n)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==u)for(var l=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,u)=>{var n=r.o(e,i)?e[i]:void 0;if(0!==n)if(n)u.push(n[2]);else if(121!=i){var a=new Promise((f,c)=>n=e[i]=[f,c]);u.push(n[2]=a);var s=r.p+r.u(i),l=new Error;r.l(s,f=>{if(r.o(e,i)&&(0!==(n=e[i])&&(e[i]=void 0),n)){var c=f&&("load"===f.type?"missing":f.type),p=f&&f.target&&f.target.src;l.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",l.name="ChunkLoadError",l.type=c,l.request=p,n[1](l)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var o=(i,u)=>{var l,d,[n,a,s]=u,f=0;if(n.some(p=>0!==e[p])){for(l in a)r.o(a,l)&&(r.m[l]=a[l]);if(s)var c=s(r)}for(i&&i(u);f{"use strict";var e,v={},m={};function r(e){var o=m[e];if(void 0!==o)return o.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(o,t,i,u)=>{if(!t){var a=1/0;for(n=0;n=u)&&Object.keys(r.O).every(b=>r.O[b](t[l]))?t.splice(l--,1):(s=!1,u0&&e[n-1][2]>u;n--)e[n]=e[n-1];e[n]=[t,i,u]},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((o,t)=>(r.f[t](e,o),o),[])),r.u=e=>e+"."+{503:"08fef2f416bd15cd",726:"8bb1536147f23398",811:"589a0a92dfa86814"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={},o="grassland-literature-review:";r.l=(t,i,u,n)=>{if(e[t])e[t].push(i);else{var a,s;if(void 0!==u)for(var l=document.getElementsByTagName("script"),d=0;d{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:o=>o},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(i,u)=>{var n=r.o(e,i)?e[i]:void 0;if(0!==n)if(n)u.push(n[2]);else if(121!=i){var a=new Promise((f,c)=>n=e[i]=[f,c]);u.push(n[2]=a);var s=r.p+r.u(i),l=new Error;r.l(s,f=>{if(r.o(e,i)&&(0!==(n=e[i])&&(e[i]=void 0),n)){var c=f&&("load"===f.type?"missing":f.type),p=f&&f.target&&f.target.src;l.message="Loading chunk "+i+" failed.\n("+c+": "+p+")",l.name="ChunkLoadError",l.type=c,l.request=p,n[1](l)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var o=(i,u)=>{var l,d,[n,a,s]=u,f=0;if(n.some(p=>0!==e[p])){for(l in a)r.o(a,l)&&(r.m[l]=a[l]);if(s)var c=s(r)}for(i&&i(u);f