-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresult.html
More file actions
508 lines (480 loc) · 30.3 KB
/
Copy pathresult.html
File metadata and controls
508 lines (480 loc) · 30.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
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
<!doctype html>
<!--
- BubbleFM
- Copyright (c) 2026 SnowMint
- Licensed under the GNU General Public License v3.0 (GPL-3.0)
- You should have received a copy of the GNU General Public License along with this program.
- If not, see <https://www.gnu.org/licenses/>.
-->
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BubbleFM - Result</title>
<meta name="robots" content="noindex, nofollow" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,100..900;1,62..125,100..900&family=Poppins:wght@300;400;500;600;700&display=swap"
rel="stylesheet" />
<script defer src="https://cloud.umami.is/script.js" data-website-id="9fef3880-f9cb-4b34-9863-c5709690fb6d"></script>
<link rel="stylesheet" href="/css/main.css" />
<link rel="stylesheet" href="/css/layout.css" />
<link rel="stylesheet" href="/css/components.css" />
</head>
<body>
<header class="home-header header-overlay">
<a href="index.html" class="logo-container">
<img src="logo.webp" alt="BubbleFM Logo" class="logo-icon" />
<span class="logo-text">
<span class="brand-bubble">Bubble</span>
<span class="brand-fm">FM</span>
</span>
</a>
<div class="header-actions">
<button id="theme-toggle" class="theme-toggle-btn" aria-label="Alternar tema"></button>
<a
href="https://github.com/snw-mint/bubblefm"
target="_blank"
rel="noopener noreferrer"
class="github-link-btn"
aria-label="Repositório do GitHub">
<svg width="800" height="800" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1">
<path
d="M12 2.247a10 10 0 0 0-3.162 19.487c.5.088.687-.212.687-.475 0-.237-.012-1.025-.012-1.862-2.513.462-3.163-.613-3.363-1.175a3.64 3.64 0 0 0-1.025-1.413c-.35-.187-.85-.65-.013-.662a2 2 0 0 1 1.538 1.025 2.137 2.137 0 0 0 2.912.825 2.1 2.1 0 0 1 .638-1.338c-2.225-.25-4.55-1.112-4.55-4.937a3.9 3.9 0 0 1 1.025-2.688 3.6 3.6 0 0 1 .1-2.65s.837-.262 2.75 1.025a9.43 9.43 0 0 1 5 0c1.912-1.3 2.75-1.025 2.75-1.025a3.6 3.6 0 0 1 .1 2.65 3.87 3.87 0 0 1 1.025 2.688c0 3.837-2.338 4.687-4.562 4.937a2.37 2.37 0 0 1 .674 1.85c0 1.338-.012 2.413-.012 2.75 0 .263.187.575.687.475A10.005 10.005 0 0 0 12 2.247" />
</svg>
</a>
</div>
</header>
<main class="result-main">
<section class="user-cover-section">
<div class="cover-image-container skeleton skeleton-icon" id="coverContainer">
<svg
id="coverSkeletonIcon"
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#e3e3e3">
<path
d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0 0v-560 560Zm80-80h400q12 0 18-11t-2-21L586-459q-6-8-16-8t-16 8L450-320l-74-99q-6-8-16-8t-16 8l-80 107q-8 10-2 21t18 11Z" />
</svg>
<img id="artistCover" alt="Artist Cover" class="cover-image" style="display: none" />
</div>
<div class="user-profile-container">
<div id="userAvatarContainer" class="user-profile-image skeleton skeleton-icon">
<svg
id="userAvatarSkeletonIcon"
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#e3e3e3">
<path
d="M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm146.5-204.5Q340-521 340-580t40.5-99.5Q421-720 480-720t99.5 40.5Q620-639 620-580t-40.5 99.5Q539-440 480-440t-99.5-40.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm100-95.5q47-15.5 86-44.5-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160q53 0 100-15.5ZM523-537q17-17 17-43t-17-43q-17-17-43-17t-43 17q-17 17-17 43t17 43q17 17 43 17t43-17Zm-43-43Zm0 360Z" />
</svg>
<img
id="userAvatar"
alt="User Avatar"
style="display: none; width: 100%; height: 100%; object-fit: cover; border-radius: 18%" />
</div>
<div class="user-info-details">
<h1
id="userDisplayName"
class="user-display-name skeleton skeleton-text"
style="width: 200px; height: 36px; border-radius: 8px"></h1>
<div class="stats-cards-container">
<div class="stat-card">
<span class="stat-title">Scrobbles</span>
<span
id="userScrobbles"
class="stat-value skeleton skeleton-text"
style="width: 80px; height: 20px"></span>
</div>
<div class="stat-card">
<span class="stat-title">Minutes</span>
<span
id="userMinutes"
class="stat-value skeleton skeleton-text"
style="width: 80px; height: 20px"></span>
</div>
<div class="stat-card">
<span class="stat-title">Daily Avg</span>
<span
id="userDailyAvg"
class="stat-value skeleton skeleton-text"
style="width: 50px; height: 20px"></span>
</div>
</div>
<div class="time-control-container">
<button class="time-toggle-btn active" data-period="month">Month</button>
<button class="time-toggle-btn" data-period="week">Week</button>
</div>
</div>
</section>
<section class="charts-section">
<div class="charts-grid">
<section class="chart-card" id="cardArtists">
<h2>Top Artists</h2>
<div class="lista-top" id="listTopArtists">
<div class="chart-item top-1">
<div class="top1-image skeleton skeleton-icon" id="artist1Skeleton">
<svg
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#e3e3e3">
<path
d="M480-300q75 0 127.5-52.5T660-480q0-75-52.5-127.5T480-660q-75 0-127.5 52.5T300-480q0 75 52.5 127.5T480-300Zm-28.5-151.5Q440-463 440-480t11.5-28.5Q463-520 480-520t28.5 11.5Q520-497 520-480t-11.5 28.5Q497-440 480-440t-28.5-11.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
</div>
<img class="top1-image" id="artist1Img" alt="Top Artist" style="display: none" />
<div class="text-content">
<span class="skeleton skeleton-text" style="width: 120px; height: 18px"></span>
<span class="skeleton skeleton-text" style="width: 80px; height: 14px; margin-top: 4px"></span>
</div>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#2</span>
<span class="skeleton skeleton-text" style="width: 150px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#3</span>
<span class="skeleton skeleton-text" style="width: 130px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#4</span>
<span class="skeleton skeleton-text" style="width: 160px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#5</span>
<span class="skeleton skeleton-text" style="width: 140px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#6</span>
<span class="skeleton skeleton-text" style="width: 170px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#7</span>
<span class="skeleton skeleton-text" style="width: 120px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#8</span>
<span class="skeleton skeleton-text" style="width: 145px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#9</span>
<span class="skeleton skeleton-text" style="width: 155px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#10</span>
<span class="skeleton skeleton-text" style="width: 135px; height: 16px"></span>
</div>
</div>
</section>
<section class="chart-card" id="cardTracks">
<h2>Top Songs</h2>
<div class="lista-top" id="listTopTracks">
<div class="chart-item top-1">
<div class="top1-image skeleton skeleton-icon" id="track1Skeleton">
<svg
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#e3e3e3">
<path
d="M480-300q75 0 127.5-52.5T660-480q0-75-52.5-127.5T480-660q-75 0-127.5 52.5T300-480q0 75 52.5 127.5T480-300Zm-28.5-151.5Q440-463 440-480t11.5-28.5Q463-520 480-520t28.5 11.5Q520-497 520-480t-11.5 28.5Q497-440 480-440t-28.5-11.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
</div>
<img class="top1-image" id="track1Img" alt="Top Track" style="display: none" />
<div class="text-content">
<span class="skeleton skeleton-text" style="width: 130px; height: 18px"></span>
<span class="skeleton skeleton-text" style="width: 90px; height: 14px; margin-top: 4px"></span>
</div>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#2</span>
<span class="skeleton skeleton-text" style="width: 160px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#3</span>
<span class="skeleton skeleton-text" style="width: 140px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#4</span>
<span class="skeleton skeleton-text" style="width: 150px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#5</span>
<span class="skeleton skeleton-text" style="width: 130px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#6</span>
<span class="skeleton skeleton-text" style="width: 170px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#7</span>
<span class="skeleton skeleton-text" style="width: 145px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#8</span>
<span class="skeleton skeleton-text" style="width: 155px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#9</span>
<span class="skeleton skeleton-text" style="width: 125px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#10</span>
<span class="skeleton skeleton-text" style="width: 140px; height: 16px"></span>
</div>
</div>
</section>
<section class="chart-card" id="cardAlbums">
<h2>Top Albums</h2>
<div class="lista-top" id="listTopAlbums">
<div class="chart-item top-1">
<div class="top1-image skeleton skeleton-icon" id="album1Skeleton">
<svg
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#e3e3e3">
<path
d="M480-300q75 0 127.5-52.5T660-480q0-75-52.5-127.5T480-660q-75 0-127.5 52.5T300-480q0 75 52.5 127.5T480-300Zm-28.5-151.5Q440-463 440-480t11.5-28.5Q463-520 480-520t28.5 11.5Q520-497 520-480t-11.5 28.5Q497-440 480-440t-28.5-11.5ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
</svg>
</div>
<img class="top1-image" id="album1Img" alt="Top Album" style="display: none" />
<div class="text-content">
<span class="skeleton skeleton-text" style="width: 140px; height: 18px"></span>
<span class="skeleton skeleton-text" style="width: 110px; height: 14px; margin-top: 4px"></span>
</div>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#2</span>
<span class="skeleton skeleton-text" style="width: 160px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#3</span>
<span class="skeleton skeleton-text" style="width: 120px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#4</span>
<span class="skeleton skeleton-text" style="width: 150px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#5</span>
<span class="skeleton skeleton-text" style="width: 130px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#6</span>
<span class="skeleton skeleton-text" style="width: 170px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#7</span>
<span class="skeleton skeleton-text" style="width: 145px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#8</span>
<span class="skeleton skeleton-text" style="width: 155px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#9</span>
<span class="skeleton skeleton-text" style="width: 125px; height: 16px"></span>
</div>
<div class="chart-item">
<span style="font-weight: bold; margin-right: 15px; color: var(--color-primary)">#10</span>
<span class="skeleton skeleton-text" style="width: 165px; height: 16px"></span>
</div>
</div>
</section>
</div>
</section>
</main>
<footer class="app-footer">
<div class="footer-info">
<span class="info-line-1">
©
<span id="currentYear">2026</span>
BubbleFM.
</span>
<span class="separator">|</span>
<span class="info-line-3">
by
<a href="https://github.com/snw-mint/" target="_blank" rel="noopener noreferrer">Snow Mint</a>
</span>
</div>
<div class="footer-links">
<a href="privacy.html">Privacy Policy</a>
<span class="dot">•</span>
<a href="terms.html">Terms of Use</a>
<span class="dot">•</span>
<a href="https://github.com/snw-mint/bubblefm/issues" target="_blank" rel="noopener noreferrer">Issues</a>
<span class="dot">•</span>
<span class="versao">v1.0.0</span>
</div>
</footer>
<button id="btnGerarRelatorio" class="fab-generate" title="Generate Card">
Generate Card
</button>
<div id="columnPickerModal" class="modal">
<div class="modal-content">
<span class="close-button" id="closeColumnPicker">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="currentcolor"><path d="M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z"/></svg>
</span>
<h2>What do you want to show?</h2>
<p class="modal-info">Choose 1 or 2 charts to display.</p>
<div class="chart-selection-options">
<div class="custom-checkbox-row">
<input type="checkbox" class="chart-col-option" value="artists" />
<div class="checkbox-icon unselected">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200z"/></svg>
</div>
<div class="checkbox-icon selected">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="m424-424-86-86q-11-11-28-11t-28 11-11 28 11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28-28-11-28 11zM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120z"/></svg>
</div>
<span>Top Artists</span>
</div>
<div class="custom-checkbox-row">
<input type="checkbox" class="chart-col-option" value="tracks" />
<div class="checkbox-icon unselected">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200z"/></svg>
</div>
<div class="checkbox-icon selected">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="m424-424-86-86q-11-11-28-11t-28 11-11 28 11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28-28-11-28 11zM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120z"/></svg>
</div>
<span>Top Songs</span>
</div>
<div class="custom-checkbox-row">
<input type="checkbox" class="chart-col-option" value="albums" />
<div class="checkbox-icon unselected">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200z"/></svg>
</div>
<div class="checkbox-icon selected">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="m424-424-86-86q-11-11-28-11t-28 11-11 28 11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28-28-11-28 11zM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120z"/></svg>
</div>
<span>Top Albums</span>
</div>
</div>
<button id="confirmColumnsBtn" class="btn-proceed" disabled>Next</button>
</div>
</div>
<div id="colorPickerModal" class="modal">
<div class="modal-content">
<span class="close-button" id="closeColorPicker">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="currentcolor"><path d="M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z"/></svg>
</span>
<h2>Choose your accent color!</h2>
<p class="modal-info">Select a color to personalize your card.</p>
<div class="color-palette">
<button class="color-option" data-color="#F44336" style="background-color: #F44336" title="Red"></button>
<button class="color-option" data-color="#FF5733" style="background-color: #FF5733" title="Orange"></button>
<button class="color-option" data-color="#FFD700" style="background-color: #FFD700" title="Yellow"></button>
<button class="color-option" data-color="#28A745" style="background-color: #28A745" title="Green"></button>
<button class="color-option" data-color="#39CCCC" style="background-color: #39CCCC" title="Cyan"></button>
<button class="color-option" data-color="#337AFF" style="background-color: #337AFF" title="Blue"></button>
<button class="color-option" data-color="#BB86FC" style="background-color: #BB86FC" title="Purple"></button>
<div style="position: relative; display: inline-block;">
<button class="color-option custom-color-btn" id="customColorBtn" title="Custom Color">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="currentColor"><path d="M346-140 100-386q-10-10-15-22t-5-25 5-25 15-22l230-229-75-75q-13-13-13.5-31t12.5-32 32-14 33 14l367 367q10 10 14.5 22t4.5 25-4.5 25-14.5 22L440-140q-10 10-22 15t-25 5-25-5-22-15m47-506L179-432h428zm399 526q-36 0-61-25.5T706-208q0-27 13.5-51t30.5-47l19-24q9-11 23.5-11.5T816-331l20 25q16 23 30 47t14 51q0 37-26 62.5T792-120"/></svg>
</button>
<input type="color" id="customColorPicker" style="position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;" value="#ffffff" />
</div>
</div>
<button id="confirmColorBtn" class="btn-proceed" disabled>Next</button>
</div>
</div>
<div id="imagePickerModal" class="modal">
<div class="modal-content">
<span class="close-button" id="closeImagePicker">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="currentcolor"><path d="M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z"/></svg>
</span>
<h2>Card Background</h2>
<p class="modal-info">Choose the background style for your report.</p>
<div class="card-options-grid">
<div class="card-option" data-bg="default" id="defaultBgCard">
<div class="card-option-icon">
<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 -960 960 960" width="32" fill="currentColor"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120zm0-80h560v-560H200zm0 0v-560zm80-80h400q12 0 18-11t-2-21L586-459q-6-8-16-8t-16 8L450-320l-74-99q-6-8-16-8t-16 8l-80 107q-8 10-2 21t18 11"/></svg>
</div>
<h3>Original</h3>
<p>Use the same background as the site</p>
</div>
<div class="card-option" data-bg="custom" id="customBgCard">
<div class="card-option-icon">
<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 -960 960 960" width="32" fill="currentColor"><path d="M480-480ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280q17 0 28.5 11.5T520-800q0 17-11.5 28.5T480-760H200v560h560v-280q0-17 11.5-28.5T800-520q17 0 28.5 11.5T840-480v280q0 33-23.5 56.5T760-120H200Zm40-160h480L570-480 450-320l-90-120-120 160Zm440-400h-40q-17 0-28.5-11.5T600-720q0-17 11.5-28.5T640-760h40v-40q0-17 11.5-28.5T720-840q17 0 28.5 11.5T760-800v40h40q17 0 28.5 11.5T840-720q0 17-11.5 28.5T800-680h-40v40q0 17-11.5 28.5T720-600q-17 0-28.5-11.5T680-640v-40Z"/></svg>
</div>
<h3>Custom</h3>
<p>Upload your own background image</p>
<input type="file" id="customBgInput" accept="image/png, image/jpeg, image/webp" style="display: none;" />
</div>
</div>
<button id="confirmImageBtn" class="btn-proceed" disabled>Next</button>
</div>
</div>
<div id="generationModal" class="modal">
<div class="modal-content modal-no-close">
<div id="generationStateLoading" class="loading-content">
<h2>Generating</h2>
<span class="loader"></span>
</div>
<div id="generationStateComplete" class="loading-content" style="display: none;">
<h2>Download Complete!</h2>
<svg xmlns="http://www.w3.org/2000/svg" height="64px" viewBox="0 -960 960 960" width="64px" fill="var(--color-primary)"><path d="m424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z"/></svg>
</div>
</div>
</div>
<!-- Hidden Card Container for Rendering -->
<div id="storyCardContainer" class="hidden-card-container">
<div id="storyCard">
<div id="storyCardGradient" style="position: absolute; inset: 0; opacity: 0.25; z-index: 0; pointer-events: none;"></div>
<div class="story-header">
<div id="customStoryBg" style="display: none; width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1;"></div>
<div id="storyGradientOverlay" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 2;"></div>
<div class="story-header-overlay" style="position: relative; z-index: 3;"></div>
</div>
<div class="story-separator"></div>
<div class="story-avatar-container">
<img id="storyUserImg" src="" alt="" class="story-avatar-img">
</div>
<div class="story-info-container">
<div class="story-info-row">
<div class="story-info-left">
<span class="story-label-small">Month Review</span>
<span id="storySubtitle" class="story-subtitle"></span>
</div>
<div class="story-info-right">
<span class="story-label-small">Prepared for</span>
<h1 id="storyTitle" class="story-username"></h1>
</div>
</div>
</div>
<div class="story-body" id="storyBody">
<!-- Dynamically populated by unified.js based on 1 or 2 columns -->
</div>
<div class="story-footer">
<div class="footer-stat-group">
<span id="storyScrobblesValue" class="footer-stat-value">0</span>
<span id="storyScrobblesLabel" class="footer-stat-label">Total Time</span>
</div>
<div class="story-brand">Create yours at bubblefm.vercel.app</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script type="module" src="/js/unified.js"></script>
<style>
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
</style>
</body>
</html>