Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
351 lines (343 loc) · 23.3 KB
/
Copy pathindex.html
File metadata and controls
351 lines (343 loc) · 23.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#11181a" />
<title>FOIL</title>
<meta name="description" content="Turn any picture into a collectible card and give it a rare finish: 36 foil finishes in theme packs, card shapes, messages and layers. Save a GIF, APNG or MP4." />
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Crect width='10' height='14' rx='1.5' fill='%23161c1f'/%3E%3Crect x='1' y='1' width='8' height='12' rx='1' fill='%23f3eee2'/%3E%3Crect x='2' y='2' width='6' height='7' fill='%23ff5a4f'/%3E%3Crect x='2' y='5' width='6' height='4' fill='%231a9cff'/%3E%3C/svg%3E" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="./manifest.webmanifest" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="FOIL" />
<meta property="og:title" content="FOIL — turn any picture into a rare foil card" />
<meta property="og:description" content="Give any picture a rare finish: 36 foil finishes in theme packs, card shapes, messages and layered finishes. Save a GIF, APNG or MP4. Free, right in your browser — your picture never leaves it." />
<meta property="og:locale" content="en_US" />
<meta property="og:locale:alternate" content="ja_JP" />
<meta property="og:url" content="https://dennougorilla.github.io/foil/" />
<meta property="og:image" content="https://dennougorilla.github.io/foil/og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="A card in the Cosmo Holo finish with a message on it, beside a fanned hand of foil finishes, under the FOIL logo." />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="FOIL — turn any picture into a rare foil card" />
<meta name="twitter:description" content="Give any picture a rare finish: 36 foil finishes in theme packs, card shapes, messages and layered finishes. Save a GIF, APNG or MP4. Free, in your browser." />
<meta name="twitter:image" content="https://dennougorilla.github.io/foil/og.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- The interface typefaces hold the first paint (blocking="render") but not the page's script, which
starts the card's shaders meanwhile; a stylesheet in the markup would hold both. -->
<script>
(function () {
var l = document.createElement('link');
l.rel = 'stylesheet';
l.href = 'https://fonts.googleapis.com/css2?family=DotGothic16&family=Silkscreen:wght@400;700&display=swap';
l.setAttribute('blocking', 'render');
l.id = 'uiFonts';
document.head.appendChild(l);
})();
</script>
</head>
<body>
<canvas id="bg" aria-hidden="true"></canvas>
<div class="app">
<header class="top">
<h1 class="logo">
<button class="logo-word" id="logoBtn" type="button">
<span class="tile" aria-hidden="true">F</span><span class="tile" aria-hidden="true">O</span><span class="tile" aria-hidden="true">I</span><span class="tile" aria-hidden="true">L</span>
<i class="spark" aria-hidden="true"></i><i class="spark" aria-hidden="true"></i><i class="spark" aria-hidden="true"></i><i class="spark" aria-hidden="true"></i>
</button>
</h1>
<div class="toggles">
<button class="chip chip-binder" id="binderBtn" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 1h10v14H3zm2 2v10h6V3zM1 3h2v2H1zm0 4h2v2H1zm0 4h2v2H1z" /></svg>
<span class="binder-name" data-t="binder"></span><b class="binder-count">0</b>
</button>
<a class="chip chip-icon" id="repoLink" href="https://github.com/dennougorilla/foil" target="_blank" rel="noopener">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.33c-2.23.48-2.7-1.07-2.7-1.07-.36-.92-.89-1.17-.89-1.17-.73-.5.06-.49.06-.49.8.06 1.23.83 1.23.83.71 1.23 1.87.87 2.33.67.07-.52.28-.87.5-1.07-1.78-.2-3.65-.89-3.65-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.66 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 0z" /></svg>
</a>
<div class="support">
<button class="chip chip-heart" id="supportBtn" type="button" aria-expanded="false" aria-controls="supportMenu">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2h3v1h1v1h2V3h1V2h3v1h1v5h-1v1h-1v1h-1v1h-1v1H9v1H7v-1H6v-1H5v-1H4V9H3V8H2V3h1z" /></svg>
<span data-t="support"></span>
</button>
<div class="support-menu" id="supportMenu" hidden>
<p class="support-title" data-t="supportTitle"></p>
<a class="support-link" href="https://github.com/sponsors/dennougorilla" target="_blank" rel="noopener">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.33c-2.23.48-2.7-1.07-2.7-1.07-.36-.92-.89-1.17-.89-1.17-.73-.5.06-.49.06-.49.8.06 1.23.83 1.23.83.71 1.23 1.87.87 2.33.67.07-.52.28-.87.5-1.07-1.78-.2-3.65-.89-3.65-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.66 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 0z" /></svg>
<span><b>GitHub Sponsors</b><small data-t="supportGh"></small></span>
</a>
<a class="support-link" href="https://buymeacoffee.com/dennougorip" target="_blank" rel="noopener">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2 5h10v1h2v4h-2v2h-1v1H4v-1H3v-1H2zm10 2v2h1V7zM4 1h1v2H4zm3 0h1v2H7zm3 0h1v2h-1z" /></svg>
<span><b>Buy Me a Coffee</b><small data-t="supportBmc"></small></span>
</a>
<div class="support-foot">
<p class="app-credit"><span data-t="creditPre"></span><a id="creditLink" href="https://www.playbalatro.com/" target="_blank" rel="noopener">Balatro</a><span data-t="creditPost"></span></p>
<p class="app-version"><a id="versionLink" href="https://github.com/dennougorilla/foil/releases" target="_blank" rel="noopener"></a></p>
</div>
</div>
</div>
<button class="chip" id="langBtn" type="button"></button>
<button class="chip" id="soundBtn" type="button" aria-pressed="true">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2 6h3l4-3v10l-4-3H2z" /><path class="wave" d="M11 5.5c1 .8 1 4.2 0 5M12.5 4c2 1.6 2 6.4 0 8" /></svg>
<span data-t="sound"></span>
</button>
<button class="chip" id="crtBtn" type="button" aria-pressed="false">
<svg viewBox="0 0 16 16" aria-hidden="true"><rect x="1.5" y="3" width="13" height="9" rx="2" /><path d="M5 14h6" /></svg>
<span data-t="crt"></span>
</button>
</div>
</header>
<main class="stage" id="stage">
<canvas id="cards" aria-hidden="true"></canvas>
<div class="showcase">
<button class="card-slot" id="cardSlot" type="button">
<span class="flick-hint" id="flickHint" aria-hidden="true" hidden><svg viewBox="0 0 16 16"><path d="M9 2h2v2H9zM7 4h2v2H7zM5 6h2v4H5zm2 4h2v2H7zm2 2h2v2H9z" /></svg><b data-t="flickHint"></b><svg viewBox="0 0 16 16"><path d="M5 2h2v2H5zm2 2h2v2H7zm2 2h2v4H9zm-2 4h2v2H7zm-2 2h2v2H5z" /></svg></span>
</button>
<button class="btn btn-paper stage-pick" id="pickBtnStage" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 11V2M4.5 5.5 8 2l3.5 3.5M2 10v3.5h12V10" /></svg>
<span class="btn-text"><b data-t="pick"></b></span>
</button>
<aside class="info" id="info">
<div class="info-box">
<input class="info-name" id="nameInput" type="text" maxlength="24" autocomplete="off" spellcheck="false" />
<input class="info-type" id="typeInput" type="text" autocomplete="off" spellcheck="false" hidden />
<div class="info-desc">
<textarea class="is-hint" id="messageInput" rows="2" spellcheck="false"></textarea>
</div>
<div class="pills">
<span class="pill pill-rarity" id="pillRarity">
<span class="rarity-pick" id="raritySeg" role="radiogroup"></span>
<span id="rarityName"></span>
</span>
<span class="pill" id="pillEdition"></span>
</div>
</div>
<p class="card-hint" data-t="cardHint"></p>
</aside>
</div>
<div class="hand-wrap">
<div class="hand-row">
<div class="hand" id="hand" role="radiogroup">
<p class="hand-peek" id="handPeek" aria-hidden="true" hidden></p>
</div>
<div class="deck-dock" id="deckDock"></div>
</div>
<div class="hand-bar">
<button class="chip chip-icon hand-step" id="handPrev" type="button"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M9 2h2v2H9zM7 4h2v2H7zM5 6h2v4H5zm2 4h2v2H7zm2 2h2v2H9z" /></svg></button>
<p class="hand-caption" id="handCaption" aria-hidden="true"><i data-t="finishLabel"></i><b></b><span></span></p>
<button class="chip chip-icon hand-step" id="handNext" type="button"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M5 2h2v2H5zm2 2h2v2H7zm2 2h2v4H9zm-2 4h2v2H7zm-2 2h2v2H5z" /></svg></button>
</div>
</div>
</main>
<aside class="panel" id="panel">
<section class="sec sec-image" aria-labelledby="imageTitle">
<button class="recap" id="recapImage" type="button">
<i class="step" aria-hidden="true">1</i>
<span class="recap-thumb" id="recapThumb" aria-hidden="true"></span>
<b class="recap-name" id="recapImageName"></b>
<span class="recap-go" data-t="recapGo"></span>
</button>
<div class="sec-head">
<h2 class="sec-title"><i class="step" aria-hidden="true">1</i><span id="imageTitle" data-t="secImage"></span></h2>
<small class="sec-note" id="thumbLabel"></small>
</div>
<div class="thumbs" id="thumbs" role="radiogroup"></div>
<button class="btn pick" id="pickBtn" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 11V2M4.5 5.5 8 2l3.5 3.5M2 10v3.5h12V10" /></svg>
<span class="btn-text"><b data-t="pickFile"></b><small data-t="pickSub"></small></span>
</button>
<div class="image-error" id="imageError" hidden>
<p role="alert"></p>
<div class="image-error-actions">
<button class="btn btn-paper" id="imageErrorPick" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 11V2M4.5 5.5 8 2l3.5 3.5M2 10v3.5h12V10" /></svg>
<span class="btn-text"><b data-t="pickAnother"></b></span>
</button>
<button class="link" id="imageErrorClose" type="button" data-t="close"></button>
</div>
</div>
<button class="whole" id="wholeBtn" type="button" aria-pressed="false" aria-describedby="wholeNote">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 1h8v1h1v12h-1v1H4v-1H3V2h1zm1 3v3h2V4zm4 2v1h2V6zm-4 4v2h6v-2z" /></svg>
<span class="whole-text"><b data-t="wholeCard"></b><small id="wholeNote"></small></span>
<i class="whole-knob" aria-hidden="true"></i>
</button>
<input type="file" id="fileInput" accept="image/png,image/apng,.apng,image/jpeg,image/webp,image/gif,image/avif,image/bmp" hidden />
<div class="crop" id="crop">
<div class="crop-view" id="cropView" tabindex="0" role="application">
<canvas id="cropCanvas"></canvas>
<div class="crop-window" id="cropWindow"></div>
</div>
<div class="crop-side">
<div class="row">
<label class="field-label" for="zoom" data-t="zoom"></label>
<output id="zoomOut" for="zoom"></output>
<input type="range" id="zoom" min="1" max="4" step="0.01" value="1" />
</div>
<p class="hint" data-t="cropTip"></p>
<button class="link crop-reset" id="cropReset" type="button" data-t="cropReset"></button>
</div>
</div>
</section>
<section class="sec sec-finish" aria-labelledby="finishTitle">
<button class="recap" id="recapFinish" type="button">
<i class="step" aria-hidden="true">2</i>
<span class="finish-proof recap-thumb" id="recapProof" aria-hidden="true"></span>
<b class="recap-name" id="recapFinishName"></b>
<span class="recap-go" data-t="recapGo"></span>
</button>
<h2 class="sec-title"><i class="step" aria-hidden="true">2</i><span id="finishTitle" data-t="secFinish"></span></h2>
<div class="finish-row">
<span class="finish-proof" id="finishProof" aria-hidden="true"></span>
<b class="finish-name" id="finishName"></b>
<small class="finish-look" id="finishLook"></small>
<button class="finish-pick" id="finishPick" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M1 5h4v8H1zm4-2h4v1H6v9H4V4h1zm5-1h4v8h-4zM9 3h1v9H9z" /></svg>
<span data-t="finishPick"></span>
</button>
</div>
<div class="flip-row" id="flipRow" hidden>
<span class="flip-thumb" id="flipThumb" aria-hidden="true"></span>
<span class="flip-text"><b data-t="flipLabel"></b><small><span id="flipNow"></span> <button class="link" id="flipClear" type="button" data-t="flipClear"></button></small></span>
<button class="finish-pick" id="flipPick" type="button" data-t="flipPick"></button>
<input type="file" id="flipInput" accept="image/png,image/apng,.apng,image/jpeg,image/webp,image/gif,image/avif,image/bmp" hidden />
</div>
</section>
<section class="sec sec-adjust" id="adjust">
<button class="adjust-toggle" id="adjustToggle" type="button" aria-controls="adjustBody" aria-expanded="false">
<svg class="adjust-icon" viewBox="0 0 16 16" aria-hidden="true"><path d="M2 3h7v2H2zm10 0h2v2h-2zM9 2h3v4H9zM2 11h2v2H2zm5 0h7v2H7zM4 10h3v4H4zM2 7h4v2H2zm7 0h5v2H9zM6 6h3v4H6z" /></svg>
<span class="adjust-text"><b data-t="adjust"></b><small id="adjustSummary"></small></span>
<span class="adjust-close" data-t="adjustClose"></span>
<svg class="adjust-chev" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 5h2v2h2v2h2V7h2V5h2v2h-2v2H9v2H7V9H5V7H3z" /></svg>
</button>
<div class="adjust-body" id="adjustBody" hidden>
<div class="tabs-bar">
<div class="tabs" id="panelTabs" role="tablist"></div>
</div>
<div class="pane" id="pane-card" role="tabpanel">
<div class="pane-tools" id="cardTools" hidden><button class="link" id="cardReset" type="button" data-t="cardReset"></button></div>
<div class="row">
<label class="field-label" for="intensity" data-t="intensity"></label>
<output id="intensityOut" for="intensity"></output>
<input type="range" id="intensity" min="0" max="1" step="0.01" />
</div>
<div class="field">
<span class="field-label" id="frameLabel" data-t="frame"></span>
<div class="seg seg-frames" id="frameSeg" role="radiogroup" aria-labelledby="frameLabel"></div>
</div>
<div class="field">
<span class="field-label" id="shapeLabel" data-t="shape"></span>
<div class="seg seg-shapes" id="shapeSeg" role="radiogroup" aria-labelledby="shapeLabel"></div>
</div>
<div class="field">
<span class="field-label" id="layoutLabel" data-t="layoutLabel"></span>
<div class="seg seg-layouts" id="layoutSeg" role="radiogroup" aria-labelledby="layoutLabel"></div>
</div>
<div class="row row-hint">
<label class="field-label" for="pixel" data-t="pixel"></label>
<output id="pixelOut" for="pixel"></output>
<p class="hint" id="pixelHint" data-t="pixelHint"></p>
<input type="range" id="pixel" min="0" max="6" step="1" aria-describedby="pixelHint" />
</div>
<div class="field dot-field">
<div class="dot-head">
<span class="field-label" id="dotLabel"></span>
<small class="dot-now" id="dotNow"></small>
<button class="link dot-more" id="dotMore" type="button" aria-controls="dotBody" aria-expanded="false"></button>
</div>
<p class="hint dot-hint" id="dotHint"></p>
<div class="seg" id="dotSeg" role="radiogroup" aria-describedby="dotHint"></div>
<div class="field dot-scope" id="dotScopeRow" hidden><span class="field-label" id="dotScopeLabel"></span><div class="seg seg-two" id="dotScopeSeg" role="radiogroup"></div></div>
<div class="dot-body" id="dotBody" hidden>
<div class="field"><span class="field-label" id="dotSizeLabel"></span><div class="seg" id="dotSizeSeg" role="radiogroup"></div></div>
<div class="field"><span class="field-label" id="dotColorsLabel"></span><div class="seg" id="dotColorsSeg" role="radiogroup"></div></div>
<div class="dot-pair">
<div class="field"><span class="field-label" id="dotOutlineLabel"></span><div class="seg seg-two" id="dotOutlineSeg" role="radiogroup"></div></div>
<div class="field"><span class="field-label" id="dotDitherLabel"></span><div class="seg seg-two" id="dotDitherSeg" role="radiogroup"></div></div>
</div>
</div>
</div>
<div class="field" id="backdropField">
<span class="field-label" id="backdropLabel" data-t="backdrop"></span>
<div class="seg seg-backdrops" id="backdropSeg" role="radiogroup" aria-labelledby="backdropLabel"></div>
<p class="backdrop-color" id="backdropColorRow" hidden>
<button class="link" id="backdropColorBtn" type="button"><i class="backdrop-dot" aria-hidden="true"></i><span data-t="backdropColor"></span></button>
<input class="matte-picker" id="backdropPicker" type="color" tabindex="-1" aria-hidden="true" />
</p>
</div>
</div>
<div class="pane" id="pane-light" role="tabpanel" hidden></div>
<div class="pane" id="pane-text" role="tabpanel" hidden></div>
<div class="pane" id="pane-range" role="tabpanel" hidden></div>
</div>
</section>
<section class="sec sec-format">
<div class="save-opts" id="saveOpts">
<button class="save-opts-toggle" id="saveOptsToggle" type="button" aria-controls="saveOptsBody" aria-expanded="false">
<span data-t="gifOpts"></span><small id="saveOptsSummary"></small>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 5h2v2h2v2h2V7h2V5h2v2h-2v2H9v2H7V9H5V7H3z" /></svg>
</button>
<div class="save-opts-body" id="saveOptsBody" hidden>
<div class="field">
<span class="field-label" data-t="saveMotion"></span>
<p class="save-motion"><b id="saveMotionName"></b><small id="saveMotionLen"></small><button class="link" id="saveMotionPick" type="button" data-t="saveMotionPick"></button></p>
<p class="hint save-note" id="saveMotionNote"></p>
<p class="hint save-note" id="saveTouchNote" hidden></p>
<p class="hint save-note" id="saveMp4Note" hidden></p>
</div>
<div class="field">
<span class="field-label" data-t="backdrop"></span>
<p class="save-motion"><b id="saveBackdropName"></b><button class="link" id="saveBackdropPick" type="button" data-t="saveMotionPick"></button></p>
</div>
<div class="field" id="matteField">
<span class="field-label" id="matteLabel" data-t="matte"></span>
<div class="matte" id="matteSeg" role="radiogroup" aria-labelledby="matteLabel"></div>
<input class="matte-picker" id="mattePicker" type="color" tabindex="-1" aria-hidden="true" />
</div>
<p class="hint save-note" id="gifClearNote"><span data-t="gifClearNote"></span> <button class="link" id="toApng" type="button" data-t="toApng"></button></p>
</div>
</div>
</section>
<section class="sec sec-export" aria-labelledby="exportTitle">
<div class="sec-head export-head">
<h2 class="sec-title"><i class="step" aria-hidden="true">3</i><span id="exportTitle" data-t="secExport"></span></h2>
<div class="export-more">
<button class="mini-slab mini-keep" id="keepBtn" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path class="i-keep" d="M3 1h10v14H3zm2 2v10h6V3zm1 2h4v1H6zm0 2h4v1H6z" /><path class="i-kept" d="M13 3h2v2h-2zm-2 2h2v2h-2zM9 7h2v2H9zM7 9h2v2H7zM5 11h2v2H5zM3 9h2v2H3zM1 7h2v2H1z" /></svg>
<span></span>
</button>
<button class="mini-slab mini-share" id="shareBtn" type="button" hidden>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M11 1h4v4h-4zM1 6h4v4H1zm10 5h4v4h-4zM5 6h2v1H5zm2-1h2v1H7zm2-1h2v1H9zM5 9h2v1H5zm2 1h2v1H7zm2 1h2v1H9z" /></svg>
<span></span>
</button>
</div>
</div>
<div class="seg seg-format" id="formatSeg" role="radiogroup" aria-labelledby="exportTitle"></div>
<button class="btn btn-primary" id="saveBtn" type="button">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 2v9M4.5 7.5 8 11l3.5-3.5M2 10v3.5h12V10" /></svg>
<span class="btn-text"><b></b><small></small></span>
<span class="save-meta"><b></b><small></small></span>
<span class="seal" id="seal" aria-hidden="true"></span>
</button>
</section>
</aside>
</div>
<div class="crt is-off" id="crt" aria-hidden="true">
<i class="crt-glow"></i>
<i class="crt-mask"></i>
<i class="crt-noise"></i>
<i class="crt-glass"></i>
</div>
<div class="drop" id="drop" hidden>
<div class="drop-box">
<b data-t="dropHere"></b>
<span data-t="dropSub"></span>
</div>
</div>
<div class="toasts" id="toasts"></div>
<p class="sr-only" id="announcer" aria-live="polite"></p>
<div class="fatal" id="fatal" hidden></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>