@dicebear/miniavs 5.0.0-alpha.4 → 5.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -231,64 +231,64 @@ var schema$1 = {
231
231
  };
232
232
 
233
233
  const head = {
234
- normal: (components, colors) => "\n<path d=\"M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<path d=\"M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>\n"),
235
- wide: (components, colors) => "\n<path d=\"M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<path d=\"M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>\n"),
236
- thin: (components, colors) => "\n<path d=\"M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<path d=\"M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>\n")
234
+ normal: (components, colors) => "<path d=\"M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/><path d=\"M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z\" fill=\"#000\" fill-opacity=\".07\"/><path d=\"M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z\" fill=\"#000\" fill-opacity=\".07\"/><rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>"),
235
+ wide: (components, colors) => "<path d=\"M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z\" fill=\"".concat(colors.skin.value, "\"/><path d=\"M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z\" fill=\"#000\" fill-opacity=\".07\"/><path d=\"M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z\" fill=\"#000\" fill-opacity=\".07\"/><rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>"),
236
+ thin: (components, colors) => "<path d=\"M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/><path d=\"M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z\" fill=\"#000\" fill-opacity=\".07\"/><path d=\"M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z\" fill=\"#000\" fill-opacity=\".07\"/><rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>")
237
237
  };
238
238
 
239
239
  const body$1 = {
240
- tShirt: (components, colors) => "\n<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/>\n"),
241
- golf: (components, colors) => "\n<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/>\n<path d=\"M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z\" fill=\"").concat(colors.body.value, "\"/>\n<path d=\"M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z\" fill=\"#000\" fill-opacity=\".2\"/>\n<path d=\"M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z\" fill=\"").concat(colors.body.value, "\"/>\n")
240
+ tShirt: (components, colors) => "<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/>"),
241
+ golf: (components, colors) => "<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/><path d=\"M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z\" fill=\"").concat(colors.body.value, "\"/><path d=\"M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z\" fill=\"#000\" fill-opacity=\".2\"/><path d=\"M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z\" fill=\"").concat(colors.body.value, "\"/>")
242
242
  };
243
243
 
244
244
  const hair$1 = {
245
- balndess: (components, colors) => "\n<g fill=\"".concat(colors.hair.value, "\">\n<rect x=\"14\" y=\"26\" width=\"9\" height=\"2\" rx=\"1\"/>\n<rect x=\"14\" y=\"33\" width=\"7\" height=\"2\" rx=\"1\"/>\n<rect x=\"12\" y=\"29\" width=\"13\" height=\"3\" rx=\"1.5\"/>\n</g>\n"),
246
- slaughter: (components, colors) => "\n<path d=\"M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
247
- ponyTail: (components, colors) => "\n<path d=\"M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z\" fill=\"#FF6C98\"/>\n<path d=\"m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z\" fill=\"").concat(colors.hair.value, "\"/>\n"),
248
- long: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
249
- curly: (components, colors) => "\n<g fill=\"".concat(colors.hair.value, "\">\n<path d=\"M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z\"/>\n<path d=\"M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z\"/>\n</g>\n"),
250
- stylish: (components, colors) => "\n<path d=\"M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
251
- elvis: (components, colors) => "\n<path d=\"M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
252
- classic02: (components, colors) => "\n<path d=\"M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
253
- classic01: (components, colors) => "\n<path d=\"M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z\" fill=\"".concat(colors.hair.value, "\"/>\n")
245
+ balndess: (components, colors) => "<g fill=\"".concat(colors.hair.value, "\"><rect x=\"14\" y=\"26\" width=\"9\" height=\"2\" rx=\"1\"/><rect x=\"14\" y=\"33\" width=\"7\" height=\"2\" rx=\"1\"/><rect x=\"12\" y=\"29\" width=\"13\" height=\"3\" rx=\"1.5\"/></g>"),
246
+ slaughter: (components, colors) => "<path d=\"M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z\" fill=\"".concat(colors.hair.value, "\"/>"),
247
+ ponyTail: (components, colors) => "<path d=\"M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z\" fill=\"#FF6C98\"/><path d=\"m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z\" fill=\"").concat(colors.hair.value, "\"/>"),
248
+ long: (components, colors) => "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z\" fill=\"".concat(colors.hair.value, "\"/>"),
249
+ curly: (components, colors) => "<g fill=\"".concat(colors.hair.value, "\"><path d=\"M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z\"/><path d=\"M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z\"/></g>"),
250
+ stylish: (components, colors) => "<path d=\"M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z\" fill=\"".concat(colors.hair.value, "\"/>"),
251
+ elvis: (components, colors) => "<path d=\"M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z\" fill=\"".concat(colors.hair.value, "\"/>"),
252
+ classic02: (components, colors) => "<path d=\"M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z\" fill=\"".concat(colors.hair.value, "\"/>"),
253
+ classic01: (components, colors) => "<path d=\"M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z\" fill=\"".concat(colors.hair.value, "\"/>")
254
254
  };
255
255
 
256
256
  const mouth = {
257
- default: (components, colors) => "\n<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/>\n<path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/>\n<path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/>\n",
258
- missingTooth: (components, colors) => "\n<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/>\n<path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/>\n<path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/>\n<path d=\"M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z\" fill=\"#B03E67\"/>\n"
257
+ default: (components, colors) => "<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/><path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/><path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/>",
258
+ missingTooth: (components, colors) => "<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/><path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/><path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/><path d=\"M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z\" fill=\"#B03E67\"/>"
259
259
  };
260
260
 
261
261
  const eyes = {
262
262
  normal: (components, colors) => {
263
263
  var _components$blushes$v, _components$blushes;
264
264
 
265
- return "\n<g fill=\"".concat(colors.hair.value, "\">\n<rect x=\"30\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/>\n<rect x=\"40\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/>\n</g>\n").concat((_components$blushes$v = (_components$blushes = components.blushes) === null || _components$blushes === void 0 ? void 0 : _components$blushes.value(components, colors)) !== null && _components$blushes$v !== void 0 ? _components$blushes$v : '', "\n");
265
+ return "<g fill=\"".concat(colors.hair.value, "\"><rect x=\"30\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/><rect x=\"40\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/></g>").concat((_components$blushes$v = (_components$blushes = components.blushes) === null || _components$blushes === void 0 ? void 0 : _components$blushes.value(components, colors)) !== null && _components$blushes$v !== void 0 ? _components$blushes$v : '');
266
266
  },
267
267
  confident: (components, colors) => {
268
268
  var _components$blushes$v2, _components$blushes2;
269
269
 
270
- return "\n".concat((_components$blushes$v2 = (_components$blushes2 = components.blushes) === null || _components$blushes2 === void 0 ? void 0 : _components$blushes2.value(components, colors)) !== null && _components$blushes$v2 !== void 0 ? _components$blushes$v2 : '', "\n<path d=\"M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z\" fill=\"").concat(colors.hair.value, "\"/>\n<path stroke=\"").concat(colors.hair.value, "\" stroke-linecap=\"round\" d=\"M29.5 36.5h4M39.5 36.5h4\"/>\n");
270
+ return "".concat((_components$blushes$v2 = (_components$blushes2 = components.blushes) === null || _components$blushes2 === void 0 ? void 0 : _components$blushes2.value(components, colors)) !== null && _components$blushes$v2 !== void 0 ? _components$blushes$v2 : '', "<path d=\"M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z\" fill=\"").concat(colors.hair.value, "\"/><path stroke=\"").concat(colors.hair.value, "\" stroke-linecap=\"round\" d=\"M29.5 36.5h4M39.5 36.5h4\"/>");
271
271
  },
272
272
  happy: (components, colors) => {
273
273
  var _components$blushes$v3, _components$blushes3;
274
274
 
275
- return "\n".concat((_components$blushes$v3 = (_components$blushes3 = components.blushes) === null || _components$blushes3 === void 0 ? void 0 : _components$blushes3.value(components, colors)) !== null && _components$blushes$v3 !== void 0 ? _components$blushes$v3 : '', "\n<path d=\"M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z\" fill=\"#1B0B47\"/>\n");
275
+ return "".concat((_components$blushes$v3 = (_components$blushes3 = components.blushes) === null || _components$blushes3 === void 0 ? void 0 : _components$blushes3.value(components, colors)) !== null && _components$blushes$v3 !== void 0 ? _components$blushes$v3 : '', "<path d=\"M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z\" fill=\"#1B0B47\"/>");
276
276
  }
277
277
  };
