{"version":3,"file":"emote-sets.mjs","names":[],"sources":["../../../src/message/parser/emote-sets.ts"],"sourcesContent":["export type TwitchEmoteSets = string[];\n\nexport function parseEmoteSets(emoteSetsSource: string): TwitchEmoteSets {\n  // emote-sets=0,33,50,237,793,2126,3517,4578,5569,9400,10337,12239\n  // emote-sets=0\n  // 0 should never be absent, but we play extra safe and make \"no emote sets\"\n  // a handled case that returns an empty array.\n\n  if (emoteSetsSource.length <= 0) {\n    return [];\n  }\n\n  return emoteSetsSource.split(\",\").filter((string_) => string_.length > 0);\n}\n"],"mappings":";AAEA,SAAgB,eAAe,iBAA0C;AAMvE,KAAI,gBAAgB,UAAU,EAC5B,QAAO,EAAE;AAGX,QAAO,gBAAgB,MAAM,IAAI,CAAC,QAAQ,YAAY,QAAQ,SAAS,EAAE"}