diff --git a/svelte/src/file_viewer/Downloader.svelte b/svelte/src/file_viewer/Downloader.svelte new file mode 100644 index 0000000..ee09034 --- /dev/null +++ b/svelte/src/file_viewer/Downloader.svelte @@ -0,0 +1,117 @@ + + + + {#if load_captcha_script} + + {/if} + + + + + {#if captcha_type === "rate_limit"} +

+ This file is using a suspicious amount of bandwidth relative to + its popularity. To continue downloading this file you will have + to prove that you're a human first. +

+ {:else if captcha_type === "malware"} +

+ According to our scanning systems this file may contain a virus. + You can continue downloading this file at your own risk, but you + will have to prove that you're a human first. +

+ {/if} +
+
+
+ + diff --git a/svelte/src/file_viewer/FileViewer.svelte b/svelte/src/file_viewer/FileViewer.svelte index b7a0d8d..c1a3f4b 100644 --- a/svelte/src/file_viewer/FileViewer.svelte +++ b/svelte/src/file_viewer/FileViewer.svelte @@ -1,12 +1,12 @@