@42-central/ui-react 0.22.0 → 0.24.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.
Files changed (71) hide show
  1. package/dist/{chunk-DJAXXLN6.js → chunk-F2FSHVO5.js} +3 -3
  2. package/dist/{chunk-DJAXXLN6.js.map → chunk-F2FSHVO5.js.map} +1 -1
  3. package/dist/components/ambient-background/ambient-background.d.ts +14 -3
  4. package/dist/components/ambient-background/ambient-background.d.ts.map +1 -1
  5. package/dist/components/ambient-background/index.js +222 -1
  6. package/dist/components/ambient-background/index.js.map +1 -1
  7. package/dist/components/ambient-background/starfield.d.ts +13 -0
  8. package/dist/components/ambient-background/starfield.d.ts.map +1 -0
  9. package/dist/components/camera/index.js +2 -2
  10. package/dist/components/data-table/index.js +1 -1
  11. package/dist/components/geodesic/a11y.d.ts +15 -0
  12. package/dist/components/geodesic/a11y.d.ts.map +1 -0
  13. package/dist/components/geodesic/activity-badge.d.ts +5 -0
  14. package/dist/components/geodesic/activity-badge.d.ts.map +1 -0
  15. package/dist/components/geodesic/badge-frame.d.ts +60 -0
  16. package/dist/components/geodesic/badge-frame.d.ts.map +1 -0
  17. package/dist/components/geodesic/exam-badge.d.ts +5 -0
  18. package/dist/components/geodesic/exam-badge.d.ts.map +1 -0
  19. package/dist/components/geodesic/geometry.d.ts +1089 -0
  20. package/dist/components/geodesic/geometry.d.ts.map +1 -0
  21. package/dist/components/geodesic/gift-box-badge.d.ts +5 -0
  22. package/dist/components/geodesic/gift-box-badge.d.ts.map +1 -0
  23. package/dist/components/geodesic/gift-token.d.ts +23 -0
  24. package/dist/components/geodesic/gift-token.d.ts.map +1 -0
  25. package/dist/components/geodesic/glyph-slot.d.ts +8 -0
  26. package/dist/components/geodesic/glyph-slot.d.ts.map +1 -0
  27. package/dist/components/geodesic/index.d.ts +12 -0
  28. package/dist/components/geodesic/index.d.ts.map +1 -0
  29. package/dist/components/geodesic/index.js +917 -0
  30. package/dist/components/geodesic/index.js.map +1 -0
  31. package/dist/components/geodesic/module-badge.d.ts +5 -0
  32. package/dist/components/geodesic/module-badge.d.ts.map +1 -0
  33. package/dist/components/geodesic/planet.d.ts +30 -0
  34. package/dist/components/geodesic/planet.d.ts.map +1 -0
  35. package/dist/components/geodesic/project-badge.d.ts +5 -0
  36. package/dist/components/geodesic/project-badge.d.ts.map +1 -0
  37. package/dist/components/geodesic/skill-badge.d.ts +5 -0
  38. package/dist/components/geodesic/skill-badge.d.ts.map +1 -0
  39. package/dist/components/geodesic/social-badge.d.ts +8 -0
  40. package/dist/components/geodesic/social-badge.d.ts.map +1 -0
  41. package/dist/components/geodesic/status.d.ts +80 -0
  42. package/dist/components/geodesic/status.d.ts.map +1 -0
  43. package/dist/components/geodesic/styles.css +146 -0
  44. package/dist/components/photo-capture/index.js +2 -2
  45. package/dist/theme.css +75 -0
  46. package/package.json +2 -1
  47. package/src/as-child.contract.test.tsx +2 -0
  48. package/src/components/ambient-background/ambient-background.test.tsx +59 -0
  49. package/src/components/ambient-background/ambient-background.tsx +15 -2
  50. package/src/components/ambient-background/starfield.tsx +331 -0
  51. package/src/components/geodesic/a11y.ts +10 -0
  52. package/src/components/geodesic/activity-badge.tsx +17 -0
  53. package/src/components/geodesic/badge-frame.tsx +324 -0
  54. package/src/components/geodesic/exam-badge.tsx +17 -0
  55. package/src/components/geodesic/geometry.test.ts +60 -0
  56. package/src/components/geodesic/geometry.ts +367 -0
  57. package/src/components/geodesic/gift-box-badge.tsx +17 -0
  58. package/src/components/geodesic/gift-token.tsx +104 -0
  59. package/src/components/geodesic/glyph-slot.tsx +28 -0
  60. package/src/components/geodesic/index.ts +13 -0
  61. package/src/components/geodesic/module-badge.tsx +17 -0
  62. package/src/components/geodesic/planet.tsx +131 -0
  63. package/src/components/geodesic/project-badge.tsx +17 -0
  64. package/src/components/geodesic/skill-badge.tsx +17 -0
  65. package/src/components/geodesic/social-badge.tsx +21 -0
  66. package/src/components/geodesic/status.test.ts +66 -0
  67. package/src/components/geodesic/status.ts +176 -0
  68. package/src/components/geodesic/styles.css +146 -0
  69. package/src/icon-stroke.test.tsx +7 -0
  70. package/src/theme.css +75 -0
  71. package/src/theme.test.ts +10 -2
