{"version":3,"file":"capitalize.mjs","names":[],"sources":["../src/capitalize.ts"],"sourcesContent":["export function capitalize(value: string, locale?: string): string {\n\tconst charCode = value.codePointAt(0);\n\tif (charCode === undefined) {\n\t\treturn \"\";\n\t}\n\tconst firstChar = String.fromCodePoint(charCode);\n\treturn firstChar.toLocaleUpperCase(locale) + value.slice(firstChar.length);\n}\n"],"mappings":";AAAA,SAAgB,WAAW,OAAe,QAAyB;CAClE,MAAM,WAAW,MAAM,YAAY,EAAE;AACrC,KAAI,aAAa,OAChB,QAAO;CAER,MAAM,YAAY,OAAO,cAAc,SAAS;AAChD,QAAO,UAAU,kBAAkB,OAAO,GAAG,MAAM,MAAM,UAAU,OAAO"}