278
278
 
279
279
  const glasses = {
280
- normal: (components, colors) => "\n<g stroke=\"#000\" stroke-width=\"2\">\n<circle cx=\"30.27\" cy=\"36.27\" r=\"4.27\"/>\n<circle cx=\"44.27\" cy=\"36.27\" r=\"4.27\"/>\n<path d=\"m33.99 35.11 7-.1\"/>\n</g>\n"
280
+ normal: (components, colors) => "<g stroke=\"#000\" stroke-width=\"2\"><circle cx=\"30.27\" cy=\"36.27\" r=\"4.27\"/><circle cx=\"44.27\" cy=\"36.27\" r=\"4.27\"/><path d=\"m33.99 35.11 7-.1\"/></g>"
281
281
  };
282
282
 
283
283
  const mustache = {
284
- pencilThinBeard: (components, colors) => "\n<path d=\"M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
285
- pencilThin: (components, colors) => "\n<path d=\"M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
286
- horshoe: (components, colors) => "\n<path d=\"M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
287
- freddy: (components, colors) => "\n<path d=\"M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z\" fill=\"".concat(colors.hair.value, "\"/>\n")
284
+ pencilThinBeard: (components, colors) => "<path d=\"M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z\" fill=\"".concat(colors.hair.value, "\"/>"),
285
+ pencilThin: (components, colors) => "<path d=\"M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z\" fill=\"".concat(colors.hair.value, "\"/>"),
286
+ horshoe: (components, colors) => "<path d=\"M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z\" fill=\"".concat(colors.hair.value, "\"/>"),
287
+ freddy: (components, colors) => "<path d=\"M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z\" fill=\"".concat(colors.hair.value, "\"/>")
288
288
  };
289
289
 
290
290
  const blushes = {
291
- default: (components, colors) => "\n<g fill=\"#FF859B\">\n<rect x=\"24\" y=\"39\" width=\"5\" height=\"3\" rx=\"1.5\"/>\n<rect x=\"43\" y=\"39\" width=\"4\" height=\"3\" rx=\"1.5\"/>\n</g>\n"
291
+ default: (components, colors) => "<g fill=\"#FF859B\"><rect x=\"24\" y=\"39\" width=\"5\" height=\"3\" rx=\"1.5\"/><rect x=\"43\" y=\"39\" width=\"4\" height=\"3\" rx=\"1.5\"/></g>"
292
292
  };
293
293
 
294
294
  var components = /*#__PURE__*/Object.freeze({
@@ -496,7 +496,7 @@ const style = {
496
496
  },
497
497
  schema: schema$1,
498
498
  create: _ref => {
499
- var _components$head$valu, _components$head, _components$body$valu, _components$body, _components$hair$valu, _components$hair, _components$mouth$val, _components$mouth, _components$eyes$valu, _components$eyes, _components$glasses$v, _components$glasses, _components$mustache$, _components$mustache;
499
+ var _components$headcompo, _components$headcompo2, _components$hair$valu, _components$hair, _components$mouth$val, _components$mouth, _components$eyes$valu, _components$eyes, _components$glassesco, _components$glassesco2;
500
500
 
501
501
  let {
502
502
  prng,
@@ -516,7 +516,7 @@ const style = {
516
516
  fill: 'none',
517
517
  'shape-rendering': 'auto'
518
518
  },
519
- body: "\n".concat((_components$head$valu = (_components$head = components.head) === null || _components$head === void 0 ? void 0 : _components$head.value(components, colors)) !== null && _components$head$valu !== void 0 ? _components$head$valu : '', "\n").concat((_components$body$valu = (_components$body = components.body) === null || _components$body === void 0 ? void 0 : _components$body.value(components, colors)) !== null && _components$body$valu !== void 0 ? _components$body$valu : '', "\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n<g transform=\"translate(1)\">\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n</g>\n<g transform=\"translate(0 -1)\">\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n</g>\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n").concat((_components$mustache$ = (_components$mustache = components.mustache) === null || _components$mustache === void 0 ? void 0 : _components$mustache.value(components, colors)) !== null && _components$mustache$ !== void 0 ? _components$mustache$ : '', "\n")
519
+ body: "".concat((_components$headcompo = (_components$headcompo2 = components.headcomponent) === null || _components$headcompo2 === void 0 ? void 0 : _components$headcompo2.value(components, colors)) !== null && _components$headcompo !== void 0 ? _components$headcompo : '', "::body").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "<g transform=\"translate(1)\">").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "</g><g transform=\"translate(0 -1)\">").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "</g>").concat((_components$glassesco = (_components$glassesco2 = components.glassescomponent) === null || _components$glassesco2 === void 0 ? void 0 : _components$glassesco2.value(components, colors)) !== null && _components$glassesco !== void 0 ? _components$glassesco : '', "::mustache")
520
520
  };
521
521
  },
522
522
  preview: _ref2 => {
package/dist/index.js CHANGED
@@ -235,64 +235,64 @@ var schema$1 = {
235
235
  };
236
236
 
237
237
  const head = {
238
- normal: (components, colors) => "\n<path d=\"M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<path d=\"M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>\n"),
239
- wide: (components, colors) => "\n<path d=\"M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<path d=\"M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>\n"),
240
- thin: (components, colors) => "\n<path d=\"M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<path d=\"M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z\" fill=\"#000\" fill-opacity=\".07\"/>\n<rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>\n")
238
+ normal: (components, colors) => "<path d=\"M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/><path d=\"M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z\" fill=\"#000\" fill-opacity=\".07\"/><path d=\"M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z\" fill=\"#000\" fill-opacity=\".07\"/><rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>"),
239
+ wide: (components, colors) => "<path d=\"M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z\" fill=\"".concat(colors.skin.value, "\"/><path d=\"M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z\" fill=\"#000\" fill-opacity=\".07\"/><path d=\"M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z\" fill=\"#000\" fill-opacity=\".07\"/><rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>"),
240
+ thin: (components, colors) => "<path d=\"M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z\" fill=\"".concat(colors.skin.value, "\"/><path d=\"M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z\" fill=\"#000\" fill-opacity=\".07\"/><path d=\"M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z\" fill=\"#000\" fill-opacity=\".07\"/><rect x=\"36\" y=\"41\" width=\"3\" height=\"2\" rx=\"1\" fill=\"#000\" fill-opacity=\".07\"/>")
241
241
  };
242
242
 
