Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dicebear/pixel-art-neutral

Package Overview
Dependencies
Maintainers
2
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dicebear/pixel-art-neutral - npm Package Compare versions

Comparing version 5.0.0-alpha.6 to 5.0.0-alpha.7

dist/index.d.ts.map

30

dist/index.d.ts

@@ -1,13 +0,19 @@

/*!
* Pixel Art - Neutral (@dicebear/pixel-art-neutral)
*
* Code licensed under MIT License.
* Copyright (c) 2021 Florian Körner
* Copyright (c) 2021 Plastic Jam
*
* Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
declare let create: import("@dicebear/core").StyleCreate<import("./options").Options>, preview: import("@dicebear/core").StylePreview<import("./options").Options> | undefined, meta: import("@dicebear/core").StyleMeta, schema: import("json-schema").JSONSchema7;
export { create, preview, meta, schema };
export { Options } from './options';
export interface Options {
backgroundColor?: (string | string)[];
eyebrows?: ("variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
eyes?: ("variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
glasses?: ("variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
glassesColor?: (string | ("green01" | "blue01" | "red01" | "black01" | "black02" | "black03"))[];
glassesProbability?: number;
hairColor?: (string | ("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08" | "variant09" | "variant10"))[];
mouth?: ("surprised03" | "surprised02" | "happy09" | "happy08" | "happy07" | "happy06" | "happy05" | "happy04" | "happy03" | "happy02" | "happy01" | "sad08" | "sad07" | "sad06" | "sad05" | "sad04" | "sad03" | "sad02" | "sad01" | "surprised01")[];
mouthColor?: (string | ("variant01" | "variant02" | "variant03" | "variant04"))[];
}
export const create: import("@dicebear/core").StyleCreate<import("options").Options>, preview: import("@dicebear/core").StylePreview<import("options").Options> | undefined, meta: import("@dicebear/core").StyleMeta, schema: import("json-schema").JSONSchema7;
//# sourceMappingURL=index.d.ts.map

945

dist/index.es.js

@@ -1,628 +0,399 @@

var title = "Options";
var $schema = "http://json-schema.org/draft-07/schema#";
var properties = {
backgroundColor: {
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",
pattern: "^[0-9a-zA-Z]+$"
}
]
},
"default": [
"variant01",
"variant02",
"variant03",
"variant04",
"variant05",
"variant06",
"variant07",
"variant08"
]
},
eyebrows: {
type: "array",
items: {
type: "string",
"enum": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
"default": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
eyes: {
type: "array",
items: {
type: "string",
"enum": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
"default": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
glasses: {
type: "array",
items: {
type: "string",
"enum": [
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
"default": [
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
glassesColor: {
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": [
"green01",
"blue01",
"red01",
"black01",
"black02",
"black03"
]
}
]
},
"default": [
"green01",
"blue01",
"red01",
"black01",
"black02",
"black03"
]
},
glassesProbability: {
type: "integer",
minimum: 0,
maximum: 100,
"default": 20
},
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": [
"variant01",
"variant02",
"variant03",
"variant04",
"variant05",
"variant06",
"variant07",
"variant08",
"variant09",
"variant10"
]
}
]
},
"default": [
"variant01",
"variant02",
"variant03",
"variant04",
"variant05",
"variant06",
"variant07",
"variant08",
"variant09",
"variant10"
]
},
mouth: {
type: "array",
items: {
type: "string",
"enum": [
"surprised03",
"surprised02",
"happy09",
"happy08",
"happy07",
"happy06",
"happy05",
"happy04",
"happy03",
"happy02",
"happy01",
"sad08",
"sad07",
"sad06",
"sad05",
"sad04",
"sad03",
"sad02",
"sad01",
"surprised01"
]
},
"default": [
"surprised03",
"surprised02",
"happy09",
"happy08",
"happy07",
"happy06",
"happy05",
"happy04",
"happy03",
"happy02",
"happy01",
"sad08",
"sad07",
"sad06",
"sad05",
"sad04",
"sad03",
"sad02",
"sad01",
"surprised01"
]
},
mouthColor: {
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": [
"variant01",
"variant02",
"variant03",
"variant04"
]
}
]
},
"default": [
"variant01",
"variant02",
"variant03",
"variant04"
]
}
};
var additionalProperties = false;
var schema$1 = {
title: title,
$schema: $schema,
properties: properties,
additionalProperties: additionalProperties
};
function $parcel$interopDefault(a) {
return a && a.__esModule ? a.default : a;
}
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
var $1145e09e10517965$exports = {};
$1145e09e10517965$exports = JSON.parse("{\"title\":\"Options\",\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"properties\":{\"backgroundColor\":{\"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\",\"pattern\":\"^[0-9a-zA-Z]+$\"}]},\"default\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\",\"variant05\",\"variant06\",\"variant07\",\"variant08\"]},\"eyebrows\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"eyes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"glasses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"glassesColor\":{\"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\":[\"green01\",\"blue01\",\"red01\",\"black01\",\"black02\",\"black03\"]}]},\"default\":[\"green01\",\"blue01\",\"red01\",\"black01\",\"black02\",\"black03\"]},\"glassesProbability\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":100,\"default\":20},\"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\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\",\"variant05\",\"variant06\",\"variant07\",\"variant08\",\"variant09\",\"variant10\"]}]},\"default\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\",\"variant05\",\"variant06\",\"variant07\",\"variant08\",\"variant09\",\"variant10\"]},\"mouth\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"surprised03\",\"surprised02\",\"happy09\",\"happy08\",\"happy07\",\"happy06\",\"happy05\",\"happy04\",\"happy03\",\"happy02\",\"happy01\",\"sad08\",\"sad07\",\"sad06\",\"sad05\",\"sad04\",\"sad03\",\"sad02\",\"sad01\",\"surprised01\"]},\"default\":[\"surprised03\",\"surprised02\",\"happy09\",\"happy08\",\"happy07\",\"happy06\",\"happy05\",\"happy04\",\"happy03\",\"happy02\",\"happy01\",\"sad08\",\"sad07\",\"sad06\",\"sad05\",\"sad04\",\"sad03\",\"sad02\",\"sad01\",\"surprised01\"]},\"mouthColor\":{\"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\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\"]}]},\"default\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\"]}},\"additionalProperties\":false}");
const eyes = {
variant13: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant12: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/></g>",
variant11: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant10: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant09: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/><path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant08: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/><path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant07: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/><path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/><path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/></g>",
variant06: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant05: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/></g>",
variant04: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant03: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/><path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/><path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/></g>",
variant02: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/><path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/></g>",
variant01: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/><path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/><path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/></g>"
var $64d77018b4c5202a$exports = {};
$parcel$export($64d77018b4c5202a$exports, "eyes", function () { return $fd92fecf022c379b$export$60b896fd2e3e4b2; });
$parcel$export($64d77018b4c5202a$exports, "eyebrows", function () { return $8bb18612cd813f5a$export$aebaafc0a0095705; });
$parcel$export($64d77018b4c5202a$exports, "mouth", function () { return $344195c50c29f644$export$4ec1914b3efc3f9a; });
$parcel$export($64d77018b4c5202a$exports, "glasses", function () { return $3851896e5f7f9b12$export$98222f1ebbc36891; });
const $fd92fecf022c379b$export$60b896fd2e3e4b2 = {
variant13: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/><path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant12: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/></g>`
,
variant11: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant10: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant09: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant08: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/><path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/></g>`
,
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/></g>`
,
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/><path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/><path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/></g>`
,
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/><path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/></g>`
,
variant01: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/><path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/><path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/></g>`
};
const eyebrows = {
variant13: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant12: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant11: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant10: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant09: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant08: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant07: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant06: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant05: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant04: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant03: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant02: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant01: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/></g>")
const $8bb18612cd813f5a$export$aebaafc0a0095705 = {
variant13: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="${colors.hair.value}"/><path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/></g>`
,
variant12: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="${colors.hair.value}"/><path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant11: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="${colors.hair.value}"/><path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant10: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="${colors.hair.value}"/><path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant09: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="${colors.hair.value}"/><path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/></g>`
,
variant08: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="${colors.hair.value}"/><path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="${colors.hair.value}"/><path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="${colors.hair.value}"/><path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="${colors.hair.value}"/><path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="${colors.hair.value}"/><path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/></g>`
,
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="${colors.hair.value}"/><path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/></g>`
,
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="${colors.hair.value}"/><path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant01: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="${colors.hair.value}"/><path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/></g>`
};
const mouth$1 = {
surprised03: (components, colors) => "<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
surprised02: (components, colors) => "<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy09: (components, colors) => "<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy08: (components, colors) => "<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy07: (components, colors) => "<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy06: (components, colors) => "<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/><path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>"),
happy05: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy04: (components, colors) => "<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy03: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy02: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/><path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>"),
happy01: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/><path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>"),
sad08: (components, colors) => "<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad07: (components, colors) => "<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad06: (components, colors) => "<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad05: (components, colors) => "<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad04: (components, colors) => "<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad03: (components, colors) => "<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad02: (components, colors) => "<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad01: (components, colors) => "<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
surprised01: (components, colors) => "<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>"
const $344195c50c29f644$export$4ec1914b3efc3f9a = {
surprised03: (components, colors)=>`<path d="M9 12v2h2v-2H9Z" fill="${colors.mouth.value}"/>`
,
surprised02: (components, colors)=>`<path d="M9 13v1h1v-1H9Z" fill="${colors.mouth.value}"/>`
,
happy09: (components, colors)=>`<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="${colors.mouth.value}"/>`
,
happy08: (components, colors)=>`<path d="M10 12v1H9v1h2v-2h-1Z" fill="${colors.mouth.value}"/>`
,
happy07: (components, colors)=>`<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="${colors.mouth.value}"/>`
,
happy06: (components, colors)=>`<path d="M9 12v2h2v-1h-1v-1H9Z" fill="${colors.mouth.value}"/><path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>`
,
happy05: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="${colors.mouth.value}"/>`
,
happy04: (components, colors)=>`<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="${colors.mouth.value}"/>`
,
happy03: (components, colors)=>`<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="${colors.mouth.value}"/>`
,
happy02: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="${colors.mouth.value}"/><path d="M9 12v1h2v-1H9Z" fill="#fff"/>`
,
happy01: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="${colors.mouth.value}"/><path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>`
,
sad08: (components, colors)=>`<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="${colors.mouth.value}"/>`
,
sad07: (components, colors)=>`<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="${colors.mouth.value}"/>`
,
sad06: (components, colors)=>`<path d="M8 12h3v1H8v-1Z" fill="${colors.mouth.value}"/>`
,
sad05: (components, colors)=>`<path d="M8 12h4v1H8v-1Z" fill="${colors.mouth.value}"/>`
,
sad04: (components, colors)=>`<path d="M9 12h2v1H9v-1Z" fill="${colors.mouth.value}"/>`
,
sad03: (components, colors)=>`<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="${colors.mouth.value}"/>`
,
sad02: (components, colors)=>`<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="${colors.mouth.value}"/>`
,
sad01: (components, colors)=>`<path d="M10 12v1h1v1h1v-2h-2Z" fill="${colors.mouth.value}"/>`
,
surprised01: (components, colors)=>`<path d="M8 12v2h4v-2H8Z" fill="#fff"/>`
};
const glasses$1 = {
variant07: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/><path d=\"M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant06: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/><path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant05: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/><path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant04: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/><path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant03: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/><path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/><path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant02: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/><path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/><path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant01: (components, colors) => "<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>")
const $3851896e5f7f9b12$export$98222f1ebbc36891 = {
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/><path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="${colors.glasses.value}"/><path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="${colors.glasses.value}"/><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/><path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="${colors.glasses.value}"/><path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/><path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant01: (components, colors)=>`<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="${colors.glasses.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>`
};
var components = /*#__PURE__*/Object.freeze({
__proto__: null,
eyes: eyes,
eyebrows: eyebrows,
mouth: mouth$1,
glasses: glasses$1
});
function pickComponent(_ref) {
let {
prng,
group,
values = []
} = _ref;
const componentCollection = components;
const key = prng.pick(values);
if (componentCollection[group][key]) {
return {
name: key,
value: componentCollection[group][key]
function $01bbc8e2596da6d7$export$5bc6178a9a86ed74({ prng: prng , group: group , values: values = [] }) {
const componentCollection = $64d77018b4c5202a$exports;
const key = prng.pick(values);
if (componentCollection[group][key]) return {
name: key,
value: componentCollection[group][key]
};
} else {
return undefined;
}
else return undefined;
}
function getComponents(_ref) {
let {
prng,
options
} = _ref;
const eyesComponent = pickComponent({
prng,
group: 'eyes',
values: options.eyes
});
const eyebrowsComponent = pickComponent({
prng,
group: 'eyebrows',
values: options.eyebrows
});
const mouthComponent = pickComponent({
prng,
group: 'mouth',
values: options.mouth
});
const glassesComponent = pickComponent({
prng,
group: 'glasses',
values: options.glasses
});
return {
eyes: eyesComponent,
eyebrows: eyebrowsComponent,
mouth: mouthComponent,
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined
};
function $b7a6b965586fb5e1$export$4e811121b221213b({ prng: prng , options: options }) {
const eyesComponent = $01bbc8e2596da6d7$export$5bc6178a9a86ed74({
prng: prng,
group: 'eyes',
values: options.eyes
});
const eyebrowsComponent = $01bbc8e2596da6d7$export$5bc6178a9a86ed74({
prng: prng,
group: 'eyebrows',
values: options.eyebrows
});
const mouthComponent = $01bbc8e2596da6d7$export$5bc6178a9a86ed74({
prng: prng,
group: 'mouth',
values: options.mouth
});
const glassesComponent = $01bbc8e2596da6d7$export$5bc6178a9a86ed74({
prng: prng,
group: 'glasses',
values: options.glasses
});
return {
eyes: eyesComponent,
eyebrows: eyebrowsComponent,
mouth: mouthComponent,
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined
};
}
const skin = {
variant01: 'rgba(255, 219, 172, 1)',
variant02: 'rgba(245, 207, 160, 1)',
variant03: 'rgba(234, 195, 147, 1)',
variant04: 'rgba(224, 182, 135, 1)',
variant05: 'rgba(203, 158, 110, 1)',
variant06: 'rgba(182, 134, 85, 1)',
variant07: 'rgba(162, 109, 61, 1)',
variant08: 'rgba(141, 85, 36, 1)'
var $1315d0c471bd2a7c$exports = {};
$parcel$export($1315d0c471bd2a7c$exports, "skin", function () { return $3f4a03d5f69b6765$export$fcdfe9c56b00fbfc; });
$parcel$export($1315d0c471bd2a7c$exports, "hair", function () { return $dccb0ab3b51cd7c2$export$12c365d50e7cb3d6; });
$parcel$export($1315d0c471bd2a7c$exports, "mouth", function () { return $4458d4ced604c862$export$4ec1914b3efc3f9a; });
$parcel$export($1315d0c471bd2a7c$exports, "glasses", function () { return $9a0cc97892905336$export$98222f1ebbc36891; });
const $3f4a03d5f69b6765$export$fcdfe9c56b00fbfc = {
variant01: 'rgba(255, 219, 172, 1)',
variant02: 'rgba(245, 207, 160, 1)',
variant03: 'rgba(234, 195, 147, 1)',
variant04: 'rgba(224, 182, 135, 1)',
variant05: 'rgba(203, 158, 110, 1)',
variant06: 'rgba(182, 134, 85, 1)',
variant07: 'rgba(162, 109, 61, 1)',
variant08: 'rgba(141, 85, 36, 1)'
};
const hair = {
variant01: 'rgba(202, 177, 136, 1)',
variant02: 'rgba(167, 137, 97, 1)',
variant03: 'rgba(131, 98, 59, 1)',
variant04: 'rgba(96, 58, 20, 1)',
variant05: 'rgba(96, 48, 21, 1)',
variant06: 'rgba(97, 38, 22, 1)',
variant07: 'rgba(97, 28, 23, 1)',
variant08: 'rgba(78, 26, 19, 1)',
variant09: 'rgba(59, 23, 14, 1)',
variant10: 'rgba(40, 21, 10, 1)'
const $dccb0ab3b51cd7c2$export$12c365d50e7cb3d6 = {
variant01: 'rgba(202, 177, 136, 1)',
variant02: 'rgba(167, 137, 97, 1)',
variant03: 'rgba(131, 98, 59, 1)',
variant04: 'rgba(96, 58, 20, 1)',
variant05: 'rgba(96, 48, 21, 1)',
variant06: 'rgba(97, 38, 22, 1)',
variant07: 'rgba(97, 28, 23, 1)',
variant08: 'rgba(78, 26, 19, 1)',
variant09: 'rgba(59, 23, 14, 1)',
variant10: 'rgba(40, 21, 10, 1)'
};
const mouth = {
variant01: 'rgba(210, 153, 133, 1)',
variant02: 'rgba(201, 130, 118, 1)',
variant03: 'rgba(227, 93, 106, 1)',
variant04: 'rgba(222, 15, 13, 1)'
const $4458d4ced604c862$export$4ec1914b3efc3f9a = {
variant01: 'rgba(210, 153, 133, 1)',
variant02: 'rgba(201, 130, 118, 1)',
variant03: 'rgba(227, 93, 106, 1)',
variant04: 'rgba(222, 15, 13, 1)'
};
const glasses = {
green01: 'rgba(95, 112, 92, 1)',
blue01: 'rgba(67, 103, 125, 1)',
red01: 'rgba(160, 75, 93, 1)',
black01: 'rgba(75, 75, 75, 1)',
black02: 'rgba(50, 50, 50, 1)',
black03: 'rgba(25, 25, 25, 1)'
const $9a0cc97892905336$export$98222f1ebbc36891 = {
green01: 'rgba(95, 112, 92, 1)',
blue01: 'rgba(67, 103, 125, 1)',
red01: 'rgba(160, 75, 93, 1)',
black01: 'rgba(75, 75, 75, 1)',
black02: 'rgba(50, 50, 50, 1)',
black03: 'rgba(25, 25, 25, 1)'
};
var colors = /*#__PURE__*/Object.freeze({
__proto__: null,
skin: skin,
hair: hair,
mouth: mouth,
glasses: glasses
});
function pickColor(_ref) {
var _colorCollection$grou;
let {
prng,
group,
values = []
} = _ref;
const colorCollection = colors;
if (values.length === 0) {
values.push('transparent');
}
function $8e622ed37a149733$export$c6d89e41e42fa994({ prng: prng , group: group , values: values = [] }) {
const colorCollection = $1315d0c471bd2a7c$exports;
if (values.length === 0) values.push('transparent');
const key = prng.pick(values);
var _key;
return {
name: key,
value: (_key = colorCollection[group][key]) !== null && _key !== void 0 ? _key : key
};
}
const key = prng.pick(values);
return {
name: key,
value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
};
function $104e7e6b175d0b19$export$6cee60e8aa85e528({ prng: prng , options: options }) {
return {
hair: $8e622ed37a149733$export$c6d89e41e42fa994({
prng: prng,
group: 'hair',
values: options.hairColor
}),
mouth: $8e622ed37a149733$export$c6d89e41e42fa994({
prng: prng,
group: 'mouth',
values: options.mouthColor
}),
glasses: $8e622ed37a149733$export$c6d89e41e42fa994({
prng: prng,
group: 'glasses',
values: options.glassesColor
}),
background: $8e622ed37a149733$export$c6d89e41e42fa994({
prng: prng,
group: 'skin',
values: options.backgroundColor
})
};
}
function getColors(_ref) {
let {
prng,
options
} = _ref;
return {
hair: pickColor({
prng,
group: 'hair',
values: options.hairColor
}),
mouth: pickColor({
prng,
group: 'mouth',
values: options.mouthColor
}),
glasses: pickColor({
prng,
group: 'glasses',
values: options.glassesColor
}),
background: pickColor({
prng,
group: 'skin',
values: options.backgroundColor
})
};
function $b309ec28ab0dce52$export$19269755e7fb6f76({ prng: prng , options: options , preview: preview }) {
// Write your modifications here
}
const dimensions = {
eyes: {
width: 20,
height: 20
},
eyebrows: {
width: 20,
height: 20
},
mouth: {
width: 20,
height: 20
},
glasses: {
width: 20,
height: 20
}
};
const style = {
meta: {
title: 'Pixel Art - Neutral',
creator: 'Plastic Jam',
license: {
name: 'MIT',
url: 'https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE'
}
},
schema: schema$1,
create: _ref => {
var _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$glasses$v, _components$glasses;
function $71643893511d4b87$export$2538c3cd8a13189f({ prng: prng , options: options , components: components , colors: colors , preview: preview }) {
// Write your modifications here
}
let {
prng,
options
} = _ref;
const components = getComponents({
prng,
options
});
const colors = getColors({
prng,
options
});
options.backgroundColor = [colors.background.value];
return {
attributes: {
viewBox: '0 0 14 14',
fill: 'none',
'shape-rendering': 'auto'
},
body: "<g transform=\"translate(-3 -3)\">".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><g transform=\"translate(-3 -3)\">").concat((_components$eyebrows$ = (_components$eyebrows = components.eyebrows) === null || _components$eyebrows === void 0 ? void 0 : _components$eyebrows.value(components, colors)) !== null && _components$eyebrows$ !== void 0 ? _components$eyebrows$ : '', "</g><g transform=\"translate(-3 -2)\">").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(-3 -3)\">").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 : '', "</g>")
};
},
preview: _ref2 => {
let {
prng,
options,
property
} = _ref2;
const componentGroup = property.toString();
const colorGroup = property.toString().replace(/Color$/, '');
const components = getComponents({
prng,
options
});
const colors = getColors({
prng,
options
});
options.backgroundColor = [colors.background.value];
if (componentGroup in components) {
var _components$component, _components$component2;
const {
width,
height
} = dimensions[componentGroup];
return {
attributes: {
viewBox: "0 0 ".concat(width, " ").concat(height),
fill: 'none',
'shape-rendering': 'auto'
},
body: (_components$component = (_components$component2 = components[componentGroup]) === null || _components$component2 === void 0 ? void 0 : _components$component2.value(components, colors)) !== null && _components$component !== void 0 ? _components$component : ''
};
const $e3439e0fcf21ba31$export$62ad7b0c781000e9 = {
eyes: {
width: 20,
height: 20
},
eyebrows: {
width: 20,
height: 20
},
mouth: {
width: 20,
height: 20
},
glasses: {
width: 20,
height: 20
}
};
if (colorGroup in colors) {
return {
attributes: {
viewBox: "0 0 1 1",
fill: 'none',
'shape-rendering': 'auto'
},
body: "<rect width=\"1\" height=\"1\" fill=\"".concat(colors[colorGroup].value, "\" />")
};
const $0c97916658411e3f$export$1d567c320f4763bc = {
meta: {
title: 'Pixel Art - Neutral',
creator: 'Plastic Jam',
license: {
name: 'MIT',
url: 'https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE'
}
},
schema: (/*@__PURE__*/$parcel$interopDefault($1145e09e10517965$exports)),
create: ({ prng: prng , options: options })=>{
var ref, ref1, ref2, ref3;
$b309ec28ab0dce52$export$19269755e7fb6f76({
prng: prng,
options: options,
preview: false
});
const components = $b7a6b965586fb5e1$export$4e811121b221213b({
prng: prng,
options: options
});
const colors = $104e7e6b175d0b19$export$6cee60e8aa85e528({
prng: prng,
options: options
});
$71643893511d4b87$export$2538c3cd8a13189f({
prng: prng,
options: options,
components: components,
colors: colors,
preview: false
});
options.backgroundColor = [
colors.background.value
];
var ref4, ref5, ref6, ref7;
return {
attributes: {
viewBox: '0 0 14 14',
fill: 'none',
'shape-rendering': 'auto'
},
body: `<g transform="translate(-3 -3)">${(ref4 = (ref = components.eyes) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref4 !== void 0 ? ref4 : ''}</g><g transform="translate(-3 -3)">${(ref5 = (ref1 = components.eyebrows) === null || ref1 === void 0 ? void 0 : ref1.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}</g><g transform="translate(-3 -2)">${(ref6 = (ref2 = components.mouth) === null || ref2 === void 0 ? void 0 : ref2.value(components, colors)) !== null && ref6 !== void 0 ? ref6 : ''}</g><g transform="translate(-3 -3)">${(ref7 = (ref3 = components.glasses) === null || ref3 === void 0 ? void 0 : ref3.value(components, colors)) !== null && ref7 !== void 0 ? ref7 : ''}</g>`
};
},
preview: ({ prng: prng , options: options , property: property })=>{
const componentGroup = property.toString();
const colorGroup = property.toString().replace(/Color$/, '');
$b309ec28ab0dce52$export$19269755e7fb6f76({
prng: prng,
options: options,
preview: true
});
const components = $b7a6b965586fb5e1$export$4e811121b221213b({
prng: prng,
options: options
});
const colors = $104e7e6b175d0b19$export$6cee60e8aa85e528({
prng: prng,
options: options
});
$71643893511d4b87$export$2538c3cd8a13189f({
prng: prng,
options: options,
components: components,
colors: colors,
preview: true
});
options.backgroundColor = [
colors.background.value
];
if (componentGroup in components) {
var ref;
const { width: width , height: height } = $e3439e0fcf21ba31$export$62ad7b0c781000e9[componentGroup];
var ref8;
return {
attributes: {
viewBox: `0 0 ${width} ${height}`,
fill: 'none',
'shape-rendering': 'auto'
},
body: (ref8 = (ref = components[componentGroup]) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref8 !== void 0 ? ref8 : ''
};
}
if (colorGroup in colors) return {
attributes: {
viewBox: `0 0 1 1`,
fill: 'none',
'shape-rendering': 'auto'
},
body: `<rect width="1" height="1" fill="${colors[colorGroup].value}" />`
};
return undefined;
}
return undefined;
}
};
/*!
* Pixel Art - Neutral (@dicebear/pixel-art-neutral)
*
* Code licensed under MIT License.
* Copyright (c) 2021 Florian Körner
* Copyright (c) 2021 Plastic Jam
*
* Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
*/
let {
create,
preview,
meta,
schema
} = style;
export { create, meta, preview, schema };
const { create: $6dda986c1d3c10e7$export$185802fd694ee1f5 , preview: $6dda986c1d3c10e7$export$48c2d0f2f545ac27 , meta: $6dda986c1d3c10e7$export$6990040ee07315 , schema: $6dda986c1d3c10e7$export$4902baddc787debb } = $0c97916658411e3f$export$1d567c320f4763bc;
export {$6dda986c1d3c10e7$export$185802fd694ee1f5 as create, $6dda986c1d3c10e7$export$48c2d0f2f545ac27 as preview, $6dda986c1d3c10e7$export$6990040ee07315 as meta, $6dda986c1d3c10e7$export$4902baddc787debb as schema};
//# sourceMappingURL=index.es.js.map

@@ -1,635 +0,403 @@

'use strict';
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
function $parcel$interopDefault(a) {
return a && a.__esModule ? a.default : a;
}
Object.defineProperty(exports, '__esModule', { value: true });
$parcel$export(module.exports, "create", function () { return $3401a08dd5a809ba$export$185802fd694ee1f5; });
$parcel$export(module.exports, "preview", function () { return $3401a08dd5a809ba$export$48c2d0f2f545ac27; });
$parcel$export(module.exports, "meta", function () { return $3401a08dd5a809ba$export$6990040ee07315; });
$parcel$export(module.exports, "schema", function () { return $3401a08dd5a809ba$export$4902baddc787debb; });
var $54d39ad2b380e643$exports = {};
$54d39ad2b380e643$exports = JSON.parse("{\"title\":\"Options\",\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"properties\":{\"backgroundColor\":{\"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\",\"pattern\":\"^[0-9a-zA-Z]+$\"}]},\"default\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\",\"variant05\",\"variant06\",\"variant07\",\"variant08\"]},\"eyebrows\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"eyes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant13\",\"variant12\",\"variant11\",\"variant10\",\"variant09\",\"variant08\",\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"glasses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"glassesColor\":{\"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\":[\"green01\",\"blue01\",\"red01\",\"black01\",\"black02\",\"black03\"]}]},\"default\":[\"green01\",\"blue01\",\"red01\",\"black01\",\"black02\",\"black03\"]},\"glassesProbability\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":100,\"default\":20},\"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\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\",\"variant05\",\"variant06\",\"variant07\",\"variant08\",\"variant09\",\"variant10\"]}]},\"default\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\",\"variant05\",\"variant06\",\"variant07\",\"variant08\",\"variant09\",\"variant10\"]},\"mouth\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"surprised03\",\"surprised02\",\"happy09\",\"happy08\",\"happy07\",\"happy06\",\"happy05\",\"happy04\",\"happy03\",\"happy02\",\"happy01\",\"sad08\",\"sad07\",\"sad06\",\"sad05\",\"sad04\",\"sad03\",\"sad02\",\"sad01\",\"surprised01\"]},\"default\":[\"surprised03\",\"surprised02\",\"happy09\",\"happy08\",\"happy07\",\"happy06\",\"happy05\",\"happy04\",\"happy03\",\"happy02\",\"happy01\",\"sad08\",\"sad07\",\"sad06\",\"sad05\",\"sad04\",\"sad03\",\"sad02\",\"sad01\",\"surprised01\"]},\"mouthColor\":{\"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\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\"]}]},\"default\":[\"variant01\",\"variant02\",\"variant03\",\"variant04\"]}},\"additionalProperties\":false}");
var title = "Options";
var $schema = "http://json-schema.org/draft-07/schema#";
var properties = {
backgroundColor: {
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",
pattern: "^[0-9a-zA-Z]+$"
}
]
},
"default": [
"variant01",
"variant02",
"variant03",
"variant04",
"variant05",
"variant06",
"variant07",
"variant08"
]
},
eyebrows: {
type: "array",
items: {
type: "string",
"enum": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
"default": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
eyes: {
type: "array",
items: {
type: "string",
"enum": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
"default": [
"variant13",
"variant12",
"variant11",
"variant10",
"variant09",
"variant08",
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
glasses: {
type: "array",
items: {
type: "string",
"enum": [
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
"default": [
"variant07",
"variant06",
"variant05",
"variant04",
"variant03",
"variant02",
"variant01"
]
},
glassesColor: {
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": [
"green01",
"blue01",
"red01",
"black01",
"black02",
"black03"
]
}
]
},
"default": [
"green01",
"blue01",
"red01",
"black01",
"black02",
"black03"
]
},
glassesProbability: {
type: "integer",
minimum: 0,
maximum: 100,
"default": 20
},
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": [
"variant01",
"variant02",
"variant03",
"variant04",
"variant05",
"variant06",
"variant07",
"variant08",
"variant09",
"variant10"
]
}
]
},
"default": [
"variant01",
"variant02",
"variant03",
"variant04",
"variant05",
"variant06",
"variant07",
"variant08",
"variant09",
"variant10"
]
},
mouth: {
type: "array",
items: {
type: "string",
"enum": [
"surprised03",
"surprised02",
"happy09",
"happy08",
"happy07",
"happy06",
"happy05",
"happy04",
"happy03",
"happy02",
"happy01",
"sad08",
"sad07",
"sad06",
"sad05",
"sad04",
"sad03",
"sad02",
"sad01",
"surprised01"
]
},
"default": [
"surprised03",
"surprised02",
"happy09",
"happy08",
"happy07",
"happy06",
"happy05",
"happy04",
"happy03",
"happy02",
"happy01",
"sad08",
"sad07",
"sad06",
"sad05",
"sad04",
"sad03",
"sad02",
"sad01",
"surprised01"
]
},
mouthColor: {
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": [
"variant01",
"variant02",
"variant03",
"variant04"
]
}
]
},
"default": [
"variant01",
"variant02",
"variant03",
"variant04"
]
}
};
var additionalProperties = false;
var schema$1 = {
title: title,
$schema: $schema,
properties: properties,
additionalProperties: additionalProperties
};
const eyes = {
variant13: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant12: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/></g>",
variant11: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant10: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant09: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/><path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant08: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/><path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant07: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/><path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/><path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/></g>",
variant06: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant05: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/></g>",
variant04: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/></g>",
variant03: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/><path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/><path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/></g>",
variant02: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/><path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/></g>",
variant01: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/><path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/><path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/></g>"
var $b749b0cbbada1f11$exports = {};
$parcel$export($b749b0cbbada1f11$exports, "eyes", function () { return $7b2e58cff38e7685$export$60b896fd2e3e4b2; });
$parcel$export($b749b0cbbada1f11$exports, "eyebrows", function () { return $4072e443577833da$export$aebaafc0a0095705; });
$parcel$export($b749b0cbbada1f11$exports, "mouth", function () { return $cfae15f59a61cd7b$export$4ec1914b3efc3f9a; });
$parcel$export($b749b0cbbada1f11$exports, "glasses", function () { return $fe957a53af7cb46f$export$98222f1ebbc36891; });
const $7b2e58cff38e7685$export$60b896fd2e3e4b2 = {
variant13: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/><path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant12: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/></g>`
,
variant11: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant10: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant09: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant08: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/><path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/></g>`
,
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/></g>`
,
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
,
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/><path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/><path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/></g>`
,
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/><path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/></g>`
,
variant01: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/><path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/><path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/></g>`
};
const eyebrows = {
variant13: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant12: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant11: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant10: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant09: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant08: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant07: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant06: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant05: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant04: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant03: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant02: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/></g>"),
variant01: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/><path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/></g>")
const $4072e443577833da$export$aebaafc0a0095705 = {
variant13: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="${colors.hair.value}"/><path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/></g>`
,
variant12: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="${colors.hair.value}"/><path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant11: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="${colors.hair.value}"/><path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant10: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="${colors.hair.value}"/><path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant09: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="${colors.hair.value}"/><path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/></g>`
,
variant08: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="${colors.hair.value}"/><path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="${colors.hair.value}"/><path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="${colors.hair.value}"/><path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="${colors.hair.value}"/><path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="${colors.hair.value}"/><path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/></g>`
,
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="${colors.hair.value}"/><path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/></g>`
,
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="${colors.hair.value}"/><path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
,
variant01: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="${colors.hair.value}"/><path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/></g>`
};
const mouth$1 = {
surprised03: (components, colors) => "<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
surprised02: (components, colors) => "<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy09: (components, colors) => "<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy08: (components, colors) => "<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy07: (components, colors) => "<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy06: (components, colors) => "<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/><path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>"),
happy05: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy04: (components, colors) => "<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy03: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
happy02: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/><path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>"),
happy01: (components, colors) => "<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/><path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>"),
sad08: (components, colors) => "<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad07: (components, colors) => "<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad06: (components, colors) => "<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad05: (components, colors) => "<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad04: (components, colors) => "<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad03: (components, colors) => "<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad02: (components, colors) => "<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
sad01: (components, colors) => "<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>"),
surprised01: (components, colors) => "<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>"
const $cfae15f59a61cd7b$export$4ec1914b3efc3f9a = {
surprised03: (components, colors)=>`<path d="M9 12v2h2v-2H9Z" fill="${colors.mouth.value}"/>`
,
surprised02: (components, colors)=>`<path d="M9 13v1h1v-1H9Z" fill="${colors.mouth.value}"/>`
,
happy09: (components, colors)=>`<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="${colors.mouth.value}"/>`
,
happy08: (components, colors)=>`<path d="M10 12v1H9v1h2v-2h-1Z" fill="${colors.mouth.value}"/>`
,
happy07: (components, colors)=>`<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="${colors.mouth.value}"/>`
,
happy06: (components, colors)=>`<path d="M9 12v2h2v-1h-1v-1H9Z" fill="${colors.mouth.value}"/><path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>`
,
happy05: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="${colors.mouth.value}"/>`
,
happy04: (components, colors)=>`<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="${colors.mouth.value}"/>`
,
happy03: (components, colors)=>`<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="${colors.mouth.value}"/>`
,
happy02: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="${colors.mouth.value}"/><path d="M9 12v1h2v-1H9Z" fill="#fff"/>`
,
happy01: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="${colors.mouth.value}"/><path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>`
,
sad08: (components, colors)=>`<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="${colors.mouth.value}"/>`
,
sad07: (components, colors)=>`<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="${colors.mouth.value}"/>`
,
sad06: (components, colors)=>`<path d="M8 12h3v1H8v-1Z" fill="${colors.mouth.value}"/>`
,
sad05: (components, colors)=>`<path d="M8 12h4v1H8v-1Z" fill="${colors.mouth.value}"/>`
,
sad04: (components, colors)=>`<path d="M9 12h2v1H9v-1Z" fill="${colors.mouth.value}"/>`
,
sad03: (components, colors)=>`<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="${colors.mouth.value}"/>`
,
sad02: (components, colors)=>`<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="${colors.mouth.value}"/>`
,
sad01: (components, colors)=>`<path d="M10 12v1h1v1h1v-2h-2Z" fill="${colors.mouth.value}"/>`
,
surprised01: (components, colors)=>`<path d="M8 12v2h4v-2H8Z" fill="#fff"/>`
};
const glasses$1 = {
variant07: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/><path d=\"M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant06: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/><path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant05: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/><path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant04: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/><path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/><path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant03: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/><path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/><path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant02: (components, colors) => "<g fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/><path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/><path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/><path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/></g>"),
variant01: (components, colors) => "<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>")
const $fe957a53af7cb46f$export$98222f1ebbc36891 = {
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/><path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="${colors.glasses.value}"/><path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="${colors.glasses.value}"/><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/><path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="${colors.glasses.value}"/><path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/><path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/></g>`
,
variant01: (components, colors)=>`<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="${colors.glasses.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>`
};
var components = /*#__PURE__*/Object.freeze({
__proto__: null,
eyes: eyes,
eyebrows: eyebrows,
mouth: mouth$1,
glasses: glasses$1
});
function pickComponent(_ref) {
let {
prng,
group,
values = []
} = _ref;
const componentCollection = components;
const key = prng.pick(values);
if (componentCollection[group][key]) {
return {
name: key,
value: componentCollection[group][key]
function $838df45ee7c0549b$export$5bc6178a9a86ed74({ prng: prng , group: group , values: values = [] }) {
const componentCollection = $b749b0cbbada1f11$exports;
const key = prng.pick(values);
if (componentCollection[group][key]) return {
name: key,
value: componentCollection[group][key]
};
} else {
return undefined;
}
else return undefined;
}
function getComponents(_ref) {
let {
prng,
options
} = _ref;
const eyesComponent = pickComponent({
prng,
group: 'eyes',
values: options.eyes
});
const eyebrowsComponent = pickComponent({
prng,
group: 'eyebrows',
values: options.eyebrows
});
const mouthComponent = pickComponent({
prng,
group: 'mouth',
values: options.mouth
});
const glassesComponent = pickComponent({
prng,
group: 'glasses',
values: options.glasses
});
return {
eyes: eyesComponent,
eyebrows: eyebrowsComponent,
mouth: mouthComponent,
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined
};
function $210e5b953fc1fcac$export$4e811121b221213b({ prng: prng , options: options }) {
const eyesComponent = $838df45ee7c0549b$export$5bc6178a9a86ed74({
prng: prng,
group: 'eyes',
values: options.eyes
});
const eyebrowsComponent = $838df45ee7c0549b$export$5bc6178a9a86ed74({
prng: prng,
group: 'eyebrows',
values: options.eyebrows
});
const mouthComponent = $838df45ee7c0549b$export$5bc6178a9a86ed74({
prng: prng,
group: 'mouth',
values: options.mouth
});
const glassesComponent = $838df45ee7c0549b$export$5bc6178a9a86ed74({
prng: prng,
group: 'glasses',
values: options.glasses
});
return {
eyes: eyesComponent,
eyebrows: eyebrowsComponent,
mouth: mouthComponent,
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined
};
}
const skin = {
variant01: 'rgba(255, 219, 172, 1)',
variant02: 'rgba(245, 207, 160, 1)',
variant03: 'rgba(234, 195, 147, 1)',
variant04: 'rgba(224, 182, 135, 1)',
variant05: 'rgba(203, 158, 110, 1)',
variant06: 'rgba(182, 134, 85, 1)',
variant07: 'rgba(162, 109, 61, 1)',
variant08: 'rgba(141, 85, 36, 1)'
var $4bfd7015602316f6$exports = {};
$parcel$export($4bfd7015602316f6$exports, "skin", function () { return $8967c12a7a7bbfd2$export$fcdfe9c56b00fbfc; });
$parcel$export($4bfd7015602316f6$exports, "hair", function () { return $a83de0c121bfa60a$export$12c365d50e7cb3d6; });
$parcel$export($4bfd7015602316f6$exports, "mouth", function () { return $13812a6b070caf03$export$4ec1914b3efc3f9a; });
$parcel$export($4bfd7015602316f6$exports, "glasses", function () { return $c4b25c691ae110af$export$98222f1ebbc36891; });
const $8967c12a7a7bbfd2$export$fcdfe9c56b00fbfc = {
variant01: 'rgba(255, 219, 172, 1)',
variant02: 'rgba(245, 207, 160, 1)',
variant03: 'rgba(234, 195, 147, 1)',
variant04: 'rgba(224, 182, 135, 1)',
variant05: 'rgba(203, 158, 110, 1)',
variant06: 'rgba(182, 134, 85, 1)',
variant07: 'rgba(162, 109, 61, 1)',
variant08: 'rgba(141, 85, 36, 1)'
};
const hair = {
variant01: 'rgba(202, 177, 136, 1)',
variant02: 'rgba(167, 137, 97, 1)',
variant03: 'rgba(131, 98, 59, 1)',
variant04: 'rgba(96, 58, 20, 1)',
variant05: 'rgba(96, 48, 21, 1)',
variant06: 'rgba(97, 38, 22, 1)',
variant07: 'rgba(97, 28, 23, 1)',
variant08: 'rgba(78, 26, 19, 1)',
variant09: 'rgba(59, 23, 14, 1)',
variant10: 'rgba(40, 21, 10, 1)'
const $a83de0c121bfa60a$export$12c365d50e7cb3d6 = {
variant01: 'rgba(202, 177, 136, 1)',
variant02: 'rgba(167, 137, 97, 1)',
variant03: 'rgba(131, 98, 59, 1)',
variant04: 'rgba(96, 58, 20, 1)',
variant05: 'rgba(96, 48, 21, 1)',
variant06: 'rgba(97, 38, 22, 1)',
variant07: 'rgba(97, 28, 23, 1)',
variant08: 'rgba(78, 26, 19, 1)',
variant09: 'rgba(59, 23, 14, 1)',
variant10: 'rgba(40, 21, 10, 1)'
};
const mouth = {
variant01: 'rgba(210, 153, 133, 1)',
variant02: 'rgba(201, 130, 118, 1)',
variant03: 'rgba(227, 93, 106, 1)',
variant04: 'rgba(222, 15, 13, 1)'
const $13812a6b070caf03$export$4ec1914b3efc3f9a = {
variant01: 'rgba(210, 153, 133, 1)',
variant02: 'rgba(201, 130, 118, 1)',
variant03: 'rgba(227, 93, 106, 1)',
variant04: 'rgba(222, 15, 13, 1)'
};
const glasses = {
green01: 'rgba(95, 112, 92, 1)',
blue01: 'rgba(67, 103, 125, 1)',
red01: 'rgba(160, 75, 93, 1)',
black01: 'rgba(75, 75, 75, 1)',
black02: 'rgba(50, 50, 50, 1)',
black03: 'rgba(25, 25, 25, 1)'
const $c4b25c691ae110af$export$98222f1ebbc36891 = {
green01: 'rgba(95, 112, 92, 1)',
blue01: 'rgba(67, 103, 125, 1)',
red01: 'rgba(160, 75, 93, 1)',
black01: 'rgba(75, 75, 75, 1)',
black02: 'rgba(50, 50, 50, 1)',
black03: 'rgba(25, 25, 25, 1)'
};
var colors = /*#__PURE__*/Object.freeze({
__proto__: null,
skin: skin,
hair: hair,
mouth: mouth,
glasses: glasses
});
function pickColor(_ref) {
var _colorCollection$grou;
let {
prng,
group,
values = []
} = _ref;
const colorCollection = colors;
if (values.length === 0) {
values.push('transparent');
}
function $5f67a5ee68f34be4$export$c6d89e41e42fa994({ prng: prng , group: group , values: values = [] }) {
const colorCollection = $4bfd7015602316f6$exports;
if (values.length === 0) values.push('transparent');
const key = prng.pick(values);
var _key;
return {
name: key,
value: (_key = colorCollection[group][key]) !== null && _key !== void 0 ? _key : key
};
}
const key = prng.pick(values);
return {
name: key,
value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
};
function $ae420fe107e853b2$export$6cee60e8aa85e528({ prng: prng , options: options }) {
return {
hair: $5f67a5ee68f34be4$export$c6d89e41e42fa994({
prng: prng,
group: 'hair',
values: options.hairColor
}),
mouth: $5f67a5ee68f34be4$export$c6d89e41e42fa994({
prng: prng,
group: 'mouth',
values: options.mouthColor
}),
glasses: $5f67a5ee68f34be4$export$c6d89e41e42fa994({
prng: prng,
group: 'glasses',
values: options.glassesColor
}),
background: $5f67a5ee68f34be4$export$c6d89e41e42fa994({
prng: prng,
group: 'skin',
values: options.backgroundColor
})
};
}
function getColors(_ref) {
let {
prng,
options
} = _ref;
return {
hair: pickColor({
prng,
group: 'hair',
values: options.hairColor
}),
mouth: pickColor({
prng,
group: 'mouth',
values: options.mouthColor
}),
glasses: pickColor({
prng,
group: 'glasses',
values: options.glassesColor
}),
background: pickColor({
prng,
group: 'skin',
values: options.backgroundColor
})
};
function $9acff583f1de7616$export$19269755e7fb6f76({ prng: prng , options: options , preview: preview }) {
// Write your modifications here
}
const dimensions = {
eyes: {
width: 20,
height: 20
},
eyebrows: {
width: 20,
height: 20
},
mouth: {
width: 20,
height: 20
},
glasses: {
width: 20,
height: 20
}
};
const style = {
meta: {
title: 'Pixel Art - Neutral',
creator: 'Plastic Jam',
license: {
name: 'MIT',
url: 'https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE'
}
},
schema: schema$1,
create: _ref => {
var _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$glasses$v, _components$glasses;
function $91d5aaf9bda9e9ad$export$2538c3cd8a13189f({ prng: prng , options: options , components: components , colors: colors , preview: preview }) {
// Write your modifications here
}
let {
prng,
options
} = _ref;
const components = getComponents({
prng,
options
});
const colors = getColors({
prng,
options
});
options.backgroundColor = [colors.background.value];
return {
attributes: {
viewBox: '0 0 14 14',
fill: 'none',
'shape-rendering': 'auto'
},
body: "<g transform=\"translate(-3 -3)\">".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><g transform=\"translate(-3 -3)\">").concat((_components$eyebrows$ = (_components$eyebrows = components.eyebrows) === null || _components$eyebrows === void 0 ? void 0 : _components$eyebrows.value(components, colors)) !== null && _components$eyebrows$ !== void 0 ? _components$eyebrows$ : '', "</g><g transform=\"translate(-3 -2)\">").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(-3 -3)\">").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 : '', "</g>")
};
},
preview: _ref2 => {
let {
prng,
options,
property
} = _ref2;
const componentGroup = property.toString();
const colorGroup = property.toString().replace(/Color$/, '');
const components = getComponents({
prng,
options
});
const colors = getColors({
prng,
options
});
options.backgroundColor = [colors.background.value];
if (componentGroup in components) {
var _components$component, _components$component2;
const {
width,
height
} = dimensions[componentGroup];
return {
attributes: {
viewBox: "0 0 ".concat(width, " ").concat(height),
fill: 'none',
'shape-rendering': 'auto'
},
body: (_components$component = (_components$component2 = components[componentGroup]) === null || _components$component2 === void 0 ? void 0 : _components$component2.value(components, colors)) !== null && _components$component !== void 0 ? _components$component : ''
};
const $dc5288d8af791aa3$export$62ad7b0c781000e9 = {
eyes: {
width: 20,
height: 20
},
eyebrows: {
width: 20,
height: 20
},
mouth: {
width: 20,
height: 20
},
glasses: {
width: 20,
height: 20
}
};
if (colorGroup in colors) {
return {
attributes: {
viewBox: "0 0 1 1",
fill: 'none',
'shape-rendering': 'auto'
},
body: "<rect width=\"1\" height=\"1\" fill=\"".concat(colors[colorGroup].value, "\" />")
};
const $3c4806b91b86b4f8$export$1d567c320f4763bc = {
meta: {
title: 'Pixel Art - Neutral',
creator: 'Plastic Jam',
license: {
name: 'MIT',
url: 'https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE'
}
},
schema: (/*@__PURE__*/$parcel$interopDefault($54d39ad2b380e643$exports)),
create: ({ prng: prng , options: options })=>{
var ref, ref1, ref2, ref3;
$9acff583f1de7616$export$19269755e7fb6f76({
prng: prng,
options: options,
preview: false
});
const components = $210e5b953fc1fcac$export$4e811121b221213b({
prng: prng,
options: options
});
const colors = $ae420fe107e853b2$export$6cee60e8aa85e528({
prng: prng,
options: options
});
$91d5aaf9bda9e9ad$export$2538c3cd8a13189f({
prng: prng,
options: options,
components: components,
colors: colors,
preview: false
});
options.backgroundColor = [
colors.background.value
];
var ref4, ref5, ref6, ref7;
return {
attributes: {
viewBox: '0 0 14 14',
fill: 'none',
'shape-rendering': 'auto'
},
body: `<g transform="translate(-3 -3)">${(ref4 = (ref = components.eyes) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref4 !== void 0 ? ref4 : ''}</g><g transform="translate(-3 -3)">${(ref5 = (ref1 = components.eyebrows) === null || ref1 === void 0 ? void 0 : ref1.value(components, colors)) !== null && ref5 !== void 0 ? ref5 : ''}</g><g transform="translate(-3 -2)">${(ref6 = (ref2 = components.mouth) === null || ref2 === void 0 ? void 0 : ref2.value(components, colors)) !== null && ref6 !== void 0 ? ref6 : ''}</g><g transform="translate(-3 -3)">${(ref7 = (ref3 = components.glasses) === null || ref3 === void 0 ? void 0 : ref3.value(components, colors)) !== null && ref7 !== void 0 ? ref7 : ''}</g>`
};
},
preview: ({ prng: prng , options: options , property: property })=>{
const componentGroup = property.toString();
const colorGroup = property.toString().replace(/Color$/, '');
$9acff583f1de7616$export$19269755e7fb6f76({
prng: prng,
options: options,
preview: true
});
const components = $210e5b953fc1fcac$export$4e811121b221213b({
prng: prng,
options: options
});
const colors = $ae420fe107e853b2$export$6cee60e8aa85e528({
prng: prng,
options: options
});
$91d5aaf9bda9e9ad$export$2538c3cd8a13189f({
prng: prng,
options: options,
components: components,
colors: colors,
preview: true
});
options.backgroundColor = [
colors.background.value
];
if (componentGroup in components) {
var ref;
const { width: width , height: height } = $dc5288d8af791aa3$export$62ad7b0c781000e9[componentGroup];
var ref8;
return {
attributes: {
viewBox: `0 0 ${width} ${height}`,
fill: 'none',
'shape-rendering': 'auto'
},
body: (ref8 = (ref = components[componentGroup]) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref8 !== void 0 ? ref8 : ''
};
}
if (colorGroup in colors) return {
attributes: {
viewBox: `0 0 1 1`,
fill: 'none',
'shape-rendering': 'auto'
},
body: `<rect width="1" height="1" fill="${colors[colorGroup].value}" />`
};
return undefined;
}
return undefined;
}
};
/*!
* Pixel Art - Neutral (@dicebear/pixel-art-neutral)
*
* Code licensed under MIT License.
* Copyright (c) 2021 Florian Körner
* Copyright (c) 2021 Plastic Jam
*
* Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
*/
let {
create,
preview,
meta,
schema
} = style;
exports.create = create;
exports.meta = meta;
exports.preview = preview;
exports.schema = schema;
const { create: $3401a08dd5a809ba$export$185802fd694ee1f5 , preview: $3401a08dd5a809ba$export$48c2d0f2f545ac27 , meta: $3401a08dd5a809ba$export$6990040ee07315 , schema: $3401a08dd5a809ba$export$4902baddc787debb } = $3c4806b91b86b4f8$export$1d567c320f4763bc;
//# sourceMappingURL=index.js.map
{
"name": "@dicebear/pixel-art-neutral",
"version": "5.0.0-alpha.6",
"version": "5.0.0-alpha.7",
"description": "Avatar style for DiceBear",

@@ -16,6 +16,6 @@ "keywords": [

"license": "MIT",
"browserslist": ">.25%, not IE > 0, not dead",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.es.js",
"browser": "dist/index.umd.js",
"types": "dist/index.d.ts",

@@ -31,18 +31,23 @@ "files": [

"prebuild": "shx rm -rf dist",
"build": "dicebear-project build DiceBear.PixelArtNeutral"
"build": "npm-run-all build:*",
"build:schema": "json2ts src/schema.json src/options.ts",
"build:parcel": "parcel build"
},
"devDependencies": {
"@dicebear/core": "^5.0.0-alpha.6",
"@dicebear/core": "^5.0.0-alpha.7",
"@parcel/packager-ts": "^2.0.1",
"@parcel/transformer-typescript-types": "^2.0.1",
"@tsconfig/recommended": "^1.0.0",
"@types/jest": "^26.0.22",
"@types/node": "^10.11.6",
"dicebear-project": "^5.0.0-alpha.6",
"jest": "^26.6.3",
"json-schema-to-typescript": "^10.1.5",
"npm-run-all": "^4.1.5",
"parcel": "^2.0.1",
"shx": "^0.3.3",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3",
"utility-types": "^3.10.0"
"typescript": "^4.5.2"
},
"peerDependencies": {
"@dicebear/core": "^5.0.0-alpha.5"
"@dicebear/core": "^5.0.0-alpha.6"
},

@@ -52,3 +57,3 @@ "publishConfig": {

},
"gitHead": "d6c8c12102c3aa2071e6795972574ccd4a40b8b7"
"gitHead": "39873c5556400a5cba342abce15a376470613d19"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc