1import{b as x,e as v,l as S}from"./chunk-777WSWZL.js";import{Lc as f,Mb as a,Mc as y,Ob as l,Tb as c,Ub as d,Vb as r,Wb as h,fb as s,kc as g,vc as m,wc as u,xb as C,yc as b}from"./chunk-TM6FWLLK.js";var _=(e,t,n)=>({"background-color":e,height:t,width:n}),B=(e,t)=>[e,t];function H(e,t){if(e&1&&(d(0,"div",1),u(1),r()),e&2){let n=g();s(),b(" ",n.text," ")}}function w(e,t){if(e&1&&h(0,"i",2),e&2){let n=g();c("ngClass",f(1,B,n.icon,n.iconSizeClass))}}var W=(()=>{let t=class t{constructor(){this.text="",this.icon="",this.iconSizeClass="us-icon-xs",this.bgColor="",this.stylingClass="",this.badgeHeight="2rem",this.badgeWidth="2rem",this.disabled=!1,this.class="us-badge p-component"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=C({type:t,selectors:[["us-badge"]],hostVars:2,hostBindings:function(o,i){o&2&&m(i.class)},inputs:{text:"text",icon:"icon",iconSizeClass:"iconSizeClass",bgColor:"bgColor",stylingClass:"stylingClass",badgeHeight:"badgeHeight",badgeWidth:"badgeWidth",disabled:"disabled"},decls:3,vars:8,consts:[[1,"flex","align-items-center","justify-content-center","border-circle",3,"ngClass","ngStyle"],[1,"flex-shrink-0"],[1,"flex-shrink-0","pointer-events-none","us-bg-bw-900",3,"ngClass"]],template:function(o,i){o&1&&(d(0,"div",0),a(1,H,2,1,"div",1),a(2,w,1,4,"i",2),r()),o&2&&(c("ngClass",i.disabled?i.stylingClass+" opacity-30 pointer-events-none":i.stylingClass+" cursor-pointer")("ngStyle",y(4,_,i.bgColor,i.badgeHeight,i.badgeWidth)),s(),l(i.text&&!i.icon?1:-1),s(),l(i.icon?2:-1))},dependencies:[S,x,v],styles:[`.us-badge .text-sm{line-height:unset} 2`],encapsulation:2,changeDetection:0});let e=t;return e})();export{W as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.