243
243
  const body$1 = {
244
- tShirt: (components, colors) => "\n<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/>\n"),
245
- golf: (components, colors) => "\n<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/>\n<path d=\"M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z\" fill=\"").concat(colors.body.value, "\"/>\n<path d=\"M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z\" fill=\"#000\" fill-opacity=\".2\"/>\n<path d=\"M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z\" fill=\"").concat(colors.body.value, "\"/>\n")
244
+ tShirt: (components, colors) => "<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/>"),
245
+ golf: (components, colors) => "<rect x=\"7\" y=\"60\" width=\"40\" height=\"23\" rx=\"9\" fill=\"".concat(colors.body.value, "\"/><path d=\"M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z\" fill=\"").concat(colors.body.value, "\"/><path d=\"M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z\" fill=\"#000\" fill-opacity=\".2\"/><path d=\"M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z\" fill=\"").concat(colors.body.value, "\"/>")
246
246
  };
247
247
 
248
248
  const hair$1 = {
249
- balndess: (components, colors) => "\n<g fill=\"".concat(colors.hair.value, "\">\n<rect x=\"14\" y=\"26\" width=\"9\" height=\"2\" rx=\"1\"/>\n<rect x=\"14\" y=\"33\" width=\"7\" height=\"2\" rx=\"1\"/>\n<rect x=\"12\" y=\"29\" width=\"13\" height=\"3\" rx=\"1.5\"/>\n</g>\n"),
250
- slaughter: (components, colors) => "\n<path d=\"M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
251
- ponyTail: (components, colors) => "\n<path d=\"M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z\" fill=\"#FF6C98\"/>\n<path d=\"m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z\" fill=\"").concat(colors.hair.value, "\"/>\n"),
252
- long: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
253
- curly: (components, colors) => "\n<g fill=\"".concat(colors.hair.value, "\">\n<path d=\"M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z\"/>\n<path d=\"M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z\"/>\n</g>\n"),
254
- stylish: (components, colors) => "\n<path d=\"M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
255
- elvis: (components, colors) => "\n<path d=\"M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
256
- classic02: (components, colors) => "\n<path d=\"M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
257
- classic01: (components, colors) => "\n<path d=\"M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z\" fill=\"".concat(colors.hair.value, "\"/>\n")
249
+ balndess: (components, colors) => "<g fill=\"".concat(colors.hair.value, "\"><rect x=\"14\" y=\"26\" width=\"9\" height=\"2\" rx=\"1\"/><rect x=\"14\" y=\"33\" width=\"7\" height=\"2\" rx=\"1\"/><rect x=\"12\" y=\"29\" width=\"13\" height=\"3\" rx=\"1.5\"/></g>"),
250
+ slaughter: (components, colors) => "<path d=\"M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z\" fill=\"".concat(colors.hair.value, "\"/>"),
251
+ ponyTail: (components, colors) => "<path d=\"M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z\" fill=\"#FF6C98\"/><path d=\"m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z\" fill=\"").concat(colors.hair.value, "\"/>"),
252
+ long: (components, colors) => "<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z\" fill=\"".concat(colors.hair.value, "\"/>"),
253
+ curly: (components, colors) => "<g fill=\"".concat(colors.hair.value, "\"><path d=\"M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z\"/><path d=\"M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z\"/></g>"),
254
+ stylish: (components, colors) => "<path d=\"M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z\" fill=\"".concat(colors.hair.value, "\"/>"),
255
+ elvis: (components, colors) => "<path d=\"M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z\" fill=\"".concat(colors.hair.value, "\"/>"),
256
+ classic02: (components, colors) => "<path d=\"M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z\" fill=\"".concat(colors.hair.value, "\"/>"),
257
+ classic01: (components, colors) => "<path d=\"M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z\" fill=\"".concat(colors.hair.value, "\"/>")
258
258
  };
259
259
 
260
260
  const mouth = {
261
- default: (components, colors) => "\n<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/>\n<path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/>\n<path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/>\n",
262
- missingTooth: (components, colors) => "\n<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/>\n<path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/>\n<path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/>\n<path d=\"M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z\" fill=\"#B03E67\"/>\n"
261
+ default: (components, colors) => "<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/><path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/><path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/>",
262
+ missingTooth: (components, colors) => "<path d=\"M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z\" fill=\"#66253C\"/><path d=\"M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z\" fill=\"#B03E67\"/><path d=\"M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z\" fill=\"#fff\"/><path d=\"M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z\" fill=\"#B03E67\"/>"
263
263
  };
264
264
 
265
265
  const eyes = {
266
266
  normal: (components, colors) => {
267
267
  var _components$blushes$v, _components$blushes;
268
268
 
269
- return "\n<g fill=\"".concat(colors.hair.value, "\">\n<rect x=\"30\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/>\n<rect x=\"40\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/>\n</g>\n").concat((_components$blushes$v = (_components$blushes = components.blushes) === null || _components$blushes === void 0 ? void 0 : _components$blushes.value(components, colors)) !== null && _components$blushes$v !== void 0 ? _components$blushes$v : '', "\n");
269
+ return "<g fill=\"".concat(colors.hair.value, "\"><rect x=\"30\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/><rect x=\"40\" y=\"36\" width=\"3\" height=\"4\" rx=\"1.5\"/></g>").concat((_components$blushes$v = (_components$blushes = components.blushes) === null || _components$blushes === void 0 ? void 0 : _components$blushes.value(components, colors)) !== null && _components$blushes$v !== void 0 ? _components$blushes$v : '');
270
270
  },
271
271
  confident: (components, colors) => {
272
272
  var _components$blushes$v2, _components$blushes2;
273
273
 
274
- return "\n".concat((_components$blushes$v2 = (_components$blushes2 = components.blushes) === null || _components$blushes2 === void 0 ? void 0 : _components$blushes2.value(components, colors)) !== null && _components$blushes$v2 !== void 0 ? _components$blushes$v2 : '', "\n<path d=\"M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z\" fill=\"").concat(colors.hair.value, "\"/>\n<path stroke=\"").concat(colors.hair.value, "\" stroke-linecap=\"round\" d=\"M29.5 36.5h4M39.5 36.5h4\"/>\n");
274
+ return "".concat((_components$blushes$v2 = (_components$blushes2 = components.blushes) === null || _components$blushes2 === void 0 ? void 0 : _components$blushes2.value(components, colors)) !== null && _components$blushes$v2 !== void 0 ? _components$blushes$v2 : '', "<path d=\"M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z\" fill=\"").concat(colors.hair.value, "\"/><path stroke=\"").concat(colors.hair.value, "\" stroke-linecap=\"round\" d=\"M29.5 36.5h4M39.5 36.5h4\"/>");
275
275
  },
276
276
  happy: (components, colors) => {
277
277
  var _components$blushes$v3, _components$blushes3;
278
278
 
279
- return "\n".concat((_components$blushes$v3 = (_components$blushes3 = components.blushes) === null || _components$blushes3 === void 0 ? void 0 : _components$blushes3.value(components, colors)) !== null && _components$blushes$v3 !== void 0 ? _components$blushes$v3 : '', "\n<path d=\"M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z\" fill=\"#1B0B47\"/>\n");
279
+ return "".concat((_components$blushes$v3 = (_components$blushes3 = components.blushes) === null || _components$blushes3 === void 0 ? void 0 : _components$blushes3.value(components, colors)) !== null && _components$blushes$v3 !== void 0 ? _components$blushes$v3 : '', "<path d=\"M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z\" fill=\"#1B0B47\"/>");
280
280
  }
281
281
  };
282
282
 
283
283
  const glasses = {
284
- normal: (components, colors) => "\n<g stroke=\"#000\" stroke-width=\"2\">\n<circle cx=\"30.27\" cy=\"36.27\" r=\"4.27\"/>\n<circle cx=\"44.27\" cy=\"36.27\" r=\"4.27\"/>\n<path d=\"m33.99 35.11 7-.1\"/>\n</g>\n"
284
+ normal: (components, colors) => "<g stroke=\"#000\" stroke-width=\"2\"><circle cx=\"30.27\" cy=\"36.27\" r=\"4.27\"/><circle cx=\"44.27\" cy=\"36.27\" r=\"4.27\"/><path d=\"m33.99 35.11 7-.1\"/></g>"
285
285
  };
