@dicebear/avatars-human-sprites
Advanced tools
Comparing version 4.10.3 to 4.10.4
@@ -11,4 +11,4 @@ /*! | ||
export { Options } from './options'; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
declare const _default: import("@dicebear/avatars").SpriteCollection<import("./options").Options>; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
export default _default; |
@@ -5,3 +5,3 @@ import { utils } from '@dicebear/avatars'; | ||
const schema$1 = { | ||
var schema$1 = { | ||
"title": "Options", | ||
@@ -22,3 +22,3 @@ "$schema": "http://json-schema.org/draft-07/schema#", | ||
const style = { | ||
var style = { | ||
meta: { | ||
@@ -35,17 +35,15 @@ title: 'Human / 8biticon', | ||
schema: schema$1, | ||
create: _ref => { | ||
let { | ||
prng, | ||
options | ||
} = _ref; | ||
create: function create(_ref) { | ||
var prng = _ref.prng, | ||
options = _ref.options; | ||
if (prng.bool(50)) { | ||
return create$1({ | ||
prng, | ||
options | ||
prng: prng, | ||
options: options | ||
}); | ||
} else { | ||
return create$2({ | ||
prng, | ||
options | ||
prng: prng, | ||
options: options | ||
}); | ||
@@ -63,15 +61,13 @@ } | ||
*/ | ||
let { | ||
create, | ||
meta, | ||
schema | ||
} = style; | ||
var create = style.create, | ||
meta = style.meta, | ||
schema = style.schema; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
var index = utils.style.createLegacyWrapper({ | ||
create, | ||
meta, | ||
schema | ||
create: create, | ||
meta: meta, | ||
schema: schema | ||
}); | ||
export { create, index as default, meta, schema }; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
const schema$1 = { | ||
var schema$1 = { | ||
"title": "Options", | ||
@@ -26,3 +26,3 @@ "$schema": "http://json-schema.org/draft-07/schema#", | ||
const style = { | ||
var style = { | ||
meta: { | ||
@@ -39,17 +39,15 @@ title: 'Human / 8biticon', | ||
schema: schema$1, | ||
create: _ref => { | ||
let { | ||
prng, | ||
options | ||
} = _ref; | ||
create: function create(_ref) { | ||
var prng = _ref.prng, | ||
options = _ref.options; | ||
if (prng.bool(50)) { | ||
return avatarsMaleSprites.create({ | ||
prng, | ||
options | ||
prng: prng, | ||
options: options | ||
}); | ||
} else { | ||
return avatarsFemaleSprites.create({ | ||
prng, | ||
options | ||
prng: prng, | ||
options: options | ||
}); | ||
@@ -67,13 +65,11 @@ } | ||
*/ | ||
let { | ||
create, | ||
meta, | ||
schema | ||
} = style; | ||
var create = style.create, | ||
meta = style.meta, | ||
schema = style.schema; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
var index = avatars.utils.style.createLegacyWrapper({ | ||
create, | ||
meta, | ||
schema | ||
create: create, | ||
meta: meta, | ||
schema: schema | ||
}); | ||
@@ -80,0 +76,0 @@ |
@@ -1,25 +0,1 @@ | ||
!function(h,v){"object"==typeof exports&&"undefined"!=typeof module?v(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],v):v(((h="undefined"!=typeof globalThis?globalThis:h||self).DiceBear=h.DiceBear||{},h.DiceBear.Human={}),h.DiceBear)}(this,(function(h,v){"use strict";function l(h){return h&&"object"==typeof h&&"default"in h?h:{default:h}}var e=l(v);const a={meta:{title:"Male / 8biticon",creator:"Plastic Jam",contributor:"Florian Körner",source:"https://github.com/dicebear/dicebear",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/v4/packages/avatars-male-sprites/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{mood:{title:"Mood",type:"array",items:{type:"string",enum:["happy","sad","surprised"]}}},additionalProperties:!1},create:h=>{let{prng:v,options:l}=h,a=v.pick([new e.default.color("#FFDBAC"),new e.default.color("#F5CFA0"),new e.default.color("#EAC393"),new e.default.color("#E0B687"),new e.default.color("#CB9E6E"),new e.default.color("#B68655"),new e.default.color("#A26D3D"),new e.default.color("#8D5524")]),t=v.pick([new e.default.color("#090806"),new e.default.color("#2c222b"),new e.default.color("#71635a"),new e.default.color("#b7a69e"),new e.default.color("#b89778"),new e.default.color("#a56b46"),new e.default.color("#b55239"),new e.default.color("#8d4a43"),new e.default.color("#91553d"),new e.default.color("#533d32"),new e.default.color("#3b3024"),new e.default.color("#554838"),new e.default.color("#4e433f"),new e.default.color("#504444"),new e.default.color("#6a4e42"),new e.default.color("#a7856a"),new e.default.color("#977961")]).brighterOrDarkerThan(a,17),o=v.pick([new e.default.color("#76778b"),new e.default.color("#697b94"),new e.default.color("#647b90"),new e.default.color("#5b7c8b"),new e.default.color("#588387")]),d=t.clone().darkerThan(a,7).darkerThan(t,10),i=t.clone().darkerThan(a,7);i.alpha=v.pick([1,.75,.5]);let c=v.pick([new e.default.color("#eec1ad"),new e.default.color("#dbac98"),new e.default.color("#d29985")]).brighterOrDarkerThan(a,10),V=v.pick([new e.default.color("#5f705c"),new e.default.color("#43677d"),new e.default.color("#5e172d"),new e.default.color("#ffb67a"),new e.default.color("#a04b5d"),new e.default.color("#191919"),new e.default.color("#323232"),new e.default.color("#4b4b4b")]),f=v.pick([new e.default.color("#5bc0de"),new e.default.color("#5cb85c"),new e.default.color("#428bca"),new e.default.color("#03396c"),new e.default.color("#005b96"),new e.default.color("#6497b1"),new e.default.color("#1b85b8"),new e.default.color("#5a5255"),new e.default.color("#559e83"),new e.default.color("#ae5a41"),new e.default.color("#c3cb71"),new e.default.color("#666547"),new e.default.color("#ffe28a")]),H=v.pick([new e.default.color("#18293b"),new e.default.color("#2e1e05"),new e.default.color("#989789"),new e.default.color("#3d6ba7"),new e.default.color("#517459"),new e.default.color("#a62116")]),z=[];for(;0===z.length;)(void 0===l.mood||l.mood.indexOf("sad")>-1)&&z.push('<path d="M8 13h3v1H8v-1z" fill="'.concat(c.hex,'"/>'),'<path d="M8 13h4v1H8v-1z" fill="'.concat(c.hex,'"/>'),'<path d="M9 13h2v1H9v-1z" fill="'.concat(c.hex,'"/>'),'<path d="M8 12v1h3v1h1v-1h-1v-1H8z" fill="'.concat(c.hex,'"/>'),'<path d="M8 13v1h1v-1h3v-1H9v1H8z" fill="'.concat(c.hex,'"/>')),(void 0===l.mood||l.mood.indexOf("happy")>-1)&&z.push('<path d="M7 12v1h1v1h4v-1H8v-1H7z" fill="'.concat(c.hex,'"/>'),'<path d="M10 12v1H9v1h2v-2h-1z" fill="'.concat(c.hex,'"/>'),'<path d="M8 13v1h4v-1h1v-1h-1v1H8z" fill="'.concat(c.hex,'"/>'),'<path d="M8 12v2h4v-2H8z" fill="#FFF"/>'),(void 0===l.mood||l.mood.indexOf("surprised")>-1)&&z.push('<path d="M9 12v2h2v-2H9z" fill="'.concat(c.hex,'"/>'),'<path d="M9 13v1h1v-1H9z" fill="'.concat(c.hex,'"/>')),0===z.length&&(l.mood=void 0);return{attributes:{viewBox:"0 0 20 20","shape-rendering":"crispEdges"},body:['<path d="M8 15v1H4v1H3v3h14v-3h-1v-1h-4v-1h3v-1h1v-1h1v-3h1V7h-1V4h-1V3h-1V2H5v1H4v1H3v3H2v3h1v3h1v1h1v1h3z" fill="'.concat(a.hex,'"/><path d="M5 15v-1H4v-1H3v-3H2V7h1V4h1V3h1V2h10v1h1v1h1v3h1v3h-1v3h-1v1h-1v1H5z" fill="#FFF" fill-opacity=".1"/>'),v.pick(['<path d="M5 9V7h3v2H5zm7-2h3v2h-3V7z" fill="#FFF"/><path d="M7 8v1h1V8H7zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 1V8h1v1h-1z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 7h1v1h1v1H6V7zm6 0h1v1h1v1h-2V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm6 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7v1h3V7H5zm7 0h3v1h-3V7z" fill="#FFF"/><path d="M5 9V8h1V7h1v1h1v1H5zm7 0V8h1V7h1v1h1v1h-3z" fill="'.concat(o.hex,'"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1z" fill="#FFF" fill-opacity=".5"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 7h2v2H6V7zm7 0h2v2h-2V7z" fill="'.concat(o.hex,'"/><path d="M6 7v1h1v1h1V8H7V7H6zm7 0v1h1v1h1V8h-1V7h-1z" fill="#FFF" fill-opacity=".4"/><path d="M7 7v1h1V7H7zm7 0h1v1h-1V7z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/><path d="M5 8h1v1H5V8zm7 0h1v1h-1V8z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M6 7h1v2H5V8h1V7zm7 0h1v2h-2V8h1V7z" fill="#FFF"/><path d="M7 7v1H6v1h2V7H7zm7 0v1h-1v1h2V7h-1z" fill="'.concat(o.hex,'"/><path d="M7 7v1h1V7H7zM6 8v1h1V8H6zm8-1v1h1V7h-1zm-1 1v1h1V8h-1z" fill="#FFF" fill-opacity=".5"/>')]),v.pick(['<path d="M7 5v1H5v1H4V6h1V5h2zm7 0v1h-2v1h-1V6h1V5h2z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M8 4v1H7v1H5V5h2V4h1zm4 0h1v1h2v1h-2V5h-1V4z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h3v2H8V6H6V5zm5 0h3v1h-2v1h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 5h3v1h1v1H8V6H5V5zm10 0h-3v1h-1v1h1V6h3V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5H4v2h1V6h1V5zm8 0h2v2h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 6h2v1H5V6zm8 0h2v1h-2V6z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h1v1h1v1H5V6h1V5zm7 0h1v1h1v1h-3V6h1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h2v1h1v1H8V6H6V5zm8 0h-2v1h-1v1h1V6h2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1zM5 7V6h1V5h1v1h1v1H7V6H6v1H5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5v1H5v1H4V6h1V5h2zm6 0h2v1h1v1h-1V6h-2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V5h3v1H5v1H4zm12-2v2h-1V6h-2V5h3z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5h1v1h1v1H8V6H7V5zm6 0v1h-1v1h-1V6h1V5h1z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V6h1V5h1v1H5v1H4zm10-2h1v1h1v1h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>')]),v.bool(50)?v.pick(['<path d="M3 10v3h1v1h1v1h10v-1h1v-1h1v-3h-3v1H6v-1H3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>'),'<path d="M3 13h1v1h1v1h10v-1h1v-1h1v-3h-1v1h-1v1H5v-1H4v-1H3v3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>'),'<path d="M3 11v2h1v1h1v1h10v-1h1v-1h1v-2H3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>'),'<path d="M3 7v6h1v1h1v1h10v-1h1v-1h1V7h-1v2h-1v1h-1v1H6v-1H5V9H4V7H3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>')]):"",v.pick(z),v.bool(25)?v.pick(['<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 10V7h3v3h-3zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5zm-6 4V7h3v3H5z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 7v2h3V7H5zM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4zm8 1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 8v1h3V8H5zM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3zm9 1v1h3V8h-3z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7v1h1V7H3zm6 0v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 7v2h3V7h-3zM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6zM5 7v2h3V7H5z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8zm1 0V7h3v2H5V8zm7-1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M14 7h1v1h-1V7zM7 7h1v1H7V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 8V7h1v1H3zm6-1v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8zm1 0h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8v1h1V8H7zm7 0v1h1V8h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 7v1h1V7H3zm13 0v1h1V7h-1zM9 7v1h2V7H9z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>')]):"",v.pick(['<path d="M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="#FFF" fill-opacity=".2"/><path d="M12 19v-1h3v1h-3z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1z" fill="#FFF" fill-opacity=".2"/><path d="M9 16v1h2v-1H9z" fill="#FFF"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M9 16H4v1H3v3h6v-2H8v-1h1v-1zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".3"/>'),'<path d="M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M5 16H4v1H3v3h2v-4zm1 0h1v2h6v-2h1v4H6v-4zm9 0h1v1h1v3h-2v-4z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M4 17v-1h3v1H4zm9 0v-1h3v1h-3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M6 16H4v1H3v3h6v-2H8v-1H6v-1zm2 0h1-1zm3 0h1-1zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5z" fill="'.concat(f.hex,'"/><path d="M10 20v-1h3v1h-3z" fill="#FFF" fill-opacity=".5"/><path d="M5 16H4v1H3v3h1v-1h1v-3zm1 0h1v1h6v-1h1v2H6v-2zm9 0h1v1h1v3h-1v-1h-1v-3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".8"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-1h1v1H3zm2 0v-1h1v1H5zm2 0v-1h1v1H7zm2 0v-1h1v1H9zm2 0v-1h1v1h-1zm2 0v-1h1v1h-1zm2 0v-1h1v1h-1zm1-2h1v1h-1v-1zm-2 0h1v1h-1v-1zm-2 0h1v1h-1v-1zm-2 0h1v1h-1v-1zm-2 0h1v1H8v-1zm-2 0h1v1H6v-1zm-2 0h1v1H4v-1zm-1-1h1v1H3v-1zm2 0h1v1H5v-1zm2 0h1v1H7v-1zm2 0h1v1H9v-1zm2 0h1v1h-1v-1zm2 0h1v1h-1v-1zm2 0h1v1h-1v-1zM4 16h1v1H4v-1zm2 0h1v1H6v-1zm6 0h1v1h-1v-1zm2 0h1v1h-1v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-2h1v2H3zm3 0v-2h2v2H6zm4 0v-2h2v2h-2zm4 0v-2h2v2h-2zm2-3v1h1v-1h-1zm-2 1v-2h-2v2h2zm-6-1v1h2v-1H8zm-4-1v2h2v-2H4z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 19h14v1H3v-1zm0-2h14v1H3v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/>')]),v.bool(95)?v.pick(['<path d="M3 3v2h1V4h1V3h10v1h1v1h1V3h-1V2H4v1H3z" fill="'.concat(t.hex,'"/>'),'<path d="M5 2h10v1h1v1h1v3h-1V6h-1V5h-1V4h-4v1H8v1H7v1H4V6H3V4h1V3h1V2z" fill="'.concat(t.hex,'"/>'),'<path d="M3 6h1V4h1V3h2v1h1v1h4V4h1V3h2v1h1v2h1V4h-1V3h-1V2H5v1H4v1H3v2z" fill="'.concat(t.hex,'"/>'),'<path d="M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4z" fill="'.concat(t.hex,'"/>'),'<path d="M2 4v1h1v1h2V4h1V2H4v1H3v1H2zm6-1h2v1h2V3h1V2H8v1zm6 1h1v2h2V5h1V4h-1V3h-1V2h-2v2z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M3 7h1V5h2V3h8v1h1v1h1v2h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v3z" fill="'.concat(t.hex,'"/>'),'<path d="M8 2h4v1h-1v1H9V3H8V2z" fill="'.concat(t.hex,'"/>'),'<path d="M9 0v1H8v1h4V1h-1V0H9z" fill="'.concat(t.hex,'"/>'),'<path d="M3 7h1V5h2V4h2V3h1v1h2v1h2v1h2v1h2V4h-1V3h-1V2H5v1H4v1H3v3z" fill="'.concat(t.hex,'"/>'),'<path d="M4 4h12V3h-1V2H5v1H4v1z" fill="'.concat(t.hex,'"/>'),'<path d="M2 7h1V5h2V4h1V3h1v1h2V3h4V2h1v1h1v1h1v1h1v2h1V6h1V4h-1V3h-1V2h-1V1h-1V0h-1v1h-2V0h-1v1H9V0H8v1H7V0H5v1H4v1H2v5z" fill="'.concat(t.hex,'"/>'),'<path d="M0 7h1v5h1v1h1V9h1V7h1V6h1V4h1V3h7v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-2V1h-1V0h-1v1H5V0H4v1H3V0H2v1h1v2H2V2H1v1h1v1H1v2H0v1z" fill="'.concat(t.hex,'"/>'),'<path d="M5 2v1H4v1H3v3h2V6h1V5h6V4h1V3h1v1h-1v1h1v1h1v1h2V4h-1V3h-1V2H5z" fill="'.concat(t.hex,'"/>')]):"",v.bool(5)?v.pick(['<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/>'),'<path d="M4 3H2v1h16V3h-2V0H4v3z" fill="'.concat(H.hex,'"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/>'),'<path d="M6 0v1H5v1H4v2h14V3h-2V2h-1V1h-1V0H6z" fill="'.concat(H.hex,'"/>'),'<path d="M2 4V2h2V0h12v2h2v2H2z" fill="'.concat(H.hex,'"/><path d="M4 0v2h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V3h2V0h12v3h2v1H2z" fill="'.concat(H.hex,'"/><path d="M4 0v3h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V2h1V1h1V0h12v1h1v1h1v2H2z" fill="'.concat(H.hex,'"/><path d="M3 1v1h14V1H3zM2 3v1h16V3H2z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M14 0H6v1H5v1H4v2h14V3h-2V2h-1V1h-1V0z" fill="'.concat(H.hex,'"/><path d="M5 3h1V2h1V1h1V0H7v1H6v1H5v1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v3H2v1h16V3h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1zm-2-3v2h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/><path d="M15 0v4h-1V0h1zm-2 0v4h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 2H4v2h14V3h-2V2h-1V1h-1V0H6v1H5v1z" fill="'.concat(H.hex,'"/><path d="M14 2h-3v1h3V2z" fill="#FFF" fill-opacity=".2"/>')]):""].join("")}}}; | ||
/*! | ||
* DiceBear Male (@dicebear/avatars-male-sprites) | ||
* | ||
* Code licensed under MIT (https://github.com/dicebear/dicebear/blob/v4/packages/avatars-male-sprites/LICENSE) | ||
* Copyright (c) 2012 Plastic Jam | ||
* Copyright (c) 2021 Florian Körner | ||
*/ | ||
let{create:t,meta:o,schema:d}=a;v.utils.style.createLegacyWrapper({create:t,meta:o,schema:d});const i={meta:{title:"Female / 8biticon",creator:"Plastic Jam",contributor:"Florian Körner",source:"https://github.com/dicebear/dicebear",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/v4/packages/avatars-female-sprites/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{mood:{title:"Mood",type:"array",items:{type:"string",enum:["happy","sad","surprised"]}}},additionalProperties:!1},create:h=>{let{prng:v,options:l}=h,a=v.pick([new e.default.color("#FFDBAC"),new e.default.color("#F5CFA0"),new e.default.color("#EAC393"),new e.default.color("#E0B687"),new e.default.color("#CB9E6E"),new e.default.color("#B68655"),new e.default.color("#A26D3D"),new e.default.color("#8D5524")]),t=v.pick([new e.default.color("#090806"),new e.default.color("#2c222b"),new e.default.color("#71635a"),new e.default.color("#b7a69e"),new e.default.color("#d6c4c2"),new e.default.color("#cabfb1"),new e.default.color("#dcd0ba"),new e.default.color("#fff5e1"),new e.default.color("#e6cea8"),new e.default.color("#e5c8a8"),new e.default.color("#debc99"),new e.default.color("#b89778"),new e.default.color("#a56b46"),new e.default.color("#b55239"),new e.default.color("#8d4a43"),new e.default.color("#91553d"),new e.default.color("#533d32"),new e.default.color("#3b3024"),new e.default.color("#554838"),new e.default.color("#4e433f"),new e.default.color("#504444"),new e.default.color("#6a4e42"),new e.default.color("#a7856a"),new e.default.color("#977961")]).brighterOrDarkerThan(a,17),o=v.pick([new e.default.color("#76778b"),new e.default.color("#697b94"),new e.default.color("#647b90"),new e.default.color("#5b7c8b"),new e.default.color("#588387")]),d=t.clone().darkerThan(a,7).darkerThan(t,10),i=v.pick([new e.default.color("#daa520"),new e.default.color("#ffd700"),new e.default.color("#eee8aa"),new e.default.color("#fafad2"),new e.default.color("#d3d3d3"),new e.default.color("#a9a9a9")]),c=v.pick([new e.default.color("#dbac98"),new e.default.color("#d29985"),new e.default.color("#c98276"),new e.default.color("#e35d6a"),new e.default.color("#e32153"),new e.default.color("#de0f0d")]).brighterOrDarkerThan(a,10),V=v.pick([new e.default.color("#5f705c"),new e.default.color("#43677d"),new e.default.color("#5e172d"),new e.default.color("#ffb67a"),new e.default.color("#a04b5d"),new e.default.color("#191919"),new e.default.color("#323232"),new e.default.color("#4b4b4b")]),f=v.pick([new e.default.color("#d11141"),new e.default.color("#00b159"),new e.default.color("#00aedb"),new e.default.color("#f37735"),new e.default.color("#ffc425"),new e.default.color("#740001"),new e.default.color("#ae0001"),new e.default.color("#eeba30"),new e.default.color("#96ceb4"),new e.default.color("#ffeead"),new e.default.color("#ff6f69"),new e.default.color("#ffcc5c"),new e.default.color("#88d8b0")]),H=v.pick([new e.default.color("#cc6192"),new e.default.color("#2663a3"),new e.default.color("#a62116"),new e.default.color("#3d8a6b"),new e.default.color("#614f8a")]),z=[];for(;0===z.length;)(void 0===l.mood||l.mood.indexOf("sad")>-1)&&z.push('<path d="M9 11v1H8v1h4v-1h-1v-1H9z" fill="'.concat(c.hex,'"/>'),'<path d="M11 11v1H9v1H8v-1h1v-1h2z" fill="'.concat(c.hex,'"/>'),'<path d="M9 12h2v1H9v-1z" fill="'.concat(c.hex,'"/>'),'<path d="M9 12v1h1v1h1v-2H9z" fill="'.concat(c.hex,'"/>')),(void 0===l.mood||l.mood.indexOf("happy")>-1)&&z.push('<path d="M9 11v2h2v-1h-1v-1H9z" fill="'.concat(c.hex,'"/><path d="M11 13v-1h-1v-1H9v1h1v1h1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M10 11v1H9v1h2v-2h-1z" fill="'.concat(c.hex,'"/>'),'<path d="M8 11v1h1v1h2v-1h1v-1H8z" fill="'.concat(c.hex,'"/>'),'<path d="M9 12v1h2v-1h1v-1h-1v1H9z" fill="'.concat(c.hex,'"/>'),'<path d="M8 11v1h1v1h2v-1H9v-1H8z" fill="'.concat(c.hex,'"/>'),'<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8z" fill="'.concat(c.hex,'"/><path d="M9 12v1h2v-1H9z" fill="#FFF"/>'),'<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8z" fill="'.concat(c.hex,'"/><path d="M9 12v1h2v-1H9z" fill="#FFF" fill-opacity=".2"/>')),(void 0===l.mood||l.mood.indexOf("surprised")>-1)&&z.push('<path d="M9 12v1h1v-1H9z" fill="'.concat(c.hex,'"/>'),'<path d="M9 11v2h2v-2H9z" fill="'.concat(c.hex,'"/>')),0===z.length&&(l.mood=void 0);return{attributes:{viewBox:"0 0 20 20","shape-rendering":"crispEdges"},body:['<path d="M3 20v-3h1v-1h4v-2H6v-1H5v-1H4v-1H3V9H2V7h1V4h1V3h1V2h10v1h1v1h1v3h1v2h-1v2h-1v1h-1v1h-1v1h-2v2h4v1h1v3H3z" fill="'.concat(a.hex,'"/><path d="M14 14v-1h1v-1h1v-1h1V9h1V7h-1V4h-1V3h-1V2H5v1H4v1H3v3H2v2h1v2h1v1h1v1h1v1h8z" fill="#FFF" fill-opacity=".1"/>'),v.pick(['<path d="M5 9V7h3v2H5zm7-2h3v2h-3V7z" fill="#FFF"/><path d="M7 8v1h1V8H7zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 1V8h1v1h-1z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 7h1v1h1v1H6V7zm6 0h1v1h1v1h-2V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm6 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7v1h3V7H5zm7 0h3v1h-3V7z" fill="#FFF"/><path d="M5 9V8h1V7h1v1h1v1H5zm7 0V8h1V7h1v1h1v1h-3z" fill="'.concat(o.hex,'"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1z" fill="#FFF" fill-opacity=".5"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 7h2v2H6V7zm7 0h2v2h-2V7z" fill="'.concat(o.hex,'"/><path d="M6 7v1h1v1h1V8H7V7H6zm7 0v1h1v1h1V8h-1V7h-1z" fill="#FFF" fill-opacity=".4"/><path d="M7 7v1h1V7H7zm7 0h1v1h-1V7z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/><path d="M5 8h1v1H5V8zm7 0h1v1h-1V8z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M6 7h1v2H5V8h1V7zm7 0h1v2h-2V8h1V7z" fill="#FFF"/><path d="M7 7v1H6v1h2V7H7zm7 0v1h-1v1h2V7h-1z" fill="'.concat(o.hex,'"/><path d="M7 7v1h1V7H7zM6 8v1h1V8H6zm8-1v1h1V7h-1zm-1 1v1h1V8h-1z" fill="#FFF" fill-opacity=".5"/>')]),v.pick(['<path d="M7 5v1H5v1H4V6h1V5h2zm7 0v1h-2v1h-1V6h1V5h2z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M8 4v1H7v1H5V5h2V4h1zm4 0h1v1h2v1h-2V5h-1V4z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h3v2H8V6H6V5zm5 0h3v1h-2v1h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 5h3v1h1v1H8V6H5V5zm10 0h-3v1h-1v1h1V6h3V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5H4v2h1V6h1V5zm8 0h2v2h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 6h2v1H5V6zm8 0h2v1h-2V6z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h1v1h1v1H5V6h1V5zm7 0h1v1h1v1h-3V6h1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h2v1h1v1H8V6H6V5zm8 0h-2v1h-1v1h1V6h2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1zM5 7V6h1V5h1v1h1v1H7V6H6v1H5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5v1H5v1H4V6h1V5h2zm6 0h2v1h1v1h-1V6h-2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V5h3v1H5v1H4zm12-2v2h-1V6h-2V5h3z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5h1v1h1v1H8V6H7V5zm6 0v1h-1v1h-1V6h1V5h1z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V6h1V5h1v1H5v1H4zm10-2h1v1h1v1h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>')]),v.bool(15)?v.pick(['<path d="M2 9v1h1V9H2zm15 0v1h1V9h-1z" fill-rule="evenodd" fill="'.concat(i.hex,'"/>'),'<path d="M2 9v2h1V9H2zm15 0h1v2h-1V9z" fill-rule="evenodd" fill="'.concat(i.hex,'"/>'),'<path d="M2 9v2h1V9H2zm15 0h1v2h-1V9z" fill="'.concat(i.hex,'"/><path d="M2 9v1h1V9H2zm15 0h1v1h-1V9z" fill="#FFF" fill-opacity=".4"/>'),'<path d="M1 9v3h3V9H1zm1 1v1h1v-1H2zm14-1v3h3V9h-3zm1 1v1h1v-1h-1z" fill-rule="evenodd" fill="'.concat(i.hex,'"/>')]):"",v.pick(z),v.bool(25)?v.pick(['<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3z" fill="'.concat(V.hex,'"/><path d="M3 7v1h1V7h1V6H4v1H3zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8zm7 0v1h1v1h1V7h-1V6h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 10V7h3v3h-3zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5zm-6 4V7h3v3H5z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 7v2h3V7H5zM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4zm8 1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 8v1h3V8H5zM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3zm9 1v1h3V8h-3z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7v1h1V7H3zm6 0v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 7v2h3V7h-3zM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6zM5 7v2h3V7H5z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8zm1 0V7h3v2H5V8zm7-1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M14 7h1v1h-1V7zM7 7h1v1H7V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 8V7h1v1H3zm6-1v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8zm1 0h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="'.concat(V.hex,'"/><path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8v1h1V8H7zm7 0v1h1V8h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 7v1h1V7H3zm13 0v1h1V7h-1zM9 7v1h2V7H9z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>')]):"",v.pick(['<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/>'),'<path d="M4 16v4h4v-1H7v-1H6v-1H5v-1H4zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1z" fill-rule="evenodd" fill="'.concat(f.hex,'"/>'),'<path d="M5 16h1v2h1v1h1v1H5v-4zm9 0h1v4h-3v-1h1v-1h1v-2z" fill-rule="evenodd" fill="'.concat(f.hex,'"/>'),'<path d="M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-2h1v1h3v1H3zm14 0v-2h-1v1h-3v1h4z" fill-rule="evenodd" fill="#FFF" fill-opacity=".4"/><path d="M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2z" fill="#FFF" fill-opacity=".4"/>'),'<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6z" fill="#FFF" fill-opacity=".4"/><path d="M13 20v-1h2v1h-2zm1-4v1h2v-1h-2zm-8 0H4v1h2v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6z" fill-rule="evenodd" fill="'.concat(f.hex,'"/>'),'<path d="M4 16v4h4v-1H7v-1H6v-2H4zM16 20v-4h-2v2h-1v1h-1v1h4z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6z" fill="#FFF" fill-opacity=".4"/><path d="M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1zM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".1"/>'),'<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 17h14v1H3v-1zm0 2v1h14v-1H3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>')]),v.pick(['<path d="M2 9v6h2v-4H3V9H2zm0-2h2V4h12v3h2V3h-1V2H3v1H2v4zm15 2h1v6h-2v-4h1V9z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M4 12h1v1H3V4h1V3h1V2h10v1h1v1h1v9h-2v-1h1V5H4v7z" fill="'.concat(t.hex,'"/>'),'<path d="M2 17h2v-1h4v-2H6v-1H5v-1H4V4h1V3h1v1h1V3h1v1h1V3h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V3h-1V2h-1V1H4v1H3v1H2v14z" fill="'.concat(t.hex,'"/>'),'<path d="M2 13V9h1v2h1v1h1v1H2zm15-4h1v4h-3v-1h1v-1h1V9zM2 7h1V4h1V3h1V2h10v1h1v1h1v3h1V3h-1V2h-1V1H4v1H3v1H2v4z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M2 14h2V4h12v10h2V3h-1V2h-1V1H4v1H3v1H2v11z" fill="'.concat(t.hex,'"/>'),'<path d="M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11z" fill="'.concat(t.hex,'"/>'),'<path d="M3 4v3h1V4h2v1h1V4h1v1h1V4h7v3h1V4h1V2h-1V1h-2v1H5V1H3v1H2v2h1z" fill="'.concat(t.hex,'"/>'),'<path d="M2 10h1V8h1V7h1V6h1V5h1V4h7v1h3V4h-1V3h-1V2H4v1H3v1H2v6z" fill="'.concat(t.hex,'"/>'),'<path d="M1 17h3v-1h4v-2H6v-1H5v-1H4v-1H3V9H2V7h1V5h1V4h7V3h1v1h1V3h1v1h1V3h1v2h1v2h1v2h-1v2h-1v1h-1v1h-1v1h-2v2h4v1h3V4h-1V3h-1V2h-1V1H4v1H3v1H2v1H1v13z" fill="'.concat(t.hex,'"/>'),'<path d="M2 13h3v-1H4v-1H3V9H2v4zm13 0h3V9h-1v2h-1v1h-1v1zm2-6h1V3h-1V2h-1V1H4v1H3v1H2v4h1V5h1V4h1V3h1V2h8v1h1v1h1v1h1v2z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M2 9v3h1v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-1H3V9H2zm0-2h1V6h1V5h2V4h9v1h1v1h1v1h1V3h-1V2h-1V1H4v1H3v1H2v4z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M1 15h5v-2H5v-1H4v-1H3V6h2V5h2V4h1V3h6v1h1v1h1v1h1v5h-1v1h-1v1h-1v2h5V4h-1V3h-1V2h-1V1H4v1H3v1H2v1H1v11z" fill="'.concat(t.hex,'"/>'),'<path d="M2 9v3h1v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-1H3V9H2zm16 0v3h-1v1h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-1h1V9h1zm-1-2h1V3h-1V2h-1V1H4v1H3v1H2v4h1V6h1V5h2V4h9v1h1v1h1v1z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>')]),v.bool(5)?v.pick(['<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/>'),'<path d="M4 3H2v1h16V3h-2V0H4v3z" fill="'.concat(H.hex,'"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/>'),'<path d="M6 0v1H5v1H4v2h14V3h-2V2h-1V1h-1V0H6z" fill="'.concat(H.hex,'"/>'),'<path d="M2 4V2h2V0h12v2h2v2H2z" fill="'.concat(H.hex,'"/><path d="M4 0v2h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V3h2V0h12v3h2v1H2z" fill="'.concat(H.hex,'"/><path d="M4 0v3h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V2h1V1h1V0h12v1h1v1h1v2H2z" fill="'.concat(H.hex,'"/><path d="M3 1v1h14V1H3zM2 3v1h16V3H2z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M14 0H6v1H5v1H4v2h14V3h-2V2h-1V1h-1V0z" fill="'.concat(H.hex,'"/><path d="M5 3h1V2h1V1h1V0H7v1H6v1H5v1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v3H2v1h16V3h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1zm-2-3v2h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/><path d="M15 0v4h-1V0h1zm-2 0v4h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 2H4v2h14V3h-2V2h-1V1h-1V0H6v1H5v1z" fill="'.concat(H.hex,'"/><path d="M14 2h-3v1h3V2z" fill="#FFF" fill-opacity=".2"/>')]):""].join("")}}}; | ||
/*! | ||
* DiceBear Female (@dicebear/avatars-female-sprites) | ||
* | ||
* Code licensed under MIT (https://github.com/dicebear/dicebear/blob/v4/packages/avatars-female-sprites/LICENSE) | ||
* Copyright (c) 2012 Plastic Jam | ||
* Copyright (c) 2021 Florian Körner | ||
*/ | ||
let{create:c,meta:V,schema:f}=i;v.utils.style.createLegacyWrapper({create:c,meta:V,schema:f});const H={meta:{title:"Human / 8biticon",creator:"Plastic Jam",contributor:"Florian Körner",source:"https://github.com/dicebear/dicebear",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/v4/packages/avatars-human-sprites/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{mood:{title:"Mood",type:"array",items:{type:"string",enum:["happy","sad","surprised"]}}},additionalProperties:!1},create:h=>{let{prng:v,options:l}=h;return v.bool(50)?t({prng:v,options:l}):c({prng:v,options:l})}}; | ||
/*! | ||
* DiceBear Human (@dicebear/avatars-human-sprites) | ||
* | ||
* Code licensed under MIT (https://github.com/dicebear/dicebear/blob/v4/packages/avatars-human-sprites/LICENSE) | ||
* Copyright (c) 2012 Plastic Jam | ||
* Copyright (c) 2021 Florian Körner | ||
*/ | ||
let{create:z,meta:n,schema:p}=H;var r=v.utils.style.createLegacyWrapper({create:z,meta:n,schema:p});h.create=z,h.default=r,h.meta=n,h.schema=p,Object.defineProperty(h,"__esModule",{value:!0})})); | ||
!function(h,v){"object"==typeof exports&&"undefined"!=typeof module?v(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],v):v(((h="undefined"!=typeof globalThis?globalThis:h||self).DiceBear=h.DiceBear||{},h.DiceBear.Human={}),h.DiceBear)}(this,(function(h,v){"use strict";function l(h){return h&&"object"==typeof h&&"default"in h?h:{default:h}}var e=l(v),a=function(h){var v=h.prng,l=h.options,a=v.pick([new e.default.color("#FFDBAC"),new e.default.color("#F5CFA0"),new e.default.color("#EAC393"),new e.default.color("#E0B687"),new e.default.color("#CB9E6E"),new e.default.color("#B68655"),new e.default.color("#A26D3D"),new e.default.color("#8D5524")]),t=v.pick([new e.default.color("#090806"),new e.default.color("#2c222b"),new e.default.color("#71635a"),new e.default.color("#b7a69e"),new e.default.color("#b89778"),new e.default.color("#a56b46"),new e.default.color("#b55239"),new e.default.color("#8d4a43"),new e.default.color("#91553d"),new e.default.color("#533d32"),new e.default.color("#3b3024"),new e.default.color("#554838"),new e.default.color("#4e433f"),new e.default.color("#504444"),new e.default.color("#6a4e42"),new e.default.color("#a7856a"),new e.default.color("#977961")]).brighterOrDarkerThan(a,17),o=v.pick([new e.default.color("#76778b"),new e.default.color("#697b94"),new e.default.color("#647b90"),new e.default.color("#5b7c8b"),new e.default.color("#588387")]),d=t.clone().darkerThan(a,7).darkerThan(t,10),i=t.clone().darkerThan(a,7);i.alpha=v.pick([1,.75,.5]);for(var V=v.pick([new e.default.color("#eec1ad"),new e.default.color("#dbac98"),new e.default.color("#d29985")]).brighterOrDarkerThan(a,10),c=v.pick([new e.default.color("#5f705c"),new e.default.color("#43677d"),new e.default.color("#5e172d"),new e.default.color("#ffb67a"),new e.default.color("#a04b5d"),new e.default.color("#191919"),new e.default.color("#323232"),new e.default.color("#4b4b4b")]),f=v.pick([new e.default.color("#5bc0de"),new e.default.color("#5cb85c"),new e.default.color("#428bca"),new e.default.color("#03396c"),new e.default.color("#005b96"),new e.default.color("#6497b1"),new e.default.color("#1b85b8"),new e.default.color("#5a5255"),new e.default.color("#559e83"),new e.default.color("#ae5a41"),new e.default.color("#c3cb71"),new e.default.color("#666547"),new e.default.color("#ffe28a")]),H=v.pick([new e.default.color("#18293b"),new e.default.color("#2e1e05"),new e.default.color("#989789"),new e.default.color("#3d6ba7"),new e.default.color("#517459"),new e.default.color("#a62116")]),z=[];0===z.length;)(void 0===l.mood||l.mood.indexOf("sad")>-1)&&z.push('<path d="M8 13h3v1H8v-1z" fill="'.concat(V.hex,'"/>'),'<path d="M8 13h4v1H8v-1z" fill="'.concat(V.hex,'"/>'),'<path d="M9 13h2v1H9v-1z" fill="'.concat(V.hex,'"/>'),'<path d="M8 12v1h3v1h1v-1h-1v-1H8z" fill="'.concat(V.hex,'"/>'),'<path d="M8 13v1h1v-1h3v-1H9v1H8z" fill="'.concat(V.hex,'"/>')),(void 0===l.mood||l.mood.indexOf("happy")>-1)&&z.push('<path d="M7 12v1h1v1h4v-1H8v-1H7z" fill="'.concat(V.hex,'"/>'),'<path d="M10 12v1H9v1h2v-2h-1z" fill="'.concat(V.hex,'"/>'),'<path d="M8 13v1h4v-1h1v-1h-1v1H8z" fill="'.concat(V.hex,'"/>'),'<path d="M8 12v2h4v-2H8z" fill="#FFF"/>'),(void 0===l.mood||l.mood.indexOf("surprised")>-1)&&z.push('<path d="M9 12v2h2v-2H9z" fill="'.concat(V.hex,'"/>'),'<path d="M9 13v1h1v-1H9z" fill="'.concat(V.hex,'"/>')),0===z.length&&(l.mood=void 0);return{attributes:{viewBox:"0 0 20 20","shape-rendering":"crispEdges"},body:['<path d="M8 15v1H4v1H3v3h14v-3h-1v-1h-4v-1h3v-1h1v-1h1v-3h1V7h-1V4h-1V3h-1V2H5v1H4v1H3v3H2v3h1v3h1v1h1v1h3z" fill="'.concat(a.hex,'"/><path d="M5 15v-1H4v-1H3v-3H2V7h1V4h1V3h1V2h10v1h1v1h1v3h1v3h-1v3h-1v1h-1v1H5z" fill="#FFF" fill-opacity=".1"/>'),v.pick(['<path d="M5 9V7h3v2H5zm7-2h3v2h-3V7z" fill="#FFF"/><path d="M7 8v1h1V8H7zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 1V8h1v1h-1z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 7h1v1h1v1H6V7zm6 0h1v1h1v1h-2V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm6 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7v1h3V7H5zm7 0h3v1h-3V7z" fill="#FFF"/><path d="M5 9V8h1V7h1v1h1v1H5zm7 0V8h1V7h1v1h1v1h-3z" fill="'.concat(o.hex,'"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1z" fill="#FFF" fill-opacity=".5"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 7h2v2H6V7zm7 0h2v2h-2V7z" fill="'.concat(o.hex,'"/><path d="M6 7v1h1v1h1V8H7V7H6zm7 0v1h1v1h1V8h-1V7h-1z" fill="#FFF" fill-opacity=".4"/><path d="M7 7v1h1V7H7zm7 0h1v1h-1V7z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/><path d="M5 8h1v1H5V8zm7 0h1v1h-1V8z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M6 7h1v2H5V8h1V7zm7 0h1v2h-2V8h1V7z" fill="#FFF"/><path d="M7 7v1H6v1h2V7H7zm7 0v1h-1v1h2V7h-1z" fill="'.concat(o.hex,'"/><path d="M7 7v1h1V7H7zM6 8v1h1V8H6zm8-1v1h1V7h-1zm-1 1v1h1V8h-1z" fill="#FFF" fill-opacity=".5"/>')]),v.pick(['<path d="M7 5v1H5v1H4V6h1V5h2zm7 0v1h-2v1h-1V6h1V5h2z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M8 4v1H7v1H5V5h2V4h1zm4 0h1v1h2v1h-2V5h-1V4z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h3v2H8V6H6V5zm5 0h3v1h-2v1h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 5h3v1h1v1H8V6H5V5zm10 0h-3v1h-1v1h1V6h3V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5H4v2h1V6h1V5zm8 0h2v2h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 6h2v1H5V6zm8 0h2v1h-2V6z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h1v1h1v1H5V6h1V5zm7 0h1v1h1v1h-3V6h1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h2v1h1v1H8V6H6V5zm8 0h-2v1h-1v1h1V6h2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1zM5 7V6h1V5h1v1h1v1H7V6H6v1H5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5v1H5v1H4V6h1V5h2zm6 0h2v1h1v1h-1V6h-2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V5h3v1H5v1H4zm12-2v2h-1V6h-2V5h3z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5h1v1h1v1H8V6H7V5zm6 0v1h-1v1h-1V6h1V5h1z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V6h1V5h1v1H5v1H4zm10-2h1v1h1v1h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>')]),v.bool(50)?v.pick(['<path d="M3 10v3h1v1h1v1h10v-1h1v-1h1v-3h-3v1H6v-1H3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>'),'<path d="M3 13h1v1h1v1h10v-1h1v-1h1v-3h-1v1h-1v1H5v-1H4v-1H3v3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>'),'<path d="M3 11v2h1v1h1v1h10v-1h1v-1h1v-2H3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>'),'<path d="M3 7v6h1v1h1v1h10v-1h1v-1h1V7h-1v2h-1v1h-1v1H6v-1H5V9H4V7H3z" id="Path" fill="'.concat(i.hex,'" fill-opacity="').concat(i.alpha,'"/>')]):"",v.pick(z),v.bool(25)?v.pick(['<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 10V7h3v3h-3zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5zm-6 4V7h3v3H5z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 7v2h3V7H5zM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4zm8 1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 8v1h3V8H5zM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3zm9 1v1h3V8h-3z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7v1h1V7H3zm6 0v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 7v2h3V7h-3zM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6zM5 7v2h3V7H5z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8zm1 0V7h3v2H5V8zm7-1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M14 7h1v1h-1V7zM7 7h1v1H7V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 8V7h1v1H3zm6-1v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8zm1 0h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8v1h1V8H7zm7 0v1h1V8h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 7v1h1V7H3zm13 0v1h1V7h-1zM9 7v1h2V7H9z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>')]):"",v.pick(['<path d="M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="#FFF" fill-opacity=".2"/><path d="M12 19v-1h3v1h-3z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1z" fill="#FFF" fill-opacity=".2"/><path d="M9 16v1h2v-1H9z" fill="#FFF"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M9 16H4v1H3v3h6v-2H8v-1h1v-1zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".3"/>'),'<path d="M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M5 16H4v1H3v3h2v-4zm1 0h1v2h6v-2h1v4H6v-4zm9 0h1v1h1v3h-2v-4z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M4 17v-1h3v1H4zm9 0v-1h3v1h-3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M6 16H4v1H3v3h6v-2H8v-1H6v-1zm2 0h1-1zm3 0h1-1zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5z" fill="'.concat(f.hex,'"/><path d="M10 20v-1h3v1h-3z" fill="#FFF" fill-opacity=".5"/><path d="M5 16H4v1H3v3h1v-1h1v-3zm1 0h1v1h6v-1h1v2H6v-2zm9 0h1v1h1v3h-1v-1h-1v-3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".8"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-1h1v1H3zm2 0v-1h1v1H5zm2 0v-1h1v1H7zm2 0v-1h1v1H9zm2 0v-1h1v1h-1zm2 0v-1h1v1h-1zm2 0v-1h1v1h-1zm1-2h1v1h-1v-1zm-2 0h1v1h-1v-1zm-2 0h1v1h-1v-1zm-2 0h1v1h-1v-1zm-2 0h1v1H8v-1zm-2 0h1v1H6v-1zm-2 0h1v1H4v-1zm-1-1h1v1H3v-1zm2 0h1v1H5v-1zm2 0h1v1H7v-1zm2 0h1v1H9v-1zm2 0h1v1h-1v-1zm2 0h1v1h-1v-1zm2 0h1v1h-1v-1zM4 16h1v1H4v-1zm2 0h1v1H6v-1zm6 0h1v1h-1v-1zm2 0h1v1h-1v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-2h1v2H3zm3 0v-2h2v2H6zm4 0v-2h2v2h-2zm4 0v-2h2v2h-2zm2-3v1h1v-1h-1zm-2 1v-2h-2v2h2zm-6-1v1h2v-1H8zm-4-1v2h2v-2H4z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 19h14v1H3v-1zm0-2h14v1H3v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/>')]),v.bool(95)?v.pick(['<path d="M3 3v2h1V4h1V3h10v1h1v1h1V3h-1V2H4v1H3z" fill="'.concat(t.hex,'"/>'),'<path d="M5 2h10v1h1v1h1v3h-1V6h-1V5h-1V4h-4v1H8v1H7v1H4V6H3V4h1V3h1V2z" fill="'.concat(t.hex,'"/>'),'<path d="M3 6h1V4h1V3h2v1h1v1h4V4h1V3h2v1h1v2h1V4h-1V3h-1V2H5v1H4v1H3v2z" fill="'.concat(t.hex,'"/>'),'<path d="M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4z" fill="'.concat(t.hex,'"/>'),'<path d="M2 4v1h1v1h2V4h1V2H4v1H3v1H2zm6-1h2v1h2V3h1V2H8v1zm6 1h1v2h2V5h1V4h-1V3h-1V2h-2v2z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M3 7h1V5h2V3h8v1h1v1h1v2h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v3z" fill="'.concat(t.hex,'"/>'),'<path d="M8 2h4v1h-1v1H9V3H8V2z" fill="'.concat(t.hex,'"/>'),'<path d="M9 0v1H8v1h4V1h-1V0H9z" fill="'.concat(t.hex,'"/>'),'<path d="M3 7h1V5h2V4h2V3h1v1h2v1h2v1h2v1h2V4h-1V3h-1V2H5v1H4v1H3v3z" fill="'.concat(t.hex,'"/>'),'<path d="M4 4h12V3h-1V2H5v1H4v1z" fill="'.concat(t.hex,'"/>'),'<path d="M2 7h1V5h2V4h1V3h1v1h2V3h4V2h1v1h1v1h1v1h1v2h1V6h1V4h-1V3h-1V2h-1V1h-1V0h-1v1h-2V0h-1v1H9V0H8v1H7V0H5v1H4v1H2v5z" fill="'.concat(t.hex,'"/>'),'<path d="M0 7h1v5h1v1h1V9h1V7h1V6h1V4h1V3h7v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-2V1h-1V0h-1v1H5V0H4v1H3V0H2v1h1v2H2V2H1v1h1v1H1v2H0v1z" fill="'.concat(t.hex,'"/>'),'<path d="M5 2v1H4v1H3v3h2V6h1V5h6V4h1V3h1v1h-1v1h1v1h1v1h2V4h-1V3h-1V2H5z" fill="'.concat(t.hex,'"/>')]):"",v.bool(5)?v.pick(['<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/>'),'<path d="M4 3H2v1h16V3h-2V0H4v3z" fill="'.concat(H.hex,'"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/>'),'<path d="M6 0v1H5v1H4v2h14V3h-2V2h-1V1h-1V0H6z" fill="'.concat(H.hex,'"/>'),'<path d="M2 4V2h2V0h12v2h2v2H2z" fill="'.concat(H.hex,'"/><path d="M4 0v2h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V3h2V0h12v3h2v1H2z" fill="'.concat(H.hex,'"/><path d="M4 0v3h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V2h1V1h1V0h12v1h1v1h1v2H2z" fill="'.concat(H.hex,'"/><path d="M3 1v1h14V1H3zM2 3v1h16V3H2z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M14 0H6v1H5v1H4v2h14V3h-2V2h-1V1h-1V0z" fill="'.concat(H.hex,'"/><path d="M5 3h1V2h1V1h1V0H7v1H6v1H5v1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v3H2v1h16V3h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1zm-2-3v2h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/><path d="M15 0v4h-1V0h1zm-2 0v4h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 2H4v2h14V3h-2V2h-1V1h-1V0H6v1H5v1z" fill="'.concat(H.hex,'"/><path d="M14 2h-3v1h3V2z" fill="#FFF" fill-opacity=".2"/>')]):""].join("")}},t={title:"Male / 8biticon",creator:"Plastic Jam",contributor:"Florian Körner",source:"https://github.com/dicebear/dicebear",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/v4/packages/avatars-male-sprites/LICENSE"}},o={title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{mood:{title:"Mood",type:"array",items:{type:"string",enum:["happy","sad","surprised"]}}},additionalProperties:!1};v.utils.style.createLegacyWrapper({create:a,meta:t,schema:o});var d=function(h){for(var v=h.prng,l=h.options,a=v.pick([new e.default.color("#FFDBAC"),new e.default.color("#F5CFA0"),new e.default.color("#EAC393"),new e.default.color("#E0B687"),new e.default.color("#CB9E6E"),new e.default.color("#B68655"),new e.default.color("#A26D3D"),new e.default.color("#8D5524")]),t=v.pick([new e.default.color("#090806"),new e.default.color("#2c222b"),new e.default.color("#71635a"),new e.default.color("#b7a69e"),new e.default.color("#d6c4c2"),new e.default.color("#cabfb1"),new e.default.color("#dcd0ba"),new e.default.color("#fff5e1"),new e.default.color("#e6cea8"),new e.default.color("#e5c8a8"),new e.default.color("#debc99"),new e.default.color("#b89778"),new e.default.color("#a56b46"),new e.default.color("#b55239"),new e.default.color("#8d4a43"),new e.default.color("#91553d"),new e.default.color("#533d32"),new e.default.color("#3b3024"),new e.default.color("#554838"),new e.default.color("#4e433f"),new e.default.color("#504444"),new e.default.color("#6a4e42"),new e.default.color("#a7856a"),new e.default.color("#977961")]).brighterOrDarkerThan(a,17),o=v.pick([new e.default.color("#76778b"),new e.default.color("#697b94"),new e.default.color("#647b90"),new e.default.color("#5b7c8b"),new e.default.color("#588387")]),d=t.clone().darkerThan(a,7).darkerThan(t,10),i=v.pick([new e.default.color("#daa520"),new e.default.color("#ffd700"),new e.default.color("#eee8aa"),new e.default.color("#fafad2"),new e.default.color("#d3d3d3"),new e.default.color("#a9a9a9")]),V=v.pick([new e.default.color("#dbac98"),new e.default.color("#d29985"),new e.default.color("#c98276"),new e.default.color("#e35d6a"),new e.default.color("#e32153"),new e.default.color("#de0f0d")]).brighterOrDarkerThan(a,10),c=v.pick([new e.default.color("#5f705c"),new e.default.color("#43677d"),new e.default.color("#5e172d"),new e.default.color("#ffb67a"),new e.default.color("#a04b5d"),new e.default.color("#191919"),new e.default.color("#323232"),new e.default.color("#4b4b4b")]),f=v.pick([new e.default.color("#d11141"),new e.default.color("#00b159"),new e.default.color("#00aedb"),new e.default.color("#f37735"),new e.default.color("#ffc425"),new e.default.color("#740001"),new e.default.color("#ae0001"),new e.default.color("#eeba30"),new e.default.color("#96ceb4"),new e.default.color("#ffeead"),new e.default.color("#ff6f69"),new e.default.color("#ffcc5c"),new e.default.color("#88d8b0")]),H=v.pick([new e.default.color("#cc6192"),new e.default.color("#2663a3"),new e.default.color("#a62116"),new e.default.color("#3d8a6b"),new e.default.color("#614f8a")]),z=[];0===z.length;)(void 0===l.mood||l.mood.indexOf("sad")>-1)&&z.push('<path d="M9 11v1H8v1h4v-1h-1v-1H9z" fill="'.concat(V.hex,'"/>'),'<path d="M11 11v1H9v1H8v-1h1v-1h2z" fill="'.concat(V.hex,'"/>'),'<path d="M9 12h2v1H9v-1z" fill="'.concat(V.hex,'"/>'),'<path d="M9 12v1h1v1h1v-2H9z" fill="'.concat(V.hex,'"/>')),(void 0===l.mood||l.mood.indexOf("happy")>-1)&&z.push('<path d="M9 11v2h2v-1h-1v-1H9z" fill="'.concat(V.hex,'"/><path d="M11 13v-1h-1v-1H9v1h1v1h1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M10 11v1H9v1h2v-2h-1z" fill="'.concat(V.hex,'"/>'),'<path d="M8 11v1h1v1h2v-1h1v-1H8z" fill="'.concat(V.hex,'"/>'),'<path d="M9 12v1h2v-1h1v-1h-1v1H9z" fill="'.concat(V.hex,'"/>'),'<path d="M8 11v1h1v1h2v-1H9v-1H8z" fill="'.concat(V.hex,'"/>'),'<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8z" fill="'.concat(V.hex,'"/><path d="M9 12v1h2v-1H9z" fill="#FFF"/>'),'<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8z" fill="'.concat(V.hex,'"/><path d="M9 12v1h2v-1H9z" fill="#FFF" fill-opacity=".2"/>')),(void 0===l.mood||l.mood.indexOf("surprised")>-1)&&z.push('<path d="M9 12v1h1v-1H9z" fill="'.concat(V.hex,'"/>'),'<path d="M9 11v2h2v-2H9z" fill="'.concat(V.hex,'"/>')),0===z.length&&(l.mood=void 0);return{attributes:{viewBox:"0 0 20 20","shape-rendering":"crispEdges"},body:['<path d="M3 20v-3h1v-1h4v-2H6v-1H5v-1H4v-1H3V9H2V7h1V4h1V3h1V2h10v1h1v1h1v3h1v2h-1v2h-1v1h-1v1h-1v1h-2v2h4v1h1v3H3z" fill="'.concat(a.hex,'"/><path d="M14 14v-1h1v-1h1v-1h1V9h1V7h-1V4h-1V3h-1V2H5v1H4v1H3v3H2v2h1v2h1v1h1v1h1v1h8z" fill="#FFF" fill-opacity=".1"/>'),v.pick(['<path d="M5 9V7h3v2H5zm7-2h3v2h-3V7z" fill="#FFF"/><path d="M7 8v1h1V8H7zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 1V8h1v1h-1z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 7h1v1h1v1H6V7zm6 0h1v1h1v1h-2V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm6 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="#FFF"/><path d="M7 8h1v1H7V8zm5 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7v1h3V7H5zm7 0h3v1h-3V7z" fill="#FFF"/><path d="M5 9V8h1V7h1v1h1v1H5zm7 0V8h1V7h1v1h1v1h-3z" fill="'.concat(o.hex,'"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1z" fill="#FFF" fill-opacity=".5"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 8h1v1H6V8zm7 0h1v1h-1V8z" fill="'.concat(o.hex,'"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M6 7h2v2H6V7zm7 0h2v2h-2V7z" fill="'.concat(o.hex,'"/><path d="M6 7v1h1v1h1V8H7V7H6zm7 0v1h1v1h1V8h-1V7h-1z" fill="#FFF" fill-opacity=".4"/><path d="M7 7v1h1V7H7zm7 0h1v1h-1V7z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill="#FFF"/><path d="M5 8h2v1H5V8zm7 0h2v1h-2V8z" fill="'.concat(o.hex,'"/><path d="M5 8h1v1H5V8zm7 0h1v1h-1V8z" fill="#FFF" fill-opacity=".7"/>'),'<path d="M6 7h1v2H5V8h1V7zm7 0h1v2h-2V8h1V7z" fill="#FFF"/><path d="M7 7v1H6v1h2V7H7zm7 0v1h-1v1h2V7h-1z" fill="'.concat(o.hex,'"/><path d="M7 7v1h1V7H7zM6 8v1h1V8H6zm8-1v1h1V7h-1zm-1 1v1h1V8h-1z" fill="#FFF" fill-opacity=".5"/>')]),v.pick(['<path d="M7 5v1H5v1H4V6h1V5h2zm7 0v1h-2v1h-1V6h1V5h2z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M8 4v1H7v1H5V5h2V4h1zm4 0h1v1h2v1h-2V5h-1V4z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h3v2H8V6H6V5zm5 0h3v1h-2v1h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 5h3v1h1v1H8V6H5V5zm10 0h-3v1h-1v1h1V6h3V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5H4v2h1V6h1V5zm8 0h2v2h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M5 6h2v1H5V6zm8 0h2v1h-2V6z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h1v1h1v1H5V6h1V5zm7 0h1v1h1v1h-3V6h1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M6 5h2v1h1v1H8V6H6V5zm8 0h-2v1h-1v1h1V6h2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1zM5 7V6h1V5h1v1h1v1H7V6H6v1H5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5v1H5v1H4V6h1V5h2zm6 0h2v1h1v1h-1V6h-2V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V5h3v1H5v1H4zm12-2v2h-1V6h-2V5h3z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M7 5h1v1h1v1H8V6H7V5zm6 0v1h-1v1h-1V6h1V5h1z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>'),'<path d="M4 7V6h1V5h1v1H5v1H4zm10-2h1v1h1v1h-1V6h-1V5z" fill-rule="evenodd" fill="'.concat(d.hex,'"/>')]),v.bool(15)?v.pick(['<path d="M2 9v1h1V9H2zm15 0v1h1V9h-1z" fill-rule="evenodd" fill="'.concat(i.hex,'"/>'),'<path d="M2 9v2h1V9H2zm15 0h1v2h-1V9z" fill-rule="evenodd" fill="'.concat(i.hex,'"/>'),'<path d="M2 9v2h1V9H2zm15 0h1v2h-1V9z" fill="'.concat(i.hex,'"/><path d="M2 9v1h1V9H2zm15 0h1v1h-1V9z" fill="#FFF" fill-opacity=".4"/>'),'<path d="M1 9v3h3V9H1zm1 1v1h1v-1H2zm14-1v3h3V9h-3zm1 1v1h1v-1h-1z" fill-rule="evenodd" fill="'.concat(i.hex,'"/>')]):"",v.pick(z),v.bool(25)?v.pick(['<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3z" fill="'.concat(c.hex,'"/><path d="M3 7v1h1V7h1V6H4v1H3zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8zm7 0v1h1v1h1V7h-1V6h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v3H5V7zm7 0h3v3h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 10V7h3v3h-3zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5zm-6 4V7h3v3H5z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 7v2h3V7H5zM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4zm8 1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8h1v1H7V8zm7 0h1v1h-1V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M5 8v1h3V8H5zM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3zm9 1v1h3V8h-3z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7v1h1V7H3zm6 0v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 7h1v1H7V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M12 7v2h3V7h-3zM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6zM5 7v2h3V7H5z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M3 7h1v1H3V7zm6 0h2v1H9V7zm7 0h1v1h-1V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8zm1 0V7h3v2H5V8zm7-1v2h3V7h-3z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M5 7h3v2H5V7zm7 0h3v2h-3V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M14 7h1v1h-1V7zM7 7h1v1H7V7z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 8V7h1v1H3zm6-1v1h2V7H9zm7 0v1h1V7h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8zm1 0h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="'.concat(c.hex,'"/><path d="M5 8h3v1H5V8zm7 0h3v1h-3V8z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M7 8v1h1V8H7zm7 0v1h1V8h-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 7v1h1V7H3zm13 0v1h1V7h-1zM9 7v1h2V7H9z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>')]):"",v.pick(['<path d="M3 20v-3h1v-1h12v1h1v3H3z" fill="'.concat(f.hex,'"/>'),'<path d="M4 16v4h4v-1H7v-1H6v-1H5v-1H4zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1z" fill-rule="evenodd" fill="'.concat(f.hex,'"/>'),'<path d="M5 16h1v2h1v1h1v1H5v-4zm9 0h1v4h-3v-1h1v-1h1v-2z" fill-rule="evenodd" fill="'.concat(f.hex,'"/>'),'<path d="M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 20v-2h1v1h3v1H3zm14 0v-2h-1v1h-3v1h4z" fill-rule="evenodd" fill="#FFF" fill-opacity=".4"/><path d="M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2z" fill="#FFF" fill-opacity=".4"/>'),'<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6z" fill="#FFF" fill-opacity=".4"/><path d="M13 20v-1h2v1h-2zm1-4v1h2v-1h-2zm-8 0H4v1h2v-1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6z" fill-rule="evenodd" fill="'.concat(f.hex,'"/>'),'<path d="M4 16v4h4v-1H7v-1H6v-2H4zM16 20v-4h-2v2h-1v1h-1v1h4z" fill="'.concat(f.hex,'"/>'),'<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6z" fill="#FFF" fill-opacity=".4"/><path d="M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1zM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/><path d="M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".1"/>'),'<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3z" fill="'.concat(f.hex,'"/><path d="M3 17h14v1H3v-1zm0 2v1h14v-1H3z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>')]),v.pick(['<path d="M2 9v6h2v-4H3V9H2zm0-2h2V4h12v3h2V3h-1V2H3v1H2v4zm15 2h1v6h-2v-4h1V9z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M4 12h1v1H3V4h1V3h1V2h10v1h1v1h1v9h-2v-1h1V5H4v7z" fill="'.concat(t.hex,'"/>'),'<path d="M2 17h2v-1h4v-2H6v-1H5v-1H4V4h1V3h1v1h1V3h1v1h1V3h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V3h-1V2h-1V1H4v1H3v1H2v14z" fill="'.concat(t.hex,'"/>'),'<path d="M2 13V9h1v2h1v1h1v1H2zm15-4h1v4h-3v-1h1v-1h1V9zM2 7h1V4h1V3h1V2h10v1h1v1h1v3h1V3h-1V2h-1V1H4v1H3v1H2v4z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M2 14h2V4h12v10h2V3h-1V2h-1V1H4v1H3v1H2v11z" fill="'.concat(t.hex,'"/>'),'<path d="M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11z" fill="'.concat(t.hex,'"/>'),'<path d="M3 4v3h1V4h2v1h1V4h1v1h1V4h7v3h1V4h1V2h-1V1h-2v1H5V1H3v1H2v2h1z" fill="'.concat(t.hex,'"/>'),'<path d="M2 10h1V8h1V7h1V6h1V5h1V4h7v1h3V4h-1V3h-1V2H4v1H3v1H2v6z" fill="'.concat(t.hex,'"/>'),'<path d="M1 17h3v-1h4v-2H6v-1H5v-1H4v-1H3V9H2V7h1V5h1V4h7V3h1v1h1V3h1v1h1V3h1v2h1v2h1v2h-1v2h-1v1h-1v1h-1v1h-2v2h4v1h3V4h-1V3h-1V2h-1V1H4v1H3v1H2v1H1v13z" fill="'.concat(t.hex,'"/>'),'<path d="M2 13h3v-1H4v-1H3V9H2v4zm13 0h3V9h-1v2h-1v1h-1v1zm2-6h1V3h-1V2h-1V1H4v1H3v1H2v4h1V5h1V4h1V3h1V2h8v1h1v1h1v1h1v2z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M2 9v3h1v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-1H3V9H2zm0-2h1V6h1V5h2V4h9v1h1v1h1v1h1V3h-1V2h-1V1H4v1H3v1H2v4z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>'),'<path d="M1 15h5v-2H5v-1H4v-1H3V6h2V5h2V4h1V3h6v1h1v1h1v1h1v5h-1v1h-1v1h-1v2h5V4h-1V3h-1V2h-1V1H4v1H3v1H2v1H1v11z" fill="'.concat(t.hex,'"/>'),'<path d="M2 9v3h1v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-1H3V9H2zm16 0v3h-1v1h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-1h1V9h1zm-1-2h1V3h-1V2h-1V1H4v1H3v1H2v4h1V6h1V5h2V4h9v1h1v1h1v1z" fill-rule="evenodd" fill="'.concat(t.hex,'"/>')]),v.bool(5)?v.pick(['<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/>'),'<path d="M4 3H2v1h16V3h-2V0H4v3z" fill="'.concat(H.hex,'"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/>'),'<path d="M6 0v1H5v1H4v2h14V3h-2V2h-1V1h-1V0H6z" fill="'.concat(H.hex,'"/>'),'<path d="M2 4V2h2V0h12v2h2v2H2z" fill="'.concat(H.hex,'"/><path d="M4 0v2h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V3h2V0h12v3h2v1H2z" fill="'.concat(H.hex,'"/><path d="M4 0v3h12V0H4z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 4V2h1V1h1V0h12v1h1v1h1v2H2z" fill="'.concat(H.hex,'"/><path d="M3 1v1h14V1H3zM2 3v1h16V3H2z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M14 0H6v1H5v1H4v2h14V3h-2V2h-1V1h-1V0z" fill="'.concat(H.hex,'"/><path d="M5 3h1V2h1V1h1V0H7v1H6v1H5v1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v2H2v2h16V2h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1z" fill="#FFF" fill-opacity=".2"/>'),'<path d="M4 0v3H2v1h16V3h-2V0H4z" fill="'.concat(H.hex,'"/><path d="M15 3V0h-1v3h1zm-2-3v2h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M2 2v2h16V2h-1V1h-1V0H4v1H3v1H2z" fill="'.concat(H.hex,'"/><path d="M15 0v4h-1V0h1zm-2 0v4h-1V0h1z" fill-rule="evenodd" fill="#FFF" fill-opacity=".2"/>'),'<path d="M5 2H4v2h14V3h-2V2h-1V1h-1V0H6v1H5v1z" fill="'.concat(H.hex,'"/><path d="M14 2h-3v1h3V2z" fill="#FFF" fill-opacity=".2"/>')]):""].join("")}},i={title:"Female / 8biticon",creator:"Plastic Jam",contributor:"Florian Körner",source:"https://github.com/dicebear/dicebear",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/v4/packages/avatars-female-sprites/LICENSE"}},V={title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{mood:{title:"Mood",type:"array",items:{type:"string",enum:["happy","sad","surprised"]}}},additionalProperties:!1};v.utils.style.createLegacyWrapper({create:d,meta:i,schema:V});var c=function(h){var v=h.prng,l=h.options;return v.bool(50)?a({prng:v,options:l}):d({prng:v,options:l})},f={title:"Human / 8biticon",creator:"Plastic Jam",contributor:"Florian Körner",source:"https://github.com/dicebear/dicebear",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/v4/packages/avatars-human-sprites/LICENSE"}},H={title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{mood:{title:"Mood",type:"array",items:{type:"string",enum:["happy","sad","surprised"]}}},additionalProperties:!1},z=v.utils.style.createLegacyWrapper({create:c,meta:f,schema:H});h.create=c,h.default=z,h.meta=f,h.schema=H,Object.defineProperty(h,"__esModule",{value:!0})})); |
{ | ||
"name": "@dicebear/avatars-human-sprites", | ||
"version": "4.10.3", | ||
"version": "4.10.4", | ||
"description": "Pixel art human avatar style for DiceBear Avatars", | ||
@@ -43,11 +43,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@dicebear/avatars-female-sprites": "^4.10.3", | ||
"@dicebear/avatars-male-sprites": "^4.10.3" | ||
"@dicebear/avatars-female-sprites": "^4.10.4", | ||
"@dicebear/avatars-male-sprites": "^4.10.4" | ||
}, | ||
"devDependencies": { | ||
"@dicebear/avatars": "^4.10.3", | ||
"@dicebear/avatars": "^4.10.4", | ||
"@tsconfig/recommended": "^1.0.0", | ||
"@types/jest": "^26.0.22", | ||
"@types/node": "^10.11.6", | ||
"dicebear-project": "^4.10.3", | ||
"dicebear-project": "^4.10.4", | ||
"jest": "^26.6.3", | ||
@@ -64,3 +64,3 @@ "shx": "^0.3.3", | ||
}, | ||
"gitHead": "22ca3bd3718c2f44f4038bfa8f2dcbec6c7ebd10" | ||
"gitHead": "579a3f403a91f5e4909d8bc2c5b26792220ee58f" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
41520
284
1