@altnovatrail/picture-kit 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/index.d.ts +45 -1
- package/lib/index.js +34 -3
- package/lib/kinds/balance.js +2 -3
- package/lib/kinds/calendar.d.ts +5 -1
- package/lib/kinds/calendar.js +33 -11
- package/lib/kinds/chart.js +2 -4
- package/lib/kinds/clock.d.ts +5 -0
- package/lib/kinds/clock.js +45 -4
- package/lib/kinds/coins.js +3 -2
- package/lib/kinds/column.js +2 -3
- package/lib/kinds/commands.d.ts +8 -6
- package/lib/kinds/commands.js +57 -15
- package/lib/kinds/containers.js +2 -1
- package/lib/kinds/countfig.d.ts +2 -0
- package/lib/kinds/countfig.js +6 -1
- package/lib/kinds/cubes.d.ts +29 -5
- package/lib/kinds/cubes.js +82 -34
- package/lib/kinds/die.d.ts +8 -0
- package/lib/kinds/die.js +75 -14
- package/lib/kinds/domino.js +3 -3
- package/lib/kinds/dotgrid.d.ts +3 -0
- package/lib/kinds/dotgrid.js +6 -4
- package/lib/kinds/figure.js +5 -4
- package/lib/kinds/fold-parts.d.ts +0 -2
- package/lib/kinds/fold-parts.js +0 -4
- package/lib/kinds/fold.d.ts +20 -1
- package/lib/kinds/fold.js +15 -6
- package/lib/kinds/fraction.js +3 -2
- package/lib/kinds/gauges.js +2 -1
- package/lib/kinds/gears.d.ts +21 -2
- package/lib/kinds/gears.js +113 -62
- package/lib/kinds/grid.d.ts +5 -0
- package/lib/kinds/grid.js +30 -2
- package/lib/kinds/groups.d.ts +3 -1
- package/lib/kinds/groups.js +142 -28
- package/lib/kinds/lanes.js +3 -2
- package/lib/kinds/layers.d.ts +6 -0
- package/lib/kinds/layers.js +23 -4
- package/lib/kinds/line.d.ts +4 -0
- package/lib/kinds/line.js +117 -32
- package/lib/kinds/matchsticks.d.ts +4 -0
- package/lib/kinds/matchsticks.js +5 -3
- package/lib/kinds/net.js +4 -3
- package/lib/kinds/overlay.d.ts +23 -1
- package/lib/kinds/overlay.js +7 -3
- package/lib/kinds/pieces.js +3 -2
- package/lib/kinds/plane-parts.d.ts +0 -2
- package/lib/kinds/plane-parts.js +0 -6
- package/lib/kinds/plane.js +6 -6
- package/lib/kinds/ropes.js +1 -3
- package/lib/kinds/shapes.js +5 -7
- package/lib/kinds/solids.js +3 -2
- package/lib/kinds/tangram.js +2 -4
- package/lib/kinds/target.js +4 -6
- package/lib/kinds/tiles.js +5 -4
- package/lib/kinds/venn.js +3 -5
- package/lib/noto.js +1 -0
- package/lib/objects.js +2 -1
- package/lib/read.d.ts +2 -2
- package/lib/read.js +3 -3
- package/lib/solve/balance.d.ts +11 -0
- package/lib/solve/balance.js +116 -1
- package/lib/solve/calendar.d.ts +46 -0
- package/lib/solve/calendar.js +206 -0
- package/lib/solve/choice-scenes.d.ts +20 -0
- package/lib/solve/choice-scenes.js +51 -0
- package/lib/solve/clock.d.ts +54 -0
- package/lib/solve/clock.js +240 -0
- package/lib/solve/coins.d.ts +71 -0
- package/lib/solve/coins.js +222 -0
- package/lib/solve/commands.d.ts +36 -0
- package/lib/solve/commands.js +210 -0
- package/lib/solve/countfig.d.ts +41 -0
- package/lib/solve/countfig.js +199 -0
- package/lib/solve/cubes.d.ts +49 -0
- package/lib/solve/cubes.js +255 -0
- package/lib/solve/die.d.ts +39 -0
- package/lib/solve/die.js +93 -0
- package/lib/solve/domino.d.ts +57 -0
- package/lib/solve/domino.js +263 -0
- package/lib/solve/enumerate.d.ts +75 -0
- package/lib/solve/enumerate.js +323 -0
- package/lib/solve/figure.d.ts +26 -0
- package/lib/solve/figure.js +88 -0
- package/lib/solve/fold.d.ts +22 -0
- package/lib/solve/fold.js +68 -0
- package/lib/solve/gaps.d.ts +65 -0
- package/lib/solve/gaps.js +292 -0
- package/lib/solve/gears.d.ts +33 -0
- package/lib/solve/gears.js +130 -0
- package/lib/solve/grid.d.ts +35 -0
- package/lib/solve/grid.js +194 -0
- package/lib/solve/groups.d.ts +93 -0
- package/lib/solve/groups.js +346 -0
- package/lib/solve/index.d.ts +60 -0
- package/lib/solve/index.js +194 -0
- package/lib/solve/layers.d.ts +30 -0
- package/lib/solve/layers.js +72 -0
- package/lib/solve/magic.d.ts +32 -0
- package/lib/solve/magic.js +216 -0
- package/lib/solve/matchsticks.d.ts +37 -0
- package/lib/solve/matchsticks.js +214 -0
- package/lib/solve/order.d.ts +94 -0
- package/lib/solve/order.js +419 -0
- package/lib/solve/overlay.d.ts +22 -0
- package/lib/solve/overlay.js +56 -0
- package/lib/solve/parity.d.ts +22 -0
- package/lib/solve/parity.js +27 -0
- package/lib/solve/pattern.d.ts +62 -0
- package/lib/solve/pattern.js +533 -0
- package/lib/solve/pieces.d.ts +57 -0
- package/lib/solve/pieces.js +309 -0
- package/lib/solve/pigeonhole.d.ts +38 -0
- package/lib/solve/pigeonhole.js +95 -0
- package/lib/solve/proof.d.ts +115 -0
- package/lib/solve/proof.js +105 -0
- package/lib/solve/pyramid.d.ts +28 -0
- package/lib/solve/pyramid.js +161 -0
- package/lib/solve/question.d.ts +25 -0
- package/lib/solve/question.js +75 -0
- package/lib/solve/shapes.d.ts +30 -0
- package/lib/solve/shapes.js +182 -0
- package/lib/solve/target.d.ts +40 -0
- package/lib/solve/target.js +190 -0
- package/lib/style.d.ts +1 -1
- package/lib/style.js +1 -1
- package/lib/words.d.ts +15 -0
- package/lib/words.js +39 -0
- package/package.json +1 -1
package/lib/kinds/tangram.js
CHANGED
|
@@ -2,6 +2,7 @@ import { margin } from "../kind.js";
|
|
|
2
2
|
import { isObj, list, oneOf, only, text } from "../read.js";
|
|
3
3
|
import { colorNames, colors, ink, isColor, outline } from "../style.js";
|
|
4
4
|
import { poly } from "../svg.js";
|
|
5
|
+
import { article } from "../words.js";
|
|
5
6
|
/**
|
|
6
7
|
* Tangram: a figure laid from the pieces of a tangram — two large triangles,
|
|
7
8
|
* a medium one, two small ones, a square and a parallelogram, all cut from one
|
|
@@ -389,9 +390,6 @@ function placeWords(pts, box) {
|
|
|
389
390
|
function number(v) {
|
|
390
391
|
return String(Math.round(v * 100) / 100);
|
|
391
392
|
}
|
|
392
|
-
function article(words) {
|
|
393
|
-
return `${/^[aeiou]/.test(words) ? "an" : "a"} ${words}`;
|
|
394
|
-
}
|
|
395
393
|
// Checking.
|
|
396
394
|
function checkPose(p, path, problems) {
|
|
397
395
|
oneOf(p.piece, pieceNames, `${path}.piece`, problems);
|
|
@@ -587,7 +585,7 @@ export const tangram = {
|
|
|
587
585
|
if (pieces.length > 0) {
|
|
588
586
|
const shapes = pieces.map(placed);
|
|
589
587
|
const box = boxOf(shapes.flat());
|
|
590
|
-
const name = typed.name ?
|
|
588
|
+
const name = typed.name ? article(typed.name) : "a figure";
|
|
591
589
|
const from = set === "tangram"
|
|
592
590
|
? pieces.length === 7
|
|
593
591
|
? "the 7 pieces of a tangram"
|
package/lib/kinds/target.js
CHANGED
|
@@ -4,6 +4,7 @@ import { int, isObj, list, only, text } from "../read.js";
|
|
|
4
4
|
import { colorNames, colors, ink, isColor, outline, textOn } from "../style.js";
|
|
5
5
|
import { el, n, poly } from "../svg.js";
|
|
6
6
|
import { drawThing } from "../things.js";
|
|
7
|
+
import { article } from "../words.js";
|
|
7
8
|
const ringColors = ["yellow", "red", "blue", "white", "green", "purple"];
|
|
8
9
|
const zoneColors = [
|
|
9
10
|
"red",
|
|
@@ -616,9 +617,6 @@ export function sumOf(b) {
|
|
|
616
617
|
return sum;
|
|
617
618
|
}
|
|
618
619
|
// --- words ----------------------------------------------------------------------------
|
|
619
|
-
function an(words) {
|
|
620
|
-
return `${/^[aeiou]/.test(words) ? "an" : "a"} ${words}`;
|
|
621
|
-
}
|
|
622
620
|
function joinAnd(words) {
|
|
623
621
|
if (words.length <= 1)
|
|
624
622
|
return words.join("");
|
|
@@ -645,7 +643,7 @@ function sayBoard(b) {
|
|
|
645
643
|
const k = b.rings.length;
|
|
646
644
|
const parts = b.rings.map((s, j) => {
|
|
647
645
|
const c = colors[scoreOf(s).color ?? ringColors[j]].word;
|
|
648
|
-
return j === 0 ? `${
|
|
646
|
+
return j === 0 ? `${article(c)} centre ${worth(s)}` : `${article(c)} ring ${worth(s)}`;
|
|
649
647
|
});
|
|
650
648
|
out.push(`a target of ${k} rings; from the centre out: ${joinAnd(parts)}.`);
|
|
651
649
|
const hits = b.hits ?? [];
|
|
@@ -662,10 +660,10 @@ function sayBoard(b) {
|
|
|
662
660
|
}
|
|
663
661
|
else if (b.zones) {
|
|
664
662
|
const k = b.zones.length;
|
|
665
|
-
const parts = b.zones.map((s, i) => `${
|
|
663
|
+
const parts = b.zones.map((s, i) => `${article(colors[scoreOf(s).color ?? zoneColors[i % zoneColors.length]].word)} part ${worth(s)}`);
|
|
666
664
|
out.push(`a round target cut into ${k} equal parts; clockwise from the top: ${joinAnd(parts)}.`);
|
|
667
665
|
if (b.bull !== undefined)
|
|
668
|
-
out.push(`In the middle, ${
|
|
666
|
+
out.push(`In the middle, ${article(colors[scoreOf(b.bull).color ?? "yellow"].word)} circle ${worth(b.bull)}.`);
|
|
669
667
|
const hits = b.hits ?? [];
|
|
670
668
|
if (hits.length > 0) {
|
|
671
669
|
const places = [];
|
package/lib/kinds/tiles.js
CHANGED
|
@@ -3,6 +3,7 @@ import { int, isObj, list, oneOf, only, text } from "../read.js";
|
|
|
3
3
|
import { colorNames, colors, faint, ink, isColor, outline, soft, } from "../style.js";
|
|
4
4
|
import { n, poly } from "../svg.js";
|
|
5
5
|
import { checkThing, drawThing, wordOf } from "../things.js";
|
|
6
|
+
import { article } from "../words.js";
|
|
6
7
|
/**
|
|
7
8
|
* Tiles: square or hexagonal tiles in a row, a grid or a ring, touching or
|
|
8
9
|
* apart. A tile has a fill and a pattern — coloured lines joining the
|
|
@@ -432,7 +433,7 @@ function sayPart(shape, p, turn) {
|
|
|
432
433
|
case "wedge":
|
|
433
434
|
return `the ${color} triangle from the centre to the ${squareEdges[k]} edge`;
|
|
434
435
|
default:
|
|
435
|
-
return
|
|
436
|
+
return `${article(color)} quarter circle in the ${squareCorners[k]} corner`;
|
|
436
437
|
}
|
|
437
438
|
}
|
|
438
439
|
function sayTile(shape, tile) {
|
|
@@ -453,7 +454,7 @@ function sayTile(shape, tile) {
|
|
|
453
454
|
(shape === "square"
|
|
454
455
|
? (edges.indexOf(l.from) - edges.indexOf(l.to) + 4) % 2 === 0
|
|
455
456
|
: (edges.indexOf(l.from) - edges.indexOf(l.to) + 6) % 6 === 3);
|
|
456
|
-
bits.push(
|
|
457
|
+
bits.push(`${article(colors[l.color].word)} ${straight ? "line" : "arc"} joining the ${a} and ${b} edges`);
|
|
457
458
|
}
|
|
458
459
|
if (tile.dots) {
|
|
459
460
|
const k = tile.dots.count;
|
|
@@ -470,7 +471,7 @@ function sayTile(shape, tile) {
|
|
|
470
471
|
" turned a quarter turn anticlockwise",
|
|
471
472
|
][turn]
|
|
472
473
|
: ` turned ${turn * 60} degrees clockwise`;
|
|
473
|
-
bits.push(`${
|
|
474
|
+
bits.push(`${article(wordOf(tile.thing))}${turned}`);
|
|
474
475
|
}
|
|
475
476
|
return bits.length === 1 ? `${bits[0]}, plain` : `${bits[0]}, with ${bits.slice(1).join(", ")}`;
|
|
476
477
|
}
|
|
@@ -596,7 +597,7 @@ export const tiles = {
|
|
|
596
597
|
return `A grid of ${k} ${noun}s, ${touch}, ${rows} row${rows === 1 ? "" : "s"} of up to ${cols}${shift}, row by row from the top left. ${words.join(" ")}`;
|
|
597
598
|
}
|
|
598
599
|
const round = shape === "square"
|
|
599
|
-
? `${k} square tiles round the edge of
|
|
600
|
+
? `${k} square tiles round the edge of ${article(String(typed.columns ?? 3))} by ${typed.rows ?? 3} square`
|
|
600
601
|
: "6 hexagonal tiles round a middle place";
|
|
601
602
|
const centre = typed.centre ? ` ${say(typed.centre, "In the middle")}` : "";
|
|
602
603
|
return `A ring of ${round}, ${touch}, clockwise from the top left. ${typed.tiles
|
package/lib/kinds/venn.js
CHANGED
|
@@ -3,6 +3,7 @@ import { textWidth } from "../pen.js";
|
|
|
3
3
|
import { int, isObj, list, oneOf, only, text } from "../read.js";
|
|
4
4
|
import { colorNames, colors, ink, isColor, outline, soft, textOn, } from "../style.js";
|
|
5
5
|
import { checkThing, count, drawThing, sameThing, wordOf } from "../things.js";
|
|
6
|
+
import { article } from "../words.js";
|
|
6
7
|
/**
|
|
7
8
|
* A Venn or Euler diagram: one to three circles, each a set with a label and
|
|
8
9
|
* a colour of its own, arranged by a layout — overlapping, one inside
|
|
@@ -452,17 +453,14 @@ function checkRegion(r, path, sets, parts, seen, problems) {
|
|
|
452
453
|
});
|
|
453
454
|
}
|
|
454
455
|
// --- words ------------------------------------------------------------------
|
|
455
|
-
function an(words) {
|
|
456
|
-
return `${/^[aeiou]/.test(words) ? "an" : "a"} ${words}`;
|
|
457
|
-
}
|
|
458
456
|
function nameOf(v, i) {
|
|
459
457
|
const s = v.sets[i];
|
|
460
458
|
return s.label ? `"${s.label}"` : `the ${colors[colorOf(v, i)].word} circle`;
|
|
461
459
|
}
|
|
462
460
|
function circleOf(v, i) {
|
|
463
461
|
const s = v.sets[i];
|
|
464
|
-
const marked = s.thing !== undefined ? ` marked with ${
|
|
465
|
-
return `${
|
|
462
|
+
const marked = s.thing !== undefined ? ` marked with ${article(wordOf(s.thing))}` : "";
|
|
463
|
+
return `${article(colors[colorOf(v, i)].word)} circle${s.label ? ` "${s.label}"` : ""}${marked}`;
|
|
466
464
|
}
|
|
467
465
|
function joinAnd(words) {
|
|
468
466
|
if (words.length <= 1)
|
package/lib/noto.js
CHANGED
|
@@ -183,6 +183,7 @@ export const NOTO = {
|
|
|
183
183
|
"1fa80": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_2\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<path style=\"fill:#DB0D2A;\" d=\"M74.36,5.37c0,0,18.48-1.19,34.59,21.13c14.25,19.74,8.96,49.29-2.73,61.93\n\tc-10.81,11.69-20.27,15.11-30.5,16.02S51.94,56.83,52.67,55.19C53.4,53.55,74.36,5.37,74.36,5.37z\"/>\n<path style=\"fill:#871E0E;\" d=\"M53.88,6.71c0.11-0.44,5.85-1.95,5.85-1.95s13.08-1.08,20.2,1.88c7.14,2.97,22,11.96,27.12,32.46\n\tc4.58,18.31,2.2,42.21-16.44,58.15c-15.73,13.44-41.36,6.95-41.36,6.95L53.88,6.71z\"/>\n<path style=\"fill:#C0B3AE;\" d=\"M98.74,51.37c0.31,0.62,3.85,10.75,5.98,16.02c2.37,5.88,5,10.73,6.55,13.41\n\tc1.55,2.68,4.76,8.02,4.76,8.02l1.51-5.8c0,0-5.57-9.85-8.57-17.41c-2.37-5.99-3.92-9.82-5.07-13.29\n\tc-1.34-4.04-2.84-11.11-5.01-13.17C96.72,37.07,98.74,51.37,98.74,51.37z\"/>\n<path style=\"fill:#C0B3AE;\" d=\"M66,111.76c0,0,5.1,0.46,5.86,0.94c1.6,1,1.78,1.2,1.78,1.2l6.36,1.46c0,0,0.05,2.73,2.61,2.71\n\tc2.07-0.02,2.93-1.78,2.93-1.78s2.38,0.76,5.36,1.31c2.97,0.54,4.81-1.21,4.81-1.21s0.65-1.36-1.76-1.75\n\tc-2.41-0.39-4.7-1.01-4.7-1.01s1.27-0.47,1.31-0.49c0.87-0.41,1.44-2.24,1.27-2.59c-0.44-0.88-2.46-0.7-2.46-0.7\n\ts-1.56,0.63-2.51,0.77c-0.95,0.15-3.36,0.51-3.36,0.51l-1.46,0.22l-3.14-1.02c0,0-5.04-1.39-7.89-1.53S66,111.76,66,111.76z\"/>\n<path style=\"fill:#D8CCC7;\" d=\"M89.38,109.84c0,0,0.68,0.82,0.95,1.48s0.23,1.8,0.23,1.8s1.43-0.48,3.28-1.71\n\tc1.34-0.9,2.8-2.09,2.84-3.24c0.05-1.22-1.03-2.27-2.18-1.78c-0.62,0.27-1.12,1.18-2.45,1.98\n\tC90.72,109.18,89.38,109.84,89.38,109.84z\"/>\n<path style=\"fill:#D8CCC7;\" d=\"M93.96,114.63c-0.04-0.11-3.64,2.87-3.64,2.87s8.86,1.88,17.59-0.12c3.17-0.73,10.41-3.12,14.05-8.96\n\tc1.97-3.17,2.88-8.75,1.54-13.86c-1.18-4.53-6.28-12.11-6.28-12.11s-0.52,0.52-1.34,1.5c-0.82,0.98-1.32,2.47-1.32,2.47\n\ts8.68,12.61,3.76,19.72C110.85,116.94,93.96,114.63,93.96,114.63z\"/>\n<path style=\"fill:#D8CCC7;\" d=\"M81.44,111.15c0,0,1.1-2.11,3.3-1.68c0.94,0.18,1.24,1.22,1.22,1.27c-0.58,1.42-1.12,2.52-2.11,3.39\n\tc-1.51,1.33-3.91,1.23-3.91,1.23s-6.23,0.51-10.67,2.8s-19.37,11.76-22.38,2.7c-2.51-7.59,7.27-11.79,13.39-12.34\n\tc6.13-0.55,11.47,0.32,11.47,0.32s-5.49,2.93-5.67,2.93c-0.18,0-9.37-0.23-13.44,3.15c-4.07,3.38-1.43,6.29,1.19,5.71\n\tc5.21-1.14,14.07-7.01,19.24-8.37C77.98,110.98,81.44,111.15,81.44,111.15z\"/>\n<path style=\"fill:#DB0D2A;\" d=\"M55.1,4.36C26.27,5.38,8.96,29.81,8.96,55.94c0,24.44,17.98,47.79,43.09,49.03\n\tc27.48,1.36,51.06-17.13,50.55-50.89C102.11,21.45,79.18,3.52,55.1,4.36z\"/>\n<path style=\"fill:#FF5F5F;\" d=\"M21.01,54.75c0,26.46,18.83,36.2,29.67,36.78c12.72,0.68,33.93-7.24,34.28-34.75\n\tc0.31-24.83-19.51-35.84-31.38-36.13C39.84,20.31,21.01,32.36,21.01,54.75z\"/>\n<path style=\"fill:#FFFFFF;\" d=\"M30,19.47c0.93,1.33,3.47-2.56,12.7-4.29c7.62-1.43,15.24-0.79,21.56,1.19\n\tc7.31,2.28,10.5,6.94,13.15,2.83c2.5-3.88-2.99-7.19-11.05-9.23c-9.77-2.47-19.68-0.88-26.22,1.92C34.38,14.35,29.36,18.55,30,19.47\n\tz\"/>\n<path style=\"fill:#FFFFFF;\" d=\"M80.41,22.16c-1.2,1.67-0.48,3.67,1.21,4.91c1.69,1.25,3.52,1.59,4.84,0.11\n\tc1.39-1.55,0.43-3.96-1.29-5.22C83.21,20.52,81.37,20.82,80.41,22.16z\"/>\n</svg>\n",
|
|
184
184
|
"1fa81": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_2\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<g>\n\t<path style=\"fill:#BFCCD2;\" d=\"M74.49,114.41c-3.77,0-7.48-1.36-10.79-4.01c-4.93-3.94-5.26-9.94-5.27-10.2\n\t\tc-0.03-0.61,0.44-1.12,1.05-1.15c0.59-0.04,1.12,0.44,1.15,1.05c0,0.07,0.32,5.28,4.45,8.58c4.26,3.41,9.24,4.38,14.02,2.74\n\t\tc7.21-2.48,13.08-10.49,15.69-21.43c1.27-5.31,1.31-9.86,1.36-14.69c0.05-4.69,0.1-9.54,1.36-15.09c2.5-10.95,9.6-15.8,15.63-15.8\n\t\tc0.08,0,0.17,0,0.25,0c7.72,0.17,9.94,3.65,10.05,3.8c0.37,0.49,0.57,1.33,0.06,1.67c-0.5,0.34-1.24,0.06-1.61-0.46\n\t\tc-0.08-0.11-2.09-2.66-8.56-2.81c-0.07,0-0.14,0-0.2,0c-5.15,0-11.26,4.33-13.49,14.09c-1.21,5.32-1.26,10.05-1.31,14.62\n\t\tc-0.05,4.74-0.1,9.63-1.42,15.18c-2.79,11.68-9.19,20.28-17.12,23C78.05,114.11,76.26,114.41,74.49,114.41z\"/>\n</g>\n<path style=\"fill:#FF8E00;\" d=\"M38.91,37.35c0.16,0.7,12.54-12.21,12.54-12.21s35.7-5.64,36.03-4.83c0.16,0.39-1.31,5.32-3.4,10.46\n\tS77.32,48.44,72.5,64.51s-9.78,41.04-11.41,40.98c-0.98-0.03-3.05-3.05-3.05-3.05S38.11,33.81,38.91,37.35z\"/>\n<path style=\"fill:#917BF1;\" d=\"M23.64,29.63c0,0-20.89,8.56-21.3,9.37c-0.37,0.75,14.68,15.65,20.94,21.92s12.73,14.06,17.23,19.53\n\tc4.5,5.46,17.82,22.99,18.65,24.21c0.89,1.3,1.91,0.82,1.91,0.82L44.77,32.62L23.64,29.63z\"/>\n<path style=\"fill:#EC3E24;\" d=\"M42.85,9.1c0,0-1.97-2.07-2.61-2.12c-0.06,0-0.48,0.15-1.23,0.72c-3.48,2.69-13.29,10.91-18.72,15.63\n\tC13.71,29.07,1.9,38.47,2.33,39.01c0.38,0.48,15.58-0.48,23.7-1.43s19.19-2.96,19.19-2.96S47.25,22,46.87,17.98\n\tC46.48,13.97,42.85,9.1,42.85,9.1z\"/>\n<path style=\"fill:#FEB804;\" d=\"M87.48,20.31c0,0-8.31,5.13-20.83,9.05s-21.42,5.26-21.42,5.26c-0.29-0.38-4.98-27.63-4.98-27.63\n\ts0.33-0.12,0.88,0.04c0.96,0.28,10.8,3.5,21.79,6.28S87.64,18.79,87.48,20.31z\"/>\n<g>\n\t<path style=\"fill:#BFCCD2;\" d=\"M5.14,87.87c-0.38,0-0.75-0.2-0.96-0.56c-0.3-0.53-0.12-1.2,0.41-1.5\n\t\tc0.12-0.07,11.69-6.8,24.81-25.07c8.89-12.39,14.25-26.04,14.3-26.17c0.22-0.57,0.86-0.85,1.42-0.63c0.57,0.22,0.85,0.86,0.63,1.42\n\t\tc-0.05,0.14-5.5,14.04-14.56,26.66c-13.42,18.7-25.02,25.42-25.5,25.7C5.51,87.82,5.33,87.87,5.14,87.87z\"/>\n</g>\n<g>\n\t<path style=\"fill:#BFCCD2;\" d=\"M57.99,95.59c-0.06-0.11-5.76-11.26-12.05-20.13c-7.69-10.85-13.7-16.67-13.76-16.73\n\t\tc-0.44-0.42-0.45-1.12-0.03-1.56c0.42-0.44,1.12-0.45,1.56-0.03c0.25,0.24,6.21,6.01,14.03,17.04\n\t\tc6.42,9.06,11.42,20.66,11.47,20.77c0.25,0.55,0.14,1.09-0.24,1.23C58.54,96.34,58.23,96.04,57.99,95.59z\"/>\n</g>\n<path style=\"fill:#B7D214;\" d=\"M71.78,103.1c-0.7,0.14-2.44,2.89-4.31,4.5c-1.7,1.47-2.83,2.06-3.09,2.7\n\tc-0.26,0.64,0.58,4.76,0.96,6.56c0.39,1.8,0.64,4.5,1.93,4.44c1.29-0.06,5.92-1.29,6.11-2.25c0.19-0.96-6.62-6.56-5.98-7.65\n\tc0.64-1.09,8.17-1.8,8.42-2.96C75.96,107.86,72.27,103,71.78,103.1z\"/>\n<path style=\"fill:#7ADE8D;\" d=\"M79.93,99.85c-0.28,1.12,0.26,4.11,0.58,5.98c0.32,1.86,0.39,4.69,0.64,5.21\n\tc0.37,0.73,2.76,1.35,5.66,2.25s4.69,1.61,5.72,1.29s0.71-6.17-0.13-6.82c-0.84-0.64-7.65,0.58-7.65,0.58s2.19-10.7,0.77-11.25\n\tc-0.84-0.32-1.86,0.58-3.15,1.16C81.12,98.81,80.13,99.08,79.93,99.85z\"/>\n<path style=\"fill:#A1D2D3;\" d=\"M88.31,87.46c0,0.65,0.96,1.67,1.8,4.31c0.84,2.64,1.61,6.56,2.44,7.01s5.98-1.86,7.65-2.96\n\tc1.67-1.09,3.86-2.83,3.99-3.79c0.13-0.96-1.35-2.64-2.31-3.47c-0.96-0.84-1.86-2.51-2.44-2.51c-0.58,0-2.11,3.45-2.7,4.44\n\tc-0.77,1.29-1.74,3.54-1.99,3.34c-0.26-0.19-0.32-8.49-1.93-8.94C91.2,84.43,88.31,86.94,88.31,87.46z\"/>\n<path style=\"fill:#56C2F9;\" d=\"M90.22,67.25c-0.5,0.59,0.45,4.18,1.86,7.14s4.05,6.49,5.34,6.24c0.63-0.13,1.21-1.83,3.28-4.63\n\tc2.19-2.96,3.66-4.69,3.66-5.21c0-0.84-5.55-3.2-6.3-3.28c-0.58-0.06-1.86,4.24-1.86,4.24s-0.71-3.99-0.84-4.11\n\tC94.59,66.87,90.61,66.8,90.22,67.25z\"/>\n<path style=\"fill:#907AFA;\" d=\"M98.26,59.86c1.54,0.39,3.82,0.64,5.08,1.09c3.73,1.35,5.4,1.93,6.17,1.93c1.05,0,1.72-7.5,0.58-8.17\n\tc-1.54-0.9-10.06,2.55-10.54,2.19c-0.26-0.19,0.26-10.54-0.58-11.38c-0.9-0.9-1.54,0-3.34,0.51c-0.75,0.21-2.74,0.73-2.89,1.22\n\tc-0.39,1.22,2.76,8.87,3.21,9.77C96.39,57.93,97.48,59.67,98.26,59.86z\"/>\n<path style=\"fill:#DCBCF6;\" d=\"M109.44,46c0,0.45,7.84,9.64,8.36,9.77c0.51,0.13,3.54-3.34,3.41-4.05\n\tc-0.13-0.71-6.69-5.72-6.69-6.24c0-0.51,7.27-6.04,7.07-6.56c-0.19-0.51-3.41-3.54-4.18-3.41C116.64,35.65,109.44,44.72,109.44,46z\"\n\t/>\n</svg>\n",
|
|
185
185
|
"1fa86": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_3\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<g>\n\t<g>\n\t\t<g>\n\t\t\t<g>\n\t\t\t\t<linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"64\" y1=\"81.4601\" x2=\"64\" y2=\"49.3987\">\n\t\t\t\t\t<stop offset=\"0.0952\" style=\"stop-color:#242322\"/>\n\t\t\t\t\t<stop offset=\"0.8607\" style=\"stop-color:#6D4C41\"/>\n\t\t\t\t</linearGradient>\n\t\t\t\t<ellipse style=\"fill:url(#SVGID_1_);\" cx=\"64\" cy=\"62.44\" rx=\"48.88\" ry=\"23.93\"/>\n\t\t\t</g>\n\t\t\t<path style=\"fill:#C2362B;\" d=\"M25.19,93.01c-2.26,2.71-3.52,5.7-3.52,8.84C21.68,114.08,40.63,124,64,124\n\t\t\t\ts42.32-9.92,42.32-22.15c0-3.14-1.26-6.13-3.52-8.84H25.19z\"/>\n\t\t\t<path style=\"fill:#F54536;\" d=\"M64,86.69c-46.37-3.16-50.67-24.96-50.67-24.96c0,16.41,14.67,40.12,14.67,40.12\n\t\t\t\tS39.35,116.02,64,116.02s36.01-14.17,36.01-14.17s14.67-23.71,14.67-40.12C114.67,61.73,110.37,83.54,64,86.69z\"/>\n\t\t\t<path style=\"fill:#C2362B;\" d=\"M64,76.46c-35.86-2.24-37.29-17.74-37.29-17.74c0,11.66,9.44,28.51,9.44,28.51S44.93,97.3,64,97.3\n\t\t\t\ts27.85-10.07,27.85-10.07s9.44-16.85,9.44-28.51C101.29,58.73,99.86,74.22,64,76.46z\"/>\n\t\t\t<path style=\"fill:#E0E0E0;\" d=\"M63.64,75.58c-16.01,0-25.69-6.12-25.69-6.12C41.04,84.88,51.53,97.3,63.99,97.3\n\t\t\t\tc12.48,0,22.98-12.46,26.06-27.93C90.05,69.38,79.66,75.58,63.64,75.58z\"/>\n\t\t\t<path style=\"fill:#FAFAFA;\" d=\"M63.56,86.69c-19.57,0-31.39-6.76-31.39-6.76c3.78,17.02,16.59,27.57,31.81,27.57\n\t\t\t\tc15.25,0,28.08-10.59,31.84-27.66C95.82,79.85,83.13,86.69,63.56,86.69z\"/>\n\t\t\t<g>\n\t\t\t\t<g>\n\t\t\t\t\t<path style=\"fill:#F2B87E;\" d=\"M64,40.42c12.92,0,25,2.54,34.03,7.15c8.06,4.12,12.68,9.51,12.68,14.78\n\t\t\t\t\t\ts-4.62,10.66-12.68,14.78C89,81.75,76.92,84.29,64,84.29s-25-2.54-34.03-7.15c-8.06-4.12-12.68-9.51-12.68-14.78\n\t\t\t\t\t\ts4.62-10.66,12.68-14.78C39,42.96,51.08,40.42,64,40.42 M64,36.45c-27.99,0-50.67,11.6-50.67,25.9S36.01,88.25,64,88.25\n\t\t\t\t\t\ts50.67-11.6,50.67-25.9S91.99,36.45,64,36.45L64,36.45z\"/>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<g>\n\t\t\t\t<path style=\"fill:#E89B9B;\" d=\"M48.42,117.09c4.03,0.61,8,1.07,11.97,1.23c3.97,0.14,7.93,0.03,11.84-0.47\n\t\t\t\t\tc0.98-0.14,1.96-0.23,2.93-0.4c0.97-0.19,1.94-0.34,2.91-0.55c1.94-0.39,3.84-0.9,5.74-1.46c3.79-1.16,7.47-2.67,11.07-4.58\n\t\t\t\t\tc-2.97,2.79-6.59,4.91-10.39,6.47c-1.9,0.81-3.88,1.4-5.87,1.95c-2,0.5-4.04,0.86-6.08,1.14c-4.1,0.47-8.25,0.47-12.32-0.09\n\t\t\t\t\tC56.14,119.78,52.14,118.73,48.42,117.09z\"/>\n\t\t\t</g>\n\t\t</g>\n\t\t<g>\n\t\t\t<g>\n\t\t\t\t<g>\n\t\t\t\t\t<path style=\"fill:#F54536;\" d=\"M64,73.9c10.58,0,19.13-1.94,24.84-4.55c0.08-2.12,0.07-5.65-0.06-7.3\n\t\t\t\t\t\tc-0.64-8.07-2.78-12.89-4.65-16.88c-5.17-11.02-1.85-15.76-1.85-21.97C82.28,13.14,74.13,4,64.07,4\n\t\t\t\t\t\tc-10.06,0-18.21,9.14-18.21,19.2c0,6.21,3.32,10.95-1.85,21.97c-1.87,3.98-3.62,8.81-4.65,16.88\n\t\t\t\t\t\tc-0.21,1.64-0.28,5.18-0.24,7.29C44.83,71.96,53.4,73.9,64,73.9z\"/>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t\t<path style=\"fill:#BF1A1A;\" d=\"M88.88,69.35c0.03-2.2,0-6.02-0.1-7.3c-0.13-1.64-0.32-3.13-0.56-4.52\n\t\t\t\tC82.43,65.65,73.73,69.93,64,69.93c-9.6,0-18.2-4.15-23.99-12.09c-0.24,1.3-0.46,2.7-0.65,4.21c-0.16,1.27-0.24,5.1-0.25,7.29\n\t\t\t\tC44.87,71.95,53.38,73.9,64,73.9C74.62,73.9,83.12,71.95,88.88,69.35z\"/>\n\t\t\t<path style=\"fill:#FFFFFF;\" d=\"M64,73.97c6.32,0,11.91-0.85,16.61-1.84c0,0,0.51-5.38,0.51-7.49c0-13.64-7.4-24.7-16.52-24.7\n\t\t\t\tc-9.12,0-16.52,11.06-16.52,24.7c0,2.2,0.55,7.77,0.55,7.77C53.07,73.26,58.23,73.97,64,73.97z\"/>\n\t\t\t<path style=\"fill:#C7C7C7;\" d=\"M80.74,72.06c0.19-1.91,0.33-5.84,0.38-7.43c0,0-6.7,4.74-17.12,4.74s-15.9-3.91-15.9-3.91\n\t\t\t\tc0.07,1.41,0.23,5.16,0.41,6.88c4.46,0.96,9.66,1.62,15.49,1.62C70.39,73.97,76.02,73.19,80.74,72.06z\"/>\n\t\t\t<path style=\"fill:#00897B;\" d=\"M84.61,46.2c-0.16-0.35-0.32-0.7-0.47-1.03c-5.17-11.02-1.85-15.76-1.85-21.97\n\t\t\t\tC83.15,12.24,74.13,4,64.07,4c-10.06,0-19.11,7.96-18.21,19.2c0,6.21,3.32,10.95-1.85,21.97c-0.16,0.34-0.32,0.7-0.47,1.05\n\t\t\t\tc7.39-1.28,13.31-6.2,20.89-6.2S77.27,44.86,84.61,46.2z\"/>\n\t\t\t<g>\n\t\t\t\t<path style=\"fill:#00897B;\" d=\"M62.38,49.38c2.56-3.91,2.2-9.58,2.2-9.58s-4.62,1.07-7.18,4.98c-2.56,3.91-2.09,9.17-2.09,9.17\n\t\t\t\t\tS59.82,53.29,62.38,49.38z\"/>\n\t\t\t\t<path style=\"fill:#00897B;\" d=\"M73.43,54.02c0,0,0.55-5.26-1.96-9.2c-2.5-3.94-7.11-5.08-7.11-5.08s-0.44,5.66,2.06,9.61\n\t\t\t\t\tC68.93,53.29,73.43,54.02,73.43,54.02z\"/>\n\t\t\t</g>\n\t\t\t\n\t\t\t\t<ellipse transform=\"matrix(0.9998 -0.0187 0.0187 0.9998 -0.4053 1.1994)\" style=\"fill:#FFCA28;\" cx=\"64\" cy=\"22.3\" rx=\"12.62\" ry=\"13.19\"/>\n\t\t\t<g>\n\t\t\t\t<ellipse style=\"fill:#3E2723;\" cx=\"58.5\" cy=\"24.52\" rx=\"2.04\" ry=\"2.84\"/>\n\t\t\t\t<ellipse style=\"fill:#3E2723;\" cx=\"69.5\" cy=\"24.52\" rx=\"2.04\" ry=\"2.84\"/>\n\t\t\t</g>\n\t\t\t<path style=\"fill:#3E2723;\" d=\"M76.61,22.4c0-0.11,0.01-0.23,0.01-0.34c-0.14-7.28-5.9-13.08-12.87-12.95\n\t\t\t\tc-6.93,0.13-12.44,6.07-12.37,13.29c0.94-0.37,3.88-1.66,6.78-4.55c3.51-3.49,5.78-6.79,5.83-6.72c0.05-0.07,2.32,3.23,5.83,6.72\n\t\t\t\tC72.73,20.74,75.66,22.03,76.61,22.4z\"/>\n\t\t</g>\n\t\t<path style=\"fill:#F2B87E;\" d=\"M84.75,46.5c0.65,1.43,1.31,3.01,1.91,4.79c6.85,2.59,10.67,6.1,10.67,8.99\n\t\t\tc0,5.27-12.68,12.62-33.32,12.62s-33.32-7.35-33.32-12.62c0-2.93,3.93-6.51,10.97-9.11c0.56-1.76,1.16-3.31,1.78-4.73\n\t\t\tc-10.07,2.97-16.72,8.06-16.72,13.83c0,9.16,16.69,16.59,37.29,16.59s37.29-7.43,37.29-16.59C101.29,54.54,94.72,49.48,84.75,46.5\n\t\t\tz\"/>\n\t</g>\n</g>\n</svg>\n",
|
|
186
|
+
"1fa94": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_2\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<path style=\"fill:#891E0D;\" d=\"M56.1,81.32c-0.6,0.24-52.2,0.39-52.2,0.39s-1.02,6.57,2.98,15.1c2.7,5.75,7.07,13.65,12.75,18.35\n\tc3.46,2.86,10.84,9.29,29.55,9.41c20.38,0.13,28.12-9.18,32.53-13.35c4.41-4.17,10.61-12.99,15.13-17.4s9.41-7.39,9.77-11.56\n\tc0.36-4.17-2.74-4.29-2.74-4.29L56.1,81.32z\"/>\n<path style=\"fill:#D75010;\" d=\"M48.95,106.82c20.49-0.82,27.29-8.1,40.99-16.33c11.74-7.04,16.21-9.65,16.21-11.44\n\ts-10.79-5.11-17.04-7.98c-8.82-4.05-21.81-11.8-44.69-11.92c-19.67-0.1-40.56,7.87-40.56,23.12\n\tC3.87,97.76,29.18,107.61,48.95,106.82z\"/>\n<path style=\"fill:#FE9700;\" d=\"M35.79,67.38l-9.91,2.34L15.22,75.8l-1.17,6.82l1.81,2.98l66.29,0.96l9.06-6.29\n\tc0,0-3.52-1.81-4.16-2.24c-0.64-0.43-24.3-8.42-24.62-8.31C62.11,69.83,35.79,67.38,35.79,67.38z\"/>\n<path style=\"fill:#D85F11;\" d=\"M15.54,86.99c0,0,0.85-3.75,5.33-7.14c4.37-3.3,11.34-6.55,25.21-5.89\n\tc12.77,0.61,22.32,5.03,26.9,8.02c4.58,2.98,7.99,5.44,7.99,5.44l-13.32,6.82l-16.52,4.16c0,0-23.34-2.34-24.41-3.3\n\tC25.66,94.13,15.54,86.99,15.54,86.99z\"/>\n<path style=\"fill:#EBA961;\" d=\"M26.07,93.72c0,0-0.07-0.05-0.18-0.18c-0.37-0.46-1.24-3.11-0.68-5.79\n\tc1.19-5.63,6.82-8.71,11.85-9.57c6.13-1.05,11.73-0.94,11.73,3.44c0,3.52-4.94,3.18-7.39,3.41c-2.44,0.23-6.02,0.91-6.14,3.41\n\tc-0.12,2.62,4.29,3.76,11.31,2.95c6.15-0.71,15.1-3.8,15.1-3.8l3.43,4.37l-0.4,3.13c0,0-9.83,2.95-10.34,2.9\n\tc-0.51-0.06-17.84-0.11-18.81-0.57C34.59,96.96,26.07,93.72,26.07,93.72z\"/>\n<g>\n\t<path style=\"fill:#FFE36A;\" d=\"M48.2,99.26c-2.47,0-5.12-0.12-8.02-0.37c-13.89-1.2-30.17-8.17-27.98-18.06\n\t\tc1.93-8.72,13.68-14.91,32.82-14.95c20.26-0.04,46.25,12.5,47.35,13.01c0,0,1.07,0.43,1.14,1.11c0.07,0.75-0.84,1.42-0.84,1.42\n\t\tc-0.32,0.26-8.02,6.39-19.13,11.89C66.22,96.94,59.07,99.26,48.2,99.26z M43.19,68.87c-16.75,0-27.39,6.03-27.82,12.4\n\t\tC14.84,89.1,28.04,94.83,40.44,95.9c15.03,1.3,23.03-0.95,31.77-5.28c7.57-3.75,13.62-7.88,16.58-10.04\n\t\tc-6.84-2.97-27.61-11.39-43.83-11.7C44.37,68.87,43.77,68.87,43.19,68.87z\"/>\n</g>\n<path style=\"fill:#FEF499;\" d=\"M61.67,87.58c0,0,6.38-2.51,10.58-4.5c4.05-1.92,11.45-6.37,11.45-6.37l6.78,0.81l3.02,2.49\n\tc0,0-9.43,6.43-17.4,9.97c-6.61,2.94-12.61,4.2-12.61,4.2s-3.73-0.02-3.83-3.17C59.6,88.8,61.67,87.58,61.67,87.58z\"/>\n<path style=\"fill:#FFA821;\" d=\"M4.86,80.61c-0.06,1.44,1.22,2.44,3.27,2.33c1.78-0.1,3-0.93,2.94-2.44\n\tc-0.06-1.39-1.03-2.34-2.88-2.33C6.08,78.17,4.92,79.15,4.86,80.61z\"/>\n<path style=\"fill:#FFA821;\" d=\"M15.83,91.57c-1.33-0.1-3.22,0.78-3.11,2.88s2.22,2.55,3.33,2.44c1.21-0.12,2.59-0.78,2.72-2.5\n\tC18.88,92.96,18.1,91.74,15.83,91.57z\"/>\n<path style=\"fill:#FFA821;\" d=\"M34.12,99.27c-1.5-0.02-3.24,0.89-3.24,2.68c0,1.62,1.47,2.61,3.49,2.64\n\tc1.96,0.03,3.19-1.14,3.15-2.71C37.5,100.77,36.7,99.3,34.12,99.27z\"/>\n<path style=\"fill:#FFA821;\" d=\"M55.31,99.95c-2.29,0.22-3.27,1.6-3.17,2.93c0.1,1.33,1.29,2.5,3.52,2.28\n\tc2.62-0.25,3.22-1.39,3.16-2.69S57.74,99.72,55.31,99.95z\"/>\n<path style=\"fill:#FFA821;\" d=\"M72.89,94.55c-1.58,0.72-2.25,2.24-1.5,3.55c0.65,1.14,2.66,1.03,3.91,0.23\n\tc1.24-0.8,1.92-1.97,1.24-3.31C75.95,93.87,74.39,93.87,72.89,94.55z\"/>\n<path style=\"fill:#FFA821;\" d=\"M85.99,89.64c0.98,1.32,2.51,0.85,3.72-0.03c1.18-0.86,1.56-2.18,0.95-3.19\n\tc-0.62-1.01-2.18-1.01-3.55-0.1S85.24,88.63,85.99,89.64z\"/>\n<path style=\"fill:#FFA821;\" d=\"M96.81,81.61c0.88,0.95,2.43,0.9,3.72,0.07c1.4-0.91,1.63-2.22,0.75-2.84s-2.16-0.64-3.42,0.03\n\tC97.13,79.26,95.9,80.63,96.81,81.61z\"/>\n<path style=\"fill:#FFA821;\" d=\"M66.15,65.25c-0.46,1.21-0.26,2.64,2.02,3.19c2.28,0.55,3.21-0.48,3.42-1.47\n\tc0.26-1.21-0.59-2.41-2.18-2.74C67.81,63.92,66.55,64.2,66.15,65.25z\"/>\n<path style=\"fill:#FFA821;\" d=\"M47.5,62.28c-0.15,1.19,0.59,2.31,2.93,2.51s3.29-0.63,3.37-2.09c0.09-1.69-1.61-2.19-3.1-2.34\n\tC49.13,60.2,47.68,60.83,47.5,62.28z\"/>\n<path style=\"fill:#FFA821;\" d=\"M30.19,63.49c0.09,1.18,1.26,2.08,3.22,1.79c1.96-0.29,2.77-1.27,2.56-2.56\n\tc-0.21-1.28-1.52-1.93-3.07-1.8C31.3,61.04,30.08,62.05,30.19,63.49z\"/>\n<path style=\"fill:#FFA821;\" d=\"M15.81,66.62c-1.59,0.66-1.92,2.84-0.65,3.59s2.97,0.73,4.2-0.23c1.46-1.14,1.31-2.76,0.2-3.35\n\tC18.37,65.99,17.16,66.06,15.81,66.62z\"/>\n<path style=\"fill:#91C354;\" d=\"M8.45,74.38c0.34,1.22,1.43,1.83,3.35,1.42c1.75-0.37,2.68-1.56,2.43-2.87\n\tc-0.26-1.31-1.48-2.13-3.45-1.68C8.86,71.69,8.13,73.24,8.45,74.38z\"/>\n<path style=\"fill:#91C354;\" d=\"M6.74,88.08c0.08,1.6,1.36,2.56,2.92,2.56c1.63,0,2.95-1,2.91-2.59c-0.05-1.71-1.21-2.44-2.93-2.48\n\tC8.44,85.55,6.64,86.13,6.74,88.08z\"/>\n<path style=\"fill:#91C354;\" d=\"M21.19,98.67c-0.09,1.87,1.38,2.87,3.17,2.87c1.79,0,2.96-0.88,3.05-2.67\n\tc0.1-1.79-1.36-2.59-3.09-2.62C22.6,96.21,21.27,96.93,21.19,98.67z\"/>\n<path style=\"fill:#91C354;\" d=\"M41.68,102.82c0.06,1.5,1.38,2.49,3.33,2.55c1.99,0.07,3.47-0.89,3.48-2.78\n\tc0.01-1.52-1.4-2.55-3.52-2.55C43.01,100.04,41.61,101.13,41.68,102.82z\"/>\n<path style=\"fill:#91C354;\" d=\"M62.07,101.66c0.53,1.51,2.22,1.76,4.17,1.08c1.96-0.68,2.66-2.35,2.25-3.49\n\tc-0.52-1.43-2.31-1.73-3.95-1.24C62.91,98.5,61.42,99.8,62.07,101.66z\"/>\n<path style=\"fill:#91C354;\" d=\"M80.37,90.47c-1.23,0.76-1.92,2.15-1.17,3.36c0.75,1.21,2.54,0.91,3.61,0.16\n\tc1.18-0.82,1.99-2.18,1.08-3.39C82.91,89.31,81.32,89.89,80.37,90.47z\"/>\n<path style=\"fill:#91C354;\" d=\"M92.86,82.66c-1.23,0.74-1.57,2.15-0.78,3.12c0.74,0.91,2.35,0.69,3.3,0.04\n\tc0.95-0.65,1.53-2.14,0.49-3.13C95.1,81.95,93.85,82.07,92.86,82.66z\"/>\n<path style=\"fill:#91C354;\" d=\"M73.92,67.48c-0.72,1.47,0.26,2.74,1.63,3.26c1.37,0.52,2.61,0.03,3.03-0.78s0.16-2.31-1.6-3\n\tC75.23,66.27,74.21,66.89,73.92,67.48z\"/>\n<path style=\"fill:#91C354;\" d=\"M56.83,63.43c-0.23,1.7,0.9,2.53,2.72,2.76c1.78,0.22,3.17-0.28,3.43-1.86\n\tc0.26-1.6-1.14-2.44-2.51-2.74C59.09,61.3,57.04,61.84,56.83,63.43z\"/>\n<path style=\"fill:#91C354;\" d=\"M38.56,62.39c0,1.4,1.3,2.23,3.11,2.19c1.99-0.04,3.07-0.77,3.06-2.23c-0.01-1.31-1.29-2.26-3.1-2.26\n\tC39.77,60.09,38.56,61.13,38.56,62.39z\"/>\n<path style=\"fill:#91C354;\" d=\"M24.1,63.05c-2.37,0.47-2.23,2.13-1.89,2.98c0.39,0.98,1.75,1.5,3.22,1.19\n\tc1.97-0.41,2.64-1.83,2.18-2.87C27.07,63.11,25.67,62.74,24.1,63.05z\"/>\n<radialGradient id=\"SVGID_1_\" cx=\"93.645\" cy=\"9.376\" r=\"57.5758\" gradientUnits=\"userSpaceOnUse\">\n\t<stop offset=\"0.4179\" style=\"stop-color:#FFCF18\"/>\n\t<stop offset=\"0.6005\" style=\"stop-color:#FFCC16\"/>\n\t<stop offset=\"0.7438\" style=\"stop-color:#FEC212\"/>\n\t<stop offset=\"0.8733\" style=\"stop-color:#FDB10A\"/>\n\t<stop offset=\"0.9821\" style=\"stop-color:#FC9D00\"/>\n</radialGradient>\n<path style=\"fill:url(#SVGID_1_);\" d=\"M93.71,8.97c-1.34,0-3.48,9.38-5.76,15.94c-2.28,6.56-8.74,23.44-10.58,31.62\n\tc-1.21,5.36-1.35,12.63,1.43,16.7c2.29,3.36,7.17,6.67,12.43,7.18c5.6,0.54,15.62-2.58,17.76-11.42c2.14-8.84-1.07-17.28-3.35-24.79\n\tc-1.82-6-5.09-14.74-6.7-20.1C97.74,20.15,95.05,8.97,93.71,8.97z\"/>\n<path style=\"fill:#FF7512;\" d=\"M87.34,71.14c0,0-0.79,1.68-1.53,2.72c-0.93,1.31-2.79,3.36-2.79,3.36s0.53,0.57,2.77,1.67\n\tc4.57,2.24,8.09,1.54,8.09,1.54s1.57-1.88,2.01-3.02s0.22-3.92-3.16-5.61C89.36,70.11,87.62,70.54,87.34,71.14z\"/>\n<path style=\"fill:#CA750F;\" d=\"M89.36,75.34c0,0,2.78-0.11,4.09,0.33S96,76.81,96,76.81s0.49-2.83-2.89-5.28\n\tc-3.38-2.45-5.45-0.82-5.45-0.82s0.65,1.04,0.93,1.96C88.87,73.59,89.36,75.34,89.36,75.34z\"/>\n<radialGradient id=\"SVGID_2_\" cx=\"91.3772\" cy=\"51.1426\" r=\"49.412\" gradientTransform=\"matrix(0.0162 -0.9999 0.741 0.012 52.002 141.8952)\" gradientUnits=\"userSpaceOnUse\">\n\t<stop offset=\"0.184\" style=\"stop-color:#FFD874\"/>\n\t<stop offset=\"1\" style=\"stop-color:#FFD874;stop-opacity:0\"/>\n</radialGradient>\n<path style=\"opacity:0.5;fill:url(#SVGID_2_);\" d=\"M53.35,47.45c-1.92,26.39,6.83,55.92,40.17,54.81\n\tc33.33-1.11,34.71-27.2,34.3-52.81c-0.4-25.12-5.11-48.46-33.12-49.13C70.24-0.26,55.35,19.88,53.35,47.45z\"/>\n</svg>\n",
|
|
186
187
|
"1fa99": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_9\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<g>\n\t<circle style=\"fill:#D68F30;\" cx=\"64\" cy=\"66.58\" r=\"57.36\"/>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M10.54,81.48v5.86c0.6,1.55,1.27,3.08,2,4.56V81.48H10.54z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M17.08,92.51v7.04c0.8,1.13,1.63,2.24,2.5,3.31V92.51H17.08z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M25.74,101.71v7.59c0.97,0.87,1.97,1.7,3,2.5v-10.09H25.74z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M36.4,108.7v8.16c0.98,0.54,1.98,1.05,3,1.54v-9.7H36.4z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M48.49,113.15v8.64c0.99,0.28,1.99,0.53,3,0.76v-9.4H48.49z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M62.64,114.69v9.21c0.45,0.01,0.9,0.03,1.36,0.03c0.55,0,1.1-0.03,1.64-0.04v-9.2H62.64z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M76.79,113.08v9.4c1.01-0.23,2.01-0.49,3-0.77v-8.63H76.79z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M88.85,108.57v9.71c1.02-0.49,2.02-1.02,3-1.57v-8.14H88.85z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M99.48,101.52v10.1c1.03-0.81,2.03-1.64,3-2.52v-7.58H99.48z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M111.09,92.29h-2.5v10.35c0.87-1.08,1.71-2.19,2.5-3.33V92.29z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#BC6F00;\" d=\"M117.59,81.22h-2v10.44c0.73-1.51,1.4-3.06,2-4.63V81.22z\"/>\n\t\t</g>\n\t</g>\n\t<circle style=\"fill:#FFF176;\" cx=\"64\" cy=\"61.42\" r=\"57.36\"/>\n\t<circle style=\"fill:#F2BC1A;\" cx=\"64\" cy=\"61.42\" r=\"52.25\"/>\n\t<g>\n\t\t<path style=\"fill:#E08F00;\" d=\"M11.65,63.42c-0.37-6.88,0.82-13.86,3.22-20.4c2.5-6.52,6.33-12.55,11.16-17.67\n\t\t\tC35.73,15.09,49.81,9.14,64,9.07c14.19,0.08,28.28,6.02,37.96,16.29c4.84,5.11,8.66,11.15,11.16,17.66\n\t\t\tc2.41,6.55,3.6,13.52,3.22,20.4h-0.2c-0.02-6.85-1.38-13.68-4-20c-2.61-6.32-6.48-12.12-11.29-16.97\n\t\t\tc-4.82-4.85-10.59-8.75-16.9-11.38c-6.3-2.64-13.13-4-19.96-4c-6.83,0-13.66,1.36-19.96,4c-6.31,2.63-12.08,6.53-16.9,11.38\n\t\t\tc-4.82,4.85-8.68,10.65-11.29,16.97c-2.62,6.32-3.98,13.15-4,20H11.65z\"/>\n\t</g>\n\t<path style=\"fill:#FFF176;\" d=\"M64,4.07c-31.68,0-57.36,25.68-57.36,57.36c0,31.68,25.68,57.36,57.36,57.36\n\t\ts57.36-25.68,57.36-57.36C121.36,29.75,95.68,4.07,64,4.07z M64,113.68c-28.86,0-52.25-23.39-52.25-52.25\n\t\tC11.75,32.56,35.14,9.17,64,9.17s52.25,23.39,52.25,52.25C116.25,90.28,92.86,113.68,64,113.68z\"/>\n\t<g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"37.99,21.35 39.26,25.28 43.4,23.7 43.4,25.28 40.05,27.71 41.33,30.05 41.33,31.64 \n\t\t\t\t37.99,29.21 34.64,31.64 34.64,30.05 35.92,27.71 32.58,25.28 32.58,23.7 36.71,25.28 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"22.01,43.91 23.29,47.84 27.42,46.26 27.42,47.84 24.08,50.27 25.36,52.62 25.36,54.2 \n\t\t\t\t22.01,51.77 18.67,54.2 18.67,52.62 19.95,50.27 16.6,47.84 16.6,46.26 20.74,47.84 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"21.54,71.72 22.82,75.65 26.95,74.07 26.95,75.65 23.61,78.08 24.89,80.43 24.89,82.01 \n\t\t\t\t21.54,79.58 18.2,82.01 18.2,80.43 19.48,78.08 16.13,75.65 16.13,74.07 20.27,75.65 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"38.6,93.8 39.88,97.73 44.01,96.15 44.01,97.73 40.67,100.16 41.95,102.5 41.95,104.09 \n\t\t\t\t38.6,101.66 35.26,104.09 35.26,102.5 36.54,100.16 33.19,97.73 33.19,96.15 37.33,97.73 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"90.01,21.35 88.74,25.28 84.6,23.7 84.6,25.28 87.95,27.71 86.67,30.05 86.67,31.64 \n\t\t\t\t90.01,29.21 93.36,31.64 93.36,30.05 92.08,27.71 95.42,25.28 95.42,23.7 91.29,25.28 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"105.99,43.91 104.71,47.84 100.58,46.26 100.58,47.84 103.92,50.27 102.64,52.62 \n\t\t\t\t102.64,54.2 105.99,51.77 109.33,54.2 109.33,52.62 108.05,50.27 111.4,47.84 111.4,46.26 107.26,47.84 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"106.46,71.72 105.18,75.65 101.05,74.07 101.05,75.65 104.39,78.08 103.11,80.43 \n\t\t\t\t103.11,82.01 106.46,79.58 109.8,82.01 109.8,80.43 108.52,78.08 111.87,75.65 111.87,74.07 107.73,75.65 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"89.4,93.8 88.12,97.73 83.99,96.15 83.99,97.73 87.33,100.16 86.05,102.5 86.05,104.09 \n\t\t\t\t89.4,101.66 92.74,104.09 92.74,102.5 91.46,100.16 94.81,97.73 94.81,96.15 90.67,97.73 \t\t\t\"/>\n\t\t</g>\n\t</g>\n\t<g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"89.4,92.21 90.67,96.14 94.81,96.14 91.46,98.57 92.74,102.5 89.4,100.07 86.05,102.5 \n\t\t\t\t87.33,98.57 83.99,96.14 88.12,96.14 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"106.46,70.14 107.73,74.07 111.87,74.07 108.52,76.5 109.8,80.43 106.46,78 103.11,80.43 \n\t\t\t\t104.39,76.5 101.05,74.07 105.18,74.07 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"105.99,42.33 107.26,46.26 111.4,46.26 108.05,48.69 109.33,52.62 105.99,50.19 \n\t\t\t\t102.64,52.62 103.92,48.69 100.58,46.26 104.71,46.26 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"90.01,19.76 91.29,23.69 95.42,23.69 92.08,26.12 93.36,30.05 90.01,27.62 86.67,30.05 \n\t\t\t\t87.95,26.12 84.6,23.69 88.74,23.69 \t\t\t\"/>\n\t\t</g>\n\t</g>\n\t<g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"64.05,102.5 65.33,106.43 69.46,104.85 69.46,106.43 66.12,108.86 67.4,111.21 \n\t\t\t\t67.4,112.79 64.05,110.36 60.71,112.79 60.71,111.21 61.99,108.86 58.64,106.43 58.64,104.85 62.78,106.43 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"64.05,100.4 65.33,104.33 69.46,104.33 66.12,106.76 67.4,110.69 64.05,108.26 \n\t\t\t\t60.71,110.69 61.99,106.76 58.64,104.33 62.78,104.33 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#D38200;\" points=\"64.05,12.89 65.33,16.82 69.46,15.24 69.46,16.82 66.12,19.25 67.4,21.6 67.4,23.18 \n\t\t\t\t64.05,20.75 60.71,23.18 60.71,21.6 61.99,19.25 58.64,16.82 58.64,15.24 62.78,16.82 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"64.05,11.31 65.33,15.24 69.46,15.24 66.12,17.67 67.4,21.6 64.05,19.17 60.71,21.6 \n\t\t\t\t61.99,17.67 58.64,15.24 62.78,15.24 \t\t\t\"/>\n\t\t</g>\n\t</g>\n\t<g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"38.6,92.21 37.33,96.14 33.19,96.14 36.54,98.57 35.26,102.5 38.6,100.07 41.95,102.5 \n\t\t\t\t40.67,98.57 44.01,96.14 39.88,96.14 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"21.54,70.14 20.27,74.07 16.13,74.07 19.48,76.5 18.2,80.43 21.54,78 24.89,80.43 \n\t\t\t\t23.61,76.5 26.95,74.07 22.82,74.07 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"22.01,42.33 20.74,46.26 16.6,46.26 19.95,48.69 18.67,52.62 22.01,50.19 25.36,52.62 \n\t\t\t\t24.08,48.69 27.42,46.26 23.29,46.26 \t\t\t\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<polygon style=\"fill:#FFF176;\" points=\"37.99,19.76 36.71,23.69 32.58,23.69 35.92,26.12 34.64,30.05 37.99,27.62 41.33,30.05 \n\t\t\t\t40.05,26.12 43.4,23.69 39.26,23.69 \t\t\t\"/>\n\t\t</g>\n\t</g>\n\t<path style=\"fill:#D38200;\" d=\"M95.22,48.2c0-0.35-62.38,0-62.38,0l-0.56,1.68l0,2.87c0,0.52,0.42,0.94,0.94,0.94h30.99v0h30.57\n\t\tc0.52,0,0.94-0.42,0.94-0.94v-2.79L95.22,48.2z\"/>\n\t<path style=\"fill:#D38200;\" d=\"M95.31,85.5l-62.21,0l-4.16,2.09l0.05,2.69c0.01,0.29,0.25,0.53,0.55,0.53l68.93,0\n\t\tc0.29,0,0.54-0.23,0.55-0.53l0.05-2.64L95.31,85.5z\"/>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M43.13,77.32h-3.58c-0.59,0-1.07-1.86-1.07-2.45l5.71-0.18C44.19,75.28,43.71,77.32,43.13,77.32z\"\n\t\t\t\t/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M44.35,58.01h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.47-3.93h8.83l-0.4,3.93\n\t\t\t\tC45.19,57.71,44.8,58.01,44.35,58.01z\"/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M38.32,78.51h6.03c0.45,0,1.34,0.28,1.46,0.71c0,0-0.03,1.87-0.03,2.61s-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-0.97-0.6-0.97-1.28s-0.03-2.59-0.03-2.59C36.99,78.81,37.87,78.51,38.32,78.51z\"/>\n\t\t</g>\n\t</g>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M89.63,77.32h-3.58c-0.59,0-1.07-1.86-1.07-2.45l5.71-0.18C90.69,75.28,90.22,77.32,89.63,77.32z\"\n\t\t\t\t/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M90.85,58.01h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.47-3.93h8.83l-0.4,3.93\n\t\t\t\tC91.69,57.71,91.3,58.01,90.85,58.01z\"/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M84.82,78.51h6.03c0.45,0,1.34,0.28,1.46,0.71c0,0-0.03,1.87-0.03,2.61s-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-0.97-0.6-0.97-1.28s-0.03-2.59-0.03-2.59C83.49,78.81,84.37,78.51,84.82,78.51z\"/>\n\t\t</g>\n\t</g>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M74.13,77.32h-3.58c-0.59,0-1.07-1.86-1.07-2.45l5.71-0.18C75.19,75.28,74.72,77.32,74.13,77.32z\"\n\t\t\t\t/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M75.35,58.01h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.47-3.93h8.83l-0.4,3.93\n\t\t\t\tC76.19,57.71,75.8,58.01,75.35,58.01z\"/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M69.32,78.51h6.03c0.45,0,1.34,0.28,1.46,0.71c0,0-0.03,1.87-0.03,2.61s-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-0.97-0.6-0.97-1.28s-0.03-2.59-0.03-2.59C67.99,78.81,68.87,78.51,69.32,78.51z\"/>\n\t\t</g>\n\t</g>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M58.63,77.32h-3.58c-0.59,0-1.07-1.86-1.07-2.45l5.71-0.18C59.69,75.28,59.22,77.32,58.63,77.32z\"\n\t\t\t\t/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M59.85,58.01h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.47-3.93h8.83l-0.4,3.93\n\t\t\t\tC60.69,57.71,60.3,58.01,59.85,58.01z\"/>\n\t\t\t<path style=\"fill:#D38200;\" d=\"M53.82,78.51h6.03c0.45,0,1.34,0.28,1.46,0.71c0,0-0.03,1.87-0.03,2.61s-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-0.97-0.6-0.97-1.28s-0.03-2.59-0.03-2.59C52.49,78.81,53.37,78.51,53.82,78.51z\"/>\n\t\t</g>\n\t</g>\n\t<path style=\"fill:#FFF176;\" d=\"M95.67,45.52c0-0.35-0.18-0.68-0.45-0.84l-31.18-17.7L32.82,44.66c-0.3,0.18-0.49,0.51-0.49,0.86\n\t\tl-0.05,4.37c0,0.55,0.45,1,1,1h61.43c0.55,0,1-0.45,1-1L95.67,45.52z\"/>\n\t<polygon style=\"fill:#F2BC1A;\" points=\"87.84,44.33 64,30.8 40.16,44.33 \t\"/>\n\t<polygon style=\"fill:#FFF176;\" points=\"79.07,42.68 64,34.12 48.93,42.68 \t\"/>\n\t<path style=\"fill:#FFF176;\" d=\"M93.39,82.02H34.61c-0.58,0-1.13,0.25-1.52,0.68l-4.04,4.51c-0.28,0.31-0.06,0.8,0.36,0.8h69.18\n\t\tc0.41,0,0.63-0.49,0.36-0.8L94.9,82.7C94.52,82.27,93.96,82.02,93.39,82.02z\"/>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M89.63,75.51h-3.58c-0.59,0-1.07-0.48-1.07-1.07V58.46c0-0.59,0.48-1.07,1.07-1.07h3.58\n\t\t\t\tc0.59,0,1.07,0.48,1.07,1.07v15.99C90.7,75.04,90.22,75.51,89.63,75.51z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M90.86,56.2h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.46-1.59c-0.19-0.64,0.3-1.28,0.97-1.28h6.95\n\t\t\t\tc0.67,0,1.15,0.64,0.97,1.28l-0.46,1.59C91.7,55.9,91.3,56.2,90.86,56.2z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M84.82,76.71h6.03c0.45,0,0.84,0.3,0.97,0.73l0.46,1.59c0.19,0.64-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-1.15-0.64-0.97-1.28l0.46-1.59C83.98,77,84.38,76.71,84.82,76.71z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M43.13,75.51h-3.58c-0.59,0-1.07-0.48-1.07-1.07V58.46c0-0.59,0.48-1.07,1.07-1.07h3.58\n\t\t\t\tc0.59,0,1.07,0.48,1.07,1.07v15.99C44.19,75.04,43.71,75.51,43.13,75.51z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M44.35,56.2h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.46-1.59c-0.19-0.64,0.3-1.28,0.97-1.28h6.95\n\t\t\t\tc0.67,0,1.15,0.64,0.97,1.28l-0.46,1.59C45.19,55.9,44.8,56.2,44.35,56.2z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M38.32,76.71h6.03c0.45,0,0.84,0.3,0.97,0.73l0.46,1.59c0.19,0.64-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-1.15-0.64-0.97-1.28l0.46-1.59C37.48,77,37.87,76.71,38.32,76.71z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M58.63,75.51h-3.58c-0.59,0-1.07-0.48-1.07-1.07V58.46c0-0.59,0.48-1.07,1.07-1.07h3.58\n\t\t\t\tc0.59,0,1.07,0.48,1.07,1.07v15.99C59.69,75.04,59.22,75.51,58.63,75.51z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M59.85,56.2h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.46-1.59c-0.19-0.64,0.3-1.28,0.97-1.28h6.95\n\t\t\t\tc0.67,0,1.15,0.64,0.97,1.28l-0.46,1.59C60.69,55.9,60.3,56.2,59.85,56.2z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M53.82,76.71h6.03c0.45,0,0.84,0.3,0.97,0.73l0.46,1.59c0.19,0.64-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-1.15-0.64-0.97-1.28l0.46-1.59C52.98,77,53.37,76.71,53.82,76.71z\"/>\n\t\t</g>\n\t\t<g>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M74.13,75.51h-3.58c-0.59,0-1.07-0.48-1.07-1.07V58.46c0-0.59,0.48-1.07,1.07-1.07h3.58\n\t\t\t\tc0.59,0,1.07,0.48,1.07,1.07v15.99C75.19,75.04,74.72,75.51,74.13,75.51z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M75.35,56.2h-6.03c-0.45,0-0.84-0.3-0.97-0.73l-0.46-1.59c-0.19-0.64,0.3-1.28,0.97-1.28h6.95\n\t\t\t\tc0.67,0,1.15,0.64,0.97,1.28l-0.46,1.59C76.19,55.9,75.8,56.2,75.35,56.2z\"/>\n\t\t\t<path style=\"fill:#FFF176;\" d=\"M69.32,76.71h6.03c0.45,0,0.84,0.3,0.97,0.73l0.46,1.59c0.19,0.64-0.3,1.28-0.97,1.28h-6.95\n\t\t\t\tc-0.67,0-1.15-0.64-0.97-1.28l0.46-1.59C68.48,77,68.88,76.71,69.32,76.71z\"/>\n\t\t</g>\n\t</g>\n</g>\n</svg>\n",
|
|
187
188
|
"1faa3": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_7_copy\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\"\n\t y=\"0px\" viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<g>\n\t<g>\n\t\t<g>\n\t\t\t<path style=\"fill:#03A9F4;\" d=\"M66.61,15.39c-27.13,0-49.11,7.21-49.11,16.1l8.15,72.44c0.8,8.79,16.87,20.07,40.97,20.07\n\t\t\t\ts39.97-10.57,40.97-20.07l8.15-72.44C115.72,22.6,93.73,15.39,66.61,15.39z\"/>\n\t\t\t<path style=\"fill:#1F6ABF;\" d=\"M115.47,25.8c0-8.89-21.41-15.35-49.33-15.35c-23.96,0-44.38,5.04-49.6,12.17l1.47,13.49\n\t\t\t\tc0,0,10.96,8.56,48.59,8.56c1.35,0,2.66-0.02,3.94-0.04l1.27,13.74h2.21l2.75-13.95c29.5-1.5,38.53-9.24,38.53-9.24L115.47,25.8z\n\t\t\t\t\"/>\n\t\t</g>\n\t</g>\n\t<path style=\"fill:#03A9F4;\" d=\"M122.59,18.08c0,0-22.44-5.1-56.69-5.1c-34.25,0-55.87,4.48-55.87,4.48\n\t\tc0.63,7.35,3.47,13.87,3.47,13.87s9.36,9.96,52.87,9.96s52.67-8.98,54.01-10.48C121.72,29.29,122.59,18.08,122.59,18.08z\"/>\n\t<path style=\"fill:#81D4FA;\" d=\"M122.51,15.95C120.49,8.69,100.57,4,66.31,4s-54.18,4.69-56.2,11.95\n\t\tc-1.83,6.6,15.7,13.74,56.2,13.74S124.34,22.55,122.51,15.95z\"/>\n\t<g>\n\t\t<ellipse style=\"fill:#1F6ABF;\" cx=\"66.31\" cy=\"15.4\" rx=\"47.64\" ry=\"7.85\"/>\n\t\t<linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"18.6673\" y1=\"15.3986\" x2=\"60.742\" y2=\"15.3986\">\n\t\t\t<stop offset=\"0\" style=\"stop-color:#0A488F\"/>\n\t\t\t<stop offset=\"1\" style=\"stop-color:#0A488F;stop-opacity:0\"/>\n\t\t</linearGradient>\n\t\t<path style=\"fill:url(#SVGID_1_);\" d=\"M60.74,7.55c-28.72,0.97-42.07,4.72-42.07,7.85c0,4.33,20.54,7.34,42.07,7.85V7.55z\"/>\n\t</g>\n\t<path style=\"fill:#1F6ABF;\" d=\"M82.97,53.75c-12.27,6.93-43.7,23.31-60.49,21.99l1.49,13.62c1.44,0.22,34.7,0.98,63.52-32.65\n\t\tL82.97,53.75z\"/>\n\t<g>\n\t\t<path style=\"fill:#757575;\" d=\"M17.9,34.94C10.69,42.08,2.65,50.99,6.61,60.61c1.43,3.47,4.42,5.33,6.22,6.13\n\t\t\tc0,0,0.06-0.68,0.22-1.83c0.6-4.42,2.85-9.26,6.58-14.59C19.11,45.69,18.36,39.03,17.9,34.94z\"/>\n\t\t<path style=\"fill:#9E9E9E;\" d=\"M88.14,52.5c-1.44-3.96-5.92-1.8-5.92-1.8c-13.6,7.68-50,25.4-67.8,18.28\n\t\t\tc-4.64-1.85-8.49-4.16-10.88-10.41c-0.02,4.5,5.6,17.24,10.21,19.58c3.74,1.89,8.05,3.15,13.24,3.15c8.77,0,19.72-2.99,32.76-8.96\n\t\t\tc14.86-6.8,26.09-14.41,26.6-14.75C86.36,57.58,89.45,56.11,88.14,52.5z\"/>\n\t\t<g>\n\t\t\t<path style=\"fill:#E0E0E0;\" d=\"M86.35,48.41c-2.04-1.55-5.5-0.83-8.37,0.65c-1.15,0.42-10.22,6.43-25.01,12.21\n\t\t\t\tc-19.2,7.5-33.44,8.78-41.17,3.71c-4.2-2.76-5.8-6.4-4.88-11.16c1.09-5.65,5.2-11.66,11.1-17.75l-0.23-2.02l-1.55-0.83\n\t\t\t\tC9.68,39.78,4.94,46.59,3.67,53.2C2.5,59.25,4.69,64.29,9.99,67.76c3.88,2.54,8.76,3.58,14.16,3.58\n\t\t\t\tc23.38,0,55.04-18.81,56.73-19.83c0,0,4.52-2.71,6.83,0.68c0.35,0.51,0.84,1.49,0.67,2.82C88.38,55.01,89.55,50.85,86.35,48.41z\"\n\t\t\t\t/>\n\t\t</g>\n\t</g>\n</g>\n</svg>\n",
|
|
188
189
|
"1faa8": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_4\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 128 128\" style=\"enable-background:new 0 0 128 128;\" xml:space=\"preserve\">\n<g>\n\t<linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"87.6156\" y1=\"21.0395\" x2=\"41.5479\" y2=\"138.0836\">\n\t\t<stop offset=\"0\" style=\"stop-color:#9E958E\"/>\n\t\t<stop offset=\"0.4597\" style=\"stop-color:#8E8884\"/>\n\t\t<stop offset=\"1\" style=\"stop-color:#757575\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_1_);\" d=\"M8.93,90.74c-0.53-1.25-1.04-2.5-1.54-3.75C3.62,77.48,8.35,68.9,12.57,60.5l6.12-12.16\n\t\tc1.23-2.45,3.12-4.51,5.44-5.95l17.6-10.92l17.39-17.98c1.08-1.12,2.46-1.91,3.97-2.27l0,0l11.84-2.86\n\t\tc5.73-1.37,8.19-1.15,10.04,1.48c6.41,9.1,10.7,16.59,16.41,25.66c3.11,4.94,10.29,16.29,10.74,17.04\n\t\tc1.38,2.32,0.82,4.26,0.77,6.92c-0.12,6.13,0.96,12.29,3.2,18c0.67,1.7,1.44,3.38,1.79,5.17c0.32,1.61-0.11,11.84-0.44,15.3\n\t\tc-0.27,2.81-6.91,13.3-9.29,14.57c-2.62,1.4-22.04,8.54-26.33,9.76s-22.89-3.03-32.55-4.51c-5.97-0.91-11.95-1.83-17.92-2.74\n\t\tc-5.18-0.79-10.33-0.19-13.23-5.42C14.71,103.47,11.65,97.18,8.93,90.74z\"/>\n\t<linearGradient id=\"SVGID_2_\" gradientUnits=\"userSpaceOnUse\" x1=\"8.8588\" y1=\"120.1374\" x2=\"47.1713\" y2=\"77.5362\">\n\t\t<stop offset=\"0\" style=\"stop-color:#37474F\"/>\n\t\t<stop offset=\"0.6122\" style=\"stop-color:#42565F;stop-opacity:0.1915\"/>\n\t\t<stop offset=\"0.7573\" style=\"stop-color:#455A64;stop-opacity:0\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_2_);\" d=\"M31.34,115c5.97,0.91,11.95,1.83,17.92,2.74c3.11,0.48,7.15,1.24,11.34,2.02\n\t\tc-2.82-3.34-7.03-7.3-9.85-10.64c-0.61-0.72-1.23-1.47-1.45-2.39c-0.23-0.98,0.03-1.99,0.3-2.96c0.86-3.18,1.08-6.63,1.94-9.81\n\t\tc-5.33,1.24-17.61,3.6-18.62,3.31c-1.12-0.32-2.03-1.13-2.9-1.92c-6.33-5.78-11.28-11.61-16.12-18.66\n\t\tc-0.57-0.83-1.15-1.69-1.36-2.68c-0.2-0.93-0.05-1.89,0.1-2.82c0.36-2.32,1.16-8.75,1.8-14.42l-1.88,3.73\n\t\tC8.35,68.9,3.62,77.48,7.4,86.99c0.5,1.26,1.01,2.51,1.54,3.75c2.71,6.44,5.78,12.73,9.17,18.83C21,114.81,26.16,114.21,31.34,115z\n\t\t\"/>\n\t<linearGradient id=\"SVGID_3_\" gradientUnits=\"userSpaceOnUse\" x1=\"99.5535\" y1=\"66.7018\" x2=\"74.7781\" y2=\"11.7455\">\n\t\t<stop offset=\"0\" style=\"stop-color:#9E958E\"/>\n\t\t<stop offset=\"0.4415\" style=\"stop-color:#AEA298\"/>\n\t\t<stop offset=\"1\" style=\"stop-color:#C9B8A9\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_3_);\" d=\"M85.05,9.95c-1.23-1.45-3.63-1.17-6.15,1.13l-9.06,9.06c-0.56,0.56-0.86,1.33-0.81,2.12\n\t\tL70,40.76c0.03,0.62,0.26,1.2,0.66,1.67c3.22,3.76,14.6,21.83,17.9,21.83c3.29,0,9.04-12.82,11.97-12.75\n\t\tc0.5,0.01,3.11,0.17,5.66,0.95c2.38,0.72,3.31-2.55,2.82-4.87c-2.46-3.9-5.77-9.13-7.63-12.09C95.69,26.47,91.41,19,85.05,9.95z\"/>\n\t<linearGradient id=\"SVGID_4_\" gradientUnits=\"userSpaceOnUse\" x1=\"37.5017\" y1=\"104.5447\" x2=\"47.5017\" y2=\"50.2947\">\n\t\t<stop offset=\"3.806090e-04\" style=\"stop-color:#4C5C64\"/>\n\t\t<stop offset=\"1\" style=\"stop-color:#455A64;stop-opacity:0\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_4_);\" d=\"M42.89,46.37c3.33-0.5,14.44-2.39,16.53-3.21c4.08-1.61,7.68-8.47,10.06-12.16\n\t\tc0,0,0.82,12.03,0,16.73c-0.57,3.27-2.72,20.37-4.88,24.47L51.54,93.96c-6.4-6.4-12.79-12.79-19.19-19.19\n\t\tc-1.63-1.63-2.67-2.49-3.26-4.8c-1.35-5.28-3.8-13.07-3.81-17.66S37.64,47.15,42.89,46.37z\"/>\n\t<linearGradient id=\"SVGID_5_\" gradientUnits=\"userSpaceOnUse\" x1=\"41.7319\" y1=\"20.4163\" x2=\"70.7821\" y2=\"20.4163\">\n\t\t<stop offset=\"3.806090e-04\" style=\"stop-color:#4C5C64\"/>\n\t\t<stop offset=\"1\" style=\"stop-color:#455A64;stop-opacity:0\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_5_);\" d=\"M67.16,20.74c-1.28-1.53-1.64-3.7-1.2-5.64c0.37-1.62,3.73-4.75,4.82-5.74l-7.69,1.86\n\t\tc-1.51,0.37-2.89,1.15-3.97,2.27L41.73,31.47C41.73,31.47,58.57,24.45,67.16,20.74z\"/>\n\t<linearGradient id=\"SVGID_6_\" gradientUnits=\"userSpaceOnUse\" x1=\"87.2609\" y1=\"76.6067\" x2=\"121.616\" y2=\"90.7666\">\n\t\t<stop offset=\"0\" style=\"stop-color:#9E958E\"/>\n\t\t<stop offset=\"0.25\" style=\"stop-color:#AEA298\"/>\n\t\t<stop offset=\"0.5662\" style=\"stop-color:#C9B8A9\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_6_);\" d=\"M116.08,77.46c-1.68-4.28-2.71-8.81-3.06-13.39c-5.74,3.93-8.95,9.03-18.19,10.28\n\t\tc-2.45,0.33-6.24,0.79-8.63,1.42c-2.96,0.78-5.7,2.97-10.14,3.38c-3.16,0.3-11.13,0.07-9.93,1.85c1.2,1.78,8.35,5.37,10.13,6.82\n\t\tc2.53,2.03,4.73,4.42,6.84,6.88c1.1,1.29,2.75,4.42,4.67,5.27c0.49,0.22,1.01,0.28,1.53,0.12c0.91-0.27,1.64-0.93,2.35-1.56\n\t\tc6.87-6.09,14.64-11.17,22.97-15.02c0.89-0.41,1.85-0.87,2.29-1.75c0.19-0.39,0.27-0.92,0.28-1.49\n\t\tC116.84,79.33,116.45,78.4,116.08,77.46z\"/>\n\t<linearGradient id=\"SVGID_7_\" gradientUnits=\"userSpaceOnUse\" x1=\"104.646\" y1=\"123.3574\" x2=\"97.6055\" y2=\"95.5867\">\n\t\t<stop offset=\"0\" style=\"stop-color:#37474F\"/>\n\t\t<stop offset=\"0.8085\" style=\"stop-color:#42565F;stop-opacity:0.1915\"/>\n\t\t<stop offset=\"1\" style=\"stop-color:#455A64;stop-opacity:0\"/>\n\t</linearGradient>\n\t<path style=\"fill:url(#SVGID_7_);\" d=\"M117.87,82.63c-0.13-0.65-0.32-1.29-0.54-1.92c-0.17,0.59-0.54,1.24-1.34,1.85\n\t\tc-2.3,1.76-11.17,4.47-20.93,13.02c-6.37,5.58-6.38,6.33-7.75,12.48c-2.24,10.07-5.8,13.73-6.48,14.35\n\t\tc0.37-0.04,0.7-0.09,0.97-0.17c4.3-1.21,23.71-8.36,26.33-9.76c2.38-1.27,9.02-11.76,9.29-14.57\n\t\tC117.76,94.47,118.19,84.24,117.87,82.63z\"/>\n</g>\n</svg>\n",
|
package/lib/objects.js
CHANGED
|
@@ -135,7 +135,7 @@ export const objects = {
|
|
|
135
135
|
"nature.shell": o("1f41a", "shell"),
|
|
136
136
|
"nature.snowman": o("26c4", "snowman", "snowmen"),
|
|
137
137
|
// toys and play
|
|
138
|
-
"toy.soccer-ball": o("26bd", "
|
|
138
|
+
"toy.soccer-ball": o("26bd", "football"),
|
|
139
139
|
"toy.basketball": o("1f3c0", "basketball"),
|
|
140
140
|
"toy.tennis-ball": o("1f3be", "tennis ball"),
|
|
141
141
|
"toy.baseball": o("26be", "baseball"),
|
|
@@ -198,6 +198,7 @@ export const objects = {
|
|
|
198
198
|
"thing.heart": o("2764", "heart"),
|
|
199
199
|
"thing.flag": o("1f6a9", "flag"),
|
|
200
200
|
"thing.lantern": o("1f3ee", "lantern"),
|
|
201
|
+
"thing.oil-lamp": o("1fa94", "oil lamp"),
|
|
201
202
|
// transport and places
|
|
202
203
|
"transport.bicycle": o("1f6b2", "bicycle"),
|
|
203
204
|
"transport.car": o("1f697", "car"),
|
package/lib/read.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type Problems = string[];
|
|
2
2
|
export type Obj = Record<string, unknown>;
|
|
3
3
|
export declare function isObj(value: unknown): value is Obj;
|
|
4
|
-
/** only records a problem for every member that the kind does not know. */
|
|
5
|
-
export declare function only(value: Obj, members: readonly string[], path: string, problems: Problems): void;
|
|
4
|
+
/** only records a problem for every member that the kind, or another reader, does not know. */
|
|
5
|
+
export declare function only(value: Obj, members: readonly string[], path: string, problems: Problems, of?: string): void;
|
|
6
6
|
export declare function list(value: unknown, path: string, problems: Problems, least?: number, most?: number): unknown[];
|
|
7
7
|
export declare function int(value: unknown, path: string, problems: Problems, least: number, most: number): number;
|
|
8
8
|
export declare function text(value: unknown, path: string, problems: Problems, most?: number): string;
|
package/lib/read.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
export function isObj(value) {
|
|
5
5
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6
6
|
}
|
|
7
|
-
/** only records a problem for every member that the kind does not know. */
|
|
8
|
-
export function only(value, members, path, problems) {
|
|
7
|
+
/** only records a problem for every member that the kind, or another reader, does not know. */
|
|
8
|
+
export function only(value, members, path, problems, of = "this kind") {
|
|
9
9
|
for (const key of Object.keys(value)) {
|
|
10
10
|
if (!members.includes(key))
|
|
11
|
-
problems.push(`${path}.${key}: not a member of
|
|
11
|
+
problems.push(`${path}.${key}: not a member of ${of}`);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
export function list(value, path, problems, least = 1, most = Number.POSITIVE_INFINITY) {
|
package/lib/solve/balance.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BalanceScene } from "../kinds/balance.ts";
|
|
2
2
|
import { type Thing } from "../things.ts";
|
|
3
|
+
import { type Solver } from "./proof.ts";
|
|
3
4
|
/**
|
|
4
5
|
* What a picture of balances proves. The solver reads only the scene — the
|
|
5
6
|
* things on the pans and the side each balance tips to — and tries every
|
|
@@ -44,3 +45,13 @@ export declare function thingsOf(scene: BalanceScene): Thing[];
|
|
|
44
45
|
export declare function worlds(scene: BalanceScene, givens?: Givens): Map<Thing, number>[];
|
|
45
46
|
/** solve answers a question from the picture alone, and the givens of the statement. */
|
|
46
47
|
export declare function solve(scene: BalanceScene, question: Question, givens?: Givens): Answer;
|
|
48
|
+
/**
|
|
49
|
+
* balanceSolver is solve as a topic's solver: every balance is read, its
|
|
50
|
+
* answer a thing, a number, or a truth for heavier. Where a tie for the
|
|
51
|
+
* heaviest or the lightest is possible, the candidates are every thing that
|
|
52
|
+
* is the heaviest or the lightest in some assignment of weights. Where solve
|
|
53
|
+
* gives another reason rather than candidates — balances that contradict
|
|
54
|
+
* each other, a weight nothing may have — or a number of things that is not
|
|
55
|
+
* whole, the proof has no candidates, so no option matches it.
|
|
56
|
+
*/
|
|
57
|
+
export declare const balanceSolver: Solver<BalanceScene, Question, Givens>;
|
package/lib/solve/balance.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { tiltOf } from "../kinds/balance.js";
|
|
2
|
-
import {
|
|
2
|
+
import { int, isObj, list, only } from "../read.js";
|
|
3
|
+
import { checkThing, sameThing, wordOf } from "../things.js";
|
|
4
|
+
import { noScene, solved, unsolved } from "./proof.js";
|
|
5
|
+
import { askOf, sceneless } from "./question.js";
|
|
3
6
|
const most = 7;
|
|
4
7
|
/** things lists the different things the scene's balances hold, in order. */
|
|
5
8
|
export function thingsOf(scene) {
|
|
@@ -116,3 +119,115 @@ export function solve(scene, question, givens = {}) {
|
|
|
116
119
|
}
|
|
117
120
|
}
|
|
118
121
|
}
|
|
122
|
+
const asks = {
|
|
123
|
+
heaviest: [],
|
|
124
|
+
lightest: [],
|
|
125
|
+
weighs: ["weight"],
|
|
126
|
+
"how-many": ["of", "balance"],
|
|
127
|
+
heavier: ["a", "b"],
|
|
128
|
+
};
|
|
129
|
+
/** The reasons solve gives in place of candidates, when no value stands for them. */
|
|
130
|
+
const reasons = new Set([
|
|
131
|
+
"the balances contradict each other",
|
|
132
|
+
"a tie is possible",
|
|
133
|
+
"nothing weighs that",
|
|
134
|
+
]);
|
|
135
|
+
function checkQuestion(question, givens, scene) {
|
|
136
|
+
const problems = [];
|
|
137
|
+
const read = askOf(question, asks, problems);
|
|
138
|
+
if (read) {
|
|
139
|
+
const { q, ask } = read;
|
|
140
|
+
if (ask === "weighs")
|
|
141
|
+
int(q.weight, "question.weight", problems, 1, 1000);
|
|
142
|
+
const named = [];
|
|
143
|
+
if (ask === "how-many") {
|
|
144
|
+
named.push([q.of, "question.of"]);
|
|
145
|
+
list(q.balance, "question.balance", problems, 1, 8).forEach((t, i) => {
|
|
146
|
+
named.push([t, `question.balance[${i}]`]);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
if (ask === "heavier")
|
|
150
|
+
named.push([q.a, "question.a"], [q.b, "question.b"]);
|
|
151
|
+
const on = scene ? thingsOf(scene) : [];
|
|
152
|
+
for (const [t, path] of named) {
|
|
153
|
+
const before = problems.length;
|
|
154
|
+
checkThing(t, path, problems);
|
|
155
|
+
if (scene && problems.length === before && !on.some((o) => sameThing(o, t)))
|
|
156
|
+
problems.push(`${path}: ${wordOf(t)} is on no balance`);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (givens !== undefined) {
|
|
160
|
+
if (!isObj(givens))
|
|
161
|
+
problems.push("givens: must be an object");
|
|
162
|
+
else {
|
|
163
|
+
only(givens, ["weights"], "givens", problems, "the givens of balances");
|
|
164
|
+
if (givens.weights !== undefined)
|
|
165
|
+
list(givens.weights, "givens.weights", problems, 1, 12).forEach((w, i) => {
|
|
166
|
+
int(w, `givens.weights[${i}]`, problems, 1, 1000);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
if (read && !scene)
|
|
171
|
+
sceneless(read.ask, "a scene of balances", problems);
|
|
172
|
+
if (scene) {
|
|
173
|
+
const k = thingsOf(scene).length;
|
|
174
|
+
if (k > most)
|
|
175
|
+
problems.push(`scales: at most ${most} different things for the solver`);
|
|
176
|
+
const pool = isObj(givens) && Array.isArray(givens.weights) ? givens.weights.length : k;
|
|
177
|
+
if (pool < k)
|
|
178
|
+
problems.push(`givens.weights: ${pool} weights for ${k} different things`);
|
|
179
|
+
}
|
|
180
|
+
return problems;
|
|
181
|
+
}
|
|
182
|
+
function valueFor(question, v) {
|
|
183
|
+
if (question.ask === "how-many")
|
|
184
|
+
return { number: v };
|
|
185
|
+
if (question.ask === "heavier")
|
|
186
|
+
return { truth: v === "yes" };
|
|
187
|
+
return { thing: v };
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* balanceSolver is solve as a topic's solver: every balance is read, its
|
|
191
|
+
* answer a thing, a number, or a truth for heavier. Where a tie for the
|
|
192
|
+
* heaviest or the lightest is possible, the candidates are every thing that
|
|
193
|
+
* is the heaviest or the lightest in some assignment of weights. Where solve
|
|
194
|
+
* gives another reason rather than candidates — balances that contradict
|
|
195
|
+
* each other, a weight nothing may have — or a number of things that is not
|
|
196
|
+
* whole, the proof has no candidates, so no option matches it.
|
|
197
|
+
*/
|
|
198
|
+
export const balanceSolver = {
|
|
199
|
+
name: "balance",
|
|
200
|
+
kinds: ["balance"],
|
|
201
|
+
questions: Object.keys(asks),
|
|
202
|
+
check: checkQuestion,
|
|
203
|
+
facts: (scene) => scene.scales.map((_, i) => `scales[${i}]`),
|
|
204
|
+
solve(scene, question, givens) {
|
|
205
|
+
if (!scene)
|
|
206
|
+
return noScene;
|
|
207
|
+
const reads = scene.scales.map((_, i) => `scales[${i}]`);
|
|
208
|
+
const answer = solve(scene, question, givens);
|
|
209
|
+
if (answer.proved)
|
|
210
|
+
return solved(valueFor(question, answer.answer), reads);
|
|
211
|
+
if (answer.candidates[0] === "a tie is possible") {
|
|
212
|
+
const at = [];
|
|
213
|
+
for (const world of worlds(scene, givens)) {
|
|
214
|
+
const ws = [...world.values()];
|
|
215
|
+
const best = question.ask === "heaviest" ? Math.max(...ws) : Math.min(...ws);
|
|
216
|
+
for (const [t, w] of world)
|
|
217
|
+
if (w === best && !at.some((o) => sameThing(o, t)))
|
|
218
|
+
at.push(t);
|
|
219
|
+
}
|
|
220
|
+
const candidates = at.map((thing) => ({ thing }));
|
|
221
|
+
return unsolved("a tie is possible, and the balances allow each of them", reads, candidates);
|
|
222
|
+
}
|
|
223
|
+
const told = answer.candidates.filter((c) => typeof c !== "string" || !reasons.has(c));
|
|
224
|
+
const whole = told.filter((c) => question.ask !== "how-many" || Number.isInteger(c));
|
|
225
|
+
if (whole.length < 2) {
|
|
226
|
+
const why = told.length < answer.candidates.length
|
|
227
|
+
? answer.candidates.join(", ")
|
|
228
|
+
: "no whole number of things balances";
|
|
229
|
+
return unsolved(why, reads);
|
|
230
|
+
}
|
|
231
|
+
return unsolved("the balances allow each of them", reads, whole.map((c) => valueFor(question, c)));
|
|
232
|
+
},
|
|
233
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type CalendarScene, type Weekday } from "../kinds/calendar.ts";
|
|
2
|
+
import { type Solver } from "./proof.ts";
|
|
3
|
+
/** A day a count starts from on a month page or a strip: a date, or the nth of a weekday. */
|
|
4
|
+
export type DayRef = number | {
|
|
5
|
+
weekday: Weekday;
|
|
6
|
+
nth: number;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* The givens of the calendar: days, how many days are counted; on torn-off
|
|
10
|
+
* sheets, sheet, the index of the sheet the statement names (the first
|
|
11
|
+
* when left out), and is, which day that sheet is — today, yesterday or
|
|
12
|
+
* tomorrow, today when left out —, the count running from today; on a
|
|
13
|
+
* month page or a strip, from, the day the count runs from; and for
|
|
14
|
+
* weekday-of-date, date, when the page marks or asks no one date.
|
|
15
|
+
*/
|
|
16
|
+
export type CalendarGivens = {
|
|
17
|
+
days?: number;
|
|
18
|
+
sheet?: number;
|
|
19
|
+
is?: "today" | "yesterday" | "tomorrow";
|
|
20
|
+
from?: DayRef;
|
|
21
|
+
date?: number;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* The questions of the days of the week. A weekday answers as a text of its
|
|
25
|
+
* whole name, "Monday", as a child reads it, though a scene names it by three
|
|
26
|
+
* letters; a date as a number.
|
|
27
|
+
*
|
|
28
|
+
* - `weekday-after`, `weekday-before`: the weekday givens.days after or
|
|
29
|
+
* before today, on torn-off sheets, the week going round; it reads the
|
|
30
|
+
* sheet the statement names, which shows its weekday, and the sheet that
|
|
31
|
+
* asks the weekday, if one does, whose date must be the day counted to.
|
|
32
|
+
* - `weekday-of-date`: the weekday of a date on a month page, a weekday.
|
|
33
|
+
* - `date-after`: the date givens.days after a day: today on torn-off sheets,
|
|
34
|
+
* the sheet that asks the date, if one does, showing the weekday counted
|
|
35
|
+
* to; or givens.from on a month page or a strip, within the dates it shows.
|
|
36
|
+
*
|
|
37
|
+
* A page is read whole — its first weekday, its days, its blots and its
|
|
38
|
+
* question marks —, and of its marks the one on a date the question names.
|
|
39
|
+
* Torn-off sheets show no month's length, so a count past the 28th of a
|
|
40
|
+
* month, or into another month, is refused.
|
|
41
|
+
*/
|
|
42
|
+
export type CalendarQuestion = {
|
|
43
|
+
ask: "weekday-after" | "weekday-before" | "weekday-of-date" | "date-after";
|
|
44
|
+
};
|
|
45
|
+
/** calendarSolver counts the days of the week: the questions of CalendarQuestion. */
|
|
46
|
+
export declare const calendarSolver: Solver<CalendarScene, CalendarQuestion, CalendarGivens>;
|