diff --git a/dist/404.html b/dist/404.html new file mode 100644 index 0000000..067e3fd --- /dev/null +++ b/dist/404.html @@ -0,0 +1,89 @@ + + + + + Page Not Found :( + + + +
+

Not found :(

+

Sorry, but the page you were trying to view does not exist.

+

It looks like this was the result of either:

+ +
+ + diff --git a/dist/404.txt b/dist/404.txt new file mode 100644 index 0000000..6e67cf9 --- /dev/null +++ b/dist/404.txt @@ -0,0 +1 @@ +404. Not found diff --git a/dist/download.audio.html b/dist/download.audio.html new file mode 100644 index 0000000..18fb6f5 --- /dev/null +++ b/dist/download.audio.html @@ -0,0 +1,112 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + + + + +
+
+ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
+ + +
+
+
+ +
+
+ +
+
+
+
+
+ +
+ + + + +Fork me on GitHub + + + + + + + + + + + + + diff --git a/dist/download.html b/dist/download.html new file mode 100644 index 0000000..68f3ef6 --- /dev/null +++ b/dist/download.html @@ -0,0 +1,93 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + + +
+
+ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
+ +
+
+ + + + +Fork me on GitHub + + + + + + + + + + + + + + + diff --git a/dist/download.image.html b/dist/download.image.html new file mode 100644 index 0000000..1f50a45 --- /dev/null +++ b/dist/download.image.html @@ -0,0 +1,103 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + +
+
+ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
+ + +
+
+
+ +
+
+ +
+
+
+
+
+
+
+ + + + +Fork me on GitHub + + + + + + + + + + + + + diff --git a/dist/download.markdown.html b/dist/download.markdown.html new file mode 100644 index 0000000..0ffa31a --- /dev/null +++ b/dist/download.markdown.html @@ -0,0 +1,101 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + +
+
+ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
+ + +
+
+
+
+
+
{{.Content}}
+
+
+
+
+ +
+ + + + + +Fork me on GitHub + + + + + + + + + + + + diff --git a/dist/download.sandbox.html b/dist/download.sandbox.html new file mode 100644 index 0000000..b2ea058 --- /dev/null +++ b/dist/download.sandbox.html @@ -0,0 +1,92 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + +
+
+ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
+ + +
+ +
+ + + + + +Fork me on GitHub + + + + + + + + + + + + diff --git a/dist/download.video.html b/dist/download.video.html new file mode 100644 index 0000000..f1c5cb7 --- /dev/null +++ b/dist/download.video.html @@ -0,0 +1,110 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + + +
+
+ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
+ + +
+
+
+ +
+
+ +
+
+
+
+
+ +
+ + + + +Fork me on GitHub + + + + + + + + + + + + + diff --git a/dist/favicon.ico b/dist/favicon.ico new file mode 100644 index 0000000..570a9fa Binary files /dev/null and b/dist/favicon.ico differ diff --git a/dist/fonts/font-awesome/FontAwesome.otf b/dist/fonts/font-awesome/FontAwesome.otf new file mode 100644 index 0000000..8b0f54e Binary files /dev/null and b/dist/fonts/font-awesome/FontAwesome.otf differ diff --git a/dist/fonts/font-awesome/fontawesome-webfont.eot b/dist/fonts/font-awesome/fontawesome-webfont.eot new file mode 100644 index 0000000..7c79c6a Binary files /dev/null and b/dist/fonts/font-awesome/fontawesome-webfont.eot differ diff --git a/dist/fonts/font-awesome/fontawesome-webfont.svg b/dist/fonts/font-awesome/fontawesome-webfont.svg new file mode 100644 index 0000000..45fdf33 --- /dev/null +++ b/dist/fonts/font-awesome/fontawesome-webfont.svg @@ -0,0 +1,414 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist/fonts/font-awesome/fontawesome-webfont.ttf b/dist/fonts/font-awesome/fontawesome-webfont.ttf new file mode 100644 index 0000000..e89738d Binary files /dev/null and b/dist/fonts/font-awesome/fontawesome-webfont.ttf differ diff --git a/dist/fonts/font-awesome/fontawesome-webfont.woff b/dist/fonts/font-awesome/fontawesome-webfont.woff new file mode 100644 index 0000000..8c1748a Binary files /dev/null and b/dist/fonts/font-awesome/fontawesome-webfont.woff differ diff --git a/dist/fonts/glyphicons/glyphicons-halflings-regular.eot b/dist/fonts/glyphicons/glyphicons-halflings-regular.eot new file mode 100644 index 0000000..423bd5d Binary files /dev/null and b/dist/fonts/glyphicons/glyphicons-halflings-regular.eot differ diff --git a/dist/fonts/glyphicons/glyphicons-halflings-regular.svg b/dist/fonts/glyphicons/glyphicons-halflings-regular.svg new file mode 100644 index 0000000..4469488 --- /dev/null +++ b/dist/fonts/glyphicons/glyphicons-halflings-regular.svg @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist/fonts/glyphicons/glyphicons-halflings-regular.ttf b/dist/fonts/glyphicons/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000..a498ef4 Binary files /dev/null and b/dist/fonts/glyphicons/glyphicons-halflings-regular.ttf differ diff --git a/dist/fonts/glyphicons/glyphicons-halflings-regular.woff b/dist/fonts/glyphicons/glyphicons-halflings-regular.woff new file mode 100644 index 0000000..d83c539 Binary files /dev/null and b/dist/fonts/glyphicons/glyphicons-halflings-regular.woff differ diff --git a/dist/fonts/transfersh.eot b/dist/fonts/transfersh.eot new file mode 100644 index 0000000..e443084 Binary files /dev/null and b/dist/fonts/transfersh.eot differ diff --git a/dist/fonts/transfersh.svg b/dist/fonts/transfersh.svg new file mode 100644 index 0000000..a68680e --- /dev/null +++ b/dist/fonts/transfersh.svg @@ -0,0 +1,25 @@ + + + +Generated by Fontastic.me + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/fonts/transfersh.ttf b/dist/fonts/transfersh.ttf new file mode 100644 index 0000000..7a1382b Binary files /dev/null and b/dist/fonts/transfersh.ttf differ diff --git a/dist/fonts/transfersh.woff b/dist/fonts/transfersh.woff new file mode 100644 index 0000000..58fa54f Binary files /dev/null and b/dist/fonts/transfersh.woff differ diff --git a/dist/images/Logo-orange.png b/dist/images/Logo-orange.png new file mode 100644 index 0000000..e1a4df3 Binary files /dev/null and b/dist/images/Logo-orange.png differ diff --git a/dist/images/bitcoin.png b/dist/images/bitcoin.png new file mode 100644 index 0000000..67bb94d Binary files /dev/null and b/dist/images/bitcoin.png differ diff --git a/dist/images/reviews/dave.jpg b/dist/images/reviews/dave.jpg new file mode 100644 index 0000000..6408f55 Binary files /dev/null and b/dist/images/reviews/dave.jpg differ diff --git a/dist/images/reviews/jacob.jpg b/dist/images/reviews/jacob.jpg new file mode 100644 index 0000000..fc2e2e5 Binary files /dev/null and b/dist/images/reviews/jacob.jpg differ diff --git a/dist/images/reviews/kareem.jpg b/dist/images/reviews/kareem.jpg new file mode 100644 index 0000000..d97e4a9 Binary files /dev/null and b/dist/images/reviews/kareem.jpg differ diff --git a/dist/images/reviews/lars.jpg b/dist/images/reviews/lars.jpg new file mode 100644 index 0000000..bc2b0d6 Binary files /dev/null and b/dist/images/reviews/lars.jpg differ diff --git a/dist/images/reviews/pg.jpeg b/dist/images/reviews/pg.jpeg new file mode 100644 index 0000000..df9bcc3 Binary files /dev/null and b/dist/images/reviews/pg.jpeg differ diff --git a/dist/images/terminal-top.svg b/dist/images/terminal-top.svg new file mode 100644 index 0000000..a192e3f --- /dev/null +++ b/dist/images/terminal-top.svg @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/images/terminal.svg b/dist/images/terminal.svg new file mode 100644 index 0000000..9d3cf8f --- /dev/null +++ b/dist/images/terminal.svg @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/includes/download-bottom.html b/dist/includes/download-bottom.html new file mode 100644 index 0000000..ffdd2ef --- /dev/null +++ b/dist/includes/download-bottom.html @@ -0,0 +1,5 @@ + + + +
+ diff --git a/dist/includes/download-footer.html b/dist/includes/download-footer.html new file mode 100644 index 0000000..cede4ec --- /dev/null +++ b/dist/includes/download-footer.html @@ -0,0 +1,26 @@ + + + +Fork me on GitHub + + + + + diff --git a/dist/includes/download-head.html b/dist/includes/download-head.html new file mode 100644 index 0000000..985ff35 --- /dev/null +++ b/dist/includes/download-head.html @@ -0,0 +1,12 @@ + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + diff --git a/dist/includes/download-js.html b/dist/includes/download-js.html new file mode 100644 index 0000000..78f48de --- /dev/null +++ b/dist/includes/download-js.html @@ -0,0 +1,2 @@ + + diff --git a/dist/includes/download-navigation.html b/dist/includes/download-navigation.html new file mode 100644 index 0000000..07d3461 --- /dev/null +++ b/dist/includes/download-navigation.html @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/dist/includes/download-top.html b/dist/includes/download-top.html new file mode 100644 index 0000000..f2959a7 --- /dev/null +++ b/dist/includes/download-top.html @@ -0,0 +1,9 @@ +
+

{{.Filename}}

+

type: {{.ContentType}}

+

size: {{.ContentLength | format "#,###."}} bytes

+ + download

+
+ +
diff --git a/dist/includes/footer.html b/dist/includes/footer.html new file mode 100644 index 0000000..3bdec26 --- /dev/null +++ b/dist/includes/footer.html @@ -0,0 +1,26 @@ + + + +Fork me on GitHub + + + + + diff --git a/dist/includes/head.html b/dist/includes/head.html new file mode 100644 index 0000000..bca3b7d --- /dev/null +++ b/dist/includes/head.html @@ -0,0 +1,12 @@ + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + diff --git a/dist/includes/js.html b/dist/includes/js.html new file mode 100644 index 0000000..879af71 --- /dev/null +++ b/dist/includes/js.html @@ -0,0 +1,2 @@ + + diff --git a/dist/includes/navigation.html b/dist/includes/navigation.html new file mode 100644 index 0000000..08df263 --- /dev/null +++ b/dist/includes/navigation.html @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..08c7a10 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,494 @@ + + + + + + + + + + + + {{.Hostname}} - Easy and fast file sharing from the command-line. + + + + + + + + + + + + + + + +
+
+

+ Easy file sharing from the command line

+
+
+
+ +
+
+ # Upload using cURL + $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt {{.WebAddress}}66nb8/hello.txt + + # Using the shell function + $ transfer hello.txt + ##################################################### 100.0% {{.WebAddress}}eibhM/hello.txt + +
+
+ + # Upload from web + Drag your files here, or click to browse. + + +
    +
  • +
  • +
+
+
+
+ # Download all your files +
+
+ zip tar.gz +
+
+
+
+ +
+ learn more +
+
+
+ + + +
+
+
+
+ +

Made for use with shell

+
+
+ +

Share files with a URL

+
+
+ +

Upload up to 500 MB

+
+
+ +

Files stored for 1 day

+
+
+
+
+ +

For free

+
+
+ +

Encrypt your files

+
+
+ +

Maximize amount of downloads

+
+
+
+
+ +
+
+

Preview your files in the browser!

+
+ +
+ +
+
+

+ Sample use cases +

+
+
+

How to upload

+
+ +
+
+ # Uploading is easy using curl + $ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt + {{.WebAddress}}66nb8/hello.txt + + $ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt {{.WebAddress}}hello.txt + {{.WebAddress}}66nb8/hello.txt + + # Download the file + $ curl {{.WebAddress}}66nb8/hello.txt -o hello.txt + +
+
+
+

Add shell function to .bashrc or .zshrc

+
+
+
+ # Add this to .bashrc or .zshrc or its equivalent + transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "{{.WebAddress}}$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "{{.WebAddress}}$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "{{.WebAddress}}$file_name"|tee /dev/null;fi;} + + # Now you can use transfer function + $ transfer hello.txt + +
+
+
+ + + More examples + +
+
+
+

Upload multiple files at once

+
+
+
+ + $ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt {{.WebAddress}} + + # Combining downloads as zip or tar archive + $ curl {{.WebAddress}}(15HKz/hello.txt,15HKz/hello.txt).tar.gz + $ curl {{.WebAddress}}(15HKz/hello.txt,15HKz/hello.txt).zip + +
+ + +
+
+

Encrypt your files with gpg before the transfer

+
+
+
+ # Encrypt files with password using gpg + $ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt + + # Download and decrypt + $ curl {{.WebAddress}}1lDau/test.txt|gpg -o- > /tmp/hello.txt + +
+
+ +
+
+
+

Scan for malware

+
+
+
+ # Scan for malware or viruses using Clamav + $ wget http://www.eicar.org/download/eicar.com + $ curl -X PUT --upload-file ./eicar.com {{.WebAddress}}eicar.com/scan + + # Upload malware to VirusTotal, get a permalink in return + $ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/virustotal + +
+
+
+

Backup mysql database, encrypt and transfer

+
+
+
+ # Backup, encrypt and transfer + $ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt +
+
+
+
+
+

Send email with transfer link (uses shell function)

+
+
+
+ # Transfer and send email with link (uses shell function) + $ transfer /tmp/hello.txt | mail -s "Hello World" user@yourmaildomain.com + +
+
+
+

Using Keybase.io

+
+
+
+ # Import keys from keybase + $ keybase track [them] + # Encrypt for recipient(s) + $ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt + # Decrypt + $ curl {{.WebAddress}}sqUFi/test.md |keybase decrypt + +
+
+
+
+
+

wget uploads also supported

+
+
+
+ # wget + $ wget --method PUT --body-file=/tmp/file.tar {{.WebAddress}}file.tar -O - -nv + +
+
+
+

Transfer pound logs

+
+
+
+ # grep syslog for pound and transfer + $ cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}pound.log + +
+
+
+
+ +
+

Upload a file using Powershell

+
+
+
+ # Upload using Powershell + PS H:\> invoke-webrequest -method put -infile .\file.txt {{.WebAddress}}file.txt + +
+
+
+

Upload a file using HTTPie

+
+
+
+ # HTTPie + $ http {{.WebAddress}} -vv < /tmp/test.log + +
+
+
+ +
+
+

Upload a file using Unofficially client in Python

+
+
+
+ + # transfersh-cli (https://github.com/tanrax/transfersh-cli) + $ trasnfersh photos.zip + # Uploading file + # Download from here: {{.WebAddress}}xxxxxx/photos.zip + # It has also been copied to the clipboard! + +
+
+
+

Encrypt your files with openssl before the transfer

+
+
+
+ # Encrypt files with password using openssl + $ cat /tmp/hello.txt|openssl aes-256-cbc -pbkdf2 -e|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt + + # Download and decrypt + $ curl {{.WebAddress}}1lDau/test.txt|openssl aes-256-cbc -pbkdf2 -d > /tmp/hello.txt + +
+
+
+ +
+
+

Upload a file or directory in Windows

+
+
+
+ #Save this as transfer.cmd in Windows 10 (which has curl.exe) +@echo off +setlocal EnableDelayedExpansion EnableExtensions +goto main +:usage + echo No arguments specified. >&2 + echo Usage: >&2 + echo transfer ^<file^|directory^> >&2 + echo ... ^| transfer ^<file_name^> >&2 + exit /b 1 +:main + if "%~1" == "" goto usage + timeout.exe /t 0 >nul 2>nul || goto not_tty + set "file=%~1" + for %%A in ("%file%") do set "file_name=%%~nxA" + if exist "%file_name%" goto file_exists + echo %file%: No such file or directory >&2 + exit /b 1 +:file_exists + if not exist "%file%\" goto not_a_directory + set "file_name=%file_name%.zip" + pushd "%file%" || exit /b 1 + set "full_name=%temp%\%file_name%" + powershell.exe -Command "Get-ChildItem -Path . -Recurse | Compress-Archive -DestinationPath ""%full_name%""" + curl.exe --progress-bar --upload-file "%full_name%" "{{.WebAddress}}%file_name%" + popd + goto :eof +:not_a_directory + curl.exe --progress-bar --upload-file "%file%" "{{.WebAddress}}%file_name%" + goto :eof +:not_tty + set "file_name=%~1" + curl.exe --progress-bar --upload-file - "{{.WebAddress}}%file_name%" + goto :eof + +
+
+
+

Send us your awesome example

+
+
+
+ # Your awesome sample will be put here + +
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ + + +
+
+ +

+ Any questions? +

+ contact us +
+
+ + + + + +Fork me on GitHub + + + + + + + + + + + + + + diff --git a/dist/index.txt b/dist/index.txt new file mode 100644 index 0000000..15f1446 --- /dev/null +++ b/dist/index.txt @@ -0,0 +1,43 @@ +{{.Hostname}}: Easy file sharing from the command line +=== +made with <3 by DutchCoders + +Upload: +$ curl --upload-file ./hello.txt {{.WebAddress}}hello.txt + +Encrypt with gpg & upload: +$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt + +Download & decrypt with gpg: +$ curl {{.WebAddress}}1lDau/test.txt|gpg -o- > /tmp/hello.txt + +Encrypt with openssl & upload: +$ cat /tmp/hello.txt|openssl aes-256-cbc -pbkdf2 -e|curl -X PUT --upload-file "-" {{.WebAddress}}test.txt + +Download & decrypt with openssl: +$ curl {{.WebAddress}}1lDau/test.txt|openssl aes-256-cbc -pbkdf2 -d > /tmp/hello.txt + +Grep pound from syslog and transfer +cat /var/log/syslog|grep pound|curl --upload-file - {{.WebAddress}}pound.log + +Using Keybase: +# import keys from keybase +$ keybase track [them] + +# encrypt for recipients +$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' {{.WebAddress}}test.txt + +# decrypt +$ curl {{.WebAddress}}sqUFi/test.md |keybase decrypt + +Upload to Virustotal: +$ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/virustotal + +Virusscan: +$ curl -X PUT --upload-file nhgbhhj {{.WebAddress}}test.txt/scan + +Add shell function to .bashrc or .zshrc or its equivalent: +=== +transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer \n ... | transfer ">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "{{.WebAddress}}$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "{{.WebAddress}}/$file_name"|tee /dev/null;fi;} +=== +$ transfer test.txt diff --git a/dist/robots.txt b/dist/robots.txt new file mode 100644 index 0000000..47c4001 --- /dev/null +++ b/dist/robots.txt @@ -0,0 +1,5 @@ +User-agent: * + +Allow: /$ +Disallow: / + diff --git a/dist/scripts/main.js b/dist/scripts/main.js new file mode 100644 index 0000000..40fa779 --- /dev/null +++ b/dist/scripts/main.js @@ -0,0 +1 @@ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(T,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,o=t.indexOf,n={},i=n.toString,m=n.hasOwnProperty,a=m.toString,c=a.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},C=T.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,o,i=(n=n||C).createElement("script");if(i.text=e,t)for(r in l)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var p="3.5.1",_=function(e,t){return new _.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+z+")"+z+"*"),B=new RegExp(z+"|>"),W=new RegExp(H),X=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){k()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{$.apply(t=P.call(d.childNodes),d.childNodes),t[d.childNodes.length].nodeType}catch(e){$={apply:t.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(t,e,n,r){var o,i,a,s,u,c,l,p=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&(k(e),e=e||T,C)){if(11!==d&&(u=J.exec(t)))if(o=u[1]){if(9===d){if(!(a=e.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(p&&(a=p.getElementById(o))&&v(e,a)&&a.id===o)return n.push(a),n}else{if(u[2])return $.apply(n,e.getElementsByTagName(t)),n;if((o=u[3])&&f.getElementsByClassName&&e.getElementsByClassName)return $.apply(n,e.getElementsByClassName(o)),n}if(f.qsa&&!E[t+" "]&&(!m||!m.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(l=t,p=e,1===d&&(B.test(t)||U.test(t))){for((p=ee.test(t)&&ve(e.parentNode)||e)===e&&f.scope||((s=e.getAttribute("id"))?s=s.replace(re,oe):e.setAttribute("id",s=_)),i=(c=h(t)).length;i--;)c[i]=(s?"#"+s:":scope")+" "+be(c[i]);l=c.join(",")}try{return $.apply(n,p.querySelectorAll(l)),n}catch(e){E(t,!0)}finally{s===_&&e.removeAttribute("id")}}}return g(t.replace(F,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ce(e){return e[_]=!0,e}function le(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function me(a){return ce(function(i){return i=+i,ce(function(e,t){for(var n,r=a([],e.length,i),o=r.length;o--;)e[n=r[o]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},k=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:d;return r!=T&&9===r.nodeType&&r.documentElement&&(a=(T=r).documentElement,C=!o(T),d!=T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ie,!1):n.attachEvent&&n.attachEvent("onunload",ie)),f.scope=le(function(e){return a.appendChild(e).appendChild(T.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),f.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=le(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=Y.test(T.getElementsByClassName),f.getById=le(function(e){return a.appendChild(e).id=_,!T.getElementsByName||!T.getElementsByName(_).length}),f.getById?(x.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"!==e)return i;for(;n=i[o++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},s=[],m=[],(f.qsa=Y.test(T.querySelectorAll))&&(le(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+z+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),le(function(e){e.innerHTML="";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=Y.test(l=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&le(function(e){f.disconnectedMatch=l.call(e,"*"),l.call(e,"[s!='']:x"),s.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),s=s.length&&new RegExp(s.join("|")),t=Y.test(a.compareDocumentPosition),v=t||Y.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e==T||e.ownerDocument==d&&v(d,e)?-1:t==T||t.ownerDocument==d&&v(d,t)?1:u?L(u,e)-L(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==T?-1:t==T?1:o?-1:i?1:u?L(u,e)-L(u,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==d?-1:s[r]==d?1:0}),T},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(k(e),f.matchesSelector&&C&&!E[t+" "]&&(!s||!s.test(t))&&(!m||!m.test(t)))try{var n=l.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){E(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=y[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&y(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,o){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===o:"!="===r?t!==o:"^="===r?o&&0===t.indexOf(o):"*="===r?o&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return y(n)?_.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?_.grep(e,function(e){return e===n!==r}):"string"!=typeof n?_.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||D,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),E.test(r[1])&&_.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=C.getElementById(r[2]))&&(this[0]=o,this.length=1),this}).prototype=_.fn,D=_(C);var q=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;le=C.createDocumentFragment().appendChild(C.createElement("div")),(pe=C.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),le.appendChild(pe),v.checkClone=le.cloneNode(!0).cloneNode(!0).lastChild.checked,le.innerHTML="",v.noCloneChecked=!!le.cloneNode(!0).lastChild.defaultValue,le.innerHTML="",v.option=!!le.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?_.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n",""]);var ye=/<|&#?\w+;/;function be(e,t,n,r,o){for(var i,a,s,u,c,l,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f\s*$/g;function Ne(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $e(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(n=0,r=s[o].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){r.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){o&&o()}}});var Bt,Wt=[],Xt=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||_.expando+"_"+Tt.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,i,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+r):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return i||_.error(r+" was not called"),i[0]},e.dataTypes[0]="json",o=T[r],T[r]=function(){i=arguments},n.always(function(){void 0===o?_(T).removeProp(r):T[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(r)),i&&y(o)&&o(i[0]),i=o=void 0}),"script"}),v.createHTMLDocument=((Bt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Bt.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),i=!n&&[],(o=E.exec(e))?[t.createElement(o[1])]:(o=be([e],t,i),i&&i.length&&_(i).remove(),_.merge([],o.childNodes)));var r,o,i},_.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return-1").append(_.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},_.expr.pseudos.animated=function(t){return _.grep(_.timers,function(e){return t===e.elem}).length},_.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c=_.css(e,"position"),l=_(e),p={};"static"===c&&(e.style.position="relative"),s=l.offset(),i=_.css(e,"top"),u=_.css(e,"left"),o=("absolute"===c||"fixed"===c)&&-1<(i+u).indexOf("auto")?(a=(r=l.position()).top,r.left):(a=parseFloat(i)||0,parseFloat(u)||0),y(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):("number"==typeof p.top&&(p.top+="px"),"number"==typeof p.left&&(p.left+="px"),l.css(p))}},_.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){_.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===_.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),o.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-_.css(r,"marginTop",!0),left:t.left-o.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||re})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var i="pageYOffset"===o;_.fn[t]=function(e){return F(this,function(e,t,n){var r;if(b(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[o]:e[t];r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),_.each(["top","left"],function(e,n){_.cssHooks[n]=Fe(v.pixelPosition,function(e,t){if(t)return t=Qe(e,n),ze.test(t)?_(e).position()[n]+"px":t})}),_.each({Height:"height",Width:"width"},function(a,s){_.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,i){_.fn[i]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),o=r||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,n){var r;return b(e)?0===i.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?_.css(e,t,o):_.style(e,t,n,o)},s,n?e:void 0,n)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e)}}),_.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){_.fn[n]=function(e,t){return 0>>10&1023|55296),e=56320|1023&e),t+x(e)}).join("")}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function v(e,t,n){var r=0;for(e=n?b(e/700):e>>1,e+=b(e/t);455b((2147483647-c)/t))&&h("overflow"),c+=i*t,!(i<(a=o<=p?1:p+26<=o?26:o-p));o+=36)t>b(2147483647/(i=36-a))&&h("overflow"),t*=i;p=v(c-r,t=s.length+1,0==r),b(c/t)>2147483647-l&&h("overflow"),l+=b(c/t),c%=t,s.splice(c++,0,l)}return d(s)}function o(e){var t,n,r,o,i,a,s,u,c,l,p,d,f=[];for(l=(e=g(e)).length,t=128,i=72,a=n=0;ab((2147483647-n)/(p=r+1))&&h("overflow"),n+=(s-t)*p,t=s,a=0;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=Math.floor,x=String.fromCharCode;if(u={version:"1.2.3",ucs2:{decode:g,encode:d},decode:r,encode:o,toASCII:function(e){return t(e,function(e){return p.test(e)?"xn--"+o(e):e})},toUnicode:function(e){return t(e,function(e){return l.test(e)?r(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return u});else if(i&&!i.nodeType)if(a)a.exports=u;else for(c in u)u.hasOwnProperty(c)&&(i[c]=u[c]);else e.punycode=u}(this),function(e,t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.SecondLevelDomains=t(e)}(this,function(e){var t=e&&e.SecondLevelDomains,o={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch "},has:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;var n=e.lastIndexOf(".",t-1);if(n<=0||t-1<=n)return!1;var r=o.list[e.slice(t+1)];return!!r&&0<=r.indexOf(" "+e.slice(n+1,t)+" ")},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1||0<=e.lastIndexOf(".",t-1))return!1;var n=o.list[e.slice(t+1)];return!!n&&0<=n.indexOf(" "+e.slice(0,t)+" ")},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var n=e.lastIndexOf(".",t-1);if(n<=0||t-1<=n)return null;var r=o.list[e.slice(t+1)];return!r||r.indexOf(" "+e.slice(n+1,t)+" ")<0?null:e.slice(n+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return o}),function(e,t){"object"==typeof exports?module.exports=t(require("./punycode"),require("./IPv6"),require("./SecondLevelDomains")):"function"==typeof define&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],t):e.URI=t(e.punycode,e.IPv6,e.SecondLevelDomains,e)}(this,function(s,t,c,n){function l(e,t){return this instanceof l?(void 0===e&&(e="undefined"!=typeof location?location.href+"":""),this.href(e),void 0!==t?this.absoluteTo(t):this):new l(e,t)}function o(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function i(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function u(e){return"Array"===i(e)}function a(e,t){var n,r;if(u(t)){for(n=0,r=t.length;n]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u2018\u2019]))/gi,l.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u201e\u2018\u2019]+$/},l.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},l.invalid_hostname_characters=/[^a-zA-Z0-9\.-]/,l.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},l.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();return"input"===t&&"image"!==e.type?void 0:l.domAttributes[t]}},l.encode=d,l.decode=decodeURIComponent,l.iso8859=function(){l.encode=escape,l.decode=unescape},l.unicode=function(){l.encode=d,l.decode=decodeURIComponent},l.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}}},l.encodeQuery=function(e,t){var n=l.encode(e+"");return void 0===t&&(t=l.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},l.decodeQuery=function(t,e){t+="",void 0===e&&(e=l.escapeQuerySpace);try{return l.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}},l.recodePath=function(e){for(var t=0,n=(e=(e+"").split("/")).length;t .panel > .in");if(t&&t.length){var n=t.data("bs.collapse");if(n&&n.transitioning)return;t.collapse("hide"),n||t.data("bs.collapse",null)}var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("in")[r]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!c.support.transition)return o.call(this);var i=c.camelCase(["scroll",r].join("-"));this.$element.one(c.support.transition.end,c.proxy(o,this)).emulateTransitionEnd(350)[r](this.$element[0][i])}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=c.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};if(!c.support.transition)return n.call(this);this.$element[t](0).one(c.support.transition.end,c.proxy(n,this)).emulateTransitionEnd(350)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var e=c.fn.collapse;c.fn.collapse=function(r){return this.each(function(){var e=c(this),t=e.data("bs.collapse"),n=c.extend({},o.DEFAULTS,e.data(),"object"==typeof r&&r);t||e.data("bs.collapse",t=new o(this,n)),"string"==typeof r&&t[r]()})},c.fn.collapse.Constructor=o,c.fn.collapse.noConflict=function(){return c.fn.collapse=e,this},c(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(e){var t,n=c(this),r=n.attr("data-target")||e.preventDefault()||(t=n.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,""),o=c(r),i=o.data("bs.collapse"),a=i?"toggle":n.data(),s=n.attr("data-parent"),u=s&&c(s);i&&i.transitioning||(u&&u.find('[data-toggle=collapse][data-parent="'+s+'"]').not(n).addClass("collapsed"),n[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),o.collapse(a)})}(jQuery);var Showdown={converter:function(){var h,g,s,n=0;this.makeHtml=function(e){return h=new Array,g=new Array,s=new Array,e=(e=(e=(e=e.replace(/~/g,"~T")).replace(/\$/g,"~D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n"),e=(e=N(e="\n\n"+e+"\n\n")).replace(/^[ \t]+$/gm,""),e=r(e),e=t(e),e=a(e),e=(e=(e=j(e)).replace(/~D/g,"$$")).replace(/~T/g,"~")};var u,t=function(e){return e=e.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,function(e,t,n,r,o){return t=t.toLowerCase(),h[t]=_(n),r?r+o:(o&&(g[t]=o.replace(/"/g,""")),"")})},r=function(e){return e=(e=(e=(e=(e=(e=(e=e.replace(/\n/g,"\n\n")).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,o)).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,o)).replace(/(\n[ ]{0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o)).replace(/(\n\n[ ]{0,3}[ \t]*(?=\n{2,}))/g,o)).replace(/(?:\n\n)([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o)).replace(/\n\n/g,"\n")},o=function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n~K"+(s.push(n)-1)+"K\n\n"},a=function(e){e=m(e);var t=b("
");return e=(e=(e=e.replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,t)).replace(/^[ ]{0,2}([ ]?\-[ ]?){3,}[ \t]*$/gm,t)).replace(/^[ ]{0,2}([ ]?\_[ ]?){3,}[ \t]*$/gm,t),e=v(e),e=y(e),e=T(e),e=r(e),e=C(e)},c=function(e){return e=x(e),e=i(e),e=A(e),e=d(e),e=l(e),e=S(e),e=_(e),e=(e=k(e)).replace(/ +\n/g,"
\n")},i=function(e){return e=e.replace(/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|)/gi,function(e){var t=e.replace(/(.)<\/?code>(?=.)/g,"$1`");return t=q(t,"\\`*_")})},l=function(e){return e=(e=(e=e.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,p)).replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,p)).replace(/(\[([^\[\]]+)\])()()()()()/g,p)},p=function(e,t,n,r,o,i,a,s){null==s&&(s="");var u=t,c=n,l=r.toLowerCase(),p=o,d=s;if(""==p)if(""==l&&(l=c.toLowerCase().replace(/ ?\n/g," ")),p="#"+l,null!=h[l])p=h[l],null!=g[l]&&(d=g[l]);else{if(!(-1"},d=function(e){return e=(e=e.replace(/(!\[(.*?)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,f)).replace(/(!\[(.*?)\]\s?\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,f)},f=function(e,t,n,r,o,i,a,s){var u=t,c=n,l=r.toLowerCase(),p=o,d=s;if(d||(d=""),""==p){if(""==l&&(l=c.toLowerCase().replace(/ ?\n/g," ")),p="#"+l,null==h[l])return u;p=h[l],null!=g[l]&&(d=g[l])}c=c.replace(/"/g,""");var f=''+c+'"+c(t)+"")})).replace(/^(.+)[ \t]*\n-+[ \t]*\n+/gm,function(e,t){return b("

"+c(t)+"

")})).replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm,function(e,t,n){var r=t.length;return b(""+c(n)+"")})},v=function(e){e+="~0";var t=/^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm;return e=(e=n?e.replace(t,function(e,t,n){var r=t,o=-1"+(i=i.replace(/\s+$/,""))+"\n"}):(t=/(\n\n|^\n?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/g,e.replace(t,function(e,t,n,r){var o=t,i=n,a=-1\n"+s+"\n"}))).replace(/~0/,"")};u=function(e){return n++,e=e.replace(/\n{2,}$/,"\n"),e=(e=(e+="~0").replace(/(\n)?(^[ \t]*)([*+-]|\d+[.])[ \t]+([^\r]+?(\n{1,2}))(?=\n*(~0|\2([*+-]|\d+[.])[ \t]+))/gm,function(e,t,n,r,o){var i=o;return"
  • "+(i=t||-1\n"})).replace(/~0/g,""),n--,e};var y=function(e){return e=(e=(e+="~0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,function(e,t,n){var r=t,o=n;return r=w(D(r)),r=(r=(r=N(r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),b(r="
    "+r+"\n
    ")+o})).replace(/~0/,"")},b=function(e){return e=e.replace(/(^\n+|\n+$)/g,""),"\n\n~K"+(s.push(e)-1)+"K\n\n"},x=function(e){return e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,t,n,r,o){var i=r;return i=(i=i.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),t+""+(i=w(i))+""})},w=function(e){return e=(e=(e=e.replace(/&/g,"&")).replace(//g,">"),e=q(e,"*_{}[]\\",!1)},k=function(e){return e=(e=e.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,"$2")).replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,"$2")},T=function(e){return e=e.replace(/((^[ \t]*>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,t){var n=t;return n=(n=(n=n.replace(/^[ \t]*>[ \t]?/gm,"~0")).replace(/~0/g,"")).replace(/^[ \t]+$/gm,""),n=(n=(n=a(n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
    [^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^  /gm,"~0")).replace(/~0/g,"")}),b("
    \n"+n+"\n
    ")})},C=function(e){for(var t=(e=(e=e.replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),n=new Array,r=t.length,o=0;o"),i+="

    ",n.push(i))}r=n.length;for(o=0;o#+-.!])/g,$)},S=function(e){return e=(e=e.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,'$1')).replace(/<(?:mailto:)?([-.\w]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,function(e,t){return E(j(t))})},E=function(e){var n=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+function(e){var t="0123456789ABCDEF",n=e.charCodeAt(0);return t.charAt(n>>4)+t.charAt(15&n)}(e)+";"},function(e){return e}];return e=(e=''+e+"").replace(/">.+:/g,'">')},j=function(e){return e=e.replace(/~E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)})},D=function(e){return e=(e=e.replace(/^(\t|[ ]{1,4})/gm,"~0")).replace(/~0/g,"")},N=function(e){return e=(e=(e=(e=(e=e.replace(/\t(?=\t)/g," ")).replace(/\t/g,"~A~B")).replace(/~B(.+?)~A/g,function(e,t,n){for(var r=t,o=4-r.length%4,i=0;i');n.append($('
    ####################################################

    Uploading... '+t.name+"

    ")),$(n).appendTo($(".queue"));var r=new XMLHttpRequest;r.upload.addEventListener("progress",function(e){var t=parseInt(e.loaded/e.total*100);$(".upload-progress",$(n)).show(),$(".upload-progress .bar",$(n)).css("width",t+"%"),$(".upload-progress span ",$(n)).empty().append(t+"%")},!1),r.onreadystatechange=function(){if(4===r.readyState){$("#web").addClass("uploading"),200===r.status?$(n).html(''+r.responseText+""):$(n).html("Error ("+r.status+") during upload of file "+t.name+"");var e=a.indexOf(r);-1',e,""].join(""),s.id=m,(u?s:l).innerHTML+=o,l.appendChild(s),u||(l.style.background="",l.style.overflow="hidden",c=f.style.overflow,f.style.overflow="hidden",f.appendChild(l)),a=t(s,e),u?s.parentNode.removeChild(s):(l.parentNode.removeChild(l),f.style.overflow=c),!!a},k=(a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e,t){t=t||d.createElement(a[e]||"div");var n=(e="on"+e)in t;return n||(t.setAttribute||(t=d.createElement("div")),t.setAttribute&&t.removeAttribute&&(t.setAttribute(e,""),n=M(t[e],"function"),M(t[e],"undefined")||(t[e]=i),t.removeAttribute(e))),t=null,n}),T={}.hasOwnProperty;function N(e){s.cssText=e}function M(e,t){return typeof e===t}function P(e,t){return!!~(""+e).indexOf(t)}function j(e,t){for(var n in e){var r=e[n];if(!P(r,"-")&&s[r]!==i)return"pfx"!=t||r}return!1}function $(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+g.join(r+" ")+r).split(" ");return M(t,"string")||M(t,"undefined")?j(o,t):function(e,t,n){for(var r in e){var o=t[e[r]];if(o!==i)return!1===n?e[r]:M(o,"function")?o.bind(n||t):o}return!1}(o=(e+" "+v.join(r+" ")+r).split(" "),t,n)}for(var D in o=M(T,"undefined")||M(T.call,"undefined")?function(e,t){return t in e&&M(e.constructor.prototype[t],"undefined")}:function(e,t){return T.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(r){var o=this;if("function"!=typeof o)throw new TypeError;var a=S.call(arguments,1),i=function(){if(this instanceof i){var e=function(){};e.prototype=o.prototype;var t=new e,n=o.apply(t,a.concat(S.call(arguments)));return Object(n)===n?n:t}return o.apply(r,a.concat(S.call(arguments)))};return i}),b.flexbox=function(){return $("flexWrap")},b.flexboxlegacy=function(){return $("boxDirection")},b.canvas=function(){var e=d.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},b.canvastext=function(){return!(!c.canvas||!M(d.createElement("canvas").getContext("2d").fillText,"function"))},b.webgl=function(){return!!r.WebGLRenderingContext},b.touch=function(){var t;return"ontouchstart"in r||r.DocumentTouch&&d instanceof DocumentTouch?t=!0:C(["@media (",p.join("touch-enabled),("),m,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){t=9===e.offsetTop}),t},b.geolocation=function(){return"geolocation"in navigator},b.postmessage=function(){return!!r.postMessage},b.websqldatabase=function(){return!!r.openDatabase},b.indexedDB=function(){return!!$("indexedDB",r)},b.hashchange=function(){return k("hashchange",r)&&(d.documentMode===i||7",r.insertBefore(n.lastChild,r.firstChild)}(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),c||function(t,n){n.cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return p.shivMethods?f(e,t,n):n.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")'})+");return n}")(p,n.frag)}(e,t),e}!function(){try{var e=i.createElement("a");e.innerHTML="",n="hidden"in e,c=1==e.childNodes.length||function(){i.createElement("a");var e=i.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){c=n=!0}}();var p={elements:t.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==t.shivCSS,supportsUnknownElements:c,shivMethods:!1!==t.shivMethods,type:"default",shivDocument:m,createElement:f,createDocumentFragment:function(e,t){if(e||(e=i),c)return e.createDocumentFragment();for(var n=(t=t||d(e)).frag.cloneNode(),r=0,o=l(),a=o.length;r',i=n.firstChild,n.setAttribute("style","display:none; position:absolute;"),d.body.appendChild(n));for(var a={},s=0;sx',e=t.firstChild.href}return e},Qt=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Jt=function(e,t){void 0===t&&(t=T.location);var i=Yt(e);return(":"===i.protocol?t.protocol:i.protocol)+i.host!==t.protocol+t.host},Zt=Object.freeze({__proto__:null,parseUrl:Yt,getAbsoluteURL:$t,getFileExtension:Qt,isCrossOrigin:Jt}),ei=function(e){var t=ti.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)},ti=Object.prototype.toString;var ii=function(e){var r={};return e&&e.trim().split("\n").forEach(function(e){var t=e.indexOf(":"),i=e.slice(0,t).trim().toLowerCase(),n=e.slice(t+1).trim();void 0===r[i]?r[i]=n:Array.isArray(r[i])?r[i].push(n):r[i]=[r[i],n]}),r},ni=si,ri=si;function ai(e,t,i){var n=e;return ei(t)?(i=t,"string"==typeof e&&(n={uri:e})):n=m({},t,{uri:e}),n.callback=i,n}function si(e,t,i){return oi(t=ai(e,t,i))}function oi(n){if(void 0===n.callback)throw new Error("callback argument missing");var r=!1,a=function(e,t,i){r||(r=!0,n.callback(e,t,i))};function t(e){return clearTimeout(u),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,a(e,m)}function e(){if(!s){var e;clearTimeout(u),e=n.useXDR&&void 0===o.status?200:1223===o.status?204:o.status;var t=m,i=null;return 0!==e?(t={body:function(){var e=void 0;if(e=o.response?o.response:o.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(o),f)try{e=JSON.parse(e)}catch(e){}return e}(),statusCode:e,method:c,headers:{},url:l,rawRequest:o},o.getAllResponseHeaders&&(t.headers=ii(o.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),a(i,t,t.body)}}var i,s,o=n.xhr||null;o||(o=n.cors||n.useXDR?new si.XDomainRequest:new si.XMLHttpRequest);var u,l=o.url=n.uri||n.url,c=o.method=n.method||"GET",d=n.body||n.data,h=o.headers=n.headers||{},p=!!n.sync,f=!1,m={body:void 0,headers:{},statusCode:0,method:c,url:l,rawRequest:o};if("json"in n&&!1!==n.json&&(f=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==c&&"HEAD"!==c&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),d=JSON.stringify(!0===n.json?d:n.json))),o.onreadystatechange=function(){4===o.readyState&&setTimeout(e,0)},o.onload=e,o.onerror=t,o.onprogress=function(){},o.onabort=function(){s=!0},o.ontimeout=t,o.open(c,l,!p,n.username,n.password),p||(o.withCredentials=!!n.withCredentials),!p&&0=e?t.push(r):r.startTime===r.endTime&&r.startTime<=e&&r.startTime+.5>=e&&t.push(r)}if(o=!1,t.length!==this.activeCues_.length)o=!0;else for(var a=0;a]*>?)?/);return e=t[1]?t[1]:t[2],i=i.substr(e.length),e}function t(e,t){var i=Ci[e];if(!i)return null;var n=a.document.createElement(i),r=wi[e];return r&&t&&(n[r]=t.trim()),n}for(var n,r,s,o,u=a.document.createElement("div"),l=u,c=[];null!==(n=e());)if("<"!==n[0])l.appendChild(a.document.createTextNode((r=n,ki.innerHTML=r,r=ki.textContent,ki.textContent="",r)));else{if("/"===n[1]){c.length&&c[c.length-1]===n.substr(2).replace(">","")&&(c.pop(),l=l.parentNode);continue}var d,h=_i(n.substr(1,n.length-2));if(h){d=a.document.createProcessingInstruction("timestamp",h),l.appendChild(d);continue}var p=n.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!p)continue;if(!(d=t(p[1],p[3])))continue;if(s=l,Ii[(o=d).localName]&&Ii[o.localName]!==s.localName)continue;if(p[2]){var f=p[2].split(".");f.forEach(function(e){var t=/^bg_/.test(e),i=t?e.slice(3):e;if(Ei.hasOwnProperty(i)){var n=t?"background-color":"color",r=Ei[i];d.style[n]=r}}),d.className=f.join(" ")}c.push(p[1]),l.appendChild(d),l=d}return u}var xi=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function Pi(e){for(var t=0;t=i[0]&&e<=i[1])return!0}return!1}function Li(){}function Di(e,t,i){Li.call(this),this.cue=t,this.cueDiv=Ai(e,t.text);var n={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=e.document.createElement("div"),n={direction:function(e){var t=[],i="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var i=t.childNodes.length-1;0<=i;i--)e.push(t.childNodes[i])}function a(e){if(!e||!e.length)return null;var t=e.pop(),i=t.textContent||t.innerText;if(i){var n=i.match(/^.*(\n|\r)/);return n?n[e.length=0]:i}return"ruby"===t.tagName?a(e):t.childNodes?(r(e,t),a(e)):void 0}for(r(t,e);i=a(t);)for(var n=0;nd&&(c=c<0?-1:1,c*=Math.ceil(d/l)*l),r<0&&(c+=""===n.vertical?o.height:o.width,a=a.reverse()),i.move(h,c)}else{var p=i.lineHeight/o.height*100;switch(n.lineAlign){case"center":r-=p/2;break;case"end":r-=p}switch(n.vertical){case"":t.applyStyles({top:t.formatStyle(r,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(r,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(r,"%")})}a=["+y","-x","+x","-y"],i=new Oi(t)}var f=function(e,t){for(var i,n=new Oi(e),r=1,a=0;ae.left&&this.tope.top},Oi.prototype.overlapsAny=function(e){for(var t=0;t=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},Oi.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.lefte.right;case"+y":return this.tope.bottom}},Oi.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},Oi.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},Oi.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,i=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,n=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||n,height:e.height||t,bottom:e.bottom||n+(e.height||t),width:e.width||i}},Ri.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},Ri.convertCueToDOMTree=function(e,t){return e&&t?Ai(e,t):null};Ri.processCues=function(n,r,e){if(!n||!r||!e)return null;for(;e.firstChild;)e.removeChild(e.firstChild);var a=n.document.createElement("div");if(a.style.position="absolute",a.style.left="0",a.style.right="0",a.style.top="0",a.style.bottom="0",a.style.margin="1.5%",e.appendChild(a),function(e){for(var t=0;t