{"version":3,"file":"p-Dek79Uy1.js","sources":["src/components/website-components/sew-ws-header/helpers/labels.helpers.ts"],"sourcesContent":["import { Labels } from '../types/labels.types';\n\nexport class LabelParser {\n private labels: Labels;\n\n public constructor(labels: Labels) {\n this.labels = labels;\n }\n\n public getLabel(key: keyof Labels): string {\n return this.labels ? (this.labels[key] ?? key) : key;\n }\n}\n"],"names":[],"mappings":"MAEa,WAAW,CAAA;AAGpB,IAAA,WAAA,CAAmB,MAAc,EAAA;AAC7B,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM;;AAGjB,IAAA,QAAQ,CAAC,GAAiB,EAAA;;QAC7B,OAAO,IAAI,CAAC,MAAM,IAAI,MAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAI,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAA,GAAG,IAAI,GAAG;;AAE3D;;;;"}