@dicebear/pixel-art
Advanced tools
Comparing version 4.10.0 to 5.0.0-alpha.0
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const accessories: ColorGroup; |
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const clothes: ColorGroup; |
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const glasses: ColorGroup; |
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const hair: ColorGroup; |
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const hat: ColorGroup; |
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const mouth: ColorGroup; |
@@ -1,2 +0,2 @@ | ||
import type { ColorGroup } from "../static-types"; | ||
import type { ColorGroup } from '../static-types'; | ||
export declare const skin: ColorGroup; |
@@ -1,3 +0,3 @@ | ||
import type { Style } from '@dicebear/avatars'; | ||
import type { Style } from '@dicebear/core'; | ||
import type { Options } from './options'; | ||
export declare const style: Style<Options>; |
@@ -1,4 +0,4 @@ | ||
import { Prng, StyleOptions } from "@dicebear/avatars"; | ||
import { Options } from "../options"; | ||
import { ColorPickCollection, ComponentPickCollection } from "../static-types"; | ||
import { Prng, StyleOptions } from '@dicebear/core'; | ||
import { Options } from '../options'; | ||
import { ColorPickCollection, ComponentPickCollection } from '../static-types'; | ||
declare type Props = { | ||
@@ -9,4 +9,5 @@ prng: Prng; | ||
colors: ColorPickCollection; | ||
preview: boolean; | ||
}; | ||
export declare function onPostCreate({ prng, options, components, colors }: Props): void; | ||
export declare function onPostCreate({ prng, options, components, colors, preview, }: Props): void; | ||
export {}; |
@@ -1,8 +0,9 @@ | ||
import { Prng, StyleOptions } from "@dicebear/avatars"; | ||
import { Options } from "../options"; | ||
import { Prng, StyleOptions } from '@dicebear/core'; | ||
import { Options } from '../options'; | ||
declare type Props = { | ||
prng: Prng; | ||
options: StyleOptions<Options>; | ||
preview: boolean; | ||
}; | ||
export declare function onPreCreate({ prng, options }: Props): void; | ||
export declare function onPreCreate({ prng, options, preview }: Props): void; | ||
export {}; |
@@ -6,11 +6,9 @@ /*! | ||
* Copyright (c) 2021 Florian Körner | ||
* Copyright (c) 2021 Plastic Jam | ||
* | ||
* Design "8biticon" by Plastic Jam licensed under MIT. | ||
* Design "Pixel Art" by Plastic Jam licensed under MIT. | ||
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE | ||
*/ | ||
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7; | ||
export { create, meta, schema }; | ||
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'; | ||
declare const _default: import("@dicebear/avatars").SpriteCollection<import("./options").Options>; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
export default _default; |
1756
dist/index.es.js
@@ -1,622 +0,760 @@ | ||
import { utils } from '@dicebear/avatars'; | ||
var title = "Options"; | ||
var $schema = "http://json-schema.org/draft-07/schema#"; | ||
var properties = { | ||
accessories: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
"default": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
accessoriesColor: { | ||
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": [ | ||
"gold01", | ||
"gold02", | ||
"gold03", | ||
"silver01", | ||
"silver02" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"gold01", | ||
"gold02", | ||
"gold03", | ||
"silver01", | ||
"silver02" | ||
] | ||
}, | ||
accessoriesProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 10 | ||
}, | ||
beard: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
"default": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
beardProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 10 | ||
}, | ||
clothesColor: { | ||
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": [ | ||
"yellow01", | ||
"yellow02", | ||
"yellow03", | ||
"red01", | ||
"red02", | ||
"red03", | ||
"blue01", | ||
"blue02", | ||
"blue03", | ||
"green01", | ||
"green02", | ||
"green03" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"yellow01", | ||
"yellow02", | ||
"yellow03", | ||
"red01", | ||
"red02", | ||
"red03", | ||
"blue01", | ||
"blue02", | ||
"blue03", | ||
"green01", | ||
"green02", | ||
"green03" | ||
] | ||
}, | ||
clothing: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant25", | ||
"variant24", | ||
"variant23", | ||
"variant22", | ||
"variant21", | ||
"variant20", | ||
"variant19", | ||
"variant18", | ||
"variant17", | ||
"variant16", | ||
"variant15", | ||
"variant14", | ||
"variant13", | ||
"variant12", | ||
"variant11", | ||
"variant10", | ||
"variant09", | ||
"variant08", | ||
"variant07", | ||
"variant06", | ||
"variant05", | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
"default": [ | ||
"variant25", | ||
"variant24", | ||
"variant23", | ||
"variant22", | ||
"variant21", | ||
"variant20", | ||
"variant19", | ||
"variant18", | ||
"variant17", | ||
"variant16", | ||
"variant15", | ||
"variant14", | ||
"variant13", | ||
"variant12", | ||
"variant11", | ||
"variant10", | ||
"variant09", | ||
"variant08", | ||
"variant07", | ||
"variant06", | ||
"variant05", | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
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 | ||
}, | ||
hair: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"short11", | ||
"short10", | ||
"short09", | ||
"short08", | ||
"short07", | ||
"short06", | ||
"short05", | ||
"short04", | ||
"short03", | ||
"short02", | ||
"long15", | ||
"short01", | ||
"long14", | ||
"long13", | ||
"long12", | ||
"long11", | ||
"long10", | ||
"long09", | ||
"long08", | ||
"long07", | ||
"long06", | ||
"long05", | ||
"long04", | ||
"long03", | ||
"long02", | ||
"long01" | ||
] | ||
}, | ||
"default": [ | ||
"short11", | ||
"short10", | ||
"short09", | ||
"short08", | ||
"short07", | ||
"short06", | ||
"short05", | ||
"short04", | ||
"short03", | ||
"short02", | ||
"long15", | ||
"short01", | ||
"long14", | ||
"long13", | ||
"long12", | ||
"long11", | ||
"long10", | ||
"long09", | ||
"long08", | ||
"long07", | ||
"long06", | ||
"long05", | ||
"long04", | ||
"long03", | ||
"long02", | ||
"long01" | ||
] | ||
}, | ||
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" | ||
] | ||
}, | ||
hairProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 100 | ||
}, | ||
hat: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08", | ||
"variant09", | ||
"variant10", | ||
"variant11", | ||
"variant12" | ||
] | ||
}, | ||
"default": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08", | ||
"variant09", | ||
"variant10", | ||
"variant11", | ||
"variant12" | ||
] | ||
}, | ||
hatColor: { | ||
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": [ | ||
"pink01", | ||
"blue01", | ||
"green01", | ||
"purple01", | ||
"red01", | ||
"black01", | ||
"gray01" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"pink01", | ||
"blue01", | ||
"green01", | ||
"purple01", | ||
"red01", | ||
"black01", | ||
"gray01" | ||
] | ||
}, | ||
hatProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 10 | ||
}, | ||
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" | ||
] | ||
}, | ||
skinColor: { | ||
type: "array", | ||
items: { | ||
anyOf: [ | ||
{ | ||
type: "string", | ||
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}, | ||
{ | ||
type: "string", | ||
"enum": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08" | ||
] | ||
} | ||
}; | ||
var additionalProperties = false; | ||
var schema$1 = { | ||
"title": "Options", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"properties": { | ||
"beard": { | ||
"title": "Beard", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"beardProbability": { | ||
"title": "Beard Probability", | ||
"default": 10, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"eyes": { | ||
"title": "Eyes", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"eyebrows": { | ||
"title": "Eyebrows", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"mouth": { | ||
"title": "Mouth", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["surprised03", "surprised02", "happy09", "happy08", "happy07", "happy06", "happy05", "happy04", "happy03", "happy02", "happy01", "sad08", "sad07", "sad06", "sad05", "sad04", "sad03", "sad02", "sad01", "surprised01"] | ||
}, | ||
"default": ["surprised03", "surprised02", "happy09", "happy08", "happy07", "happy06", "happy05", "happy04", "happy03", "happy02", "happy01", "sad08", "sad07", "sad06", "sad05", "sad04", "sad03", "sad02", "sad01", "surprised01"] | ||
}, | ||
"hair": { | ||
"title": "Hair", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["short11", "short10", "short09", "short08", "short07", "short06", "short05", "short04", "short03", "short02", "long15", "short01", "long14", "long13", "long12", "long11", "long10", "long09", "long08", "long07", "long06", "long05", "long04", "long03", "long02", "long01"] | ||
}, | ||
"default": ["short11", "short10", "short09", "short08", "short07", "short06", "short05", "short04", "short03", "short02", "long15", "short01", "long14", "long13", "long12", "long11", "long10", "long09", "long08", "long07", "long06", "long05", "long04", "long03", "long02", "long01"] | ||
}, | ||
"hairProbability": { | ||
"title": "Hair Probability", | ||
"default": 100, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"accessories": { | ||
"title": "Accessories", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"accessoriesProbability": { | ||
"title": "Accessories Probability", | ||
"default": 10, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"glasses": { | ||
"title": "Glasses", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"glassesProbability": { | ||
"title": "Glasses Probability", | ||
"default": 20, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"hat": { | ||
"title": "Hat", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10", "variant11", "variant12"] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10", "variant11", "variant12"] | ||
}, | ||
"hatProbability": { | ||
"title": "Hat Probability", | ||
"default": 10, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"clothing": { | ||
"title": "Clothing", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant25", "variant24", "variant23", "variant22", "variant21", "variant20", "variant19", "variant18", "variant17", "variant16", "variant15", "variant14", "variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant25", "variant24", "variant23", "variant22", "variant21", "variant20", "variant19", "variant18", "variant17", "variant16", "variant15", "variant14", "variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"skinColor": { | ||
"title": "Skin Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08"] | ||
}, | ||
"hairColor": { | ||
"title": "Hair Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10"] | ||
}, | ||
"accessoriesColor": { | ||
"title": "Accessories Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["gold01", "gold02", "gold03", "silver01", "silver02"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["gold01", "gold02", "gold03", "silver01", "silver02"] | ||
}, | ||
"mouthColor": { | ||
"title": "Mouth Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04"] | ||
}, | ||
"clothesColor": { | ||
"title": "Clothes Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["yellow01", "yellow02", "yellow03", "red01", "red02", "red03", "blue01", "blue02", "blue03", "green01", "green02", "green03"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["yellow01", "yellow02", "yellow03", "red01", "red02", "red03", "blue01", "blue02", "blue03", "green01", "green02", "green03"] | ||
}, | ||
"hatColor": { | ||
"title": "Hat Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["pink01", "blue01", "green01", "purple01", "red01", "black01", "gray01"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["pink01", "blue01", "green01", "purple01", "red01", "black01", "gray01"] | ||
}, | ||
"glassesColor": { | ||
"title": "Glasses Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["green01", "blue01", "red01", "black01", "black02", "black03"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["green01", "blue01", "red01", "black01", "black02", "black03"] | ||
} | ||
}, | ||
"additionalProperties": false | ||
title: title, | ||
$schema: $schema, | ||
properties: properties, | ||
additionalProperties: additionalProperties | ||
}; | ||
var beard = { | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1l-.059 1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
} | ||
const beard = { | ||
variant04: (components, colors) => "\n<path opacity=\".9\" d=\"M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
variant01: (components, colors) => "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1v1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n") | ||
}; | ||
var eyes = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
} | ||
const eyes = { | ||
variant13: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant12: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n", | ||
variant11: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant10: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant09: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant08: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n", | ||
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
variant01: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n" | ||
}; | ||
var eyebrows = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
} | ||
const eyebrows = { | ||
variant13: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant12: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant11: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant10: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant09: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant08: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant01: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n") | ||
}; | ||
var mouth$1 = { | ||
'surprised03': function surprised03(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised02': function surprised02(components, colors) { | ||
return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy09': function happy09(components, colors) { | ||
return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy08': function happy08(components, colors) { | ||
return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy07': function happy07(components, colors) { | ||
return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy06': function happy06(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'happy05': function happy05(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy04': function happy04(components, colors) { | ||
return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy03': function happy03(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy02': function happy02(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"); | ||
}, | ||
'happy01': function happy01(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'sad08': function sad08(components, colors) { | ||
return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad07': function sad07(components, colors) { | ||
return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad06': function sad06(components, colors) { | ||
return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad05': function sad05(components, colors) { | ||
return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad04': function sad04(components, colors) { | ||
return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad03': function sad03(components, colors) { | ||
return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad02': function sad02(components, colors) { | ||
return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad01': function sad01(components, colors) { | ||
return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised01': function surprised01(components, colors) { | ||
return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"; | ||
} | ||
const mouth$1 = { | ||
surprised03: (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
surprised02: (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy09: (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy08: (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy07: (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy06: (components, colors) => "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
happy05: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy04: (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy03: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy02: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"), | ||
happy01: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
sad08: (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad07: (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad06: (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad05: (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad04: (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad03: (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad02: (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad01: (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
surprised01: (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n" | ||
}; | ||
var hair$1 = { | ||
'short11': function short11(components, colors) { | ||
return "\n<path d=\"M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short10': function short10(components, colors) { | ||
return "\n<path d=\"M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short09': function short09(components, colors) { | ||
return "\n<path d=\"M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short08': function short08(components, colors) { | ||
return "\n<path d=\"M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short07': function short07(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short06': function short06(components, colors) { | ||
return "\n<path d=\"M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short05': function short05(components, colors) { | ||
return "\n<path d=\"M11 5V4h1V3H8v1h1v1h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short04': function short04(components, colors) { | ||
return "\n<path d=\"M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short03': function short03(components, colors) { | ||
return "\n<path d=\"M5 5h10V4h-1V3H6v1H5v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short02': function short02(components, colors) { | ||
return "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long15': function long15(components, colors) { | ||
return "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short01': function short01(components, colors) { | ||
return "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long14': function long14(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long13': function long13(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long12': function long12(components, colors) { | ||
return "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long11': function long11(components, colors) { | ||
return "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long10': function long10(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.104V11h1v2h1v1l-2 .104ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long09': function long09(components, colors) { | ||
return "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long08': function long08(components, colors) { | ||
return "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long07': function long07(components, colors) { | ||
return "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3.016h-1V2h-2v1l-8 .016V2H4v1.016H3V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long06': function long06(components, colors) { | ||
return "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long05': function long05(components, colors) { | ||
return "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H3.998L4 11H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long04': function long04(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long03': function long03(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long02': function long02(components, colors) { | ||
return "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long01': function long01(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
} | ||
const hair$1 = { | ||
short11: (components, colors) => "\n<path d=\"M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short10: (components, colors) => "\n<path d=\"M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short09: (components, colors) => "\n<path d=\"M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short08: (components, colors) => "\n<path d=\"M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short07: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short06: (components, colors) => "\n<path d=\"M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short05: (components, colors) => "\n<path d=\"M11 5V4h1V3H8v1h1v1h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short04: (components, colors) => "\n<path d=\"M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short03: (components, colors) => "\n<path d=\"M5 5h10V4h-1V3H6v1H5v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short02: (components, colors) => "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long15: (components, colors) => "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short01: (components, colors) => "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long14: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long13: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long12: (components, colors) => "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long11: (components, colors) => "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long10: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.1V11h1v2h1v1l-2 .1ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long09: (components, colors) => "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long08: (components, colors) => "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long07: (components, colors) => "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3h-1V2h-2v1H6V2H4v1H3v2h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long06: (components, colors) => "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long05: (components, colors) => "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long03: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long02: (components, colors) => "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long01: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n") | ||
}; | ||
var accessories$1 = { | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill=\"".concat(colors.accessories.value, "\">\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\"/>\n</g>\n"); | ||
} | ||
const accessories$1 = { | ||
variant04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n"), | ||
variant01: (components, colors) => "\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n") | ||
}; | ||
var glasses$1 = { | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const glasses$1 = { | ||
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant01: (components, colors) => "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
var hat$1 = { | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M4 1v2H2v2h16V3h-2V1H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<path d=\"M4 4H2v1h16V4h-2V1H4v3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<path d=\"M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path d=\"M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const hat$1 = { | ||
variant01: (components, colors) => "\n<path d=\"M4 1v2H2v2h16V3h-2V1H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<path d=\"M4 4H2v1h16V4h-2V1H4v3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path d=\"M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant04: (components, colors) => "\n<path d=\"M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant05: (components, colors) => "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant06: (components, colors) => "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant07: (components, colors) => "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant08: (components, colors) => "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant09: (components, colors) => "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant10: (components, colors) => "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant11: (components, colors) => "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant12: (components, colors) => "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
var clothing = { | ||
'variant25': function variant25(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant24': function variant24(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M9 16v1h2v-1H9Z\" fill=\"#fff\"/>\n"); | ||
}, | ||
'variant23': function variant23(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".3\"/>\n"); | ||
}, | ||
'variant22': function variant22(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant21': function variant21(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant20': function variant20(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h.965L12 15h1v1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant19': function variant19(components, colors) { | ||
return "\n<path d=\"M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M10 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z\" fill=\"#fff\" fill-opacity=\".8\"/>\n"); | ||
}, | ||
'variant18': function variant18(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant17': function variant17(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant16': function variant16(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant15': function variant15(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant14': function variant14(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4.027L8 15h4l.011 1H16v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant13': function variant13(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill=\"".concat(colors.clothes.value, "\">\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const clothing = { | ||
variant25: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant24: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M9 16v1h2v-1H9Z\" fill=\"#fff\"/>\n"), | ||
variant23: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".3\"/>\n"), | ||
variant22: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant21: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant20: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant19: (components, colors) => "\n<path d=\"M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M10 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z\" fill=\"#fff\" fill-opacity=\".8\"/>\n"), | ||
variant18: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant17: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant16: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant15: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant14: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant13: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant12: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant11: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant10: (components, colors) => "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant09: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant08: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant07: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n"), | ||
variant06: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant05: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n"), | ||
variant01: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
@@ -637,6 +775,9 @@ | ||
function pickComponent(prng, group) { | ||
var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
var componentCollection = components; | ||
var key = prng.pick(values); | ||
function pickComponent({ | ||
prng, | ||
group, | ||
values = [] | ||
}) { | ||
const componentCollection = components; | ||
const key = prng.pick(values); | ||
@@ -653,73 +794,135 @@ if (componentCollection[group][key]) { | ||
var 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)' | ||
function getComponents({ | ||
prng, | ||
options | ||
}) { | ||
const beardComponent = pickComponent({ | ||
prng, | ||
group: 'beard', | ||
values: options.beard | ||
}); | ||
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 hairComponent = pickComponent({ | ||
prng, | ||
group: 'hair', | ||
values: options.hair | ||
}); | ||
const accessoriesComponent = pickComponent({ | ||
prng, | ||
group: 'accessories', | ||
values: options.accessories | ||
}); | ||
const glassesComponent = pickComponent({ | ||
prng, | ||
group: 'glasses', | ||
values: options.glasses | ||
}); | ||
const hatComponent = pickComponent({ | ||
prng, | ||
group: 'hat', | ||
values: options.hat | ||
}); | ||
const clothingComponent = pickComponent({ | ||
prng, | ||
group: 'clothing', | ||
values: options.clothing | ||
}); | ||
return { | ||
beard: prng.bool(options.beardProbability) ? beardComponent : undefined, | ||
eyes: eyesComponent, | ||
eyebrows: eyebrowsComponent, | ||
mouth: mouthComponent, | ||
hair: prng.bool(options.hairProbability) ? hairComponent : undefined, | ||
accessories: prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined, | ||
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined, | ||
hat: prng.bool(options.hatProbability) ? hatComponent : undefined, | ||
clothing: clothingComponent | ||
}; | ||
} | ||
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 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 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)' | ||
}; | ||
var accessories = { | ||
'gold01': 'rgba(218, 165, 32, 1)', | ||
'gold02': 'rgba(255, 215, 0, 1)', | ||
'gold03': 'rgba(250, 250, 210, 1)', | ||
'silver01': 'rgba(211, 211, 211, 1)', | ||
'silver02': 'rgba(169, 169, 169, 1)' | ||
const accessories = { | ||
gold01: 'rgba(218, 165, 32, 1)', | ||
gold02: 'rgba(255, 215, 0, 1)', | ||
gold03: 'rgba(250, 250, 210, 1)', | ||
silver01: 'rgba(211, 211, 211, 1)', | ||
silver02: 'rgba(169, 169, 169, 1)' | ||
}; | ||
var 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 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)' | ||
}; | ||
var clothes = { | ||
'yellow01': 'rgba(255, 238, 173, 1)', | ||
'yellow02': 'rgba(255, 217, 105, 1)', | ||
'yellow03': 'rgba(255, 196, 37, 1)', | ||
'red01': 'rgba(255, 111, 105, 1)', | ||
'red02': 'rgba(209, 17, 65, 1)', | ||
'red03': 'rgba(174, 0, 1, 1)', | ||
'blue01': 'rgba(91, 192, 222, 1)', | ||
'blue02': 'rgba(66, 139, 202, 1)', | ||
'blue03': 'rgba(3, 57, 108, 1)', | ||
'green01': 'rgba(136, 216, 176, 1)', | ||
'green02': 'rgba(68, 197, 133, 1)', | ||
'green03': 'rgba(0, 177, 89, 1)' | ||
const clothes = { | ||
yellow01: 'rgba(255, 238, 173, 1)', | ||
yellow02: 'rgba(255, 217, 105, 1)', | ||
yellow03: 'rgba(255, 196, 37, 1)', | ||
red01: 'rgba(255, 111, 105, 1)', | ||
red02: 'rgba(209, 17, 65, 1)', | ||
red03: 'rgba(174, 0, 1, 1)', | ||
blue01: 'rgba(91, 192, 222, 1)', | ||
blue02: 'rgba(66, 139, 202, 1)', | ||
blue03: 'rgba(3, 57, 108, 1)', | ||
green01: 'rgba(136, 216, 176, 1)', | ||
green02: 'rgba(68, 197, 133, 1)', | ||
green03: 'rgba(0, 177, 89, 1)' | ||
}; | ||
var hat = { | ||
'pink01': 'rgba(204, 97, 146, 1)', | ||
'blue01': 'rgba(38, 99, 163, 1)', | ||
'green01': 'rgba(61, 138, 107, 1)', | ||
'purple01': 'rgba(97, 79, 138, 1)', | ||
'red01': 'rgba(166, 33, 22, 1)', | ||
'black01': 'rgba(46, 30, 5, 1)', | ||
'gray01': 'rgba(152, 151, 137, 1)' | ||
const hat = { | ||
pink01: 'rgba(204, 97, 146, 1)', | ||
blue01: 'rgba(38, 99, 163, 1)', | ||
green01: 'rgba(61, 138, 107, 1)', | ||
purple01: 'rgba(97, 79, 138, 1)', | ||
red01: 'rgba(166, 33, 22, 1)', | ||
black01: 'rgba(46, 30, 5, 1)', | ||
gray01: 'rgba(152, 151, 137, 1)' | ||
}; | ||
var 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 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)' | ||
}; | ||
@@ -738,6 +941,10 @@ | ||
function pickColor(prng, group, values) { | ||
function pickColor({ | ||
prng, | ||
group, | ||
values = [] | ||
}) { | ||
var _colorCollection$grou; | ||
var colorCollection = colors; | ||
const colorCollection = colors; | ||
@@ -748,3 +955,3 @@ if (values.length === 0) { | ||
var key = prng.pick(values); | ||
const key = prng.pick(values); | ||
return { | ||
@@ -756,17 +963,85 @@ name: key, | ||
function onPreCreate(_ref) {// Write your modifications here | ||
_ref.prng; | ||
_ref.options; | ||
function getColors({ | ||
prng, | ||
options | ||
}) { | ||
return { | ||
skin: pickColor({ | ||
prng, | ||
group: 'skin', | ||
values: options.skinColor | ||
}), | ||
hair: pickColor({ | ||
prng, | ||
group: 'hair', | ||
values: options.hairColor | ||
}), | ||
accessories: pickColor({ | ||
prng, | ||
group: 'accessories', | ||
values: options.accessoriesColor | ||
}), | ||
mouth: pickColor({ | ||
prng, | ||
group: 'mouth', | ||
values: options.mouthColor | ||
}), | ||
clothes: pickColor({ | ||
prng, | ||
group: 'clothes', | ||
values: options.clothesColor | ||
}), | ||
hat: pickColor({ | ||
prng, | ||
group: 'hat', | ||
values: options.hatColor | ||
}), | ||
glasses: pickColor({ | ||
prng, | ||
group: 'glasses', | ||
values: options.glassesColor | ||
}) | ||
}; | ||
} | ||
function onPostCreate(_ref) {// Write your modifications here | ||
const dimensions = { | ||
beard: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
eyes: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
eyebrows: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
mouth: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
hair: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
accessories: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
glasses: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
hat: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
clothing: { | ||
width: 20, | ||
height: 20 | ||
} | ||
}; | ||
_ref.prng; | ||
_ref.options; | ||
_ref.components; | ||
_ref.colors; | ||
} | ||
var style = { | ||
const style = { | ||
meta: { | ||
@@ -781,45 +1056,14 @@ title: 'Pixel Art', | ||
schema: schema$1, | ||
create: function create(_ref) { | ||
var _options$skinColor, _options$hairColor, _options$accessoriesC, _options$mouthColor, _options$clothesColor, _options$hatColor, _options$glassesColor, _components$beard$val, _components$beard, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$hair$valu, _components$hair, _components$accessori, _components$accessori2, _components$glasses$v, _components$glasses, _components$hat$value, _components$hat, _components$clothing$, _components$clothing; | ||
var prng = _ref.prng, | ||
options = _ref.options; | ||
onPreCreate({ | ||
prng: prng, | ||
options: options | ||
create: ({ | ||
prng, | ||
options | ||
}) => { | ||
var _components$beard$val, _components$beard, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$hair$valu, _components$hair, _components$accessori, _components$accessori2, _components$glasses$v, _components$glasses, _components$hat$value, _components$hat, _components$clothing$, _components$clothing; | ||
const components = getComponents({ | ||
prng, | ||
options | ||
}); | ||
var beardComponent = pickComponent(prng, 'beard', options.beard); | ||
var eyesComponent = pickComponent(prng, 'eyes', options.eyes); | ||
var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows); | ||
var mouthComponent = pickComponent(prng, 'mouth', options.mouth); | ||
var hairComponent = pickComponent(prng, 'hair', options.hair); | ||
var accessoriesComponent = pickComponent(prng, 'accessories', options.accessories); | ||
var glassesComponent = pickComponent(prng, 'glasses', options.glasses); | ||
var hatComponent = pickComponent(prng, 'hat', options.hat); | ||
var clothingComponent = pickComponent(prng, 'clothing', options.clothing); | ||
var components = { | ||
'beard': prng.bool(options.beardProbability) ? beardComponent : undefined, | ||
'eyes': eyesComponent, | ||
'eyebrows': eyebrowsComponent, | ||
'mouth': mouthComponent, | ||
'hair': prng.bool(options.hairProbability) ? hairComponent : undefined, | ||
'accessories': prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined, | ||
'glasses': prng.bool(options.glassesProbability) ? glassesComponent : undefined, | ||
'hat': prng.bool(options.hatProbability) ? hatComponent : undefined, | ||
'clothing': clothingComponent | ||
}; | ||
var colors = { | ||
'skin': pickColor(prng, 'skin', (_options$skinColor = options.skinColor) !== null && _options$skinColor !== void 0 ? _options$skinColor : []), | ||
'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []), | ||
'accessories': pickColor(prng, 'accessories', (_options$accessoriesC = options.accessoriesColor) !== null && _options$accessoriesC !== void 0 ? _options$accessoriesC : []), | ||
'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []), | ||
'clothes': pickColor(prng, 'clothes', (_options$clothesColor = options.clothesColor) !== null && _options$clothesColor !== void 0 ? _options$clothesColor : []), | ||
'hat': pickColor(prng, 'hat', (_options$hatColor = options.hatColor) !== null && _options$hatColor !== void 0 ? _options$hatColor : []), | ||
'glasses': pickColor(prng, 'glasses', (_options$glassesColor = options.glassesColor) !== null && _options$glassesColor !== void 0 ? _options$glassesColor : []) | ||
}; | ||
onPostCreate({ | ||
prng: prng, | ||
options: options, | ||
components: components, | ||
colors: colors | ||
const colors = getColors({ | ||
prng, | ||
options | ||
}); | ||
@@ -829,6 +1073,53 @@ return { | ||
viewBox: '0 0 20 20', | ||
fill: 'none' | ||
fill: 'none', | ||
'shape-rendering': 'auto' | ||
}, | ||
body: "\n<path d=\"M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n<g>\n").concat((_components$beard$val = (_components$beard = components.beard) === null || _components$beard === void 0 ? void 0 : _components$beard.value(components, colors)) !== null && _components$beard$val !== void 0 ? _components$beard$val : '', "\n</g>\n<g>\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n</g>\n<g>\n").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$ : '', "\n</g>\n<g>\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n</g>\n<g>\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n</g>\n<g>\n").concat((_components$accessori = (_components$accessori2 = components.accessories) === null || _components$accessori2 === void 0 ? void 0 : _components$accessori2.value(components, colors)) !== null && _components$accessori !== void 0 ? _components$accessori : '', "\n</g>\n<g>\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n</g>\n<g>\n").concat((_components$hat$value = (_components$hat = components.hat) === null || _components$hat === void 0 ? void 0 : _components$hat.value(components, colors)) !== null && _components$hat$value !== void 0 ? _components$hat$value : '', "\n</g>\n<g>\n").concat((_components$clothing$ = (_components$clothing = components.clothing) === null || _components$clothing === void 0 ? void 0 : _components$clothing.value(components, colors)) !== null && _components$clothing$ !== void 0 ? _components$clothing$ : '', "\n</g>\n") | ||
body: "\n<path d=\"M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n").concat((_components$beard$val = (_components$beard = components.beard) === null || _components$beard === void 0 ? void 0 : _components$beard.value(components, colors)) !== null && _components$beard$val !== void 0 ? _components$beard$val : '', "\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n").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$ : '', "\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n").concat((_components$accessori = (_components$accessori2 = components.accessories) === null || _components$accessori2 === void 0 ? void 0 : _components$accessori2.value(components, colors)) !== null && _components$accessori !== void 0 ? _components$accessori : '', "\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n").concat((_components$hat$value = (_components$hat = components.hat) === null || _components$hat === void 0 ? void 0 : _components$hat.value(components, colors)) !== null && _components$hat$value !== void 0 ? _components$hat$value : '', "\n").concat((_components$clothing$ = (_components$clothing = components.clothing) === null || _components$clothing === void 0 ? void 0 : _components$clothing.value(components, colors)) !== null && _components$clothing$ !== void 0 ? _components$clothing$ : '', "\n") | ||
}; | ||
}, | ||
preview: ({ | ||
prng, | ||
options, | ||
property | ||
}) => { | ||
const componentGroup = property.toString(); | ||
const colorGroup = property.toString().replace(/Color$/, ''); | ||
const components = getComponents({ | ||
prng, | ||
options | ||
}); | ||
const colors = getColors({ | ||
prng, | ||
options | ||
}); | ||
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 : '' | ||
}; | ||
} | ||
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, "\" />") | ||
}; | ||
} | ||
return undefined; | ||
} | ||
@@ -842,13 +1133,14 @@ }; | ||
* Copyright (c) 2021 Florian Körner | ||
* Copyright (c) 2021 Plastic Jam | ||
* | ||
* Design "8biticon" by Plastic Jam licensed under MIT. | ||
* Design "Pixel Art" by Plastic Jam licensed under MIT. | ||
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE | ||
*/ | ||
var create = style.create, | ||
meta = style.meta, | ||
schema = style.schema; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
let { | ||
create, | ||
preview, | ||
meta, | ||
schema | ||
} = style; | ||
var index = utils.style.createLegacyWrapper(style); | ||
export { create, index as default, meta, schema }; | ||
export { create, meta, preview, schema }; |
1756
dist/index.js
@@ -5,623 +5,761 @@ 'use strict'; | ||
var avatars = require('@dicebear/avatars'); | ||
var title = "Options"; | ||
var $schema = "http://json-schema.org/draft-07/schema#"; | ||
var properties = { | ||
accessories: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
"default": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
accessoriesColor: { | ||
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": [ | ||
"gold01", | ||
"gold02", | ||
"gold03", | ||
"silver01", | ||
"silver02" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"gold01", | ||
"gold02", | ||
"gold03", | ||
"silver01", | ||
"silver02" | ||
] | ||
}, | ||
accessoriesProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 10 | ||
}, | ||
beard: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
"default": [ | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
beardProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 10 | ||
}, | ||
clothesColor: { | ||
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": [ | ||
"yellow01", | ||
"yellow02", | ||
"yellow03", | ||
"red01", | ||
"red02", | ||
"red03", | ||
"blue01", | ||
"blue02", | ||
"blue03", | ||
"green01", | ||
"green02", | ||
"green03" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"yellow01", | ||
"yellow02", | ||
"yellow03", | ||
"red01", | ||
"red02", | ||
"red03", | ||
"blue01", | ||
"blue02", | ||
"blue03", | ||
"green01", | ||
"green02", | ||
"green03" | ||
] | ||
}, | ||
clothing: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant25", | ||
"variant24", | ||
"variant23", | ||
"variant22", | ||
"variant21", | ||
"variant20", | ||
"variant19", | ||
"variant18", | ||
"variant17", | ||
"variant16", | ||
"variant15", | ||
"variant14", | ||
"variant13", | ||
"variant12", | ||
"variant11", | ||
"variant10", | ||
"variant09", | ||
"variant08", | ||
"variant07", | ||
"variant06", | ||
"variant05", | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
"default": [ | ||
"variant25", | ||
"variant24", | ||
"variant23", | ||
"variant22", | ||
"variant21", | ||
"variant20", | ||
"variant19", | ||
"variant18", | ||
"variant17", | ||
"variant16", | ||
"variant15", | ||
"variant14", | ||
"variant13", | ||
"variant12", | ||
"variant11", | ||
"variant10", | ||
"variant09", | ||
"variant08", | ||
"variant07", | ||
"variant06", | ||
"variant05", | ||
"variant04", | ||
"variant03", | ||
"variant02", | ||
"variant01" | ||
] | ||
}, | ||
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 | ||
}, | ||
hair: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"short11", | ||
"short10", | ||
"short09", | ||
"short08", | ||
"short07", | ||
"short06", | ||
"short05", | ||
"short04", | ||
"short03", | ||
"short02", | ||
"long15", | ||
"short01", | ||
"long14", | ||
"long13", | ||
"long12", | ||
"long11", | ||
"long10", | ||
"long09", | ||
"long08", | ||
"long07", | ||
"long06", | ||
"long05", | ||
"long04", | ||
"long03", | ||
"long02", | ||
"long01" | ||
] | ||
}, | ||
"default": [ | ||
"short11", | ||
"short10", | ||
"short09", | ||
"short08", | ||
"short07", | ||
"short06", | ||
"short05", | ||
"short04", | ||
"short03", | ||
"short02", | ||
"long15", | ||
"short01", | ||
"long14", | ||
"long13", | ||
"long12", | ||
"long11", | ||
"long10", | ||
"long09", | ||
"long08", | ||
"long07", | ||
"long06", | ||
"long05", | ||
"long04", | ||
"long03", | ||
"long02", | ||
"long01" | ||
] | ||
}, | ||
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" | ||
] | ||
}, | ||
hairProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 100 | ||
}, | ||
hat: { | ||
type: "array", | ||
items: { | ||
type: "string", | ||
"enum": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08", | ||
"variant09", | ||
"variant10", | ||
"variant11", | ||
"variant12" | ||
] | ||
}, | ||
"default": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08", | ||
"variant09", | ||
"variant10", | ||
"variant11", | ||
"variant12" | ||
] | ||
}, | ||
hatColor: { | ||
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": [ | ||
"pink01", | ||
"blue01", | ||
"green01", | ||
"purple01", | ||
"red01", | ||
"black01", | ||
"gray01" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"pink01", | ||
"blue01", | ||
"green01", | ||
"purple01", | ||
"red01", | ||
"black01", | ||
"gray01" | ||
] | ||
}, | ||
hatProbability: { | ||
type: "integer", | ||
minimum: 0, | ||
maximum: 100, | ||
"default": 10 | ||
}, | ||
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" | ||
] | ||
}, | ||
skinColor: { | ||
type: "array", | ||
items: { | ||
anyOf: [ | ||
{ | ||
type: "string", | ||
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}, | ||
{ | ||
type: "string", | ||
"enum": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08" | ||
] | ||
} | ||
] | ||
}, | ||
"default": [ | ||
"variant01", | ||
"variant02", | ||
"variant03", | ||
"variant04", | ||
"variant05", | ||
"variant06", | ||
"variant07", | ||
"variant08" | ||
] | ||
} | ||
}; | ||
var additionalProperties = false; | ||
var schema$1 = { | ||
"title": "Options", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"properties": { | ||
"beard": { | ||
"title": "Beard", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"beardProbability": { | ||
"title": "Beard Probability", | ||
"default": 10, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"eyes": { | ||
"title": "Eyes", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"eyebrows": { | ||
"title": "Eyebrows", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"mouth": { | ||
"title": "Mouth", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["surprised03", "surprised02", "happy09", "happy08", "happy07", "happy06", "happy05", "happy04", "happy03", "happy02", "happy01", "sad08", "sad07", "sad06", "sad05", "sad04", "sad03", "sad02", "sad01", "surprised01"] | ||
}, | ||
"default": ["surprised03", "surprised02", "happy09", "happy08", "happy07", "happy06", "happy05", "happy04", "happy03", "happy02", "happy01", "sad08", "sad07", "sad06", "sad05", "sad04", "sad03", "sad02", "sad01", "surprised01"] | ||
}, | ||
"hair": { | ||
"title": "Hair", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["short11", "short10", "short09", "short08", "short07", "short06", "short05", "short04", "short03", "short02", "long15", "short01", "long14", "long13", "long12", "long11", "long10", "long09", "long08", "long07", "long06", "long05", "long04", "long03", "long02", "long01"] | ||
}, | ||
"default": ["short11", "short10", "short09", "short08", "short07", "short06", "short05", "short04", "short03", "short02", "long15", "short01", "long14", "long13", "long12", "long11", "long10", "long09", "long08", "long07", "long06", "long05", "long04", "long03", "long02", "long01"] | ||
}, | ||
"hairProbability": { | ||
"title": "Hair Probability", | ||
"default": 100, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"accessories": { | ||
"title": "Accessories", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"accessoriesProbability": { | ||
"title": "Accessories Probability", | ||
"default": 10, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"glasses": { | ||
"title": "Glasses", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"glassesProbability": { | ||
"title": "Glasses Probability", | ||
"default": 20, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"hat": { | ||
"title": "Hat", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10", "variant11", "variant12"] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10", "variant11", "variant12"] | ||
}, | ||
"hatProbability": { | ||
"title": "Hat Probability", | ||
"default": 10, | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"clothing": { | ||
"title": "Clothing", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["variant25", "variant24", "variant23", "variant22", "variant21", "variant20", "variant19", "variant18", "variant17", "variant16", "variant15", "variant14", "variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"default": ["variant25", "variant24", "variant23", "variant22", "variant21", "variant20", "variant19", "variant18", "variant17", "variant16", "variant15", "variant14", "variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"] | ||
}, | ||
"skinColor": { | ||
"title": "Skin Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08"] | ||
}, | ||
"hairColor": { | ||
"title": "Hair Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10"] | ||
}, | ||
"accessoriesColor": { | ||
"title": "Accessories Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["gold01", "gold02", "gold03", "silver01", "silver02"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["gold01", "gold02", "gold03", "silver01", "silver02"] | ||
}, | ||
"mouthColor": { | ||
"title": "Mouth Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["variant01", "variant02", "variant03", "variant04"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["variant01", "variant02", "variant03", "variant04"] | ||
}, | ||
"clothesColor": { | ||
"title": "Clothes Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["yellow01", "yellow02", "yellow03", "red01", "red02", "red03", "blue01", "blue02", "blue03", "green01", "green02", "green03"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["yellow01", "yellow02", "yellow03", "red01", "red02", "red03", "blue01", "blue02", "blue03", "green01", "green02", "green03"] | ||
}, | ||
"hatColor": { | ||
"title": "Hat Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["pink01", "blue01", "green01", "purple01", "red01", "black01", "gray01"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["pink01", "blue01", "green01", "purple01", "red01", "black01", "gray01"] | ||
}, | ||
"glassesColor": { | ||
"title": "Glasses Color", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [{ | ||
"type": "string", | ||
"enum": ["green01", "blue01", "red01", "black01", "black02", "black03"] | ||
}, { | ||
"type": "string", | ||
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$" | ||
}] | ||
}, | ||
"default": ["green01", "blue01", "red01", "black01", "black02", "black03"] | ||
} | ||
}, | ||
"additionalProperties": false | ||
title: title, | ||
$schema: $schema, | ||
properties: properties, | ||
additionalProperties: additionalProperties | ||
}; | ||
var beard = { | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1l-.059 1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
} | ||
const beard = { | ||
variant04: (components, colors) => "\n<path opacity=\".9\" d=\"M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
variant01: (components, colors) => "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1v1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n") | ||
}; | ||
var eyes = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n"; | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n"; | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"; | ||
} | ||
const eyes = { | ||
variant13: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant12: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n", | ||
variant11: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant10: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant09: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant08: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n", | ||
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n", | ||
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n", | ||
variant01: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n" | ||
}; | ||
var eyebrows = { | ||
'variant13': function variant13(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"); | ||
} | ||
const eyebrows = { | ||
variant13: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant12: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant11: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant10: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant09: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant08: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"), | ||
variant01: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n") | ||
}; | ||
var mouth$1 = { | ||
'surprised03': function surprised03(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised02': function surprised02(components, colors) { | ||
return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy09': function happy09(components, colors) { | ||
return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy08': function happy08(components, colors) { | ||
return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy07': function happy07(components, colors) { | ||
return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy06': function happy06(components, colors) { | ||
return "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'happy05': function happy05(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy04': function happy04(components, colors) { | ||
return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy03': function happy03(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'happy02': function happy02(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"); | ||
}, | ||
'happy01': function happy01(components, colors) { | ||
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'sad08': function sad08(components, colors) { | ||
return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad07': function sad07(components, colors) { | ||
return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad06': function sad06(components, colors) { | ||
return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad05': function sad05(components, colors) { | ||
return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad04': function sad04(components, colors) { | ||
return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad03': function sad03(components, colors) { | ||
return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad02': function sad02(components, colors) { | ||
return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'sad01': function sad01(components, colors) { | ||
return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"); | ||
}, | ||
'surprised01': function surprised01(components, colors) { | ||
return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"; | ||
} | ||
const mouth$1 = { | ||
surprised03: (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
surprised02: (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy09: (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy08: (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy07: (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy06: (components, colors) => "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
happy05: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy04: (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy03: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
happy02: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"), | ||
happy01: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
sad08: (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad07: (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad06: (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad05: (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad04: (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad03: (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad02: (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
sad01: (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"), | ||
surprised01: (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n" | ||
}; | ||
var hair$1 = { | ||
'short11': function short11(components, colors) { | ||
return "\n<path d=\"M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short10': function short10(components, colors) { | ||
return "\n<path d=\"M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short09': function short09(components, colors) { | ||
return "\n<path d=\"M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short08': function short08(components, colors) { | ||
return "\n<path d=\"M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short07': function short07(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short06': function short06(components, colors) { | ||
return "\n<path d=\"M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short05': function short05(components, colors) { | ||
return "\n<path d=\"M11 5V4h1V3H8v1h1v1h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short04': function short04(components, colors) { | ||
return "\n<path d=\"M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short03': function short03(components, colors) { | ||
return "\n<path d=\"M5 5h10V4h-1V3H6v1H5v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short02': function short02(components, colors) { | ||
return "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long15': function long15(components, colors) { | ||
return "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'short01': function short01(components, colors) { | ||
return "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long14': function long14(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long13': function long13(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long12': function long12(components, colors) { | ||
return "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long11': function long11(components, colors) { | ||
return "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long10': function long10(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.104V11h1v2h1v1l-2 .104ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long09': function long09(components, colors) { | ||
return "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long08': function long08(components, colors) { | ||
return "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long07': function long07(components, colors) { | ||
return "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3.016h-1V2h-2v1l-8 .016V2H4v1.016H3V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long06': function long06(components, colors) { | ||
return "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long05': function long05(components, colors) { | ||
return "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H3.998L4 11H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long04': function long04(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long03': function long03(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long02': function long02(components, colors) { | ||
return "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
}, | ||
'long01': function long01(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"); | ||
} | ||
const hair$1 = { | ||
short11: (components, colors) => "\n<path d=\"M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short10: (components, colors) => "\n<path d=\"M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short09: (components, colors) => "\n<path d=\"M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short08: (components, colors) => "\n<path d=\"M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short07: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short06: (components, colors) => "\n<path d=\"M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short05: (components, colors) => "\n<path d=\"M11 5V4h1V3H8v1h1v1h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short04: (components, colors) => "\n<path d=\"M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short03: (components, colors) => "\n<path d=\"M5 5h10V4h-1V3H6v1H5v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short02: (components, colors) => "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long15: (components, colors) => "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
short01: (components, colors) => "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long14: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long13: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long12: (components, colors) => "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long11: (components, colors) => "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long10: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.1V11h1v2h1v1l-2 .1ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long09: (components, colors) => "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long08: (components, colors) => "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long07: (components, colors) => "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3h-1V2h-2v1H6V2H4v1H3v2h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long06: (components, colors) => "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long05: (components, colors) => "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long03: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long02: (components, colors) => "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"), | ||
long01: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n") | ||
}; | ||
var accessories$1 = { | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<g fill=\"".concat(colors.accessories.value, "\">\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\"/>\n</g>\n"); | ||
} | ||
const accessories$1 = { | ||
variant04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n"), | ||
variant01: (components, colors) => "\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n") | ||
}; | ||
var glasses$1 = { | ||
'variant07': function variant07(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const glasses$1 = { | ||
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"), | ||
variant01: (components, colors) => "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
var hat$1 = { | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M4 1v2H2v2h16V3h-2V1H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<path d=\"M4 4H2v1h16V4h-2V1H4v3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<path d=\"M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path d=\"M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z\" fill=\"".concat(colors.hat.value, "\"/>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const hat$1 = { | ||
variant01: (components, colors) => "\n<path d=\"M4 1v2H2v2h16V3h-2V1H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<path d=\"M4 4H2v1h16V4h-2V1H4v3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path d=\"M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant04: (components, colors) => "\n<path d=\"M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z\" fill=\"".concat(colors.hat.value, "\"/>\n"), | ||
variant05: (components, colors) => "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant06: (components, colors) => "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant07: (components, colors) => "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant08: (components, colors) => "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant09: (components, colors) => "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant10: (components, colors) => "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant11: (components, colors) => "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant12: (components, colors) => "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
var clothing = { | ||
'variant25': function variant25(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant24': function variant24(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M9 16v1h2v-1H9Z\" fill=\"#fff\"/>\n"); | ||
}, | ||
'variant23': function variant23(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".3\"/>\n"); | ||
}, | ||
'variant22': function variant22(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant21': function variant21(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant20': function variant20(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h.965L12 15h1v1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant19': function variant19(components, colors) { | ||
return "\n<path d=\"M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M10 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z\" fill=\"#fff\" fill-opacity=\".8\"/>\n"); | ||
}, | ||
'variant18': function variant18(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant17': function variant17(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant16': function variant16(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant15': function variant15(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant14': function variant14(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4.027L8 15h4l.011 1H16v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant13': function variant13(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant12': function variant12(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant11': function variant11(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant10': function variant10(components, colors) { | ||
return "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant09': function variant09(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant08': function variant08(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant07': function variant07(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n"); | ||
}, | ||
'variant06': function variant06(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
}, | ||
'variant05': function variant05(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant04': function variant04(components, colors) { | ||
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"); | ||
}, | ||
'variant03': function variant03(components, colors) { | ||
return "\n<g fill=\"".concat(colors.clothes.value, "\">\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\"/>\n</g>\n"); | ||
}, | ||
'variant02': function variant02(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n"); | ||
}, | ||
'variant01': function variant01(components, colors) { | ||
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"); | ||
} | ||
const clothing = { | ||
variant25: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant24: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M9 16v1h2v-1H9Z\" fill=\"#fff\"/>\n"), | ||
variant23: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".3\"/>\n"), | ||
variant22: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant21: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant20: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant19: (components, colors) => "\n<path d=\"M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M10 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z\" fill=\"#fff\" fill-opacity=\".8\"/>\n"), | ||
variant18: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant17: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant16: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant15: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant14: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant13: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant12: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant11: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant10: (components, colors) => "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant09: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant08: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant07: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n"), | ||
variant06: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"), | ||
variant05: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant03: (components, colors) => "\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"), | ||
variant02: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n"), | ||
variant01: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n") | ||
}; | ||
@@ -642,6 +780,9 @@ | ||
function pickComponent(prng, group) { | ||
var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; | ||
var componentCollection = components; | ||
var key = prng.pick(values); | ||
function pickComponent({ | ||
prng, | ||
group, | ||
values = [] | ||
}) { | ||
const componentCollection = components; | ||
const key = prng.pick(values); | ||
@@ -658,73 +799,135 @@ if (componentCollection[group][key]) { | ||
var 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)' | ||
function getComponents({ | ||
prng, | ||
options | ||
}) { | ||
const beardComponent = pickComponent({ | ||
prng, | ||
group: 'beard', | ||
values: options.beard | ||
}); | ||
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 hairComponent = pickComponent({ | ||
prng, | ||
group: 'hair', | ||
values: options.hair | ||
}); | ||
const accessoriesComponent = pickComponent({ | ||
prng, | ||
group: 'accessories', | ||
values: options.accessories | ||
}); | ||
const glassesComponent = pickComponent({ | ||
prng, | ||
group: 'glasses', | ||
values: options.glasses | ||
}); | ||
const hatComponent = pickComponent({ | ||
prng, | ||
group: 'hat', | ||
values: options.hat | ||
}); | ||
const clothingComponent = pickComponent({ | ||
prng, | ||
group: 'clothing', | ||
values: options.clothing | ||
}); | ||
return { | ||
beard: prng.bool(options.beardProbability) ? beardComponent : undefined, | ||
eyes: eyesComponent, | ||
eyebrows: eyebrowsComponent, | ||
mouth: mouthComponent, | ||
hair: prng.bool(options.hairProbability) ? hairComponent : undefined, | ||
accessories: prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined, | ||
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined, | ||
hat: prng.bool(options.hatProbability) ? hatComponent : undefined, | ||
clothing: clothingComponent | ||
}; | ||
} | ||
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 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 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)' | ||
}; | ||
var accessories = { | ||
'gold01': 'rgba(218, 165, 32, 1)', | ||
'gold02': 'rgba(255, 215, 0, 1)', | ||
'gold03': 'rgba(250, 250, 210, 1)', | ||
'silver01': 'rgba(211, 211, 211, 1)', | ||
'silver02': 'rgba(169, 169, 169, 1)' | ||
const accessories = { | ||
gold01: 'rgba(218, 165, 32, 1)', | ||
gold02: 'rgba(255, 215, 0, 1)', | ||
gold03: 'rgba(250, 250, 210, 1)', | ||
silver01: 'rgba(211, 211, 211, 1)', | ||
silver02: 'rgba(169, 169, 169, 1)' | ||
}; | ||
var 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 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)' | ||
}; | ||
var clothes = { | ||
'yellow01': 'rgba(255, 238, 173, 1)', | ||
'yellow02': 'rgba(255, 217, 105, 1)', | ||
'yellow03': 'rgba(255, 196, 37, 1)', | ||
'red01': 'rgba(255, 111, 105, 1)', | ||
'red02': 'rgba(209, 17, 65, 1)', | ||
'red03': 'rgba(174, 0, 1, 1)', | ||
'blue01': 'rgba(91, 192, 222, 1)', | ||
'blue02': 'rgba(66, 139, 202, 1)', | ||
'blue03': 'rgba(3, 57, 108, 1)', | ||
'green01': 'rgba(136, 216, 176, 1)', | ||
'green02': 'rgba(68, 197, 133, 1)', | ||
'green03': 'rgba(0, 177, 89, 1)' | ||
const clothes = { | ||
yellow01: 'rgba(255, 238, 173, 1)', | ||
yellow02: 'rgba(255, 217, 105, 1)', | ||
yellow03: 'rgba(255, 196, 37, 1)', | ||
red01: 'rgba(255, 111, 105, 1)', | ||
red02: 'rgba(209, 17, 65, 1)', | ||
red03: 'rgba(174, 0, 1, 1)', | ||
blue01: 'rgba(91, 192, 222, 1)', | ||
blue02: 'rgba(66, 139, 202, 1)', | ||
blue03: 'rgba(3, 57, 108, 1)', | ||
green01: 'rgba(136, 216, 176, 1)', | ||
green02: 'rgba(68, 197, 133, 1)', | ||
green03: 'rgba(0, 177, 89, 1)' | ||
}; | ||
var hat = { | ||
'pink01': 'rgba(204, 97, 146, 1)', | ||
'blue01': 'rgba(38, 99, 163, 1)', | ||
'green01': 'rgba(61, 138, 107, 1)', | ||
'purple01': 'rgba(97, 79, 138, 1)', | ||
'red01': 'rgba(166, 33, 22, 1)', | ||
'black01': 'rgba(46, 30, 5, 1)', | ||
'gray01': 'rgba(152, 151, 137, 1)' | ||
const hat = { | ||
pink01: 'rgba(204, 97, 146, 1)', | ||
blue01: 'rgba(38, 99, 163, 1)', | ||
green01: 'rgba(61, 138, 107, 1)', | ||
purple01: 'rgba(97, 79, 138, 1)', | ||
red01: 'rgba(166, 33, 22, 1)', | ||
black01: 'rgba(46, 30, 5, 1)', | ||
gray01: 'rgba(152, 151, 137, 1)' | ||
}; | ||
var 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 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)' | ||
}; | ||
@@ -743,6 +946,10 @@ | ||
function pickColor(prng, group, values) { | ||
function pickColor({ | ||
prng, | ||
group, | ||
values = [] | ||
}) { | ||
var _colorCollection$grou; | ||
var colorCollection = colors; | ||
const colorCollection = colors; | ||
@@ -753,3 +960,3 @@ if (values.length === 0) { | ||
var key = prng.pick(values); | ||
const key = prng.pick(values); | ||
return { | ||
@@ -761,17 +968,85 @@ name: key, | ||
function onPreCreate(_ref) {// Write your modifications here | ||
_ref.prng; | ||
_ref.options; | ||
function getColors({ | ||
prng, | ||
options | ||
}) { | ||
return { | ||
skin: pickColor({ | ||
prng, | ||
group: 'skin', | ||
values: options.skinColor | ||
}), | ||
hair: pickColor({ | ||
prng, | ||
group: 'hair', | ||
values: options.hairColor | ||
}), | ||
accessories: pickColor({ | ||
prng, | ||
group: 'accessories', | ||
values: options.accessoriesColor | ||
}), | ||
mouth: pickColor({ | ||
prng, | ||
group: 'mouth', | ||
values: options.mouthColor | ||
}), | ||
clothes: pickColor({ | ||
prng, | ||
group: 'clothes', | ||
values: options.clothesColor | ||
}), | ||
hat: pickColor({ | ||
prng, | ||
group: 'hat', | ||
values: options.hatColor | ||
}), | ||
glasses: pickColor({ | ||
prng, | ||
group: 'glasses', | ||
values: options.glassesColor | ||
}) | ||
}; | ||
} | ||
function onPostCreate(_ref) {// Write your modifications here | ||
const dimensions = { | ||
beard: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
eyes: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
eyebrows: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
mouth: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
hair: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
accessories: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
glasses: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
hat: { | ||
width: 20, | ||
height: 20 | ||
}, | ||
clothing: { | ||
width: 20, | ||
height: 20 | ||
} | ||
}; | ||
_ref.prng; | ||
_ref.options; | ||
_ref.components; | ||
_ref.colors; | ||
} | ||
var style = { | ||
const style = { | ||
meta: { | ||
@@ -786,45 +1061,14 @@ title: 'Pixel Art', | ||
schema: schema$1, | ||
create: function create(_ref) { | ||
var _options$skinColor, _options$hairColor, _options$accessoriesC, _options$mouthColor, _options$clothesColor, _options$hatColor, _options$glassesColor, _components$beard$val, _components$beard, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$hair$valu, _components$hair, _components$accessori, _components$accessori2, _components$glasses$v, _components$glasses, _components$hat$value, _components$hat, _components$clothing$, _components$clothing; | ||
var prng = _ref.prng, | ||
options = _ref.options; | ||
onPreCreate({ | ||
prng: prng, | ||
options: options | ||
create: ({ | ||
prng, | ||
options | ||
}) => { | ||
var _components$beard$val, _components$beard, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$hair$valu, _components$hair, _components$accessori, _components$accessori2, _components$glasses$v, _components$glasses, _components$hat$value, _components$hat, _components$clothing$, _components$clothing; | ||
const components = getComponents({ | ||
prng, | ||
options | ||
}); | ||
var beardComponent = pickComponent(prng, 'beard', options.beard); | ||
var eyesComponent = pickComponent(prng, 'eyes', options.eyes); | ||
var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows); | ||
var mouthComponent = pickComponent(prng, 'mouth', options.mouth); | ||
var hairComponent = pickComponent(prng, 'hair', options.hair); | ||
var accessoriesComponent = pickComponent(prng, 'accessories', options.accessories); | ||
var glassesComponent = pickComponent(prng, 'glasses', options.glasses); | ||
var hatComponent = pickComponent(prng, 'hat', options.hat); | ||
var clothingComponent = pickComponent(prng, 'clothing', options.clothing); | ||
var components = { | ||
'beard': prng.bool(options.beardProbability) ? beardComponent : undefined, | ||
'eyes': eyesComponent, | ||
'eyebrows': eyebrowsComponent, | ||
'mouth': mouthComponent, | ||
'hair': prng.bool(options.hairProbability) ? hairComponent : undefined, | ||
'accessories': prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined, | ||
'glasses': prng.bool(options.glassesProbability) ? glassesComponent : undefined, | ||
'hat': prng.bool(options.hatProbability) ? hatComponent : undefined, | ||
'clothing': clothingComponent | ||
}; | ||
var colors = { | ||
'skin': pickColor(prng, 'skin', (_options$skinColor = options.skinColor) !== null && _options$skinColor !== void 0 ? _options$skinColor : []), | ||
'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []), | ||
'accessories': pickColor(prng, 'accessories', (_options$accessoriesC = options.accessoriesColor) !== null && _options$accessoriesC !== void 0 ? _options$accessoriesC : []), | ||
'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []), | ||
'clothes': pickColor(prng, 'clothes', (_options$clothesColor = options.clothesColor) !== null && _options$clothesColor !== void 0 ? _options$clothesColor : []), | ||
'hat': pickColor(prng, 'hat', (_options$hatColor = options.hatColor) !== null && _options$hatColor !== void 0 ? _options$hatColor : []), | ||
'glasses': pickColor(prng, 'glasses', (_options$glassesColor = options.glassesColor) !== null && _options$glassesColor !== void 0 ? _options$glassesColor : []) | ||
}; | ||
onPostCreate({ | ||
prng: prng, | ||
options: options, | ||
components: components, | ||
colors: colors | ||
const colors = getColors({ | ||
prng, | ||
options | ||
}); | ||
@@ -834,6 +1078,53 @@ return { | ||
viewBox: '0 0 20 20', | ||
fill: 'none' | ||
fill: 'none', | ||
'shape-rendering': 'auto' | ||
}, | ||
body: "\n<path d=\"M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n<g>\n").concat((_components$beard$val = (_components$beard = components.beard) === null || _components$beard === void 0 ? void 0 : _components$beard.value(components, colors)) !== null && _components$beard$val !== void 0 ? _components$beard$val : '', "\n</g>\n<g>\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n</g>\n<g>\n").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$ : '', "\n</g>\n<g>\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n</g>\n<g>\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n</g>\n<g>\n").concat((_components$accessori = (_components$accessori2 = components.accessories) === null || _components$accessori2 === void 0 ? void 0 : _components$accessori2.value(components, colors)) !== null && _components$accessori !== void 0 ? _components$accessori : '', "\n</g>\n<g>\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n</g>\n<g>\n").concat((_components$hat$value = (_components$hat = components.hat) === null || _components$hat === void 0 ? void 0 : _components$hat.value(components, colors)) !== null && _components$hat$value !== void 0 ? _components$hat$value : '', "\n</g>\n<g>\n").concat((_components$clothing$ = (_components$clothing = components.clothing) === null || _components$clothing === void 0 ? void 0 : _components$clothing.value(components, colors)) !== null && _components$clothing$ !== void 0 ? _components$clothing$ : '', "\n</g>\n") | ||
body: "\n<path d=\"M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n").concat((_components$beard$val = (_components$beard = components.beard) === null || _components$beard === void 0 ? void 0 : _components$beard.value(components, colors)) !== null && _components$beard$val !== void 0 ? _components$beard$val : '', "\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n").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$ : '', "\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n").concat((_components$accessori = (_components$accessori2 = components.accessories) === null || _components$accessori2 === void 0 ? void 0 : _components$accessori2.value(components, colors)) !== null && _components$accessori !== void 0 ? _components$accessori : '', "\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n").concat((_components$hat$value = (_components$hat = components.hat) === null || _components$hat === void 0 ? void 0 : _components$hat.value(components, colors)) !== null && _components$hat$value !== void 0 ? _components$hat$value : '', "\n").concat((_components$clothing$ = (_components$clothing = components.clothing) === null || _components$clothing === void 0 ? void 0 : _components$clothing.value(components, colors)) !== null && _components$clothing$ !== void 0 ? _components$clothing$ : '', "\n") | ||
}; | ||
}, | ||
preview: ({ | ||
prng, | ||
options, | ||
property | ||
}) => { | ||
const componentGroup = property.toString(); | ||
const colorGroup = property.toString().replace(/Color$/, ''); | ||
const components = getComponents({ | ||
prng, | ||
options | ||
}); | ||
const colors = getColors({ | ||
prng, | ||
options | ||
}); | ||
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 : '' | ||
}; | ||
} | ||
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, "\" />") | ||
}; | ||
} | ||
return undefined; | ||
} | ||
@@ -847,16 +1138,17 @@ }; | ||
* Copyright (c) 2021 Florian Körner | ||
* Copyright (c) 2021 Plastic Jam | ||
* | ||
* Design "8biticon" by Plastic Jam licensed under MIT. | ||
* Design "Pixel Art" by Plastic Jam licensed under MIT. | ||
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE | ||
*/ | ||
var create = style.create, | ||
meta = style.meta, | ||
schema = style.schema; | ||
/** @deprecated will be removed in Version 5.0 */ | ||
let { | ||
create, | ||
preview, | ||
meta, | ||
schema | ||
} = style; | ||
var index = avatars.utils.style.createLegacyWrapper(style); | ||
exports.create = create; | ||
exports['default'] = index; | ||
exports.meta = meta; | ||
exports.preview = preview; | ||
exports.schema = schema; |
@@ -1,2 +0,2 @@ | ||
!function(v,h){"object"==typeof exports&&"undefined"!=typeof module?h(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],h):h(((v="undefined"!=typeof globalThis?globalThis:v||self).DiceBear=v.DiceBear||{},v.DiceBear.PixelArt={}),v.DiceBear)}(this,(function(v,h){"use strict";var n=Object.freeze({__proto__:null,beard:{variant04:function(v,h){return'\n<path opacity=".9" d="M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z" fill="'.concat(h.hair.value,'"/>\n')},variant03:function(v,h){return'\n<path opacity=".9" d="M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z" fill="'.concat(h.hair.value,'"/>\n')},variant02:function(v,h){return'\n<path opacity=".9" d="M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z" fill="'.concat(h.hair.value,'"/>\n')},variant01:function(v,h){return'\n<path opacity=".9" d="M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1l-.059 1H7v-1H6v-1H5V8H4Z" fill="'.concat(h.hair.value,'"/>\n')}},eyes:{variant13:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant12:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/>\n</g>\n'},variant11:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant10:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant09:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant08:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant07:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/>\n<path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/>\n<path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n'},variant06:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant05:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n</g>\n'},variant04:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n'},variant03:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/>\n<path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/>\n<path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/>\n</g>\n'},variant02:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n<path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/>\n</g>\n'},variant01:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/>\n<path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/>\n<path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n'}},eyebrows:{variant13:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="'.concat(h.hair.value,'"/>\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant12:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant11:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant10:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant09:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant08:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant07:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant06:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant05:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant04:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant03:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant02:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant01:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/>\n</g>\n')}},mouth:{surprised03:function(v,h){return'\n<path d="M9 12v2h2v-2H9Z" fill="'.concat(h.mouth.value,'"/>\n')},surprised02:function(v,h){return'\n<path d="M9 13v1h1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n')},happy09:function(v,h){return'\n<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="'.concat(h.mouth.value,'"/>\n')},happy08:function(v,h){return'\n<path d="M10 12v1H9v1h2v-2h-1Z" fill="'.concat(h.mouth.value,'"/>\n')},happy07:function(v,h){return'\n<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="'.concat(h.mouth.value,'"/>\n')},happy06:function(v,h){return'\n<path d="M9 12v2h2v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>\n')},happy05:function(v,h){return'\n<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n')},happy04:function(v,h){return'\n<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="'.concat(h.mouth.value,'"/>\n')},happy03:function(v,h){return'\n<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n')},happy02:function(v,h){return'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff"/>\n')},happy01:function(v,h){return'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>\n')},sad08:function(v,h){return'\n<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n')},sad07:function(v,h){return'\n<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="'.concat(h.mouth.value,'"/>\n')},sad06:function(v,h){return'\n<path d="M8 12h3v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n')},sad05:function(v,h){return'\n<path d="M8 12h4v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n')},sad04:function(v,h){return'\n<path d="M9 12h2v1H9v-1Z" fill="'.concat(h.mouth.value,'"/>\n')},sad03:function(v,h){return'\n<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n')},sad02:function(v,h){return'\n<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n')},sad01:function(v,h){return'\n<path d="M10 12v1h1v1h1v-2h-2Z" fill="'.concat(h.mouth.value,'"/>\n')},surprised01:function(v,h){return'\n<path d="M8 12v2h4v-2H8Z" fill="#fff"/>\n'}},hair:{short11:function(v,h){return'\n<path d="M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z" fill="'.concat(h.hair.value,'"/>\n')},short10:function(v,h){return'\n<path d="M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z" fill="'.concat(h.hair.value,'"/>\n')},short09:function(v,h){return'\n<path d="M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z" fill="'.concat(h.hair.value,'"/>\n')},short08:function(v,h){return'\n<path d="M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n')},short07:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z" fill="'.concat(h.hair.value,'"/>\n')},short06:function(v,h){return'\n<path d="M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n')},short05:function(v,h){return'\n<path d="M11 5V4h1V3H8v1h1v1h2Z" fill="'.concat(h.hair.value,'"/>\n')},short04:function(v,h){return'\n<path d="M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z" fill="'.concat(h.hair.value,'"/>\n')},short03:function(v,h){return'\n<path d="M5 5h10V4h-1V3H6v1H5v1Z" fill="'.concat(h.hair.value,'"/>\n')},short02:function(v,h){return'\n<path d="M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z" fill="'.concat(h.hair.value,'"/>\n')},long15:function(v,h){return'\n<path d="M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z" fill="'.concat(h.hair.value,'"/>\n')},short01:function(v,h){return'\n<path d="M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z" fill="'.concat(h.hair.value,'"/>\n')},long14:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z" fill="'.concat(h.hair.value,'"/>\n')},long13:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z" fill="'.concat(h.hair.value,'"/>\n')},long12:function(v,h){return'\n<path d="M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z" fill="'.concat(h.hair.value,'"/>\n')},long11:function(v,h){return'\n<path d="M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z" fill="'.concat(h.hair.value,'"/>\n')},long10:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 14.104V11h1v2h1v1l-2 .104ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n')},long09:function(v,h){return'\n<path d="M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z" fill="'.concat(h.hair.value,'"/>\n')},long08:function(v,h){return'\n<path d="M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z" fill="'.concat(h.hair.value,'"/>\n')},long07:function(v,h){return'\n<path d="M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3.016h-1V2h-2v1l-8 .016V2H4v1.016H3V5h1Z" fill="'.concat(h.hair.value,'"/>\n')},long06:function(v,h){return'\n<path d="M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z" fill="'.concat(h.hair.value,'"/>\n')},long05:function(v,h){return'\n<path d="M2 17h2v-1h4v-1H6v-1H5v-1H3.998L4 11H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z" fill="'.concat(h.hair.value,'"/>\n')},long04:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z" fill="'.concat(h.hair.value,'"/>\n')},long03:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n')},long02:function(v,h){return'\n<path d="M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z" fill="'.concat(h.hair.value,'"/>\n')},long01:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z" fill="'.concat(h.hair.value,'"/>\n')}},accessories:{variant04:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z" fill="'.concat(h.accessories.value,'"/>\n')},variant03:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z" fill="'.concat(h.accessories.value,'"/>\n')},variant02:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z" fill="'.concat(h.accessories.value,'"/>\n<path d="M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z" fill="#fff" fill-opacity=".4"/>\n</g>\n')},variant01:function(v,h){return'\n<g fill="'.concat(h.accessories.value,'">\n<path d="M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z"/>\n</g>\n')}},glasses:{variant07:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 10V7h3v3h-3Zm-1-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant06:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant05:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant04:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant03:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/>\n<path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant02:function(v,h){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="'.concat(h.glasses.value,'"/>\n<path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/>\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant01:function(v,h){return'\n<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="'.concat(h.glasses.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>\n')}},hat:{variant01:function(v,h){return'\n<path d="M4 1v2H2v2h16V3h-2V1H4Z" fill="'.concat(h.hat.value,'"/>\n')},variant02:function(v,h){return'\n<path d="M4 4H2v1h16V4h-2V1H4v3Z" fill="'.concat(h.hat.value,'"/>\n')},variant03:function(v,h){return'\n<path d="M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z" fill="'.concat(h.hat.value,'"/>\n')},variant04:function(v,h){return'\n<path d="M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z" fill="'.concat(h.hat.value,'"/>\n')},variant05:function(v,h){return'\n<path d="M3 5V3h2V1h10v2h2v2H3Z" fill="'.concat(h.hat.value,'"/>\n<path d="M4 1v2h12V1H4Z" fill="#fff" fill-opacity=".2"/>\n')},variant06:function(v,h){return'\n<path d="M3 5V4h2V1h10v3h2v1H3Z" fill="'.concat(h.hat.value,'"/>\n<path d="M5 1v3h10V1H5Z" fill="#fff" fill-opacity=".2"/>\n')},variant07:function(v,h){return'\n<path d="M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z" fill="'.concat(h.hat.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4 3v1h12V3H4ZM3 5v1h14V5H3Z" fill="#fff" fill-opacity=".2"/>\n')},variant08:function(v,h){return'\n<path d="M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z" fill="'.concat(h.hat.value,'"/>\n<path d="M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z" fill="#fff" fill-opacity=".2"/>\n')},variant09:function(v,h){return'\n<path d="M5 1v2H3v2h14V3h-2V1H5Z" fill="'.concat(h.hat.value,'"/>\n<path d="M14 3V0h-1v3h1Z" fill="#fff" fill-opacity=".2"/>\n')},variant10:function(v,h){return'\n<path d="M4 0v5H2v1h16V5h-2V0H4Z" fill="'.concat(h.hat.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z" fill="#fff" fill-opacity=".2"/>\n')},variant11:function(v,h){return'\n<path d="M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z" fill="'.concat(h.hat.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z" fill="#fff" fill-opacity=".2"/>\n')},variant12:function(v,h){return'\n<path d="M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z" fill="'.concat(h.hat.value,'"/>\n<path d="M14 4h-3v1h3V4Z" fill="#fff" fill-opacity=".2"/>\n')}},clothing:{variant25:function(v,h){return'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z" fill="#fff" fill-opacity=".2"/>\n')},variant24:function(v,h){return'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z" fill="#fff" fill-opacity=".2"/>\n<path d="M9 16v1h2v-1H9Z" fill="#fff"/>\n')},variant23:function(v,h){return'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z" fill="#fff" fill-opacity=".3"/>\n')},variant22:function(v,h){return'\n<path d="M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z" fill="#fff" fill-opacity=".2"/>\n')},variant21:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z" fill="#fff" fill-opacity=".2"/>\n')},variant20:function(v,h){return'\n<path d="M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h.965L12 15h1v1h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z" fill="#fff" fill-opacity=".2"/>\n')},variant19:function(v,h){return'\n<path d="M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M10 20v-1h3v1h-3Z" fill="#fff" fill-opacity=".5"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z" fill="#fff" fill-opacity=".8"/>\n')},variant18:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z" fill="#fff" fill-opacity=".2"/>\n')},variant17:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z" fill="#fff" fill-opacity=".2"/>\n')},variant16:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z" fill="#fff" fill-opacity=".2"/>\n')},variant15:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n')},variant14:function(v,h){return'\n<path d="M3 20v-3h1v-1h4.027L8 15h4l.011 1H16v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="#fff" fill-opacity=".2"/>\n<path d="M12 20v-1h3v1h-3Z" fill="#fff" fill-opacity=".2"/>\n')},variant13:function(v,h){return'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n')},variant12:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z" fill="'.concat(h.clothes.value,'"/>\n')},variant11:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z" fill="'.concat(h.clothes.value,'"/>\n')},variant10:function(v,h){return'\n<path d="M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z" fill="'.concat(h.clothes.value,'"/>\n')},variant09:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z" fill="#fff" fill-opacity=".2"/>\n')},variant08:function(v,h){return'\n<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z" fill="#fff" fill-opacity=".4"/>\n<path d="M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z" fill="#fff" fill-opacity=".2"/>\n')},variant07:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z" fill="#fff" fill-opacity=".4"/>\n')},variant06:function(v,h){return'\n<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z" fill="#fff" fill-opacity=".4"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z" fill="#fff" fill-opacity=".2"/>\n')},variant05:function(v,h){return'\n<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n')},variant04:function(v,h){return'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z" fill="'.concat(h.clothes.value,'"/>\n')},variant03:function(v,h){return'\n<g fill="'.concat(h.clothes.value,'">\n<path d="M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z"/>\n</g>\n')},variant02:function(v,h){return'\n<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z" fill="#fff" fill-opacity=".4"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z" fill="#fff" fill-opacity=".2"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z" fill="#fff" fill-opacity=".1"/>\n')},variant01:function(v,h){return'\n<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z" fill="#fff" fill-opacity=".2"/>\n')}}});function a(v,h){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t=n,l=v.pick(a);return t[h][l]?{name:l,value:t[h][l]}:void 0}var t=Object.freeze({__proto__:null,skin:{variant01:"rgba(255, 219, 172, 1)",variant02:"rgba(245, 207, 160, 1)",variant03:"rgba(234, 195, 147, 1)",variant04:"rgba(224, 182, 135, 1)",variant05:"rgba(203, 158, 110, 1)",variant06:"rgba(182, 134, 85, 1)",variant07:"rgba(162, 109, 61, 1)",variant08:"rgba(141, 85, 36, 1)"},hair:{variant01:"rgba(202, 177, 136, 1)",variant02:"rgba(167, 137, 97, 1)",variant03:"rgba(131, 98, 59, 1)",variant04:"rgba(96, 58, 20, 1)",variant05:"rgba(96, 48, 21, 1)",variant06:"rgba(97, 38, 22, 1)",variant07:"rgba(97, 28, 23, 1)",variant08:"rgba(78, 26, 19, 1)",variant09:"rgba(59, 23, 14, 1)",variant10:"rgba(40, 21, 10, 1)"},accessories:{gold01:"rgba(218, 165, 32, 1)",gold02:"rgba(255, 215, 0, 1)",gold03:"rgba(250, 250, 210, 1)",silver01:"rgba(211, 211, 211, 1)",silver02:"rgba(169, 169, 169, 1)"},mouth:{variant01:"rgba(210, 153, 133, 1)",variant02:"rgba(201, 130, 118, 1)",variant03:"rgba(227, 93, 106, 1)",variant04:"rgba(222, 15, 13, 1)"},clothes:{yellow01:"rgba(255, 238, 173, 1)",yellow02:"rgba(255, 217, 105, 1)",yellow03:"rgba(255, 196, 37, 1)",red01:"rgba(255, 111, 105, 1)",red02:"rgba(209, 17, 65, 1)",red03:"rgba(174, 0, 1, 1)",blue01:"rgba(91, 192, 222, 1)",blue02:"rgba(66, 139, 202, 1)",blue03:"rgba(3, 57, 108, 1)",green01:"rgba(136, 216, 176, 1)",green02:"rgba(68, 197, 133, 1)",green03:"rgba(0, 177, 89, 1)"},hat:{pink01:"rgba(204, 97, 146, 1)",blue01:"rgba(38, 99, 163, 1)",green01:"rgba(61, 138, 107, 1)",purple01:"rgba(97, 79, 138, 1)",red01:"rgba(166, 33, 22, 1)",black01:"rgba(46, 30, 5, 1)",gray01:"rgba(152, 151, 137, 1)"},glasses:{green01:"rgba(95, 112, 92, 1)",blue01:"rgba(67, 103, 125, 1)",red01:"rgba(160, 75, 93, 1)",black01:"rgba(75, 75, 75, 1)",black02:"rgba(50, 50, 50, 1)",black03:"rgba(25, 25, 25, 1)"}});function l(v,h,n){var a,l=t;0===n.length&&n.push("transparent");var i=v.pick(n);return{name:i,value:null!==(a=l[h][i])&&void 0!==a?a:i}}var i={meta:{title:"Pixel Art",creator:"Plastic Jam",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{beard:{title:"Beard",type:"array",items:{type:"string",enum:["variant04","variant03","variant02","variant01"]},default:["variant04","variant03","variant02","variant01"]},beardProbability:{title:"Beard Probability",default:10,type:"integer",minimum:0,maximum:100},eyes:{title:"Eyes",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyebrows:{title:"Eyebrows",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},mouth:{title:"Mouth",type:"array",items:{type:"string",enum:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},default:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},hair:{title:"Hair",type:"array",items:{type:"string",enum:["short11","short10","short09","short08","short07","short06","short05","short04","short03","short02","long15","short01","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01"]},default:["short11","short10","short09","short08","short07","short06","short05","short04","short03","short02","long15","short01","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01"]},hairProbability:{title:"Hair Probability",default:100,type:"integer",minimum:0,maximum:100},accessories:{title:"Accessories",type:"array",items:{type:"string",enum:["variant04","variant03","variant02","variant01"]},default:["variant04","variant03","variant02","variant01"]},accessoriesProbability:{title:"Accessories Probability",default:10,type:"integer",minimum:0,maximum:100},glasses:{title:"Glasses",type:"array",items:{type:"string",enum:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},glassesProbability:{title:"Glasses Probability",default:20,type:"integer",minimum:0,maximum:100},hat:{title:"Hat",type:"array",items:{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10","variant11","variant12"]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10","variant11","variant12"]},hatProbability:{title:"Hat Probability",default:10,type:"integer",minimum:0,maximum:100},clothing:{title:"Clothing",type:"array",items:{type:"string",enum:["variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},skinColor:{title:"Skin Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]},hairColor:{title:"Hair Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},accessoriesColor:{title:"Accessories Color",type:"array",items:{anyOf:[{type:"string",enum:["gold01","gold02","gold03","silver01","silver02"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["gold01","gold02","gold03","silver01","silver02"]},mouthColor:{title:"Mouth Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04"]},clothesColor:{title:"Clothes Color",type:"array",items:{anyOf:[{type:"string",enum:["yellow01","yellow02","yellow03","red01","red02","red03","blue01","blue02","blue03","green01","green02","green03"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["yellow01","yellow02","yellow03","red01","red02","red03","blue01","blue02","blue03","green01","green02","green03"]},hatColor:{title:"Hat Color",type:"array",items:{anyOf:[{type:"string",enum:["pink01","blue01","green01","purple01","red01","black01","gray01"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["pink01","blue01","green01","purple01","red01","black01","gray01"]},glassesColor:{title:"Glasses Color",type:"array",items:{anyOf:[{type:"string",enum:["green01","blue01","red01","black01","black02","black03"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["green01","blue01","red01","black01","black02","black03"]}},additionalProperties:!1},create:function(v){var h,n,t,i,r,e,o,f,u,c,d,p,V,H,Z,s,g,m,M,y,b,A,F,k,C,P=v.prng,w=v.options;!function(v){v.prng,v.options}({prng:P,options:w});var x=a(P,"beard",w.beard),O=a(P,"eyes",w.eyes),_=a(P,"eyebrows",w.eyebrows),$=a(P,"mouth",w.mouth),B=a(P,"hair",w.hair),j=a(P,"accessories",w.accessories),L=a(P,"glasses",w.glasses),D=a(P,"hat",w.hat),E=a(P,"clothing",w.clothing),G={beard:P.bool(w.beardProbability)?x:void 0,eyes:O,eyebrows:_,mouth:$,hair:P.bool(w.hairProbability)?B:void 0,accessories:P.bool(w.accessoriesProbability)?j:void 0,glasses:P.bool(w.glassesProbability)?L:void 0,hat:P.bool(w.hatProbability)?D:void 0,clothing:E},T={skin:l(P,"skin",null!==(h=w.skinColor)&&void 0!==h?h:[]),hair:l(P,"hair",null!==(n=w.hairColor)&&void 0!==n?n:[]),accessories:l(P,"accessories",null!==(t=w.accessoriesColor)&&void 0!==t?t:[]),mouth:l(P,"mouth",null!==(i=w.mouthColor)&&void 0!==i?i:[]),clothes:l(P,"clothes",null!==(r=w.clothesColor)&&void 0!==r?r:[]),hat:l(P,"hat",null!==(e=w.hatColor)&&void 0!==e?e:[]),glasses:l(P,"glasses",null!==(o=w.glassesColor)&&void 0!==o?o:[])};return function(v){v.prng,v.options,v.components,v.colors}({prng:P,options:w,components:G,colors:T}),{attributes:{viewBox:"0 0 20 20",fill:"none"},body:'\n<path d="M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z" fill="'.concat(T.skin.value,'"/>\n<path d="M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z" fill="#fff" fill-opacity=".1"/>\n<g>\n').concat(null!==(f=null===(u=G.beard)||void 0===u?void 0:u.value(G,T))&&void 0!==f?f:"","\n</g>\n<g>\n").concat(null!==(c=null===(d=G.eyes)||void 0===d?void 0:d.value(G,T))&&void 0!==c?c:"","\n</g>\n<g>\n").concat(null!==(p=null===(V=G.eyebrows)||void 0===V?void 0:V.value(G,T))&&void 0!==p?p:"","\n</g>\n<g>\n").concat(null!==(H=null===(Z=G.mouth)||void 0===Z?void 0:Z.value(G,T))&&void 0!==H?H:"","\n</g>\n<g>\n").concat(null!==(s=null===(g=G.hair)||void 0===g?void 0:g.value(G,T))&&void 0!==s?s:"","\n</g>\n<g>\n").concat(null!==(m=null===(M=G.accessories)||void 0===M?void 0:M.value(G,T))&&void 0!==m?m:"","\n</g>\n<g>\n").concat(null!==(y=null===(b=G.glasses)||void 0===b?void 0:b.value(G,T))&&void 0!==y?y:"","\n</g>\n<g>\n").concat(null!==(A=null===(F=G.hat)||void 0===F?void 0:F.value(G,T))&&void 0!==A?A:"","\n</g>\n<g>\n").concat(null!==(k=null===(C=G.clothing)||void 0===C?void 0:C.value(G,T))&&void 0!==k?k:"","\n</g>\n")}}},r=i.create,e=i.meta,o=i.schema,f=h.utils.style.createLegacyWrapper(i); | ||
!function(v,h){"object"==typeof exports&&"undefined"!=typeof module?h(exports):"function"==typeof define&&define.amd?define(["exports"],h):h(((v="undefined"!=typeof globalThis?globalThis:v||self).DiceBear=v.DiceBear||{},v.DiceBear.PixelArt={}))}(this,(function(v){"use strict";var h={title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{accessories:{type:"array",items:{type:"string",enum:["variant04","variant03","variant02","variant01"]},default:["variant04","variant03","variant02","variant01"]},accessoriesColor:{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:["gold01","gold02","gold03","silver01","silver02"]}]},default:["gold01","gold02","gold03","silver01","silver02"]},accessoriesProbability:{type:"integer",minimum:0,maximum:100,default:10},beard:{type:"array",items:{type:"string",enum:["variant04","variant03","variant02","variant01"]},default:["variant04","variant03","variant02","variant01"]},beardProbability:{type:"integer",minimum:0,maximum:100,default:10},clothesColor:{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:["yellow01","yellow02","yellow03","red01","red02","red03","blue01","blue02","blue03","green01","green02","green03"]}]},default:["yellow01","yellow02","yellow03","red01","red02","red03","blue01","blue02","blue03","green01","green02","green03"]},clothing:{type:"array",items:{type:"string",enum:["variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant25","variant24","variant23","variant22","variant21","variant20","variant19","variant18","variant17","variant16","variant15","variant14","variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},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},hair:{type:"array",items:{type:"string",enum:["short11","short10","short09","short08","short07","short06","short05","short04","short03","short02","long15","short01","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01"]},default:["short11","short10","short09","short08","short07","short06","short05","short04","short03","short02","long15","short01","long14","long13","long12","long11","long10","long09","long08","long07","long06","long05","long04","long03","long02","long01"]},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"]},hairProbability:{type:"integer",minimum:0,maximum:100,default:100},hat:{type:"array",items:{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10","variant11","variant12"]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10","variant11","variant12"]},hatColor:{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:["pink01","blue01","green01","purple01","red01","black01","gray01"]}]},default:["pink01","blue01","green01","purple01","red01","black01","gray01"]},hatProbability:{type:"integer",minimum:0,maximum:100,default:10},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"]},skinColor:{type:"array",items:{anyOf:[{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"},{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]}},additionalProperties:!1};var a=Object.freeze({__proto__:null,beard:{variant04:(v,h)=>'\n<path opacity=".9" d="M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z" fill="'.concat(h.hair.value,'"/>\n'),variant03:(v,h)=>'\n<path opacity=".9" d="M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z" fill="'.concat(h.hair.value,'"/>\n'),variant02:(v,h)=>'\n<path opacity=".9" d="M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z" fill="'.concat(h.hair.value,'"/>\n'),variant01:(v,h)=>'\n<path opacity=".9" d="M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1v1H7v-1H6v-1H5V8H4Z" fill="'.concat(h.hair.value,'"/>\n')},eyes:{variant13:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant12:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/>\n</g>\n',variant11:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant10:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant09:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant08:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant07:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/>\n<path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/>\n<path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n',variant06:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant05:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n</g>\n',variant04:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/>\n</g>\n',variant03:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/>\n<path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/>\n<path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/>\n</g>\n',variant02:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/>\n<path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/>\n</g>\n',variant01:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/>\n<path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/>\n<path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/>\n</g>\n'},eyebrows:{variant13:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="'.concat(h.hair.value,'"/>\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant12:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant11:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant10:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant09:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant08:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant07:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant06:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant05:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant04:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant03:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant02:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant01:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},mouth:{surprised03:(v,h)=>'\n<path d="M9 12v2h2v-2H9Z" fill="'.concat(h.mouth.value,'"/>\n'),surprised02:(v,h)=>'\n<path d="M9 13v1h1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),happy09:(v,h)=>'\n<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="'.concat(h.mouth.value,'"/>\n'),happy08:(v,h)=>'\n<path d="M10 12v1H9v1h2v-2h-1Z" fill="'.concat(h.mouth.value,'"/>\n'),happy07:(v,h)=>'\n<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy06:(v,h)=>'\n<path d="M9 12v2h2v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>\n'),happy05:(v,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy04:(v,h)=>'\n<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),happy03:(v,h)=>'\n<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy02:(v,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff"/>\n'),happy01:(v,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>\n'),sad08:(v,h)=>'\n<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),sad07:(v,h)=>'\n<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="'.concat(h.mouth.value,'"/>\n'),sad06:(v,h)=>'\n<path d="M8 12h3v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad05:(v,h)=>'\n<path d="M8 12h4v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad04:(v,h)=>'\n<path d="M9 12h2v1H9v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad03:(v,h)=>'\n<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),sad02:(v,h)=>'\n<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),sad01:(v,h)=>'\n<path d="M10 12v1h1v1h1v-2h-2Z" fill="'.concat(h.mouth.value,'"/>\n'),surprised01:(v,h)=>'\n<path d="M8 12v2h4v-2H8Z" fill="#fff"/>\n'},hair:{short11:(v,h)=>'\n<path d="M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z" fill="'.concat(h.hair.value,'"/>\n'),short10:(v,h)=>'\n<path d="M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z" fill="'.concat(h.hair.value,'"/>\n'),short09:(v,h)=>'\n<path d="M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z" fill="'.concat(h.hair.value,'"/>\n'),short08:(v,h)=>'\n<path d="M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n'),short07:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z" fill="'.concat(h.hair.value,'"/>\n'),short06:(v,h)=>'\n<path d="M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n'),short05:(v,h)=>'\n<path d="M11 5V4h1V3H8v1h1v1h2Z" fill="'.concat(h.hair.value,'"/>\n'),short04:(v,h)=>'\n<path d="M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z" fill="'.concat(h.hair.value,'"/>\n'),short03:(v,h)=>'\n<path d="M5 5h10V4h-1V3H6v1H5v1Z" fill="'.concat(h.hair.value,'"/>\n'),short02:(v,h)=>'\n<path d="M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z" fill="'.concat(h.hair.value,'"/>\n'),long15:(v,h)=>'\n<path d="M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z" fill="'.concat(h.hair.value,'"/>\n'),short01:(v,h)=>'\n<path d="M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z" fill="'.concat(h.hair.value,'"/>\n'),long14:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z" fill="'.concat(h.hair.value,'"/>\n'),long13:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z" fill="'.concat(h.hair.value,'"/>\n'),long12:(v,h)=>'\n<path d="M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z" fill="'.concat(h.hair.value,'"/>\n'),long11:(v,h)=>'\n<path d="M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z" fill="'.concat(h.hair.value,'"/>\n'),long10:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 14.1V11h1v2h1v1l-2 .1ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n'),long09:(v,h)=>'\n<path d="M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z" fill="'.concat(h.hair.value,'"/>\n'),long08:(v,h)=>'\n<path d="M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z" fill="'.concat(h.hair.value,'"/>\n'),long07:(v,h)=>'\n<path d="M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3h-1V2h-2v1H6V2H4v1H3v2h1Z" fill="'.concat(h.hair.value,'"/>\n'),long06:(v,h)=>'\n<path d="M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z" fill="'.concat(h.hair.value,'"/>\n'),long05:(v,h)=>'\n<path d="M2 17h2v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z" fill="'.concat(h.hair.value,'"/>\n'),long04:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z" fill="'.concat(h.hair.value,'"/>\n'),long03:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="'.concat(h.hair.value,'"/>\n'),long02:(v,h)=>'\n<path d="M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z" fill="'.concat(h.hair.value,'"/>\n'),long01:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z" fill="'.concat(h.hair.value,'"/>\n')},accessories:{variant04:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z" fill="'.concat(h.accessories.value,'"/>\n'),variant03:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z" fill="'.concat(h.accessories.value,'"/>\n'),variant02:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z" fill="'.concat(h.accessories.value,'"/>\n<path d="M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z" fill="#fff" fill-opacity=".4"/>\n</g>\n'),variant01:(v,h)=>'\n<path d="M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z" fill="'.concat(h.accessories.value,'"/>\n')},glasses:{variant07:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant06:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant05:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/>\n<path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant04:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/>\n<path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant03:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="'.concat(h.glasses.value,'"/>\n<path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/>\n<path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/>\n<path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant02:(v,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="'.concat(h.glasses.value,'"/>\n<path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/>\n<path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/>\n<path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant01:(v,h)=>'\n<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="'.concat(h.glasses.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>\n')},hat:{variant01:(v,h)=>'\n<path d="M4 1v2H2v2h16V3h-2V1H4Z" fill="'.concat(h.hat.value,'"/>\n'),variant02:(v,h)=>'\n<path d="M4 4H2v1h16V4h-2V1H4v3Z" fill="'.concat(h.hat.value,'"/>\n'),variant03:(v,h)=>'\n<path d="M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z" fill="'.concat(h.hat.value,'"/>\n'),variant04:(v,h)=>'\n<path d="M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z" fill="'.concat(h.hat.value,'"/>\n'),variant05:(v,h)=>'\n<path d="M3 5V3h2V1h10v2h2v2H3Z" fill="'.concat(h.hat.value,'"/>\n<path d="M4 1v2h12V1H4Z" fill="#fff" fill-opacity=".2"/>\n'),variant06:(v,h)=>'\n<path d="M3 5V4h2V1h10v3h2v1H3Z" fill="'.concat(h.hat.value,'"/>\n<path d="M5 1v3h10V1H5Z" fill="#fff" fill-opacity=".2"/>\n'),variant07:(v,h)=>'\n<path d="M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z" fill="'.concat(h.hat.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4 3v1h12V3H4ZM3 5v1h14V5H3Z" fill="#fff" fill-opacity=".2"/>\n'),variant08:(v,h)=>'\n<path d="M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z" fill="'.concat(h.hat.value,'"/>\n<path d="M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z" fill="#fff" fill-opacity=".2"/>\n'),variant09:(v,h)=>'\n<path d="M5 1v2H3v2h14V3h-2V1H5Z" fill="'.concat(h.hat.value,'"/>\n<path d="M14 3V0h-1v3h1Z" fill="#fff" fill-opacity=".2"/>\n'),variant10:(v,h)=>'\n<path d="M4 0v5H2v1h16V5h-2V0H4Z" fill="'.concat(h.hat.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z" fill="#fff" fill-opacity=".2"/>\n'),variant11:(v,h)=>'\n<path d="M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z" fill="'.concat(h.hat.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z" fill="#fff" fill-opacity=".2"/>\n'),variant12:(v,h)=>'\n<path d="M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z" fill="'.concat(h.hat.value,'"/>\n<path d="M14 4h-3v1h3V4Z" fill="#fff" fill-opacity=".2"/>\n')},clothing:{variant25:(v,h)=>'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z" fill="#fff" fill-opacity=".2"/>\n'),variant24:(v,h)=>'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z" fill="#fff" fill-opacity=".2"/>\n<path d="M9 16v1h2v-1H9Z" fill="#fff"/>\n'),variant23:(v,h)=>'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z" fill="#fff" fill-opacity=".3"/>\n'),variant22:(v,h)=>'\n<path d="M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z" fill="#fff" fill-opacity=".2"/>\n'),variant21:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z" fill="#fff" fill-opacity=".2"/>\n'),variant20:(v,h)=>'\n<path d="M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z" fill="#fff" fill-opacity=".2"/>\n'),variant19:(v,h)=>'\n<path d="M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M10 20v-1h3v1h-3Z" fill="#fff" fill-opacity=".5"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z" fill="#fff" fill-opacity=".8"/>\n'),variant18:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z" fill="#fff" fill-opacity=".2"/>\n'),variant17:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z" fill="#fff" fill-opacity=".2"/>\n'),variant16:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z" fill="#fff" fill-opacity=".2"/>\n'),variant15:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n'),variant14:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="#fff" fill-opacity=".2"/>\n<path d="M12 20v-1h3v1h-3Z" fill="#fff" fill-opacity=".2"/>\n'),variant13:(v,h)=>'\n<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n'),variant12:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z" fill="'.concat(h.clothes.value,'"/>\n'),variant11:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z" fill="'.concat(h.clothes.value,'"/>\n'),variant10:(v,h)=>'\n<path d="M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z" fill="'.concat(h.clothes.value,'"/>\n'),variant09:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z" fill="#fff" fill-opacity=".2"/>\n'),variant08:(v,h)=>'\n<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z" fill="#fff" fill-opacity=".4"/>\n<path d="M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z" fill="#fff" fill-opacity=".2"/>\n'),variant07:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z" fill="#fff" fill-opacity=".4"/>\n'),variant06:(v,h)=>'\n<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z" fill="#fff" fill-opacity=".4"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z" fill="#fff" fill-opacity=".2"/>\n'),variant05:(v,h)=>'\n<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n'),variant04:(v,h)=>'\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z" fill="'.concat(h.clothes.value,'"/>\n'),variant03:(v,h)=>'\n<path d="M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z" fill="'.concat(h.clothes.value,'"/>\n'),variant02:(v,h)=>'\n<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path d="M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z" fill="#fff" fill-opacity=".4"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z" fill="#fff" fill-opacity=".2"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z" fill="#fff" fill-opacity=".1"/>\n'),variant01:(v,h)=>'\n<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z" fill="'.concat(h.clothes.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z" fill="#fff" fill-opacity=".2"/>\n')}});function l({prng:v,group:h,values:l=[]}){const n=a,t=v.pick(l);return n[h][t]?{name:t,value:n[h][t]}:void 0}function n({prng:v,options:h}){const a=l({prng:v,group:"beard",values:h.beard}),n=l({prng:v,group:"eyes",values:h.eyes}),t=l({prng:v,group:"eyebrows",values:h.eyebrows}),i=l({prng:v,group:"mouth",values:h.mouth}),e=l({prng:v,group:"hair",values:h.hair}),r=l({prng:v,group:"accessories",values:h.accessories}),o=l({prng:v,group:"glasses",values:h.glasses}),f=l({prng:v,group:"hat",values:h.hat}),d=l({prng:v,group:"clothing",values:h.clothing});return{beard:v.bool(h.beardProbability)?a:void 0,eyes:n,eyebrows:t,mouth:i,hair:v.bool(h.hairProbability)?e:void 0,accessories:v.bool(h.accessoriesProbability)?r:void 0,glasses:v.bool(h.glassesProbability)?o:void 0,hat:v.bool(h.hatProbability)?f:void 0,clothing:d}}var t=Object.freeze({__proto__:null,skin:{variant01:"rgba(255, 219, 172, 1)",variant02:"rgba(245, 207, 160, 1)",variant03:"rgba(234, 195, 147, 1)",variant04:"rgba(224, 182, 135, 1)",variant05:"rgba(203, 158, 110, 1)",variant06:"rgba(182, 134, 85, 1)",variant07:"rgba(162, 109, 61, 1)",variant08:"rgba(141, 85, 36, 1)"},hair:{variant01:"rgba(202, 177, 136, 1)",variant02:"rgba(167, 137, 97, 1)",variant03:"rgba(131, 98, 59, 1)",variant04:"rgba(96, 58, 20, 1)",variant05:"rgba(96, 48, 21, 1)",variant06:"rgba(97, 38, 22, 1)",variant07:"rgba(97, 28, 23, 1)",variant08:"rgba(78, 26, 19, 1)",variant09:"rgba(59, 23, 14, 1)",variant10:"rgba(40, 21, 10, 1)"},accessories:{gold01:"rgba(218, 165, 32, 1)",gold02:"rgba(255, 215, 0, 1)",gold03:"rgba(250, 250, 210, 1)",silver01:"rgba(211, 211, 211, 1)",silver02:"rgba(169, 169, 169, 1)"},mouth:{variant01:"rgba(210, 153, 133, 1)",variant02:"rgba(201, 130, 118, 1)",variant03:"rgba(227, 93, 106, 1)",variant04:"rgba(222, 15, 13, 1)"},clothes:{yellow01:"rgba(255, 238, 173, 1)",yellow02:"rgba(255, 217, 105, 1)",yellow03:"rgba(255, 196, 37, 1)",red01:"rgba(255, 111, 105, 1)",red02:"rgba(209, 17, 65, 1)",red03:"rgba(174, 0, 1, 1)",blue01:"rgba(91, 192, 222, 1)",blue02:"rgba(66, 139, 202, 1)",blue03:"rgba(3, 57, 108, 1)",green01:"rgba(136, 216, 176, 1)",green02:"rgba(68, 197, 133, 1)",green03:"rgba(0, 177, 89, 1)"},hat:{pink01:"rgba(204, 97, 146, 1)",blue01:"rgba(38, 99, 163, 1)",green01:"rgba(61, 138, 107, 1)",purple01:"rgba(97, 79, 138, 1)",red01:"rgba(166, 33, 22, 1)",black01:"rgba(46, 30, 5, 1)",gray01:"rgba(152, 151, 137, 1)"},glasses:{green01:"rgba(95, 112, 92, 1)",blue01:"rgba(67, 103, 125, 1)",red01:"rgba(160, 75, 93, 1)",black01:"rgba(75, 75, 75, 1)",black02:"rgba(50, 50, 50, 1)",black03:"rgba(25, 25, 25, 1)"}});function i({prng:v,group:h,values:a=[]}){var l;const n=t;0===a.length&&a.push("transparent");const i=v.pick(a);return{name:i,value:null!==(l=n[h][i])&&void 0!==l?l:i}}function e({prng:v,options:h}){return{skin:i({prng:v,group:"skin",values:h.skinColor}),hair:i({prng:v,group:"hair",values:h.hairColor}),accessories:i({prng:v,group:"accessories",values:h.accessoriesColor}),mouth:i({prng:v,group:"mouth",values:h.mouthColor}),clothes:i({prng:v,group:"clothes",values:h.clothesColor}),hat:i({prng:v,group:"hat",values:h.hatColor}),glasses:i({prng:v,group:"glasses",values:h.glassesColor})}}const r={beard:{width:20,height:20},eyes:{width:20,height:20},eyebrows:{width:20,height:20},mouth:{width:20,height:20},hair:{width:20,height:20},accessories:{width:20,height:20},glasses:{width:20,height:20},hat:{width:20,height:20},clothing:{width:20,height:20}},o={meta:{title:"Pixel Art",creator:"Plastic Jam",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE"}},schema:h,create:({prng:v,options:h})=>{var a,l,t,i,r,o,f,d,p,c,V,u,H,Z,s,g,m,M;const y=n({prng:v,options:h}),b=e({prng:v,options:h});return{attributes:{viewBox:"0 0 20 20",fill:"none","shape-rendering":"auto"},body:'\n<path d="M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z" fill="'.concat(b.skin.value,'"/>\n<path d="M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z" fill="#fff" fill-opacity=".1"/>\n').concat(null!==(a=null===(l=y.beard)||void 0===l?void 0:l.value(y,b))&&void 0!==a?a:"","\n").concat(null!==(t=null===(i=y.eyes)||void 0===i?void 0:i.value(y,b))&&void 0!==t?t:"","\n").concat(null!==(r=null===(o=y.eyebrows)||void 0===o?void 0:o.value(y,b))&&void 0!==r?r:"","\n").concat(null!==(f=null===(d=y.mouth)||void 0===d?void 0:d.value(y,b))&&void 0!==f?f:"","\n").concat(null!==(p=null===(c=y.hair)||void 0===c?void 0:c.value(y,b))&&void 0!==p?p:"","\n").concat(null!==(V=null===(u=y.accessories)||void 0===u?void 0:u.value(y,b))&&void 0!==V?V:"","\n").concat(null!==(H=null===(Z=y.glasses)||void 0===Z?void 0:Z.value(y,b))&&void 0!==H?H:"","\n").concat(null!==(s=null===(g=y.hat)||void 0===g?void 0:g.value(y,b))&&void 0!==s?s:"","\n").concat(null!==(m=null===(M=y.clothing)||void 0===M?void 0:M.value(y,b))&&void 0!==m?m:"","\n")}},preview:({prng:v,options:h,property:a})=>{const l=a.toString(),t=a.toString().replace(/Color$/,""),i=n({prng:v,options:h}),o=e({prng:v,options:h});if(l in i){var f,d;const{width:v,height:h}=r[l];return{attributes:{viewBox:"0 0 ".concat(v," ").concat(h),fill:"none","shape-rendering":"auto"},body:null!==(f=null===(d=i[l])||void 0===d?void 0:d.value(i,o))&&void 0!==f?f:""}}if(t in o)return{attributes:{viewBox:"0 0 1 1",fill:"none","shape-rendering":"auto"},body:'<rect width="1" height="1" fill="'.concat(o[t].value,'" />')}}}; | ||
/*! | ||
@@ -7,5 +7,7 @@ * Pixel Art (@dicebear/pixel-art) | ||
* Copyright (c) 2021 Florian Körner | ||
* Copyright (c) 2021 Plastic Jam | ||
* | ||
* Design "8biticon" by Plastic Jam licensed under MIT. | ||
* Design "Pixel Art" by Plastic Jam licensed under MIT. | ||
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE | ||
*/v.create=r,v.default=f,v.meta=e,v.schema=o,Object.defineProperty(v,"__esModule",{value:!0})})); | ||
*/ | ||
let{create:f,preview:d,meta:p,schema:c}=o;v.create=f,v.meta=p,v.preview=d,v.schema=c,Object.defineProperty(v,"__esModule",{value:!0})})); |
@@ -6,45 +6,24 @@ /** | ||
*/ | ||
export declare type Beard = ("variant04" | "variant03" | "variant02" | "variant01")[]; | ||
export declare type BeardProbability = number; | ||
export declare type Eyes = ("variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[]; | ||
export declare type Eyebrows = ("variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[]; | ||
export declare type Mouth = ("surprised03" | "surprised02" | "happy09" | "happy08" | "happy07" | "happy06" | "happy05" | "happy04" | "happy03" | "happy02" | "happy01" | "sad08" | "sad07" | "sad06" | "sad05" | "sad04" | "sad03" | "sad02" | "sad01" | "surprised01")[]; | ||
export declare type Hair = ("short11" | "short10" | "short09" | "short08" | "short07" | "short06" | "short05" | "short04" | "short03" | "short02" | "long15" | "short01" | "long14" | "long13" | "long12" | "long11" | "long10" | "long09" | "long08" | "long07" | "long06" | "long05" | "long04" | "long03" | "long02" | "long01")[]; | ||
export declare type HairProbability = number; | ||
export declare type Accessories = ("variant04" | "variant03" | "variant02" | "variant01")[]; | ||
export declare type AccessoriesProbability = number; | ||
export declare type Glasses = ("variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[]; | ||
export declare type GlassesProbability = number; | ||
export declare type Hat = ("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08" | "variant09" | "variant10" | "variant11" | "variant12")[]; | ||
export declare type HatProbability = number; | ||
export declare type Clothing = ("variant25" | "variant24" | "variant23" | "variant22" | "variant21" | "variant20" | "variant19" | "variant18" | "variant17" | "variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[]; | ||
export declare type SkinColor = (("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08") | string)[]; | ||
export declare type HairColor = (("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08" | "variant09" | "variant10") | string)[]; | ||
export declare type AccessoriesColor = (("gold01" | "gold02" | "gold03" | "silver01" | "silver02") | string)[]; | ||
export declare type MouthColor = (("variant01" | "variant02" | "variant03" | "variant04") | string)[]; | ||
export declare type ClothesColor = (("yellow01" | "yellow02" | "yellow03" | "red01" | "red02" | "red03" | "blue01" | "blue02" | "blue03" | "green01" | "green02" | "green03") | string)[]; | ||
export declare type HatColor = (("pink01" | "blue01" | "green01" | "purple01" | "red01" | "black01" | "gray01") | string)[]; | ||
export declare type GlassesColor = (("green01" | "blue01" | "red01" | "black01" | "black02" | "black03") | string)[]; | ||
export interface Options { | ||
beard?: Beard; | ||
beardProbability?: BeardProbability; | ||
eyes?: Eyes; | ||
eyebrows?: Eyebrows; | ||
mouth?: Mouth; | ||
hair?: Hair; | ||
hairProbability?: HairProbability; | ||
accessories?: Accessories; | ||
accessoriesProbability?: AccessoriesProbability; | ||
glasses?: Glasses; | ||
glassesProbability?: GlassesProbability; | ||
hat?: Hat; | ||
hatProbability?: HatProbability; | ||
clothing?: Clothing; | ||
skinColor?: SkinColor; | ||
hairColor?: HairColor; | ||
accessoriesColor?: AccessoriesColor; | ||
mouthColor?: MouthColor; | ||
clothesColor?: ClothesColor; | ||
hatColor?: HatColor; | ||
glassesColor?: GlassesColor; | ||
accessories?: ("variant04" | "variant03" | "variant02" | "variant01")[]; | ||
accessoriesColor?: (string | ("gold01" | "gold02" | "gold03" | "silver01" | "silver02"))[]; | ||
accessoriesProbability?: number; | ||
beard?: ("variant04" | "variant03" | "variant02" | "variant01")[]; | ||
beardProbability?: number; | ||
clothesColor?: (string | ("yellow01" | "yellow02" | "yellow03" | "red01" | "red02" | "red03" | "blue01" | "blue02" | "blue03" | "green01" | "green02" | "green03"))[]; | ||
clothing?: ("variant25" | "variant24" | "variant23" | "variant22" | "variant21" | "variant20" | "variant19" | "variant18" | "variant17" | "variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[]; | ||
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; | ||
hair?: ("short11" | "short10" | "short09" | "short08" | "short07" | "short06" | "short05" | "short04" | "short03" | "short02" | "long15" | "short01" | "long14" | "long13" | "long12" | "long11" | "long10" | "long09" | "long08" | "long07" | "long06" | "long05" | "long04" | "long03" | "long02" | "long01")[]; | ||
hairColor?: (string | ("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08" | "variant09" | "variant10"))[]; | ||
hairProbability?: number; | ||
hat?: ("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08" | "variant09" | "variant10" | "variant11" | "variant12")[]; | ||
hatColor?: (string | ("pink01" | "blue01" | "green01" | "purple01" | "red01" | "black01" | "gray01"))[]; | ||
hatProbability?: number; | ||
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"))[]; | ||
skinColor?: (string | ("variant01" | "variant02" | "variant03" | "variant04" | "variant05" | "variant06" | "variant07" | "variant08"))[]; | ||
} |
@@ -1,3 +0,9 @@ | ||
import type { Prng } from '@dicebear/avatars'; | ||
import type { Prng } from '@dicebear/core'; | ||
import type { ColorPick } from '../static-types'; | ||
export declare function pickColor(prng: Prng, group: string, values: string[]): ColorPick; | ||
declare type Props = { | ||
prng: Prng; | ||
group: string; | ||
values?: string[]; | ||
}; | ||
export declare function pickColor({ prng, group, values }: Props): ColorPick; | ||
export {}; |
@@ -1,3 +0,9 @@ | ||
import type { Prng } from '@dicebear/avatars'; | ||
import type { Prng } from '@dicebear/core'; | ||
import type { ComponentPick } from '../static-types'; | ||
export declare function pickComponent(prng: Prng, group: string, values?: string[]): ComponentPick; | ||
declare type Props = { | ||
prng: Prng; | ||
group: string; | ||
values?: string[]; | ||
}; | ||
export declare function pickComponent({ prng, group, values, }: Props): ComponentPick; | ||
export {}; |
{ | ||
"name": "@dicebear/pixel-art", | ||
"version": "4.10.0", | ||
"version": "5.0.0-alpha.0", | ||
"description": "Avatar style for DiceBear", | ||
@@ -33,7 +33,7 @@ "keywords": [ | ||
"devDependencies": { | ||
"@dicebear/avatars": "^4.10.0", | ||
"@dicebear/core": "^5.0.0-alpha.0", | ||
"@tsconfig/recommended": "^1.0.0", | ||
"@types/jest": "^26.0.22", | ||
"@types/node": "^10.11.6", | ||
"dicebear-project": "^4.10.0", | ||
"dicebear-project": "^5.0.0-alpha.0", | ||
"jest": "^26.6.3", | ||
@@ -46,3 +46,3 @@ "shx": "^0.3.3", | ||
"peerDependencies": { | ||
"@dicebear/avatars": "^4.6.0" | ||
"@dicebear/core": "^5.0.0" | ||
}, | ||
@@ -52,3 +52,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "0730db32500de743b65f569ccfc07016cd05851d" | ||
"gitHead": "842f2a824d473dc87a637100f3375cc94db2787d" | ||
} |
@@ -1,5 +0,6 @@ | ||
<h1 align="center"><img src="https://dicebear.com/api/pixel-art/1.svg?mood=happy" width="124" /> <br />pixel-art</h1> | ||
<h1 align="center"><img src="./tests/svg/0.svg" width="124" /> <br />Pixel Art</h1> | ||
<p align="center"> | ||
<strong>Avatar Style for <a href="https://dicebear.com/">DiceBear Avatars</a>.</strong><br /> | ||
Heavy inspired by <a href="https://github.com/matveyco/8biticon">8biticon</a>. | ||
<strong>Avatar Style for <a href="https://dicebear.com/">DiceBear</a></strong><br /> | ||
Pixel Art | ||
by Plastic Jam | ||
</p> | ||
@@ -6,0 +7,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
35
2621
13
144724
1