286
286
 
287
287
  const mustache = {
288
- pencilThinBeard: (components, colors) => "\n<path d=\"M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
289
- pencilThin: (components, colors) => "\n<path d=\"M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
290
- horshoe: (components, colors) => "\n<path d=\"M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
291
- freddy: (components, colors) => "\n<path d=\"M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z\" fill=\"".concat(colors.hair.value, "\"/>\n")
288
+ pencilThinBeard: (components, colors) => "<path d=\"M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z\" fill=\"".concat(colors.hair.value, "\"/>"),
289
+ pencilThin: (components, colors) => "<path d=\"M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z\" fill=\"".concat(colors.hair.value, "\"/>"),
290
+ horshoe: (components, colors) => "<path d=\"M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z\" fill=\"".concat(colors.hair.value, "\"/>"),
291
+ freddy: (components, colors) => "<path d=\"M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z\" fill=\"".concat(colors.hair.value, "\"/>")
292
292
  };
293
293
 
294
294
  const blushes = {
295
- default: (components, colors) => "\n<g fill=\"#FF859B\">\n<rect x=\"24\" y=\"39\" width=\"5\" height=\"3\" rx=\"1.5\"/>\n<rect x=\"43\" y=\"39\" width=\"4\" height=\"3\" rx=\"1.5\"/>\n</g>\n"
295
+ default: (components, colors) => "<g fill=\"#FF859B\"><rect x=\"24\" y=\"39\" width=\"5\" height=\"3\" rx=\"1.5\"/><rect x=\"43\" y=\"39\" width=\"4\" height=\"3\" rx=\"1.5\"/></g>"
296
296
  };
297
297
 
298
298
  var components = /*#__PURE__*/Object.freeze({
@@ -500,7 +500,7 @@ const style = {
500
500
  },
501
501
  schema: schema$1,
502
502
  create: _ref => {
503
- var _components$head$valu, _components$head, _components$body$valu, _components$body, _components$hair$valu, _components$hair, _components$mouth$val, _components$mouth, _components$eyes$valu, _components$eyes, _components$glasses$v, _components$glasses, _components$mustache$, _components$mustache;
503
+ var _components$headcompo, _components$headcompo2, _components$hair$valu, _components$hair, _components$mouth$val, _components$mouth, _components$eyes$valu, _components$eyes, _components$glassesco, _components$glassesco2;
504
504
 
505
505
  let {
506
506
  prng,
@@ -520,7 +520,7 @@ const style = {
520
520
  fill: 'none',
521
521
  'shape-rendering': 'auto'
522
522
  },
523
- body: "\n".concat((_components$head$valu = (_components$head = components.head) === null || _components$head === void 0 ? void 0 : _components$head.value(components, colors)) !== null && _components$head$valu !== void 0 ? _components$head$valu : '', "\n").concat((_components$body$valu = (_components$body = components.body) === null || _components$body === void 0 ? void 0 : _components$body.value(components, colors)) !== null && _components$body$valu !== void 0 ? _components$body$valu : '', "\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n<g transform=\"translate(1)\">\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n</g>\n<g transform=\"translate(0 -1)\">\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n</g>\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n").concat((_components$mustache$ = (_components$mustache = components.mustache) === null || _components$mustache === void 0 ? void 0 : _components$mustache.value(components, colors)) !== null && _components$mustache$ !== void 0 ? _components$mustache$ : '', "\n")
523
+ body: "".concat((_components$headcompo = (_components$headcompo2 = components.headcomponent) === null || _components$headcompo2 === void 0 ? void 0 : _components$headcompo2.value(components, colors)) !== null && _components$headcompo !== void 0 ? _components$headcompo : '', "::body").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "<g transform=\"translate(1)\">").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "</g><g transform=\"translate(0 -1)\">").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "</g>").concat((_components$glassesco = (_components$glassesco2 = components.glassescomponent) === null || _components$glassesco2 === void 0 ? void 0 : _components$glassesco2.value(components, colors)) !== null && _components$glassesco !== void 0 ? _components$glassesco : '', "::mustache")
524
524
  };
525
525
  },
