File size: 14,495 Bytes
0401e0a
 
 
 
 
 
 
 
 
e9c37b4
 
0401e0a
 
 
 
 
 
 
 
e9c37b4
0401e0a
 
 
e9c37b4
0401e0a
 
 
 
 
e9c37b4
0401e0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e9c37b4
0401e0a
e9c37b4
0401e0a
6750d82
e9c37b4
0401e0a
 
 
 
 
 
 
 
 
 
e9c37b4
 
 
0401e0a
 
 
 
 
 
 
 
 
a2300b6
 
 
 
 
0401e0a
 
a5535e5
0401e0a
 
 
2ceb744
 
 
 
 
 
 
 
 
 
 
0401e0a
 
 
 
 
 
 
 
 
 
54a98cd
0401e0a
 
 
 
 
 
 
 
54a98cd
 
 
 
 
 
 
 
 
 
0401e0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8b7f84d
 
 
 
 
 
 
54a98cd
 
 
 
 
 
 
 
 
 
 
 
 
8b7f84d
 
 
 
 
 
0401e0a
 
6750d82
0401e0a
 
 
 
5514a58
0401e0a
 
 
 
 
 
 
 
 
 
e9c37b4
5514a58
0401e0a
 
 
 
 
 
 
 
 
 
 
 
 
 
9b5f085
0401e0a
 
9b5f085
 
 
 
15507b3
9b5f085
15507b3
0401e0a
9b5f085
 
0401e0a
9b5f085
 
0401e0a
 
 
 
 
 
 
 
 
 
 
1d3679a
6220dfc
0401e0a
 
 
 
 
 
 
 
 
 
 
 
 
d605be4
0401e0a
 
d605be4
0401e0a
ae3f868
 
 
 
 
 
 
 
8f7ee52
 
 
 
 
 
 
 
6220dfc
 
 
 
4c2f585
 
 
a5535e5
 
 
 
 
5403a99
4c2f585
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a3db1f5
4c2f585
 
 
 
a3db1f5
4c2f585
 
 
 
 
 
 
 
6220dfc
54a98cd
0401e0a
 
 
 
 
 
 
306f4a4
8b7f84d
d605be4
 
 
2d727b9
8b7f84d
 
 
2d727b9
306f4a4
8b7f84d
2d727b9
306f4a4
2d727b9
8b7f84d
 
 
 
 
 
 
 
 
 
2d727b9
8b7f84d
 
 
 
 
 
2d727b9
 
 
8b7f84d
 
 
2d727b9
 
 
 
 
8b7f84d
 
2d727b9
 
8b7f84d
2d727b9
8b7f84d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0401e0a
ee673f5
0401e0a
ee673f5
0401e0a
 
 
 
e9c37b4
0401e0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326b145
 
0401e0a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ca3f25b
0401e0a
 
 
 
 
 
b70a4bf
0401e0a
ee673f5
 
 
 
 
 
 
 
 
2ceb744
 
 
 
 
 
 
 
 
448f38f
 
 
 
 
 
 
 
 
0401e0a
 
 
 
 
 
 
 
7631f12
0401e0a
 
 
 
 
 
 
 
 
 
2ceb744
 
 
 
 
 
0401e0a
 
 
 
 
 
 
2ceb744
0401e0a
90d6834
0401e0a
 
 
2ceb744
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
07949a0
0401e0a
90d6834
 
 
0401e0a
 
90d6834
0401e0a
90d6834
0401e0a
 
e9c37b4
0401e0a
 
e9c37b4
0401e0a
 
54a98cd
8b7f84d
0401e0a
 
9b5f085
0401e0a
8f7ee52
6220dfc
54a98cd
2d727b9
277bd3c
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
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080808;
  --panel: #121416;
  --panel-2: #181b1e;
  --line: #2a2f33;
  --text: #e8ecef;
  --muted: #89939b;
  --dim: #5f6870;
  --accent: #7dc;
  --accent-2: #6cb;
  --ok: #4d8;
  --warn: #fb4;
  --bad: #f66;
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 4vw;
  background: #080808;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.tab {
  height: 34px;
  padding: 0 .8rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08rem;
  text-transform: uppercase;
}
.tab:hover { color: var(--text); border-color: var(--line); }
.tab.active { color: #00131c; background: var(--accent); border-color: var(--accent); }
#app {
  width: min(1240px, 90vw);
  margin: 0 auto;
  padding: 28px 0 42px;
}
.panel { display: none; }
.panel.active { display: block; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
h1 {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}
.section-head span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08rem;
  text-transform: uppercase;
}
.section-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.submit-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) 6rem 8rem auto auto auto;
  gap: .75rem;
  align-items: end;
}
.check-field {
  height: 42px;
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.check-field input { width: auto; height: auto; accent-color: var(--accent); }
.form-group { min-width: 0; }
.form-group label {
  display: block;
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08rem;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  padding: 0 .75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: .92rem;
}
input, select {
  height: 42px;
}
textarea {
  min-height: 110px;
  padding-top: .65rem;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--panel-2); }
