HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-4-197 6.8.0-1036-aws #38~22.04.1-Ubuntu SMP Fri Aug 22 15:44:33 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/web.enelar.com.co/dist/browser/chunk-GIXZYBBG.js
import{c as fe}from"./chunk-4T6JHK7T.js";import{a as qe}from"./chunk-FJX52BFR.js";import{c as Ze,d as ge,e as $e,f as ye,g as be}from"./chunk-3PWCL6RG.js";import{d as he}from"./chunk-O3VRXXRR.js";import{a as Ne,b as Ge}from"./chunk-ZUNNDRPI.js";import{a as q}from"./chunk-KDH6VC4N.js";import{a as Qe}from"./chunk-FB5LCIVC.js";import{p as me}from"./chunk-RP3BBTTB.js";import{a as m,b as De,h as Pe,j as Ke,k as ue,l as He,m as ze,n as B,o as H,p as j,q as I,s as _e,t as Re,v as Be,w as je}from"./chunk-VJI6KQJL.js";import{$a as te,Aa as N,Ba as F,C as Y,Ca as O,D as J,Da as w,Ea as G,Fa as A,Ga as P,Ha as ae,I as f,J as g,Ja as we,Ka as Ve,La as ke,Ma as Me,Oa as Ee,P as Se,Pa as v,Q as C,Qa as K,Ra as Fe,Y as s,Z as M,aa as ve,ba as Ce,bb as se,cb as x,db as Q,ea as D,eb as ie,ga as X,gb as Le,ha as p,ia as h,ja as a,la as Te,lb as re,ma as Oe,mb as Ae,na as R,nb as ce,pa as u,qa as _,qb as pe,ra as E,rb as de,sa as y,ta as b,ua as T,va as V,vb as ne,w as Ie,wa as S,xa as r,y as W,ya as oe,za as ee}from"./chunk-MDSVL5BJ.js";import{a as $,b as U}from"./chunk-ODN5LVDJ.js";var Z=t=>({height:t}),Je=(t,o)=>({"p-multiselect-item":!0,"p-disabled":t,"p-focus":o}),Xe=t=>({"p-variant-filled":t}),et=t=>({"p-highlight":t}),le=t=>({$implicit:t});function tt(t,o){t&1&&E(0,"CheckIcon",7),t&2&&(a("styleClass","p-checkbox-icon"),h("aria-hidden",!0))}function it(t,o){}function nt(t,o){t&1&&p(0,it,0,0,"ng-template")}function lt(t,o){if(t&1&&(u(0,"span",8),p(1,nt,1,0,null,9),_()),t&2){let e=r(2);h("aria-hidden",!0),s(),a("ngTemplateOutlet",e.checkIconTemplate)}}function ot(t,o){}function at(t,o){t&1&&p(0,ot,0,0,"ng-template")}function st(t,o){if(t&1&&(u(0,"span",8),p(1,at,1,0,null,4),_()),t&2){let e=r(2);h("aria-hidden",!0),s(),a("ngTemplateOutlet",e.itemCheckboxIconTemplate)("ngTemplateOutletContext",v(3,le,e.selected))}}function rt(t,o){if(t&1&&(y(0),p(1,tt,1,2,"CheckIcon",5)(2,lt,2,2,"span",6)(3,st,2,5,"span",6),b()),t&2){let e=r();s(),a("ngIf",!e.checkIconTemplate&&!e.itemCheckboxIconTemplate),s(),a("ngIf",e.checkIconTemplate),s(),a("ngIf",e.itemCheckboxIconTemplate)}}function ct(t,o){if(t&1&&(u(0,"span"),A(1),_()),t&2){let e,n=r();s(),P((e=n.label)!==null&&e!==void 0?e:"empty")}}function pt(t,o){t&1&&T(0)}var dt=["container"],ut=["overlay"],_t=["filterInput"],mt=["focusInput"],ht=["items"],ft=["scroller"],gt=["lastHiddenFocusableEl"],yt=["firstHiddenFocusableEl"],bt=["headerCheckbox"],xt=[[["p-header"]],[["p-footer"]]],It=["p-header","p-footer"],St=(t,o)=>({$implicit:t,removeChip:o}),vt=t=>({"p-disabled":t}),Ct=t=>({"max-height":t}),Ue=t=>({options:t}),Tt=(t,o)=>({"p-variant-filled":t,"p-checkbox-disabled":o}),Ot=(t,o,e)=>({"p-highlight":t,"p-focus":o,"p-disabled":e}),wt=(t,o)=>({$implicit:t,partialSelected:o}),We=(t,o)=>({$implicit:t,options:o}),Vt=()=>({});function kt(t,o){if(t&1&&(y(0),A(1),b()),t&2){let e=r(2);s(),P(e.label()||"empty")}}function Mt(t,o){if(t&1){let e=V();u(0,"TimesCircleIcon",31),S("click",function(){f(e);let i=r(2).$implicit,l=r(3);return g(l.removeOption(i,l.event))}),_()}if(t&2){let e=r(2).$implicit,n=r(3);a("ngClass",v(4,vt,n.isOptionDisabled(e)))("styleClass","p-multiselect-token-icon"),h("data-pc-section","clearicon")("aria-hidden",!0)}}function Et(t,o){t&1&&T(0)}function Ft(t,o){if(t&1){let e=V();u(0,"span",32),S("click",function(){f(e);let i=r(2).$implicit,l=r(3);return g(l.removeOption(i,l.event))}),p(1,Et,1,0,"ng-container",33),_()}if(t&2){let e=r(5);h("data-pc-section","clearicon")("aria-hidden",!0),s(),a("ngTemplateOutlet",e.removeTokenIconTemplate)}}function Lt(t,o){if(t&1&&(y(0),p(1,Mt,1,6,"TimesCircleIcon",29)(2,Ft,2,3,"span",30),b()),t&2){let e=r(4);s(),a("ngIf",!e.removeTokenIconTemplate),s(),a("ngIf",e.removeTokenIconTemplate)}}function At(t,o){if(t&1&&(u(0,"div",27,4)(2,"span",28),A(3),_(),p(4,Lt,3,2,"ng-container",20),_()),t&2){let e=o.$implicit,n=r(3);s(3),P(n.getLabelByValue(e)),s(),a("ngIf",!n.disabled)}}function Dt(t,o){if(t&1&&(y(0),A(1),b()),t&2){let e=r(3);s(),P(e.placeholder()||e.defaultLabel||"empty")}}function Pt(t,o){if(t&1&&(y(0),p(1,At,5,2,"div",26)(2,Dt,2,1,"ng-container",20),b()),t&2){let e=r(2);s(),a("ngForOf",e.chipSelectedItems()),s(),a("ngIf",!e.modelValue()||e.modelValue().length===0)}}function Kt(t,o){if(t&1&&(y(0),p(1,kt,2,1,"ng-container",20)(2,Pt,3,2,"ng-container",20),b()),t&2){let e=r();s(),a("ngIf",e.display==="comma"),s(),a("ngIf",e.display==="chip")}}function Ht(t,o){t&1&&T(0)}function zt(t,o){if(t&1){let e=V();u(0,"TimesIcon",36),S("click",function(i){f(e);let l=r(2);return g(l.clear(i))}),_()}t&2&&(a("styleClass","p-multiselect-clear-icon"),h("data-pc-section","clearicon")("aria-hidden",!0))}function Rt(t,o){}function Nt(t,o){t&1&&p(0,Rt,0,0,"ng-template")}function Gt(t,o){if(t&1){let e=V();u(0,"span",37),S("click",function(i){f(e);let l=r(2);return g(l.clear(i))}),p(1,Nt,1,0,null,33),_()}if(t&2){let e=r(2);h("data-pc-section","clearicon")("aria-hidden",!0),s(),a("ngTemplateOutlet",e.clearIconTemplate)}}function Qt(t,o){if(t&1&&(y(0),p(1,zt,1,3,"TimesIcon",34)(2,Gt,2,3,"span",35),b()),t&2){let e=r();s(),a("ngIf",!e.clearIconTemplate),s(),a("ngIf",e.clearIconTemplate)}}function Bt(t,o){t&1&&T(0)}function jt(t,o){if(t&1&&(y(0),p(1,Bt,1,0,"ng-container",33),b()),t&2){let e=r(2);s(),a("ngTemplateOutlet",e.loadingIconTemplate)}}function qt(t,o){if(t&1&&E(0,"span",40),t&2){let e=r(3);a("ngClass","p-multiselect-trigger-icon pi-spin "+e.loadingIcon)}}function Zt(t,o){t&1&&E(0,"span",41),t&2&&R("p-multiselect-trigger-icon pi pi-spinner pi-spin")}function $t(t,o){if(t&1&&(y(0),p(1,qt,1,1,"span",38)(2,Zt,1,2,"span",39),b()),t&2){let e=r(2);s(),a("ngIf",e.loadingIcon),s(),a("ngIf",!e.loadingIcon)}}function Ut(t,o){if(t&1&&(y(0),p(1,jt,2,1,"ng-container",20)(2,$t,3,2,"ng-container",20),b()),t&2){let e=r();s(),a("ngIf",e.loadingIconTemplate),s(),a("ngIf",!e.loadingIconTemplate)}}function Wt(t,o){if(t&1&&E(0,"span",45),t&2){let e=r(3);a("ngClass",e.dropdownIcon),h("data-pc-section","triggericon")("aria-hidden",!0)}}function Yt(t,o){t&1&&E(0,"ChevronDownIcon",46),t&2&&(a("styleClass","p-multiselect-trigger-icon"),h("data-pc-section","triggericon")("aria-hidden",!0))}function Jt(t,o){if(t&1&&(y(0),p(1,Wt,1,3,"span",43)(2,Yt,1,3,"ChevronDownIcon",44),b()),t&2){let e=r(2);s(),a("ngIf",e.dropdownIcon),s(),a("ngIf",!e.dropdownIcon)}}function Xt(t,o){}function ei(t,o){t&1&&p(0,Xt,0,0,"ng-template")}function ti(t,o){if(t&1&&(u(0,"span",47),p(1,ei,1,0,null,33),_()),t&2){let e=r(2);h("data-pc-section","triggericon")("aria-hidden",!0),s(),a("ngTemplateOutlet",e.dropdownIconTemplate)}}function ii(t,o){if(t&1&&p(0,Jt,3,2,"ng-container",20)(1,ti,2,3,"span",42),t&2){let e=r();a("ngIf",!e.dropdownIconTemplate),s(),a("ngIf",e.dropdownIconTemplate)}}function ni(t,o){t&1&&T(0)}function li(t,o){t&1&&T(0)}function oi(t,o){if(t&1&&(y(0),p(1,li,1,0,"ng-container",21),b()),t&2){let e=r(3);s(),a("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",v(2,Ue,e.filterOptions))}}function ai(t,o){t&1&&E(0,"CheckIcon",46),t&2&&(a("styleClass","p-checkbox-icon"),h("aria-hidden",!0))}function si(t,o){if(t&1&&(y(0),p(1,ai,1,2,"CheckIcon",44),b()),t&2){let e=r(6);s(),a("ngIf",e.allSelected())}}function ri(t,o){}function ci(t,o){t&1&&p(0,ri,0,0,"ng-template")}function pi(t,o){if(t&1&&(u(0,"span",63),p(1,ci,1,0,null,21),_()),t&2){let e=r(6);h("aria-hidden",!0),s(),a("ngTemplateOutlet",e.checkIconTemplate)("ngTemplateOutletContext",v(3,le,e.allSelected()))}}function di(t,o){}function ui(t,o){t&1&&p(0,di,0,0,"ng-template")}function _i(t,o){if(t&1&&(u(0,"span",63),p(1,ui,1,0,null,21),_()),t&2){let e=r(6);h("aria-hidden",!0),s(),a("ngTemplateOutlet",e.headerCheckboxIconTemplate)("ngTemplateOutletContext",K(3,wt,e.allSelected(),e.partialSelected()))}}function mi(t,o){if(t&1&&(y(0),p(1,si,2,1,"ng-container",20)(2,pi,2,5,"span",62)(3,_i,2,6,"span",62),b()),t&2){let e=r(5);s(),a("ngIf",!e.checkIconTemplate&&!e.headerCheckboxIconTemplate),s(),a("ngIf",e.checkIconTemplate),s(),a("ngIf",e.headerCheckboxIconTemplate)}}function hi(t,o){if(t&1){let e=V();u(0,"div",59),S("click",function(i){f(e);let l=r(4);return g(l.onToggleAll(i))})("keydown",function(i){f(e);let l=r(4);return g(l.onHeaderCheckboxKeyDown(i))}),u(1,"div",16)(2,"input",60,9),S("focus",function(){f(e);let i=r(4);return g(i.onHeaderCheckboxFocus())})("blur",function(){f(e);let i=r(4);return g(i.onHeaderCheckboxBlur())}),_()(),u(4,"div",61),p(5,mi,4,3,"ng-container",20),_()()}if(t&2){let e=r(4);a("ngClass",K(10,Tt,e.variant==="filled"||e.config.inputStyle()==="filled",e.disabled||e.toggleAllDisabled)),s(),h("data-p-hidden-accessible",!0),s(),a("readonly",e.readonly)("disabled",e.disabled||e.toggleAllDisabled),h("checked",e.allSelected())("aria-label",e.toggleAllAriaLabel),s(2),a("ngClass",Fe(13,Ot,e.allSelected(),e.headerCheckboxFocus,e.disabled||e.toggleAllDisabled)),h("aria-label",e.toggleAllAriaLabel)("aria-checked",e.allSelected()),s(),a("ngIf",e.allSelected()||e.partialSelected())}}function fi(t,o){t&1&&E(0,"SearchIcon",46),t&2&&a("styleClass","p-multiselect-filter-icon")}function gi(t,o){}function yi(t,o){t&1&&p(0,gi,0,0,"ng-template")}function bi(t,o){if(t&1&&(u(0,"span",67),p(1,yi,1,0,null,33),_()),t&2){let e=r(5);s(),a("ngTemplateOutlet",e.filterIconTemplate)}}function xi(t,o){if(t&1){let e=V();u(0,"div",64)(1,"input",65,10),S("input",function(i){f(e);let l=r(4);return g(l.onFilterInputChange(i))})("keydown",function(i){f(e);let l=r(4);return g(l.onFilterKeyDown(i))})("click",function(i){f(e);let l=r(4);return g(l.onInputClick(i))})("blur",function(i){f(e);let l=r(4);return g(l.onFilterBlur(i))}),_(),p(3,fi,1,1,"SearchIcon",44)(4,bi,2,1,"span",66),_()}if(t&2){let e=r(4);s(),a("value",e._filterValue()||"")("disabled",e.disabled),h("autocomplete",e.autocomplete)("placeholder",e.filterPlaceHolder)("aria-owns",e.id+"_list")("aria-activedescendant",e.focusedOptionId)("placeholder",e.filterPlaceHolder)("aria-label",e.ariaFilterLabel),s(2),a("ngIf",!e.filterIconTemplate),s(),a("ngIf",e.filterIconTemplate)}}function Ii(t,o){t&1&&E(0,"TimesIcon",46),t&2&&a("styleClass","p-multiselect-close-icon")}function Si(t,o){}function vi(t,o){t&1&&p(0,Si,0,0,"ng-template")}function Ci(t,o){if(t&1&&(u(0,"span",68),p(1,vi,1,0,null,33),_()),t&2){let e=r(4);s(),a("ngTemplateOutlet",e.closeIconTemplate)}}function Ti(t,o){if(t&1){let e=V();p(0,hi,6,17,"div",55)(1,xi,5,10,"div",56),u(2,"button",57),S("click",function(i){f(e);let l=r(3);return g(l.close(i))}),p(3,Ii,1,1,"TimesIcon",44)(4,Ci,2,1,"span",58),_()}if(t&2){let e=r(3);a("ngIf",e.isSelectionAllDisabled()),s(),a("ngIf",e.filter),s(),h("aria-label",e.closeAriaLabel),s(),a("ngIf",!e.closeIconTemplate),s(),a("ngIf",e.closeIconTemplate)}}function Oi(t,o){if(t&1&&(u(0,"div",54),ee(1),p(2,ni,1,0,"ng-container",33)(3,oi,2,4,"ng-container",23)(4,Ti,5,5,"ng-template",null,8,te),_()),t&2){let e=G(5),n=r(2);s(2),a("ngTemplateOutlet",n.headerTemplate),s(),a("ngIf",n.filterTemplate)("ngIfElse",e)}}function wi(t,o){t&1&&T(0)}function Vi(t,o){if(t&1&&p(0,wi,1,0,"ng-container",21),t&2){let e=o.$implicit,n=o.options;r(2);let i=G(8);a("ngTemplateOutlet",i)("ngTemplateOutletContext",K(2,We,e,n))}}function ki(t,o){t&1&&T(0)}function Mi(t,o){if(t&1&&p(0,ki,1,0,"ng-container",21),t&2){let e=o.options,n=r(4);a("ngTemplateOutlet",n.loaderTemplate)("ngTemplateOutletContext",v(2,Ue,e))}}function Ei(t,o){t&1&&(y(0),p(1,Mi,1,4,"ng-template",70),b())}function Fi(t,o){if(t&1){let e=V();u(0,"p-scroller",69,11),S("onLazyLoad",function(i){f(e);let l=r(2);return g(l.onLazyLoad.emit(i))}),p(2,Vi,1,5,"ng-template",25)(3,Ei,2,0,"ng-container",20),_()}if(t&2){let e=r(2);Oe(v(9,Z,e.scrollHeight)),a("items",e.visibleOptions())("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("tabindex",-1)("lazy",e.lazy)("options",e.virtualScrollOptions),s(3),a("ngIf",e.loaderTemplate)}}function Li(t,o){t&1&&T(0)}function Ai(t,o){if(t&1&&(y(0),p(1,Li,1,0,"ng-container",21),b()),t&2){r();let e=G(8),n=r();s(),a("ngTemplateOutlet",e)("ngTemplateOutletContext",K(3,We,n.visibleOptions(),Ee(2,Vt)))}}function Di(t,o){if(t&1&&(u(0,"span"),A(1),_()),t&2){let e=r(2).$implicit,n=r(3);s(),P(n.getOptionGroupLabel(e.optionGroup))}}function Pi(t,o){t&1&&T(0)}function Ki(t,o){if(t&1&&(y(0),u(1,"li",74),p(2,Di,2,1,"span",20)(3,Pi,1,0,"ng-container",21),_(),b()),t&2){let e=r(),n=e.$implicit,i=e.index,l=r().options,c=r(2);s(),a("ngStyle",v(5,Z,l.itemSize+"px")),h("id",c.id+"_"+c.getOptionIndex(i,l)),s(),a("ngIf",!c.groupTemplate),s(),a("ngTemplateOutlet",c.groupTemplate)("ngTemplateOutletContext",v(7,le,n.optionGroup))}}function Hi(t,o){if(t&1){let e=V();y(0),u(1,"p-multiSelectItem",75),S("onClick",function(i){f(e);let l=r().index,c=r().options,d=r(2);return g(d.onOptionSelect(i,!1,d.getOptionIndex(l,c)))})("onMouseEnter",function(i){f(e);let l=r().index,c=r().options,d=r(2);return g(d.onOptionMouseEnter(i,d.getOptionIndex(l,c)))}),_(),b()}if(t&2){let e=r(),n=e.$implicit,i=e.index,l=r().options,c=r(2);s(),a("id",c.id+"_"+c.getOptionIndex(i,l))("option",n)("selected",c.isSelected(n))("label",c.getOptionLabel(n))("disabled",c.isOptionDisabled(n))("template",c.itemTemplate)("checkIconTemplate",c.checkIconTemplate)("itemCheckboxIconTemplate",c.itemCheckboxIconTemplate)("itemSize",l.itemSize)("focused",c.focusedOptionIndex()===c.getOptionIndex(i,l))("ariaPosInset",c.getAriaPosInset(c.getOptionIndex(i,l)))("ariaSetSize",c.ariaSetSize)}}function zi(t,o){if(t&1&&p(0,Ki,4,9,"ng-container",20)(1,Hi,2,12,"ng-container",20),t&2){let e=o.$implicit,n=r(3);a("ngIf",n.isOptionGroup(e)),s(),a("ngIf",!n.isOptionGroup(e))}}function Ri(t,o){if(t&1&&(y(0),A(1),b()),t&2){let e=r(4);s(),ae(" ",e.emptyFilterMessageLabel," ")}}function Ni(t,o){t&1&&T(0,null,13)}function Gi(t,o){if(t&1&&(u(0,"li",76),p(1,Ri,2,1,"ng-container",23)(2,Ni,2,0,"ng-container",33),_()),t&2){let e=r().options,n=r(2);a("ngStyle",v(4,Z,e.itemSize+"px")),s(),a("ngIf",!n.emptyFilterTemplate&&!n.emptyTemplate)("ngIfElse",n.emptyFilter),s(),a("ngTemplateOutlet",n.emptyFilterTemplate||n.emptyTemplate)}}function Qi(t,o){if(t&1&&(y(0),A(1),b()),t&2){let e=r(4);s(),ae(" ",e.emptyMessageLabel," ")}}function Bi(t,o){t&1&&T(0,null,14)}function ji(t,o){if(t&1&&(u(0,"li",76),p(1,Qi,2,1,"ng-container",23)(2,Bi,2,0,"ng-container",33),_()),t&2){let e=r().options,n=r(2);a("ngStyle",v(4,Z,e.itemSize+"px")),s(),a("ngIf",!n.emptyTemplate)("ngIfElse",n.empty),s(),a("ngTemplateOutlet",n.emptyTemplate)}}function qi(t,o){if(t&1&&(u(0,"ul",71,12),p(2,zi,2,2,"ng-template",72)(3,Gi,3,6,"li",73)(4,ji,3,6,"li",73),_()),t&2){let e=o.$implicit,n=o.options,i=r(2);a("ngClass",n.contentStyleClass)("ngStyle",n.contentStyle),h("aria-label",i.listLabel),s(2),a("ngForOf",e),s(),a("ngIf",i.hasFilter()&&i.isEmpty()),s(),a("ngIf",!i.hasFilter()&&i.isEmpty())}}function Zi(t,o){t&1&&T(0)}function $i(t,o){if(t&1&&(u(0,"div",77),ee(1,1),p(2,Zi,1,0,"ng-container",33),_()),t&2){let e=r(2);s(2),a("ngTemplateOutlet",e.footerTemplate)}}function Ui(t,o){if(t&1){let e=V();u(0,"div",48)(1,"span",49,5),S("focus",function(i){f(e);let l=r();return g(l.onFirstHiddenFocus(i))}),_(),p(3,Oi,6,3,"div",50),u(4,"div",51),p(5,Fi,4,11,"p-scroller",52)(6,Ai,2,6,"ng-container",20)(7,qi,5,6,"ng-template",null,6,te),_(),p(9,$i,3,1,"div",53),u(10,"span",49,7),S("focus",function(i){f(e);let l=r();return g(l.onLastHiddenFocus(i))}),_()()}if(t&2){let e=r();R(e.panelStyleClass),a("ngClass","p-multiselect-panel p-component")("ngStyle",e.panelStyle),h("id",e.id+"_list"),s(),h("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0),s(2),a("ngIf",e.showHeader),s(),a("ngStyle",v(16,Ct,e.virtualScroll?"auto":e.scrollHeight||"auto")),s(),a("ngIf",e.virtualScroll),s(),a("ngIf",!e.virtualScroll),s(3),a("ngIf",e.footerFacet||e.footerTemplate),s(),h("tabindex",0)("data-p-hidden-accessible",!0)("data-p-hidden-focusable",!0)}}var Wi={provide:Qe,useExisting:Ie(()=>Ji),multi:!0},Yi=(()=>{class t{config;id;option;selected;label;disabled;itemSize;focused;ariaPosInset;ariaSetSize;template;checkIconTemplate;itemCheckboxIconTemplate;onClick=new C;onMouseEnter=new C;constructor(e){this.config=e}onOptionClick(e){this.onClick.emit({originalEvent:e,option:this.option,selected:this.selected}),e.stopPropagation()}onOptionMouseEnter(e){this.onMouseEnter.emit({originalEvent:e,option:this.option,selected:this.selected})}static \u0275fac=function(n){return new(n||t)(M(ue))};static \u0275cmp=Y({type:t,selectors:[["p-multiSelectItem"]],hostAttrs:[1,"p-element"],inputs:{id:"id",option:"option",selected:[2,"selected","selected",x],label:"label",disabled:[2,"disabled","disabled",x],itemSize:[2,"itemSize","itemSize",Q],focused:[2,"focused","focused",x],ariaPosInset:"ariaPosInset",ariaSetSize:"ariaSetSize",template:"template",checkIconTemplate:"checkIconTemplate",itemCheckboxIconTemplate:"itemCheckboxIconTemplate"},outputs:{onClick:"onClick",onMouseEnter:"onMouseEnter"},features:[X],decls:6,vars:28,consts:[["pRipple","","role","option",1,"p-multiselect-item",3,"click","mouseenter","ngStyle","ngClass","id"],[1,"p-checkbox","p-component",3,"ngClass"],[1,"p-checkbox-box",3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"]],template:function(n,i){n&1&&(u(0,"li",0),S("click",function(c){return i.onOptionClick(c)})("mouseenter",function(c){return i.onOptionMouseEnter(c)}),u(1,"div",1)(2,"div",2),p(3,rt,4,3,"ng-container",3),_()(),p(4,ct,2,1,"span",3)(5,pt,1,0,"ng-container",4),_()),n&2&&(a("ngStyle",v(17,Z,i.itemSize+"px"))("ngClass",K(19,Je,i.disabled,i.focused))("id",i.id),h("aria-label",i.label)("aria-setsize",i.ariaSetSize)("aria-posinset",i.ariaPosInset)("aria-selected",i.selected)("data-p-focused",i.focused)("data-p-highlight",i.selected)("data-p-disabled",i.disabled)("aria-checked",i.selected),s(),a("ngClass",v(22,Xe,i.config.inputStyle()==="filled")),s(),a("ngClass",v(24,et,i.selected)),s(),a("ngIf",i.selected),s(),a("ngIf",!i.template),s(),a("ngTemplateOutlet",i.template)("ngTemplateOutletContext",v(26,le,i.option)))},dependencies:()=>[re,ce,de,pe,_e,q],encapsulation:2})}return t})(),Ji=(()=>{class t{el;renderer;cd;zone;filterService;config;overlayService;id;ariaLabel;style;styleClass;panelStyle;panelStyleClass;inputId;disabled;readonly;group;filter=!0;filterPlaceHolder;filterLocale;overlayVisible;tabindex=0;variant="outlined";appendTo;dataKey;name;ariaLabelledBy;set displaySelectedLabel(e){this._displaySelectedLabel=e}get displaySelectedLabel(){return this._displaySelectedLabel}set maxSelectedLabels(e){this._maxSelectedLabels=e}get maxSelectedLabels(){return this._maxSelectedLabels}selectionLimit;selectedItemsLabel;showToggleAll=!0;emptyFilterMessage="";emptyMessage="";resetFilterOnHide=!1;dropdownIcon;optionLabel;optionValue;optionDisabled;optionGroupLabel="label";optionGroupChildren="items";showHeader=!0;filterBy;scrollHeight="200px";lazy=!1;virtualScroll;loading=!1;virtualScrollItemSize;loadingIcon;virtualScrollOptions;overlayOptions;ariaFilterLabel;filterMatchMode="contains";tooltip="";tooltipPosition="right";tooltipPositionStyle="absolute";tooltipStyleClass;autofocusFilter=!0;display="comma";autocomplete="off";showClear=!1;autofocus;get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}set defaultLabel(e){this._defaultLabel=e,console.warn("defaultLabel property is deprecated since 16.6.0, use placeholder instead")}get defaultLabel(){return this._defaultLabel}set placeholder(e){this._placeholder.set(e)}get placeholder(){return this._placeholder.asReadonly()}get options(){return this._options()}set options(e){m.deepEquals(this._options(),e)||this._options.set(e)}get filterValue(){return this._filterValue()}set filterValue(e){this._filterValue.set(e)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get selectAll(){return this._selectAll}set selectAll(e){this._selectAll=e}focusOnHover=!1;filterFields;selectOnFocus=!1;autoOptionFocus=!0;onChange=new C;onFilter=new C;onFocus=new C;onBlur=new C;onClick=new C;onClear=new C;onPanelShow=new C;onPanelHide=new C;onLazyLoad=new C;onRemove=new C;onSelectAllChange=new C;containerViewChild;overlayViewChild;filterInputChild;focusInputViewChild;itemsViewChild;scroller;lastHiddenFocusableElementOnOverlay;firstHiddenFocusableElementOnOverlay;headerCheckboxViewChild;footerFacet;headerFacet;templates;searchValue;searchTimeout;_selectAll=null;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_defaultLabel;_placeholder=D(void 0);_itemSize;_selectionLimit;_disableTooltip=!1;value;_filteredOptions;onModelChange=()=>{};onModelTouched=()=>{};valuesAsString;focus;filtered;itemTemplate;groupTemplate;loaderTemplate;headerTemplate;filterTemplate;footerTemplate;emptyFilterTemplate;emptyTemplate;selectedItemsTemplate;checkIconTemplate;loadingIconTemplate;filterIconTemplate;removeTokenIconTemplate;closeIconTemplate;clearIconTemplate;dropdownIconTemplate;itemCheckboxIconTemplate;headerCheckboxIconTemplate;headerCheckboxFocus;filterOptions;preventModelTouched;preventDocumentDefault;focused=!1;itemsWrapper;_displaySelectedLabel=!0;_maxSelectedLabels=3;modelValue=D(null);_filterValue=D(null);_options=D(null);startRangeIndex=D(-1);focusedOptionIndex=D(-1);selectedOptions;clickInProgress=!1;get containerClass(){return{"p-multiselect p-component p-inputwrapper":!0,"p-disabled":this.disabled,"p-multiselect-clearable":this.showClear&&!this.disabled,"p-multiselect-chip":this.display==="chip","p-focus":this.focused,"p-variant-filled":this.variant==="filled"||this.config.inputStyle()==="filled"}}get inputClass(){return{"p-multiselect-label p-inputtext":!0,"p-placeholder":(this.placeholder()||this.defaultLabel)&&(this.label()===this.placeholder()||this.label()===this.defaultLabel),"p-multiselect-label-empty":!this.selectedItemsTemplate&&(this.label()==="p-emptylabel"||this.label().length===0)}}get panelClass(){return{"p-multiselect-panel p-component":!0,"p-input-filled":this.config.inputStyle()==="filled","p-ripple-disabled":this.config.ripple===!1}}get labelClass(){return{"p-multiselect-label":!0,"p-placeholder":this.label()===this.placeholder()||this.label()===this.defaultLabel,"p-multiselect-label-empty":!this.placeholder()&&!this.defaultLabel&&(!this.modelValue()||this.modelValue().length===0)}}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(j.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(j.EMPTY_FILTER_MESSAGE)}get filled(){return typeof this.modelValue()=="string"?!!this.modelValue():m.isNotEmpty(this.modelValue())}get isVisibleClearIcon(){return this.modelValue()!=null&&this.modelValue()!==""&&m.isNotEmpty(this.modelValue())&&this.showClear&&!this.disabled&&this.filled}get toggleAllAriaLabel(){return this.config.translation.aria?this.config.translation.aria[this.allSelected()?"selectAll":"unselectAll"]:void 0}get closeAriaLabel(){return this.config.translation.aria?this.config.translation.aria.close:void 0}get listLabel(){return this.config.getTranslation(j.ARIA).listLabel}getAllVisibleAndNonVisibleOptions(){return this.group?this.flatOptions(this.options):this.options||[]}visibleOptions=ie(()=>{let e=this.getAllVisibleAndNonVisibleOptions(),n=m.isArray(e)&&m.isObject(e[0]);if(this._filterValue()){let i;if(n?i=this.filterService.filter(e,this.searchFields(),this._filterValue(),this.filterMatchMode,this.filterLocale):i=e.filter(l=>l.toString().toLocaleLowerCase().includes(this._filterValue().toLocaleLowerCase())),this.group){let l=this.options||[],c=[];return l.forEach(d=>{let L=this.getOptionGroupChildren(d).filter(z=>i.includes(z));L.length>0&&c.push(U($({},d),{[typeof this.optionGroupChildren=="string"?this.optionGroupChildren:"items"]:[...L]}))}),this.flatOptions(c)}return i}return e});label=ie(()=>{let e,n=this.modelValue();if(n&&n.length&&this.displaySelectedLabel){if(m.isNotEmpty(this.maxSelectedLabels)&&n.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();e="";for(let i=0;i<n.length;i++)i!==0&&(e+=", "),e+=this.getLabelByValue(n[i])}else e=this.placeholder()||this.defaultLabel||"";return e});chipSelectedItems=ie(()=>m.isNotEmpty(this.maxSelectedLabels)&&this.modelValue()&&this.modelValue().length>this.maxSelectedLabels?this.modelValue().slice(0,this.maxSelectedLabels):this.modelValue());constructor(e,n,i,l,c,d,k){this.el=e,this.renderer=n,this.cd=i,this.zone=l,this.filterService=c,this.config=d,this.overlayService=k,Le(()=>{let L=this.modelValue(),z=this.visibleOptions();z&&m.isNotEmpty(z)&&(this.optionValue&&this.optionLabel&&L?this.selectedOptions=z.filter(xe=>L.includes(xe[this.optionLabel])||L.includes(xe[this.optionValue])):this.selectedOptions=L,this.cd.markForCheck())})}ngOnInit(){this.id=this.id||De(),this.autoUpdateModel(),this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}maxSelectionLimitReached(){return m.isNotEmpty(this.selectionLimit)&&this.modelValue()&&this.modelValue().length===this.selectionLimit}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":this.itemTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"selectedItems":this.selectedItemsTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"checkicon":this.checkIconTemplate=e.template,console.warn("checkicon is deprecated and will removed in v18. Use itemcheckboxicon or headercheckboxicon templates instead.");break;case"headercheckboxicon":this.headerCheckboxIconTemplate=e.template;break;case"loadingicon":this.loadingIconTemplate=e.template;break;case"filtericon":this.filterIconTemplate=e.template;break;case"removetokenicon":this.removeTokenIconTemplate=e.template;break;case"closeicon":this.closeIconTemplate=e.template;break;case"clearicon":this.clearIconTemplate=e.template;break;case"dropdownicon":this.dropdownIconTemplate=e.template;break;case"itemcheckboxicon":this.itemCheckboxIconTemplate=e.template;break;default:this.itemTemplate=e.template;break}})}ngAfterViewInit(){this.overlayVisible&&this.show()}ngAfterViewChecked(){this.filtered&&(this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild?.alignOverlay()},1)}),this.filtered=!1)}flatOptions(e){return(e||[]).reduce((n,i,l)=>{n.push({optionGroup:i,group:!0,index:l});let c=this.getOptionGroupChildren(i);return c&&c.forEach(d=>n.push(d)),n},[])}autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption()){this.focusedOptionIndex.set(this.findFirstFocusedOptionIndex());let e=this.getOptionValue(this.visibleOptions()[this.focusedOptionIndex()]);this.onOptionSelect({originalEvent:null,option:[e]})}}updateModel(e,n){this.value=e,this.onModelChange(e),this.modelValue.set(e)}onInputClick(e){e.stopPropagation(),e.preventDefault(),this.focusedOptionIndex.set(-1)}onOptionSelect(e,n=!1,i=-1){let{originalEvent:l,option:c}=e;if(this.disabled||this.isOptionDisabled(c))return;let d=this.isSelected(c),k=null;d?(k=this.modelValue().filter(L=>!m.equals(L,this.getOptionValue(c),this.equalityKey())),this.onRemove.emit({newValue:this.value,removed:this.getOptionValue(c)})):k=[...this.modelValue()||[],this.getOptionValue(c)],this.updateModel(k,l),i!==-1&&this.focusedOptionIndex.set(i),n&&I.focus(this.focusInputViewChild?.nativeElement),this.onChange.emit({originalEvent:U($({},e),{selected:!e.selected}),value:k,itemValue:c})}findSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}onOptionSelectRange(e,n=-1,i=-1){if(n===-1&&(n=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(n)),n!==-1&&i!==-1){let l=Math.min(n,i),c=Math.max(n,i),d=this.visibleOptions().slice(l,c+1).filter(k=>this.isValidOption(k)).map(k=>this.getOptionValue(k));this.updateModel(d,e)}}searchFields(){return(this.filterBy||this.optionLabel||"label").split(",")}findNearestSelectedOptionIndex(e,n=!1){let i=-1;return this.hasSelectedOption()&&(n?(i=this.findPrevSelectedOptionIndex(e),i=i===-1?this.findNextSelectedOptionIndex(e):i):(i=this.findNextSelectedOptionIndex(e),i=i===-1?this.findPrevSelectedOptionIndex(e):i)),i>-1?i:e}findPrevSelectedOptionIndex(e){let n=this.hasSelectedOption()&&e>0?m.findLastIndex(this.visibleOptions().slice(0,e),i=>this.isValidSelectedOption(i)):-1;return n>-1?n:-1}findFirstFocusedOptionIndex(){let e=this.findFirstSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e}findFirstOptionIndex(){return this.visibleOptions().findIndex(e=>this.isValidOption(e))}findFirstSelectedOptionIndex(){return this.hasSelectedOption()?this.visibleOptions().findIndex(e=>this.isValidSelectedOption(e)):-1}findNextSelectedOptionIndex(e){let n=this.hasSelectedOption()&&e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(i=>this.isValidSelectedOption(i)):-1;return n>-1?n+e+1:-1}equalityKey(){return this.optionValue?null:this.dataKey}hasSelectedOption(){return m.isNotEmpty(this.modelValue())}isSelectionAllDisabled(){return this.showToggleAll&&m.isEmpty(this.selectionLimit)}isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)}isOptionGroup(e){return(this.group||this.optionGroupLabel)&&e.optionGroup&&e.group}isValidOption(e){return e&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))}isOptionDisabled(e){return this.maxSelectionLimitReached()&&!this.isSelected(e)?!0:this.optionDisabled?m.resolveFieldData(e,this.optionDisabled):e&&e.disabled!==void 0?e.disabled:!1}isSelected(e){let n=this.getOptionValue(e);return(this.modelValue()||[]).some(i=>m.equals(i,n,this.equalityKey()))}isOptionMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toString().toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))}isEmpty(){return!this._options()||this.visibleOptions()&&this.visibleOptions().length===0}getOptionIndex(e,n){return this.virtualScrollerDisabled?e:n&&n.getItemOptions(e).index}getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions().slice(0,e).filter(n=>this.isOptionGroup(n)).length:e)+1}get ariaSetSize(){return this.visibleOptions().filter(e=>!this.isOptionGroup(e)).length}getLabelByValue(e){let i=(this.group?this.flatOptions(this._options()):this._options()||[]).find(l=>!this.isOptionGroup(l)&&m.equals(this.getOptionValue(l),e,this.equalityKey()));return i?this.getOptionLabel(i):null}getSelectedItemsLabel(){let e=/{(.*?)}/,n=this.selectedItemsLabel?this.selectedItemsLabel:this.config.getTranslation(j.SELECTION_MESSAGE);return e.test(n)?n.replace(n.match(e)[0],this.modelValue().length+""):n}getOptionLabel(e){return this.optionLabel?m.resolveFieldData(e,this.optionLabel):e&&e.label!=null?e.label:e}getOptionValue(e){return this.optionValue?m.resolveFieldData(e,this.optionValue):!this.optionLabel&&e&&e.value!==void 0?e.value:e}getOptionGroupLabel(e){return this.optionGroupLabel?m.resolveFieldData(e,this.optionGroupLabel):e&&e.label!=null?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?m.resolveFieldData(e,this.optionGroupChildren):e.items}onKeyDown(e){if(this.disabled){e.preventDefault();return}let n=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"Space":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"ShiftLeft":case"ShiftRight":this.onShiftKey();break;default:if(e.code==="KeyA"&&n){let i=this.visibleOptions().filter(l=>this.isValidOption(l)).map(l=>this.getOptionValue(l));this.updateModel(i,e),e.preventDefault();break}!n&&m.isPrintableCharacter(e.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(e,e.key),e.preventDefault());break}}onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0);break;default:break}}onArrowLeftKey(e,n=!1){n&&this.focusedOptionIndex.set(-1)}onArrowDownKey(e){let n=this.focusedOptionIndex()!==-1?this.findNextOptionIndex(this.focusedOptionIndex()):this.findFirstFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,this.startRangeIndex(),n),this.changeFocusedOptionIndex(e,n),!this.overlayVisible&&this.show(),e.preventDefault(),e.stopPropagation()}onArrowUpKey(e,n=!1){if(e.altKey&&!n)this.focusedOptionIndex()!==-1&&this.onOptionSelect(e,this.visibleOptions()[this.focusedOptionIndex()]),this.overlayVisible&&this.hide(),e.preventDefault();else{let i=this.focusedOptionIndex()!==-1?this.findPrevOptionIndex(this.focusedOptionIndex()):this.findLastFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,i,this.startRangeIndex()),this.changeFocusedOptionIndex(e,i),!this.overlayVisible&&this.show(),e.preventDefault()}e.stopPropagation()}onHomeKey(e,n=!1){let{currentTarget:i}=e;if(n){let l=i.value.length;i.setSelectionRange(0,e.shiftKey?l:0),this.focusedOptionIndex.set(-1)}else{let l=e.metaKey||e.ctrlKey,c=this.findFirstOptionIndex();e.shiftKey&&l&&this.onOptionSelectRange(e,c,this.startRangeIndex()),this.changeFocusedOptionIndex(e,c),!this.overlayVisible&&this.show()}e.preventDefault()}onEndKey(e,n=!1){let{currentTarget:i}=e;if(n){let l=i.value.length;i.setSelectionRange(e.shiftKey?0:l,l),this.focusedOptionIndex.set(-1)}else{let l=e.metaKey||e.ctrlKey,c=this.findLastFocusedOptionIndex();e.shiftKey&&l&&this.onOptionSelectRange(e,this.startRangeIndex(),c),this.changeFocusedOptionIndex(e,c),!this.overlayVisible&&this.show()}e.preventDefault()}onPageDownKey(e){this.scrollInView(this.visibleOptions().length-1),e.preventDefault()}onPageUpKey(e){this.scrollInView(0),e.preventDefault()}onEnterKey(e){this.overlayVisible?this.focusedOptionIndex()!==-1&&(e.shiftKey?this.onOptionSelectRange(e,this.focusedOptionIndex()):this.onOptionSelect({originalEvent:e,option:this.visibleOptions()[this.focusedOptionIndex()]})):this.onArrowDownKey(e),e.preventDefault()}onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault()}onDeleteKey(e){this.showClear&&(this.clear(e),e.preventDefault())}onTabKey(e,n=!1){n||(this.overlayVisible&&this.hasFocusableElements()?(I.focus(e.shiftKey?this.lastHiddenFocusableElementOnOverlay.nativeElement:this.firstHiddenFocusableElementOnOverlay.nativeElement),e.preventDefault()):(this.focusedOptionIndex()!==-1&&this.onOptionSelect({originalEvent:e,option:this.visibleOptions()[this.focusedOptionIndex()]}),this.overlayVisible&&this.hide(this.filter)))}onShiftKey(){this.startRangeIndex.set(this.focusedOptionIndex())}onContainerClick(e){if(!(this.disabled||this.loading||this.readonly||e.target.isSameNode(this.focusInputViewChild?.nativeElement))){if(e.target.tagName==="INPUT"||e.target.getAttribute("data-pc-section")==="clearicon"||e.target.closest('[data-pc-section="clearicon"]')){e.preventDefault();return}else if(!this.overlayViewChild||!this.overlayViewChild.el.nativeElement.contains(e.target)){if(this.clickInProgress)return;this.clickInProgress=!0,setTimeout(()=>{this.clickInProgress=!1},150),this.overlayVisible?this.hide(!0):this.show(!0)}this.focusInputViewChild?.nativeElement.focus({preventScroll:!0}),this.onClick.emit(e),this.cd.detectChanges()}}onFirstHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?I.getFirstFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;I.focus(n)}onInputFocus(e){this.focused=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),this.overlayVisible&&this.scrollInView(this.focusedOptionIndex()),this.onFocus.emit({originalEvent:e})}onInputBlur(e){this.focused=!1,this.onBlur.emit({originalEvent:e}),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onFilterInputChange(e){let n=e.target.value;this._filterValue.set(n),this.focusedOptionIndex.set(-1),this.onFilter.emit({originalEvent:e,filter:this._filterValue()}),!this.virtualScrollerDisabled&&this.scroller.scrollToIndex(0),setTimeout(()=>{this.overlayViewChild.alignOverlay()})}onLastHiddenFocus(e){let n=e.relatedTarget===this.focusInputViewChild?.nativeElement?I.getLastFocusableElement(this.overlayViewChild?.overlayViewChild?.nativeElement,':not([data-p-hidden-focusable="true"])'):this.focusInputViewChild?.nativeElement;I.focus(n)}onOptionMouseEnter(e,n){this.focusOnHover&&this.changeFocusedOptionIndex(e,n)}onHeaderCheckboxKeyDown(e){if(this.disabled){e.preventDefault();return}switch(e.code){case"Space":this.onToggleAll(e);break;case"Enter":this.onToggleAll(e);break;default:break}}onFilterBlur(e){this.focusedOptionIndex.set(-1)}onHeaderCheckboxFocus(){this.headerCheckboxFocus=!0}onHeaderCheckboxBlur(){this.headerCheckboxFocus=!1}onToggleAll(e){if(!(this.disabled||this.readonly)){if(this.selectAll!=null)this.onSelectAllChange.emit({originalEvent:e,checked:!this.allSelected()});else{let n=this.getAllVisibleAndNonVisibleOptions().filter(d=>this.isSelected(d)&&(this.optionDisabled?m.resolveFieldData(d,this.optionDisabled):d&&d.disabled!==void 0?d.disabled:!1)),i=this.allSelected()?this.visibleOptions().filter(d=>!this.isValidOption(d)&&this.isSelected(d)):this.visibleOptions().filter(d=>this.isSelected(d)||this.isValidOption(d)),l=[...n,...i].map(d=>this.getOptionValue(d)),c=[...new Set(l)];this.updateModel(c,e),(!c.length||c.length===this.getAllVisibleAndNonVisibleOptions().length)&&this.onSelectAllChange.emit({originalEvent:e,checked:!!c.length})}this.partialSelected()&&(this.selectedOptions=null,this.cd.markForCheck()),this.onChange.emit({originalEvent:e,value:this.value}),I.focus(this.headerCheckboxViewChild?.nativeElement),this.headerCheckboxFocus=!0,e.preventDefault(),e.stopPropagation()}}changeFocusedOptionIndex(e,n){this.focusedOptionIndex()!==n&&(this.focusedOptionIndex.set(n),this.scrollInView())}get virtualScrollerDisabled(){return!this.virtualScroll}scrollInView(e=-1){let n=e!==-1?`${this.id}_${e}`:this.focusedOptionId;if(this.itemsViewChild&&this.itemsViewChild.nativeElement){let i=I.findSingle(this.itemsViewChild.nativeElement,`li[id="${n}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||setTimeout(()=>{this.virtualScroll&&this.scroller?.scrollToIndex(e!==-1?e:this.focusedOptionIndex())},0)}}get focusedOptionId(){return this.focusedOptionIndex()!==-1?`${this.id}_${this.focusedOptionIndex()}`:null}writeValue(e){this.value=e,!m.isEmpty(this.selectionLimit)&&m.isEmpty(this.value)?this.modelValue.set([]):this.modelValue.set(this.value),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}allSelected(){return this.selectAll!==null?this.selectAll:m.isNotEmpty(this.visibleOptions())&&this.visibleOptions().every(e=>this.isOptionGroup(e)||this.isOptionDisabled(e)||this.isSelected(e))}partialSelected(){return this.selectedOptions&&this.selectedOptions.length>0&&this.selectedOptions.length<this.options.length}show(e){this.overlayVisible=!0;let n=this.focusedOptionIndex()!==-1?this.focusedOptionIndex():this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1;this.focusedOptionIndex.set(n),e&&I.focus(this.focusInputViewChild?.nativeElement),this.cd.markForCheck()}hide(e){this.overlayVisible=!1,this.focusedOptionIndex.set(-1),this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.overlayOptions?.mode==="modal"&&I.unblockBodyScroll(),e&&I.focus(this.focusInputViewChild?.nativeElement),this.onPanelHide.emit(),this.cd.markForCheck()}onOverlayAnimationStart(e){switch(e.toState){case"visible":if(this.itemsWrapper=I.findSingle(this.overlayViewChild?.overlayViewChild?.nativeElement,this.virtualScroll?".p-scroller":".p-multiselect-items-wrapper"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild?.nativeElement),this._options()&&this._options().length)if(this.virtualScroll){let n=m.isNotEmpty(this.modelValue())?this.focusedOptionIndex():-1;n!==-1&&this.scroller?.scrollToIndex(n)}else{let n=I.findSingle(this.itemsWrapper,'[data-p-highlight="true"]');n&&n.scrollIntoView({block:"nearest",inline:"nearest"})}this.filterInputChild&&this.filterInputChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterInputChild.nativeElement.focus()),this.onPanelShow.emit();case"void":this.itemsWrapper=null,this.onModelTouched();break}}resetFilter(){this.filterInputChild&&this.filterInputChild.nativeElement&&(this.filterInputChild.nativeElement.value=""),this._filterValue.set(null),this._filteredOptions=null}close(e){this.hide(),e.preventDefault(),e.stopPropagation()}clear(e){this.value=null,this.updateModel(null,e),this.selectedOptions=null,this.onClear.emit(),this._disableTooltip=!0,e.stopPropagation()}labelContainerMouseLeave(){this._disableTooltip&&(this._disableTooltip=!1)}removeOption(e,n){let i=this.modelValue().filter(l=>!m.equals(l,e,this.equalityKey()));this.updateModel(i,n),this.onChange.emit({originalEvent:n,value:i,itemValue:e}),n&&n.stopPropagation()}findNextItem(e){let n=e.nextElementSibling;return n?I.hasClass(n.children[0],"p-disabled")||I.isHidden(n.children[0])||I.hasClass(n,"p-multiselect-item-group")?this.findNextItem(n):n.children[0]:null}findPrevItem(e){let n=e.previousElementSibling;return n?I.hasClass(n.children[0],"p-disabled")||I.isHidden(n.children[0])||I.hasClass(n,"p-multiselect-item-group")?this.findPrevItem(n):n.children[0]:null}findNextOptionIndex(e){let n=e<this.visibleOptions().length-1?this.visibleOptions().slice(e+1).findIndex(i=>this.isValidOption(i)):-1;return n>-1?n+e+1:e}findPrevOptionIndex(e){let n=e>0?m.findLastIndex(this.visibleOptions().slice(0,e),i=>this.isValidOption(i)):-1;return n>-1?n:e}findLastSelectedOptionIndex(){return this.hasSelectedOption()?m.findLastIndex(this.visibleOptions(),e=>this.isValidSelectedOption(e)):-1}findLastFocusedOptionIndex(){let e=this.findLastSelectedOptionIndex();return e<0?this.findLastOptionIndex():e}findLastOptionIndex(){return m.findLastIndex(this.visibleOptions(),e=>this.isValidOption(e))}searchOptions(e,n){this.searchValue=(this.searchValue||"")+n;let i=-1,l=!1;return this.focusedOptionIndex()!==-1?(i=this.visibleOptions().slice(this.focusedOptionIndex()).findIndex(c=>this.isOptionMatched(c)),i=i===-1?this.visibleOptions().slice(0,this.focusedOptionIndex()).findIndex(c=>this.isOptionMatched(c)):i+this.focusedOptionIndex()):i=this.visibleOptions().findIndex(c=>this.isOptionMatched(c)),i!==-1&&(l=!0),i===-1&&this.focusedOptionIndex()===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(e,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>{this.searchValue="",this.searchTimeout=null},500),l}activateFilter(){if(this.hasFilter()&&this._options)if(this.group){let e=[];for(let n of this.options){let i=this.filterService.filter(this.getOptionGroupChildren(n),this.searchFields(),this.filterValue,this.filterMatchMode,this.filterLocale);i&&i.length&&e.push(U($({},n),{[this.optionGroupChildren]:i}))}this._filteredOptions=e}else this._filteredOptions=this.filterService.filter(this.options,this.searchFields(),this.filterValue,this.filterMatchMode,this.filterLocale);else this._filteredOptions=null}hasFocusableElements(){return I.getFocusableElements(this.overlayViewChild.overlayViewChild.nativeElement,':not([data-p-hidden-focusable="true"])').length>0}hasFilter(){return this._filterValue()&&this._filterValue().trim().length>0}static \u0275fac=function(n){return new(n||t)(M(Se),M(ve),M(se),M(Ce),M(Pe),M(ue),M(Ke))};static \u0275cmp=Y({type:t,selectors:[["p-multiSelect"]],contentQueries:function(n,i,l){if(n&1&&(N(l,ze,5),N(l,He,5),N(l,B,4)),n&2){let c;O(c=w())&&(i.footerFacet=c.first),O(c=w())&&(i.headerFacet=c.first),O(c=w())&&(i.templates=c)}},viewQuery:function(n,i){if(n&1&&(F(dt,5),F(ut,5),F(_t,5),F(mt,5),F(ht,5),F(ft,5),F(gt,5),F(yt,5),F(bt,5)),n&2){let l;O(l=w())&&(i.containerViewChild=l.first),O(l=w())&&(i.overlayViewChild=l.first),O(l=w())&&(i.filterInputChild=l.first),O(l=w())&&(i.focusInputViewChild=l.first),O(l=w())&&(i.itemsViewChild=l.first),O(l=w())&&(i.scroller=l.first),O(l=w())&&(i.lastHiddenFocusableElementOnOverlay=l.first),O(l=w())&&(i.firstHiddenFocusableElementOnOverlay=l.first),O(l=w())&&(i.headerCheckboxViewChild=l.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(n,i){n&2&&Te("p-inputwrapper-focus",i.focused||i.overlayVisible)("p-inputwrapper-filled",i.filled)},inputs:{id:"id",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",inputId:"inputId",disabled:[2,"disabled","disabled",x],readonly:[2,"readonly","readonly",x],group:[2,"group","group",x],filter:[2,"filter","filter",x],filterPlaceHolder:"filterPlaceHolder",filterLocale:"filterLocale",overlayVisible:[2,"overlayVisible","overlayVisible",x],tabindex:[2,"tabindex","tabindex",Q],variant:"variant",appendTo:"appendTo",dataKey:"dataKey",name:"name",ariaLabelledBy:"ariaLabelledBy",displaySelectedLabel:"displaySelectedLabel",maxSelectedLabels:"maxSelectedLabels",selectionLimit:[2,"selectionLimit","selectionLimit",e=>Q(e,null)],selectedItemsLabel:"selectedItemsLabel",showToggleAll:[2,"showToggleAll","showToggleAll",x],emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",resetFilterOnHide:[2,"resetFilterOnHide","resetFilterOnHide",x],dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",showHeader:[2,"showHeader","showHeader",x],filterBy:"filterBy",scrollHeight:"scrollHeight",lazy:[2,"lazy","lazy",x],virtualScroll:[2,"virtualScroll","virtualScroll",x],loading:[2,"loading","loading",x],virtualScrollItemSize:[2,"virtualScrollItemSize","virtualScrollItemSize",Q],loadingIcon:"loadingIcon",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:[2,"autofocusFilter","autofocusFilter",x],display:"display",autocomplete:"autocomplete",showClear:[2,"showClear","showClear",x],autofocus:[2,"autofocus","autofocus",x],autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",defaultLabel:"defaultLabel",placeholder:"placeholder",options:"options",filterValue:"filterValue",itemSize:"itemSize",selectAll:"selectAll",focusOnHover:[2,"focusOnHover","focusOnHover",x],filterFields:"filterFields",selectOnFocus:[2,"selectOnFocus","selectOnFocus",x],autoOptionFocus:[2,"autoOptionFocus","autoOptionFocus",x]},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onClear:"onClear",onPanelShow:"onPanelShow",onPanelHide:"onPanelHide",onLazyLoad:"onLazyLoad",onRemove:"onRemove",onSelectAllChange:"onSelectAllChange"},features:[Me([Wi]),X],ngContentSelectors:It,decls:17,vars:44,consts:[["container",""],["focusInput",""],["elseBlock",""],["overlay",""],["token",""],["firstHiddenFocusableEl",""],["buildInItems",""],["lastHiddenFocusableEl",""],["builtInFilterElement",""],["headerCheckbox",""],["filterInput",""],["scroller",""],["items",""],["emptyFilter",""],["empty",""],[3,"click","ngClass","ngStyle"],[1,"p-hidden-accessible"],["role","combobox","pAutoFocus","",3,"focus","blur","keydown","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","autofocus"],[1,"p-multiselect-label-container",3,"mouseleave","pTooltip","tooltipDisabled","tooltipPosition","positionStyle","tooltipStyleClass"],[3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-multiselect-trigger"],[4,"ngIf","ngIfElse"],[3,"visibleChange","onAnimationStart","onHide","visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions"],["pTemplate","content"],["class","p-multiselect-token",4,"ngFor","ngForOf"],[1,"p-multiselect-token"],[1,"p-multiselect-token-label"],[3,"ngClass","styleClass","click",4,"ngIf"],["class","p-multiselect-token-icon",3,"click",4,"ngIf"],[3,"click","ngClass","styleClass"],[1,"p-multiselect-token-icon",3,"click"],[4,"ngTemplateOutlet"],[3,"styleClass","click",4,"ngIf"],["class","p-multiselect-clear-icon",3,"click",4,"ngIf"],[3,"click","styleClass"],[1,"p-multiselect-clear-icon",3,"click"],["aria-hidden","true",3,"ngClass",4,"ngIf"],["aria-hidden","true",3,"class",4,"ngIf"],["aria-hidden","true",3,"ngClass"],["aria-hidden","true"],["class","p-multiselect-trigger-icon",4,"ngIf"],["class","p-multiselect-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-multiselect-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-multiselect-trigger-icon"],[3,"ngClass","ngStyle"],["role","presentation",1,"p-hidden-accessible","p-hidden-focusable",3,"focus"],["class","p-multiselect-header",4,"ngIf"],[1,"p-multiselect-items-wrapper",3,"ngStyle"],[3,"items","style","itemSize","autoSize","tabindex","lazy","options","onLazyLoad",4,"ngIf"],["class","p-multiselect-footer",4,"ngIf"],[1,"p-multiselect-header"],["class","p-checkbox p-component",3,"ngClass","click","keydown",4,"ngIf"],["class","p-multiselect-filter-container",4,"ngIf"],["type","button","pRipple","",1,"p-multiselect-close","p-link","p-button-icon-only",3,"click"],["class","p-multiselect-close-icon",4,"ngIf"],[1,"p-checkbox","p-component",3,"click","keydown","ngClass"],["type","checkbox",3,"focus","blur","readonly","disabled"],["role","checkbox",1,"p-checkbox-box",3,"ngClass"],["class","p-checkbox-icon",4,"ngIf"],[1,"p-checkbox-icon"],[1,"p-multiselect-filter-container"],["type","text","role","searchbox","role","searchbox",1,"p-multiselect-filter","p-inputtext","p-component",3,"input","keydown","click","blur","value","disabled"],["class","p-multiselect-filter-icon",4,"ngIf"],[1,"p-multiselect-filter-icon"],[1,"p-multiselect-close-icon"],[3,"onLazyLoad","items","itemSize","autoSize","tabindex","lazy","options"],["pTemplate","loader"],["role","listbox","aria-multiselectable","true",1,"p-multiselect-items","p-component",3,"ngClass","ngStyle"],["ngFor","",3,"ngForOf"],["class","p-multiselect-empty-message","role","option",3,"ngStyle",4,"ngIf"],["role","option",1,"p-multiselect-item-group",3,"ngStyle"],[3,"onClick","onMouseEnter","id","option","selected","label","disabled","template","checkIconTemplate","itemCheckboxIconTemplate","itemSize","focused","ariaPosInset","ariaSetSize"],["role","option",1,"p-multiselect-empty-message",3,"ngStyle"],[1,"p-multiselect-footer"]],template:function(n,i){if(n&1){let l=V();oe(xt),u(0,"div",15,0),S("click",function(d){return f(l),g(i.onContainerClick(d))}),u(2,"div",16)(3,"input",17,1),S("focus",function(d){return f(l),g(i.onInputFocus(d))})("blur",function(d){return f(l),g(i.onInputBlur(d))})("keydown",function(d){return f(l),g(i.onKeyDown(d))}),_()(),u(5,"div",18),S("mouseleave",function(){return f(l),g(i.labelContainerMouseLeave())}),u(6,"div",19),p(7,Kt,3,2,"ng-container",20)(8,Ht,1,0,"ng-container",21),_(),p(9,Qt,3,2,"ng-container",20),_(),u(10,"div",22),p(11,Ut,3,2,"ng-container",23)(12,ii,2,2,"ng-template",null,2,te),_(),u(14,"p-overlay",24,3),ke("visibleChange",function(d){return f(l),Ve(i.overlayVisible,d)||(i.overlayVisible=d),g(d)}),S("onAnimationStart",function(d){return f(l),g(i.onOverlayAnimationStart(d))})("onHide",function(){return f(l),g(i.hide())}),p(16,Ui,12,18,"ng-template",25),_()()}if(n&2){let l,c=G(13);R(i.styleClass),a("ngClass",i.containerClass)("ngStyle",i.style),h("id",i.id),s(2),h("data-p-hidden-accessible",!0),s(),a("pTooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass)("autofocus",i.autofocus),h("aria-disabled",i.disabled)("id",i.inputId)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledBy)("aria-haspopup","listbox")("aria-expanded",(l=i.overlayVisible)!==null&&l!==void 0?l:!1)("aria-controls",i.overlayVisible?i.id+"_list":null)("tabindex",i.disabled?-1:i.tabindex)("aria-activedescendant",i.focused?i.focusedOptionId:void 0)("value",i.label()||"empty"),s(2),a("pTooltip",i.tooltip)("tooltipDisabled",i._disableTooltip)("tooltipPosition",i.tooltipPosition)("positionStyle",i.tooltipPositionStyle)("tooltipStyleClass",i.tooltipStyleClass),s(),a("ngClass",i.labelClass),s(),a("ngIf",!i.selectedItemsTemplate),s(),a("ngTemplateOutlet",i.selectedItemsTemplate)("ngTemplateOutletContext",K(41,St,i.selectedOptions,i.removeOption.bind(i))),s(),a("ngIf",i.isVisibleClearIcon),s(2),a("ngIf",i.loading)("ngIfElse",c),s(3),we("visible",i.overlayVisible),a("options",i.overlayOptions)("target","@parent")("appendTo",i.appendTo)("autoZIndex",i.autoZIndex)("baseZIndex",i.baseZIndex)("showTransitionOptions",i.showTransitionOptions)("hideTransitionOptions",i.hideTransitionOptions)}},dependencies:()=>[re,Ae,ce,de,pe,Ze,B,Ne,_e,$e,Be,q,be,fe,me,he,Yi],styles:[`@layer primeng{.p-multiselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer;display:flex}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-fluid .p-multiselect{display:flex}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-multiselect-clearable{position:relative}}
`],encapsulation:2,changeDetection:0})}return t})(),Ln=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=J({type:t});static \u0275inj=W({imports:[ne,ge,H,Ge,Re,ye,je,q,be,fe,me,he,q,qe,ge,H,ye]})}return t})();var Hn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=J({type:t});static \u0275inj=W({imports:[ne,H,H]})}return t})();export{Ji as a,Ln as b,Hn as c};