{"mappings":"gbAAA,IAAAA,EAAAC,EAAA,SAGO,SAASC,EAAkBC,EAAoCC,GACrE,OAAOC,EAAgCF,EAAQG,cAAeF,E,CAGxD,SAASC,EAAgCE,EAA8BH,GAE7E,MAAQ,IADOI,+CAC0BD,IAAuBH,EAAQ,IAAMA,EAAQ,I","sources":["src/Benefits/BenefitUtils.tsx"],"sourcesContent":["import { useCommonUiRoot } from '../hooks/useSetting';\n\n//Do not use this method in new implementations import icons from dls instead, check also BenefitIcon.tsx if you can use that\nexport function getBenefitIconUrl(benefit: { technicalName: string }, color?: string) {\n\treturn getBenefitIconUrlByTechicalName(benefit.technicalName, color);\n}\n\nexport function getBenefitIconUrlByTechicalName(benefitTechnicalName: string, color?: string) {\n\tconst cdnUrl = useCommonUiRoot();\n\treturn `${cdnUrl}images/benefits/icons/${benefitTechnicalName}${color ? '-' + color : ''}`;\n}\n"],"names":["$gK2yt","parcelRequire","getBenefitIconUrl","benefit","color","getBenefitIconUrlByTechicalName","technicalName","benefitTechnicalName","useCommonUiRoot"],"version":3,"file":"ApartmentPageNew.1b00f205.js.map"}