@dicebear/personas 5.0.0-alpha.9 → 5.0.0-beta.0
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 -1
- package/README.md +3 -3
- package/lib/components/body.d.ts +8 -0
- package/lib/components/body.js +13 -0
- package/lib/components/eyes.d.ts +8 -0
- package/lib/components/eyes.js +14 -0
- package/lib/components/facialHair.d.ts +8 -0
- package/lib/components/facialHair.js +15 -0
- package/lib/components/hair.d.ts +8 -0
- package/lib/components/hair.js +29 -0
- package/lib/components/index.d.ts +12 -0
- package/lib/components/index.js +12 -0
- package/lib/components/mouth.d.ts +8 -0
- package/lib/components/mouth.js +15 -0
- package/lib/components/nose.d.ts +8 -0
- package/lib/components/nose.js +11 -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 +218 -0
- package/lib/types.d.ts +27 -0
- package/lib/types.js +7 -0
- package/lib/utils/getColors.d.ts +14 -0
- package/lib/utils/getColors.js +15 -0
- package/lib/utils/getComponents.d.ts +14 -0
- package/lib/utils/getComponents.js +48 -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 -20
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js +0 -392
- package/dist/index.es.js.map +0 -1
- package/dist/index.js +0 -396
- package/dist/index.js.map +0 -1
package/dist/index.es.js
DELETED
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
function $parcel$interopDefault(a) {
|
|
2
|
-
return a && a.__esModule ? a.default : a;
|
|
3
|
-
}
|
|
4
|
-
function $parcel$export(e, n, v, s) {
|
|
5
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
6
|
-
}
|
|
7
|
-
var $b8d4b76280688983$exports = {};
|
|
8
|
-
$b8d4b76280688983$exports = JSON.parse("{\"title\":\"Options\",\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"properties\":{\"body\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"squared\",\"rounded\",\"small\",\"checkered\"]},\"default\":[\"squared\",\"rounded\",\"small\",\"checkered\"]},\"clothingColor\":{\"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\":[\"blue\",\"turquoise\",\"purple\",\"green\",\"red\",\"yellow\",\"pink\"]}]},\"default\":[\"blue\",\"turquoise\",\"purple\",\"green\",\"red\",\"yellow\",\"pink\"]},\"eyes\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"open\",\"sleep\",\"wink\",\"glasses\",\"happy\",\"sunglasses\"]},\"default\":[\"open\",\"sleep\",\"wink\",\"glasses\",\"happy\",\"sunglasses\"]},\"facialHair\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"beardMustache\",\"pyramid\",\"walrus\",\"goatee\",\"shadow\",\"soulPatch\"]},\"default\":[\"beardMustache\",\"pyramid\",\"walrus\",\"goatee\",\"shadow\",\"soulPatch\"]},\"facialHairProbability\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":100,\"default\":10},\"hair\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"long\",\"sideShave\",\"shortCombover\",\"curlyHighTop\",\"bobCut\",\"curly\",\"pigtails\",\"curlyBun\",\"buzzcut\",\"bobBangs\",\"bald\",\"balding\",\"cap\",\"bunUndercut\",\"fade\",\"beanie\",\"straightBun\",\"extraLong\",\"shortComboverChops\",\"mohawk\"]},\"default\":[\"long\",\"sideShave\",\"shortCombover\",\"curlyHighTop\",\"bobCut\",\"curly\",\"pigtails\",\"curlyBun\",\"buzzcut\",\"bobBangs\",\"bald\",\"balding\",\"cap\",\"bunUndercut\",\"fade\",\"beanie\",\"straightBun\",\"extraLong\",\"shortComboverChops\",\"mohawk\"]},\"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\":[\"black\",\"brunette\",\"red\",\"pink\",\"copper\",\"blonde\",\"grey\"]}]},\"default\":[\"black\",\"brunette\",\"red\",\"pink\",\"copper\",\"blonde\",\"grey\"]},\"mouth\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"smile\",\"frown\",\"surprise\",\"pacifier\",\"bigSmile\",\"smirk\",\"lips\"]},\"default\":[\"smile\",\"frown\",\"surprise\",\"pacifier\",\"bigSmile\",\"smirk\",\"lips\"]},\"nose\":{\"type\":\"array\",\"uniqueItems\":true,\"items\":{\"type\":\"string\",\"enum\":[\"mediumRound\",\"smallRound\",\"wrinkles\"]},\"default\":[\"mediumRound\",\"smallRound\",\"wrinkles\"]},\"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\":[\"tone1\",\"tone2\",\"tone3\",\"tone4\",\"tone5\",\"tone6\",\"tone7\",\"tone8\"]}]},\"default\":[\"tone1\",\"tone2\",\"tone3\",\"tone4\",\"tone5\",\"tone6\",\"tone7\",\"tone8\"]}},\"additionalProperties\":false}");
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var $a6ad2354cf63c592$exports = {};
|
|
12
|
-
|
|
13
|
-
$parcel$export($a6ad2354cf63c592$exports, "eyes", function () { return $46b98ac608194f56$export$60b896fd2e3e4b2; });
|
|
14
|
-
$parcel$export($a6ad2354cf63c592$exports, "hair", function () { return $a81057ccf8925fb9$export$12c365d50e7cb3d6; });
|
|
15
|
-
$parcel$export($a6ad2354cf63c592$exports, "body", function () { return $6153644213596477$export$32180ef41b15b513; });
|
|
16
|
-
$parcel$export($a6ad2354cf63c592$exports, "mouth", function () { return $f5eadfb5e0fab3a7$export$4ec1914b3efc3f9a; });
|
|
17
|
-
$parcel$export($a6ad2354cf63c592$exports, "nose", function () { return $2b55ac9275610b34$export$eef569ed4a4faa98; });
|
|
18
|
-
$parcel$export($a6ad2354cf63c592$exports, "facialHair", function () { return $b52923f91d77c0ed$export$de35ee297670847a; });
|
|
19
|
-
const $46b98ac608194f56$export$60b896fd2e3e4b2 = {
|
|
20
|
-
open: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M4 4.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm13 0a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z" fill="#1B0640"/>`
|
|
21
|
-
,
|
|
22
|
-
sleep: (components, colors)=>`<path d="M3.63 4A1 1 0 0 0 4 5.37 4.5 4.5 0 0 0 6.25 6a4.5 4.5 0 0 0 2.25-.63 1 1 0 0 0-1-1.74c-.43.25-.85.37-1.25.37S5.43 3.88 5 3.63A1 1 0 0 0 3.63 4ZM15.63 4A1 1 0 0 0 16 5.37a4.5 4.5 0 0 0 2.25.63 4.5 4.5 0 0 0 2.25-.63 1 1 0 0 0-1-1.74 2.5 2.5 0 0 1-1.25.37c-.4 0-.82-.12-1.25-.37a1 1 0 0 0-1.37.37Z" fill="#1B0640"/>`
|
|
23
|
-
,
|
|
24
|
-
wink: (components, colors)=>`<path d="M4 4.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0ZM21.24 3.9a.75.75 0 0 0-.83-.64l-4 .5a.75.75 0 0 0 .18 1.48l4-.5c.41-.05.7-.42.65-.83Z" fill="#1B0640"/>`
|
|
25
|
-
,
|
|
26
|
-
glasses: (components, colors)=>`<path d="M6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM18 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" fill="#1B0640"/><path d="M9 2H3v6h6V2ZM21 2h-6v6h6V2Z" opacity=".3" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 1.05h2c.65 0 1.21-.2 1.84-.42C15.66.33 16.6 0 18 0c1.67 0 3.33.35 5 1.05l1 .53v1.58l-1 .52v3.16A3.08 3.08 0 0 1 20 10h-4c-1.66 0-3-1.41-3-3.16V3.16h-2v3.68A3.08 3.08 0 0 1 8 10H4c-1.66 0-3-1.41-3-3.16V3.68l-1-.52V1.58l1-.53A12.8 12.8 0 0 1 6 0c1.4 0 2.34.33 3.16.63.63.22 1.19.42 1.84.42ZM8.24 2.52A6.1 6.1 0 0 0 6 2.11c-1 0-2 .14-3 .44v4.3c0 .57.45 1.04 1 1.04h4c.55 0 1-.47 1-1.05V2.8l-.76-.27ZM15 2.8l.76-.27A6.1 6.1 0 0 1 18 2.11c1 0 2 .14 3 .44v4.3c0 .57-.45 1.04-1 1.04h-4c-.55 0-1-.47-1-1.05V2.8Z" fill="#1B0640"/>`
|
|
27
|
-
,
|
|
28
|
-
happy: (components, colors)=>`<path d="M3.76 6.21c.4.13.82-.08.95-.47.23-.7.62-1 1.3-1 .66 0 1.05.3 1.28 1a.75.75 0 1 0 1.42-.48c-.43-1.3-1.38-2.01-2.7-2.01-1.34 0-2.29.71-2.72 2.01-.13.4.08.82.47.95ZM15.76 6.21c.4.13.82-.08.95-.47.23-.7.62-1 1.29-1s1.06.3 1.29 1a.75.75 0 1 0 1.42-.48c-.43-1.3-1.38-2.01-2.71-2.01s-2.28.71-2.71 2.01c-.13.4.08.82.47.95Z" fill="#1B0640"/>`
|
|
29
|
-
,
|
|
30
|
-
sunglasses: (components, colors)=>`<g fill="#1B0640"><path d="M6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM18 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M9 2H3v6h6V2ZM21 2h-6v6h6V2Z" opacity=".8"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13 1.05c.65 0 1.21-.2 1.84-.42C15.66.33 16.6 0 18 0c1.67 0 3.33.35 5 1.05l1 .53v1.58l-1 .52v3.16A3.08 3.08 0 0 1 20 10h-4c-1.66 0-3-1.41-3-3.16V3.16h-2v3.68A3.08 3.08 0 0 1 8 10H4c-1.66 0-3-1.41-3-3.16V3.68l-1-.52V1.58l1-.53A12.8 12.8 0 0 1 6 0c1.4 0 2.34.33 3.16.63.63.22 1.19.42 1.84.42h2ZM8.24 2.52A6.1 6.1 0 0 0 6 2.11c-1 0-2 .14-3 .44v4.3c0 .57.45 1.04 1 1.04h4c.55 0 1-.47 1-1.05V2.8l-.76-.27ZM15 2.8l.76-.27A6.1 6.1 0 0 1 18 2.11c1 0 2 .14 3 .44v4.3c0 .57-.45 1.04-1 1.04h-4c-.55 0-1-.47-1-1.05V2.8Z"/></g>`
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const $a81057ccf8925fb9$export$12c365d50e7cb3d6 = {
|
|
35
|
-
long: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v6.6c0 7.32-4.61 13.52-11 15.68V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76Zm-32 6.6c0 7.37 4.68 13.6 11.13 15.73a1073 1073 0 0 0-.13-7.02v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.6Z" fill="${colors.hair.value}"/><mask id="hairLong-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="14" y="9" width="32" height="48"><path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v6.6c0 7.32-4.61 13.52-11 15.68V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76Zm-32 6.6c0 7.37 4.68 13.6 11.13 15.73a1073 1073 0 0 0-.13-7.02v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.6Z" fill="#362C47"/></mask><g mask="url(#hairLong-a)"><path fill="#fff" d="M14 9h32v18H14z" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
36
|
-
,
|
|
37
|
-
sideShave: (components, colors)=>`<path d="M35 11.92A14 14 0 0 1 44 25v1s-1.33-3.1-3.16-4.93c-1.84-1.82-3.34-.7-4.53-2.52-1.2-1.83-1.31-6.63-1.31-6.63Z" fill="${colors.hair.value}" opacity=".3"/><path d="M30.65 23.09c-1.6 1.26-4.4 1.88-7.24 2.5-4.62 1.02-9.4 2.07-9.4 5.98V25.5C14 16.39 21.16 9 30 9c4.84 0 5.68 2.65 5.46 6.23-.2 3-.62 4.55-4.8 7.86ZM25 47a9.4 9.4 0 0 1-9.44 9.53L7.5 56.5s4-8.23 5-11.11l.06-.2c-.84.51-1.84.81-2.92.81H8.5s4.1-3.74 5.35-9.69c.1-1.23.15-2.07.15-2.07a4.48 4.48 0 0 0 2.58.76A14.04 14.04 0 0 0 25 44.08V47Z" fill="${colors.hair.value}"/>`
|
|
38
|
-
,
|
|
39
|
-
shortCombover: (components, colors)=>`<path d="M40.26 12.63a7.93 7.93 0 0 1 4.6 8.35L44 27c-2.83-1.7-4.7-5.55-5.6-11.56a9.24 9.24 0 0 1-5.7 2.77c-1.82.2-3.39.29-4.7.29-3 0-5.67-.5-8-1.5 0 3.67-1.33 7.17-4 10.5l-.92-8.53A9 9 0 0 1 24.03 9H41c0 1.28-.26 2.51-.74 3.63Z" fill="${colors.hair.value}"/><path d="M40.26 12.63c.48-1.12.74-2.35.74-3.63H24.03a9 9 0 0 0-8.95 9.97L16 27.5c2.67-3.33 4-6.83 4-10.5 2.33 1 5 1.5 8 1.5 1.31 0 2.88-.1 4.7-.29a9.24 9.24 0 0 0 7.56-5.58ZM44.88 20.84a7.91 7.91 0 0 0-2.42-6.73 9.29 9.29 0 0 1-3.45 4.5c1.04 4.22 2.7 7.01 5 8.39l.85-6.02.02-.14Z" style="mix-blend-mode:overlay" opacity=".26" fill="#fff"/>`
|
|
40
|
-
,
|
|
41
|
-
curlyHighTop: (components, colors)=>`<path d="M31.8 7a2 2 0 0 1 3.8 0h.57a2 2 0 0 1 3.83.67l.22.1a2 2 0 0 1 3.13 2.3l.15.17a2 2 0 0 1 1.77 3.41c.05.16.09.31.12.47a2 2 0 0 1 .02 3.75l-.05.32a2 2 0 0 1-.02 3.63 2 2 0 0 1 .16.85 1.8 1.8 0 0 1-1.22 2.92L44 27.5c-.44-.66-.84-1.48-1.2-2.46a1.8 1.8 0 0 1-.45-.8 2 2 0 0 1-.56-2.68l-.02-.1a2 2 0 0 1-.96-2.94 2 2 0 0 1-2.44-.32 2 2 0 0 1-3.72.06l-.31.03a2 2 0 0 1-3.58.2h-.23a2 2 0 0 1-3.52-.1l-.4-.03a2 2 0 0 1-3.68-.17 2 2 0 0 1-3.04-.22l-.03.16a2 2 0 0 1-.7 3.35 2 2 0 0 1-1.4 3.1c-.5.97-1.09 1.94-1.76 2.9l-.19-1.92a1.8 1.8 0 0 1-.34-3.47V22a2 2 0 0 1-.39-3.9l-.01-.14a2 2 0 0 1 .07-3.92c0-.06.02-.12.04-.17a2 2 0 0 1 1.46-3.63A2 2 0 0 1 19.7 7.9v-.1a2 2 0 0 1 3.84-.8h.05a2 2 0 0 1 3.82 0h.18a2 2 0 0 1 3.82 0h.38Z" fill="${colors.hair.value}"/><mask id="hairCurlyHighTop-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="13" y="5" width="34" height="23"><path d="M31.8 7a2 2 0 0 1 3.8 0h.57a2 2 0 0 1 3.83.67l.22.1a2 2 0 0 1 3.13 2.3l.15.17a2 2 0 0 1 1.77 3.41c.05.16.09.31.12.47a2 2 0 0 1 .02 3.75l-.05.32a2 2 0 0 1-.02 3.63 2 2 0 0 1 .16.85 1.8 1.8 0 0 1-1.22 2.92L44 27.5c-.44-.66-.84-1.48-1.2-2.46a1.8 1.8 0 0 1-.45-.8 2 2 0 0 1-.56-2.68l-.02-.1a2 2 0 0 1-.96-2.94 2 2 0 0 1-2.44-.32 2 2 0 0 1-3.72.06l-.31.03a2 2 0 0 1-3.58.2h-.23a2 2 0 0 1-3.52-.1l-.4-.03a2 2 0 0 1-3.68-.17 2 2 0 0 1-3.04-.22l-.03.16a2 2 0 0 1-.7 3.35 2 2 0 0 1-1.4 3.1c-.5.97-1.09 1.94-1.76 2.9l-.19-1.92a1.8 1.8 0 0 1-.34-3.47V22a2 2 0 0 1-.39-3.9l-.01-.14a2 2 0 0 1 .07-3.92c0-.06.02-.12.04-.17a2 2 0 0 1 1.46-3.63A2 2 0 0 1 19.7 7.9v-.1a2 2 0 0 1 3.84-.8h.05a2 2 0 0 1 3.82 0h.18a2 2 0 0 1 3.82 0h.38Z" fill="#fff"/></mask><g mask="url(#hairCurlyHighTop-a)"><path fill="#fff" d="M13 5h34v23H13z" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
42
|
-
,
|
|
43
|
-
bobCut: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26a17.63 17.63 0 0 1-3.35-5.6A32.92 32.92 0 0 1 30 22.04c-4.85 0-9.14-.83-12.9-2.5A13.95 13.95 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38C14 16.33 21.16 9 30 9s16 7.33 16 16.38v1.38a4.47 4.47 0 0 0-2-.73V26Zm-9 20.06v-1.98A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76v6.38c0 .47-.02.95-.06 1.41A34.63 34.63 0 0 1 35 46.06Zm-20.94-4.03A34.63 34.63 0 0 0 25 46.06v-1.98A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.38c0 .47.02.95.06 1.41Z" fill="${colors.hair.value}"/><mask id="hairBobCut-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="14" y="9" width="32" height="38"><path fill-rule="evenodd" clip-rule="evenodd" d="M44 26a17.63 17.63 0 0 1-3.35-5.6A32.92 32.92 0 0 1 30 22.04c-4.85 0-9.14-.83-12.9-2.5A13.95 13.95 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38C14 16.33 21.16 9 30 9s16 7.33 16 16.38v1.38a4.47 4.47 0 0 0-2-.73V26Zm-9 20.06v-1.98A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76v6.38c0 .47-.02.95-.06 1.41A34.63 34.63 0 0 1 35 46.06Zm-20.94-4.03A34.63 34.63 0 0 0 25 46.06v-1.98A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.38c0 .47.02.95.06 1.41Z" fill="#362C47"/></mask><g mask="url(#hairBobCut-a)"><path fill="#fff" d="M13 9h34v18H13z" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
44
|
-
,
|
|
45
|
-
curly: (components, colors)=>`<path d="m44 26-.02-.02-.3.02a2 2 0 0 1-1.8-2.88 2 2 0 0 1-2.73-2.1 2 2 0 0 1-3.3.56h-.02a1.99 1.99 0 0 1-2 2.05 2 2 0 0 1-1.75-1.04 2 2 0 0 1-3.92.33 2 2 0 0 1-3.87-.6c-.04 0-.09 0-.13-.02a2 2 0 0 1-3.67-.98c-.3-.1-.57-.2-.85-.32.02.09.02.17.02.26a2 2 0 0 1-2.74 1.86A2 2 0 0 1 16 25.8v.23a4.5 4.5 0 0 0 .58 8.97A14.04 14.04 0 0 0 25 44.08v3.06c-.25-.2-.47-.42-.65-.68-.49-.13-.96-.29-1.43-.46a3.46 3.46 0 0 1-4.54-2.3 20.9 20.9 0 0 1-.98-.7 3.46 3.46 0 0 1-3.83-3.8c-.17-.21-.34-.43-.5-.66a3.46 3.46 0 0 1-2.66-5.07l-.14-.39a3.47 3.47 0 0 1-1.08-5.96v-.01a3.47 3.47 0 0 1 .47-6.2 3.47 3.47 0 0 1 2.28-5.79 3.47 3.47 0 0 1 3.87-4.86 3.47 3.47 0 0 1 5.15-3.5 3.47 3.47 0 0 1 5.94-1.83 3.47 3.47 0 0 1 6.22 0 3.47 3.47 0 0 1 5.94 1.83 3.47 3.47 0 0 1 5.14 3.5 3.47 3.47 0 0 1 3.87 4.86 3.47 3.47 0 0 1 2.28 5.8 3.47 3.47 0 0 1 .47 6.19 3.47 3.47 0 0 1-1.08 5.97l-.14.4a3.47 3.47 0 0 1-2.66 5.06c-.16.23-.33.45-.5.66A3.46 3.46 0 0 1 42.6 43l-.98.7a3.46 3.46 0 0 1-4.54 2.3c-.47.17-.94.33-1.43.46-.18.26-.4.49-.65.68v-3.06A14.04 14.04 0 0 0 43.42 35h.08a4.5 4.5 0 0 0 .5-8.97V26Z" fill="${colors.hair.value}"/><mask id="hairCurly-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="7" y="3" width="46" height="45"><path d="m44 26-.02-.02-.3.02a2 2 0 0 1-1.8-2.88 2 2 0 0 1-2.73-2.1 2 2 0 0 1-3.3.56h-.02a1.99 1.99 0 0 1-2 2.05 2 2 0 0 1-1.75-1.04 2 2 0 0 1-3.92.33 2 2 0 0 1-3.87-.6c-.04 0-.09 0-.13-.02a2 2 0 0 1-3.67-.98c-.3-.1-.57-.2-.85-.32.02.09.02.17.02.26a2 2 0 0 1-2.74 1.86A2 2 0 0 1 16 25.8v.23a4.5 4.5 0 0 0 .58 8.97A14.04 14.04 0 0 0 25 44.08v3.06c-.25-.2-.47-.42-.65-.68-.49-.13-.96-.29-1.43-.46a3.46 3.46 0 0 1-4.54-2.3 20.9 20.9 0 0 1-.98-.7 3.46 3.46 0 0 1-3.83-3.8c-.17-.21-.34-.43-.5-.66a3.46 3.46 0 0 1-2.66-5.07l-.14-.39a3.47 3.47 0 0 1-1.08-5.96v-.01a3.47 3.47 0 0 1 .47-6.2 3.47 3.47 0 0 1 2.28-5.79 3.47 3.47 0 0 1 3.87-4.86 3.47 3.47 0 0 1 5.15-3.5 3.47 3.47 0 0 1 5.94-1.83 3.47 3.47 0 0 1 6.22 0 3.47 3.47 0 0 1 5.94 1.83 3.47 3.47 0 0 1 5.14 3.5 3.47 3.47 0 0 1 3.87 4.86 3.47 3.47 0 0 1 2.28 5.8 3.47 3.47 0 0 1 .47 6.19 3.47 3.47 0 0 1-1.08 5.97l-.14.4a3.47 3.47 0 0 1-2.66 5.06c-.16.23-.33.45-.5.66A3.46 3.46 0 0 1 42.6 43l-.98.7a3.46 3.46 0 0 1-4.54 2.3c-.47.17-.94.33-1.43.46-.18.26-.4.49-.65.68v-3.06A14.04 14.04 0 0 0 43.42 35h.08a4.5 4.5 0 0 0 .5-8.97V26Z" fill="#fff"/></mask><g mask="url(#hairCurly-a)"><path fill="#fff" d="M7 3h46v44H7z" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
46
|
-
,
|
|
47
|
-
pigtails: (components, colors)=>`<path d="M39 11.84A5 5 0 0 1 44.04 7a4.99 4.99 0 0 1 5.03 5.18c.02 3.2.7 7.08 1.93 9.82a20.56 20.56 0 0 1-6.22-2.9A16.67 16.67 0 0 1 46 25.38v1.38a4.47 4.47 0 0 0-2-.73V26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38c0-2.22.43-4.35 1.22-6.28A20.56 20.56 0 0 1 9 22a26.57 26.57 0 0 0 1.92-10.06A4.99 4.99 0 0 1 15.96 7 5 5 0 0 1 21 11.84a15.67 15.67 0 0 1 18 0Z" fill="${colors.hair.value}"/><path d="M39.01 11.58c4.2 2.96 7 8.19 7 14.13v1.05a4.47 4.47 0 0 0-2-.73V26c-1.82-2-3.14-4.5-3.98-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.7c0-5.94 2.79-11.17 6.99-14.13v.26a15.67 15.67 0 0 1 18 0l.01-.26Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21 9a5 5 0 0 0-4.39 7.4 16.14 16.14 0 0 1 7.55-6.27A4.98 4.98 0 0 0 21 9Zm23 5a5 5 0 0 0-8.16-3.87 16.14 16.14 0 0 1 7.55 6.27c.39-.7.6-1.53.6-2.4Z" fill="#F55D81"/>`
|
|
48
|
-
,
|
|
49
|
-
curlyBun: (components, colors)=>`<path d="M30 2.5a2 2 0 0 0-1.8 1.11 2 2 0 0 0-3.42 1.06 2 2 0 0 0-2.96 2.02 2 2 0 0 0-2.23 2.8 2 2 0 0 0-1.31 3.33A2 2 0 0 0 18 16.4a2 2 0 0 0-.55 2.38 14 14 0 0 1 25.08 0A2 2 0 0 0 42 16.4a2 2 0 0 0-.27-3.58 2 2 0 0 0-1.3-3.33 2 2 0 0 0-2.24-2.8 2 2 0 0 0-2.96-2.02 2 2 0 0 0-3.43-1.06A2 2 0 0 0 30 2.51Z" fill="${colors.hair.value}"/><path d="M43.93 23.63A14 14 0 0 0 31 15h-2a14 14 0 0 0-12.93 8.63 14 14 0 0 1 27.86 0Z" fill="#F55D81"/>`
|
|
50
|
-
,
|
|
51
|
-
buzzcut: (components, colors)=>`<path d="M44 25v3c-1.33-1.67-2.67-4.67-4-9-2.66 1.33-6 2-10 2s-7.34-.67-10-2c-1.33 3.67-2.67 6.33-4 8v-2a14 14 0 1 1 28 0Z" style="mix-blend-mode:multiply" opacity=".2" fill="${colors.hair.value}"/>`
|
|
52
|
-
,
|
|
53
|
-
bobBangs: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-2.18-2.42-3.65-5.54-4.42-9.36a19.6 19.6 0 0 1-9.08 7.86c-4.67 2-9.5 2.33-14.5 1v.53c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm-9 21.31v-3.23A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76V45a38.74 38.74 0 0 1-11 2.31ZM14 45a38.74 38.74 0 0 0 11 2.31v-3.23A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76V45Z" fill="${colors.hair.value}"/><mask id="hairBobBangs-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="14" y="9" width="32" height="39"><path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-2.18-2.42-3.65-5.54-4.42-9.36a19.6 19.6 0 0 1-9.08 7.86c-4.67 2-9.5 2.33-14.5 1v.53c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm-9 21.31v-3.23A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76V45a38.74 38.74 0 0 1-11 2.31ZM14 45a38.74 38.74 0 0 0 11 2.31v-3.23A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76V45Z" fill="#362C47"/></mask><g mask="url(#hairBobBangs-a)"><path fill="#fff" d="M13 9h34v18H13z" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
54
|
-
,
|
|
55
|
-
bald: (components, colors)=>`<path d="M26.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.38 21.77c.37.19.82.04 1-.33a15.05 15.05 0 0 1 2-3.06c.76-.88 1.63-1.62 2.63-2.2a.75.75 0 0 0-.75-1.3 11.86 11.86 0 0 0-3 2.52c-.85.99-1.58 2.11-2.2 3.37a.75.75 0 0 0 .33 1Z" style="mix-blend-mode:overlay" opacity=".2" fill="#fff"/>`
|
|
56
|
-
,
|
|
57
|
-
balding: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="m16.97 25.55 2.7-8.55H18a3 3 0 0 0-2.98 3.31l.65 6.2c.6 0 1.12-.39 1.3-.95ZM41.34 17h-1.67l2.7 8.55c.18.56.7.95 1.3.95l.65-6.19a3 3 0 0 0-2.98-3.3Z" fill="${colors.hair.value}"/><path d="M26.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.38 21.77c.37.19.82.04 1-.33a15.05 15.05 0 0 1 2-3.06c.76-.88 1.63-1.62 2.63-2.2a.75.75 0 0 0-.75-1.3 11.86 11.86 0 0 0-3 2.52c-.85.99-1.58 2.11-2.2 3.37a.75.75 0 0 0 .33 1Z" style="mix-blend-mode:overlay" opacity=".2" fill="#fff"/>`
|
|
58
|
-
,
|
|
59
|
-
cap: (components, colors)=>`<path opacity=".2" d="M30 17c3.88 0 7.55-.37 11 4.22l-1.9 6.5c-.61 1.22-1.64 1.55-2.46.79-2.1-1.92-4.3-2.88-6.64-2.88-2.33 0-4.55.96-6.64 2.89-.82.76-1.85.43-2.46-.8L19 21.22c3.45-4.6 7.12-4.22 11-4.22Z" fill="#000"/><path d="M27.3 11.2a3 3 0 0 1 5.4 0c6.1.96 10.82 5.24 11.3 12.72a27.7 27.7 0 0 0-3.96-1.3l-.94.6a2 2 0 0 1-2.46.46 13.86 13.86 0 0 0-13.28 0 2 2 0 0 1-2.46-.46l-.94-.6c-1.4.35-2.72.78-3.96 1.3.48-7.48 5.2-11.76 11.3-12.71Z" fill="#F29C65"/><path d="M19.96 22.62c-1.4.35-2.72.78-3.96 1.3C16.55 15.37 22.63 11 30 11s13.45 4.37 14 12.92a27.7 27.7 0 0 0-3.96-1.3L41 22c-3.45-2.67-7.12-4-11-4s-7.55 1.33-11 4l.96.62Z" fill="#000" style="mix-blend-mode:overlay" opacity=".28"/><path d="m39.45 23-.35.22a2 2 0 0 1-2.46.46 13.86 13.86 0 0 0-13.28 0 2 2 0 0 1-2.46-.46l-.35-.23c.87.07 2.19-.47 2.81-.81a13.86 13.86 0 0 1 13.28 0c.62.34 1.94.88 2.8.81Z" fill="#fff" style="mix-blend-mode:lighten" opacity=".2"/>`
|
|
60
|
-
,
|
|
61
|
-
bunUndercut: (components, colors)=>`<circle cx="30" cy="12" r="4" fill="#5A45FF"/><path fill-rule="evenodd" clip-rule="evenodd" d="m33.72 12.84-.05 7.66c3.72-.75 5.83-1.25 6.33-1.5 1.33 4.33 2.67 7.33 4 9v-3a14 14 0 0 0-7.06-12.16c0-.02-1.08-.02-3.22 0ZM20 19c.5.25 2.6.75 6.33 1.5v-7.66h-3.27A14 14 0 0 0 16 25v3c1.33-1.67 2.67-4.67 4-9Z" fill="${colors.hair.value}" opacity=".3"/><path fill-rule="evenodd" clip-rule="evenodd" d="M30 6c-2.1 0-3.81 2.01-3.99 4.57-.72.41-1.44.94-2.14 1.58a3 3 0 0 0-.96 1.93l-.21 2.2a3.87 3.87 0 0 0 3.02 4.14c1.73.39 3.16.58 4.29.58 1.12 0 2.5-.18 4.17-.55a4 4 0 0 0 3.13-4.09l-.1-2.17a3 3 0 0 0-1.04-2.14 12.1 12.1 0 0 0-2.18-1.5C33.8 7.98 32.08 6 30 6Zm0 3.5a8 8 0 0 0-3.67.9 4 4 0 0 1 7.33-.03A8.25 8.25 0 0 0 30 9.5Z" fill="${colors.hair.value}"/><path d="M26.02 10.56C26.19 8 27.9 6 30 6c2.07 0 3.77 1.96 3.98 4.47a11 11 0 0 0-.36-.17 4 4 0 0 0-7.28.09l-.32.17Z" fill="#000" style="mix-blend-mode:overlay" opacity=".22"/>`
|
|
62
|
-
,
|
|
63
|
-
fade: (components, colors)=>`<mask id="hairFade-b" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="16" y="12" width="28" height="15"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 27v-2a14 14 0 0 1 7.5-12.4v.14c.09 1.68.16 3.3-.4 4.53-.7 1.57-1.78 2.45-2.72 3.21l-.62.52c-.7.61-2.44 2.49-3.76 6Zm28 0v-2a14 14 0 0 0-7.5-12.4v.14c-.09 1.68-.16 3.3.4 4.53.7 1.57 1.78 2.45 2.72 3.21l.62.52c.7.61 2.44 2.49 3.76 6Z" fill="url(#hairFade-a)"/></mask><g mask="url(#hairFade-b)"><path fill-rule="evenodd" clip-rule="evenodd" d="m16 27-.2-14.4h7.7l.06 14.4H16Zm20.72 0H44l-.07-14.4H36.5l.22 14.4Z" fill="${colors.hair.value}"/></g><path d="M22.3 17.95c0-3.6 2.72-6.63 6.3-7L38 10a6.84 6.84 0 0 1-6.49 9h-8.15c-.58 0-1.05-.47-1.05-1.05Z" fill="${colors.hair.value}"/><defs><linearGradient id="hairFade-a" x1="16" y1="12.6" x2="16" y2="27" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-opacity=".01"/></linearGradient></defs>`
|
|
64
|
-
,
|
|
65
|
-
beanie: (components, colors)=>`<path d="M17 19.8a14 14 0 0 1 26 0l.24.2a1 1 0 0 1 .34.54l.62 2.64a.5.5 0 0 1-.77.52C38.99 20.57 34.5 19 30 19S21 20.57 16.58 23.7a.5.5 0 0 1-.77-.52l.62-2.64a1 1 0 0 1 .34-.55l.24-.19Z" fill="#E15C66"/><path d="M30 15c6.45 0 12.01 4.04 13.25 5 .16.14.28.32.33.53l.62 2.6c.1.46-.44.83-.83.57C41.06 22.18 35.57 19 30 19c-5.57 0-11.05 3.18-13.36 4.7-.4.26-.93-.1-.82-.56l.6-2.6c.05-.21.17-.4.34-.53 1.23-.96 6.8-5 13.24-5Z" fill="#000" style="mix-blend-mode:overlay" opacity=".26"/>`
|
|
66
|
-
,
|
|
67
|
-
straightBun: (components, colors)=>`<path d="M20.2 15a10 10 0 1 1 19.6 0c-2.53-2.47-5.98-4-9.8-4-3.82 0-7.27 1.53-9.8 4Z" fill="${colors.hair.value}"/><path d="M43.93 23.63A14 14 0 0 0 31 15h-2a14 14 0 0 0-12.93 8.63 14 14 0 0 1 27.86 0Z" fill="#F55D81"/>`
|
|
68
|
-
,
|
|
69
|
-
extraLong: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v22.28H35V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76ZM14 56.57h11.13L25 49.55v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v22.33Z" fill="${colors.hair.value}"/><mask id="hairExtraLong-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="14" y="9" width="32" height="48"><path fill-rule="evenodd" clip-rule="evenodd" d="M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v22.28H35V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76ZM14 56.57h11.13L25 49.55v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v22.33Z" fill="#362C47"/></mask><g mask="url(#hairExtraLong-a)"><path fill="#fff" d="M14 9h32v18H14z" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
70
|
-
,
|
|
71
|
-
shortComboverChops: (components, colors)=>`<path d="m15.79 25.56-.71-6.6A9 9 0 0 1 24.03 9H41c0 1.28-.26 2.51-.74 3.63a7.93 7.93 0 0 1 4.6 8.35L44 27v4.22a14 14 0 0 1-.48 3.42l-2.52.54A1 1 0 0 1 39.8 34l1.9-9.12c-1.57-2.09-2.68-5.24-3.31-9.44a9.24 9.24 0 0 1-5.7 2.77c-1.82.2-3.39.29-4.7.29-3 0-5.67-.5-8-1.5 0 2.6-.67 5.1-2 7.52L19.98 34a1 1 0 0 1-1.2 1.18l-2.51-.54a14 14 0 0 1-.48-3.42v-5.66Z" fill="${colors.hair.value}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.98 34 18 24.52c1.33-2.42 2-4.93 2-7.52 2.33 1 5 1.5 8 1.5 1.31 0 2.88-.1 4.7-.29A9.24 9.24 0 0 0 41 9H24.03a9 9 0 0 0-8.95 9.97l.7 6.59v5.66a14 14 0 0 0 .49 3.42l2.52.54A1 1 0 0 0 19.98 34ZM44 31.22V27l.86-6.02.02-.14a7.91 7.91 0 0 0-2.42-6.73 9.29 9.29 0 0 1-3.45 4.5 17.22 17.22 0 0 0 2.7 6.27L39.8 34A1 1 0 0 0 41 35.18l2.52-.54a14 14 0 0 0 .48-3.42Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`
|
|
72
|
-
,
|
|
73
|
-
mohawk: (components, colors)=>`<path d="M30.03 8a6.51 6.51 0 0 1 4.85 2.05c.56.54.96 1.32 1.1 2.14l.67 4.16c.35 1.94-.7 3.67-2.53 4.09-1.62.37-3 .55-4.12.55-1.13 0-2.55-.2-4.24-.58-1.84-.42-2.84-2.2-2.38-4.14l.79-4.2c.16-.74.53-1.43 1.03-1.93C25.83 9.5 27.3 8 30.03 8Z" fill="${colors.hair.value}"/><path d="M34.88 10.05c.56.54.96 1.32 1.1 2.14l.67 4.16c.35 1.94-.7 3.67-2.53 4.09-1.62.37-3 .55-4.12.55-1.13 0-2.55-.2-4.24-.58-1.84-.42-2.84-2.2-2.38-4.14l.79-4.2c.16-.74.53-1.43 1.03-1.93.26-.27.67-.69 1.25-1.08-.31.48-1.45.98-1.45 2.43V15a3.06 3.06 0 0 0 2.02 3.51c1.18.34 2.18.5 2.98.5.79 0 1.76-.16 2.9-.47 1.28-.35 2.35-1.89 2.1-3.53v-3c0-1.5-1.1-2.54-1.5-3l-.14-.14c.73.42 1.22.9 1.52 1.2Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/>`
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const $6153644213596477$export$32180ef41b15b513 = {
|
|
78
|
-
squared: (components, colors)=>`<path d="M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z" fill="${colors.clothing.value}"/>`
|
|
79
|
-
,
|
|
80
|
-
rounded: (components, colors)=>`<path d="M16 7v.47a5 5 0 1 0 10 0V7c7.06 1.52 12.93 6.74 16 13H0C3.07 13.74 8.94 8.52 16 7Z" fill="${colors.clothing.value}"/>`
|
|
81
|
-
,
|
|
82
|
-
small: (components, colors)=>`<path d="M32 20H10v-8a11 11 0 0 1 6-9.8V4a5 5 0 0 0 10 0V2.2a11 11 0 0 1 6 9.8v8Z" fill="${colors.clothing.value}"/><mask id="bodySmall-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="10" y="2" width="22" height="18"><path d="M32 20H10v-8a11 11 0 0 1 6-9.8V4a5 5 0 0 0 10 0V2.2a11 11 0 0 1 6 9.8v8Z" fill="#fff"/></mask><g mask="url(#bodySmall-a)"><path opacity=".14" d="M20.62 8.25 22 8l1.2.5L10 15l10.62-6.75Z" fill="#000"/><path d="M21 1h11v47H10V15l13.34-6.58L21 1Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/></g>`
|
|
83
|
-
,
|
|
84
|
-
checkered: (components, colors)=>`<path d="M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z" fill="${colors.clothing.value}"/><mask id="bodyCheckered-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="3" y="5" width="36" height="15"><path d="M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z" fill="#fff"/></mask><g mask="url(#bodyCheckered-a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 20h4V6.54l-1.65.5A9 9 0 0 0 7 8.17V20ZM32.65 7.05 31 6.54V20h4V8.16a9 9 0 0 0-2.35-1.11ZM23 20h4v-8.4a7.02 7.02 0 0 1-4 3.11v5.3Zm-4 0h-4v-8.4a7.02 7.02 0 0 0 4 3.11v5.3Z" fill="#000" style="mix-blend-mode:overlay" opacity=".4"/></g><path d="M3.4 13a9.01 9.01 0 0 1 2.53-4h8.14a6.98 6.98 0 0 0 2.03 4H3.4ZM39 17v3H3v-3h36ZM36.07 9a9.01 9.01 0 0 1 2.53 4H25.9a6.98 6.98 0 0 0 2.03-4h8.14Z" style="mix-blend-mode:lighten" opacity=".18" fill="#fff"/><mask id="bodyCheckered-b" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="3" y="9" width="36" height="11"><path d="M3.4 13a9.01 9.01 0 0 1 2.53-4h8.14a6.98 6.98 0 0 0 2.03 4H3.4ZM39 17v3H3v-3h36ZM36.07 9a9.01 9.01 0 0 1 2.53 4H25.9a6.98 6.98 0 0 0 2.03-4h8.14Z" style="mix-blend-mode:lighten" fill="#fff"/></mask>`
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
const $f5eadfb5e0fab3a7$export$4ec1914b3efc3f9a = {
|
|
89
|
-
smile: (components, colors)=>`<path d="M5 5.87a1 1 0 1 1 1-1.74A6 6 0 0 0 9 5a6 6 0 0 0 3-.87 1 1 0 1 1 1 1.74A8 8 0 0 1 9 7a8 8 0 0 1-4-1.13Z" fill="#1B0640"/>`
|
|
90
|
-
,
|
|
91
|
-
frown: (components, colors)=>`<path d="M5 4.13a1 1 0 1 0 1 1.74A6 6 0 0 1 9 5a6 6 0 0 1 3 .87 1 1 0 1 0 1-1.74A8 8 0 0 0 9 3a8 8 0 0 0-4 1.13Z" fill="#1B0640"/>`
|
|
92
|
-
,
|
|
93
|
-
surprise: (components, colors)=>`<ellipse cx="9" cy="5" rx="2" ry="2.5" fill="#1B0640"/>`
|
|
94
|
-
,
|
|
95
|
-
pacifier: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M9 2c-.76 0-1.51-.14-2.27-.41A2.03 2.03 0 0 0 4 3.5c0 1.4.82 2.6 2 3.17a3 3 0 0 0 6 0 3.5 3.5 0 0 0 2-3.17 2.03 2.03 0 0 0-2.73-1.91C10.51 1.86 9.76 2 9 2ZM7.59 7h2.82A1.5 1.5 0 0 1 7.6 7Z" fill="#456DFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 6.5v.17a3.5 3.5 0 0 0 2-3.17 2.03 2.03 0 0 0-2.73-1.91 6.61 6.61 0 0 1-4.54 0A2.03 2.03 0 0 0 4 3.5c0 1.4.82 2.6 2 3.17V6.5a3 3 0 1 1 6 0ZM7.59 7h2.82A1.5 1.5 0 1 0 7.6 7Z" fill="#fff" fill-opacity=".3" style="mix-blend-mode:lighten"/><circle cx="9" cy="4.5" r="1.5" fill="#fff"/>`
|
|
96
|
-
,
|
|
97
|
-
bigSmile: (components, colors)=>`<path d="M6 3h6v1a3 3 0 0 1-6 0V3Z" fill="#fff"/>`
|
|
98
|
-
,
|
|
99
|
-
smirk: (components, colors)=>`<path d="M7.32 5.73a.75.75 0 0 1 .36-1.46c2.44.61 4.17.32 5.29-.8a.75.75 0 1 1 1.06 1.06c-1.54 1.54-3.81 1.92-6.71 1.2Z" fill="#1B0640"/>`
|
|
100
|
-
,
|
|
101
|
-
lips: (components, colors)=>`<path d="M5 5h8s-1 2.5-4 2.5S5 5 5 5Z" fill="#DC5C7A"/><path d="M5.39 4.22A2.1 2.1 0 0 1 9 4a2.1 2.1 0 0 1 3.61.22l.4.78H4.99l.39-.78Z" fill="#F57B98"/>`
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
const $2b55ac9275610b34$export$eef569ed4a4faa98 = {
|
|
106
|
-
mediumRound: (components, colors)=>`<path d="M4.25 5a.75.75 0 0 1 1.5 0c0 .84.91 1.75 2.25 1.75 1.34 0 2.25-.91 2.25-1.75a.75.75 0 0 1 1.5 0c0 1.66-1.59 3.25-3.75 3.25S4.25 6.66 4.25 5Z" fill="#000" style="mix-blend-mode:overlay" opacity=".36"/>`
|
|
107
|
-
,
|
|
108
|
-
smallRound: (components, colors)=>`<path d="M5.29 6.24a.75.75 0 1 1 1.42-.48c.23.7.62 1 1.3 1 .66 0 1.05-.3 1.28-1a.75.75 0 1 1 1.42.48c-.42 1.3-1.37 2.01-2.7 2.01S5.72 7.54 5.3 6.24Z" fill="#000" style="mix-blend-mode:overlay" opacity=".36"/>`
|
|
109
|
-
,
|
|
110
|
-
wrinkles: (components, colors)=>`<path opacity=".12" fill-rule="evenodd" clip-rule="evenodd" d="M11.72 5.3c.21.73.27 1.38.2 1.95a20.24 20.24 0 0 1 2.12 4.41.5.5 0 1 0 .94-.32 21.23 21.23 0 0 0-3.4-6.3c.07.07.11.16.14.25Zm-7.44 0a.75.75 0 0 1 .11-.24 28.75 28.75 0 0 0-2.07 3.22c-.48.89-.9 1.9-1.3 3.06a.5.5 0 0 0 .94.32 20.24 20.24 0 0 1 2.12-4.4 4.77 4.77 0 0 1 .19-1.97Z" fill="#000"/><path d="M5.2 4.78a.75.75 0 0 0-.92.51c-.21.75-.27 1.4-.2 1.97.23 1.6 1.6 2.49 3.92 2.49 2.33 0 3.7-.89 3.92-2.5.07-.57.01-1.22-.2-1.96a.75.75 0 1 0-1.44.42c.52 1.83-.09 2.54-2.28 2.54-2.2 0-2.8-.71-2.28-2.54a.75.75 0 0 0-.51-.93Z" fill="#000" style="mix-blend-mode:overlay" opacity=".36"/>`
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
const $b52923f91d77c0ed$export$de35ee297670847a = {
|
|
115
|
-
beardMustache: (components, colors)=>`<path d="m12.47 9.46 2.43-.83A2.5 2.5 0 0 1 18 10a2.5 2.5 0 0 1 3.1-1.37l2.43.83A18.65 18.65 0 0 0 32 2.7V9A14 14 0 1 1 4 9V2.7c2.05 2.94 5 5.43 8.47 6.76Z" fill="${colors.hair.value}"/><mask id="facialHairBeardMustache-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="4" y="2" width="28" height="21"><path d="m12.47 9.46 2.43-.83A2.5 2.5 0 0 1 18 10a2.5 2.5 0 0 1 3.1-1.37l2.43.83A18.65 18.65 0 0 0 32 2.7V9A14 14 0 1 1 4 9V2.7c2.05 2.94 5 5.43 8.47 6.76Z" fill="#fff"/></mask><g mask="url(#facialHairBeardMustache-a)"><path d="M32 9V2.7c-2.05 2.94-5 5.43-8.47 6.76l2.8.96a1 1 0 0 1-.07 1.91l-5.08 1.3A2.71 2.71 0 0 1 18 12.05a2.72 2.72 0 0 1-3.18 1.58l-5.08-1.3a1 1 0 0 1-.08-1.91l2.81-.96A18.65 18.65 0 0 1 4 2.7V9a14 14 0 1 0 28 0Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".26"/><path d="M22 13.42v.08a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3.08l.82.21A2.71 2.71 0 0 0 18 12.05a2.72 2.72 0 0 0 3.18 1.58l.82-.2Z" fill="#FFFEFD"/></g>`
|
|
116
|
-
,
|
|
117
|
-
pyramid: (components, colors)=>`<path d="M18.02 12.05a2.72 2.72 0 0 1-3.19 1.59l-5.08-1.3a1 1 0 0 1-.07-1.92l5.23-1.79a2.5 2.5 0 0 1 3.1 1.37 2.5 2.5 0 0 1 3.11-1.37l5.24 1.8a1 1 0 0 1-.08 1.9l-5.08 1.3a2.72 2.72 0 0 1-3.18-1.58Z" fill="${colors.hair.value}"/>`
|
|
118
|
-
,
|
|
119
|
-
walrus: (components, colors)=>`<path d="M10 14a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5H10Z" fill="${colors.hair.value}"/>`
|
|
120
|
-
,
|
|
121
|
-
goatee: (components, colors)=>`<path fill-rule="evenodd" clip-rule="evenodd" d="M13.61 10.67a3.61 3.61 0 0 0-2.6 3.57v4.67c0 1 .48 1.93 1.37 2.4 1.39.72 3.63 1.7 5.78 1.7 2.14 0 4.26-.96 5.56-1.7A2.62 2.62 0 0 0 25 18.99v-4.74a3.61 3.61 0 0 0-2.61-3.57 18.05 18.05 0 0 0-4.4-.67c-1.45 0-3.07.33-4.39.67Zm.3 1.41c-.8.22-1.32.97-1.32 1.8v2.67c0 1.07.56 2.06 1.54 2.48 1.08.46 2.59.97 3.97.97 1.39 0 2.85-.5 3.9-.97.96-.42 1.5-1.4 1.5-2.44v-2.7c0-.83-.52-1.58-1.33-1.8a16.72 16.72 0 0 0-4.17-.63c-1.51 0-3.05.33-4.1.62Z" fill="${colors.hair.value}"/>`
|
|
122
|
-
,
|
|
123
|
-
shadow: (components, colors)=>`<path opacity=".2" d="M32 3v4A14 14 0 1 1 4 7V2.7c2.05 2.94 4.53 6.97 8 8.3 2-1 4-1.5 6-1.5s4 .5 6 1.5c3.47-1.33 5.95-5.36 8-8.3V3Z" fill="${colors.hair.value}"/>`
|
|
124
|
-
,
|
|
125
|
-
soulPatch: (components, colors)=>`<path d="M16 17.5h4l-.68 2.05a1.39 1.39 0 0 1-2.63 0l-.7-2.05Z" fill="${colors.hair.value}"/>`
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
function $ba96f95f89a28e03$export$5bc6178a9a86ed74({ prng: prng , group: group , values: values = [] }) {
|
|
132
|
-
const componentCollection = $a6ad2354cf63c592$exports;
|
|
133
|
-
const key = prng.pick(values);
|
|
134
|
-
if (componentCollection[group][key]) return {
|
|
135
|
-
name: key,
|
|
136
|
-
value: componentCollection[group][key]
|
|
137
|
-
};
|
|
138
|
-
else return undefined;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
function $9ff8fcf959030ce7$export$4e811121b221213b({ prng: prng , options: options }) {
|
|
143
|
-
const eyesComponent = $ba96f95f89a28e03$export$5bc6178a9a86ed74({
|
|
144
|
-
prng: prng,
|
|
145
|
-
group: 'eyes',
|
|
146
|
-
values: options.eyes
|
|
147
|
-
});
|
|
148
|
-
const hairComponent = $ba96f95f89a28e03$export$5bc6178a9a86ed74({
|
|
149
|
-
prng: prng,
|
|
150
|
-
group: 'hair',
|
|
151
|
-
values: options.hair
|
|
152
|
-
});
|
|
153
|
-
const bodyComponent = $ba96f95f89a28e03$export$5bc6178a9a86ed74({
|
|
154
|
-
prng: prng,
|
|
155
|
-
group: 'body',
|
|
156
|
-
values: options.body
|
|
157
|
-
});
|
|
158
|
-
const mouthComponent = $ba96f95f89a28e03$export$5bc6178a9a86ed74({
|
|
159
|
-
prng: prng,
|
|
160
|
-
group: 'mouth',
|
|
161
|
-
values: options.mouth
|
|
162
|
-
});
|
|
163
|
-
const noseComponent = $ba96f95f89a28e03$export$5bc6178a9a86ed74({
|
|
164
|
-
prng: prng,
|
|
165
|
-
group: 'nose',
|
|
166
|
-
values: options.nose
|
|
167
|
-
});
|
|
168
|
-
const facialHairComponent = $ba96f95f89a28e03$export$5bc6178a9a86ed74({
|
|
169
|
-
prng: prng,
|
|
170
|
-
group: 'facialHair',
|
|
171
|
-
values: options.facialHair
|
|
172
|
-
});
|
|
173
|
-
return {
|
|
174
|
-
eyes: eyesComponent,
|
|
175
|
-
hair: hairComponent,
|
|
176
|
-
body: bodyComponent,
|
|
177
|
-
mouth: mouthComponent,
|
|
178
|
-
nose: noseComponent,
|
|
179
|
-
facialHair: prng.bool(options.facialHairProbability) ? facialHairComponent : undefined
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
var $8815923dfe55fb90$exports = {};
|
|
185
|
-
|
|
186
|
-
$parcel$export($8815923dfe55fb90$exports, "hair", function () { return $569a7ef8b96c96ef$export$12c365d50e7cb3d6; });
|
|
187
|
-
$parcel$export($8815923dfe55fb90$exports, "clothing", function () { return $30049cd514ba793c$export$315fd2fadf178734; });
|
|
188
|
-
$parcel$export($8815923dfe55fb90$exports, "skin", function () { return $ae71ed399da7b18a$export$fcdfe9c56b00fbfc; });
|
|
189
|
-
const $569a7ef8b96c96ef$export$12c365d50e7cb3d6 = {
|
|
190
|
-
black: 'rgba(54, 44, 71, 1)',
|
|
191
|
-
brunette: 'rgba(108, 69, 69, 1)',
|
|
192
|
-
red: 'rgba(225, 92, 102, 1)',
|
|
193
|
-
pink: 'rgba(225, 99, 129, 1)',
|
|
194
|
-
copper: 'rgba(242, 125, 101, 1)',
|
|
195
|
-
blonde: 'rgba(242, 156, 101, 1)',
|
|
196
|
-
grey: 'rgba(222, 225, 245, 1)'
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
const $30049cd514ba793c$export$315fd2fadf178734 = {
|
|
201
|
-
blue: 'rgba(69, 109, 255, 1)',
|
|
202
|
-
turquoise: 'rgba(84, 215, 199, 1)',
|
|
203
|
-
purple: 'rgba(117, 85, 202, 1)',
|
|
204
|
-
green: 'rgba(109, 187, 88, 1)',
|
|
205
|
-
red: 'rgba(226, 69, 83, 1)',
|
|
206
|
-
yellow: 'rgba(243, 182, 58, 1)',
|
|
207
|
-
pink: 'rgba(245, 93, 129, 1)'
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
const $ae71ed399da7b18a$export$fcdfe9c56b00fbfc = {
|
|
212
|
-
tone1: 'rgba(238, 180, 164, 1)',
|
|
213
|
-
tone2: 'rgba(231, 163, 145, 1)',
|
|
214
|
-
tone3: 'rgba(229, 160, 126, 1)',
|
|
215
|
-
tone4: 'rgba(215, 135, 116, 1)',
|
|
216
|
-
tone5: 'rgba(177, 106, 91, 1)',
|
|
217
|
-
tone6: 'rgba(146, 89, 75, 1)',
|
|
218
|
-
tone7: 'rgba(98, 61, 54, 1)',
|
|
219
|
-
tone8: 'rgba(201, 230, 220, 1)'
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
function $b1bbc718fc4906ad$export$c6d89e41e42fa994({ prng: prng , group: group , values: values = [] }) {
|
|
226
|
-
const colorCollection = $8815923dfe55fb90$exports;
|
|
227
|
-
if (values.length === 0) values.push('transparent');
|
|
228
|
-
const key = prng.pick(values);
|
|
229
|
-
var _key;
|
|
230
|
-
return {
|
|
231
|
-
name: key,
|
|
232
|
-
value: (_key = colorCollection[group][key]) !== null && _key !== void 0 ? _key : key
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
function $7b80fb210947e091$export$6cee60e8aa85e528({ prng: prng , options: options }) {
|
|
238
|
-
return {
|
|
239
|
-
hair: $b1bbc718fc4906ad$export$c6d89e41e42fa994({
|
|
240
|
-
prng: prng,
|
|
241
|
-
group: 'hair',
|
|
242
|
-
values: options.hairColor
|
|
243
|
-
}),
|
|
244
|
-
clothing: $b1bbc718fc4906ad$export$c6d89e41e42fa994({
|
|
245
|
-
prng: prng,
|
|
246
|
-
group: 'clothing',
|
|
247
|
-
values: options.clothingColor
|
|
248
|
-
}),
|
|
249
|
-
skin: $b1bbc718fc4906ad$export$c6d89e41e42fa994({
|
|
250
|
-
prng: prng,
|
|
251
|
-
group: 'skin',
|
|
252
|
-
values: options.skinColor
|
|
253
|
-
})
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
function $910f94ce47e69aae$export$19269755e7fb6f76({ prng: prng , options: options , preview: preview }) {
|
|
259
|
-
// Write your modifications here
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
function $017147549159f1ab$export$2538c3cd8a13189f({ prng: prng , options: options , components: components , colors: colors , preview: preview }) {
|
|
264
|
-
// Write your modifications here
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
const $9a32dee3dcdada29$export$62ad7b0c781000e9 = {
|
|
269
|
-
eyes: {
|
|
270
|
-
width: 24,
|
|
271
|
-
height: 10
|
|
272
|
-
},
|
|
273
|
-
hair: {
|
|
274
|
-
width: 60,
|
|
275
|
-
height: 60
|
|
276
|
-
},
|
|
277
|
-
body: {
|
|
278
|
-
width: 42,
|
|
279
|
-
height: 20
|
|
280
|
-
},
|
|
281
|
-
mouth: {
|
|
282
|
-
width: 18,
|
|
283
|
-
height: 10
|
|
284
|
-
},
|
|
285
|
-
nose: {
|
|
286
|
-
width: 16,
|
|
287
|
-
height: 12
|
|
288
|
-
},
|
|
289
|
-
facialHair: {
|
|
290
|
-
width: 36,
|
|
291
|
-
height: 29
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
const $3712b6efccb00edb$export$1d567c320f4763bc = {
|
|
297
|
-
meta: {
|
|
298
|
-
title: 'Personas by Draftbit',
|
|
299
|
-
creator: 'Draftbit - draftbit.com',
|
|
300
|
-
source: 'https://personas.draftbit.com/',
|
|
301
|
-
license: {
|
|
302
|
-
name: 'CC BY 4.0',
|
|
303
|
-
url: 'https://creativecommons.org/licenses/by/4.0/'
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
schema: (/*@__PURE__*/$parcel$interopDefault($b8d4b76280688983$exports)),
|
|
307
|
-
create: ({ prng: prng , options: options })=>{
|
|
308
|
-
var ref, ref1, ref2, ref3, ref4, ref5;
|
|
309
|
-
$910f94ce47e69aae$export$19269755e7fb6f76({
|
|
310
|
-
prng: prng,
|
|
311
|
-
options: options,
|
|
312
|
-
preview: false
|
|
313
|
-
});
|
|
314
|
-
const components = $9ff8fcf959030ce7$export$4e811121b221213b({
|
|
315
|
-
prng: prng,
|
|
316
|
-
options: options
|
|
317
|
-
});
|
|
318
|
-
const colors = $7b80fb210947e091$export$6cee60e8aa85e528({
|
|
319
|
-
prng: prng,
|
|
320
|
-
options: options
|
|
321
|
-
});
|
|
322
|
-
$017147549159f1ab$export$2538c3cd8a13189f({
|
|
323
|
-
prng: prng,
|
|
324
|
-
options: options,
|
|
325
|
-
components: components,
|
|
326
|
-
colors: colors,
|
|
327
|
-
preview: false
|
|
328
|
-
});
|
|
329
|
-
var ref6, ref7, ref8, ref9, ref10, ref11;
|
|
330
|
-
return {
|
|
331
|
-
attributes: {
|
|
332
|
-
viewBox: '0 0 64 64',
|
|
333
|
-
fill: 'none',
|
|
334
|
-
'shape-rendering': 'auto'
|
|
335
|
-
},
|
|
336
|
-
body: `<path d="M37 46.08V52a5 5 0 0 1-10 0v-5.92A14.04 14.04 0 0 1 18.58 37h-.08a4.5 4.5 0 0 1-.5-8.97V27a14 14 0 1 1 28 0v1.03a4.5 4.5 0 0 1-.58 8.97A14.04 14.04 0 0 1 37 46.08Z" fill="${colors.skin.value}"/><mask id="personas-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="14" y="13" width="36" height="44"><path d="M37 46.08V52a5 5 0 0 1-10 0v-5.92A14.04 14.04 0 0 1 18.58 37h-.08a4.5 4.5 0 0 1-.5-8.97V27a14 14 0 1 1 28 0v1.03a4.5 4.5 0 0 1-.58 8.97A14.04 14.04 0 0 1 37 46.08Z" fill="#fff"/></mask><g mask="url(#personas-a)"><path d="M32 13a14 14 0 0 1 14 14v6a14 14 0 1 1-28 0v-6a14 14 0 0 1 14-14Z" fill="#fff" style="mix-blend-mode:overlay" opacity=".36"/></g><g transform="translate(20 24)">${(ref6 = (ref = components.eyes) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref6 !== void 0 ? ref6 : ''}</g><g transform="translate(2 2)">${(ref7 = (ref1 = components.hair) === null || ref1 === void 0 ? void 0 : ref1.value(components, colors)) !== null && ref7 !== void 0 ? ref7 : ''}</g><g transform="translate(11 44)">${(ref8 = (ref2 = components.body) === null || ref2 === void 0 ? void 0 : ref2.value(components, colors)) !== null && ref8 !== void 0 ? ref8 : ''}</g><g transform="translate(23 36)">${(ref9 = (ref3 = components.mouth) === null || ref3 === void 0 ? void 0 : ref3.value(components, colors)) !== null && ref9 !== void 0 ? ref9 : ''}</g><g transform="translate(24 28)">${(ref10 = (ref4 = components.nose) === null || ref4 === void 0 ? void 0 : ref4.value(components, colors)) !== null && ref10 !== void 0 ? ref10 : ''}</g><g transform="translate(14 26)">${(ref11 = (ref5 = components.facialHair) === null || ref5 === void 0 ? void 0 : ref5.value(components, colors)) !== null && ref11 !== void 0 ? ref11 : ''}</g>`
|
|
337
|
-
};
|
|
338
|
-
},
|
|
339
|
-
preview: ({ prng: prng , options: options , property: property })=>{
|
|
340
|
-
const componentGroup = property.toString();
|
|
341
|
-
const colorGroup = property.toString().replace(/Color$/, '');
|
|
342
|
-
$910f94ce47e69aae$export$19269755e7fb6f76({
|
|
343
|
-
prng: prng,
|
|
344
|
-
options: options,
|
|
345
|
-
preview: true
|
|
346
|
-
});
|
|
347
|
-
const components = $9ff8fcf959030ce7$export$4e811121b221213b({
|
|
348
|
-
prng: prng,
|
|
349
|
-
options: options
|
|
350
|
-
});
|
|
351
|
-
const colors = $7b80fb210947e091$export$6cee60e8aa85e528({
|
|
352
|
-
prng: prng,
|
|
353
|
-
options: options
|
|
354
|
-
});
|
|
355
|
-
$017147549159f1ab$export$2538c3cd8a13189f({
|
|
356
|
-
prng: prng,
|
|
357
|
-
options: options,
|
|
358
|
-
components: components,
|
|
359
|
-
colors: colors,
|
|
360
|
-
preview: true
|
|
361
|
-
});
|
|
362
|
-
if (componentGroup in components) {
|
|
363
|
-
var ref;
|
|
364
|
-
const { width: width , height: height } = $9a32dee3dcdada29$export$62ad7b0c781000e9[componentGroup];
|
|
365
|
-
var ref12;
|
|
366
|
-
return {
|
|
367
|
-
attributes: {
|
|
368
|
-
viewBox: `0 0 ${width} ${height}`,
|
|
369
|
-
fill: 'none',
|
|
370
|
-
'shape-rendering': 'auto'
|
|
371
|
-
},
|
|
372
|
-
body: (ref12 = (ref = components[componentGroup]) === null || ref === void 0 ? void 0 : ref.value(components, colors)) !== null && ref12 !== void 0 ? ref12 : ''
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
if (colorGroup in colors) return {
|
|
376
|
-
attributes: {
|
|
377
|
-
viewBox: `0 0 1 1`,
|
|
378
|
-
fill: 'none',
|
|
379
|
-
'shape-rendering': 'auto'
|
|
380
|
-
},
|
|
381
|
-
body: `<rect width="1" height="1" fill="${colors[colorGroup].value}" />`
|
|
382
|
-
};
|
|
383
|
-
return undefined;
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
const { create: $a0b3f5fc4859b80c$export$185802fd694ee1f5 , preview: $a0b3f5fc4859b80c$export$48c2d0f2f545ac27 , meta: $a0b3f5fc4859b80c$export$6990040ee07315 , schema: $a0b3f5fc4859b80c$export$4902baddc787debb } = $3712b6efccb00edb$export$1d567c320f4763bc;
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
export {$a0b3f5fc4859b80c$export$185802fd694ee1f5 as create, $a0b3f5fc4859b80c$export$48c2d0f2f545ac27 as preview, $a0b3f5fc4859b80c$export$6990040ee07315 as meta, $a0b3f5fc4859b80c$export$4902baddc787debb as schema};
|
|
392
|
-
//# sourceMappingURL=index.es.js.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,OAAO;gBACjB,IAAI,EAAE,CAAM;gBACZ,CAAiB,kBAAE,CAAM;YAC3B,CAAC;YACD,IAAI,GAAG,iCAAiC,EAAE,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,IAAI;QACzE,CAAC;QAGH,MAAM,CAAC,SAAS;IAClB,CAAC;AACH,CAAC;;;AD5ED,KAAK,CAAC,CAAC,SAAC,yCAAM,YAAE,yCAAO,SAAE,uCAAI,WAAE,yCAAM,EAAC,CAAC,GAAG,yCAAK","sources":["packages/@dicebear/personas/src/index.ts","packages/@dicebear/personas/src/core.ts","packages/@dicebear/personas/src/schema.json","packages/@dicebear/personas/src/utils/getComponents.ts","packages/@dicebear/personas/src/utils/pickComponent.ts","packages/@dicebear/personas/src/components/index.ts","packages/@dicebear/personas/src/components/eyes.ts","packages/@dicebear/personas/src/components/hair.ts","packages/@dicebear/personas/src/components/body.ts","packages/@dicebear/personas/src/components/mouth.ts","packages/@dicebear/personas/src/components/nose.ts","packages/@dicebear/personas/src/components/facialHair.ts","packages/@dicebear/personas/src/utils/getColors.ts","packages/@dicebear/personas/src/utils/pickColor.ts","packages/@dicebear/personas/src/colors/index.ts","packages/@dicebear/personas/src/colors/hair.ts","packages/@dicebear/personas/src/colors/clothing.ts","packages/@dicebear/personas/src/colors/skin.ts","packages/@dicebear/personas/src/hooks/onPreCreate.ts","packages/@dicebear/personas/src/hooks/onPostCreate.ts","packages/@dicebear/personas/src/meta/components.ts"],"sourcesContent":["/*!\n * Personas (@dicebear/personas)\n *\n * Code licensed under MIT License.\n * Copyright (c) 2021 Florian Körner\n *\n * Design \"Personas by Draftbit\" by Draftbit - draftbit.com licensed under CC BY 4.0.\n * Source: https://personas.draftbit.com/\n * License: https://creativecommons.org/licenses/by/4.0/\n */\n\nimport { style } from './core';\n\nconst { create, preview, meta, schema } = style;\n\nexport { create, preview, meta, schema };\nexport type { Options } from './options';\n","import type { Style, StyleSchema } from '@dicebear/core';\nimport type { Options } from './options';\n\nimport schema from './schema.json';\nimport { getComponents } from './utils/getComponents';\nimport { getColors } from './utils/getColors';\nimport { onPreCreate } from './hooks/onPreCreate';\nimport { onPostCreate } from './hooks/onPostCreate';\nimport { dimensions } from './meta/components';\n\nexport const style: Style<Options> = {\n meta: {\n title: 'Personas by Draftbit',\n creator: 'Draftbit - draftbit.com',\n source: 'https://personas.draftbit.com/',\n license: {\n name: 'CC BY 4.0',\n url: 'https://creativecommons.org/licenses/by/4.0/',\n },\n },\n schema: schema as StyleSchema,\n create: ({ prng, options }) => {\n onPreCreate({ prng, options, preview: false });\n\n const components = getComponents({ prng, options });\n const colors = getColors({ prng, options });\n\n onPostCreate({ prng, options, components, colors, preview: false });\n\n return {\n attributes: {\n viewBox: '0 0 64 64',\n fill: 'none',\n 'shape-rendering': 'auto',\n },\n body: `<path d=\"M37 46.08V52a5 5 0 0 1-10 0v-5.92A14.04 14.04 0 0 1 18.58 37h-.08a4.5 4.5 0 0 1-.5-8.97V27a14 14 0 1 1 28 0v1.03a4.5 4.5 0 0 1-.58 8.97A14.04 14.04 0 0 1 37 46.08Z\" fill=\"${\n colors.skin.value\n }\"/><mask id=\"personas-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"14\" y=\"13\" width=\"36\" height=\"44\"><path d=\"M37 46.08V52a5 5 0 0 1-10 0v-5.92A14.04 14.04 0 0 1 18.58 37h-.08a4.5 4.5 0 0 1-.5-8.97V27a14 14 0 1 1 28 0v1.03a4.5 4.5 0 0 1-.58 8.97A14.04 14.04 0 0 1 37 46.08Z\" fill=\"#fff\"/></mask><g mask=\"url(#personas-a)\"><path d=\"M32 13a14 14 0 0 1 14 14v6a14 14 0 1 1-28 0v-6a14 14 0 0 1 14-14Z\" fill=\"#fff\" style=\"mix-blend-mode:overlay\" opacity=\".36\"/></g><g transform=\"translate(20 24)\">${\n components.eyes?.value(components, colors) ?? ''\n }</g><g transform=\"translate(2 2)\">${\n components.hair?.value(components, colors) ?? ''\n }</g><g transform=\"translate(11 44)\">${\n components.body?.value(components, colors) ?? ''\n }</g><g transform=\"translate(23 36)\">${\n components.mouth?.value(components, colors) ?? ''\n }</g><g transform=\"translate(24 28)\">${\n components.nose?.value(components, colors) ?? ''\n }</g><g transform=\"translate(14 26)\">${\n components.facialHair?.value(components, colors) ?? ''\n }</g>`,\n };\n },\n preview: ({ prng, options, property }) => {\n const componentGroup = property.toString();\n const colorGroup = property.toString().replace(/Color$/, '');\n\n onPreCreate({ prng, options, preview: true });\n\n const components = getComponents({ prng, options });\n const colors = getColors({ prng, options });\n\n onPostCreate({ prng, options, components, colors, preview: true });\n\n if (componentGroup in components) {\n const { width, height } = dimensions[componentGroup]!;\n\n return {\n attributes: {\n viewBox: `0 0 ${width} ${height}`,\n fill: 'none',\n 'shape-rendering': 'auto',\n },\n body: components[componentGroup]?.value(components, colors) ?? '',\n };\n }\n\n if (colorGroup in colors) {\n return {\n attributes: {\n viewBox: `0 0 1 1`,\n fill: 'none',\n 'shape-rendering': 'auto',\n },\n body: `<rect width=\"1\" height=\"1\" fill=\"${colors[colorGroup].value}\" />`,\n };\n }\n\n return undefined;\n },\n};\n","{\n \"title\": \"Options\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"properties\": {\n \"body\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\"squared\", \"rounded\", \"small\", \"checkered\"]\n },\n \"default\": [\"squared\", \"rounded\", \"small\", \"checkered\"]\n },\n \"clothingColor\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$\"\n },\n {\n \"type\": \"string\",\n \"enum\": [\n \"blue\",\n \"turquoise\",\n \"purple\",\n \"green\",\n \"red\",\n \"yellow\",\n \"pink\"\n ]\n }\n ]\n },\n \"default\": [\n \"blue\",\n \"turquoise\",\n \"purple\",\n \"green\",\n \"red\",\n \"yellow\",\n \"pink\"\n ]\n },\n \"eyes\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\"open\", \"sleep\", \"wink\", \"glasses\", \"happy\", \"sunglasses\"]\n },\n \"default\": [\"open\", \"sleep\", \"wink\", \"glasses\", \"happy\", \"sunglasses\"]\n },\n \"facialHair\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"beardMustache\",\n \"pyramid\",\n \"walrus\",\n \"goatee\",\n \"shadow\",\n \"soulPatch\"\n ]\n },\n \"default\": [\n \"beardMustache\",\n \"pyramid\",\n \"walrus\",\n \"goatee\",\n \"shadow\",\n \"soulPatch\"\n ]\n },\n \"facialHairProbability\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100,\n \"default\": 10\n },\n \"hair\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"long\",\n \"sideShave\",\n \"shortCombover\",\n \"curlyHighTop\",\n \"bobCut\",\n \"curly\",\n \"pigtails\",\n \"curlyBun\",\n \"buzzcut\",\n \"bobBangs\",\n \"bald\",\n \"balding\",\n \"cap\",\n \"bunUndercut\",\n \"fade\",\n \"beanie\",\n \"straightBun\",\n \"extraLong\",\n \"shortComboverChops\",\n \"mohawk\"\n ]\n },\n \"default\": [\n \"long\",\n \"sideShave\",\n \"shortCombover\",\n \"curlyHighTop\",\n \"bobCut\",\n \"curly\",\n \"pigtails\",\n \"curlyBun\",\n \"buzzcut\",\n \"bobBangs\",\n \"bald\",\n \"balding\",\n \"cap\",\n \"bunUndercut\",\n \"fade\",\n \"beanie\",\n \"straightBun\",\n \"extraLong\",\n \"shortComboverChops\",\n \"mohawk\"\n ]\n },\n \"hairColor\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$\"\n },\n {\n \"type\": \"string\",\n \"enum\": [\n \"black\",\n \"brunette\",\n \"red\",\n \"pink\",\n \"copper\",\n \"blonde\",\n \"grey\"\n ]\n }\n ]\n },\n \"default\": [\n \"black\",\n \"brunette\",\n \"red\",\n \"pink\",\n \"copper\",\n \"blonde\",\n \"grey\"\n ]\n },\n \"mouth\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"smile\",\n \"frown\",\n \"surprise\",\n \"pacifier\",\n \"bigSmile\",\n \"smirk\",\n \"lips\"\n ]\n },\n \"default\": [\n \"smile\",\n \"frown\",\n \"surprise\",\n \"pacifier\",\n \"bigSmile\",\n \"smirk\",\n \"lips\"\n ]\n },\n \"nose\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\"mediumRound\", \"smallRound\", \"wrinkles\"]\n },\n \"default\": [\"mediumRound\", \"smallRound\", \"wrinkles\"]\n },\n \"skinColor\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$\"\n },\n {\n \"type\": \"string\",\n \"enum\": [\n \"tone1\",\n \"tone2\",\n \"tone3\",\n \"tone4\",\n \"tone5\",\n \"tone6\",\n \"tone7\",\n \"tone8\"\n ]\n }\n ]\n },\n \"default\": [\n \"tone1\",\n \"tone2\",\n \"tone3\",\n \"tone4\",\n \"tone5\",\n \"tone6\",\n \"tone7\",\n \"tone8\"\n ]\n }\n },\n \"additionalProperties\": false\n}\n","import type { Prng } from '@dicebear/core';\nimport type { Options } from '../options';\nimport type { ComponentPickCollection } from '../static-types';\nimport { pickComponent } from './pickComponent';\n\ntype Props = {\n prng: Prng;\n options: Options;\n};\n\nexport function getComponents({\n prng,\n options,\n}: Props): ComponentPickCollection {\n const eyesComponent = pickComponent({\n prng,\n group: 'eyes',\n values: options.eyes,\n });\n const hairComponent = pickComponent({\n prng,\n group: 'hair',\n values: options.hair,\n });\n const bodyComponent = pickComponent({\n prng,\n group: 'body',\n values: options.body,\n });\n const mouthComponent = pickComponent({\n prng,\n group: 'mouth',\n values: options.mouth,\n });\n const noseComponent = pickComponent({\n prng,\n group: 'nose',\n values: options.nose,\n });\n const facialHairComponent = pickComponent({\n prng,\n group: 'facialHair',\n values: options.facialHair,\n });\n\n return {\n eyes: eyesComponent,\n hair: hairComponent,\n body: bodyComponent,\n mouth: mouthComponent,\n nose: noseComponent,\n facialHair: prng.bool(options.facialHairProbability)\n ? facialHairComponent\n : undefined,\n };\n}\n","import type { Prng } from '@dicebear/core';\nimport type { ComponentGroupCollection, ComponentPick } from '../static-types';\nimport * as components from '../components';\n\ntype Props = {\n prng: Prng;\n group: string;\n values?: string[];\n};\n\nexport function pickComponent({\n prng,\n group,\n values = [],\n}: Props): ComponentPick {\n const componentCollection: ComponentGroupCollection = components;\n\n const key = prng.pick(values);\n\n if (componentCollection[group][key]) {\n return {\n name: key,\n value: componentCollection[group][key],\n };\n } else {\n return undefined;\n }\n}\n","export { eyes } from './eyes';\nexport { hair } from './hair';\nexport { body } from './body';\nexport { mouth } from './mouth';\nexport { nose } from './nose';\nexport { facialHair } from './facialHair';\n","import type {\n ComponentGroup,\n ComponentPickCollection,\n ColorPickCollection,\n} from '../static-types';\n\nexport const eyes: ComponentGroup = {\n open: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 4.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm13 0a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z\" fill=\"#1B0640\"/>`,\n sleep: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M3.63 4A1 1 0 0 0 4 5.37 4.5 4.5 0 0 0 6.25 6a4.5 4.5 0 0 0 2.25-.63 1 1 0 0 0-1-1.74c-.43.25-.85.37-1.25.37S5.43 3.88 5 3.63A1 1 0 0 0 3.63 4ZM15.63 4A1 1 0 0 0 16 5.37a4.5 4.5 0 0 0 2.25.63 4.5 4.5 0 0 0 2.25-.63 1 1 0 0 0-1-1.74 2.5 2.5 0 0 1-1.25.37c-.4 0-.82-.12-1.25-.37a1 1 0 0 0-1.37.37Z\" fill=\"#1B0640\"/>`,\n wink: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M4 4.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0ZM21.24 3.9a.75.75 0 0 0-.83-.64l-4 .5a.75.75 0 0 0 .18 1.48l4-.5c.41-.05.7-.42.65-.83Z\" fill=\"#1B0640\"/>`,\n glasses: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM18 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\" fill=\"#1B0640\"/><path d=\"M9 2H3v6h6V2ZM21 2h-6v6h6V2Z\" opacity=\".3\" fill=\"#fff\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11 1.05h2c.65 0 1.21-.2 1.84-.42C15.66.33 16.6 0 18 0c1.67 0 3.33.35 5 1.05l1 .53v1.58l-1 .52v3.16A3.08 3.08 0 0 1 20 10h-4c-1.66 0-3-1.41-3-3.16V3.16h-2v3.68A3.08 3.08 0 0 1 8 10H4c-1.66 0-3-1.41-3-3.16V3.68l-1-.52V1.58l1-.53A12.8 12.8 0 0 1 6 0c1.4 0 2.34.33 3.16.63.63.22 1.19.42 1.84.42ZM8.24 2.52A6.1 6.1 0 0 0 6 2.11c-1 0-2 .14-3 .44v4.3c0 .57.45 1.04 1 1.04h4c.55 0 1-.47 1-1.05V2.8l-.76-.27ZM15 2.8l.76-.27A6.1 6.1 0 0 1 18 2.11c1 0 2 .14 3 .44v4.3c0 .57-.45 1.04-1 1.04h-4c-.55 0-1-.47-1-1.05V2.8Z\" fill=\"#1B0640\"/>`,\n happy: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M3.76 6.21c.4.13.82-.08.95-.47.23-.7.62-1 1.3-1 .66 0 1.05.3 1.28 1a.75.75 0 1 0 1.42-.48c-.43-1.3-1.38-2.01-2.7-2.01-1.34 0-2.29.71-2.72 2.01-.13.4.08.82.47.95ZM15.76 6.21c.4.13.82-.08.95-.47.23-.7.62-1 1.29-1s1.06.3 1.29 1a.75.75 0 1 0 1.42-.48c-.43-1.3-1.38-2.01-2.71-2.01s-2.28.71-2.71 2.01c-.13.4.08.82.47.95Z\" fill=\"#1B0640\"/>`,\n sunglasses: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<g fill=\"#1B0640\"><path d=\"M6 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM18 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path d=\"M9 2H3v6h6V2ZM21 2h-6v6h6V2Z\" opacity=\".8\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 1.05c.65 0 1.21-.2 1.84-.42C15.66.33 16.6 0 18 0c1.67 0 3.33.35 5 1.05l1 .53v1.58l-1 .52v3.16A3.08 3.08 0 0 1 20 10h-4c-1.66 0-3-1.41-3-3.16V3.16h-2v3.68A3.08 3.08 0 0 1 8 10H4c-1.66 0-3-1.41-3-3.16V3.68l-1-.52V1.58l1-.53A12.8 12.8 0 0 1 6 0c1.4 0 2.34.33 3.16.63.63.22 1.19.42 1.84.42h2ZM8.24 2.52A6.1 6.1 0 0 0 6 2.11c-1 0-2 .14-3 .44v4.3c0 .57.45 1.04 1 1.04h4c.55 0 1-.47 1-1.05V2.8l-.76-.27ZM15 2.8l.76-.27A6.1 6.1 0 0 1 18 2.11c1 0 2 .14 3 .44v4.3c0 .57-.45 1.04-1 1.04h-4c-.55 0-1-.47-1-1.05V2.8Z\"/></g>`,\n};\n","import type {\n ComponentGroup,\n ComponentPickCollection,\n ColorPickCollection,\n} from '../static-types';\n\nexport const hair: ComponentGroup = {\n long: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v6.6c0 7.32-4.61 13.52-11 15.68V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76Zm-32 6.6c0 7.37 4.68 13.6 11.13 15.73a1073 1073 0 0 0-.13-7.02v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.6Z\" fill=\"${colors.hair.value}\"/><mask id=\"hairLong-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"14\" y=\"9\" width=\"32\" height=\"48\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v6.6c0 7.32-4.61 13.52-11 15.68V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76Zm-32 6.6c0 7.37 4.68 13.6 11.13 15.73a1073 1073 0 0 0-.13-7.02v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.6Z\" fill=\"#362C47\"/></mask><g mask=\"url(#hairLong-a)\"><path fill=\"#fff\" d=\"M14 9h32v18H14z\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n sideShave: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M35 11.92A14 14 0 0 1 44 25v1s-1.33-3.1-3.16-4.93c-1.84-1.82-3.34-.7-4.53-2.52-1.2-1.83-1.31-6.63-1.31-6.63Z\" fill=\"${colors.hair.value}\" opacity=\".3\"/><path d=\"M30.65 23.09c-1.6 1.26-4.4 1.88-7.24 2.5-4.62 1.02-9.4 2.07-9.4 5.98V25.5C14 16.39 21.16 9 30 9c4.84 0 5.68 2.65 5.46 6.23-.2 3-.62 4.55-4.8 7.86ZM25 47a9.4 9.4 0 0 1-9.44 9.53L7.5 56.5s4-8.23 5-11.11l.06-.2c-.84.51-1.84.81-2.92.81H8.5s4.1-3.74 5.35-9.69c.1-1.23.15-2.07.15-2.07a4.48 4.48 0 0 0 2.58.76A14.04 14.04 0 0 0 25 44.08V47Z\" fill=\"${colors.hair.value}\"/>`,\n shortCombover: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M40.26 12.63a7.93 7.93 0 0 1 4.6 8.35L44 27c-2.83-1.7-4.7-5.55-5.6-11.56a9.24 9.24 0 0 1-5.7 2.77c-1.82.2-3.39.29-4.7.29-3 0-5.67-.5-8-1.5 0 3.67-1.33 7.17-4 10.5l-.92-8.53A9 9 0 0 1 24.03 9H41c0 1.28-.26 2.51-.74 3.63Z\" fill=\"${colors.hair.value}\"/><path d=\"M40.26 12.63c.48-1.12.74-2.35.74-3.63H24.03a9 9 0 0 0-8.95 9.97L16 27.5c2.67-3.33 4-6.83 4-10.5 2.33 1 5 1.5 8 1.5 1.31 0 2.88-.1 4.7-.29a9.24 9.24 0 0 0 7.56-5.58ZM44.88 20.84a7.91 7.91 0 0 0-2.42-6.73 9.29 9.29 0 0 1-3.45 4.5c1.04 4.22 2.7 7.01 5 8.39l.85-6.02.02-.14Z\" style=\"mix-blend-mode:overlay\" opacity=\".26\" fill=\"#fff\"/>`,\n curlyHighTop: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M31.8 7a2 2 0 0 1 3.8 0h.57a2 2 0 0 1 3.83.67l.22.1a2 2 0 0 1 3.13 2.3l.15.17a2 2 0 0 1 1.77 3.41c.05.16.09.31.12.47a2 2 0 0 1 .02 3.75l-.05.32a2 2 0 0 1-.02 3.63 2 2 0 0 1 .16.85 1.8 1.8 0 0 1-1.22 2.92L44 27.5c-.44-.66-.84-1.48-1.2-2.46a1.8 1.8 0 0 1-.45-.8 2 2 0 0 1-.56-2.68l-.02-.1a2 2 0 0 1-.96-2.94 2 2 0 0 1-2.44-.32 2 2 0 0 1-3.72.06l-.31.03a2 2 0 0 1-3.58.2h-.23a2 2 0 0 1-3.52-.1l-.4-.03a2 2 0 0 1-3.68-.17 2 2 0 0 1-3.04-.22l-.03.16a2 2 0 0 1-.7 3.35 2 2 0 0 1-1.4 3.1c-.5.97-1.09 1.94-1.76 2.9l-.19-1.92a1.8 1.8 0 0 1-.34-3.47V22a2 2 0 0 1-.39-3.9l-.01-.14a2 2 0 0 1 .07-3.92c0-.06.02-.12.04-.17a2 2 0 0 1 1.46-3.63A2 2 0 0 1 19.7 7.9v-.1a2 2 0 0 1 3.84-.8h.05a2 2 0 0 1 3.82 0h.18a2 2 0 0 1 3.82 0h.38Z\" fill=\"${colors.hair.value}\"/><mask id=\"hairCurlyHighTop-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"13\" y=\"5\" width=\"34\" height=\"23\"><path d=\"M31.8 7a2 2 0 0 1 3.8 0h.57a2 2 0 0 1 3.83.67l.22.1a2 2 0 0 1 3.13 2.3l.15.17a2 2 0 0 1 1.77 3.41c.05.16.09.31.12.47a2 2 0 0 1 .02 3.75l-.05.32a2 2 0 0 1-.02 3.63 2 2 0 0 1 .16.85 1.8 1.8 0 0 1-1.22 2.92L44 27.5c-.44-.66-.84-1.48-1.2-2.46a1.8 1.8 0 0 1-.45-.8 2 2 0 0 1-.56-2.68l-.02-.1a2 2 0 0 1-.96-2.94 2 2 0 0 1-2.44-.32 2 2 0 0 1-3.72.06l-.31.03a2 2 0 0 1-3.58.2h-.23a2 2 0 0 1-3.52-.1l-.4-.03a2 2 0 0 1-3.68-.17 2 2 0 0 1-3.04-.22l-.03.16a2 2 0 0 1-.7 3.35 2 2 0 0 1-1.4 3.1c-.5.97-1.09 1.94-1.76 2.9l-.19-1.92a1.8 1.8 0 0 1-.34-3.47V22a2 2 0 0 1-.39-3.9l-.01-.14a2 2 0 0 1 .07-3.92c0-.06.02-.12.04-.17a2 2 0 0 1 1.46-3.63A2 2 0 0 1 19.7 7.9v-.1a2 2 0 0 1 3.84-.8h.05a2 2 0 0 1 3.82 0h.18a2 2 0 0 1 3.82 0h.38Z\" fill=\"#fff\"/></mask><g mask=\"url(#hairCurlyHighTop-a)\"><path fill=\"#fff\" d=\"M13 5h34v23H13z\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n bobCut: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26a17.63 17.63 0 0 1-3.35-5.6A32.92 32.92 0 0 1 30 22.04c-4.85 0-9.14-.83-12.9-2.5A13.95 13.95 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38C14 16.33 21.16 9 30 9s16 7.33 16 16.38v1.38a4.47 4.47 0 0 0-2-.73V26Zm-9 20.06v-1.98A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76v6.38c0 .47-.02.95-.06 1.41A34.63 34.63 0 0 1 35 46.06Zm-20.94-4.03A34.63 34.63 0 0 0 25 46.06v-1.98A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.38c0 .47.02.95.06 1.41Z\" fill=\"${colors.hair.value}\"/><mask id=\"hairBobCut-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"14\" y=\"9\" width=\"32\" height=\"38\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26a17.63 17.63 0 0 1-3.35-5.6A32.92 32.92 0 0 1 30 22.04c-4.85 0-9.14-.83-12.9-2.5A13.95 13.95 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38C14 16.33 21.16 9 30 9s16 7.33 16 16.38v1.38a4.47 4.47 0 0 0-2-.73V26Zm-9 20.06v-1.98A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76v6.38c0 .47-.02.95-.06 1.41A34.63 34.63 0 0 1 35 46.06Zm-20.94-4.03A34.63 34.63 0 0 0 25 46.06v-1.98A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v6.38c0 .47.02.95.06 1.41Z\" fill=\"#362C47\"/></mask><g mask=\"url(#hairBobCut-a)\"><path fill=\"#fff\" d=\"M13 9h34v18H13z\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n curly: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"m44 26-.02-.02-.3.02a2 2 0 0 1-1.8-2.88 2 2 0 0 1-2.73-2.1 2 2 0 0 1-3.3.56h-.02a1.99 1.99 0 0 1-2 2.05 2 2 0 0 1-1.75-1.04 2 2 0 0 1-3.92.33 2 2 0 0 1-3.87-.6c-.04 0-.09 0-.13-.02a2 2 0 0 1-3.67-.98c-.3-.1-.57-.2-.85-.32.02.09.02.17.02.26a2 2 0 0 1-2.74 1.86A2 2 0 0 1 16 25.8v.23a4.5 4.5 0 0 0 .58 8.97A14.04 14.04 0 0 0 25 44.08v3.06c-.25-.2-.47-.42-.65-.68-.49-.13-.96-.29-1.43-.46a3.46 3.46 0 0 1-4.54-2.3 20.9 20.9 0 0 1-.98-.7 3.46 3.46 0 0 1-3.83-3.8c-.17-.21-.34-.43-.5-.66a3.46 3.46 0 0 1-2.66-5.07l-.14-.39a3.47 3.47 0 0 1-1.08-5.96v-.01a3.47 3.47 0 0 1 .47-6.2 3.47 3.47 0 0 1 2.28-5.79 3.47 3.47 0 0 1 3.87-4.86 3.47 3.47 0 0 1 5.15-3.5 3.47 3.47 0 0 1 5.94-1.83 3.47 3.47 0 0 1 6.22 0 3.47 3.47 0 0 1 5.94 1.83 3.47 3.47 0 0 1 5.14 3.5 3.47 3.47 0 0 1 3.87 4.86 3.47 3.47 0 0 1 2.28 5.8 3.47 3.47 0 0 1 .47 6.19 3.47 3.47 0 0 1-1.08 5.97l-.14.4a3.47 3.47 0 0 1-2.66 5.06c-.16.23-.33.45-.5.66A3.46 3.46 0 0 1 42.6 43l-.98.7a3.46 3.46 0 0 1-4.54 2.3c-.47.17-.94.33-1.43.46-.18.26-.4.49-.65.68v-3.06A14.04 14.04 0 0 0 43.42 35h.08a4.5 4.5 0 0 0 .5-8.97V26Z\" fill=\"${colors.hair.value}\"/><mask id=\"hairCurly-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"7\" y=\"3\" width=\"46\" height=\"45\"><path d=\"m44 26-.02-.02-.3.02a2 2 0 0 1-1.8-2.88 2 2 0 0 1-2.73-2.1 2 2 0 0 1-3.3.56h-.02a1.99 1.99 0 0 1-2 2.05 2 2 0 0 1-1.75-1.04 2 2 0 0 1-3.92.33 2 2 0 0 1-3.87-.6c-.04 0-.09 0-.13-.02a2 2 0 0 1-3.67-.98c-.3-.1-.57-.2-.85-.32.02.09.02.17.02.26a2 2 0 0 1-2.74 1.86A2 2 0 0 1 16 25.8v.23a4.5 4.5 0 0 0 .58 8.97A14.04 14.04 0 0 0 25 44.08v3.06c-.25-.2-.47-.42-.65-.68-.49-.13-.96-.29-1.43-.46a3.46 3.46 0 0 1-4.54-2.3 20.9 20.9 0 0 1-.98-.7 3.46 3.46 0 0 1-3.83-3.8c-.17-.21-.34-.43-.5-.66a3.46 3.46 0 0 1-2.66-5.07l-.14-.39a3.47 3.47 0 0 1-1.08-5.96v-.01a3.47 3.47 0 0 1 .47-6.2 3.47 3.47 0 0 1 2.28-5.79 3.47 3.47 0 0 1 3.87-4.86 3.47 3.47 0 0 1 5.15-3.5 3.47 3.47 0 0 1 5.94-1.83 3.47 3.47 0 0 1 6.22 0 3.47 3.47 0 0 1 5.94 1.83 3.47 3.47 0 0 1 5.14 3.5 3.47 3.47 0 0 1 3.87 4.86 3.47 3.47 0 0 1 2.28 5.8 3.47 3.47 0 0 1 .47 6.19 3.47 3.47 0 0 1-1.08 5.97l-.14.4a3.47 3.47 0 0 1-2.66 5.06c-.16.23-.33.45-.5.66A3.46 3.46 0 0 1 42.6 43l-.98.7a3.46 3.46 0 0 1-4.54 2.3c-.47.17-.94.33-1.43.46-.18.26-.4.49-.65.68v-3.06A14.04 14.04 0 0 0 43.42 35h.08a4.5 4.5 0 0 0 .5-8.97V26Z\" fill=\"#fff\"/></mask><g mask=\"url(#hairCurly-a)\"><path fill=\"#fff\" d=\"M7 3h46v44H7z\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n pigtails: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M39 11.84A5 5 0 0 1 44.04 7a4.99 4.99 0 0 1 5.03 5.18c.02 3.2.7 7.08 1.93 9.82a20.56 20.56 0 0 1-6.22-2.9A16.67 16.67 0 0 1 46 25.38v1.38a4.47 4.47 0 0 0-2-.73V26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73v-1.38c0-2.22.43-4.35 1.22-6.28A20.56 20.56 0 0 1 9 22a26.57 26.57 0 0 0 1.92-10.06A4.99 4.99 0 0 1 15.96 7 5 5 0 0 1 21 11.84a15.67 15.67 0 0 1 18 0Z\" fill=\"${colors.hair.value}\"/><path d=\"M39.01 11.58c4.2 2.96 7 8.19 7 14.13v1.05a4.47 4.47 0 0 0-2-.73V26c-1.82-2-3.14-4.5-3.98-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.7c0-5.94 2.79-11.17 6.99-14.13v.26a15.67 15.67 0 0 1 18 0l.01-.26Z\" fill=\"#fff\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M21 9a5 5 0 0 0-4.39 7.4 16.14 16.14 0 0 1 7.55-6.27A4.98 4.98 0 0 0 21 9Zm23 5a5 5 0 0 0-8.16-3.87 16.14 16.14 0 0 1 7.55 6.27c.39-.7.6-1.53.6-2.4Z\" fill=\"#F55D81\"/>`,\n curlyBun: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M30 2.5a2 2 0 0 0-1.8 1.11 2 2 0 0 0-3.42 1.06 2 2 0 0 0-2.96 2.02 2 2 0 0 0-2.23 2.8 2 2 0 0 0-1.31 3.33A2 2 0 0 0 18 16.4a2 2 0 0 0-.55 2.38 14 14 0 0 1 25.08 0A2 2 0 0 0 42 16.4a2 2 0 0 0-.27-3.58 2 2 0 0 0-1.3-3.33 2 2 0 0 0-2.24-2.8 2 2 0 0 0-2.96-2.02 2 2 0 0 0-3.43-1.06A2 2 0 0 0 30 2.51Z\" fill=\"${colors.hair.value}\"/><path d=\"M43.93 23.63A14 14 0 0 0 31 15h-2a14 14 0 0 0-12.93 8.63 14 14 0 0 1 27.86 0Z\" fill=\"#F55D81\"/>`,\n buzzcut: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M44 25v3c-1.33-1.67-2.67-4.67-4-9-2.66 1.33-6 2-10 2s-7.34-.67-10-2c-1.33 3.67-2.67 6.33-4 8v-2a14 14 0 1 1 28 0Z\" style=\"mix-blend-mode:multiply\" opacity=\".2\" fill=\"${colors.hair.value}\"/>`,\n bobBangs: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26c-2.18-2.42-3.65-5.54-4.42-9.36a19.6 19.6 0 0 1-9.08 7.86c-4.67 2-9.5 2.33-14.5 1v.53c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm-9 21.31v-3.23A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76V45a38.74 38.74 0 0 1-11 2.31ZM14 45a38.74 38.74 0 0 0 11 2.31v-3.23A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76V45Z\" fill=\"${colors.hair.value}\"/><mask id=\"hairBobBangs-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"14\" y=\"9\" width=\"32\" height=\"39\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26c-2.18-2.42-3.65-5.54-4.42-9.36a19.6 19.6 0 0 1-9.08 7.86c-4.67 2-9.5 2.33-14.5 1v.53c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm-9 21.31v-3.23A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76V45a38.74 38.74 0 0 1-11 2.31ZM14 45a38.74 38.74 0 0 0 11 2.31v-3.23A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76V45Z\" fill=\"#362C47\"/></mask><g mask=\"url(#hairBobBangs-a)\"><path fill=\"#fff\" d=\"M13 9h34v18H13z\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n bald: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M26.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.38 21.77c.37.19.82.04 1-.33a15.05 15.05 0 0 1 2-3.06c.76-.88 1.63-1.62 2.63-2.2a.75.75 0 0 0-.75-1.3 11.86 11.86 0 0 0-3 2.52c-.85.99-1.58 2.11-2.2 3.37a.75.75 0 0 0 .33 1Z\" style=\"mix-blend-mode:overlay\" opacity=\".2\" fill=\"#fff\"/>`,\n balding: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"m16.97 25.55 2.7-8.55H18a3 3 0 0 0-2.98 3.31l.65 6.2c.6 0 1.12-.39 1.3-.95ZM41.34 17h-1.67l2.7 8.55c.18.56.7.95 1.3.95l.65-6.19a3 3 0 0 0-2.98-3.3Z\" fill=\"${colors.hair.value}\"/><path d=\"M26.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM19.38 21.77c.37.19.82.04 1-.33a15.05 15.05 0 0 1 2-3.06c.76-.88 1.63-1.62 2.63-2.2a.75.75 0 0 0-.75-1.3 11.86 11.86 0 0 0-3 2.52c-.85.99-1.58 2.11-2.2 3.37a.75.75 0 0 0 .33 1Z\" style=\"mix-blend-mode:overlay\" opacity=\".2\" fill=\"#fff\"/>`,\n cap: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path opacity=\".2\" d=\"M30 17c3.88 0 7.55-.37 11 4.22l-1.9 6.5c-.61 1.22-1.64 1.55-2.46.79-2.1-1.92-4.3-2.88-6.64-2.88-2.33 0-4.55.96-6.64 2.89-.82.76-1.85.43-2.46-.8L19 21.22c3.45-4.6 7.12-4.22 11-4.22Z\" fill=\"#000\"/><path d=\"M27.3 11.2a3 3 0 0 1 5.4 0c6.1.96 10.82 5.24 11.3 12.72a27.7 27.7 0 0 0-3.96-1.3l-.94.6a2 2 0 0 1-2.46.46 13.86 13.86 0 0 0-13.28 0 2 2 0 0 1-2.46-.46l-.94-.6c-1.4.35-2.72.78-3.96 1.3.48-7.48 5.2-11.76 11.3-12.71Z\" fill=\"#F29C65\"/><path d=\"M19.96 22.62c-1.4.35-2.72.78-3.96 1.3C16.55 15.37 22.63 11 30 11s13.45 4.37 14 12.92a27.7 27.7 0 0 0-3.96-1.3L41 22c-3.45-2.67-7.12-4-11-4s-7.55 1.33-11 4l.96.62Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".28\"/><path d=\"m39.45 23-.35.22a2 2 0 0 1-2.46.46 13.86 13.86 0 0 0-13.28 0 2 2 0 0 1-2.46-.46l-.35-.23c.87.07 2.19-.47 2.81-.81a13.86 13.86 0 0 1 13.28 0c.62.34 1.94.88 2.8.81Z\" fill=\"#fff\" style=\"mix-blend-mode:lighten\" opacity=\".2\"/>`,\n bunUndercut: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<circle cx=\"30\" cy=\"12\" r=\"4\" fill=\"#5A45FF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"m33.72 12.84-.05 7.66c3.72-.75 5.83-1.25 6.33-1.5 1.33 4.33 2.67 7.33 4 9v-3a14 14 0 0 0-7.06-12.16c0-.02-1.08-.02-3.22 0ZM20 19c.5.25 2.6.75 6.33 1.5v-7.66h-3.27A14 14 0 0 0 16 25v3c1.33-1.67 2.67-4.67 4-9Z\" fill=\"${colors.hair.value}\" opacity=\".3\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M30 6c-2.1 0-3.81 2.01-3.99 4.57-.72.41-1.44.94-2.14 1.58a3 3 0 0 0-.96 1.93l-.21 2.2a3.87 3.87 0 0 0 3.02 4.14c1.73.39 3.16.58 4.29.58 1.12 0 2.5-.18 4.17-.55a4 4 0 0 0 3.13-4.09l-.1-2.17a3 3 0 0 0-1.04-2.14 12.1 12.1 0 0 0-2.18-1.5C33.8 7.98 32.08 6 30 6Zm0 3.5a8 8 0 0 0-3.67.9 4 4 0 0 1 7.33-.03A8.25 8.25 0 0 0 30 9.5Z\" fill=\"${colors.hair.value}\"/><path d=\"M26.02 10.56C26.19 8 27.9 6 30 6c2.07 0 3.77 1.96 3.98 4.47a11 11 0 0 0-.36-.17 4 4 0 0 0-7.28.09l-.32.17Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".22\"/>`,\n fade: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<mask id=\"hairFade-b\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"16\" y=\"12\" width=\"28\" height=\"15\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M16 27v-2a14 14 0 0 1 7.5-12.4v.14c.09 1.68.16 3.3-.4 4.53-.7 1.57-1.78 2.45-2.72 3.21l-.62.52c-.7.61-2.44 2.49-3.76 6Zm28 0v-2a14 14 0 0 0-7.5-12.4v.14c-.09 1.68-.16 3.3.4 4.53.7 1.57 1.78 2.45 2.72 3.21l.62.52c.7.61 2.44 2.49 3.76 6Z\" fill=\"url(#hairFade-a)\"/></mask><g mask=\"url(#hairFade-b)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"m16 27-.2-14.4h7.7l.06 14.4H16Zm20.72 0H44l-.07-14.4H36.5l.22 14.4Z\" fill=\"${colors.hair.value}\"/></g><path d=\"M22.3 17.95c0-3.6 2.72-6.63 6.3-7L38 10a6.84 6.84 0 0 1-6.49 9h-8.15c-.58 0-1.05-.47-1.05-1.05Z\" fill=\"${colors.hair.value}\"/><defs><linearGradient id=\"hairFade-a\" x1=\"16\" y1=\"12.6\" x2=\"16\" y2=\"27\" gradientUnits=\"userSpaceOnUse\"><stop/><stop offset=\"1\" stop-opacity=\".01\"/></linearGradient></defs>`,\n beanie: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M17 19.8a14 14 0 0 1 26 0l.24.2a1 1 0 0 1 .34.54l.62 2.64a.5.5 0 0 1-.77.52C38.99 20.57 34.5 19 30 19S21 20.57 16.58 23.7a.5.5 0 0 1-.77-.52l.62-2.64a1 1 0 0 1 .34-.55l.24-.19Z\" fill=\"#E15C66\"/><path d=\"M30 15c6.45 0 12.01 4.04 13.25 5 .16.14.28.32.33.53l.62 2.6c.1.46-.44.83-.83.57C41.06 22.18 35.57 19 30 19c-5.57 0-11.05 3.18-13.36 4.7-.4.26-.93-.1-.82-.56l.6-2.6c.05-.21.17-.4.34-.53 1.23-.96 6.8-5 13.24-5Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/>`,\n straightBun: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M20.2 15a10 10 0 1 1 19.6 0c-2.53-2.47-5.98-4-9.8-4-3.82 0-7.27 1.53-9.8 4Z\" fill=\"${colors.hair.value}\"/><path d=\"M43.93 23.63A14 14 0 0 0 31 15h-2a14 14 0 0 0-12.93 8.63 14 14 0 0 1 27.86 0Z\" fill=\"#F55D81\"/>`,\n extraLong: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v22.28H35V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76ZM14 56.57h11.13L25 49.55v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v22.33Z\" fill=\"${colors.hair.value}\"/><mask id=\"hairExtraLong-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"14\" y=\"9\" width=\"32\" height=\"48\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M44 26c-1.8-2-3.13-4.5-3.97-7.47-1.87 2.28-4.55 3.6-8.03 3.97-5.83.61-10.82-.33-14.95-2.82A13.96 13.96 0 0 0 16 25v1.03c-.73.08-1.42.34-2 .73V25.5C14 16.39 21.16 9 30 9s16 7.39 16 16.5v1.26a4.47 4.47 0 0 0-2-.73V26Zm2 8.24v22.28H35V44.08A14.04 14.04 0 0 0 43.42 35h.08c.93 0 1.78-.28 2.5-.76ZM14 56.57h11.13L25 49.55v-5.47A14.04 14.04 0 0 1 16.58 35h-.08c-.93 0-1.79-.28-2.5-.76v22.33Z\" fill=\"#362C47\"/></mask><g mask=\"url(#hairExtraLong-a)\"><path fill=\"#fff\" d=\"M14 9h32v18H14z\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n shortComboverChops: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"m15.79 25.56-.71-6.6A9 9 0 0 1 24.03 9H41c0 1.28-.26 2.51-.74 3.63a7.93 7.93 0 0 1 4.6 8.35L44 27v4.22a14 14 0 0 1-.48 3.42l-2.52.54A1 1 0 0 1 39.8 34l1.9-9.12c-1.57-2.09-2.68-5.24-3.31-9.44a9.24 9.24 0 0 1-5.7 2.77c-1.82.2-3.39.29-4.7.29-3 0-5.67-.5-8-1.5 0 2.6-.67 5.1-2 7.52L19.98 34a1 1 0 0 1-1.2 1.18l-2.51-.54a14 14 0 0 1-.48-3.42v-5.66Z\" fill=\"${colors.hair.value}\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.98 34 18 24.52c1.33-2.42 2-4.93 2-7.52 2.33 1 5 1.5 8 1.5 1.31 0 2.88-.1 4.7-.29A9.24 9.24 0 0 0 41 9H24.03a9 9 0 0 0-8.95 9.97l.7 6.59v5.66a14 14 0 0 0 .49 3.42l2.52.54A1 1 0 0 0 19.98 34ZM44 31.22V27l.86-6.02.02-.14a7.91 7.91 0 0 0-2.42-6.73 9.29 9.29 0 0 1-3.45 4.5 17.22 17.22 0 0 0 2.7 6.27L39.8 34A1 1 0 0 0 41 35.18l2.52-.54a14 14 0 0 0 .48-3.42Z\" fill=\"#fff\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/>`,\n mohawk: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M30.03 8a6.51 6.51 0 0 1 4.85 2.05c.56.54.96 1.32 1.1 2.14l.67 4.16c.35 1.94-.7 3.67-2.53 4.09-1.62.37-3 .55-4.12.55-1.13 0-2.55-.2-4.24-.58-1.84-.42-2.84-2.2-2.38-4.14l.79-4.2c.16-.74.53-1.43 1.03-1.93C25.83 9.5 27.3 8 30.03 8Z\" fill=\"${colors.hair.value}\"/><path d=\"M34.88 10.05c.56.54.96 1.32 1.1 2.14l.67 4.16c.35 1.94-.7 3.67-2.53 4.09-1.62.37-3 .55-4.12.55-1.13 0-2.55-.2-4.24-.58-1.84-.42-2.84-2.2-2.38-4.14l.79-4.2c.16-.74.53-1.43 1.03-1.93.26-.27.67-.69 1.25-1.08-.31.48-1.45.98-1.45 2.43V15a3.06 3.06 0 0 0 2.02 3.51c1.18.34 2.18.5 2.98.5.79 0 1.76-.16 2.9-.47 1.28-.35 2.35-1.89 2.1-3.53v-3c0-1.5-1.1-2.54-1.5-3l-.14-.14c.73.42 1.22.9 1.52 1.2Z\" fill=\"#fff\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/>`,\n};\n","import type {\n ComponentGroup,\n ComponentPickCollection,\n ColorPickCollection,\n} from '../static-types';\n\nexport const body: ComponentGroup = {\n squared: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z\" fill=\"${colors.clothing.value}\"/>`,\n rounded: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M16 7v.47a5 5 0 1 0 10 0V7c7.06 1.52 12.93 6.74 16 13H0C3.07 13.74 8.94 8.52 16 7Z\" fill=\"${colors.clothing.value}\"/>`,\n small: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M32 20H10v-8a11 11 0 0 1 6-9.8V4a5 5 0 0 0 10 0V2.2a11 11 0 0 1 6 9.8v8Z\" fill=\"${colors.clothing.value}\"/><mask id=\"bodySmall-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"10\" y=\"2\" width=\"22\" height=\"18\"><path d=\"M32 20H10v-8a11 11 0 0 1 6-9.8V4a5 5 0 0 0 10 0V2.2a11 11 0 0 1 6 9.8v8Z\" fill=\"#fff\"/></mask><g mask=\"url(#bodySmall-a)\"><path opacity=\".14\" d=\"M20.62 8.25 22 8l1.2.5L10 15l10.62-6.75Z\" fill=\"#000\"/><path d=\"M21 1h11v47H10V15l13.34-6.58L21 1Z\" fill=\"#fff\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/></g>`,\n checkered: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z\" fill=\"${colors.clothing.value}\"/><mask id=\"bodyCheckered-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"3\" y=\"5\" width=\"36\" height=\"15\"><path d=\"M16 5v3a5 5 0 0 0 10 0V5l6.65 2.05a9 9 0 0 1 6.35 8.6V20H3v-4.35a9 9 0 0 1 6.35-8.6L16 5Z\" fill=\"#fff\"/></mask><g mask=\"url(#bodyCheckered-a)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7 20h4V6.54l-1.65.5A9 9 0 0 0 7 8.17V20ZM32.65 7.05 31 6.54V20h4V8.16a9 9 0 0 0-2.35-1.11ZM23 20h4v-8.4a7.02 7.02 0 0 1-4 3.11v5.3Zm-4 0h-4v-8.4a7.02 7.02 0 0 0 4 3.11v5.3Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".4\"/></g><path d=\"M3.4 13a9.01 9.01 0 0 1 2.53-4h8.14a6.98 6.98 0 0 0 2.03 4H3.4ZM39 17v3H3v-3h36ZM36.07 9a9.01 9.01 0 0 1 2.53 4H25.9a6.98 6.98 0 0 0 2.03-4h8.14Z\" style=\"mix-blend-mode:lighten\" opacity=\".18\" fill=\"#fff\"/><mask id=\"bodyCheckered-b\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"3\" y=\"9\" width=\"36\" height=\"11\"><path d=\"M3.4 13a9.01 9.01 0 0 1 2.53-4h8.14a6.98 6.98 0 0 0 2.03 4H3.4ZM39 17v3H3v-3h36ZM36.07 9a9.01 9.01 0 0 1 2.53 4H25.9a6.98 6.98 0 0 0 2.03-4h8.14Z\" style=\"mix-blend-mode:lighten\" fill=\"#fff\"/></mask>`,\n};\n","import type {\n ComponentGroup,\n ComponentPickCollection,\n ColorPickCollection,\n} from '../static-types';\n\nexport const mouth: ComponentGroup = {\n smile: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M5 5.87a1 1 0 1 1 1-1.74A6 6 0 0 0 9 5a6 6 0 0 0 3-.87 1 1 0 1 1 1 1.74A8 8 0 0 1 9 7a8 8 0 0 1-4-1.13Z\" fill=\"#1B0640\"/>`,\n frown: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M5 4.13a1 1 0 1 0 1 1.74A6 6 0 0 1 9 5a6 6 0 0 1 3 .87 1 1 0 1 0 1-1.74A8 8 0 0 0 9 3a8 8 0 0 0-4 1.13Z\" fill=\"#1B0640\"/>`,\n surprise: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) => `<ellipse cx=\"9\" cy=\"5\" rx=\"2\" ry=\"2.5\" fill=\"#1B0640\"/>`,\n pacifier: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 2c-.76 0-1.51-.14-2.27-.41A2.03 2.03 0 0 0 4 3.5c0 1.4.82 2.6 2 3.17a3 3 0 0 0 6 0 3.5 3.5 0 0 0 2-3.17 2.03 2.03 0 0 0-2.73-1.91C10.51 1.86 9.76 2 9 2ZM7.59 7h2.82A1.5 1.5 0 0 1 7.6 7Z\" fill=\"#456DFF\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 6.5v.17a3.5 3.5 0 0 0 2-3.17 2.03 2.03 0 0 0-2.73-1.91 6.61 6.61 0 0 1-4.54 0A2.03 2.03 0 0 0 4 3.5c0 1.4.82 2.6 2 3.17V6.5a3 3 0 1 1 6 0ZM7.59 7h2.82A1.5 1.5 0 1 0 7.6 7Z\" fill=\"#fff\" fill-opacity=\".3\" style=\"mix-blend-mode:lighten\"/><circle cx=\"9\" cy=\"4.5\" r=\"1.5\" fill=\"#fff\"/>`,\n bigSmile: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) => `<path d=\"M6 3h6v1a3 3 0 0 1-6 0V3Z\" fill=\"#fff\"/>`,\n smirk: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M7.32 5.73a.75.75 0 0 1 .36-1.46c2.44.61 4.17.32 5.29-.8a.75.75 0 1 1 1.06 1.06c-1.54 1.54-3.81 1.92-6.71 1.2Z\" fill=\"#1B0640\"/>`,\n lips: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M5 5h8s-1 2.5-4 2.5S5 5 5 5Z\" fill=\"#DC5C7A\"/><path d=\"M5.39 4.22A2.1 2.1 0 0 1 9 4a2.1 2.1 0 0 1 3.61.22l.4.78H4.99l.39-.78Z\" fill=\"#F57B98\"/>`,\n};\n","import type {\n ComponentGroup,\n ComponentPickCollection,\n ColorPickCollection,\n} from '../static-types';\n\nexport const nose: ComponentGroup = {\n mediumRound: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M4.25 5a.75.75 0 0 1 1.5 0c0 .84.91 1.75 2.25 1.75 1.34 0 2.25-.91 2.25-1.75a.75.75 0 0 1 1.5 0c0 1.66-1.59 3.25-3.75 3.25S4.25 6.66 4.25 5Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".36\"/>`,\n smallRound: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M5.29 6.24a.75.75 0 1 1 1.42-.48c.23.7.62 1 1.3 1 .66 0 1.05-.3 1.28-1a.75.75 0 1 1 1.42.48c-.42 1.3-1.37 2.01-2.7 2.01S5.72 7.54 5.3 6.24Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".36\"/>`,\n wrinkles: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path opacity=\".12\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.72 5.3c.21.73.27 1.38.2 1.95a20.24 20.24 0 0 1 2.12 4.41.5.5 0 1 0 .94-.32 21.23 21.23 0 0 0-3.4-6.3c.07.07.11.16.14.25Zm-7.44 0a.75.75 0 0 1 .11-.24 28.75 28.75 0 0 0-2.07 3.22c-.48.89-.9 1.9-1.3 3.06a.5.5 0 0 0 .94.32 20.24 20.24 0 0 1 2.12-4.4 4.77 4.77 0 0 1 .19-1.97Z\" fill=\"#000\"/><path d=\"M5.2 4.78a.75.75 0 0 0-.92.51c-.21.75-.27 1.4-.2 1.97.23 1.6 1.6 2.49 3.92 2.49 2.33 0 3.7-.89 3.92-2.5.07-.57.01-1.22-.2-1.96a.75.75 0 1 0-1.44.42c.52 1.83-.09 2.54-2.28 2.54-2.2 0-2.8-.71-2.28-2.54a.75.75 0 0 0-.51-.93Z\" fill=\"#000\" style=\"mix-blend-mode:overlay\" opacity=\".36\"/>`,\n};\n","import type {\n ComponentGroup,\n ComponentPickCollection,\n ColorPickCollection,\n} from '../static-types';\n\nexport const facialHair: ComponentGroup = {\n beardMustache: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"m12.47 9.46 2.43-.83A2.5 2.5 0 0 1 18 10a2.5 2.5 0 0 1 3.1-1.37l2.43.83A18.65 18.65 0 0 0 32 2.7V9A14 14 0 1 1 4 9V2.7c2.05 2.94 5 5.43 8.47 6.76Z\" fill=\"${colors.hair.value}\"/><mask id=\"facialHairBeardMustache-a\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"4\" y=\"2\" width=\"28\" height=\"21\"><path d=\"m12.47 9.46 2.43-.83A2.5 2.5 0 0 1 18 10a2.5 2.5 0 0 1 3.1-1.37l2.43.83A18.65 18.65 0 0 0 32 2.7V9A14 14 0 1 1 4 9V2.7c2.05 2.94 5 5.43 8.47 6.76Z\" fill=\"#fff\"/></mask><g mask=\"url(#facialHairBeardMustache-a)\"><path d=\"M32 9V2.7c-2.05 2.94-5 5.43-8.47 6.76l2.8.96a1 1 0 0 1-.07 1.91l-5.08 1.3A2.71 2.71 0 0 1 18 12.05a2.72 2.72 0 0 1-3.18 1.58l-5.08-1.3a1 1 0 0 1-.08-1.91l2.81-.96A18.65 18.65 0 0 1 4 2.7V9a14 14 0 1 0 28 0Z\" fill=\"#fff\" style=\"mix-blend-mode:overlay\" opacity=\".26\"/><path d=\"M22 13.42v.08a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3.08l.82.21A2.71 2.71 0 0 0 18 12.05a2.72 2.72 0 0 0 3.18 1.58l.82-.2Z\" fill=\"#FFFEFD\"/></g>`,\n pyramid: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M18.02 12.05a2.72 2.72 0 0 1-3.19 1.59l-5.08-1.3a1 1 0 0 1-.07-1.92l5.23-1.79a2.5 2.5 0 0 1 3.1 1.37 2.5 2.5 0 0 1 3.11-1.37l5.24 1.8a1 1 0 0 1-.08 1.9l-5.08 1.3a2.72 2.72 0 0 1-3.18-1.58Z\" fill=\"${colors.hair.value}\"/>`,\n walrus: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path d=\"M10 14a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5H10Z\" fill=\"${colors.hair.value}\"/>`,\n goatee: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.61 10.67a3.61 3.61 0 0 0-2.6 3.57v4.67c0 1 .48 1.93 1.37 2.4 1.39.72 3.63 1.7 5.78 1.7 2.14 0 4.26-.96 5.56-1.7A2.62 2.62 0 0 0 25 18.99v-4.74a3.61 3.61 0 0 0-2.61-3.57 18.05 18.05 0 0 0-4.4-.67c-1.45 0-3.07.33-4.39.67Zm.3 1.41c-.8.22-1.32.97-1.32 1.8v2.67c0 1.07.56 2.06 1.54 2.48 1.08.46 2.59.97 3.97.97 1.39 0 2.85-.5 3.9-.97.96-.42 1.5-1.4 1.5-2.44v-2.7c0-.83-.52-1.58-1.33-1.8a16.72 16.72 0 0 0-4.17-.63c-1.51 0-3.05.33-4.1.62Z\" fill=\"${colors.hair.value}\"/>`,\n shadow: (components: ComponentPickCollection, colors: ColorPickCollection) =>\n `<path opacity=\".2\" d=\"M32 3v4A14 14 0 1 1 4 7V2.7c2.05 2.94 4.53 6.97 8 8.3 2-1 4-1.5 6-1.5s4 .5 6 1.5c3.47-1.33 5.95-5.36 8-8.3V3Z\" fill=\"${colors.hair.value}\"/>`,\n soulPatch: (\n components: ComponentPickCollection,\n colors: ColorPickCollection\n ) =>\n `<path d=\"M16 17.5h4l-.68 2.05a1.39 1.39 0 0 1-2.63 0l-.7-2.05Z\" fill=\"${colors.hair.value}\"/>`,\n};\n","import type { Prng } from '@dicebear/core';\nimport type { Options } from '../options';\nimport type { ColorPickCollection } from '../static-types';\nimport { pickColor } from './pickColor';\n\ntype Props = {\n prng: Prng;\n options: Options;\n};\n\nexport function getColors({ prng, options }: Props): ColorPickCollection {\n return {\n hair: pickColor({\n prng,\n group: 'hair',\n values: options.hairColor,\n }),\n clothing: pickColor({\n prng,\n group: 'clothing',\n values: options.clothingColor,\n }),\n skin: pickColor({\n prng,\n group: 'skin',\n values: options.skinColor,\n }),\n };\n}\n","import type { Prng } from '@dicebear/core';\nimport type { ColorGroupCollection, ColorPick } from '../static-types';\nimport * as colors from '../colors';\n\ntype Props = {\n prng: Prng;\n group: string;\n values?: string[];\n};\n\nexport function pickColor({ prng, group, values = [] }: Props): ColorPick {\n const colorCollection: ColorGroupCollection = colors;\n\n if (values.length === 0) {\n values.push('transparent');\n }\n\n const key = prng.pick(values);\n\n return {\n name: key,\n value: colorCollection[group][key] ?? key,\n };\n}\n","export { hair } from './hair';\nexport { clothing } from './clothing';\nexport { skin } from './skin';\n","import type { ColorGroup } from '../static-types';\n\nexport const hair: ColorGroup = {\n black: 'rgba(54, 44, 71, 1)',\n brunette: 'rgba(108, 69, 69, 1)',\n red: 'rgba(225, 92, 102, 1)',\n pink: 'rgba(225, 99, 129, 1)',\n copper: 'rgba(242, 125, 101, 1)',\n blonde: 'rgba(242, 156, 101, 1)',\n grey: 'rgba(222, 225, 245, 1)',\n};\n","import type { ColorGroup } from '../static-types';\n\nexport const clothing: ColorGroup = {\n blue: 'rgba(69, 109, 255, 1)',\n turquoise: 'rgba(84, 215, 199, 1)',\n purple: 'rgba(117, 85, 202, 1)',\n green: 'rgba(109, 187, 88, 1)',\n red: 'rgba(226, 69, 83, 1)',\n yellow: 'rgba(243, 182, 58, 1)',\n pink: 'rgba(245, 93, 129, 1)',\n};\n","import type { ColorGroup } from '../static-types';\n\nexport const skin: ColorGroup = {\n tone1: 'rgba(238, 180, 164, 1)',\n tone2: 'rgba(231, 163, 145, 1)',\n tone3: 'rgba(229, 160, 126, 1)',\n tone4: 'rgba(215, 135, 116, 1)',\n tone5: 'rgba(177, 106, 91, 1)',\n tone6: 'rgba(146, 89, 75, 1)',\n tone7: 'rgba(98, 61, 54, 1)',\n tone8: 'rgba(201, 230, 220, 1)',\n};\n","import { Prng, StyleOptions } from '@dicebear/core';\n\nimport { Options } from '../options';\n\ntype Props = { prng: Prng; options: StyleOptions<Options>; preview: boolean };\n\nexport function onPreCreate({ prng, options, preview }: Props) {\n // Write your modifications here\n}\n","import { Prng, StyleOptions } from '@dicebear/core';\n\nimport { Options } from '../options';\nimport { ColorPickCollection, ComponentPickCollection } from '../static-types';\n\ntype Props = {\n prng: Prng;\n options: StyleOptions<Options>;\n components: ComponentPickCollection;\n colors: ColorPickCollection;\n preview: boolean;\n};\n\nexport function onPostCreate({\n prng,\n options,\n components,\n colors,\n preview,\n}: Props) {\n // Write your modifications here\n}\n","export const dimensions: Record<string, { width: number; height: number }> = {\n eyes: {\n width: 24,\n height: 10,\n },\n hair: {\n width: 60,\n height: 60,\n },\n body: {\n width: 42,\n height: 20,\n },\n mouth: {\n width: 18,\n height: 10,\n },\n nose: {\n width: 16,\n height: 12,\n },\n facialHair: {\n width: 36,\n height: 29,\n },\n};\n"],"names":[],"version":3,"file":"index.es.js.map"}
|