@senseihq/emaki-cli 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +34 -2
- package/package.json +42 -4
- package/plugin/.claude-plugin/plugin.json +19 -0
- package/plugin/PLAYBOOK.md +137 -0
- package/plugin/README.md +51 -0
- package/plugin/agents/fact-checker.md +28 -0
- package/plugin/agents/localizer.md +34 -0
- package/plugin/agents/scene-builder.md +43 -0
- package/plugin/agents/story-planner.md +42 -0
- package/plugin/agents/story-writer.md +34 -0
- package/plugin/agents/visual-reviewer.md +33 -0
- package/plugin/modules/campaign/README.md +23 -0
- package/plugin/modules/campaign/calendar.csv +2 -0
- package/plugin/modules/campaign/day-script.template.md +41 -0
- package/plugin/modules/posting-desk/README.md +37 -0
- package/plugin/skills/emaki/SKILL.md +107 -0
- package/plugin/skills/emaki/references/01-interview.md +68 -0
- package/plugin/skills/emaki/references/02-architecture.md +69 -0
- package/plugin/skills/emaki/references/03-content-model.md +65 -0
- package/plugin/skills/emaki/references/04-scene-authoring.md +96 -0
- package/plugin/skills/emaki/references/05-voice-and-video.md +64 -0
- package/plugin/skills/emaki/references/06-i18n.md +37 -0
- package/plugin/skills/emaki/references/07-quality-gates.md +44 -0
- package/plugin/skills/emaki/references/08-feedback-loop.md +32 -0
- package/plugin/skills/emaki/references/09-publishing.md +11 -0
- package/plugin/skills/story-build/SKILL.md +37 -0
- package/plugin/skills/story-localize/SKILL.md +24 -0
- package/plugin/skills/story-media/SKILL.md +36 -0
- package/plugin/skills/story-publish/SKILL.md +22 -0
- package/plugin/skills/story-review/SKILL.md +29 -0
- package/plugin/templates/brief.md +32 -0
- package/plugin/templates/change-request.md +7 -0
- package/plugin/templates/changelog.md +4 -0
- package/plugin/templates/decisions.md +5 -0
- package/plugin/templates/glossary.md +4 -0
- package/plugin/templates/item-card.md +34 -0
- package/plugin/templates/outline.md +19 -0
- package/plugin/templates/review-sheet.md +12 -0
- package/plugin/templates/style-guide.md +21 -0
- package/plugin/templates/tracker.md +11 -0
- package/src/api.js +9 -0
- package/src/capture.js +169 -0
- package/src/config.js +32 -0
- package/src/films.js +145 -0
- package/src/index.js +195 -0
- package/src/init.js +109 -0
- package/src/plugin.js +106 -0
- package/src/tts.js +290 -0
- package/src/util.js +59 -0
- package/src/voice.js +216 -0
- package/templates/content/films/index.json +1 -0
- package/templates/content/films/measure-the-right-work/film.json +59 -0
- package/templates/content/films/measure-the-right-work/look.css +16 -0
- package/templates/content/films/measure-the-right-work/scene-close.json +153 -0
- package/templates/content/films/measure-the-right-work/scene-groups.json +99 -0
- package/templates/content/films/measure-the-right-work/scene-hook.json +96 -0
- package/templates/content/films/measure-the-right-work/scene-pair.json +190 -0
- package/templates/content/films/measure-the-right-work/scene-problem.json +162 -0
- package/templates/content/films/measure-the-right-work/score.js +19 -0
- package/templates/content/films/measure-the-right-work/strings/en.json +50 -0
- package/templates/content/films/measure-the-right-work/strings/es.json +50 -0
- package/templates/content/films/measure-the-right-work/voice/en.json +7 -0
- package/templates/content/films/measure-the-right-work/voice/es.json +7 -0
- package/templates/content/logos/brand.svg +1 -0
- package/templates/content/site.json +10 -0
- package/templates/content/stories/en/measure-the-right-work.json +13 -0
- package/templates/content/stories/es/measure-the-right-work.json +13 -0
- package/templates/content/stories/index.json +12 -0
- package/templates/content/ui/en.json +1 -0
- package/templates/content/ui/es.json +1 -0
- package/templates/emaki.config.json +67 -0
- package/templates/film/look.css +16 -0
- package/templates/film/scene-close.json +153 -0
- package/templates/film/scene-template.json +71 -0
- package/templates/film/score.js +12 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"type": "board",
|
|
5
|
+
"id": "close-bg"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "group",
|
|
9
|
+
"id": "close-mark",
|
|
10
|
+
"style": "transform-origin:1530px 540px",
|
|
11
|
+
"children": [
|
|
12
|
+
{
|
|
13
|
+
"type": "logo",
|
|
14
|
+
"id": "close-logo",
|
|
15
|
+
"name": "brand",
|
|
16
|
+
"x": 1530,
|
|
17
|
+
"y": 540,
|
|
18
|
+
"size": 400
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "box",
|
|
24
|
+
"id": "close-card",
|
|
25
|
+
"at": "ground",
|
|
26
|
+
"children": [
|
|
27
|
+
{
|
|
28
|
+
"type": "text",
|
|
29
|
+
"id": "close-title",
|
|
30
|
+
"tag": "h1",
|
|
31
|
+
"text": "{{close.title}}",
|
|
32
|
+
"split": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "raw",
|
|
36
|
+
"id": "close-bar",
|
|
37
|
+
"html": "<div class='close-bar'></div>"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "text",
|
|
41
|
+
"id": "close-sub",
|
|
42
|
+
"cls": "sub",
|
|
43
|
+
"text": "{{close.sub}}"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"tracks": [
|
|
49
|
+
{
|
|
50
|
+
"kind": "effect",
|
|
51
|
+
"effect": "push",
|
|
52
|
+
"target": ".cam",
|
|
53
|
+
"t0": 0,
|
|
54
|
+
"dur": 5,
|
|
55
|
+
"from": 1,
|
|
56
|
+
"to": 1.025
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"kind": "tween",
|
|
60
|
+
"target": ".close-card",
|
|
61
|
+
"prop": "opacity",
|
|
62
|
+
"from": 0,
|
|
63
|
+
"to": 1,
|
|
64
|
+
"t0": -0.2,
|
|
65
|
+
"t1": 0.4,
|
|
66
|
+
"easing": "eo"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "tween",
|
|
70
|
+
"target": ".close-card",
|
|
71
|
+
"prop": "transform",
|
|
72
|
+
"template": "translateY({v}px)",
|
|
73
|
+
"from": 24,
|
|
74
|
+
"to": 0,
|
|
75
|
+
"t0": -0.2,
|
|
76
|
+
"t1": 0.4,
|
|
77
|
+
"easing": "eo"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "effect",
|
|
81
|
+
"effect": "words",
|
|
82
|
+
"target": ".close-title",
|
|
83
|
+
"t0": 0
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "tween",
|
|
87
|
+
"target": ".close-bar",
|
|
88
|
+
"prop": "transform",
|
|
89
|
+
"template": "scaleX({v})",
|
|
90
|
+
"from": 0,
|
|
91
|
+
"to": 1,
|
|
92
|
+
"t0": 0.6,
|
|
93
|
+
"t1": 1.1,
|
|
94
|
+
"easing": "eo",
|
|
95
|
+
"decimals": 3
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "tween",
|
|
99
|
+
"target": ".close-sub",
|
|
100
|
+
"prop": "opacity",
|
|
101
|
+
"from": 0,
|
|
102
|
+
"to": 1,
|
|
103
|
+
"t0": 0.8,
|
|
104
|
+
"t1": 1.3,
|
|
105
|
+
"easing": "eo"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"kind": "tween",
|
|
109
|
+
"target": ".close-sub",
|
|
110
|
+
"prop": "transform",
|
|
111
|
+
"template": "translateX({v}px)",
|
|
112
|
+
"from": 26,
|
|
113
|
+
"to": 0,
|
|
114
|
+
"t0": 0.8,
|
|
115
|
+
"t1": 1.3,
|
|
116
|
+
"easing": "eo"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "effect",
|
|
120
|
+
"effect": "settle",
|
|
121
|
+
"target": ".close-mark",
|
|
122
|
+
"t0": 0.3,
|
|
123
|
+
"t1": 1,
|
|
124
|
+
"o": 1.4,
|
|
125
|
+
"scaleFrom": 0.7,
|
|
126
|
+
"scaleTo": 1,
|
|
127
|
+
"breatheAmp": 0.012,
|
|
128
|
+
"breatheFreq": 1.6,
|
|
129
|
+
"rotateFrom": -14,
|
|
130
|
+
"rotateTo": 0,
|
|
131
|
+
"rt0": 0.3,
|
|
132
|
+
"rt1": 1.4,
|
|
133
|
+
"opacityMult": 1.5
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"css": ".close-card { position:absolute; left:110px; top:330px; display:flex; flex-direction:column; gap:26px; max-width:1060px }.close-title { margin:0; font-family:var(--display, serif); font-weight:400; font-size:120px; line-height:1.04; letter-spacing:-0.02em }.close-bar { width:300px; height:3px; border-radius:2px; background:var(--accent); transform-origin:0 50% } .close-card .sub { font-size:42px }",
|
|
137
|
+
"portrait": {
|
|
138
|
+
"hoist": [
|
|
139
|
+
".close-card"
|
|
140
|
+
],
|
|
141
|
+
"frame": [
|
|
142
|
+
700,
|
|
143
|
+
920
|
|
144
|
+
],
|
|
145
|
+
"crop": [
|
|
146
|
+
1250,
|
|
147
|
+
260,
|
|
148
|
+
560,
|
|
149
|
+
560
|
|
150
|
+
],
|
|
151
|
+
"css": ".close-card{left:70px!important;top:180px!important;max-width:none!important;width:940px} .close-title{font-size:110px!important}"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"type": "board",
|
|
5
|
+
"id": "groups-bg"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "raw",
|
|
9
|
+
"id": "cols",
|
|
10
|
+
"html": "<div class='groups-col' style='left:880px'><h4>{{groups.1}}</h4><div class='groups-m'>{{groups.2}}</div><div class='groups-m'>{{groups.3}}</div><div class='groups-m'>{{groups.4}}</div></div><div class='groups-col' style='left:1071px'><h4>{{groups.5}}</h4><div class='groups-m'>{{groups.6}}</div><div class='groups-m'>{{groups.7}}</div><div class='groups-m'>{{groups.8}}</div></div><div class='groups-col' style='left:1262px'><h4>{{groups.9}}</h4><div class='groups-m'>{{groups.10}}</div><div class='groups-m'>{{groups.11}}</div></div><div class='groups-col' style='left:1453px'><h4>{{groups.12}}</h4><div class='groups-m'>{{groups.13}}</div><div class='groups-m'>{{groups.14}}</div></div><div class='groups-col' style='left:1644px'><h4>{{groups.15}}</h4><div class='groups-m'>{{groups.16}}</div></div>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "svg",
|
|
14
|
+
"id": "link",
|
|
15
|
+
"body": "<path class='groups-link' pathLength='1' d='M968 290 C968 170, 1350 170, 1350 290' style='fill:none;stroke:var(--accent);stroke-width:5;stroke-dasharray:1 1;stroke-linecap:round'/>"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "raw",
|
|
19
|
+
"id": "pair-tag",
|
|
20
|
+
"html": "<span class='tag hot groups-pair'>{{groups.17}}</span>"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "head",
|
|
24
|
+
"id": "groups-head",
|
|
25
|
+
"at": "ground",
|
|
26
|
+
"eyebrow": "{{groups.eyebrow}}",
|
|
27
|
+
"line": "{{groups.line}}",
|
|
28
|
+
"sub": "{{groups.sub}}",
|
|
29
|
+
"style": "left:110px;top:300px;width:680px"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"tracks": [
|
|
33
|
+
{
|
|
34
|
+
"kind": "effect",
|
|
35
|
+
"effect": "push",
|
|
36
|
+
"target": ".cam",
|
|
37
|
+
"t0": 0,
|
|
38
|
+
"dur": 9,
|
|
39
|
+
"from": 1,
|
|
40
|
+
"to": 1.02
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "effect",
|
|
44
|
+
"effect": "showHead",
|
|
45
|
+
"target": ".groups-head",
|
|
46
|
+
"t0": -0.4
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "effect",
|
|
50
|
+
"effect": "fade",
|
|
51
|
+
"target": ".groups-col",
|
|
52
|
+
"count": 5,
|
|
53
|
+
"t0": 0.8,
|
|
54
|
+
"stagger": 0.35
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "effect",
|
|
58
|
+
"effect": "swap",
|
|
59
|
+
"target": ".groups-m",
|
|
60
|
+
"indices": [
|
|
61
|
+
0,
|
|
62
|
+
6
|
|
63
|
+
],
|
|
64
|
+
"at": 3.6,
|
|
65
|
+
"addClass": "on"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "effect",
|
|
69
|
+
"effect": "draw",
|
|
70
|
+
"target": ".groups-link",
|
|
71
|
+
"t0": 3.8,
|
|
72
|
+
"t1": 4.8
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"kind": "effect",
|
|
76
|
+
"effect": "pop",
|
|
77
|
+
"target": ".groups-pair",
|
|
78
|
+
"t0": 4.8,
|
|
79
|
+
"base": "translate(-50%,0)"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"css": ".groups-col { position:absolute; top:300px; width:176px; display:flex; flex-direction:column; gap:12px }.groups-col h4 { margin:0 0 4px; font-size:22px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--mute); text-align:center }.groups-m { box-sizing:border-box; height:96px; padding:12px 14px; border-radius:14px; background:var(--tile); border:2px solid var(--hair); font-size:22px; line-height:1.25; font-weight:500; display:flex; align-items:center; box-shadow:0 8px 18px rgba(0,0,0,.05) }.groups-m.on { border-color:var(--accent); border-width:3px; background:color-mix(in srgb, var(--accent) 8%, var(--tile)) }.groups-pair { left:1159px; top:126px }",
|
|
83
|
+
"portrait": {
|
|
84
|
+
"hoist": [
|
|
85
|
+
".groups-head"
|
|
86
|
+
],
|
|
87
|
+
"frame": [
|
|
88
|
+
640,
|
|
89
|
+
1000
|
|
90
|
+
],
|
|
91
|
+
"crop": [
|
|
92
|
+
865,
|
|
93
|
+
110,
|
|
94
|
+
970,
|
|
95
|
+
720
|
|
96
|
+
],
|
|
97
|
+
"css": ".groups-head{left:70px!important;top:150px!important;width:940px!important}"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"type": "board",
|
|
5
|
+
"id": "hook-bg"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "raw",
|
|
9
|
+
"id": "counters",
|
|
10
|
+
"html": "<div class='card hook-ctr' style='top:230px'><h4>{{hook.1}}</h4><b>0</b><i>↑</i></div><div class='card hook-ctr' style='top:430px'><h4>{{hook.2}}</h4><b>0</b><i>↑</i></div><div class='card hook-ctr' style='top:630px'><h4>{{hook.3}}</h4><b>0</b><i>↑</i></div>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "raw",
|
|
14
|
+
"id": "q",
|
|
15
|
+
"html": "<div class='hook-q'>?</div>"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "head",
|
|
19
|
+
"id": "hook-head",
|
|
20
|
+
"at": "ground",
|
|
21
|
+
"eyebrow": "{{hook.eyebrow}}",
|
|
22
|
+
"line": "{{hook.line}}",
|
|
23
|
+
"style": "left:110px;top:300px;width:720px"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"tracks": [
|
|
27
|
+
{
|
|
28
|
+
"kind": "effect",
|
|
29
|
+
"effect": "push",
|
|
30
|
+
"target": ".cam",
|
|
31
|
+
"t0": 0,
|
|
32
|
+
"dur": 6.5,
|
|
33
|
+
"from": 1,
|
|
34
|
+
"to": 1.03
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"kind": "effect",
|
|
38
|
+
"effect": "showHead",
|
|
39
|
+
"target": ".hook-head",
|
|
40
|
+
"t0": -0.4
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "effect",
|
|
44
|
+
"effect": "fade",
|
|
45
|
+
"target": ".hook-ctr",
|
|
46
|
+
"count": 3,
|
|
47
|
+
"t0": 0.6,
|
|
48
|
+
"stagger": 0.3
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "effect",
|
|
52
|
+
"effect": "counter",
|
|
53
|
+
"target": ".hook-ctr b",
|
|
54
|
+
"count": 3,
|
|
55
|
+
"values": [
|
|
56
|
+
1240000,
|
|
57
|
+
148,
|
|
58
|
+
9412
|
|
59
|
+
],
|
|
60
|
+
"prefixes": [
|
|
61
|
+
"",
|
|
62
|
+
"",
|
|
63
|
+
"+"
|
|
64
|
+
],
|
|
65
|
+
"t0": 0.8,
|
|
66
|
+
"t1": 3.4,
|
|
67
|
+
"easing": "eio",
|
|
68
|
+
"stagger": 0.3,
|
|
69
|
+
"format": "locale"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"kind": "effect",
|
|
73
|
+
"effect": "pop",
|
|
74
|
+
"target": ".hook-q",
|
|
75
|
+
"t0": 3.8,
|
|
76
|
+
"base": "translate(-50%,-50%)"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"css": ".hook-ctr { position:absolute; left:960px; width:600px; height:170px; box-sizing:border-box; padding:24px 34px; box-shadow:0 12px 26px rgba(0,0,0,.06) }.hook-ctr h4 { margin:0; font-size:24px; font-weight:600; letter-spacing:0.1em; color:var(--mute) } .hook-ctr b { display:block; margin-top:6px; font-family:var(--display); font-weight:400; font-size:78px; line-height:1; font-variant-numeric:tabular-nums }.hook-ctr i { position:absolute; right:34px; top:58px; font-style:normal; font-size:56px; color:var(--jade) }.hook-q { position:absolute; left:1660px; top:540px; transform:translate(-50%,-50%); font-family:var(--display); font-size:300px; line-height:1; color:var(--accent) }",
|
|
80
|
+
"portrait": {
|
|
81
|
+
"hoist": [
|
|
82
|
+
".hook-head"
|
|
83
|
+
],
|
|
84
|
+
"frame": [
|
|
85
|
+
640,
|
|
86
|
+
900
|
|
87
|
+
],
|
|
88
|
+
"crop": [
|
|
89
|
+
930,
|
|
90
|
+
200,
|
|
91
|
+
880,
|
|
92
|
+
620
|
|
93
|
+
],
|
|
94
|
+
"css": ".hook-head{left:70px!important;top:150px!important;width:940px!important}"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": [
|
|
3
|
+
{
|
|
4
|
+
"type": "board",
|
|
5
|
+
"id": "pair-bg"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "raw",
|
|
9
|
+
"id": "card-a",
|
|
10
|
+
"html": "<div class='card pair-card pair-a' style='left:880px'><h4>{{pair.1}}</h4><p>{{pair.2}}</p><span class='pair-num' style='color:var(--jade)'><span class='pair-na'>0</span>%</span></div>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "raw",
|
|
14
|
+
"id": "card-b",
|
|
15
|
+
"html": "<div class='card pair-card pair-b' style='left:1360px'><h4>{{pair.3}}</h4><p>{{pair.4}}</p><span class='pair-num' style='color:var(--accent)'><span class='pair-nb'>0</span>%</span></div>"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "raw",
|
|
19
|
+
"id": "warn",
|
|
20
|
+
"html": "<div class='card pair-warn'><span>{{pair.5}}</span></div>"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "svg",
|
|
24
|
+
"id": "art",
|
|
25
|
+
"body": "<circle class='pair-dot' cx='940' cy='400' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1024' cy='400' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1108' cy='400' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1192' cy='400' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1276' cy='400' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='940' cy='460' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1024' cy='460' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1108' cy='460' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1192' cy='460' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1276' cy='460' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='940' cy='520' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1024' cy='520' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1108' cy='520' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1192' cy='520' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1276' cy='520' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='940' cy='580' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1024' cy='580' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1108' cy='580' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1192' cy='580' r='20' style='fill:var(--jade)'/><circle class='pair-dot' cx='1276' cy='580' r='20' style='fill:var(--jade)'/><g class='pair-bar'><rect x='1400' y='420' width='380' height='64' rx='14' style='fill:var(--main)'/><rect class='pair-rw' x='1400' y='420' width='0' height='64' rx='14' style='fill:var(--accent)'/><text class='pair-lab' x='1400' y='520' style='fill:var(--accent)'>{{pair.8}}</text><text class='pair-lab' x='1780' y='520' text-anchor='end' style='fill:var(--main)'>{{pair.9}}</text></g><g class='pair-spark'><path class='pair-sf' pathLength='1' d='M915 720 L960 714 L1005 718 L1050 712 L1095 710 L1140 712 L1185 708' style='fill:none;stroke:var(--jade);stroke-width:6;stroke-linecap:round'/><path class='pair-sr' pathLength='1' d='M915 800 L960 796 L1005 788 L1050 782 L1095 770 L1140 760 L1185 744' style='fill:none;stroke:var(--accent);stroke-width:6;stroke-linecap:round'/><text class='pair-lab' x='915' y='696' style='fill:var(--jade)'>{{pair.10}}</text><text class='pair-lab' x='915' y='822' style='fill:var(--accent)'>{{pair.11}}</text></g>"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "head",
|
|
29
|
+
"id": "pair-head",
|
|
30
|
+
"at": "ground",
|
|
31
|
+
"eyebrow": "{{pair.eyebrow}}",
|
|
32
|
+
"line": "{{pair.line}}",
|
|
33
|
+
"sub": "{{pair.sub}}",
|
|
34
|
+
"style": "left:110px;top:320px;width:680px"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"tracks": [
|
|
38
|
+
{
|
|
39
|
+
"kind": "effect",
|
|
40
|
+
"effect": "push",
|
|
41
|
+
"target": ".cam",
|
|
42
|
+
"t0": 0,
|
|
43
|
+
"dur": 17,
|
|
44
|
+
"from": 1,
|
|
45
|
+
"to": 1.015
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "effect",
|
|
49
|
+
"effect": "showHead",
|
|
50
|
+
"target": ".pair-head",
|
|
51
|
+
"t0": -0.4
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "effect",
|
|
55
|
+
"effect": "fade",
|
|
56
|
+
"target": ".pair-a",
|
|
57
|
+
"t0": 0.8
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "tween",
|
|
61
|
+
"target": ".pair-dot",
|
|
62
|
+
"count": 20,
|
|
63
|
+
"prop": "opacity",
|
|
64
|
+
"from": 0,
|
|
65
|
+
"to": 1,
|
|
66
|
+
"t0": 1.2,
|
|
67
|
+
"t1": 1.5,
|
|
68
|
+
"easing": "eo",
|
|
69
|
+
"stagger": 0.06
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"kind": "effect",
|
|
73
|
+
"effect": "swap",
|
|
74
|
+
"target": ".pair-dot",
|
|
75
|
+
"indices": [
|
|
76
|
+
2,
|
|
77
|
+
4,
|
|
78
|
+
7,
|
|
79
|
+
11,
|
|
80
|
+
13,
|
|
81
|
+
18
|
|
82
|
+
],
|
|
83
|
+
"at": 2.9,
|
|
84
|
+
"style": {
|
|
85
|
+
"fill": "var(--accent)"
|
|
86
|
+
},
|
|
87
|
+
"base": {
|
|
88
|
+
"fill": "var(--jade)"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "effect",
|
|
93
|
+
"effect": "counter",
|
|
94
|
+
"target": ".pair-na",
|
|
95
|
+
"values": [
|
|
96
|
+
70
|
|
97
|
+
],
|
|
98
|
+
"t0": 3,
|
|
99
|
+
"t1": 3.9,
|
|
100
|
+
"easing": "eio",
|
|
101
|
+
"format": "int"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "effect",
|
|
105
|
+
"effect": "fade",
|
|
106
|
+
"target": ".pair-b",
|
|
107
|
+
"t0": 5.6
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"kind": "tween",
|
|
111
|
+
"target": ".pair-rw",
|
|
112
|
+
"prop": "attr:width",
|
|
113
|
+
"from": 0,
|
|
114
|
+
"to": 91.2,
|
|
115
|
+
"t0": 6.2,
|
|
116
|
+
"t1": 7.6,
|
|
117
|
+
"easing": "eio",
|
|
118
|
+
"decimals": 1
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "effect",
|
|
122
|
+
"effect": "counter",
|
|
123
|
+
"target": ".pair-nb",
|
|
124
|
+
"values": [
|
|
125
|
+
24
|
|
126
|
+
],
|
|
127
|
+
"t0": 6.2,
|
|
128
|
+
"t1": 7.6,
|
|
129
|
+
"easing": "eio",
|
|
130
|
+
"format": "int"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "tween",
|
|
134
|
+
"target": ".pair-bar",
|
|
135
|
+
"prop": "opacity",
|
|
136
|
+
"from": 0,
|
|
137
|
+
"to": 1,
|
|
138
|
+
"t0": 5.7,
|
|
139
|
+
"t1": 6.1,
|
|
140
|
+
"easing": "eo"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "effect",
|
|
144
|
+
"effect": "fade",
|
|
145
|
+
"target": ".pair-warn",
|
|
146
|
+
"t0": 10.4
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"kind": "tween",
|
|
150
|
+
"target": ".pair-spark",
|
|
151
|
+
"prop": "opacity",
|
|
152
|
+
"from": 0,
|
|
153
|
+
"to": 1,
|
|
154
|
+
"t0": 10.4,
|
|
155
|
+
"t1": 10.8,
|
|
156
|
+
"easing": "eo"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"kind": "effect",
|
|
160
|
+
"effect": "draw",
|
|
161
|
+
"target": ".pair-sf",
|
|
162
|
+
"t0": 10.6,
|
|
163
|
+
"t1": 12
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"kind": "effect",
|
|
167
|
+
"effect": "draw",
|
|
168
|
+
"target": ".pair-sr",
|
|
169
|
+
"t0": 10.8,
|
|
170
|
+
"t1": 12.2
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"css": ".pair-card { top:150px; width:460px; height:470px; box-sizing:border-box; padding:24px 28px; box-shadow:0 14px 30px rgba(0,0,0,.07) }.pair-card h4 { margin:0; width:270px; font-size:30px; line-height:1.2; font-weight:600 } .pair-card p { margin:6px 0 0; font-size:23px; line-height:1.3; color:var(--mute); width:300px }.pair-num { position:absolute; right:26px; top:18px; font-family:var(--display); font-size:64px; line-height:1 }.pair-warn { left:880px; top:650px; width:940px; height:180px; box-sizing:border-box; padding:24px 28px 24px 330px; border-color:var(--accent); box-shadow:0 14px 30px rgba(0,0,0,.08); display:flex; align-items:center; font-size:32px; line-height:1.3 }.pair-warn b { color:var(--accent); font-weight:600 } .pair-lab { font:600 20px var(--sans); letter-spacing:0.06em }",
|
|
174
|
+
"portrait": {
|
|
175
|
+
"hoist": [
|
|
176
|
+
".pair-head"
|
|
177
|
+
],
|
|
178
|
+
"frame": [
|
|
179
|
+
600,
|
|
180
|
+
1100
|
|
181
|
+
],
|
|
182
|
+
"crop": [
|
|
183
|
+
865,
|
|
184
|
+
135,
|
|
185
|
+
970,
|
|
186
|
+
710
|
|
187
|
+
],
|
|
188
|
+
"css": ".pair-head{left:70px!important;top:150px!important;width:940px!important}"
|
|
189
|
+
}
|
|
190
|
+
}
|