"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getInitialsForName", {
    enumerable: true,
    get: function() {
        return getInitialsForName;
    }
});
const getInitialsForName = (name)=>{
    if (!name) return '';
    const [firstName, secondName] = name.split(' ');
    const firstLetter = firstName?.[0] || '';
    const secondLatter = secondName?.[0] || '';
    return `${firstLetter}${secondLatter}`.toUpperCase();
};