.btn-primary, .btn-secondary, .btn-icon {
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}
.btn-primary {
  min-width: 8rem;
  padding: 0 1rem;
  background: var(--accent);
  color: #00131c;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-primary:disabled, .btn-secondary:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.btn-secondary {
  padding: 0 .85rem;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  text-decoration: none;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }
.btn-icon {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}
.btn-icon:hover { color: var(--accent); border-color: var(--accent); }
.btn-delete:hover { color: var(--bad); border-color: var(--bad); }
#submit-status {
  min-height: 36px;
  margin-top: 1rem;
  padding: .55rem .75rem;
  border-radius: 6px;
  font-size: .9rem;
}
#reclass-status {
  min-height: 36px;
  margin-top: 1rem;
  padding: .55rem .75rem;
  border-radius: 6px;
  font-size: .9rem;
}
.post-search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: end;
}
#post-search-status {
  min-height: 36px;
  margin-top: 1rem;
  padding: .55rem .75rem;
  border-radius: 6px;
  font-size: .9rem;
}
.reclass-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: start;
}
.status-ok { background: #10251d; color: var(--ok); border: 1px solid #284; }
.status-err { background: #261314; color: var(--bad); border: 1px solid #833; }
.hidden { display: none; }
#search-list {
  display: grid;
  gap: .5rem;
}
.search-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .8rem;
  min-height: 52px;
  padding: .75rem .9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.search-item:hover { border-color: var(--accent); background: var(--panel-2); }
.search-item .id {
  color: var(--accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .88rem;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-item .time {
  color: var(--muted);
  font-size: .8rem;
  white-space: nowrap;
}
.search-actions {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.active-task { border-color: #3a3222; }
.search-status {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 .45rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
}
.active-mark { color: var(--warn); background: #2d2515; }
.done-mark { color: var(--ok); background: #13281d; }
.list-pager, #pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: .85rem;
}
.detail-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: start;
  gap: .9rem;
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
#detail-title {
  color: var(--accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
#detail-stats {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.download-all {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.download-all.hidden { display: none; }
#download-through { width: 5rem; }
#btn-download-all { white-space: nowrap; }
#detail-stats.reclass-stats {
  display: grid;
  grid-template-columns: 10rem 10rem minmax(8rem, 1fr) 5.5rem;
  gap: .5rem;
}
.reclass-stats span { min-width: 0; }
.reclass-count, .reclass-phase { white-space: nowrap; }
.reclass-phase { color: var(--warn); }
.exif-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: .4rem;
  max-width: 39rem;
}
.deep-scan-filters {
  justify-content: start;
  max-width: none;
  margin-top: .75rem;
}
.deep-scan-filters.hidden { display: none; }
.filter-btn, .filter-action {
  height: 32px;
  padding: 0 .65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04rem;
  text-transform: uppercase;
}
.filter-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
}
.filter-btn:hover, .filter-action:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active, .filter-action.submit {
  background: var(--accent);
  border-color: var(--accent);
  color: #00131c;
}
.filter-btn.active:hover, .filter-action.submit:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #00131c;
}
.filter-action {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
#results-grid, #post-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: .8rem;
  max-height: calc(100vh - 235px);
  overflow-y: auto;
  padding: .25rem .15rem 1rem;
}
#results-grid.log-grid, #search-detail.reclass-detail #results-grid {
  display: block;
  height: calc(100vh - 190px);
  min-height: 18rem;
  max-height: 46rem;
  overflow: hidden;
}
.reclass-panel {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  grid-column: 1 / -1;
  gap: .75rem;
  height: 100%;
  width: 100%;
  overflow: hidden;
  padding: .9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.reclass-panel h2 {
  margin-top: .35rem;
  color: var(--text);
  font-size: .95rem;
}
.log-head, .log-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .5rem;
  align-items: center;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  max-width: 34rem;
  color: var(--muted);
}
.summary-item {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr);
  gap: .5rem;
}
.summary-grid strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: end;
}
.log-list { min-height: 0; overflow-y: auto; }
.log-head, .log-row {
  min-height: 34px;
  padding: 0 .55rem;
  border-bottom: 1px solid var(--line);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .82rem;
}
.log-head {
  color: var(--muted);
  font-weight: 800;
}
.empty-log {
  padding: .7rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.result-card {
  position: relative;
  min-width: 0;
  padding: .55rem .55rem 1.85rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.result-card:hover { border-color: var(--accent); background: var(--panel-2); }
.thumb {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: .55rem;
  background: #050505;
  border: 1px solid #1b1d20;
  border-radius: 6px;
  cursor: zoom-in;
  overflow: hidden;
}
.thumb::after {
  content: "loading";
  color: var(--dim);
  font-size: .72rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
}
.thumb-loaded::after { content: ""; }
.thumb-error::after { content: "no thumb"; }
.thumb img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
  image-rendering: auto;
}
.result-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  min-height: 28px;
}
.result-link {
  min-width: 0;
  color: var(--accent);
  cursor: pointer;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .82rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-link:hover { color: var(--accent-2); }
.download-link {
  padding: .18rem .45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: .72rem;
  text-decoration: none;
}
.download-link:hover { color: var(--accent); border-color: var(--accent); }
.result-card .exif-badge, .not-scanned, .no-exif {
  display: inline-block;
  margin-top: .45rem;
  padding: .12rem .45rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06rem;
  text-transform: uppercase;
}
.result-badges { display: flex; gap: .25rem; flex-wrap: wrap; }
.exif-1 { background: #18233a; color: #8bd; }
.exif-2 { background: #13281d; color: var(--ok); }
.exif-3 { background: #2d2515; color: var(--warn); }
.exif-4 { background: #122530; color: #7cf; }
.exif-5, .exif-6 { background: #232323; color: #aaa; }
.exif-7 { background: #2a172a; color: #d9a; }
.exif-11 { background: #123; color: #6cf; }
.not-scanned, .no-exif { color: var(--dim); background: #181818; }
.result-index {
  position: absolute;
  right: .55rem;
  bottom: .45rem;
  color: var(--dim);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .72rem;
  font-weight: 800;
}
.result-pages {
  position: absolute;
  left: .55rem;
  bottom: .45rem;
  color: var(--accent);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .72rem;
  font-weight: 800;
}
.result-bookmarks {
  position: absolute;
  left: 50%;
  bottom: .45rem;
  color: var(--muted);
  font-size: .72rem;
  transform: translateX(-50%);
  white-space: nowrap;
}
#viewer {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #000e;
}
#viewer.hidden { display: none; }
.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  min-height: 58px;
  padding: .55rem 1rem;
  background: #080808ee;
  border-bottom: 1px solid var(--line);
}
#viewer-download {
  display: inline-flex;
  align-items: center;
  padding-top: .12rem;
  line-height: 1;
}
#viewer-zoom {
  min-width: 4rem;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}
#viewer-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.viewer-nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  width: 46px;
  height: 64px;
  background: #080808dd;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}
.viewer-nav:hover { color: var(--accent); border-color: var(--accent); }
.viewer-nav:disabled { opacity: .3; cursor: default; }
#viewer-prev { left: 1rem; }
#viewer-next { right: 1rem; }
#viewer-stage.dragging { cursor: grabbing; }
#viewer-img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  max-height: none;
  transform-origin: top left;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 860px) {
  .topbar { align-items: stretch; min-height: 64px; padding: .7rem 4vw; flex-direction: column; }
  nav { width: 100%; }
  .tab { flex: 1; padding: 0 .45rem; }
  #app { padding-top: 22px; }
  .section-head { align-items: start; flex-direction: column; }
  .submit-grid { grid-template-columns: 1fr; }
  .post-search-box { grid-template-columns: 1fr; }
  .reclass-box { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; }
  .search-item { grid-template-columns: minmax(0, 1fr) auto; }
  .search-actions { grid-column: 1 / -1; }
  .detail-header { grid-template-columns: 1fr; }
  #detail-stats.reclass-stats { grid-template-columns: 1fr 1fr; min-height: 3rem; }
  .exif-filters { justify-content: start; max-width: none; }
  #results-grid, #post-search-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: none; }
  .summary-grid { grid-template-columns: 1fr; }
}