import{a as k,b as w,c as B,e as V}from"./chunk-OFYIPW5Z.js";import{$b as _,Tc as M,Uc as L,Xc as y}from"./chunk-ATD4AEXQ.js";import{Bb as c,Ka as a,Kc as v,Mb as x,Nb as h,Pb as E,Qb as d,Rb as r,Ta as C,Ua as g,Ub as I,Vb as S,Wb as P,bd as T,da as b,hb as s,ib as p,nb as u,ob as l,pb as o}from"./chunk-BXH3QC5E.js";function F(e,f){if(e&1&&(l(0,"div",8)(1,"span"),d(2),o()()),e&2){let n=c();x("background",n.getBackgroundColor()),h("hide-header-text",n.panelExpandedState),a(2),r(n.mainText)}}function G(e,f){if(e&1&&(l(0,"div",11),d(1),o()),e&2){let n=c(2);a(),r(n.subText)}}function H(e,f){if(e&1&&(l(0,"div",9)(1,"div",10),d(2),o(),s(3,G,2,1,"div",11),o()),e&2){let n=c();x("background",n.getBackgroundColor()),a(2),r(n.mainText),a(),p(n.showSubText()?3:-1)}}var N=(()=>{class e{class="abs-labeled-info-expansion-panel";expansionPanelLabel;customSVGIcon;icon;iconColor;mainText;subText;panelExpandedState;enabled;backgroundColor;showSubText(){return!_.isNullOrUndefinedOrEmpty(this.subText)}getIconColor(){return!this.iconColor||!this.enabled?null:this.iconColor.startsWith("#")?this.iconColor:`#${this.iconColor}`}getBackgroundColor(){return!this.backgroundColor||!this.enabled?null:this.backgroundColor.startsWith("#")?this.backgroundColor:`#${this.backgroundColor}`}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["abs-labeled-info-expansion-panel"]],hostVars:2,hostBindings:function(i,t){i&2&&E(t.class)},inputs:{expansionPanelLabel:"expansionPanelLabel",customSVGIcon:"customSVGIcon",icon:"icon",iconColor:"iconColor",mainText:"mainText",subText:"subText",panelExpandedState:"panelExpandedState",enabled:"enabled",backgroundColor:"backgroundColor"},standalone:!1,decls:10,vars:9,consts:[[1,"abs-expansion-panel",3,"expandedChange","expanded","disabled"],[1,"abs-expansion-panel-header"],[1,"abs-panel-title"],[1,"panel-title-icon",3,"svgIcon"],[1,"panel-title-text"],[1,"labeled-info-header-text",3,"hide-header-text","background"],[1,"labeled-info-expanded-row-wrapper"],[1,"labeled-info-expanded-row",3,"background"],[1,"labeled-info-header-text"],[1,"labeled-info-expanded-row"],[1,"main-text"],[1,"subtext"]],template:function(i,t){i&1&&(l(0,"mat-expansion-panel",0),P("expandedChange",function(m){return S(t.panelExpandedState,m)||(t.panelExpandedState=m),m}),l(1,"mat-expansion-panel-header",1)(2,"mat-panel-title",2)(3,"mat-icon",3),d(4),o(),l(5,"span",4),d(6),o()(),s(7,F,3,5,"div",5),o(),l(8,"div",6),s(9,H,4,4,"div",7),o()()),i&2&&(I("expanded",t.panelExpandedState),u("disabled",!t.enabled),a(3),x("color",t.getIconColor()),u("svgIcon",t.customSVGIcon),a(),r(t.icon),a(2),r(t.expansionPanelLabel),a(),p(t.enabled?7:-1),a(2),p(t.enabled?9:-1))},dependencies:[k,w,B,M],encapsulation:2})}return e})();var U=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=g({type:e});static \u0275inj=b({imports:[v,V,L,T,y]})}return e})();export{N as a,U as b};
