1import{a as y}from"./chunk-GJB7S4M4.js";import{e as D}from"./chunk-PBD3D67Z.js";import"./chunk-GDUDO7DR.js";import{Z as g,_ as I,wa as C}from"./chunk-KOJ3BWW3.js";import{$b as d,Ad as h,Gb as r,Lb as p,Na as a,bc as m,fd as b,gc as f,gd as l,jc as u,na as s,qd as o,yc as c}from"./chunk-OUAW6PGT.js";import"./chunk-M5NEQLGQ.js";function T(t,v){if(t&1&&(u(0,"basf-wxp-benefits",0),b(1,"translate")),t&2){let e=c();f("headline",l(1,3,"pim.benefits"))("benefits",e.benefits())("background",e.background)}}var k=(()=>{class t extends D{constructor(){super(...arguments),this.DEFAULT_BENEFITS_ID="8a8081e5804534050180477358da5539",this.env=s(C,{optional:!0}),this.benefitsId=this.env?.mssAttributeIds?.benefitsId??this.DEFAULT_BENEFITS_ID,this.attributeId=h(this.benefitsId),this.benefits=o(()=>{let e=this.attributeByContext()?.value??[];return Array.isArray(e)?e:[e]}),this.hasContentToDisplay=o(()=>!!this.benefits()?.length)}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=a(t)))(n||t)}})()}static{this.\u0275cmp=r({type:t,selectors:[["basf-mgnl-pim-benefits"]],inputs:{attributeId:[1,"attributeId"]},outputs:{attributeId:"attributeIdChange"},features:[p],decls:1,vars:1,consts:[[3,"headline","benefits","background"]],template:function(i,n){i&1&&d(0,T,2,5,"basf-wxp-benefits",0),i&2&&m(n.hasContentToDisplay()?0:-1)},dependencies:[y,I,g],encapsulation:2,changeDetection:0})}}return t})();export{k as MgnlPimBenefitsComponent};
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.