@dicebear/pixel-art 5.0.0-alpha.9 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -2
- package/README.md +8 -2
- package/lib/components/accessories.d.ts +8 -0
- package/lib/components/accessories.js +13 -0
- package/lib/components/beard.d.ts +8 -0
- package/lib/components/beard.js +17 -0
- package/lib/components/clothing.d.ts +8 -0
- package/lib/components/clothing.js +32 -0
- package/lib/components/eyes.d.ts +8 -0
- package/lib/components/eyes.js +21 -0
- package/lib/components/glasses.d.ts +8 -0
- package/lib/components/glasses.js +23 -0
- package/lib/components/hair.d.ts +8 -0
- package/lib/components/hair.js +54 -0
- package/lib/components/index.d.ts +13 -0
- package/lib/components/index.js +13 -0
- package/lib/components/mouth.d.ts +8 -0
- package/lib/components/mouth.js +32 -0
- package/lib/core.d.ts +9 -0
- package/lib/core.js +40 -0
- package/lib/hooks/onPostCreate.d.ts +16 -0
- package/lib/hooks/onPostCreate.js +9 -0
- package/lib/hooks/onPreCreate.d.ts +14 -0
- package/lib/hooks/onPreCreate.js +9 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +20 -0
- package/lib/schema.d.ts +8 -0
- package/lib/schema.js +472 -0
- package/lib/types.d.ts +34 -0
- package/lib/types.js +7 -0
- package/lib/utils/getColors.d.ts +14 -0
- package/lib/utils/getColors.js +19 -0
- package/lib/utils/getComponents.d.ts +14 -0
- package/lib/utils/getComponents.js +54 -0
- package/lib/utils/pickComponent.d.ts +15 -0
- package/lib/utils/pickComponent.js +20 -0
- package/package.json +19 -28
- package/dist/index.d.ts +0 -31
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js +0 -659
- package/dist/index.es.js.map +0 -1
- package/dist/index.js +0 -663
- package/dist/index.js.map +0 -1
package/dist/index.js
DELETED
|
@@ -1,663 +0,0 @@
|
|
|
1
|
-
function $parcel$export(e, n, v, s) {
|
|
2
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
3
|
-
}
|
|
4
|
-
function $parcel$interopDefault(a) {
|
|
5
|
-
return a && a.__esModule ? a.default : a;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
$parcel$export(module.exports, "create", function () { return $7ce22e2aa4d8700d$export$185802fd694ee1f5; });
|
|
9
|
-
$parcel$export(module.exports, "preview", function () { return $7ce22e2aa4d8700d$export$48c2d0f2f545ac27; });
|
|
10
|
-
$parcel$export(module.exports, "meta", function () { return $7ce22e2aa4d8700d$export$6990040ee07315; });
|
|
11
|
-
$parcel$export(module.exports, "schema", function () { return $7ce22e2aa4d8700d$export$4902baddc787debb; });
|
|
12
|
-
var $057130024402ff2f$exports = {};
|
|
13
|
-
$057130024402ff2f$exports = JSON.parse("{\"title\":\"Options\",\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"properties\":{\"accessories\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"accessoriesColor\":{\"type\":\"array\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"default\":[\"variant07\",\"variant06\",\"variant05\",\"variant04\",\"variant03\",\"variant02\",\"variant01\"]},\"glassesColor\":{\"type\":\"array\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\",\"uniqueItems\":true,\"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\":false}");
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var $b4afbfe589b078df$exports = {};
|
|
17
|
-
|
|
18
|
-
$parcel$export($b4afbfe589b078df$exports, "beard", function () { return $cd25d876fe354439$export$f3afdac99fc73206; });
|
|
19
|
-
$parcel$export($b4afbfe589b078df$exports, "eyes", function () { return $7aaec23c56696616$export$60b896fd2e3e4b2; });
|
|
20
|
-
$parcel$export($b4afbfe589b078df$exports, "eyebrows", function () { return $b02b20cb98d02a45$export$aebaafc0a0095705; });
|
|
21
|
-
$parcel$export($b4afbfe589b078df$exports, "mouth", function () { return $bdce3b7be433da87$export$4ec1914b3efc3f9a; });
|
|
22
|
-
$parcel$export($b4afbfe589b078df$exports, "hair", function () { return $6c3b73c3a889a88c$export$12c365d50e7cb3d6; });
|
|
23
|
-
$parcel$export($b4afbfe589b078df$exports, "accessories", function () { return $645ba5ae5179f846$export$3bb43880931639de; });
|
|
24
|
-
$parcel$export($b4afbfe589b078df$exports, "glasses", function () { return $bab3a5d0d982c819$export$98222f1ebbc36891; });
|
|
25
|
-
$parcel$export($b4afbfe589b078df$exports, "hat", function () { return $adfada936a0a2b79$export$dbf38fa2a54a979a; });
|
|
26
|
-
$parcel$export($b4afbfe589b078df$exports, "clothing", function () { return $6b3b16593f4a9777$export$315fd2fadf178734; });
|
|
27
|
-
const $cd25d876fe354439$export$f3afdac99fc73206 = {
|
|
28
|
-
variant04: (components, colors)=>`<path opacity=".9" d="M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z" fill="${colors.hair.value}"/>`
|
|
29
|
-
,
|
|
30
|
-
variant03: (components, colors)=>`<path opacity=".9" d="M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z" fill="${colors.hair.value}"/>`
|
|
31
|
-
,
|
|
32
|
-
variant02: (components, colors)=>`<path opacity=".9" d="M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z" fill="${colors.hair.value}"/>`
|
|
33
|
-
,
|
|
34
|
-
variant01: (components, colors)=>`<path opacity=".9" d="M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1v1H7v-1H6v-1H5V8H4Z" fill="${colors.hair.value}"/>`
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const $7aaec23c56696616$export$60b896fd2e3e4b2 = {
|
|
39
|
-
variant13: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 9V7h3v2H5Zm7-2h3v2h-3V7Z" fill="#fff"/><path d="M7 8v1h1V8H7Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
40
|
-
,
|
|
41
|
-
variant12: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 1V8h1v1h-1Z" fill="#000"/></g>`
|
|
42
|
-
,
|
|
43
|
-
variant11: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
44
|
-
,
|
|
45
|
-
variant10: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm6 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
46
|
-
,
|
|
47
|
-
variant09: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
48
|
-
,
|
|
49
|
-
variant08: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#fff"/><path d="M7 8h1v1H7V8Zm5 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
50
|
-
,
|
|
51
|
-
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7v1h3V7H5Zm7 0h3v1h-3V7Z" fill="#fff"/><path d="M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z" fill="#000"/><path d="M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z" fill="#fff" fill-opacity=".5"/></g>`
|
|
52
|
-
,
|
|
53
|
-
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
54
|
-
,
|
|
55
|
-
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/></g>`
|
|
56
|
-
,
|
|
57
|
-
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M6 8h1v1H6V8Zm7 0h1v1h-1V8Z" fill="#000"/></g>`
|
|
58
|
-
,
|
|
59
|
-
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M6 7h2v2H6V7Zm7 0h2v2h-2V7Z" fill="#000"/><path d="M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z" fill="#fff" fill-opacity=".4"/><path d="M7 7v1h1V7H7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".7"/></g>`
|
|
60
|
-
,
|
|
61
|
-
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path d="M5 8h2v1H5V8Zm7 0h2v1h-2V8Z" fill="#000"/><path d="M5 8h1v1H5V8Zm7 0h1v1h-1V8Z" fill="#fff" fill-opacity=".7"/></g>`
|
|
62
|
-
,
|
|
63
|
-
variant01: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z" fill="#fff"/><path d="M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z" fill="#000"/><path d="M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z" fill="#fff" fill-opacity=".5"/></g>`
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
const $b02b20cb98d02a45$export$aebaafc0a0095705 = {
|
|
68
|
-
variant13: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="${colors.hair.value}"/><path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/></g>`
|
|
69
|
-
,
|
|
70
|
-
variant12: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="${colors.hair.value}"/><path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
71
|
-
,
|
|
72
|
-
variant11: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="${colors.hair.value}"/><path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
73
|
-
,
|
|
74
|
-
variant10: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="${colors.hair.value}"/><path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
75
|
-
,
|
|
76
|
-
variant09: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="${colors.hair.value}"/><path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/></g>`
|
|
77
|
-
,
|
|
78
|
-
variant08: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="${colors.hair.value}"/><path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
79
|
-
,
|
|
80
|
-
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="${colors.hair.value}"/><path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
81
|
-
,
|
|
82
|
-
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="${colors.hair.value}"/><path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
83
|
-
,
|
|
84
|
-
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="${colors.hair.value}"/><path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
85
|
-
,
|
|
86
|
-
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="${colors.hair.value}"/><path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/></g>`
|
|
87
|
-
,
|
|
88
|
-
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="${colors.hair.value}"/><path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/></g>`
|
|
89
|
-
,
|
|
90
|
-
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="${colors.hair.value}"/><path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/></g>`
|
|
91
|
-
,
|
|
92
|
-
variant01: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="${colors.hair.value}"/><path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/></g>`
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
const $bdce3b7be433da87$export$4ec1914b3efc3f9a = {
|
|
97
|
-
surprised03: (components, colors)=>`<path d="M9 12v2h2v-2H9Z" fill="${colors.mouth.value}"/>`
|
|
98
|
-
,
|
|
99
|
-
surprised02: (components, colors)=>`<path d="M9 13v1h1v-1H9Z" fill="${colors.mouth.value}"/>`
|
|
100
|
-
,
|
|
101
|
-
happy09: (components, colors)=>`<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="${colors.mouth.value}"/>`
|
|
102
|
-
,
|
|
103
|
-
happy08: (components, colors)=>`<path d="M10 12v1H9v1h2v-2h-1Z" fill="${colors.mouth.value}"/>`
|
|
104
|
-
,
|
|
105
|
-
happy07: (components, colors)=>`<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="${colors.mouth.value}"/>`
|
|
106
|
-
,
|
|
107
|
-
happy06: (components, colors)=>`<path d="M9 12v2h2v-1h-1v-1H9Z" fill="${colors.mouth.value}"/><path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>`
|
|
108
|
-
,
|
|
109
|
-
happy05: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="${colors.mouth.value}"/>`
|
|
110
|
-
,
|
|
111
|
-
happy04: (components, colors)=>`<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="${colors.mouth.value}"/>`
|
|
112
|
-
,
|
|
113
|
-
happy03: (components, colors)=>`<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="${colors.mouth.value}"/>`
|
|
114
|
-
,
|
|
115
|
-
happy02: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="${colors.mouth.value}"/><path d="M9 12v1h2v-1H9Z" fill="#fff"/>`
|
|
116
|
-
,
|
|
117
|
-
happy01: (components, colors)=>`<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="${colors.mouth.value}"/><path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>`
|
|
118
|
-
,
|
|
119
|
-
sad08: (components, colors)=>`<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="${colors.mouth.value}"/>`
|
|
120
|
-
,
|
|
121
|
-
sad07: (components, colors)=>`<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="${colors.mouth.value}"/>`
|
|
122
|
-
,
|
|
123
|
-
sad06: (components, colors)=>`<path d="M8 12h3v1H8v-1Z" fill="${colors.mouth.value}"/>`
|
|
124
|
-
,
|
|
125
|
-
sad05: (components, colors)=>`<path d="M8 12h4v1H8v-1Z" fill="${colors.mouth.value}"/>`
|
|
126
|
-
,
|
|
127
|
-
sad04: (components, colors)=>`<path d="M9 12h2v1H9v-1Z" fill="${colors.mouth.value}"/>`
|
|
128
|
-
,
|
|
129
|
-
sad03: (components, colors)=>`<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="${colors.mouth.value}"/>`
|
|
130
|
-
,
|
|
131
|
-
sad02: (components, colors)=>`<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="${colors.mouth.value}"/>`
|
|
132
|
-
,
|
|
133
|
-
sad01: (components, colors)=>`<path d="M10 12v1h1v1h1v-2h-2Z" fill="${colors.mouth.value}"/>`
|
|
134
|
-
,
|
|
135
|
-
surprised01: (components, colors)=>`<path d="M8 12v2h4v-2H8Z" fill="#fff"/>`
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
const $6c3b73c3a889a88c$export$12c365d50e7cb3d6 = {
|
|
140
|
-
short11: (components, colors)=>`<path d="M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z" fill="${colors.hair.value}"/>`
|
|
141
|
-
,
|
|
142
|
-
short10: (components, colors)=>`<path d="M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z" fill="${colors.hair.value}"/>`
|
|
143
|
-
,
|
|
144
|
-
short09: (components, colors)=>`<path d="M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z" fill="${colors.hair.value}"/>`
|
|
145
|
-
,
|
|
146
|
-
short08: (components, colors)=>`<path d="M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="${colors.hair.value}"/>`
|
|
147
|
-
,
|
|
148
|
-
short07: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z" fill="${colors.hair.value}"/>`
|
|
149
|
-
,
|
|
150
|
-
short06: (components, colors)=>`<path d="M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z" fill="${colors.hair.value}"/>`
|
|
151
|
-
,
|
|
152
|
-
short05: (components, colors)=>`<path d="M11 5V4h1V3H8v1h1v1h2Z" fill="${colors.hair.value}"/>`
|
|
153
|
-
,
|
|
154
|
-
short04: (components, colors)=>`<path d="M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z" fill="${colors.hair.value}"/>`
|
|
155
|
-
,
|
|
156
|
-
short03: (components, colors)=>`<path d="M5 5h10V4h-1V3H6v1H5v1Z" fill="${colors.hair.value}"/>`
|
|
157
|
-
,
|
|
158
|
-
short02: (components, colors)=>`<path d="M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z" fill="${colors.hair.value}"/>`
|
|
159
|
-
,
|
|
160
|
-
long15: (components, colors)=>`<path d="M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z" fill="${colors.hair.value}"/>`
|
|
161
|
-
,
|
|
162
|
-
short01: (components, colors)=>`<path d="M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z" fill="${colors.hair.value}"/>`
|
|
163
|
-
,
|
|
164
|
-
long14: (components, colors)=>`<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="${colors.hair.value}"/>`
|
|
165
|
-
,
|
|
166
|
-
long13: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z" fill="${colors.hair.value}"/>`
|
|
167
|
-
,
|
|
168
|
-
long12: (components, colors)=>`<path d="M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z" fill="${colors.hair.value}"/>`
|
|
169
|
-
,
|
|
170
|
-
long11: (components, colors)=>`<path d="M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z" fill="${colors.hair.value}"/>`
|
|
171
|
-
,
|
|
172
|
-
long10: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 14.1V11h1v2h1v1l-2 .1ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="${colors.hair.value}"/>`
|
|
173
|
-
,
|
|
174
|
-
long09: (components, colors)=>`<path d="M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z" fill="${colors.hair.value}"/>`
|
|
175
|
-
,
|
|
176
|
-
long08: (components, colors)=>`<path d="M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z" fill="${colors.hair.value}"/>`
|
|
177
|
-
,
|
|
178
|
-
long07: (components, colors)=>`<path d="M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3h-1V2h-2v1H6V2H4v1H3v2h1Z" fill="${colors.hair.value}"/>`
|
|
179
|
-
,
|
|
180
|
-
long06: (components, colors)=>`<path d="M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z" fill="${colors.hair.value}"/>`
|
|
181
|
-
,
|
|
182
|
-
long05: (components, colors)=>`<path d="M2 17h2v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z" fill="${colors.hair.value}"/>`
|
|
183
|
-
,
|
|
184
|
-
long04: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z" fill="${colors.hair.value}"/>`
|
|
185
|
-
,
|
|
186
|
-
long03: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z" fill="${colors.hair.value}"/>`
|
|
187
|
-
,
|
|
188
|
-
long02: (components, colors)=>`<path d="M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z" fill="${colors.hair.value}"/>`
|
|
189
|
-
,
|
|
190
|
-
long01: (components, colors)=>`<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="${colors.hair.value}"/>`
|
|
191
|
-
};
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
const $645ba5ae5179f846$export$3bb43880931639de = {
|
|
195
|
-
variant04: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z" fill="${colors.accessories.value}"/>`
|
|
196
|
-
,
|
|
197
|
-
variant03: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z" fill="${colors.accessories.value}"/>`
|
|
198
|
-
,
|
|
199
|
-
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z" fill="${colors.accessories.value}"/><path d="M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z" fill="#fff" fill-opacity=".4"/></g>`
|
|
200
|
-
,
|
|
201
|
-
variant01: (components, colors)=>`<path d="M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z" fill="${colors.accessories.value}"/>`
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
const $bab3a5d0d982c819$export$98222f1ebbc36891 = {
|
|
206
|
-
variant07: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v3H5V7Zm7 0h3v3h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
|
|
207
|
-
,
|
|
208
|
-
variant06: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
|
|
209
|
-
,
|
|
210
|
-
variant05: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path opacity=".2" d="M7 8h1v1H7V8Zm7 0h1v1h-1V8Z" fill="#fff"/><path d="M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z" fill="${colors.glasses.value}"/><path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/></g>`
|
|
211
|
-
,
|
|
212
|
-
variant04: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M7 7h1v1H7V7Zm7 0h1v1h-1V7Z" fill="#fff"/><path d="M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z" fill="${colors.glasses.value}"/><path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/></g>`
|
|
213
|
-
,
|
|
214
|
-
variant03: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="${colors.glasses.value}"/><path opacity=".2" d="M5 7h3v2H5V7Zm7 0h3v2h-3V7Z" fill="#fff"/><path opacity=".2" d="M14 7h1v1h-1V7ZM7 7h1v1H7V7Z" fill="#fff"/><path d="M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/></g>`
|
|
215
|
-
,
|
|
216
|
-
variant02: (components, colors)=>`<g fill-rule="evenodd" clip-rule="evenodd"><path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="${colors.glasses.value}"/><path opacity=".2" d="M7 8v1h1V8H7Zm7 0v1h1V8h-1Z" fill="#fff"/><path opacity=".2" d="M5 8h3v1H5V8Zm7 0h3v1h-3V8Z" fill="#fff"/><path d="M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z" fill="#fff" fill-opacity=".2"/></g>`
|
|
217
|
-
,
|
|
218
|
-
variant01: (components, colors)=>`<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="${colors.glasses.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>`
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
const $adfada936a0a2b79$export$dbf38fa2a54a979a = {
|
|
223
|
-
variant01: (components, colors)=>`<path d="M4 1v2H2v2h16V3h-2V1H4Z" fill="${colors.hat.value}"/>`
|
|
224
|
-
,
|
|
225
|
-
variant02: (components, colors)=>`<path d="M4 4H2v1h16V4h-2V1H4v3Z" fill="${colors.hat.value}"/>`
|
|
226
|
-
,
|
|
227
|
-
variant03: (components, colors)=>`<path d="M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z" fill="${colors.hat.value}"/>`
|
|
228
|
-
,
|
|
229
|
-
variant04: (components, colors)=>`<path d="M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z" fill="${colors.hat.value}"/>`
|
|
230
|
-
,
|
|
231
|
-
variant05: (components, colors)=>`<path d="M3 5V3h2V1h10v2h2v2H3Z" fill="${colors.hat.value}"/><path d="M4 1v2h12V1H4Z" fill="#fff" fill-opacity=".2"/>`
|
|
232
|
-
,
|
|
233
|
-
variant06: (components, colors)=>`<path d="M3 5V4h2V1h10v3h2v1H3Z" fill="${colors.hat.value}"/><path d="M5 1v3h10V1H5Z" fill="#fff" fill-opacity=".2"/>`
|
|
234
|
-
,
|
|
235
|
-
variant07: (components, colors)=>`<path d="M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z" fill="${colors.hat.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M4 3v1h12V3H4ZM3 5v1h14V5H3Z" fill="#fff" fill-opacity=".2"/>`
|
|
236
|
-
,
|
|
237
|
-
variant08: (components, colors)=>`<path d="M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z" fill="${colors.hat.value}"/><path d="M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z" fill="#fff" fill-opacity=".2"/>`
|
|
238
|
-
,
|
|
239
|
-
variant09: (components, colors)=>`<path d="M5 1v2H3v2h14V3h-2V1H5Z" fill="${colors.hat.value}"/><path d="M14 3V0h-1v3h1Z" fill="#fff" fill-opacity=".2"/>`
|
|
240
|
-
,
|
|
241
|
-
variant10: (components, colors)=>`<path d="M4 0v5H2v1h16V5h-2V0H4Z" fill="${colors.hat.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z" fill="#fff" fill-opacity=".2"/>`
|
|
242
|
-
,
|
|
243
|
-
variant11: (components, colors)=>`<path d="M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z" fill="${colors.hat.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z" fill="#fff" fill-opacity=".2"/>`
|
|
244
|
-
,
|
|
245
|
-
variant12: (components, colors)=>`<path d="M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z" fill="${colors.hat.value}"/><path d="M14 4h-3v1h3V4Z" fill="#fff" fill-opacity=".2"/>`
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
const $6b3b16593f4a9777$export$315fd2fadf178734 = {
|
|
250
|
-
variant25: (components, colors)=>`<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z" fill="#fff" fill-opacity=".2"/>`
|
|
251
|
-
,
|
|
252
|
-
variant24: (components, colors)=>`<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z" fill="#fff" fill-opacity=".2"/><path d="M9 16v1h2v-1H9Z" fill="#fff"/>`
|
|
253
|
-
,
|
|
254
|
-
variant23: (components, colors)=>`<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="${colors.clothes.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z" fill="#fff" fill-opacity=".3"/>`
|
|
255
|
-
,
|
|
256
|
-
variant22: (components, colors)=>`<path d="M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z" fill="${colors.clothes.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z" fill="#fff" fill-opacity=".2"/>`
|
|
257
|
-
,
|
|
258
|
-
variant21: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z" fill="#fff" fill-opacity=".2"/>`
|
|
259
|
-
,
|
|
260
|
-
variant20: (components, colors)=>`<path d="M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3Z" fill="${colors.clothes.value}"/><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"/>`
|
|
261
|
-
,
|
|
262
|
-
variant19: (components, colors)=>`<path d="M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z" fill="${colors.clothes.value}"/><path d="M10 20v-1h3v1h-3Z" fill="#fff" fill-opacity=".5"/><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"/>`
|
|
263
|
-
,
|
|
264
|
-
variant18: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><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"/>`
|
|
265
|
-
,
|
|
266
|
-
variant17: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><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"/>`
|
|
267
|
-
,
|
|
268
|
-
variant16: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z" fill="#fff" fill-opacity=".2"/>`
|
|
269
|
-
,
|
|
270
|
-
variant15: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/>`
|
|
271
|
-
,
|
|
272
|
-
variant14: (components, colors)=>`<path d="M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="#fff" fill-opacity=".2"/><path d="M12 20v-1h3v1h-3Z" fill="#fff" fill-opacity=".2"/>`
|
|
273
|
-
,
|
|
274
|
-
variant13: (components, colors)=>`<path d="M3 20v-3h1v-1h12v1h1v3H3Z" fill="${colors.clothes.value}"/>`
|
|
275
|
-
,
|
|
276
|
-
variant12: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z" fill="${colors.clothes.value}"/>`
|
|
277
|
-
,
|
|
278
|
-
variant11: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z" fill="${colors.clothes.value}"/>`
|
|
279
|
-
,
|
|
280
|
-
variant10: (components, colors)=>`<path d="M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z" fill="${colors.clothes.value}"/>`
|
|
281
|
-
,
|
|
282
|
-
variant09: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z" fill="#fff" fill-opacity=".2"/>`
|
|
283
|
-
,
|
|
284
|
-
variant08: (components, colors)=>`<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z" fill="${colors.clothes.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z" fill="#fff" fill-opacity=".4"/><path d="M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z" fill="#fff" fill-opacity=".2"/>`
|
|
285
|
-
,
|
|
286
|
-
variant07: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z" fill="#fff" fill-opacity=".4"/>`
|
|
287
|
-
,
|
|
288
|
-
variant06: (components, colors)=>`<path d="M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z" fill="#fff" fill-opacity=".4"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z" fill="#fff" fill-opacity=".2"/>`
|
|
289
|
-
,
|
|
290
|
-
variant05: (components, colors)=>`<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z" fill="${colors.clothes.value}"/>`
|
|
291
|
-
,
|
|
292
|
-
variant04: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z" fill="${colors.clothes.value}"/>`
|
|
293
|
-
,
|
|
294
|
-
variant03: (components, colors)=>`<path d="M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z" fill="${colors.clothes.value}"/>`
|
|
295
|
-
,
|
|
296
|
-
variant02: (components, colors)=>`<path d="M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z" fill="${colors.clothes.value}"/><path d="M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z" fill="#fff" fill-opacity=".4"/><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"/><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"/>`
|
|
297
|
-
,
|
|
298
|
-
variant01: (components, colors)=>`<path d="M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z" fill="${colors.clothes.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z" fill="#fff" fill-opacity=".2"/>`
|
|
299
|
-
};
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
function $73a12bdb08a3af5d$export$5bc6178a9a86ed74({ prng: prng , group: group , values: values = [] }) {
|
|
305
|
-
const componentCollection = $b4afbfe589b078df$exports;
|
|
306
|
-
const key = prng.pick(values);
|
|
307
|
-
if (componentCollection[group][key]) return {
|
|
308
|
-
name: key,
|
|
309
|
-
value: componentCollection[group][key]
|
|
310
|
-
};
|
|
311
|
-
else return undefined;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
function $b40f5db0449f0b48$export$4e811121b221213b({ prng: prng , options: options }) {
|
|
316
|
-
const beardComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
317
|
-
prng: prng,
|
|
318
|
-
group: 'beard',
|
|
319
|
-
values: options.beard
|
|
320
|
-
});
|
|
321
|
-
const eyesComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
322
|
-
prng: prng,
|
|
323
|
-
group: 'eyes',
|
|
324
|
-
values: options.eyes
|
|
325
|
-
});
|
|
326
|
-
const eyebrowsComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
327
|
-
prng: prng,
|
|
328
|
-
group: 'eyebrows',
|
|
329
|
-
values: options.eyebrows
|
|
330
|
-
});
|
|
331
|
-
const mouthComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
332
|
-
prng: prng,
|
|
333
|
-
group: 'mouth',
|
|
334
|
-
values: options.mouth
|
|
335
|
-
});
|
|
336
|
-
const hairComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
337
|
-
prng: prng,
|
|
338
|
-
group: 'hair',
|
|
339
|
-
values: options.hair
|
|
340
|
-
});
|
|
341
|
-
const accessoriesComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
342
|
-
prng: prng,
|
|
343
|
-
group: 'accessories',
|
|
344
|
-
values: options.accessories
|
|
345
|
-
});
|
|
346
|
-
const glassesComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
347
|
-
prng: prng,
|
|
348
|
-
group: 'glasses',
|
|
349
|
-
values: options.glasses
|
|
350
|
-
});
|
|
351
|
-
const hatComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
352
|
-
prng: prng,
|
|
353
|
-
group: 'hat',
|
|
354
|
-
values: options.hat
|
|
355
|
-
});
|
|
356
|
-
const clothingComponent = $73a12bdb08a3af5d$export$5bc6178a9a86ed74({
|
|
357
|
-
prng: prng,
|
|
358
|
-
group: 'clothing',
|
|
359
|
-
values: options.clothing
|
|
360
|
-
});
|
|
361
|
-
return {
|
|
362
|
-
beard: prng.bool(options.beardProbability) ? beardComponent : undefined,
|
|
363
|
-
eyes: eyesComponent,
|
|
364
|
-
eyebrows: eyebrowsComponent,
|
|
365
|
-
mouth: mouthComponent,
|
|
366
|
-
hair: prng.bool(options.hairProbability) ? hairComponent : undefined,
|
|
367
|
-
accessories: prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined,
|
|
368
|
-
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined,
|
|
369
|
-
hat: prng.bool(options.hatProbability) ? hatComponent : undefined,
|
|
370
|
-
clothing: clothingComponent
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
var $9492c796f7790371$exports = {};
|
|
376
|
-
|
|
377
|
-
$parcel$export($9492c796f7790371$exports, "skin", function () { return $5f5331f51260f39e$export$fcdfe9c56b00fbfc; });
|
|
378
|
-
$parcel$export($9492c796f7790371$exports, "hair", function () { return $317afb0f1c487eb3$export$12c365d50e7cb3d6; });
|
|
379
|
-
$parcel$export($9492c796f7790371$exports, "accessories", function () { return $ebe46bb65ba781df$export$3bb43880931639de; });
|
|
380
|
-
$parcel$export($9492c796f7790371$exports, "mouth", function () { return $29f2436c61fa322e$export$4ec1914b3efc3f9a; });
|
|
381
|
-
$parcel$export($9492c796f7790371$exports, "clothes", function () { return $a0efbb21db349c4c$export$7f97afff939ca5e8; });
|
|
382
|
-
$parcel$export($9492c796f7790371$exports, "hat", function () { return $270319304cf1420f$export$dbf38fa2a54a979a; });
|
|
383
|
-
$parcel$export($9492c796f7790371$exports, "glasses", function () { return $2dd8d6f4b4c65b10$export$98222f1ebbc36891; });
|
|
384
|
-
const $5f5331f51260f39e$export$fcdfe9c56b00fbfc = {
|
|
385
|
-
variant01: 'rgba(255, 219, 172, 1)',
|
|
386
|
-
variant02: 'rgba(245, 207, 160, 1)',
|
|
387
|
-
variant03: 'rgba(234, 195, 147, 1)',
|
|
388
|
-
variant04: 'rgba(224, 182, 135, 1)',
|
|
389
|
-
variant05: 'rgba(203, 158, 110, 1)',
|
|
390
|
-
variant06: 'rgba(182, 134, 85, 1)',
|
|
391
|
-
variant07: 'rgba(162, 109, 61, 1)',
|
|
392
|
-
variant08: 'rgba(141, 85, 36, 1)'
|
|
393
|
-
};
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
const $317afb0f1c487eb3$export$12c365d50e7cb3d6 = {
|
|
397
|
-
variant01: 'rgba(202, 177, 136, 1)',
|
|
398
|
-
variant02: 'rgba(167, 137, 97, 1)',
|
|
399
|
-
variant03: 'rgba(131, 98, 59, 1)',
|
|
400
|
-
variant04: 'rgba(96, 58, 20, 1)',
|
|
401
|
-
variant05: 'rgba(96, 48, 21, 1)',
|
|
402
|
-
variant06: 'rgba(97, 38, 22, 1)',
|
|
403
|
-
variant07: 'rgba(97, 28, 23, 1)',
|
|
404
|
-
variant08: 'rgba(78, 26, 19, 1)',
|
|
405
|
-
variant09: 'rgba(59, 23, 14, 1)',
|
|
406
|
-
variant10: 'rgba(40, 21, 10, 1)'
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
const $ebe46bb65ba781df$export$3bb43880931639de = {
|
|
411
|
-
gold01: 'rgba(218, 165, 32, 1)',
|
|
412
|
-
gold02: 'rgba(255, 215, 0, 1)',
|
|
413
|
-
gold03: 'rgba(250, 250, 210, 1)',
|
|
414
|
-
silver01: 'rgba(211, 211, 211, 1)',
|
|
415
|
-
silver02: 'rgba(169, 169, 169, 1)'
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
const $29f2436c61fa322e$export$4ec1914b3efc3f9a = {
|
|
420
|
-
variant01: 'rgba(210, 153, 133, 1)',
|
|
421
|
-
variant02: 'rgba(201, 130, 118, 1)',
|
|
422
|
-
variant03: 'rgba(227, 93, 106, 1)',
|
|
423
|
-
variant04: 'rgba(222, 15, 13, 1)'
|
|
424
|
-
};
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
const $a0efbb21db349c4c$export$7f97afff939ca5e8 = {
|
|
428
|
-
yellow01: 'rgba(255, 238, 173, 1)',
|
|
429
|
-
yellow02: 'rgba(255, 217, 105, 1)',
|
|
430
|
-
yellow03: 'rgba(255, 196, 37, 1)',
|
|
431
|
-
red01: 'rgba(255, 111, 105, 1)',
|
|
432
|
-
red02: 'rgba(209, 17, 65, 1)',
|
|
433
|
-
red03: 'rgba(174, 0, 1, 1)',
|
|
434
|
-
blue01: 'rgba(91, 192, 222, 1)',
|
|
435
|
-
blue02: 'rgba(66, 139, 202, 1)',
|
|
436
|
-
blue03: 'rgba(3, 57, 108, 1)',
|
|
437
|
-
green01: 'rgba(136, 216, 176, 1)',
|
|
438
|
-
green02: 'rgba(68, 197, 133, 1)',
|
|
439
|
-
green03: 'rgba(0, 177, 89, 1)'
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
const $270319304cf1420f$export$dbf38fa2a54a979a = {
|
|
444
|
-
pink01: 'rgba(204, 97, 146, 1)',
|
|
445
|
-
blue01: 'rgba(38, 99, 163, 1)',
|
|
446
|
-
green01: 'rgba(61, 138, 107, 1)',
|
|
447
|
-
purple01: 'rgba(97, 79, 138, 1)',
|
|
448
|
-
red01: 'rgba(166, 33, 22, 1)',
|
|
449
|
-
black01: 'rgba(46, 30, 5, 1)',
|
|
450
|
-
gray01: 'rgba(152, 151, 137, 1)'
|
|
451
|
-
};
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
const $2dd8d6f4b4c65b10$export$98222f1ebbc36891 = {
|
|
455
|
-
green01: 'rgba(95, 112, 92, 1)',
|
|
456
|
-
blue01: 'rgba(67, 103, 125, 1)',
|
|
457
|
-
red01: 'rgba(160, 75, 93, 1)',
|
|
458
|
-
black01: 'rgba(75, 75, 75, 1)',
|
|
459
|
-
black02: 'rgba(50, 50, 50, 1)',
|
|
460
|
-
black03: 'rgba(25, 25, 25, 1)'
|
|
461
|
-
};
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
function $3df404698282d410$export$c6d89e41e42fa994({ prng: prng , group: group , values: values = [] }) {
|
|
467
|
-
const colorCollection = $9492c796f7790371$exports;
|
|
468
|
-
if (values.length === 0) values.push('transparent');
|
|
469
|
-
const key = prng.pick(values);
|
|
470
|
-
var _key;
|
|
471
|
-
return {
|
|
472
|
-
name: key,
|
|
473
|
-
value: (_key = colorCollection[group][key]) !== null && _key !== void 0 ? _key : key
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
function $17fabc5b15636ca9$export$6cee60e8aa85e528({ prng: prng , options: options }) {
|
|
479
|
-
return {
|
|
480
|
-
skin: $3df404698282d410$export$c6d89e41e42fa994({
|
|
481
|
-
prng: prng,
|
|
482
|
-
group: 'skin',
|
|
483
|
-
values: options.skinColor
|
|
484
|
-
}),
|
|
485
|
-
hair: $3df404698282d410$export$c6d89e41e42fa994({
|
|
486
|
-
prng: prng,
|
|
487
|
-
group: 'hair',
|
|
488
|
-
values: options.hairColor
|
|
489
|
-
}),
|
|
490
|
-
accessories: $3df404698282d410$export$c6d89e41e42fa994({
|
|
491
|
-
prng: prng,
|
|
492
|
-
group: 'accessories',
|
|
493
|
-
values: options.accessoriesColor
|
|
494
|
-
}),
|
|
495
|
-
mouth: $3df404698282d410$export$c6d89e41e42fa994({
|
|
496
|
-
prng: prng,
|
|
497
|
-
group: 'mouth',
|
|
498
|
-
values: options.mouthColor
|
|
499
|
-
}),
|
|
500
|
-
clothes: $3df404698282d410$export$c6d89e41e42fa994({
|
|
501
|
-
prng: prng,
|
|
502
|
-
group: 'clothes',
|
|
503
|
-
values: options.clothesColor
|
|
504
|
-
}),
|
|
505
|
-
hat: $3df404698282d410$export$c6d89e41e42fa994({
|
|
506
|
-
prng: prng,
|
|
507
|
-
group: 'hat',
|
|
508
|
-
values: options.hatColor
|
|
509
|
-
}),
|
|
510
|
-
glasses: $3df404698282d410$export$c6d89e41e42fa994({
|
|
511
|
-
prng: prng,
|
|
512
|
-
group: 'glasses',
|
|
513
|
-
values: options.glassesColor
|
|
514
|
-
})
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
function $941a9b49e7d22ac3$export$19269755e7fb6f76({ prng: prng , options: options , preview: preview }) {
|
|
520
|
-
// Write your modifications here
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
function $f60513f4ac692cea$export$2538c3cd8a13189f({ prng: prng , options: options , components: components , colors: colors , preview: preview }) {
|
|
525
|
-
// Write your modifications here
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
const $de958a58f6be5a4f$export$62ad7b0c781000e9 = {
|
|
530
|
-
beard: {
|
|
531
|
-
width: 20,
|
|
532
|
-
height: 20
|
|
533
|
-
},
|
|
534
|
-
eyes: {
|
|
535
|
-
width: 20,
|
|
536
|
-
height: 20
|
|
537
|
-
},
|
|
538
|
-
eyebrows: {
|
|
539
|
-
width: 20,
|
|
540
|
-
height: 20
|
|
541
|
-
},
|
|
542
|
-
mouth: {
|
|
543
|
-
width: 20,
|
|
544
|
-
height: 20
|
|
545
|
-
},
|
|
546
|
-
hair: {
|
|
547
|
-
width: 20,
|
|
548
|
-
height: 20
|
|
549
|
-
},
|
|
550
|
-
accessories: {
|
|
551
|
-
width: 20,
|
|
552
|
-
height: 20
|
|
553
|
-
},
|
|
554
|
-
glasses: {
|
|
555
|
-
width: 20,
|
|
556
|
-
height: 20
|
|
557
|
-
},
|
|
558
|
-
hat: {
|
|
559
|
-
width: 20,
|
|
560
|
-
height: 20
|
|
561
|
-
},
|
|
562
|
-
clothing: {
|
|
563
|
-
width: 20,
|
|
564
|
-
height: 20
|
|
565
|
-
}
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
const $27d7586a9a13fd48$export$1d567c320f4763bc = {
|
|
570
|
-
meta: {
|
|
571
|
-
title: 'Pixel Art',
|
|
572
|
-
creator: 'Plastic Jam',
|
|
573
|
-
license: {
|
|
574
|
-
name: 'MIT',
|
|
575
|
-
url: 'https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE'
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
schema: (/*@__PURE__*/$parcel$interopDefault($057130024402ff2f$exports)),
|
|
579
|
-
create: ({ prng: prng , options: options })=>{
|
|
580
|
-
var ref, ref1, ref2, ref3, ref4, ref5, ref6, ref7, ref8;
|
|
581
|
-
$941a9b49e7d22ac3$export$19269755e7fb6f76({
|
|
582
|
-
prng: prng,
|
|
583
|
-
options: options,
|
|
584
|
-
preview: false
|
|
585
|
-
});
|
|
586
|
-
const components = $b40f5db0449f0b48$export$4e811121b221213b({
|
|
587
|
-
prng: prng,
|
|
588
|
-
options: options
|
|
589
|
-
});
|
|
590
|
-
const colors = $17fabc5b15636ca9$export$6cee60e8aa85e528({
|
|
591
|
-
prng: prng,
|
|
592
|
-
options: options
|
|
593
|
-
});
|
|
594
|
-
$f60513f4ac692cea$export$2538c3cd8a13189f({
|
|
595
|
-
prng: prng,
|
|
596
|
-
options: options,
|
|
597
|
-
components: components,
|
|
598
|
-
colors: colors,
|
|
599
|
-
preview: false
|
|
600
|
-
});
|
|
601
|
-
var ref9, ref10, ref11, ref12, ref13, ref14, ref15, ref16, ref17;
|
|
602
|
-
return {
|
|
603
|
-
attributes: {
|
|
604
|
-
viewBox: '0 0 20 20',
|
|
605
|
-
fill: 'none',
|
|
606
|
-
'shape-rendering': 'auto'
|
|
607
|
-
},
|
|
608
|
-
body: `<path d="M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z" fill="${colors.skin.value}"/><path d="M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z" fill="#fff" fill-opacity=".1"/>${(ref9 = (ref = components.beard) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref9 !== void 0 ? ref9 : ''}${(ref10 = (ref1 = components.eyes) === null || ref1 === void 0 ? void 0 : ref1.value(components, colors)) !== null && ref10 !== void 0 ? ref10 : ''}${(ref11 = (ref2 = components.eyebrows) === null || ref2 === void 0 ? void 0 : ref2.value(components, colors)) !== null && ref11 !== void 0 ? ref11 : ''}${(ref12 = (ref3 = components.mouth) === null || ref3 === void 0 ? void 0 : ref3.value(components, colors)) !== null && ref12 !== void 0 ? ref12 : ''}${(ref13 = (ref4 = components.hair) === null || ref4 === void 0 ? void 0 : ref4.value(components, colors)) !== null && ref13 !== void 0 ? ref13 : ''}${(ref14 = (ref5 = components.accessories) === null || ref5 === void 0 ? void 0 : ref5.value(components, colors)) !== null && ref14 !== void 0 ? ref14 : ''}${(ref15 = (ref6 = components.glasses) === null || ref6 === void 0 ? void 0 : ref6.value(components, colors)) !== null && ref15 !== void 0 ? ref15 : ''}${(ref16 = (ref7 = components.hat) === null || ref7 === void 0 ? void 0 : ref7.value(components, colors)) !== null && ref16 !== void 0 ? ref16 : ''}${(ref17 = (ref8 = components.clothing) === null || ref8 === void 0 ? void 0 : ref8.value(components, colors)) !== null && ref17 !== void 0 ? ref17 : ''}`
|
|
609
|
-
};
|
|
610
|
-
},
|
|
611
|
-
preview: ({ prng: prng , options: options , property: property })=>{
|
|
612
|
-
const componentGroup = property.toString();
|
|
613
|
-
const colorGroup = property.toString().replace(/Color$/, '');
|
|
614
|
-
$941a9b49e7d22ac3$export$19269755e7fb6f76({
|
|
615
|
-
prng: prng,
|
|
616
|
-
options: options,
|
|
617
|
-
preview: true
|
|
618
|
-
});
|
|
619
|
-
const components = $b40f5db0449f0b48$export$4e811121b221213b({
|
|
620
|
-
prng: prng,
|
|
621
|
-
options: options
|
|
622
|
-
});
|
|
623
|
-
const colors = $17fabc5b15636ca9$export$6cee60e8aa85e528({
|
|
624
|
-
prng: prng,
|
|
625
|
-
options: options
|
|
626
|
-
});
|
|
627
|
-
$f60513f4ac692cea$export$2538c3cd8a13189f({
|
|
628
|
-
prng: prng,
|
|
629
|
-
options: options,
|
|
630
|
-
components: components,
|
|
631
|
-
colors: colors,
|
|
632
|
-
preview: true
|
|
633
|
-
});
|
|
634
|
-
if (componentGroup in components) {
|
|
635
|
-
var ref;
|
|
636
|
-
const { width: width , height: height } = $de958a58f6be5a4f$export$62ad7b0c781000e9[componentGroup];
|
|
637
|
-
var ref18;
|
|
638
|
-
return {
|
|
639
|
-
attributes: {
|
|
640
|
-
viewBox: `0 0 ${width} ${height}`,
|
|
641
|
-
fill: 'none',
|
|
642
|
-
'shape-rendering': 'auto'
|
|
643
|
-
},
|
|
644
|
-
body: (ref18 = (ref = components[componentGroup]) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref18 !== void 0 ? ref18 : ''
|
|
645
|
-
};
|
|
646
|
-
}
|
|
647
|
-
if (colorGroup in colors) return {
|
|
648
|
-
attributes: {
|
|
649
|
-
viewBox: `0 0 1 1`,
|
|
650
|
-
fill: 'none',
|
|
651
|
-
'shape-rendering': 'auto'
|
|
652
|
-
},
|
|
653
|
-
body: `<rect width="1" height="1" fill="${colors[colorGroup].value}" />`
|
|
654
|
-
};
|
|
655
|
-
return undefined;
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
const { create: $7ce22e2aa4d8700d$export$185802fd694ee1f5 , preview: $7ce22e2aa4d8700d$export$48c2d0f2f545ac27 , meta: $7ce22e2aa4d8700d$export$6990040ee07315 , schema: $7ce22e2aa4d8700d$export$4902baddc787debb } = $27d7586a9a13fd48$export$1d567c320f4763bc;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
//# sourceMappingURL=index.js.map
|