@@ -0,0 +1,917 @@
1
+ "use client";
2
+ import { props } from '../../chunk-WYCMIIRR.js';
3
+ import { cn } from '../../chunk-4ASNIDV7.js';
4
+ import { useId, useState, useEffect } from 'react';
5
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
+
7
+ // src/components/geodesic/a11y.ts
8
+ function imageProps(label) {
9
+ return label ? { role: "img", "aria-label": label } : { "aria-hidden": true };
10
+ }
11
+
12
+ // src/components/geodesic/status.ts
13
+ function themed(dark, light) {
14
+ return `color-mix(in srgb, ${dark}, ${light} calc(var(--geodesic-light, 0) * 100%))`;
15
+ }
16
+ function alpha(value, percent) {
17
+ return percent === 100 ? value : `color-mix(in srgb, ${value} ${percent}%, transparent)`;
18
+ }
19
+ function neutral(theme, step) {
20
+ if (theme === "dark")
21
+ return step >= 900 ? "var(--color-brand-950, currentColor)" : alpha("var(--color-white, currentColor)", 100 - step / 10);
22
+ return step <= 50 ? "var(--color-white, currentColor)" : alpha("var(--color-brand-900, currentColor)", step / 10);
23
+ }
24
+ function color(hue, step) {
25
+ if (hue === "neutral") return themed(neutral("dark", step), neutral("light", step));
26
+ return `var(--color-${hue}-${step}, currentColor)`;
27
+ }
28
+ function tint(hue, step, percent) {
29
+ return alpha(color(hue, step), percent);
30
+ }
31
+ var STATUS_HUE = {
32
+ locked: "neutral",
33
+ available: "purple",
34
+ "in-progress": "pink"
35
+ };
36
+ function hueOf(status, doneHue) {
37
+ return status === "done" ? doneHue : STATUS_HUE[status];
38
+ }
39
+ function paint(hue, [dark, light], percent = 100) {
40
+ if (hue === "neutral")
41
+ return themed(alpha(neutral("dark", dark), percent), alpha(neutral("light", light), percent));
42
+ return themed(tint(hue, dark, percent), tint(hue, light, percent));
43
+ }
44
+ var TONE_STEPS = { dark: [600, 500, 400, 300], light: [600, 500, 400, 300] };
45
+ var IN_PROGRESS_TONE_STEPS = { dark: [400, 300, 300, 200], light: [400, 300, 300, 200] };
46
+ function faceFill(hue, status, tone) {
47
+ if (status === "locked" || status === "available") return paint(hue, [800, 100], 40);
48
+ const steps = status === "in-progress" ? IN_PROGRESS_TONE_STEPS : TONE_STEPS;
49
+ return paint(hue, [steps.dark[tone], steps.light[tone]]);
50
+ }
51
+ var MIN_IN_PROGRESS = 15;
52
+ function inProgressShare(progress) {
53
+ const clamped = Math.min(100, Math.max(0, Number.isFinite(progress) ? progress : 0));
54
+ return MIN_IN_PROGRESS + clamped / 100 * (100 - MIN_IN_PROGRESS);
55
+ }
56
+ function fadeWidth(facetCount) {
57
+ return Math.max(1, Math.round(facetCount / 12));
58
+ }
59
+ function fillLevel(status, progress, facetCount, fade = fadeWidth(facetCount)) {
60
+ const full = facetCount - 1 + fade;
61
+ if (status === "done") return full;
62
+ if (status !== "in-progress") return 0;
63
+ return inProgressShare(progress) / 100 * full;
64
+ }
65
+ function liquidFadeWidth(facetCount) {
66
+ return Math.max(1, Math.round(facetCount / 4));
67
+ }
68
+ var VIEWBOX = "0 0 64 64";
69
+ var DASH = "3 2";
70
+ var DOT = "0.1 1.6";
71
+ function Tile({ tile, ...paint2 }) {
72
+ if (tile.kind === "circle") return /* @__PURE__ */ jsx("circle", { cx: 32, cy: 32, r: 29, ...paint2 });
73
+ return /* @__PURE__ */ jsx("polygon", { points: tile.points, ...paint2 });
74
+ }
75
+ function Lock({ shown }) {
76
+ const glow = `geodesic-lock-glow-${useId().replace(/[^\w-]/g, "")}`;
77
+ const shade = paint("brand", [950, 25]);
78
+ return /* @__PURE__ */ jsxs("g", { className: "geodesic-crossfade geodesic-lock", "data-shown": shown, children: [
79
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("radialGradient", { id: glow, children: [
80
+ /* @__PURE__ */ jsx("stop", { offset: "0", stopColor: shade, stopOpacity: 1 }),
81
+ /* @__PURE__ */ jsx("stop", { offset: "0.55", stopColor: shade, stopOpacity: 0.8 }),
82
+ /* @__PURE__ */ jsx("stop", { offset: "1", stopColor: shade, stopOpacity: 0 })
83
+ ] }) }),
84
+ /* @__PURE__ */ jsx("circle", { cx: 32, cy: 33, r: 15, fill: `url(#${glow})` }),
85
+ /* @__PURE__ */ jsxs(
86
+ "g",
87
+ {
88
+ fill: "none",
89
+ stroke: paint("neutral", [25, 700]),
90
+ strokeWidth: 1.5,
91
+ strokeLinecap: "round",
92
+ strokeLinejoin: "round",
93
+ children: [
94
+ /* @__PURE__ */ jsx(
95
+ "rect",
96
+ {
97
+ x: 27,
98
+ y: 31,
99
+ width: 10,
100
+ height: 8,
101
+ rx: 1.6,
102
+ fill: paint("neutral", [950, 25], 85),
103
+ vectorEffect: "non-scaling-stroke"
104
+ }
105
+ ),
106
+ /* @__PURE__ */ jsx(
107
+ "path",
108
+ {
109
+ d: "M29 31v-2.4a3 3 0 0 1 6 0V31",
110
+ fill: paint("neutral", [950, 25], 85),
111
+ vectorEffect: "non-scaling-stroke"
112
+ }
113
+ )
114
+ ]
115
+ }
116
+ )
117
+ ] });
118
+ }
119
+ function Solid({
120
+ solid: solid2,
121
+ status,
122
+ hue,
123
+ progress,
124
+ locked
125
+ }) {
126
+ const lit = /* @__PURE__ */ jsx(LiquidSolid, { solid: solid2, status, hue, progress });
127
+ if (locked === "wire") return lit;
128
+ const silhouette = status === "locked";
129
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
130
+ /* @__PURE__ */ jsx(
131
+ "polygon",
132
+ {
133
+ className: "geodesic-crossfade",
134
+ "data-shown": silhouette,
135
+ points: solid2.hull,
136
+ fill: paint("neutral", [900, 100], 70),
137
+ stroke: paint("neutral", [400, 400]),
138
+ strokeWidth: 0.8,
139
+ strokeDasharray: DOT,
140
+ strokeLinecap: "round"
141
+ }
142
+ ),
143
+ /* @__PURE__ */ jsx("g", { className: "geodesic-crossfade", "data-shown": !silhouette, children: lit })
144
+ ] });
145
+ }
146
+ function Wires({ solid: solid2, status, hue }) {
147
+ const done = status === "done";
148
+ const wire = done ? paint(hue, [200, 200], 50) : paint(hue, status === "locked" ? [400, 400] : [200, 400]);
149
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
150
+ !done && solid2.hidden && /* @__PURE__ */ jsx(
151
+ "path",
152
+ {
153
+ d: solid2.hidden,
154
+ fill: "none",
155
+ stroke: wire,
156
+ strokeOpacity: 0.55,
157
+ strokeWidth: 0.5,
158
+ strokeDasharray: DOT,
159
+ strokeLinecap: "round"
160
+ }
161
+ ),
162
+ /* @__PURE__ */ jsx(
163
+ "path",
164
+ {
165
+ d: solid2.edges + solid2.details,
166
+ fill: "none",
167
+ stroke: wire,
168
+ strokeWidth: 0.55,
169
+ strokeLinejoin: "round"
170
+ }
171
+ )
172
+ ] });
173
+ }
174
+ function useSettled(from, target) {
175
+ const [value, setValue] = useState(from);
176
+ useEffect(() => {
177
+ const frame = requestAnimationFrame(() => setValue(target));
178
+ return () => cancelAnimationFrame(frame);
179
+ }, [target]);
180
+ return value;
181
+ }
182
+ function LiquidSolid({ solid: solid2, status, hue, progress }) {
183
+ const faces = solid2.facets.length;
184
+ const fade = liquidFadeWidth(faces);
185
+ const level = useSettled(0, fillLevel(status, progress, faces, fade));
186
+ return /* @__PURE__ */ jsxs(
187
+ "g",
188
+ {
189
+ className: "geodesic-solid-smooth",
190
+ style: { "--geodesic-level": level, "--geodesic-fade": fade },
191
+ children: [
192
+ solid2.facets.map((facet) => /* @__PURE__ */ jsx(
193
+ "polygon",
194
+ {
195
+ className: "geodesic-facet-liquid",
196
+ points: facet.points,
197
+ fill: faceFill(hue, status, facet.tone),
198
+ style: { "--geodesic-rank": facet.rank }
199
+ },
200
+ facet.points
201
+ )),
202
+ /* @__PURE__ */ jsx(Wires, { solid: solid2, status, hue })
203
+ ]
204
+ }
205
+ );
206
+ }
207
+ function BadgeFrame({
208
+ status,
209
+ size = 64,
210
+ label,
211
+ className,
212
+ style,
213
+ testId,
214
+ tile,
215
+ solids,
216
+ doneHue,
217
+ progress = 50,
218
+ locked,
219
+ links
220
+ }) {
221
+ const hue = hueOf(status, doneHue);
222
+ const done = status === "done";
223
+ const tileFill = (
224
+ // Locked is a fully transparent tint, not `none`, so the fill can ease in.
225
+ paint(hue, [500, 500], status === "locked" ? 0 : done ? 20 : status === "available" ? 22 : 16)
226
+ );
227
+ const tileStroke = status === "locked" ? paint("neutral", [500, 400]) : done ? paint(hue, [400, 400]) : paint(hue, [400, 400], 65);
228
+ return /* @__PURE__ */ jsx(
229
+ "span",
230
+ {
231
+ className: cn("geodesic-badge", className),
232
+ ...imageProps(label),
233
+ ...props({ "data-testid": testId }),
234
+ style: {
235
+ display: "inline-grid",
236
+ width: size,
237
+ height: size,
238
+ flex: "none",
239
+ filter: done ? `drop-shadow(0 0 ${size * 0.09}px ${tint(hue, 500, 55)})` : void 0,
240
+ ...style
241
+ },
242
+ children: /* @__PURE__ */ jsxs(
243
+ "svg",
244
+ {
245
+ "aria-hidden": "true",
246
+ viewBox: VIEWBOX,
247
+ width: size,
248
+ height: size,
249
+ style: { gridArea: "1 / 1", display: "block" },
250
+ children: [
251
+ /* @__PURE__ */ jsx(
252
+ Tile,
253
+ {
254
+ tile,
255
+ fill: tileFill,
256
+ stroke: tileStroke,
257
+ strokeWidth: 1,
258
+ strokeDasharray: done ? void 0 : DASH,
259
+ strokeLinejoin: "round"
260
+ }
261
+ ),
262
+ links && /* @__PURE__ */ jsx(
263
+ "path",
264
+ {
265
+ d: links,
266
+ fill: "none",
267
+ stroke: paint(hue, [300, 300]),
268
+ strokeOpacity: 0.6,
269
+ strokeWidth: 0.6,
270
+ strokeDasharray: DOT,
271
+ strokeLinecap: "round"
272
+ }
273
+ ),
274
+ solids.map((solid2) => /* @__PURE__ */ jsx(
275
+ Solid,
276
+ {
277
+ solid: solid2,
278
+ status,
279
+ hue,
280
+ progress,
281
+ locked
282
+ },
283
+ solid2.hull
284
+ )),
285
+ /* @__PURE__ */ jsx(Lock, { shown: status === "locked" })
286
+ ]
287
+ }
288
+ )
289
+ }
290
+ );
291
+ }
292
+
293
+ // src/components/geodesic/geometry.ts
294
+ var GEOMETRY = {
295
+ module: {
296
+ facets: [
297
+ { points: "21.49,49.86 17.83,46.03 29.07,52.27", tone: 0, rank: 1 },
298
+ { points: "17.83,46.03 27.26,45.3 29.07,52.27", tone: 1, rank: 3 },
299
+ { points: "29.07,52.27 27.26,45.3 37.53,48.62", tone: 1, rank: 2 },
300
+ { points: "17.83,46.03 18.41,38.01 27.26,45.3", tone: 2, rank: 8 },
301
+ { points: "29.07,52.27 37.53,48.62 41.43,50.76", tone: 0, rank: 0 },
302
+ { points: "13.81,41.4 12,34.43 17.83,46.03", tone: 2, rank: 9 },
303
+ { points: "17.83,46.03 12,34.43 18.41,38.01", tone: 2, rank: 11 },
304
+ { points: "41.43,50.76 47.25,42.87 50.19,42.09", tone: 0, rank: 5 },
305
+ { points: "50.19,42.09 47.25,42.87 52.43,33.87", tone: 0, rank: 10 },
306
+ { points: "41.43,50.76 37.53,48.62 47.25,42.87", tone: 0, rank: 4 },
307
+ { points: "37.53,48.62 27.26,45.3 38.5,39.49", tone: 1, rank: 6 },
308
+ { points: "27.26,45.3 27.26,33.25 38.5,39.49", tone: 2, rank: 12 },
309
+ { points: "38.5,39.49 27.26,33.25 37.53,28.12", tone: 2, rank: 16 },
310
+ { points: "27.26,45.3 18.41,38.01 27.26,33.25", tone: 2, rank: 13 },
311
+ { points: "18.41,38.01 12,34.43 17.83,26.54", tone: 3, rank: 17 },
312
+ { points: "12,34.43 13.81,21.91 17.83,26.54", tone: 3, rank: 23 },
313
+ { points: "17.83,26.54 13.81,21.91 21.49,16.7", tone: 3, rank: 29 },
314
+ { points: "12,34.43 11.57,30.13 13.81,21.91", tone: 3, rank: 21 },
315
+ { points: "42.51,14.14 50.19,22.6 41.43,19.22", tone: 2, rank: 31 },
316
+ { points: "50.19,22.6 47.25,30.82 41.43,19.22", tone: 2, rank: 27 },
317
+ { points: "41.43,19.22 47.25,30.82 37.53,28.12", tone: 2, rank: 26 },
318
+ { points: "50.19,22.6 52.43,33.87 47.25,30.82", tone: 1, rank: 20 },
319
+ { points: "42.51,14.14 41.43,19.22 32,12.51", tone: 3, rank: 36 },
320
+ { points: "41.43,19.22 29.07,20.73 32,12.51", tone: 3, rank: 33 },
321
+ { points: "32,12.51 29.07,20.73 21.49,16.7", tone: 3, rank: 35 },
322
+ { points: "41.43,19.22 37.53,28.12 29.07,20.73", tone: 3, rank: 28 },
323
+ { points: "42.51,14.14 32,12.51 34.93,11.73", tone: 3, rank: 38 },
324
+ { points: "32,12.51 22.57,13.24 34.93,11.73", tone: 3, rank: 39 },
325
+ { points: "32,12.51 21.49,16.7 22.57,13.24", tone: 3, rank: 37 },
326
+ { points: "42.51,14.14 46.17,17.97 50.19,22.6", tone: 2, rank: 32 },
327
+ { points: "50.19,22.6 52,29.57 52.43,33.87", tone: 1, rank: 22 },
328
+ { points: "37.53,28.12 47.25,30.82 38.5,39.49", tone: 2, rank: 18 },
329
+ { points: "47.25,30.82 47.25,42.87 38.5,39.49", tone: 1, rank: 14 },
330
+ { points: "38.5,39.49 47.25,42.87 37.53,48.62", tone: 1, rank: 7 },
331
+ { points: "47.25,30.82 52.43,33.87 47.25,42.87", tone: 1, rank: 15 },
332
+ { points: "21.49,16.7 29.07,20.73 17.83,26.54", tone: 3, rank: 30 },
333
+ { points: "29.07,20.73 27.26,33.25 17.83,26.54", tone: 3, rank: 25 },
334
+ { points: "17.83,26.54 27.26,33.25 18.41,38.01", tone: 3, rank: 19 },
335
+ { points: "29.07,20.73 37.53,28.12 27.26,33.25", tone: 3, rank: 24 },
336
+ { points: "22.57,13.24 21.49,16.7 13.81,21.91", tone: 3, rank: 34 }
337
+ ],
338
+ edges: "M17.83 46.03L21.49 49.86M29.07 52.27L17.83 46.03M21.49 49.86L29.07 52.27M27.26 45.3L17.83 46.03M29.07 52.27L27.26 45.3M37.53 48.62L27.26 45.3M29.07 52.27L37.53 48.62M18.41 38.01L17.83 46.03M27.26 45.3L18.41 38.01M41.43 50.76L29.07 52.27M41.43 50.76L37.53 48.62M17.83 46.03L13.81 41.4M12 34.43L13.81 41.4M17.83 46.03L12 34.43M18.41 38.01L12 34.43M12 34.43L11.57 30.13M50.19 42.09L41.43 50.76M47.25 42.87L41.43 50.76M50.19 42.09L47.25 42.87M52.43 33.87L47.25 42.87M50.19 42.09L52.43 33.87M47.25 42.87L37.53 48.62M38.5 39.49L27.26 45.3M37.53 48.62L38.5 39.49M27.26 33.25L27.26 45.3M38.5 39.49L27.26 33.25M37.53 28.12L27.26 33.25M38.5 39.49L37.53 28.12M27.26 33.25L18.41 38.01M17.83 26.54L12 34.43M18.41 38.01L17.83 26.54M13.81 21.91L12 34.43M17.83 26.54L13.81 21.91M21.49 16.7L13.81 21.91M17.83 26.54L21.49 16.7M13.81 21.91L11.57 30.13M50.19 22.6L42.51 14.14M41.43 19.22L50.19 22.6M42.51 14.14L41.43 19.22M47.25 30.82L50.19 22.6M41.43 19.22L47.25 30.82M37.53 28.12L47.25 30.82M41.43 19.22L37.53 28.12M52.43 33.87L50.19 22.6M47.25 30.82L52.43 33.87M32 12.51L41.43 19.22M42.51 14.14L32 12.51M29.07 20.73L41.43 19.22M32 12.51L29.07 20.73M21.49 16.7L29.07 20.73M32 12.51L21.49 16.7M29.07 20.73L37.53 28.12M34.93 11.73L32 12.51M42.51 14.14L34.93 11.73M22.57 13.24L32 12.51M34.93 11.73L22.57 13.24M22.57 13.24L21.49 16.7M42.51 14.14L46.17 17.97M50.19 22.6L46.17 17.97M50.19 22.6L52 29.57M52.43 33.87L52 29.57M38.5 39.49L47.25 30.82M47.25 42.87L47.25 30.82M38.5 39.49L47.25 42.87M17.83 26.54L29.07 20.73M27.26 33.25L29.07 20.73M17.83 26.54L27.26 33.25M13.81 21.91L22.57 13.24",
339
+ hidden: "M32 51.49L29.07 52.27M21.49 49.86L32 51.49M32 51.49L41.43 50.76M42.51 47.3L41.43 50.76M32 51.49L42.51 47.3M22.57 44.78L32 51.49M21.49 49.86L22.57 44.78M34.93 43.27L32 51.49M22.57 44.78L34.93 43.27M26.47 35.88L34.93 43.27M22.57 44.78L26.47 35.88M34.93 43.27L42.51 47.3M13.81 41.4L22.57 44.78M21.49 49.86L13.81 41.4M16.75 33.18L22.57 44.78M13.81 41.4L16.75 33.18M11.57 30.13L16.75 33.18M13.81 41.4L11.57 30.13M16.75 33.18L26.47 35.88M42.51 47.3L50.19 42.09M16.75 21.13L16.75 33.18M11.57 30.13L16.75 21.13M25.5 24.51L16.75 33.18M16.75 21.13L25.5 24.51M26.47 15.38L25.5 24.51M16.75 21.13L26.47 15.38M25.5 24.51L26.47 35.88M36.74 30.75L34.93 43.27M26.47 35.88L36.74 30.75M46.17 37.46L34.93 43.27M36.74 30.75L46.17 37.46M45.59 25.99L46.17 37.46M36.74 30.75L45.59 25.99M46.17 37.46L42.51 47.3M26.47 15.38L22.57 13.24M34.93 11.73L26.47 15.38M46.17 17.97L34.93 11.73M36.74 18.7L34.93 11.73M46.17 17.97L36.74 18.7M45.59 25.99L36.74 18.7M46.17 17.97L45.59 25.99M36.74 18.7L26.47 15.38M52 29.57L46.17 17.97M52 29.57L45.59 25.99M16.75 21.13L22.57 13.24M16.75 21.13L13.81 21.91M36.74 30.75L36.74 18.7M25.5 24.51L36.74 18.7M36.74 30.75L25.5 24.51M50.19 42.09L52 29.57M46.17 37.46L52 29.57M50.19 42.09L46.17 37.46",
340
+ hull: "11.57,30.13 13.81,21.91 22.57,13.24 34.93,11.73 42.51,14.14 46.17,17.97 50.19,22.6 52,29.57 52.43,33.87 50.19,42.09 41.43,50.76 29.07,52.27 21.49,49.86 17.83,46.03 13.81,41.4 12,34.43",
341
+ details: ""
342
+ },
343
+ project: {
344
+ facets: [
345
+ { points: "20.74,25.5 32,32 32,45 20.74,38.5", tone: 2, rank: 1 },
346
+ { points: "20.74,25.5 32,19 43.26,25.5 32,32", tone: 3, rank: 2 },
347
+ { points: "32,32 43.26,25.5 43.26,38.5 32,45", tone: 0, rank: 0 }
348
+ ],
349
+ edges: "M32 32L20.74 25.5M32 45L32 32M20.74 38.5L32 45M20.74 25.5L20.74 38.5M43.26 25.5L43.26 38.5M32 19L43.26 25.5M32 19L20.74 25.5M32 32L43.26 25.5M43.26 38.5L32 45",
350
+ hidden: "M32 32L32 19M43.26 38.5L32 32M20.74 38.5L32 32",
351
+ hull: "20.74,25.5 32,19 43.26,25.5 43.26,38.5 32,45 20.74,38.5",
352
+ details: ""
353
+ },
354
+ exam: {
355
+ facets: [
356
+ { points: "32,39.31 20.3,41.73 32,21.55", tone: 3, rank: 2 },
357
+ { points: "43.7,41.73 32,39.31 32,21.55", tone: 2, rank: 1 },
358
+ { points: "32,39.31 43.7,41.73 20.3,41.73", tone: 0, rank: 0 }
359
+ ],
360
+ edges: "M20.3 41.73L32 21.55M43.7 41.73L20.3 41.73M32 21.55L43.7 41.73M20.3 41.73L32 39.31M32 39.31L32 21.55M32 39.31L43.7 41.73",
361
+ hidden: "",
362
+ hull: "20.3,41.73 32,21.55 43.7,41.73",
363
+ details: ""
364
+ },
365
+ activity: {
366
+ facets: [
367
+ { points: "45.81,29.25 32,46.5 39.34,37.17", tone: 0, rank: 1 },
368
+ { points: "39.34,37.17 32,17.5 45.81,29.25", tone: 2, rank: 3 },
369
+ { points: "39.34,37.17 32,46.5 18.19,34.75", tone: 1, rank: 0 },
370
+ { points: "18.19,34.75 32,17.5 39.34,37.17", tone: 3, rank: 2 }
371
+ ],
372
+ edges: "M32 46.5L45.81 29.25M39.34 37.17L32 46.5M45.81 29.25L39.34 37.17M32 17.5L39.34 37.17M45.81 29.25L32 17.5M18.19 34.75L32 46.5M39.34 37.17L18.19 34.75M32 17.5L18.19 34.75",
373
+ hidden: "M32 46.5L24.66 26.83M24.66 26.83L45.81 29.25M24.66 26.83L32 17.5M18.19 34.75L24.66 26.83",
374
+ hull: "18.19,34.75 32,17.5 45.81,29.25 32,46.5",
375
+ details: ""
376
+ },
377
+ skill: {
378
+ facets: [
379
+ { points: "39.26,39.61 37.92,41.45 37.92,24.95 39.26,23.11", tone: 0, rank: 4 },
380
+ { points: "39.26,23.11 37.92,24.95 32,17", tone: 2, rank: 7 },
381
+ { points: "37.92,41.45 30.66,42.09 30.66,25.59 37.92,24.95", tone: 1, rank: 2 },
382
+ { points: "37.92,24.95 30.66,25.59 32,17", tone: 3, rank: 5 },
383
+ { points: "30.66,42.09 37.92,41.45 32,47", tone: 0, rank: 0 },
384
+ { points: "30.66,42.09 24.74,40.89 24.74,24.39 30.66,25.59", tone: 2, rank: 3 },
385
+ { points: "30.66,25.59 24.74,24.39 32,17", tone: 3, rank: 6 },
386
+ { points: "24.74,40.89 30.66,42.09 32,47", tone: 0, rank: 1 },
387
+ { points: "24.74,24.39 26.08,22.55 32,17", tone: 3, rank: 8 }
388
+ ],
389
+ edges: "M37.92 41.45L39.26 39.61M37.92 24.95L37.92 41.45M39.26 23.11L37.92 24.95M39.26 39.61L39.26 23.11M32 17L37.92 24.95M39.26 23.11L32 17M37.92 41.45L32 47M30.66 42.09L37.92 41.45M30.66 25.59L30.66 42.09M37.92 24.95L30.66 25.59M32 17L30.66 25.59M30.66 42.09L32 47M24.74 40.89L30.66 42.09M24.74 24.39L24.74 40.89M30.66 25.59L24.74 24.39M32 17L24.74 24.39M24.74 40.89L32 47M24.74 24.39L26.08 22.55M32 17L26.08 22.55",
390
+ hidden: "M32 47L39.26 39.61M26.08 39.05L24.74 40.89M26.08 22.55L26.08 39.05M26.08 39.05L32 47M33.34 38.41L26.08 39.05M33.34 21.91L33.34 38.41M26.08 22.55L33.34 21.91M32 17L33.34 21.91M33.34 38.41L32 47M39.26 39.61L33.34 38.41M33.34 21.91L39.26 23.11",
391
+ hull: "24.74,24.39 26.08,22.55 32,17 39.26,23.11 39.26,39.61 37.92,41.45 32,47 24.74,40.89",
392
+ details: ""
393
+ },
394
+ gift: {
395
+ facets: [
396
+ { points: "20.36,25.23 30.98,31.17 30.98,45.76 20.36,39.82", tone: 2, rank: 1 },
397
+ { points: "20.36,25.23 33.02,20.24 43.64,26.18 30.98,31.17", tone: 3, rank: 2 },
398
+ { points: "30.98,31.17 43.64,26.18 43.64,40.77 30.98,45.76", tone: 0, rank: 0 }
399
+ ],
400
+ edges: "M30.98 31.17L20.36 25.23M30.98 45.76L30.98 31.17M20.36 39.82L30.98 45.76M20.36 25.23L20.36 39.82M43.64 26.18L43.64 40.77M33.02 20.24L43.64 26.18M33.02 20.24L20.36 25.23M30.98 31.17L43.64 26.18M43.64 40.77L30.98 45.76",
401
+ hidden: "M33.02 34.83L33.02 20.24M43.64 40.77L33.02 34.83M20.36 39.82L33.02 34.83",
402
+ hull: "20.36,25.23 33.02,20.24 43.64,26.18 43.64,40.77 30.98,45.76 20.36,39.82",
403
+ details: "M43.64 30.19L30.98 35.18M30.98 35.18L20.36 29.24M26.69 22.73L37.31 28.68M37.31 28.68L37.31 43.27M25.67 28.2L38.33 23.21M32 25.7L31.82 26.06M31.82 26.06L31.3 26.24M31.3 26.24L30.51 26.22M30.51 26.22L29.59 25.99M29.59 25.99L28.67 25.6M28.67 25.6L27.89 25.11M27.89 25.11L27.37 24.58M27.37 24.58L27.19 24.1M27.19 24.1L27.37 23.74M27.37 23.74L27.89 23.56M27.89 23.56L28.67 23.58M28.67 23.58L29.59 23.81M29.59 23.81L30.51 24.2M30.51 24.2L31.3 24.69M31.3 24.69L31.82 25.22M31.82 25.22L32 25.7M32 25.7L32.18 25.08M32.18 25.08L32.7 24.14M32.7 24.14L33.49 23.03M33.49 23.03L34.41 21.91M34.41 21.91L35.33 20.96M35.33 20.96L36.11 20.32M36.11 20.32L36.63 20.09M36.63 20.09L36.81 20.31M36.81 20.31L36.63 20.93M36.63 20.93L36.11 21.87M36.11 21.87L35.33 22.98M35.33 22.98L34.41 24.1M34.41 24.1L33.49 25.05M33.49 25.05L32.7 25.69M32.7 25.69L32.18 25.92M32.18 25.92L32 25.7"
404
+ },
405
+ social: [
406
+ {
407
+ facets: [
408
+ { points: "28.39,27 27.06,22.56 33.46,26.34", tone: 1, rank: 1 },
409
+ { points: "28.39,27 33.46,26.34 35.61,26.44", tone: 0, rank: 0 },
410
+ { points: "28.39,27 25.26,20.33 27.06,22.56", tone: 2, rank: 3 },
411
+ { points: "35.61,26.44 33.46,26.34 38.74,21.67", tone: 0, rank: 2 },
412
+ { points: "33.46,26.34 27.06,22.56 33.46,19.27", tone: 2, rank: 4 },
413
+ { points: "27.06,22.56 25.26,20.33 28.39,15.56", tone: 3, rank: 6 },
414
+ { points: "35.61,15 38.74,21.67 33.46,19.27", tone: 2, rank: 8 },
415
+ { points: "35.61,15 33.46,19.27 28.39,15.56", tone: 3, rank: 9 },
416
+ { points: "33.46,19.27 38.74,21.67 33.46,26.34", tone: 1, rank: 5 },
417
+ { points: "28.39,15.56 33.46,19.27 27.06,22.56", tone: 3, rank: 7 }
418
+ ],
419
+ edges: "M27.06 22.56L28.39 27M33.46 26.34L27.06 22.56M28.39 27L33.46 26.34M35.61 26.44L33.46 26.34M28.39 27L35.61 26.44M28.39 27L25.26 20.33M27.06 22.56L25.26 20.33M38.74 21.67L33.46 26.34M35.61 26.44L38.74 21.67M33.46 19.27L27.06 22.56M33.46 26.34L33.46 19.27M28.39 15.56L25.26 20.33M27.06 22.56L28.39 15.56M38.74 21.67L35.61 15M33.46 19.27L38.74 21.67M35.61 15L33.46 19.27M28.39 15.56L33.46 19.27M35.61 15L28.39 15.56",
420
+ hidden: "M30.54 22.73L35.61 26.44M28.39 27L30.54 22.73M25.26 20.33L30.54 22.73M30.54 15.66L30.54 22.73M25.26 20.33L30.54 15.66M36.94 19.44L35.61 26.44M30.54 22.73L36.94 19.44M30.54 15.66L28.39 15.56M35.61 15L30.54 15.66M36.94 19.44L30.54 15.66M35.61 15L36.94 19.44M38.74 21.67L36.94 19.44",
421
+ hull: "25.26,20.33 28.39,15.56 35.61,15 38.74,21.67 35.61,26.44 28.39,27",
422
+ details: ""
423
+ },
424
+ {
425
+ facets: [
426
+ { points: "17.89,45 16.56,40.56 22.96,44.34", tone: 1, rank: 1 },
427
+ { points: "17.89,45 22.96,44.34 25.11,44.44", tone: 0, rank: 0 },
428
+ { points: "17.89,45 14.76,38.33 16.56,40.56", tone: 2, rank: 3 },
429
+ { points: "25.11,44.44 22.96,44.34 28.24,39.67", tone: 0, rank: 2 },
430
+ { points: "22.96,44.34 16.56,40.56 22.96,37.27", tone: 2, rank: 4 },
431
+ { points: "16.56,40.56 14.76,38.33 17.89,33.56", tone: 3, rank: 6 },
432
+ { points: "25.11,33 28.24,39.67 22.96,37.27", tone: 2, rank: 8 },
433
+ { points: "25.11,33 22.96,37.27 17.89,33.56", tone: 3, rank: 9 },
434
+ { points: "22.96,37.27 28.24,39.67 22.96,44.34", tone: 1, rank: 5 },
435
+ { points: "17.89,33.56 22.96,37.27 16.56,40.56", tone: 3, rank: 7 }
436
+ ],
437
+ edges: "M16.56 40.56L17.89 45M22.96 44.34L16.56 40.56M17.89 45L22.96 44.34M25.11 44.44L22.96 44.34M17.89 45L25.11 44.44M17.89 45L14.76 38.33M16.56 40.56L14.76 38.33M28.24 39.67L22.96 44.34M25.11 44.44L28.24 39.67M22.96 37.27L16.56 40.56M22.96 44.34L22.96 37.27M17.89 33.56L14.76 38.33M16.56 40.56L17.89 33.56M28.24 39.67L25.11 33M22.96 37.27L28.24 39.67M25.11 33L22.96 37.27M17.89 33.56L22.96 37.27M25.11 33L17.89 33.56",
438
+ hidden: "M20.04 40.73L25.11 44.44M17.89 45L20.04 40.73M14.76 38.33L20.04 40.73M20.04 33.66L20.04 40.73M14.76 38.33L20.04 33.66M26.44 37.44L25.11 44.44M20.04 40.73L26.44 37.44M20.04 33.66L17.89 33.56M25.11 33L20.04 33.66M26.44 37.44L20.04 33.66M25.11 33L26.44 37.44M28.24 39.67L26.44 37.44",
439
+ hull: "14.76,38.33 17.89,33.56 25.11,33 28.24,39.67 25.11,44.44 17.89,45",
440
+ details: ""
441
+ },
442
+ {
443
+ facets: [
444
+ { points: "38.89,45 37.56,40.56 43.96,44.34", tone: 1, rank: 1 },
445
+ { points: "38.89,45 43.96,44.34 46.11,44.44", tone: 0, rank: 0 },
446
+ { points: "38.89,45 35.76,38.33 37.56,40.56", tone: 2, rank: 3 },
447
+ { points: "46.11,44.44 43.96,44.34 49.24,39.67", tone: 0, rank: 2 },
448
+ { points: "43.96,44.34 37.56,40.56 43.96,37.27", tone: 2, rank: 4 },
449
+ { points: "37.56,40.56 35.76,38.33 38.89,33.56", tone: 3, rank: 6 },
450
+ { points: "46.11,33 49.24,39.67 43.96,37.27", tone: 2, rank: 8 },
451
+ { points: "46.11,33 43.96,37.27 38.89,33.56", tone: 3, rank: 9 },
452
+ { points: "43.96,37.27 49.24,39.67 43.96,44.34", tone: 1, rank: 5 },
453
+ { points: "38.89,33.56 43.96,37.27 37.56,40.56", tone: 3, rank: 7 }
454
+ ],
455
+ edges: "M37.56 40.56L38.89 45M43.96 44.34L37.56 40.56M38.89 45L43.96 44.34M46.11 44.44L43.96 44.34M38.89 45L46.11 44.44M38.89 45L35.76 38.33M37.56 40.56L35.76 38.33M49.24 39.67L43.96 44.34M46.11 44.44L49.24 39.67M43.96 37.27L37.56 40.56M43.96 44.34L43.96 37.27M38.89 33.56L35.76 38.33M37.56 40.56L38.89 33.56M49.24 39.67L46.11 33M43.96 37.27L49.24 39.67M46.11 33L43.96 37.27M38.89 33.56L43.96 37.27M46.11 33L38.89 33.56",
456
+ hidden: "M41.04 40.73L46.11 44.44M38.89 45L41.04 40.73M35.76 38.33L41.04 40.73M41.04 33.66L41.04 40.73M35.76 38.33L41.04 33.66M47.44 37.44L46.11 44.44M41.04 40.73L47.44 37.44M41.04 33.66L38.89 33.56M46.11 33L41.04 33.66M47.44 37.44L41.04 33.66M46.11 33L47.44 37.44M49.24 39.67L47.44 37.44",
457
+ hull: "35.76,38.33 38.89,33.56 46.11,33 49.24,39.67 46.11,44.44 38.89,45",
458
+ details: ""
459
+ }
460
+ ],
461
+ planet: {
462
+ facets: [
463
+ { points: "16.57,57.44 12.92,55.03 20.49,59.62", tone: 0, rank: 10 },
464
+ { points: "12.92,55.03 17.4,56.3 20.49,59.62", tone: 1, rank: 13 },
465
+ { points: "20.49,59.62 17.4,56.3 26.05,59.91", tone: 1, rank: 7 },
466
+ { points: "17.4,56.3 23.81,55.25 26.05,59.91", tone: 1, rank: 11 },
467
+ { points: "26.05,59.91 23.81,55.25 32.14,57.71", tone: 1, rank: 9 },
468
+ { points: "23.81,55.25 30.38,52.17 32.14,57.71", tone: 1, rank: 17 },
469
+ { points: "32.14,57.71 30.38,52.17 37.31,54.04", tone: 1, rank: 18 },
470
+ { points: "12.92,55.03 10.19,50.31 17.4,56.3", tone: 1, rank: 22 },
471
+ { points: "10.19,50.31 15.47,50.2 17.4,56.3", tone: 1, rank: 23 },
472
+ { points: "17.4,56.3 15.47,50.2 23.81,55.25", tone: 1, rank: 21 },
473
+ { points: "15.47,50.2 22.37,48.32 23.81,55.25", tone: 1, rank: 28 },
474
+ { points: "23.81,55.25 22.37,48.32 30.38,52.17", tone: 1, rank: 25 },
475
+ { points: "10.19,50.31 9.4,43.96 15.47,50.2", tone: 2, rank: 35 },
476
+ { points: "9.4,43.96 15.22,43 15.47,50.2", tone: 2, rank: 40 },
477
+ { points: "15.47,50.2 15.22,43 22.37,48.32", tone: 2, rank: 38 },
478
+ { points: "9.4,43.96 10.32,37.72 15.22,43", tone: 2, rank: 53 },
479
+ { points: "20.49,59.62 26.05,59.91 28.87,61.83", tone: 0, rank: 2 },
480
+ { points: "26.05,59.91 35.28,60.78 28.87,61.83", tone: 0, rank: 1 },
481
+ { points: "28.87,61.83 35.28,60.78 38.41,61.27", tone: 0, rank: 0 },
482
+ { points: "35.28,60.78 44.19,58.84 38.41,61.27", tone: 0, rank: 3 },
483
+ { points: "38.41,61.27 44.19,58.84 46.49,58.09", tone: 0, rank: 5 },
484
+ { points: "26.05,59.91 32.14,57.71 35.28,60.78", tone: 0, rank: 4 },
485
+ { points: "32.14,57.71 40.8,57.2 35.28,60.78", tone: 0, rank: 8 },
486
+ { points: "35.28,60.78 40.8,57.2 44.19,58.84", tone: 0, rank: 6 },
487
+ { points: "32.14,57.71 37.31,54.04 40.8,57.2", tone: 0, rank: 15 },
488
+ { points: "12.92,55.03 7.04,48.62 10.19,50.31", tone: 1, rank: 27 },
489
+ { points: "7.04,48.62 5.1,42.53 10.19,50.31", tone: 2, rank: 39 },
490
+ { points: "10.19,50.31 5.1,42.53 9.4,43.96", tone: 2, rank: 41 },
491
+ { points: "5.1,42.53 5.8,36.03 9.4,43.96", tone: 2, rank: 54 },
492
+ { points: "9.4,43.96 5.8,36.03 10.32,37.72", tone: 2, rank: 58 },
493
+ { points: "7.04,48.62 3.08,39.9 5.1,42.53", tone: 2, rank: 48 },
494
+ { points: "3.08,39.9 2.65,33.72 5.1,42.53", tone: 2, rank: 62 },
495
+ { points: "5.1,42.53 2.65,33.72 5.8,36.03", tone: 2, rank: 65 },
496
+ { points: "3.08,39.9 2.12,31.25 2.65,33.72", tone: 2, rank: 72 },
497
+ { points: "51.9,54.28 55.86,47.84 57.67,47.53", tone: 0, rank: 31 },
498
+ { points: "57.67,47.53 55.86,47.84 60.12,40.98", tone: 0, rank: 42 },
499
+ { points: "55.86,47.84 57.28,40.54 60.12,40.98", tone: 0, rank: 49 },
500
+ { points: "60.12,40.98 57.28,40.54 60.24,34.79", tone: 0, rank: 61 },
501
+ { points: "46.49,58.09 44.19,58.84 51.9,54.28", tone: 0, rank: 12 },
502
+ { points: "44.19,58.84 48.77,53.79 51.9,54.28", tone: 0, rank: 16 },
503
+ { points: "51.9,54.28 48.77,53.79 55.86,47.84", tone: 0, rank: 24 },
504
+ { points: "48.77,53.79 51.72,46.6 55.86,47.84", tone: 0, rank: 32 },
505
+ { points: "55.86,47.84 51.72,46.6 57.28,40.54", tone: 0, rank: 43 },
506
+ { points: "44.19,58.84 40.8,57.2 48.77,53.79", tone: 0, rank: 14 },
507
+ { points: "40.8,57.2 44.4,51.35 48.77,53.79", tone: 0, rank: 20 },
508
+ { points: "48.77,53.79 44.4,51.35 51.72,46.6", tone: 0, rank: 30 },
509
+ { points: "40.8,57.2 37.31,54.04 44.4,51.35", tone: 0, rank: 19 },
510
+ { points: "37.31,54.04 30.38,52.17 37.96,48.24", tone: 1, rank: 26 },
511
+ { points: "30.38,52.17 30.22,44.83 37.96,48.24", tone: 1, rank: 34 },
512
+ { points: "37.96,48.24 30.22,44.83 38.24,40.09", tone: 2, rank: 44 },
513
+ { points: "30.22,44.83 30.22,35.46 38.24,40.09", tone: 2, rank: 55 },
514
+ { points: "38.24,40.09 30.22,35.46 37.96,31.21", tone: 2, rank: 69 },
515
+ { points: "30.22,35.46 30.38,26.63 37.96,31.21", tone: 3, rank: 82 },
516
+ { points: "37.96,31.21 30.38,26.63 37.31,23.72", tone: 3, rank: 93 },
517
+ { points: "30.38,52.17 22.37,48.32 30.22,44.83", tone: 2, rank: 33 },
518
+ { points: "22.37,48.32 21.88,39.78 30.22,44.83", tone: 2, rank: 45 },
519
+ { points: "30.22,44.83 21.88,39.78 30.22,35.46", tone: 2, rank: 56 },
520
+ { points: "21.88,39.78 22.37,30.49 30.22,35.46", tone: 2, rank: 71 },
521
+ { points: "30.22,35.46 22.37,30.49 30.38,26.63", tone: 3, rank: 83 },
522
+ { points: "22.37,48.32 15.22,43 21.88,39.78", tone: 2, rank: 47 },
523
+ { points: "15.22,43 15.22,34.49 21.88,39.78", tone: 2, rank: 59 },
524
+ { points: "21.88,39.78 15.22,34.49 22.37,30.49", tone: 3, rank: 73 },
525
+ { points: "15.22,43 10.32,37.72 15.22,34.49", tone: 2, rank: 63 },
526
+ { points: "10.32,37.72 5.8,36.03 9.4,30.18", tone: 3, rank: 74 },
527
+ { points: "5.8,36.03 5.1,27.37 9.4,30.18", tone: 3, rank: 81 },
528
+ { points: "9.4,30.18 5.1,27.37 10.19,21.47", tone: 3, rank: 95 },
529
+ { points: "5.1,27.37 7.04,18.3 10.19,21.47", tone: 3, rank: 106 },
530
+ { points: "10.19,21.47 7.04,18.3 12.92,13.7", tone: 3, rank: 116 },
531
+ { points: "7.04,18.3 11.07,11.31 12.92,13.7", tone: 3, rank: 127 },
532
+ { points: "12.92,13.7 11.07,11.31 16.57,8.37", tone: 3, rank: 135 },
533
+ { points: "5.8,36.03 2.65,33.72 5.1,27.37", tone: 3, rank: 78 },
534
+ { points: "2.65,33.72 3.08,24.74 5.1,27.37", tone: 3, rank: 89 },
535
+ { points: "5.1,27.37 3.08,24.74 7.04,18.3", tone: 3, rank: 101 },
536
+ { points: "3.08,24.74 6.33,16.47 7.04,18.3", tone: 3, rank: 112 },
537
+ { points: "7.04,18.3 6.33,16.47 11.07,11.31", tone: 3, rank: 123 },
538
+ { points: "2.65,33.72 2.12,31.25 3.08,24.74", tone: 2, rank: 87 },
539
+ { points: "47.43,6.56 52.93,11.36 46.49,8.25", tone: 2, rank: 143 },
540
+ { points: "52.93,11.36 51.9,14.58 46.49,8.25", tone: 2, rank: 134 },
541
+ { points: "46.49,8.25 51.9,14.58 44.19,12.18", tone: 2, rank: 133 },
542
+ { points: "51.9,14.58 48.77,19.88 44.19,12.18", tone: 2, rank: 122 },
543
+ { points: "44.19,12.18 48.77,19.88 40.8,17.88", tone: 3, rank: 120 },
544
+ { points: "48.77,19.88 44.4,25.81 40.8,17.88", tone: 2, rank: 110 },
545
+ { points: "40.8,17.88 44.4,25.81 37.31,23.72", tone: 3, rank: 105 },
546
+ { points: "52.93,11.36 57.67,18.69 51.9,14.58", tone: 2, rank: 125 },
547
+ { points: "57.67,18.69 55.86,23.31 51.9,14.58", tone: 2, rank: 115 },
548
+ { points: "51.9,14.58 55.86,23.31 48.77,19.88", tone: 2, rank: 114 },
549
+ { points: "55.86,23.31 51.72,28.77 48.77,19.88", tone: 2, rank: 100 },
550
+ { points: "48.77,19.88 51.72,28.77 44.4,25.81", tone: 2, rank: 99 },
551
+ { points: "57.67,18.69 60.12,27.21 55.86,23.31", tone: 1, rank: 103 },
552
+ { points: "60.12,27.21 57.28,32.03 55.86,23.31", tone: 1, rank: 92 },
553
+ { points: "55.86,23.31 57.28,32.03 51.72,28.77", tone: 2, rank: 90 },
554
+ { points: "60.12,27.21 60.24,34.79 57.28,32.03", tone: 1, rank: 80 },
555
+ { points: "47.43,6.56 46.49,8.25 40.66,3.94", tone: 3, rank: 149 },
556
+ { points: "46.49,8.25 38.41,6.42 40.66,3.94", tone: 3, rank: 150 },
557
+ { points: "40.66,3.94 38.41,6.42 32,3.16", tone: 3, rank: 155 },
558
+ { points: "38.41,6.42 28.87,6.98 32,3.16", tone: 3, rank: 151 },
559
+ { points: "32,3.16 28.87,6.98 23.34,4.95", tone: 3, rank: 152 },
560
+ { points: "28.87,6.98 20.49,9.77 23.34,4.95", tone: 3, rank: 147 },
561
+ { points: "23.34,4.95 20.49,9.77 16.57,8.37", tone: 3, rank: 146 },
562
+ { points: "46.49,8.25 44.19,12.18 38.41,6.42", tone: 3, rank: 142 },
563
+ { points: "44.19,12.18 35.28,11.72 38.41,6.42", tone: 3, rank: 138 },
564
+ { points: "38.41,6.42 35.28,11.72 28.87,6.98", tone: 3, rank: 145 },
565
+ { points: "35.28,11.72 26.05,13.24 28.87,6.98", tone: 3, rank: 136 },
566
+ { points: "28.87,6.98 26.05,13.24 20.49,9.77", tone: 3, rank: 139 },
567
+ { points: "44.19,12.18 40.8,17.88 35.28,11.72", tone: 3, rank: 128 },
568
+ { points: "40.8,17.88 32.14,18.39 35.28,11.72", tone: 3, rank: 121 },
569
+ { points: "35.28,11.72 32.14,18.39 26.05,13.24", tone: 3, rank: 126 },
570
+ { points: "40.8,17.88 37.31,23.72 32.14,18.39", tone: 3, rank: 111 },
571
+ { points: "47.43,6.56 40.66,3.94 43.51,4.38", tone: 3, rank: 153 },
572
+ { points: "40.66,3.94 35.13,2.17 43.51,4.38", tone: 3, rank: 157 },
573
+ { points: "40.66,3.94 32,3.16 35.13,2.17", tone: 3, rank: 158 },
574
+ { points: "32,3.16 25.59,2.73 35.13,2.17", tone: 3, rank: 159 },
575
+ { points: "32,3.16 23.34,4.95 25.59,2.73", tone: 3, rank: 156 },
576
+ { points: "23.34,4.95 17.51,5.91 25.59,2.73", tone: 3, rank: 154 },
577
+ { points: "23.34,4.95 16.57,8.37 17.51,5.91", tone: 3, rank: 148 },
578
+ { points: "47.43,6.56 51.08,8.97 52.93,11.36", tone: 2, rank: 141 },
579
+ { points: "51.08,8.97 56.96,15.38 52.93,11.36", tone: 2, rank: 132 },
580
+ { points: "52.93,11.36 56.96,15.38 57.67,18.69", tone: 2, rank: 124 },
581
+ { points: "56.96,15.38 60.92,24.1 57.67,18.69", tone: 1, rank: 113 },
582
+ { points: "57.67,18.69 60.92,24.1 60.12,27.21", tone: 1, rank: 102 },
583
+ { points: "60.92,24.1 61.88,32.75 60.12,27.21", tone: 1, rank: 91 },
584
+ { points: "60.12,27.21 61.88,32.75 60.24,34.79", tone: 1, rank: 79 },
585
+ { points: "37.31,23.72 44.4,25.81 37.96,31.21", tone: 2, rank: 94 },
586
+ { points: "44.4,25.81 45.65,34.56 37.96,31.21", tone: 2, rank: 84 },
587
+ { points: "37.96,31.21 45.65,34.56 38.24,40.09", tone: 2, rank: 70 },
588
+ { points: "45.65,34.56 45.65,43.93 38.24,40.09", tone: 2, rank: 57 },
589
+ { points: "38.24,40.09 45.65,43.93 37.96,48.24", tone: 1, rank: 46 },
590
+ { points: "45.65,43.93 44.4,51.35 37.96,48.24", tone: 1, rank: 36 },
591
+ { points: "37.96,48.24 44.4,51.35 37.31,54.04", tone: 1, rank: 29 },
592
+ { points: "44.4,25.81 51.72,28.77 45.65,34.56", tone: 2, rank: 88 },
593
+ { points: "51.72,28.77 52.73,37.98 45.65,34.56", tone: 2, rank: 76 },
594
+ { points: "45.65,34.56 52.73,37.98 45.65,43.93", tone: 1, rank: 60 },
595
+ { points: "52.73,37.98 51.72,46.6 45.65,43.93", tone: 1, rank: 50 },
596
+ { points: "45.65,43.93 51.72,46.6 44.4,51.35", tone: 1, rank: 37 },
597
+ { points: "51.72,28.77 57.28,32.03 52.73,37.98", tone: 1, rank: 77 },
598
+ { points: "57.28,32.03 57.28,40.54 52.73,37.98", tone: 1, rank: 66 },
599
+ { points: "52.73,37.98 57.28,40.54 51.72,46.6", tone: 1, rank: 52 },
600
+ { points: "57.28,32.03 60.24,34.79 57.28,40.54", tone: 1, rank: 68 },
601
+ { points: "16.57,8.37 20.49,9.77 12.92,13.7", tone: 3, rank: 137 },
602
+ { points: "20.49,9.77 17.4,16.6 12.92,13.7", tone: 3, rank: 129 },
603
+ { points: "12.92,13.7 17.4,16.6 10.19,21.47", tone: 3, rank: 118 },
604
+ { points: "17.4,16.6 15.47,25.67 10.19,21.47", tone: 3, rank: 108 },
605
+ { points: "10.19,21.47 15.47,25.67 9.4,30.18", tone: 3, rank: 98 },
606
+ { points: "15.47,25.67 15.22,34.49 9.4,30.18", tone: 3, rank: 86 },
607
+ { points: "9.4,30.18 15.22,34.49 10.32,37.72", tone: 3, rank: 75 },
608
+ { points: "20.49,9.77 26.05,13.24 17.4,16.6", tone: 3, rank: 130 },
609
+ { points: "26.05,13.24 23.81,21.35 17.4,16.6", tone: 3, rank: 119 },
610
+ { points: "17.4,16.6 23.81,21.35 15.47,25.67", tone: 3, rank: 109 },
611
+ { points: "23.81,21.35 22.37,30.49 15.47,25.67", tone: 3, rank: 97 },
612
+ { points: "15.47,25.67 22.37,30.49 15.22,34.49", tone: 3, rank: 85 },
613
+ { points: "26.05,13.24 32.14,18.39 23.81,21.35", tone: 3, rank: 117 },
614
+ { points: "32.14,18.39 30.38,26.63 23.81,21.35", tone: 3, rank: 107 },
615
+ { points: "23.81,21.35 30.38,26.63 22.37,30.49", tone: 3, rank: 96 },
616
+ { points: "32.14,18.39 37.31,23.72 30.38,26.63", tone: 3, rank: 104 },
617
+ { points: "17.51,5.91 11.07,11.31 12.1,9.72", tone: 3, rank: 140 },
618
+ { points: "12.1,9.72 11.07,11.31 6.33,16.47", tone: 3, rank: 131 },
619
+ { points: "17.51,5.91 16.57,8.37 11.07,11.31", tone: 3, rank: 144 },
620
+ { points: "60.24,34.79 61.88,32.75 60.12,40.98", tone: 0, rank: 67 },
621
+ { points: "61.88,32.75 60.92,39.26 60.12,40.98", tone: 0, rank: 64 },
622
+ { points: "60.12,40.98 60.92,39.26 57.67,47.53", tone: 0, rank: 51 }
623
+ ],
624
+ edges: "M12.92 55.03L16.57 57.44M20.49 59.62L12.92 55.03M16.57 57.44L20.49 59.62M17.4 56.3L12.92 55.03M20.49 59.62L17.4 56.3M26.05 59.91L17.4 56.3M20.49 59.62L26.05 59.91M23.81 55.25L17.4 56.3M26.05 59.91L23.81 55.25M32.14 57.71L23.81 55.25M26.05 59.91L32.14 57.71M30.38 52.17L23.81 55.25M32.14 57.71L30.38 52.17M37.31 54.04L30.38 52.17M32.14 57.71L37.31 54.04M10.19 50.31L12.92 55.03M17.4 56.3L10.19 50.31M15.47 50.2L10.19 50.31M17.4 56.3L15.47 50.2M23.81 55.25L15.47 50.2M22.37 48.32L15.47 50.2M23.81 55.25L22.37 48.32M30.38 52.17L22.37 48.32M9.4 43.96L10.19 50.31M15.47 50.2L9.4 43.96M15.22 43L9.4 43.96M15.47 50.2L15.22 43M22.37 48.32L15.22 43M10.32 37.72L9.4 43.96M15.22 43L10.32 37.72M28.87 61.83L20.49 59.62M38.41 61.27L28.87 61.83M46.49 58.09L38.41 61.27M28.87 61.83L26.05 59.91M35.28 60.78L26.05 59.91M28.87 61.83L35.28 60.78M38.41 61.27L35.28 60.78M44.19 58.84L35.28 60.78M38.41 61.27L44.19 58.84M46.49 58.09L44.19 58.84M35.28 60.78L32.14 57.71M40.8 57.2L32.14 57.71M35.28 60.78L40.8 57.2M44.19 58.84L40.8 57.2M40.8 57.2L37.31 54.04M12.92 55.03L7.04 48.62M10.19 50.31L7.04 48.62M5.1 42.53L7.04 48.62M10.19 50.31L5.1 42.53M9.4 43.96L5.1 42.53M5.8 36.03L5.1 42.53M9.4 43.96L5.8 36.03M10.32 37.72L5.8 36.03M7.04 48.62L3.08 39.9M5.1 42.53L3.08 39.9M2.65 33.72L3.08 39.9M5.1 42.53L2.65 33.72M5.8 36.03L2.65 33.72M3.08 39.9L2.12 31.25M2.65 33.72L2.12 31.25M51.9 54.28L46.49 58.09M57.67 47.53L51.9 54.28M55.86 47.84L51.9 54.28M57.67 47.53L55.86 47.84M60.12 40.98L55.86 47.84M57.67 47.53L60.12 40.98M57.28 40.54L55.86 47.84M60.12 40.98L57.28 40.54M60.24 34.79L57.28 40.54M60.12 40.98L60.24 34.79M51.9 54.28L44.19 58.84M48.77 53.79L44.19 58.84M51.9 54.28L48.77 53.79M55.86 47.84L48.77 53.79M51.72 46.6L48.77 53.79M55.86 47.84L51.72 46.6M57.28 40.54L51.72 46.6M48.77 53.79L40.8 57.2M44.4 51.35L40.8 57.2M48.77 53.79L44.4 51.35M51.72 46.6L44.4 51.35M44.4 51.35L37.31 54.04M37.96 48.24L30.38 52.17M37.31 54.04L37.96 48.24M30.22 44.83L30.38 52.17M37.96 48.24L30.22 44.83M38.24 40.09L30.22 44.83M37.96 48.24L38.24 40.09M30.22 35.46L30.22 44.83M38.24 40.09L30.22 35.46M37.96 31.21L30.22 35.46M38.24 40.09L37.96 31.21M30.38 26.63L30.22 35.46M37.96 31.21L30.38 26.63M37.31 23.72L30.38 26.63M37.96 31.21L37.31 23.72M30.22 44.83L22.37 48.32M21.88 39.78L22.37 48.32M30.22 44.83L21.88 39.78M30.22 35.46L21.88 39.78M22.37 30.49L21.88 39.78M30.22 35.46L22.37 30.49M30.38 26.63L22.37 30.49M21.88 39.78L15.22 43M15.22 34.49L15.22 43M21.88 39.78L15.22 34.49M22.37 30.49L15.22 34.49M15.22 34.49L10.32 37.72M9.4 30.18L5.8 36.03M10.32 37.72L9.4 30.18M5.1 27.37L5.8 36.03M9.4 30.18L5.1 27.37M10.19 21.47L5.1 27.37M9.4 30.18L10.19 21.47M7.04 18.3L5.1 27.37M10.19 21.47L7.04 18.3M12.92 13.7L7.04 18.3M10.19 21.47L12.92 13.7M11.07 11.31L7.04 18.3M12.92 13.7L11.07 11.31M16.57 8.37L11.07 11.31M12.92 13.7L16.57 8.37M5.1 27.37L2.65 33.72M3.08 24.74L2.65 33.72M5.1 27.37L3.08 24.74M7.04 18.3L3.08 24.74M6.33 16.47L3.08 24.74M7.04 18.3L6.33 16.47M11.07 11.31L6.33 16.47M3.08 24.74L2.12 31.25M52.93 11.36L47.43 6.56M46.49 8.25L52.93 11.36M47.43 6.56L46.49 8.25M51.9 14.58L52.93 11.36M46.49 8.25L51.9 14.58M44.19 12.18L51.9 14.58M46.49 8.25L44.19 12.18M48.77 19.88L51.9 14.58M44.19 12.18L48.77 19.88M40.8 17.88L48.77 19.88M44.19 12.18L40.8 17.88M44.4 25.81L48.77 19.88M40.8 17.88L44.4 25.81M37.31 23.72L44.4 25.81M40.8 17.88L37.31 23.72M57.67 18.69L52.93 11.36M51.9 14.58L57.67 18.69M55.86 23.31L57.67 18.69M51.9 14.58L55.86 23.31M48.77 19.88L55.86 23.31M51.72 28.77L55.86 23.31M48.77 19.88L51.72 28.77M44.4 25.81L51.72 28.77M60.12 27.21L57.67 18.69M55.86 23.31L60.12 27.21M57.28 32.03L60.12 27.21M55.86 23.31L57.28 32.03M51.72 28.77L57.28 32.03M60.24 34.79L60.12 27.21M57.28 32.03L60.24 34.79M40.66 3.94L46.49 8.25M47.43 6.56L40.66 3.94M38.41 6.42L46.49 8.25M40.66 3.94L38.41 6.42M32 3.16L38.41 6.42M40.66 3.94L32 3.16M28.87 6.98L38.41 6.42M32 3.16L28.87 6.98M23.34 4.95L28.87 6.98M32 3.16L23.34 4.95M20.49 9.77L28.87 6.98M23.34 4.95L20.49 9.77M16.57 8.37L20.49 9.77M23.34 4.95L16.57 8.37M38.41 6.42L44.19 12.18M35.28 11.72L44.19 12.18M38.41 6.42L35.28 11.72M28.87 6.98L35.28 11.72M26.05 13.24L35.28 11.72M28.87 6.98L26.05 13.24M20.49 9.77L26.05 13.24M35.28 11.72L40.8 17.88M32.14 18.39L40.8 17.88M35.28 11.72L32.14 18.39M26.05 13.24L32.14 18.39M32.14 18.39L37.31 23.72M43.51 4.38L40.66 3.94M47.43 6.56L43.51 4.38M35.13 2.17L40.66 3.94M43.51 4.38L35.13 2.17M35.13 2.17L32 3.16M25.59 2.73L32 3.16M35.13 2.17L25.59 2.73M25.59 2.73L23.34 4.95M17.51 5.91L23.34 4.95M25.59 2.73L17.51 5.91M17.51 5.91L16.57 8.37M47.43 6.56L51.08 8.97M52.93 11.36L51.08 8.97M56.96 15.38L51.08 8.97M52.93 11.36L56.96 15.38M57.67 18.69L56.96 15.38M60.92 24.1L56.96 15.38M57.67 18.69L60.92 24.1M60.12 27.21L60.92 24.1M61.88 32.75L60.92 24.1M60.12 27.21L61.88 32.75M60.24 34.79L61.88 32.75M37.96 31.21L44.4 25.81M45.65 34.56L44.4 25.81M37.96 31.21L45.65 34.56M38.24 40.09L45.65 34.56M45.65 43.93L45.65 34.56M38.24 40.09L45.65 43.93M37.96 48.24L45.65 43.93M44.4 51.35L45.65 43.93M37.96 48.24L44.4 51.35M45.65 34.56L51.72 28.77M52.73 37.98L51.72 28.77M45.65 34.56L52.73 37.98M45.65 43.93L52.73 37.98M51.72 46.6L52.73 37.98M45.65 43.93L51.72 46.6M52.73 37.98L57.28 32.03M57.28 40.54L57.28 32.03M52.73 37.98L57.28 40.54M12.92 13.7L20.49 9.77M17.4 16.6L20.49 9.77M12.92 13.7L17.4 16.6M10.19 21.47L17.4 16.6M15.47 25.67L17.4 16.6M10.19 21.47L15.47 25.67M9.4 30.18L15.47 25.67M15.22 34.49L15.47 25.67M9.4 30.18L15.22 34.49M17.4 16.6L26.05 13.24M23.81 21.35L26.05 13.24M17.4 16.6L23.81 21.35M15.47 25.67L23.81 21.35M22.37 30.49L23.81 21.35M15.47 25.67L22.37 30.49M23.81 21.35L32.14 18.39M30.38 26.63L32.14 18.39M23.81 21.35L30.38 26.63M6.33 16.47L12.1 9.72M12.1 9.72L17.51 5.91M11.07 11.31L17.51 5.91M12.1 9.72L11.07 11.31M60.12 40.98L61.88 32.75M60.92 39.26L61.88 32.75M60.12 40.98L60.92 39.26M57.67 47.53L60.92 39.26",
625
+ hidden: "M23.34 60.06L20.49 59.62M16.57 57.44L23.34 60.06M23.34 60.06L28.87 61.83M32 60.84L28.87 61.83M23.34 60.06L32 60.84M32 60.84L38.41 61.27M40.66 59.05L38.41 61.27M32 60.84L40.66 59.05M40.66 59.05L46.49 58.09M47.43 55.63L46.49 58.09M40.66 59.05L47.43 55.63M17.51 55.75L23.34 60.06M16.57 57.44L17.51 55.75M25.59 57.58L23.34 60.06M17.51 55.75L25.59 57.58M19.81 51.82L25.59 57.58M17.51 55.75L19.81 51.82M28.72 52.28L25.59 57.58M19.81 51.82L28.72 52.28M23.2 46.12L28.72 52.28M19.81 51.82L23.2 46.12M31.86 45.61L28.72 52.28M23.2 46.12L31.86 45.61M26.69 40.28L31.86 45.61M23.2 46.12L26.69 40.28M25.59 57.58L32 60.84M35.13 57.02L32 60.84M25.59 57.58L35.13 57.02M28.72 52.28L35.13 57.02M37.95 50.76L35.13 57.02M28.72 52.28L37.95 50.76M31.86 45.61L37.95 50.76M35.13 57.02L40.66 59.05M43.51 54.23L40.66 59.05M35.13 57.02L43.51 54.23M37.95 50.76L43.51 54.23M43.51 54.23L47.43 55.63M11.07 52.64L17.51 55.75M16.57 57.44L11.07 52.64M12.1 49.42L17.51 55.75M11.07 52.64L12.1 49.42M6.33 45.31L12.1 49.42M11.07 52.64L6.33 45.31M8.14 40.69L12.1 49.42M6.33 45.31L8.14 40.69M3.88 36.79L8.14 40.69M6.33 45.31L3.88 36.79M6.72 31.97L8.14 40.69M3.88 36.79L6.72 31.97M3.76 29.21L6.72 31.97M3.88 36.79L3.76 29.21M12.1 49.42L19.81 51.82M15.23 44.12L19.81 51.82M12.1 49.42L15.23 44.12M8.14 40.69L15.23 44.12M12.28 35.23L15.23 44.12M8.14 40.69L12.28 35.23M6.72 31.97L12.28 35.23M15.23 44.12L23.2 46.12M19.6 38.19L23.2 46.12M15.23 44.12L19.6 38.19M12.28 35.23L19.6 38.19M19.6 38.19L26.69 40.28M12.92 55.03L11.07 52.64M7.04 48.62L11.07 52.64M7.04 48.62L6.33 45.31M3.08 39.9L6.33 45.31M3.08 39.9L3.88 36.79M2.12 31.25L3.88 36.79M2.12 31.25L3.76 29.21M52.93 52.69L46.49 58.09M47.43 55.63L52.93 52.69M52.93 52.69L51.9 54.28M52.93 52.69L57.67 47.53M3.88 23.02L2.12 31.25M3.08 24.74L3.88 23.02M6.33 16.47L3.88 23.02M3.88 23.02L3.76 29.21M6.72 23.46L6.72 31.97M3.76 29.21L6.72 23.46M11.27 26.02L6.72 31.97M6.72 23.46L11.27 26.02M12.28 17.4L11.27 26.02M6.72 23.46L12.28 17.4M18.35 20.07L11.27 26.02M12.28 17.4L18.35 20.07M19.6 12.65L18.35 20.07M12.28 17.4L19.6 12.65M26.04 15.76L18.35 20.07M19.6 12.65L26.04 15.76M26.69 9.96L26.04 15.76M19.6 12.65L26.69 9.96M11.27 26.02L12.28 35.23M18.35 29.44L12.28 35.23M11.27 26.02L18.35 29.44M18.35 20.07L18.35 29.44M25.76 23.91L18.35 29.44M18.35 20.07L25.76 23.91M26.04 15.76L25.76 23.91M18.35 29.44L19.6 38.19M26.04 32.79L19.6 38.19M18.35 29.44L26.04 32.79M25.76 23.91L26.04 32.79M26.04 32.79L26.69 40.28M33.62 37.37L31.86 45.61M26.69 40.28L33.62 37.37M40.19 42.65L31.86 45.61M33.62 37.37L40.19 42.65M41.63 33.51L40.19 42.65M33.62 37.37L41.63 33.51M48.53 38.33L40.19 42.65M41.63 33.51L48.53 38.33M48.78 29.51L48.53 38.33M41.63 33.51L48.78 29.51M54.6 33.82L48.53 38.33M48.78 29.51L54.6 33.82M53.68 26.28L54.6 33.82M48.78 29.51L53.68 26.28M40.19 42.65L37.95 50.76M46.6 47.4L37.95 50.76M40.19 42.65L46.6 47.4M48.53 38.33L46.6 47.4M53.81 42.53L46.6 47.4M48.53 38.33L53.81 42.53M54.6 33.82L53.81 42.53M46.6 47.4L43.51 54.23M51.08 50.3L43.51 54.23M46.6 47.4L51.08 50.3M53.81 42.53L51.08 50.3M51.08 50.3L47.43 55.63M37.95 4.09L35.13 2.17M43.51 4.38L37.95 4.09M28.72 3.22L35.13 2.17M37.95 4.09L28.72 3.22M31.86 6.29L28.72 3.22M37.95 4.09L31.86 6.29M23.2 6.8L28.72 3.22M31.86 6.29L23.2 6.8M26.69 9.96L23.2 6.8M31.86 6.29L26.69 9.96M28.72 3.22L25.59 2.73M19.81 5.16L25.59 2.73M28.72 3.22L19.81 5.16M23.2 6.8L19.81 5.16M19.81 5.16L17.51 5.91M51.08 8.97L43.51 4.38M46.6 7.7L43.51 4.38M51.08 8.97L46.6 7.7M53.81 13.69L46.6 7.7M51.08 8.97L53.81 13.69M48.53 13.8L46.6 7.7M53.81 13.69L48.53 13.8M54.6 20.04L48.53 13.8M53.81 13.69L54.6 20.04M48.78 21L48.53 13.8M54.6 20.04L48.78 21M53.68 26.28L48.78 21M54.6 20.04L53.68 26.28M46.6 7.7L37.95 4.09M40.19 8.75L37.95 4.09M46.6 7.7L40.19 8.75M48.53 13.8L40.19 8.75M41.63 15.68L40.19 8.75M48.53 13.8L41.63 15.68M48.78 21L41.63 15.68M40.19 8.75L31.86 6.29M33.62 11.83L31.86 6.29M40.19 8.75L33.62 11.83M41.63 15.68L33.62 11.83M33.62 11.83L26.69 9.96M56.96 15.38L53.81 13.69M58.9 21.47L53.81 13.69M56.96 15.38L58.9 21.47M60.92 24.1L58.9 21.47M61.35 30.28L58.9 21.47M60.92 24.1L61.35 30.28M61.88 32.75L61.35 30.28M58.9 21.47L54.6 20.04M58.2 27.97L54.6 20.04M58.9 21.47L58.2 27.97M61.35 30.28L58.2 27.97M58.2 27.97L53.68 26.28M19.6 12.65L23.2 6.8M15.23 10.21L23.2 6.8M19.6 12.65L15.23 10.21M12.28 17.4L15.23 10.21M8.14 16.16L15.23 10.21M12.28 17.4L8.14 16.16M6.72 23.46L8.14 16.16M3.88 23.02L8.14 16.16M6.72 23.46L3.88 23.02M15.23 10.21L19.81 5.16M12.1 9.72L19.81 5.16M15.23 10.21L12.1 9.72M8.14 16.16L12.1 9.72M8.14 16.16L6.33 16.47M48.78 29.51L48.78 21M42.12 24.22L48.78 21M48.78 29.51L42.12 24.22M41.63 33.51L42.12 24.22M33.78 28.54L42.12 24.22M41.63 33.51L33.78 28.54M33.62 37.37L33.78 28.54M26.04 32.79L33.78 28.54M33.62 37.37L26.04 32.79M42.12 24.22L41.63 15.68M33.78 19.17L41.63 15.68M42.12 24.22L33.78 19.17M33.78 28.54L33.78 19.17M25.76 23.91L33.78 19.17M33.78 28.54L25.76 23.91M33.78 19.17L33.62 11.83M26.04 15.76L33.62 11.83M33.78 19.17L26.04 15.76M56.96 45.7L60.92 39.26M57.67 47.53L56.96 45.7M52.93 52.69L56.96 45.7M51.08 50.3L56.96 45.7M52.93 52.69L51.08 50.3M60.92 39.26L61.35 30.28M58.9 36.63L61.35 30.28M60.92 39.26L58.9 36.63M56.96 45.7L58.9 36.63M53.81 42.53L58.9 36.63M56.96 45.7L53.81 42.53M58.9 36.63L58.2 27.97M54.6 33.82L58.2 27.97M58.9 36.63L54.6 33.82"},
626
+ socialLinks: "M32 21L21.5 39M21.5 39L42.5 39M42.5 39L32 21",
627
+ tiles: {
628
+ hexagon: "32,4 56.25,18 56.25,46 32,60 7.75,46 7.75,18",
629
+ triangle: "32,5 59.71,53 4.29,53",
630
+ diamond: "32,2 62,32 32,62 2,32",
631
+ heptagon: "32,3 54.67,13.92 60.27,38.45 44.58,58.13 19.42,58.13 3.73,38.45 9.33,13.92",
632
+ pentagon: "32,4.5 59.58,24.54 49.05,56.96 14.95,56.96 4.42,24.54",
633
+ octagon: "43.1,5.21 58.79,20.9 58.79,43.1 43.1,58.79 20.9,58.79 5.21,43.1 5.21,20.9 20.9,5.21",
634
+ giftToken: "32,18 44.12,25 44.12,39 32,46 19.88,39 19.88,25"
635
+ }
636
+ };
637
+ function ActivityBadge(props2) {
638
+ return /* @__PURE__ */ jsx(
639
+ BadgeFrame,
640
+ {
641
+ ...props2,
642
+ tile: { kind: "polygon", points: GEOMETRY.tiles.diamond },
643
+ solids: [GEOMETRY.activity],
644
+ doneHue: "blue",
645
+ locked: "silhouette"
646
+ }
647
+ );
648
+ }
649
+ function ExamBadge(props2) {
650
+ return /* @__PURE__ */ jsx(
651
+ BadgeFrame,
652
+ {
653
+ ...props2,
654
+ tile: { kind: "polygon", points: GEOMETRY.tiles.triangle },
655
+ solids: [GEOMETRY.exam],
656
+ doneHue: "yellow",
657
+ locked: "silhouette"
658
+ }
659
+ );
660
+ }
661
+ function GiftBoxBadge(props2) {
662
+ return /* @__PURE__ */ jsx(
663
+ BadgeFrame,
664
+ {
665
+ ...props2,
666
+ tile: { kind: "polygon", points: GEOMETRY.tiles.pentagon },
667
+ solids: [GEOMETRY.gift],
668
+ doneHue: "orange",
669
+ locked: "silhouette"
670
+ }
671
+ );
672
+ }
673
+ function GlyphSlot({
674
+ size,
675
+ style,
676
+ children
677
+ }) {
678
+ return /* @__PURE__ */ jsx(
679
+ "span",
680
+ {
681
+ className: "geodesic-glyph-slot",
682
+ style: {
683
+ gridArea: "1 / 1",
684
+ placeSelf: "center",
685
+ display: "grid",
686
+ width: size,
687
+ height: size,
688
+ ...style
689
+ },
690
+ children
691
+ }
692
+ );
693
+ }
694
+ var SATELLITE_ANGLE = -50 * Math.PI / 180;
695
+ var ORBIT = 26;
696
+ function GiftToken({
697
+ hue,
698
+ icon,
699
+ size = 64,
700
+ remaining,
701
+ label,
702
+ className,
703
+ style,
704
+ testId
705
+ }) {
706
+ const left = remaining === void 0 ? void 0 : Math.min(1, Math.max(0, remaining));
707
+ const angle = left === void 0 ? SATELLITE_ANGLE : -Math.PI / 2 + left * 2 * Math.PI;
708
+ return /* @__PURE__ */ jsxs(
709
+ "span",
710
+ {
711
+ className: cn("geodesic-badge", className),
712
+ ...imageProps(label),
713
+ ...props({ "data-testid": testId }),
714
+ style: { display: "inline-grid", width: size, height: size, flex: "none", ...style },
715
+ children: [
716
+ /* @__PURE__ */ jsxs(
717
+ "svg",
718
+ {
719
+ "aria-hidden": "true",
720
+ viewBox: "0 0 64 64",
721
+ width: size,
722
+ height: size,
723
+ style: { gridArea: "1 / 1", display: "block" },
724
+ children: [
725
+ /* @__PURE__ */ jsx(
726
+ "circle",
727
+ {
728
+ cx: 32,
729
+ cy: 32,
730
+ r: ORBIT,
731
+ fill: "none",
732
+ stroke: paint(hue, [300, 300], left === void 0 ? 55 : 25),
733
+ strokeWidth: 0.7,
734
+ strokeDasharray: "1.6 1.6"
735
+ }
736
+ ),
737
+ left !== void 0 && // What is left of the orbit, drawn over the faint dashes.
738
+ /* @__PURE__ */ jsx(
739
+ "circle",
740
+ {
741
+ cx: 32,
742
+ cy: 32,
743
+ r: ORBIT,
744
+ fill: "none",
745
+ stroke: paint(hue, [300, 300], 80),
746
+ strokeWidth: 0.9,
747
+ strokeLinecap: "round",
748
+ pathLength: 100,
749
+ strokeDasharray: `${left * 100} 100`,
750
+ transform: "rotate(-90 32 32)"
751
+ }
752
+ ),
753
+ /* @__PURE__ */ jsx(
754
+ "circle",
755
+ {
756
+ cx: 32 + Math.cos(angle) * ORBIT,
757
+ cy: 32 + Math.sin(angle) * ORBIT,
758
+ r: 2,
759
+ fill: paint("purple", [300, 300])
760
+ }
761
+ ),
762
+ /* @__PURE__ */ jsx(
763
+ "polygon",
764
+ {
765
+ points: GEOMETRY.tiles.giftToken,
766
+ fill: color(hue, 400),
767
+ stroke: paint(hue, [300, 300]),
768
+ strokeWidth: 0.8,
769
+ strokeLinejoin: "round",
770
+ style: { filter: `drop-shadow(0 0 3px ${tint(hue, 500, 70)})` }
771
+ }
772
+ )
773
+ ]
774
+ }
775
+ ),
776
+ /* @__PURE__ */ jsx(GlyphSlot, { size: "22%", style: { color: color(hue, 950) }, children: icon })
777
+ ]
778
+ }
779
+ );
780
+ }
781
+ function ModuleBadge(props2) {
782
+ return /* @__PURE__ */ jsx(
783
+ BadgeFrame,
784
+ {
785
+ ...props2,
786
+ tile: { kind: "circle" },
787
+ solids: [GEOMETRY.module],
788
+ doneHue: "green",
789
+ locked: "wire"
790
+ }
791
+ );
792
+ }
793
+ var solid = GEOMETRY.planet;
794
+ var FACES = solid.facets.length;
795
+ var CENTRE_Y_BY_RANK = solid.facets.map((facet) => {
796
+ const ys = facet.points.split(" ").map((point) => Number(point.split(",")[1]));
797
+ return { rank: facet.rank, y: ys.reduce((a, b) => a + b, 0) / ys.length };
798
+ }).sort((a, b) => a.rank - b.rank).map((face) => face.y);
799
+ function planetLevelOffset(progress) {
800
+ const edge = fillLevel("in-progress", progress, FACES) - fadeWidth(FACES) / 2;
801
+ const rank = Math.min(FACES - 1, Math.max(0, Math.round(edge)));
802
+ return (CENTRE_Y_BY_RANK[rank] ?? 32) / 64;
803
+ }
804
+ function Planet({ progress, size = 240, label, className, style, testId }) {
805
+ const id = useId().replace(/[^\w-]/g, "");
806
+ const pink = color("pink", 300);
807
+ const target = fillLevel("in-progress", progress, FACES);
808
+ return /* @__PURE__ */ jsx(
809
+ "span",
810
+ {
811
+ className: cn("geodesic-badge", className),
812
+ ...imageProps(label),
813
+ ...props({ "data-testid": testId }),
814
+ style: { display: "inline-grid", width: size, height: size, flex: "none", ...style },
815
+ children: /* @__PURE__ */ jsxs(
816
+ "svg",
817
+ {
818
+ "aria-hidden": "true",
819
+ viewBox: "0 0 64 64",
820
+ width: "100%",
821
+ height: "100%",
822
+ overflow: "visible",
823
+ style: { gridArea: "1 / 1", display: "block" },
824
+ children: [
825
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("radialGradient", { id: `${id}-halo`, children: [
826
+ /* @__PURE__ */ jsx("stop", { offset: "0.6", stopColor: pink, stopOpacity: 0.1 }),
827
+ /* @__PURE__ */ jsx("stop", { offset: "1", stopColor: pink, stopOpacity: 0 })
828
+ ] }) }),
829
+ /* @__PURE__ */ jsx("circle", { cx: 32, cy: 32, r: 44, fill: `url(#${id}-halo)` }),
830
+ /* @__PURE__ */ jsx("g", { opacity: 0.6, children: /* @__PURE__ */ jsx(SmoothFill, { target }) }),
831
+ /* @__PURE__ */ jsxs("g", { fill: "none", stroke: paint("pink", [200, 400]), strokeLinejoin: "round", children: [
832
+ /* @__PURE__ */ jsx(
833
+ "path",
834
+ {
835
+ d: solid.hidden,
836
+ strokeOpacity: 0.2,
837
+ strokeWidth: 0.5,
838
+ vectorEffect: "non-scaling-stroke"
839
+ }
840
+ ),
841
+ /* @__PURE__ */ jsx(
842
+ "path",
843
+ {
844
+ d: solid.edges,
845
+ strokeOpacity: 0.85,
846
+ strokeWidth: 0.6,
847
+ vectorEffect: "non-scaling-stroke"
848
+ }
849
+ )
850
+ ] })
851
+ ]
852
+ }
853
+ )
854
+ }
855
+ );
856
+ }
857
+ function SmoothFill({ target }) {
858
+ const level = useSettled(0, target);
859
+ return /* @__PURE__ */ jsx(
860
+ "g",
861
+ {
862
+ className: "geodesic-solid-smooth",
863
+ style: { "--geodesic-level": level, "--geodesic-fade": fadeWidth(FACES) },
864
+ children: solid.facets.map((facet) => /* @__PURE__ */ jsx(
865
+ "polygon",
866
+ {
867
+ className: "geodesic-facet-smooth",
868
+ points: facet.points,
869
+ fill: faceFill("pink", "in-progress", facet.tone),
870
+ style: { "--geodesic-rank": facet.rank }
871
+ },
872
+ facet.points
873
+ ))
874
+ }
875
+ );
876
+ }
877
+ function ProjectBadge(props2) {
878
+ return /* @__PURE__ */ jsx(
879
+ BadgeFrame,
880
+ {
881
+ ...props2,
882
+ tile: { kind: "polygon", points: GEOMETRY.tiles.hexagon },
883
+ solids: [GEOMETRY.project],
884
+ doneHue: "purple",
885
+ locked: "silhouette"
886
+ }
887
+ );
888
+ }
889
+ function SkillBadge(props2) {
890
+ return /* @__PURE__ */ jsx(
891
+ BadgeFrame,
892
+ {
893
+ ...props2,
894
+ tile: { kind: "polygon", points: GEOMETRY.tiles.heptagon },
895
+ solids: [GEOMETRY.skill],
896
+ doneHue: "brand",
897
+ locked: "silhouette"
898
+ }
899
+ );
900
+ }
901
+ function SocialBadge(props2) {
902
+ return /* @__PURE__ */ jsx(
903
+ BadgeFrame,
904
+ {
905
+ ...props2,
906
+ tile: { kind: "polygon", points: GEOMETRY.tiles.octagon },
907
+ solids: GEOMETRY.social,
908
+ links: GEOMETRY.socialLinks,
909
+ doneHue: "cyan",
910
+ locked: "silhouette"
911
+ }
912
+ );
913
+ }
914
+
915
+ export { ActivityBadge, ExamBadge, GiftBoxBadge, GiftToken, ModuleBadge, Planet, ProjectBadge, SkillBadge, SocialBadge, planetLevelOffset };
916
+ //# sourceMappingURL=index.js.map
917
+ //# sourceMappingURL=index.js.map