-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogout.html
More file actions
829 lines (743 loc) · 32.6 KB
/
Copy pathlogout.html
File metadata and controls
829 lines (743 loc) · 32.6 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
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
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>Tschuess - KumarNet</title>
<style>
:root {
--brand-hue: 210;
--brand-sat: 80%;
--brand-light: 60%;
--color-primary: hsl(var(--brand-hue), var(--brand-sat), var(--brand-light));
--color-primary-deep: hsl(var(--brand-hue), 85%, 45%);
--color-primary-hover: hsl(var(--brand-hue), 90%, 52%);
--color-primary-glow: hsla(var(--brand-hue), 80%, 60%, 0.28);
--color-primary-subtle: hsla(var(--brand-hue), 70%, 60%, 0.08);
--color-success: hsl(152, 60%, 52%);
--color-success-glow: hsla(152, 60%, 52%, 0.22);
--color-success-subtle: hsla(152, 60%, 52%, 0.07);
--color-bg-darkest: hsl(224, 55%, 5%);
--color-bg-dark: hsl(222, 50%, 7%);
--color-bg-mid: hsl(220, 38%, 11%);
--color-bg-light: hsl(218, 32%, 14%);
--color-card: hsla(222, 45%, 8%, 0.62);
--color-card-border: hsla(210, 40%, 70%, 0.24);
--color-text: hsl(210, 18%, 96%);
--color-text-muted: hsl(215, 14%, 58%);
--color-text-faint: hsl(215, 12%, 40%);
--color-border: hsla(215, 20%, 70%, 0.14);
--color-border-mid: hsla(215, 20%, 70%, 0.22);
--color-input-bg: hsla(224, 50%, 5%, 0.65);
--color-focus-ring: hsla(var(--brand-hue), 80%, 60%, 0.20);
--card-max-width: 440px;
--card-radius: 24px;
--input-radius: 13px;
--btn-radius: 14px;
--font-size-h1: clamp(1.45rem, 5vw, 1.825rem);
--font-size-body: clamp(0.875rem, 2vw, 0.9375rem);
--font-size-small: 0.8125rem;
--font-size-xs: 0.75rem;
--card-padding-x: clamp(1.75rem, 5.5vw, 2.75rem);
--card-padding-y: clamp(2.25rem, 6vw, 3.25rem);
--min-touch-target: 52px;
--card-blur: 16px;
--transition-fast: 0.14s cubic-bezier(0.4, 0, 0.2, 1);
--transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
}
body {
font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
background: transparent;
color: var(--color-text);
min-height: 100vh;
min-height: 100dvh;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem;
padding: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
line-height: 1.6;
overflow-y: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#bg {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 0;
background:
radial-gradient(ellipse 100% 60% at 50% -12%, hsla(152, 52%, 20%, 0.28) 0%, transparent 64%),
radial-gradient(ellipse 70% 52% at 12% 112%, hsla(248, 58%, 24%, 0.17) 0%, transparent 58%),
radial-gradient(ellipse 55% 45% at 92% 92%, hsla(188, 56%, 19%, 0.13) 0%, transparent 52%),
linear-gradient(168deg, var(--color-bg-darkest) 0%, var(--color-bg-dark) 28%, var(--color-bg-mid) 62%, var(--color-bg-light) 100%);
pointer-events: none;
}
#network-bg {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 1;
pointer-events: none;
display: block;
opacity: 0.88;
filter: saturate(1.12);
}
/* Canvas-Partikel */
/* ── Card ── */
.card {
background: var(--color-card);
/* backdrop-filter nur auf Desktop – auf Mobile kaputt (Android Chrome Compositing) */
border: 1px solid var(--color-card-border);
border-radius: var(--card-radius);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.08),
0 0 0 1px rgba(255, 255, 255, 0.03),
0 10px 28px rgba(0, 0, 0, 0.38),
0 28px 72px rgba(0, 0, 0, 0.44),
0 0 120px -20px var(--color-success-glow);
width: 100%;
max-width: var(--card-max-width);
padding: var(--card-padding-y) var(--card-padding-x);
position: relative;
z-index: 2;
animation: card-enter 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.card::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: linear-gradient(145deg,
rgba(255,255,255,0.09) 0%,
rgba(255,255,255,0.03) 22%,
rgba(255,255,255,0.01) 44%,
transparent 68%,
rgba(255,255,255,0.025) 100%);
pointer-events: none;
}
.card::after {
content: "";
position: absolute;
top: 0; left: 10%; right: 10%;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
border-radius: 50%;
pointer-events: none;
}
@keyframes card-enter {
from { opacity: 0; transform: translateY(20px) scale(0.975); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
/* ── Logo ── */
.logo {
display: flex;
justify-content: center;
margin-bottom: 2.25rem;
}
.logo-wrap {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
}
.logo-wrap::before {
content: "";
position: absolute;
inset: -5px;
border-radius: 50%;
border: 1px solid transparent;
background: linear-gradient(135deg,
var(--color-success) 0%,
hsl(152, 50%, 70%) 35%,
transparent 60%) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
animation: logo-arc 5s ease-in-out infinite;
opacity: 0.9;
}
.logo-wrap::after {
content: "";
position: absolute;
inset: -18px;
border-radius: 50%;
background: radial-gradient(circle, var(--color-success-glow) 0%, transparent 68%);
animation: logo-breathe 4s ease-in-out infinite alternate;
}
@keyframes logo-arc {
0%, 100% { transform: rotate(0deg); opacity: 0.85; }
50% { transform: rotate(200deg); opacity: 1; }
}
@keyframes logo-breathe {
0% { transform: scale(0.92); opacity: 0.25; }
100% { transform: scale(1.08); opacity: 0.55; }
}
.logo svg {
width: 42px;
height: 42px;
color: var(--color-success);
filter: drop-shadow(0 2px 10px var(--color-success-glow));
position: relative;
z-index: 1;
}
/* ── Header ── */
.header {
text-align: center;
margin-bottom: 2rem;
}
.header h1 {
font-size: var(--font-size-h1);
font-weight: 650;
letter-spacing: -0.03em;
margin-bottom: 0.55rem;
background: linear-gradient(140deg,
#fff 0%,
hsl(210, 30%, 92%) 55%,
hsl(210, 20%, 82%) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.header p {
color: var(--color-text-muted);
font-size: var(--font-size-body);
font-weight: 400;
letter-spacing: 0.01em;
}
/* ── Divider ── */
.divider {
height: 1px;
background: linear-gradient(90deg, transparent, var(--color-border-mid), transparent);
margin: 0 -0.5rem 1.75rem;
}
/* ── Alert ── */
.alert {
padding: 0.9rem 1.1rem;
border-radius: var(--input-radius);
font-size: var(--font-size-small);
margin-bottom: 1.5rem;
border: 1px solid;
display: flex;
align-items: flex-start;
gap: 0.625rem;
line-height: 1.55;
background: var(--color-success-subtle);
border-color: hsla(152, 60%, 52%, 0.2);
color: hsl(152, 55%, 68%);
}
.alert::before {
content: "";
width: 16px; height: 16px;
flex-shrink: 0;
margin-top: 1px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2334D399'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
}
/* ── Session Stats ── */
.session-stats {
background: linear-gradient(145deg, hsla(152, 56%, 50%, 0.11), hsla(152, 52%, 46%, 0.04));
border: 1px solid hsla(152, 52%, 50%, 0.2);
border-radius: var(--input-radius);
padding: 1rem 1.25rem;
margin-bottom: 1.5rem;
font-family: "SF Mono", "Cascadia Code", "Fira Code", ui-monospace, monospace;
font-size: 0.7rem;
line-height: 1.8;
color: var(--color-text-muted);
}
.session-stats > div {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.35rem 0;
}
.session-stats > div + div {
border-top: 1px solid hsla(215, 20%, 70%, 0.06);
}
.session-stats .sl { color: var(--color-text-faint); letter-spacing: 0.02em; }
.session-stats .sv {
color: var(--color-success);
font-weight: 600;
text-align: right;
}
/* ── Button ── */
.btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 0.9rem 1.5rem;
min-height: var(--min-touch-target);
font-size: 0.9375rem;
font-weight: 600;
letter-spacing: 0.015em;
font-family: inherit;
color: #fff;
background: linear-gradient(140deg,
hsl(var(--brand-hue), 84%, 62%) 0%,
hsl(var(--brand-hue), 86%, 54%) 46%,
hsl(var(--brand-hue), 88%, 47%) 100%);
border: none;
border-radius: var(--btn-radius);
cursor: pointer;
transition:
box-shadow var(--transition-base),
transform var(--transition-fast),
filter var(--transition-base);
margin-top: 1.85rem;
position: relative;
overflow: hidden;
text-decoration: none;
-webkit-appearance: none;
appearance: none;
}
.btn::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(160deg,
rgba(255,255,255,0.18) 0%,
rgba(255,255,255,0.05) 40%,
transparent 65%);
pointer-events: none;
}
.btn::after {
content: "";
position: absolute;
top: 0; left: -120%;
width: 60%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
transition: left 0.6s ease;
}
.btn:hover {
filter: brightness(1.1);
box-shadow:
0 8px 24px hsla(var(--brand-hue), 85%, 56%, 0.28),
0 14px 36px rgba(0, 0, 0, 0.34);
transform: translateY(-2px);
}
.btn:hover::after { left: 160%; }
.btn:active { transform: translateY(0) scale(0.985); filter: brightness(0.94); transition-duration: 0.08s; }
.btn:focus-visible {
outline: none;
box-shadow:
0 0 0 2px var(--color-bg-dark),
0 0 0 5px var(--color-focus-ring),
0 4px 16px var(--color-primary-glow);
}
/* ── Farewell ── */
.farewell {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
margin-top: 1.5rem;
padding: 0.8rem 1.1rem;
background: linear-gradient(145deg, hsla(var(--brand-hue), 56%, 52%, 0.11), hsla(var(--brand-hue), 54%, 48%, 0.04));
border: 1px solid hsla(var(--brand-hue), 55%, 55%, 0.2);
border-left: 2px solid hsla(var(--brand-hue), 70%, 60%, 0.7);
border-radius: var(--input-radius);
font-size: var(--font-size-small);
color: var(--color-text-muted);
min-height: 3rem;
transition: opacity var(--transition-slow);
line-height: 1.55;
}
.farewell span {
color: hsl(var(--brand-hue), 75%, 72%);
font-weight: 500;
}
/* ── Footer ── */
.footer {
text-align: center;
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid;
border-image: linear-gradient(90deg, transparent, var(--color-border), transparent) 1;
font-size: var(--font-size-xs);
color: var(--color-text-faint);
letter-spacing: 0.04em;
opacity: 0.76;
transition: opacity var(--transition-base);
}
.footer:hover { opacity: 1; }
/* ── Responsive ── */
/* ── Mobile: alles in den Viewport zwingen ── */
@media (max-width: 600px) {
:root {
--card-radius: 0px;
--input-radius: 10px;
--card-padding-x: 1.375rem;
--card-padding-y: 1.25rem;
--min-touch-target: 46px;
--font-size-h1: 1.35rem;
}
.card {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
max-width: 100%; width: 100%; height: 100%;
border-radius: 0;
display: flex; flex-direction: column; justify-content: center;
overflow: visible;
padding: max(1.25rem, env(safe-area-inset-top)) max(1.375rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.375rem, env(safe-area-inset-left));
z-index: 2;
backdrop-filter: none;
-webkit-backdrop-filter: none;
background: hsla(222, 45%, 7%, 0.0);
animation: none;
}
.logo { margin-bottom: 0.875rem; }
.logo-wrap { width: 56px; height: 56px; }
.logo svg { width: 30px; height: 30px; }
.header { margin-bottom: 0.875rem; }
.header h1 { margin-bottom: 0.25rem; }
.divider { margin-bottom: 0.875rem; }
.alert { padding: 0.6rem 0.875rem; margin-bottom: 0.75rem; font-size: 0.75rem; }
.session-stats {
padding: 0.5rem 0.875rem;
margin-bottom: 0.75rem;
font-size: 0.675rem;
line-height: 1.6;
}
.session-stats > div { padding: 0.2rem 0; }
.btn { margin-top: 0.875rem; padding: 0.65rem 1rem; font-size: 0.9rem; }
.farewell {
margin-top: 0.75rem;
padding: 0.5rem 0.875rem;
min-height: 2.2rem;
font-size: 0.75rem;
}
.footer { margin-top: 0.875rem; padding-top: 0.75rem; }
}
/* ── Landscape Mobile ── */
@media (max-height: 500px) and (orientation: landscape) {
:root { --card-padding-x: 1.5rem; --card-padding-y: 0.75rem; --min-touch-target: 40px; }
.card {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
max-width: 100%; width: 100%; height: 100%;
border-radius: 0;
display: flex; flex-direction: column; justify-content: center;
overflow: visible; padding: 0.75rem 2rem;
z-index: 2;
backdrop-filter: none;
-webkit-backdrop-filter: none;
background: hsla(222, 45%, 7%, 0.0);
animation: none;
}
.logo { margin-bottom: 0.4rem; }
.logo-wrap { width: 40px; height: 40px; }
.logo svg { width: 22px; height: 22px; }
.header { margin-bottom: 0.4rem; }
.header h1 { font-size: 1.15rem; margin-bottom: 0.1rem; }
.header p { font-size: 0.75rem; }
.divider { margin-bottom: 0.4rem; }
.alert { padding: 0.4rem 0.75rem; margin-bottom: 0.4rem; font-size: 0.7rem; }
.session-stats { padding: 0.3rem 0.75rem; margin-bottom: 0.4rem; font-size: 0.65rem; line-height: 1.5; }
.session-stats > div { padding: 0.1rem 0; }
.btn { margin-top: 0.4rem; padding: 0.4rem 1rem; font-size: 0.85rem; min-height: 36px; }
.farewell { display: none; }
.footer { margin-top: 0.4rem; padding-top: 0.4rem; }
}
@media (min-width: 601px) {
.card {
backdrop-filter: blur(var(--card-blur)) saturate(1.2);
-webkit-backdrop-filter: blur(var(--card-blur)) saturate(1.2);
}
}
@media (min-width: 768px) {
:root { --card-max-width: 480px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.card { opacity: 1; transform: none; }
#network-bg { opacity: 0.4; }
}
</style>
</head>
<body>
<div id="bg" aria-hidden="true"></div>
<canvas id="network-bg" aria-hidden="true"></canvas>
<div class="card">
<div class="logo">
<div class="logo-wrap">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/>
<polyline points="16 17 21 12 16 7"/>
<line x1="21" y1="12" x2="9" y2="12"/>
</svg>
</div>
</div>
<div class="header">
<h1 id="headline">Tschuess!</h1>
<p id="subtitle">Marc vermisst dich jetzt schon.</p>
</div>
<div class="divider"></div>
<div class="alert" role="status">
Verbindung erfolgreich getrennt. Deine Daten sind sicher. Wahrscheinlich.
</div>
<div class="session-stats" id="session-stats">
<div><span class="sl">Session-Dauer</span> <span class="sv" id="stat-duration">wird berechnet…</span></div>
<div><span class="sl">Datenverbrauch</span> <span class="sv" id="stat-data">wird berechnet…</span></div>
<div><span class="sl">DNS-Anfragen</span> <span class="sv" id="stat-dns">wird berechnet…</span></div>
<div><span class="sl">Marcs Reaktion</span> <span class="sv" id="stat-reaction">wird analysiert…</span></div>
</div>
<a href="$PORTAL_ACTION$" class="btn">Doch nochmal reinlassen</a>
<div class="farewell" id="farewell"></div>
<div class="footer">
© 2026 KumarNet · Wir sehen uns
</div>
</div>
<script>
(function () {
var durations = [
"2 Std 14 Min", "47 Min", "1 Std 03 Min", "3 Std 42 Min",
"23 Min", "5 Std 01 Min", "11 Min (Speedrun)", "8 Std 17 Min (Respekt)",
"0 Std 02 Min (Warum?)", "14 Std 33 Min (Bist du eingezogen?)",
"1 Std 59 Min (Knapp unter dem Limit)", "37 Sek (Neuer Rekord!)",
"6 Std 06 Min (666\u2026 Zufall?)", "4 Std 20 Min (nice)"
];
var datas = [
"1.3 GB (Netflix?)", "420 MB (nice)", "69 MB (nice)", "3.7 GB (Alter!)",
"256 MB (bescheiden)", "2.1 GB (Marc zahlt die Rechnung)",
"847 MB (solide)", "12 MB (warst du ueberhaupt online?)",
"7.4 GB (Marc bekommt Herzrasen)", "0.3 MB (nur Captive Portal geladen?)",
"1.337 GB (Elite-Nutzer)", "4.2 GB (War das ein Windows-Update?)",
"512 MB (exakt eine halbe CD-ROM)", "69.420 MB (Internet-Legende)"
];
var dnsCounts = [
"1.247 (normal)", "4.832 (was hast du gesucht?!)",
"347 (Minimalist)", "12.408 (DNS geht brrr)",
"2.891 (Durchschnitt)", "69 (nice)", "8.421 (Poweruser)",
"1 (hast du nur Google aufgerufen?)", "42.069 (absoluter Wahnsinn)",
"404 (not found\u2026 moment)", "999 (knapp an 1000 vorbei)",
"3 (Respekt fuer die Disziplin)", "31.337 (1337 detected)"
];
var reactions = [
"Enttaeuscht aber nicht ueberrascht",
"Hat kurz geweint",
"Zuckt mit den Schultern",
"Fragt ob du wiederkommst",
"Checkt ob du den Kuehlschrank leer gemacht hast",
"Aendert sofort das Passwort",
"Dreht sich dramatisch zum Fenster",
"War eh Zeit fuer ein Firmware-Update",
"Starrt 10 Minuten auf den Traffic-Graphen",
"Macht sich einen Trost-Kaffee",
"Ueberlegt, ob das Netzwerk an allem Schuld ist",
"Schreibt boesen Brief an den ISP",
"Loescht deine MAC-Adresse aus Trotz",
"Faengt an, die Firewall-Regeln umzuschreiben",
"Redet beruhigend auf den Server ein",
"Googelt 'Wie halte ich Gaeste im WLAN'"
];
function pick(arr) { return arr[Math.floor(Math.random() * arr.length)]; }
setTimeout(function () { document.getElementById("stat-duration").textContent = pick(durations); }, 600);
setTimeout(function () { document.getElementById("stat-data").textContent = pick(datas); }, 1200);
setTimeout(function () { document.getElementById("stat-dns").textContent = pick(dnsCounts); }, 1800);
setTimeout(function () { document.getElementById("stat-reaction").textContent = pick(reactions); }, 2500);
var subtitles = [
"Marc vermisst dich jetzt schon.",
"Das WLAN weint leise.",
"Dein Datenvolumen atmet auf.",
"Die Partikel sind jetzt traurig.",
"War schoen mit dir. Wirklich.",
"Der Router fuehlt sich leer.",
"Marc fragt: War's was ich gesagt hab?",
"Die Firewall hat dich gern gehabt.",
"Ein Paket kommt nicht mehr an. Deins.",
"Der DHCP-Server gibt deine IP schon weiter.",
"Marc schaut traurig auf den Traffic-Graphen.",
"Dein Geraet wurde aus der ARP-Tabelle gestrichen.",
"Die Bandbreite ist jetzt fuer Marc allein.",
"Der Switch blinkt jetzt ein bisschen langsamer.",
"Ping Timeout. So wie unsere Freundschaft.",
"Connection reset by feelings."
];
var subEl = document.getElementById("subtitle");
var subIdx = 0;
subEl.style.transition = "opacity 0.45s ease";
setInterval(function () {
subIdx = (subIdx + 1) % subtitles.length;
subEl.style.opacity = "0";
setTimeout(function () {
subEl.textContent = subtitles[subIdx];
subEl.style.opacity = "1";
}, 450);
}, 5000);
var farewells = [
"<span>Vergiss nicht: Das Passwort aendert sich nie. Oder doch?</span>",
"<span>Du kannst das Netzwerk vergessen. Aber es vergisst dich nicht.</span>",
"<span>Bitte hinterlass eine 5-Sterne Bewertung auf Google.</span>",
"<span>Tipp: Beim naechsten Mal einfach nie abmelden.</span>",
"<span>Dein Platz im Netzwerk wird 30 Sekunden freigehalten. Vielleicht.</span>",
"<span>Falls du dein eigenes WLAN vermisst: Es ist langsamer. Nur so.</span>",
"<span>Marc bedankt sich fuer deinen Beitrag zur Stromrechnung.</span>",
"<span>Dieses Portal hatte mehr Aufwand als manche Bachelorarbeit.</span>",
"<span>Dein Router zu Hause weiss, dass du fremdgegangen bist.</span>",
"<span>Marc hat fuer dich extra den QoS hochgedreht. Undankbar.</span>",
"<span>Die Pakete, die du nie empfangen wirst\u2026 ruhe in Frieden.</span>",
"<span>Dein ISP lacht gerade. Willkommen zurueck im Mittelalter.</span>",
"<span>Marc wuenscht dir viel Spass mit deinen 3 Balken LTE.</span>",
"<span>Falls du wiederkommst: Das Passwort hat sich nicht geaendert. Oder?</span>",
"<span>Dieser Logout wurde in den Akten vermerkt. Fuer immer.</span>",
"<span>Marc ueberlegt, ob er das Passwort aendert. Deinetwegen.</span>",
"<span>Du warst der beste Gast seit\u2026 nee, warst du nicht.</span>",
"<span>Der Keller-Server brummt jetzt ein bisschen leiser.</span>",
"<span>Vielen Dank fuer die zusaetzlichen Cents auf der Stromrechnung.</span>",
"<span>Marcs Netzwerk: 99.9% Uptime. Deine Treue: offenbar nicht.</span>"
];
var fwEl = document.getElementById("farewell");
var fwIdx = Math.floor(Math.random() * farewells.length);
fwEl.innerHTML = farewells[fwIdx];
setInterval(function () {
fwIdx = (fwIdx + 1) % farewells.length;
fwEl.style.opacity = "0";
setTimeout(function () {
fwEl.innerHTML = farewells[fwIdx];
fwEl.style.opacity = "1";
}, 450);
}, 7000);
})();
</script>
<script>
(function () {
var c = document.getElementById("network-bg");
if (!c || getComputedStyle(c).display === "none") return;
var ctx = c.getContext("2d");
if (!ctx) return;
var pts = [];
var N, maxD;
var W = 0, H = 0;
var dpr = window.devicePixelRatio || 1;
var isMobile = window.innerWidth < 768;
var pointer = { x: -1000, y: -1000, active: false };
var pointerRadius = 180;
var nextFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) { return setTimeout(fn, 16); };
function calcParams() {
var area = W * H;
if (isMobile) {
N = Math.max(40, Math.min(70, Math.round(area / 10000)));
maxD = Math.max(120, Math.min(200, Math.round(Math.min(W, H) * 0.30)));
} else {
N = Math.max(70, Math.min(140, Math.round(area / 7000)));
maxD = Math.max(160, Math.min(260, Math.round(Math.min(W, H) * 0.38)));
}
}
function resize() {
W = window.innerWidth || document.documentElement.clientWidth;
H = window.innerHeight || document.documentElement.clientHeight;
isMobile = W < 768;
c.width = W * dpr; c.height = H * dpr;
c.style.width = W + "px"; c.style.height = H + "px";
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
calcParams();
while (pts.length < N) {
pts.push({ x: Math.random() * W, y: Math.random() * H, vx: (Math.random() - 0.5) * 0.7, vy: (Math.random() - 0.5) * 0.7, r: Math.random() * 2 + 1.2 });
}
if (pts.length > N) pts.length = N;
}
function frame() {
ctx.clearRect(0, 0, W, H);
var i, j, dx, dy, d, a, p;
for (i = 0; i < pts.length; i++) {
for (j = i + 1; j < pts.length; j++) {
dx = pts[i].x - pts[j].x; dy = pts[i].y - pts[j].y;
d = Math.sqrt(dx * dx + dy * dy);
if (d < maxD) {
a = 0.8 * (1 - d / maxD);
ctx.beginPath();
ctx.strokeStyle = "rgba(52,211,153," + a + ")";
ctx.lineWidth = 1.2;
ctx.moveTo(pts[i].x, pts[i].y);
ctx.lineTo(pts[j].x, pts[j].y);
ctx.stroke();
}
}
}
if (pointer.active) {
for (i = 0; i < pts.length; i++) {
dx = pts[i].x - pointer.x; dy = pts[i].y - pointer.y;
d = Math.sqrt(dx * dx + dy * dy);
if (d < pointerRadius) {
a = 0.65 * (1 - d / pointerRadius);
ctx.beginPath();
ctx.strokeStyle = "rgba(110,231,183," + a + ")";
ctx.lineWidth = 1.5;
ctx.moveTo(pts[i].x, pts[i].y);
ctx.lineTo(pointer.x, pointer.y);
ctx.stroke();
}
}
}
for (i = 0; i < pts.length; i++) {
p = pts[i];
var glow = 0;
if (pointer.active) {
dx = p.x - pointer.x; dy = p.y - pointer.y;
d = Math.sqrt(dx * dx + dy * dy);
if (d < pointerRadius) glow = 1 - d / pointerRadius;
}
var baseA = 0.9 + glow * 0.1;
var r = p.r + glow * 2.5;
ctx.beginPath();
ctx.fillStyle = "rgba(52,211,153," + baseA + ")";
ctx.arc(p.x, p.y, r, 0, 6.2832);
ctx.fill();
}
for (i = 0; i < pts.length; i++) {
p = pts[i];
if (pointer.active) {
dx = pointer.x - p.x; dy = pointer.y - p.y;
d = Math.sqrt(dx * dx + dy * dy);
if (d < pointerRadius && d > 1) {
var force = 0.018 * (1 - d / pointerRadius);
p.vx += (dx / d) * force; p.vy += (dy / d) * force;
}
}
var speed = Math.sqrt(p.vx * p.vx + p.vy * p.vy);
if (speed > 1.8) { p.vx *= 0.97; p.vy *= 0.97; }
p.x += p.vx; p.y += p.vy;
if (p.x < 0 || p.x > W) p.vx *= -1;
if (p.y < 0 || p.y > H) p.vy *= -1;
p.x = Math.max(0, Math.min(W, p.x));
p.y = Math.max(0, Math.min(H, p.y));
}
nextFrame(frame);
}
function onPointer(e) {
var x, y;
if (e.touches && e.touches.length > 0) { x = e.touches[0].clientX; y = e.touches[0].clientY; }
else { x = e.clientX; y = e.clientY; }
pointer.x = x; pointer.y = y; pointer.active = true;
}
function onPointerEnd() { pointer.active = false; pointer.x = -1000; pointer.y = -1000; }
window.addEventListener("resize", function () { dpr = window.devicePixelRatio || 1; resize(); });
nextFrame(function () { resize(); nextFrame(frame); });
window.addEventListener("mousemove", onPointer);
window.addEventListener("touchstart", onPointer, { passive: true });
window.addEventListener("touchmove", onPointer, { passive: true });
window.addEventListener("touchend", onPointerEnd);
window.addEventListener("mouseleave", onPointerEnd);
})();
</script>
</body>
</html>