526
526
  preview: _ref2 => {
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).DiceBear=a.DiceBear||{},a.DiceBear.Miniavs={}))}(this,(function(a){"use strict";var e={title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{blushes:{type:"array",items:{type:"string",enum:["default"]},default:["default"]},blushesProbability:{type:"integer",minimum:0,maximum:100,default:50},body:{type:"array",items:{type:"string",enum:["tShirt","golf"]},default:["tShirt","golf"]},bodyColor:{type:"array",items:{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",enum:["orange","blue","pink"]}]},default:["orange","blue","pink"]},eyes:{type:"array",items:{type:"string",enum:["normal","confident","happy"]},default:["normal","confident","happy"]},glasses:{type:"array",items:{type:"string",enum:["normal"]},default:["normal"]},glassesProbability:{type:"integer",minimum:0,maximum:100,default:20},hair:{type:"array",items:{type:"string",enum:["balndess","slaughter","ponyTail","long","curly","stylish","elvis","classic02","classic01"]},default:["balndess","slaughter","ponyTail","long","curly","stylish","elvis","classic02","classic01"]},hairColor:{type:"array",items:{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",enum:["brown","black","red"]}]},default:["brown","black","red"]},head:{type:"array",items:{type:"string",enum:["normal","wide","thin"]},default:["normal","wide","thin"]},mouth:{type:"array",items:{type:"string",enum:["default","missingTooth"]},default:["default","missingTooth"]},mustache:{type:"array",items:{type:"string",enum:["pencilThinBeard","pencilThin","horshoe","freddy"]},default:["pencilThinBeard","pencilThin","horshoe","freddy"]},mustacheProbability:{type:"integer",minimum:0,maximum:100,default:20},skinColor:{type:"array",items:{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",enum:["yellow","white","dark"]}]},default:["yellow","white","dark"]}},additionalProperties:!1};var t=Object.freeze({__proto__:null,head:{normal:(a,e)=>'\n<path d="M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z" fill="'.concat(e.skin.value,'"/>\n<path d="M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z" fill="#000" fill-opacity=".07"/>\n<path d="M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z" fill="#000" fill-opacity=".07"/>\n<rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>\n'),wide:(a,e)=>'\n<path d="M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z" fill="'.concat(e.skin.value,'"/>\n<path d="M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z" fill="#000" fill-opacity=".07"/>\n<path d="M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z" fill="#000" fill-opacity=".07"/>\n<rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>\n'),thin:(a,e)=>'\n<path d="M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z" fill="'.concat(e.skin.value,'"/>\n<path d="M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z" fill="#000" fill-opacity=".07"/>\n<path d="M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z" fill="#000" fill-opacity=".07"/>\n<rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>\n')},body:{tShirt:(a,e)=>'\n<rect x="7" y="60" width="40" height="23" rx="9" fill="'.concat(e.body.value,'"/>\n'),golf:(a,e)=>'\n<rect x="7" y="60" width="40" height="23" rx="9" fill="'.concat(e.body.value,'"/>\n<path d="M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z" fill="').concat(e.body.value,'"/>\n<path d="M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z" fill="#000" fill-opacity=".2"/>\n<path d="M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z" fill="').concat(e.body.value,'"/>\n')},hair:{balndess:(a,e)=>'\n<g fill="'.concat(e.hair.value,'">\n<rect x="14" y="26" width="9" height="2" rx="1"/>\n<rect x="14" y="33" width="7" height="2" rx="1"/>\n<rect x="12" y="29" width="13" height="3" rx="1.5"/>\n</g>\n'),slaughter:(a,e)=>'\n<path d="M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z" fill="'.concat(e.hair.value,'"/>\n'),ponyTail:(a,e)=>'\n<path d="M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z" fill="'.concat(e.hair.value,'"/>\n<path d="m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z" fill="#FF6C98"/>\n<path d="m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z" fill="').concat(e.hair.value,'"/>\n'),long:(a,e)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z" fill="'.concat(e.hair.value,'"/>\n'),curly:(a,e)=>'\n<g fill="'.concat(e.hair.value,'">\n<path d="M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z"/>\n<path d="M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z"/>\n</g>\n'),stylish:(a,e)=>'\n<path d="M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z" fill="'.concat(e.hair.value,'"/>\n'),elvis:(a,e)=>'\n<path d="M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z" fill="'.concat(e.hair.value,'"/>\n'),classic02:(a,e)=>'\n<path d="M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z" fill="'.concat(e.hair.value,'"/>\n'),classic01:(a,e)=>'\n<path d="M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z" fill="'.concat(e.hair.value,'"/>\n')},mouth:{default:(a,e)=>'\n<path d="M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z" fill="#66253C"/>\n<path d="M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z" fill="#B03E67"/>\n<path d="M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z" fill="#fff"/>\n',missingTooth:(a,e)=>'\n<path d="M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z" fill="#66253C"/>\n<path d="M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z" fill="#B03E67"/>\n<path d="M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z" fill="#fff"/>\n<path d="M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z" fill="#B03E67"/>\n'},eyes:{normal:(a,e)=>{var t,l;return'\n<g fill="'.concat(e.hair.value,'">\n<rect x="30" y="36" width="3" height="4" rx="1.5"/>\n<rect x="40" y="36" width="3" height="4" rx="1.5"/>\n</g>\n').concat(null!==(t=null===(l=a.blushes)||void 0===l?void 0:l.value(a,e))&&void 0!==t?t:"","\n")},confident:(a,e)=>{var t,l;return"\n".concat(null!==(t=null===(l=a.blushes)||void 0===l?void 0:l.value(a,e))&&void 0!==t?t:"",'\n<path d="M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z" fill="').concat(e.hair.value,'"/>\n<path stroke="').concat(e.hair.value,'" stroke-linecap="round" d="M29.5 36.5h4M39.5 36.5h4"/>\n')},happy:(a,e)=>{var t,l;return"\n".concat(null!==(t=null===(l=a.blushes)||void 0===l?void 0:l.value(a,e))&&void 0!==t?t:"",'\n<path d="M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z" fill="#1B0B47"/>\n')}},glasses:{normal:(a,e)=>'\n<g stroke="#000" stroke-width="2">\n<circle cx="30.27" cy="36.27" r="4.27"/>\n<circle cx="44.27" cy="36.27" r="4.27"/>\n<path d="m33.99 35.11 7-.1"/>\n</g>\n'},mustache:{pencilThinBeard:(a,e)=>'\n<path d="M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z" fill="'.concat(e.hair.value,'"/>\n'),pencilThin:(a,e)=>'\n<path d="M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z" fill="'.concat(e.hair.value,'"/>\n'),horshoe:(a,e)=>'\n<path d="M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z" fill="'.concat(e.hair.value,'"/>\n'),freddy:(a,e)=>'\n<path d="M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z" fill="'.concat(e.hair.value,'"/>\n')},blushes:{default:(a,e)=>'\n<g fill="#FF859B">\n<rect x="24" y="39" width="5" height="3" rx="1.5"/>\n<rect x="43" y="39" width="4" height="3" rx="1.5"/>\n</g>\n'}});function l(a){let{prng:e,group:l,values:n=[]}=a;const i=t,r=e.pick(n);return i[l][r]?{name:r,value:i[l][r]}:void 0}function n(a){let{prng:e,options:t}=a;const n=l({prng:e,group:"head",values:t.head}),i=l({prng:e,group:"body",values:t.body}),r=l({prng:e,group:"hair",values:t.hair}),o=l({prng:e,group:"mouth",values:t.mouth}),c=l({prng:e,group:"eyes",values:t.eyes}),h=l({prng:e,group:"glasses",values:t.glasses}),s=l({prng:e,group:"mustache",values:t.mustache}),u=l({prng:e,group:"blushes",values:t.blushes});return{head:n,body:i,hair:r,mouth:o,eyes:c,glasses:e.bool(t.glassesProbability)?h:void 0,mustache:e.bool(t.mustacheProbability)?s:void 0,blushes:e.bool(t.blushesProbability)?u:void 0}}var i=Object.freeze({__proto__:null,skin:{yellow:"rgba(255, 203, 126, 1)",white:"rgba(245, 208, 197, 1)",dark:"rgba(131, 96, 85, 1)"},hair:{brown:"rgba(71, 40, 11, 1)",black:"rgba(27, 11, 71, 1)",red:"rgba(173, 58, 32, 1)"},body:{orange:"rgba(224, 90, 51, 1)",blue:"rgba(54, 51, 224, 1)",pink:"rgba(255, 77, 216, 1)"}});function r(a){var e;let{prng:t,group:l,values:n=[]}=a;const r=i;0===n.length&&n.push("transparent");const o=t.pick(n);return{name:o,value:null!==(e=r[l][o])&&void 0!==e?e:o}}function o(a){let{prng:e,options:t}=a;return{skin:r({prng:e,group:"skin",values:t.skinColor}),hair:r({prng:e,group:"hair",values:t.hairColor}),body:r({prng:e,group:"body",values:t.bodyColor})}}const c={head:{width:64,height:64},body:{width:64,height:64},hair:{width:64,height:64},mouth:{width:64,height:64},eyes:{width:64,height:64},glasses:{width:64,height:64},mustache:{width:64,height:64},blushes:{width:64,height:64}},h={meta:{title:"Miniavs - Free Avatar Creator",creator:"Webpixels",source:"https://www.figma.com/community/file/923211396597067458",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:e,create:a=>{var e,t,l,i,r,c,h,s,u,d,p,v,f,g;let{prng:y,options:m}=a;const b=n({prng:y,options:m}),M=o({prng:y,options:m});return{attributes:{viewBox:"0 0 64 64",fill:"none","shape-rendering":"auto"},body:"\n".concat(null!==(e=null===(t=b.head)||void 0===t?void 0:t.value(b,M))&&void 0!==e?e:"","\n").concat(null!==(l=null===(i=b.body)||void 0===i?void 0:i.value(b,M))&&void 0!==l?l:"","\n").concat(null!==(r=null===(c=b.hair)||void 0===c?void 0:c.value(b,M))&&void 0!==r?r:"",'\n<g transform="translate(1)">\n').concat(null!==(h=null===(s=b.mouth)||void 0===s?void 0:s.value(b,M))&&void 0!==h?h:"",'\n</g>\n<g transform="translate(0 -1)">\n').concat(null!==(u=null===(d=b.eyes)||void 0===d?void 0:d.value(b,M))&&void 0!==u?u:"","\n</g>\n").concat(null!==(p=null===(v=b.glasses)||void 0===v?void 0:v.value(b,M))&&void 0!==p?p:"","\n").concat(null!==(f=null===(g=b.mustache)||void 0===g?void 0:g.value(b,M))&&void 0!==f?f:"","\n")}},preview:a=>{let{prng:e,options:t,property:l}=a;const i=l.toString(),r=l.toString().replace(/Color$/,""),h=n({prng:e,options:t}),s=o({prng:e,options:t});if(i in h){var u,d;const{width:a,height:e}=c[i];return{attributes:{viewBox:"0 0 ".concat(a," ").concat(e),fill:"none","shape-rendering":"auto"},body:null!==(u=null===(d=h[i])||void 0===d?void 0:d.value(h,s))&&void 0!==u?u:""}}if(r in s)return{attributes:{viewBox:"0 0 1 1",fill:"none","shape-rendering":"auto"},body:'<rect width="1" height="1" fill="'.concat(s[r].value,'" />')}}};
1
+ !function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).DiceBear=a.DiceBear||{},a.DiceBear.Miniavs={}))}(this,(function(a){"use strict";var e={title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{blushes:{type:"array",items:{type:"string",enum:["default"]},default:["default"]},blushesProbability:{type:"integer",minimum:0,maximum:100,default:50},body:{type:"array",items:{type:"string",enum:["tShirt","golf"]},default:["tShirt","golf"]},bodyColor:{type:"array",items:{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",enum:["orange","blue","pink"]}]},default:["orange","blue","pink"]},eyes:{type:"array",items:{type:"string",enum:["normal","confident","happy"]},default:["normal","confident","happy"]},glasses:{type:"array",items:{type:"string",enum:["normal"]},default:["normal"]},glassesProbability:{type:"integer",minimum:0,maximum:100,default:20},hair:{type:"array",items:{type:"string",enum:["balndess","slaughter","ponyTail","long","curly","stylish","elvis","classic02","classic01"]},default:["balndess","slaughter","ponyTail","long","curly","stylish","elvis","classic02","classic01"]},hairColor:{type:"array",items:{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",enum:["brown","black","red"]}]},default:["brown","black","red"]},head:{type:"array",items:{type:"string",enum:["normal","wide","thin"]},default:["normal","wide","thin"]},mouth:{type:"array",items:{type:"string",enum:["default","missingTooth"]},default:["default","missingTooth"]},mustache:{type:"array",items:{type:"string",enum:["pencilThinBeard","pencilThin","horshoe","freddy"]},default:["pencilThinBeard","pencilThin","horshoe","freddy"]},mustacheProbability:{type:"integer",minimum:0,maximum:100,default:20},skinColor:{type:"array",items:{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",enum:["yellow","white","dark"]}]},default:["yellow","white","dark"]}},additionalProperties:!1};var t=Object.freeze({__proto__:null,head:{normal:(a,e)=>'<path d="M45.89 36.1c0 8.5-1.26 18.86-10.89 19.82v9.95S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z" fill="'.concat(e.skin.value,'"/><path d="M35 55.92c-.48.05-.98.07-1.5.07-8.88 0-13.9-7.15-15.5-14.6v23.13S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.95Z" fill="#000" fill-opacity=".07"/><path d="M34.63 55.95c-.37.03-.74.04-1.13.04-6.53 0-10.97-3.86-13.5-8.87V48.24c0 5.38 2.61 9.75 8.28 9.75h1.35c3.34.03 4.59.04 5-2.04ZM16.7 32.17A5 5 0 0 0 18.14 42c-.48-1.98-.71-3.99-.71-5.9a46.7 46.7 0 0 1-.73-3.93Z" fill="#000" fill-opacity=".07"/><rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>'),wide:(a,e)=>'<path d="M46.07 40.4c.47 7.5.94 15-11.07 15.56v9.91S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V45.1c-.2-1.02-.33-2.06-.41-3.12a5 5 0 0 1-.9-9.8C15.37 22.63 17.52 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29 0 1.4.09 2.86.18 4.3Z" fill="'.concat(e.skin.value,'"/><path d="M17.59 41.98c-.16-1.97-.16-3.97-.16-5.88a46.7 46.7 0 0 1-.73-3.93 5 5 0 0 0 .89 9.81ZM18 45.1v19.42S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.91c-.48.02-.98.03-1.5.03-10.79 0-14.34-4.95-15.5-10.9Z" fill="#000" fill-opacity=".07"/><path d="M34.93 55.96c-.46.02-.93.03-1.43.03-7.25 0-11.23-2.23-13.41-5.5.5 4.82 3.16 8.5 8.3 8.5h1.36c3.8.03 4.92.04 5.18-3.03Z" fill="#000" fill-opacity=".07"/><rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>'),thin:(a,e)=>'<path d="M45.89 36.1c0 8.92-3.9 18.9-10.39 20.4l-.5-.06v9.43S31.36 68 26.5 68c-4.86 0-8.5-3.48-8.5-3.48V42a5 5 0 0 1-1.3-9.83C15.36 22.64 17.5 13 32 13c14.59 0 14.24 11.08 13.96 19.81-.04 1.15-.07 2.25-.07 3.29Z" fill="'.concat(e.skin.value,'"/><path d="M18 42v22.52S21.64 68 26.5 68c4.86 0 8.5-2.13 8.5-2.13v-9.43c-7.26-1.02-13.9-7.5-16.45-14.47-.18.02-.37.03-.55.03Z" fill="#000" fill-opacity=".07"/><path d="M16.7 32.17a5 5 0 0 0 1.85 9.8 17.14 17.14 0 0 1-1.12-5.87 46.7 46.7 0 0 1-.73-3.93ZM34.7 56.4c-6.75-1.1-12.9-6.87-15.7-13.3v.4c0 5.65 6.27 14.47 9.38 15.49 2.57.83 5.4.65 6.32-2.6Z" fill="#000" fill-opacity=".07"/><rect x="36" y="41" width="3" height="2" rx="1" fill="#000" fill-opacity=".07"/>')},body:{tShirt:(a,e)=>'<rect x="7" y="60" width="40" height="23" rx="9" fill="'.concat(e.body.value,'"/>'),golf:(a,e)=>'<rect x="7" y="60" width="40" height="23" rx="9" fill="'.concat(e.body.value,'"/><path d="M17 58h19v3s-5 1-9.5 1-9.5-1-9.5-1v-3Z" fill="').concat(e.body.value,'"/><path d="M17 58h19v2s-3 1.5-9.5 1.5S17 60 17 60v-2Z" fill="#000" fill-opacity=".2"/><path d="M16.5 59c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2s-5 1-10 1-10-1-10-1Z" fill="').concat(e.body.value,'"/>')},hair:{balndess:(a,e)=>'<g fill="'.concat(e.hair.value,'"><rect x="14" y="26" width="9" height="2" rx="1"/><rect x="14" y="33" width="7" height="2" rx="1"/><rect x="12" y="29" width="13" height="3" rx="1.5"/></g>'),slaughter:(a,e)=>'<path d="M24 25c0 .53-.1 1.04-.3 1.5A3.99 3.99 0 0 1 20 32a4 4 0 0 1-8 0c0-1.05.07-2.78.37-4.32a4 4 0 0 1 4.8-5.5A3.99 3.99 0 0 1 24 25ZM45.85 33.9a4 4 0 0 0 2.78-5.4 3.99 3.99 0 0 0-3.13-5.46c.6 3.14.48 6.61.38 9.78 0 .36-.02.72-.03 1.07Z" fill="'.concat(e.hair.value,'"/>'),ponyTail:(a,e)=>'<path d="M0 10c8-8 13 3 13 3l-2 8s-2 2.5 0 10-2.5 11.5-2.5 11.5S5 45 2 43s-3.4-3.92-3-7.5c.5-4.5 2-3 2-7.5s-9-10-1-18Z" fill="'.concat(e.hair.value,'"/><path d="m13.03 13.18 5.5 2.38-3.56 8.26-5.51-2.38S8.5 19.5 10 16.5c1.5-3 3.03-3.32 3.03-3.32Z" fill="#FF6C98"/><path d="m18 41-1.32-8.82A5 5 0 0 0 18 42v8.3c-1.55-1.37-2.93-3-4.08-4.83-1.7-2.7-2.9-5.8-3.48-9.1-.6-3.28-.58-6.68.04-9.96a25.57 25.57 0 0 1 3.55-9.05 21.32 21.32 0 0 1 6.43-6.5A17.85 17.85 0 0 1 31 8c2.5 0 4.97.45 7.27 1.33 2.3.88 4.4 2.17 6.16 3.8a17.48 17.48 0 0 1 4.12 5.67c.75 1.66 1.21 3.42 1.38 5.2H50v4.29s-.33.15-1 .36v8.5s0 1.4-1.5 2.45c-.52.36-1.22.64-1.9.85.19-1.45.29-2.91.29-4.35 0-1.04.03-2.14.07-3.29.04-1.11.07-2.27.08-3.44-1.85.34-4.37.63-7.58.63C30.62 30 26 28.29 26 28.29v-1A26.13 26.13 0 0 0 24 31c-.75 1.75-.75 3.54-.75 5.05 0 1.5 0 2.73-.75 3.34-1.5 1.2-4.5 1.6-4.5 1.6Z" fill="').concat(e.hair.value,'"/>'),long:(a,e)=>'<path fill-rule="evenodd" clip-rule="evenodd" d="M48 25a18 18 0 0 0-36-.5V65h11V34.6a65.12 65.12 0 0 0 12.2-3.76 53.45 53.45 0 0 0 10.68-5.64c.24 2.53.15 5.16.08 7.61-.04 1.15-.08 2.25-.08 3.29 0 .4 0 .82-.02 1.23.23-.07.45-.15.64-.24 1.5-.69 1.5-1.6 1.5-1.6V25Zm-33 8a4.98 4.98 0 0 0 0 8v-8Z" fill="'.concat(e.hair.value,'"/>'),curly:(a,e)=>'<g fill="'.concat(e.hair.value,'"><path d="M45.97 32.48a4 4 0 0 0 1.78-4.88 4 4 0 0 0-2.97-7.41c1.42 3.67 1.31 8.22 1.19 12.3Z"/><path d="M36.3 22.76a4.98 4.98 0 0 1-6.36.2 6.98 6.98 0 0 1-6.99 1.74c-.26.28-.56.53-.89.73a3.98 3.98 0 0 1-1.35 6.19c.2.24.3.55.3.88a1.5 1.5 0 0 1-1.53 1.5 4 4 0 0 1-7.3-3.17 3.99 3.99 0 0 1 0-5.66 4 4 0 0 1 .74-3.71 7 7 0 0 1 4.1-10.17V11a4 4 0 0 1 5.94-3.5 7 7 0 0 1 9.8-2.42 6.48 6.48 0 0 1 10.78 1.95 4 4 0 0 1 3.43 4.58 7.33 7.33 0 0 1 3.05 5.9c0 4.14-3.58 7.5-8 7.5a8.25 8.25 0 0 1-5.7-2.24Z"/></g>'),stylish:(a,e)=>'<path d="M20.67 28.22v6.02c0 .76-.67 1.76-1.17 2.26-.5.5-2 1.5-2.85 1.5-.85 0-3.54-.45-4.83-2.26-1.28-1.8-.89-11.32 0-13.54.9-2.21 4.19-6.88 8.85-10.45a26.26 26.26 0 0 1 12.88-5.34C58.48 3.4 49.22 20.99 46 25.5c-5.5-2-9.5-2.5-16.72-1.53-7.21.99-8.01 1.99-8.6 4.24Z" fill="'.concat(e.hair.value,'"/>'),elvis:(a,e)=>'<path d="M22 28c-.63 3 1 6.98 1 7.74 0 .77-3.93 3.03-5 3.76-1.07.73-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.25-.74-3-4.5c-.51-2.54.3-8.09.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3C54.9 7.97 56.22 21.5 53 26c-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z" fill="'.concat(e.hair.value,'"/>'),classic02:(a,e)=>'<path d="M28.12 27.47C35.92 28.6 49.6 30.6 51 18 52 9 38.5-1.5 24 8c-9.1 1.35-11.39 8.28-11.9 14.26a3.99 3.99 0 0 0-.8 4.24 3.99 3.99 0 0 0 .87 4.33A4 4 0 1 0 20 32a4 4 0 0 0 3.87-5H24c.95 0 2.4.21 4.12.47Z" fill="'.concat(e.hair.value,'"/>'),classic01:(a,e)=>'<path d="M29.7 26.2c5.6 1.87 13.39 4.45 21.53-3.7 4-4-14-21-28.5-11.5-11.33 1.68-10.68 8.47-10.18 13.71.1 1 .18 1.95.18 2.8 0 .52.07.92.2 1.2-.16 1.24-.2 2.48-.2 3.3a4 4 0 1 0 8 0A4 4 0 0 0 24.61 27h.12a4 4 0 0 0 3.06-1.41c.6.18 1.24.4 1.9.61Z" fill="'.concat(e.hair.value,'"/>')},mouth:{default:(a,e)=>'<path d="M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z" fill="#66253C"/><path d="M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z" fill="#B03E67"/><path d="M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z" fill="#fff"/>',missingTooth:(a,e)=>'<path d="M27.93 46a1 1 0 0 1 1-1h9.14a1 1 0 0 1 1 1 5 5 0 0 1-5 5h-1.14a5 5 0 0 1-5-5Z" fill="#66253C"/><path d="M35.76 50.7a5 5 0 0 1-1.69.3h-1.14a5 5 0 0 1-5-4.8c.77-.29 1.9-.25 3.02-.22L32 46c2.21 0 4 1.57 4 3.5 0 .42-.09.83-.24 1.2Z" fill="#B03E67"/><path d="M29 45h10v1a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-1Z" fill="#fff"/><path d="M31 45.3c0-.17.13-.3.3-.3h1.4c.17 0 .3.13.3.3v2.4a.3.3 0 0 1-.3.3h-1.4a.3.3 0 0 1-.3-.3v-2.4Z" fill="#B03E67"/>'},eyes:{normal:(a,e)=>{var t,l;return'<g fill="'.concat(e.hair.value,'"><rect x="30" y="36" width="3" height="4" rx="1.5"/><rect x="40" y="36" width="3" height="4" rx="1.5"/></g>').concat(null!==(t=null===(l=a.blushes)||void 0===l?void 0:l.value(a,e))&&void 0!==t?t:"")},confident:(a,e)=>{var t,l;return"".concat(null!==(t=null===(l=a.blushes)||void 0===l?void 0:l.value(a,e))&&void 0!==t?t:"",'<path d="M43 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23ZM33 37.5a1.5 1.5 0 0 1-3 0v-1.23c0-.15.12-.27.27-.27h2.46c.15 0 .27.12.27.27v1.23Z" fill="').concat(e.hair.value,'"/><path stroke="').concat(e.hair.value,'" stroke-linecap="round" d="M29.5 36.5h4M39.5 36.5h4"/>')},happy:(a,e)=>{var t,l;return"".concat(null!==(t=null===(l=a.blushes)||void 0===l?void 0:l.value(a,e))&&void 0!==t?t:"",'<path d="M30 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5ZM40 37.5a1.5 1.5 0 0 1 3 0v1.23c0 .15-.12.27-.27.27h-2.46a.27.27 0 0 1-.27-.27V37.5Z" fill="#1B0B47"/>')}},glasses:{normal:(a,e)=>'<g stroke="#000" stroke-width="2"><circle cx="30.27" cy="36.27" r="4.27"/><circle cx="44.27" cy="36.27" r="4.27"/><path d="m33.99 35.11 7-.1"/></g>'},mustache:{pencilThinBeard:(a,e)=>'<path d="M26.5 45s4.5-.5 11-2v2c-1.5.67-5.5 1.6-7.5 2-2.5.5-3.5-2-3.5-2ZM48 44.76S44 44 38 43v2c1.43.59 4.6 1.15 6.5 1.5 2.38.44 3.5-1.74 3.5-1.74ZM33.31 55.24a1 1 0 0 1 .97-1.24h3.44a1 1 0 0 1 .97 1.24l-.25 1a1 1 0 0 1-.97.76h-2.94a1 1 0 0 1-.97-.76l-.25-1Z" fill="'.concat(e.hair.value,'"/>'),pencilThin:(a,e)=>'<path d="M37.5 43c-6.5 1.5-11 2-11 2s1 2.5 3.5 2c2-.4 6-1.33 7.5-2v-2ZM38 43c6 1 10 1.76 10 1.76s-1.12 2.18-3.5 1.74l-.32-.06c-1.92-.35-4.83-.89-6.18-1.44v-2Z" fill="'.concat(e.hair.value,'"/>'),horshoe:(a,e)=>'<path d="M27 46a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v11a4 4 0 0 1-4-4v-7h-9v7a4 4 0 0 1-4 4V46Z" fill="'.concat(e.hair.value,'"/>'),freddy:(a,e)=>'<path d="M28 46a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3H28Z" fill="'.concat(e.hair.value,'"/>')},blushes:{default:(a,e)=>'<g fill="#FF859B"><rect x="24" y="39" width="5" height="3" rx="1.5"/><rect x="43" y="39" width="4" height="3" rx="1.5"/></g>'}});function l(a){let{prng:e,group:l,values:i=[]}=a;const r=t,o=e.pick(i);return r[l][o]?{name:o,value:r[l][o]}:void 0}function i(a){let{prng:e,options:t}=a;const i=l({prng:e,group:"head",values:t.head}),r=l({prng:e,group:"body",values:t.body}),o=l({prng:e,group:"hair",values:t.hair}),n=l({prng:e,group:"mouth",values:t.mouth}),c=l({prng:e,group:"eyes",values:t.eyes}),h=l({prng:e,group:"glasses",values:t.glasses}),s=l({prng:e,group:"mustache",values:t.mustache}),u=l({prng:e,group:"blushes",values:t.blushes});return{head:i,body:r,hair:o,mouth:n,eyes:c,glasses:e.bool(t.glassesProbability)?h:void 0,mustache:e.bool(t.mustacheProbability)?s:void 0,blushes:e.bool(t.blushesProbability)?u:void 0}}var r=Object.freeze({__proto__:null,skin:{yellow:"rgba(255, 203, 126, 1)",white:"rgba(245, 208, 197, 1)",dark:"rgba(131, 96, 85, 1)"},hair:{brown:"rgba(71, 40, 11, 1)",black:"rgba(27, 11, 71, 1)",red:"rgba(173, 58, 32, 1)"},body:{orange:"rgba(224, 90, 51, 1)",blue:"rgba(54, 51, 224, 1)",pink:"rgba(255, 77, 216, 1)"}});function o(a){var e;let{prng:t,group:l,values:i=[]}=a;const o=r;0===i.length&&i.push("transparent");const n=t.pick(i);return{name:n,value:null!==(e=o[l][n])&&void 0!==e?e:n}}function n(a){let{prng:e,options:t}=a;return{skin:o({prng:e,group:"skin",values:t.skinColor}),hair:o({prng:e,group:"hair",values:t.hairColor}),body:o({prng:e,group:"body",values:t.bodyColor})}}const c={head:{width:64,height:64},body:{width:64,height:64},hair:{width:64,height:64},mouth:{width:64,height:64},eyes:{width:64,height:64},glasses:{width:64,height:64},mustache:{width:64,height:64},blushes:{width:64,height:64}},h={meta:{title:"Miniavs - Free Avatar Creator",creator:"Webpixels",source:"https://www.figma.com/community/file/923211396597067458",license:{name:"CC BY 4.0",url:"https://creativecommons.org/licenses/by/4.0/"}},schema:e,create:a=>{var e,t,l,r,o,c,h,s,u,d;let{prng:p,options:v}=a;const f=i({prng:p,options:v}),g=n({prng:p,options:v});return{attributes:{viewBox:"0 0 64 64",fill:"none","shape-rendering":"auto"},body:"".concat(null!==(e=null===(t=f.headcomponent)||void 0===t?void 0:t.value(f,g))&&void 0!==e?e:"","::body").concat(null!==(l=null===(r=f.hair)||void 0===r?void 0:r.value(f,g))&&void 0!==l?l:"",'<g transform="translate(1)">').concat(null!==(o=null===(c=f.mouth)||void 0===c?void 0:c.value(f,g))&&void 0!==o?o:"",'</g><g transform="translate(0 -1)">').concat(null!==(h=null===(s=f.eyes)||void 0===s?void 0:s.value(f,g))&&void 0!==h?h:"","</g>").concat(null!==(u=null===(d=f.glassescomponent)||void 0===d?void 0:d.value(f,g))&&void 0!==u?u:"","::mustache")}},preview:a=>{let{prng:e,options:t,property:l}=a;const r=l.toString(),o=l.toString().replace(/Color$/,""),h=i({prng:e,options:t}),s=n({prng:e,options:t});if(r in h){var u,d;const{width:a,height:e}=c[r];return{attributes:{viewBox:"0 0 ".concat(a," ").concat(e),fill:"none","shape-rendering":"auto"},body:null!==(u=null===(d=h[r])||void 0===d?void 0:d.value(h,s))&&void 0!==u?u:""}}if(o in s)return{attributes:{viewBox:"0 0 1 1",fill:"none","shape-rendering":"auto"},body:'<rect width="1" height="1" fill="'.concat(s[o].value,'" />')}}};
2
2
  /*!
3
3
  * Miniavs (@dicebear/miniavs)
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dicebear/miniavs",
3
- "version": "5.0.0-alpha.4",
3
+ "version": "5.0.0-alpha.5",
4
4
  "description": "Avatar style for DiceBear",
5
5
  "keywords": [
6
6
  "dicebear"
@@ -30,11 +30,11 @@
30
30
  "build": "dicebear-project build DiceBear.Miniavs"
31
31
  },
32
32
  "devDependencies": {
33
- "@dicebear/core": "^5.0.0-alpha.4",
33
+ "@dicebear/core": "^5.0.0-alpha.5",
34
34
  "@tsconfig/recommended": "^1.0.0",
35
35
  "@types/jest": "^26.0.22",
36
36
  "@types/node": "^10.11.6",
37
- "dicebear-project": "^5.0.0-alpha.4",
37
+ "dicebear-project": "^5.0.0-alpha.5",
38
38
  "jest": "^26.6.3",
39
39
  "shx": "^0.3.3",
40
40
  "ts-jest": "^26.5.4",
@@ -42,10 +42,10 @@
42
42
  "utility-types": "^3.10.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@dicebear/core": "^5.0.0-alpha.4"
45
+ "@dicebear/core": "^5.0.0-alpha.5"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "fb71a66062dbd3ec8a026606ff3c69d684baf23d"
50
+ "gitHead": "f468a40150c4d5f913287f10b49eb034b180e4f0"
51
51
  }