@dicebear/pixel-art-neutral
Advanced tools
Comparing version 4.10.0 to 4.10.1
import { utils } from '@dicebear/avatars'; | ||
var schema$1 = { | ||
const schema$1 = { | ||
"title": "Options", | ||
@@ -118,171 +118,65 @@ "$schema": "http://json-schema.org/draft-07/schema#", | ||
var eyes = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
} | ||
const eyes = { | ||
'variant13': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant12': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant11': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant10': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant09': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant08': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant07': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n", | ||
'variant06': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant05': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant04': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant03': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
'variant02': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
'variant01': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n" | ||
}; | ||
var eyebrows = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
} | ||
const eyebrows = { | ||
'variant13': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant12': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant11': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant10': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant09': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant08': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant07': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant06': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant05': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant04': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant03': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant02': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant01': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n") | ||
}; | ||
var mouth$1 = { | ||
'surprised03': function surprised03(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised02': function surprised02(components, colors) { | ||
return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy09': function happy09(components, colors) { | ||
return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy08': function happy08(components, colors) { | ||
return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy07': function happy07(components, colors) { | ||
return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy06': function happy06(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'happy05': function happy05(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy04': function happy04(components, colors) { | ||
return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy03': function happy03(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy02': function happy02(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"); | ||
}, | ||
'happy01': function happy01(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'sad08': function sad08(components, colors) { | ||
return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad07': function sad07(components, colors) { | ||
return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad06': function sad06(components, colors) { | ||
return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad05': function sad05(components, colors) { | ||
return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad04': function sad04(components, colors) { | ||
return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad03': function sad03(components, colors) { | ||
return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad02': function sad02(components, colors) { | ||
return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad01': function sad01(components, colors) { | ||
return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised01': function surprised01(components, colors) { | ||
return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"; | ||
} | ||
const mouth$1 = { | ||
'surprised03': (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'surprised02': (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy09': (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy08': (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy07': (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy06': (components, colors) => "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
'happy05': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy04': (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy03': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy02': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"), | ||
'happy01': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
'sad08': (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad07': (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad06': (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad05': (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad04': (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad03': (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad02': (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad01': (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'surprised01': (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n" | ||
}; | ||
var glasses$1 = { | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const glasses$1 = { | ||
'variant07': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant06': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant05': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant04': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant03': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant02': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant01': (components, colors) => "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
@@ -299,5 +193,5 @@ | ||
function pickComponent(prng, group) { | ||
var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
var componentCollection = components; | ||
var key = prng.pick(values); | ||
let values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
const componentCollection = components; | ||
const key = prng.pick(values); | ||
@@ -314,3 +208,3 @@ if (componentCollection[group][key]) { | ||
var skin = { | ||
const skin = { | ||
'variant01': 'rgba(255, 219, 172, 1)', | ||
@@ -326,3 +220,3 @@ 'variant02': 'rgba(245, 207, 160, 1)', | ||
var hair = { | ||
const hair = { | ||
'variant01': 'rgba(202, 177, 136, 1)', | ||
@@ -340,3 +234,3 @@ 'variant02': 'rgba(167, 137, 97, 1)', | ||
var mouth = { | ||
const mouth = { | ||
'variant01': 'rgba(210, 153, 133, 1)', | ||
@@ -348,3 +242,3 @@ 'variant02': 'rgba(201, 130, 118, 1)', | ||
var glasses = { | ||
const glasses = { | ||
'green01': 'rgba(95, 112, 92, 1)', | ||
@@ -369,3 +263,3 @@ 'blue01': 'rgba(67, 103, 125, 1)', | ||
var colorCollection = colors; | ||
const colorCollection = colors; | ||
@@ -376,3 +270,3 @@ if (values.length === 0) { | ||
var key = prng.pick(values); | ||
const key = prng.pick(values); | ||
return { | ||
@@ -384,3 +278,3 @@ name: key, | ||
var style = { | ||
const style = { | ||
meta: { | ||
@@ -395,12 +289,14 @@ title: 'Pixel Art - Neutral', | ||
schema: schema$1, | ||
create: function create(_ref) { | ||
create: _ref => { | ||
var _options$hairColor, _options$mouthColor, _options$glassesColor, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$glasses$v, _components$glasses; | ||
var prng = _ref.prng, | ||
options = _ref.options; | ||
var eyesComponent = pickComponent(prng, 'eyes', options.eyes); | ||
var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows); | ||
var mouthComponent = pickComponent(prng, 'mouth', options.mouth); | ||
var glassesComponent = pickComponent(prng, 'glasses', options.glasses); | ||
var components = { | ||
let { | ||
prng, | ||
options | ||
} = _ref; | ||
const eyesComponent = pickComponent(prng, 'eyes', options.eyes); | ||
const eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows); | ||
const mouthComponent = pickComponent(prng, 'mouth', options.mouth); | ||
const glassesComponent = pickComponent(prng, 'glasses', options.glasses); | ||
const components = { | ||
'eyes': eyesComponent, | ||
@@ -411,3 +307,3 @@ 'eyebrows': eyebrowsComponent, | ||
}; | ||
var colors = { | ||
const colors = { | ||
'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []), | ||
@@ -417,3 +313,3 @@ 'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []), | ||
}; | ||
var backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor; | ||
const backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor; | ||
options.backgroundColor = pickColor(prng, 'skin', backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : []).value; | ||
@@ -439,5 +335,7 @@ return { | ||
*/ | ||
var create = style.create, | ||
meta = style.meta, | ||
schema = style.schema; | ||
let { | ||
create, | ||
meta, | ||
schema | ||
} = style; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
@@ -444,0 +342,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var schema$1 = { | ||
const schema$1 = { | ||
"title": "Options", | ||
@@ -123,171 +123,65 @@ "$schema": "http://json-schema.org/draft-07/schema#", | ||
var eyes = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
} | ||
const eyes = { | ||
'variant13': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant12': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant11': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant10': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant09': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant08': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant07': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n", | ||
'variant06': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant05': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant04': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
'variant03': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
'variant02': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
'variant01': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n" | ||
}; | ||
var eyebrows = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
} | ||
const eyebrows = { | ||
'variant13': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant12': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant11': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant10': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant09': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant08': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant07': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant06': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant05': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant04': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant03': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant02': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
'variant01': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n") | ||
}; | ||
var mouth$1 = { | ||
'surprised03': function surprised03(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised02': function surprised02(components, colors) { | ||
return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy09': function happy09(components, colors) { | ||
return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy08': function happy08(components, colors) { | ||
return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy07': function happy07(components, colors) { | ||
return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy06': function happy06(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'happy05': function happy05(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy04': function happy04(components, colors) { | ||
return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy03': function happy03(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy02': function happy02(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"); | ||
}, | ||
'happy01': function happy01(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'sad08': function sad08(components, colors) { | ||
return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad07': function sad07(components, colors) { | ||
return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad06': function sad06(components, colors) { | ||
return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad05': function sad05(components, colors) { | ||
return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad04': function sad04(components, colors) { | ||
return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad03': function sad03(components, colors) { | ||
return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad02': function sad02(components, colors) { | ||
return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad01': function sad01(components, colors) { | ||
return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised01': function surprised01(components, colors) { | ||
return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"; | ||
} | ||
const mouth$1 = { | ||
'surprised03': (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'surprised02': (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy09': (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy08': (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy07': (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy06': (components, colors) => "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
'happy05': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy04': (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy03': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'happy02': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"), | ||
'happy01': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
'sad08': (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad07': (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad06': (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad05': (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad04': (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad03': (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad02': (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'sad01': (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
'surprised01': (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n" | ||
}; | ||
var glasses$1 = { | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const glasses$1 = { | ||
'variant07': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant06': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant05': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant04': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant03': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant02': (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
'variant01': (components, colors) => "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
@@ -304,5 +198,5 @@ | ||
function pickComponent(prng, group) { | ||
var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
var componentCollection = components; | ||
var key = prng.pick(values); | ||
let values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
const componentCollection = components; | ||
const key = prng.pick(values); | ||
@@ -319,3 +213,3 @@ if (componentCollection[group][key]) { | ||
var skin = { | ||
const skin = { | ||
'variant01': 'rgba(255, 219, 172, 1)', | ||
@@ -331,3 +225,3 @@ 'variant02': 'rgba(245, 207, 160, 1)', | ||
var hair = { | ||
const hair = { | ||
'variant01': 'rgba(202, 177, 136, 1)', | ||
@@ -345,3 +239,3 @@ 'variant02': 'rgba(167, 137, 97, 1)', | ||
var mouth = { | ||
const mouth = { | ||
'variant01': 'rgba(210, 153, 133, 1)', | ||
@@ -353,3 +247,3 @@ 'variant02': 'rgba(201, 130, 118, 1)', | ||
var glasses = { | ||
const glasses = { | ||
'green01': 'rgba(95, 112, 92, 1)', | ||
@@ -374,3 +268,3 @@ 'blue01': 'rgba(67, 103, 125, 1)', | ||
var colorCollection = colors; | ||
const colorCollection = colors; | ||
@@ -381,3 +275,3 @@ if (values.length === 0) { | ||
var key = prng.pick(values); | ||
const key = prng.pick(values); | ||
return { | ||
@@ -389,3 +283,3 @@ name: key, | ||
var style = { | ||
const style = { | ||
meta: { | ||
@@ -400,12 +294,14 @@ title: 'Pixel Art - Neutral', | ||
schema: schema$1, | ||
create: function create(_ref) { | ||
create: _ref => { | ||
var _options$hairColor, _options$mouthColor, _options$glassesColor, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$glasses$v, _components$glasses; | ||
var prng = _ref.prng, | ||
options = _ref.options; | ||
var eyesComponent = pickComponent(prng, 'eyes', options.eyes); | ||
var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows); | ||
var mouthComponent = pickComponent(prng, 'mouth', options.mouth); | ||
var glassesComponent = pickComponent(prng, 'glasses', options.glasses); | ||
var components = { | ||
let { | ||
prng, | ||
options | ||
} = _ref; | ||
const eyesComponent = pickComponent(prng, 'eyes', options.eyes); | ||
const eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows); | ||
const mouthComponent = pickComponent(prng, 'mouth', options.mouth); | ||
const glassesComponent = pickComponent(prng, 'glasses', options.glasses); | ||
const components = { | ||
'eyes': eyesComponent, | ||
@@ -416,3 +312,3 @@ 'eyebrows': eyebrowsComponent, | ||
}; | ||
var colors = { | ||
const colors = { | ||
'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []), | ||
@@ -422,3 +318,3 @@ 'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []), | ||
}; | ||
var backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor; | ||
const backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor; | ||
options.backgroundColor = pickColor(prng, 'skin', backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : []).value; | ||
@@ -444,5 +340,7 @@ return { | ||
*/ | ||
var create = style.create, | ||
meta = style.meta, | ||
schema = style.schema; | ||
let { | ||
create, | ||
meta, | ||
schema | ||
} = style; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
@@ -453,4 +351,4 @@ | ||
exports.create = create; | ||
exports['default'] = index; | ||
exports["default"] = index; | ||
exports.meta = meta; | ||
exports.schema = schema; |
@@ -1,2 +0,2 @@ | ||
!function(a,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],n):n(((a="undefined"!=typeof globalThis?globalThis:a||self).DiceBear=a.DiceBear||{},a.DiceBear.PixelArtNeutral={}),a.DiceBear)}(this,(function(a,n){"use strict";var h=Object.freeze({__proto__:null,eyes:{variant13:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant12:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/>\n</g>\n'},variant11:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant10:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant09:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant08:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant07:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/>\n<path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/>\n<path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n'},variant06:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant05:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n</g>\n'},variant04:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant03:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/>\n<path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/>\n<path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/>\n</g>\n'},variant02:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n<path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/>\n</g>\n'},variant01:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/>\n<path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/>\n<path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n'}},eyebrows:{variant13:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="'.concat(n.hair.value,'"/>\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant12:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant11:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant10:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant09:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="'.concat(n.hair.value,'"/>\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant08:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant07:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant06:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant05:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant04:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="'.concat(n.hair.value,'"/>\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant03:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="'.concat(n.hair.value,'"/>\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant02:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant01:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="'.concat(n.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/>\n</g>\n')}},mouth:{surprised03:function(a,n){return'\n<path d="M9 12v2h2v-2H9Z" fill="'.concat(n.mouth.value,'"/>\n')},surprised02:function(a,n){return'\n<path d="M9 13v1h1v-1H9Z" fill="'.concat(n.mouth.value,'"/>\n')},happy09:function(a,n){return'\n<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="'.concat(n.mouth.value,'"/>\n')},happy08:function(a,n){return'\n<path d="M10 12v1H9v1h2v-2h-1Z" fill="'.concat(n.mouth.value,'"/>\n')},happy07:function(a,n){return'\n<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},happy06:function(a,n){return'\n<path d="M9 12v2h2v-1h-1v-1H9Z" fill="'.concat(n.mouth.value,'"/>\n<path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>\n')},happy05:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},happy04:function(a,n){return'\n<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="'.concat(n.mouth.value,'"/>\n')},happy03:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},happy02:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(n.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff"/>\n')},happy01:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(n.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>\n')},sad08:function(a,n){return'\n<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="'.concat(n.mouth.value,'"/>\n')},sad07:function(a,n){return'\n<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="'.concat(n.mouth.value,'"/>\n')},sad06:function(a,n){return'\n<path d="M8 12h3v1H8v-1Z" fill="'.concat(n.mouth.value,'"/>\n')},sad05:function(a,n){return'\n<path d="M8 12h4v1H8v-1Z" fill="'.concat(n.mouth.value,'"/>\n')},sad04:function(a,n){return'\n<path d="M9 12h2v1H9v-1Z" fill="'.concat(n.mouth.value,'"/>\n')},sad03:function(a,n){return'\n<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},sad02:function(a,n){return'\n<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},sad01:function(a,n){return'\n<path d="M10 12v1h1v1h1v-2h-2Z" fill="'.concat(n.mouth.value,'"/>\n')},surprised01:function(a,n){return'\n<path d="M8 12v2h4v-2H8Z" fill="#fff"/>\n'}},glasses:{variant07:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="'.concat(n.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant06:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="'.concat(n.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant05:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="'.concat(n.glasses.value,'"/>\n<path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant04:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="'.concat(n.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant03:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="'.concat(n.glasses.value,'"/>\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/>\n<path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant02:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="'.concat(n.glasses.value,'"/>\n<path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/>\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant01:function(a,n){return'\n<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="'.concat(n.glasses.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>\n')}}});function t(a,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],v=h,l=a.pick(t);return v[n][l]?{name:l,value:v[n][l]}:void 0}var v=Object.freeze({__proto__:null,skin:{variant01:"rgba(255, 219, 172, 1)",variant02:"rgba(245, 207, 160, 1)",variant03:"rgba(234, 195, 147, 1)",variant04:"rgba(224, 182, 135, 1)",variant05:"rgba(203, 158, 110, 1)",variant06:"rgba(182, 134, 85, 1)",variant07:"rgba(162, 109, 61, 1)",variant08:"rgba(141, 85, 36, 1)"},hair:{variant01:"rgba(202, 177, 136, 1)",variant02:"rgba(167, 137, 97, 1)",variant03:"rgba(131, 98, 59, 1)",variant04:"rgba(96, 58, 20, 1)",variant05:"rgba(96, 48, 21, 1)",variant06:"rgba(97, 38, 22, 1)",variant07:"rgba(97, 28, 23, 1)",variant08:"rgba(78, 26, 19, 1)",variant09:"rgba(59, 23, 14, 1)",variant10:"rgba(40, 21, 10, 1)"},mouth:{variant01:"rgba(210, 153, 133, 1)",variant02:"rgba(201, 130, 118, 1)",variant03:"rgba(227, 93, 106, 1)",variant04:"rgba(222, 15, 13, 1)"},glasses:{green01:"rgba(95, 112, 92, 1)",blue01:"rgba(67, 103, 125, 1)",red01:"rgba(160, 75, 93, 1)",black01:"rgba(75, 75, 75, 1)",black02:"rgba(50, 50, 50, 1)",black03:"rgba(25, 25, 25, 1)"}});function l(a,n,h){var t,l=v;0===h.length&&h.push("transparent");var i=a.pick(h);return{name:i,value:null!==(t=l[n][i])&&void 0!==t?t:i}}var i={meta:{title:"Pixel Art - Neutral",creator:"Plastic Jam",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{eyes:{title:"Eyes",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyebrows:{title:"Eyebrows",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},mouth:{title:"Mouth",type:"array",items:{type:"string",enum:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},default:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},glasses:{title:"Glasses",type:"array",items:{type:"string",enum:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},glassesProbability:{title:"Glasses Probability",default:20,type:"integer",minimum:0,maximum:100},backgroundColor:{title:"Background Color",anyOf:[{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"},{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"array",items:{anyOf:[{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]}}],default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]},hairColor:{title:"Hair Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},mouthColor:{title:"Mouth Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04"]},glassesColor:{title:"Glasses Color",type:"array",items:{anyOf:[{type:"string",enum:["green01","blue01","red01","black01","black02","black03"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["green01","blue01","red01","black01","black02","black03"]}},additionalProperties:!1},create:function(a){var n,h,v,i,r,e,f,o,d,u,p,V=a.prng,c=a.options,Z=t(V,"eyes",c.eyes),s=t(V,"eyebrows",c.eyebrows),H=t(V,"mouth",c.mouth),m=t(V,"glasses",c.glasses),g={eyes:Z,eyebrows:s,mouth:H,glasses:V.bool(c.glassesProbability)?m:void 0},y={hair:l(V,"hair",null!==(n=c.hairColor)&&void 0!==n?n:[]),mouth:l(V,"mouth",null!==(h=c.mouthColor)&&void 0!==h?h:[]),glasses:l(V,"glasses",null!==(v=c.glassesColor)&&void 0!==v?v:[])},M="string"==typeof c.backgroundColor?[c.backgroundColor]:c.backgroundColor;return c.backgroundColor=l(V,"skin",null!=M?M:[]).value,{attributes:{viewBox:"0 0 14 14",fill:"none"},body:'\n<g transform="translate(-3 -3)">\n'.concat(null!==(i=null===(r=g.eyes)||void 0===r?void 0:r.value(g,y))&&void 0!==i?i:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(e=null===(f=g.eyebrows)||void 0===f?void 0:f.value(g,y))&&void 0!==e?e:"",'\n</g>\n<g transform="translate(-3 -2)">\n').concat(null!==(o=null===(d=g.mouth)||void 0===d?void 0:d.value(g,y))&&void 0!==o?o:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(u=null===(p=g.glasses)||void 0===p?void 0:p.value(g,y))&&void 0!==u?u:"","\n</g>\n")}}},r=i.create,e=i.meta,f=i.schema,o=n.utils.style.createLegacyWrapper(i); | ||
!function(a,h){"object"==typeof exports&&"undefined"!=typeof module?h(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],h):h(((a="undefined"!=typeof globalThis?globalThis:a||self).DiceBear=a.DiceBear||{},a.DiceBear.PixelArtNeutral={}),a.DiceBear)}(this,(function(a,h){"use strict";var v=Object.freeze({__proto__:null,eyes:{variant13:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant12:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/>\n</g>\n',variant11:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant10:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant09:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant08:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant07:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/>\n<path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/>\n<path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n',variant06:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant05:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n</g>\n',variant04:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant03:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/>\n<path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/>\n<path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/>\n</g>\n',variant02:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n<path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/>\n</g>\n',variant01:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/>\n<path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/>\n<path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n'},eyebrows:{variant13:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="'.concat(h.hair.value,'"/>\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant12:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant11:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant10:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant09:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant08:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant07:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant06:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant05:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant04:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant03:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant02:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant01:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},mouth:{surprised03:(a,h)=>'\n<path d="M9 12v2h2v-2H9Z" fill="'.concat(h.mouth.value,'"/>\n'),surprised02:(a,h)=>'\n<path d="M9 13v1h1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),happy09:(a,h)=>'\n<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="'.concat(h.mouth.value,'"/>\n'),happy08:(a,h)=>'\n<path d="M10 12v1H9v1h2v-2h-1Z" fill="'.concat(h.mouth.value,'"/>\n'),happy07:(a,h)=>'\n<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy06:(a,h)=>'\n<path d="M9 12v2h2v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>\n'),happy05:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy04:(a,h)=>'\n<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),happy03:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy02:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff"/>\n'),happy01:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>\n'),sad08:(a,h)=>'\n<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),sad07:(a,h)=>'\n<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="'.concat(h.mouth.value,'"/>\n'),sad06:(a,h)=>'\n<path d="M8 12h3v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad05:(a,h)=>'\n<path d="M8 12h4v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad04:(a,h)=>'\n<path d="M9 12h2v1H9v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad03:(a,h)=>'\n<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),sad02:(a,h)=>'\n<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),sad01:(a,h)=>'\n<path d="M10 12v1h1v1h1v-2h-2Z" fill="'.concat(h.mouth.value,'"/>\n'),surprised01:(a,h)=>'\n<path d="M8 12v2h4v-2H8Z" fill="#fff"/>\n'},glasses:{variant07:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant06:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant05:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant04:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant03:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/>\n<path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant02:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="'.concat(h.glasses.value,'"/>\n<path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/>\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant01:(a,h)=>'\n<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="'.concat(h.glasses.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>\n')}});function l(a,h){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=v,t=a.pick(l);return n[h][t]?{name:t,value:n[h][t]}:void 0}var n=Object.freeze({__proto__:null,skin:{variant01:"rgba(255, 219, 172, 1)",variant02:"rgba(245, 207, 160, 1)",variant03:"rgba(234, 195, 147, 1)",variant04:"rgba(224, 182, 135, 1)",variant05:"rgba(203, 158, 110, 1)",variant06:"rgba(182, 134, 85, 1)",variant07:"rgba(162, 109, 61, 1)",variant08:"rgba(141, 85, 36, 1)"},hair:{variant01:"rgba(202, 177, 136, 1)",variant02:"rgba(167, 137, 97, 1)",variant03:"rgba(131, 98, 59, 1)",variant04:"rgba(96, 58, 20, 1)",variant05:"rgba(96, 48, 21, 1)",variant06:"rgba(97, 38, 22, 1)",variant07:"rgba(97, 28, 23, 1)",variant08:"rgba(78, 26, 19, 1)",variant09:"rgba(59, 23, 14, 1)",variant10:"rgba(40, 21, 10, 1)"},mouth:{variant01:"rgba(210, 153, 133, 1)",variant02:"rgba(201, 130, 118, 1)",variant03:"rgba(227, 93, 106, 1)",variant04:"rgba(222, 15, 13, 1)"},glasses:{green01:"rgba(95, 112, 92, 1)",blue01:"rgba(67, 103, 125, 1)",red01:"rgba(160, 75, 93, 1)",black01:"rgba(75, 75, 75, 1)",black02:"rgba(50, 50, 50, 1)",black03:"rgba(25, 25, 25, 1)"}});function t(a,h,v){var l;const t=n;0===v.length&&v.push("transparent");const i=a.pick(v);return{name:i,value:null!==(l=t[h][i])&&void 0!==l?l:i}}const i={meta:{title:"Pixel Art - Neutral",creator:"Plastic Jam",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{eyes:{title:"Eyes",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyebrows:{title:"Eyebrows",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},mouth:{title:"Mouth",type:"array",items:{type:"string",enum:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},default:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},glasses:{title:"Glasses",type:"array",items:{type:"string",enum:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},glassesProbability:{title:"Glasses Probability",default:20,type:"integer",minimum:0,maximum:100},backgroundColor:{title:"Background Color",anyOf:[{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"},{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"array",items:{anyOf:[{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]}}],default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]},hairColor:{title:"Hair Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},mouthColor:{title:"Mouth Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04"]},glassesColor:{title:"Glasses Color",type:"array",items:{anyOf:[{type:"string",enum:["green01","blue01","red01","black01","black02","black03"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["green01","blue01","red01","black01","black02","black03"]}},additionalProperties:!1},create:a=>{var h,v,n,i,e,r,f,d,p,o,V;let{prng:u,options:c}=a;const Z=l(u,"eyes",c.eyes),s=l(u,"eyebrows",c.eyebrows),H=l(u,"mouth",c.mouth),m=l(u,"glasses",c.glasses),g={eyes:Z,eyebrows:s,mouth:H,glasses:u.bool(c.glassesProbability)?m:void 0},y={hair:t(u,"hair",null!==(h=c.hairColor)&&void 0!==h?h:[]),mouth:t(u,"mouth",null!==(v=c.mouthColor)&&void 0!==v?v:[]),glasses:t(u,"glasses",null!==(n=c.glassesColor)&&void 0!==n?n:[])},M="string"==typeof c.backgroundColor?[c.backgroundColor]:c.backgroundColor;return c.backgroundColor=t(u,"skin",null!=M?M:[]).value,{attributes:{viewBox:"0 0 14 14",fill:"none"},body:'\n<g transform="translate(-3 -3)">\n'.concat(null!==(i=null===(e=g.eyes)||void 0===e?void 0:e.value(g,y))&&void 0!==i?i:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(r=null===(f=g.eyebrows)||void 0===f?void 0:f.value(g,y))&&void 0!==r?r:"",'\n</g>\n<g transform="translate(-3 -2)">\n').concat(null!==(d=null===(p=g.mouth)||void 0===p?void 0:p.value(g,y))&&void 0!==d?d:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(o=null===(V=g.glasses)||void 0===V?void 0:V.value(g,y))&&void 0!==o?o:"","\n</g>\n")}}}; | ||
/*! | ||
@@ -10,2 +10,2 @@ * Pixel Art - Neutral (@dicebear/pixel-art-neutral) | ||
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE | ||
*/a.create=r,a.default=o,a.meta=e,a.schema=f,Object.defineProperty(a,"__esModule",{value:!0})})); | ||
*/let{create:e,meta:r,schema:f}=i;var d=h.utils.style.createLegacyWrapper(i);a.create=e,a.default=d,a.meta=r,a.schema=f,Object.defineProperty(a,"__esModule",{value:!0})})); |
{ | ||
"name": "@dicebear/pixel-art-neutral", | ||
"version": "4.10.0", | ||
"version": "4.10.1", | ||
"description": "Avatar style for DiceBear", | ||
@@ -32,7 +32,7 @@ "keywords": [ | ||
"devDependencies": { | ||
"@dicebear/avatars": "^4.10.0", | ||
"@dicebear/avatars": "^4.10.1", | ||
"@tsconfig/recommended": "^1.0.0", | ||
"@types/jest": "^26.0.22", | ||
"@types/node": "^10.11.6", | ||
"dicebear-project": "^4.10.0", | ||
"dicebear-project": "^4.10.1", | ||
"jest": "^26.6.3", | ||
@@ -46,3 +46,3 @@ "ts-jest": "^26.5.4", | ||
}, | ||
"gitHead": "0730db32500de743b65f569ccfc07016cd05851d" | ||
"gitHead": "17544b870814b3d3ba75be43e8f0e73ab7636ca9" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73012
843