Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Add a Diwali skin with firecracker and sweet mascots
aivsomkarb46651d5ae4d
diff --git a/electron/skin-overlay.cjs b/electron/skin-overlay.cjsindex 8e44935e1b..390e56f04b 100644--- a/electron/skin-overlay.cjs+++ b/electron/skin-overlay.cjs@@ -14,6 +14,7 @@ const SKIN_CHROME = Object.freeze({meadow: Object.freeze({ color: "#ffffff", symbolColor: "#4d5a52" }),pop: Object.freeze({ color: "#fdf5ea", symbolColor: "#3a322d" }),halloween: Object.freeze({ color: "#110d16", symbolColor: "#c2b3cc" }),+ diwali: Object.freeze({ color: "#100d1f", symbolColor: "#cdbfdc" }),});const DEFAULT_SKIN = "midnight";diff --git a/electron/skin-overlay.test.mjs b/electron/skin-overlay.test.mjsindex 59505bb209..e941f3b170 100644--- a/electron/skin-overlay.test.mjs+++ b/electron/skin-overlay.test.mjs@@ -68,4 +68,9 @@ describe("skin overlay chrome", () => {expect(skinChrome("halloween")).toEqual({ color: "#110d16", symbolColor: "#c2b3cc" });expect(isKnownSkin("halloween")).toBe(true);});++ it("paints Diwali's indigo ground behind the caption buttons", () => {+ expect(skinChrome("diwali")).toEqual({ color: "#100d1f", symbolColor: "#cdbfdc" });+ expect(isKnownSkin("diwali")).toBe(true);+ });});diff --git a/package.json b/package.jsonindex 2bf0c2aee3..1b13979cf9 100644--- a/package.json+++ b/package.json@@ -53,7 +53,7 @@"check:electron": "node scripts/check-electron.mjs","preview": "vite preview","gen:bodies": "node --experimental-strip-types scripts/gen-mascot-bodies.ts",- "gen:halloween": "node --experimental-strip-types scripts/gen-halloween-bodies.ts",+ "gen:carved": "node --experimental-strip-types scripts/gen-carved-bodies.ts","build:server": "tsc -p tsconfig.server.build.json && node scripts/bundle-server.mjs","build:companion": "tsc -p tsconfig.companion.build.json && node scripts/mark-module-scope.mjs dist-companion","build:speech": "node electron/build-speech-helper.mjs",diff --git a/scripts/gen-carved-bodies.ts b/scripts/gen-carved-bodies.tsnew file mode 100644index 0000000000..c98d67f074--- /dev/null+++ b/scripts/gen-carved-bodies.ts@@ -0,0 +1,308 @@+/**+ * Bakes every festival pack into `shared/carved-bodies.ts`. Run with `pnpm gen:carved`.+ *+ * Each pack's drawings live in `scripts/mascot-bodies/<pack>.ts`, in a 240-unit square+ * centred on x = 120.+ *+ * Loaded by `node --experimental-strip-types`, so only erasable type syntax.+ */++import { writeFileSync } from "node:fs"+import { fileURLToPath } from "node:url"++import { toPath } from "./mascot-bodies/draw.ts"+import type { Def, Eyes, Fill } from "./mascot-bodies/carved.ts"+import { DIWALI } from "./mascot-bodies/diwali.ts"+import { HALLOWEEN } from "./mascot-bodies/halloween.ts"++/** Picker order: each pack's ids, in its drawing order. */+const PACKS: ReadonlyArray<[string, Def[]]> = [["halloween", HALLOWEEN], ["diwali", DIWALI]]+const DEFS = PACKS.flatMap(([, defs]) => defs)++const quote = (s: string) => JSON.stringify(s)++interface Baked {+ id: string+ name: string+ paint: Def["paint"]+ bone: string | null+ eyes: Eyes+ clip: string+ parts: Array<{ fill: Fill; d: string }>+}++const BAKED: Baked[] = DEFS.map((def) => ({+ id: def.id,+ name: def.name,+ paint: def.paint,+ bone: def.bone,+ eyes: { ...def.eyes, mouth: def.eyes.mouth ?? true, mouthInk: def.eyes.mouthInk ?? def.eyes.ink, mouthY: def.eyes.mouthY ?? null },+ clip: toPath(def.face),+ parts: def.parts.map(([field, fill]) => ({ fill, d: toPath(field) })),+}))++/** Long path data on several lines; both phone parsers read newlines as separators. */+function wrap(d: string, pad: string, width = 100): string {+ const lines: string[] = []+ let line = ""+ for (const token of d.split(" ")) {+ if (line && line.length + 1 + token.length > width) {+ lines.push(pad + line)+ line = token+ } else line = line ? `${line} ${token}` : token+ }+ if (line) lines.push(pad + line)+ return lines.join("\n")+}++function emitTs(): string {+ const entries = BAKED.map((body) => {+ const parts = body.parts.map((part) => ` { fill: ${quote(part.fill)}, d: ${quote(part.d)} },`)+ return [+ ` ${body.id}: {`,+ ` id: ${quote(body.id)},`,+ ` name: ${quote(body.name)},`,+ ` paint: ${quote(body.paint)},`,+ ` bone: ${body.bone ? quote(body.bone) : "null"},`,+ ` eyes: ${JSON.stringify(body.eyes).replace(/"(\w+)":/g, "$1: ").replace(/,(?=\w)/g, ", ")},`,+ ` clip: ${quote(body.clip)},`,+ ` parts: [`,+ ...parts,+ ` ],`,+ ` },`,+ ].join("\n")+ })+ const packs = PACKS.map(([pack, defs]) => {+ const upper = pack.toUpperCase()+ const type = pack[0].toUpperCase() + pack.slice(1)+ return [+ `/** Every ${type} body id, in the order the picker shows them. */`,+ `export const ${upper}_BODY_IDS = [${defs.map((def) => quote(def.id)).join(", ")}] as const;`,+ ``,+ `export type ${type}BodyId = (typeof ${upper}_BODY_IDS)[number];`,+ ].join("\n")+ })+ const all = PACKS.map(([pack]) => `...${pack.toUpperCase()}_BODY_IDS`).join(", ")+ return `/**+ * The festival bodies a bot can wear, drawn flat with a carved face.+ *+ * GENERATED FILE — do not hand-edit. Run \`pnpm gen:carved\` to rebuild it from+ * \`scripts/gen-carved-bodies.ts\`.+ *+ * Drawn flat: the bot's own colour (or a pale or fixed stand-in), a few fixed-colour accents+ * and a carved face. Paths are in a 240-unit square centred on x = 120.+ */++${packs.join("\n\n")}++export const CARVED_BODY_IDS = [${all}] as const;++export type CarvedBodyId = (typeof CARVED_BODY_IDS)[number];++export interface CarvedEyes {+ /** Rest position of the pair's centre. */+ cx: number;+ cy: number;+ /** Half the distance between the two eyes. */+ dx: number;+ /** Resting pill size. */+ w: number;+ h: number;+ /** Diameter when startled. */+ round: number;+ ink: string;+ /** False when the drawing carries its own mouth. */+ mouth: boolean;+ mouthInk: string;+ /** Where the smile sits when it can't hang under the eyes. */+ mouthY: number | null;+}++export interface CarvedBody {+ id: CarvedBodyId;+ /** Human-readable name, used for the picker and the accessible label. */+ name: string;+ /** "bot" fills with the bot's colour, "pale" with a near-white tint of it, "bone" with \`bone\`. */+ paint: "bot" | "pale" | "bone";+ bone: string | null;+ eyes: CarvedEyes;+ /** Where the eyes may show. */+ clip: string;+ /** Draw order, bottom first. "body" is the paint; "accent" is the bot's colour. */+ parts: ReadonlyArray<{ fill: string; d: string }>;+}++export const CARVED_BODIES: Record<CarvedBodyId, CarvedBody> = {+${entries.join("\n")}+};+`+}++const swiftNumber = (n: number | null) => (n === null ? "nil" : String(n))++function emitSwift(): string {+ const entries = BAKED.map((body) => {+ const e = body.eyes+ const parts = body.parts.map((part) => [+ ` Part(fill: ${quote(part.fill)}, path: """`,+ wrap(part.d, " "),+ ` """),`,+ ].join("\n"))+ return [+ ` ${quote(body.id)}: Body(`,+ ` id: ${quote(body.id)},`,+ ` name: ${quote(body.name)},`,+ ` paint: ${quote(body.paint)},`,+ ` bone: ${body.bone ? quote(body.bone) : "nil"},`,+ ` eyes: Eyes(cx: ${e.cx}, cy: ${e.cy}, dx: ${e.dx}, w: ${e.w}, h: ${e.h}, round: ${e.round}, ink: ${quote(e.ink)}, mouth: ${e.mouth}, mouthInk: ${quote(e.mouthInk)}, mouthY: ${swiftNumber(e.mouthY)}),`,+ ` clip: """`,+ wrap(body.clip, " "),+ ` """,`,+ ` parts: [`,+ ...parts,+ ` ]`,+ ` ),`,+ ].join("\n")+ })+ return `// The festival bodies a bot can wear — the phone's half of \`shared/carved-bodies.ts\`.+//+// GENERATED FILE — do not hand-edit. Run \`pnpm gen:carved --swift <file>\` to rebuild it+// from \`scripts/gen-carved-bodies.ts\`.+//+// Paths are absolute \`M\`, \`C\`, \`Z\` only, in a 240-unit square centred on x = 120, with+// newlines as separators — what \`MausSilhouette.parse\` reads.+import CoreGraphics++enum CarvedBodies {+ struct Eyes {+ let cx: CGFloat+ let cy: CGFloat+ let dx: CGFloat+ let w: CGFloat+ let h: CGFloat+ let round: CGFloat+ let ink: String+ let mouth: Bool+ let mouthInk: String+ let mouthY: CGFloat?+ }++ /// \`fill\` is "body" (the bot's paint), "accent" (the bot's colour) or a literal hex colour.+ struct Part {+ let fill: String+ let path: String+ }++ struct Body {+ let id: String+ let name: String+ /// "bot", "pale" or "bone".+ let paint: String+ let bone: String?+ let eyes: Eyes+ let clip: String+ let parts: [Part]+ }++${PACKS.map(([pack, defs]) => ` static let ${pack}: [String] = [${defs.map((def) => quote(def.id)).join(", ")}]`).join("\n")}++ static let all: [String: Body] = [+${entries.join("\n")}+ ]++ static func body(_ id: String?) -> Body? {+ guard let id else { return nil }+ return all[id]+ }+}+`+}++const kotlinFloat = (n: number) => `${n}f`++function emitKotlin(): string {+ const entries = BAKED.map((body) => {+ const e = body.eyes+ const parts = body.parts.map((part) => [+ ` Part(fill = ${quote(part.fill)}, path = """`,+ wrap(part.d, " "),+ ` """),`,+ ].join("\n"))+ return [+ ` ${quote(body.id)} to Body(`,+ ` id = ${quote(body.id)},`,+ ` name = ${quote(body.name)},`,+ ` paint = ${quote(body.paint)},`,+ ` bone = ${body.bone ? quote(body.bone) : "null"},`,+ ` eyes = Eyes(cx = ${kotlinFloat(e.cx)}, cy = ${kotlinFloat(e.cy)}, dx = ${kotlinFloat(e.dx)}, w = ${kotlinFloat(e.w)}, h = ${kotlinFloat(e.h)}, round = ${kotlinFloat(e.round)}, ink = ${quote(e.ink)}, mouth = ${e.mouth}, mouthInk = ${quote(e.mouthInk)}, mouthY = ${e.mouthY === null ? "null" : kotlinFloat(e.mouthY)}),`,+ ` clip = """`,+ wrap(body.clip, " "),+ ` """,`,+ ` parts = listOf(`,+ ...parts,+ ` ),`,+ ` ),`,+ ].join("\n")+ })+ return `package com.openmausbot.companion.ui++/**+ * The festival bodies a bot can wear — the Android half of \`shared/carved-bodies.ts\`.+ *+ * GENERATED FILE — do not hand-edit. Run \`pnpm gen:carved --kotlin <file>\` to rebuild it+ * from \`scripts/gen-carved-bodies.ts\`.+ *+ * Paths are absolute \`M\`, \`C\`, \`Z\` only, in a 240-unit square centred on x = 120, with+ * newlines as separators — what [MausSilhouette] parses.+ */+internal object CarvedBodies {+ data class Eyes(+ val cx: Float,+ val cy: Float,+ val dx: Float,+ val w: Float,+ val h: Float,+ val round: Float,+ val ink: String,+ val mouth: Boolean,+ val mouthInk: String,+ val mouthY: Float?,+ )++ /** [fill] is "body" (the bot's paint), "accent" (the bot's colour) or a literal hex colour. */+ data class Part(val fill: String, val path: String)++ data class Body(+ val id: String,+ val name: String,+ /** "bot", "pale" or "bone". */+ val paint: String,+ val bone: String?,+ val eyes: Eyes,+ val clip: String,+ val parts: List<Part>,+ )++${PACKS.map(([pack, defs]) => ` val ${pack}: List<String> = listOf(${defs.map((def) => quote(def.id)).join(", ")})`).join("\n")}++ val all: Map<String, Body> = mapOf(+${entries.join("\n")}+ )++ fun body(id: String?): Body? = id?.let { all[it] }+}+`+}++const out = fileURLToPath(new URL("../shared/carved-bodies.ts", import.meta.url))+writeFileSync(out, emitTs())+console.log(`wrote ${BAKED.length} carved bodies to shared/carved-bodies.ts`)++for (const [flag, emitNative] of [["--swift", emitSwift], ["--kotlin", emitKotlin]] as const) {+ const at = process.argv.indexOf(flag)+ if (at === -1) continue+ const nativeOut = process.argv[at + 1]+ if (!nativeOut) throw new Error(`${flag} needs an output file`)+ writeFileSync(nativeOut, emitNative())+ console.log(`wrote ${nativeOut}`)+}diff --git a/scripts/gen-halloween-bodies.ts b/scripts/gen-halloween-bodies.tsdeleted file mode 100644index 8d165cba08..0000000000--- a/scripts/gen-halloween-bodies.ts+++ /dev/null@@ -1,450 +0,0 @@-/**- * Bakes the Halloween bodies into `shared/halloween-bodies.ts`. Run with `pnpm gen:halloween`.- *- * Every drawing lives in a 240-unit square centred on x = 120.- *- * Loaded by `node --experimental-strip-types`, so only erasable type syntax.- */--import { writeFileSync } from "node:fs"-import { fileURLToPath } from "node:url"--import {- box, circle, ellipse, grow, intersect, mirror, polygon, polyStroke, smooth, stroke, subtract, toPath, union,- type Field,-} from "./mascot-bodies/draw.ts"--const GREY = "#3d3d3d"-const LIGHT_GREY = "#8d8d8d"-const NUT_GREY = "#6f6f6f"-const INK = "#0d0a10"--const pFront = union(ellipse(97, 146, 64, 92), ellipse(143, 146, 64, 92))-const pSide = union(ellipse(53, 154, 46, 70), ellipse(187, 154, 46, 70))-const pumpkin = smooth(6, pFront, pSide)-const pumpkinStem = smooth(3, stroke([121, 74], [123, 46], [114, 24], [97, 11], 12, 7.5), circle(121, 74, 12))--const ghost = subtract(- smooth(6, circle(120, 98, 80), polygon([[40, 98], [200, 98], [208, 196], [32, 196]]), ...[54, 98, 142, 186].map((x) => circle(x, 198, 22))),- union(...[76, 120, 164].map((x) => circle(x, 228, 12))),- 3,-)--const witchHair = smooth(5, box(44, 100, 196, 170, 36), mirror(stroke([60, 112], [46, 140], [40, 184], [50, 224], 19, 8, 50)))-const witchHead = ellipse(120, 168, 76, 70)-const witchBrim = ellipse(120, 98, 112, 16)-const witchCone = stroke([120, 94], [117, 56], [138, 30], [184, 14], 44, 3.5, 60)-const witchBand = intersect(witchCone, box(0, 72, 240, 88))-const witchFace = subtract(witchHead, grow(witchBrim, 3))--const batWing = subtract(- polygon([[150, 106], [196, 74], [244, 58], [238, 120], [204, 158], [162, 168]]),- union(circle(258, 91, 28), circle(234, 149, 28), circle(188, 180, 28)),- 3,-)-const bat = smooth(8, circle(120, 136, 72), mirror(batWing), mirror(grow(polygon([[74, 100], [80, 32], [114, 78]]), 4)))--const cat = smooth(8, ellipse(120, 150, 98, 80), mirror(grow(polygon([[34, 120], [50, 30], [102, 78]]), 5)))--const skull = subtract(smooth(10, circle(120, 100, 84), box(66, 146, 174, 228, 22)), mirror(circle(34, 202, 32)), 8)-const skullNose = grow(polygon([[110, 152], [130, 152], [120, 168]]), 3)-const skullTeeth = intersect(grow(skull, -1), union(- polyStroke([[82, 202, 2.2], [158, 202, 2.2]]),- ...[95, 107.5, 120, 132.5, 145].map((x) => polyStroke([[x, 190, 2.2], [x, 214, 2.2]])),-))--const monHead = box(34, 22, 206, 232, 26)-const zigzag: Array<[number, number]> = []-for (let i = 6; i >= 0; i--) {- const x = 34 + (172 / 6) * i- zigzag.push([x, 80])- if (i > 0) zigzag.push([x - 172 / 12, 98])-}-const monHair = intersect(grow(monHead, 4), grow(polygon([[30, 10], [210, 10], [210, 80], ...zigzag, [30, 80]]), 1.5))-const monBolt = mirror(box(12, 180, 44, 198, 4))-const monNut = mirror(box(4, 174, 18, 204, 3.5))-const monFace = subtract(monHead, grow(monHair, 2))--const mummy = box(36, 14, 204, 232, 84)-const wraps: Array<[number, number]> = [[44, -0.12], [74, 0.1], [158, 0.12], [188, -0.1], [216, 0.08]]-const mummyWraps = intersect(mummy, union(...wraps.map(([y, m]) => polyStroke([[-10, y - m * 130, 2], [250, y + m * 130, 2]]))))-const mummySlit = intersect(grow(mummy, -0.5), polygon([[-10, 104], [250, 96], [250, 134], [-10, 142]]))--const vampCollar = grow(polygon([[24, 110], [76, 178], [120, 190], [164, 178], [216, 110], [212, 198], [176, 232], [120, 244], [64, 232], [28, 198]]), 2)-const vampLining = intersect(grow(vampCollar, -8), box(0, 100, 240, 236))-const vampHead = ellipse(120, 136, 74, 90)-const vampHair = intersect(grow(vampHead, 4), polygon([[0, 0], [240, 0], [240, 112], [198, 108], [178, 80], [148, 72], [120, 104], [92, 72], [62, 80], [42, 108], [0, 112]]))-const vampFace = subtract(vampHead, grow(vampHair, 2))--const legs: Array<Array<[number, number, number]>> = [- [[174, 102, 6.5], [212, 62, 6], [236, 86, 5]],- [[188, 124, 6.5], [228, 106, 6], [240, 134, 5]],- [[188, 152, 6.5], [228, 154, 6], [236, 188, 5]],- [[176, 178, 6.5], [208, 202, 6], [214, 234, 5]],-]-const spider = circle(120, 138, 74)--type Fill = "body" | "accent" | string--interface Eyes {- /** Rest position of the pair's centre, in drawing units. */- cx: number- cy: number- /** Half the distance between the two eyes. */- dx: number- /** Resting pill size. */- w: number- h: number- /** Diameter when startled. */- round: number- ink: string- /** False when the drawing carries its own mouth (the skull's teeth). */- mouth: boolean- mouthInk: string- /** Where the smile sits when it can't hang under the eyes (the mummy's slit). */- mouthY: number | null-}--interface Def {- id: string- name: string- paint: "bot" | "pale" | "bone"- bone: string | null- face: Field- eyes: Omit<Eyes, "mouth" | "mouthInk" | "mouthY"> & Partial<Pick<Eyes, "mouth" | "mouthInk" | "mouthY">>- parts: Array<[Field, Fill]>-}--const DEFS: Def[] = [- {- id: "pumpkin", name: "Pumpkin", paint: "bot", bone: null, face: pumpkin,- eyes: { cx: 120, cy: 152, dx: 35, w: 28, h: 56, round: 50, ink: INK },- parts: [[pumpkinStem, GREY], [pumpkin, "body"]],- },- {- id: "ghost", name: "Ghost", paint: "pale", bone: null, face: ghost,- eyes: { cx: 120, cy: 112, dx: 32, w: 26, h: 52, round: 44, ink: INK },- parts: [[ghost, "body"]],- },- {- id: "witch", name: "Witch", paint: "bot", bone: null, face: witchFace,- eyes: { cx: 120, cy: 174, dx: 30, w: 24, h: 46, round: 40, ink: INK },- parts: [[witchHair, GREY], [witchHead, "body"], [witchCone, GREY], [witchBand, "accent"], [witchBrim, GREY]],- },- {- id: "bat", name: "Bat", paint: "bot", bone: null, face: bat,- eyes: { cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: INK },- parts: [[bat, "body"]],- },- {- id: "cat", name: "Cat", paint: "bot", bone: null, face: cat,- eyes: { cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: INK },- parts: [[cat, "body"]],- },- {- id: "skull", name: "Skull", paint: "bone", bone: "#f1ede6", face: skull,- eyes: { cx: 120, cy: 112, dx: 34, w: 42, h: 44, round: 50, ink: INK, mouth: false },- parts: [[skull, "body"], [skullNose, INK], [skullTeeth, INK]],- },- {- id: "monster", name: "Monster", paint: "bot", bone: null, face: monFace,- eyes: { cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: INK },- parts: [[monBolt, LIGHT_GREY], [monNut, NUT_GREY], [monHead, "body"], [monHair, GREY]],- },- {- id: "mummy", name: "Mummy", paint: "bone", bone: "#efe5cf", face: mummySlit,- eyes: { cx: 120, cy: 119, dx: 30, w: 24, h: 24, round: 30, ink: "#f4efe4", mouthInk: INK, mouthY: 170 },- parts: [[mummy, "body"], [mummyWraps, "#d8ccb2"], [mummySlit, INK]],- },- {- id: "vampire", name: "Vampire", paint: "bot", bone: null, face: vampFace,- eyes: { cx: 120, cy: 150, dx: 28, w: 22, h: 42, round: 38, ink: "#7a0f24" },- parts: [[vampCollar, GREY], [vampLining, "accent"], [vampHead, "#f2eef4"], [vampHair, GREY]],- },- {- id: "spider", name: "Spider", paint: "bot", bone: null, face: spider,- eyes: { cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: INK },- parts: [- [polyStroke([[120, 66, 1.3], [120, 0, 1.3]]), LIGHT_GREY],- [mirror(union(...legs.map((leg) => polyStroke(leg)))), GREY],- [spider, "body"],- ],- },-]--const quote = (s: string) => JSON.stringify(s)--interface Baked {- id: string- name: string- paint: Def["paint"]- bone: string | null- eyes: Eyes- clip: string- parts: Array<{ fill: Fill; d: string }>-}--const BAKED: Baked[] = DEFS.map((def) => ({- id: def.id,- name: def.name,- paint: def.paint,- bone: def.bone,- eyes: { ...def.eyes, mouth: def.eyes.mouth ?? true, mouthInk: def.eyes.mouthInk ?? def.eyes.ink, mouthY: def.eyes.mouthY ?? null },- clip: toPath(def.face),- parts: def.parts.map(([field, fill]) => ({ fill, d: toPath(field) })),-}))--/** Long path data on several lines; both phone parsers read newlines as separators. */-function wrap(d: string, pad: string, width = 100): string {- const lines: string[] = []- let line = ""- for (const token of d.split(" ")) {- if (line && line.length + 1 + token.length > width) {- lines.push(pad + line)- line = token- } else line = line ? `${line} ${token}` : token- }- if (line) lines.push(pad + line)- return lines.join("\n")-}--function emitTs(): string {- const entries = BAKED.map((body) => {- const parts = body.parts.map((part) => ` { fill: ${quote(part.fill)}, d: ${quote(part.d)} },`)- return [- ` ${body.id}: {`,- ` id: ${quote(body.id)},`,- ` name: ${quote(body.name)},`,- ` paint: ${quote(body.paint)},`,- ` bone: ${body.bone ? quote(body.bone) : "null"},`,- ` eyes: ${JSON.stringify(body.eyes).replace(/"(\w+)":/g, "$1: ").replace(/,(?=\w)/g, ", ")},`,- ` clip: ${quote(body.clip)},`,- ` parts: [`,- ...parts,- ` ],`,- ` },`,- ].join("\n")- })- const ids = BAKED.map((body) => quote(body.id)).join(", ")- return `/**- * The Halloween bodies a bot can wear.- *- * GENERATED FILE — do not hand-edit. Run \`pnpm gen:halloween\` to rebuild it from- * \`scripts/gen-halloween-bodies.ts\`.- *- * Drawn flat: the bot's own colour (or a pale or bone stand-in), dark-grey accents and a- * carved face. Paths are in a 240-unit square centred on x = 120.- */--/** Every Halloween body id, in the order the picker shows them. */-export const HALLOWEEN_BODY_IDS = [${ids}] as const;--export type HalloweenBodyId = (typeof HALLOWEEN_BODY_IDS)[number];--export interface HalloweenEyes {- /** Rest position of the pair's centre. */- cx: number;- cy: number;- /** Half the distance between the two eyes. */- dx: number;- /** Resting pill size. */- w: number;- h: number;- /** Diameter when startled. */- round: number;- ink: string;- /** False when the drawing carries its own mouth. */- mouth: boolean;- mouthInk: string;- /** Where the smile sits when it can't hang under the eyes. */- mouthY: number | null;-}--export interface HalloweenBody {- id: HalloweenBodyId;- /** Human-readable name, used for the picker and the accessible label. */- name: string;- /** "bot" fills with the bot's colour, "pale" with a near-white tint of it, "bone" with \`bone\`. */- paint: "bot" | "pale" | "bone";- bone: string | null;- eyes: HalloweenEyes;- /** Where the eyes may show. */- clip: string;- /** Draw order, bottom first. "body" is the paint; "accent" is the bot's colour. */- parts: ReadonlyArray<{ fill: string; d: string }>;-}--export const HALLOWEEN_BODIES: Record<HalloweenBodyId, HalloweenBody> = {-${entries.join("\n")}-};-`-}--const swiftNumber = (n: number | null) => (n === null ? "nil" : String(n))--function emitSwift(): string {- const entries = BAKED.map((body) => {- const e = body.eyes- const parts = body.parts.map((part) => [- ` Part(fill: ${quote(part.fill)}, path: """`,- wrap(part.d, " "),- ` """),`,- ].join("\n"))- return [- ` ${quote(body.id)}: Body(`,- ` id: ${quote(body.id)},`,- ` name: ${quote(body.name)},`,- ` paint: ${quote(body.paint)},`,- ` bone: ${body.bone ? quote(body.bone) : "nil"},`,- ` eyes: Eyes(cx: ${e.cx}, cy: ${e.cy}, dx: ${e.dx}, w: ${e.w}, h: ${e.h}, round: ${e.round}, ink: ${quote(e.ink)}, mouth: ${e.mouth}, mouthInk: ${quote(e.mouthInk)}, mouthY: ${swiftNumber(e.mouthY)}),`,- ` clip: """`,- wrap(body.clip, " "),- ` """,`,- ` parts: [`,- ...parts,- ` ]`,- ` ),`,- ].join("\n")- })- return `// The Halloween bodies a bot can wear — the phone's half of \`shared/halloween-bodies.ts\`.-//-// GENERATED FILE — do not hand-edit. Run \`pnpm gen:halloween --swift <file>\` to rebuild it-// from \`scripts/gen-halloween-bodies.ts\`.-//-// Paths are absolute \`M\`, \`C\`, \`Z\` only, in a 240-unit square centred on x = 120, with-// newlines as separators — what \`MausSilhouette.parse\` reads.-import CoreGraphics--enum HalloweenBodies {- struct Eyes {- let cx: CGFloat- let cy: CGFloat- let dx: CGFloat- let w: CGFloat- let h: CGFloat- let round: CGFloat- let ink: String- let mouth: Bool- let mouthInk: String- let mouthY: CGFloat?- }-- /// \`fill\` is "body" (the bot's paint), "accent" (the bot's colour) or a literal hex colour.- struct Part {- let fill: String- let path: String- }-- struct Body {- let id: String- let name: String- /// "bot", "pale" or "bone".- let paint: String- let bone: String?- let eyes: Eyes- let clip: String- let parts: [Part]- }-- static let order: [String] = [${BAKED.map((body) => quote(body.id)).join(", ")}]-- static let all: [String: Body] = [-${entries.join("\n")}- ]-- static func body(_ id: String?) -> Body? {- guard let id else { return nil }- return all[id]- }-}-`-}--const kotlinFloat = (n: number) => `${n}f`--function emitKotlin(): string {- const entries = BAKED.map((body) => {- const e = body.eyes- const parts = body.parts.map((part) => [- ` Part(fill = ${quote(part.fill)}, path = """`,- wrap(part.d, " "),- ` """),`,- ].join("\n"))- return [- ` ${quote(body.id)} to Body(`,- ` id = ${quote(body.id)},`,- ` name = ${quote(body.name)},`,- ` paint = ${quote(body.paint)},`,- ` bone = ${body.bone ? quote(body.bone) : "null"},`,- ` eyes = Eyes(cx = ${kotlinFloat(e.cx)}, cy = ${kotlinFloat(e.cy)}, dx = ${kotlinFloat(e.dx)}, w = ${kotlinFloat(e.w)}, h = ${kotlinFloat(e.h)}, round = ${kotlinFloat(e.round)}, ink = ${quote(e.ink)}, mouth = ${e.mouth}, mouthInk = ${quote(e.mouthInk)}, mouthY = ${e.mouthY === null ? "null" : kotlinFloat(e.mouthY)}),`,- ` clip = """`,- wrap(body.clip, " "),- ` """,`,- ` parts = listOf(`,- ...parts,- ` ),`,- ` ),`,- ].join("\n")- })- return `package com.openmausbot.companion.ui--/**- * The Halloween bodies a bot can wear — the Android half of \`shared/halloween-bodies.ts\`.- *- * GENERATED FILE — do not hand-edit. Run \`pnpm gen:halloween --kotlin <file>\` to rebuild it- * from \`scripts/gen-halloween-bodies.ts\`.- *- * Paths are absolute \`M\`, \`C\`, \`Z\` only, in a 240-unit square centred on x = 120, with- * newlines as separators — what [MausSilhouette] parses.- */-internal object HalloweenBodies {- data class Eyes(- val cx: Float,- val cy: Float,- val dx: Float,- val w: Float,- val h: Float,- val round: Float,- val ink: String,- val mouth: Boolean,- val mouthInk: String,- val mouthY: Float?,- )-- /** [fill] is "body" (the bot's paint), "accent" (the bot's colour) or a literal hex colour. */- data class Part(val fill: String, val path: String)-- data class Body(- val id: String,- val name: String,- /** "bot", "pale" or "bone". */- val paint: String,- val bone: String?,- val eyes: Eyes,- val clip: String,- val parts: List<Part>,- )-- val order: List<String> = listOf(${BAKED.map((body) => quote(body.id)).join(", ")})-- val all: Map<String, Body> = mapOf(-${entries.join("\n")}- )-- fun body(id: String?): Body? = id?.let { all[it] }-}-`-}--const out = fileURLToPath(new URL("../shared/halloween-bodies.ts", import.meta.url))-writeFileSync(out, emitTs())-console.log(`wrote ${BAKED.length} Halloween bodies to shared/halloween-bodies.ts`)--for (const [flag, emitNative] of [["--swift", emitSwift], ["--kotlin", emitKotlin]] as const) {- const at = process.argv.indexOf(flag)- if (at === -1) continue- const nativeOut = process.argv[at + 1]- if (!nativeOut) throw new Error(`${flag} needs an output file`)- writeFileSync(nativeOut, emitNative())- console.log(`wrote ${nativeOut}`)-}diff --git a/scripts/mascot-bodies/halloween.test.mjs b/scripts/mascot-bodies/carved-bodies.test.mjssimilarity index 69%rename from scripts/mascot-bodies/halloween.test.mjsrename to scripts/mascot-bodies/carved-bodies.test.mjsindex ab4ffc9e14..7af26ede8b 100644--- a/scripts/mascot-bodies/halloween.test.mjs+++ b/scripts/mascot-bodies/carved-bodies.test.mjs@@ -4,11 +4,11 @@ import { fileURLToPath } from "node:url";import { describe, expect, it } from "vitest";import { flatten } from "./geometry.ts";-import { HALLOWEEN_BODIES, HALLOWEEN_BODY_IDS } from "../../shared/halloween-bodies.ts";+import { CARVED_BODIES, CARVED_BODY_IDS, DIWALI_BODY_IDS, HALLOWEEN_BODY_IDS } from "../../shared/carved-bodies.ts";import { MASCOT_BODY_IDS } from "../../shared/mascot-bodies.ts";const root = fileURLToPath(new URL("../../", import.meta.url));-const CATALOG = new URL("../../shared/halloween-bodies.ts", import.meta.url);+const CATALOG = new URL("../../shared/carved-bodies.ts", import.meta.url);const read = () => readFileSync(CATALOG, "utf8").replace(/\r\n/g, "\n");/** Even-odd point-in-path over the flattened outline. */@@ -24,31 +24,32 @@ function inside(d, x, y) {return hit;}-describe("Halloween catalog", () => {+describe("carved catalog", () => {it("matches a fresh run of the generator", () => {const before = read();try {- execFileSync(process.execPath, ["--experimental-strip-types", "scripts/gen-halloween-bodies.ts"], { cwd: root, stdio: "pipe" });+ execFileSync(process.execPath, ["--experimental-strip-types", "scripts/gen-carved-bodies.ts"], { cwd: root, stdio: "pipe" });} catch (err) {writeFileSync(CATALOG, before);- throw new Error(`\`pnpm gen:halloween\` failed: ${err.stderr?.toString() ?? err.message}`);+ throw new Error(`\`pnpm gen:carved\` failed: ${err.stderr?.toString() ?? err.message}`);}const after = read();writeFileSync(CATALOG, before);- expect(after === before, "shared/halloween-bodies.ts was hand-edited or the generator is non-deterministic").toBe(true);+ expect(after === before, "shared/carved-bodies.ts was hand-edited or the generator is non-deterministic").toBe(true);}, 120_000);- it("uses ids that never collide with the gradient catalog", () => {- expect(new Set(HALLOWEEN_BODY_IDS).size).toBe(HALLOWEEN_BODY_IDS.length);- for (const id of HALLOWEEN_BODY_IDS) {+ it("uses ids that never collide with each other or the gradient catalog", () => {+ expect(CARVED_BODY_IDS).toEqual([...HALLOWEEN_BODY_IDS, ...DIWALI_BODY_IDS]);+ expect(new Set(CARVED_BODY_IDS).size).toBe(CARVED_BODY_IDS.length);+ for (const id of CARVED_BODY_IDS) {expect(MASCOT_BODY_IDS).not.toContain(id);- expect(HALLOWEEN_BODIES[id].id).toBe(id);+ expect(CARVED_BODIES[id].id).toBe(id);}});it("emits cubic-only path data the phone parsers can read", () => {- for (const id of HALLOWEEN_BODY_IDS) {- const body = HALLOWEEN_BODIES[id];+ for (const id of CARVED_BODY_IDS) {+ const body = CARVED_BODIES[id];for (const d of [body.clip, ...body.parts.map((part) => part.d)]) {expect(d.length, `${id} has an empty path`).toBeGreaterThan(0);expect(d, `${id} uses a command other than M, C or Z`).toMatch(/^[MCZ\d\s.-]+$/);@@ -57,8 +58,8 @@ describe("Halloween catalog", () => {});it("keeps every drawing inside its 240-unit square, with room for the viewBox margin", () => {- for (const id of HALLOWEEN_BODY_IDS) {- for (const part of HALLOWEEN_BODIES[id].parts) {+ for (const id of CARVED_BODY_IDS) {+ for (const part of CARVED_BODIES[id].parts) {for (const line of flatten(part.d)) {for (const [x, y] of line) {expect(x, id).toBeGreaterThan(-14);@@ -72,8 +73,8 @@ describe("Halloween catalog", () => {});it("rests both eyes inside the face, and any smile on a light part of the drawing", () => {- for (const id of HALLOWEEN_BODY_IDS) {- const { clip, eyes, parts } = HALLOWEEN_BODIES[id];+ for (const id of CARVED_BODY_IDS) {+ const { clip, eyes, parts } = CARVED_BODIES[id];expect(inside(clip, eyes.cx - eyes.dx, eyes.cy), `${id} left eye`).toBe(true);expect(inside(clip, eyes.cx + eyes.dx, eyes.cy), `${id} right eye`).toBe(true);if (!eyes.mouth) continue;diff --git a/scripts/mascot-bodies/carved.ts b/scripts/mascot-bodies/carved.tsnew file mode 100644index 0000000000..be5cdac007--- /dev/null+++ b/scripts/mascot-bodies/carved.ts@@ -0,0 +1,43 @@+/**+ * What a carved body is made of, shared by every festival pack the generator bakes.+ *+ * Loaded by `node --experimental-strip-types`, so only erasable type syntax.+ */++import type { Field } from "./draw.ts"++export const GREY = "#3d3d3d"+export const LIGHT_GREY = "#8d8d8d"+export const INK = "#0d0a10"++/** "body" is the bot's paint, "accent" the bot's colour, anything else a literal hex colour. */+export type Fill = "body" | "accent" | string++export interface Eyes {+ /** Rest position of the pair's centre, in drawing units. */+ cx: number+ cy: number+ /** Half the distance between the two eyes. */+ dx: number+ /** Resting pill size. */+ w: number+ h: number+ /** Diameter when startled. */+ round: number+ ink: string+ /** False when the drawing carries its own mouth (the skull's teeth). */+ mouth: boolean+ mouthInk: string+ /** Where the smile sits when it can't hang under the eyes (the mummy's slit). */+ mouthY: number | null+}++export interface Def {+ id: string+ name: string+ paint: "bot" | "pale" | "bone"+ bone: string | null+ face: Field+ eyes: Omit<Eyes, "mouth" | "mouthInk" | "mouthY"> & Partial<Pick<Eyes, "mouth" | "mouthInk" | "mouthY">>+ parts: Array<[Field, Fill]>+}diff --git a/scripts/mascot-bodies/diwali.ts b/scripts/mascot-bodies/diwali.tsnew file mode 100644index 0000000000..db3180aca7--- /dev/null+++ b/scripts/mascot-bodies/diwali.ts@@ -0,0 +1,176 @@+/**+ * The Diwali pack: five firecrackers (rocket, anaar, chakri, sparkler, bomb) in the bot's+ * colour, and five sweets and snacks (laddu, chakli, jalebi, kaju katli, karanji) in their+ * own colours.+ *+ * Every drawing lives in a 240-unit square centred on x = 120.+ *+ * Loaded by `node --experimental-strip-types`, so only erasable type syntax.+ */++import { box, circle, ellipse, grow, intersect, polygon, polyStroke, smooth, stroke, subtract, union, type Field } from "./draw.ts"+import { GREY, INK, LIGHT_GREY, type Def } from "./carved.ts"++const GOLD = "#ffc93c"+const HOT = "#fff3c4"+const PAPER = "#fff3dc"++type Point = [number, number]+const TAU = Math.PI * 2+const polar = (cx: number, cy: number, r: number, a: number): Point => [cx + r * Math.sin(a), cy - r * Math.cos(a)]+const around = <T>(n: number, fn: (a: number, i: number) => T, offset = 0): T[] =>+ Array.from({ length: n }, (_, i) => fn(offset + (TAU * i) / n, i))++/** A four-point twinkle, the spark every firecracker throws. */+const twinkle = (cx: number, cy: number, r: number): Field =>+ smooth(2, polyStroke([[cx, cy - r, 0.6], [cx, cy, r * 0.28], [cx, cy + r, 0.6]]), polyStroke([[cx - r, cy, 0.6], [cx, cy, r * 0.28], [cx + r, cy, 0.6]]))++/**+ * An Archimedean band of half-width `width` from radius r0 to r1 over `turns` turns, measured+ * radially: at these pitches that is within a few percent of the true distance, and one+ * evaluation costs a few turns instead of hundreds of stroke segments.+ */+function spiral(cx: number, cy: number, r0: number, r1: number, turns: number, width: number, start = 0): Field {+ const span = turns * TAU+ const [ax, ay] = polar(cx, cy, r0, start)+ const [bx, by] = polar(cx, cy, r1, start + span)+ return (x, y) => {+ const rho = Math.hypot(x - cx, y - cy)+ const phi = Math.atan2(x - cx, cy - y)+ let best = Math.min(Math.hypot(x - ax, y - ay), Math.hypot(x - bx, y - by))+ for (let k = Math.ceil((start - phi) / TAU); phi + k * TAU <= start + span; k++) {+ const t = (phi + k * TAU - start) / span+ best = Math.min(best, Math.abs(rho - (r0 + (r1 - r0) * t)))+ }+ return best - width+ }+}++const rocketTube = box(74, 92, 166, 206, 14)+const rocketCone = grow(polygon([[78, 96], [162, 96], [120, 20]]), 6)+const rocketBand = intersect(rocketTube, box(0, 178, 240, 192))+const rocketStick = polyStroke([[120, 200, 5], [120, 248, 4]])+const rocketSparks = union(twinkle(84, 228, 14), twinkle(158, 234, 10))++const anaarPot = grow(polygon([[46, 230], [194, 230], [152, 104], [88, 104]]), 7)+const anaarBand = intersect(anaarPot, box(0, 118, 240, 132))+const anaarCap = box(98, 86, 142, 106, 7)+const anaarPlume = smooth(4, ...[-0.62, -0.31, 0, 0.31, 0.62].map((a, i) => {+ const [x, y] = polar(120, 90, i === 2 ? 82 : 70, a)+ return polyStroke([[120, 86, 7], [x, y, 2.5]])+}))+const anaarCore = smooth(3, ellipse(120, 62, 9, 26), circle(120, 84, 8))+const anaarSparks = union(twinkle(56, 34, 11), twinkle(184, 34, 11), twinkle(120, 6, 9))++const chakri = circle(120, 132, 86)+const chakriCoil = spiral(120, 132, 82, 60, 1.25, 2.6, 0.4)+const chakriTrails = union(...around(6, (a) => {+ const p0 = polar(120, 132, 80, a)+ const p1 = polar(120, 132, 98, a + 0.18)+ const p2 = polar(120, 132, 108, a + 0.42)+ const p3 = polar(120, 132, 110, a + 0.62)+ return stroke(p0, p1, p2, p3, 7, 1.5, 16)+}))++const sparkler = circle(120, 108, 62)+const sparklerRays = union(...around(12, (a, i) => {+ const [x0, y0] = polar(120, 108, 76, a)+ const [x1, y1] = polar(120, 108, i % 2 ? 96 : 110, a)+ return polyStroke([[x0, y0, 5.5], [x1, y1, 2]])+}, TAU / 24))+const sparklerTwinkles = union(twinkle(28, 34, 12), twinkle(214, 58, 10), twinkle(36, 170, 9))+const sparklerWire = polyStroke([[120, 160, 4.5], [120, 250, 4]])++const bomb = circle(120, 148, 86)+const bombCollar = grow(polygon([[134, 44], [166, 60], [156, 80], [124, 64]]), 4)+const bombFuse = stroke([152, 52], [160, 28], [184, 40], [192, 18], 4.5, 3.5)+const bombSpark = twinkle(196, 12, 18)+const bombSparkCore = circle(196, 12, 6)++const LADDU = "#f6a420"+const laddu = smooth(2, circle(120, 140, 90), ...around(34, (a) => circle(...polar(120, 140, 89, a), 6.5)))+const boondi: Point[] = []+for (let row = -5; row <= 5; row++) {+ for (let col = -5; col <= 5; col++) {+ const x = 120 + (col + (row % 2 ? 0.5 : 0)) * 17+ const y = 140 + row * 15+ if (Math.hypot(x - 120, y - 140) < 78) boondi.push([x + ((row * 7 + col * 3) % 5) - 2, y + ((row * 3 + col * 5) % 5) - 2])+ }+}+const ladduBoondi = union(...boondi.map(([x, y]) => circle(x, y, 4.2)))++const CHAKLI = "#cf8f45"+const chakli = subtract(circle(120, 134, 92), union(...around(26, (a) => circle(...polar(120, 134, 95, a), 6.5))), 2)+const chakliGroove = spiral(120, 134, 18, 84, 2.6, 3.2, 2.2)++const JALEBI = "#f7941d"+const jalebiCoil = spiral(120, 134, 10, 86, 2.25, 15, 0)+const jalebi = smooth(4, jalebiCoil, circle(120, 134, 28))+const jalebiSyrup = circle(120, 134, 88)+const jalebiShine = intersect(grow(jalebiCoil, -9), box(0, 0, 240, 118))++const KATLI = "#f2e4c6"+const katliTop = grow(polygon([[120, 26], [218, 124], [120, 222], [22, 124]]), 8)+const katliEdge = grow(polygon([[120, 40], [218, 138], [120, 236], [22, 138]]), 8)+const katliVark = intersect(grow(katliTop, -10), union(ellipse(70, 116, 22, 12), ellipse(170, 132, 20, 11), ellipse(122, 60, 18, 10), ellipse(124, 196, 16, 9)))++const KARANJI = "#ecb460"+const karanjiDome = intersect(ellipse(120, 200, 112, 128), box(0, 0, 240, 206, 0))+const crimpAt = (a: number, f: number): Point => [120 + 112 * f * Math.sin(a), 200 - 128 * f * Math.cos(a)]+const CRIMPS = Array.from({ length: 17 }, (_, i) => -1.42 + (2.84 * i) / 16)+const karanji = smooth(3, karanjiDome, ...CRIMPS.map((a) => circle(...crimpAt(a, 0.98), 9)))+const karanjiSeam = intersect(subtract(grow(karanjiDome, -15), grow(karanjiDome, -19.5)), box(0, 0, 240, 192))++export const DIWALI: Def[] = [+ {+ id: "rocket", name: "Rocket", paint: "bot", bone: null, face: rocketTube,+ eyes: { cx: 120, cy: 136, dx: 24, w: 20, h: 38, round: 34, ink: INK },+ parts: [[rocketStick, LIGHT_GREY], [rocketSparks, GOLD], [rocketTube, "body"], [rocketBand, PAPER], [rocketCone, GREY]],+ },+ {+ id: "anaar", name: "Anaar", paint: "bot", bone: null, face: anaarPot,+ eyes: { cx: 120, cy: 170, dx: 26, w: 22, h: 40, round: 36, ink: INK },+ parts: [[anaarPlume, GOLD], [anaarCore, HOT], [anaarSparks, GOLD], [anaarPot, "body"], [anaarBand, PAPER], [anaarCap, GREY]],+ },+ {+ id: "chakri", name: "Chakri", paint: "bot", bone: null, face: chakri,+ eyes: { cx: 120, cy: 126, dx: 24, w: 20, h: 38, round: 34, ink: INK },+ parts: [[chakriTrails, GOLD], [chakri, "body"], [chakriCoil, GREY]],+ },+ {+ id: "sparkler", name: "Sparkler", paint: "bot", bone: null, face: sparkler,+ eyes: { cx: 120, cy: 104, dx: 24, w: 21, h: 40, round: 36, ink: INK },+ parts: [[sparklerWire, LIGHT_GREY], [sparklerRays, GOLD], [sparklerTwinkles, GOLD], [sparkler, "body"]],+ },+ {+ id: "bomb", name: "Bomb", paint: "bot", bone: null, face: bomb,+ eyes: { cx: 120, cy: 150, dx: 34, w: 26, h: 50, round: 44, ink: INK },+ parts: [[bombFuse, "#b08a5a"], [bombCollar, GREY], [bomb, "body"], [bombSpark, GOLD], [bombSparkCore, HOT]],+ },+ {+ id: "laddu", name: "Laddu", paint: "bone", bone: LADDU, face: laddu,+ eyes: { cx: 120, cy: 138, dx: 34, w: 26, h: 50, round: 44, ink: INK },+ parts: [[laddu, "body"], [ladduBoondi, "#ffc560"]],+ },+ {+ id: "chakli", name: "Chakli", paint: "bone", bone: CHAKLI, face: chakli,+ eyes: { cx: 120, cy: 128, dx: 30, w: 24, h: 46, round: 40, ink: INK },+ parts: [[chakli, "body"], [chakliGroove, "#a8692b"]],+ },+ {+ id: "jalebi", name: "Jalebi", paint: "bone", bone: JALEBI, face: jalebiSyrup,+ eyes: { cx: 120, cy: 128, dx: 30, w: 24, h: 46, round: 40, ink: INK },+ parts: [[intersect(jalebiSyrup, grow(jalebi, 4)), "#c9650c"], [jalebi, "body"], [jalebiShine, "#ffc566"]],+ },+ {+ id: "katli", name: "Kaju katli", paint: "bone", bone: KATLI, face: katliTop,+ eyes: { cx: 120, cy: 122, dx: 30, w: 24, h: 46, round: 40, ink: INK },+ parts: [[katliEdge, "#d9c39a"], [katliTop, "body"], [katliVark, "#cdd3db"]],+ },+ {+ id: "karanji", name: "Karanji", paint: "bone", bone: KARANJI, face: karanjiDome,+ eyes: { cx: 120, cy: 150, dx: 30, w: 24, h: 44, round: 40, ink: INK },+ parts: [[karanji, "body"], [karanjiSeam, "#cf923d"]],+ },+]+diff --git a/scripts/mascot-bodies/halloween.ts b/scripts/mascot-bodies/halloween.tsnew file mode 100644index 0000000000..3957726361--- /dev/null+++ b/scripts/mascot-bodies/halloween.ts@@ -0,0 +1,134 @@+/**+ * The Halloween pack: pumpkin, ghost, witch, bat, cat, skull, monster, mummy, vampire, spider.+ *+ * Every drawing lives in a 240-unit square centred on x = 120.+ *+ * Loaded by `node --experimental-strip-types`, so only erasable type syntax.+ */++import { box, circle, ellipse, grow, intersect, mirror, polygon, polyStroke, smooth, stroke, subtract, union } from "./draw.ts"+import { GREY, INK, LIGHT_GREY, type Def } from "./carved.ts"++const NUT_GREY = "#6f6f6f"++const pFront = union(ellipse(97, 146, 64, 92), ellipse(143, 146, 64, 92))+const pSide = union(ellipse(53, 154, 46, 70), ellipse(187, 154, 46, 70))+const pumpkin = smooth(6, pFront, pSide)+const pumpkinStem = smooth(3, stroke([121, 74], [123, 46], [114, 24], [97, 11], 12, 7.5), circle(121, 74, 12))++const ghost = subtract(+ smooth(6, circle(120, 98, 80), polygon([[40, 98], [200, 98], [208, 196], [32, 196]]), ...[54, 98, 142, 186].map((x) => circle(x, 198, 22))),+ union(...[76, 120, 164].map((x) => circle(x, 228, 12))),+ 3,+)++const witchHair = smooth(5, box(44, 100, 196, 170, 36), mirror(stroke([60, 112], [46, 140], [40, 184], [50, 224], 19, 8, 50)))+const witchHead = ellipse(120, 168, 76, 70)+const witchBrim = ellipse(120, 98, 112, 16)+const witchCone = stroke([120, 94], [117, 56], [138, 30], [184, 14], 44, 3.5, 60)+const witchBand = intersect(witchCone, box(0, 72, 240, 88))+const witchFace = subtract(witchHead, grow(witchBrim, 3))++const batWing = subtract(+ polygon([[150, 106], [196, 74], [244, 58], [238, 120], [204, 158], [162, 168]]),+ union(circle(258, 91, 28), circle(234, 149, 28), circle(188, 180, 28)),+ 3,+)+const bat = smooth(8, circle(120, 136, 72), mirror(batWing), mirror(grow(polygon([[74, 100], [80, 32], [114, 78]]), 4)))++const cat = smooth(8, ellipse(120, 150, 98, 80), mirror(grow(polygon([[34, 120], [50, 30], [102, 78]]), 5)))++const skull = subtract(smooth(10, circle(120, 100, 84), box(66, 146, 174, 228, 22)), mirror(circle(34, 202, 32)), 8)+const skullNose = grow(polygon([[110, 152], [130, 152], [120, 168]]), 3)+const skullTeeth = intersect(grow(skull, -1), union(+ polyStroke([[82, 202, 2.2], [158, 202, 2.2]]),+ ...[95, 107.5, 120, 132.5, 145].map((x) => polyStroke([[x, 190, 2.2], [x, 214, 2.2]])),+))++const monHead = box(34, 22, 206, 232, 26)+const zigzag: Array<[number, number]> = []+for (let i = 6; i >= 0; i--) {+ const x = 34 + (172 / 6) * i+ zigzag.push([x, 80])+ if (i > 0) zigzag.push([x - 172 / 12, 98])+}+const monHair = intersect(grow(monHead, 4), grow(polygon([[30, 10], [210, 10], [210, 80], ...zigzag, [30, 80]]), 1.5))+const monBolt = mirror(box(12, 180, 44, 198, 4))+const monNut = mirror(box(4, 174, 18, 204, 3.5))+const monFace = subtract(monHead, grow(monHair, 2))++const mummy = box(36, 14, 204, 232, 84)+const wraps: Array<[number, number]> = [[44, -0.12], [74, 0.1], [158, 0.12], [188, -0.1], [216, 0.08]]+const mummyWraps = intersect(mummy, union(...wraps.map(([y, m]) => polyStroke([[-10, y - m * 130, 2], [250, y + m * 130, 2]]))))+const mummySlit = intersect(grow(mummy, -0.5), polygon([[-10, 104], [250, 96], [250, 134], [-10, 142]]))++const vampCollar = grow(polygon([[24, 110], [76, 178], [120, 190], [164, 178], [216, 110], [212, 198], [176, 232], [120, 244], [64, 232], [28, 198]]), 2)+const vampLining = intersect(grow(vampCollar, -8), box(0, 100, 240, 236))+const vampHead = ellipse(120, 136, 74, 90)+const vampHair = intersect(grow(vampHead, 4), polygon([[0, 0], [240, 0], [240, 112], [198, 108], [178, 80], [148, 72], [120, 104], [92, 72], [62, 80], [42, 108], [0, 112]]))+const vampFace = subtract(vampHead, grow(vampHair, 2))++const legs: Array<Array<[number, number, number]>> = [+ [[174, 102, 6.5], [212, 62, 6], [236, 86, 5]],+ [[188, 124, 6.5], [228, 106, 6], [240, 134, 5]],+ [[188, 152, 6.5], [228, 154, 6], [236, 188, 5]],+ [[176, 178, 6.5], [208, 202, 6], [214, 234, 5]],+]+const spider = circle(120, 138, 74)++export const HALLOWEEN: Def[] = [+ {+ id: "pumpkin", name: "Pumpkin", paint: "bot", bone: null, face: pumpkin,+ eyes: { cx: 120, cy: 152, dx: 35, w: 28, h: 56, round: 50, ink: INK },+ parts: [[pumpkinStem, GREY], [pumpkin, "body"]],+ },+ {+ id: "ghost", name: "Ghost", paint: "pale", bone: null, face: ghost,+ eyes: { cx: 120, cy: 112, dx: 32, w: 26, h: 52, round: 44, ink: INK },+ parts: [[ghost, "body"]],+ },+ {+ id: "witch", name: "Witch", paint: "bot", bone: null, face: witchFace,+ eyes: { cx: 120, cy: 174, dx: 30, w: 24, h: 46, round: 40, ink: INK },+ parts: [[witchHair, GREY], [witchHead, "body"], [witchCone, GREY], [witchBand, "accent"], [witchBrim, GREY]],+ },+ {+ id: "bat", name: "Bat", paint: "bot", bone: null, face: bat,+ eyes: { cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: INK },+ parts: [[bat, "body"]],+ },+ {+ id: "cat", name: "Cat", paint: "bot", bone: null, face: cat,+ eyes: { cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: INK },+ parts: [[cat, "body"]],+ },+ {+ id: "skull", name: "Skull", paint: "bone", bone: "#f1ede6", face: skull,+ eyes: { cx: 120, cy: 112, dx: 34, w: 42, h: 44, round: 50, ink: INK, mouth: false },+ parts: [[skull, "body"], [skullNose, INK], [skullTeeth, INK]],+ },+ {+ id: "monster", name: "Monster", paint: "bot", bone: null, face: monFace,+ eyes: { cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: INK },+ parts: [[monBolt, LIGHT_GREY], [monNut, NUT_GREY], [monHead, "body"], [monHair, GREY]],+ },+ {+ id: "mummy", name: "Mummy", paint: "bone", bone: "#efe5cf", face: mummySlit,+ eyes: { cx: 120, cy: 119, dx: 30, w: 24, h: 24, round: 30, ink: "#f4efe4", mouthInk: INK, mouthY: 170 },+ parts: [[mummy, "body"], [mummyWraps, "#d8ccb2"], [mummySlit, INK]],+ },+ {+ id: "vampire", name: "Vampire", paint: "bot", bone: null, face: vampFace,+ eyes: { cx: 120, cy: 150, dx: 28, w: 22, h: 42, round: 38, ink: "#7a0f24" },+ parts: [[vampCollar, GREY], [vampLining, "accent"], [vampHead, "#f2eef4"], [vampHair, GREY]],+ },+ {+ id: "spider", name: "Spider", paint: "bot", bone: null, face: spider,+ eyes: { cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: INK },+ parts: [+ [polyStroke([[120, 66, 1.3], [120, 0, 1.3]]), LIGHT_GREY],+ [mirror(union(...legs.map((leg) => polyStroke(leg)))), GREY],+ [spider, "body"],+ ],+ },+]diff --git a/scripts/testing/rail-preview.tsx b/scripts/testing/rail-preview.tsxindex 55afc49067..3d5086b864 100644--- a/scripts/testing/rail-preview.tsx+++ b/scripts/testing/rail-preview.tsx@@ -224,7 +224,7 @@ if (params.has("railpage")) {// Windows' own title bar is drawn outside the page; this stands in for it, above the page.const bar = document.createElement("div");bar.setAttribute("aria-hidden", "true");- const dark = ["midnight", "foundry", "graphite", "dusk", "halloween"].includes(params.get("skin") ?? "midnight");+ const dark = ["midnight", "foundry", "graphite", "dusk", "halloween", "diwali"].includes(params.get("skin") ?? "midnight");bar.style.cssText = `position:fixed;inset:0 0 auto 0;height:31px;display:flex;align-items:center;z-index:100;font:12px "Segoe UI",sans-serif;padding-left:12px;${dark ? "background:#202020;color:#fff" : "background:#f3f3f3;color:#000"}`;bar.innerHTML = `<span style="flex:1">MausBot</span>${["\u2013", "\u2610", "\u2715"].map((glyph) => `<span style="width:46px;text-align:center">${glyph}</span>`).join("")}`;document.body.append(bar);diff --git a/scripts/testing/vitest-shard-weights.json b/scripts/testing/vitest-shard-weights.jsonindex 788c438828..c7d9994bfa 100644--- a/scripts/testing/vitest-shard-weights.json+++ b/scripts/testing/vitest-shard-weights.json@@ -6,7 +6,7 @@"enterprise/server/workspace-access.test.ts": 5,"evals/evals.test.ts": 71,"evals/runners/run-skill-bench.test.ts": 18,- "scripts/mascot-bodies/halloween.test.mjs": 7,+ "scripts/mascot-bodies/carved-bodies.test.mjs": 7,"scripts/testing/automations-journey.ui.e2e.test.ts": 1,"scripts/testing/bot-draft-visibility-ui.e2e.test.ts": 1,"scripts/testing/bot-tools-ui.e2e.test.ts": 1,@@ -304,7 +304,7 @@"enterprise/server/workspace-access.test.ts": 5,"evals/evals.test.ts": 74,"evals/runners/run-skill-bench.test.ts": 20,- "scripts/mascot-bodies/halloween.test.mjs": 8,+ "scripts/mascot-bodies/carved-bodies.test.mjs": 8,"scripts/testing/automations-journey.ui.e2e.test.ts": 1,"scripts/testing/bot-draft-visibility-ui.e2e.test.ts": 1,"scripts/testing/bot-tools-ui.e2e.test.ts": 1,@@ -671,7 +671,7 @@"evals/golden/golden.test.ts": 5,"evals/runners/run-skill-bench.test.ts": 25,"scripts/ci-scope.test.ts": 16,- "scripts/mascot-bodies/halloween.test.mjs": 8,+ "scripts/mascot-bodies/carved-bodies.test.mjs": 8,"scripts/testing/automations-journey.ui.e2e.test.ts": 1,"scripts/testing/bot-draft-visibility-ui.e2e.test.ts": 1,"scripts/testing/bot-tools-ui.e2e.test.ts": 1,diff --git a/scripts/verify-window-frame.ts b/scripts/verify-window-frame.tsindex 31766473a0..d1ba07cdb7 100644--- a/scripts/verify-window-frame.ts+++ b/scripts/verify-window-frame.ts@@ -23,7 +23,7 @@ const argument = (name: string) => { const at = process.argv.indexOf(name); retuconst shots = argument("--shots") === null ? null : resolve(argument("--shots")!);const only = argument("--only") === null ? null : new Set(argument("--only")!.split(",").filter(Boolean));const WIDTH = 1280, HEIGHT = 800;-const ALL_SKINS = ["daylight", "midnight", "atelier", "foundry", "lagoon", "graphite", "linen", "dusk", "meadow", "pop", "halloween"];+const ALL_SKINS = ["daylight", "midnight", "atelier", "foundry", "lagoon", "graphite", "linen", "dusk", "meadow", "pop", "halloween", "diwali"];const SKINS = argument("--skins") === "all" ? ALL_SKINS : ["daylight", "midnight"];const LOOK: Record<string, string> = { daylight: "light", midnight: "dark" };const BAR = "[data-window-frame-bar]";diff --git a/server/bot-profile.test.ts b/server/bot-profile.test.tsindex 148b4aa500..681ddf98fb 100644--- a/server/bot-profile.test.ts+++ b/server/bot-profile.test.ts@@ -105,10 +105,10 @@ describe("mascotBody", () => {});});- it("accepts a Halloween body", () => {- expect(parseBotProfilePatch({ mascotBody: "pumpkin" } as never, true)).toEqual({+ it.each(["pumpkin", "laddu"])("accepts the festival body %s", (mascotBody) => {+ expect(parseBotProfilePatch({ mascotBody } as never, true)).toEqual({ok: true,- patch: { mascotBody: "pumpkin" },+ patch: { mascotBody },});});@@ -117,7 +117,8 @@ describe("mascotBody", () => {ok: false,error:"mascotBody must be cursor, blob, circle, squircle, capsule, drop, shield, hexagon, diamond, star, " +- "pumpkin, ghost, witch, bat, cat, skull, monster, mummy, vampire, or spider",+ "pumpkin, ghost, witch, bat, cat, skull, monster, mummy, vampire, spider, " ++ "rocket, anaar, chakri, sparkler, bomb, laddu, chakli, jalebi, katli, or karanji",});});});diff --git a/shared/bot-body.test.ts b/shared/bot-body.test.tsindex 4f9e6a0b69..4f7b208499 100644--- a/shared/bot-body.test.ts+++ b/shared/bot-body.test.ts@@ -1,33 +1,44 @@import { describe, expect, it } from "vitest";-import { BOT_BODY_IDS, COSTUME_FOR_COLOR, botBodyId, botBodySchema, isHalloweenBody } from "./bot-body.ts";-import { HALLOWEEN_BODY_IDS } from "./halloween-bodies.ts";+import { BOT_BODY_IDS, FESTIVAL_IDS, FESTIVALS, botBodyId, botBodySchema, isCarvedBody, isFestival } from "./bot-body.ts";+import { CARVED_BODY_IDS } from "./carved-bodies.ts";import { MASCOT_BODY_IDS } from "./mascot-bodies.ts";import { MAUS_COLOR_NAMES } from "./wire.ts";describe("bot bodies", () => {- it("accepts every gradient body and every Halloween body", () => {- expect(BOT_BODY_IDS).toEqual([...MASCOT_BODY_IDS, ...HALLOWEEN_BODY_IDS]);+ it("accepts every gradient body and every festival body", () => {+ expect(BOT_BODY_IDS).toEqual([...MASCOT_BODY_IDS, ...CARVED_BODY_IDS]);for (const id of BOT_BODY_IDS) expect(botBodySchema.safeParse(id).success).toBe(true);});it("falls back to the cursor for anything it does not know", () => {expect(botBodyId("pumpkin")).toBe("pumpkin");+ expect(botBodyId("laddu")).toBe("laddu");expect(botBodyId("star")).toBe("star");expect(botBodyId("hexagram")).toBe("cursor");expect(botBodyId(undefined)).toBe("cursor");});- it("tells the Halloween bodies apart", () => {- expect(isHalloweenBody("ghost")).toBe(true);- expect(isHalloweenBody("cursor")).toBe(false);- expect(isHalloweenBody(null)).toBe(false);+ it("tells the festival bodies apart", () => {+ expect(isCarvedBody("ghost")).toBe(true);+ expect(isCarvedBody("jalebi")).toBe(true);+ expect(isCarvedBody("cursor")).toBe(false);+ expect(isCarvedBody(null)).toBe(false);});- it("gives every bot colour but silver and chrome its own costume", () => {+ it("splits the festival bodies between the festivals, one pack each", () => {+ expect(FESTIVAL_IDS).toEqual(["halloween", "diwali"]);+ expect(FESTIVAL_IDS.flatMap((festival) => FESTIVALS[festival].bodies)).toEqual([...CARVED_BODY_IDS]);+ expect(isFestival("diwali")).toBe(true);+ expect(isFestival("midnight")).toBe(false);+ expect(isFestival("toString")).toBe(false);+ });++ it.each(FESTIVAL_IDS)("gives every bot colour but silver and chrome its own %s costume from that festival", (festival) => {+ const { bodies, costumes } = FESTIVALS[festival];const dressed = MAUS_COLOR_NAMES.filter((color) => color !== "silver" && color !== "chrome");- expect(Object.keys(COSTUME_FOR_COLOR).sort()).toEqual([...dressed].sort());- expect(new Set(Object.values(COSTUME_FOR_COLOR)).size).toBe(dressed.length);- for (const body of Object.values(COSTUME_FOR_COLOR)) expect(isHalloweenBody(body)).toBe(true);+ expect(Object.keys(costumes).sort()).toEqual([...dressed].sort());+ expect(new Set(Object.values(costumes)).size).toBe(dressed.length);+ for (const body of Object.values(costumes)) expect(bodies).toContain(body);});});diff --git a/shared/bot-body.ts b/shared/bot-body.tsindex 445e9029c2..5d3e076a79 100644--- a/shared/bot-body.ts+++ b/shared/bot-body.ts@@ -1,12 +1,12 @@-/** Every body a bot can wear: the gradient catalog plus the Halloween bodies. */+/** Every body a bot can wear: the gradient catalog plus the festival bodies. */import { z } from "zod";import { DEFAULT_MASCOT_BODY, MASCOT_BODY_IDS } from "./mascot-bodies.ts";-import { HALLOWEEN_BODY_IDS, type HalloweenBodyId } from "./halloween-bodies.ts";+import { CARVED_BODY_IDS, DIWALI_BODY_IDS, HALLOWEEN_BODY_IDS, type CarvedBodyId } from "./carved-bodies.ts";import type { MausColor } from "./wire.ts";-export const BOT_BODY_IDS = [...MASCOT_BODY_IDS, ...HALLOWEEN_BODY_IDS] as const;+export const BOT_BODY_IDS = [...MASCOT_BODY_IDS, ...CARVED_BODY_IDS] as const;export type BotBodyId = (typeof BOT_BODY_IDS)[number];@@ -17,20 +17,47 @@ export function botBodyId(value: unknown): BotBodyId {return botBodySchema.safeParse(value).data ?? DEFAULT_MASCOT_BODY;}-export function isHalloweenBody(value: unknown): value is HalloweenBodyId {- return (HALLOWEEN_BODY_IDS as readonly unknown[]).includes(value);+export function isCarvedBody(value: unknown): value is CarvedBodyId {+ return (CARVED_BODY_IDS as readonly unknown[]).includes(value);}-/** The costume each bot colour wears when "Dress my bots up" is on with the Halloween skin. */-export const COSTUME_FOR_COLOR: Record<Exclude<MausColor, "silver" | "chrome">, HalloweenBodyId> = {- orange: "pumpkin",- purple: "ghost",- teal: "witch",- red: "bat",- blue: "cat",- cyan: "skull",- green: "monster",- yellow: "mummy",- coral: "vampire",- pink: "spider",+export type CostumeColor = Exclude<MausColor, "silver" | "chrome">;++/** A festival skin's own bodies, and the costume each bot colour wears while "Dress my bots up" is on with it. */+const festival = <Id extends CarvedBodyId>(bodies: readonly Id[], costumes: Record<CostumeColor, NoInfer<Id>>) => ({ bodies, costumes });++/** Keyed by the skin id that turns each festival on. */+export const FESTIVALS = {+ halloween: festival(HALLOWEEN_BODY_IDS, {+ orange: "pumpkin",+ purple: "ghost",+ teal: "witch",+ red: "bat",+ blue: "cat",+ cyan: "skull",+ green: "monster",+ yellow: "mummy",+ coral: "vampire",+ pink: "spider",+ }),+ diwali: festival(DIWALI_BODY_IDS, {+ orange: "laddu",+ purple: "chakri",+ teal: "karanji",+ red: "rocket",+ blue: "bomb",+ cyan: "chakli",+ green: "anaar",+ yellow: "katli",+ coral: "jalebi",+ pink: "sparkler",+ }),};++export type FestivalId = keyof typeof FESTIVALS;++export const FESTIVAL_IDS = Object.keys(FESTIVALS) as FestivalId[];++export function isFestival(value: unknown): value is FestivalId {+ return typeof value === "string" && Object.hasOwn(FESTIVALS, value);+}diff --git a/shared/carved-bodies.ts b/shared/carved-bodies.tsnew file mode 100644index 0000000000..a058f45a1e--- /dev/null+++ b/shared/carved-bodies.ts@@ -0,0 +1,321 @@+/**+ * The festival bodies a bot can wear, drawn flat with a carved face.+ *+ * GENERATED FILE — do not hand-edit. Run `pnpm gen:carved` to rebuild it from+ * `scripts/gen-carved-bodies.ts`.+ *+ * Drawn flat: the bot's own colour (or a pale or fixed stand-in), a few fixed-colour accents+ * and a carved face. Paths are in a 240-unit square centred on x = 120.+ */++/** Every Halloween body id, in the order the picker shows them. */+export const HALLOWEEN_BODY_IDS = ["pumpkin", "ghost", "witch", "bat", "cat", "skull", "monster", "mummy", "vampire", "spider"] as const;++export type HalloweenBodyId = (typeof HALLOWEEN_BODY_IDS)[number];++/** Every Diwali body id, in the order the picker shows them. */+export const DIWALI_BODY_IDS = ["rocket", "anaar", "chakri", "sparkler", "bomb", "laddu", "chakli", "jalebi", "katli", "karanji"] as const;++export type DiwaliBodyId = (typeof DIWALI_BODY_IDS)[number];++export const CARVED_BODY_IDS = [...HALLOWEEN_BODY_IDS, ...DIWALI_BODY_IDS] as const;++export type CarvedBodyId = (typeof CARVED_BODY_IDS)[number];++export interface CarvedEyes {+ /** Rest position of the pair's centre. */+ cx: number;+ cy: number;+ /** Half the distance between the two eyes. */+ dx: number;+ /** Resting pill size. */+ w: number;+ h: number;+ /** Diameter when startled. */+ round: number;+ ink: string;+ /** False when the drawing carries its own mouth. */+ mouth: boolean;+ mouthInk: string;+ /** Where the smile sits when it can't hang under the eyes. */+ mouthY: number | null;+}++export interface CarvedBody {+ id: CarvedBodyId;+ /** Human-readable name, used for the picker and the accessible label. */+ name: string;+ /** "bot" fills with the bot's colour, "pale" with a near-white tint of it, "bone" with `bone`. */+ paint: "bot" | "pale" | "bone";+ bone: string | null;+ eyes: CarvedEyes;+ /** Where the eyes may show. */+ clip: string;+ /** Draw order, bottom first. "body" is the paint; "accent" is the bot's colour. */+ parts: ReadonlyArray<{ fill: string; d: string }>;+}++export const CARVED_BODIES: Record<CarvedBodyId, CarvedBody> = {+ pumpkin: {+ id: "pumpkin",+ name: "Pumpkin",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 152, dx: 35, w: 28, h: 56, round: 50, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M90.5 54.48 C77.98 56.31 67.02 63.37 58.51 72.5 C55.95 75.24 53.91 78.51 51.11 81 C47.33 84.36 42.38 85.53 38 87.83 C32.54 90.69 27.86 94.89 24 99.66 C0.95 128.17 1.01 181.52 24.97 209.5 C31.03 216.58 39.12 222.26 48.5 223.66 C53.49 224.41 58.74 223.08 63.5 225.16 C66.21 226.35 68.43 228.42 70.9 230 C78.54 234.9 87.38 237.89 96.5 238 C102.12 238.06 107.73 237.03 113 235.08 C114.66 234.46 118.98 231.87 120.5 232.13 C121.68 232.33 127.39 235.28 129.5 235.93 C135.79 237.88 142.47 238.48 149 237.59 C156.48 236.58 163.59 233.66 169.87 229.5 C172.18 227.96 174.28 226.04 176.89 225 C181.28 223.25 185.94 224.33 190.5 223.8 C198.11 222.91 205.1 219.14 210.69 214 C238.8 188.15 239.54 131.34 217.5 101.6 C212.81 95.28 206.78 89.78 199.5 86.63 C196.43 85.31 193.26 84.22 190.5 82.26 C185.59 78.78 182.01 72.7 177.5 68.51 C167.37 59.12 153.97 53.16 140 54.1 C134.84 54.45 129.76 55.71 125 57.71 C123.69 58.27 121.86 59.64 120.5 59.87 C119.38 60.06 111.9 56.48 110 55.92 C103.69 54.04 97.01 53.52 90.5 54.48 Z",+ parts: [+ { fill: "#3d3d3d", d: "M94.5 3.93 C90.73 5.44 88.5 9.55 89.93 13.5 C91.2 17 95.18 19.44 97.5 22.28 C101.77 27.51 104.88 33.56 106.89 40 C109.27 47.63 110.3 56.02 109.8 64 C109.52 68.57 107.41 72.89 108.74 77.5 C110.77 84.55 118.63 88.55 125.5 85.93 C135.23 82.22 133.7 73.67 132.84 65.5 C130.89 47.14 126.81 30.93 114.5 16.5 C110.8 12.16 100.82 1.39 94.5 3.93 Z" },+ { fill: "body", d: "M90.5 54.48 C77.98 56.31 67.02 63.37 58.51 72.5 C55.95 75.24 53.91 78.51 51.11 81 C47.33 84.36 42.38 85.53 38 87.83 C32.54 90.69 27.86 94.89 24 99.66 C0.95 128.17 1.01 181.52 24.97 209.5 C31.03 216.58 39.12 222.26 48.5 223.66 C53.49 224.41 58.74 223.08 63.5 225.16 C66.21 226.35 68.43 228.42 70.9 230 C78.54 234.9 87.38 237.89 96.5 238 C102.12 238.06 107.73 237.03 113 235.08 C114.66 234.46 118.98 231.87 120.5 232.13 C121.68 232.33 127.39 235.28 129.5 235.93 C135.79 237.88 142.47 238.48 149 237.59 C156.48 236.58 163.59 233.66 169.87 229.5 C172.18 227.96 174.28 226.04 176.89 225 C181.28 223.25 185.94 224.33 190.5 223.8 C198.11 222.91 205.1 219.14 210.69 214 C238.8 188.15 239.54 131.34 217.5 101.6 C212.81 95.28 206.78 89.78 199.5 86.63 C196.43 85.31 193.26 84.22 190.5 82.26 C185.59 78.78 182.01 72.7 177.5 68.51 C167.37 59.12 153.97 53.16 140 54.1 C134.84 54.45 129.76 55.71 125 57.71 C123.69 58.27 121.86 59.64 120.5 59.87 C119.38 60.06 111.9 56.48 110 55.92 C103.69 54.04 97.01 53.52 90.5 54.48 Z" },+ ],+ },+ ghost: {+ id: "ghost",+ name: "Ghost",+ paint: "pale",+ bone: null,+ eyes: {cx: 120, cy: 112, dx: 32, w: 26, h: 52, round: 44, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M111.5 18.45 C102.67 19.45 94.05 21.8 86 25.58 C79.38 28.69 73.19 32.71 67.66 37.5 C55.69 47.85 46.96 61.73 42.81 77 C41.15 83.07 41.21 88.17 40.02 93.5 C39.67 95.08 38.72 96.36 38.5 97.97 C37.5 105.16 38.47 113.18 38.11 120.5 C37.62 130.51 36.53 140.51 35.71 150.5 C34.9 160.48 34.46 170.57 33.23 180.5 C32.61 185.5 30.7 190.45 30.58 195.5 C30.54 197.24 31.38 198.4 31.89 200 C33.45 204.88 34.26 209.22 38 213.1 C45.27 220.62 57.05 222.23 65.9 216.5 C68.85 214.59 75.17 206.54 75.27 206.5 C75.82 206.31 76.48 206.39 77 206.65 C77.78 207.05 82.14 213.41 84 214.97 C91.11 220.92 101.63 221.6 109.5 216.75 C112.96 214.63 119.13 206.55 119.27 206.5 C121.64 205.67 124.14 210.98 125.45 212.5 C129.1 216.73 134.46 219.4 140 219.91 C146.43 220.5 153.1 218.15 157.61 213.5 C158.94 212.13 161.82 207.01 163.27 206.5 C165.61 205.68 168.9 212.06 170.5 213.61 C175.27 218.25 181.86 220.62 188.5 219.86 C196.53 218.94 203.54 213.52 206.49 206 C207.26 204.04 207.48 201.99 208.11 200 C208.44 198.97 209.07 198.05 209.32 197 C210.25 193.16 207.29 184.77 206.77 180.5 C205.35 169.08 204.85 157.47 203.92 146 C203.19 137.02 202.16 128.01 201.83 119 C201.57 112.11 202.45 104.83 201.5 98 C201.28 96.4 200.36 95.14 200 93.58 C199.55 91.62 199.57 89.5 199.31 87.5 C198.7 82.92 197.7 78.4 196.32 74 C190.52 55.58 178.01 39.62 161.5 29.61 C154.53 25.38 146.92 22.23 139 20.29 C130.06 18.1 120.66 17.42 111.5 18.45 Z",+ parts: [+ { fill: "body", d: "M111.5 18.45 C102.67 19.45 94.05 21.8 86 25.58 C79.38 28.69 73.19 32.71 67.66 37.5 C55.69 47.85 46.96 61.73 42.81 77 C41.15 83.07 41.21 88.17 40.02 93.5 C39.67 95.08 38.72 96.36 38.5 97.97 C37.5 105.16 38.47 113.18 38.11 120.5 C37.62 130.51 36.53 140.51 35.71 150.5 C34.9 160.48 34.46 170.57 33.23 180.5 C32.61 185.5 30.7 190.45 30.58 195.5 C30.54 197.24 31.38 198.4 31.89 200 C33.45 204.88 34.26 209.22 38 213.1 C45.27 220.62 57.05 222.23 65.9 216.5 C68.85 214.59 75.17 206.54 75.27 206.5 C75.82 206.31 76.48 206.39 77 206.65 C77.78 207.05 82.14 213.41 84 214.97 C91.11 220.92 101.63 221.6 109.5 216.75 C112.96 214.63 119.13 206.55 119.27 206.5 C121.64 205.67 124.14 210.98 125.45 212.5 C129.1 216.73 134.46 219.4 140 219.91 C146.43 220.5 153.1 218.15 157.61 213.5 C158.94 212.13 161.82 207.01 163.27 206.5 C165.61 205.68 168.9 212.06 170.5 213.61 C175.27 218.25 181.86 220.62 188.5 219.86 C196.53 218.94 203.54 213.52 206.49 206 C207.26 204.04 207.48 201.99 208.11 200 C208.44 198.97 209.07 198.05 209.32 197 C210.25 193.16 207.29 184.77 206.77 180.5 C205.35 169.08 204.85 157.47 203.92 146 C203.19 137.02 202.16 128.01 201.83 119 C201.57 112.11 202.45 104.83 201.5 98 C201.28 96.4 200.36 95.14 200 93.58 C199.55 91.62 199.57 89.5 199.31 87.5 C198.7 82.92 197.7 78.4 196.32 74 C190.52 55.58 178.01 39.62 161.5 29.61 C154.53 25.38 146.92 22.23 139 20.29 C130.06 18.1 120.66 17.42 111.5 18.45 Z" },+ ],+ },+ witch: {+ id: "witch",+ name: "Witch",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 174, dx: 30, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M70 115.37 C64.92 118.19 58.38 126.61 55.15 131.5 C39.04 155.88 40.93 187.85 59.5 210.37 C83.52 239.49 127.61 245.99 160 227.52 C193.86 208.21 206.9 166.06 185.5 132.5 C182.23 127.37 176.01 119.21 170.88 116 C168.88 114.75 156.18 116.17 153 116.31 C138.51 116.93 124 117.12 109.5 116.93 C100 116.81 90.49 116.52 81 116.03 C79.79 115.97 70.33 115.19 70 115.37 Z",+ parts: [+ { fill: "#3d3d3d", d: "M56 93.43 C43.48 96.13 40.36 109.2 37.78 120 C31.5 146.29 30.56 174.43 35.74 201 C37.12 208.09 38.78 215.1 40.92 222 C41.86 225.03 42.59 228.55 45.34 230.5 C50.73 234.32 58.38 230.12 57.98 223.5 C57.72 219 56.75 214.51 56.42 210 C55.7 200 56.02 189.96 57.07 180 C57.37 177.15 58.02 166.48 61 165.64 C63.18 165.03 66.49 167.44 68.5 168.11 C72.91 169.6 77.38 170 82 170 C105.5 170 129 170 152.5 170 C158.59 170 164.6 170.23 170.5 168.43 C172.53 167.82 177.65 164.86 179.5 165.82 C181.99 167.11 182.45 176.27 182.79 179 C184.42 191.91 184.37 205.09 182.77 218 C182.17 222.84 180.96 227.92 186 230.93 C187.77 231.99 190.01 232.27 192 231.75 C196.36 230.6 197.5 226.81 198.73 223 C201.11 215.63 202.91 208.12 204.32 200.5 C208.97 175.34 208.61 149 203.13 124 C201.42 116.16 199.23 104.47 193.5 98.63 C188.23 93.26 179.97 91.56 173 94.34 C168.24 96.23 164.9 99.79 159.5 100 C144.55 100.56 129.46 100 114.5 100 C103.07 100 91.41 100.67 80 99.98 C70.75 99.42 67.69 90.9 56 93.43 Z" },+ { fill: "body", d: "M111 98.49 C99.92 99.78 89.16 103.16 79.5 108.77 C71.23 113.57 63.85 119.91 58.01 127.5 C52.95 134.08 49.07 141.54 46.7 149.5 C31.29 201.28 80.43 243.45 130 237.39 C141.09 236.03 151.91 232.4 161.5 226.64 C169.36 221.92 176.39 215.78 181.99 208.5 C186.73 202.34 190.44 195.4 192.83 188 C209.5 136.52 160.9 92.7 111 98.49 Z" },+ { fill: "#3d3d3d", d: "M177 10.96 C138.98 13.21 103.23 27.45 85.12 63 C81.33 70.43 77.84 78.65 76.85 87 C76.55 89.52 76.75 91.99 76.61 94.5 C76.56 95.51 76.17 96.49 76.14 97.5 C76 101.4 77.46 105.9 78.82 109.5 C85.72 127.81 104.52 139.6 124 137.82 C143.59 136.03 160 120.88 163.36 101.5 C163.9 98.37 164.65 94.14 163.9 91 C162.95 87.07 162.41 82.91 161.16 79 C158.31 70.02 153.98 63.41 156.17 53.5 C158.71 41.94 167.43 31.98 176.22 24.5 C178.98 22.16 184.33 18.67 186.45 16.5 C187.23 15.7 187.64 14.61 187.46 13.5 C186.74 9 180.07 10.78 177 10.96 Z" },+ { fill: "accent", d: "M81 72.19 C79.92 73.17 77.55 82.62 77.22 84.5 C77.21 84.56 76.73 87.42 76.79 87.5 C77.5 88.43 80.51 88 81.5 88 C86.5 88 91.5 88 96.5 88 C113 88 129.5 88 146 88 C150 88 154 88 158 88 C158.41 88 162.39 88.09 162.5 88 C163.43 87.24 162.51 84.38 162.33 83.5 C161.84 81.07 159.9 72.86 157.5 72 C155.93 71.44 142.27 72 139.5 72 C126 72 112.5 72 99 72 C94.5 72 90 72 85.5 72 C84.65 72 81.67 71.58 81 72.19 Z" },+ { fill: "#3d3d3d", d: "M92.5 82.49 C70.51 83.29 48.05 84.51 26.5 89.19 C21.5 90.28 16.04 91.43 11.56 94 C9.93 94.93 7.19 96.67 8.22 99 C9.82 102.64 17.9 104.67 21.5 105.62 C34.2 108.96 47.45 110.39 60.5 111.56 C99.75 115.07 139.74 115.08 179 111.6 C192.04 110.44 217.43 108.32 228.44 102 C234.96 98.26 231.04 94.96 226 92.83 C217.57 89.26 208 87.94 199 86.66 C163.9 81.67 127.88 81.21 92.5 82.49 Z" },+ ],+ },+ bat: {+ id: "bat",+ name: "Bat",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M78.5 28.29 C74.93 30.19 75.47 37.8 75.15 41.5 C74.53 48.5 73.91 55.5 73.29 62.5 C72.9 66.96 72.85 71.64 71.75 76 C70.83 79.6 68.82 85.6 64.5 86.26 C59.64 87 48.75 76.45 44 74 C41.3 72.61 37.88 71.96 35 71 C27.5 68.5 20 66 12.5 63.5 C8.5 62.17 4.5 60.83 0.5 59.5 C-0.78 59.07 -2.92 57.58 -3.85 59.5 C-4.29 60.4 -3.66 61.5 -3.56 62.5 C-3.1 67.12 -0.34 68.8 2.57 72 C7.4 77.32 10.12 84.29 10 91.5 C9.9 96.81 8.27 102.08 5.32 106.5 C4.31 108.01 3.03 109.34 2.25 111 C1.43 112.74 1.01 118.51 2.5 119.97 C3.97 121.42 10.69 121.29 13 121.89 C18.65 123.35 23.67 126.57 27.45 131 C31.02 135.19 33.25 140.53 33.84 146 C34.08 148.27 33.22 153.18 34.21 155 C35.72 157.76 38.05 155.63 40 154.7 C43.58 153 47.39 152.47 50.08 156 C52.67 159.38 53.61 164.19 55.5 168 C58.57 174.19 62.54 179.93 67.25 185 C89.14 208.58 125.04 214.65 153.5 199.73 C165.15 193.62 175.01 184.28 181.77 173 C184.06 169.17 188.57 157.24 190.5 155.3 C193.16 152.64 196.34 153.04 199.5 154.47 C200.95 155.13 203.95 157.59 205.5 155.79 C206.74 154.34 205.93 148.54 206.11 146.5 C206.6 141.11 208.67 135.94 212 131.68 C215.97 126.61 221.72 123.03 228 121.65 C230.52 121.1 236.88 121.57 238.04 119 C238.13 118.81 238.37 116.21 238.39 116 C238.8 111.43 236.27 109.16 234.05 105.5 C231.32 101.01 229.91 95.75 230 90.5 C230.12 83.91 232.62 77.44 236.98 72.5 C239.99 69.1 243.08 67.35 243.56 62.5 C243.66 61.5 244.29 60.4 243.85 59.5 C242.92 57.58 240.78 59.07 239.5 59.5 C235.5 60.83 231.5 62.17 227.5 63.5 C220 66 212.5 68.5 205 71 C202.11 71.96 198.7 72.62 196 74 C191.23 76.44 180.37 87 175.5 86.26 C171.18 85.6 169.16 79.6 168.25 76 C167.15 71.64 167.1 66.96 166.71 62.5 C166.09 55.5 165.47 48.5 164.85 41.5 C164.54 37.89 165.2 28.63 160.5 28.03 C156.82 27.56 152.58 35.31 150.59 38 C146.75 43.2 137.29 57.47 133 60.83 C130.83 62.53 128.21 63.45 125.5 63.81 C123.5 64.08 121.51 63.99 119.5 64 C109.03 64.05 106.48 61.1 100.5 53.01 C97.5 48.95 94.5 44.89 91.5 40.83 C89.48 38.09 84.84 30.64 82.5 28.88 C81.44 28.09 79.75 27.63 78.5 28.29 Z",+ parts: [+ { fill: "body", d: "M78.5 28.29 C74.93 30.19 75.47 37.8 75.15 41.5 C74.53 48.5 73.91 55.5 73.29 62.5 C72.9 66.96 72.85 71.64 71.75 76 C70.83 79.6 68.82 85.6 64.5 86.26 C59.64 87 48.75 76.45 44 74 C41.3 72.61 37.88 71.96 35 71 C27.5 68.5 20 66 12.5 63.5 C8.5 62.17 4.5 60.83 0.5 59.5 C-0.78 59.07 -2.92 57.58 -3.85 59.5 C-4.29 60.4 -3.66 61.5 -3.56 62.5 C-3.1 67.12 -0.34 68.8 2.57 72 C7.4 77.32 10.12 84.29 10 91.5 C9.9 96.81 8.27 102.08 5.32 106.5 C4.31 108.01 3.03 109.34 2.25 111 C1.43 112.74 1.01 118.51 2.5 119.97 C3.97 121.42 10.69 121.29 13 121.89 C18.65 123.35 23.67 126.57 27.45 131 C31.02 135.19 33.25 140.53 33.84 146 C34.08 148.27 33.22 153.18 34.21 155 C35.72 157.76 38.05 155.63 40 154.7 C43.58 153 47.39 152.47 50.08 156 C52.67 159.38 53.61 164.19 55.5 168 C58.57 174.19 62.54 179.93 67.25 185 C89.14 208.58 125.04 214.65 153.5 199.73 C165.15 193.62 175.01 184.28 181.77 173 C184.06 169.17 188.57 157.24 190.5 155.3 C193.16 152.64 196.34 153.04 199.5 154.47 C200.95 155.13 203.95 157.59 205.5 155.79 C206.74 154.34 205.93 148.54 206.11 146.5 C206.6 141.11 208.67 135.94 212 131.68 C215.97 126.61 221.72 123.03 228 121.65 C230.52 121.1 236.88 121.57 238.04 119 C238.13 118.81 238.37 116.21 238.39 116 C238.8 111.43 236.27 109.16 234.05 105.5 C231.32 101.01 229.91 95.75 230 90.5 C230.12 83.91 232.62 77.44 236.98 72.5 C239.99 69.1 243.08 67.35 243.56 62.5 C243.66 61.5 244.29 60.4 243.85 59.5 C242.92 57.58 240.78 59.07 239.5 59.5 C235.5 60.83 231.5 62.17 227.5 63.5 C220 66 212.5 68.5 205 71 C202.11 71.96 198.7 72.62 196 74 C191.23 76.44 180.37 87 175.5 86.26 C171.18 85.6 169.16 79.6 168.25 76 C167.15 71.64 167.1 66.96 166.71 62.5 C166.09 55.5 165.47 48.5 164.85 41.5 C164.54 37.89 165.2 28.63 160.5 28.03 C156.82 27.56 152.58 35.31 150.59 38 C146.75 43.2 137.29 57.47 133 60.83 C130.83 62.53 128.21 63.45 125.5 63.81 C123.5 64.08 121.51 63.99 119.5 64 C109.03 64.05 106.48 61.1 100.5 53.01 C97.5 48.95 94.5 44.89 91.5 40.83 C89.48 38.09 84.84 30.64 82.5 28.88 C81.44 28.09 79.75 27.63 78.5 28.29 Z" },+ ],+ },+ cat: {+ id: "cat",+ name: "Cat",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M48 25.42 C46.77 26.16 46.14 26.51 45.5 27.83 C44.09 30.74 43.01 40.74 42.34 44.5 C39.14 62.5 35.94 80.5 32.74 98.5 C31.46 105.73 28.94 112.44 27.09 119.5 C26.44 121.96 26.44 124.52 25.93 127 C25.3 130.04 24.17 132.96 23.51 136 C21.02 147.42 21.66 159.39 25.27 170.5 C29.81 184.46 38.78 196.64 50 205.99 C85.42 235.47 140.72 237.75 179.5 213.57 C186.45 209.23 192.84 204.02 198.4 198 C210.43 184.96 218 167.87 218 150 C218 141.88 215.96 135.26 214.18 127.5 C213.61 125.03 213.61 122.47 213.04 120 C211.96 115.44 210.13 111.04 208.95 106.5 C206.39 96.7 205.12 86.47 203.35 76.5 C201.03 63.5 198.72 50.5 196.41 37.5 C195.71 33.57 195.94 26.16 191 25.1 C187.51 24.35 184.88 27.92 182.63 30 C176.13 36 169.63 42 163.13 48 C157.65 53.05 146.41 64.8 140.5 67.87 C138.17 69.08 135.61 69.79 133 70.1 C130.41 70.4 108.36 70.34 106 69.96 C98.34 68.74 93.44 63.3 88 58.27 C79.78 50.68 71.55 43.09 63.33 35.5 C60.5 32.89 52.07 22.98 48 25.42 Z",+ parts: [+ { fill: "body", d: "M48 25.42 C46.77 26.16 46.14 26.51 45.5 27.83 C44.09 30.74 43.01 40.74 42.34 44.5 C39.14 62.5 35.94 80.5 32.74 98.5 C31.46 105.73 28.94 112.44 27.09 119.5 C26.44 121.96 26.44 124.52 25.93 127 C25.3 130.04 24.17 132.96 23.51 136 C21.02 147.42 21.66 159.39 25.27 170.5 C29.81 184.46 38.78 196.64 50 205.99 C85.42 235.47 140.72 237.75 179.5 213.57 C186.45 209.23 192.84 204.02 198.4 198 C210.43 184.96 218 167.87 218 150 C218 141.88 215.96 135.26 214.18 127.5 C213.61 125.03 213.61 122.47 213.04 120 C211.96 115.44 210.13 111.04 208.95 106.5 C206.39 96.7 205.12 86.47 203.35 76.5 C201.03 63.5 198.72 50.5 196.41 37.5 C195.71 33.57 195.94 26.16 191 25.1 C187.51 24.35 184.88 27.92 182.63 30 C176.13 36 169.63 42 163.13 48 C157.65 53.05 146.41 64.8 140.5 67.87 C138.17 69.08 135.61 69.79 133 70.1 C130.41 70.4 108.36 70.34 106 69.96 C98.34 68.74 93.44 63.3 88 58.27 C79.78 50.68 71.55 43.09 63.33 35.5 C60.5 32.89 52.07 22.98 48 25.42 Z" },+ ],+ },+ skull: {+ id: "skull",+ name: "Skull",+ paint: "bone",+ bone: "#f1ede6",+ eyes: {cx: 120, cy: 112, dx: 34, w: 42, h: 44, round: 50, ink: "#0d0a10", mouth: false, mouthInk: "#0d0a10", mouthY: null},+ clip: "M111 16.48 C60.53 22.23 26.1 71.09 38.54 120.5 C40.96 130.13 45.1 139.31 50.72 147.5 C55.37 154.28 61.54 159.58 64.33 167.5 C66.25 172.92 65.77 178.38 66.35 184 C66.91 189.5 67.86 194.95 67.98 200.5 C68.17 209.19 66.13 215.91 73.45 222.5 C80.55 228.89 89.65 228 98.5 228 C111 228 123.5 228 136 228 C141.94 228 148.08 228.45 154 227.91 C161.84 227.19 170.56 221.74 171.93 213.5 C172.59 209.54 171.97 205.49 172 201.5 C172.05 195.44 173.12 189.51 173.7 183.5 C174.04 180.01 173.78 176.47 174.27 173 C174.64 170.41 175.44 167.92 176.42 165.5 C179.29 158.45 185.28 153.4 189.5 147.18 C196.53 136.81 201.2 124.89 203.06 112.5 C211.17 58.67 165.37 10.29 111 16.48 Z",+ parts: [+ { fill: "body", d: "M111 16.48 C60.53 22.23 26.1 71.09 38.54 120.5 C40.96 130.13 45.1 139.31 50.72 147.5 C55.37 154.28 61.54 159.58 64.33 167.5 C66.25 172.92 65.77 178.38 66.35 184 C66.91 189.5 67.86 194.95 67.98 200.5 C68.17 209.19 66.13 215.91 73.45 222.5 C80.55 228.89 89.65 228 98.5 228 C111 228 123.5 228 136 228 C141.94 228 148.08 228.45 154 227.91 C161.84 227.19 170.56 221.74 171.93 213.5 C172.59 209.54 171.97 205.49 172 201.5 C172.05 195.44 173.12 189.51 173.7 183.5 C174.04 180.01 173.78 176.47 174.27 173 C174.64 170.41 175.44 167.92 176.42 165.5 C179.29 158.45 185.28 153.4 189.5 147.18 C196.53 136.81 201.2 124.89 203.06 112.5 C211.17 58.67 165.37 10.29 111 16.48 Z" },+ { fill: "#0d0a10", d: "M108.5 149.4 C107.57 150.05 107 150.82 107 152 C107 154.18 114.28 164.52 115.84 167 C116.89 168.68 118.36 171.98 121 170.83 C123.26 169.84 129.3 158.78 131 156.06 C132.04 154.39 134.17 151.94 132.23 150 C130.51 148.28 117.13 149 114 149 C112.48 149 109.83 148.48 108.5 149.4 Z" },+ { fill: "#0d0a10", d: "M94.5 187.86 C90.92 189.52 93.89 198.41 92.8 199.5 C91.51 200.79 82.21 198.69 80.5 200.4 C80.09 200.81 79.82 201.42 79.8 202 C79.71 204.75 83.35 204.2 85 204.2 C85.71 204.2 92.43 204.13 92.5 204.2 C94.27 205.97 90.74 214.92 94.5 216.14 C99.5 217.76 95.66 205.52 98 204.2 C98.87 203.71 100 204.2 101 204.2 C102.15 204.2 104.56 203.68 105.3 205 C106.51 207.15 103.11 216.05 107.5 216.2 C112.34 216.36 107.39 205.23 111 204.2 C111.96 203.93 113 204.2 114 204.2 C115 204.2 116.13 203.71 117 204.2 C118.31 204.94 117.8 210.08 117.8 211.5 C117.8 213.04 117.59 217.08 120.5 216.14 C124.04 215 121.14 205.56 122.2 204.5 C122.63 204.07 123.39 204.26 124 204.2 C124.45 204.16 129.99 204.19 130 204.2 C131.77 205.97 128.24 214.92 132 216.14 C134.91 217.08 134.7 213.04 134.7 211.5 C134.7 210.08 134.19 204.94 135.5 204.2 C136.37 203.71 137.5 204.2 138.5 204.2 C139.5 204.2 140.54 203.93 141.5 204.2 C141.99 204.34 142.55 204.56 142.8 205 C143.36 206 142.47 212.32 142.8 214 C143.12 215.64 144.94 217.16 146.5 215.6 C148.29 213.81 146.31 206.57 147.2 205 C148.42 202.83 156.88 205.32 159 203.96 C159.52 203.62 159.95 203.09 160.14 202.5 C161.24 199.11 155.62 199.8 154 199.8 C153.08 199.8 148.56 200.12 148 199.8 C145.66 198.48 149.5 186.24 144.5 187.86 C140.96 189 143.86 198.44 142.8 199.5 C142.42 199.88 140.04 199.8 139.5 199.8 C139.14 199.8 135.05 199.85 135 199.8 C133.92 198.72 136.59 184.88 131.5 188.04 C128.44 189.94 132 198.39 129.5 199.8 C128.63 200.29 127.5 199.8 126.5 199.8 C125.35 199.8 122.94 200.32 122.2 199 C120.99 196.85 124.39 187.95 120 187.8 C115.16 187.64 120.11 198.77 116.5 199.8 C115.54 200.07 114.5 199.8 113.5 199.8 C112.5 199.8 111.37 200.29 110.5 199.8 C108.57 198.71 110.45 191.48 109.64 189.5 C108.87 187.61 106.74 187.14 105.54 189 C104.68 190.34 105.78 199.02 105.3 199.5 C104.92 199.88 102.54 199.8 102 199.8 C101.64 199.8 97.55 199.85 97.5 199.8 C96.32 198.62 99.05 185.75 94.5 187.86 Z" },+ ],+ },+ monster: {+ id: "monster",+ name: "Monster",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M62.5 85.83 C62.35 85.86 59.77 89.26 59.5 89.6 C57.48 92.13 51.44 101.28 48.5 101.5 C45.58 101.72 39.42 92.42 37.5 90.01 C36.59 88.88 34.53 86.24 34.5 86.25 C33.82 86.47 34 93.06 34 94 C34 102 34 110 34 118 C34 142 34 166 34 190 C34 201.71 32.25 214.47 41 223.75 C50.98 234.33 65.82 232 79 232 C103 232 127 232 151 232 C159.5 232 179.87 233.04 187 231.04 C196.89 228.27 204.38 219.67 205.76 209.5 C206.8 201.92 206 189.13 206 181 C206 162 206 143 206 124 C206 114.5 206 105 206 95.5 C206 92.69 206.04 86.51 206 86.5 C205.02 86.17 202.97 89.42 202.51 90 C200.52 92.51 195.5 100.01 193 101.23 C192.11 101.67 190.85 101.54 190 101.08 C188.02 99.98 182.32 91.88 180.5 89.6 C180.27 89.3 177.53 85.83 177.5 85.83 C176.98 85.81 174.43 89.26 174 89.8 C171.93 92.41 166.13 101.35 163 101.5 C160.25 101.63 153.88 92.16 152 89.8 C151.76 89.5 149.08 86.05 149 86.04 C147.81 85.89 146.09 88.85 145.5 89.6 C143.48 92.13 137.44 101.28 134.5 101.5 C130.72 101.78 122.19 86.67 120.5 86.25 C119.09 85.89 117.64 88.58 117 89.39 C115.13 91.74 108.86 100.75 106.5 101.4 C101.99 102.65 94.55 87.55 92.04 86.5 C90.19 85.73 88.38 89.32 87.5 90.43 C85.52 92.92 79.68 101.98 76.5 101.46 C73.7 101.01 67.54 91.73 65.5 89.18 C65.15 88.73 62.92 85.74 62.5 85.83 Z",+ parts: [+ { fill: "#8d8d8d", d: "M14.5 180.29 C13.19 180.99 12.59 181.55 12.13 183 C11.71 184.32 11.73 193.65 12.13 195 C12.45 196.1 13.06 196.94 14.07 197.5 C16.14 198.66 31.56 198 35 198 C37.29 198 40.56 198.62 42.5 197.12 C44.75 195.37 44.74 182.84 42.64 181 C40.99 179.55 38.5 180 36.5 180 C33.26 180 16.22 179.38 14.5 180.29 Z M198.5 180.29 C197.19 180.99 196.59 181.55 196.13 183 C195.71 184.32 195.73 193.65 196.13 195 C196.45 196.1 197.06 196.94 198.07 197.5 C200.14 198.66 215.56 198 219 198 C221.29 198 224.56 198.62 226.5 197.12 C228.75 195.37 228.74 182.84 226.64 181 C224.99 179.55 222.5 180 220.5 180 C217.26 180 200.22 179.38 198.5 180.29 Z" },+ { fill: "#6f6f6f", d: "M6 174.34 C2.94 176.55 4 181.14 4 184.5 C4 188.39 3.35 197.74 4.04 201 C4.3 202.25 4.84 203.05 6 203.66 C7.59 204.49 10.27 204 12 204 C13.45 204 15.23 204.3 16.5 203.37 C18.94 201.57 18 197.12 18 194.5 C18 191.27 18.73 176.79 17 175.05 C15.47 173.52 12.94 174 11 174 C9.71 174 7.11 173.53 6 174.34 Z M224 174.34 C220.94 176.55 222 181.14 222 184.5 C222 188.39 221.35 197.74 222.04 201 C222.3 202.25 222.84 203.05 224 203.66 C225.59 204.49 228.27 204 230 204 C231.45 204 233.23 204.3 234.5 203.37 C236.94 201.57 236 197.12 236 194.5 C236 191.27 236.73 176.79 235 175.05 C233.47 173.52 230.94 174 229 174 C227.71 174 225.11 173.53 224 174.34 Z" },+ { fill: "body", d: "M55 22.49 C44.2 24.71 35.73 33.52 34.24 44.5 C33.64 48.92 34 53.55 34 58 C34 96 34 134 34 172 C34 180 34 188 34 196 C34 200.93 33.53 206.14 34.49 211 C35.1 214.13 36.29 217.16 38 219.86 C46.73 233.59 60.38 232 74.5 232 C99 232 123.5 232 148 232 C156.48 232 178.53 232.92 185.5 231.41 C196.07 229.12 204.3 220.22 205.76 209.5 C206.43 204.6 206 199.44 206 194.5 C206 157 206 119.5 206 82 C206 74 206 66 206 58 C206 53.07 206.47 47.86 205.51 43 C204.9 39.87 203.71 36.84 202 34.14 C193.01 20 178.47 22 164 22 C140 22 116 22 92 22 C83.69 22 61.8 21.08 55 22.49 Z" },+ { fill: "#3d3d3d", d: "M55 18.42 C42.19 20.59 32 31.13 30.27 44 C29.41 50.36 30 57.09 30 63.5 C30 68 30 72.5 30 77 C30 77.97 29.55 80.79 30.5 81.5 C31.3 82.1 32.64 81.26 33.5 81.78 C34.97 82.67 36.42 85.45 37.5 86.8 C38.91 88.58 46.34 98.67 47.5 99.24 C49.39 100.17 50.54 97.63 51.45 96.5 C54.13 93.13 56.82 89.76 59.5 86.38 C59.73 86.1 62.49 82.62 62.5 82.62 C62.95 82.64 64.72 84.99 65 85.34 C67.67 88.69 70.33 92.04 73 95.38 C73.82 96.42 75.75 100.08 77.5 99.41 C78.97 98.85 86.46 88.53 88 86.59 C88.24 86.3 90.94 82.83 91 82.83 C92.18 82.73 93.9 85.63 94.5 86.38 C97.17 89.73 99.83 93.08 102.5 96.43 C103.26 97.39 104.41 99.72 106 99.46 C106.95 99.31 115.23 88.4 116.5 86.8 C116.79 86.44 119.31 83.08 119.5 83.04 C120.91 82.68 122.36 85.37 123 86.18 C125.67 89.52 128.33 92.87 131 96.22 C131.72 97.12 133.05 99.61 134.5 99.49 C135.82 99.38 137.28 96.71 138 95.8 C139.12 94.4 147.45 83.47 148 83.25 C149.78 82.5 151.66 86.16 152.5 87.22 C153.82 88.88 161.68 99.49 163 99.5 C164.27 99.51 172.2 88.86 173.5 87.22 C174.35 86.16 176.2 82.54 178 83.25 C178.45 83.42 186.93 94.46 188 95.8 C188.74 96.74 190.2 99.31 191.5 99.49 C192.89 99.69 194.33 97.06 195 96.22 C197.98 92.48 200.96 88.74 203.94 85 C204.62 84.14 205.16 83.13 206 82.41 C207.66 80.98 209.21 82.38 210 80 C210.52 78.45 210 67.49 210 65 C210 50.51 211.96 36.41 200 25.64 C188.98 15.71 173.68 18 160 18 C137 18 114 18 91 18 C82.08 18 62.75 17.11 55 18.42 Z" },+ ],+ },+ mummy: {+ id: "mummy",+ name: "Mummy",+ paint: "bone",+ bone: "#efe5cf",+ eyes: {cx: 120, cy: 119, dx: 30, w: 24, h: 24, round: 30, ink: "#f4efe4", mouthInk: "#0d0a10", mouthY: 170, mouth: true},+ clip: "M201.5 97.49 C164.5 98.63 127.5 99.77 90.5 100.91 C78 101.29 65.5 101.68 53 102.06 C48.3 102.21 42.56 101.73 38 102.52 C37.48 102.61 36.82 102.58 36.5 103 C36.25 103.33 36.5 109.62 36.5 110.5 C36.5 118 36.5 125.5 36.5 133 C36.5 133.71 36.42 140.42 36.5 140.5 C36.65 140.65 44.6 140.32 45.5 140.29 C55 140 64.5 139.71 74 139.42 C105.5 138.45 137 137.48 168.5 136.51 C177 136.25 185.5 135.98 194 135.72 C195.18 135.69 202.47 135.84 203 135.45 C203.86 134.81 203.5 127.83 203.5 126.5 C203.5 119 203.5 111.5 203.5 104 C203.5 103.31 203.7 98.26 203.5 98 C203.04 97.39 202.15 97.47 201.5 97.49 Z",+ parts: [+ { fill: "body", d: "M111 14.48 C76.78 18.38 47.65 43.09 38.8 76.5 C34.8 91.61 36 107.52 36 123 C36 140.11 34.75 157.49 40.13 174 C52.39 211.67 90.69 236.12 130 231.4 C163.8 227.35 192.49 202.41 201.2 169.5 C205.2 154.39 204 138.48 204 123 C204 105.89 205.25 88.51 199.87 72 C187.78 34.85 149.95 10.05 111 14.48 Z" },+ { fill: "#d8ccb2", d: "M174.5 35.45 C146.5 38.81 118.5 42.17 90.5 45.53 C79.5 46.85 68.5 48.17 57.5 49.49 C53.73 49.94 51.23 49.33 49.07 53 C48.78 53.49 47.97 54.03 48.28 54.5 C48.38 54.65 55.19 53.79 56 53.69 C63.5 52.79 71 51.89 78.5 50.99 C101.5 48.23 124.5 45.47 147.5 42.71 C155.5 41.75 163.5 40.79 171.5 39.83 C173.36 39.61 178.97 38.95 179 38.88 C179.56 37.71 175.8 35.29 174.5 35.45 Z M43 64.46 C42.99 64.47 41.71 67.42 41.73 67.5 C42.08 68.71 45.14 68.52 46 68.61 C49.5 68.96 53 69.31 56.5 69.66 C72 71.21 87.5 72.76 103 74.31 C128.5 76.86 154 79.41 179.5 81.96 C185.5 82.56 191.5 83.16 197.5 83.76 C199.48 83.96 202.33 85.3 202.56 82.5 C202.66 81.24 202.17 80.54 201 80.09 C198.79 79.24 189.02 78.89 186 78.59 C168.5 76.84 151 75.09 133.5 73.34 C110.5 71.04 87.5 68.74 64.5 66.44 C59 65.89 53.5 65.34 48 64.79 C47.4 64.73 43.12 64.28 43 64.46 Z M36.5 145.97 C33.26 150.75 40.97 150.53 43.5 150.83 C52.5 151.91 61.5 152.99 70.5 154.07 C100 157.61 129.5 161.15 159 164.69 C170 166.01 181 167.33 192 168.65 C192.91 168.76 200.81 169.85 201 169.71 C201.48 169.35 201.42 168.58 201.58 168 C201.73 167.51 202.15 166.97 201.94 166.5 C201.4 165.34 195.79 165.08 194.5 164.93 C186.5 163.97 178.5 163.01 170.5 162.05 C137.5 158.09 104.5 154.13 71.5 150.17 C62.5 149.09 53.5 148.01 44.5 146.93 C42 146.63 39.5 146.33 37 146.03 C36.83 146.01 36.59 145.83 36.5 145.97 Z M195 178.49 C158 182.19 121 185.89 84 189.59 C75 190.49 66 191.39 57 192.29 C56.12 192.38 49.54 193 49.5 193.15 C49.31 193.81 50.04 194.41 50.38 195 C51.95 197.75 54.8 196.53 57.5 196.26 C66.5 195.36 75.5 194.46 84.5 193.56 C110.5 190.96 136.5 188.36 162.5 185.76 C167.23 185.29 193.16 183.27 195.5 182.46 C197.22 181.86 197.03 181.54 197.67 180 C198.87 177.08 197.1 178.28 195 178.49 Z M63 209.43 C63 209.92 66.26 212.65 66.79 213 C69.51 214.78 78.4 214.68 82 214.97 C102.5 216.61 123 218.25 143.5 219.89 C146.75 220.15 159.21 221.83 161.5 221.03 C161.84 220.92 166 218.31 166 218.29 C166 217.49 163.3 217.46 163 217.43 C159.5 217.15 156 216.87 152.5 216.59 C138 215.43 123.5 214.27 109 213.11 C99 212.31 89 211.51 79 210.71 C75.5 210.43 72 210.15 68.5 209.87 C67 209.75 65.5 209.63 64 209.51 C63.67 209.49 63 209.1 63 209.43 Z" },+ { fill: "#0d0a10", d: "M201.5 97.49 C164.5 98.63 127.5 99.77 90.5 100.91 C78 101.29 65.5 101.68 53 102.06 C48.3 102.21 42.56 101.73 38 102.52 C37.48 102.61 36.82 102.58 36.5 103 C36.25 103.33 36.5 109.62 36.5 110.5 C36.5 118 36.5 125.5 36.5 133 C36.5 133.71 36.42 140.42 36.5 140.5 C36.65 140.65 44.6 140.32 45.5 140.29 C55 140 64.5 139.71 74 139.42 C105.5 138.45 137 137.48 168.5 136.51 C177 136.25 185.5 135.98 194 135.72 C195.18 135.69 202.47 135.84 203 135.45 C203.86 134.81 203.5 127.83 203.5 126.5 C203.5 119 203.5 111.5 203.5 104 C203.5 103.31 203.7 98.26 203.5 98 C203.04 97.39 202.15 97.47 201.5 97.49 Z" },+ ],+ },+ vampire: {+ id: "vampire",+ name: "Vampire",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 150, dx: 28, w: 22, h: 42, round: 38, ink: "#7a0f24", mouth: true, mouthInk: "#7a0f24", mouthY: null},+ clip: "M90.5 74.47 C84.48 75.44 78.4 77.7 72.5 79.27 C70.54 79.79 64.93 80.75 63.5 81.67 C61.68 82.85 59.36 87.13 58.03 89 C49.89 100.39 47.02 115.7 46.19 129.5 C44.07 165.18 60.28 205.2 94.5 220.49 C105.75 225.51 118.34 227.21 130.5 225.09 C176.27 217.11 198.13 165.57 193.28 123.5 C192.29 114.91 189.54 100.92 185.19 93.5 C183.7 90.97 181.7 88.63 180 86.24 C179.11 85 178.17 83 177 82.04 C175.59 80.88 159.05 77.02 156 76.2 C154.71 75.86 149.54 74.05 148.5 74.47 C147.76 74.76 145.18 78.26 144.5 79.04 C140.5 83.61 136.5 88.18 132.5 92.75 C129.5 96.18 126.5 99.61 123.5 103.04 C122.66 103.99 121.5 106 120 106 C118.37 106 114.64 100.91 113.5 99.61 C108.17 93.51 102.83 87.42 97.5 81.32 C96.28 79.93 92.06 74.22 90.5 74.47 Z",+ parts: [+ { fill: "#3d3d3d", d: "M23 108.27 C21.28 109.28 22.11 112.42 22.18 114 C22.41 119 22.63 124 22.86 129 C23.63 146 24.41 163 25.18 180 C25.33 183.4 25.18 197.44 26.68 199.5 C28.01 201.33 30.32 202.94 31.97 204.5 C37.79 210 43.62 215.5 49.44 221 C52.16 223.57 60.5 232.29 63 233.73 C64.91 234.82 77.88 237.02 81 237.69 C90.5 239.72 100 241.76 109.5 243.8 C112.77 244.5 116.66 246 120 246 C123.19 246 143.69 240.97 148.5 239.94 C152.57 239.07 175.06 234.84 177 233.73 C179.54 232.27 183.95 227.24 186.32 225 C192.55 219.12 198.77 213.24 205 207.36 C207.09 205.39 213.34 200.67 214 198.02 C214.74 195.06 214.65 183.83 214.82 180 C215.39 167.5 215.96 155 216.52 142.5 C216.91 134 217.3 125.5 217.68 117 C217.77 115.16 218.7 109.27 217 108.27 C214.68 106.91 211.26 112.91 210.04 114.5 C203.36 123.24 196.68 131.97 190 140.71 C183.68 148.97 177.36 157.24 171.04 165.5 C169.44 167.59 164.63 174.77 163.01 176 C161.21 177.37 157.66 177.66 155.5 178.25 C149 180.02 142.5 181.79 136 183.56 C132.6 184.49 122.37 188.05 119.5 187.79 C117.06 187.57 114.37 186.39 112 185.75 C105 183.84 98 181.93 91 180.02 C88.54 179.35 79.05 177.31 77.5 176.34 C75.46 175.05 71.68 169.06 70 166.86 C64 159.02 58 151.17 52 143.32 C45 134.17 38 125.02 31 115.86 C29.7 114.17 25.29 106.92 23 108.27 Z" },+ { fill: "accent", d: "M31 129.08 C30.83 129.18 31.08 133.51 31.1 134 C31.3 138.5 31.51 143 31.71 147.5 C32.23 159 32.76 170.5 33.28 182 C33.38 184.26 33.26 194.09 34.09 195.5 C35.17 197.32 41.21 202.22 43.09 204 C48.73 209.32 54.36 214.65 60 219.97 C62.03 221.89 64.08 224.44 66.39 226 C68.95 227.74 86.26 230.63 90.5 231.54 C96.75 232.88 105.4 235.43 111.5 236 C115.59 236.38 125.58 236.47 129.5 235.83 C137.54 234.51 145.53 232.39 153.5 230.69 C156.99 229.94 170.79 227.62 173 226.51 C175.03 225.49 180.56 219.44 182.5 217.61 C187.67 212.73 192.83 207.85 198 202.97 C199.86 201.22 204.77 197.42 205.91 195.5 C206.62 194.3 206.5 186.83 206.58 185 C207.02 175.5 207.45 166 207.88 156.5 C208.2 149.5 208.52 142.5 208.83 135.5 C208.92 133.72 209.19 129.54 209.11 129.5 C208.57 129.27 203.65 136.03 202.52 137.5 C195.52 146.66 188.51 155.83 181.5 164.99 C178.96 168.31 169.94 181.38 167.31 183 C164.18 184.92 155.89 186.43 152 187.49 C144.5 189.54 137 191.58 129.5 193.63 C126.63 194.41 123.47 195.74 120.5 195.98 C117.18 196.25 111.81 193.99 108.5 193.08 C100.5 190.9 92.5 188.72 84.5 186.54 C81.26 185.65 75.08 184.81 72.5 182.87 C69.62 180.71 59.01 165.66 56 161.72 C49.67 153.44 43.33 145.16 37 136.88 C34.7 133.87 31.03 129.05 31 129.08 Z" },+ { fill: "#f2eef4", d: "M112.5 46.46 C98.93 48.14 86.29 54.43 76.15 63.5 C44.86 91.51 38.25 141.01 54.77 178.5 C67.45 207.29 95.18 229.81 128 225.47 C141.63 223.67 154.29 217.22 164.4 208 C195.36 179.76 201.71 130.34 185.01 93 C172.31 64.61 144.93 42.44 112.5 46.46 Z" },+ { fill: "#3d3d3d", d: "M112 42.49 C89.7 45.35 70.68 59.42 58.6 78 C55.5 82.75 52.85 87.79 50.63 93 C50.47 93.36 48.79 97.47 48.83 97.5 C49.49 97.91 52.03 93.96 52.36 93.5 C54.54 90.45 59.14 82.93 61.5 80.7 C63.5 78.81 80.21 75.14 84 74.13 C85.49 73.74 90.24 71.93 91.5 72.13 C93.06 72.39 96.82 77.5 98 78.86 C103.33 84.95 108.67 91.05 114 97.14 C115.67 99.05 117.33 100.95 119 102.86 C119.33 103.24 119.49 104 120 104 C120.51 104 120.67 103.24 121 102.86 C123 100.57 125 98.29 127 96 C132 90.29 137 84.57 142 78.86 C142.67 78.09 147.64 72.11 148 72 C148.73 71.78 154.39 73.71 155.5 74 C158.39 74.77 176.92 79.22 178 80 C179.49 81.07 186.35 91.69 188 94 C188.99 95.38 190.99 98.2 191 98.2 C191.69 97.94 188.7 91.44 188.27 90.5 C184.89 83.14 180.63 76.18 175.5 69.92 C160.15 51.18 136.5 39.36 112 42.49 Z" },+ ],+ },+ spider: {+ id: "spider",+ name: "Spider",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M111.5 64.49 C100.9 65.75 90.63 69.24 81.5 74.8 C73.1 79.92 65.76 86.72 60 94.69 C29.57 136.79 51.51 197.11 102 209.78 C110.8 211.98 120 212.55 129 211.45 C139.53 210.16 149.8 206.59 158.82 201 C202.82 173.75 205.99 110.29 164.67 79 C157.16 73.32 148.58 69.1 139.5 66.62 C130.43 64.14 120.84 63.38 111.5 64.49 Z",+ parts: [+ { fill: "#8d8d8d", d: "M119.5 -1.2 C118.33 -0.73 118.7 8.01 118.7 9.5 C118.7 20 118.7 30.5 118.7 41 C118.7 48 118.7 55 118.7 62 C118.7 62.99 117.97 68.21 120.5 67.2 C121.67 66.73 121.3 57.99 121.3 56.5 C121.3 46 121.3 35.5 121.3 25 C121.3 18 121.3 11 121.3 4 C121.3 3.01 122.03 -2.21 119.5 -1.2 Z" },+ { fill: "#3d3d3d", d: "M26 56.34 C22.33 58.06 6.97 75.56 3 79.77 C0.83 82.08 -2.54 85.01 -0.33 88.5 C0.9 90.45 3.25 91.52 5.5 90.77 C8.52 89.76 18.53 79.17 21.5 76.37 C22.78 75.17 26.71 70.42 28.5 71.33 C29.8 71.99 35.57 78.91 37.05 80.5 C43.27 87.17 49.49 93.83 55.71 100.5 C59.14 104.17 63.66 111.14 69.46 107.5 C76.32 103.2 70.53 97.33 67 93.69 C57.67 84.04 48.33 74.39 39 64.74 C36.15 61.79 30.77 54.11 26 56.34 Z M210 56.34 C206.02 58.21 200.28 65.48 197 68.88 C190.51 75.58 184.02 82.29 177.53 89 C174.72 91.91 171.28 94.74 168.88 98 C165.76 102.22 168.57 108.5 174 108.5 C178.19 108.5 180.94 104.08 183.5 101.35 C190.5 93.84 197.5 86.34 204.5 78.83 C205.33 77.95 211.72 70.85 212 70.8 C212.81 70.63 216.85 74.82 217.5 75.43 C221.83 79.51 226.17 83.6 230.5 87.68 C232.57 89.63 234.89 92.04 238 90.58 C240.63 89.35 241.87 86.06 240.33 83.5 C238.37 80.24 222.75 64.66 219 60.68 C216.77 58.32 213.77 54.57 210 56.34 Z M10 100.34 C6.57 101.78 5.82 105.35 4.59 108.5 C2.09 114.91 -3.16 126.5 -4.77 132.5 C-5.53 135.33 -3.96 138.26 -1 138.9 C0.61 139.25 2.32 138.71 3.5 137.57 C5.71 135.43 10 124.43 11.6 121 C12.42 119.26 13.6 114.34 16 114.47 C17.05 114.52 22.23 117.36 23.5 117.95 C30 120.96 36.5 123.98 43 126.99 C46.52 128.62 51.06 131.92 55 129.77 C59.03 127.57 59.76 121.75 56 118.88 C52.96 116.56 27.09 106.04 21.5 103.6 C18.36 102.23 13.53 98.87 10 100.34 Z M226 100.34 C219.38 102.72 212.95 106.02 206.5 108.84 C199.54 111.87 192.26 114.55 185.5 118 C180.19 120.71 180.18 128.78 186.5 130.32 C190.04 131.19 193.9 128.43 196.98 127 C203.45 124 209.92 121 216.39 118 C218.23 117.14 222.07 114.72 223.93 114.5 C226.17 114.23 227.56 119.21 228.4 121 C229.98 124.38 234.35 135.35 236.43 137.5 C237.58 138.69 239.38 139.25 241 138.9 C243.96 138.26 245.53 135.33 244.77 132.5 C243.68 128.44 241.63 124.42 240.1 120.5 C237.96 115.03 236.1 109.34 233.66 104 C232.3 101.03 229.26 99.18 226 100.34 Z M44 145.99 C35 146.55 26 147.11 17 147.68 C13.65 147.89 9.05 147.35 7 150.69 C5.17 153.67 4.75 159.49 4.03 163 C2.4 170.92 0.13 178.98 -0.9 187 C-1.28 189.93 0.44 192.59 3.5 192.97 C6.77 193.39 8.45 190.72 9.17 188 C11.04 181 12.89 174 14.75 167 C15.25 165.14 15.54 160.73 17.5 159.8 C18.46 159.34 24.99 159.52 26.5 159.46 C31.8 159.26 49.63 159.28 53.5 158.32 C58.63 157.06 60.29 150.15 56 146.88 C52.8 144.44 47.71 145.76 44 145.99 Z M186 145.82 C179.25 148.05 180.72 157.67 187.5 158.48 C195.76 159.46 206 159.18 214.5 159.5 C216.14 159.56 222.53 159.3 223.5 160.42 C224.25 161.29 225.14 166.61 225.51 168 C227.36 174.96 228.87 182.15 231.09 189 C232.47 193.22 237.75 194.57 240.33 190.5 C242.19 187.56 238.67 176.18 237.92 172.5 C237.05 168.24 234.71 152.61 232.5 150.03 C230.09 147.23 225.33 147.82 222 147.61 C214 147.11 206 146.61 198 146.11 C194.69 145.91 189.07 144.8 186 145.82 Z M62 171.82 C59.08 172.78 56.4 175.64 54 177.5 C47.94 182.16 41.87 186.83 35.81 191.5 C33.36 193.38 28.56 196.15 27 198.69 C25.09 201.8 24.02 214.22 23.36 218.5 C22.82 221.95 20.49 232.18 21.1 235 C21.37 236.25 21.99 237.19 23 238 C27 241.21 30.4 237.25 31.23 233.5 C32.65 227.01 34.08 220.52 35.5 214.03 C36.06 211.47 36.18 207.04 38 205.05 C39.42 203.49 41.79 202.27 43.5 201.03 C49.44 196.69 55.39 192.34 61.33 188 C63.95 186.09 67.63 184.22 69.48 181.5 C72.84 176.54 67.56 169.97 62 171.82 Z M174 171.82 C168.53 173.63 168.37 180.28 172.5 183.49 C179.62 189.04 187.12 194.17 194.41 199.5 C196.09 200.73 201.55 204.03 202.5 205.41 C203.45 206.81 203.88 211.21 204.27 213 C205.7 219.5 207.13 226 208.55 232.5 C209.34 236.06 211.26 240.8 216 238.58 C217.67 237.8 218.74 236.33 218.97 234.5 C219.36 231.5 217.12 221.59 216.56 218 C215.98 214.28 214.65 200.87 212.87 198.5 C210.6 195.47 194.7 184.19 190.55 181 C186.69 178.02 179.05 170.14 174 171.82 Z" },+ { fill: "body", d: "M111.5 64.49 C100.9 65.75 90.63 69.24 81.5 74.8 C73.1 79.92 65.76 86.72 60 94.69 C29.57 136.79 51.51 197.11 102 209.78 C110.8 211.98 120 212.55 129 211.45 C139.53 210.16 149.8 206.59 158.82 201 C202.82 173.75 205.99 110.29 164.67 79 C157.16 73.32 148.58 69.1 139.5 66.62 C130.43 64.14 120.84 63.38 111.5 64.49 Z" },+ ],+ },+ rocket: {+ id: "rocket",+ name: "Rocket",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 136, dx: 24, w: 20, h: 38, round: 34, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M84.5 92.44 C73.32 95.79 74 105.01 74 114.5 C74 134 74 153.5 74 173 C74 179.43 72.79 193.18 75.6 198.5 C79.55 205.97 86.14 206 93.5 206 C107.5 206 121.5 206 135.5 206 C141.06 206 151.57 206.94 156.5 205.26 C166.84 201.72 166 192.32 166 183.5 C166 163.5 166 143.5 166 123.5 C166 116.39 167.52 103.86 163.5 98.02 C159.05 91.55 151.95 92 145 92 C131.5 92 118 92 104.5 92 C99.62 92 88.68 91.19 84.5 92.44 Z",+ parts: [+ { fill: "#8d8d8d", d: "M118 195.42 C113.86 197.91 115.06 202.85 115.15 207 C115.38 218 115.6 229 115.83 240 C115.91 243.49 114.51 251.33 119.5 251.97 C125.29 252.7 124.07 244.44 124.15 241 C124.41 228.5 124.67 216 124.93 203.5 C124.96 202.08 125.21 200.4 124.9 199 C124.29 196.26 120.75 193.77 118 195.42 Z" },+ { fill: "#ffc93c", d: "M84 213.4 C82.94 213.74 81.82 222.52 80.78 224 C79.27 226.14 70.96 226.4 70.5 227.28 C69.33 229.53 78.59 230.23 80 231.22 C82.14 232.73 82.4 241.04 83.28 241.5 C85.53 242.67 86.23 233.41 87.22 232 C88.73 229.86 97.04 229.6 97.5 228.72 C98.81 226.21 88.45 226.3 87 223.63 C85.53 220.92 85.89 217.33 84.72 214.5 C84.55 214.1 84.42 213.27 84 213.4 Z M158 223.4 C156.36 224.56 156.92 229.31 155.55 231 C154.23 232.63 148.14 232.93 148 233.4 C147.47 235.25 153.92 235.58 155 236.45 C156.63 237.77 156.93 243.86 157.4 244 C159.25 244.53 159.58 238.08 160.45 237 C161.77 235.37 167.86 235.07 168 234.6 C168.53 232.75 162.08 232.42 161 231.55 C158.88 229.83 159.6 226.27 158.6 224 C158.49 223.74 158.23 223.24 158 223.4 Z" },+ { fill: "body", d: "M84.5 92.44 C73.32 95.79 74 105.01 74 114.5 C74 134 74 153.5 74 173 C74 179.43 72.79 193.18 75.6 198.5 C79.55 205.97 86.14 206 93.5 206 C107.5 206 121.5 206 135.5 206 C141.06 206 151.57 206.94 156.5 205.26 C166.84 201.72 166 192.32 166 183.5 C166 163.5 166 143.5 166 123.5 C166 116.39 167.52 103.86 163.5 98.02 C159.05 91.55 151.95 92 145 92 C131.5 92 118 92 104.5 92 C99.62 92 88.68 91.19 84.5 92.44 Z" },+ { fill: "#fff3dc", d: "M74.5 178 C74.01 178.37 73.72 191.13 74 191.5 C74.32 191.92 74.98 191.91 75.5 192 C79.35 192.64 93.12 192 98 192 C113.5 192 129 192 144.5 192 C150 192 155.5 192 161 192 C162.97 192 165.59 192.94 166 190.5 C166.16 189.56 166.17 178.73 166 178.5 C165.39 177.69 161.04 178 160 178 C155 178 150 178 145 178 C127.5 178 110 178 92.5 178 C88 178 83.5 178 79 178 C78.56 178 74.65 177.88 74.5 178 Z" },+ { fill: "#3d3d3d", d: "M118 14.34 C114.29 15.71 108.91 27.66 106.79 31.5 C97.95 47.5 89.11 63.5 80.26 79.5 C78.24 83.17 73.15 90.9 72.19 94.5 C71.8 95.98 72.01 97.69 72.81 99 C73.75 100.55 75.21 101.59 77 101.92 C81.22 102.68 90.27 102 95 102 C111 102 127 102 143 102 C147.08 102 161.03 102.75 164 101.66 C172.74 98.43 164.27 87.7 161.67 83 C152 65.5 142.33 48 132.66 30.5 C130.72 27 126.58 17.88 124 15.53 C122.41 14.08 120.02 13.6 118 14.34 Z" },+ ],+ },+ anaar: {+ id: "anaar",+ name: "Anaar",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 170, dx: 26, w: 22, h: 40, round: 36, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M85.5 97.46 C83.8 98.28 82.55 99.28 81.68 101 C79.47 105.36 75.47 119.45 73.62 125 C64.95 151 56.29 177 47.62 203 C45.29 210 42.95 217 40.62 224 C39.47 227.46 37.89 231.06 40.5 234.33 C43.03 237.5 46.89 237 50.5 237 C59 237 67.5 237 76 237 C105 237 134 237 163 237 C171 237 179 237 187 237 C190.24 237 194.59 237.78 197.5 236.06 C203.71 232.4 199.73 225.07 198.05 220 C193.05 205 188.05 190 183.05 175 C176.71 156 170.38 137 164.05 118 C162.7 113.98 159.82 102.92 157.74 100 C157 98.96 156.14 98.24 155 97.68 C151.84 96.12 145.11 97 141.5 97 C132 97 122.5 97 113 97 C106.5 97 100 97 93.5 97 C91.12 97 87.71 96.39 85.5 97.46 Z",+ parts: [+ { fill: "#ffc93c", d: "M119 5.71 C116.56 7.31 117.27 11.92 117.13 14.5 C116.63 23 116.14 31.5 115.65 40 C115.58 41.37 115.32 49.98 114.55 50.5 C112.6 51.82 110.67 45.61 110.21 44.5 C107.69 38.5 105.18 32.5 102.67 26.5 C101.93 24.72 100.92 19.95 98 20.92 C94.8 21.99 96.74 25.86 97.31 28 C99.04 34.49 100.77 40.98 102.5 47.47 C102.75 48.42 104.49 54.52 103.71 55 C102.24 55.9 98.4 50.91 97.5 49.89 C92.84 44.59 88.17 39.3 83.51 34 C81.99 32.28 79.13 28.39 77.05 32 C76.18 33.51 77.75 35.16 78.5 36.29 C81.17 40.29 83.83 44.29 86.5 48.3 C91.5 55.81 96.5 63.31 101.5 70.82 C104.14 74.79 107.27 78.72 109.39 83 C110.59 85.4 110.6 88.16 111.97 90.5 C114.3 94.45 119.21 96.31 123.5 94.51 C129.49 91.99 129.75 84.46 132.76 79.5 C139.59 68.24 147.4 57.46 154.7 46.5 C156.1 44.39 163.2 34.78 163.17 33 C163.16 32.47 163 31.9 162.65 31.5 C159.85 28.35 156.6 33.88 155 35.7 C150.67 40.61 146.33 45.53 142 50.45 C141.38 51.16 138.17 55 137.51 55 C134.61 55 137.38 47.94 137.76 46.5 C139.36 40.5 140.96 34.5 142.56 28.5 C143.13 26.36 145.07 22.67 142.5 21.12 C139.53 19.32 138.26 24.27 137.54 26 C135.03 32 132.51 38 130 44 C129.58 45.01 127.2 51.27 126.08 51 C124.62 50.65 124.54 43.36 124.46 42 C123.94 33 123.42 24 122.9 15 C122.81 13.36 123.24 2.93 119 5.71 Z" },+ { fill: "#fff3c4", d: "M118.5 36.36 C114.78 38.21 113.38 43.83 112.53 47.5 C110.82 54.8 110.6 62.56 111.44 70 C111.72 72.5 112.49 75 112.62 77.5 C112.77 80.03 111.72 82.46 112.06 85 C112.75 90.08 118.2 93.41 123 91.42 C130.09 88.47 127.07 82.94 127.38 77.5 C127.51 75 128.28 72.5 128.56 70 C129.4 62.56 129.18 54.8 127.47 47.5 C126.7 44.21 123.66 33.8 118.5 36.36 Z" },+ { fill: "#ffc93c", d: "M120 -3.6 C118.09 -2.25 119.38 2.17 117 3.91 C115.7 4.86 111.13 4.95 111 5.4 C110.48 7.21 116.67 7.3 117.91 9 C118.86 10.3 118.95 14.87 119.4 15 C121.23 15.53 121.36 10.39 121.84 9.5 C123.09 7.14 128.92 6.87 129 6.6 C129.52 4.79 123.33 4.7 122.09 3 C120.9 1.37 121.38 -1.21 120.6 -3 C120.49 -3.26 120.23 -3.76 120 -3.6 Z M56 22.4 C53.85 23.91 55.2 29.53 52.54 31.5 C50.93 32.7 45.18 32.78 45 33.4 C44.45 35.34 52.08 35.53 53.5 37.46 C54.7 39.07 54.78 44.82 55.4 45 C57.3 45.54 57.67 39.05 58.23 38 C59.66 35.35 66.89 35 67 34.6 C67.55 32.66 59.92 32.47 58.5 30.54 C57.02 28.54 57.59 25.22 56.6 23 C56.48 22.74 56.23 22.24 56 22.4 Z M184 22.4 C181.85 23.91 183.2 29.53 180.54 31.5 C178.93 32.7 173.18 32.78 173 33.4 C172.45 35.34 180.08 35.53 181.5 37.46 C182.7 39.07 182.78 44.82 183.4 45 C185.3 45.54 185.67 39.05 186.23 38 C187.66 35.35 194.89 35 195 34.6 C195.55 32.66 187.92 32.47 186.5 30.54 C185.02 28.54 185.59 25.22 184.6 23 C184.48 22.74 184.23 22.24 184 22.4 Z" },+ { fill: "body", d: "M85.5 97.46 C83.8 98.28 82.55 99.28 81.68 101 C79.47 105.36 75.47 119.45 73.62 125 C64.95 151 56.29 177 47.62 203 C45.29 210 42.95 217 40.62 224 C39.47 227.46 37.89 231.06 40.5 234.33 C43.03 237.5 46.89 237 50.5 237 C59 237 67.5 237 76 237 C105 237 134 237 163 237 C171 237 179 237 187 237 C190.24 237 194.59 237.78 197.5 236.06 C203.71 232.4 199.73 225.07 198.05 220 C193.05 205 188.05 190 183.05 175 C176.71 156 170.38 137 164.05 118 C162.7 113.98 159.82 102.92 157.74 100 C157 98.96 156.14 98.24 155 97.68 C151.84 96.12 145.11 97 141.5 97 C132 97 122.5 97 113 97 C106.5 97 100 97 93.5 97 C91.12 97 87.71 96.39 85.5 97.46 Z" },+ { fill: "#fff3dc", d: "M76 118 C75.28 118.7 72.97 126.95 72.45 128.5 C72.12 129.5 70.97 130.57 71.45 131.5 C71.94 132.43 75.2 132 76 132 C80.5 132 85 132 89.5 132 C108.5 132 127.5 132 146.5 132 C152 132 157.5 132 163 132 C164.65 132 168.04 132.94 168.21 130.5 C168.25 130.02 164.42 118.69 164.21 118.5 C163.17 117.56 149.79 118 147.5 118 C131.5 118 115.5 118 99.5 118 C93.5 118 87.5 118 81.5 118 C80.99 118 76.06 117.94 76 118 Z" },+ { fill: "#3d3d3d", d: "M102.5 86.46 C98.27 88.32 98 91.95 98 96 C98 99.72 98.12 103.49 102 105.32 C104.64 106.57 108.16 106 111 106 C115.81 106 134.81 106.83 138 105.32 C143.72 102.62 143.72 89.38 138 86.68 C134.81 85.17 115.81 86 111 86 C108.41 86 104.93 85.4 102.5 86.46 Z" },+ ],+ },+ chakri: {+ id: "chakri",+ name: "Chakri",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 126, dx: 24, w: 20, h: 38, round: 34, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M111 46.47 C98.86 47.75 87.03 51.64 76.5 57.81 C66.82 63.49 58.28 71.06 51.5 80 C14.9 128.24 38.89 199.11 97.48 215 C107.72 217.78 118.45 218.64 129 217.53 C141.14 216.25 152.97 212.36 163.5 206.19 C173.18 200.51 181.72 192.94 188.5 184 C225.1 135.76 201.11 64.89 142.52 49 C132.28 46.22 121.55 45.36 111 46.47 Z",+ parts: [+ { fill: "#ffc93c", d: "M74 30.45 C70.49 31.64 64.72 37 62 39.72 C51.88 49.87 45.59 62.85 43.61 77 C42.81 82.68 41.74 95.72 48 98.45 C52.15 100.26 56.99 97.42 57.65 93 C58.04 90.36 55.7 83.04 55.4 79.5 C54.75 71.87 56.06 64.16 58.69 57 C61.05 50.58 64.6 44.67 69 39.44 C70.84 37.26 73.16 35.52 75 33.38 C76.08 32.13 76.14 29.72 74 30.45 Z M150.5 33.46 C138.12 34.29 126.42 38.39 116.5 45.91 C111.03 50.06 112.32 59 120 59 C124.16 59 126.63 55.04 129.5 52.61 C134.19 48.64 139.68 45.6 145.5 43.64 C153.7 40.86 162.4 40.01 171 40.99 C172.62 41.18 184.35 43.93 184.5 43.85 C188.58 41.74 178.17 38.02 177 37.57 C168.7 34.37 159.39 32.87 150.5 33.46 Z M187 85.38 C181.77 87.68 180.52 94.47 185.5 97.89 C188.08 99.66 192.92 100.18 195.99 101.5 C202.87 104.47 208.94 108.98 213.99 114.5 C218.86 119.84 222.71 126.24 225.24 133 C225.71 134.24 228.08 143.29 228.31 143.5 C228.74 143.9 229.44 144.2 229.99 144 C231.59 143.4 230.9 140.64 230.84 139.5 C230.55 134.43 229.53 129.32 227.91 124.5 C223.32 110.78 214.55 99.06 202.5 91.03 C199.18 88.81 191.04 83.6 187 85.38 Z M10.5 119.91 C8.34 120.32 9.07 122.57 9.14 124 C9.38 129.07 10.36 134.17 11.91 139 C16.47 153.16 25.72 165.52 38.3 173.5 C42.52 176.18 50.17 181.49 55 177.54 C58.29 174.85 58.61 170.04 55.61 167 C53.12 164.47 48.22 164.22 45 162.93 C38.4 160.29 32.46 156.11 27.5 151.05 C21.93 145.35 17.55 138.46 14.76 131 C14.14 129.35 12.19 121.12 11.69 120.5 C11.42 120.15 10.94 119.83 10.5 119.91 Z M187 165.38 C184.27 166.58 182.27 168.88 182.28 172 C182.3 175.45 184 179.03 184.4 182.5 C185.35 190.59 184.28 198.82 181.5 206.47 C179.01 213.3 175.31 219.7 170.5 225.16 C169.45 226.36 164.6 230.52 164.21 231.5 C163.69 232.82 164.75 233.69 166 233.55 C168.2 233.31 176.11 226.18 178 224.28 C188.58 213.68 195.87 199.08 196.67 184 C196.96 178.59 197.96 168.15 192 165.55 C190.54 164.91 188.5 164.72 187 165.38 Z M117.5 205.46 C114.7 206.69 109.27 212.67 105.65 215 C98.01 219.9 89.04 222.68 80 223.3 C74.5 223.67 68.88 223.28 63.5 222.08 C62.07 221.76 57.07 219.8 56 220.03 C54.77 220.29 54.13 221.41 54.95 222.5 C56.54 224.63 67.12 227.84 70 228.61 C85.91 232.86 103.96 230.48 118 221.84 C120.3 220.42 122.96 218.92 124.9 217 C130 211.92 124.39 202.44 117.5 205.46 Z" },+ { fill: "body", d: "M111 46.47 C98.86 47.75 87.03 51.64 76.5 57.81 C66.82 63.49 58.28 71.06 51.5 80 C14.9 128.24 38.89 199.11 97.48 215 C107.72 217.78 118.45 218.64 129 217.53 C141.14 216.25 152.97 212.36 163.5 206.19 C173.18 200.51 181.72 192.94 188.5 184 C225.1 135.76 201.11 64.89 142.52 49 C132.28 46.22 121.55 45.36 111 46.47 Z" },+ { fill: "#3d3d3d", d: "M151.5 53.91 C149.68 54.3 148.66 56.44 149.83 58 C150.98 59.53 155.66 61.23 157.5 62.31 C161.79 64.82 165.84 67.73 169.58 71 C182.08 81.92 190.92 96.78 194.43 113 C203.28 153.79 177.05 195.2 135.5 202.65 C84.6 211.77 39.51 164.21 55.93 114 C58.35 106.59 62.08 99.6 66.93 93.5 C72.41 86.61 79.25 80.84 87 76.67 C116.65 60.68 154.62 70.66 171.14 100.5 C177.43 111.85 179.88 125.17 177.92 138 C177.3 142.1 176.23 146.13 174.75 150 C174.19 151.45 173.19 153.01 172.81 154.5 C172.19 156.98 174.88 159.06 177 157.29 C180.8 154.11 183.66 135.74 183.77 130.5 C184.39 100.13 162.81 73.06 133.5 65.81 C124.69 63.62 115.46 63.25 106.5 64.67 C97.48 66.1 88.78 69.34 81 74.13 C74.14 78.36 68.02 83.8 63 90.1 C31.87 129.13 49.92 186.89 96 204.13 C156.15 226.64 214.37 169.92 198.83 109 C194.01 90.12 182.41 73.32 166.57 62 C164.36 60.42 153.86 53.41 151.5 53.91 Z" },+ ],+ },+ sparkler: {+ id: "sparkler",+ name: "Sparkler",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 104, dx: 24, w: 21, h: 40, round: 36, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M112.5 46.46 C104.13 47.48 95.94 50.21 88.67 54.5 C41.85 82.12 50.89 153.23 103.5 167.76 C111.29 169.91 119.48 170.52 127.5 169.54 C135.87 168.52 144.06 165.79 151.33 161.5 C198.15 133.88 189.11 62.77 136.5 48.24 C128.71 46.09 120.52 45.48 112.5 46.46 Z",+ parts: [+ { fill: "#8d8d8d", d: "M118 155.97 C116.82 156.76 116.29 157.12 115.76 158.5 C114.8 160.99 115.56 171.69 115.58 175 C115.69 194.5 115.8 214 115.91 233.5 C115.93 236.7 115.32 249.36 116.29 251.5 C117.04 253.14 118.68 254.2 120.5 253.97 C122.15 253.76 123.41 252.57 123.87 251 C124.68 248.25 124.08 235.28 124.1 231.5 C124.21 211.5 124.32 191.5 124.44 171.5 C124.46 167.4 126.07 157.51 121.5 155.76 C120.5 155.38 118.93 155.35 118 155.97 Z" },+ { fill: "#ffc93c", d: "M147.5 0 C146.05 0.87 144.26 7.21 143.57 9 C140.94 15.9 136.25 26.33 134.42 33 C133.53 36.24 135.58 39.61 139 40.05 C142.95 40.55 144.77 37.34 145.31 34 C146.75 25 148.2 16 149.64 7 C149.95 5.1 151.62 0.75 149 -0.18 C148.53 -0.35 147.93 -0.26 147.5 0 Z M94.5 13.38 C92.16 14.23 93.48 18.71 93.64 20.5 C93.94 23.84 94.18 34.58 95.39 37 C96.66 39.55 99.86 40.85 102.5 39.64 C104.51 38.73 105.89 36.74 105.83 34.5 C105.76 31.79 100.69 22.52 99.29 19.5 C98.53 17.87 97.1 12.44 94.5 13.38 Z M41.5 28.35 C40.38 28.74 39.99 29.99 40.38 31 C41.12 32.94 46.85 39.07 48.5 41.09 C51.67 44.99 59.38 55.53 62.5 58.27 C64.68 60.19 67.81 60.25 70 58.29 C72.05 56.45 72.31 53.19 70.69 51 C68.79 48.44 54.22 37.41 50.64 34.5 C49.04 33.21 43.34 27.71 41.5 28.35 Z M187 38.33 C184.94 39.36 171.17 48.97 169.73 50.5 C167.74 52.61 167.81 55.87 169.71 58 C171.53 60.03 174.83 60.34 177 58.69 C179.44 56.83 183.98 49.1 186 46.23 C187.07 44.7 189.49 42.34 189.84 40.5 C190.15 38.9 188.41 37.61 187 38.33 Z M223.5 77.96 C214 79.48 204.5 81.01 195 82.53 C191.31 83.13 186.95 84.74 188.04 89.5 C188.69 92.38 191.59 94.32 194.5 93.72 C198.75 92.85 213.38 86.57 218.5 84.62 C220.15 83.99 226.55 82.04 227.5 81.09 C227.91 80.67 228.24 80.09 228.25 79.5 C228.28 76.78 224.99 77.72 223.5 77.96 Z M26.5 81.31 C24.17 82.43 25.59 84.32 27 85.2 C29.32 86.65 44.47 93.77 46.5 93.83 C48.74 93.89 50.73 92.5 51.64 90.5 C52.78 88.01 51.68 84.74 49.21 83.5 C46.33 82.05 37.59 82.09 34 81.77 C32.52 81.64 27.68 80.74 26.5 81.31 Z M45 122.42 C42.46 123.12 39.96 124.34 37.5 125.28 C31.5 127.57 25.5 129.86 19.5 132.15 C17.81 132.79 10.94 134.51 11.82 137 C12.81 139.78 18.45 137.73 20.5 137.4 C24.9 136.69 46.6 133.83 49 132.61 C54.91 129.6 51.29 120.7 45 122.42 Z M192 122.35 C187.44 123.62 186.34 130.26 190.79 132.5 C193.45 133.84 203.95 134.05 207.5 134.36 C209 134.49 212.11 135.36 213.5 134.69 C215.83 133.57 214.41 131.68 213 130.8 C210.51 129.24 197.79 123.33 195 122.43 C194.01 122.12 193.01 122.08 192 122.35 Z M65 156.39 C61.08 157.74 54.77 168.67 52.09 172.5 C51.16 173.81 48.32 177.47 52 177.88 C53.42 178.04 55.47 175.94 56.5 175.21 C59.62 173.02 70.36 166.61 71.47 163.5 C72.79 159.79 69.07 154.98 65 156.39 Z M172.5 156.38 C168.57 157.72 166.8 162.16 169.73 165.5 C172.49 168.64 185.23 178.14 189.36 181.5 C190.96 182.79 196.66 188.29 198.5 187.65 C202.13 186.38 196.6 181.18 195.5 179.82 C190.5 173.68 185.5 167.53 180.5 161.38 C178.6 159.04 176.17 155.13 172.5 156.38 Z M99.5 175.97 C95.51 176.61 94.98 180.2 94.45 183.5 C93.25 191 92.04 198.5 90.84 206 C90.49 208.17 88.38 215.25 91 216.18 C93.52 217.07 95.2 210.22 95.85 208.5 C98.14 202.5 100.43 196.5 102.72 190.5 C103.66 188.04 104.88 185.54 105.58 183 C106.62 179.22 103.52 175.33 99.5 175.97 Z M139 175.95 C136.26 176.26 134.1 178.75 134.17 181.5 C134.25 184.35 139.9 194.76 141.41 198 C142.1 199.48 143.1 203.49 145.5 202.62 C147.84 201.77 146.52 197.29 146.36 195.5 C146.06 192.16 145.82 181.42 144.61 179 C143.57 176.9 141.32 175.69 139 175.95 Z" },+ { fill: "#ffc93c", d: "M28 21.4 C26.98 21.73 26.13 29.17 25.16 30.5 C23.82 32.35 16.86 32.6 16.5 33.28 C15.35 35.45 23.22 35.91 24.5 36.84 C26.35 38.18 26.6 45.14 27.28 45.5 C29.45 46.65 29.91 38.78 30.84 37.5 C32.18 35.65 39.14 35.4 39.5 34.72 C40.75 32.35 31.89 32.57 30.54 30 C29.05 27.18 29.25 21 28 21.4 Z M214 47.4 C212.36 48.56 212.92 53.31 211.55 55 C210.23 56.63 204.14 56.93 204 57.4 C203.47 59.25 209.92 59.58 211 60.45 C212.63 61.77 212.93 67.86 213.4 68 C215.25 68.53 215.58 62.08 216.45 61 C217.77 59.37 223.86 59.07 224 58.6 C224.53 56.75 218.08 56.42 217 55.55 C214.88 53.83 215.6 50.27 214.6 48 C214.49 47.74 214.23 47.24 214 47.4 Z M36 160.4 C34.09 161.75 35.38 166.17 33 167.91 C31.7 168.86 27.13 168.95 27 169.4 C26.48 171.21 32.67 171.3 33.91 173 C34.86 174.3 34.95 178.87 35.4 179 C37.23 179.53 37.36 174.39 37.84 173.5 C39.09 171.14 44.92 170.87 45 170.6 C45.52 168.79 39.33 168.7 38.09 167 C36.9 165.37 37.38 162.79 36.6 161 C36.49 160.74 36.23 160.24 36 160.4 Z" },+ { fill: "body", d: "M112.5 46.46 C104.13 47.48 95.94 50.21 88.67 54.5 C41.85 82.12 50.89 153.23 103.5 167.76 C111.29 169.91 119.48 170.52 127.5 169.54 C135.87 168.52 144.06 165.79 151.33 161.5 C198.15 133.88 189.11 62.77 136.5 48.24 C128.71 46.09 120.52 45.48 112.5 46.46 Z" },+ ],+ },+ bomb: {+ id: "bomb",+ name: "Bomb",+ paint: "bot",+ bone: null,+ eyes: {cx: 120, cy: 150, dx: 34, w: 26, h: 50, round: 44, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M111 62.47 C98.86 63.75 87.03 67.64 76.5 73.81 C66.82 79.49 58.28 87.06 51.5 96 C14.9 144.24 38.89 215.11 97.48 231 C107.72 233.78 118.45 234.64 129 233.53 C141.14 232.25 152.97 228.36 163.5 222.19 C173.18 216.51 181.72 208.94 188.5 200 C225.1 151.76 201.11 80.89 142.52 65 C132.28 62.22 121.55 61.36 111 62.47 Z",+ parts: [+ { fill: "#b08a5a", d: "M190.5 14.84 C188.2 16.26 186.69 22.31 182.29 25.5 C171.79 33.11 159.94 29.76 151.1 43.5 C149.19 46.48 145.5 52.25 149 55.35 C154.69 60.39 156.89 50.92 158.67 48 C159.93 45.93 161.56 44.17 163.5 42.73 C171.81 36.57 182.48 36.65 189.94 28.5 C192.23 26 195.04 21.96 195.46 18.5 C195.77 16.02 192.92 13.34 190.5 14.84 Z" },+ { fill: "#3d3d3d", d: "M132.5 40.29 C129.8 41.52 123.5 56.05 121.78 59.5 C120.88 61.29 119.34 63.4 120.29 65.5 C121.29 67.69 124.01 68.48 126 69.47 C131 71.97 136 74.47 141 76.97 C144.05 78.5 154.65 85 157.5 83.71 C160.2 82.48 166.5 67.95 168.22 64.5 C169.12 62.71 170.66 60.6 169.71 58.5 C168.71 56.31 165.99 55.52 164 54.53 C159 52.03 154 49.53 149 47.03 C145.95 45.5 135.35 39 132.5 40.29 Z" },+ { fill: "body", d: "M111 62.47 C98.86 63.75 87.03 67.64 76.5 73.81 C66.82 79.49 58.28 87.06 51.5 96 C14.9 144.24 38.89 215.11 97.48 231 C107.72 233.78 118.45 234.64 129 233.53 C141.14 232.25 152.97 228.36 163.5 222.19 C173.18 216.51 181.72 208.94 188.5 200 C225.1 151.76 201.11 80.89 142.52 65 C132.28 62.22 121.55 61.36 111 62.47 Z" },+ { fill: "#ffc93c", d: "M196 -6.6 C194.72 -6.19 193.32 5.23 192 7 C190.4 9.13 184.13 9.89 181.5 10.54 C180.5 10.78 178.97 10.36 178.5 11.28 C177.22 13.76 189.33 14.75 191 16 C193.13 17.6 193.89 23.87 194.54 26.5 C194.78 27.5 194.36 29.03 195.28 29.5 C197.76 30.78 198.75 18.67 200 17 C201.6 14.87 207.87 14.11 210.5 13.46 C211.5 13.22 213.03 13.64 213.5 12.72 C214.49 10.8 210.78 10.61 210 10.41 C207 9.67 201.4 9.44 199.75 6.5 C198.53 4.35 197.74 -1.36 197.09 -4 C196.82 -5.13 196.52 -6.76 196 -6.6 Z" },+ { fill: "#fff3c4", d: "M194 6.34 C185.67 9.82 192 21.46 199 17.19 C204.97 13.56 200.6 3.59 194 6.34 Z" },+ ],+ },+ laddu: {+ id: "laddu",+ name: "Laddu",+ paint: "bone",+ bone: "#f6a420",+ eyes: {cx: 120, cy: 138, dx: 34, w: 26, h: 50, round: 44, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M118 44.82 C114.73 46.19 114.06 49.72 112 50.32 C109.4 51.07 107.36 44.78 102 46.23 C97.16 47.54 98.12 52.8 95 53.5 C92.77 54 90.49 49.4 86 50.78 C80.4 52.5 82.43 58.49 79.68 59.5 C77.1 60.45 74.63 56.47 70.5 58.39 C64.71 61.09 68.32 65.69 66 67.95 C63.86 70.04 59.56 65.76 55.58 69.5 C51.81 73.05 55.55 78.07 53 79.77 C50.36 81.53 46.21 77.52 43.14 83.5 C41.36 86.98 44.7 90.79 43.54 92.5 C41.61 95.36 34.86 92.17 33.88 99.5 C33.47 102.66 36.59 104.71 36.2 107 C35.76 109.56 30.29 109.18 28.5 112.92 C25.79 118.57 31.55 119.99 31.56 123 C31.57 125.72 25.92 126.11 25.01 130.5 C23.79 136.37 29.98 136.93 29.99 140 C30.01 142.91 24.23 143.49 24.93 149 C25.6 154.32 29.84 153.19 31.35 156 C32.58 158.3 26.85 161.35 28.11 166 C29.6 171.53 34.04 169.54 35.78 172 C37.53 174.47 32.16 177.91 34.48 182.5 C36.96 187.41 42.48 184.84 43.75 188 C44.38 189.58 41.85 192.6 42.75 195.5 C45.02 202.81 51.48 198.16 53.5 200.68 C54.97 202.51 52.93 205.91 54.14 208.5 C57.26 215.16 62.61 210.56 65 211.44 C68.44 212.71 64.59 219.43 71 221.8 C74.53 223.11 78.1 219.43 80 220.65 C82.91 222.51 80.14 227.96 86.5 229.35 C90.35 230.19 93.62 225.72 95.5 226.62 C98.57 228.09 97.03 232.87 102.5 233.88 C107.85 234.87 107.96 230.39 111 229.66 C114.12 228.92 115.05 236.9 121.5 235.32 C125 234.47 126.5 229.11 129 229.66 C131.94 230.32 132.17 234.87 137.5 233.88 C142.95 232.88 142.19 226.21 145.5 226.49 C148.56 226.74 149.49 231.07 154.5 229.05 C159.76 226.93 157.34 223.11 159.5 221.01 C161.48 219.1 165.4 222.8 168.5 221.96 C175.59 220.04 171.5 213.57 174.5 211.67 C177.08 210.03 180.79 214.73 184.89 210 C187.99 206.42 184.79 203.31 186.25 201 C187.8 198.53 192.98 201.74 196.25 197.5 C199.37 193.45 194.8 188.99 196.84 187 C199.21 184.68 202.93 187.6 205.5 182.54 C207.85 177.91 202.48 174.47 204.22 172 C206.03 169.44 211.41 171.42 212.07 165 C212.47 161.15 207.52 158.17 208.65 156 C210.12 153.18 215.81 153.89 215.08 147.5 C214.63 143.5 210.02 142.44 210.01 140 C210 137.61 214.63 136.47 215.08 132.5 C215.81 126.12 210.18 126.85 208.65 124 C207.42 121.7 213.15 118.65 211.89 114 C210.4 108.47 205.96 110.46 204.22 108 C202.47 105.53 207.84 102.09 205.52 97.5 C203.04 92.59 197.52 95.16 196.25 92 C195.26 89.53 200.17 86.01 195.5 81.66 C192.49 78.85 187.92 81.1 186.5 79.32 C184.77 77.17 187.83 73.6 185 70.13 C181 65.24 175.66 70.47 173.63 67.5 C171.98 65.09 175.31 60.53 169 58.2 C165.47 56.89 161.9 60.57 160 59.35 C157.95 58.04 158.79 54.22 156.5 52.18 C150.9 47.2 147.12 54.63 144.5 53.38 C142.27 52.31 142.37 49.11 140.5 47.51 C134.76 42.58 131.49 49.75 129 50.34 C125.88 51.08 124.32 42.16 118 44.82 Z",+ parts: [+ { fill: "body", d: "M118 44.82 C114.73 46.19 114.06 49.72 112 50.32 C109.4 51.07 107.36 44.78 102 46.23 C97.16 47.54 98.12 52.8 95 53.5 C92.77 54 90.49 49.4 86 50.78 C80.4 52.5 82.43 58.49 79.68 59.5 C77.1 60.45 74.63 56.47 70.5 58.39 C64.71 61.09 68.32 65.69 66 67.95 C63.86 70.04 59.56 65.76 55.58 69.5 C51.81 73.05 55.55 78.07 53 79.77 C50.36 81.53 46.21 77.52 43.14 83.5 C41.36 86.98 44.7 90.79 43.54 92.5 C41.61 95.36 34.86 92.17 33.88 99.5 C33.47 102.66 36.59 104.71 36.2 107 C35.76 109.56 30.29 109.18 28.5 112.92 C25.79 118.57 31.55 119.99 31.56 123 C31.57 125.72 25.92 126.11 25.01 130.5 C23.79 136.37 29.98 136.93 29.99 140 C30.01 142.91 24.23 143.49 24.93 149 C25.6 154.32 29.84 153.19 31.35 156 C32.58 158.3 26.85 161.35 28.11 166 C29.6 171.53 34.04 169.54 35.78 172 C37.53 174.47 32.16 177.91 34.48 182.5 C36.96 187.41 42.48 184.84 43.75 188 C44.38 189.58 41.85 192.6 42.75 195.5 C45.02 202.81 51.48 198.16 53.5 200.68 C54.97 202.51 52.93 205.91 54.14 208.5 C57.26 215.16 62.61 210.56 65 211.44 C68.44 212.71 64.59 219.43 71 221.8 C74.53 223.11 78.1 219.43 80 220.65 C82.91 222.51 80.14 227.96 86.5 229.35 C90.35 230.19 93.62 225.72 95.5 226.62 C98.57 228.09 97.03 232.87 102.5 233.88 C107.85 234.87 107.96 230.39 111 229.66 C114.12 228.92 115.05 236.9 121.5 235.32 C125 234.47 126.5 229.11 129 229.66 C131.94 230.32 132.17 234.87 137.5 233.88 C142.95 232.88 142.19 226.21 145.5 226.49 C148.56 226.74 149.49 231.07 154.5 229.05 C159.76 226.93 157.34 223.11 159.5 221.01 C161.48 219.1 165.4 222.8 168.5 221.96 C175.59 220.04 171.5 213.57 174.5 211.67 C177.08 210.03 180.79 214.73 184.89 210 C187.99 206.42 184.79 203.31 186.25 201 C187.8 198.53 192.98 201.74 196.25 197.5 C199.37 193.45 194.8 188.99 196.84 187 C199.21 184.68 202.93 187.6 205.5 182.54 C207.85 177.91 202.48 174.47 204.22 172 C206.03 169.44 211.41 171.42 212.07 165 C212.47 161.15 207.52 158.17 208.65 156 C210.12 153.18 215.81 153.89 215.08 147.5 C214.63 143.5 210.02 142.44 210.01 140 C210 137.61 214.63 136.47 215.08 132.5 C215.81 126.12 210.18 126.85 208.65 124 C207.42 121.7 213.15 118.65 211.89 114 C210.4 108.47 205.96 110.46 204.22 108 C202.47 105.53 207.84 102.09 205.52 97.5 C203.04 92.59 197.52 95.16 196.25 92 C195.26 89.53 200.17 86.01 195.5 81.66 C192.49 78.85 187.92 81.1 186.5 79.32 C184.77 77.17 187.83 73.6 185 70.13 C181 65.24 175.66 70.47 173.63 67.5 C171.98 65.09 175.31 60.53 169 58.2 C165.47 56.89 161.9 60.57 160 59.35 C157.95 58.04 158.79 54.22 156.5 52.18 C150.9 47.2 147.12 54.63 144.5 53.38 C142.27 52.31 142.37 49.11 140.5 47.51 C134.76 42.58 131.49 49.75 129 50.34 C125.88 51.08 124.32 42.16 118 44.82 Z" },+ { fill: "#ffc560", d: "M105.5 58.92 C100.23 60.32 102.29 68.46 107.5 67.08 C112.77 65.68 110.71 57.54 105.5 58.92 Z M125.5 58.92 C120.23 60.32 122.29 68.46 127.5 67.08 C132.77 65.68 130.71 57.54 125.5 58.92 Z M79 71.92 C73.73 73.32 75.79 81.46 81 80.08 C86.27 78.68 84.21 70.54 79 71.92 Z M99 71.92 C93.73 73.32 95.79 81.46 101 80.08 C106.27 78.68 104.21 70.54 99 71.92 Z M114 71.92 C108.73 73.32 110.79 81.46 116 80.08 C121.27 78.68 119.21 70.54 114 71.92 Z M134 71.92 C128.73 73.32 130.79 81.46 136 80.08 C141.27 78.68 139.21 70.54 134 71.92 Z M149 71.92 C143.73 73.32 145.79 81.46 151 80.08 C156.27 78.68 154.21 70.54 149 71.92 Z M54.5 84.92 C49.23 86.32 51.29 94.46 56.5 93.08 C61.77 91.68 59.71 83.54 54.5 84.92 Z M74.5 84.92 C69.23 86.32 71.29 94.46 76.5 93.08 C81.77 91.68 79.71 83.54 74.5 84.92 Z M89.5 84.92 C84.23 86.32 86.29 94.46 91.5 93.08 C96.77 91.68 94.71 83.54 89.5 84.92 Z M104.5 84.92 C99.23 86.32 101.29 94.46 106.5 93.08 C111.77 91.68 109.71 83.54 104.5 84.92 Z M124.5 84.92 C119.23 86.32 121.29 94.46 126.5 93.08 C131.77 91.68 129.71 83.54 124.5 84.92 Z M139.5 84.92 C134.23 86.32 136.29 94.46 141.5 93.08 C146.77 91.68 144.71 83.54 139.5 84.92 Z M159.5 89.92 C154.23 91.32 156.29 99.46 161.5 98.08 C166.77 96.68 164.71 88.54 159.5 89.92 Z M174.5 89.92 C169.23 91.32 171.29 99.46 176.5 98.08 C181.77 96.68 179.71 88.54 174.5 89.92 Z M48 102.92 C42.73 104.32 44.79 112.46 50 111.08 C55.27 109.68 53.21 101.54 48 102.92 Z M63 102.92 C57.73 104.32 59.79 112.46 65 111.08 C70.27 109.68 68.21 101.54 63 102.92 Z M83 102.92 C77.73 104.32 79.79 112.46 85 111.08 C90.27 109.68 88.21 101.54 83 102.92 Z M98 102.92 C92.73 104.32 94.79 112.46 100 111.08 C105.27 109.68 103.21 101.54 98 102.92 Z M113 102.92 C107.73 104.32 109.79 112.46 115 111.08 C120.27 109.68 118.21 101.54 113 102.92 Z M133 102.92 C127.73 104.32 129.79 112.46 135 111.08 C140.27 109.68 138.21 101.54 133 102.92 Z M148 107.92 C142.73 109.32 144.79 117.46 150 116.08 C155.27 114.68 153.21 106.54 148 107.92 Z M168 107.92 C162.73 109.32 164.79 117.46 170 116.08 C175.27 114.68 173.21 106.54 168 107.92 Z M183 107.92 C177.73 109.32 179.79 117.46 185 116.08 C190.27 114.68 188.21 106.54 183 107.92 Z M38.5 115.92 C33.23 117.32 35.29 125.46 40.5 124.08 C45.77 122.68 43.71 114.54 38.5 115.92 Z M53.5 115.92 C48.23 117.32 50.29 125.46 55.5 124.08 C60.77 122.68 58.71 114.54 53.5 115.92 Z M73.5 115.92 C68.23 117.32 70.29 125.46 75.5 124.08 C80.77 122.68 78.71 114.54 73.5 115.92 Z M88.5 115.92 C83.23 117.32 85.29 125.46 90.5 124.08 C95.77 122.68 93.71 114.54 88.5 115.92 Z M108.5 115.92 C103.23 117.32 105.29 125.46 110.5 124.08 C115.77 122.68 113.71 114.54 108.5 115.92 Z M123.5 115.92 C118.23 117.32 120.29 125.46 125.5 124.08 C130.77 122.68 128.71 114.54 123.5 115.92 Z M138.5 120.92 C133.23 122.32 135.29 130.46 140.5 129.08 C145.77 127.68 143.71 119.54 138.5 120.92 Z M158.5 120.92 C153.23 122.32 155.29 130.46 160.5 129.08 C165.77 127.68 163.71 119.54 158.5 120.92 Z M178.5 120.92 C173.23 122.32 175.29 130.46 180.5 129.08 C185.77 127.68 183.71 119.54 178.5 120.92 Z M193.5 120.92 C188.23 122.32 190.29 130.46 195.5 129.08 C200.77 127.68 198.71 119.54 193.5 120.92 Z M47 133.92 C41.73 135.32 43.79 143.46 49 142.08 C54.27 140.68 52.21 132.54 47 133.92 Z M62 133.92 C56.73 135.32 58.79 143.46 64 142.08 C69.27 140.68 67.21 132.54 62 133.92 Z M82 133.92 C76.73 135.32 78.79 143.46 84 142.08 C89.27 140.68 87.21 132.54 82 133.92 Z M97 133.92 C91.73 135.32 93.79 143.46 99 142.08 C104.27 140.68 102.21 132.54 97 133.92 Z M117 133.92 C111.73 135.32 113.79 143.46 119 142.08 C124.27 140.68 122.21 132.54 117 133.92 Z M137 133.92 C131.73 135.32 133.79 143.46 139 142.08 C144.27 140.68 142.21 132.54 137 133.92 Z M152 133.92 C146.73 135.32 148.79 143.46 154 142.08 C159.27 140.68 157.21 132.54 152 133.92 Z M172 133.92 C166.73 135.32 168.79 143.46 174 142.08 C179.27 140.68 177.21 132.54 172 133.92 Z M187 133.92 C181.73 135.32 183.79 143.46 189 142.08 C194.27 140.68 192.21 132.54 187 133.92 Z M37.5 146.92 C32.23 148.32 34.29 156.46 39.5 155.08 C44.77 153.68 42.71 145.54 37.5 146.92 Z M57.5 146.92 C52.23 148.32 54.29 156.46 59.5 155.08 C64.77 153.68 62.71 145.54 57.5 146.92 Z M72.5 146.92 C67.23 148.32 69.29 156.46 74.5 155.08 C79.77 153.68 77.71 145.54 72.5 146.92 Z M92.5 146.92 C87.23 148.32 89.29 156.46 94.5 155.08 C99.77 153.68 97.71 145.54 92.5 146.92 Z M112.5 146.92 C107.23 148.32 109.29 156.46 114.5 155.08 C119.77 153.68 117.71 145.54 112.5 146.92 Z M127.5 151.92 C122.23 153.32 124.29 161.46 129.5 160.08 C134.77 158.68 132.71 150.54 127.5 151.92 Z M142.5 151.92 C137.23 153.32 139.29 161.46 144.5 160.08 C149.77 158.68 147.71 150.54 142.5 151.92 Z M162.5 151.92 C157.23 153.32 159.29 161.46 164.5 160.08 C169.77 158.68 167.71 150.54 162.5 151.92 Z M177.5 151.92 C172.23 153.32 174.29 161.46 179.5 160.08 C184.77 158.68 182.71 150.54 177.5 151.92 Z M197.5 151.92 C192.23 153.32 194.29 161.46 199.5 160.08 C204.77 158.68 202.71 150.54 197.5 151.92 Z M51 159.92 C45.73 161.32 47.79 169.46 53 168.08 C58.27 166.68 56.21 158.54 51 159.92 Z M66 159.92 C60.73 161.32 62.79 169.46 68 168.08 C73.27 166.68 71.21 158.54 66 159.92 Z M86 159.92 C80.73 161.32 82.79 169.46 88 168.08 C93.27 166.68 91.21 158.54 86 159.92 Z M101 164.92 C95.73 166.32 97.79 174.46 103 173.08 C108.27 171.68 106.21 163.54 101 164.92 Z M121 164.92 C115.73 166.32 117.79 174.46 123 173.08 C128.27 171.68 126.21 163.54 121 164.92 Z M136 164.92 C130.73 166.32 132.79 174.46 138 173.08 C143.27 171.68 141.21 163.54 136 164.92 Z M151 164.92 C145.73 166.32 147.79 174.46 153 173.08 C158.27 171.68 156.21 163.54 151 164.92 Z M171 164.92 C165.73 166.32 167.79 174.46 173 173.08 C178.27 171.68 176.21 163.54 171 164.92 Z M186 164.92 C180.73 166.32 182.79 174.46 188 173.08 C193.27 171.68 191.21 163.54 186 164.92 Z M61.5 177.92 C56.23 179.32 58.29 187.46 63.5 186.08 C68.77 184.68 66.71 176.54 61.5 177.92 Z M76.5 177.92 C71.23 179.32 73.29 187.46 78.5 186.08 C83.77 184.68 81.71 176.54 76.5 177.92 Z M91.5 177.92 C86.23 179.32 88.29 187.46 93.5 186.08 C98.77 184.68 96.71 176.54 91.5 177.92 Z M111.5 182.92 C106.23 184.32 108.29 192.46 113.5 191.08 C118.77 189.68 116.71 181.54 111.5 182.92 Z M126.5 182.92 C121.23 184.32 123.29 192.46 128.5 191.08 C133.77 189.68 131.71 181.54 126.5 182.92 Z M146.5 182.92 C141.23 184.32 143.29 192.46 148.5 191.08 C153.77 189.68 151.71 181.54 146.5 182.92 Z M161.5 182.92 C156.23 184.32 158.29 192.46 163.5 191.08 C168.77 189.68 166.71 181.54 161.5 182.92 Z M176.5 182.92 C171.23 184.32 173.29 192.46 178.5 191.08 C183.77 189.68 181.71 181.54 176.5 182.92 Z M85 195.92 C79.73 197.32 81.79 205.46 87 204.08 C92.27 202.68 90.21 194.54 85 195.92 Z M100 195.92 C94.73 197.32 96.79 205.46 102 204.08 C107.27 202.68 105.21 194.54 100 195.92 Z M120 195.92 C114.73 197.32 116.79 205.46 122 204.08 C127.27 202.68 125.21 194.54 120 195.92 Z M135 195.92 C129.73 197.32 131.79 205.46 137 204.08 C142.27 202.68 140.21 194.54 135 195.92 Z M155 195.92 C149.73 197.32 151.79 205.46 157 204.08 C162.27 202.68 160.21 194.54 155 195.92 Z M110.5 208.92 C105.23 210.32 107.29 218.46 112.5 217.08 C117.77 215.68 115.71 207.54 110.5 208.92 Z M125.5 208.92 C120.23 210.32 122.29 218.46 127.5 217.08 C132.77 215.68 130.71 207.54 125.5 208.92 Z" },+ ],+ },+ chakli: {+ id: "chakli",+ name: "Chakli",+ paint: "bone",+ bone: "#cf8f45",+ eyes: {cx: 120, cy: 128, dx: 30, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M110.5 42.49 C108.7 42.68 106.15 42.62 104.53 43.5 C101.84 44.96 101.77 47.78 98 48.22 C92.47 48.87 93.76 44.31 84.5 49.13 C81.79 50.53 81.81 53.93 79.12 55.5 C76.05 57.29 72.97 55.04 70 56.77 C60.87 62.1 65.76 62.65 62.04 67 C59.43 70.05 55.7 68.43 53 70.95 C51.59 72.27 49.26 74.49 48.5 76.31 C47.41 78.9 49 81.48 47 83.95 C43.57 88.21 42.2 84.22 38.41 91.5 C38.26 91.77 37.02 94.19 36.93 94.5 C35.97 97.64 38.9 100.01 36.84 103.5 C35.29 106.11 32.27 106.46 31.32 109.5 C30.68 111.55 29.38 114.86 30.04 117 C30.73 119.2 32.36 120.49 32.18 123 C31.95 126.21 29 127.23 28.15 130 C28.03 130.42 28.01 132.57 28.01 133 C27.9 142.82 31.77 139.38 32.18 145 C32.39 147.92 29.75 149.72 29.89 152.5 C30 154.55 30.77 158.25 31.86 160 C33.44 162.54 36.54 162.71 37.45 166 C38.08 168.27 36.85 169.84 36.73 172 C36.6 174.3 38.75 177.58 40 179.43 C42.04 182.46 46.2 181.67 47.83 185.5 C50.04 190.69 45.57 190.06 52.96 197 C55.65 199.53 59.41 197.93 62 200.95 C65.3 204.81 61.28 205.3 68 209.89 C68.36 210.14 70.57 211.64 71 211.81 C73.45 212.78 75.93 211.03 78.5 212.18 C81.46 213.51 81.28 216.49 83.5 218.31 C85.11 219.64 88.94 220.99 91 221.27 C93.66 221.63 95.68 219.29 98.5 219.86 C102.43 220.64 102.82 224.47 107 225.08 C108.79 225.34 111.2 225.98 113 225.65 C115.87 225.11 117.22 222.26 120.5 222.52 C124.44 222.83 124.8 226 129.5 225.51 C131.3 225.32 133.85 225.38 135.47 224.5 C138.16 223.04 138.23 220.22 142 219.78 C147.53 219.13 146.24 223.69 155.5 218.87 C158.21 217.47 158.19 214.07 160.88 212.5 C163.95 210.71 167.03 212.96 170 211.23 C179.13 205.9 174.24 205.35 177.96 201 C180.57 197.95 184.3 199.57 187 197.05 C188.41 195.73 190.74 193.51 191.5 191.69 C192.59 189.1 191 186.52 193 184.05 C196.43 179.79 197.8 183.78 201.59 176.5 C201.74 176.23 202.98 173.81 203.07 173.5 C204.03 170.36 201.1 167.99 203.16 164.5 C204.71 161.89 207.73 161.54 208.68 158.5 C209.32 156.45 210.62 153.14 209.96 151 C209.27 148.8 207.64 147.51 207.82 145 C208.05 141.79 211 140.77 211.85 138 C211.97 137.58 211.99 135.43 211.99 135 C212.1 125.18 208.23 128.62 207.82 123 C207.61 120.08 210.25 118.28 210.11 115.5 C210 113.45 209.23 109.75 208.14 108 C206.56 105.46 203.46 105.29 202.55 102 C201.92 99.73 203.15 98.16 203.27 96 C203.4 93.7 201.25 90.42 200 88.57 C197.96 85.54 193.8 86.33 192.17 82.5 C189.96 77.31 194.43 77.94 187.04 71 C184.35 68.47 180.59 70.07 178 67.05 C174.7 63.19 178.72 62.7 172 58.11 C171.64 57.86 169.43 56.36 169 56.19 C166.55 55.22 164.07 56.97 161.5 55.82 C158.54 54.49 158.72 51.51 156.5 49.69 C154.89 48.36 151.06 47.01 149 46.73 C146.34 46.37 144.32 48.71 141.5 48.14 C137.57 47.36 137.18 43.53 133 42.92 C131.21 42.66 128.8 42.02 127 42.35 C124.13 42.89 122.78 45.74 119.5 45.48 C115.56 45.17 115.2 42 110.5 42.49 Z",+ parts: [+ { fill: "body", d: "M110.5 42.49 C108.7 42.68 106.15 42.62 104.53 43.5 C101.84 44.96 101.77 47.78 98 48.22 C92.47 48.87 93.76 44.31 84.5 49.13 C81.79 50.53 81.81 53.93 79.12 55.5 C76.05 57.29 72.97 55.04 70 56.77 C60.87 62.1 65.76 62.65 62.04 67 C59.43 70.05 55.7 68.43 53 70.95 C51.59 72.27 49.26 74.49 48.5 76.31 C47.41 78.9 49 81.48 47 83.95 C43.57 88.21 42.2 84.22 38.41 91.5 C38.26 91.77 37.02 94.19 36.93 94.5 C35.97 97.64 38.9 100.01 36.84 103.5 C35.29 106.11 32.27 106.46 31.32 109.5 C30.68 111.55 29.38 114.86 30.04 117 C30.73 119.2 32.36 120.49 32.18 123 C31.95 126.21 29 127.23 28.15 130 C28.03 130.42 28.01 132.57 28.01 133 C27.9 142.82 31.77 139.38 32.18 145 C32.39 147.92 29.75 149.72 29.89 152.5 C30 154.55 30.77 158.25 31.86 160 C33.44 162.54 36.54 162.71 37.45 166 C38.08 168.27 36.85 169.84 36.73 172 C36.6 174.3 38.75 177.58 40 179.43 C42.04 182.46 46.2 181.67 47.83 185.5 C50.04 190.69 45.57 190.06 52.96 197 C55.65 199.53 59.41 197.93 62 200.95 C65.3 204.81 61.28 205.3 68 209.89 C68.36 210.14 70.57 211.64 71 211.81 C73.45 212.78 75.93 211.03 78.5 212.18 C81.46 213.51 81.28 216.49 83.5 218.31 C85.11 219.64 88.94 220.99 91 221.27 C93.66 221.63 95.68 219.29 98.5 219.86 C102.43 220.64 102.82 224.47 107 225.08 C108.79 225.34 111.2 225.98 113 225.65 C115.87 225.11 117.22 222.26 120.5 222.52 C124.44 222.83 124.8 226 129.5 225.51 C131.3 225.32 133.85 225.38 135.47 224.5 C138.16 223.04 138.23 220.22 142 219.78 C147.53 219.13 146.24 223.69 155.5 218.87 C158.21 217.47 158.19 214.07 160.88 212.5 C163.95 210.71 167.03 212.96 170 211.23 C179.13 205.9 174.24 205.35 177.96 201 C180.57 197.95 184.3 199.57 187 197.05 C188.41 195.73 190.74 193.51 191.5 191.69 C192.59 189.1 191 186.52 193 184.05 C196.43 179.79 197.8 183.78 201.59 176.5 C201.74 176.23 202.98 173.81 203.07 173.5 C204.03 170.36 201.1 167.99 203.16 164.5 C204.71 161.89 207.73 161.54 208.68 158.5 C209.32 156.45 210.62 153.14 209.96 151 C209.27 148.8 207.64 147.51 207.82 145 C208.05 141.79 211 140.77 211.85 138 C211.97 137.58 211.99 135.43 211.99 135 C212.1 125.18 208.23 128.62 207.82 123 C207.61 120.08 210.25 118.28 210.11 115.5 C210 113.45 209.23 109.75 208.14 108 C206.56 105.46 203.46 105.29 202.55 102 C201.92 99.73 203.15 98.16 203.27 96 C203.4 93.7 201.25 90.42 200 88.57 C197.96 85.54 193.8 86.33 192.17 82.5 C189.96 77.31 194.43 77.94 187.04 71 C184.35 68.47 180.59 70.07 178 67.05 C174.7 63.19 178.72 62.7 172 58.11 C171.64 57.86 169.43 56.36 169 56.19 C166.55 55.22 164.07 56.97 161.5 55.82 C158.54 54.49 158.72 51.51 156.5 49.69 C154.89 48.36 151.06 47.01 149 46.73 C146.34 46.37 144.32 48.71 141.5 48.14 C137.57 47.36 137.18 43.53 133 42.92 C131.21 42.66 128.8 42.02 127 42.35 C124.13 42.89 122.78 45.74 119.5 45.48 C115.56 45.17 115.2 42 110.5 42.49 Z" },+ { fill: "#a8692b", d: "M93.5 50.95 C84.2 53.05 69.54 63.76 62.74 70.5 C23.83 109.08 31.36 176.49 81.5 201.68 C89.47 205.68 98.14 208.3 107 209.35 C116.52 210.48 126.24 209.8 135.5 207.31 C164.66 199.48 186.95 173.78 189.33 143.5 C192.65 101.31 156.21 64.42 113.5 71.68 C89.04 75.83 68.66 94.93 64.09 119.5 C57.81 153.24 83.71 186.58 119 184.46 C137.57 183.34 154.61 171.52 161.28 154 C170.67 129.3 156.23 100 129 96.42 C115.86 94.69 102.28 100.11 94.53 111 C83.78 126.11 87.67 149.25 105.5 157.09 C114.39 161.01 125.16 159.7 132.37 153 C134.18 151.32 138.65 146.12 137.56 143.5 C136.65 141.3 133.76 140.62 132.14 142.5 C131.4 143.36 131.16 144.55 130.55 145.5 C128.35 148.89 124.87 151.28 121 152.36 C111.69 154.96 102.03 149.75 97.57 141.5 C84.73 117.74 114.27 92.24 140 106.69 C161.3 118.65 163.21 148.04 146.98 165 C134.8 177.72 115.78 181.45 99.5 175.02 C69.42 163.16 61.11 125.79 79 100.23 C92.04 81.59 116.14 73.41 138 78.91 C177.03 88.72 194.13 133.84 175.5 168.34 C162.44 192.53 135.17 206.16 108 203.03 C64.27 198 36.31 154.58 46.2 112.5 C50.42 94.56 61.17 78.46 76 67.54 C80.23 64.43 84.75 61.74 89.5 59.51 C91.39 58.62 93.64 58.05 95.43 57 C98.47 55.23 97.28 50.09 93.5 50.95 Z" },+ ],+ },+ jalebi: {+ id: "jalebi",+ name: "Jalebi",+ paint: "bone",+ bone: "#f7941d",+ eyes: {cx: 120, cy: 128, dx: 30, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M111 46.46 C98.31 47.8 85.98 51.84 75 58.38 C65.1 64.27 56.39 72.11 49.5 81.33 C12.72 130.58 37.1 202.34 96.5 218.8 C107.2 221.77 118.46 222.69 129.5 221.49 C141.62 220.17 153.44 216.31 164 210.21 C174.31 204.26 183.38 196.21 190.5 186.67 C227.67 136.89 202.32 64.37 142 48.79 C131.92 46.19 121.35 45.37 111 46.46 Z",+ parts: [+ { fill: "#c9650c", d: "M111 46.46 C66.5 51.29 30.86 89.67 32.01 135 C32.21 143.1 34.35 151.44 37.15 159 C50.23 194.25 86.34 217.76 124 213.29 C148.37 210.41 170.75 195.84 182.5 174.16 C185.85 167.99 188.33 161.37 189.81 154.5 C190.24 152.52 190.58 150.51 190.84 148.5 C190.9 148 190.6 147.28 191.02 147 C192.04 146.31 194.35 149.04 195 149.49 C196.48 150.54 203.77 154.07 205.5 152.99 C205.97 152.7 206.06 152.03 206.24 151.5 C208.89 143.83 208.18 128.07 206.88 120 C199.53 74.41 157.06 41.46 111 46.46 Z" },+ { fill: "body", d: "M119.5 41.47 C77.13 44.17 41.16 76.39 36.27 119 C30.32 170.89 74.59 217.91 127.5 208.75 C152.93 204.35 174.95 186.47 183.56 162 C196.52 125.13 175.17 82.72 135.5 75.85 C94.49 68.75 56.62 107.47 73.08 147.5 C75.45 153.28 78.95 158.56 83.35 163 C103.34 183.2 140.39 180.27 151.45 152 C156.14 140.01 153.75 126.23 145 116.71 C141.79 113.22 137.87 110.41 133.5 108.54 C132.27 108.01 125.29 106.81 128.5 105.3 C129.48 104.84 133.43 105.92 134.5 106.24 C140.62 108.09 145.99 112.04 149.96 117 C161.5 131.44 159.3 152.82 147 166.04 C126.62 187.95 91.64 182.67 75.11 159 C63.75 142.73 62.76 121.09 71.68 103.5 C92.18 63.1 146.85 61.52 174.92 94.5 C181.77 102.55 186.64 112.25 189.16 122.5 C190.47 127.79 190.36 136.13 192.48 140.5 C197.19 150.21 210.56 151.8 217.5 143.63 C219.32 141.48 220.49 138.78 220.87 136 C222.08 127.05 217.16 109.9 213.73 101.5 C198.41 64 160.17 38.89 119.5 41.47 Z" },+ { fill: "#ffc566", d: "M119.5 50.48 C92.13 52.57 66.86 68.13 53.81 92.5 C50.53 98.63 48.07 105.21 46.55 112 C46.33 112.98 45.16 117.31 46 118 C46.77 118.64 48 118 49 118 C50.72 118 55.05 118.53 56.5 118 C57 117.82 57.46 117.45 57.74 117 C58.27 116.12 59.91 108.43 60.62 106.5 C62.97 100.1 66.32 94.09 70.5 88.71 C83.88 71.48 105.28 61.77 127 62.26 C149.28 62.77 170.44 73.85 184 91.46 C188.13 96.83 191.55 102.74 194.15 109 C194.7 110.31 196.78 117.5 197.5 118 C198.06 118.39 205.3 118 206.5 118 C207.5 118 208.86 118.77 209.5 118 C209.74 117.71 207.76 111.33 207.5 110.54 C205.03 103.12 201.6 96.03 197.3 89.5 C180.44 63.92 150.26 48.13 119.5 50.48 Z M123 83.99 C108.29 84.83 94.43 91.98 86 104.22 C85.03 105.63 79.16 116.42 79.83 117.5 C80.07 117.9 91.51 118.33 92 118 C92.08 117.94 93.38 115.09 93.42 115 C94.65 112.52 96.18 110.17 98 108.09 C104.68 100.45 114.38 96.07 124.5 95.86 C135.27 95.62 145.87 100.05 153.5 107.63 C155.56 109.67 160.86 117.41 160.97 117.5 C161.46 117.92 172.53 118.31 173 118 C174.73 116.85 172.93 114.66 172.34 113.5 C170.23 109.33 167.6 105.41 164.5 101.91 C154.16 90.26 138.7 83.09 123 83.99 Z M122 117.47 C122 118.17 124.83 118 125 118 C126 118 128 119 128 118 C128 116.6 122 117.41 122 117.47 Z" },+ ],+ },+ katli: {+ id: "katli",+ name: "Kaju katli",+ paint: "bone",+ bone: "#f2e4c6",+ eyes: {cx: 120, cy: 122, dx: 30, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M117.5 18.4 C113.87 19.89 111.22 23.46 108.5 26.19 C103.06 31.62 97.62 37.06 92.19 42.5 C73.46 61.23 54.73 79.96 36 98.69 C30.17 104.52 24.33 110.35 18.5 116.19 C15.74 118.94 13.14 121.77 14.25 126 C15.13 129.33 18.35 131.67 20.69 134 C26.12 139.44 31.56 144.88 37 150.31 C56.56 169.88 76.12 189.44 95.69 209 C101.12 214.44 106.56 219.88 112 225.31 C115.17 228.48 118.8 231.55 123.5 229.19 C126.94 227.47 143.48 209.83 147.5 205.81 C165.83 187.48 184.17 169.15 202.5 150.81 C208.33 144.98 214.17 139.15 220 133.31 C222.79 130.52 226.26 127.87 225.98 123.5 C225.75 119.83 222.91 117.6 220.5 115.19 C215.5 110.19 210.5 105.19 205.5 100.19 C185.1 79.79 164.71 59.4 144.31 39 C138.48 33.17 132.65 27.33 126.81 21.5 C124.39 19.08 121.08 16.94 117.5 18.4 Z",+ parts: [+ { fill: "#d9c39a", d: "M117.5 32.4 C113.87 33.89 111.22 37.46 108.5 40.19 C103.06 45.62 97.62 51.06 92.19 56.5 C73.46 75.23 54.73 93.96 36 112.69 C30.17 118.52 24.33 124.35 18.5 130.19 C15.74 132.94 13.14 135.77 14.25 140 C15.13 143.33 18.35 145.67 20.69 148 C26.12 153.44 31.56 158.88 37 164.31 C56.56 183.88 76.12 203.44 95.69 223 C101.12 228.44 106.56 233.88 112 239.31 C115.17 242.48 118.8 245.55 123.5 243.19 C126.94 241.47 143.48 223.83 147.5 219.81 C165.83 201.48 184.17 183.15 202.5 164.81 C208.33 158.98 214.17 153.15 220 147.31 C222.79 144.52 226.26 141.87 225.98 137.5 C225.75 133.83 222.91 131.6 220.5 129.19 C215.5 124.19 210.5 119.19 205.5 114.19 C185.1 93.79 164.71 73.4 144.31 53 C138.48 47.17 132.65 41.33 126.81 35.5 C124.39 33.08 121.08 30.94 117.5 32.4 Z" },+ { fill: "body", d: "M117.5 18.4 C113.87 19.89 111.22 23.46 108.5 26.19 C103.06 31.62 97.62 37.06 92.19 42.5 C73.46 61.23 54.73 79.96 36 98.69 C30.17 104.52 24.33 110.35 18.5 116.19 C15.74 118.94 13.14 121.77 14.25 126 C15.13 129.33 18.35 131.67 20.69 134 C26.12 139.44 31.56 144.88 37 150.31 C56.56 169.88 76.12 189.44 95.69 209 C101.12 214.44 106.56 219.88 112 225.31 C115.17 228.48 118.8 231.55 123.5 229.19 C126.94 227.47 143.48 209.83 147.5 205.81 C165.83 187.48 184.17 169.15 202.5 150.81 C208.33 144.98 214.17 139.15 220 133.31 C222.79 130.52 226.26 127.87 225.98 123.5 C225.75 119.83 222.91 117.6 220.5 115.19 C215.5 110.19 210.5 105.19 205.5 100.19 C185.1 79.79 164.71 59.4 144.31 39 C138.48 33.17 132.65 27.33 126.81 21.5 C124.39 19.08 121.08 16.94 117.5 18.4 Z" },+ { fill: "#cdd3db", d: "M116.5 50.48 C109.63 51.83 98.39 57.9 106.97 65.5 C112.3 70.23 121.35 70.74 128 69.43 C135.21 68.01 145.85 61 136.4 54 C131.01 50.01 122.93 49.21 116.5 50.48 Z M64 104.45 C56.72 105.58 41.53 112.42 50.5 121.56 C56.71 127.88 67.69 128.83 76 127.55 C83.28 126.42 98.47 119.58 89.5 110.44 C83.29 104.12 72.31 103.17 64 104.45 Z M164.5 121.42 C156.96 122.61 143.48 129.58 153.24 138 C159 142.97 168.3 143.71 175.5 142.58 C183.04 141.39 196.52 134.42 186.76 126 C181 121.03 171.7 120.29 164.5 121.42 Z M119 187.45 C112.47 188.8 102.49 195.04 111.34 201.5 C116.33 205.15 123.62 205.67 129.5 204.45 C135.47 203.22 144.64 197.57 137.5 191.17 C132.84 187 124.9 186.23 119 187.45 Z" },+ ],+ },+ karanji: {+ id: "karanji",+ name: "Karanji",+ paint: "bone",+ bone: "#ecb460",+ eyes: {cx: 120, cy: 150, dx: 30, w: 24, h: 44, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},+ clip: "M110.5 72.46 C61.45 77.23 24.93 117.01 12.78 163 C10.06 173.28 8.5 183.87 8.1 194.5 C8.05 195.91 7.65 204.26 8.09 205 C9.05 206.66 17.9 206 20 206 C32.5 206 45 206 57.5 206 C100.5 206 143.5 206 186.5 206 C197.5 206 208.5 206 219.5 206 C220.94 206 230.97 206.41 231.5 206 C232.39 205.31 231.94 195.58 231.88 194 C231.31 180.23 228.8 166.54 224.35 153.5 C207.85 105.16 163.52 67.3 110.5 72.46 Z",+ parts: [+ { fill: "body", d: "M117.5 65.91 C114.31 66.95 111.01 71.93 109.5 71.82 C106.46 71.59 104.87 65.82 98 67.92 C92.99 69.45 91.87 75.89 89.5 76.07 C86.62 76.28 83.82 70.96 77.5 74.5 C72.94 77.06 73.27 83.27 71 84.25 C69.72 84.8 67.69 83.51 66.5 83.21 C63.2 82.38 59.78 83.49 57.5 86 C54.74 89.05 56.04 95.08 53.5 96.25 C50.74 97.52 46.49 93.39 41.63 99 C38.01 103.19 40.95 109.28 39.13 111 C36.36 113.61 30.21 109.49 26.73 117 C24.62 121.54 28.47 126.92 26.51 129 C23.87 131.81 18.58 128.74 15.58 136 C13.31 141.49 18.38 145.09 17.5 148 C16.61 150.95 10.42 151 8.07 155.5 C4.29 162.75 12.23 166.45 11.03 170 C10.05 172.93 5.04 173.58 3.26 177.5 C0 184.68 5.89 186.57 7.8 190.5 C8.64 192.21 8.09 194.67 8.04 196.5 C8.02 197.45 7.85 205.24 8.1 205.5 C9.11 206.54 19.98 206 22 206 C35 206 48 206 61 206 C100.5 206 140 206 179.5 206 C191.5 206 203.5 206 215.5 206 C217.91 206 229.05 206.5 230.5 206 C231.05 205.81 231.62 205.5 231.91 205 C232.75 203.56 231.37 193.92 231.89 191.5 C232.84 187.02 239.51 186.13 237.11 178.5 C235.56 173.55 229.32 172.61 228.87 169.5 C228.54 167.17 231.05 165.36 231.99 163.5 C233.98 159.55 232.57 154.34 228.79 152 C226.86 150.81 223.84 150.71 222.67 148.5 C221.61 146.5 223.73 144.2 224.4 142.5 C225.57 139.55 225.05 135.99 223 133.55 C220.13 130.13 213.96 130.6 212.88 128 C211.69 125.12 216.15 121.28 212.73 116 C208.96 110.18 201.78 113.22 200.26 110 C198.78 106.87 202.98 102.98 197.5 98.12 C193.3 94.4 187.1 97.34 185.5 95.63 C183.08 93.03 186.94 86.9 179 83.55 C175.34 82 169.93 84.96 168.5 84.02 C165.62 82.12 168 75.76 160.5 73.69 C155.81 72.4 151.93 76.49 150 75.98 C147.68 75.37 147.13 69.17 141.5 67.78 C135.68 66.35 131.71 72.41 129.5 71.68 C127 70.85 125.09 63.45 117.5 65.91 Z" },+ { fill: "#cf923d", d: "M111 87.49 C72.98 91.74 43.35 121.08 30.67 156 C27.67 164.25 25.55 172.81 24.31 181.5 C24.17 182.46 23.1 190.18 23.34 190.5 C24 191.36 32.51 191 34 191 C45.5 191 57 191 68.5 191 C103 191 137.5 191 172 191 C182 191 192 191 202 191 C204.21 191 214.14 191.52 215.5 191 C215.97 190.82 216.43 190.46 216.62 190 C217.01 189.03 215.63 181.02 215.39 179.5 C213.32 166.47 209.26 153.75 203.23 142 C185.79 108.01 150.26 83.1 111 87.49 Z M120 91.5 C158.05 91.62 189.39 118.96 203.36 153 C206.72 161.2 209.16 169.77 210.66 178.5 C210.79 179.25 211.87 185.81 211.73 186 C211.06 186.85 202.49 186.5 201 186.5 C191 186.5 181 186.5 171 186.5 C135.5 186.5 100 186.5 64.5 186.5 C55.5 186.5 46.5 186.5 37.5 186.5 C36.6 186.5 28.65 186.64 28.5 186.5 C27.99 186.02 29.32 178.58 29.51 177.5 C31.09 168.76 33.61 160.19 37.06 152 C51.13 118.58 82.4 91.38 120 91.5 Z" },+ ],+ },+};diff --git a/shared/halloween-bodies.ts b/shared/halloween-bodies.tsdeleted file mode 100644index 24b2e4a2d7..0000000000--- a/shared/halloween-bodies.ts+++ /dev/null@@ -1,177 +0,0 @@-/**- * The Halloween bodies a bot can wear.- *- * GENERATED FILE — do not hand-edit. Run `pnpm gen:halloween` to rebuild it from- * `scripts/gen-halloween-bodies.ts`.- *- * Drawn flat: the bot's own colour (or a pale or bone stand-in), dark-grey accents and a- * carved face. Paths are in a 240-unit square centred on x = 120.- */--/** Every Halloween body id, in the order the picker shows them. */-export const HALLOWEEN_BODY_IDS = ["pumpkin", "ghost", "witch", "bat", "cat", "skull", "monster", "mummy", "vampire", "spider"] as const;--export type HalloweenBodyId = (typeof HALLOWEEN_BODY_IDS)[number];--export interface HalloweenEyes {- /** Rest position of the pair's centre. */- cx: number;- cy: number;- /** Half the distance between the two eyes. */- dx: number;- /** Resting pill size. */- w: number;- h: number;- /** Diameter when startled. */- round: number;- ink: string;- /** False when the drawing carries its own mouth. */- mouth: boolean;- mouthInk: string;- /** Where the smile sits when it can't hang under the eyes. */- mouthY: number | null;-}--export interface HalloweenBody {- id: HalloweenBodyId;- /** Human-readable name, used for the picker and the accessible label. */- name: string;- /** "bot" fills with the bot's colour, "pale" with a near-white tint of it, "bone" with `bone`. */- paint: "bot" | "pale" | "bone";- bone: string | null;- eyes: HalloweenEyes;- /** Where the eyes may show. */- clip: string;- /** Draw order, bottom first. "body" is the paint; "accent" is the bot's colour. */- parts: ReadonlyArray<{ fill: string; d: string }>;-}--export const HALLOWEEN_BODIES: Record<HalloweenBodyId, HalloweenBody> = {- pumpkin: {- id: "pumpkin",- name: "Pumpkin",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 152, dx: 35, w: 28, h: 56, round: 50, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M90.5 54.48 C77.98 56.31 67.02 63.37 58.51 72.5 C55.95 75.24 53.91 78.51 51.11 81 C47.33 84.36 42.38 85.53 38 87.83 C32.54 90.69 27.86 94.89 24 99.66 C0.95 128.17 1.01 181.52 24.97 209.5 C31.03 216.58 39.12 222.26 48.5 223.66 C53.49 224.41 58.74 223.08 63.5 225.16 C66.21 226.35 68.43 228.42 70.9 230 C78.54 234.9 87.38 237.89 96.5 238 C102.12 238.06 107.73 237.03 113 235.08 C114.66 234.46 118.98 231.87 120.5 232.13 C121.68 232.33 127.39 235.28 129.5 235.93 C135.79 237.88 142.47 238.48 149 237.59 C156.48 236.58 163.59 233.66 169.87 229.5 C172.18 227.96 174.28 226.04 176.89 225 C181.28 223.25 185.94 224.33 190.5 223.8 C198.11 222.91 205.1 219.14 210.69 214 C238.8 188.15 239.54 131.34 217.5 101.6 C212.81 95.28 206.78 89.78 199.5 86.63 C196.43 85.31 193.26 84.22 190.5 82.26 C185.59 78.78 182.01 72.7 177.5 68.51 C167.37 59.12 153.97 53.16 140 54.1 C134.84 54.45 129.76 55.71 125 57.71 C123.69 58.27 121.86 59.64 120.5 59.87 C119.38 60.06 111.9 56.48 110 55.92 C103.69 54.04 97.01 53.52 90.5 54.48 Z",- parts: [- { fill: "#3d3d3d", d: "M94.5 3.93 C90.73 5.44 88.5 9.55 89.93 13.5 C91.2 17 95.18 19.44 97.5 22.28 C101.77 27.51 104.88 33.56 106.89 40 C109.27 47.63 110.3 56.02 109.8 64 C109.52 68.57 107.41 72.89 108.74 77.5 C110.77 84.55 118.63 88.55 125.5 85.93 C135.23 82.22 133.7 73.67 132.84 65.5 C130.89 47.14 126.81 30.93 114.5 16.5 C110.8 12.16 100.82 1.39 94.5 3.93 Z" },- { fill: "body", d: "M90.5 54.48 C77.98 56.31 67.02 63.37 58.51 72.5 C55.95 75.24 53.91 78.51 51.11 81 C47.33 84.36 42.38 85.53 38 87.83 C32.54 90.69 27.86 94.89 24 99.66 C0.95 128.17 1.01 181.52 24.97 209.5 C31.03 216.58 39.12 222.26 48.5 223.66 C53.49 224.41 58.74 223.08 63.5 225.16 C66.21 226.35 68.43 228.42 70.9 230 C78.54 234.9 87.38 237.89 96.5 238 C102.12 238.06 107.73 237.03 113 235.08 C114.66 234.46 118.98 231.87 120.5 232.13 C121.68 232.33 127.39 235.28 129.5 235.93 C135.79 237.88 142.47 238.48 149 237.59 C156.48 236.58 163.59 233.66 169.87 229.5 C172.18 227.96 174.28 226.04 176.89 225 C181.28 223.25 185.94 224.33 190.5 223.8 C198.11 222.91 205.1 219.14 210.69 214 C238.8 188.15 239.54 131.34 217.5 101.6 C212.81 95.28 206.78 89.78 199.5 86.63 C196.43 85.31 193.26 84.22 190.5 82.26 C185.59 78.78 182.01 72.7 177.5 68.51 C167.37 59.12 153.97 53.16 140 54.1 C134.84 54.45 129.76 55.71 125 57.71 C123.69 58.27 121.86 59.64 120.5 59.87 C119.38 60.06 111.9 56.48 110 55.92 C103.69 54.04 97.01 53.52 90.5 54.48 Z" },- ],- },- ghost: {- id: "ghost",- name: "Ghost",- paint: "pale",- bone: null,- eyes: {cx: 120, cy: 112, dx: 32, w: 26, h: 52, round: 44, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M111.5 18.45 C102.67 19.45 94.05 21.8 86 25.58 C79.38 28.69 73.19 32.71 67.66 37.5 C55.69 47.85 46.96 61.73 42.81 77 C41.15 83.07 41.21 88.17 40.02 93.5 C39.67 95.08 38.72 96.36 38.5 97.97 C37.5 105.16 38.47 113.18 38.11 120.5 C37.62 130.51 36.53 140.51 35.71 150.5 C34.9 160.48 34.46 170.57 33.23 180.5 C32.61 185.5 30.7 190.45 30.58 195.5 C30.54 197.24 31.38 198.4 31.89 200 C33.45 204.88 34.26 209.22 38 213.1 C45.27 220.62 57.05 222.23 65.9 216.5 C68.85 214.59 75.17 206.54 75.27 206.5 C75.82 206.31 76.48 206.39 77 206.65 C77.78 207.05 82.14 213.41 84 214.97 C91.11 220.92 101.63 221.6 109.5 216.75 C112.96 214.63 119.13 206.55 119.27 206.5 C121.64 205.67 124.14 210.98 125.45 212.5 C129.1 216.73 134.46 219.4 140 219.91 C146.43 220.5 153.1 218.15 157.61 213.5 C158.94 212.13 161.82 207.01 163.27 206.5 C165.61 205.68 168.9 212.06 170.5 213.61 C175.27 218.25 181.86 220.62 188.5 219.86 C196.53 218.94 203.54 213.52 206.49 206 C207.26 204.04 207.48 201.99 208.11 200 C208.44 198.97 209.07 198.05 209.32 197 C210.25 193.16 207.29 184.77 206.77 180.5 C205.35 169.08 204.85 157.47 203.92 146 C203.19 137.02 202.16 128.01 201.83 119 C201.57 112.11 202.45 104.83 201.5 98 C201.28 96.4 200.36 95.14 200 93.58 C199.55 91.62 199.57 89.5 199.31 87.5 C198.7 82.92 197.7 78.4 196.32 74 C190.52 55.58 178.01 39.62 161.5 29.61 C154.53 25.38 146.92 22.23 139 20.29 C130.06 18.1 120.66 17.42 111.5 18.45 Z",- parts: [- { fill: "body", d: "M111.5 18.45 C102.67 19.45 94.05 21.8 86 25.58 C79.38 28.69 73.19 32.71 67.66 37.5 C55.69 47.85 46.96 61.73 42.81 77 C41.15 83.07 41.21 88.17 40.02 93.5 C39.67 95.08 38.72 96.36 38.5 97.97 C37.5 105.16 38.47 113.18 38.11 120.5 C37.62 130.51 36.53 140.51 35.71 150.5 C34.9 160.48 34.46 170.57 33.23 180.5 C32.61 185.5 30.7 190.45 30.58 195.5 C30.54 197.24 31.38 198.4 31.89 200 C33.45 204.88 34.26 209.22 38 213.1 C45.27 220.62 57.05 222.23 65.9 216.5 C68.85 214.59 75.17 206.54 75.27 206.5 C75.82 206.31 76.48 206.39 77 206.65 C77.78 207.05 82.14 213.41 84 214.97 C91.11 220.92 101.63 221.6 109.5 216.75 C112.96 214.63 119.13 206.55 119.27 206.5 C121.64 205.67 124.14 210.98 125.45 212.5 C129.1 216.73 134.46 219.4 140 219.91 C146.43 220.5 153.1 218.15 157.61 213.5 C158.94 212.13 161.82 207.01 163.27 206.5 C165.61 205.68 168.9 212.06 170.5 213.61 C175.27 218.25 181.86 220.62 188.5 219.86 C196.53 218.94 203.54 213.52 206.49 206 C207.26 204.04 207.48 201.99 208.11 200 C208.44 198.97 209.07 198.05 209.32 197 C210.25 193.16 207.29 184.77 206.77 180.5 C205.35 169.08 204.85 157.47 203.92 146 C203.19 137.02 202.16 128.01 201.83 119 C201.57 112.11 202.45 104.83 201.5 98 C201.28 96.4 200.36 95.14 200 93.58 C199.55 91.62 199.57 89.5 199.31 87.5 C198.7 82.92 197.7 78.4 196.32 74 C190.52 55.58 178.01 39.62 161.5 29.61 C154.53 25.38 146.92 22.23 139 20.29 C130.06 18.1 120.66 17.42 111.5 18.45 Z" },- ],- },- witch: {- id: "witch",- name: "Witch",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 174, dx: 30, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M70 115.37 C64.92 118.19 58.38 126.61 55.15 131.5 C39.04 155.88 40.93 187.85 59.5 210.37 C83.52 239.49 127.61 245.99 160 227.52 C193.86 208.21 206.9 166.06 185.5 132.5 C182.23 127.37 176.01 119.21 170.88 116 C168.88 114.75 156.18 116.17 153 116.31 C138.51 116.93 124 117.12 109.5 116.93 C100 116.81 90.49 116.52 81 116.03 C79.79 115.97 70.33 115.19 70 115.37 Z",- parts: [- { fill: "#3d3d3d", d: "M56 93.43 C43.48 96.13 40.36 109.2 37.78 120 C31.5 146.29 30.56 174.43 35.74 201 C37.12 208.09 38.78 215.1 40.92 222 C41.86 225.03 42.59 228.55 45.34 230.5 C50.73 234.32 58.38 230.12 57.98 223.5 C57.72 219 56.75 214.51 56.42 210 C55.7 200 56.02 189.96 57.07 180 C57.37 177.15 58.02 166.48 61 165.64 C63.18 165.03 66.49 167.44 68.5 168.11 C72.91 169.6 77.38 170 82 170 C105.5 170 129 170 152.5 170 C158.59 170 164.6 170.23 170.5 168.43 C172.53 167.82 177.65 164.86 179.5 165.82 C181.99 167.11 182.45 176.27 182.79 179 C184.42 191.91 184.37 205.09 182.77 218 C182.17 222.84 180.96 227.92 186 230.93 C187.77 231.99 190.01 232.27 192 231.75 C196.36 230.6 197.5 226.81 198.73 223 C201.11 215.63 202.91 208.12 204.32 200.5 C208.97 175.34 208.61 149 203.13 124 C201.42 116.16 199.23 104.47 193.5 98.63 C188.23 93.26 179.97 91.56 173 94.34 C168.24 96.23 164.9 99.79 159.5 100 C144.55 100.56 129.46 100 114.5 100 C103.07 100 91.41 100.67 80 99.98 C70.75 99.42 67.69 90.9 56 93.43 Z" },- { fill: "body", d: "M111 98.49 C99.92 99.78 89.16 103.16 79.5 108.77 C71.23 113.57 63.85 119.91 58.01 127.5 C52.95 134.08 49.07 141.54 46.7 149.5 C31.29 201.28 80.43 243.45 130 237.39 C141.09 236.03 151.91 232.4 161.5 226.64 C169.36 221.92 176.39 215.78 181.99 208.5 C186.73 202.34 190.44 195.4 192.83 188 C209.5 136.52 160.9 92.7 111 98.49 Z" },- { fill: "#3d3d3d", d: "M177 10.96 C138.98 13.21 103.23 27.45 85.12 63 C81.33 70.43 77.84 78.65 76.85 87 C76.55 89.52 76.75 91.99 76.61 94.5 C76.56 95.51 76.17 96.49 76.14 97.5 C76 101.4 77.46 105.9 78.82 109.5 C85.72 127.81 104.52 139.6 124 137.82 C143.59 136.03 160 120.88 163.36 101.5 C163.9 98.37 164.65 94.14 163.9 91 C162.95 87.07 162.41 82.91 161.16 79 C158.31 70.02 153.98 63.41 156.17 53.5 C158.71 41.94 167.43 31.98 176.22 24.5 C178.98 22.16 184.33 18.67 186.45 16.5 C187.23 15.7 187.64 14.61 187.46 13.5 C186.74 9 180.07 10.78 177 10.96 Z" },- { fill: "accent", d: "M81 72.19 C79.92 73.17 77.55 82.62 77.22 84.5 C77.21 84.56 76.73 87.42 76.79 87.5 C77.5 88.43 80.51 88 81.5 88 C86.5 88 91.5 88 96.5 88 C113 88 129.5 88 146 88 C150 88 154 88 158 88 C158.41 88 162.39 88.09 162.5 88 C163.43 87.24 162.51 84.38 162.33 83.5 C161.84 81.07 159.9 72.86 157.5 72 C155.93 71.44 142.27 72 139.5 72 C126 72 112.5 72 99 72 C94.5 72 90 72 85.5 72 C84.65 72 81.67 71.58 81 72.19 Z" },- { fill: "#3d3d3d", d: "M92.5 82.49 C70.51 83.29 48.05 84.51 26.5 89.19 C21.5 90.28 16.04 91.43 11.56 94 C9.93 94.93 7.19 96.67 8.22 99 C9.82 102.64 17.9 104.67 21.5 105.62 C34.2 108.96 47.45 110.39 60.5 111.56 C99.75 115.07 139.74 115.08 179 111.6 C192.04 110.44 217.43 108.32 228.44 102 C234.96 98.26 231.04 94.96 226 92.83 C217.57 89.26 208 87.94 199 86.66 C163.9 81.67 127.88 81.21 92.5 82.49 Z" },- ],- },- bat: {- id: "bat",- name: "Bat",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M78.5 28.29 C74.93 30.19 75.47 37.8 75.15 41.5 C74.53 48.5 73.91 55.5 73.29 62.5 C72.9 66.96 72.85 71.64 71.75 76 C70.83 79.6 68.82 85.6 64.5 86.26 C59.64 87 48.75 76.45 44 74 C41.3 72.61 37.88 71.96 35 71 C27.5 68.5 20 66 12.5 63.5 C8.5 62.17 4.5 60.83 0.5 59.5 C-0.78 59.07 -2.92 57.58 -3.85 59.5 C-4.29 60.4 -3.66 61.5 -3.56 62.5 C-3.1 67.12 -0.34 68.8 2.57 72 C7.4 77.32 10.12 84.29 10 91.5 C9.9 96.81 8.27 102.08 5.32 106.5 C4.31 108.01 3.03 109.34 2.25 111 C1.43 112.74 1.01 118.51 2.5 119.97 C3.97 121.42 10.69 121.29 13 121.89 C18.65 123.35 23.67 126.57 27.45 131 C31.02 135.19 33.25 140.53 33.84 146 C34.08 148.27 33.22 153.18 34.21 155 C35.72 157.76 38.05 155.63 40 154.7 C43.58 153 47.39 152.47 50.08 156 C52.67 159.38 53.61 164.19 55.5 168 C58.57 174.19 62.54 179.93 67.25 185 C89.14 208.58 125.04 214.65 153.5 199.73 C165.15 193.62 175.01 184.28 181.77 173 C184.06 169.17 188.57 157.24 190.5 155.3 C193.16 152.64 196.34 153.04 199.5 154.47 C200.95 155.13 203.95 157.59 205.5 155.79 C206.74 154.34 205.93 148.54 206.11 146.5 C206.6 141.11 208.67 135.94 212 131.68 C215.97 126.61 221.72 123.03 228 121.65 C230.52 121.1 236.88 121.57 238.04 119 C238.13 118.81 238.37 116.21 238.39 116 C238.8 111.43 236.27 109.16 234.05 105.5 C231.32 101.01 229.91 95.75 230 90.5 C230.12 83.91 232.62 77.44 236.98 72.5 C239.99 69.1 243.08 67.35 243.56 62.5 C243.66 61.5 244.29 60.4 243.85 59.5 C242.92 57.58 240.78 59.07 239.5 59.5 C235.5 60.83 231.5 62.17 227.5 63.5 C220 66 212.5 68.5 205 71 C202.11 71.96 198.7 72.62 196 74 C191.23 76.44 180.37 87 175.5 86.26 C171.18 85.6 169.16 79.6 168.25 76 C167.15 71.64 167.1 66.96 166.71 62.5 C166.09 55.5 165.47 48.5 164.85 41.5 C164.54 37.89 165.2 28.63 160.5 28.03 C156.82 27.56 152.58 35.31 150.59 38 C146.75 43.2 137.29 57.47 133 60.83 C130.83 62.53 128.21 63.45 125.5 63.81 C123.5 64.08 121.51 63.99 119.5 64 C109.03 64.05 106.48 61.1 100.5 53.01 C97.5 48.95 94.5 44.89 91.5 40.83 C89.48 38.09 84.84 30.64 82.5 28.88 C81.44 28.09 79.75 27.63 78.5 28.29 Z",- parts: [- { fill: "body", d: "M78.5 28.29 C74.93 30.19 75.47 37.8 75.15 41.5 C74.53 48.5 73.91 55.5 73.29 62.5 C72.9 66.96 72.85 71.64 71.75 76 C70.83 79.6 68.82 85.6 64.5 86.26 C59.64 87 48.75 76.45 44 74 C41.3 72.61 37.88 71.96 35 71 C27.5 68.5 20 66 12.5 63.5 C8.5 62.17 4.5 60.83 0.5 59.5 C-0.78 59.07 -2.92 57.58 -3.85 59.5 C-4.29 60.4 -3.66 61.5 -3.56 62.5 C-3.1 67.12 -0.34 68.8 2.57 72 C7.4 77.32 10.12 84.29 10 91.5 C9.9 96.81 8.27 102.08 5.32 106.5 C4.31 108.01 3.03 109.34 2.25 111 C1.43 112.74 1.01 118.51 2.5 119.97 C3.97 121.42 10.69 121.29 13 121.89 C18.65 123.35 23.67 126.57 27.45 131 C31.02 135.19 33.25 140.53 33.84 146 C34.08 148.27 33.22 153.18 34.21 155 C35.72 157.76 38.05 155.63 40 154.7 C43.58 153 47.39 152.47 50.08 156 C52.67 159.38 53.61 164.19 55.5 168 C58.57 174.19 62.54 179.93 67.25 185 C89.14 208.58 125.04 214.65 153.5 199.73 C165.15 193.62 175.01 184.28 181.77 173 C184.06 169.17 188.57 157.24 190.5 155.3 C193.16 152.64 196.34 153.04 199.5 154.47 C200.95 155.13 203.95 157.59 205.5 155.79 C206.74 154.34 205.93 148.54 206.11 146.5 C206.6 141.11 208.67 135.94 212 131.68 C215.97 126.61 221.72 123.03 228 121.65 C230.52 121.1 236.88 121.57 238.04 119 C238.13 118.81 238.37 116.21 238.39 116 C238.8 111.43 236.27 109.16 234.05 105.5 C231.32 101.01 229.91 95.75 230 90.5 C230.12 83.91 232.62 77.44 236.98 72.5 C239.99 69.1 243.08 67.35 243.56 62.5 C243.66 61.5 244.29 60.4 243.85 59.5 C242.92 57.58 240.78 59.07 239.5 59.5 C235.5 60.83 231.5 62.17 227.5 63.5 C220 66 212.5 68.5 205 71 C202.11 71.96 198.7 72.62 196 74 C191.23 76.44 180.37 87 175.5 86.26 C171.18 85.6 169.16 79.6 168.25 76 C167.15 71.64 167.1 66.96 166.71 62.5 C166.09 55.5 165.47 48.5 164.85 41.5 C164.54 37.89 165.2 28.63 160.5 28.03 C156.82 27.56 152.58 35.31 150.59 38 C146.75 43.2 137.29 57.47 133 60.83 C130.83 62.53 128.21 63.45 125.5 63.81 C123.5 64.08 121.51 63.99 119.5 64 C109.03 64.05 106.48 61.1 100.5 53.01 C97.5 48.95 94.5 44.89 91.5 40.83 C89.48 38.09 84.84 30.64 82.5 28.88 C81.44 28.09 79.75 27.63 78.5 28.29 Z" },- ],- },- cat: {- id: "cat",- name: "Cat",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M48 25.42 C46.77 26.16 46.14 26.51 45.5 27.83 C44.09 30.74 43.01 40.74 42.34 44.5 C39.14 62.5 35.94 80.5 32.74 98.5 C31.46 105.73 28.94 112.44 27.09 119.5 C26.44 121.96 26.44 124.52 25.93 127 C25.3 130.04 24.17 132.96 23.51 136 C21.02 147.42 21.66 159.39 25.27 170.5 C29.81 184.46 38.78 196.64 50 205.99 C85.42 235.47 140.72 237.75 179.5 213.57 C186.45 209.23 192.84 204.02 198.4 198 C210.43 184.96 218 167.87 218 150 C218 141.88 215.96 135.26 214.18 127.5 C213.61 125.03 213.61 122.47 213.04 120 C211.96 115.44 210.13 111.04 208.95 106.5 C206.39 96.7 205.12 86.47 203.35 76.5 C201.03 63.5 198.72 50.5 196.41 37.5 C195.71 33.57 195.94 26.16 191 25.1 C187.51 24.35 184.88 27.92 182.63 30 C176.13 36 169.63 42 163.13 48 C157.65 53.05 146.41 64.8 140.5 67.87 C138.17 69.08 135.61 69.79 133 70.1 C130.41 70.4 108.36 70.34 106 69.96 C98.34 68.74 93.44 63.3 88 58.27 C79.78 50.68 71.55 43.09 63.33 35.5 C60.5 32.89 52.07 22.98 48 25.42 Z",- parts: [- { fill: "body", d: "M48 25.42 C46.77 26.16 46.14 26.51 45.5 27.83 C44.09 30.74 43.01 40.74 42.34 44.5 C39.14 62.5 35.94 80.5 32.74 98.5 C31.46 105.73 28.94 112.44 27.09 119.5 C26.44 121.96 26.44 124.52 25.93 127 C25.3 130.04 24.17 132.96 23.51 136 C21.02 147.42 21.66 159.39 25.27 170.5 C29.81 184.46 38.78 196.64 50 205.99 C85.42 235.47 140.72 237.75 179.5 213.57 C186.45 209.23 192.84 204.02 198.4 198 C210.43 184.96 218 167.87 218 150 C218 141.88 215.96 135.26 214.18 127.5 C213.61 125.03 213.61 122.47 213.04 120 C211.96 115.44 210.13 111.04 208.95 106.5 C206.39 96.7 205.12 86.47 203.35 76.5 C201.03 63.5 198.72 50.5 196.41 37.5 C195.71 33.57 195.94 26.16 191 25.1 C187.51 24.35 184.88 27.92 182.63 30 C176.13 36 169.63 42 163.13 48 C157.65 53.05 146.41 64.8 140.5 67.87 C138.17 69.08 135.61 69.79 133 70.1 C130.41 70.4 108.36 70.34 106 69.96 C98.34 68.74 93.44 63.3 88 58.27 C79.78 50.68 71.55 43.09 63.33 35.5 C60.5 32.89 52.07 22.98 48 25.42 Z" },- ],- },- skull: {- id: "skull",- name: "Skull",- paint: "bone",- bone: "#f1ede6",- eyes: {cx: 120, cy: 112, dx: 34, w: 42, h: 44, round: 50, ink: "#0d0a10", mouth: false, mouthInk: "#0d0a10", mouthY: null},- clip: "M111 16.48 C60.53 22.23 26.1 71.09 38.54 120.5 C40.96 130.13 45.1 139.31 50.72 147.5 C55.37 154.28 61.54 159.58 64.33 167.5 C66.25 172.92 65.77 178.38 66.35 184 C66.91 189.5 67.86 194.95 67.98 200.5 C68.17 209.19 66.13 215.91 73.45 222.5 C80.55 228.89 89.65 228 98.5 228 C111 228 123.5 228 136 228 C141.94 228 148.08 228.45 154 227.91 C161.84 227.19 170.56 221.74 171.93 213.5 C172.59 209.54 171.97 205.49 172 201.5 C172.05 195.44 173.12 189.51 173.7 183.5 C174.04 180.01 173.78 176.47 174.27 173 C174.64 170.41 175.44 167.92 176.42 165.5 C179.29 158.45 185.28 153.4 189.5 147.18 C196.53 136.81 201.2 124.89 203.06 112.5 C211.17 58.67 165.37 10.29 111 16.48 Z",- parts: [- { fill: "body", d: "M111 16.48 C60.53 22.23 26.1 71.09 38.54 120.5 C40.96 130.13 45.1 139.31 50.72 147.5 C55.37 154.28 61.54 159.58 64.33 167.5 C66.25 172.92 65.77 178.38 66.35 184 C66.91 189.5 67.86 194.95 67.98 200.5 C68.17 209.19 66.13 215.91 73.45 222.5 C80.55 228.89 89.65 228 98.5 228 C111 228 123.5 228 136 228 C141.94 228 148.08 228.45 154 227.91 C161.84 227.19 170.56 221.74 171.93 213.5 C172.59 209.54 171.97 205.49 172 201.5 C172.05 195.44 173.12 189.51 173.7 183.5 C174.04 180.01 173.78 176.47 174.27 173 C174.64 170.41 175.44 167.92 176.42 165.5 C179.29 158.45 185.28 153.4 189.5 147.18 C196.53 136.81 201.2 124.89 203.06 112.5 C211.17 58.67 165.37 10.29 111 16.48 Z" },- { fill: "#0d0a10", d: "M108.5 149.4 C107.57 150.05 107 150.82 107 152 C107 154.18 114.28 164.52 115.84 167 C116.89 168.68 118.36 171.98 121 170.83 C123.26 169.84 129.3 158.78 131 156.06 C132.04 154.39 134.17 151.94 132.23 150 C130.51 148.28 117.13 149 114 149 C112.48 149 109.83 148.48 108.5 149.4 Z" },- { fill: "#0d0a10", d: "M94.5 187.86 C90.92 189.52 93.89 198.41 92.8 199.5 C91.51 200.79 82.21 198.69 80.5 200.4 C80.09 200.81 79.82 201.42 79.8 202 C79.71 204.75 83.35 204.2 85 204.2 C85.71 204.2 92.43 204.13 92.5 204.2 C94.27 205.97 90.74 214.92 94.5 216.14 C99.5 217.76 95.66 205.52 98 204.2 C98.87 203.71 100 204.2 101 204.2 C102.15 204.2 104.56 203.68 105.3 205 C106.51 207.15 103.11 216.05 107.5 216.2 C112.34 216.36 107.39 205.23 111 204.2 C111.96 203.93 113 204.2 114 204.2 C115 204.2 116.13 203.71 117 204.2 C118.31 204.94 117.8 210.08 117.8 211.5 C117.8 213.04 117.59 217.08 120.5 216.14 C124.04 215 121.14 205.56 122.2 204.5 C122.63 204.07 123.39 204.26 124 204.2 C124.45 204.16 129.99 204.19 130 204.2 C131.77 205.97 128.24 214.92 132 216.14 C134.91 217.08 134.7 213.04 134.7 211.5 C134.7 210.08 134.19 204.94 135.5 204.2 C136.37 203.71 137.5 204.2 138.5 204.2 C139.5 204.2 140.54 203.93 141.5 204.2 C141.99 204.34 142.55 204.56 142.8 205 C143.36 206 142.47 212.32 142.8 214 C143.12 215.64 144.94 217.16 146.5 215.6 C148.29 213.81 146.31 206.57 147.2 205 C148.42 202.83 156.88 205.32 159 203.96 C159.52 203.62 159.95 203.09 160.14 202.5 C161.24 199.11 155.62 199.8 154 199.8 C153.08 199.8 148.56 200.12 148 199.8 C145.66 198.48 149.5 186.24 144.5 187.86 C140.96 189 143.86 198.44 142.8 199.5 C142.42 199.88 140.04 199.8 139.5 199.8 C139.14 199.8 135.05 199.85 135 199.8 C133.92 198.72 136.59 184.88 131.5 188.04 C128.44 189.94 132 198.39 129.5 199.8 C128.63 200.29 127.5 199.8 126.5 199.8 C125.35 199.8 122.94 200.32 122.2 199 C120.99 196.85 124.39 187.95 120 187.8 C115.16 187.64 120.11 198.77 116.5 199.8 C115.54 200.07 114.5 199.8 113.5 199.8 C112.5 199.8 111.37 200.29 110.5 199.8 C108.57 198.71 110.45 191.48 109.64 189.5 C108.87 187.61 106.74 187.14 105.54 189 C104.68 190.34 105.78 199.02 105.3 199.5 C104.92 199.88 102.54 199.8 102 199.8 C101.64 199.8 97.55 199.85 97.5 199.8 C96.32 198.62 99.05 185.75 94.5 187.86 Z" },- ],- },- monster: {- id: "monster",- name: "Monster",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 156, dx: 36, w: 27, h: 52, round: 46, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M62.5 85.83 C62.35 85.86 59.77 89.26 59.5 89.6 C57.48 92.13 51.44 101.28 48.5 101.5 C45.58 101.72 39.42 92.42 37.5 90.01 C36.59 88.88 34.53 86.24 34.5 86.25 C33.82 86.47 34 93.06 34 94 C34 102 34 110 34 118 C34 142 34 166 34 190 C34 201.71 32.25 214.47 41 223.75 C50.98 234.33 65.82 232 79 232 C103 232 127 232 151 232 C159.5 232 179.87 233.04 187 231.04 C196.89 228.27 204.38 219.67 205.76 209.5 C206.8 201.92 206 189.13 206 181 C206 162 206 143 206 124 C206 114.5 206 105 206 95.5 C206 92.69 206.04 86.51 206 86.5 C205.02 86.17 202.97 89.42 202.51 90 C200.52 92.51 195.5 100.01 193 101.23 C192.11 101.67 190.85 101.54 190 101.08 C188.02 99.98 182.32 91.88 180.5 89.6 C180.27 89.3 177.53 85.83 177.5 85.83 C176.98 85.81 174.43 89.26 174 89.8 C171.93 92.41 166.13 101.35 163 101.5 C160.25 101.63 153.88 92.16 152 89.8 C151.76 89.5 149.08 86.05 149 86.04 C147.81 85.89 146.09 88.85 145.5 89.6 C143.48 92.13 137.44 101.28 134.5 101.5 C130.72 101.78 122.19 86.67 120.5 86.25 C119.09 85.89 117.64 88.58 117 89.39 C115.13 91.74 108.86 100.75 106.5 101.4 C101.99 102.65 94.55 87.55 92.04 86.5 C90.19 85.73 88.38 89.32 87.5 90.43 C85.52 92.92 79.68 101.98 76.5 101.46 C73.7 101.01 67.54 91.73 65.5 89.18 C65.15 88.73 62.92 85.74 62.5 85.83 Z",- parts: [- { fill: "#8d8d8d", d: "M14.5 180.29 C13.19 180.99 12.59 181.55 12.13 183 C11.71 184.32 11.73 193.65 12.13 195 C12.45 196.1 13.06 196.94 14.07 197.5 C16.14 198.66 31.56 198 35 198 C37.29 198 40.56 198.62 42.5 197.12 C44.75 195.37 44.74 182.84 42.64 181 C40.99 179.55 38.5 180 36.5 180 C33.26 180 16.22 179.38 14.5 180.29 Z M198.5 180.29 C197.19 180.99 196.59 181.55 196.13 183 C195.71 184.32 195.73 193.65 196.13 195 C196.45 196.1 197.06 196.94 198.07 197.5 C200.14 198.66 215.56 198 219 198 C221.29 198 224.56 198.62 226.5 197.12 C228.75 195.37 228.74 182.84 226.64 181 C224.99 179.55 222.5 180 220.5 180 C217.26 180 200.22 179.38 198.5 180.29 Z" },- { fill: "#6f6f6f", d: "M6 174.34 C2.94 176.55 4 181.14 4 184.5 C4 188.39 3.35 197.74 4.04 201 C4.3 202.25 4.84 203.05 6 203.66 C7.59 204.49 10.27 204 12 204 C13.45 204 15.23 204.3 16.5 203.37 C18.94 201.57 18 197.12 18 194.5 C18 191.27 18.73 176.79 17 175.05 C15.47 173.52 12.94 174 11 174 C9.71 174 7.11 173.53 6 174.34 Z M224 174.34 C220.94 176.55 222 181.14 222 184.5 C222 188.39 221.35 197.74 222.04 201 C222.3 202.25 222.84 203.05 224 203.66 C225.59 204.49 228.27 204 230 204 C231.45 204 233.23 204.3 234.5 203.37 C236.94 201.57 236 197.12 236 194.5 C236 191.27 236.73 176.79 235 175.05 C233.47 173.52 230.94 174 229 174 C227.71 174 225.11 173.53 224 174.34 Z" },- { fill: "body", d: "M55 22.49 C44.2 24.71 35.73 33.52 34.24 44.5 C33.64 48.92 34 53.55 34 58 C34 96 34 134 34 172 C34 180 34 188 34 196 C34 200.93 33.53 206.14 34.49 211 C35.1 214.13 36.29 217.16 38 219.86 C46.73 233.59 60.38 232 74.5 232 C99 232 123.5 232 148 232 C156.48 232 178.53 232.92 185.5 231.41 C196.07 229.12 204.3 220.22 205.76 209.5 C206.43 204.6 206 199.44 206 194.5 C206 157 206 119.5 206 82 C206 74 206 66 206 58 C206 53.07 206.47 47.86 205.51 43 C204.9 39.87 203.71 36.84 202 34.14 C193.01 20 178.47 22 164 22 C140 22 116 22 92 22 C83.69 22 61.8 21.08 55 22.49 Z" },- { fill: "#3d3d3d", d: "M55 18.42 C42.19 20.59 32 31.13 30.27 44 C29.41 50.36 30 57.09 30 63.5 C30 68 30 72.5 30 77 C30 77.97 29.55 80.79 30.5 81.5 C31.3 82.1 32.64 81.26 33.5 81.78 C34.97 82.67 36.42 85.45 37.5 86.8 C38.91 88.58 46.34 98.67 47.5 99.24 C49.39 100.17 50.54 97.63 51.45 96.5 C54.13 93.13 56.82 89.76 59.5 86.38 C59.73 86.1 62.49 82.62 62.5 82.62 C62.95 82.64 64.72 84.99 65 85.34 C67.67 88.69 70.33 92.04 73 95.38 C73.82 96.42 75.75 100.08 77.5 99.41 C78.97 98.85 86.46 88.53 88 86.59 C88.24 86.3 90.94 82.83 91 82.83 C92.18 82.73 93.9 85.63 94.5 86.38 C97.17 89.73 99.83 93.08 102.5 96.43 C103.26 97.39 104.41 99.72 106 99.46 C106.95 99.31 115.23 88.4 116.5 86.8 C116.79 86.44 119.31 83.08 119.5 83.04 C120.91 82.68 122.36 85.37 123 86.18 C125.67 89.52 128.33 92.87 131 96.22 C131.72 97.12 133.05 99.61 134.5 99.49 C135.82 99.38 137.28 96.71 138 95.8 C139.12 94.4 147.45 83.47 148 83.25 C149.78 82.5 151.66 86.16 152.5 87.22 C153.82 88.88 161.68 99.49 163 99.5 C164.27 99.51 172.2 88.86 173.5 87.22 C174.35 86.16 176.2 82.54 178 83.25 C178.45 83.42 186.93 94.46 188 95.8 C188.74 96.74 190.2 99.31 191.5 99.49 C192.89 99.69 194.33 97.06 195 96.22 C197.98 92.48 200.96 88.74 203.94 85 C204.62 84.14 205.16 83.13 206 82.41 C207.66 80.98 209.21 82.38 210 80 C210.52 78.45 210 67.49 210 65 C210 50.51 211.96 36.41 200 25.64 C188.98 15.71 173.68 18 160 18 C137 18 114 18 91 18 C82.08 18 62.75 17.11 55 18.42 Z" },- ],- },- mummy: {- id: "mummy",- name: "Mummy",- paint: "bone",- bone: "#efe5cf",- eyes: {cx: 120, cy: 119, dx: 30, w: 24, h: 24, round: 30, ink: "#f4efe4", mouthInk: "#0d0a10", mouthY: 170, mouth: true},- clip: "M201.5 97.49 C164.5 98.63 127.5 99.77 90.5 100.91 C78 101.29 65.5 101.68 53 102.06 C48.3 102.21 42.56 101.73 38 102.52 C37.48 102.61 36.82 102.58 36.5 103 C36.25 103.33 36.5 109.62 36.5 110.5 C36.5 118 36.5 125.5 36.5 133 C36.5 133.71 36.42 140.42 36.5 140.5 C36.65 140.65 44.6 140.32 45.5 140.29 C55 140 64.5 139.71 74 139.42 C105.5 138.45 137 137.48 168.5 136.51 C177 136.25 185.5 135.98 194 135.72 C195.18 135.69 202.47 135.84 203 135.45 C203.86 134.81 203.5 127.83 203.5 126.5 C203.5 119 203.5 111.5 203.5 104 C203.5 103.31 203.7 98.26 203.5 98 C203.04 97.39 202.15 97.47 201.5 97.49 Z",- parts: [- { fill: "body", d: "M111 14.48 C76.78 18.38 47.65 43.09 38.8 76.5 C34.8 91.61 36 107.52 36 123 C36 140.11 34.75 157.49 40.13 174 C52.39 211.67 90.69 236.12 130 231.4 C163.8 227.35 192.49 202.41 201.2 169.5 C205.2 154.39 204 138.48 204 123 C204 105.89 205.25 88.51 199.87 72 C187.78 34.85 149.95 10.05 111 14.48 Z" },- { fill: "#d8ccb2", d: "M174.5 35.45 C146.5 38.81 118.5 42.17 90.5 45.53 C79.5 46.85 68.5 48.17 57.5 49.49 C53.73 49.94 51.23 49.33 49.07 53 C48.78 53.49 47.97 54.03 48.28 54.5 C48.38 54.65 55.19 53.79 56 53.69 C63.5 52.79 71 51.89 78.5 50.99 C101.5 48.23 124.5 45.47 147.5 42.71 C155.5 41.75 163.5 40.79 171.5 39.83 C173.36 39.61 178.97 38.95 179 38.88 C179.56 37.71 175.8 35.29 174.5 35.45 Z M43 64.46 C42.99 64.47 41.71 67.42 41.73 67.5 C42.08 68.71 45.14 68.52 46 68.61 C49.5 68.96 53 69.31 56.5 69.66 C72 71.21 87.5 72.76 103 74.31 C128.5 76.86 154 79.41 179.5 81.96 C185.5 82.56 191.5 83.16 197.5 83.76 C199.48 83.96 202.33 85.3 202.56 82.5 C202.66 81.24 202.17 80.54 201 80.09 C198.79 79.24 189.02 78.89 186 78.59 C168.5 76.84 151 75.09 133.5 73.34 C110.5 71.04 87.5 68.74 64.5 66.44 C59 65.89 53.5 65.34 48 64.79 C47.4 64.73 43.12 64.28 43 64.46 Z M36.5 145.97 C33.26 150.75 40.97 150.53 43.5 150.83 C52.5 151.91 61.5 152.99 70.5 154.07 C100 157.61 129.5 161.15 159 164.69 C170 166.01 181 167.33 192 168.65 C192.91 168.76 200.81 169.85 201 169.71 C201.48 169.35 201.42 168.58 201.58 168 C201.73 167.51 202.15 166.97 201.94 166.5 C201.4 165.34 195.79 165.08 194.5 164.93 C186.5 163.97 178.5 163.01 170.5 162.05 C137.5 158.09 104.5 154.13 71.5 150.17 C62.5 149.09 53.5 148.01 44.5 146.93 C42 146.63 39.5 146.33 37 146.03 C36.83 146.01 36.59 145.83 36.5 145.97 Z M195 178.49 C158 182.19 121 185.89 84 189.59 C75 190.49 66 191.39 57 192.29 C56.12 192.38 49.54 193 49.5 193.15 C49.31 193.81 50.04 194.41 50.38 195 C51.95 197.75 54.8 196.53 57.5 196.26 C66.5 195.36 75.5 194.46 84.5 193.56 C110.5 190.96 136.5 188.36 162.5 185.76 C167.23 185.29 193.16 183.27 195.5 182.46 C197.22 181.86 197.03 181.54 197.67 180 C198.87 177.08 197.1 178.28 195 178.49 Z M63 209.43 C63 209.92 66.26 212.65 66.79 213 C69.51 214.78 78.4 214.68 82 214.97 C102.5 216.61 123 218.25 143.5 219.89 C146.75 220.15 159.21 221.83 161.5 221.03 C161.84 220.92 166 218.31 166 218.29 C166 217.49 163.3 217.46 163 217.43 C159.5 217.15 156 216.87 152.5 216.59 C138 215.43 123.5 214.27 109 213.11 C99 212.31 89 211.51 79 210.71 C75.5 210.43 72 210.15 68.5 209.87 C67 209.75 65.5 209.63 64 209.51 C63.67 209.49 63 209.1 63 209.43 Z" },- { fill: "#0d0a10", d: "M201.5 97.49 C164.5 98.63 127.5 99.77 90.5 100.91 C78 101.29 65.5 101.68 53 102.06 C48.3 102.21 42.56 101.73 38 102.52 C37.48 102.61 36.82 102.58 36.5 103 C36.25 103.33 36.5 109.62 36.5 110.5 C36.5 118 36.5 125.5 36.5 133 C36.5 133.71 36.42 140.42 36.5 140.5 C36.65 140.65 44.6 140.32 45.5 140.29 C55 140 64.5 139.71 74 139.42 C105.5 138.45 137 137.48 168.5 136.51 C177 136.25 185.5 135.98 194 135.72 C195.18 135.69 202.47 135.84 203 135.45 C203.86 134.81 203.5 127.83 203.5 126.5 C203.5 119 203.5 111.5 203.5 104 C203.5 103.31 203.7 98.26 203.5 98 C203.04 97.39 202.15 97.47 201.5 97.49 Z" },- ],- },- vampire: {- id: "vampire",- name: "Vampire",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 150, dx: 28, w: 22, h: 42, round: 38, ink: "#7a0f24", mouth: true, mouthInk: "#7a0f24", mouthY: null},- clip: "M90.5 74.47 C84.48 75.44 78.4 77.7 72.5 79.27 C70.54 79.79 64.93 80.75 63.5 81.67 C61.68 82.85 59.36 87.13 58.03 89 C49.89 100.39 47.02 115.7 46.19 129.5 C44.07 165.18 60.28 205.2 94.5 220.49 C105.75 225.51 118.34 227.21 130.5 225.09 C176.27 217.11 198.13 165.57 193.28 123.5 C192.29 114.91 189.54 100.92 185.19 93.5 C183.7 90.97 181.7 88.63 180 86.24 C179.11 85 178.17 83 177 82.04 C175.59 80.88 159.05 77.02 156 76.2 C154.71 75.86 149.54 74.05 148.5 74.47 C147.76 74.76 145.18 78.26 144.5 79.04 C140.5 83.61 136.5 88.18 132.5 92.75 C129.5 96.18 126.5 99.61 123.5 103.04 C122.66 103.99 121.5 106 120 106 C118.37 106 114.64 100.91 113.5 99.61 C108.17 93.51 102.83 87.42 97.5 81.32 C96.28 79.93 92.06 74.22 90.5 74.47 Z",- parts: [- { fill: "#3d3d3d", d: "M23 108.27 C21.28 109.28 22.11 112.42 22.18 114 C22.41 119 22.63 124 22.86 129 C23.63 146 24.41 163 25.18 180 C25.33 183.4 25.18 197.44 26.68 199.5 C28.01 201.33 30.32 202.94 31.97 204.5 C37.79 210 43.62 215.5 49.44 221 C52.16 223.57 60.5 232.29 63 233.73 C64.91 234.82 77.88 237.02 81 237.69 C90.5 239.72 100 241.76 109.5 243.8 C112.77 244.5 116.66 246 120 246 C123.19 246 143.69 240.97 148.5 239.94 C152.57 239.07 175.06 234.84 177 233.73 C179.54 232.27 183.95 227.24 186.32 225 C192.55 219.12 198.77 213.24 205 207.36 C207.09 205.39 213.34 200.67 214 198.02 C214.74 195.06 214.65 183.83 214.82 180 C215.39 167.5 215.96 155 216.52 142.5 C216.91 134 217.3 125.5 217.68 117 C217.77 115.16 218.7 109.27 217 108.27 C214.68 106.91 211.26 112.91 210.04 114.5 C203.36 123.24 196.68 131.97 190 140.71 C183.68 148.97 177.36 157.24 171.04 165.5 C169.44 167.59 164.63 174.77 163.01 176 C161.21 177.37 157.66 177.66 155.5 178.25 C149 180.02 142.5 181.79 136 183.56 C132.6 184.49 122.37 188.05 119.5 187.79 C117.06 187.57 114.37 186.39 112 185.75 C105 183.84 98 181.93 91 180.02 C88.54 179.35 79.05 177.31 77.5 176.34 C75.46 175.05 71.68 169.06 70 166.86 C64 159.02 58 151.17 52 143.32 C45 134.17 38 125.02 31 115.86 C29.7 114.17 25.29 106.92 23 108.27 Z" },- { fill: "accent", d: "M31 129.08 C30.83 129.18 31.08 133.51 31.1 134 C31.3 138.5 31.51 143 31.71 147.5 C32.23 159 32.76 170.5 33.28 182 C33.38 184.26 33.26 194.09 34.09 195.5 C35.17 197.32 41.21 202.22 43.09 204 C48.73 209.32 54.36 214.65 60 219.97 C62.03 221.89 64.08 224.44 66.39 226 C68.95 227.74 86.26 230.63 90.5 231.54 C96.75 232.88 105.4 235.43 111.5 236 C115.59 236.38 125.58 236.47 129.5 235.83 C137.54 234.51 145.53 232.39 153.5 230.69 C156.99 229.94 170.79 227.62 173 226.51 C175.03 225.49 180.56 219.44 182.5 217.61 C187.67 212.73 192.83 207.85 198 202.97 C199.86 201.22 204.77 197.42 205.91 195.5 C206.62 194.3 206.5 186.83 206.58 185 C207.02 175.5 207.45 166 207.88 156.5 C208.2 149.5 208.52 142.5 208.83 135.5 C208.92 133.72 209.19 129.54 209.11 129.5 C208.57 129.27 203.65 136.03 202.52 137.5 C195.52 146.66 188.51 155.83 181.5 164.99 C178.96 168.31 169.94 181.38 167.31 183 C164.18 184.92 155.89 186.43 152 187.49 C144.5 189.54 137 191.58 129.5 193.63 C126.63 194.41 123.47 195.74 120.5 195.98 C117.18 196.25 111.81 193.99 108.5 193.08 C100.5 190.9 92.5 188.72 84.5 186.54 C81.26 185.65 75.08 184.81 72.5 182.87 C69.62 180.71 59.01 165.66 56 161.72 C49.67 153.44 43.33 145.16 37 136.88 C34.7 133.87 31.03 129.05 31 129.08 Z" },- { fill: "#f2eef4", d: "M112.5 46.46 C98.93 48.14 86.29 54.43 76.15 63.5 C44.86 91.51 38.25 141.01 54.77 178.5 C67.45 207.29 95.18 229.81 128 225.47 C141.63 223.67 154.29 217.22 164.4 208 C195.36 179.76 201.71 130.34 185.01 93 C172.31 64.61 144.93 42.44 112.5 46.46 Z" },- { fill: "#3d3d3d", d: "M112 42.49 C89.7 45.35 70.68 59.42 58.6 78 C55.5 82.75 52.85 87.79 50.63 93 C50.47 93.36 48.79 97.47 48.83 97.5 C49.49 97.91 52.03 93.96 52.36 93.5 C54.54 90.45 59.14 82.93 61.5 80.7 C63.5 78.81 80.21 75.14 84 74.13 C85.49 73.74 90.24 71.93 91.5 72.13 C93.06 72.39 96.82 77.5 98 78.86 C103.33 84.95 108.67 91.05 114 97.14 C115.67 99.05 117.33 100.95 119 102.86 C119.33 103.24 119.49 104 120 104 C120.51 104 120.67 103.24 121 102.86 C123 100.57 125 98.29 127 96 C132 90.29 137 84.57 142 78.86 C142.67 78.09 147.64 72.11 148 72 C148.73 71.78 154.39 73.71 155.5 74 C158.39 74.77 176.92 79.22 178 80 C179.49 81.07 186.35 91.69 188 94 C188.99 95.38 190.99 98.2 191 98.2 C191.69 97.94 188.7 91.44 188.27 90.5 C184.89 83.14 180.63 76.18 175.5 69.92 C160.15 51.18 136.5 39.36 112 42.49 Z" },- ],- },- spider: {- id: "spider",- name: "Spider",- paint: "bot",- bone: null,- eyes: {cx: 120, cy: 142, dx: 28, w: 24, h: 46, round: 40, ink: "#0d0a10", mouth: true, mouthInk: "#0d0a10", mouthY: null},- clip: "M111.5 64.49 C100.9 65.75 90.63 69.24 81.5 74.8 C73.1 79.92 65.76 86.72 60 94.69 C29.57 136.79 51.51 197.11 102 209.78 C110.8 211.98 120 212.55 129 211.45 C139.53 210.16 149.8 206.59 158.82 201 C202.82 173.75 205.99 110.29 164.67 79 C157.16 73.32 148.58 69.1 139.5 66.62 C130.43 64.14 120.84 63.38 111.5 64.49 Z",- parts: [- { fill: "#8d8d8d", d: "M119.5 -1.2 C118.33 -0.73 118.7 8.01 118.7 9.5 C118.7 20 118.7 30.5 118.7 41 C118.7 48 118.7 55 118.7 62 C118.7 62.99 117.97 68.21 120.5 67.2 C121.67 66.73 121.3 57.99 121.3 56.5 C121.3 46 121.3 35.5 121.3 25 C121.3 18 121.3 11 121.3 4 C121.3 3.01 122.03 -2.21 119.5 -1.2 Z" },- { fill: "#3d3d3d", d: "M26 56.34 C22.33 58.06 6.97 75.56 3 79.77 C0.83 82.08 -2.54 85.01 -0.33 88.5 C0.9 90.45 3.25 91.52 5.5 90.77 C8.52 89.76 18.53 79.17 21.5 76.37 C22.78 75.17 26.71 70.42 28.5 71.33 C29.8 71.99 35.57 78.91 37.05 80.5 C43.27 87.17 49.49 93.83 55.71 100.5 C59.14 104.17 63.66 111.14 69.46 107.5 C76.32 103.2 70.53 97.33 67 93.69 C57.67 84.04 48.33 74.39 39 64.74 C36.15 61.79 30.77 54.11 26 56.34 Z M210 56.34 C206.02 58.21 200.28 65.48 197 68.88 C190.51 75.58 184.02 82.29 177.53 89 C174.72 91.91 171.28 94.74 168.88 98 C165.76 102.22 168.57 108.5 174 108.5 C178.19 108.5 180.94 104.08 183.5 101.35 C190.5 93.84 197.5 86.34 204.5 78.83 C205.33 77.95 211.72 70.85 212 70.8 C212.81 70.63 216.85 74.82 217.5 75.43 C221.83 79.51 226.17 83.6 230.5 87.68 C232.57 89.63 234.89 92.04 238 90.58 C240.63 89.35 241.87 86.06 240.33 83.5 C238.37 80.24 222.75 64.66 219 60.68 C216.77 58.32 213.77 54.57 210 56.34 Z M10 100.34 C6.57 101.78 5.82 105.35 4.59 108.5 C2.09 114.91 -3.16 126.5 -4.77 132.5 C-5.53 135.33 -3.96 138.26 -1 138.9 C0.61 139.25 2.32 138.71 3.5 137.57 C5.71 135.43 10 124.43 11.6 121 C12.42 119.26 13.6 114.34 16 114.47 C17.05 114.52 22.23 117.36 23.5 117.95 C30 120.96 36.5 123.98 43 126.99 C46.52 128.62 51.06 131.92 55 129.77 C59.03 127.57 59.76 121.75 56 118.88 C52.96 116.56 27.09 106.04 21.5 103.6 C18.36 102.23 13.53 98.87 10 100.34 Z M226 100.34 C219.38 102.72 212.95 106.02 206.5 108.84 C199.54 111.87 192.26 114.55 185.5 118 C180.19 120.71 180.18 128.78 186.5 130.32 C190.04 131.19 193.9 128.43 196.98 127 C203.45 124 209.92 121 216.39 118 C218.23 117.14 222.07 114.72 223.93 114.5 C226.17 114.23 227.56 119.21 228.4 121 C229.98 124.38 234.35 135.35 236.43 137.5 C237.58 138.69 239.38 139.25 241 138.9 C243.96 138.26 245.53 135.33 244.77 132.5 C243.68 128.44 241.63 124.42 240.1 120.5 C237.96 115.03 236.1 109.34 233.66 104 C232.3 101.03 229.26 99.18 226 100.34 Z M44 145.99 C35 146.55 26 147.11 17 147.68 C13.65 147.89 9.05 147.35 7 150.69 C5.17 153.67 4.75 159.49 4.03 163 C2.4 170.92 0.13 178.98 -0.9 187 C-1.28 189.93 0.44 192.59 3.5 192.97 C6.77 193.39 8.45 190.72 9.17 188 C11.04 181 12.89 174 14.75 167 C15.25 165.14 15.54 160.73 17.5 159.8 C18.46 159.34 24.99 159.52 26.5 159.46 C31.8 159.26 49.63 159.28 53.5 158.32 C58.63 157.06 60.29 150.15 56 146.88 C52.8 144.44 47.71 145.76 44 145.99 Z M186 145.82 C179.25 148.05 180.72 157.67 187.5 158.48 C195.76 159.46 206 159.18 214.5 159.5 C216.14 159.56 222.53 159.3 223.5 160.42 C224.25 161.29 225.14 166.61 225.51 168 C227.36 174.96 228.87 182.15 231.09 189 C232.47 193.22 237.75 194.57 240.33 190.5 C242.19 187.56 238.67 176.18 237.92 172.5 C237.05 168.24 234.71 152.61 232.5 150.03 C230.09 147.23 225.33 147.82 222 147.61 C214 147.11 206 146.61 198 146.11 C194.69 145.91 189.07 144.8 186 145.82 Z M62 171.82 C59.08 172.78 56.4 175.64 54 177.5 C47.94 182.16 41.87 186.83 35.81 191.5 C33.36 193.38 28.56 196.15 27 198.69 C25.09 201.8 24.02 214.22 23.36 218.5 C22.82 221.95 20.49 232.18 21.1 235 C21.37 236.25 21.99 237.19 23 238 C27 241.21 30.4 237.25 31.23 233.5 C32.65 227.01 34.08 220.52 35.5 214.03 C36.06 211.47 36.18 207.04 38 205.05 C39.42 203.49 41.79 202.27 43.5 201.03 C49.44 196.69 55.39 192.34 61.33 188 C63.95 186.09 67.63 184.22 69.48 181.5 C72.84 176.54 67.56 169.97 62 171.82 Z M174 171.82 C168.53 173.63 168.37 180.28 172.5 183.49 C179.62 189.04 187.12 194.17 194.41 199.5 C196.09 200.73 201.55 204.03 202.5 205.41 C203.45 206.81 203.88 211.21 204.27 213 C205.7 219.5 207.13 226 208.55 232.5 C209.34 236.06 211.26 240.8 216 238.58 C217.67 237.8 218.74 236.33 218.97 234.5 C219.36 231.5 217.12 221.59 216.56 218 C215.98 214.28 214.65 200.87 212.87 198.5 C210.6 195.47 194.7 184.19 190.55 181 C186.69 178.02 179.05 170.14 174 171.82 Z" },- { fill: "body", d: "M111.5 64.49 C100.9 65.75 90.63 69.24 81.5 74.8 C73.1 79.92 65.76 86.72 60 94.69 C29.57 136.79 51.51 197.11 102 209.78 C110.8 211.98 120 212.55 129 211.45 C139.53 210.16 149.8 206.59 158.82 201 C202.82 173.75 205.99 110.29 164.67 79 C157.16 73.32 148.58 69.1 139.5 66.62 C130.43 64.14 120.84 63.38 111.5 64.49 Z" },- ],- },-};diff --git a/src/components/Avatar.tsx b/src/components/Avatar.tsxindex bf9c9eec19..34b0493656 100644--- a/src/components/Avatar.tsx+++ b/src/components/Avatar.tsx@@ -13,8 +13,8 @@ import { CHROME_EYES, CHROME_GRADIENT, MAUS_COLORS, type MausColor, type MausMotimport { CursorAvatar, type CursorAvatarHandle } from "./CursorAvatar";import { avatarCropRadius, botAvatarProfile, clampAvatarFocus, clampAvatarZoom, mascotFaceInk, type BotAvatarCrop, type MascotFaceColor } from "../../shared/bot-avatar";import { MASCOT_BODIES, botMascotBody } from "../../shared/mascot-bodies";-import { isHalloweenBody, type BotBodyId } from "../../shared/bot-body";-import { useHalloweenDressed, wornBody } from "@/lib/halloween-dress";+import { isCarvedBody, type BotBodyId } from "../../shared/bot-body";+import { useFestivalDress, wornBody } from "@/lib/festival-dress";import { t } from "@/lib/i18n";import { CarvedAvatar } from "./CarvedAvatar";import { steelBodyImage } from "@/lib/steel-body";@@ -101,7 +101,7 @@ export type MausAvatarProps = {function MausAvatarComponent(props: MausAvatarProps, ref: React.Ref<MausAvatarHandle>) {const { bodyId, color, size, state, motion, motionKey, gaze, trackPointer, animated, label } = props;- if (isHalloweenBody(bodyId)) {+ if (isCarvedBody(bodyId)) {return (<CarvedAvatarref={ref}@@ -247,7 +247,7 @@ export function resolveBotAvatarOutcome(params: {export function BotAvatar({ bot, size = 44, label, readable = false, ...mascotProps }: BotAvatarProps) {const profile = botAvatarProfile(bot);- const dressed = useHalloweenDressed();+ const festival = useFestivalDress();const [imageFailed, setImageFailed] = useState(false);useEffect(() => setImageFailed(false), [profile.avatarUrl]);@@ -261,7 +261,7 @@ export function BotAvatar({ bot, size = 44, label, readable = false, ...mascotPrif (outcome !== "flatImage") {return (<MausAvatar- bodyId={wornBody(bot.mascotBody, bot.color, dressed)}+ bodyId={wornBody(bot.mascotBody, bot.color, festival)}{...mascotProps}color={bot.color}faceColor={bot.mascotFaceColor}diff --git a/src/components/BotProfileAvatarCard.test.ts b/src/components/BotProfileAvatarCard.test.tsindex 4390c1708d..fce5ee9c64 100644--- a/src/components/BotProfileAvatarCard.test.ts+++ b/src/components/BotProfileAvatarCard.test.ts@@ -4,7 +4,7 @@ import { describe, expect, it, vi } from "vitest";import { StoreProvider, type Bot } from "@/state/store";import { MASCOT_BODY_IDS, MASCOT_BODIES } from "../../shared/mascot-bodies";-import { HALLOWEEN_BODIES, HALLOWEEN_BODY_IDS } from "../../shared/halloween-bodies";+import { CARVED_BODIES, DIWALI_BODY_IDS, HALLOWEEN_BODY_IDS } from "../../shared/carved-bodies";import { BotProfileAvatarCard } from "./BotProfileAvatarCard";function makeBot(overrides: Partial<Bot> = {}): Bot {@@ -48,14 +48,16 @@ describe("BotProfileAvatarCard body picker", () => {}});- it("offers the Halloween bodies in their own row", () => {- const markup = renderCard(makeBot({ mascotBody: "witch" }));+ it("offers each festival's bodies in their own row", () => {+ const markup = renderCard(makeBot({ mascotBody: "jalebi" }));expect(markup).toContain(">Halloween<");- for (const id of HALLOWEEN_BODY_IDS) {- expect(markup).toContain(`aria-label="Use the ${HALLOWEEN_BODIES[id].name} body"`);+ expect(markup).toContain(">Diwali<");+ for (const id of [...HALLOWEEN_BODY_IDS, ...DIWALI_BODY_IDS]) {+ expect(markup).toContain(`aria-label="Use the ${CARVED_BODIES[id].name} body"`);}- expect(markup).toContain(`aria-pressed="true" aria-label="Use the ${HALLOWEEN_BODIES.witch.name} body"`);+ expect(markup).toContain(`aria-pressed="true" aria-label="Use the ${CARVED_BODIES.jalebi.name} body"`);+ expect(markup).toContain(`aria-pressed="false" aria-label="Use the ${CARVED_BODIES.witch.name} body"`);});it("marks the current body pressed and the rest unpressed, defaulting to cursor", () => {diff --git a/src/components/BotProfileAvatarCard.tsx b/src/components/BotProfileAvatarCard.tsxindex 19a9120083..337ceb63e9 100644--- a/src/components/BotProfileAvatarCard.tsx+++ b/src/components/BotProfileAvatarCard.tsx@@ -12,13 +12,12 @@ import {} from "@/lib/mascot";import { BOT_AVATAR_CROPS } from "../../shared/bot-avatar";import { MASCOT_BODY_IDS } from "../../shared/mascot-bodies";-import { HALLOWEEN_BODY_IDS } from "../../shared/halloween-bodies";-import type { BotBodyId } from "../../shared/bot-body";+import { FESTIVAL_IDS, FESTIVALS, type BotBodyId } from "../../shared/bot-body";import { BotAvatar, MausAvatar } from "./Avatar";import { AvatarImageGenerator } from "./AvatarImageGenerator";import { AvatarFraming, OrganizationAvatarIcons, RESET_MASCOT_PATCH, useAvatarImage, type AvatarPatch } from "./avatar-editing";import { t } from "@/lib/i18n";-import { bodyName, colorName, expressionName } from "@/lib/mascot-names";+import { bodyName, colorName, expressionName, festivalName } from "@/lib/mascot-names";import { MascotFaceColorPicker } from "./MascotFaceColorPicker";export function BotProfileAvatarCard({@@ -173,14 +172,18 @@ export function BotProfileAvatarCard({<BodyButton key={id} id={id} name={bodyName(id)} bot={bot} busy={busy} onPatch={onPatch} />))}</div>- <div className="mb-2 mt-4 text-[12px] font-medium uppercase tracking-[0.08em] text-ink-secondary">- {t("botPanel.avatar.halloween")}- </div>- <div className="grid grid-cols-5 gap-1.5" data-halloween-bodies>- {HALLOWEEN_BODY_IDS.map((id) => (- <BodyButton key={id} id={id} name={bodyName(id)} bot={bot} busy={busy} onPatch={onPatch} />- ))}- </div>+ {FESTIVAL_IDS.map((festival) => (+ <div key={festival}>+ <div className="mb-2 mt-4 text-[12px] font-medium uppercase tracking-[0.08em] text-ink-secondary">+ {festivalName(festival)}+ </div>+ <div className="grid grid-cols-5 gap-1.5" data-festival-bodies={festival}>+ {FESTIVALS[festival].bodies.map((id) => (+ <BodyButton key={id} id={id} name={bodyName(id)} bot={bot} busy={busy} onPatch={onPatch} />+ ))}+ </div>+ </div>+ ))}</>)}diff --git a/src/components/BotSettingsDialog.simple.test.ts b/src/components/BotSettingsDialog.simple.test.tsindex eef31b7c81..1c208dd42c 100644--- a/src/components/BotSettingsDialog.simple.test.ts+++ b/src/components/BotSettingsDialog.simple.test.ts@@ -502,12 +502,13 @@ describe("the hero", () => {describe("the avatar editor", () => {const editor = (bot: Bot) => capture(() => AvatarEditorCard({ bot, activeState: "idle", onPatch: patch, onClose }));- it("shows the ten bodies and twelve colors, with the Halloween bodies and the faces behind More looks", () => {+ it("shows the ten bodies and twelve colors, with the festival bodies and the faces behind More looks", () => {const bot = makeBot();const rendered = editor(bot);expect(rendered.html.match(/aria-label="Use the \w+ body"/g)).toHaveLength(10);expect(rendered.html.match(/aria-label="Use \w+ mascot color"/g)).toHaveLength(12);expect(rendered.html).not.toContain(">Halloween<");+ expect(rendered.html).not.toContain(">Diwali<");expect(has(rendered, "data-avatar-face", "idle")).toBe(false);expect(find(rendered, "aria-label", "Use the Cursor body").props["aria-pressed"]).toBe(true);click(find(rendered, "aria-label", "Use the Blob body"));@@ -527,19 +528,24 @@ describe("the avatar editor", () => {click(more);const open = editor(bot);expect(find(open, "data-avatar-more").props["aria-expanded"]).toBe(true);- expect(open.html.match(/aria-label="Use the \w+ body"/g)).toHaveLength(20);+ expect(open.html.match(/aria-label="Use the [\w ]+ body"/g)).toHaveLength(30);expect(open.html).toContain(">Halloween<");+ expect(open.html).toContain(">Diwali<");click(find(open, "aria-label", "Use the Pumpkin body"));expect(patch).toHaveBeenLastCalledWith({ mascotBody: "pumpkin" });+ click(find(open, "aria-label", "Use the Kaju katli body"));+ expect(patch).toHaveBeenLastCalledWith({ mascotBody: "katli" });expect(find(open, "data-avatar-face", "idle").props["aria-pressed"]).toBe(true);click(find(open, "data-avatar-face", "proud"));expect(patch).toHaveBeenLastCalledWith({ mascotExpression: "proud" });expect(open.html).toContain(">Proud<");});- it("opens More looks at once for a Halloween body or a chosen face", () => {+ it("opens More looks at once for a festival body or a chosen face", () => {expect(find(editor(makeBot({ mascotBody: "pumpkin" })), "data-avatar-more").props["aria-expanded"]).toBe(true);fresh();+ expect(find(editor(makeBot({ mascotBody: "laddu" })), "data-avatar-more").props["aria-expanded"]).toBe(true);+ fresh();expect(find(editor(makeBot({ mascotExpression: "proud" })), "data-avatar-more").props["aria-expanded"]).toBe(true);fresh();expect(find(editor(makeBot()), "data-avatar-more").props["aria-expanded"]).toBe(false);diff --git a/src/components/CarvedAvatar.test.ts b/src/components/CarvedAvatar.test.tsindex 0a83328b11..d6d1456bc0 100644--- a/src/components/CarvedAvatar.test.ts+++ b/src/components/CarvedAvatar.test.ts@@ -4,17 +4,17 @@ import { describe, expect, it } from "vitest";import { CarvedAvatar, REST_POSE, carvedFills, carvedGeometry } from "./CarvedAvatar";import { MausAvatar } from "./Avatar";-import { HALLOWEEN_BODIES, HALLOWEEN_BODY_IDS } from "../../shared/halloween-bodies";+import { CARVED_BODIES, CARVED_BODY_IDS } from "../../shared/carved-bodies";import { MAUS_COLORS } from "@/lib/mascot";-const render = (body: (typeof HALLOWEEN_BODY_IDS)[number], color: "orange" | "purple" = "orange") =>+const render = (body: (typeof CARVED_BODY_IDS)[number], color: "orange" | "purple" = "orange") =>renderToStaticMarkup(createElement(CarvedAvatar, { body, color, animated: false, label: body }));describe("CarvedAvatar", () => {it("draws every part, two eyes, and a smile unless the drawing has its own mouth", () => {- for (const id of HALLOWEEN_BODY_IDS) {+ for (const id of CARVED_BODY_IDS) {const markup = render(id);- const body = HALLOWEEN_BODIES[id];+ const body = CARVED_BODIES[id];expect(markup).toContain(`data-carved-body="${id}"`);expect(markup.match(/<rect /g)?.length, id).toBe(2);expect(markup.match(/<path /g)?.length, id).toBe(body.parts.length + 1 + (body.eyes.mouth ? 1 : 0));@@ -22,21 +22,27 @@ describe("CarvedAvatar", () => {}});- it("is what MausAvatar wears for a Halloween body", () => {- const markup = renderToStaticMarkup(createElement(MausAvatar, { color: "orange", bodyId: "pumpkin", animated: false }));- expect(markup).toContain('data-carved-body="pumpkin"');+ it.each(["pumpkin", "laddu"] as const)("is what MausAvatar wears for the %s body", (bodyId) => {+ const markup = renderToStaticMarkup(createElement(MausAvatar, { color: "orange", bodyId, animated: false }));+ expect(markup).toContain(`data-carved-body="${bodyId}"`);expect(markup).not.toContain("linearGradient");});it("fills flat with the bot's colour, pale for the ghost, bone for the skull", () => {expect(render("pumpkin")).not.toContain("linearGradient");- expect(carvedFills(HALLOWEEN_BODIES.pumpkin, "orange").body).not.toBe(MAUS_COLORS.orange);- expect(carvedFills(HALLOWEEN_BODIES.ghost, "purple").body).toMatch(/^#[e-f]/);- expect(carvedFills(HALLOWEEN_BODIES.skull, "purple").body).toBe(HALLOWEEN_BODIES.skull.bone);+ expect(carvedFills(CARVED_BODIES.pumpkin, "orange").body).not.toBe(MAUS_COLORS.orange);+ expect(carvedFills(CARVED_BODIES.ghost, "purple").body).toMatch(/^#[e-f]/);+ expect(carvedFills(CARVED_BODIES.skull, "purple").body).toBe(CARVED_BODIES.skull.bone);+ });++ it("paints firecrackers in the bot's colour and sweets in their own", () => {+ expect(carvedFills(CARVED_BODIES.rocket, "blue").body).toBe(carvedFills(CARVED_BODIES.pumpkin, "blue").body);+ expect(carvedFills(CARVED_BODIES.laddu, "blue").body).toBe(CARVED_BODIES.laddu.bone);+ expect(carvedFills(CARVED_BODIES.jalebi, "purple").body).toBe(carvedFills(CARVED_BODIES.jalebi, "green").body);});it("opens round eyes and an open mouth when startled", () => {- const body = HALLOWEEN_BODIES.pumpkin;+ const body = CARVED_BODIES.pumpkin;const rest = carvedGeometry(body, REST_POSE);const wide = carvedGeometry(body, { ...REST_POSE, wide: 1 });expect(rest.eyes[0].height).toBeGreaterThan(rest.eyes[0].width * 1.5);@@ -47,7 +53,7 @@ describe("CarvedAvatar", () => {});it("closes the eyes and follows the gaze", () => {- const body = HALLOWEEN_BODIES.cat;+ const body = CARVED_BODIES.cat;const shut = carvedGeometry(body, { ...REST_POSE, shut: 1 });expect(shut.eyes[0].height).toBeLessThan(body.eyes.h * 0.15);const left = carvedGeometry(body, { ...REST_POSE, gx: -1 });diff --git a/src/components/CarvedAvatar.tsx b/src/components/CarvedAvatar.tsxindex 223f0c07f2..d01f17cb4a 100644--- a/src/components/CarvedAvatar.tsx+++ b/src/components/CarvedAvatar.tsx@@ -9,7 +9,7 @@ import {type PointerEvent as ReactPointerEvent,} from "react";import { MAUS_COLORS, type MausColor, type MausMotion, type MausState } from "@/lib/mascot";-import { HALLOWEEN_BODIES, type HalloweenBody, type HalloweenBodyId } from "../../shared/halloween-bodies";+import { CARVED_BODIES, type CarvedBody, type CarvedBodyId } from "../../shared/carved-bodies";import type { CursorAvatarHandle } from "./CursorAvatar";import { mascotClock, usePrefersReducedMotion } from "./mascot-clock";import { frameFloorMs, nextFrameAt } from "./mascot-motion";@@ -43,7 +43,7 @@ export type CarvedGeometry = {const r2 = (n: number) => Math.round(n * 100) / 100;/** Every attribute the face needs for a pose. */-export function carvedGeometry(body: HalloweenBody, p: CarvedPose): CarvedGeometry {+export function carvedGeometry(body: CarvedBody, p: CarvedPose): CarvedGeometry {const e = body.eyes;const ax = Math.abs(p.gx);const lean = -p.gx * 9;@@ -135,7 +135,7 @@ export function vivid(hex: string): string {return `#${[ch(h + 1 / 3), ch(h), ch(h - 1 / 3)].map((v) => Math.round(v * 255).toString(16).padStart(2, "0")).join("")}`;}-export function carvedFills(body: HalloweenBody, color: MausColor): { body: string; accent: string } {+export function carvedFills(body: CarvedBody, color: MausColor): { body: string; accent: string } {const accent = vivid(MAUS_COLORS[color] ?? MAUS_COLORS.green);if (body.paint === "bone") return { body: body.bone ?? "#f1ede6", accent };if (body.paint === "pale") return { body: mix(MAUS_COLORS[color] ?? MAUS_COLORS.green, "#ffffff", 0.86), accent };@@ -143,7 +143,7 @@ export function carvedFills(body: HalloweenBody, color: MausColor): { body: stri}export type CarvedAvatarProps = {- body: HalloweenBodyId;+ body: CarvedBodyId;color: MausColor;faceColor?: MascotFaceColor | null;size?: number;@@ -160,7 +160,7 @@ function CarvedAvatarComponent({ body: bodyId, color, faceColor, size = 44, state = "idle", motion = "none", motionKey = 0, gaze, trackPointer = true, animated = true, label }: CarvedAvatarProps,ref: React.Ref<CursorAvatarHandle>,) {- const body = HALLOWEEN_BODIES[bodyId];+ const body = CARVED_BODIES[bodyId];const faceInk = mascotFaceInk(faceColor);const uid = useId().replace(/:/g, "");const reduced = usePrefersReducedMotion();diff --git a/src/components/SkinPicker.tsx b/src/components/SkinPicker.tsxindex 1cafdce653..d52c3cdcd0 100644--- a/src/components/SkinPicker.tsx+++ b/src/components/SkinPicker.tsx@@ -4,8 +4,8 @@ import { Check } from "lucide-react";import { SKINS, applySkin, resolveSkin, type SkinId } from "@/lib/skins";import { cn } from "@/lib/cn";import { t, tFromServer } from "@/lib/i18n";-import { setDressUp, useDressUp } from "@/lib/halloween-dress";-import type { HalloweenBodyId } from "../../shared/halloween-bodies";+import { setDressUp, useDressUp } from "@/lib/festival-dress";+import { FESTIVALS, isFestival, type CostumeColor, type FestivalId } from "../../shared/bot-body";import { MausAvatar } from "./Avatar";import { Switch } from "./SettingsPrimitives";import { useSkinChoice } from "./ThemeRow";@@ -53,21 +53,19 @@ function Miniature({ skin }: { skin: SkinId }) {);}-const DRESS_UP_PREVIEW: ReadonlyArray<[HalloweenBodyId, "orange" | "purple" | "teal" | "red"]> = [- ["pumpkin", "orange"],- ["ghost", "purple"],- ["witch", "teal"],- ["bat", "red"],-];+const DRESS_UP_PREVIEW: Record<FestivalId, readonly CostumeColor[]> = {+ halloween: ["orange", "purple", "teal", "red"],+ diwali: ["red", "orange", "pink", "coral"],+};-export function DressUpRow() {+export function DressUpRow({ festival }: { festival: FestivalId }) {const dressed = useDressUp();const title = t("settings.skin.dressUp.title");return (<div data-dress-up className="mt-4 flex items-center gap-4 rounded-xl border border-accent-border/40 bg-accent/[0.06] p-3"><div className="flex shrink-0 -space-x-1.5" aria-hidden="true">- {DRESS_UP_PREVIEW.map(([body, color]) => (- <MausAvatar key={body} color={color} bodyId={body} size={30} animated={false} trackPointer={false} />+ {DRESS_UP_PREVIEW[festival].map((color) => (+ <MausAvatar key={color} color={color} bodyId={FESTIVALS[festival].costumes[color]} size={30} animated={false} trackPointer={false} />))}</div><div className="min-w-0 flex-1">@@ -116,7 +114,7 @@ export function SkinPicker() {);})}</div>- {active === "halloween" && <DressUpRow />}+ {isFestival(active) && <DressUpRow festival={active} />}</>);}diff --git a/src/components/bot-panel/AvatarEditorCard.tsx b/src/components/bot-panel/AvatarEditorCard.tsxindex 4f5f50c821..124d48dec9 100644--- a/src/components/bot-panel/AvatarEditorCard.tsx+++ b/src/components/bot-panel/AvatarEditorCard.tsx@@ -3,14 +3,13 @@ import { ChevronDown, ImagePlus, Loader2, Trash2 } from "lucide-react";import { cn } from "@/lib/cn";import { t } from "@/lib/i18n";-import { bodyName, colorName } from "@/lib/mascot-names";+import { bodyName, colorName, festivalName } from "@/lib/mascot-names";import type { LocaleKey } from "@/locales";import { colorSwatch, MAUS_COLOR_LABEL, MAUS_COLOR_NAMES, PICKABLE_STATES, type MausState } from "@/lib/mascot";import type { Bot } from "@/state/store";import { MASCOT_BODY_IDS } from "../../../shared/mascot-bodies";-import { HALLOWEEN_BODY_IDS } from "../../../shared/halloween-bodies";-import { isHalloweenBody, type BotBodyId } from "../../../shared/bot-body";-import { useHalloweenDressed, wornBody } from "@/lib/halloween-dress";+import { FESTIVAL_IDS, FESTIVALS, isCarvedBody, type BotBodyId } from "../../../shared/bot-body";+import { useFestivalDress, wornBody } from "@/lib/festival-dress";import { MausAvatar } from "../Avatar";import { AvatarImageGenerator } from "../AvatarImageGenerator";import { AvatarFraming, OrganizationAvatarIcons, RESET_MASCOT_PATCH, useAvatarImage, type AvatarPatch } from "../avatar-editing";@@ -67,10 +66,10 @@ export function AvatarEditorCard({ bot, activeState, onPatch, onClose }: {}, []);const pickMascot = (patch: AvatarPatch) => onPatch(crop === "mascot" ? patch : { ...patch, avatarCrop: "mascot" });const body = bot.mascotBody ?? "cursor";- const dressed = useHalloweenDressed();- const costume = wornBody(bot.mascotBody, bot.color, dressed);- const [moreLooks, setMoreLooks] = useState(() => dressed || isHalloweenBody(body) || Boolean(bot.mascotExpression && bot.mascotExpression !== "idle"));- const dressedAs = costume !== body && isHalloweenBody(costume) ? bodyName(costume) : null;+ const festival = useFestivalDress();+ const costume = wornBody(bot.mascotBody, bot.color, festival);+ const [moreLooks, setMoreLooks] = useState(() => Boolean(festival) || isCarvedBody(body) || Boolean(bot.mascotExpression && bot.mascotExpression !== "idle"));+ const dressedAs = festival && costume !== body && isCarvedBody(costume) ? bodyName(costume) : null;const bodyButton = (id: BotBodyId, name: string) => (<buttonkey={id}@@ -169,13 +168,19 @@ export function AvatarEditorCard({ bot, activeState, onPatch, onClose }: {</button>{moreLooks && (<div data-avatar-more-looks>- <div className="flex flex-wrap items-baseline gap-x-2 px-1 pb-1.5 pt-2 text-[12px] text-ink-tertiary">- <span>{t("botPanel.avatar.halloween")}</span>- {dressedAs && <span data-avatar-costume>{t("botPanel.avatar.costume", { name: dressedAs })}</span>}- </div>- <div className="grid grid-cols-5 gap-1.5" data-halloween-bodies>- {HALLOWEEN_BODY_IDS.map((id) => bodyButton(id, bodyName(id)))}- </div>+ {FESTIVAL_IDS.map((id) => (+ <div key={id}>+ <div className="flex flex-wrap items-baseline gap-x-2 px-1 pb-1.5 pt-2 text-[12px] text-ink-tertiary">+ <span>{festivalName(id)}</span>+ {id === festival && dressedAs && (+ <span data-avatar-costume>{t("botPanel.avatar.costume", { name: dressedAs, skin: festivalName(id) })}</span>+ )}+ </div>+ <div className="grid grid-cols-5 gap-1.5" data-festival-bodies={id}>+ {FESTIVALS[id].bodies.map((bodyId) => bodyButton(bodyId, bodyName(bodyId)))}+ </div>+ </div>+ ))}<div className="flex flex-wrap items-center justify-center gap-1.5 pt-2.5" role="group" aria-label={t("botPanel.avatar.face")}><span className="mr-0.5 text-[12px] text-ink-tertiary">{t("botPanel.avatar.face")}</span>{PICKABLE_STATES.map((expression) => (diff --git a/src/lib/festival-dress.test.ts b/src/lib/festival-dress.test.tsnew file mode 100644index 0000000000..65670db1f0--- /dev/null+++ b/src/lib/festival-dress.test.ts@@ -0,0 +1,53 @@+import { describe, expect, it } from "vitest";++import { DRESS_UP_KEY, readDressUp, setDressUp, wornBody } from "./festival-dress";++describe("festival dress-up", () => {+ it("leaves bots alone unless dressed", () => {+ expect(wornBody("star", "orange", null)).toBe("star");+ expect(wornBody(null, "orange", null)).toBeUndefined();+ });++ it("puts each colour in its costume for the festival it is dressed for", () => {+ expect(wornBody("star", "orange", "halloween")).toBe("pumpkin");+ expect(wornBody(undefined, "purple", "halloween")).toBe("ghost");+ expect(wornBody("star", "orange", "diwali")).toBe("laddu");+ expect(wornBody(undefined, "red", "diwali")).toBe("rocket");+ });++ it("leaves a silver bot in its own body while dressed", () => {+ expect(wornBody("cursor", "silver", "diwali")).toBe("cursor");+ expect(wornBody(undefined, "silver", "halloween")).toBeUndefined();+ expect(wornBody("cursor", "chrome", "diwali")).toBe("cursor");+ });++ it("keeps a body from the same festival the bot already chose, and dresses over any other", () => {+ expect(wornBody("vampire", "orange", "halloween")).toBe("vampire");+ expect(wornBody("jalebi", "orange", "diwali")).toBe("jalebi");+ expect(wornBody("vampire", "orange", "diwali")).toBe("laddu");+ expect(wornBody("jalebi", "orange", "halloween")).toBe("pumpkin");+ });++ it("starts on, and remembers being switched off", () => {+ const store = new Map<string, string>();+ const local = {+ getItem: (k: string) => store.get(k) ?? null,+ setItem: (k: string, v: string) => {+ store.set(k, v);+ },+ };+ const previous = Object.getOwnPropertyDescriptor(globalThis, "localStorage");+ Object.defineProperty(globalThis, "localStorage", { value: local, configurable: true });+ try {+ expect(readDressUp()).toBe(true);+ setDressUp(false);+ expect(store.get(DRESS_UP_KEY)).toBe("0");+ expect(readDressUp()).toBe(false);+ setDressUp(true);+ expect(readDressUp()).toBe(true);+ } finally {+ if (previous) Object.defineProperty(globalThis, "localStorage", previous);+ else Reflect.deleteProperty(globalThis, "localStorage");+ }+ });+});diff --git a/src/lib/halloween-dress.ts b/src/lib/festival-dress.tssimilarity index 56%rename from src/lib/halloween-dress.tsrename to src/lib/festival-dress.tsindex a4a4ea14ed..eb413bb1be 100644--- a/src/lib/halloween-dress.ts+++ b/src/lib/festival-dress.ts@@ -1,8 +1,9 @@import { useSyncExternalStore } from "react";-import { COSTUME_FOR_COLOR, isHalloweenBody, type BotBodyId } from "../../shared/bot-body";+import { FESTIVALS, isFestival, type BotBodyId, type FestivalId } from "../../shared/bot-body";import type { MausColor } from "@/lib/mascot";-export const HALLOWEEN_DRESS_KEY = "omb-halloween-dress";+/** Shared by every festival; the stored key keeps its Halloween name so a saved choice still applies. */+export const DRESS_UP_KEY = "omb-halloween-dress";let sessionChoice: boolean | undefined;const listeners = new Set<() => void>();@@ -19,15 +20,16 @@ function storage(): Storage | undefined {export function readDressUp(): boolean {if (sessionChoice !== undefined) return sessionChoice;try {- return storage()?.getItem(HALLOWEEN_DRESS_KEY) !== "0";+ return storage()?.getItem(DRESS_UP_KEY) !== "0";} catch {return true;}}-function readDressed(): boolean {- if (typeof document === "undefined") return false;- return document.documentElement.dataset.skin === "halloween" && readDressUp();+function readFestival(): FestivalId | null {+ if (typeof document === "undefined") return null;+ const skin = document.documentElement.dataset.skin;+ return isFestival(skin) && readDressUp() ? skin : null;}function notify() {@@ -35,7 +37,7 @@ function notify() {}function onStorage(event: StorageEvent) {- if (event.key !== HALLOWEEN_DRESS_KEY && event.key !== null) return;+ if (event.key !== DRESS_UP_KEY && event.key !== null) return;if (event.storageArea && event.storageArea !== storage()) return;sessionChoice = undefined;notify();@@ -63,7 +65,7 @@ function subscribe(listener: () => void): () => void {export function setDressUp(enabled: boolean): void {sessionChoice = enabled;try {- storage()?.setItem(HALLOWEEN_DRESS_KEY, enabled ? "1" : "0");+ storage()?.setItem(DRESS_UP_KEY, enabled ? "1" : "0");} catch {}notify();@@ -73,13 +75,14 @@ export function useDressUp(): boolean {return useSyncExternalStore(subscribe, readDressUp, readDressUp);}-/** True while the Halloween skin is on and the bots are dressed for it. */-export function useHalloweenDressed(): boolean {- return useSyncExternalStore(subscribe, readDressed, () => false);+/** The festival whose skin is on while the bots are dressed for it, or null. */+export function useFestivalDress(): FestivalId | null {+ return useSyncExternalStore(subscribe, readFestival, () => null);}-/** The body a bot shows: its own, or its colour's costume while dressed up. A Halloween body it already wears is kept. */-export function wornBody(body: BotBodyId | null | undefined, color: MausColor, dressed: boolean): BotBodyId | undefined {- if (!dressed || isHalloweenBody(body) || color === "silver" || color === "chrome") return body ?? undefined;- return COSTUME_FOR_COLOR[color];+/** The body a bot shows: its own, or its colour's costume for the festival it is dressed for. A body from that festival it already wears is kept. */+export function wornBody(body: BotBodyId | null | undefined, color: MausColor, festival: FestivalId | null): BotBodyId | undefined {+ if (!festival || color === "silver" || color === "chrome") return body ?? undefined;+ const { bodies, costumes } = FESTIVALS[festival];+ return (bodies as readonly unknown[]).includes(body) ? body ?? undefined : costumes[color];}diff --git a/src/lib/glass-surface.test.ts b/src/lib/glass-surface.test.tsindex 094f628a07..4753548735 100644--- a/src/lib/glass-surface.test.ts+++ b/src/lib/glass-surface.test.ts@@ -3,6 +3,7 @@ import { fileURLToPath } from "node:url";import { dirname, join } from "node:path";import { describe, expect, it } from "vitest";import { glassPopupTopInset } from "./glass-popup";+import { SKIN_IDS } from "./skins";const src = join(dirname(fileURLToPath(import.meta.url)), "..");const css = readFileSync(join(src, "styles.css"), "utf8");@@ -57,7 +58,7 @@ describe("glass surface", () => {it("lives outside every skin block, and every skin still defines the tokens it reads", () => {const blocks = skinBlocks();- expect(blocks).toHaveLength(11);+ expect(blocks).toHaveLength(SKIN_IDS.length);for (const block of blocks) {expect(block).not.toContain("glass");for (const token of ["--color-menu", "--color-card", "--color-ink"]) expect(block).toContain(`${token}:`);diff --git a/src/lib/halloween-dress.test.ts b/src/lib/halloween-dress.test.tsdeleted file mode 100644index 08063bbf80..0000000000--- a/src/lib/halloween-dress.test.ts+++ /dev/null@@ -1,48 +0,0 @@-import { describe, expect, it } from "vitest";--import { HALLOWEEN_DRESS_KEY, readDressUp, setDressUp, wornBody } from "./halloween-dress";--describe("Halloween dress-up", () => {- it("leaves bots alone unless dressed", () => {- expect(wornBody("star", "orange", false)).toBe("star");- expect(wornBody(null, "orange", false)).toBeUndefined();- });-- it("puts each colour in its costume while dressed", () => {- expect(wornBody("star", "orange", true)).toBe("pumpkin");- expect(wornBody(undefined, "purple", true)).toBe("ghost");- });-- it("leaves a silver bot in its own body while dressed", () => {- expect(wornBody("cursor", "silver", true)).toBe("cursor");- expect(wornBody(undefined, "silver", true)).toBeUndefined();- expect(wornBody("cursor", "chrome", true)).toBe("cursor");- });-- it("keeps a Halloween body the bot already chose", () => {- expect(wornBody("vampire", "orange", true)).toBe("vampire");- });-- it("starts on, and remembers being switched off", () => {- const store = new Map<string, string>();- const local = {- getItem: (k: string) => store.get(k) ?? null,- setItem: (k: string, v: string) => {- store.set(k, v);- },- };- const previous = Object.getOwnPropertyDescriptor(globalThis, "localStorage");- Object.defineProperty(globalThis, "localStorage", { value: local, configurable: true });- try {- expect(readDressUp()).toBe(true);- setDressUp(false);- expect(store.get(HALLOWEEN_DRESS_KEY)).toBe("0");- expect(readDressUp()).toBe(false);- setDressUp(true);- expect(readDressUp()).toBe(true);- } finally {- if (previous) Object.defineProperty(globalThis, "localStorage", previous);- else Reflect.deleteProperty(globalThis, "localStorage");- }- });-});diff --git a/src/lib/mascot-names.ts b/src/lib/mascot-names.tsindex 001a627bfb..d770a417aa 100644--- a/src/lib/mascot-names.ts+++ b/src/lib/mascot-names.ts@@ -1,17 +1,18 @@-import { HALLOWEEN_BODIES } from "../../shared/halloween-bodies";+import { CARVED_BODIES } from "../../shared/carved-bodies";import { MASCOT_BODIES } from "../../shared/mascot-bodies";-import type { BotBodyId } from "../../shared/bot-body";+import type { BotBodyId, FestivalId } from "../../shared/bot-body";import type { MausColor } from "../../shared/wire";import { t } from "@/lib/i18n";import { en, type LocaleKey } from "@/locales";-const BODIES = [...Object.values(MASCOT_BODIES), ...Object.values(HALLOWEEN_BODIES)];+const BODIES = [...Object.values(MASCOT_BODIES), ...Object.values(CARVED_BODIES)];const named = (key: string, fallback: string): string => Object.hasOwn(en, key) ? t(key as LocaleKey) : fallback;export const bodyName = (id: BotBodyId): string =>named(`mascot.body.${id}`, BODIES.find((body) => body.id === id)?.name ?? id);export const colorName = (color: MausColor): string => named(`mascot.color.${color}`, color);+export const festivalName = (festival: FestivalId): string => named(`botPanel.avatar.${festival}`, festival);export const expressionName = (state: string): string => named(`mascot.expression.${state}`, state);export function silhouetteName(name: string): string {diff --git a/src/lib/skins.test.ts b/src/lib/skins.test.tsindex cfbd7af5fa..0ab9486901 100644--- a/src/lib/skins.test.ts+++ b/src/lib/skins.test.ts@@ -90,12 +90,15 @@ describe("skins", () => {expect(css).toMatch(/@scope \(\[data-skin="pop"\]:not\(\[data-skin-preview\]\)\) to \(\[data-skin\]\)/);});- it("adds Halloween last, dark, with its atmosphere kept off the picker miniature", () => {- expect(SKIN_IDS.at(-1)).toBe("halloween");- expect(SKINS.find((s) => s.id === "halloween")?.name).toBe("Halloween");- expect(css).toMatch(/@scope \(\[data-skin="halloween"\]:not\(\[data-skin-preview\]\)\) to \(\[data-skin\]\)\s*\{\s*main\.bg-app\s*\{/);- expect(css).toMatch(/@media \(prefers-reduced-motion: reduce\)\s*\{\s*\[data-skin="halloween"\] main\.bg-app::before/);- });+ it.each([["halloween", "Halloween"], ["diwali", "Diwali"]] as const)(+ "adds the %s festival skin at the end, with its atmosphere kept off the picker miniature",+ (id, name) => {+ expect(SKIN_IDS.slice(-2)).toEqual(["halloween", "diwali"]);+ expect(SKINS.find((s) => s.id === id)?.name).toBe(name);+ expect(css).toMatch(new RegExp(`@scope \\(\\[data-skin="${id}"\\]:not\\(\\[data-skin-preview\\]\\)\\) to \\(\\[data-skin\\]\\)\\s*\\{\\s*main\\.bg-app\\s*\\{`));+ expect(css).toMatch(new RegExp(`@media \\(prefers-reduced-motion: reduce\\)\\s*\\{\\s*\\[data-skin="${id}"\\] main\\.bg-app::before`));+ },+ );it("describes each skin exactly once", () => {expect(SKINS.map((s) => s.id).sort()).toEqual([...SKIN_IDS].sort());diff --git a/src/lib/skins.ts b/src/lib/skins.tsindex 49e94702c2..648efea2ca 100644--- a/src/lib/skins.ts+++ b/src/lib/skins.ts@@ -12,6 +12,7 @@ export const SKIN_IDS = ["meadow","pop","halloween",+ "diwali",] as const;export type SkinId = (typeof SKIN_IDS)[number];@@ -33,6 +34,7 @@ export const SKINS: readonly Skin[] = [{ id: "meadow", name: "Meadow", tagline: "Fresh white with a calm green. The MausBot look." },{ id: "pop", name: "Pop", tagline: "Cream paper, thick ink outlines, hard shadows. Chunky and cheerful." },{ id: "halloween", name: "Halloween", tagline: "Plum after dark, lit in pumpkin orange. Bats optional." },+ { id: "diwali", name: "Diwali", tagline: "Indigo night, lit in marigold and diya gold. Fireworks optional." },];/** "system" follows the OS between the light and dark skins below; anything else pins one skin. */diff --git a/src/locales/en.json b/src/locales/en.jsonindex 775f073a84..472d960c1a 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -1704,7 +1704,7 @@"settings.skin.title": "Skin","settings.skin.subtitle": "Applies instantly and is remembered on this machine.","settings.skin.dressUp.title": "Dress my bots up",- "settings.skin.dressUp.subtitle": "Each bot wears a Halloween costume while this skin is on. Their usual look comes back when you change skins.",+ "settings.skin.dressUp.subtitle": "Each bot dresses up for the festival while this skin is on. Their usual look comes back when you change skins.","settings.chatWidth.title": "Chat width","settings.chatWidth.subtitle": "How wide message bubbles can grow on this machine. Wide and Full width use more of a large window.","settings.chatWidth.aria": "Chat width",@@ -4213,8 +4213,9 @@"botPanel.avatar.reset": "Reset","botPanel.avatar.face": "Face","botPanel.avatar.halloween": "Halloween",+ "botPanel.avatar.diwali": "Diwali","botPanel.avatar.more": "More looks",- "botPanel.avatar.costume": "Dressed as the {name} while the Halloween skin is on",+ "botPanel.avatar.costume": "Dressed as the {name} while the {skin} skin is on","botPanel.avatar.drop": "Drop a picture here, or choose one","botPanel.avatar.types": "PNG, JPEG, GIF, or WebP · up to 10 MB","botPanel.avatar.shape": "Shape",@@ -8103,6 +8104,16 @@"mascot.body.mummy": "Mummy","mascot.body.vampire": "Vampire","mascot.body.spider": "Spider",+ "mascot.body.rocket": "Rocket",+ "mascot.body.anaar": "Anaar",+ "mascot.body.chakri": "Chakri",+ "mascot.body.sparkler": "Sparkler",+ "mascot.body.bomb": "Bomb",+ "mascot.body.laddu": "Laddu",+ "mascot.body.chakli": "Chakli",+ "mascot.body.jalebi": "Jalebi",+ "mascot.body.katli": "Kaju katli",+ "mascot.body.karanji": "Karanji","mascot.color.green": "green","mascot.color.blue": "blue","mascot.color.red": "red",@@ -8837,6 +8848,7 @@"skins.tagline.meadow": "Fresh white with a calm green. The MausBot look.","skins.tagline.pop": "Cream paper, thick ink outlines, hard shadows. Chunky and cheerful.","skins.tagline.halloween": "Plum after dark, lit in pumpkin orange. Bats optional.",+ "skins.tagline.diwali": "Indigo night, lit in marigold and diya gold. Fireworks optional.","automations.calendar.cronMove": "Open this automation to change its repeating schedule.","automations.calendar.moveSeries": "Move every time it repeats?","automations.address.copyAddressFailed": "Couldn't copy the address",diff --git a/src/locales/it.json b/src/locales/it.jsonindex de8fe5c0b0..b85a3200a7 100644--- a/src/locales/it.json+++ b/src/locales/it.json@@ -1407,7 +1407,7 @@"settings.skin.title": "Tema","settings.skin.subtitle": "Si applica subito e resta memorizzato su questa macchina.","settings.skin.dressUp.title": "Vesti i miei bot",- "settings.skin.dressUp.subtitle": "Ogni bot indossa un costume di Halloween finché questo tema è attivo. L'aspetto di sempre torna quando cambi tema.",+ "settings.skin.dressUp.subtitle": "Ogni bot si traveste per la festa finché questo tema è attivo. L'aspetto di sempre torna quando cambi tema.","settings.chatWidth.title": "Larghezza della chat","settings.chatWidth.subtitle": "Quanto possono allargarsi le bolle dei messaggi su questa macchina. Ampia e Larghezza piena usano di più una finestra grande.","settings.chatWidth.aria": "Larghezza della chat",@@ -3527,7 +3527,7 @@"botPanel.avatar.tabUpload": "Carica","botPanel.avatar.reset": "Reimposta","botPanel.avatar.face": "Faccia",- "botPanel.avatar.costume": "Vestito da {name} mentre l'aspetto Halloween è attivo",+ "botPanel.avatar.costume": "Vestito da {name} mentre l'aspetto {skin} è attivo","botPanel.avatar.drop": "Trascina qui un'immagine, oppure scegline una","botPanel.avatar.types": "PNG, JPEG, GIF o WebP · fino a 10 MB","botPanel.avatar.shape": "Forma",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex d85fca018a..58681595af 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -1576,7 +1576,7 @@"settings.skin.title": "テーマ","settings.skin.subtitle": "すぐに適用され、このコンピューターに記憶されます。","settings.skin.dressUp.title": "ボットを着飾る",- "settings.skin.dressUp.subtitle": "このスキンがオンの間、各ボットはハロウィンの衣装を着ます。スキンを変更すると、元の見た目に戻ります。",+ "settings.skin.dressUp.subtitle": "このスキンがオンの間、各ボットはお祭りの衣装を着ます。スキンを変更すると、元の見た目に戻ります。","settings.chatWidth.title": "チャットの幅","settings.chatWidth.subtitle": "このマシンでメッセージの吹き出しが広がる幅を設定します。「ワイド」と「全幅」は、大きいウィンドウでより広く表示されます。","settings.chatWidth.aria": "チャットの幅",@@ -4063,7 +4063,7 @@"botPanel.avatar.face": "顔","botPanel.avatar.halloween": "ハロウィン","botPanel.avatar.more": "ほかの見た目",- "botPanel.avatar.costume": "ハロウィンスキンがオンの間は {name} の衣装を着ています",+ "botPanel.avatar.costume": "{skin}スキンがオンの間は {name} の衣装を着ています","botPanel.avatar.drop": "画像をここにドロップするか、選択してください","botPanel.avatar.types": "PNG、JPEG、GIF、WebP · 最大10 MB","botPanel.avatar.shape": "形",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex 6f1b529fbd..8eaff0fdef 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -1498,7 +1498,7 @@"settings.skin.title": "스킨","settings.skin.subtitle": "바로 적용되고 이 기기에 기억돼요.","settings.skin.dressUp.title": "봇 꾸미기",- "settings.skin.dressUp.subtitle": "이 스킨을 쓰는 동안 봇마다 핼러윈 의상을 입어요. 스킨을 바꾸면 원래 모습으로 돌아와요.",+ "settings.skin.dressUp.subtitle": "이 스킨을 쓰는 동안 봇마다 축제 의상을 입어요. 스킨을 바꾸면 원래 모습으로 돌아와요.","settings.chatWidth.title": "채팅 너비","settings.chatWidth.subtitle": "이 기기에서 말풍선이 얼마나 넓어질 수 있는지 정해요. 넓게와 전체 너비는 큰 창을 더 많이 써요.","settings.chatWidth.aria": "채팅 너비",@@ -3874,7 +3874,7 @@"botPanel.avatar.face": "표정","botPanel.avatar.halloween": "핼러윈","botPanel.avatar.more": "더 많은 모습",- "botPanel.avatar.costume": "핼러윈 스킨을 쓰는 동안 {name} 복장",+ "botPanel.avatar.costume": "{skin} 스킨을 쓰는 동안 {name} 복장","botPanel.avatar.drop": "여기에 사진을 끌어다 놓거나 선택하세요","botPanel.avatar.types": "PNG, JPEG, GIF, WebP · 최대 10MB","botPanel.avatar.shape": "모양",diff --git a/src/locales/pl.json b/src/locales/pl.jsonindex fbf926802c..25c25c4211 100644--- a/src/locales/pl.json+++ b/src/locales/pl.json@@ -1428,7 +1428,7 @@"settings.skin.title": "Motyw","settings.skin.subtitle": "Działa natychmiast i jest zapamiętywany na tym komputerze.","settings.skin.dressUp.title": "Przebierz moje boty",- "settings.skin.dressUp.subtitle": "Gdy ten motyw jest włączony, każdy bot nosi strój na Halloween. Ich zwykły wygląd wraca po zmianie motywu.",+ "settings.skin.dressUp.subtitle": "Gdy ten motyw jest włączony, każdy bot przebiera się na święto. Ich zwykły wygląd wraca po zmianie motywu.","settings.chatWidth.title": "Szerokość czatu","settings.chatWidth.subtitle": "Jak szerokie mogą być dymki wiadomości na tym komputerze. Opcje Szeroki i Pełna szerokość wykorzystują więcej miejsca w dużym oknie.","settings.chatWidth.aria": "Szerokość czatu",@@ -3587,7 +3587,7 @@"botPanel.avatar.reset": "Resetuj","botPanel.avatar.face": "Twarz","botPanel.avatar.halloween": "Halloween",- "botPanel.avatar.costume": "Przebranie: {name}, gdy włączona jest skórka Halloween",+ "botPanel.avatar.costume": "Przebranie: {name}, gdy włączona jest skórka {skin}","botPanel.avatar.drop": "Upuść obraz tutaj lub wybierz jeden","botPanel.avatar.types": "PNG, JPEG, GIF lub WebP · do 10 MB","botPanel.avatar.shape": "Kształt",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex 821130470c..f62e54efdb 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -1581,7 +1581,7 @@"settings.skin.title": "Tema","settings.skin.subtitle": "A escolha é aplicada na hora e salva neste computador.","settings.skin.dressUp.title": "Fantasiar meus bots",- "settings.skin.dressUp.subtitle": "Cada bot usa uma fantasia de Halloween enquanto este tema estiver ligado. O visual de sempre volta quando você trocar de tema.",+ "settings.skin.dressUp.subtitle": "Cada bot se fantasia para a festa enquanto este tema estiver ligado. O visual de sempre volta quando você trocar de tema.","settings.chatWidth.title": "Largura do chat","settings.chatWidth.subtitle": "Largura máxima dos balões de mensagem nesta máquina. “Larga” e “Largura total” aproveitam mais o espaço de uma janela grande.","settings.chatWidth.aria": "Largura do chat",@@ -7271,8 +7271,9 @@"botPanel.avatar.reset": "Redefinir","botPanel.avatar.face": "Expressão","botPanel.avatar.halloween": "Halloween",+ "botPanel.avatar.diwali": "Diwali","botPanel.avatar.more": "Mais opções de aparência",- "botPanel.avatar.costume": "Fantasiado de {name} enquanto o tema de Halloween estiver ligado",+ "botPanel.avatar.costume": "Fantasiado de {name} enquanto o tema {skin} estiver ligado","botPanel.avatar.drop": "Solte uma imagem aqui ou escolha uma","botPanel.avatar.types": "PNG, JPEG, GIF ou WebP · até 10 MB","botPanel.avatar.shape": "Formato",@@ -8086,6 +8087,16 @@"mascot.body.mummy": "Múmia","mascot.body.vampire": "Vampiro","mascot.body.spider": "Aranha",+ "mascot.body.rocket": "Foguete",+ "mascot.body.anaar": "Anaar",+ "mascot.body.chakri": "Chakri",+ "mascot.body.sparkler": "Estrelinha",+ "mascot.body.bomb": "Bomba",+ "mascot.body.laddu": "Laddu",+ "mascot.body.chakli": "Chakli",+ "mascot.body.jalebi": "Jalebi",+ "mascot.body.katli": "Kaju katli",+ "mascot.body.karanji": "Karanji","mascot.color.green": "verde","mascot.color.blue": "azul","mascot.color.red": "vermelha",@@ -8813,6 +8824,7 @@"skins.tagline.meadow": "Branco leve com um verde suave. O visual do MausBot.","skins.tagline.pop": "Papel creme, contornos grossos de tinta, sombras marcadas. Encorpado e alegre.","skins.tagline.halloween": "Tom de ameixa depois do anoitecer, iluminado em laranja-abóbora. Morcegos opcionais.",+ "skins.tagline.diwali": "Noite índigo, iluminada em calêndula e no dourado das diyas. Fogos opcionais.","automations.calendar.cronMove": "Abra esta automação para mudar quando ela se repete.","automations.calendar.moveSeries": "Mover todas as repetições?","automations.address.copyAddressFailed": "Não foi possível copiar o endereço",diff --git a/src/locales/ru.json b/src/locales/ru.jsonindex 19d9b430c3..1617ded38f 100644--- a/src/locales/ru.json+++ b/src/locales/ru.json@@ -1434,7 +1434,7 @@"settings.skin.title": "Оформление","settings.skin.subtitle": "Применяется мгновенно и запоминается на этом компьютере.","settings.skin.dressUp.title": "Нарядить моих ботов",- "settings.skin.dressUp.subtitle": "Пока включено это оформление, каждый бот носит костюм на Хэллоуин. Обычный вид возвращается, когда вы меняете оформление.",+ "settings.skin.dressUp.subtitle": "Пока включено это оформление, каждый бот наряжается к празднику. Обычный вид возвращается, когда вы меняете оформление.","settings.chatWidth.title": "Ширина чата","settings.chatWidth.subtitle": "Насколько широкими могут становиться пузырьки сообщений на этом компьютере. «Широкая» и «На всю ширину» задействуют больше места в большом окне.","settings.chatWidth.aria": "Ширина чата",@@ -3643,7 +3643,7 @@"botPanel.avatar.reset": "Сбросить","botPanel.avatar.face": "Лицо","botPanel.avatar.halloween": "Хэллоуин",- "botPanel.avatar.costume": "Одет как {name}, пока включена тема Хэллоуина",+ "botPanel.avatar.costume": "Одет как {name}, пока включена тема «{skin}»","botPanel.avatar.drop": "Перетащите картинку сюда или выберите её","botPanel.avatar.types": "PNG, JPEG, GIF или WebP · до 10 МБ","botPanel.avatar.shape": "Форма",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex e6cf75fefa..ca1777b731 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -16882,7 +16882,7 @@"settings.skin.title": "1fc91201eedbfcb784e071ae61080b0f91b6290f1aa2690490c6f54b38d56df7","settings.skin.subtitle": "c76a3c564dc8b657e995177c8727f970258005a37d35cdc7a5047ffd91e39001","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -18989,7 +18989,7 @@"botPanel.avatar.reset": "daee7606b339f3c339076fe2c9f372a3ff40c8ee896005d829c7481b64ca5303","botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -25140,7 +25140,7 @@"settings.skin.title": "1fc91201eedbfcb784e071ae61080b0f91b6290f1aa2690490c6f54b38d56df7","settings.skin.subtitle": "c76a3c564dc8b657e995177c8727f970258005a37d35cdc7a5047ffd91e39001","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -30808,7 +30808,7 @@"botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9","botPanel.avatar.more": "11a8b6a502312fe4559d0725e134349347d58007dd75b8ef68fe27735f4a362d",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -37569,7 +37569,7 @@"settings.theme.light": "dbcd5e7bb7a0f538810de44c3efbd813037ee3fa358747bb71fa58e157af45f7","settings.theme.dark": "60acc53f13a5d1bf115878c4a785e9a43e8286c4139a8402a6ac7d23966f9153","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -38754,7 +38754,7 @@"botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9","botPanel.avatar.more": "11a8b6a502312fe4559d0725e134349347d58007dd75b8ef68fe27735f4a362d",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -46459,7 +46459,7 @@"settings.theme.light": "dbcd5e7bb7a0f538810de44c3efbd813037ee3fa358747bb71fa58e157af45f7","settings.theme.dark": "60acc53f13a5d1bf115878c4a785e9a43e8286c4139a8402a6ac7d23966f9153","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -47294,7 +47294,7 @@"botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9","botPanel.avatar.more": "11a8b6a502312fe4559d0725e134349347d58007dd75b8ef68fe27735f4a362d",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -66518,7 +66518,7 @@"settings.skin.title": "1fc91201eedbfcb784e071ae61080b0f91b6290f1aa2690490c6f54b38d56df7","settings.skin.subtitle": "c76a3c564dc8b657e995177c8727f970258005a37d35cdc7a5047ffd91e39001","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -68582,7 +68582,7 @@"botPanel.avatar.reset": "daee7606b339f3c339076fe2c9f372a3ff40c8ee896005d829c7481b64ca5303","botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -73350,7 +73350,7 @@"settings.skin.title": "1fc91201eedbfcb784e071ae61080b0f91b6290f1aa2690490c6f54b38d56df7","settings.skin.subtitle": "c76a3c564dc8b657e995177c8727f970258005a37d35cdc7a5047ffd91e39001","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -75458,7 +75458,7 @@"botPanel.avatar.reset": "daee7606b339f3c339076fe2c9f372a3ff40c8ee896005d829c7481b64ca5303","botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -80210,7 +80210,7 @@"settings.skin.title": "1fc91201eedbfcb784e071ae61080b0f91b6290f1aa2690490c6f54b38d56df7","settings.skin.subtitle": "c76a3c564dc8b657e995177c8727f970258005a37d35cdc7a5047ffd91e39001","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -82263,7 +82263,7 @@"botPanel.avatar.tabUpload": "865e89de78d94c747184d6a7e6f5244b453d8062343c07e014ae698cfb0260e8","botPanel.avatar.reset": "daee7606b339f3c339076fe2c9f372a3ff40c8ee896005d829c7481b64ca5303","botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",@@ -87135,7 +87135,7 @@"settings.skin.title": "1fc91201eedbfcb784e071ae61080b0f91b6290f1aa2690490c6f54b38d56df7","settings.skin.subtitle": "c76a3c564dc8b657e995177c8727f970258005a37d35cdc7a5047ffd91e39001","settings.skin.dressUp.title": "502e623ab8d32f2f8f58efcd88911af55a062be2ee53e66567a1db199ef000fb",- "settings.skin.dressUp.subtitle": "25b6ff803f1092b5f7b748a7f92f5a5588fba57afaae71017a60a409cafa6208",+ "settings.skin.dressUp.subtitle": "a9b5326cf6c33e02179614591719c8a1a967e78e948bda69a11fee2197e117c3","settings.chatWidth.title": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de","settings.chatWidth.subtitle": "ccedd1b6fb66c51276bdaa44be098d0f55510b34b2bfc6cfe6c21e418b08829f","settings.chatWidth.aria": "79e072027e0a723731534a6efa653598eab2355ff38c8a4ae22da8feff8cc7de",@@ -89471,7 +89471,7 @@"botPanel.avatar.face": "304afc32b7ff2e2326754c58222d6f930ca90bcb24e2d67a1453616a3aea8cd7","botPanel.avatar.halloween": "049566b6b12d6a618eadb364ed0e035f91b2f60e581643667285e1a1f79bb0a9","botPanel.avatar.more": "11a8b6a502312fe4559d0725e134349347d58007dd75b8ef68fe27735f4a362d",- "botPanel.avatar.costume": "1842d2f6b16fd72e3a18cb3a26ed81ec9927d8cd5215c65c7d74010bfdd73b9e",+ "botPanel.avatar.costume": "9def38bd1102ebda21a0d7fd1b4fba5d7d3be1eac88a3906c86dff813f09e9df","botPanel.avatar.drop": "660e0bcebcfec732187d12b47b7e2cb5b32edf66577ea9ed29e634f7b2dcb3d3","botPanel.avatar.types": "8bd242087bd8063000dd8dc0caaf6799b786507e2fb8129a0de3c59c563f8bd0","botPanel.avatar.shape": "e0e492707f85ff1f9c23155494a54382b52bf34888091adc7a6bb338ef78f88d",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 36d04c73a0..0051417bd1 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -1703,7 +1703,7 @@"settings.skin.title": "外觀主題","settings.skin.subtitle": "立即套用,並會記憶在這台電腦上。","settings.skin.dressUp.title": "幫我的機器人換裝",- "settings.skin.dressUp.subtitle": "使用這個外觀時,每個機器人都會穿上萬聖節服裝。換成其他外觀後,就會恢復平常的樣子。",+ "settings.skin.dressUp.subtitle": "使用這個外觀時,每個機器人都會換上節慶裝扮。換成其他外觀後,就會恢復平常的樣子。","settings.chatWidth.title": "聊天寬度","settings.chatWidth.subtitle": "這台裝置上訊息泡泡的最大寬度。「寬」和「全寬」會在大視窗中使用更多空間。","settings.chatWidth.aria": "聊天寬度",@@ -4213,7 +4213,7 @@"botPanel.avatar.face": "表情","botPanel.avatar.halloween": "萬聖節","botPanel.avatar.more": "更多外觀",- "botPanel.avatar.costume": "使用萬聖節外觀時,裝扮成{name}",+ "botPanel.avatar.costume": "使用{skin}外觀時,裝扮成{name}","botPanel.avatar.drop": "把圖片拖放到這裡,或選擇一張","botPanel.avatar.types": "PNG、JPEG、GIF 或 WebP · 最大 10 MB","botPanel.avatar.shape": "形狀",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 98557a1f2b..6d454a7d9a 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -1611,7 +1611,7 @@"settings.skin.title": "主题","settings.skin.subtitle": "立即生效,并记在这台电脑上。","settings.skin.dressUp.title": "给机器人换装",- "settings.skin.dressUp.subtitle": "启用此皮肤期间,每个机器人都穿着万圣节装扮。更换皮肤后,它们会恢复平时的样子。",+ "settings.skin.dressUp.subtitle": "启用此皮肤期间,每个机器人都换上节日装扮。更换皮肤后,它们会恢复平时的样子。","settings.chatWidth.title": "聊天宽度","settings.chatWidth.subtitle": "消息气泡在这台机器上最多能有多宽。「宽」和「全宽」会在大窗口中用上更多空间。","settings.chatWidth.aria": "聊天宽度",@@ -4038,7 +4038,7 @@"botPanel.avatar.face": "表情","botPanel.avatar.halloween": "万圣节","botPanel.avatar.more": "更多造型",- "botPanel.avatar.costume": "开启万圣节皮肤时,打扮成 {name}",+ "botPanel.avatar.costume": "开启{skin}皮肤时,打扮成 {name}","botPanel.avatar.drop": "把图片拖到这里,或选择一张","botPanel.avatar.types": "PNG、JPEG、GIF 或 WebP · 最大 10 MB","botPanel.avatar.shape": "形状",diff --git a/src/styles.css b/src/styles.cssindex 465967434c..540974dce6 100644--- a/src/styles.css+++ b/src/styles.css@@ -1005,6 +1005,63 @@--identity-chrome: #B3BAC4;}+[data-skin="diwali"] {+ --code-color-scheme: dark;+ --color-app: #100d1f;+ --color-panel: #161229;+ --color-raised: #282142;+ --color-raised-hover: #30284d;+ --color-composer: #1c1732;+ --color-composer-ring: #342b52;+ --color-card: #1f1936;+ --color-menu: #1d1834;+ --color-menu-hover: color-mix(in srgb, var(--color-raised) 70%, transparent);+ --color-menu-active: var(--color-raised);+ --color-inset: #1a1530;+ --color-control: #282142;+ --color-hairline: #392f5a;++ --color-ink: #fff3e0;+ --color-ink-secondary: #cdbfdc;+ --color-ink-tertiary: #ab9dc0;++ --color-accent: #ffb22e;+ --color-accent-border: #ffc04f;+ --color-accent-text: #ffc861;+ --color-focus: #ffc04f;+ --color-accent-ink: #231402;+ --color-bubble-user: #43301a;+ --color-bubble-user-ink: #fff3e0;++ --color-success: #7cc48f;+ --color-danger: #f0727c;+ --color-danger-ink: #240a0e;+ --color-success-ink: #0d1a10;+ --color-warning: #f2b45a;+ --color-scrollbar: #392f5a;+ --color-maus-line: #cdbfdc;++ --font-sans: "Geist Variable", -apple-system, BlinkMacSystemFont,+ "Segoe UI", system-ui, sans-serif;+ --radius-lg: 8px;+ --radius-xl: 12px;+ --radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;+ --radius-2xl: 16px; --radius-3xl: 24px; --radius-4xl: 32px;+ --color-edge: color-mix(in srgb, var(--color-ink) 8%, transparent);+ --identity-green: #009957;+ --identity-blue: #377FE6;+ --identity-red: #D94B52;+ --identity-orange: #E78531;+ --identity-purple: #8c68cd;+ --identity-cyan: #0EA5C6;+ --identity-pink: #D84F8B;+ --identity-yellow: #D8A729;+ --identity-teal: #01A492;+ --identity-coral: #E5634E;+ --identity-silver: #A8ADB4;+ --identity-chrome: #B3BAC4;+}+/* Every popover and menu in the menu tone, flat in Midnight and on a soft lift in Daylight. A popover's rim is itsborder, never a ring, so clearing box-shadow leaves the rim. */.popover-surface {@@ -2815,6 +2872,56 @@ html[data-cloud-intent-morph] [data-tour="composer"] { view-transition-name: clo}}+/* The main pane only, and never the picker miniature. Isolation keeps the+ fireworks behind the conversation. */+@scope ([data-skin="diwali"]:not([data-skin-preview])) to ([data-skin]) {+ main.bg-app {+ isolation: isolate;+ background-image:+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34'%3E%3Cpath d='M0 4Q80 30 160 4' fill='none' stroke='%23fff3e0' stroke-opacity='.12'/%3E%3Cg fill-opacity='.42'%3E%3Ccircle cx='20' cy='10' r='2.6' fill='%23ffb22e'/%3E%3Ccircle cx='60' cy='16' r='2.6' fill='%23ff6f9c'/%3E%3Ccircle cx='100' cy='16' r='2.6' fill='%23ffb22e'/%3E%3Ccircle cx='140' cy='10' r='2.6' fill='%23ff6f9c'/%3E%3C/g%3E%3C/svg%3E"),+ radial-gradient(60% 55% at 50% 100%, rgb(255 178 46 / 0.09), transparent 70%);+ background-repeat: repeat-x, no-repeat;+ background-position: 0 0, 0 0;+ background-size: 160px 34px, 100% 100%;+ }+ main.bg-app::before,+ main.bg-app::after {+ content: "";+ position: absolute;+ top: 96px;+ right: 12%;+ width: 120px;+ height: 120px;+ z-index: -1;+ pointer-events: none;+ background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M60.0 42.0L60.0 18.0M69.0 44.4L81.0 23.6M75.6 51.0L96.4 39.0M78.0 60.0L102.0 60.0M75.6 69.0L96.4 81.0M69.0 75.6L81.0 96.4M60.0 78.0L60.0 102.0M51.0 75.6L39.0 96.4M44.4 69.0L23.6 81.0M42.0 60.0L18.0 60.0M44.4 51.0L23.6 39.0M51.0 44.4L39.0 23.6' stroke='%23ffc861' stroke-opacity='.3' stroke-width='2.4' stroke-linecap='round'/%3E%3Cg fill='%23fff3e0' fill-opacity='.28'%3E%3Ccircle cx='73.5' cy='9.8' r='2.2'/%3E%3Ccircle cx='96.8' cy='23.2' r='2.2'/%3E%3Ccircle cx='110.2' cy='46.5' r='2.2'/%3E%3Ccircle cx='110.2' cy='73.5' r='2.2'/%3E%3Ccircle cx='96.8' cy='96.8' r='2.2'/%3E%3Ccircle cx='73.5' cy='110.2' r='2.2'/%3E%3Ccircle cx='46.5' cy='110.2' r='2.2'/%3E%3Ccircle cx='23.2' cy='96.8' r='2.2'/%3E%3Ccircle cx='9.8' cy='73.5' r='2.2'/%3E%3Ccircle cx='9.8' cy='46.5' r='2.2'/%3E%3Ccircle cx='23.2' cy='23.2' r='2.2'/%3E%3Ccircle cx='46.5' cy='9.8' r='2.2'/%3E%3C/g%3E%3C/svg%3E");+ opacity: 0;+ animation: diwali-burst 9s ease-out infinite;+ }+ main.bg-app::after {+ top: 180px;+ right: auto;+ left: 14%;+ width: 84px;+ height: 84px;+ animation-duration: 11s;+ animation-delay: -5s;+ }+}++@keyframes diwali-burst {+ 0%, 55% { opacity: 0; transform: scale(0.35); }+ 62% { opacity: 1; }+ 85%, 100% { opacity: 0; transform: scale(1); }+}++@media (prefers-reduced-motion: reduce) {+ [data-skin="diwali"] main.bg-app::before,+ [data-skin="diwali"] main.bg-app::after {+ display: none;+ }+}+/* Disabled buttons.Upstream fades them with `disabled:opacity-40`. On a dark ground that holds:the button stays darker than the page and the white label survives. On a@@ -2965,7 +3072,7 @@ button:disabled.bg-danger {outline-offset: -1.5px;}:root,-:is([data-skin="midnight"], [data-skin="foundry"], [data-skin="graphite"], [data-skin="dusk"], [data-skin="halloween"]) {+:is([data-skin="midnight"], [data-skin="foundry"], [data-skin="graphite"], [data-skin="dusk"], [data-skin="halloween"], [data-skin="diwali"]) {--radius-menu: 12px;--menu-shadow: 0 0 #0000;}