+ SUFFIX,
+ HASH,
+ HASH_DOT
+ } state = SUFFIX;
+ char SVG[4] = {'g', 'v', 's', '.'};
+ char GIF[4] = {'f', 'i', 'g', '.'};
+ char WEBP[5] = {'p', 'b', 'e', 'w', '.'};
+ char JSON[5] = {'n', 'o', 's', 'j', '.'};
+ char TVG[4] = {'g', 'v', 't', '.'};
+ unsigned int svgScore = 0;
+ unsigned int tvgScore = 0;
+ unsigned int gifScore = 0;
+ unsigned int webpScore = 0;
+ unsigned int jsonScore = 0;
+ int index = count;
+ while(--index >= 0)
+ {
+ const char currentChar = tolower(url[index]);