1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-20 10:31:16 +00:00

Broaden compatibility by using babel on JavaScript

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-07-26 23:05:46 +02:00
parent af5944e382
commit c5cf511901
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
10 changed files with 7158 additions and 216 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
share
src/node_modules

View file

@ -1,9 +1,10 @@
default:
lint:
docker run --rm -ti -v $(CURDIR):$(CURDIR) -w $(CURDIR) luzifer/eslint frontend/*.js
docker run --rm -ti -v $(CURDIR):$(CURDIR) -w $(CURDIR) luzifer/eslint src/*.js
pack:
cd src && npm install && npm run build
go-bindata -modtime 1 frontend/...
auto-hook-pre-commit: pack

View file

@ -80,40 +80,137 @@ func (fi bindataFileInfo) Sys() interface{} {
}
var _bindataFrontendAppjs = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\xcd\x8e\xdb\x38\x0c\xbe\xfb\x29\x78\x08\x20\xb9\x9b\x3a\x5b\xb4" +
"\xa7\x64\x53\xec\xa2\x4d\x67\x06\x98\x9f\x45\x26\x73\x1b\xec\x54\xb1\x19\x4b\x53\x45\x32\x24\xb9\x49\xd1\xc9\xbb" +
"\x2f\x24\xff\xc4\x4e\xd2\x74\x51\x60\x7d\x92\x25\xf2\x23\x3f\x92\xa2\x28\xd1\xc1\x4a\x48\x7c\x98\x5f\xc3\x14\x54" +
"\x29\xe5\x24\x4a\xb5\xb2\x0e\x6e\xee\x2f\x9e\x6e\xef\x16\x4f\x9f\xee\x1e\x6e\x3f\xc2\x14\xc8\x27\x21\x11\x94\x76" +
"\xb0\xd2\xa5\xca\xc8\xa1\xdc\xdf\xb3\xf9\xcd\xd5\x62\x31\x0b\xb2\xb7\xda\x01\x93\x52\x6f\x30\x03\xa7\x81\xa5\x29" +
"\x5a\x1b\x0c\xf5\xf4\x2e\x66\xb7\xb3\xf9\xd5\x87\xa7\xd9\x7c\xee\xb5\xee\xf5\x1a\x1d\x17\x2a\x87\x0d\x2a\x07\x1b" +
"\xa3\x55\x4e\x26\x51\x34\x7a\x05\xb9\xd4\x4b\x26\x61\x30\x5e\x31\x69\x11\x5e\x8d\xa2\x28\x95\xcc\x5a\xb8\xe7\xcc" +
"\x20\x7c\x8f\x00\x84\x12\x8e\xc6\x61\x09\x30\xa0\x1b\xa1\x32\xbd\x89\x93\xa5\x50\x19\x25\x9c\x59\x9e\x72\xa6\x72" +
"\x24\x43\xa0\x18\xc3\xf4\x7d\x2d\x09\xe0\xb8\xb0\x89\x17\xb8\xd6\x2c\xa3\xf1\x24\x6c\xef\xe2\x49\x14\x16\x3e\x42" +
"\xac\x28\x16\xc2\x49\x84\x29\x7c\xae\x0c\xfe\x09\x83\xef\x95\x85\x44\xea\x94\x39\xa1\x55\xc2\xb5\x75\xbb\xcf\x93" +
"\xda\x3e\x71\x5e\x63\x98\xb0\xa2\x08\x2b\x12\x27\x0e\xb7\x8e\x36\x58\x0d\xfe\x09\xeb\x3b\x7f\x82\xeb\x25\x66\x3e" +
"\xe6\x57\x6a\xa5\xa9\x0f\x9d\x0f\x11\x69\x08\x8a\x15\xd4\x9b\xd3\xee\x76\x8b\xa7\x32\x89\x33\x63\xb4\xb9\x41\x6b" +
"\x59\x8e\xb4\x97\xcf\x9a\x24\x80\x41\x57\x1a\x55\x53\xae\x1c\xda\x97\x83\x5f\xd5\x74\x12\xf6\xcc\xb6\xc1\xe0\xb0" +
"\xb5\xe4\x93\xa5\xb3\x31\x90\xcb\xd9\x5f\x1f\xc9\xb0\xde\xb5\x65\x48\xf6\x18\x68\xc6\x1c\x1b\x82\x75\xcc\x95\x76" +
"\x08\x5b\x6e\x7a\x51\xef\x7b\xea\xc9\x9e\x50\x68\xdc\xdc\x35\xe8\xe8\x29\x8d\x81\x6e\xb9\x69\x24\xcf\xa0\x7a\xe1" +
"\x9e\xe8\x01\xde\x6e\x1f\xee\xf3\x7e\xd4\xf8\xbe\x16\xdc\xb7\xc2\x67\x62\xcb\x4d\x92\xa3\x9b\xa3\x2d\xb4\xb2\x78" +
"\x89\x2c\x43\x43\xc9\x07\xad\x1c\x2a\xf7\x7a\xf1\xad\x40\xd2\xa4\x78\x40\x49\x92\x6a\xe5\x98\x50\x68\x48\x9c\x70" +
"\x91\x61\x53\x67\xfe\xcc\x87\x55\xb1\x75\x5b\x22\x75\x06\x12\x5b\x2e\xad\x33\x42\xe5\xed\x8e\x64\xd6\x5d\xa9\x0c" +
"\xb7\x77\x2b\x4a\x46\x24\x86\xdf\xe0\x4d\x7c\x80\x24\x85\xfa\xf2\x9a\x1b\x5c\x91\x38\x61\xce\x19\x4a\xc2\xcf\xb0" +
"\x49\x6c\xe3\x95\xaf\x20\x4f\x26\x59\x33\x97\x72\x3a\xfa\x47\xac\x59\x8e\x8f\xa3\x51\xbc\x2f\xa6\x1e\xa6\x35\x69" +
"\x0b\xe9\xd7\x5d\xc4\xbd\xb8\xe5\x7a\xf3\x3a\x40\x91\x38\xfc\xd0\x73\xc5\x76\xe4\xc4\x57\x91\xa1\xee\x3b\xe1\xa3" +
"\x6e\x4d\x0a\x53\x8f\xff\x87\xd5\xa5\x49\xf1\x3d\x69\x51\xad\x49\xcf\x3a\x15\xce\x8b\x02\x55\xb6\xd0\x74\x40\x49" +
"\xb0\x40\xe2\x63\xa7\xeb\x83\x5f\x70\x9a\x95\x99\xd0\x8f\x23\xca\x58\xfa\xb2\x2e\xde\xbe\xac\x0b\xcc\xe3\xc1\xff" +
"\xc8\x21\x18\x3c\xc5\xa1\x3e\xf8\x05\x0e\xd4\x97\xde\xe3\xe8\x85\x15\x85\x14\x55\x47\x7b\x1c\x3d\xb3\xaf\xcc\xa6" +
"\x46\x14\x2e\xee\x95\xc5\xbe\x1d\x3c\xcc\xaf\x87\x9d\xdb\xe7\xaf\x8e\xaf\xfd\x31\x10\x8f\xd7\x76\x85\x4e\xb7\xb8" +
"\x98\x2d\x3a\xdb\xfd\x76\x71\x70\x97\x03\xb1\x54\x67\xed\xcd\x08\x32\x93\xfe\x79\x45\x3c\x58\x3b\xe4\xed\x3f\x2e" +
"\x9f\x6d\xe2\xdf\x86\x4b\x91\x73\x29\x72\xee\xfc\x85\xea\x88\xec\xf6\xce\xfc\xbc\xbb\xfc\xc7\xfe\xd2\x41\xdd\x9d" +
"\xcb\x42\xeb\x7e\x8e\x0a\x8d\x48\x7b\x0c\xba\x7d\xe9\xc8\x52\xa7\x23\xad\xab\x0e\x1f\x9e\x87\x0a\xdd\x6e\x84\x4b" +
"\x79\xe0\x91\xf4\xe5\x01\x52\x66\x11\xde\xfd\xfe\x6e\xdc\xc9\x4c\xa3\xdf\x7b\x23\xf6\x5c\x96\x06\xd9\x97\x49\x5f" +
"\xff\xed\x39\xfd\x76\x16\xf8\x01\x46\x86\x2b\x56\x4a\xf7\x23\x88\xce\x58\x70\x12\x60\xd7\x7b\x39\x8f\x5e\xba\x1a" +
"\xec\x64\x0c\x0f\x65\xda\x71\x81\x24\x21\xf9\x4d\xa1\x75\x31\x7e\xde\xc0\x43\x0a\x1b\xfd\xa3\x04\x36\x4f\x7b\x27" +
"\x65\xf5\x73\x7e\x34\x41\x30\xcb\x3b\x5d\xff\x4d\x6d\x22\x10\x3d\x9e\x07\x6a\x1b\xbb\x28\x1a\xd0\x55\xa9\x52\x0f" +
"\x51\x5b\x09\xed\x26\x0c\x2a\x53\x50\xb8\xa9\xa6\xa4\xca\xa9\xb0\x9d\x54\xc3\xd2\x24\xf2\xd5\xf9\x6f\x00\x00\x00" +
"\xff\xff\x2d\x32\x3d\xf5\x04\x0a\x00\x00")
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x79\xf9\x92\xdb\x38\x92\xf7\xab\x50\xe8\xfa\x54\x80\x85\xa2\x54\xb6" +
"\xe7\xdb\x0e\xd2\xe8\x9a\x3e\x3c\xd3\xde\x68\x77\x6f\xf8\xf8\x8b\x92\x27\x20\x32\x25\xc2\xa6\x00\x0e\x00\xd6\xb1" +
"\x12\xdf\x7d\x03\xe0\xa9\xa3\x7a\x77\x76\x23\xec\x12\x88\x23\x91\xc8\xe3\x97\x99\xc0\x64\x53\xc9\xd4\x0a\x25\x31" +
"\x90\xfd\x3d\xd7\x81\x65\xfb\x3a\xee\x3a\x03\x89\x35\xd9\x8b\x0d\xb6\x89\x5e\x11\x0d\xb6\xd2\x32\x70\xed\x10\x1e" +
"\x4b\xa5\xad\x89\xdd\x12\xc5\x5c\x17\xdb\x8b\x48\xd3\x22\x9a\xdc\xd2\x76\x30\xda\xd7\x75\xdc\x2e\x02\xb7\x28\xe5" +
"\x45\x81\x55\xb7\x96\x2a\x3a\xb4\x25\xa1\x2a\x2c\xd8\x64\x31\xf4\xd5\x32\xdc\x31\xa0\x32\x4c\x99\xa5\x32\xcc\xd8" +
"\xc0\x2a\xb5\x54\x93\xbd\x0c\x95\x6b\x92\xc3\xe1\x8f\xf5\x57\x48\x6d\x98\xc1\x46\x48\xf8\x0f\xad\x4a\xd0\xf6\xc9" +
"\x4f\xdb\x83\xac\x76\xa0\xf9\xba\x80\x68\xb2\xa0\x5b\xb0\x91\xae\x49\x4d\x65\xa8\xd9\xf8\xe8\xa8\x92\xcd\xea\x0c" +
"\x4d\x98\x7d\x2a\x41\x6d\x82\x8f\x4f\xbb\xb5\x2a\xa6\xd3\xe6\x37\xb4\xea\xa3\xd5\x42\x6e\x3f\xf1\xed\x74\xfa\xdc" +
"\x8e\xe7\x73\xe9\xfe\x9e\x17\x15\x44\xe8\xbd\xca\xaa\x02\x50\x4d\xe8\x73\x8b\xd1\x3f\xfe\x01\xa6\x9d\xd6\x2d\x9b" +
"\x2c\x1a\x76\xed\xd1\xf1\xbd\x52\x6e\xa7\x76\x3a\xc5\xc0\xdc\x01\x08\xfd\x7e\x6a\x3b\x0d\x41\x2c\x36\xf8\xb5\x1b" +
"\x45\xca\x6f\x85\x58\x77\x26\x98\x4e\xdd\xbf\x70\xd8\x69\x58\xe4\x74\xa9\x59\xcb\x5c\xaa\x81\x5b\xc0\xb2\x2a\x0a" +
"\xe2\xc8\xc9\x50\x63\xfd\x1c\xeb\x9a\xa2\x0c\x36\xbc\x2a\x2c\x3a\x95\x78\x73\x0a\xa8\x09\x7d\xe9\x19\x32\x5e\x2e" +
"\x83\x90\x81\x6c\x94\xc6\xde\x8c\x02\x21\x03\x20\x32\xcc\xb0\xa6\x8a\xf6\xc7\xb5\x64\xdf\x1b\x91\x5d\xd5\xe1\x5a" +
"\xc8\xcc\xf3\x45\x15\x21\x9d\x7d\x69\x27\x23\xc9\xce\xad\xf9\xe4\xb4\x77\xfd\x8c\x81\x6a\xd8\xf2\x5e\x47\x17\x06" +
"\x7b\x0b\x76\x7c\x59\x8a\x38\xa2\x96\x50\xeb\xb6\x53\x27\x2a\x69\x27\xb6\x22\x2a\xb5\xb2\xca\x1d\x32\xcc\xb9\xf9" +
"\xe3\x41\x76\xc2\x6a\xbc\xc0\x2d\x70\x34\x4a\x86\x10\x95\x58\x86\x86\x2d\x48\x8d\x93\x23\x1b\x97\xce\x2e\x0d\x04" +
"\x4e\x66\xa9\x45\xad\x82\x46\x4c\xf6\x7e\x0a\x0d\x07\x9d\x28\x25\x5b\xc4\xf2\x8d\x0d\x0b\x90\x5b\x9b\xc7\x72\x36" +
"\x6b\xc4\xa1\x99\x4d\xe4\x2a\xd6\xe1\xa0\x23\x36\xfe\x38\x1c\x26\xb7\x54\x87\xa9\x92\x1b\xb1\xad\x9a\xf1\xc9\x82" +
"\x22\xaf\x44\x24\x64\xa0\xa7\x53\xac\xc3\x07\x2d\x6c\x3b\xf6\xbc\x31\xeb\xf0\x1b\x3c\x51\x4d\xea\xba\x95\xcb\xa0" +
"\x50\x2a\x9d\xfb\x76\x72\x9d\x4e\x01\x8f\xc4\xe5\xa0\x40\xfb\x3e\xaa\x9d\xa0\x6b\x4c\x62\x89\x6f\x49\x0b\x35\x5e" +
"\xf1\xe2\x19\x21\x90\xfd\xe4\xcc\x4b\x26\x18\x02\x21\x8d\xe5\x32\x75\xf6\x66\x09\xb1\xb9\x56\x0f\x81\x84\x87\xe0" +
"\xd3\x53\x09\x6f\xb5\x56\x1a\xa3\x9f\xb9\x94\xca\x06\x4e\x39\x01\x0f\xd2\x82\x1b\x13\x70\x13\xf0\x9e\x6d\x44\x6a" +
"\x6c\x73\x61\x28\x90\xee\x44\x1a\x03\x4d\xf6\xdf\xe0\x29\x42\x42\x0a\x8b\x5a\x63\x1f\xf1\xe6\x78\x06\xe6\x96\xc5" +
"\x57\xf8\x41\xc8\x4c\x3d\x90\xc6\x80\x51\xce\x4d\x9e\xe6\x5c\x6e\x01\x1d\xd9\xba\xb7\x97\xfc\x37\xc5\x33\x4c\xea" +
"\xe6\xd4\x96\xa1\x8f\x39\xd7\x10\xfc\x35\x40\xb3\x86\x4a\x58\xa8\x94\xbb\x25\x61\xae\x8c\x8d\xaf\x30\xb2\xc2\x16" +
"\x40\x43\x5e\x96\xbe\x85\x48\x68\xe1\xd1\x62\x67\xac\xb9\x30\x63\xa2\x35\x6d\x78\x86\xdd\x1a\xb2\xbf\x89\x02\xde" +
"\xc9\x8d\xfa\x53\xe6\xa9\x65\x5c\x6f\xab\x1d\x48\x6b\x5a\xa3\xfa\x61\x31\x9d\xde\x2b\x91\x05\x8b\x09\x1b\x06\x93" +
"\xc5\xea\x6e\xfc\x11\x21\x14\x23\x34\x61\xcc\xde\x61\xc5\x2c\xbd\x0a\xf9\x57\xfe\x88\x2d\xdd\xef\xc0\xe6\x2a\x8b" +
"\xd0\xaf\x6f\x7f\xfc\x05\x51\x53\xa5\x29\x18\x13\x9d\xda\x88\x13\x86\xcc\x0a\x78\xeb\x58\x6d\x3b\x6b\x0a\x4e\x65" +
"\x47\x73\x47\x33\xbd\x3a\x5d\x57\x5d\x13\x12\xb5\x67\xef\x47\xde\x83\x31\x7c\x0b\x18\xb9\x73\x07\x4e\xe3\x1b\x55" +
"\xc9\x0c\x0d\x52\x19\x6d\x78\x26\x93\xd6\x29\x5b\x57\x72\x82\x11\x4c\x86\x5b\xb0\x1f\xc0\x94\x4a\x1a\xf8\x15\x78" +
"\x06\xce\x9a\x94\xb4\x20\xed\x8d\x33\x30\xe4\xf1\xf3\x0a\x23\xe7\x57\x96\x0b\x09\x1a\x91\x30\x17\x19\x60\x42\x5d" +
"\xf7\x46\x14\x20\xf9\xae\x57\x99\x0a\x4d\xb5\x6e\x70\x12\xab\xb0\xe0\xc6\xbe\x93\x19\x3c\xfe\xb1\xc1\x68\x8e\xc8" +
"\xec\x96\x0c\xcb\x0a\x21\xbf\xdd\xe4\x1a\x36\x88\x84\xdc\x5a\x8d\x91\xff\xa0\x8a\x50\x11\xee\xb8\x4d\x73\x3c\xff" +
"\x22\x76\x7c\x0b\xcb\xf9\x9c\x74\x50\x7f\xb4\xda\xe8\xb4\x5f\xec\xda\x6e\xad\x57\xac\x9b\x65\x72\xf5\x70\xe3\xd7" +
"\x23\xe2\x3f\xb0\x3f\xcc\x40\xfb\x5e\x64\xa0\x3c\x6d\x2f\x15\xce\xae\x30\x7a\x63\x54\xa5\x53\xf8\x01\xf5\xe8\xcc" +
"\x4f\xe8\x73\x67\xa6\x20\xb3\x4f\xca\xc9\xc5\xd3\x40\xe4\x74\xdb\xb6\xbb\xdd\xb6\x3e\xda\x96\x57\x99\x50\xcb\x39" +
"\xe6\x3c\x3d\xec\xca\x57\x87\x5d\x09\x5b\x72\xd5\x71\x61\x2e\x73\x61\x4e\xb8\x30\x47\x5c\x78\x92\xe7\x5c\xb4\xdd" +
"\x3d\x17\x3d\x0b\xd8\xe9\x6a\x39\x3f\xf0\xb2\x2c\x44\xe3\x8b\xcb\xf9\x57\x7e\xcf\x4d\xaa\x45\x69\xc9\x9c\xdc\xb5" +
"\xd6\xae\xe8\x3e\xe3\x96\x3b\x5b\x88\x90\x5b\x85\x68\x67\xfd\x7f\x7f\xfb\xe9\x82\xf1\x03\xd9\x5f\x61\x94\xaa\xac" +
"\x37\x09\x68\x54\xee\x39\xf2\x14\x3a\x86\x68\x5e\x7c\x35\xa1\x43\x9f\x5f\xc5\x36\x2f\xc4\x36\xb7\xce\x6c\xce\x9d" +
"\xa4\x89\x50\x47\x4e\xe2\x63\x50\x4d\xa2\x9e\xf2\x16\x24\x68\x91\x0e\xa7\x3d\xf1\x09\xb7\xea\x92\x4f\x34\x52\x97" +
"\x0c\xa1\xd8\x3c\x08\x27\x1e\x08\x8d\xe5\xb6\x32\x64\x9f\x72\x03\xc1\xeb\xc5\xeb\x48\xb2\x53\x9f\x8b\xd7\x1a\xf8" +
"\xb7\xb8\x9d\xf1\xca\xcd\xf8\x5d\xd9\x80\x17\x85\x7a\x80\x2c\xb0\x2a\xe0\x5e\x30\x81\xb3\xd5\x6e\x76\x1b\xab\xdd" +
"\xe4\x8f\xca\x89\x51\xc8\x6d\xf0\x00\xd2\x06\x0f\x5a\xc9\x2d\xaa\x9f\xf3\x78\x79\xf1\x38\xed\xe8\xf9\xa9\xbc\x0a" +
"\x42\x2f\xc4\x13\x25\x3c\xe3\xc5\x5e\x82\xdd\xfc\x33\xf9\x35\xe0\xfb\x2c\xc8\x9e\x81\x3a\x37\xf9\x08\x05\x6e\x49" +
"\xec\x8f\x75\x84\xd8\x18\x48\x5d\xaf\x08\x05\x17\x21\xaf\xf0\x88\x26\x76\xb1\x4d\x10\x6f\x16\x2e\x88\xd4\xf4\x32" +
"\x82\x49\xfc\x92\xc4\x5d\x46\xd6\xa7\x88\x3e\xc6\xb3\x24\x81\x50\x50\x4d\x11\x5a\xad\xba\xd8\xbb\xcf\x77\xda\xe5" +
"\x74\x56\x73\x69\x36\x4a\xef\xa2\x26\x02\x50\x21\x0d\x68\xfb\x4e\x5a\xd5\xf6\xd4\xb1\xc4\xaf\x89\xcb\xe3\x48\xac" +
"\xfd\xb1\x0a\xe3\x72\xd5\x2e\xb7\x67\x5d\xe7\x05\xde\x46\xb3\x24\x7e\x45\xf0\xe4\x96\x90\xb0\xac\x4c\x8e\x3d\x4b" +
"\x8d\xa3\xee\x1f\x44\x66\xf3\xe8\xfb\xc5\xff\xab\xf3\xdb\xbd\x53\xcf\x0d\x2f\xc4\x56\x46\x29\x48\x0b\x3a\xde\x28" +
"\x69\x6f\x8c\xf8\x4f\x88\xfe\xed\x2f\xe5\x63\x9d\xbf\xfc\xd3\x39\x2f\x5f\x97\x8f\x75\xa9\x21\x70\x3e\xb7\x4f\x55" +
"\xa1\x74\xf4\x1d\x7c\xff\x0a\xbe\x4f\xeb\x41\xdf\xfb\x1d\xd7\x5b\x21\x6f\xac\x2a\xa3\x57\x8b\xf2\xb1\x3e\xf2\x1a" +
"\x3a\x02\x4b\x3a\x42\x30\x3a\xc2\x11\x3a\x78\x30\x1d\x19\xcc\x3e\x13\xa6\x2c\xf8\x53\x24\x95\x84\x7a\x29\x91\x93" +
"\xfa\x89\x64\x5c\x84\xeb\xc4\x72\x9e\xe5\x26\xab\x0e\xe4\x6c\x5f\x7b\xb0\xf3\x6c\xd6\x1b\xd1\x8e\x97\x78\x9c\x70" +
"\x34\xbe\x7b\xc9\x9f\x21\xb9\x5d\x1d\x0e\x08\x51\xcd\x20\x79\xb5\x72\xc8\x3f\xd1\x5d\x10\x91\xee\xd3\x65\xf4\x7d" +
"\x82\xd4\x5b\xd0\xda\x2a\xde\xd0\x50\x47\xbc\x36\x2b\xd1\xfc\xc5\x77\x41\x03\xce\xef\x79\x59\x0a\xb9\xfd\xfc\xe1" +
"\x37\xe6\x10\x32\x1a\x61\xe9\xfc\xab\x51\x32\x4e\x73\xae\x0d\x58\x56\xd9\xcd\xcd\xf7\xf1\x9a\x1b\xf8\xff\xaf\x29" +
"\x9a\xb9\x0d\x70\x25\xc1\xa4\xbc\x04\x0c\xd2\xa9\xed\xf3\x87\x77\x3f\xab\x5d\xa9\x24\x48\x8b\xff\xfd\xe3\x1f\xbf" +
"\x87\x8d\x61\x8b\xcd\x93\xab\x8f\x08\x99\xa1\xe0\xc5\x1c\xd5\xae\x8a\x11\x4c\x87\x0d\x07\x27\xe2\xb8\xc4\xa4\xe3" +
"\x0e\xcd\xba\x05\x1f\x94\xb2\x33\x68\x69\x75\xa1\x25\x91\x2b\x67\x26\x29\xb7\x58\x90\xae\x95\xa8\x15\x09\xbf\x2a" +
"\x21\x31\x5a\xba\xec\x71\x98\x3a\xea\xc4\x96\x42\x1f\xa0\x6c\xf2\x72\x75\x87\xfe\xba\x83\x4c\xf0\x00\xcd\xdc\xe7" +
"\x0c\xed\xd1\x4c\xce\x50\x8d\x22\x59\x77\xe4\x10\xa9\xa9\x0d\xc5\x58\x67\xae\x54\x38\x75\x64\xf0\xd5\x61\x92\xf8" +
"\x94\x19\x5a\x4f\xee\x4a\x04\xcd\xf6\x35\x55\x6c\x11\xab\x37\xde\x2a\xda\x52\x41\x75\xa5\x82\xf0\xf9\x4d\xa2\x56" +
"\xc9\x62\x15\x23\x59\xed\xd6\xa0\x07\xd2\xc2\x61\x44\x22\x56\xae\x02\xa8\x1d\xc9\x86\x12\x9c\x91\xe1\x0c\x12\x75" +
"\x81\x00\x4f\x16\xab\xe9\x54\x27\xee\x77\x75\x38\x60\x39\x9d\x4e\xb8\x3b\xbe\xfb\xc3\x64\x24\xa7\x53\xec\x9b\x08" +
"\xa3\x19\xf7\x82\x20\x01\x97\x59\x80\xbd\x38\x08\x22\xd4\x36\xa0\xc0\x89\xc3\x59\x5b\x3f\x07\x72\xfe\x98\x67\x1e" +
"\x13\x9f\x16\x25\xbd\x8f\x34\x00\xc6\x18\x73\xc5\xb5\x65\xe0\x92\x84\xe2\xa9\x49\xfd\xfb\xd4\x96\x34\x95\xc9\xf9" +
"\xea\x06\xc8\xa7\xd3\x4c\xa5\x7e\xe6\xd0\x0a\x79\x51\x4c\xa7\x93\x16\xe9\xb9\x55\xeb\x9a\x8c\x0b\x99\xf1\xfd\xcb" +
"\x29\x73\xe0\x2b\x99\x0b\x9e\x36\x54\xef\x4d\x62\x36\x30\x9f\xc0\xea\xdc\xb5\x7b\x36\x7b\xa6\xfe\x59\x81\x7e\xfa" +
"\x08\x05\xa4\xd6\x65\x04\xa4\x6e\xca\xd3\xb6\xd0\x71\x24\x5b\x86\x7f\xfd\xf4\xfe\xb7\x77\x7f\xd3\x7c\x07\x6f\x0b" +
"\x68\x4e\x26\xc7\x75\xd5\x73\xd3\x88\xd5\x4f\x7b\xc9\xa4\x87\x51\x90\xf6\x97\x6e\xe7\x1c\x78\x56\xa7\x3e\x99\x02" +
"\xe2\x66\x54\x45\x51\x3b\xb6\x99\xac\x7b\x7f\x80\x95\xab\xff\x28\x6f\xca\x3e\xc3\x16\xb4\x62\xc9\x8a\xa6\x4c\xe2" +
"\xbf\x90\xe1\x9a\x6a\x73\xa9\xfc\x85\xb3\xf2\x57\x31\x48\xe4\xca\x79\x7f\xa2\x42\x91\x79\x40\x13\x64\x2f\x42\x0d" +
"\x1b\x33\x9b\xf5\xbe\xc1\xd9\x22\xe6\x6f\x44\x58\x72\xdd\xd7\x3b\x31\x9f\xcd\x48\xdb\x95\xf0\x15\x56\x7d\xb3\xf1" +
"\xa9\x98\xbf\x51\xcf\x2e\x68\x2c\x75\x3d\x5a\x44\x2d\x21\x35\x14\x06\xda\x84\x35\x59\x79\x2a\xcd\xce\x17\x08\x3d" +
"\x43\x22\x6e\x4f\xc2\xf6\x22\x8b\x5c\x8b\xba\xa3\x44\xb7\xd4\x4f\x8a\x4c\x5d\xd7\x75\x2f\xa5\xe2\x54\x4a\xc9\x8a" +
"\x8e\x60\xe0\xdc\x79\x85\x77\x5e\xca\x99\x0d\x1d\xf4\xde\x89\x64\xb1\x9a\x35\xed\xc8\xb5\xa9\x61\xfb\xd4\x98\x48" +
"\x24\xb7\x2b\xea\x51\x2b\x12\xc9\xcb\x15\xed\xc1\x3d\x12\xc9\xab\x55\x1d\xeb\x84\xaf\xee\xdc\x9f\xb1\x34\x0c\x89" +
"\x64\xd3\x72\x23\xfe\x00\xbc\x65\x3b\x31\xab\xba\x2f\xb2\xe5\x70\x80\x6c\x1c\x9c\x04\x86\x70\xc8\x3b\xbc\xa9\x4e" +
"\xe4\xa8\xb6\xef\xea\x7a\x55\x15\x99\xbc\xb6\xc1\x46\xc8\x2c\xe0\x81\xb1\x4f\x05\x04\x96\xeb\x2d\xd8\x30\xf8\x94" +
"\x0b\x13\x94\x5a\xad\xf9\xba\x78\x0a\x76\xc0\xa5\x09\x6c\xce\x6d\x60\x73\x08\x7c\xae\x16\x6c\x94\xf6\x5f\xd7\xc3" +
"\x66\xd7\x41\xc9\x9d\x89\x5b\xd0\x81\x30\x81\x90\xf7\xbc\x10\x59\x88\x48\x7b\x43\x53\x25\x55\x2b\xcb\x9b\x5b\x6f" +
"\x64\xc8\xaa\x12\x31\xc6\x3a\x8e\x7f\xb4\x44\xdf\xe9\x50\xc2\xa3\xfd\x28\xd6\x85\x90\xdb\x3b\xd9\x0e\xfd\x04\x1b" +
"\xa5\xfd\xe5\xc7\x78\xd8\xc9\xaa\x29\x56\x7e\xce\x45\x91\x61\xeb\x3a\x4e\x16\xc8\x70\x23\xb4\xb1\x7e\x02\xa1\x55" +
"\x23\x5b\x4b\x62\x67\x65\x81\x63\x62\xad\xac\x55\xbb\x13\x3e\x4e\xe9\xfa\xe9\x1e\x6d\xda\xab\xc3\xe1\xa6\xae\x5f" +
"\x74\x38\x4c\x86\x8f\x70\xed\x19\x38\x97\x7c\xf2\xd1\x8b\xda\xe5\xbd\xa0\x57\x4b\xb9\x94\xc1\xbb\x46\x52\x23\xc9" +
"\x0e\x82\xbc\xee\x08\x5e\x07\xf8\x5a\x95\x4e\xe1\xa6\xdf\xe4\x9a\x34\x35\x43\xb8\x94\xc1\xfb\xca\xd8\x60\x0d\xc1" +
"\xb5\x55\xe5\x35\x0d\xae\x9b\x63\x5d\xd3\x40\xe9\xee\xee\x6d\x29\x03\x9c\x5b\x5b\x9a\x68\x3e\xdf\x0a\x9b\x57\xeb" +
"\x30\x55\xbb\xf9\x03\xac\x4b\x9e\x7e\xbb\x71\x50\xa4\xc5\x7a\xee\x6d\xe1\xa6\xf0\x0c\x7e\xd7\x6c\xc5\x2d\x71\x71" +
"\xb9\x4d\x78\x8f\x6d\x6c\x86\x02\x34\x3b\x3f\x78\x7c\xa6\x09\x45\x46\x5e\x57\xb6\xe8\xed\x10\xcc\x8b\xbe\xe4\x1a" +
"\xa4\xfd\x5d\x65\x1d\x78\x4f\x6e\xe3\x71\x6f\xa8\x61\xa7\xee\xa1\x51\x08\x74\x37\x40\x55\x28\xda\x4b\x00\x20\xb1" +
"\xfd\x81\x2d\xa6\xd3\x2a\x34\x2e\x5d\x72\x3b\xde\x92\x61\xc3\x7c\x08\x25\x3d\xcc\x37\xb7\xb9\x2d\x24\x63\xe4\x0f" +
"\x3e\x14\xc6\x7d\xd4\x00\x5f\x21\x9b\xd0\x69\xdc\xa7\xeb\xc3\x27\xf3\x95\xeb\x3c\x35\x06\x11\x7a\xef\xd2\x96\x66" +
"\x90\xd0\xc6\x2b\xa9\x1d\x38\xb8\x6f\xfc\xb4\x55\xc6\x37\x78\x32\xd8\x92\x70\xa3\xf4\x5b\x9e\xe6\x43\xd0\xf4\xb7" +
"\x36\x06\xec\x8f\xd6\x69\xa3\xb2\x80\x25\xb5\x89\x5c\xb9\x8a\xa5\xa7\xb5\x1e\xf9\x3c\xd5\x54\x51\xe1\xf3\xce\xb0" +
"\xaf\x41\xa6\x53\x08\x53\x63\xda\xbb\x3e\xc1\x46\x43\xb8\x19\xe9\xef\x3d\x46\xe1\xba\x8e\xfd\x18\x13\xb5\xa7\x66" +
"\x84\xdc\x16\x60\x55\x9b\x35\x54\xcc\x85\x03\xc9\xf8\xe1\x80\x39\x73\x5e\x44\xa8\x66\x4f\xa3\xab\x67\x49\x2b\x3a" +
"\xb9\x25\x54\x9d\xf7\x2e\x1a\x60\x0f\x20\xec\x71\xf0\x62\x96\xfc\xf9\xc3\x6f\xcf\xf5\xb7\xfa\x6a\x04\xf8\x67\xf3" +
"\x34\xdc\xab\x6f\xff\xcd\xbc\x9f\x0a\xb5\x7e\x36\x4d\xbf\xc3\x97\x2e\xcd\x9f\xb3\x9b\x42\xc8\x6f\xff\x07\xb3\xe9" +
"\x06\x34\x14\xac\xb1\x41\x93\x03\x58\xf4\x8c\x3d\x61\xeb\xa4\xfe\x4c\xe9\xea\xb4\x47\x15\x93\x83\x90\xa9\x60\x43" +
"\xfa\xe3\xd2\x8d\x7b\xd0\xf6\x93\xfa\x71\x6d\x54\x51\x59\xf8\xac\x5d\x09\xaa\x62\xfc\xcc\xd8\xe1\x20\x88\xaf\x7c" +
"\x53\xac\x09\x89\x95\x6b\xcf\x18\x5a\xca\x7f\xa1\x5c\xf9\x5f\x17\x28\x6a\x28\x50\x1a\x87\xe7\xcc\x21\xa9\x53\x1d" +
"\x4e\xf4\x8a\xee\x6d\x7f\x79\xe4\x65\x59\x13\x6a\x18\x84\xb9\x86\x4d\xdc\xfc\xb0\x0b\x66\x83\x39\xa1\x66\x3a\xbd" +
"\x60\x28\xd8\x90\xfa\xc8\x6e\x2d\x19\x67\xc9\x64\x5f\x62\x49\xa8\xf4\x94\x2f\x13\x68\xc6\x48\x4d\x22\x2c\xbd\x87" +
"\x9c\xa8\xaa\x0b\xd3\xd6\x2b\x4a\x33\x1b\xfa\x04\x21\xd6\xce\x5f\x8f\x9c\x1e\xf9\x01\x44\xb5\x8f\xe1\x10\x7a\xc3" +
"\xf8\xe8\x0c\x83\x8c\x3f\x1c\x9d\x4f\xf0\x68\x99\x6c\x42\x94\x4f\xba\x60\x14\xf3\x62\x72\x02\x9d\xe3\x78\x18\xc3" +
"\x51\x9c\x3b\x31\x70\x47\xd7\x41\x2f\x96\xae\x98\x18\x0b\xe6\x82\x58\xea\xe1\xd1\x09\x03\x39\xba\xbb\x77\x58\xd2" +
"\xfc\xf5\xe0\xe2\x3c\x23\x35\x66\x3a\x6d\x0f\xef\x3b\x7c\xcb\x75\xf5\x36\xe5\xbb\xfb\xaf\x16\xac\x62\x8d\x81\xd9" +
"\x16\x4a\x14\x26\x75\x7d\xa9\xfe\x6f\xdf\x38\x2e\xbd\x5e\xfe\xf2\xf6\xa7\xcf\x7f\x9f\x4e\xdb\x9f\xb3\x68\xde\x49" +
"\xe0\x3c\x6e\x7f\xca\x21\x18\x47\xc6\x20\x6d\x9e\x46\xd6\x10\x54\x06\xb2\x40\xc8\x80\x07\x52\xc9\x9b\xb5\x56\x0f" +
"\x06\x74\x00\xf2\x5e\x68\x25\x1d\x35\x44\x62\x6c\x99\x3d\x1c\xf6\x75\x73\xa7\x6c\xd8\xd9\x13\xa4\x6d\x06\xee\xda" +
"\xdf\x68\xef\x8a\xd9\x1e\x80\x0f\x07\xb4\x56\xaa\x00\x2e\xc7\x2b\x46\xc3\x63\xb4\x66\x0a\xbb\x4a\x6c\x14\xa3\xfd" +
"\xf8\xf0\xc9\x90\x2b\x33\xd0\x30\xc7\x25\x2f\x78\xf8\x60\x5d\x52\xd4\x78\x9d\x64\x4d\x8e\xdc\x17\x60\xd8\x7b\xc6" +
"\x18\x20\xfb\xd7\x4a\x97\x3d\x0b\xb6\x88\xc5\x1b\xd9\x25\xce\x62\xa8\x7a\x65\x22\x56\x31\x36\x4c\x27\xdc\xe5\xe7" +
"\xc4\x97\x18\x37\x37\x54\x75\xc9\x6f\x0d\xd3\xe9\x06\x17\x2d\xd6\x35\x35\x44\x43\x4e\x9d\x91\x33\xce\x31\x1c\xac" +
"\x61\xc3\x54\x22\x5a\x6a\x03\x2f\x15\x5b\xc4\xd5\x1b\x73\x5c\x35\x54\x4d\xd5\xe0\x8b\x85\x6a\x85\x49\x9c\x41\x01" +
"\x16\x02\x9d\x18\xc7\x91\xab\x0c\xfc\x99\x77\xec\xec\x36\x72\xb8\x4d\x3a\x7e\x63\x19\x3d\xc3\x32\x49\x9d\x7f\x15" +
"\x16\x34\xfe\xa9\xd1\xd7\xd1\x65\x47\x8d\x47\xe5\x59\xf3\x14\xef\x1f\x74\xda\x47\xbc\x3b\x84\x22\xed\x7c\xe3\x7f" +
"\xe6\xf2\x3b\x9f\x54\xc5\x7d\xbd\x24\x4e\x23\x54\xef\xc0\xca\x15\x8b\x10\xa6\xce\xcb\x5d\x87\x89\x79\x62\x57\x0e" +
"\x73\xc6\xd0\xe0\xfa\x08\xe5\xad\xa8\xee\xe0\x38\x81\x13\xd4\x8f\x47\xc7\x90\x21\x48\x5d\xff\x2b\x57\x72\x97\x7c" +
"\xb2\xbb\x1d\x38\xb9\xee\xf5\xb5\xcb\x05\x4f\xdc\x88\x47\x17\x99\x02\x0d\xff\xac\x84\x06\x13\x9c\xac\x6b\x5e\x96" +
"\x26\x70\x38\x5c\x78\x56\x3f\x7a\xd6\x77\x38\xec\x5f\x58\x53\x55\xcc\xd0\x7c\x8e\x66\xd6\x3f\x1c\x52\xcd\xe4\xcc" +
"\x86\x25\xb7\xb9\xe4\x3b\x27\xa4\xb2\xe0\x29\xe0\xf9\x72\x9e\x7c\x59\xce\x57\x2f\xae\xe6\x14\xcd\x87\x90\x3f\x9a" +
"\x51\xe9\x62\x69\x5e\x2c\x31\xc6\x77\x51\xf2\x85\xe0\xd5\x61\xd9\x37\x67\x87\x25\xf6\x8d\x17\x4b\x42\xfc\x7f\xb2" +
"\x24\xf3\xad\xa0\xe7\x11\x42\xd1\x26\x65\x13\x3b\x4c\x06\xe2\x5f\x10\x0e\x5f\x10\x74\x35\xa7\x17\x9f\xd8\x6d\x3d" +
"\x9e\x7b\xed\xe6\x5e\xff\xc9\xdc\x96\xfb\xf9\x17\xfc\xdd\xc1\x07\xee\x83\x2b\x0e\xa2\xe5\x7c\x39\x3f\x34\x65\x82" +
"\x6f\x6e\x44\x01\xbe\xb5\x9c\x1f\x96\xe6\xc5\x15\x99\x8b\xd0\x82\xb1\x58\x90\x3b\x88\xb0\x62\xce\x05\x45\x9f\x87" +
"\x3b\x31\x92\x3b\x11\x9d\xf6\x22\x72\x27\x67\x22\xd2\x33\x31\xe2\x71\x19\x2e\xe7\x73\x8a\x10\xa1\xa8\xd2\x05\x46" +
"\xb3\xb3\x04\xc0\x5f\x6a\xd5\xfe\x4a\x3f\xfe\xaf\x00\x00\x00\xff\xff\x7d\xdb\xbf\x63\x96\x23\x00\x00")
func bindataFrontendAppjsBytes() ([]byte, error) {
return bindataRead(
@ -132,9 +229,9 @@ func bindataFrontendAppjs() (*asset, error) {
info := bindataFileInfo{
name: "frontend/app.js",
size: 2564,
size: 9110,
md5checksum: "",
mode: os.FileMode(436),
mode: os.FileMode(420),
modTime: time.Unix(1, 0),
}
@ -144,56 +241,51 @@ func bindataFrontendAppjs() (*asset, error) {
}
var _bindataFrontendIndexhtml = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x5b\x57\xdb\xba\x12\x7e\xef\xaf\xd0\xf6\x5e\xe7\x09\x64\xe5\x46" +
"\x08\x6c\x3b\x6b\x11\x02\x05\xd2\x90\x72\x2d\xe5\x4d\xb1\xc6\xb6\x12\x59\x72\x24\x39\x26\xb0\xce\x7f\x3f\xcb\xce" +
"\x95\x9e\x42\x43\x57\x37\x2f\x66\x66\x34\xa3\xef\x9b\x19\x49\x13\xef\x2f\xa6\x02\x3b\x4b\x01\xc5\x36\x11\xed\x4f" +
"\x5e\xf1\x41\x82\xca\xc8\x77\x40\x3a\xed\x4f\x08\x79\x31\x50\x56\xfc\x83\x90\xf7\x17\xc6\xe8\x1a\x26\x19\xd7\xc0" +
"\x50\x02\x96\x22\x4b\x23\x83\x30\x5e\xd8\x4b\x55\x10\x53\x6d\xc0\xfa\x4e\x66\x43\xdc\x72\x36\x4d\xb1\xb5\x29\x2e" +
"\xfc\xa7\xbe\xf3\x80\xef\x8e\xf0\xb1\x4a\x52\x6a\xf9\x50\x80\x83\x02\x25\x2d\x48\xeb\x3b\xe7\x27\x3e\xb0\x08\x5e" +
"\x79\x4a\x9a\x80\xef\x4c\x39\xe4\xa9\xd2\x76\x63\x71\xce\x99\x8d\x7d\x06\x53\x1e\x00\x2e\x85\x5d\xc4\x25\xb7\x9c" +
"\x0a\x6c\x02\x2a\xc0\xaf\xee\x22\x13\x6b\x2e\xc7\xd8\x2a\x1c\x72\xeb\x4b\xe5\xb4\x3f\xad\x09\x75\x94\xb2\xc6\x6a" +
"\x9a\xa2\xe3\x9b\x9b\x35\x17\xc1\xe5\x18\x69\x10\xbe\x63\xec\x4c\x80\x89\x01\xac\x83\x62\x0d\xa1\xef\x14\x3c\xcc" +
"\x21\x21\x01\x93\x23\xe3\x06\x42\x65\x2c\x14\x54\x83\x1b\xa8\x84\xd0\x11\x7d\x22\x82\x0f\x0d\xb1\x39\xb7\x16\x34" +
"\x1e\x2e\x77\x20\x0d\xb7\xe2\x56\x48\x60\x0c\x59\xe9\xdc\x84\x4b\x37\x30\xc6\x29\xb7\x9d\xff\x71\x69\x21\xd2\xdc" +
"\xce\x7c\xc7\xc4\xb4\xb6\xd7\xc4\x5f\x8e\x5a\x07\xcf\x3b\xe3\x83\x70\x14\xf5\x7b\x57\x64\x3c\x69\x0c\x06\xb5\xbe" +
"\x0e\x5b\xf7\xc2\x7e\x4f\x04\xb9\x3f\xb9\xd9\xb9\x8e\x2a\x61\x5c\xab\xf8\x0e\x0a\xb4\x32\x46\x69\x1e\x71\xe9\x3b" +
"\x54\x2a\x39\x4b\x54\x66\x1c\x44\xfe\x1c\xb7\x12\x7f\x4e\x6d\x10\x2f\x48\x31\xaa\xc7\x62\xf6\x51\x5e\xc3\xb8\xdb" +
"\x20\x5d\x76\x7c\x94\x5e\x1e\x7d\x17\x83\x74\xda\x33\xe6\x8e\xd6\xe2\x6e\xa5\x9b\xb5\x9e\x74\x34\x98\xda\xef\x8d" +
"\xbc\xb6\x67\xe2\xfe\xfb\xbc\xb6\x27\x96\x19\x70\x43\x25\x2d\xcd\xc1\xa8\x64\xce\x4b\x83\x00\x6a\xc0\x90\xe9\x9e" +
"\x5b\x71\xab\xf3\x12\x51\x21\xde\x27\x50\x6f\x35\xf0\x0e\xab\x7c\x6d\xd5\xe5\xc1\x98\x5e\xf5\x8f\xf3\x51\xeb\xb4" +
"\x71\x7d\xd1\x69\x36\xed\xf3\x79\x3e\xe8\x25\x9a\x0d\x1b\xcd\x9d\x54\xe9\x2e\x19\x4c\xf5\xc5\x4e\x7d\xff\xdb\xe4" +
"\xbc\xbf\x7f\xa7\x3a\x36\x3f\x1b\x34\x2f\x45\xf4\x26\xa9\x3f\x57\xaa\x98\x47\xb1\xe0\x51\x6c\xdd\x91\x21\x07\x6e" +
"\xb5\xe6\x56\xc8\x3c\x18\xa1\x92\x69\xc5\x99\xb1\x19\xe3\x6a\xbb\x8a\xe9\x93\x7b\x39\x83\x7e\x38\xee\x3d\x27\x9d" +
"\x5c\x05\x0c\x80\x4f\x3e\x0f\xb2\x6a\x9f\x58\x7b\x77\xd6\xd9\xef\x55\x12\xe8\x9d\xe7\x93\x69\xbe\x4d\xc5\x2c\xb7" +
"\x02\xda\x37\x31\xd5\xe0\x91\xb9\xb0\xb0\x94\x10\xdb\x0b\x2c\xb4\x00\x88\x5e\x50\x79\xc2\x0f\x51\xab\xf2\x9f\x7f" +
"\xd0\x7f\x17\xb6\xb8\x8a\x5e\x90\x85\x27\x8b\xa9\xe0\x91\x3c\x44\x01\x48\x0b\xfa\x1f\x54\x54\x19\x1b\xfe\x0c\x87" +
"\x68\x7f\x2f\x7d\xda\xf0\xa8\xfd\xda\xa3\xd6\xd8\xf4\x48\x35\xa0\x40\x31\x40\x2f\x28\x50\x42\xe9\x43\xf4\x37\xb4" +
"\xea\xd0\x0a\xd6\x4b\xdc\xe2\x4e\xa2\x5c\x82\x46\x2f\x28\xa1\x3a\xe2\x12\x5b\x95\x1e\xa2\x7a\x65\x33\x92\x6b\x62" +
"\x95\xe3\x08\x24\x68\x1e\xec\x2e\x44\x9e\xd0\x08\x96\xc2\x94\x33\x50\x4b\x01\xb4\x56\x45\x40\xc6\x4d\x2a\xe8\xec" +
"\x10\x49\x25\x61\x19\xcd\x23\xab\x24\x79\x64\x79\x4f\x7b\x43\xc5\x66\x8b\xee\x91\x74\x8a\x02\x41\x8d\xf1\x1d\x49" +
"\xa7\x43\xaa\xd1\xfc\x83\xe1\x29\xa5\x92\x61\x11\x2d\x15\xc5\xf1\x45\xc3\x08\xa7\x9a\x27\x54\xcf\x9c\x65\xe2\x3d" +
"\xfa\x3a\x00\x1e\x6a\x2a\xd9\xb2\x03\xff\x76\xda\x1e\x5f\x2e\x08\xa9\x41\x21\xc5\xa6\xa8\x25\xa6\xc2\x62\x33\xc9" +
"\xa8\x06\xa7\xed\x11\xde\x5e\xf5\x94\x67\x52\x2a\x97\x2e\x34\x4d\xcb\x9a\x3b\xcb\x0e\x28\x8c\x6d\x8f\xd0\x05\x7e" +
"\x22\xe9\x74\xd9\x0f\x8c\xaf\xb8\xac\x33\x5d\xe6\x48\x28\xca\xb8\x8c\xd6\x98\xe3\xea\xc6\x7e\xff\x87\x2f\xe5\xb2" +
"\x70\x0d\x29\x4e\x33\x61\xc0\x41\x54\x73\x8a\x63\xce\x18\x48\xdf\xb1\x3a\x7b\x0d\xd9\x23\xcb\x70\x1e\x61\x7c\x0b" +
"\x38\x8b\xda\x6e\x09\xa7\x3c\xb6\x98\xa9\x5c\x16\x34\x8a\xbc\xbd\xb1\x7b\x11\xa8\xd6\xf6\xe8\x2a\xf5\xab\x40\x5c" +
"\x40\x71\x4d\xe0\xc2\x80\x0a\xa9\x78\x2d\x9d\x76\x26\xcb\xdc\xb2\x22\x9d\x1e\x89\x6b\x1f\x22\x51\x76\xe4\xfc\x8c" +
"\xcc\x0f\xc7\x66\x47\xbc\x8b\xc0\xd9\x24\x9b\x44\xc8\xe8\xc0\x77\x56\x4b\x79\x12\xe1\x50\x64\x9c\xa1\x95\x93\xd1" +
"\x1b\xb9\x5a\x97\x7e\x2b\x98\xe5\x59\x59\x7b\x6f\x2c\x84\x64\x08\x0c\x6b\x30\xa9\x92\x86\x4f\x01\xfd\xa8\xc0\xd5" +
"\xe6\x70\x76\xb0\x89\xb6\x0c\x56\x8e\x16\x5a\x09\xb3\x61\x20\xa5\x65\x8d\xb1\x84\xf6\x01\x94\xf3\xdb\xeb\xe7\xc9" +
"\x2c\x4d\xab\x3d\x3d\x52\x2a\x3e\x14\xbd\x88\xbb\x0e\x98\x6a\x68\x7b\xc5\x55\xd5\xf6\xc8\xe2\x53\xa8\x3e\x12\xb0" +
"\xbc\x73\xb6\x6c\x5f\x78\x0a\x04\x4d\xa8\xe5\x4a\xe2\x80\xeb\x40\xbc\x75\x78\xca\xf6\x5d\x15\x67\xbe\xc3\x1b\x5d" +
"\x59\x4c\x65\xa3\xab\x0c\xf4\x0c\x85\x5c\x1b\xbb\x8b\x6c\x0c\x12\x7d\x55\x69\x0a\xda\x1d\x99\x85\xbc\x1e\xdc\x2e" +
"\x36\xe6\x36\x13\x68\x9e\xda\x79\xd7\x6d\xf9\x40\x8e\x26\xc5\x5e\xa4\xee\xd6\xdd\xea\x42\x28\xdf\xc2\xd1\xab\xa7" +
"\xf0\x67\x8f\xe1\x69\x94\x1e\x0f\x49\xef\xe2\x4a\x7c\xb9\x0c\x07\xd9\x41\xd5\xd2\x7a\x4d\x91\xcb\xfe\xe3\x93\xb0" +
"\xf9\xb5\x6a\x5d\xd9\x64\xdc\xbf\x66\x47\x59\xeb\xed\xc7\xb0\xed\x91\x39\xe8\xdf\x67\x90\x2e\x53\x43\xaa\x6e\xb5" +
"\xe1\x56\x97\x8a\xed\x58\xdc\xdc\xd6\xfa\x10\xe8\x07\x7d\x41\x8f\xcc\x24\x09\xd3\xf1\xc1\xc3\xf5\xd5\xf9\xad\xe8" +
"\xaa\x59\x3f\xb9\xb3\x51\xaf\x73\x22\x59\x97\x9b\x9b\xe0\x5f\x65\xf1\xd6\xbc\x3c\xfa\x71\x5c\xfe\x35\xa5\xbd\x9d" +
"\x4a\xed\x39\xdb\xbb\xbb\xfb\x72\x35\x1e\xec\xe7\xd5\xcf\xe7\xba\x39\x0d\xed\x71\xd4\x0f\x4f\xd9\x63\x70\x74\x06" +
"\x5d\x7b\x2a\x7b\x8f\xa6\x63\xb6\xa2\xf4\xdb\x9c\x7e\x36\x7c\xad\x75\xdb\x91\x21\x9d\x90\x9f\x8f\xcf\xc4\x99\xba" +
"\xe7\xf1\x23\x0b\x9a\xb7\xa7\xd9\x68\xbf\x9f\x5c\x54\x6e\xbf\x05\xdf\x4c\xff\x61\x0c\xdd\xd3\x3c\xe6\x95\xe7\x77" +
"\x46\xae\x77\xc9\xd0\x34\x2d\x70\xbc\xaa\xa1\x47\xe6\x83\x84\x47\xe6\xbf\x0d\xff\x17\x00\x00\xff\xff\x03\x43\x00" +
"\x2b\x2c\x0e\x00\x00")
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x57\x5d\x53\xdb\xbc\x12\xbe\xef\xaf\x50\x7d\x2e\xa9\xac\x24\x84\x10" +
"\xce\xd8\x99\x21\x04\x0a\xa4\x26\xe5\xb3\x94\x3b\xc5\x5a\xdb\x4a\x64\xc9\x91\x64\x9b\xf0\xeb\xcf\xd8\xf9\xa4\xa7" +
"\xf0\x86\x4e\x5f\x6e\x84\x76\xb5\xbb\xcf\xb3\xbb\xd9\x6c\xbc\xcf\x4c\x85\x76\x9e\x01\x4a\x6c\x2a\x7a\x9f\xbc\xea" +
"\x40\x82\xca\xd8\x77\x40\x3a\xbd\x4f\x08\x79\x09\x50\x56\xfd\x83\x90\xf7\x19\x63\x74\x03\xb3\x9c\x6b\x60\x28\x05" +
"\x4b\x91\xa5\xb1\x41\x18\x2f\xf5\xb5\x28\x4c\xa8\x36\x60\x7d\x27\xb7\x11\xee\x3a\xdb\xaa\xc4\xda\x0c\x57\xf6\x85" +
"\xef\x3c\xe2\xfb\x63\x7c\xa2\xd2\x8c\x5a\x3e\x16\xe0\xa0\x50\x49\x0b\xd2\xfa\xce\xc5\xa9\x0f\x2c\x86\x57\x96\x92" +
"\xa6\xe0\x3b\x05\x87\x32\x53\xda\x6e\x3d\x2e\x39\xb3\x89\xcf\xa0\xe0\x21\xe0\xfa\xf2\x05\x71\xc9\x2d\xa7\x02\x9b" +
"\x90\x0a\xf0\x9b\x5f\x90\x49\x34\x97\x53\x6c\x15\x8e\xb8\xf5\xa5\x72\x7a\x9f\x36\x84\xfa\x4a\x59\x63\x35\xcd\xd0" +
"\xc9\xed\xed\x86\x8b\xe0\x72\x8a\x34\x08\xdf\x31\x76\x2e\xc0\x24\x00\xd6\x41\x89\x86\xc8\x77\x2a\x1e\xe6\xbf\x84" +
"\x84\x4c\x4e\x8c\x1b\x0a\x95\xb3\x48\x50\x0d\x6e\xa8\x52\x42\x27\xf4\x99\x08\x3e\x36\xc4\x96\xdc\x5a\xd0\x78\xbc" +
"\x8a\x40\xda\x6e\xc3\x6d\x90\xd0\x18\xb2\x96\xb9\x29\x97\x6e\x68\x8c\x53\x87\x5d\xfc\x71\x69\x21\xd6\xdc\xce\x7d" +
"\xc7\x24\xb4\x75\xd0\xc1\xdf\x8e\xbb\x47\x2f\x7b\xd3\xa3\x68\x12\x07\xc3\x6b\x32\x9d\xb5\x47\xa3\x56\xa0\xa3\xee" +
"\x83\xb0\x3f\x53\x41\x1e\x4e\x6f\xf7\x6e\xe2\x46\x94\xb4\x1a\xbe\x83\x42\xad\x8c\x51\x9a\xc7\x5c\xfa\x0e\x95\x4a" +
"\xce\x53\x95\x1b\x07\x91\xbf\xc7\xad\xc6\x5f\x52\x1b\x26\x4b\x52\x8c\xea\xa9\x98\x7f\x94\xd7\x38\x19\xb4\xc9\x80" +
"\x9d\x1c\x67\x57\xc7\x3f\xc5\x28\x2b\x86\xc6\xdc\xd3\x56\x32\x68\x0c\xf2\xee\xb3\x8e\x47\x85\xfd\xd9\x2e\x5b\x07" +
"\x26\x09\xde\xe7\xb5\x3b\xb1\xdc\x80\x1b\x29\x69\x69\x09\x46\xa5\x0b\x5e\x1a\x04\x50\x03\x86\x14\x07\x6e\xc3\x6d" +
"\x2e\x4a\x44\x85\x78\x9f\xc0\x7e\xb7\x8d\xf7\x58\xe3\x7b\x77\x5f\x1e\x4d\xe9\x75\x70\x52\x4e\xba\x67\xed\x9b\xcb" +
"\x7e\xa7\x63\x5f\x2e\xca\xd1\x30\xd5\x6c\xdc\xee\xec\x65\x4a\x0f\xc8\xa8\xd0\x97\x7b\xfb\x87\x3f\x66\x17\xc1\xe1" +
"\xbd\xea\xdb\xf2\x7c\xd4\xb9\x12\xf1\x9b\xa4\xfe\x5e\xa9\x12\x1e\x27\x82\xc7\x89\x75\x27\x86\x1c\xb9\xcd\x96\xdb" +
"\x20\x0b\x67\x84\x4a\xa6\x15\x67\xc6\xe6\x8c\xab\xdd\x2a\xa6\x4f\x1f\xe4\x1c\x82\x68\x3a\x7c\x49\xfb\xa5\x0a\x19" +
"\x00\x9f\x7d\x1d\xe5\xcd\x80\x58\x7b\x7f\xde\x3f\x1c\x36\x52\x18\x5e\x94\xb3\xa2\xdc\xa5\x62\x96\x5b\x01\xbd\xdb" +
"\x84\x6a\xf0\xc8\xe2\x52\x0d\x1d\xb2\x9a\x3a\xde\x58\xb1\xf9\x32\x17\x92\x16\x28\x14\xd4\x18\xdf\x91\xb4\x18\x53" +
"\x8d\x16\x07\x86\xe7\x8c\x4a\x86\x45\xbc\x12\x54\xcd\x88\xc6\x31\xce\x34\x4f\xa9\x9e\x2f\x93\x89\x90\x47\x5f\x3b" +
"\xc0\x63\x4d\x25\x5b\xe5\xf3\x3f\x4e\xcf\xe3\xab\x07\x11\x35\x28\xa2\xd8\x54\xc8\x30\x15\x16\x9b\x59\x4e\x35\x38" +
"\x3d\x8f\xf0\xde\x3a\x43\x9e\xc9\xa8\x5c\x99\xd0\x2c\xab\x19\x38\x2b\x3e\x95\xb2\xe7\x11\xba\xc4\x4f\x24\x2d\x56" +
"\xbc\x19\x5f\x73\xa9\x66\x19\xe5\x12\x34\x32\x89\x2a\xb1\x50\x94\x71\x19\x6f\x30\x27\xcd\xad\x78\xff\x87\x2f\xe3" +
"\xb2\x32\x8d\x28\xce\x72\x61\xc0\x41\x54\x73\x8a\x13\xce\x18\x48\xdf\xb1\x3a\x7f\x0d\xd9\x23\x2b\x77\x1e\x61\x7c" +
"\x07\x38\x31\x48\xd0\x3c\xdc\x11\x4e\xdd\x84\x98\xa9\x52\x56\x34\xaa\xbc\xbd\x11\xbd\x72\xd4\xea\x79\x74\x9d\xfa" +
"\xb5\x23\x2e\xa0\x6a\x7a\x5c\x29\x50\x75\xab\x66\xbf\xd3\xcb\x65\x9d\x5b\x56\xa5\xd3\x23\x49\xeb\x43\x24\x78\x4a" +
"\x63\x40\x16\x9e\x2d\x0e\x41\x5a\xd0\xdb\x1d\xf1\x2e\x02\x67\x9b\x6c\x1a\x23\xa3\x43\xdf\x59\x3f\xe5\x69\x8c\x23" +
"\x91\x73\x86\xd6\x46\x46\x6f\xe5\x6a\x53\xfa\x9d\x60\x16\x9c\x81\xda\x58\x6f\x3d\x84\x74\x0c\x0c\x6b\x30\x99\x92" +
"\x86\x17\x80\x7e\x15\xe0\x66\x67\x3c\x3f\xda\x46\x5b\x3b\xab\xbf\x28\xb5\x12\x66\x4b\x41\x6a\xcd\x06\x63\x0d\xed" +
"\x03\x28\x69\x35\x2c\xde\x48\x66\xad\x5a\xc7\xf4\x48\x2d\xf8\x90\xf7\xca\xef\xc6\x61\xa6\xa1\xe7\x85\x8a\x41\xcf" +
"\x23\xcb\xa3\x12\x7d\xc4\x21\x68\xad\xf4\x8e\xed\x0b\xcf\xa1\xa0\x29\xb5\x5c\x49\x1c\x72\x1d\x8a\xb7\x3e\x3c\x75" +
"\xfb\xae\x8b\xb3\x88\xf0\x46\x57\x56\x3b\xc6\xe4\x3a\x07\x3d\x47\x11\xd7\xc6\x7e\x41\x36\x01\x89\xbe\xab\x2c\x03" +
"\xed\x4e\xcc\xf2\xbe\x59\x43\x2e\xb7\xb6\x10\x13\x6a\x9e\xd9\x45\xd7\xed\x38\xee\x27\xb3\x2a\x16\xd9\x77\xf7\xdd" +
"\xe6\xf2\x52\x4f\xf6\xc9\xab\xc1\xfe\xbb\xd1\x7e\x16\x67\x27\x63\x32\xbc\xbc\x16\xdf\xae\xa2\x51\x7e\xd4\xb4\x74" +
"\xbf\xa5\xc8\x55\xf0\xf4\x2c\x6c\x79\xa3\xba\xd7\x36\x9d\x06\x37\xec\x38\xef\xbe\x3d\xda\x7b\x1e\x59\x80\xfe\x73" +
"\x06\xd9\x2a\x35\xa4\xe9\x36\xdb\x6e\x73\x25\xd8\x8d\xc5\xed\x5d\x2b\x80\x50\x3f\xea\x4b\x7a\x6c\x66\x69\x94\x4d" +
"\x8f\x1e\x6f\xae\x2f\xee\xc4\x40\xcd\x83\xf4\xde\xc6\xc3\xfe\xa9\x64\x03\x6e\x6e\xc3\x7f\x95\xc5\x5b\xdb\xdf\xe4" +
"\xd7\xe5\xef\x9f\x29\x1d\xec\x35\x5a\x2f\xf9\xc1\xfd\xfd\xb7\xeb\xe9\xe8\xb0\x6c\x7e\xbd\xd0\x9d\x22\xb2\x27\x71" +
"\x10\x9d\xb1\xa7\xf0\xf8\x1c\x06\xf6\x4c\x0e\x9f\x4c\xdf\xec\x44\xe9\x8f\x39\xfd\x6e\x95\xd8\xc8\x76\x23\x43\xfa" +
"\x11\xbf\x98\x9e\x8b\x73\xf5\xc0\x93\x27\x16\x76\xee\xce\xf2\xc9\x61\x90\x5e\x36\xee\x7e\x84\x3f\x4c\xf0\x38\x85" +
"\xc1\x59\x99\xf0\xc6\xcb\x3b\x0b\xc4\xbb\x64\x68\x96\x55\x38\x5e\xd5\xd0\x23\x8b\x45\xc2\x23\x8b\x5f\x3a\xff\x0b" +
"\x00\x00\xff\xff\x57\x02\x19\x71\xfa\x0c\x00\x00")
func bindataFrontendIndexhtmlBytes() ([]byte, error) {
return bindataRead(
@ -212,9 +304,9 @@ func bindataFrontendIndexhtml() (*asset, error) {
info := bindataFileInfo{
name: "frontend/index.html",
size: 3628,
size: 3322,
md5checksum: "",
mode: os.FileMode(436),
mode: os.FileMode(420),
modTime: time.Unix(1, 0),
}

File diff suppressed because one or more lines are too long

View file

@ -18,15 +18,6 @@
integrity="sha256-rEVnyeMfkKzmBwocdeeiqGOu1M/ttUHB7K0meKIwqvw=" crossorigin="anonymous" />
<title>Share</title>
<style>
audio { width: 80%; }
h1 { text-align: center; font-size: 75px; }
h2 { text-align: center; font-size: 24px; }
pre code { color: #e83e8c; }
.container { margin-top: 30px; }
.show-generic, .show-image, .show-video, .show-error { display: none; }
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">

120
src/app.js Normal file
View file

@ -0,0 +1,120 @@
import './style.scss'
let fileURL = null;
const MSG_NOT_FOUND = 'File not found';
const MSG_NOT_PERMITTED = 'Not allowed to access file';
const MSG_GENERIC_ERR = 'Something went wrong';
/* global $:false */
class Share {
init() {
$(window).bind('hashchange', (e) => {
this.hashLoad();
});
let appTitle = `Share @ ${window.location.host}`;
$('title,.apptitle').text(appTitle);
this.hashLoad();
}
embedFileInfo(file = '') {
if (file === '') {
this.handleErrorMessage(MSG_NOT_FOUND);
return;
}
fileURL = file;
$.ajax(file, {
method: 'HEAD',
success: (data, status, xhr) => {
this.handleEmbed(data, status, xhr);
},
error: (xhr, status) => {
this.handleError(xhr, status);
},
});
}
handleEmbed(data, status, xhr) {
let type = xhr.getResponseHeader('Content-Type');
$('.container').hide();
$('.filename').text(fileURL.substring(fileURL.lastIndexOf('/') + 1));
$('.filelink-href').attr('href', fileURL);
if (type.match(/^image\//)) {
$('.filelink-src').attr('src', fileURL);
$('.show-image').show();
return;
}
if (type.match(/^video\//)) {
let src = $('<source>');
src.attr('src', fileURL);
src.appendTo($('video'));
$('.show-video').show();
return;
}
if (type.match(/^audio\/(aac|mp3|mpeg)$/)) {
let src = $('<source>');
src.attr('src', fileURL);
src.appendTo($('audio'));
$('.show-audio').show();
return;
}
if (type.match(/^(text\/|application\/javascript)/)) {
$.ajax(fileURL, {
dataType: 'text',
method: 'GET',
success: (data) => {
$('code').text(data);
$('.show-text').show();
hljs.initHighlighting();
},
error: (xhr, status) => {
this.handleError(xhr, status);
},
});
return;
}
$('.show-generic').show();
}
handleError(xhr, status) {
let message = '';
switch (xhr.status) {
case 404:
message = MSG_NOT_FOUND;
break;
case 403:
message = MSG_NOT_PERMITTED;
break;
default:
message = MSG_GENERIC_ERR;
break;
}
this.handleErrorMessage(message);
}
handleErrorMessage(message) {
$('.error').text(message);
$('.container').hide();
$('.show-error').show();
}
hashLoad() {
let file = window.location.hash.substring(1);
this.embedFileInfo(file);
}
}
$(function() {
let share = new Share();
share.init();
});

6771
src/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

25
src/package.json Normal file
View file

@ -0,0 +1,25 @@
{
"author": "",
"description": "",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"css-loader": "^1.0.0",
"node-sass": "^4.9.2",
"sass-loader": "^7.0.3",
"style-loader": "^0.21.0",
"webpack": "^4.16.2",
"webpack-cli": "^3.1.0",
"webpack-dev-middleware": "^1.4.0",
"webpack-hot-middleware": "^2.9.1"
},
"license": "ISC",
"name": "share",
"private": true,
"scripts": {
"build": "webpack -p"
},
"version": "0.0.1",
"dependencies": {}
}

6
src/style.scss Normal file
View file

@ -0,0 +1,6 @@
audio { width: 80%; }
h1 { text-align: center; font-size: 75px; }
h2 { text-align: center; font-size: 24px; }
pre code { color: #e83e8c; }
.container { margin-top: 30px; }
.show-generic, .show-image, .show-video, .show-audio, .show-text, .show-error { display: none; }

52
src/webpack.config.js Normal file
View file

@ -0,0 +1,52 @@
const path = require('path')
const webpack = require('webpack');
function resolve(dir) {
return path.join(__dirname, dir)
}
module.exports = {
entry: './app.js',
output: {
filename: 'app.js',
path: path.resolve(__dirname, '..', 'frontend')
},
plugins: [
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
}
})
],
optimization: {
minimize: true
},
module: {
rules: [{
test: /\.(s?)css$/,
use: [
'style-loader',
'css-loader',
'sass-loader',
],
},
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: [
['env', {
"targets": {
"browsers": [">0.25%", "not ie 11", "not op_mini all"]
}
}]
]
}
}
},
]
}
}