From ad17454c532b226bc069e7636aa68f18f4d5f4be Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 28 Jun 2018 03:04:03 +0200
Subject: [PATCH 001/311] Add links to binaries
---
README.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/README.md b/README.md
index 4bda6c8..17d955c 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,11 @@ To take control open the displayed URL or scan the QR code.
Supports Linux/X11 and Windows.
+## Installation
+
+ * [Flatpak](https://flathub.org/apps/details/com.github.unrud.RemoteTouchpad)
+ * [Windows](https://github.com/Unrud/remote-touchpad/releases/latest)
+
## Screenshots

From 931dff5f049a56fd5ab797ed408bd464ee575ab6 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Sun, 22 Jul 2018 10:34:47 +0200
Subject: [PATCH 002/311] set correct license
---
desktop/remote-touchpad.appdata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index 4808eb4..4f2b2b0 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -2,7 +2,7 @@
remote-touchpad.desktop
CC0-1.0
- AGPL-3.0-or-later
+ GPL-3.0-or-later
Remote Touchpad
Control mouse and keyboard from a smartphone
From 5ef0e86ab873424f96a390e459d7f7c045b0a2e8 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Sun, 22 Jul 2018 10:36:28 +0200
Subject: [PATCH 003/311] add setting for mouse polling interval
---
bindata.generated.go | 4 ++--
main.go | 8 ++++++++
webdata/fn.js | 24 ++++++++++++++++++++----
3 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/bindata.generated.go b/bindata.generated.go
index 5528843..d66bb51 100644
--- a/bindata.generated.go
+++ b/bindata.generated.go
@@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}
-var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xdd\x6f\xdb\xb6\xb7\xef\xf9\x2b\x4e\xf5\x50\xc8\x8d\x23\xdb\x29\x7a\x37\xd4\x75\xee\xf5\x52\x77\x09\x96\x34\x81\xed\x6c\x35\x82\xa0\xa0\xa5\x63\x5b\xab\x4c\x6a\x22\x15\x27\xbd\xcd\xff\x7e\x41\x7d\x52\x14\x25\xa7\x1d\xfa\x72\xf1\x33\xb0\x4e\x21\xcf\x39\x3c\xdf\x1f\x94\x7a\xaf\x0e\xe0\x15\x00\xc0\x29\x0b\x1f\x23\x7f\xbd\x11\x60\xbb\x1d\x38\xee\x0f\x7e\x85\x1b\x1a\xc5\xde\xbb\x58\xfe\xfb\x3f\x2c\x16\x01\x63\x5f\x1c\x97\x6d\x4f\x0e\x20\x47\x9a\x6f\x7c\x0e\x2b\x3f\x40\xf0\x39\x84\x24\x12\xc0\x56\x30\xc5\x2d\x13\x78\x34\x67\xb1\xbb\x09\x89\xe7\x94\xe0\x1f\x18\x5b\x92\x48\xc2\xae\x22\x44\xe0\x6c\x25\x76\x24\xc2\xb7\xf0\xc8\x62\x70\x09\x85\x08\x3d\x9f\x8b\xc8\x5f\xc6\x02\xc1\x17\x40\xa8\xd7\x63\x11\x6c\x99\xe7\xaf\x1e\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xff\xf8\xfd\xe3\x0d\xfc\x8e\x14\x23\x12\xc0\x75\xbc\x0c\x7c\x17\x2e\x7c\x17\x29\x47\x20\x1c\x42\xb9\xc2\x37\xe8\xc1\x32\x27\x25\x91\x3e\x48\x4e\x66\x19\x27\xf0\x81\xc5\xd4\x23\xc2\x67\xb4\x0b\xe8\x8b\x0d\x46\x70\x8f\x11\xf7\x19\x85\xd7\xf9\x31\x19\xcd\x2e\xb0\x28\xa3\x63\x13\x21\x45\x88\x80\x85\x12\xb5\x03\x84\x3e\x42\x40\x44\x89\xad\x28\x41\x53\x8f\xd4\x46\x29\xb4\x07\x3e\x4d\x0e\xd9\xb0\x10\x41\x6c\x88\x90\xf2\xee\xfc\x20\x80\x25\x42\xcc\x71\x15\x07\xdd\x8c\xd0\x32\x16\xf0\xd7\xf9\xfc\xec\xea\x66\x0e\xe3\x8f\x0b\xf8\x6b\x3c\x9d\x8e\x3f\xce\x17\x43\xd8\xf9\x62\xc3\x62\x01\x78\x8f\x29\x35\x7f\x1b\x06\x3e\x7a\xb0\x23\x51\x44\xa8\x78\x04\xb6\xca\x88\x5c\x4e\xa6\xa7\x67\xe3\x8f\xf3\xf1\x6f\xe7\x17\xe7\xf3\x05\xb0\x08\x3e\x9c\xcf\x3f\x4e\x66\x33\xf8\x70\x35\x85\x31\x5c\x8f\xa7\xf3\xf3\xd3\x9b\x8b\xf1\x14\xae\x6f\xa6\xd7\x57\xb3\x89\x03\x30\x43\xc9\x1c\x66\x34\x5a\xf4\xbe\x4a\xac\x17\x21\x78\x28\x88\x1f\xf0\x52\x0f\x0b\x16\x03\xdf\xb0\x38\xf0\x60\x43\xee\x11\x22\x74\xd1\xbf\x47\x0f\x08\xb8\x2c\x7c\xdc\x6f\xd3\x94\x0c\x09\x18\x5d\x27\x02\x67\xde\xe5\x00\x9c\xaf\x80\x32\xd1\x05\x8e\x08\xef\x36\x42\x84\x6f\x7b\xbd\xdd\x6e\xe7\xac\x69\xec\xb0\x68\xdd\x0b\x52\x02\xbc\x77\x22\xd9\xe9\x1d\x1c\x40\xaf\x07\xb7\x03\x48\x4c\xd2\x85\xe3\xf4\x01\x79\x17\x5e\xe7\x8f\x77\x07\x2e\xa3\x5c\xc0\xfc\xea\xe6\xf4\xec\xf3\xe5\xd5\x9f\x93\xcf\xf3\xb3\xe9\x64\x76\x76\x75\xf1\x1e\x46\x70\x3b\xe8\x77\x61\xf0\x46\xfe\x77\x37\xac\x80\xce\xcf\x2f\x27\xd2\x40\x23\x38\x7e\xd3\xcf\xb7\x12\xfc\xcb\x9b\x0b\xb9\x3c\xc8\x17\x67\xa7\xd3\xab\x8b\x8b\x7c\xb9\xef\xf4\xdf\x0c\x0f\x24\x5f\xb7\xe1\x43\x8f\x77\x61\x1b\x07\xe2\xae\x0b\x8e\xe3\xe4\xbc\x5c\x5f\x9d\x7f\x9c\x4f\xa6\x9f\xc7\xa7\xa7\x93\x8b\xc9\x74\x3c\x3f\xbf\xfa\x28\x79\xb9\xed\x77\xa1\x7f\xd7\x85\xdb\x5f\x7f\xe9\xc2\x40\x3e\x0c\x7e\x79\x9d\x3d\xbd\x79\xf3\xba\x0b\xc7\x77\x05\x93\x37\xd7\xef\xc7\xf3\xc9\xe7\x84\xd0\x9f\xe3\x0b\x18\x81\xc2\xe5\xf8\xd3\xe7\xf3\xf7\x17\x93\xcf\x29\xd0\x4c\x32\xdb\x1f\x1e\x1c\xdc\x93\x08\x76\x7c\x98\xfc\x3f\x24\x5e\xf1\x10\x90\x25\x06\xd9\xbe\x90\x6a\xbb\x64\xd2\x9e\x23\x58\x91\x80\xe3\xb0\x5c\x9f\x09\x99\x29\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x69\xab\x53\x0c\x90\x70\xf4\x4e\x59\x4c\x15\x0c\x46\xd7\xcc\xa7\xeb\xcc\x36\x52\xe6\xbb\x74\x63\xcb\xee\xf1\xd3\x2c\xde\x96\xa0\x72\x65\x51\x59\xe1\x6e\xc4\x82\xe0\x93\x61\xad\x0a\xe7\x45\x64\xbd\xf6\xe9\xba\x2a\x40\xbe\x3a\xf7\xb7\x28\x43\x6c\x04\x34\x0e\x82\x74\x2f\x0e\x3d\x22\x50\xee\x44\x95\x75\xdf\x0b\xf0\x26\xd9\xe3\x29\xf9\x83\x55\x4c\x5d\x99\x29\x60\x15\x07\x01\x77\x23\x44\x3a\xa1\x64\x19\xa0\x67\x77\xe0\x7f\x0f\x64\x50\x45\x28\xe2\x88\x82\xed\x31\x37\xde\x22\x15\x4e\x0d\x14\xbe\x7d\x4b\x20\xe5\xaf\x80\xda\xe1\xf2\x8b\x2f\x3e\x3c\x0b\x76\xcb\xbe\x4a\xc0\xd9\x7e\x40\xde\x4a\x30\x51\x4f\x67\x78\xf0\xa4\x08\x16\xe1\x3f\x31\x72\x85\x11\x1b\x73\xc9\xfc\x15\xd8\xe8\xd4\x00\xf2\x6d\xf9\x33\x6c\xdb\x9d\x61\xb2\xfd\x04\x18\x70\xcc\x88\xa4\xd2\x4e\xdb\x49\x35\x00\x19\x09\x6e\xd9\x57\x05\x70\x66\xa0\x66\x82\x30\x93\xe2\x7b\xf8\x32\x00\x14\x84\x2a\xba\xc4\x07\xbf\x02\xa3\xe8\xb1\x30\x51\x15\x46\x3d\xa8\x01\xc4\xc0\xb3\xe6\x44\x93\xfd\x24\x4d\x80\x6d\x84\xb7\xec\xeb\x29\xa1\x2e\x06\x66\xed\xb6\xc1\xb5\x92\xe5\xcf\xe0\x55\x07\x32\xeb\x5a\x89\xb2\x00\x25\xde\xb3\x02\x32\x05\x7d\x5e\x40\xb6\xc0\x56\x03\xb2\x0d\x90\xb7\x12\x94\xa9\x47\x8b\x47\xe2\x79\x25\x8a\xbb\x21\x74\x8d\x93\x7b\xa4\xe2\xc2\xe7\x42\x96\x57\x3b\xc8\x1e\x8c\xde\x55\x17\xf5\xc5\x68\x94\xb4\x61\x2b\x9f\xa2\x67\xd4\x37\xf1\xbc\xea\x09\xd6\x4a\x63\xc0\xea\x42\x71\xea\x3e\x67\xac\xcb\xfb\x23\x1c\xa4\xb4\x7e\x8c\x0f\xa3\x71\x7e\x84\x89\x2d\xfb\xfa\x83\x1c\x18\xac\xfe\x23\x0c\x5c\xce\x4a\x3a\xa7\x4d\xe7\x57\xbc\x47\x76\x64\x49\xb5\xb5\x45\xda\x23\x09\x7f\x8b\x33\x41\xb6\xa1\x16\x1d\xe5\xf9\xbe\x87\x54\xf8\x2b\x1f\xa3\xb7\x69\x2d\x77\xca\x95\x6e\x01\x15\x92\x35\x7e\xca\x01\x92\x3f\xb4\xbd\xa4\x57\x68\x01\x58\xa8\x7b\x0b\x6d\xaf\x86\xac\x00\x14\x12\xbc\x2d\x1f\x53\xc9\xab\x81\xa3\xf6\x1a\xe7\xd4\xc3\x87\xdf\x1e\xcf\x3d\xdb\xf7\xe6\xec\x83\x4f\x0b\x8d\xcb\x3e\xd7\x4e\x6a\x7d\x52\xe1\xc1\x87\x77\x5a\x97\xe2\x04\x48\xd7\x62\x33\x04\xff\xf0\x50\xb5\x53\xda\x20\xc0\x48\x03\xbf\xf5\xef\x14\x85\x0d\x0f\x4a\xbd\xae\xc0\x96\xf0\x23\xd0\x79\xc8\x7f\x99\x29\xfc\x61\xb1\xfa\x74\x50\xfe\x9b\xed\x1e\x0d\xaa\x62\xba\x24\x70\x63\x39\xb2\x5c\x33\x9f\x0a\x8c\xc6\xae\x8b\x01\x46\xc9\x28\x74\x19\x07\xc2\xe6\x21\x62\xab\xb8\xa6\x76\xb4\x49\x68\x7e\x0c\x23\x23\xc2\xad\x7f\x77\xdb\xbf\x2b\x39\x27\x6d\x80\x03\x05\x50\xaa\x85\x1f\xc3\xbb\x11\x54\x18\xcd\x7f\x2e\xa3\xc2\xa7\x31\xea\x3a\x29\x34\x2a\x15\xda\x6f\xd0\x24\x39\x36\xa1\xf1\x41\x23\x6b\x47\x03\x4d\x8a\x76\x50\x55\x8e\xbc\xca\xa4\xfa\x3e\xe2\x83\x0e\xf4\xa4\x64\xf2\xa9\x03\xaf\xc0\x26\xc7\x47\x64\xd0\x81\x43\x20\x83\xa1\x62\x56\x29\x44\x8b\x05\xe0\xa4\x2a\x5d\x76\x8c\x91\xa7\x16\x32\x2a\xb7\x15\x77\x1a\xe8\x41\xf3\xbe\xda\x27\x17\x55\xb4\xa9\x7f\x96\x7b\x3b\xee\x70\xa4\x9e\x6d\x2d\x07\xc3\xbe\xa5\x15\xb0\xb4\xb9\x96\x23\xc5\x98\x7a\xb3\xa4\x5f\xaf\x74\x42\x95\xe6\x3b\xa5\xaa\x0a\xcc\xe8\x4d\x01\x90\xf0\x53\x75\x1d\x7d\x0e\x3a\x81\x3e\xbc\x7c\x59\xed\xdc\x0d\x0e\x52\xed\xf8\x39\x8a\x73\x19\x3b\xf7\x24\xb0\xb5\xf3\xba\xfa\xa4\xd5\xa9\x47\x67\x55\x81\x1a\xbb\xb9\xa4\x0a\x43\x87\xc9\xf0\x98\xe7\x90\x64\xf4\x81\x11\x5c\x12\xb1\x71\x44\x14\x53\xd7\xce\xa7\xa1\x4e\x15\x6a\x51\x87\x5a\x94\x50\x52\x1b\xc9\x2e\x59\xf2\x94\x42\x07\x4e\x46\x30\x80\x6f\xdf\xa0\xb2\xbe\x48\xd7\x55\x95\x14\xe3\xd7\xd1\x28\x7d\x1e\x56\xb6\x16\xca\xd6\x42\xd1\xbf\x3e\x1e\xe5\x1b\x85\x3f\x6c\x2d\x38\xcc\x04\x3c\x04\x6b\x98\xff\xb5\xe8\xa8\x9e\xa8\xcc\x76\x55\x01\xcb\x81\x4f\x51\x44\x36\xf1\x99\x20\x9b\x94\x91\xd1\x31\xa8\x23\xc3\xab\x2b\x44\x99\x35\x8f\x46\xf9\x5f\x43\x6d\x7b\x51\xd9\xfe\x2e\xc5\x70\xa9\x8a\x5c\xe8\x5c\x35\x39\x37\x7a\x7a\x50\xc9\x9d\x8c\x6a\xe3\xbd\xca\xb7\x1b\x20\x89\x0a\x5f\x56\xbc\x5c\x71\x5b\xd3\xb4\x5b\x77\xe4\x0d\xa1\x5e\x80\x49\x21\xb6\xf1\x5e\xa8\x11\x6b\xac\x8f\xb5\x30\xab\xdc\x18\xe0\xbd\x70\x8a\x6a\x3d\xac\xc2\x68\xb7\x0d\x95\x3d\xc3\x3d\x42\xbe\x5f\x1f\xf3\xab\x2e\x25\x8a\x4b\x06\x79\x78\xda\xae\x79\x19\xcf\xc3\xc6\x62\x28\xda\x8b\xbe\x14\x5f\x94\x85\x5e\x90\x68\x8d\x69\x2f\x17\x12\x4f\x26\x9e\xc6\xcd\xe4\x92\xe5\x7b\xaa\x9b\xe4\x3a\x8c\x50\x76\x80\xef\x71\x45\x64\x29\x57\x8c\xa8\xd9\x20\x8c\xf9\xc6\xd6\x9a\xbd\x84\x8b\x6e\x55\xf5\x9d\x8e\xa6\xe0\xca\xf5\x8d\x2a\xe5\x8b\x5c\xbf\x3a\xcf\xca\x55\x4d\x73\xca\xaa\x65\x8f\xb6\xcc\x55\x95\xbb\x72\xcd\xd3\x96\x0d\xb4\x40\x6c\x4f\x08\xb9\x58\x7a\x19\x7b\x61\x28\x39\x45\x20\xe5\x49\x5c\x43\xd2\x64\x6c\xab\x8c\x06\x67\x15\x51\xdd\xde\xa6\xd0\x9b\x50\x4f\x0d\xbc\x9f\xe6\xd2\x69\x1f\xfb\xa0\x35\xb2\x65\xc7\x2c\x4c\x7d\xad\xa6\x55\x89\xff\xae\x5e\x65\xdb\xdc\x5b\x73\x60\x1e\x06\xbe\x8b\x92\x50\x17\x06\xba\x93\x56\xb2\xc0\xe1\x61\xa3\x0b\x1b\xb2\x4c\x99\x45\x0d\xf9\xe4\xc4\x78\x2d\x9c\x29\xaa\x96\xcb\xf2\x3c\x55\x1a\xf0\xe9\x19\x29\xb1\x48\x0a\xda\xd1\xb2\x14\xbd\x7c\x69\x74\x12\xf5\xe4\x5a\x6b\xf5\x13\xce\x7d\xa1\x88\xf7\xf2\x65\x55\x8b\x70\xa4\x26\xf2\x77\xd5\xcb\x71\xdd\x8d\x96\xb1\x10\x8c\xd6\x73\x89\x29\x95\x6b\x05\x17\xd2\xf7\x22\x29\xfa\x40\x71\x98\x72\x9c\x36\x53\x39\x6e\xa4\xf2\x5a\xa1\xb2\x87\xc8\xeb\x46\x22\xc6\x09\xa2\x34\x8a\x2c\xdb\x19\xac\xac\xe2\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\xeb\xc3\xbb\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xed\x69\x60\xd3\xe4\x93\x5e\xe2\xfd\x27\xff\xfc\xeb\xfc\x03\x6d\xd9\xa3\xae\x77\x09\xa5\x6b\x9d\xc7\xdb\x4f\x65\x4c\x65\x2b\x8b\xea\xca\xff\x27\xcb\x24\x6f\x6b\x7c\x2e\xf2\x8a\xce\xff\x89\x44\xda\xcc\x87\x6c\xa7\x1e\x9a\xdc\x2a\xc1\x51\xed\x02\xc6\x7b\xc8\xf6\x92\xa4\xd5\x95\x29\xe2\x10\x9a\x08\x2c\x5a\x08\x2c\x0a\x02\x9a\x54\xe6\xb4\xdb\x5a\x4e\xe4\xdc\x91\x48\x65\x86\xba\x35\x93\x3c\x82\xc1\x9d\xae\xbb\x06\x77\x32\x28\x51\x9a\xee\x7b\xf4\x35\xac\xa2\x3f\xd6\xd1\x5b\xb5\x55\x45\x97\x81\xf0\x1e\x03\x41\xf4\xc0\x68\x20\x61\x08\x9c\xc4\xf3\x0f\x47\x52\x90\x57\xfb\x2f\xba\x8a\xa9\xce\x7b\xe8\x40\x4f\x39\xff\x15\x0c\xfa\xfd\x7e\xa7\x42\x77\x91\xd0\x7d\xfc\x3e\xba\x8f\x7b\xe8\x36\x2a\xd6\x60\x87\xfd\x58\x0b\x83\xfa\xdb\xb1\x4a\x15\x3f\xa7\x17\x6a\x2f\xf8\x79\x56\x3b\x19\x35\xd7\xfc\xd6\x0e\x24\x99\xb4\xf7\x0e\x11\x87\xa3\xd4\xca\xaf\xca\x77\xeb\x0d\x13\x44\x0a\xb9\x30\x43\x2a\x6d\x42\x23\x43\xb5\x4e\x41\x1b\xf2\x53\x36\x94\xb7\xf9\x43\x03\xf4\xa2\x84\x5e\x34\x41\x3f\x69\xa3\xb6\x76\xf7\x65\xbc\xa7\xdf\x90\x40\x72\x8a\x53\xe4\x21\xa3\x1c\xed\x2d\x72\x4e\xd6\x58\x29\x04\x1b\x72\xb5\xfc\x5b\xce\x17\xb8\x83\xbf\xf9\xec\x6c\x6c\x5b\xb3\xb3\xf1\xd1\xf1\x9b\xff\xb2\xba\x60\xcd\x27\x9f\xe6\x79\x75\x4f\x41\x1d\x8e\xe2\xec\x72\x7c\xfa\x07\x3e\xe6\xf4\xcc\x70\x29\x9f\xf6\xce\xa7\x1e\xdb\x39\x01\x73\x13\xef\x77\x36\x84\x6f\x1c\x1e\x2f\xb9\x88\xec\x41\x9e\x03\xb3\x8b\xc3\xa5\x60\xc4\xce\xd0\xd7\xe9\x31\xb6\xf5\xdb\x62\x3e\x99\x59\x9d\xf4\x06\x30\xa3\x56\x7f\x8d\x11\x30\xe2\x59\x5d\xc8\x85\xb7\x55\x19\x49\x2c\x36\xb2\x94\xb8\x44\xe8\x97\x02\xc9\x07\x04\x21\xd2\x74\x8c\x2a\x5e\x93\xac\x51\x64\xef\x54\x92\xa2\x64\x65\x20\x96\x72\x67\xe4\x06\x8c\x27\xd4\x1a\x91\x52\x88\x1c\x47\xce\xf2\x2d\xc0\x21\x51\x21\x93\xc1\x7e\x0f\x78\x02\xa3\x72\xf4\x05\x1f\x97\x8c\x44\xad\xc7\xe4\x30\x2a\x5e\xf9\xfe\xa9\xe8\x50\x1b\xf1\x75\x58\x95\x8e\xc0\x07\xd1\x86\x2b\xf7\x73\xf8\x54\x37\x0e\x17\x8f\x01\x3a\x9e\xcf\xc3\x80\xc8\xca\x60\x51\x46\xd1\x2a\xd4\xd0\xba\x9f\x8b\xd2\x0a\x24\xcf\x74\xee\x49\x10\xa3\xdc\xb0\xb2\x57\x27\xe9\x47\x2b\xd7\x11\x13\xcc\x65\x52\xcf\xd6\x8e\xf3\xb7\x56\x79\xcd\x57\x78\x6b\x58\xc0\x8c\xc0\x4a\xbe\x1e\xb2\xaa\x93\x54\x95\x48\x4e\x23\x8d\xd6\x1d\xcf\xe2\xea\x2f\x5c\xce\x98\xfb\x05\x85\xad\x20\x1c\x82\xd5\xeb\xc9\x4e\xba\x0c\x0d\xc6\x05\x25\x5b\x84\xc3\x4a\x92\x50\x7e\x0a\x63\x2c\x12\xf0\xdf\x60\xbd\xad\x50\x48\x56\xdf\x82\x65\x75\x9a\x69\x58\xbd\x1d\x97\x66\xc8\x58\x74\x18\xcd\xc2\x58\x46\x46\x1e\x3e\xc9\x15\x91\x9e\x96\x2b\x71\xa4\x27\xbe\x1d\x77\x12\xa3\xda\xda\x4d\x46\x1a\xda\xa6\x44\xa6\x87\x65\xb5\xed\xc8\xa7\x8d\x7a\x16\x4b\x78\x73\x3c\x22\x88\xda\x42\x65\x21\xda\xea\x0d\xb9\x20\x1b\x9f\x0b\x16\x3d\x3a\x5c\x10\x81\x89\x69\xcb\xb8\xd0\xc4\x6a\xf6\xb2\x55\x80\x0f\x56\x55\xd6\xc4\xdb\x56\xcc\x8d\xb9\xbd\x6f\x98\x32\x7a\xb7\x46\x32\x53\xd5\x53\xfe\xc2\x2f\x31\x56\xa2\x64\xd5\x54\xba\x95\x0c\x1f\x2d\xe8\x42\x99\x3f\xfe\xa8\x5a\xe7\xb9\xfa\xdc\x17\xa6\xed\x4a\x4c\x00\x0b\xb8\xa6\xac\xa0\xea\x25\xd7\xc6\xde\x14\x97\x27\x28\x43\xb1\x70\x03\xdf\xfd\x62\x75\x9b\x22\xe4\xb9\xbf\x32\x5a\x7e\x92\x0d\xfe\x9d\x6e\x35\x6f\x32\x3b\x67\x1e\x0a\x61\xcc\x37\x33\x19\x0e\x4a\x8d\xe8\x82\x95\x7e\x9f\x0a\x7f\x68\x65\xe3\x49\x79\x25\xf2\xc2\xf0\xd9\x9a\x2a\xac\x5e\x32\x5a\x25\x4a\x65\xaf\xa1\x34\x9a\xf0\xa7\xd9\xc0\x14\xb3\xf5\xcf\xd0\x42\xe2\xd5\xaf\x3e\xf2\x95\x46\x0f\x95\x79\xed\x27\x7b\x67\xb3\x5a\x94\x8a\xf8\x62\x94\x54\x8a\x86\x5b\x1e\x21\x2b\x4b\x09\xdd\x31\xa4\x3a\xb5\xb0\x56\x95\x90\x50\x4a\x7b\xb5\xdc\xc3\x96\xc4\xfd\x62\x6b\xfe\x93\x81\x30\x1a\xb2\x30\x4b\xc6\x7b\x6a\x50\x93\xbb\xe7\xfe\xae\x8b\xf3\x9c\x3c\x0b\xcf\xed\x26\xa0\xf1\x6a\xac\x59\xd4\x52\x27\x4f\xc3\xf6\xc4\x15\xa1\x6c\x62\x7f\x76\xda\x32\x7b\x46\xd1\x41\xa4\x4c\xe8\x76\x92\x5a\xac\xf3\x93\xcc\x74\x5c\x90\x48\x58\x5d\xf5\xdd\x5e\xb7\xf8\x08\x74\x0f\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\xbf\x00\x00\x00\xff\xff\x99\xae\x88\x84\x0c\x31\x00\x00")
+var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5b\x6f\xdb\x38\x97\xef\xfe\x15\xa7\x7a\x28\xe4\xc6\xf1\x25\x45\x77\x06\x75\x9d\x5d\x4f\xea\x4c\x82\xc9\x0d\xb6\xb3\x53\x23\x08\x0a\x5a\x3a\xb6\x35\x95\x49\x8d\x48\xc5\x49\xb7\xf9\xef\x0b\xea\x4a\x51\x94\x9c\x76\xbe\xbe\x7c\xf8\x0c\x4c\x47\x21\xcf\x39\x3c\xf7\x0b\xa5\xde\x9b\x16\xbc\x01\x00\x38\x61\xc1\x53\xe8\xad\x37\x02\x6c\xa7\x0d\x47\xfd\xc1\xaf\x70\x4b\xc3\xc8\xfd\x10\xc9\x7f\xff\x87\x45\xc2\x67\xec\x4b\xd7\x61\xdb\xe3\x16\x64\x48\xf3\x8d\xc7\x61\xe5\xf9\x08\x1e\x87\x80\x84\x02\xd8\x0a\xa6\xb8\x65\x02\x0f\xe7\x2c\x72\x36\x01\x71\xbb\x05\xf8\x29\x63\x4b\x12\x4a\xd8\x55\x88\x08\x9c\xad\xc4\x8e\x84\xf8\x1e\x9e\x58\x04\x0e\xa1\x10\xa2\xeb\x71\x11\x7a\xcb\x48\x20\x78\x02\x08\x75\x7b\x2c\x84\x2d\x73\xbd\xd5\x53\x4a\xc4\x13\x10\x51\x17\x43\x10\x1b\x04\x81\xe1\x96\xcb\x43\xe5\x1f\xbf\x5f\xdd\xc2\xef\x48\x31\x24\x3e\xdc\x44\x4b\xdf\x73\xe0\xc2\x73\x90\x72\x04\xc2\x21\x90\x2b\x7c\x83\x2e\x2c\x33\x52\x12\xe9\x54\x72\x32\x4b\x39\x81\x53\x16\x51\x97\x08\x8f\xd1\x0e\xa0\x27\x36\x18\xc2\x03\x86\xdc\x63\x14\xde\x66\xc7\xa4\x34\x3b\xc0\xc2\x94\x8e\x4d\x84\x14\x21\x04\x16\x48\xd4\x36\x10\xfa\x04\x3e\x11\x05\xb6\xa2\x04\x4d\x3d\x52\x1b\x85\xd0\x2e\x78\x34\x3e\x64\xc3\x02\x04\xb1\x21\x42\xca\xbb\xf3\x7c\x1f\x96\x08\x11\xc7\x55\xe4\x77\x52\x42\xcb\x48\xc0\x9f\xe7\xf3\xb3\xeb\xdb\x39\x8c\xaf\x16\xf0\xe7\x78\x3a\x1d\x5f\xcd\x17\x43\xd8\x79\x62\xc3\x22\x01\xf8\x80\x09\x35\x6f\x1b\xf8\x1e\xba\xb0\x23\x61\x48\xa8\x78\x02\xb6\x4a\x89\x5c\x4e\xa6\x27\x67\xe3\xab\xf9\xf8\xb7\xf3\x8b\xf3\xf9\x02\x58\x08\xa7\xe7\xf3\xab\xc9\x6c\x06\xa7\xd7\x53\x18\xc3\xcd\x78\x3a\x3f\x3f\xb9\xbd\x18\x4f\xe1\xe6\x76\x7a\x73\x3d\x9b\x74\x01\x66\x28\x99\xc3\x94\x46\x83\xde\x57\xb1\xf5\x42\x04\x17\x05\xf1\x7c\x5e\xe8\x61\xc1\x22\xe0\x1b\x16\xf9\x2e\x6c\xc8\x03\x42\x88\x0e\x7a\x0f\xe8\x02\x01\x87\x05\x4f\xfb\x6d\x9a\x90\x21\x3e\xa3\xeb\x58\xe0\xd4\xbb\xba\x00\xe7\x2b\xa0\x4c\x74\x80\x23\xc2\x87\x8d\x10\xc1\xfb\x5e\x6f\xb7\xdb\x75\xd7\x34\xea\xb2\x70\xdd\xf3\x13\x02\xbc\x77\x2c\xd9\xe9\xb5\x5a\xd0\xeb\xc1\xdd\x00\x62\x93\x74\xe0\x28\x79\x40\xde\x81\xb7\xd9\xe3\x7d\xcb\x61\x94\x0b\x98\x5f\xdf\x9e\x9c\x7d\xbe\xbc\xfe\xdf\xc9\xe7\xf9\xd9\x74\x32\x3b\xbb\xbe\xf8\x08\x23\xb8\x1b\xf4\x3b\x30\x78\x27\xff\xbb\x1f\x96\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbd\xeb\x67\x5b\x31\xfe\xe5\xed\x85\x5c\x1e\x64\x8b\xb3\x93\xe9\xf5\xc5\x45\xb6\xdc\xef\xf6\xdf\x0d\x5b\x92\xaf\xbb\xe0\xb1\xc7\x3b\xb0\x8d\x7c\x71\xdf\x81\x6e\xb7\x9b\xf1\x72\x73\x7d\x7e\x35\x9f\x4c\x3f\x8f\x4f\x4e\x26\x17\x93\xe9\x78\x7e\x7e\x7d\x25\x79\xb9\xeb\x77\xa0\x7f\xdf\x81\xbb\x5f\x7f\xe9\xc0\x40\x3e\x0c\x7e\x79\x9b\x3e\xbd\x7b\xf7\xb6\x03\x47\xf7\x39\x93\x97\xe3\x4f\x9f\xcf\x3f\x5e\x4c\x3e\xdf\xde\x7c\x1c\xcf\x27\x33\xc9\x50\x7f\xd8\x6a\x3d\x90\x10\x76\x7c\x18\xff\x3f\x20\x6e\xfe\xe0\x93\x25\xfa\xe9\xbe\x90\xaa\xb9\x64\xd2\x66\x23\x58\x11\x9f\xe3\xb0\x58\x9f\x09\x99\x0d\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x6a\xab\x53\xf4\x91\x70\x74\x4f\x58\x44\x15\x0c\x46\xd7\xcc\xa3\xeb\x54\xff\x52\xae\xfb\x64\x63\xcb\x1e\xf0\xd3\x2c\xda\x16\xa0\x72\x65\x51\x5a\xe1\x4e\xc8\x7c\xff\x93\x61\xad\x0c\xe7\x86\x64\xbd\xf6\xe8\xba\x2c\x40\xb6\x3a\xf7\xb6\x28\xc3\x68\x04\x34\xf2\xfd\x64\x2f\x0a\x5c\x22\x50\xee\x84\x86\xf5\x73\x2a\x30\x7c\x20\x7e\x71\x82\xe7\xfa\x78\x1b\xef\xf1\x64\xb1\xb5\x8a\xa8\x23\xb3\x04\xac\x22\xdf\xe7\x4e\x88\x48\x27\x94\x2c\x7d\x74\xed\x36\xfc\x5f\x4b\x06\x54\x88\x22\x0a\x29\xd8\x2e\x73\xa2\x2d\x52\xd1\xad\x80\xc2\xb7\x6f\x31\xa4\xfc\xe5\x50\x3b\x5c\x7e\xf1\xc4\xe9\x8b\x60\xb7\xec\xab\x04\x9c\xed\x07\xe4\x8d\x04\x63\xb5\xb5\x87\xad\x67\x45\xb0\x10\xff\x8e\x90\x2b\x8c\xd8\x98\x49\xe6\xad\xc0\xc6\x6e\x05\x20\xdb\x96\x3f\xc3\xb6\xdd\x1e\xc6\xdb\xcf\x80\x3e\xc7\x94\x48\x22\xed\xb4\x99\x54\x0d\x90\x91\xe0\x96\x7d\x55\x00\x67\x06\x6a\x26\x08\x33\x29\xbe\x87\x2f\x03\x40\x4e\xa8\xa4\x4b\x7c\xf4\x4a\x30\x8a\x1e\x73\x13\x95\x61\xd4\x83\x6a\x40\x0c\x3c\x6b\x4e\x34\xd9\x4f\xd2\x04\xd8\x44\x78\xcb\xbe\x9e\x10\xea\xa0\x6f\xd6\x6e\x13\x5c\x23\x59\xfe\x02\x5e\x75\x20\xb3\xae\x95\x28\xf3\x51\xe2\xbd\x28\x20\x13\xd0\x97\x05\x64\x03\x6c\x39\x20\x9b\x00\x79\x23\x41\x99\x92\xb4\x78\x24\xae\x5b\xa0\x38\x1b\x42\xd7\x38\x79\x40\x2a\x2e\x3c\x2e\x64\x69\xb5\xfd\xf4\xc1\xe8\x5d\x55\x51\x5f\x8d\x46\x71\x0b\xb6\xf2\x28\xba\x46\x7d\x13\xd7\x2d\x9f\x60\xad\x34\x06\xac\x0e\xe4\xa7\xee\x73\xc6\xaa\xbc\x3f\xc2\x41\x42\xeb\xc7\xf8\x30\x1a\xe7\x47\x98\xd8\xb2\xaf\x3f\xc8\x81\xc1\xea\x3f\xc2\xc0\xe5\xac\xa0\x73\x52\x77\x7e\xc9\x7b\x64\x37\x16\x57\x61\x5b\x24\xfd\x91\xf0\xb6\x38\x13\x64\x1b\x68\xd1\x51\x9c\xef\xb9\x48\x85\xb7\xf2\x30\x7c\x9f\xd4\xf8\x6e\xb1\xd2\xc9\xa1\x02\xb2\xc6\x4f\x19\x40\xfc\x87\xb6\x17\xf7\x10\x0d\x00\x0b\x75\x6f\xa1\xed\x55\x90\x15\x80\x5c\x82\xf7\xc5\x63\x22\x79\x39\x70\xd4\x1e\xe4\x9c\xba\xf8\xf8\xdb\xd3\xb9\x6b\x7b\xee\x9c\x9d\x7a\x34\xd7\xb8\xec\x71\xed\xb8\xd6\xc7\x15\x1e\x3c\xf8\xa0\x75\x2f\x5d\x1f\xe9\x5a\x6c\x86\xe0\x1d\x1c\xa8\x76\x4a\x1a\x04\x18\x69\xe0\x77\xde\xbd\xa2\xb0\x61\xab\xd0\xeb\x0a\x6c\x09\x3f\x02\x9d\x87\xec\x97\x9a\xc2\x1b\xe6\xab\xcf\xad\xe2\xdf\x74\xf7\x70\x50\x16\xd3\x21\xbe\x13\xc9\x71\xe5\x86\x79\xb2\x81\x19\x3b\x0e\xfa\x18\xc6\x63\xd0\x65\xe4\x0b\x9b\x07\x88\x8d\xe2\x9a\x5a\xd1\x3a\xa1\xf9\x11\x8c\x8c\x08\x77\xde\xfd\x5d\xff\xbe\xe0\x9c\x34\x01\x0e\x14\x40\xa9\x16\x7e\x04\x1f\x46\x50\x62\x34\xfb\x39\x8c\x0a\x8f\x46\xa8\xeb\x24\xd7\xa8\x54\x68\xbf\x46\x93\xe4\xc8\x84\xc6\x07\xb5\xac\x1d\x0e\x34\x29\x9a\x41\x55\x39\xb2\x2a\x93\xe8\xfb\x90\x0f\xda\xd0\x93\x92\xc9\xa7\x36\xbc\x01\x9b\x1c\x1d\x92\x41\x1b\x0e\x80\x0c\x86\x8a\x59\xa5\x10\x0d\x16\x80\xe3\xb2\x74\xe9\x31\x46\x9e\x1a\xc8\xa8\xdc\x96\xdc\x69\xa0\x07\xcd\xc7\x72\xff\x9c\x57\xd1\xba\xbe\x5a\xee\xed\x78\x97\x23\x75\x6d\x6b\x39\x18\xf6\x2d\xad\x80\x25\xcd\xb5\x1c\x35\xc6\xd4\x9d\xc5\x7d\x7c\xa9\x13\x2a\x35\xe5\x09\x55\x55\x60\x46\x6f\x73\x80\x98\x9f\xb2\xeb\x68\xad\xfb\x31\xf4\xe1\xf5\xeb\x72\xe3\x6e\xf0\x8f\xf2\x20\xc0\x51\x64\x04\x6c\xed\xb8\x8e\x36\x1b\xb4\xab\xb1\x59\x56\x9f\xc6\x6c\x26\xa7\xc2\xcf\x41\x3c\x36\x66\x19\x24\x1e\x88\x60\x04\x97\x44\x6c\xba\x22\x8c\xa8\x63\x67\x33\x52\xbb\x0c\xb5\xa8\x42\x2d\x0a\x28\xa9\x8b\x78\x97\x2c\x79\x42\xa1\x0d\xc7\x23\x18\xc0\xb7\x6f\x50\x5a\x5f\x24\xeb\xaa\x46\xf2\xa1\xec\x70\x94\x3c\x0f\x4b\x5b\x0b\x65\x6b\xa1\x68\x5f\x1f\x8e\xb2\x8d\xdc\x1b\xb6\x16\x1c\xa4\x02\x1e\x80\x35\xcc\xfe\x5a\xb4\x55\x3f\x54\x26\xbe\xb2\x80\xc5\x18\xa8\x28\x22\x9d\x03\x4d\x90\x75\xca\x48\xe9\x18\xd4\x91\xe2\x55\x15\xa2\x4c\xa0\x87\xa3\xec\xaf\xa1\xb6\xbd\x28\x6d\x7f\x97\x62\xb8\x54\x45\x26\x74\xa6\x9a\x8c\x1b\x3d\x39\xa8\xe4\x8e\x47\x95\xa1\x5f\xe5\xdb\xf1\x91\x84\xb9\x2b\x2b\x4e\xae\xb8\xad\x69\x06\xae\x3a\xf2\x86\x50\xd7\xc7\xb8\x0c\xdb\xf8\x20\xd4\x78\x35\x56\xc7\x4a\x94\x95\xee\x11\xf0\x41\x74\xf3\x5a\x3d\x2c\xc3\x68\x77\x10\xa5\x3d\xc3\xed\x42\xb6\x5f\x1d\xfe\xcb\x2e\x25\xf2\xab\x07\x79\x78\xd2\xac\xb9\x29\xcf\xc3\xda\x52\x28\x9a\x4b\xbe\x14\x5f\x14\x65\x5e\x90\x70\x8d\x49\x27\x17\x10\x57\xe6\x9d\xda\xcd\xf8\xea\xe5\x7b\x6a\x9b\xe4\x3a\x08\x51\xf6\x7f\x1f\x71\x45\x64\x21\x57\x8c\xa8\xd9\x20\x88\xf8\xc6\xd6\x5a\xbd\x98\x8b\x4e\x59\xf5\xed\xb6\xa6\xe0\xd2\xa5\x8e\x2a\xe5\xab\x4c\xbf\x3a\xcf\xca\x05\x4e\x7d\xca\xaa\x64\x8f\xa6\xcc\x55\x96\xbb\x74\xf9\xd3\x94\x0d\xb4\x40\x6c\x4e\x08\x99\x58\x7a\x11\x7b\x65\x28\x38\x79\x20\x65\x49\x5c\x43\xd2\x64\x6c\xaa\x8b\x06\x67\x15\x61\xd5\xde\xa6\xd0\x9b\x50\x57\x0d\xbc\x9f\xe6\xd2\x49\x17\xfb\xa8\xb5\xb1\x45\xbf\x2c\x4c\x5d\xad\xa6\x55\x89\xff\xa1\x5a\x64\x9b\xdc\x5b\x73\x60\x1e\xf8\x9e\x83\x92\x50\x07\x06\xba\x93\x96\xb2\xc0\xc1\x41\xad\x0b\x1b\xb2\x4c\x91\x45\x0d\xf9\xe4\xd8\x78\x21\x9c\x2a\xaa\x92\xcb\xb2\x3c\x55\x18\xf0\xf9\x05\x29\x31\x4f\x0a\xda\xd1\xb2\x14\xbd\x7e\x6d\x74\x12\xf5\xe4\x4a\x63\xf5\x13\xce\x7d\xa5\x88\xf7\xfa\x75\x59\x8b\x70\xa8\x26\xf2\x0f\xe5\x6b\x71\xdd\x8d\x96\x91\x10\x8c\x56\x73\x89\x29\x95\x6b\x05\x17\x92\x37\x22\x09\xfa\x40\x71\x98\x62\x98\x36\x53\x39\xaa\xa5\xf2\x56\xa1\xb2\x87\xc8\xdb\x5a\x22\xc6\xf9\xa1\x30\x8a\x2c\xdb\x29\xac\xac\xe2\x03\x4b\x0b\x8c\x8c\x8e\x41\xda\x6a\xda\xe0\x28\xb2\x8c\x53\xe9\xc2\x3b\x9a\xe6\x2b\x1a\x2a\x13\xaf\xe5\xb0\x6f\xed\x69\x60\x93\xe4\x93\x5c\xe1\xfd\x27\xff\xfc\xe3\xfc\x03\x4d\xd9\xa3\xaa\x77\x09\xa5\x6b\x9d\x47\xdb\x4f\x45\x4c\xa5\x2b\x8b\xf2\xca\xbf\x93\x65\xe2\x77\x38\x1e\x17\x59\x45\xe7\x7f\x87\x22\x69\xe6\x03\xb6\x53\x0f\x8d\xef\x94\xe0\xb0\x72\xfd\xe2\x3e\xa6\x7b\x71\xd2\xea\xc8\x14\x71\x00\x75\x04\x16\x0d\x04\x16\x39\x01\x4d\x2a\x73\xda\x6d\x2c\x27\x72\xee\x88\xa5\x32\x43\xdd\x99\x49\x1e\xc2\xe0\x5e\xd7\x5d\x8d\x3b\x19\x94\x28\x4d\xf7\x3d\xfa\x1a\x96\xd1\x9f\xaa\xe8\x8d\xda\x2a\xa3\xcb\x40\xf8\x88\xbe\x20\x7a\x60\xd4\x90\x30\x04\x4e\xec\xf9\x07\x23\x29\xc8\x9b\xfd\xd7\x5c\xf9\x54\xe7\x3e\xb6\xa1\xa7\x9c\xff\x06\x06\xfd\x7e\xbf\x5d\xa2\xbb\x88\xe9\x3e\x7d\x1f\xdd\xa7\x3d\x74\x6b\x15\x6b\xb0\xc3\x7e\xac\x85\x41\xfd\xcd\x58\x85\x8a\x5f\xd2\x0b\x35\x17\xfc\x2c\xab\x1d\x8f\xea\x6b\x7e\x63\x07\x12\x4f\xda\x7b\x87\x88\x83\x51\x62\xe5\x37\xc5\x5b\xf5\x9a\x09\x22\x81\x5c\x98\x21\x95\x36\xa1\x96\xa1\x4a\xa7\xa0\x0d\xf9\x09\x1b\xca\x7b\xfc\xa1\x01\x7a\x51\x40\x2f\xea\xa0\x9f\xb5\x51\x5b\xbb\xf9\x32\xde\xd2\x6f\x88\x2f\x39\xc5\x29\xf2\x80\x51\x8e\xf6\x16\x39\x27\x6b\x2c\x15\x82\x0d\xb9\x5e\xfe\x25\xe7\x0b\xdc\xc1\x5f\x7c\x76\x36\xb6\xad\xd9\xd9\xf8\xf0\xe8\xdd\x7f\x59\x1d\xb0\xe6\x93\x4f\xf3\xac\xba\x27\xa0\x5d\x8e\xe2\xec\x72\x7c\xf2\x07\x3e\x65\xf4\xcc\x70\x09\x9f\xf6\xce\xa3\x2e\xdb\x75\x7d\xe6\xc4\xde\xdf\xdd\x10\xbe\xe9\xf2\x68\xc9\x45\x68\x0f\xb2\x1c\x98\x5e\x1b\x2e\x05\x23\x76\x8a\xbe\x4e\x8e\xb1\xad\xdf\x16\xf3\xc9\xcc\x6a\x6b\xf7\x7f\x41\xc8\x1c\xe4\xfc\x84\x6d\xb7\x84\xba\xba\x64\xd2\x66\xe9\x92\x2c\x5c\xe1\x58\xd8\xfd\xb6\xb4\x97\xe5\x59\x7a\x35\x92\x09\x2d\x20\x21\xc7\x73\x2a\x72\x24\x9d\xc1\x8c\xa8\xc7\xaf\xc8\x95\xfd\xd8\x96\x7e\xf8\xd8\x15\x6c\x26\x42\x8f\xae\xed\x36\xbc\x1a\x41\x05\x37\x06\x32\x55\xaa\x54\x5c\xed\x72\x42\x37\xb1\xf2\xe5\xc0\xe3\xf0\x5f\x72\x1b\xa3\x9c\xad\x0f\x1c\x65\x96\x9e\x5b\xad\xd4\x6e\xd5\xd7\x45\x3e\x23\xae\xd5\x81\xcc\x12\xb6\xea\x4d\x24\x12\x1b\x59\xb4\x1d\x22\xf4\xeb\x97\xf8\x03\x8e\x00\x69\x32\xb0\xe6\xaf\xa3\xd6\x28\xd2\x77\x57\x71\xf9\xb7\x52\x10\x4b\xb9\x9d\x73\x7c\xc6\x63\x6a\xb5\x48\x09\x44\x86\x13\x90\x46\xe0\x80\xa8\x90\xf1\x15\xca\x1e\xf0\x18\x46\xe5\xe8\x0b\x3e\x2d\x19\x09\x1b\x8f\xc9\x60\x54\xbc\xe2\x3d\x5f\x3e\x0b\xd4\xe2\xeb\xb0\x2a\x1d\x81\x8f\xa2\x09\x57\xee\x67\xf0\x89\x6e\xba\x5c\x3c\xf9\xd8\x75\x3d\x1e\xf8\x44\xd6\x60\x8b\x32\x8a\x56\xae\x86\xc6\xfd\x4c\x94\x46\x20\x79\x66\xf7\x81\xf8\x11\xca\x0d\x2b\x7d\x45\x95\x7c\x34\x74\x13\x32\xc1\x1c\x26\xf5\x6c\xed\x38\x7f\x6f\x15\x17\xaa\x79\x5e\x08\x72\x98\x11\x58\xf1\x17\x5a\x56\x79\x66\x2d\x13\xc9\x68\x24\xde\xbb\xe3\x69\x06\xfb\x13\x97\x33\xe6\x7c\x41\x61\x2b\x08\x07\x60\xf5\x7a\x72\x66\x29\x92\x10\xe3\x82\x92\x2d\xc2\x41\x29\x2e\x95\x9f\xc2\x18\x0b\x05\xfc\x37\x58\xef\x4b\x14\xe2\xd5\xf7\x60\x59\xed\x7a\x1a\x56\x6f\xc7\xa5\x19\x52\x16\xbb\x8c\xa6\x29\x42\x46\x46\x16\x3e\xf1\x65\x9c\x5e\x00\x4b\x71\xa4\x67\x8f\xf8\x26\x4d\xcb\x7f\x31\x95\xae\x4b\x04\x69\xeb\xe0\xe9\xe1\xb1\x1f\xd8\xda\x35\xd3\xb3\x21\x2d\x99\x12\x92\x1e\xd7\xe5\x0e\x31\x1b\x0c\xab\x05\x47\x65\x4b\x69\x33\x92\x18\x6f\x74\xa7\x4c\xd0\x8d\xc7\x05\x0b\x9f\xba\x5c\x10\x81\xb1\x6f\x14\x81\xa5\x09\x5a\xef\xa6\x2b\x1f\x1f\xad\xb2\xe4\xb1\xbb\xae\x98\x13\x71\x7b\xdf\xdc\x6b\x0c\x0f\x8d\x64\xaa\xaa\xe7\xec\xcd\x6c\x6c\xed\x58\xe5\xaa\xad\x75\x33\x1b\xbe\x2e\xd1\x85\x32\x7f\xa5\x53\xb6\xce\x4b\xf5\xb9\x2f\xce\x9b\x95\x18\x03\x2a\x65\xc8\x9c\x56\x54\xbd\x64\xda\xd8\x9b\x23\xb3\x0c\x67\xa8\x36\x8e\xef\x39\x5f\xac\x4e\x5d\x88\xbd\xf4\x57\x84\xdb\x4f\xb2\xc1\x3f\xd3\xad\xe6\x4d\x66\xe7\xcc\x42\x21\x88\xf8\x66\x26\xc3\x41\x29\x32\x1d\xb0\x92\x8f\x88\xe1\x0f\xad\xee\x3c\x2b\x6f\xaf\x5e\x19\xbe\x2f\x54\x85\xd5\x6b\x4e\xa3\x44\x89\xec\x15\x94\x5a\x13\xfe\x34\x1b\x98\x62\xb6\xfa\xbd\x60\x40\xdc\xea\x2d\x55\xb6\x52\xeb\xa1\x32\xaf\xfd\x64\xef\xac\x57\x8b\x52\x52\x5f\x8d\xe2\x52\x53\x73\x21\x27\x64\x69\x2a\xa0\xdb\x86\x54\xa7\x56\xe6\xb2\x12\x62\x4a\x49\xb3\x97\x79\xd8\x92\x38\x5f\x6c\xcd\x7f\x52\x10\x46\x03\x16\xa4\xc9\x78\x4f\x11\xab\x73\xf7\xcc\xdf\x75\x71\x5e\x92\x67\xe1\xa5\xed\x08\xd4\xde\x62\xd6\x8b\x5a\xe8\xe4\x79\xd8\x9c\xb8\x42\x94\x5d\xf0\xcf\x4e\x5b\x66\xcf\xc8\x5b\x90\x84\x09\xdd\x4e\x52\x8b\x55\x7e\xe2\xf1\x9b\x0b\x12\x0a\xab\xa3\xbe\x86\xed\xe4\x5f\xeb\xee\xc1\x45\xea\xe6\x98\x13\xea\xbe\x18\xcf\x89\x2f\x7d\x73\xd4\xe4\x0e\xf8\xc5\xd8\x72\x50\xcf\x71\xe5\xc8\x5b\x60\x3e\x17\x8f\xff\x1f\x00\x00\xff\xff\x6b\xa4\xaf\x2d\xb1\x32\x00\x00")
func webdataFnJsBytes() ([]byte, error) {
return bindataRead(
@@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/fn.js", size: 12556, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)}
+ info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1532248388, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
diff --git a/main.go b/main.go
index 3af536e..18a30d4 100644
--- a/main.go
+++ b/main.go
@@ -43,6 +43,7 @@ const (
authenticationRateLimit time.Duration = time.Second / 10
authenticationRateBurst int = 10
challengeLength int = 8
+ defaultUpdateInterval int = 50
defaultBind string = ":0"
version string = "0.0.3"
)
@@ -127,12 +128,15 @@ func secureRandBase64(length int) string {
func main() {
var bind, certFile, keyFile, secret string
var showVersion, invert bool
+ var updateInterval int
flag.BoolVar(&showVersion, "version", false, "show program's version number and exit")
flag.StringVar(&bind, "bind", defaultBind, "bind server to [IP]:PORT")
flag.StringVar(&secret, "secret", "", "shared secret for client authentication")
flag.StringVar(&certFile, "cert", "", "file containing TLS certificate")
flag.StringVar(&keyFile, "key", "", "file containing TLS private key")
flag.BoolVar(&invert, "invert", false, "use inverse colors for QR code")
+ flag.IntVar(&updateInterval, "interval", defaultUpdateInterval,
+ "mouse polling interval in milliseconds")
flag.Parse()
if showVersion {
fmt.Println(version)
@@ -148,6 +152,9 @@ func main() {
if secret == "" {
secret = secureRandBase64(defaultSecretLength)
}
+ if updateInterval < 0 {
+ log.Fatal("interval must be greater or equal to zero")
+ }
var plugin Plugin
platformErrors := ""
for _, f := range Plugins {
@@ -199,6 +206,7 @@ func main() {
if !challenge.verify(message) {
return
}
+ websocket.Message.Send(ws, fmt.Sprintf("i%d", updateInterval))
for {
if err := websocket.Message.Receive(ws, &message); err != nil {
return
diff --git a/webdata/fn.js b/webdata/fn.js
index 0d154c1..6861e41 100644
--- a/webdata/fn.js
+++ b/webdata/fn.js
@@ -24,7 +24,6 @@ const MOVE_MULT = 1;
const SCROLL_MULT = 0.05;
// [[px/s, mult], ...]
const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]];
-const UPDATE_INTERVAL = 50;
const MAX_IDLE_UPDATES = 10;
var ws;
@@ -43,6 +42,7 @@ var scrollYSum = 0;
var dragging = false;
var draggingTimeout = null;
var updateTimer = null;
+var updateInterval = 0;
var idleUpdates = 0;
function fullscreenEnabled() {
@@ -147,8 +147,8 @@ function onDraggingTimeout() {
function updateMoveAndScroll() {
if (updateTimer == null) {
onUpdateTimeout();
- if (UPDATE_INTERVAL > 0 && idleUpdates == 0) {
- updateTimer = setInterval(onUpdateTimeout, UPDATE_INTERVAL);
+ if (updateInterval > 0 && idleUpdates == 0) {
+ updateTimer = setInterval(onUpdateTimeout, updateInterval);
}
}
}
@@ -298,6 +298,20 @@ function challengeResponse(message) {
return btoa(shaObj.getHMAC("BYTES"));
}
+function processCommand(message) {
+ if (message.charAt(0) == "i") {
+ var x = parseInt(message.substr(1));
+ if (isNaN(x) || x.toString() != message.substr(1) || x < 0) {
+ return false;
+ }
+ updateInterval = x;
+ clearInterval(updateTimer);
+ updateTimer = null;
+ return true;
+ }
+ return false;
+}
+
window.addEventListener("load", function() {
var authenticated = false;
var opening = document.getElementById("opening");
@@ -322,7 +336,9 @@ window.addEventListener("load", function() {
ws.onmessage = function(event) {
if (authenticated) {
- ws.close();
+ if (!processCommand(event.data)) {
+ ws.close();
+ }
return;
}
authenticated = true;
From 3a8ecb0b88afc6864fd232739a47e162fc2b417d Mon Sep 17 00:00:00 2001
From: Unrud
Date: Sun, 22 Jul 2018 10:38:10 +0200
Subject: [PATCH 004/311] bump version to 0.0.4
---
desktop/remote-touchpad.appdata.xml | 7 ++++---
main.go | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index 4f2b2b0..1a5b781 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -18,19 +18,20 @@
https://github.com/Unrud/remote-touchpad
Unrud
+
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/1.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/1.png
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/2.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/2.png
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.3/screenshots/3.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/3.png
diff --git a/main.go b/main.go
index 18a30d4..6c6aafe 100644
--- a/main.go
+++ b/main.go
@@ -45,7 +45,7 @@ const (
challengeLength int = 8
defaultUpdateInterval int = 50
defaultBind string = ":0"
- version string = "0.0.3"
+ version string = "0.0.4"
)
func processCommand(plugin Plugin, command string) error {
From a296bd11887e6dccdb01ad51f7519b20d8a9c08c Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:45 +0200
Subject: [PATCH 005/311] set mode and modTime
---
bindata.generated.go | 12 ++++++------
bindata.go | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/bindata.generated.go b/bindata.generated.go
index d66bb51..295f7c6 100644
--- a/bindata.generated.go
+++ b/bindata.generated.go
@@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1532248388, 0)}
+ info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -109,7 +109,7 @@ func webdataIconPng() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)}
+ info := bindataFileInfo{name: "webdata/icon.png", size: 1578, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -129,7 +129,7 @@ func webdataIndexHtml() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)}
+ info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -149,7 +149,7 @@ func webdataMainCss() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)}
+ info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -169,7 +169,7 @@ func webdataSha256Js() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)}
+ info := bindataFileInfo{name: "webdata/sha256.js", size: 9380, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -189,7 +189,7 @@ func webdataTexPng() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1529985773, 0)}
+ info := bindataFileInfo{name: "webdata/tex.png", size: 3878, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
diff --git a/bindata.go b/bindata.go
index 5465368..3ed0ac6 100644
--- a/bindata.go
+++ b/bindata.go
@@ -1,3 +1,3 @@
package main
-//go:generate go-bindata-assetfs -o ./bindata.generated.go webdata/...
+//go:generate go-bindata-assetfs -mode 0664 -modtime 1 -o ./bindata.generated.go webdata/...
From 26337f3a0e164e5c498ec00d53933a810f22458f Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:47 +0200
Subject: [PATCH 006/311] break long lines
---
host.go | 3 ++-
plugin_windows.go | 14 ++++++++++----
plugin_x11.go | 15 ++++++++++-----
3 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/host.go b/host.go
index beb5921..f22174d 100644
--- a/host.go
+++ b/host.go
@@ -61,7 +61,8 @@ func FindDefaultHost() string {
if fallbackAddr == "" {
fallbackAddr = ip.String()
}
- for _, linkLocalPrefix := range []string{"169.254.", "fe8", "fe9", "fea", "feb"} {
+ for _, linkLocalPrefix := range []string{
+ "169.254.", "fe8", "fe9", "fea", "feb"} {
if strings.HasPrefix(ip.String(), linkLocalPrefix) {
continue addrs
}
diff --git a/plugin_windows.go b/plugin_windows.go
index 34c472f..8ad78e7 100644
--- a/plugin_windows.go
+++ b/plugin_windows.go
@@ -98,7 +98,9 @@ func (p *windowsPlugin) KeyboardText(text string) error {
inputs[i].dwFlags |= keyeventfKeyup
}
}
- if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)), uintptr(unsafe.Pointer(&inputs[0])), unsafe.Sizeof(inputs[0])); int(r) != len(inputs) {
+ if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)),
+ uintptr(unsafe.Pointer(&inputs[0])),
+ unsafe.Sizeof(inputs[0])); int(r) != len(inputs) {
return err
}
return nil
@@ -124,7 +126,8 @@ func (p *windowsPlugin) PointerButton(button uint, press bool) error {
} else if button == 3 {
input.dwFlags = mouseeventfRightup
}
- if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), unsafe.Sizeof(input)); int(r) != 1 {
+ if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
+ unsafe.Sizeof(input)); int(r) != 1 {
return err
}
return nil
@@ -137,7 +140,8 @@ func (p *windowsPlugin) PointerMove(deltaX, deltaY int) error {
dy: int32(deltaY),
dwFlags: mouseeventfMove,
}
- if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)), unsafe.Sizeof(input)); int(r) != 1 {
+ if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
+ unsafe.Sizeof(input)); int(r) != 1 {
return err
}
return nil
@@ -162,7 +166,9 @@ func (p *windowsPlugin) PointerScroll(stepsHorizontal, stepsVertical int) error
if len(inputs) == 0 {
return nil
}
- if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)), uintptr(unsafe.Pointer(&inputs[0])), unsafe.Sizeof(inputs[0])); int(r) != len(inputs) {
+ if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)),
+ uintptr(unsafe.Pointer(&inputs[0])),
+ unsafe.Sizeof(inputs[0])); int(r) != len(inputs) {
return err
}
return nil
diff --git a/plugin_x11.go b/plugin_x11.go
index bf520f4..15e1d91 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -71,7 +71,8 @@ func (p *x11Plugin) KeyboardText(text string) error {
var minKeycodes, maxKeycodes C.int
C.XDisplayKeycodes(p.display, &minKeycodes, &maxKeycodes)
var keysymsPerKeycode C.int
- keysyms := C.XGetKeyboardMapping(p.display, C.KeyCode(minKeycodes), maxKeycodes-minKeycodes+1, &keysymsPerKeycode)
+ keysyms := C.XGetKeyboardMapping(p.display, C.KeyCode(minKeycodes),
+ maxKeycodes-minKeycodes+1, &keysymsPerKeycode)
if keysyms == nil {
return errors.New("failed to get keyboard mapping")
}
@@ -79,8 +80,10 @@ func (p *x11Plugin) KeyboardText(text string) error {
keycodes:
for keycode := C.KeyCode(minKeycodes); keycode <= C.KeyCode(maxKeycodes); keycode++ {
for i := 0; i < int(keysymsPerKeycode); i++ {
- keysymsIndex := int(keycode-C.KeyCode(minKeycodes))*int(keysymsPerKeycode) + i
- keysym := *(*C.KeySym)(unsafe.Pointer(uintptr(unsafe.Pointer(keysyms)) + uintptr(keysymsIndex)*unsafe.Sizeof(*keysyms)))
+ keysymsIndex := int(keycode-
+ C.KeyCode(minKeycodes))*int(keysymsPerKeycode) + i
+ keysym := *(*C.KeySym)(unsafe.Pointer(uintptr(unsafe.Pointer(keysyms)) +
+ uintptr(keysymsIndex)*unsafe.Sizeof(*keysyms)))
if keysym != 0 {
continue keycodes
}
@@ -98,7 +101,8 @@ keycodes:
for i := range keycodeMapping {
keycodeMapping[i] = keysym
}
- C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
+ C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode,
+ (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
C.XTestFakeKeyEvent(p.display, C.uint(emptyKeycode), C.True, 0)
C.XTestFakeKeyEvent(p.display, C.uint(emptyKeycode), C.False, 0)
// race condition!
@@ -108,7 +112,8 @@ keycodes:
for i := range keycodeMapping {
keycodeMapping[i] = 0
}
- C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode, (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
+ C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode,
+ (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
C.XFlush(p.display)
return nil
}
From a9230ceea4f1d997e1a82690f3e3aff71b1bcbf4 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:49 +0200
Subject: [PATCH 007/311] use defer for cleanup
---
plugin_x11.go | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/plugin_x11.go b/plugin_x11.go
index 15e1d91..89cdcb8 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -76,6 +76,7 @@ func (p *x11Plugin) KeyboardText(text string) error {
if keysyms == nil {
return errors.New("failed to get keyboard mapping")
}
+ defer C.XFree(unsafe.Pointer(keysyms))
emptyKeycode := C.KeyCode(0)
keycodes:
for keycode := C.KeyCode(minKeycodes); keycode <= C.KeyCode(maxKeycodes); keycode++ {
@@ -91,11 +92,18 @@ keycodes:
emptyKeycode = keycode
break
}
- C.XFree(unsafe.Pointer(keysyms))
if emptyKeycode == 0 {
return errors.New("no empty keycode found")
}
keycodeMapping := make([]C.KeySym, keysymsPerKeycode)
+ defer func() {
+ for i := range keycodeMapping {
+ keycodeMapping[i] = 0
+ }
+ C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode,
+ (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
+ C.XFlush(p.display)
+ }()
for _, runeValue := range text {
keysym := C.KeySym(0x01000000 + runeValue)
for i := range keycodeMapping {
@@ -109,12 +117,6 @@ keycodes:
C.XFlush(p.display)
time.Sleep(typingDelay)
}
- for i := range keycodeMapping {
- keycodeMapping[i] = 0
- }
- C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode,
- (*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
- C.XFlush(p.display)
return nil
}
From 57d37479682f967238eefa30ce92ef21d0ab0582 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:52 +0200
Subject: [PATCH 008/311] remove goto
---
host.go | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/host.go b/host.go
index f22174d..483f7ec 100644
--- a/host.go
+++ b/host.go
@@ -25,8 +25,8 @@ import (
"strings"
)
-func FindDefaultHost() string {
- fallbackAddr := ""
+func FindDefaultHost() (host string) {
+ host = "localhost"
for _, publicIP := range []string{"2001:4860:4860::8888", "8.8.8.8"} {
addr := fmt.Sprintf("[%s]:80", publicIP)
conn, err := net.Dial("udp", addr)
@@ -34,15 +34,15 @@ func FindDefaultHost() string {
continue
}
conn.Close()
- host, _, err := net.SplitHostPort(conn.LocalAddr().String())
+ host, _, err = net.SplitHostPort(conn.LocalAddr().String())
if err != nil {
- continue
+ panic(err)
}
- return host
+ return
}
interfaces, err := net.Interfaces()
if err != nil {
- goto fallback
+ return
}
for _, inter := range interfaces {
if inter.Flags&net.FlagUp == 0 || inter.Flags&net.FlagLoopback != 0 {
@@ -58,8 +58,8 @@ func FindDefaultHost() string {
if err != nil {
continue
}
- if fallbackAddr == "" {
- fallbackAddr = ip.String()
+ if host == "localhost" {
+ host = ip.String()
}
for _, linkLocalPrefix := range []string{
"169.254.", "fe8", "fe9", "fea", "feb"} {
@@ -71,9 +71,5 @@ func FindDefaultHost() string {
}
}
-fallback:
- if fallbackAddr != "" {
- return fallbackAddr
- }
- return "localhost"
+ return
}
From f2e67640feeb69cf2f53f91cac986221657ad2bb Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:54 +0200
Subject: [PATCH 009/311] remove duplicate check
---
plugin_windows.go | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/plugin_windows.go b/plugin_windows.go
index 8ad78e7..61454b3 100644
--- a/plugin_windows.go
+++ b/plugin_windows.go
@@ -107,9 +107,6 @@ func (p *windowsPlugin) KeyboardText(text string) error {
}
func (p *windowsPlugin) PointerButton(button uint, press bool) error {
- if button == 0 || button > 3 {
- return errors.New("unsupported pointer button")
- }
input := mouseInput{
typ: inputMouse,
}
@@ -125,6 +122,8 @@ func (p *windowsPlugin) PointerButton(button uint, press bool) error {
input.dwFlags = mouseeventfRightdown
} else if button == 3 {
input.dwFlags = mouseeventfRightup
+ } else {
+ return errors.New("unsupported pointer button")
}
if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
unsafe.Sizeof(input)); int(r) != 1 {
From f9ab379abc595bd0c029aa29c68de501a6180eea Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:56 +0200
Subject: [PATCH 010/311] rename "unknown" to "unsupported"
---
main.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.go b/main.go
index 6c6aafe..4707aac 100644
--- a/main.go
+++ b/main.go
@@ -79,7 +79,7 @@ func processCommand(plugin Plugin, command string) error {
}
if command[0] == 'b' {
if x <= 0 || x > 3 {
- return errors.New("unknown pointer button")
+ return errors.New("unsupported pointer button")
}
b := true
if y == 0 {
@@ -87,7 +87,7 @@ func processCommand(plugin Plugin, command string) error {
}
return plugin.PointerButton(uint(x), b)
}
- return errors.New("unknown command")
+ return errors.New("unsupported command")
}
type challenge struct {
From 5fe430b3f22f057d7105d9fca71e3d83f898c4fb Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:18:58 +0200
Subject: [PATCH 011/311] wait on error when started via desktop file
---
desktop/remote-touchpad-wait-on-error | 8 ++++++++
desktop/remote-touchpad.desktop | 2 +-
flatpak/com.github.unrud.RemoteTouchpad.json | 1 +
3 files changed, 10 insertions(+), 1 deletion(-)
create mode 100644 desktop/remote-touchpad-wait-on-error
diff --git a/desktop/remote-touchpad-wait-on-error b/desktop/remote-touchpad-wait-on-error
new file mode 100644
index 0000000..88778dd
--- /dev/null
+++ b/desktop/remote-touchpad-wait-on-error
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+remote-touchpad "$@"
+if [ $? -eq 1 ]; then
+ echo
+ read -n 1 -s -r -p "Press any key to close"
+ echo
+fi
diff --git a/desktop/remote-touchpad.desktop b/desktop/remote-touchpad.desktop
index 8ba6773..7924c12 100644
--- a/desktop/remote-touchpad.desktop
+++ b/desktop/remote-touchpad.desktop
@@ -4,6 +4,6 @@ Type=Application
Name=Remote Touchpad
Comment=Control mouse and keyboard from a smartphone
Terminal=true
-Exec=remote-touchpad
+Exec=remote-touchpad-wait-on-error
Icon=remote-touchpad
Categories=Network;RemoteAccess;ConsoleOnly;
diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json
index ef4b838..efa6dc7 100644
--- a/flatpak/com.github.unrud.RemoteTouchpad.json
+++ b/flatpak/com.github.unrud.RemoteTouchpad.json
@@ -47,6 +47,7 @@
"build-commands" : [
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad",
"install -Dm0755 -t /app/bin remote-touchpad",
+ "install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",
"install -Dm0644 -t /app/share/applications src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.desktop",
"install -Dm0644 src/github.com/unrud/remote-touchpad/desktop/remote-touchpad_64.png /app/share/icons/hicolor/64x64/apps/remote-touchpad.png",
From e73a18710b28362a0754e0c9adaab791bbf4f2ef Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:00 +0200
Subject: [PATCH 012/311] use build tag for x11
---
README.md | 2 +-
desktop/remote-touchpad.appdata.xml | 2 +-
flatpak/com.github.unrud.RemoteTouchpad.json | 2 +-
plugin_x11.go | 2 +-
plugin_x11_dummy.go | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 17d955c..904fd5e 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen).
To take control open the displayed URL or scan the QR code.
-Supports Linux/X11 and Windows.
+Supports Windows and X11.
## Installation
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index 1a5b781..b549b08 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -11,7 +11,7 @@
To take control open the displayed URL or scan the QR code.
- Supports Linux/X11 and Windows.
+ Supports Windows and X11.
https://github.com/Unrud/remote-touchpad/issues
diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json
index efa6dc7..151250b 100644
--- a/flatpak/com.github.unrud.RemoteTouchpad.json
+++ b/flatpak/com.github.unrud.RemoteTouchpad.json
@@ -45,7 +45,7 @@
],
"buildsystem" : "simple",
"build-commands" : [
- ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build github.com/unrud/remote-touchpad",
+ ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags x11 github.com/unrud/remote-touchpad",
"install -Dm0755 -t /app/bin remote-touchpad",
"install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",
diff --git a/plugin_x11.go b/plugin_x11.go
index 89cdcb8..50555fd 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -1,4 +1,4 @@
-// +build linux
+// +build x11
/*
* Copyright (c) 2018 Unrud
diff --git a/plugin_x11_dummy.go b/plugin_x11_dummy.go
index 029f5aa..d404c0c 100644
--- a/plugin_x11_dummy.go
+++ b/plugin_x11_dummy.go
@@ -1,4 +1,4 @@
-// +build !linux
+// +build !x11
/*
* Copyright (c) 2018 Unrud
From fe568cd37cee6c647cd30f0a4ec435e3e9c802c2 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:02 +0200
Subject: [PATCH 013/311] add changelog
---
CHANGELOG.md | 17 +++++++++++++++++
desktop/remote-touchpad.appdata.xml | 22 ++++++++++++++++++----
2 files changed, 35 insertions(+), 4 deletions(-)
create mode 100644 CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..3df0d89
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,17 @@
+# Changelog
+
+## 0.0.4 (2018-07-22)
+
+ * add setting for mouse polling interval
+
+## 0.0.3 (2018-06-26)
+
+ * fix websocket with https
+
+## 0.0.2 (2018-06-25)
+
+ * add reload button to disconnected-page
+
+## 0.0.1 (2018-06-23)
+
+initial release
\ No newline at end of file
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index b549b08..5e269ed 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -18,10 +18,24 @@
https://github.com/Unrud/remote-touchpad
Unrud
-
-
-
-
+
+
+ - add setting for mouse polling interval
+
+
+
+
+ - fix websocket with https
+
+
+
+
+ - add reload button to disconnected-page
+
+
+
+ initial release
+
From 2eb0baaca1834c6641924719732b9b822ecb9856 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:05 +0200
Subject: [PATCH 014/311] log plugin errors
---
main.go | 11 +++++++----
plugin.go | 16 +++++++++-------
plugin_windows.go | 2 +-
plugin_windows_dummy.go | 4 +++-
plugin_x11.go | 3 ++-
plugin_x11_dummy.go | 4 +++-
6 files changed, 25 insertions(+), 15 deletions(-)
diff --git a/main.go b/main.go
index 4707aac..2d354df 100644
--- a/main.go
+++ b/main.go
@@ -156,16 +156,18 @@ func main() {
log.Fatal("interval must be greater or equal to zero")
}
var plugin Plugin
+ var pluginName string
platformErrors := ""
- for _, f := range Plugins {
+ for _, pluginInfo := range Plugins {
+ pluginName = pluginInfo.Name
var err error
- plugin, err = f()
+ plugin, err = pluginInfo.Init()
if err == nil {
break
} else if _, ok := err.(UnsupportedPlatformError); ok {
- platformErrors += err.Error() + "\n"
+ platformErrors += fmt.Sprintf("%s plugin: %v\n", pluginName, err)
} else {
- log.Fatal(err)
+ log.Fatal(fmt.Sprintf("%s plugin: %v", pluginName, err))
}
}
if plugin == nil {
@@ -212,6 +214,7 @@ func main() {
return
}
if err := processCommand(plugin, message); err != nil {
+ log.Print(fmt.Sprintf("%s plugin: %v", pluginName, err))
return
}
}
diff --git a/plugin.go b/plugin.go
index 014f6ef..8f9c722 100644
--- a/plugin.go
+++ b/plugin.go
@@ -19,20 +19,22 @@
package main
-import "fmt"
+type PluginInfo struct {
+ Name string
+ Init func() (Plugin, error)
+}
-var Plugins [](func() (Plugin, error)) = [](func() (Plugin, error)){
- InitX11Plugin,
- InitWindowsPlugin,
+var Plugins []PluginInfo = []PluginInfo{
+ {"X11", InitX11Plugin},
+ {"Windows", InitWindowsPlugin},
}
type UnsupportedPlatformError struct {
- name string
- message string
+ err error
}
func (e UnsupportedPlatformError) Error() string {
- return fmt.Sprintf("%s plugin: %s", e.name, e.message)
+ return e.err.Error()
}
type Plugin interface {
diff --git a/plugin_windows.go b/plugin_windows.go
index 61454b3..64db40f 100644
--- a/plugin_windows.go
+++ b/plugin_windows.go
@@ -75,7 +75,7 @@ func InitWindowsPlugin() (Plugin, error) {
p.userDLL = syscall.NewLazyDLL("user32.dll")
p.sendInputProc = p.userDLL.NewProc("SendInput")
if err := p.sendInputProc.Find(); err != nil {
- return nil, UnsupportedPlatformError{"Windows", err.Error()}
+ return nil, UnsupportedPlatformError{err}
}
return p, nil
}
diff --git a/plugin_windows_dummy.go b/plugin_windows_dummy.go
index 8db1b06..dae0dbe 100644
--- a/plugin_windows_dummy.go
+++ b/plugin_windows_dummy.go
@@ -21,6 +21,8 @@
package main
+import "errors"
+
func InitWindowsPlugin() (Plugin, error) {
- return nil, UnsupportedPlatformError{"Windows", "disabled"}
+ return nil, UnsupportedPlatformError{errors.New("disabled")}
}
diff --git a/plugin_x11.go b/plugin_x11.go
index 50555fd..8031dad 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -43,7 +43,8 @@ type x11Plugin struct {
func InitX11Plugin() (Plugin, error) {
display := C.XOpenDisplay(nil)
if display == nil {
- return nil, UnsupportedPlatformError{"X11", "failed to connect to X server"}
+ return nil, UnsupportedPlatformError{
+ errors.New("failed to connect to X server")}
}
return &x11Plugin{display: display}, nil
}
diff --git a/plugin_x11_dummy.go b/plugin_x11_dummy.go
index d404c0c..9b41d2e 100644
--- a/plugin_x11_dummy.go
+++ b/plugin_x11_dummy.go
@@ -21,6 +21,8 @@
package main
+import "errors"
+
func InitX11Plugin() (Plugin, error) {
- return nil, UnsupportedPlatformError{"X11", "disabled"}
+ return nil, UnsupportedPlatformError{errors.New("disabled")}
}
From e8779478241195a8835e456b8822efdd03d1560c Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:06 +0200
Subject: [PATCH 015/311] remove mouse polling interval
---
bindata.generated.go | 4 ++--
main.go | 11 ++---------
webdata/fn.js | 38 +-------------------------------------
3 files changed, 5 insertions(+), 48 deletions(-)
diff --git a/bindata.generated.go b/bindata.generated.go
index 295f7c6..9c02c58 100644
--- a/bindata.generated.go
+++ b/bindata.generated.go
@@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}
-var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5b\x6f\xdb\x38\x97\xef\xfe\x15\xa7\x7a\x28\xe4\xc6\xf1\x25\x45\x77\x06\x75\x9d\x5d\x4f\xea\x4c\x82\xc9\x0d\xb6\xb3\x53\x23\x08\x0a\x5a\x3a\xb6\x35\x95\x49\x8d\x48\xc5\x49\xb7\xf9\xef\x0b\xea\x4a\x51\x94\x9c\x76\xbe\xbe\x7c\xf8\x0c\x4c\x47\x21\xcf\x39\x3c\xf7\x0b\xa5\xde\x9b\x16\xbc\x01\x00\x38\x61\xc1\x53\xe8\xad\x37\x02\x6c\xa7\x0d\x47\xfd\xc1\xaf\x70\x4b\xc3\xc8\xfd\x10\xc9\x7f\xff\x87\x45\xc2\x67\xec\x4b\xd7\x61\xdb\xe3\x16\x64\x48\xf3\x8d\xc7\x61\xe5\xf9\x08\x1e\x87\x80\x84\x02\xd8\x0a\xa6\xb8\x65\x02\x0f\xe7\x2c\x72\x36\x01\x71\xbb\x05\xf8\x29\x63\x4b\x12\x4a\xd8\x55\x88\x08\x9c\xad\xc4\x8e\x84\xf8\x1e\x9e\x58\x04\x0e\xa1\x10\xa2\xeb\x71\x11\x7a\xcb\x48\x20\x78\x02\x08\x75\x7b\x2c\x84\x2d\x73\xbd\xd5\x53\x4a\xc4\x13\x10\x51\x17\x43\x10\x1b\x04\x81\xe1\x96\xcb\x43\xe5\x1f\xbf\x5f\xdd\xc2\xef\x48\x31\x24\x3e\xdc\x44\x4b\xdf\x73\xe0\xc2\x73\x90\x72\x04\xc2\x21\x90\x2b\x7c\x83\x2e\x2c\x33\x52\x12\xe9\x54\x72\x32\x4b\x39\x81\x53\x16\x51\x97\x08\x8f\xd1\x0e\xa0\x27\x36\x18\xc2\x03\x86\xdc\x63\x14\xde\x66\xc7\xa4\x34\x3b\xc0\xc2\x94\x8e\x4d\x84\x14\x21\x04\x16\x48\xd4\x36\x10\xfa\x04\x3e\x11\x05\xb6\xa2\x04\x4d\x3d\x52\x1b\x85\xd0\x2e\x78\x34\x3e\x64\xc3\x02\x04\xb1\x21\x42\xca\xbb\xf3\x7c\x1f\x96\x08\x11\xc7\x55\xe4\x77\x52\x42\xcb\x48\xc0\x9f\xe7\xf3\xb3\xeb\xdb\x39\x8c\xaf\x16\xf0\xe7\x78\x3a\x1d\x5f\xcd\x17\x43\xd8\x79\x62\xc3\x22\x01\xf8\x80\x09\x35\x6f\x1b\xf8\x1e\xba\xb0\x23\x61\x48\xa8\x78\x02\xb6\x4a\x89\x5c\x4e\xa6\x27\x67\xe3\xab\xf9\xf8\xb7\xf3\x8b\xf3\xf9\x02\x58\x08\xa7\xe7\xf3\xab\xc9\x6c\x06\xa7\xd7\x53\x18\xc3\xcd\x78\x3a\x3f\x3f\xb9\xbd\x18\x4f\xe1\xe6\x76\x7a\x73\x3d\x9b\x74\x01\x66\x28\x99\xc3\x94\x46\x83\xde\x57\xb1\xf5\x42\x04\x17\x05\xf1\x7c\x5e\xe8\x61\xc1\x22\xe0\x1b\x16\xf9\x2e\x6c\xc8\x03\x42\x88\x0e\x7a\x0f\xe8\x02\x01\x87\x05\x4f\xfb\x6d\x9a\x90\x21\x3e\xa3\xeb\x58\xe0\xd4\xbb\xba\x00\xe7\x2b\xa0\x4c\x74\x80\x23\xc2\x87\x8d\x10\xc1\xfb\x5e\x6f\xb7\xdb\x75\xd7\x34\xea\xb2\x70\xdd\xf3\x13\x02\xbc\x77\x2c\xd9\xe9\xb5\x5a\xd0\xeb\xc1\xdd\x00\x62\x93\x74\xe0\x28\x79\x40\xde\x81\xb7\xd9\xe3\x7d\xcb\x61\x94\x0b\x98\x5f\xdf\x9e\x9c\x7d\xbe\xbc\xfe\xdf\xc9\xe7\xf9\xd9\x74\x32\x3b\xbb\xbe\xf8\x08\x23\xb8\x1b\xf4\x3b\x30\x78\x27\xff\xbb\x1f\x96\x40\xe7\xe7\x97\x13\x69\xa0\x11\x1c\xbd\xeb\x67\x5b\x31\xfe\xe5\xed\x85\x5c\x1e\x64\x8b\xb3\x93\xe9\xf5\xc5\x45\xb6\xdc\xef\xf6\xdf\x0d\x5b\x92\xaf\xbb\xe0\xb1\xc7\x3b\xb0\x8d\x7c\x71\xdf\x81\x6e\xb7\x9b\xf1\x72\x73\x7d\x7e\x35\x9f\x4c\x3f\x8f\x4f\x4e\x26\x17\x93\xe9\x78\x7e\x7e\x7d\x25\x79\xb9\xeb\x77\xa0\x7f\xdf\x81\xbb\x5f\x7f\xe9\xc0\x40\x3e\x0c\x7e\x79\x9b\x3e\xbd\x7b\xf7\xb6\x03\x47\xf7\x39\x93\x97\xe3\x4f\x9f\xcf\x3f\x5e\x4c\x3e\xdf\xde\x7c\x1c\xcf\x27\x33\xc9\x50\x7f\xd8\x6a\x3d\x90\x10\x76\x7c\x18\xff\x3f\x20\x6e\xfe\xe0\x93\x25\xfa\xe9\xbe\x90\xaa\xb9\x64\xd2\x66\x23\x58\x11\x9f\xe3\xb0\x58\x9f\x09\x99\x0d\x46\xd0\x57\xd6\x2e\x08\x17\x13\xea\x6a\xab\x53\xf4\x91\x70\x74\x4f\x58\x44\x15\x0c\x46\xd7\xcc\xa3\xeb\x54\xff\x52\xae\xfb\x64\x63\xcb\x1e\xf0\xd3\x2c\xda\x16\xa0\x72\x65\x51\x5a\xe1\x4e\xc8\x7c\xff\x93\x61\xad\x0c\xe7\x86\x64\xbd\xf6\xe8\xba\x2c\x40\xb6\x3a\xf7\xb6\x28\xc3\x68\x04\x34\xf2\xfd\x64\x2f\x0a\x5c\x22\x50\xee\x84\x86\xf5\x73\x2a\x30\x7c\x20\x7e\x71\x82\xe7\xfa\x78\x1b\xef\xf1\x64\xb1\xb5\x8a\xa8\x23\xb3\x04\xac\x22\xdf\xe7\x4e\x88\x48\x27\x94\x2c\x7d\x74\xed\x36\xfc\x5f\x4b\x06\x54\x88\x22\x0a\x29\xd8\x2e\x73\xa2\x2d\x52\xd1\xad\x80\xc2\xb7\x6f\x31\xa4\xfc\xe5\x50\x3b\x5c\x7e\xf1\xc4\xe9\x8b\x60\xb7\xec\xab\x04\x9c\xed\x07\xe4\x8d\x04\x63\xb5\xb5\x87\xad\x67\x45\xb0\x10\xff\x8e\x90\x2b\x8c\xd8\x98\x49\xe6\xad\xc0\xc6\x6e\x05\x20\xdb\x96\x3f\xc3\xb6\xdd\x1e\xc6\xdb\xcf\x80\x3e\xc7\x94\x48\x22\xed\xb4\x99\x54\x0d\x90\x91\xe0\x96\x7d\x55\x00\x67\x06\x6a\x26\x08\x33\x29\xbe\x87\x2f\x03\x40\x4e\xa8\xa4\x4b\x7c\xf4\x4a\x30\x8a\x1e\x73\x13\x95\x61\xd4\x83\x6a\x40\x0c\x3c\x6b\x4e\x34\xd9\x4f\xd2\x04\xd8\x44\x78\xcb\xbe\x9e\x10\xea\xa0\x6f\xd6\x6e\x13\x5c\x23\x59\xfe\x02\x5e\x75\x20\xb3\xae\x95\x28\xf3\x51\xe2\xbd\x28\x20\x13\xd0\x97\x05\x64\x03\x6c\x39\x20\x9b\x00\x79\x23\x41\x99\x92\xb4\x78\x24\xae\x5b\xa0\x38\x1b\x42\xd7\x38\x79\x40\x2a\x2e\x3c\x2e\x64\x69\xb5\xfd\xf4\xc1\xe8\x5d\x55\x51\x5f\x8d\x46\x71\x0b\xb6\xf2\x28\xba\x46\x7d\x13\xd7\x2d\x9f\x60\xad\x34\x06\xac\x0e\xe4\xa7\xee\x73\xc6\xaa\xbc\x3f\xc2\x41\x42\xeb\xc7\xf8\x30\x1a\xe7\x47\x98\xd8\xb2\xaf\x3f\xc8\x81\xc1\xea\x3f\xc2\xc0\xe5\xac\xa0\x73\x52\x77\x7e\xc9\x7b\x64\x37\x16\x57\x61\x5b\x24\xfd\x91\xf0\xb6\x38\x13\x64\x1b\x68\xd1\x51\x9c\xef\xb9\x48\x85\xb7\xf2\x30\x7c\x9f\xd4\xf8\x6e\xb1\xd2\xc9\xa1\x02\xb2\xc6\x4f\x19\x40\xfc\x87\xb6\x17\xf7\x10\x0d\x00\x0b\x75\x6f\xa1\xed\x55\x90\x15\x80\x5c\x82\xf7\xc5\x63\x22\x79\x39\x70\xd4\x1e\xe4\x9c\xba\xf8\xf8\xdb\xd3\xb9\x6b\x7b\xee\x9c\x9d\x7a\x34\xd7\xb8\xec\x71\xed\xb8\xd6\xc7\x15\x1e\x3c\xf8\xa0\x75\x2f\x5d\x1f\xe9\x5a\x6c\x86\xe0\x1d\x1c\xa8\x76\x4a\x1a\x04\x18\x69\xe0\x77\xde\xbd\xa2\xb0\x61\xab\xd0\xeb\x0a\x6c\x09\x3f\x02\x9d\x87\xec\x97\x9a\xc2\x1b\xe6\xab\xcf\xad\xe2\xdf\x74\xf7\x70\x50\x16\xd3\x21\xbe\x13\xc9\x71\xe5\x86\x79\xb2\x81\x19\x3b\x0e\xfa\x18\xc6\x63\xd0\x65\xe4\x0b\x9b\x07\x88\x8d\xe2\x9a\x5a\xd1\x3a\xa1\xf9\x11\x8c\x8c\x08\x77\xde\xfd\x5d\xff\xbe\xe0\x9c\x34\x01\x0e\x14\x40\xa9\x16\x7e\x04\x1f\x46\x50\x62\x34\xfb\x39\x8c\x0a\x8f\x46\xa8\xeb\x24\xd7\xa8\x54\x68\xbf\x46\x93\xe4\xc8\x84\xc6\x07\xb5\xac\x1d\x0e\x34\x29\x9a\x41\x55\x39\xb2\x2a\x93\xe8\xfb\x90\x0f\xda\xd0\x93\x92\xc9\xa7\x36\xbc\x01\x9b\x1c\x1d\x92\x41\x1b\x0e\x80\x0c\x86\x8a\x59\xa5\x10\x0d\x16\x80\xe3\xb2\x74\xe9\x31\x46\x9e\x1a\xc8\xa8\xdc\x96\xdc\x69\xa0\x07\xcd\xc7\x72\xff\x9c\x57\xd1\xba\xbe\x5a\xee\xed\x78\x97\x23\x75\x6d\x6b\x39\x18\xf6\x2d\xad\x80\x25\xcd\xb5\x1c\x35\xc6\xd4\x9d\xc5\x7d\x7c\xa9\x13\x2a\x35\xe5\x09\x55\x55\x60\x46\x6f\x73\x80\x98\x9f\xb2\xeb\x68\xad\xfb\x31\xf4\xe1\xf5\xeb\x72\xe3\x6e\xf0\x8f\xf2\x20\xc0\x51\x64\x04\x6c\xed\xb8\x8e\x36\x1b\xb4\xab\xb1\x59\x56\x9f\xc6\x6c\x26\xa7\xc2\xcf\x41\x3c\x36\x66\x19\x24\x1e\x88\x60\x04\x97\x44\x6c\xba\x22\x8c\xa8\x63\x67\x33\x52\xbb\x0c\xb5\xa8\x42\x2d\x0a\x28\xa9\x8b\x78\x97\x2c\x79\x42\xa1\x0d\xc7\x23\x18\xc0\xb7\x6f\x50\x5a\x5f\x24\xeb\xaa\x46\xf2\xa1\xec\x70\x94\x3c\x0f\x4b\x5b\x0b\x65\x6b\xa1\x68\x5f\x1f\x8e\xb2\x8d\xdc\x1b\xb6\x16\x1c\xa4\x02\x1e\x80\x35\xcc\xfe\x5a\xb4\x55\x3f\x54\x26\xbe\xb2\x80\xc5\x18\xa8\x28\x22\x9d\x03\x4d\x90\x75\xca\x48\xe9\x18\xd4\x91\xe2\x55\x15\xa2\x4c\xa0\x87\xa3\xec\xaf\xa1\xb6\xbd\x28\x6d\x7f\x97\x62\xb8\x54\x45\x26\x74\xa6\x9a\x8c\x1b\x3d\x39\xa8\xe4\x8e\x47\x95\xa1\x5f\xe5\xdb\xf1\x91\x84\xb9\x2b\x2b\x4e\xae\xb8\xad\x69\x06\xae\x3a\xf2\x86\x50\xd7\xc7\xb8\x0c\xdb\xf8\x20\xd4\x78\x35\x56\xc7\x4a\x94\x95\xee\x11\xf0\x41\x74\xf3\x5a\x3d\x2c\xc3\x68\x77\x10\xa5\x3d\xc3\xed\x42\xb6\x5f\x1d\xfe\xcb\x2e\x25\xf2\xab\x07\x79\x78\xd2\xac\xb9\x29\xcf\xc3\xda\x52\x28\x9a\x4b\xbe\x14\x5f\x14\x65\x5e\x90\x70\x8d\x49\x27\x17\x10\x57\xe6\x9d\xda\xcd\xf8\xea\xe5\x7b\x6a\x9b\xe4\x3a\x08\x51\xf6\x7f\x1f\x71\x45\x64\x21\x57\x8c\xa8\xd9\x20\x88\xf8\xc6\xd6\x5a\xbd\x98\x8b\x4e\x59\xf5\xed\xb6\xa6\xe0\xd2\xa5\x8e\x2a\xe5\xab\x4c\xbf\x3a\xcf\xca\x05\x4e\x7d\xca\xaa\x64\x8f\xa6\xcc\x55\x96\xbb\x74\xf9\xd3\x94\x0d\xb4\x40\x6c\x4e\x08\x99\x58\x7a\x11\x7b\x65\x28\x38\x79\x20\x65\x49\x5c\x43\xd2\x64\x6c\xaa\x8b\x06\x67\x15\x61\xd5\xde\xa6\xd0\x9b\x50\x57\x0d\xbc\x9f\xe6\xd2\x49\x17\xfb\xa8\xb5\xb1\x45\xbf\x2c\x4c\x5d\xad\xa6\x55\x89\xff\xa1\x5a\x64\x9b\xdc\x5b\x73\x60\x1e\xf8\x9e\x83\x92\x50\x07\x06\xba\x93\x96\xb2\xc0\xc1\x41\xad\x0b\x1b\xb2\x4c\x91\x45\x0d\xf9\xe4\xd8\x78\x21\x9c\x2a\xaa\x92\xcb\xb2\x3c\x55\x18\xf0\xf9\x05\x29\x31\x4f\x0a\xda\xd1\xb2\x14\xbd\x7e\x6d\x74\x12\xf5\xe4\x4a\x63\xf5\x13\xce\x7d\xa5\x88\xf7\xfa\x75\x59\x8b\x70\xa8\x26\xf2\x0f\xe5\x6b\x71\xdd\x8d\x96\x91\x10\x8c\x56\x73\x89\x29\x95\x6b\x05\x17\x92\x37\x22\x09\xfa\x40\x71\x98\x62\x98\x36\x53\x39\xaa\xa5\xf2\x56\xa1\xb2\x87\xc8\xdb\x5a\x22\xc6\xf9\xa1\x30\x8a\x2c\xdb\x29\xac\xac\xe2\x03\x4b\x0b\x8c\x8c\x8e\x41\xda\x6a\xda\xe0\x28\xb2\x8c\x53\xe9\xc2\x3b\x9a\xe6\x2b\x1a\x2a\x13\xaf\xe5\xb0\x6f\xed\x69\x60\x93\xe4\x93\x5c\xe1\xfd\x27\xff\xfc\xe3\xfc\x03\x4d\xd9\xa3\xaa\x77\x09\xa5\x6b\x9d\x47\xdb\x4f\x45\x4c\xa5\x2b\x8b\xf2\xca\xbf\x93\x65\xe2\x77\x38\x1e\x17\x59\x45\xe7\x7f\x87\x22\x69\xe6\x03\xb6\x53\x0f\x8d\xef\x94\xe0\xb0\x72\xfd\xe2\x3e\xa6\x7b\x71\xd2\xea\xc8\x14\x71\x00\x75\x04\x16\x0d\x04\x16\x39\x01\x4d\x2a\x73\xda\x6d\x2c\x27\x72\xee\x88\xa5\x32\x43\xdd\x99\x49\x1e\xc2\xe0\x5e\xd7\x5d\x8d\x3b\x19\x94\x28\x4d\xf7\x3d\xfa\x1a\x96\xd1\x9f\xaa\xe8\x8d\xda\x2a\xa3\xcb\x40\xf8\x88\xbe\x20\x7a\x60\xd4\x90\x30\x04\x4e\xec\xf9\x07\x23\x29\xc8\x9b\xfd\xd7\x5c\xf9\x54\xe7\x3e\xb6\xa1\xa7\x9c\xff\x06\x06\xfd\x7e\xbf\x5d\xa2\xbb\x88\xe9\x3e\x7d\x1f\xdd\xa7\x3d\x74\x6b\x15\x6b\xb0\xc3\x7e\xac\x85\x41\xfd\xcd\x58\x85\x8a\x5f\xd2\x0b\x35\x17\xfc\x2c\xab\x1d\x8f\xea\x6b\x7e\x63\x07\x12\x4f\xda\x7b\x87\x88\x83\x51\x62\xe5\x37\xc5\x5b\xf5\x9a\x09\x22\x81\x5c\x98\x21\x95\x36\xa1\x96\xa1\x4a\xa7\xa0\x0d\xf9\x09\x1b\xca\x7b\xfc\xa1\x01\x7a\x51\x40\x2f\xea\xa0\x9f\xb5\x51\x5b\xbb\xf9\x32\xde\xd2\x6f\x88\x2f\x39\xc5\x29\xf2\x80\x51\x8e\xf6\x16\x39\x27\x6b\x2c\x15\x82\x0d\xb9\x5e\xfe\x25\xe7\x0b\xdc\xc1\x5f\x7c\x76\x36\xb6\xad\xd9\xd9\xf8\xf0\xe8\xdd\x7f\x59\x1d\xb0\xe6\x93\x4f\xf3\xac\xba\x27\xa0\x5d\x8e\xe2\xec\x72\x7c\xf2\x07\x3e\x65\xf4\xcc\x70\x09\x9f\xf6\xce\xa3\x2e\xdb\x75\x7d\xe6\xc4\xde\xdf\xdd\x10\xbe\xe9\xf2\x68\xc9\x45\x68\x0f\xb2\x1c\x98\x5e\x1b\x2e\x05\x23\x76\x8a\xbe\x4e\x8e\xb1\xad\xdf\x16\xf3\xc9\xcc\x6a\x6b\xf7\x7f\x41\xc8\x1c\xe4\xfc\x84\x6d\xb7\x84\xba\xba\x64\xd2\x66\xe9\x92\x2c\x5c\xe1\x58\xd8\xfd\xb6\xb4\x97\xe5\x59\x7a\x35\x92\x09\x2d\x20\x21\xc7\x73\x2a\x72\x24\x9d\xc1\x8c\xa8\xc7\xaf\xc8\x95\xfd\xd8\x96\x7e\xf8\xd8\x15\x6c\x26\x42\x8f\xae\xed\x36\xbc\x1a\x41\x05\x37\x06\x32\x55\xaa\x54\x5c\xed\x72\x42\x37\xb1\xf2\xe5\xc0\xe3\xf0\x5f\x72\x1b\xa3\x9c\xad\x0f\x1c\x65\x96\x9e\x5b\xad\xd4\x6e\xd5\xd7\x45\x3e\x23\xae\xd5\x81\xcc\x12\xb6\xea\x4d\x24\x12\x1b\x59\xb4\x1d\x22\xf4\xeb\x97\xf8\x03\x8e\x00\x69\x32\xb0\xe6\xaf\xa3\xd6\x28\xd2\x77\x57\x71\xf9\xb7\x52\x10\x4b\xb9\x9d\x73\x7c\xc6\x63\x6a\xb5\x48\x09\x44\x86\x13\x90\x46\xe0\x80\xa8\x90\xf1\x15\xca\x1e\xf0\x18\x46\xe5\xe8\x0b\x3e\x2d\x19\x09\x1b\x8f\xc9\x60\x54\xbc\xe2\x3d\x5f\x3e\x0b\xd4\xe2\xeb\xb0\x2a\x1d\x81\x8f\xa2\x09\x57\xee\x67\xf0\x89\x6e\xba\x5c\x3c\xf9\xd8\x75\x3d\x1e\xf8\x44\xd6\x60\x8b\x32\x8a\x56\xae\x86\xc6\xfd\x4c\x94\x46\x20\x79\x66\xf7\x81\xf8\x11\xca\x0d\x2b\x7d\x45\x95\x7c\x34\x74\x13\x32\xc1\x1c\x26\xf5\x6c\xed\x38\x7f\x6f\x15\x17\xaa\x79\x5e\x08\x72\x98\x11\x58\xf1\x17\x5a\x56\x79\x66\x2d\x13\xc9\x68\x24\xde\xbb\xe3\x69\x06\xfb\x13\x97\x33\xe6\x7c\x41\x61\x2b\x08\x07\x60\xf5\x7a\x72\x66\x29\x92\x10\xe3\x82\x92\x2d\xc2\x41\x29\x2e\x95\x9f\xc2\x18\x0b\x05\xfc\x37\x58\xef\x4b\x14\xe2\xd5\xf7\x60\x59\xed\x7a\x1a\x56\x6f\xc7\xa5\x19\x52\x16\xbb\x8c\xa6\x29\x42\x46\x46\x16\x3e\xf1\x65\x9c\x5e\x00\x4b\x71\xa4\x67\x8f\xf8\x26\x4d\xcb\x7f\x31\x95\xae\x4b\x04\x69\xeb\xe0\xe9\xe1\xb1\x1f\xd8\xda\x35\xd3\xb3\x21\x2d\x99\x12\x92\x1e\xd7\xe5\x0e\x31\x1b\x0c\xab\x05\x47\x65\x4b\x69\x33\x92\x18\x6f\x74\xa7\x4c\xd0\x8d\xc7\x05\x0b\x9f\xba\x5c\x10\x81\xb1\x6f\x14\x81\xa5\x09\x5a\xef\xa6\x2b\x1f\x1f\xad\xb2\xe4\xb1\xbb\xae\x98\x13\x71\x7b\xdf\xdc\x6b\x0c\x0f\x8d\x64\xaa\xaa\xe7\xec\xcd\x6c\x6c\xed\x58\xe5\xaa\xad\x75\x33\x1b\xbe\x2e\xd1\x85\x32\x7f\xa5\x53\xb6\xce\x4b\xf5\xb9\x2f\xce\x9b\x95\x18\x03\x2a\x65\xc8\x9c\x56\x54\xbd\x64\xda\xd8\x9b\x23\xb3\x0c\x67\xa8\x36\x8e\xef\x39\x5f\xac\x4e\x5d\x88\xbd\xf4\x57\x84\xdb\x4f\xb2\xc1\x3f\xd3\xad\xe6\x4d\x66\xe7\xcc\x42\x21\x88\xf8\x66\x26\xc3\x41\x29\x32\x1d\xb0\x92\x8f\x88\xe1\x0f\xad\xee\x3c\x2b\x6f\xaf\x5e\x19\xbe\x2f\x54\x85\xd5\x6b\x4e\xa3\x44\x89\xec\x15\x94\x5a\x13\xfe\x34\x1b\x98\x62\xb6\xfa\xbd\x60\x40\xdc\xea\x2d\x55\xb6\x52\xeb\xa1\x32\xaf\xfd\x64\xef\xac\x57\x8b\x52\x52\x5f\x8d\xe2\x52\x53\x73\x21\x27\x64\x69\x2a\xa0\xdb\x86\x54\xa7\x56\xe6\xb2\x12\x62\x4a\x49\xb3\x97\x79\xd8\x92\x38\x5f\x6c\xcd\x7f\x52\x10\x46\x03\x16\xa4\xc9\x78\x4f\x11\xab\x73\xf7\xcc\xdf\x75\x71\x5e\x92\x67\xe1\xa5\xed\x08\xd4\xde\x62\xd6\x8b\x5a\xe8\xe4\x79\xd8\x9c\xb8\x42\x94\x5d\xf0\xcf\x4e\x5b\x66\xcf\xc8\x5b\x90\x84\x09\xdd\x4e\x52\x8b\x55\x7e\xe2\xf1\x9b\x0b\x12\x0a\xab\xa3\xbe\x86\xed\xe4\x5f\xeb\xee\xc1\x45\xea\xe6\x98\x13\xea\xbe\x18\xcf\x89\x2f\x7d\x73\xd4\xe4\x0e\xf8\xc5\xd8\x72\x50\xcf\x71\xe5\xc8\x5b\x60\x3e\x17\x8f\xff\x1f\x00\x00\xff\xff\x6b\xa4\xaf\x2d\xb1\x32\x00\x00")
+var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5d\x6f\xdb\xb8\xb2\xef\xf9\x15\x53\x3d\x14\x72\xe3\xc8\x76\x8a\xde\x5d\xd4\x75\xef\xf5\xa6\xee\x26\xd8\xa4\x09\x6c\xe7\x6e\x8d\x20\x58\xd0\xd2\xd8\xd6\x56\x26\xb5\x22\x15\xc7\x3d\xcd\x7f\x3f\xa0\x3e\x29\x8a\x92\xb3\x5d\xf4\xe5\xe0\x18\x68\x2a\x93\x33\xc3\xf9\xfe\xa0\xdc\x7b\x75\x04\xaf\x00\x00\xce\x58\xb8\x8f\xfc\xf5\x46\x80\xed\x76\xe0\xb4\x3f\xf8\x19\x6e\x69\x14\x7b\xef\x62\xf9\xf7\xff\x58\x2c\x02\xc6\xbe\x38\x2e\xdb\xbe\x3f\x82\x1c\x69\xbe\xf1\x39\xac\xfc\x00\xc1\xe7\x10\x92\x48\x00\x5b\xc1\x14\xb7\x4c\xe0\xc9\x9c\xc5\xee\x26\x24\x9e\x53\x82\x7f\x64\x6c\x49\x22\x09\xbb\x8a\x10\x81\xb3\x95\xd8\x91\x08\xdf\xc2\x9e\xc5\xe0\x12\x0a\x11\x7a\x3e\x17\x91\xbf\x8c\x05\x82\x2f\x80\x50\xaf\xc7\x22\xd8\x32\xcf\x5f\xed\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xbf\xfc\xfa\xe9\x16\x7e\x45\x8a\x11\x09\xe0\x26\x5e\x06\xbe\x0b\x97\xbe\x8b\x94\x23\x10\x0e\xa1\x5c\xe1\x1b\xf4\x60\x99\x93\x92\x48\x1f\x25\x27\xb3\x8c\x13\xf8\xc8\x62\xea\x11\xe1\x33\xda\x05\xf4\xc5\x06\x23\x78\xc0\x88\xfb\x8c\xc2\xeb\xfc\x98\x8c\x66\x17\x58\x94\xd1\xb1\x89\x90\x22\x44\xc0\x42\x89\xda\x01\x42\xf7\x10\x10\x51\x62\x2b\x4a\xd0\xd4\x23\xb5\x51\x0a\xed\x81\x4f\x93\x43\x36\x2c\x44\x10\x1b\x22\xa4\xbc\x3b\x3f\x08\x60\x89\x10\x73\x5c\xc5\x41\x37\x23\xb4\x8c\x05\xfc\x7e\x31\x3f\xbf\xbe\x9d\xc3\xf8\xd3\x02\x7e\x1f\x4f\xa7\xe3\x4f\xf3\xc5\x10\x76\xbe\xd8\xb0\x58\x00\x3e\x60\x4a\xcd\xdf\x86\x81\x8f\x1e\xec\x48\x14\x11\x2a\xf6\xc0\x56\x19\x91\xab\xc9\xf4\xec\x7c\xfc\x69\x3e\xfe\xe5\xe2\xf2\x62\xbe\x00\x16\xc1\xc7\x8b\xf9\xa7\xc9\x6c\x06\x1f\xaf\xa7\x30\x86\x9b\xf1\x74\x7e\x71\x76\x7b\x39\x9e\xc2\xcd\xed\xf4\xe6\x7a\x36\x71\x00\x66\x28\x99\xc3\x8c\x46\x8b\xde\x57\x89\xf5\x22\x04\x0f\x05\xf1\x03\x5e\xea\x61\xc1\x62\xe0\x1b\x16\x07\x1e\x6c\xc8\x03\x42\x84\x2e\xfa\x0f\xe8\x01\x01\x97\x85\xfb\xc3\x36\x4d\xc9\x90\x80\xd1\x75\x22\x70\xe6\x5d\x0e\xc0\xc5\x0a\x28\x13\x5d\xe0\x88\xf0\x6e\x23\x44\xf8\xb6\xd7\xdb\xed\x76\xce\x9a\xc6\x0e\x8b\xd6\xbd\x20\x25\xc0\x7b\xef\x25\x3b\xbd\xa3\x23\xe8\xf5\xe0\x6e\x00\x89\x49\xba\x70\x9a\x3e\x20\xef\xc2\xeb\xfc\xf1\xfe\xc8\x65\x94\x0b\x98\x5f\xdf\x9e\x9d\xff\x71\x75\xfd\xff\x93\x3f\xe6\xe7\xd3\xc9\xec\xfc\xfa\xf2\x03\x8c\xe0\x6e\xd0\xef\xc2\xe0\x8d\xfc\x77\x3f\xac\x80\xce\x2f\xae\x26\xd2\x40\x23\x38\x7d\xd3\xcf\xb7\x12\xfc\xab\xdb\x4b\xb9\x3c\xc8\x17\x67\x67\xd3\xeb\xcb\xcb\x7c\xb9\xef\xf4\xdf\x0c\x8f\x24\x5f\x77\xe1\x63\x8f\x77\x61\x1b\x07\xe2\xbe\x0b\x8e\xe3\xe4\xbc\xdc\x5c\x5f\x7c\x9a\x4f\xa6\x7f\x8c\xcf\xce\x26\x97\x93\xe9\x78\x7e\x71\xfd\x49\xf2\x72\xd7\xef\x42\xff\xbe\x0b\x77\x3f\xff\xd4\x85\x81\x7c\x18\xfc\xf4\x3a\x7b\x7a\xf3\xe6\x75\x17\x4e\xef\xef\x87\x47\x47\x0f\x24\x82\x1d\x1f\x26\xff\x87\xc4\x2b\x1e\x02\xb2\xc4\x20\xdb\x17\x52\xfa\x2b\x26\xcd\x32\x82\x15\x09\x38\x0e\xcb\xf5\x99\x90\x01\x3f\x82\xbe\xb2\x76\x49\xb8\x98\x50\x4f\x5b\x9d\x62\x80\x84\xa3\x77\xc6\x62\xaa\x60\x30\xba\x66\x3e\x5d\x67\x2a\x96\xac\xdf\xa7\x1b\x5b\xf6\x80\x9f\x67\xf1\xb6\x04\x95\x2b\x8b\xca\x0a\x77\x23\x16\x04\x9f\x0d\x6b\x55\x38\x2f\x22\xeb\xb5\x4f\xd7\x55\x01\xf2\xd5\xb9\xbf\x45\x19\x29\x23\xa0\x71\x20\xa5\x5e\xc5\xd4\x95\x31\x0c\xab\x38\x08\xb8\x1b\x21\xd2\x09\x25\xcb\x00\x3d\xbb\x03\xff\x3a\x92\xee\x1e\xa1\x88\x23\x0a\xb6\xc7\xdc\x78\x8b\x54\x38\x35\x50\xf8\xf6\x2d\x81\x94\x9f\x02\x6a\x87\xcb\x2f\xbe\xf8\xf8\x2c\xd8\x2d\xfb\x2a\x01\x67\x87\x01\x79\x2b\xc1\x44\xe2\xce\xf0\xe8\x49\x11\x2c\xc2\xbf\x62\xe4\x0a\x23\x36\xe6\x92\xf9\x2b\xb0\xd1\xa9\x01\xe4\xdb\xf2\x63\xd8\xb6\x3b\xc3\x64\xfb\x09\x30\xe0\x98\x11\x49\xa5\x9d\xb6\x93\x6a\x00\x32\x12\xdc\xb2\xaf\x0a\xe0\xcc\x40\xcd\x04\x61\x26\xc5\x0f\xf0\x65\x00\x28\x08\x55\x74\x89\x8f\x7e\x05\x46\xd1\x63\x61\xa2\x2a\x8c\x7a\x50\x03\x88\x81\x67\xcd\x89\x26\x87\x49\x9a\x00\xdb\x08\x6f\xd9\xd7\x33\x42\x5d\x0c\xcc\xda\x6d\x83\x6b\x25\xcb\x9f\xc1\xab\x0e\x64\xd6\xb5\x12\x65\x01\x4a\xbc\x67\x05\x64\x0a\xfa\xbc\x80\x6c\x81\xad\x06\x64\x1b\x20\x6f\x25\x28\xb3\x8c\x16\x8f\xc4\xf3\x4a\x14\x77\x43\xe8\x1a\x27\x0f\x48\xc5\xa5\xcf\x85\x2c\x7c\x76\x90\x3d\x18\xbd\xab\x2e\xea\x8b\xd1\x28\x69\x90\x56\x3e\x45\xcf\xa8\x6f\xe2\x79\xd5\x13\xac\x95\xc6\x80\xd5\x85\xe2\xd4\x43\xce\x58\x97\xf7\x7b\x38\x48\x69\x7d\x1f\x1f\x46\xe3\x7c\x0f\x13\x5b\xf6\xf5\x3b\x39\x30\x58\xfd\x7b\x18\xb8\x9a\x95\x74\xce\x9a\xce\xaf\x78\x8f\xec\x95\x92\x02\x6a\x8b\xb4\x7b\x11\xfe\x16\x67\x82\x6c\x43\x2d\x3a\xca\xf3\x7d\x0f\xa9\xf0\x57\x3e\x46\x6f\xd3\xf2\xec\x94\x2b\xdd\x02\x2a\x24\x6b\xfc\x9c\x03\x24\x5f\xb4\xbd\xa4\xfc\xb7\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\xdb\x87\x0b\xea\xe1\xe3\x2f\xfb\x0b\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\x03\xb5\x65\xc9\xf7\x93\x9e\x00\x7c\x78\xa7\x35\x1e\x4e\x80\x74\x2d\x36\x43\xf0\x8f\x8f\x55\x3b\x25\x48\xb2\x95\xa9\x82\xdf\xf9\xf7\x8a\xc2\x86\x47\xa5\x5e\x57\x60\x4b\xf8\x11\xe8\x3c\xe4\x9f\xcc\x14\xfe\xb0\x58\x7d\x3a\x2a\xff\x66\xbb\x27\x83\xaa\x98\x2e\x09\xdc\x58\x0e\x13\x37\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\xa4\x5c\xc5\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x51\x6c\x12\x9a\x9f\xc2\xc8\x88\x70\xe7\xdf\xdf\xf5\xef\x4b\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xa7\xf0\x6e\x04\x15\x46\xf3\x8f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x4e\x4d\x68\x7c\xd0\xc8\xda\xc9\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x4f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xe9\x09\x19\x74\xe0\x18\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x78\x5f\x95\x2e\x3b\xc6\xc8\x53\x0b\x19\x95\xdb\x8a\x3b\x0d\xf4\xa0\xf9\x50\x6d\x7d\x8b\x2a\xda\xd4\x12\xcb\xbd\x1d\x77\x38\x52\xcf\xb6\x96\x83\x61\xdf\xd2\x0a\x58\x1c\x7a\x44\xa0\x9c\x12\xc6\xd4\x9b\x25\x2d\x78\x41\xb4\xe8\xe6\x61\x04\x57\x44\x6c\x1c\x11\xc5\xd4\xb5\xf3\x06\x3f\x4b\x69\x45\x87\x5f\x87\x5a\x94\x50\x52\x91\xc9\x2e\x59\xf2\x94\x42\x07\xde\x8f\x60\x00\xdf\xbe\x41\x65\x7d\x91\xae\xab\x5a\x2d\x26\x8a\x93\x51\xfa\x3c\xac\x6c\x2d\x94\xad\x45\xb9\x55\x88\xbd\xb5\xe0\x38\x93\xe3\x18\xac\x61\xfe\x6d\xd1\x51\x15\xae\x4c\x25\x55\x39\xca\x51\x45\x91\x37\x9b\x55\x4c\x90\x4d\x32\x67\x74\x0c\x52\x67\x78\x75\xb9\x95\x29\xe9\x64\x94\x7f\x1b\x6a\xdb\x8b\xca\xb6\x49\x7e\x2e\x25\xce\x65\xcb\x35\x90\x1f\x6a\x2a\x4b\x1b\x42\xbd\x00\x93\x2c\x6f\xe3\x83\x50\x5b\x17\x63\xf2\xad\x05\x79\x65\xc2\xc4\x07\xe1\x14\xa5\x60\x58\x85\xd1\xa6\xd3\xca\x9e\x61\xee\xcc\xf7\xeb\x63\x61\xd5\x90\xa2\x18\x4a\xe5\xe1\x69\x2f\xe0\x65\x3c\x0f\x1b\x33\xad\x68\xaf\x28\x52\x7c\x51\x56\x11\x41\xa2\x35\xa6\x8d\x42\x48\x3c\x78\xf9\x12\x1a\x37\x93\xa1\xfc\xef\xa4\x4e\xc9\x75\x18\xa1\x6c\x2f\x3e\xe0\x8a\xc8\x3a\xd1\x29\xe1\x34\x1b\x84\x31\xdf\xd8\x5a\x27\x91\x70\xd1\xad\xaa\xbe\xd3\xd1\x14\x5c\x19\xf7\x55\x29\x5f\xe4\xfa\xd5\x79\x56\x46\xfb\xe6\x7c\x50\x0b\xcd\xb6\xb4\x50\x95\xbb\x72\x2d\xd0\x16\x83\x9a\xfb\xb7\x87\x61\x2e\x96\x9e\x23\xa5\x75\x92\x96\x5e\xb7\x4c\x80\x24\xca\x13\xac\x86\xa4\xc9\xd8\x96\x76\x0d\xce\x2a\xa2\xba\xbd\x4d\xa1\x37\xa1\x9e\x1a\x78\x3f\xcc\xa5\xd3\x26\xe9\x51\xeb\x92\xca\x76\x4c\x98\x9a\x26\x4d\xab\x12\xff\x5d\xbd\xc6\xb7\xb9\xb7\xe6\xc0\x3c\x0c\x7c\x17\x25\xa1\x2e\x0c\x74\x27\xad\x64\x81\xe3\xe3\x46\x17\x36\x64\x99\xb2\x82\x1b\xf2\xc9\x7b\xe3\x6d\x60\xa6\xa8\x5a\x2e\xcb\xf3\x54\x69\xc0\xa7\x67\xa4\xc4\x22\x29\x68\x47\xcb\x02\xf0\xf2\xa5\xd1\x49\xd4\x93\x6b\x75\xfb\x07\x9c\xfb\x42\x11\xef\xe5\xcb\xaa\x16\xe1\x44\x4d\xe4\xef\xaa\x77\xa2\xba\x1b\x2d\x63\x21\x18\xad\xe7\x12\x53\x2a\xd7\xca\x1c\xa4\xd7\xe1\x29\xfa\x40\x71\x98\x72\x56\x33\x53\x39\x6d\xa4\xf2\x5a\xa1\x72\x80\xc8\xeb\x46\x22\xc6\xf6\xb4\x34\x8a\xac\xa2\x19\xac\x2c\xaa\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\x6b\xf2\xba\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xd5\x92\xae\x29\xf9\xa4\x37\x44\xff\xcd\x3f\xff\x38\xff\x40\x5b\xf6\xa8\xeb\x5d\x42\xe9\x5a\xe7\xf1\xf6\x73\x19\x53\xd9\xca\xa2\xba\xf2\x9f\x64\x99\xe4\x76\xdf\xe7\x22\xaf\xe8\xfc\xaf\x48\xa4\x2d\x74\xc8\x76\xea\xa1\xc9\x95\x05\x9c\xd4\xa6\x7b\xef\x31\xdb\x4b\x92\x56\x57\xa6\x88\x63\x68\x22\xb0\x68\x21\xb0\x28\x08\x68\x52\x99\xd3\x6e\x6b\x39\x91\xdd\x7e\x22\x95\x19\xea\xce\x4c\xf2\x04\x06\xf7\xba\xee\x1a\xdc\xc9\xa0\x44\x69\xba\xbf\xa3\xaf\x61\x15\x7d\x5f\x47\x6f\xd5\x56\x15\x5d\x06\xc2\x07\x0c\x04\xd1\x03\xa3\x81\x84\x21\x70\x12\xcf\x3f\x1e\x49\x41\x5e\x1d\xbe\x45\x29\x66\x29\xef\x51\x0e\xf6\xe5\xf9\xaf\x60\xd0\xef\xf7\x3b\x15\xba\x8b\x84\xee\xfe\xef\xd1\xdd\x1f\xa0\xdb\xa8\x58\x83\x1d\x0e\x63\x2d\x0c\xea\x6f\xc7\x2a\x55\xfc\x9c\x5e\xa8\xbd\xe0\xe7\x59\xed\xfd\xa8\xb9\xe6\xb7\x76\x20\xc9\x7c\x7b\x70\x88\x38\x1e\xa5\x56\x7e\x55\xbe\x52\x6d\x98\x20\x52\xc8\x85\x19\x52\x69\x13\x1a\x19\xaa\x75\x0a\xda\x68\x9d\xb2\xa1\xbc\xc4\x1d\x1a\xa0\x17\x25\xf4\xa2\x09\xba\x8c\x42\xe3\xc5\x8a\xf1\x12\x78\x43\x02\xc9\x29\x4e\x91\x87\x8c\x72\xb4\xb7\xc8\x39\x59\x63\xa5\x10\x6c\xc8\xf5\xf2\x4f\x39\x5f\xe0\x0e\xfe\xe4\xb3\xf3\xb1\x6d\xcd\xce\xc7\x27\xa7\x6f\xfe\xc7\xea\x82\x35\x9f\x7c\x9e\xe7\xd5\x3d\x05\x75\x38\x8a\xf3\xab\xf1\xd9\x6f\xb8\xcf\xe9\x99\xe1\x52\x3e\xed\x9d\x4f\x3d\xb6\x73\x02\xe6\x26\xde\xef\x6c\x08\xdf\x38\x3c\x5e\x72\x11\xd9\x83\x3c\x07\x66\xb7\x52\x4b\xc1\x88\x9d\xa1\xaf\xd3\x63\x6c\xeb\x97\xc5\x7c\x32\xb3\x3a\xe9\xf5\x52\x46\xad\x7e\x47\x1e\x30\xe2\x59\x5d\xc8\x85\xaf\x5c\x35\x91\x58\x6c\x64\x29\x71\x89\xd0\x2f\x05\x92\x17\xce\x21\xd2\x74\x8c\x2a\xee\xe0\xd7\x28\xb2\x0b\xfb\xa4\x28\x59\x19\x88\xa5\xdc\xd4\xb8\x01\xe3\x09\xb5\x46\xa4\x14\x22\xc7\x91\xb3\x7c\x0b\x70\x48\x54\xc8\x64\xb0\x3f\x00\x9e\xc0\xa8\x1c\x7d\xc1\xfd\x92\x91\xa8\xf5\x98\x1c\x46\xc5\x2b\x5f\x6e\x14\x1d\x6a\x23\xbe\x0e\xab\xd2\x11\xf8\x28\xda\x70\xe5\x7e\x0e\x9f\xea\xc6\xe1\x62\x1f\xa0\xe3\xf9\x3c\x0c\x88\xac\x0c\x16\x65\x14\xad\x42\x0d\xad\xfb\xb9\x28\xad\x40\xf2\x4c\xe7\x81\x04\x31\xca\x0d\x2b\xbb\x97\x4f\x7f\xe4\x70\x13\x31\xc1\x5c\x26\xf5\x6c\xed\x38\x7f\x6b\x95\x97\x6b\x85\xb7\x86\x05\xcc\x08\xac\xe4\x47\x23\x56\x75\x92\xaa\x12\xc9\x69\xa4\xd1\xba\xe3\x59\x5c\xfd\x8e\xcb\x19\x73\xbf\xa0\xb0\x15\x84\x63\xb0\x7a\x3d\xd9\x49\x97\xa1\xc1\xb8\xa0\x64\x8b\x70\x5c\x49\x12\xca\x47\x61\x8c\x45\x02\xfe\x17\xac\xb7\x15\x0a\xc9\xea\x5b\xb0\xac\x4e\x33\x0d\xab\xb7\xe3\xd2\x0c\x19\x8b\x0e\xa3\x59\x18\xcb\xc8\xc8\xc3\x27\xb9\x22\xd2\xd3\x72\x25\x8e\xf4\xc4\xb7\xe3\x4e\x62\x54\x5b\xbb\xc9\x48\x43\xdb\x94\xc8\xf4\xb0\xac\xb6\x1d\xf9\xb4\x51\xcf\x62\x09\x6f\x8e\x47\x04\x51\x5b\xa8\x2c\x44\x5b\xbd\x21\x17\x64\xe3\x73\xc1\xa2\xbd\xc3\x05\x11\x98\x98\xb6\x8c\x0b\x4d\xac\x66\x2f\x5b\x05\xf8\x68\x55\x65\x4d\xbc\x6d\xc5\xdc\x98\xdb\x87\x86\x29\xa3\x77\x6b\x24\x33\x55\x3d\xe5\x6f\x93\x12\x63\x25\x4a\x56\x4d\xa5\x5b\xc9\xf0\x46\x5c\x17\xca\xfc\xcb\x82\xaa\x75\x9e\xab\xcf\x43\x61\xda\xae\xc4\x04\xb0\x80\x6b\xca\x0a\xaa\x5e\x72\x6d\x1c\x4c\x71\x79\x82\x32\x14\x0b\x37\xf0\xdd\x2f\x56\xb7\x29\x42\x9e\xfb\x29\xa3\xe5\x07\xd9\xe0\x9f\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xd4\x88\x2e\x58\xe9\xcf\x12\xe1\x37\xad\x6c\x3c\x29\x2f\x22\x5e\x18\x7e\x13\xa5\x0a\xab\x97\x8c\x56\x89\x52\xd9\x6b\x28\x8d\x26\xfc\x61\x36\x30\xc5\x6c\xfd\x37\x4e\x21\xf1\xea\x57\x1f\xf9\x4a\xa3\x87\xca\xbc\xf6\x83\xbd\xb3\x59\x2d\x4a\x45\x7c\x31\x4a\x2a\x45\xc3\x2d\x8f\x90\x95\xa5\x84\xee\x18\x52\x9d\x5a\x58\xab\x4a\x48\x28\xa5\xbd\x5a\xee\x61\x4b\xe2\x7e\xb1\x35\xff\xc9\x40\x18\x0d\x59\x98\x25\xe3\x03\x35\xa8\xc9\xdd\x73\x7f\xd7\xc5\x79\x4e\x9e\x85\xe7\x76\x13\xd0\x78\x35\xd6\x2c\x6a\xa9\x93\xa7\x61\x7b\xe2\x8a\x50\x36\xb1\x3f\x3a\x6d\x99\x3d\xa3\xe8\x20\x52\x26\x74\x3b\x49\x2d\xd6\xf9\x49\x66\x3a\x2e\x48\x24\xac\xae\xfa\x6e\xaf\x5b\xfc\xc2\xf0\x00\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\x77\x00\x00\x00\xff\xff\x43\x36\xc0\xc9\x03\x2f\x00\x00")
func webdataFnJsBytes() ([]byte, error) {
return bindataRead(
@@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/fn.js", size: 12977, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
+ info := bindataFileInfo{name: "webdata/fn.js", size: 12035, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
diff --git a/main.go b/main.go
index 2d354df..1e3edf4 100644
--- a/main.go
+++ b/main.go
@@ -43,7 +43,6 @@ const (
authenticationRateLimit time.Duration = time.Second / 10
authenticationRateBurst int = 10
challengeLength int = 8
- defaultUpdateInterval int = 50
defaultBind string = ":0"
version string = "0.0.4"
)
@@ -128,15 +127,13 @@ func secureRandBase64(length int) string {
func main() {
var bind, certFile, keyFile, secret string
var showVersion, invert bool
- var updateInterval int
flag.BoolVar(&showVersion, "version", false, "show program's version number and exit")
- flag.StringVar(&bind, "bind", defaultBind, "bind server to [IP]:PORT")
+ flag.StringVar(&bind, "bind", defaultBind, "bind server to [HOSTNAME]:PORT")
flag.StringVar(&secret, "secret", "", "shared secret for client authentication")
flag.StringVar(&certFile, "cert", "", "file containing TLS certificate")
flag.StringVar(&keyFile, "key", "", "file containing TLS private key")
flag.BoolVar(&invert, "invert", false, "use inverse colors for QR code")
- flag.IntVar(&updateInterval, "interval", defaultUpdateInterval,
- "mouse polling interval in milliseconds")
+ flag.Int("interval", 0, "obsolete, not used anymore")
flag.Parse()
if showVersion {
fmt.Println(version)
@@ -152,9 +149,6 @@ func main() {
if secret == "" {
secret = secureRandBase64(defaultSecretLength)
}
- if updateInterval < 0 {
- log.Fatal("interval must be greater or equal to zero")
- }
var plugin Plugin
var pluginName string
platformErrors := ""
@@ -208,7 +202,6 @@ func main() {
if !challenge.verify(message) {
return
}
- websocket.Message.Send(ws, fmt.Sprintf("i%d", updateInterval))
for {
if err := websocket.Message.Receive(ws, &message); err != nil {
return
diff --git a/webdata/fn.js b/webdata/fn.js
index 6861e41..35d174a 100644
--- a/webdata/fn.js
+++ b/webdata/fn.js
@@ -24,7 +24,6 @@ const MOVE_MULT = 1;
const SCROLL_MULT = 0.05;
// [[px/s, mult], ...]
const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]];
-const MAX_IDLE_UPDATES = 10;
var ws;
var pad;
@@ -41,9 +40,6 @@ var scrollXSum = 0;
var scrollYSum = 0;
var dragging = false;
var draggingTimeout = null;
-var updateTimer = null;
-var updateInterval = 0;
-var idleUpdates = 0;
function fullscreenEnabled() {
return (document.fullscreenEnabled ||
@@ -145,22 +141,11 @@ function onDraggingTimeout() {
}
function updateMoveAndScroll() {
- if (updateTimer == null) {
- onUpdateTimeout();
- if (updateInterval > 0 && idleUpdates == 0) {
- updateTimer = setInterval(onUpdateTimeout, updateInterval);
- }
- }
-}
-
-function onUpdateTimeout() {
- idleUpdates += 1;
var moveX = Math.trunc(moveXSum);
var moveY = Math.trunc(moveYSum);
if (Math.abs(moveX) >= 1 || Math.abs(moveY) >= 1) {
moveXSum -= moveX;
moveYSum -= moveY;
- idleUpdates = 0;
ws.send("m" + moveX + ";" + moveY);
}
var scrollX = Math.trunc(scrollXSum);
@@ -168,13 +153,8 @@ function onUpdateTimeout() {
if (Math.abs(scrollX) >= 1 || Math.abs(scrollY) >= 1) {
scrollXSum -= scrollX;
scrollYSum -= scrollY;
- idleUpdates = 0;
ws.send("s" + scrollX + ";" + scrollY);
}
- if (idleUpdates >= MAX_IDLE_UPDATES) {
- clearInterval(updateTimer);
- updateTimer = null;
- }
}
function handleStart(evt) {
@@ -298,20 +278,6 @@ function challengeResponse(message) {
return btoa(shaObj.getHMAC("BYTES"));
}
-function processCommand(message) {
- if (message.charAt(0) == "i") {
- var x = parseInt(message.substr(1));
- if (isNaN(x) || x.toString() != message.substr(1) || x < 0) {
- return false;
- }
- updateInterval = x;
- clearInterval(updateTimer);
- updateTimer = null;
- return true;
- }
- return false;
-}
-
window.addEventListener("load", function() {
var authenticated = false;
var opening = document.getElementById("opening");
@@ -336,9 +302,7 @@ window.addEventListener("load", function() {
ws.onmessage = function(event) {
if (authenticated) {
- if (!processCommand(event.data)) {
- ws.close();
- }
+ ws.close();
return;
}
authenticated = true;
From 209eaf960d8fb1b4bdad1ce90e7b75d67ede33bb Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:08 +0200
Subject: [PATCH 016/311] X11 plugin: check session type
---
plugin_x11.go | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/plugin_x11.go b/plugin_x11.go
index 8031dad..6273f4f 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -28,6 +28,8 @@ package main
import "C"
import (
"errors"
+ "fmt"
+ "os"
"sync"
"time"
"unsafe"
@@ -41,6 +43,11 @@ type x11Plugin struct {
}
func InitX11Plugin() (Plugin, error) {
+ sessionType := os.Getenv("XDG_SESSION_TYPE")
+ if sessionType != "" && sessionType != "x11" {
+ return nil, UnsupportedPlatformError{errors.New(fmt.Sprintf(
+ "unsupported session type '%v'", sessionType))}
+ }
display := C.XOpenDisplay(nil)
if display == nil {
return nil, UnsupportedPlatformError{
From c1509ac8fa9c8a16d0dfd94e793d7bccb7b022f1 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:10 +0200
Subject: [PATCH 017/311] add support for "pixel-perfect" scrolling
---
bindata.generated.go | 4 ++--
main.go | 3 +++
plugin.go | 3 ++-
plugin_windows.go | 16 ++++++++++------
plugin_x11.go | 26 ++++++++++++++++++++++----
webdata/fn.js | 24 ++++++++++++++++++------
6 files changed, 57 insertions(+), 19 deletions(-)
diff --git a/bindata.generated.go b/bindata.generated.go
index 9c02c58..46238ef 100644
--- a/bindata.generated.go
+++ b/bindata.generated.go
@@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} {
return nil
}
-var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\x5d\x6f\xdb\xb8\xb2\xef\xf9\x15\x53\x3d\x14\x72\xe3\xc8\x76\x8a\xde\x5d\xd4\x75\xef\xf5\xa6\xee\x26\xd8\xa4\x09\x6c\xe7\x6e\x8d\x20\x58\xd0\xd2\xd8\xd6\x56\x26\xb5\x22\x15\xc7\x3d\xcd\x7f\x3f\xa0\x3e\x29\x8a\x92\xb3\x5d\xf4\xe5\xe0\x18\x68\x2a\x93\x33\xc3\xf9\xfe\xa0\xdc\x7b\x75\x04\xaf\x00\x00\xce\x58\xb8\x8f\xfc\xf5\x46\x80\xed\x76\xe0\xb4\x3f\xf8\x19\x6e\x69\x14\x7b\xef\x62\xf9\xf7\xff\x58\x2c\x02\xc6\xbe\x38\x2e\xdb\xbe\x3f\x82\x1c\x69\xbe\xf1\x39\xac\xfc\x00\xc1\xe7\x10\x92\x48\x00\x5b\xc1\x14\xb7\x4c\xe0\xc9\x9c\xc5\xee\x26\x24\x9e\x53\x82\x7f\x64\x6c\x49\x22\x09\xbb\x8a\x10\x81\xb3\x95\xd8\x91\x08\xdf\xc2\x9e\xc5\xe0\x12\x0a\x11\x7a\x3e\x17\x91\xbf\x8c\x05\x82\x2f\x80\x50\xaf\xc7\x22\xd8\x32\xcf\x5f\xed\x33\x22\xbe\x80\x98\x7a\x18\x81\xd8\x20\x08\x8c\xb6\x5c\x1e\x2a\xbf\xfc\xfa\xe9\x16\x7e\x45\x8a\x11\x09\xe0\x26\x5e\x06\xbe\x0b\x97\xbe\x8b\x94\x23\x10\x0e\xa1\x5c\xe1\x1b\xf4\x60\x99\x93\x92\x48\x1f\x25\x27\xb3\x8c\x13\xf8\xc8\x62\xea\x11\xe1\x33\xda\x05\xf4\xc5\x06\x23\x78\xc0\x88\xfb\x8c\xc2\xeb\xfc\x98\x8c\x66\x17\x58\x94\xd1\xb1\x89\x90\x22\x44\xc0\x42\x89\xda\x01\x42\xf7\x10\x10\x51\x62\x2b\x4a\xd0\xd4\x23\xb5\x51\x0a\xed\x81\x4f\x93\x43\x36\x2c\x44\x10\x1b\x22\xa4\xbc\x3b\x3f\x08\x60\x89\x10\x73\x5c\xc5\x41\x37\x23\xb4\x8c\x05\xfc\x7e\x31\x3f\xbf\xbe\x9d\xc3\xf8\xd3\x02\x7e\x1f\x4f\xa7\xe3\x4f\xf3\xc5\x10\x76\xbe\xd8\xb0\x58\x00\x3e\x60\x4a\xcd\xdf\x86\x81\x8f\x1e\xec\x48\x14\x11\x2a\xf6\xc0\x56\x19\x91\xab\xc9\xf4\xec\x7c\xfc\x69\x3e\xfe\xe5\xe2\xf2\x62\xbe\x00\x16\xc1\xc7\x8b\xf9\xa7\xc9\x6c\x06\x1f\xaf\xa7\x30\x86\x9b\xf1\x74\x7e\x71\x76\x7b\x39\x9e\xc2\xcd\xed\xf4\xe6\x7a\x36\x71\x00\x66\x28\x99\xc3\x8c\x46\x8b\xde\x57\x89\xf5\x22\x04\x0f\x05\xf1\x03\x5e\xea\x61\xc1\x62\xe0\x1b\x16\x07\x1e\x6c\xc8\x03\x42\x84\x2e\xfa\x0f\xe8\x01\x01\x97\x85\xfb\xc3\x36\x4d\xc9\x90\x80\xd1\x75\x22\x70\xe6\x5d\x0e\xc0\xc5\x0a\x28\x13\x5d\xe0\x88\xf0\x6e\x23\x44\xf8\xb6\xd7\xdb\xed\x76\xce\x9a\xc6\x0e\x8b\xd6\xbd\x20\x25\xc0\x7b\xef\x25\x3b\xbd\xa3\x23\xe8\xf5\xe0\x6e\x00\x89\x49\xba\x70\x9a\x3e\x20\xef\xc2\xeb\xfc\xf1\xfe\xc8\x65\x94\x0b\x98\x5f\xdf\x9e\x9d\xff\x71\x75\xfd\xff\x93\x3f\xe6\xe7\xd3\xc9\xec\xfc\xfa\xf2\x03\x8c\xe0\x6e\xd0\xef\xc2\xe0\x8d\xfc\x77\x3f\xac\x80\xce\x2f\xae\x26\xd2\x40\x23\x38\x7d\xd3\xcf\xb7\x12\xfc\xab\xdb\x4b\xb9\x3c\xc8\x17\x67\x67\xd3\xeb\xcb\xcb\x7c\xb9\xef\xf4\xdf\x0c\x8f\x24\x5f\x77\xe1\x63\x8f\x77\x61\x1b\x07\xe2\xbe\x0b\x8e\xe3\xe4\xbc\xdc\x5c\x5f\x7c\x9a\x4f\xa6\x7f\x8c\xcf\xce\x26\x97\x93\xe9\x78\x7e\x71\xfd\x49\xf2\x72\xd7\xef\x42\xff\xbe\x0b\x77\x3f\xff\xd4\x85\x81\x7c\x18\xfc\xf4\x3a\x7b\x7a\xf3\xe6\x75\x17\x4e\xef\xef\x87\x47\x47\x0f\x24\x82\x1d\x1f\x26\xff\x87\xc4\x2b\x1e\x02\xb2\xc4\x20\xdb\x17\x52\xfa\x2b\x26\xcd\x32\x82\x15\x09\x38\x0e\xcb\xf5\x99\x90\x01\x3f\x82\xbe\xb2\x76\x49\xb8\x98\x50\x4f\x5b\x9d\x62\x80\x84\xa3\x77\xc6\x62\xaa\x60\x30\xba\x66\x3e\x5d\x67\x2a\x96\xac\xdf\xa7\x1b\x5b\xf6\x80\x9f\x67\xf1\xb6\x04\x95\x2b\x8b\xca\x0a\x77\x23\x16\x04\x9f\x0d\x6b\x55\x38\x2f\x22\xeb\xb5\x4f\xd7\x55\x01\xf2\xd5\xb9\xbf\x45\x19\x29\x23\xa0\x71\x20\xa5\x5e\xc5\xd4\x95\x31\x0c\xab\x38\x08\xb8\x1b\x21\xd2\x09\x25\xcb\x00\x3d\xbb\x03\xff\x3a\x92\xee\x1e\xa1\x88\x23\x0a\xb6\xc7\xdc\x78\x8b\x54\x38\x35\x50\xf8\xf6\x2d\x81\x94\x9f\x02\x6a\x87\xcb\x2f\xbe\xf8\xf8\x2c\xd8\x2d\xfb\x2a\x01\x67\x87\x01\x79\x2b\xc1\x44\xe2\xce\xf0\xe8\x49\x11\x2c\xc2\xbf\x62\xe4\x0a\x23\x36\xe6\x92\xf9\x2b\xb0\xd1\xa9\x01\xe4\xdb\xf2\x63\xd8\xb6\x3b\xc3\x64\xfb\x09\x30\xe0\x98\x11\x49\xa5\x9d\xb6\x93\x6a\x00\x32\x12\xdc\xb2\xaf\x0a\xe0\xcc\x40\xcd\x04\x61\x26\xc5\x0f\xf0\x65\x00\x28\x08\x55\x74\x89\x8f\x7e\x05\x46\xd1\x63\x61\xa2\x2a\x8c\x7a\x50\x03\x88\x81\x67\xcd\x89\x26\x87\x49\x9a\x00\xdb\x08\x6f\xd9\xd7\x33\x42\x5d\x0c\xcc\xda\x6d\x83\x6b\x25\xcb\x9f\xc1\xab\x0e\x64\xd6\xb5\x12\x65\x01\x4a\xbc\x67\x05\x64\x0a\xfa\xbc\x80\x6c\x81\xad\x06\x64\x1b\x20\x6f\x25\x28\xb3\x8c\x16\x8f\xc4\xf3\x4a\x14\x77\x43\xe8\x1a\x27\x0f\x48\xc5\xa5\xcf\x85\x2c\x7c\x76\x90\x3d\x18\xbd\xab\x2e\xea\x8b\xd1\x28\x69\x90\x56\x3e\x45\xcf\xa8\x6f\xe2\x79\xd5\x13\xac\x95\xc6\x80\xd5\x85\xe2\xd4\x43\xce\x58\x97\xf7\x7b\x38\x48\x69\x7d\x1f\x1f\x46\xe3\x7c\x0f\x13\x5b\xf6\xf5\x3b\x39\x30\x58\xfd\x7b\x18\xb8\x9a\x95\x74\xce\x9a\xce\xaf\x78\x8f\xec\x95\x92\x02\x6a\x8b\xb4\x7b\x11\xfe\x16\x67\x82\x6c\x43\x2d\x3a\xca\xf3\x7d\x0f\xa9\xf0\x57\x3e\x46\x6f\xd3\xf2\xec\x94\x2b\xdd\x02\x2a\x24\x6b\xfc\x9c\x03\x24\x5f\xb4\xbd\xa4\xfc\xb7\x00\x2c\xd4\xbd\x85\xb6\x57\x43\x56\x00\x0a\x09\xde\x96\x8f\xa9\xe4\xd5\xc0\x51\xdb\x87\x0b\xea\xe1\xe3\x2f\xfb\x0b\xcf\xf6\xbd\x39\xfb\xe8\xd3\x42\xe3\xb2\x03\xb5\x65\xc9\xf7\x93\x9e\x00\x7c\x78\xa7\x35\x1e\x4e\x80\x74\x2d\x36\x43\xf0\x8f\x8f\x55\x3b\x25\x48\xb2\x95\xa9\x82\xdf\xf9\xf7\x8a\xc2\x86\x47\xa5\x5e\x57\x60\x4b\xf8\x11\xe8\x3c\xe4\x9f\xcc\x14\xfe\xb0\x58\x7d\x3a\x2a\xff\x66\xbb\x27\x83\xaa\x98\x2e\x09\xdc\x58\x0e\x13\x37\xcc\xa7\x02\xa3\xb1\xeb\x62\x80\x51\x32\xa4\x5c\xc5\x81\xb0\x79\x88\xd8\x2a\xae\xa9\x51\x6c\x12\x9a\x9f\xc2\xc8\x88\x70\xe7\xdf\xdf\xf5\xef\x4b\xce\x49\x1b\xe0\x40\x01\x94\x6a\xe1\xa7\xf0\x6e\x04\x15\x46\xf3\x8f\xcb\xa8\xf0\x69\x8c\xba\x4e\x0a\x8d\x4a\x85\xf6\x1b\x34\x49\x4e\x4d\x68\x7c\xd0\xc8\xda\xc9\x40\x93\xa2\x1d\x54\x95\x23\xaf\x32\xa9\xbe\x4f\xf8\xa0\x03\x3d\x29\x99\x7c\xea\xc0\x2b\xb0\xc9\xe9\x09\x19\x74\xe0\x18\xc8\x60\xa8\x98\x55\x0a\xd1\x62\x01\x78\x5f\x95\x2e\x3b\xc6\xc8\x53\x0b\x19\x95\xdb\x8a\x3b\x0d\xf4\xa0\xf9\x50\x6d\x7d\x8b\x2a\xda\xd4\x12\xcb\xbd\x1d\x77\x38\x52\xcf\xb6\x96\x83\x61\xdf\xd2\x0a\x58\x1c\x7a\x44\xa0\x9c\x12\xc6\xd4\x9b\x25\x2d\x78\x41\xb4\xe8\xe6\x61\x04\x57\x44\x6c\x1c\x11\xc5\xd4\xb5\xf3\x06\x3f\x4b\x69\x45\x87\x5f\x87\x5a\x94\x50\x52\x91\xc9\x2e\x59\xf2\x94\x42\x07\xde\x8f\x60\x00\xdf\xbe\x41\x65\x7d\x91\xae\xab\x5a\x2d\x26\x8a\x93\x51\xfa\x3c\xac\x6c\x2d\x94\xad\x45\xb9\x55\x88\xbd\xb5\xe0\x38\x93\xe3\x18\xac\x61\xfe\x6d\xd1\x51\x15\xae\x4c\x25\x55\x39\xca\x51\x45\x91\x37\x9b\x55\x4c\x90\x4d\x32\x67\x74\x0c\x52\x67\x78\x75\xb9\x95\x29\xe9\x64\x94\x7f\x1b\x6a\xdb\x8b\xca\xb6\x49\x7e\x2e\x25\xce\x65\xcb\x35\x90\x1f\x6a\x2a\x4b\x1b\x42\xbd\x00\x93\x2c\x6f\xe3\x83\x50\x5b\x17\x63\xf2\xad\x05\x79\x65\xc2\xc4\x07\xe1\x14\xa5\x60\x58\x85\xd1\xa6\xd3\xca\x9e\x61\xee\xcc\xf7\xeb\x63\x61\xd5\x90\xa2\x18\x4a\xe5\xe1\x69\x2f\xe0\x65\x3c\x0f\x1b\x33\xad\x68\xaf\x28\x52\x7c\x51\x56\x11\x41\xa2\x35\xa6\x8d\x42\x48\x3c\x78\xf9\x12\x1a\x37\x93\xa1\xfc\xef\xa4\x4e\xc9\x75\x18\xa1\x6c\x2f\x3e\xe0\x8a\xc8\x3a\xd1\x29\xe1\x34\x1b\x84\x31\xdf\xd8\x5a\x27\x91\x70\xd1\xad\xaa\xbe\xd3\xd1\x14\x5c\x19\xf7\x55\x29\x5f\xe4\xfa\xd5\x79\x56\x46\xfb\xe6\x7c\x50\x0b\xcd\xb6\xb4\x50\x95\xbb\x72\x2d\xd0\x16\x83\x9a\xfb\xb7\x87\x61\x2e\x96\x9e\x23\xa5\x75\x92\x96\x5e\xb7\x4c\x80\x24\xca\x13\xac\x86\xa4\xc9\xd8\x96\x76\x0d\xce\x2a\xa2\xba\xbd\x4d\xa1\x37\xa1\x9e\x1a\x78\x3f\xcc\xa5\xd3\x26\xe9\x51\xeb\x92\xca\x76\x4c\x98\x9a\x26\x4d\xab\x12\xff\x5d\xbd\xc6\xb7\xb9\xb7\xe6\xc0\x3c\x0c\x7c\x17\x25\xa1\x2e\x0c\x74\x27\xad\x64\x81\xe3\xe3\x46\x17\x36\x64\x99\xb2\x82\x1b\xf2\xc9\x7b\xe3\x6d\x60\xa6\xa8\x5a\x2e\xcb\xf3\x54\x69\xc0\xa7\x67\xa4\xc4\x22\x29\x68\x47\xcb\x02\xf0\xf2\xa5\xd1\x49\xd4\x93\x6b\x75\xfb\x07\x9c\xfb\x42\x11\xef\xe5\xcb\xaa\x16\xe1\x44\x4d\xe4\xef\xaa\x77\xa2\xba\x1b\x2d\x63\x21\x18\xad\xe7\x12\x53\x2a\xd7\xca\x1c\xa4\xd7\xe1\x29\xfa\x40\x71\x98\x72\x56\x33\x53\x39\x6d\xa4\xf2\x5a\xa1\x72\x80\xc8\xeb\x46\x22\xc6\xf6\xb4\x34\x8a\xac\xa2\x19\xac\x2c\xaa\x03\x4b\x0b\x8c\x9c\x8e\x41\xda\x7a\xda\xe0\x28\xf2\x8c\x53\x6b\xf2\xba\x9a\xe6\x6b\x1a\xaa\x12\x6f\xe4\xb0\x6f\xd5\x92\xae\x29\xf9\xa4\x37\x44\xff\xcd\x3f\xff\x38\xff\x40\x5b\xf6\xa8\xeb\x5d\x42\xe9\x5a\xe7\xf1\xf6\x73\x19\x53\xd9\xca\xa2\xba\xf2\x9f\x64\x99\xe4\x76\xdf\xe7\x22\xaf\xe8\xfc\xaf\x48\xa4\x2d\x74\xc8\x76\xea\xa1\xc9\x95\x05\x9c\xd4\xa6\x7b\xef\x31\xdb\x4b\x92\x56\x57\xa6\x88\x63\x68\x22\xb0\x68\x21\xb0\x28\x08\x68\x52\x99\xd3\x6e\x6b\x39\x91\xdd\x7e\x22\x95\x19\xea\xce\x4c\xf2\x04\x06\xf7\xba\xee\x1a\xdc\xc9\xa0\x44\x69\xba\xbf\xa3\xaf\x61\x15\x7d\x5f\x47\x6f\xd5\x56\x15\x5d\x06\xc2\x07\x0c\x04\xd1\x03\xa3\x81\x84\x21\x70\x12\xcf\x3f\x1e\x49\x41\x5e\x1d\xbe\x45\x29\x66\x29\xef\x51\x0e\xf6\xe5\xf9\xaf\x60\xd0\xef\xf7\x3b\x15\xba\x8b\x84\xee\xfe\xef\xd1\xdd\x1f\xa0\xdb\xa8\x58\x83\x1d\x0e\x63\x2d\x0c\xea\x6f\xc7\x2a\x55\xfc\x9c\x5e\xa8\xbd\xe0\xe7\x59\xed\xfd\xa8\xb9\xe6\xb7\x76\x20\xc9\x7c\x7b\x70\x88\x38\x1e\xa5\x56\x7e\x55\xbe\x52\x6d\x98\x20\x52\xc8\x85\x19\x52\x69\x13\x1a\x19\xaa\x75\x0a\xda\x68\x9d\xb2\xa1\xbc\xc4\x1d\x1a\xa0\x17\x25\xf4\xa2\x09\xba\x8c\x42\xe3\xc5\x8a\xf1\x12\x78\x43\x02\xc9\x29\x4e\x91\x87\x8c\x72\xb4\xb7\xc8\x39\x59\x63\xa5\x10\x6c\xc8\xf5\xf2\x4f\x39\x5f\xe0\x0e\xfe\xe4\xb3\xf3\xb1\x6d\xcd\xce\xc7\x27\xa7\x6f\xfe\xc7\xea\x82\x35\x9f\x7c\x9e\xe7\xd5\x3d\x05\x75\x38\x8a\xf3\xab\xf1\xd9\x6f\xb8\xcf\xe9\x99\xe1\x52\x3e\xed\x9d\x4f\x3d\xb6\x73\x02\xe6\x26\xde\xef\x6c\x08\xdf\x38\x3c\x5e\x72\x11\xd9\x83\x3c\x07\x66\xb7\x52\x4b\xc1\x88\x9d\xa1\xaf\xd3\x63\x6c\xeb\x97\xc5\x7c\x32\xb3\x3a\xe9\xf5\x52\x46\xad\x7e\x47\x1e\x30\xe2\x59\x5d\xc8\x85\xaf\x5c\x35\x91\x58\x6c\x64\x29\x71\x89\xd0\x2f\x05\x92\x17\xce\x21\xd2\x74\x8c\x2a\xee\xe0\xd7\x28\xb2\x0b\xfb\xa4\x28\x59\x19\x88\xa5\xdc\xd4\xb8\x01\xe3\x09\xb5\x46\xa4\x14\x22\xc7\x91\xb3\x7c\x0b\x70\x48\x54\xc8\x64\xb0\x3f\x00\x9e\xc0\xa8\x1c\x7d\xc1\xfd\x92\x91\xa8\xf5\x98\x1c\x46\xc5\x2b\x5f\x6e\x14\x1d\x6a\x23\xbe\x0e\xab\xd2\x11\xf8\x28\xda\x70\xe5\x7e\x0e\x9f\xea\xc6\xe1\x62\x1f\xa0\xe3\xf9\x3c\x0c\x88\xac\x0c\x16\x65\x14\xad\x42\x0d\xad\xfb\xb9\x28\xad\x40\xf2\x4c\xe7\x81\x04\x31\xca\x0d\x2b\xbb\x97\x4f\x7f\xe4\x70\x13\x31\xc1\x5c\x26\xf5\x6c\xed\x38\x7f\x6b\x95\x97\x6b\x85\xb7\x86\x05\xcc\x08\xac\xe4\x47\x23\x56\x75\x92\xaa\x12\xc9\x69\xa4\xd1\xba\xe3\x59\x5c\xfd\x8e\xcb\x19\x73\xbf\xa0\xb0\x15\x84\x63\xb0\x7a\x3d\xd9\x49\x97\xa1\xc1\xb8\xa0\x64\x8b\x70\x5c\x49\x12\xca\x47\x61\x8c\x45\x02\xfe\x17\xac\xb7\x15\x0a\xc9\xea\x5b\xb0\xac\x4e\x33\x0d\xab\xb7\xe3\xd2\x0c\x19\x8b\x0e\xa3\x59\x18\xcb\xc8\xc8\xc3\x27\xb9\x22\xd2\xd3\x72\x25\x8e\xf4\xc4\xb7\xe3\x4e\x62\x54\x5b\xbb\xc9\x48\x43\xdb\x94\xc8\xf4\xb0\xac\xb6\x1d\xf9\xb4\x51\xcf\x62\x09\x6f\x8e\x47\x04\x51\x5b\xa8\x2c\x44\x5b\xbd\x21\x17\x64\xe3\x73\xc1\xa2\xbd\xc3\x05\x11\x98\x98\xb6\x8c\x0b\x4d\xac\x66\x2f\x5b\x05\xf8\x68\x55\x65\x4d\xbc\x6d\xc5\xdc\x98\xdb\x87\x86\x29\xa3\x77\x6b\x24\x33\x55\x3d\xe5\x6f\x93\x12\x63\x25\x4a\x56\x4d\xa5\x5b\xc9\xf0\x46\x5c\x17\xca\xfc\xcb\x82\xaa\x75\x9e\xab\xcf\x43\x61\xda\xae\xc4\x04\xb0\x80\x6b\xca\x0a\xaa\x5e\x72\x6d\x1c\x4c\x71\x79\x82\x32\x14\x0b\x37\xf0\xdd\x2f\x56\xb7\x29\x42\x9e\xfb\x29\xa3\xe5\x07\xd9\xe0\x9f\xe9\x56\xf3\x26\xb3\x73\xe6\xa1\x10\xc6\x7c\x33\x93\xe1\xa0\xd4\x88\x2e\x58\xe9\xcf\x12\xe1\x37\xad\x6c\x3c\x29\x2f\x22\x5e\x18\x7e\x13\xa5\x0a\xab\x97\x8c\x56\x89\x52\xd9\x6b\x28\x8d\x26\xfc\x61\x36\x30\xc5\x6c\xfd\x37\x4e\x21\xf1\xea\x57\x1f\xf9\x4a\xa3\x87\xca\xbc\xf6\x83\xbd\xb3\x59\x2d\x4a\x45\x7c\x31\x4a\x2a\x45\xc3\x2d\x8f\x90\x95\xa5\x84\xee\x18\x52\x9d\x5a\x58\xab\x4a\x48\x28\xa5\xbd\x5a\xee\x61\x4b\xe2\x7e\xb1\x35\xff\xc9\x40\x18\x0d\x59\x98\x25\xe3\x03\x35\xa8\xc9\xdd\x73\x7f\xd7\xc5\x79\x4e\x9e\x85\xe7\x76\x13\xd0\x78\x35\xd6\x2c\x6a\xa9\x93\xa7\x61\x7b\xe2\x8a\x50\x36\xb1\x3f\x3a\x6d\x99\x3d\xa3\xe8\x20\x52\x26\x74\x3b\x49\x2d\xd6\xf9\x49\x66\x3a\x2e\x48\x24\xac\xae\xfa\x6e\xaf\x5b\xfc\xc2\xf0\x00\x2e\x52\xaf\xc0\x9c\x50\xef\xd9\x78\x6e\x72\x93\x58\xa0\xa6\x17\x8b\xcf\xc6\x96\xd3\x5f\x81\x2b\xe7\xa8\x12\xf3\xa9\x7c\xfc\x77\x00\x00\x00\xff\xff\x43\x36\xc0\xc9\x03\x2f\x00\x00")
+var _webdataFnJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3a\xeb\x6f\xdb\x38\xf2\xdf\xf3\x57\x4c\xf5\xa1\x90\x1b\xc7\x8f\x14\xfd\xed\x22\xae\xfb\x3b\x6f\xea\x6c\x82\xcd\x0b\xb6\x7b\x5b\x23\x08\x16\xb4\x34\xb6\xb5\x95\x49\xad\x48\xc5\x71\xaf\xf9\xdf\x0f\xd4\x93\xa2\x28\x39\xed\x5d\xee\xc3\xe1\x0c\x6c\x57\x21\x67\x86\xf3\x9e\xe1\x48\xdd\x37\x07\xf0\x06\x00\xe0\x94\x05\xbb\xd0\x5b\xad\x05\xd8\x4e\x0b\x8e\x7b\xfd\x9f\xe1\x13\x0d\x23\xf7\x7d\x24\xff\xfd\x1b\x8b\x84\xcf\xd8\x97\x8e\xc3\x36\x1f\x0e\x20\x43\x9a\xad\x3d\x0e\x4b\xcf\x47\xf0\x38\x04\x24\x14\xc0\x96\x30\xc1\x0d\x13\x78\x34\x63\x91\xb3\x0e\x88\xdb\x29\xc0\xcf\x18\x5b\x90\x50\xc2\x2e\x43\x44\xe0\x6c\x29\xb6\x24\xc4\x13\xd8\xb1\x08\x1c\x42\x21\x44\xd7\xe3\x22\xf4\x16\x91\x40\xf0\x04\x10\xea\x76\x59\x08\x1b\xe6\x7a\xcb\x5d\x4a\xc4\x13\x10\x51\x17\x43\x10\x6b\x04\x81\xe1\x86\xcb\x43\xe5\x1f\xbf\x5e\x7f\x82\x5f\x91\x62\x48\x7c\xb8\x8d\x16\xbe\xe7\xc0\xa5\xe7\x20\xe5\x08\x84\x43\x20\x57\xf8\x1a\x5d\x58\x64\xa4\x24\xd2\x99\xe4\x64\x9a\x72\x02\x67\x2c\xa2\x2e\x11\x1e\xa3\x6d\x40\x4f\xac\x31\x84\x07\x0c\xb9\xc7\x28\xbc\xcd\x8e\x49\x69\xb6\x81\x85\x29\x1d\x9b\x08\x29\x42\x08\x2c\x90\xa8\x2d\x20\x74\x07\x3e\x11\x05\xb6\xa2\x04\x4d\x3d\x52\x1b\x85\xd0\x2e\x78\x34\x3e\x64\xcd\x02\x04\xb1\x26\x42\xca\xbb\xf5\x7c\x1f\x16\x08\x11\xc7\x65\xe4\xb7\x53\x42\x8b\x48\xc0\xef\x17\xb3\xf3\x9b\x4f\x33\x18\x5d\xcf\xe1\xf7\xd1\x64\x32\xba\x9e\xcd\x07\xb0\xf5\xc4\x9a\x45\x02\xf0\x01\x13\x6a\xde\x26\xf0\x3d\x74\x61\x4b\xc2\x90\x50\xb1\x03\xb6\x4c\x89\x5c\x8d\x27\xa7\xe7\xa3\xeb\xd9\xe8\x97\x8b\xcb\x8b\xd9\x1c\x58\x08\x67\x17\xb3\xeb\xf1\x74\x0a\x67\x37\x13\x18\xc1\xed\x68\x32\xbb\x38\xfd\x74\x39\x9a\xc0\xed\xa7\xc9\xed\xcd\x74\xdc\x01\x98\xa2\x64\x0e\x53\x1a\x0d\x7a\x5f\xc6\xd6\x0b\x11\x5c\x14\xc4\xf3\x79\xa1\x87\x39\x8b\x80\xaf\x59\xe4\xbb\xb0\x26\x0f\x08\x21\x3a\xe8\x3d\xa0\x0b\x04\x1c\x16\xec\xf6\xdb\x34\x21\x43\x7c\x46\x57\xb1\xc0\xa9\x77\x75\x00\x2e\x96\x40\x99\x68\x03\x47\x84\xf7\x6b\x21\x82\x93\x6e\x77\xbb\xdd\x76\x56\x34\xea\xb0\x70\xd5\xf5\x13\x02\xbc\xfb\x41\xb2\xd3\x3d\x38\x80\x6e\x17\xee\xfa\x10\x9b\xa4\x0d\xc7\xc9\x03\xf2\x36\xbc\xcd\x1e\xef\x0f\x1c\x46\xb9\x80\xd9\xcd\xa7\xd3\xf3\x3f\xae\x6e\xfe\x3e\xfe\x63\x76\x3e\x19\x4f\xcf\x6f\x2e\x3f\xc2\x10\xee\xfa\xbd\x36\xf4\xdf\xc9\xff\xee\x07\x25\xd0\xd9\xc5\xd5\x58\x1a\x68\x08\xc7\xef\x7a\x83\x03\x79\xd0\x5d\xf0\xd8\xe5\x6d\xd8\x44\xbe\xb8\x6f\x43\xa7\xd3\xc9\x88\xdf\xde\x5c\x5c\xcf\xc6\x93\x3f\x46\xa7\xa7\xe3\xcb\xf1\x64\x34\xbb\xb8\xb9\x96\xc4\xef\x7a\x6d\xe8\xdd\xb7\xe1\xee\xe7\x9f\xda\xd0\x97\x0f\xfd\x9f\xde\xa6\x4f\xef\xde\xbd\x6d\xc3\xf1\xfd\xfd\xe0\xe0\xe0\x81\x84\xb0\xe5\x83\xf8\xff\x01\x71\xf3\x07\x9f\x2c\xd0\x4f\xf7\x85\x14\xe7\x8a\x49\x3d\x0f\x61\x49\x7c\x8e\x83\x62\x7d\x2a\x64\x04\x0f\xa1\xa7\xac\x5d\x12\x2e\xc6\xd4\xd5\x56\x27\xe8\x23\xe1\xe8\x9e\xb2\x88\x2a\x18\x8c\xae\x98\x47\x57\xa9\xce\x24\xeb\xf7\xc9\xc6\x86\x3d\xe0\xe7\x69\xb4\x29\x40\xe5\xca\xbc\xb4\xc2\x9d\x90\xf9\xfe\x67\xc3\x5a\x19\xce\x0d\xc9\x6a\xe5\xd1\x55\x59\x80\x6c\x75\xe6\x6d\x50\xba\xfe\x10\x68\xe4\xfb\x2a\x95\x12\xca\xc1\x32\xa2\x8e\x8c\x55\x58\x46\xbe\xcf\x9d\x10\x91\x8e\x29\x59\xf8\xe8\xda\x2d\xf8\xc7\x81\x74\xeb\x10\x45\x14\x52\xb0\x5d\xe6\x44\x1b\xa4\xa2\x53\x01\x85\x6f\xdf\x62\x48\xf9\xcb\xa1\xb6\xb8\xf8\xe2\x89\xb3\x67\xc1\x6e\xd8\x57\x09\x38\xdd\x0f\xc8\x1b\x09\xc6\x52\xb5\x06\x07\x4f\x8a\x60\x21\xfe\x15\x21\x57\x18\xb1\x31\x93\xcc\x5b\x82\x8d\x9d\x0a\x40\xb6\x2d\x7f\x86\x6d\xbb\x35\x88\xb7\x9f\x00\x7d\x8e\x29\x91\x44\xda\x49\x33\xa9\x1a\x20\x23\xc1\x0d\xfb\xaa\x00\x4e\x0d\xd4\x4c\x10\x66\x52\x7c\x0f\x5f\x06\x80\x9c\x50\x49\x97\xf8\xe8\x95\x60\x14\x3d\xe6\x26\x2a\xc3\xa8\x07\xd5\x80\x18\x78\xd6\x9c\x68\xbc\x9f\xa4\x09\xb0\x89\xf0\x86\x7d\x3d\x25\xd4\x41\xdf\xac\xdd\x26\xb8\x46\xb2\xfc\x19\xbc\xea\x40\x66\x5d\x2b\x51\xe6\xa3\xc4\x7b\x56\x40\x26\xa0\xcf\x0b\xc8\x06\xd8\x72\x40\x36\x01\xf2\x46\x82\x32\xf9\x68\xf1\x48\x5c\xb7\x40\x71\xd6\x84\xae\x70\xfc\x80\x54\x5c\x7a\x5c\xc8\x02\x67\xfb\xe9\x83\xd1\xbb\xaa\xa2\xbe\x1a\x0e\xe3\x46\x68\xe9\x51\x74\x8d\xfa\x26\xae\x5b\x3e\xc1\x5a\x6a\x0c\x58\x6d\xc8\x4f\xdd\xe7\x8c\x55\x79\x7f\x84\x83\x84\xd6\x8f\xf1\x61\x34\xce\x8f\x30\xb1\x61\x5f\x7f\x90\x03\x83\xd5\x7f\x84\x81\xab\x69\x41\xe7\xb4\xee\xfc\x92\xf7\xc8\x9e\x28\xae\xab\xb6\x48\xba\x14\xe1\x6d\x70\x2a\xc8\x26\xd0\xa2\xa3\x38\xdf\x73\x91\x0a\x6f\xe9\x61\x78\x92\x54\xed\x4e\xb1\xd2\xce\xa1\x02\xb2\xc2\xcf\x19\x40\xfc\x87\xb6\x17\x77\x05\x0d\x00\x73\x75\x6f\xae\xed\x55\x90\x15\x80\x5c\x82\x93\xe2\x31\x91\xbc\x1c\x38\x6a\x57\x71\x41\x5d\x7c\xfc\x65\x77\xe1\xda\x9e\x3b\x63\x67\x1e\xcd\x35\x2e\x3b\x4d\x5b\x56\x7b\x2f\x6e\x15\xc0\x83\xf7\x5a\x3f\xd2\xf1\x91\xae\xc4\x7a\x00\xde\xe1\xa1\x6a\xa7\x18\x49\x76\x38\x65\xf0\x3b\xef\x5e\x51\xd8\xe0\xa0\xd0\xeb\x12\x6c\x09\x3f\x04\x9d\x87\xec\x97\x9a\xc2\x1b\xe4\xab\x4f\x07\xc5\xbf\xe9\xee\x51\xbf\x2c\xa6\x43\x7c\x27\x92\x97\x86\x5b\xe6\x51\x81\xe1\xc8\x71\xd0\xc7\x30\xbe\x8c\x5c\x45\xbe\xb0\x79\x80\xd8\x28\xae\xa9\x7f\xac\x13\x9a\x1f\xc3\xd0\x88\x70\xe7\xdd\xdf\xf5\xee\x0b\xce\x49\x13\x60\x5f\x01\x94\x6a\xe1\xc7\xf0\x7e\x08\x25\x46\xb3\x9f\xc3\xa8\xf0\x68\x84\xba\x4e\x72\x8d\x4a\x85\xf6\x6a\x34\x49\x8e\x4d\x68\xbc\x5f\xcb\xda\x51\x5f\x93\xa2\x19\x54\x95\x23\xab\x32\x89\xbe\x8f\x78\xbf\x05\x5d\x29\x99\x7c\x6a\xc1\x1b\xb0\xc9\xf1\x11\xe9\xb7\xe0\x10\x48\x7f\xa0\x98\x55\x0a\xd1\x60\x01\xf8\x50\x96\x2e\x3d\xc6\xc8\x53\x03\x19\x95\xdb\x92\x3b\xf5\xf5\xa0\xf9\x58\xee\x88\xf3\x2a\x5a\xd7\x29\xcb\xbd\x2d\xef\x70\xa4\xae\x6d\x2d\xfa\x83\x9e\xa5\x15\xb0\x28\x70\x89\x40\x79\x79\x18\x51\x77\x1a\xf7\xd4\x39\xd1\xbc\xc9\x87\x21\x5c\x11\xb1\xee\x88\x30\xa2\x8e\x9d\xf5\xfd\x69\x4a\xcb\x1b\xff\x2a\xd4\xbc\x80\x92\x8a\x8c\x77\xc9\x82\x27\x14\x5a\xf0\x61\x08\x7d\xf8\xf6\x0d\x4a\xeb\xf3\x64\x5d\xd5\x6a\x7e\xd1\x38\x1a\x26\xcf\x83\xd2\xd6\x5c\xd9\x9a\x17\x5b\xb9\xd8\x1b\x0b\x0e\x53\x39\x0e\xc1\x1a\x64\x7f\xcd\x5b\xaa\xc2\x95\xcb\x4a\x59\x8e\xe2\x06\xa3\xc8\x9b\x5e\x61\x4c\x90\x75\x32\xa7\x74\x0c\x52\xa7\x78\x55\xb9\x95\xcb\xd3\xd1\x30\xfb\x6b\xa0\x6d\xcf\x4b\xdb\x73\x7d\x3b\xb9\x20\x89\x50\x8d\xd1\x5c\x33\x5c\xea\x22\x93\x3a\xd3\x4d\xc6\x8e\xa9\x60\xad\x09\x75\x7d\x8c\xf3\xbf\x8d\x0f\x42\x6d\x6a\x8c\x69\xb9\x12\xfe\xa5\x2b\x29\x3e\x88\x4e\x5e\x24\x06\x65\x18\xed\x3a\x5b\xda\x33\x5c\x54\xb3\xfd\xea\x3d\xb2\x6c\x62\x91\xdf\x62\xe5\xe1\x49\x97\xe0\xa6\x3c\x0f\x6a\x73\xb0\x68\xae\x35\x52\x7c\x51\xd4\x17\x41\xc2\x15\x26\x2d\x44\x40\x5c\x78\xfd\x1a\x6a\x37\xe3\x5b\xfc\xf7\x24\x55\xc9\x75\x10\xa2\x6c\x3c\x3e\xe2\x92\xc8\x0a\xd2\x2a\xe0\x34\x1b\x04\x11\x5f\xdb\x5a\x8f\x11\x73\xd1\x2e\xab\xbe\xd5\xd2\x14\x5c\x9a\x0f\xa8\x52\xbe\xca\xf4\xab\xf3\xac\xcc\x02\xea\x33\x45\x25\x68\x9b\x12\x46\x59\xee\xd2\x1c\xa1\x29\x3a\xb5\xc0\x68\x0e\xd0\x4c\x2c\x3d\x7b\x4a\xeb\xc4\xcd\xbe\x6e\x19\x1f\x49\x98\xa5\x5e\x0d\x49\x93\xb1\x29\x21\x1b\x9c\xb5\x1c\xa0\xe5\x22\x9a\x07\xb2\xce\x4e\x11\xc7\x4b\x4b\x3b\xde\x30\x1d\x29\x13\x37\xc5\xf5\x98\xba\x6a\x54\xbf\x58\xbc\x24\xbd\xd9\xa3\xd6\x9c\x15\x5d\xa0\x30\xf5\x6a\x9a\xc9\x24\xfe\xfb\x6a\x6b\xd1\x14\x3b\x5a\x74\xf0\xc0\xf7\x1c\x94\x84\xda\xd0\xd7\x23\xa0\x94\x62\x0e\x0f\x6b\xe3\xa3\x26\x85\xbd\xa0\xd9\x40\x4d\x38\xe5\x4c\xf8\xc1\x38\xc9\x4c\xad\x50\xc9\xc2\x59\x86\x2d\x5c\xef\xe9\x19\xc9\x3c\x4f\x67\xda\xd1\xb2\xa8\xbd\x7e\x6d\x74\x6f\xf5\xe4\x4a\x2f\xf2\x02\xe7\xbe\x52\xc4\x7b\xfd\xba\x6c\x22\x38\x52\x4b\xd0\xfb\xf2\x3c\x57\xf7\xd1\x45\x24\x04\xa3\xd5\x2c\x68\x2a\x42\x5a\xe9\x86\x64\x94\x9f\xa0\xf7\x15\x2b\x16\xf7\x4f\x33\x95\xe3\x5a\x2a\x6f\x15\x2a\x7b\x88\xbc\xad\x25\x62\x6c\xb9\x0b\xa3\xc8\xfa\x9f\xc2\xca\x76\xa0\x6f\x69\x51\x97\xd1\x31\x48\x5b\x4d\x78\x1c\x45\x96\x2b\x2b\x8d\x6b\x5b\xd3\x7c\x45\x43\x35\x21\xa3\x73\xd8\xb3\x2a\xe5\xc2\x94\xd9\x92\xa9\xd7\xff\x92\xdb\xbf\x25\xb9\xd5\x64\x0f\xf8\x4f\x97\x2b\xc9\x82\x6e\x52\x1e\x6d\x3e\x17\x01\x9b\xae\xcc\xcb\x2b\xff\x4d\x66\x8f\xdf\x92\x78\x5c\x64\x8d\x0e\xff\x2b\x14\xc9\x9d\x23\x60\x5b\xf5\xd0\x78\xc6\x03\x47\x95\x71\x88\xfb\x98\xee\xc5\x19\xb1\x2d\xf3\xcf\x21\xd4\x11\x98\x37\x10\x98\xe7\x04\x34\xa9\xcc\x39\xbd\xb1\x56\xc9\xeb\x51\x2c\x95\x19\xea\xce\x4c\xf2\x08\xfa\xf7\xba\xee\x1a\x7c\x55\x53\xa2\x34\xdd\xf7\xe8\x6b\x50\x46\xdf\x55\xd1\x1b\xb5\x55\x46\x97\x51\xf6\x11\x7d\x41\xf4\xa8\xab\x21\x61\x88\xca\xd8\xf3\x0f\x87\x52\x90\x37\xfb\xc7\x4e\xf9\xe5\xd3\x7d\x6c\x41\x57\x39\xff\x0d\xf4\x7b\xbd\x5e\xab\x44\x77\x1e\xd3\xdd\x7d\x1f\xdd\xdd\x1e\xba\xb5\x8a\x35\xd8\x61\x3f\xd6\xdc\xa0\xfe\x66\xac\x42\xc5\xc6\x44\xa7\x35\x5a\xcd\xdd\x44\x96\x32\x3f\x0c\xeb\x1b\x8a\xc6\xf6\x26\x1e\x08\xec\xbd\x5b\x1d\x0e\x63\x2b\xd7\x5c\xa6\x92\xdd\xb9\xb1\xd7\xa8\x3d\xb8\xd2\x6e\x68\x33\x87\xca\x71\xda\xd0\xa1\x7c\x60\xfe\x64\x9c\x2a\x19\x27\xe0\x6b\xe2\x4b\x6e\x70\x82\x3c\x60\x94\xa3\xbd\x41\xce\xc9\x0a\x4b\x49\x7d\x4d\x6e\x16\x7f\xca\x2b\x14\x6e\xe1\x4f\x3e\x3d\x1f\xd9\xd6\xf4\x7c\x74\x74\xfc\xee\xff\xac\x36\x58\xb3\xf1\xe7\x59\x56\x50\x12\xd0\x0e\x47\x71\x7e\x35\x3a\xfd\x0d\x77\x19\x3d\x33\x5c\xc2\xa7\xbd\xf5\xa8\xcb\xb6\x1d\x9f\x39\xb1\x27\x77\xd6\x84\xaf\x3b\x3c\x5a\x70\x11\xda\xfd\x2c\x9f\xa5\x23\xb9\x85\x60\xc4\x4e\xd1\x57\xc9\x31\xb6\xf5\xcb\x7c\x36\x9e\x5a\xad\x64\xb6\x96\x52\xab\xbe\x20\xf0\x19\x71\xad\x36\x64\xc2\x97\xe6\x6c\x24\x12\x6b\x59\x16\x1c\x22\xf4\xb9\x47\xfc\x12\x3e\x40\x9a\x94\xc7\xfc\x05\xc4\x0a\x45\xfa\xb6\x22\x2e\x30\x56\x0a\x62\x29\x63\x2a\xc7\x67\x3c\xa6\x56\x8b\x94\x40\x64\x38\x01\x69\x04\x0e\x88\x0a\x19\xcf\x2e\xf6\x80\xc7\x30\x2a\x47\x5f\x70\xb7\x60\x24\x6c\x3c\x26\x83\x51\xf1\x8a\x37\x3b\x79\x2b\x5b\x8b\xaf\xc3\xaa\x74\x04\x3e\x8a\x26\x5c\xb9\x9f\xc1\x27\xba\xe9\x70\xb1\xf3\xb1\xe3\x7a\x3c\xf0\x89\xcc\xf2\x16\x65\x14\xad\x5c\x0d\x8d\xfb\x99\x28\x8d\x40\xf2\xcc\xce\x03\xf1\x23\x94\x1b\x56\xfa\x52\x22\xf9\xf0\xe3\x36\x64\x82\x39\x4c\xea\xd9\xda\x72\x7e\x62\x15\x93\xc5\xdc\x5b\x83\x1c\x66\x08\x56\xfc\x65\x8c\x55\xbe\x72\x95\x89\x64\x34\x92\x68\xdd\xf2\x34\xae\x7e\xc7\xc5\x94\x39\x5f\x50\xd8\x0a\xc2\x21\x58\xdd\xae\x6c\xb9\x8b\xd0\x60\x5c\x50\xb2\x41\x38\x2c\xa5\x05\xe5\xa7\x30\xc6\x42\x01\xff\x0f\xd6\x49\x89\x42\xbc\x7a\x02\x96\xd5\xaa\xa7\x61\x75\xb7\x5c\x9a\x21\x65\xb1\xc3\x68\x1a\xc6\x32\x32\xb2\xf0\x89\xa7\x60\x7a\x8a\x2d\xc5\x91\xa1\x03\x8d\x8d\x6a\x6b\xed\x67\x12\xda\xa6\x44\xa6\x87\xa5\x79\x90\x5a\xcd\x62\x31\x6f\x1d\x97\x08\xa2\xb6\x43\x69\x88\x36\x7a\x43\x26\xc8\xda\xe3\x82\x85\xbb\x0e\x17\x44\x60\x6c\xda\x22\x2e\x34\xb1\xea\xbd\x6c\xe9\xe3\xa3\x55\x96\x35\xf6\xb6\x25\x73\x22\x6e\xef\xbb\x75\x19\xbd\x5b\x23\x99\xaa\xea\x29\x7b\x95\x16\x1b\x2b\x56\xb2\x6a\x2a\xdd\x4a\x86\xcf\x01\x74\xa1\xcc\x9f\x55\x94\xad\xf3\x5c\x7d\xee\x0b\xd3\x66\x25\xc6\x80\x39\x5c\x5d\x56\x50\xf5\x92\x69\x63\x6f\x8a\xcb\x12\x94\xa1\x58\x38\xbe\xe7\x7c\xb1\xda\x75\x11\xf2\xdc\x5f\x11\x2d\x2f\x64\x83\x7f\x4d\xb7\x9a\x37\x99\x9d\x33\x0b\x85\x20\xe2\xeb\xa9\x0c\x07\xa5\x46\xb4\xc1\x4a\xbe\xbd\x84\xdf\xb4\xb2\xf1\xa4\xbc\x85\x79\x65\xf8\x20\x4c\x15\x56\x2f\x19\x8d\x12\x25\xb2\x57\x50\x6a\x4d\xf8\x62\x36\x30\xc5\x6c\xf5\x03\xaf\x80\xb8\xd5\x19\x49\xb6\x52\xeb\xa1\x32\xaf\xbd\xb0\x77\xd6\xab\x45\xa9\x88\xaf\x86\x71\xa5\xa8\x99\x24\x08\x59\x59\x0a\xe8\x96\x21\xd5\xa9\x85\xb5\xac\x84\x98\x52\xd2\xab\x65\x1e\xb6\x20\xce\x17\x5b\xf3\x9f\x14\x84\xd1\x80\x05\x69\x32\xde\x53\x83\xea\xdc\x3d\xf3\x77\x5d\x9c\xe7\xe4\x59\x78\x6e\x37\x01\xb5\x33\xb4\x7a\x51\x0b\x9d\x3c\x0d\x9a\x13\x57\x88\xb2\x89\x7d\xe9\xb4\x65\xf6\x8c\xbc\x83\x48\x98\xd0\xed\x24\xb5\x58\xe5\x27\xbe\x9f\x71\x41\x42\x61\xb5\xd5\xd7\x97\xed\xfc\xf3\xca\x3d\xb8\x48\xdd\x1c\x73\x4c\xdd\x67\xe3\x39\xf1\xc8\x31\x47\x4d\x26\x90\xcf\xc6\x96\xb7\xba\x1c\x57\xde\xa3\x0a\xcc\xa7\xe2\xf1\x9f\x01\x00\x00\xff\xff\x16\x31\x02\x9c\xe8\x2f\x00\x00")
func webdataFnJsBytes() ([]byte, error) {
return bindataRead(
@@ -89,7 +89,7 @@ func webdataFnJs() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/fn.js", size: 12035, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
+ info := bindataFileInfo{name: "webdata/fn.js", size: 12264, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
diff --git a/main.go b/main.go
index 1e3edf4..7f7a08d 100644
--- a/main.go
+++ b/main.go
@@ -51,6 +51,9 @@ func processCommand(plugin Plugin, command string) error {
if len(command) == 0 {
return errors.New("empty command")
}
+ if command == "sf" {
+ return plugin.PointerScrollFinish()
+ }
if command[0] == 't' {
text := command[1:]
if !utf8.ValidString(text) {
diff --git a/plugin.go b/plugin.go
index 8f9c722..9445537 100644
--- a/plugin.go
+++ b/plugin.go
@@ -42,5 +42,6 @@ type Plugin interface {
KeyboardText(text string) error
PointerButton(button uint, press bool) error
PointerMove(deltaX, deltaY int) error
- PointerScroll(stepsHorizontal, stepsVertical int) error
+ PointerScroll(deltaHorizontal, deltaVertical int) error
+ PointerScrollFinish() error
}
diff --git a/plugin_windows.go b/plugin_windows.go
index 64db40f..91c6e97 100644
--- a/plugin_windows.go
+++ b/plugin_windows.go
@@ -44,7 +44,7 @@ const (
mouseeventfWheel uint32 = 0x800
mouseeventfHwheel uint32 = 0x1000
- wheelDelta int = 120
+ scrollMult int = 6
)
type mouseInput struct {
@@ -146,20 +146,20 @@ func (p *windowsPlugin) PointerMove(deltaX, deltaY int) error {
return nil
}
-func (p *windowsPlugin) PointerScroll(stepsHorizontal, stepsVertical int) error {
+func (p *windowsPlugin) PointerScroll(deltaHorizontal, deltaVertical int) error {
inputs := make([]mouseInput, 0, 2)
- if stepsHorizontal != 0 {
+ if deltaHorizontal != 0 {
inputs = append(inputs, mouseInput{
typ: inputMouse,
dwFlags: mouseeventfHwheel,
- mouseData: uint32(stepsHorizontal * wheelDelta),
+ mouseData: uint32(deltaHorizontal * scrollMult),
})
}
- if stepsVertical != 0 {
+ if deltaVertical != 0 {
inputs = append(inputs, mouseInput{
typ: inputMouse,
dwFlags: mouseeventfWheel,
- mouseData: uint32(stepsVertical * wheelDelta),
+ mouseData: uint32(deltaVertical * scrollMult),
})
}
if len(inputs) == 0 {
@@ -172,3 +172,7 @@ func (p *windowsPlugin) PointerScroll(stepsHorizontal, stepsVertical int) error
}
return nil
}
+
+func (p *windowsPlugin) PointerScrollFinish() error {
+ return nil
+}
diff --git a/plugin_x11.go b/plugin_x11.go
index 6273f4f..747df9f 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -35,11 +35,15 @@ import (
"unsafe"
)
-const typingDelay time.Duration = 100 * time.Millisecond
+const (
+ typingDelay time.Duration = 100 * time.Millisecond
+ scrollDiv int = 20
+)
type x11Plugin struct {
- display *C.Display
- lock sync.Mutex
+ display *C.Display
+ lock sync.Mutex
+ scrollHorizontal, scrollVertical int
}
func InitX11Plugin() (Plugin, error) {
@@ -157,7 +161,13 @@ func (p *x11Plugin) PointerMove(deltaX, deltaY int) error {
return nil
}
-func (p *x11Plugin) PointerScroll(stepsHorizontal, stepsVertical int) error {
+func (p *x11Plugin) PointerScroll(deltaHorizontal, deltaVertical int) error {
+ p.lock.Lock()
+ stepsHorizontal := (p.scrollHorizontal + deltaHorizontal) / scrollDiv
+ stepsVertical := (p.scrollVertical + deltaVertical) / scrollDiv
+ p.scrollHorizontal = (p.scrollHorizontal + deltaHorizontal) % scrollDiv
+ p.scrollVertical = (p.scrollVertical + deltaVertical) % scrollDiv
+ p.lock.Unlock()
var buttonHorizontal uint = 7
if stepsHorizontal < 0 {
buttonHorizontal = 6
@@ -186,3 +196,11 @@ func (p *x11Plugin) PointerScroll(stepsHorizontal, stepsVertical int) error {
}
return nil
}
+
+func (p *x11Plugin) PointerScrollFinish() error {
+ p.lock.Lock()
+ defer p.lock.Unlock()
+ p.scrollHorizontal = 0
+ p.scrollVertical = 0
+ return nil
+}
diff --git a/webdata/fn.js b/webdata/fn.js
index 35d174a..9bc7f6f 100644
--- a/webdata/fn.js
+++ b/webdata/fn.js
@@ -20,8 +20,6 @@
// [1 Touch, 2 Touches, 3 Touches]
const TOUCH_MOVE_THRESHOLD = [10, 15, 15];
const TOUCH_TIMEOUT = 250;
-const MOVE_MULT = 1;
-const SCROLL_MULT = 0.05;
// [[px/s, mult], ...]
const POINTER_ACCELERATION = [[0, 0], [87, 1], [173, 1], [553, 2]];
@@ -40,6 +38,7 @@ var scrollXSum = 0;
var scrollYSum = 0;
var dragging = false;
var draggingTimeout = null;
+var scrolling = false;
function fullscreenEnabled() {
return (document.fullscreenEnabled ||
@@ -153,6 +152,7 @@ function updateMoveAndScroll() {
if (Math.abs(scrollX) >= 1 || Math.abs(scrollY) >= 1) {
scrollXSum -= scrollX;
scrollYSum -= scrollY;
+ scrolling = true;
ws.send("s" + scrollX + ";" + scrollY);
}
}
@@ -183,6 +183,10 @@ function handleStart(evt) {
draggingTimeout = null;
dragging = true;
}
+ if (scrolling) {
+ ws.send("sf");
+ scrolling = false;
+ }
}
}
@@ -196,6 +200,10 @@ function handleEnd(evt) {
ongoingTouches.splice(idx, 1);
touchReleasedCount++;
touchLastEnd = evt.timeStamp;
+ if (scrolling) {
+ ws.send("sf");
+ scrolling = false;
+ }
}
if (touchReleasedCount > TOUCH_MOVE_THRESHOLD.length) {
touchMoved = true;
@@ -234,6 +242,10 @@ function handleCancel(evt) {
touchReleasedCount++;
touchLastEnd = evt.timeStamp;
touchMoved = true;
+ if (scrolling) {
+ ws.send("sf");
+ scrolling = false;
+ }
}
}
@@ -261,11 +273,11 @@ function handleMove(evt) {
}
if (touchMoved && evt.timeStamp - touchLastEnd >= TOUCH_TIMEOUT) {
if (ongoingTouches.length == 1 || dragging) {
- moveXSum += sumX * MOVE_MULT;
- moveYSum += sumY * MOVE_MULT;
+ moveXSum += sumX;
+ moveYSum += sumY;
} else if (ongoingTouches.length == 2) {
- scrollXSum -= sumX * SCROLL_MULT;
- scrollYSum -= sumY * SCROLL_MULT;
+ scrollXSum -= sumX;
+ scrollYSum -= sumY;
}
updateMoveAndScroll();
}
From 71d7cd42b9031481c406b9bfe9f75742a96bec5d Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:12 +0200
Subject: [PATCH 018/311] add support for Flatpak's RemoteDesktop portal
---
README.md | 2 +-
desktop/remote-touchpad.appdata.xml | 2 +-
flatpak/com.github.unrud.RemoteTouchpad.json | 8 +-
plugin.go | 1 +
plugin_portal.go | 271 +++++++++++++++++++
plugin_portal_dummy.go | 28 ++
6 files changed, 309 insertions(+), 3 deletions(-)
create mode 100644 plugin_portal.go
create mode 100644 plugin_portal_dummy.go
diff --git a/README.md b/README.md
index 904fd5e..42ea676 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
Control mouse and keyboard from the webbrowser of a smartphone (or any other device with a touchscreen).
To take control open the displayed URL or scan the QR code.
-Supports Windows and X11.
+Supports Flatpak's RemoteDesktop portal (experimental), Windows and X11.
## Installation
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index 5e269ed..62dd6c5 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -11,7 +11,7 @@
To take control open the displayed URL or scan the QR code.
- Supports Windows and X11.
+ Supports Flatpak's RemoteDesktop portal (experimental), Windows and X11.
https://github.com/Unrud/remote-touchpad/issues
diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json
index 151250b..db92ec4 100644
--- a/flatpak/com.github.unrud.RemoteTouchpad.json
+++ b/flatpak/com.github.unrud.RemoteTouchpad.json
@@ -36,6 +36,12 @@
"commit" : "38087fe4dafb822e541b3f7955075cc1c30bd294",
"dest" : "src/github.com/elazarl/go-bindata-assetfs"
},
+ {
+ "type" : "git",
+ "url" : "https://anonscm.debian.org/git/pkg-go/packages/golang-dbus.git",
+ "commit" : "79d96b151df08809558c825f8a75188826e8e228",
+ "dest" : "src/anonscm.debian.org/git/pkg-go/packages/golang-dbus.git"
+ },
{
"type" : "git",
"path" : "..",
@@ -45,7 +51,7 @@
],
"buildsystem" : "simple",
"build-commands" : [
- ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags x11 github.com/unrud/remote-touchpad",
+ ". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\" go build -tags 'portal x11' github.com/unrud/remote-touchpad",
"install -Dm0755 -t /app/bin remote-touchpad",
"install -Dm0755 -t /app/bin src/github.com/unrud/remote-touchpad/desktop/remote-touchpad-wait-on-error",
"install -Dm0644 -t /app/share/appdata src/github.com/unrud/remote-touchpad/desktop/remote-touchpad.appdata.xml",
diff --git a/plugin.go b/plugin.go
index 9445537..64482fc 100644
--- a/plugin.go
+++ b/plugin.go
@@ -26,6 +26,7 @@ type PluginInfo struct {
var Plugins []PluginInfo = []PluginInfo{
{"X11", InitX11Plugin},
+ {"RemoteDesktop portal", InitPortalPlugin},
{"Windows", InitWindowsPlugin},
}
diff --git a/plugin_portal.go b/plugin_portal.go
new file mode 100644
index 0000000..faa6a5d
--- /dev/null
+++ b/plugin_portal.go
@@ -0,0 +1,271 @@
+// +build portal
+
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+import (
+ dbus "anonscm.debian.org/git/pkg-go/packages/golang-dbus.git"
+ "errors"
+ "fmt"
+ "sync"
+)
+
+const (
+ deviceKeyboard uint32 = 1
+ devicePointer uint32 = 2
+
+ btnReleased uint32 = 0
+ btnPressed uint32 = 1
+
+ btnLeft int32 = 0x110
+ btnRight int32 = 0x111
+ btnMiddle int32 = 0x112
+)
+
+type portalPlugin struct {
+ bus *dbus.Conn
+ remoteDesktop dbus.BusObject
+ sessionHandle dbus.ObjectPath
+ lock sync.RWMutex
+}
+
+func InitPortalPlugin() (Plugin, error) {
+ bus, err := dbus.SessionBusPrivate()
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ cleanupBus := true
+ defer func() {
+ if cleanupBus {
+ bus.Close()
+ }
+ }()
+ err = bus.Auth(nil)
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ err = bus.Hello()
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ remoteDesktop := bus.Object("org.freedesktop.portal.Desktop",
+ "/org/freedesktop/portal/desktop")
+ availableDeviceTypesV, err := remoteDesktop.GetProperty(
+ "org.freedesktop.portal.RemoteDesktop.AvailableDeviceTypes")
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ availableDeviceTypes, ok := availableDeviceTypesV.Value().(uint32)
+ if !ok {
+ return nil, UnsupportedPlatformError{errors.New(
+ "unexpected 'AvailableDeviceTypes' return type")}
+ }
+ if availableDeviceTypes&deviceKeyboard == 0 ||
+ availableDeviceTypes&devicePointer == 0 {
+ return nil, UnsupportedPlatformError{errors.New(
+ "keyboard or pointer source type not supported")}
+ }
+ inVardict := make(map[string]dbus.Variant)
+ inVardict["session_handle_token"] = dbus.MakeVariant("t")
+ result, outVardict, err := getResponse(bus, remoteDesktop,
+ "org.freedesktop.portal.RemoteDesktop.CreateSession", 0, inVardict)
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ if result != 0 {
+ return nil, UnsupportedPlatformError{errors.New(fmt.Sprintf(
+ "Calling 'CreateSession' failed (%v)", result))}
+ }
+ sessionHandleV, ok := outVardict["session_handle"]
+ if !ok {
+ return nil, UnsupportedPlatformError{errors.New(
+ "'session_handle' missing from 'CreateSession' return value")}
+ }
+ sessionHandleS, ok := sessionHandleV.Value().(string)
+ if !ok {
+ return nil, UnsupportedPlatformError{errors.New(
+ "unexpected 'session_handle' type in 'CreateSession' return value")}
+ }
+ sessionHandle := dbus.ObjectPath(sessionHandleS)
+ inVardict = make(map[string]dbus.Variant)
+ inVardict["type"] = dbus.MakeVariant(deviceKeyboard | devicePointer)
+ result, outVardict, err = getResponse(bus, remoteDesktop,
+ "org.freedesktop.portal.RemoteDesktop.SelectDevices", 0, sessionHandle, inVardict)
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ if result != 0 {
+ return nil, UnsupportedPlatformError{errors.New(fmt.Sprintf(
+ "Calling 'SelectDevices' failed (%v)", result))}
+ }
+ inVardict = make(map[string]dbus.Variant)
+ result, outVardict, err = getResponse(bus, remoteDesktop,
+ "org.freedesktop.portal.RemoteDesktop.Start", 0, sessionHandle, "", inVardict)
+ if err != nil {
+ return nil, UnsupportedPlatformError{err}
+ }
+ if result != 0 {
+ return nil, errors.New("keyboard or pointer access denied")
+ }
+ devicesV, ok := outVardict["devices"]
+ if !ok {
+ return nil, UnsupportedPlatformError{errors.New(
+ "'devices' missing from 'Start' return value")}
+ }
+ devices, ok := devicesV.Value().(uint32)
+ if !ok {
+ return nil, UnsupportedPlatformError{errors.New(
+ "unexpected 'devices' type in 'Start' return value")}
+ }
+ if devices&deviceKeyboard == 0 || devices&devicePointer == 0 {
+ return nil, errors.New("keyboard or pointer access denied")
+ }
+ cleanupBus = false
+ return &portalPlugin{bus: bus, remoteDesktop: remoteDesktop,
+ sessionHandle: sessionHandle}, nil
+}
+
+func getResponse(bus *dbus.Conn, object dbus.BusObject, method string,
+ flags dbus.Flags, args ...interface{}) (uint32, map[string]dbus.Variant, error) {
+ ch := make(chan *dbus.Signal)
+ bus.Signal(ch)
+ defer bus.RemoveSignal(ch)
+ var requestPath dbus.ObjectPath
+ if err := object.Call(method, flags, args...).Store(&requestPath); err != nil {
+ return 0, nil, err
+ }
+ for {
+ s := <-ch
+ if s.Path == requestPath && s.Name == "org.freedesktop.portal.Request.Response" {
+ if len(s.Body) != 2 {
+ return 0, nil, errors.New("unexpected 'Response' return length")
+ }
+ result, ok := s.Body[0].(uint32)
+ if !ok {
+ return 0, nil, errors.New("unexpected 'Response' return type")
+ }
+ outVardict, ok := s.Body[1].(map[string]dbus.Variant)
+ if !ok {
+ return 0, nil, errors.New("unexpected 'Response' return type")
+ }
+ return result, outVardict, nil
+ }
+ }
+}
+
+func (p *portalPlugin) Close() error {
+ p.lock.Lock()
+ defer p.lock.Unlock()
+ if p.bus == nil {
+ return errors.New("dbus connection closed")
+ }
+ if err := p.bus.Close(); err != nil {
+ return err
+ }
+ p.bus = nil
+ p.remoteDesktop = nil
+ return nil
+}
+
+func (p *portalPlugin) KeyboardText(text string) error {
+ p.lock.RLock()
+ defer p.lock.RUnlock()
+ if p.bus == nil {
+ return errors.New("dbus connection closed")
+ }
+ inVardict := make(map[string]dbus.Variant)
+ for _, runeValue := range text {
+ keysym := int32(0x01000000 + runeValue)
+ for _, state := range [...]uint32{btnPressed, btnReleased} {
+ if err := p.remoteDesktop.Call(
+ "org.freedesktop.portal.RemoteDesktop.NotifyKeyboardKeysym",
+ 0, p.sessionHandle, inVardict, keysym, state).Store(); err != nil {
+ return err
+ }
+ }
+ }
+ return nil
+}
+
+func (p *portalPlugin) PointerButton(button uint, press bool) error {
+ p.lock.RLock()
+ defer p.lock.RUnlock()
+ if p.bus == nil {
+ return errors.New("dbus connection closed")
+ }
+ var btn int32
+ if button == 1 {
+ btn = btnLeft
+ } else if button == 2 {
+ btn = btnMiddle
+ } else if button == 3 {
+ btn = btnRight
+ } else {
+ return errors.New("unsupported pointer button")
+ }
+ state := btnReleased
+ if press {
+ state = btnPressed
+ }
+ inVardict := make(map[string]dbus.Variant)
+ if err := p.remoteDesktop.Call("org.freedesktop.portal.RemoteDesktop.NotifyPointerButton",
+ 0, p.sessionHandle, inVardict, btn, state).Store(); err != nil {
+ return err
+ }
+ return nil
+}
+
+func (p *portalPlugin) PointerMove(deltaX, deltaY int) error {
+ p.lock.RLock()
+ defer p.lock.RUnlock()
+ if p.bus == nil {
+ return errors.New("dbus connection closed")
+ }
+ inVardict := make(map[string]dbus.Variant)
+ if err := p.remoteDesktop.Call("org.freedesktop.portal.RemoteDesktop.NotifyPointerMotion",
+ 0, p.sessionHandle, inVardict, float64(deltaX), float64(deltaY)).Store(); err != nil {
+ return err
+ }
+ return nil
+}
+
+func (p *portalPlugin) pointerScrollFull(deltaHorizontal, deltaVertical int, finish bool) error {
+ p.lock.RLock()
+ defer p.lock.RUnlock()
+ if p.bus == nil {
+ return errors.New("dbus connection closed")
+ }
+ inVardict := make(map[string]dbus.Variant)
+ inVardict["finish"] = dbus.MakeVariant(finish)
+ if err := p.remoteDesktop.Call("org.freedesktop.portal.RemoteDesktop.NotifyPointerAxis",
+ 0, p.sessionHandle, inVardict, float64(deltaHorizontal), float64(deltaVertical)).Store(); err != nil {
+ return err
+ }
+ return nil
+}
+
+func (p *portalPlugin) PointerScroll(deltaHorizontal, deltaVertical int) error {
+ return p.pointerScrollFull(deltaHorizontal, deltaVertical, false)
+}
+
+func (p *portalPlugin) PointerScrollFinish() error {
+ return p.pointerScrollFull(0, 0, true)
+}
diff --git a/plugin_portal_dummy.go b/plugin_portal_dummy.go
new file mode 100644
index 0000000..9148781
--- /dev/null
+++ b/plugin_portal_dummy.go
@@ -0,0 +1,28 @@
+// +build !portal
+
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+import "errors"
+
+func InitPortalPlugin() (Plugin, error) {
+ return nil, UnsupportedPlatformError{errors.New("disabled")}
+}
From 1fe8ae8b75a62b4b0a9f0cb290254c5f52471d73 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Tue, 31 Jul 2018 20:19:16 +0200
Subject: [PATCH 019/311] bump version to 0.0.5
---
CHANGELOG.md | 8 ++++++++
desktop/remote-touchpad.appdata.xml | 15 ++++++++++++---
main.go | 2 +-
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3df0d89..e02f4f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.0.5 (2018-07-31)
+
+ * remove mouse polling interval
+ * add support for "pixel-perfect" scrolling
+ * add experimental support for Flatpak's RemoteDesktop portal
+ * X11 plugin: check session type
+ * improve error logging
+
## 0.0.4 (2018-07-22)
* add setting for mouse polling interval
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index 62dd6c5..139d300 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -18,6 +18,15 @@
https://github.com/Unrud/remote-touchpad
Unrud
+
+
+ - remove mouse polling interval
+ - add support for "pixel-perfect" scrolling
+ - add experimental support for Flatpak's RemoteDesktop portal
+ - X11 plugin: check session type
+ - improve error logging
+
+
- add setting for mouse polling interval
@@ -39,13 +48,13 @@
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/1.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.5/screenshots/1.png
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/2.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.5/screenshots/2.png
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.4/screenshots/3.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.5/screenshots/3.png
diff --git a/main.go b/main.go
index 7f7a08d..aa9e68f 100644
--- a/main.go
+++ b/main.go
@@ -44,7 +44,7 @@ const (
authenticationRateBurst int = 10
challengeLength int = 8
defaultBind string = ":0"
- version string = "0.0.4"
+ version string = "0.0.5"
)
func processCommand(plugin Plugin, command string) error {
From 67e1f313627afd679806c7f85d06ff03aff48d4e Mon Sep 17 00:00:00 2001
From: Unrud
Date: Wed, 1 Aug 2018 13:01:14 +0200
Subject: [PATCH 020/311] update url for golang-dbus
---
flatpak/com.github.unrud.RemoteTouchpad.json | 4 ++--
plugin_portal.go | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/flatpak/com.github.unrud.RemoteTouchpad.json b/flatpak/com.github.unrud.RemoteTouchpad.json
index db92ec4..4288fb1 100644
--- a/flatpak/com.github.unrud.RemoteTouchpad.json
+++ b/flatpak/com.github.unrud.RemoteTouchpad.json
@@ -38,9 +38,9 @@
},
{
"type" : "git",
- "url" : "https://anonscm.debian.org/git/pkg-go/packages/golang-dbus.git",
+ "url" : "https://salsa.debian.org/go-team/packages/golang-dbus.git",
"commit" : "79d96b151df08809558c825f8a75188826e8e228",
- "dest" : "src/anonscm.debian.org/git/pkg-go/packages/golang-dbus.git"
+ "dest" : "src/salsa.debian.org/go-team/packages/golang-dbus.git"
},
{
"type" : "git",
diff --git a/plugin_portal.go b/plugin_portal.go
index faa6a5d..a1ddf12 100644
--- a/plugin_portal.go
+++ b/plugin_portal.go
@@ -22,7 +22,7 @@
package main
import (
- dbus "anonscm.debian.org/git/pkg-go/packages/golang-dbus.git"
+ dbus "salsa.debian.org/go-team/packages/golang-dbus.git"
"errors"
"fmt"
"sync"
From 1787e573cb90e9978bf0fd4d6ce0847d31c2bdb0 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:33 +0200
Subject: [PATCH 021/311] minor refactoring
---
plugin_windows.go | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/plugin_windows.go b/plugin_windows.go
index 91c6e97..3978a7d 100644
--- a/plugin_windows.go
+++ b/plugin_windows.go
@@ -47,6 +47,11 @@ const (
scrollMult int = 6
)
+var (
+ user32DLL = syscall.NewLazyDLL("user32.dll")
+ sendInputProc = user32DLL.NewProc("SendInput")
+)
+
type mouseInput struct {
typ uintptr // HACK: padded uint32
@@ -65,16 +70,11 @@ type keybdInput struct {
padding [8]byte
}
-type windowsPlugin struct {
- userDLL *syscall.LazyDLL
- sendInputProc *syscall.LazyProc
-}
+type windowsPlugin struct{}
func InitWindowsPlugin() (Plugin, error) {
p := &windowsPlugin{}
- p.userDLL = syscall.NewLazyDLL("user32.dll")
- p.sendInputProc = p.userDLL.NewProc("SendInput")
- if err := p.sendInputProc.Find(); err != nil {
+ if err := sendInputProc.Find(); err != nil {
return nil, UnsupportedPlatformError{err}
}
return p, nil
@@ -98,7 +98,7 @@ func (p *windowsPlugin) KeyboardText(text string) error {
inputs[i].dwFlags |= keyeventfKeyup
}
}
- if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)),
+ if r, _, err := sendInputProc.Call(uintptr(len(inputs)),
uintptr(unsafe.Pointer(&inputs[0])),
unsafe.Sizeof(inputs[0])); int(r) != len(inputs) {
return err
@@ -125,7 +125,7 @@ func (p *windowsPlugin) PointerButton(button uint, press bool) error {
} else {
return errors.New("unsupported pointer button")
}
- if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
+ if r, _, err := sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
unsafe.Sizeof(input)); int(r) != 1 {
return err
}
@@ -139,7 +139,7 @@ func (p *windowsPlugin) PointerMove(deltaX, deltaY int) error {
dy: int32(deltaY),
dwFlags: mouseeventfMove,
}
- if r, _, err := p.sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
+ if r, _, err := sendInputProc.Call(1, uintptr(unsafe.Pointer(&input)),
unsafe.Sizeof(input)); int(r) != 1 {
return err
}
@@ -165,7 +165,7 @@ func (p *windowsPlugin) PointerScroll(deltaHorizontal, deltaVertical int) error
if len(inputs) == 0 {
return nil
}
- if r, _, err := p.sendInputProc.Call(uintptr(len(inputs)),
+ if r, _, err := sendInputProc.Call(uintptr(len(inputs)),
uintptr(unsafe.Pointer(&inputs[0])),
unsafe.Sizeof(inputs[0])); int(r) != len(inputs) {
return err
From 549de83fe38015cf76d52c3e4ae88d0971d1dc35 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:33 +0200
Subject: [PATCH 022/311] sort imports
---
plugin_portal.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin_portal.go b/plugin_portal.go
index a1ddf12..49267b8 100644
--- a/plugin_portal.go
+++ b/plugin_portal.go
@@ -22,9 +22,9 @@
package main
import (
- dbus "salsa.debian.org/go-team/packages/golang-dbus.git"
"errors"
"fmt"
+ dbus "salsa.debian.org/go-team/packages/golang-dbus.git"
"sync"
)
From f2a7c1dc1d77cae67751937b06af2d453e9e2983 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:34 +0200
Subject: [PATCH 023/311] remove invert argument and use colors in terminal
instead
---
main.go | 7 ++++---
qr.go | 22 ++++++++++++++--------
terminal_color.go | 27 +++++++++++++++++++++++++++
terminal_color_posix.go | 29 +++++++++++++++++++++++++++++
terminal_color_windows.go | 39 +++++++++++++++++++++++++++++++++++++++
5 files changed, 113 insertions(+), 11 deletions(-)
create mode 100644 terminal_color.go
create mode 100644 terminal_color_posix.go
create mode 100644 terminal_color_windows.go
diff --git a/main.go b/main.go
index aa9e68f..40ba744 100644
--- a/main.go
+++ b/main.go
@@ -32,6 +32,7 @@ import (
mathrand "math/rand"
"net"
"net/http"
+ "os"
"strconv"
"strings"
"time"
@@ -129,13 +130,13 @@ func secureRandBase64(length int) string {
func main() {
var bind, certFile, keyFile, secret string
- var showVersion, invert bool
+ var showVersion bool
flag.BoolVar(&showVersion, "version", false, "show program's version number and exit")
flag.StringVar(&bind, "bind", defaultBind, "bind server to [HOSTNAME]:PORT")
flag.StringVar(&secret, "secret", "", "shared secret for client authentication")
flag.StringVar(&certFile, "cert", "", "file containing TLS certificate")
flag.StringVar(&keyFile, "key", "", "file containing TLS private key")
- flag.BoolVar(&invert, "invert", false, "use inverse colors for QR code")
+ flag.Bool("invert", false, "obsolete, not used anymore")
flag.Int("interval", 0, "obsolete, not used anymore")
flag.Parse()
if showVersion {
@@ -225,7 +226,7 @@ func main() {
}
url := fmt.Sprintf("%s://%s/#%s\n", scheme, domain, secret)
readyMsg := "ready: " + url
- qrCode, _ := GenerateQRCode(url, invert)
+ qrCode, _ := GenerateQRCode(url, terminalSupportsColor(os.Stderr.Fd()))
readyMsg += qrCode
if !tls {
readyMsg += ("" +
diff --git a/qr.go b/qr.go
index 6e9e0f3..80f380c 100644
--- a/qr.go
+++ b/qr.go
@@ -21,36 +21,42 @@ package main
import qrcode "github.com/skip2/go-qrcode"
-func GenerateQRCode(message string, invert bool) (string, error) {
+func GenerateQRCode(message string, colorize bool) (string, error) {
q, err := qrcode.New(message, qrcode.Medium)
if err != nil {
return "", err
}
- return qrCodeToString(q.Bitmap(), invert), nil
+ return qrCodeToString(q.Bitmap(), colorize), nil
}
-func qrCodeToString(bits [][]bool, invert bool) string {
+func qrCodeToString(bits [][]bool, colorize bool) string {
s := ""
for y := -1; y < len(bits); y += 2 {
+ if colorize {
+ s += terminalForegroundWhite + terminalBackgroundBlack
+ }
for x := range bits[0] {
- upper := !invert
+ upper := false
if 0 <= y && y < len(bits) {
upper = bits[y][x]
}
- lower := !invert
+ lower := false
if 0 <= y+1 && y+1 < len(bits) {
lower = bits[y+1][x]
}
- if upper != invert && lower != invert {
+ if upper && lower {
s += " "
- } else if upper == invert && lower != invert {
+ } else if !upper && lower {
s += "▀"
- } else if upper != invert && lower == invert {
+ } else if upper && !lower {
s += "▄"
} else {
s += "█"
}
}
+ if colorize {
+ s += terminalForegroundReset + terminalBackgroundReset
+ }
s += "\n"
}
return s
diff --git a/terminal_color.go b/terminal_color.go
new file mode 100644
index 0000000..af92fbb
--- /dev/null
+++ b/terminal_color.go
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+const (
+ terminalForegroundWhite string = "\033[37m"
+ terminalForegroundReset string = "\033[39m"
+ terminalBackgroundBlack string = "\033[40m"
+ terminalBackgroundReset string = "\033[49m"
+)
diff --git a/terminal_color_posix.go b/terminal_color_posix.go
new file mode 100644
index 0000000..ea0e5d4
--- /dev/null
+++ b/terminal_color_posix.go
@@ -0,0 +1,29 @@
+// +build !windows
+
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+// #include
+import "C"
+
+func terminalSupportsColor(fd uintptr) bool {
+ return C.isatty(C.int(fd)) != 0
+}
diff --git a/terminal_color_windows.go b/terminal_color_windows.go
new file mode 100644
index 0000000..4fdf76a
--- /dev/null
+++ b/terminal_color_windows.go
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+import "syscall"
+
+const (
+ enableProcessedOuput uint32 = 0x1
+ enableWrapAtEolOutput uint32 = 0x2
+ enableVirtualTerminalProcessing uint32 = 0x4
+)
+
+var (
+ kernel32DLL = syscall.NewLazyDLL("kernel32.dll")
+ setConsoleModeProc = kernel32DLL.NewProc("SetConsoleMode")
+)
+
+func terminalSupportsColor(fd uintptr) bool {
+ r, _, _ := setConsoleModeProc.Call(fd, uintptr(enableProcessedOuput|
+ enableWrapAtEolOutput|enableVirtualTerminalProcessing))
+ return r != 0
+}
From f7fff5468c9ad36855a75f767fbe16628bf6713c Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:34 +0200
Subject: [PATCH 024/311] mitigate race when sending text on X11
---
plugin_x11.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin_x11.go b/plugin_x11.go
index 747df9f..c058090 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -36,7 +36,7 @@ import (
)
const (
- typingDelay time.Duration = 100 * time.Millisecond
+ typingDelay time.Duration = 250 * time.Millisecond
scrollDiv int = 20
)
From b1f8f7ea1ce4732f03bf0204285da50f87982ddd Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:35 +0200
Subject: [PATCH 025/311] rename _dummy to _disabled
---
plugin_portal_dummy.go => plugin_portal_disabled.go | 0
plugin_windows_dummy.go => plugin_windows_disabled.go | 0
plugin_x11_dummy.go => plugin_x11_disabled.go | 0
3 files changed, 0 insertions(+), 0 deletions(-)
rename plugin_portal_dummy.go => plugin_portal_disabled.go (100%)
rename plugin_windows_dummy.go => plugin_windows_disabled.go (100%)
rename plugin_x11_dummy.go => plugin_x11_disabled.go (100%)
diff --git a/plugin_portal_dummy.go b/plugin_portal_disabled.go
similarity index 100%
rename from plugin_portal_dummy.go
rename to plugin_portal_disabled.go
diff --git a/plugin_windows_dummy.go b/plugin_windows_disabled.go
similarity index 100%
rename from plugin_windows_dummy.go
rename to plugin_windows_disabled.go
diff --git a/plugin_x11_dummy.go b/plugin_x11_disabled.go
similarity index 100%
rename from plugin_x11_dummy.go
rename to plugin_x11_disabled.go
From 5a5ad3e6c653c3f6602901093acb86898f99a854 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:35 +0200
Subject: [PATCH 026/311] hide obsolete command line arguments
---
main.go | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/main.go b/main.go
index 40ba744..51eb452 100644
--- a/main.go
+++ b/main.go
@@ -131,14 +131,22 @@ func secureRandBase64(length int) string {
func main() {
var bind, certFile, keyFile, secret string
var showVersion bool
- flag.BoolVar(&showVersion, "version", false, "show program's version number and exit")
- flag.StringVar(&bind, "bind", defaultBind, "bind server to [HOSTNAME]:PORT")
- flag.StringVar(&secret, "secret", "", "shared secret for client authentication")
- flag.StringVar(&certFile, "cert", "", "file containing TLS certificate")
- flag.StringVar(&keyFile, "key", "", "file containing TLS private key")
- flag.Bool("invert", false, "obsolete, not used anymore")
- flag.Int("interval", 0, "obsolete, not used anymore")
- flag.Parse()
+ parseFlags := flag.NewFlagSet(os.Args[0], flag.ContinueOnError)
+ for _, fs := range [](*flag.FlagSet){parseFlags, flag.CommandLine} {
+ fs.BoolVar(&showVersion, "version", false, "show program's version number and exit")
+ fs.StringVar(&bind, "bind", defaultBind, "bind server to [HOSTNAME]:PORT")
+ fs.StringVar(&secret, "secret", "", "shared secret for client authentication")
+ fs.StringVar(&certFile, "cert", "", "file containing TLS certificate")
+ fs.StringVar(&keyFile, "key", "", "file containing TLS private key")
+ }
+ // ignore obsolete flags for backward compatibility, but don't show them in usage message
+ parseFlags.Usage = func() {}
+ parseFlags.Bool("invert", false, "")
+ parseFlags.Int("interval", 0, "")
+ if err := parseFlags.Parse(os.Args[1:]); err != nil {
+ flag.Usage()
+ os.Exit(2)
+ }
if showVersion {
fmt.Println(version)
return
From ed74ab60e4ca373c87d4eba109bc819e09608619 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:35 +0200
Subject: [PATCH 027/311] normalize line endings
---
main.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/main.go b/main.go
index 51eb452..5987f54 100644
--- a/main.go
+++ b/main.go
@@ -57,6 +57,9 @@ func processCommand(plugin Plugin, command string) error {
}
if command[0] == 't' {
text := command[1:]
+ // normalize line endings
+ text = strings.Replace(text, "\r\n", "\n", -1)
+ text = strings.Replace(text, "\r", "\n", -1)
if !utf8.ValidString(text) {
return errors.New("invalid utf-8")
}
From 33c9b815b076eee927ee832e1f35b00d0a455c6a Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:36 +0200
Subject: [PATCH 028/311] use correct KeySyms for runes < 0x100
---
keysyms.generated.go | 204 +++++++++++++++++++++++++++++++++++++++++++
keysyms.generator.go | 122 ++++++++++++++++++++++++++
keysyms.go | 39 +++++++++
plugin_portal.go | 5 +-
plugin_x11.go | 7 +-
5 files changed, 374 insertions(+), 3 deletions(-)
create mode 100644 keysyms.generated.go
create mode 100644 keysyms.generator.go
create mode 100644 keysyms.go
diff --git a/keysyms.generated.go b/keysyms.generated.go
new file mode 100644
index 0000000..6355f49
--- /dev/null
+++ b/keysyms.generated.go
@@ -0,0 +1,204 @@
+package main
+
+var keysymsMap = map[rune]int32{
+ 0x0008: 0x0000ff08,
+ 0x0009: 0x0000ff09,
+ 0x000a: 0x0000ff0a,
+ 0x000b: 0x0000ff0b,
+ 0x000d: 0x0000ff0d,
+ 0x0013: 0x0000ff13,
+ 0x0014: 0x0000ff14,
+ 0x0015: 0x0000ff15,
+ 0x001b: 0x0000ff1b,
+ 0x0020: 0x00000020,
+ 0x0021: 0x00000021,
+ 0x0022: 0x00000022,
+ 0x0023: 0x00000023,
+ 0x0024: 0x00000024,
+ 0x0025: 0x00000025,
+ 0x0026: 0x00000026,
+ 0x0027: 0x00000027,
+ 0x0028: 0x00000028,
+ 0x0029: 0x00000029,
+ 0x002a: 0x0000002a,
+ 0x002b: 0x0000002b,
+ 0x002c: 0x0000002c,
+ 0x002d: 0x0000002d,
+ 0x002e: 0x0000002e,
+ 0x002f: 0x0000002f,
+ 0x0030: 0x00000030,
+ 0x0031: 0x00000031,
+ 0x0032: 0x00000032,
+ 0x0033: 0x00000033,
+ 0x0034: 0x00000034,
+ 0x0035: 0x00000035,
+ 0x0036: 0x00000036,
+ 0x0037: 0x00000037,
+ 0x0038: 0x00000038,
+ 0x0039: 0x00000039,
+ 0x003a: 0x0000003a,
+ 0x003b: 0x0000003b,
+ 0x003c: 0x0000003c,
+ 0x003d: 0x0000003d,
+ 0x003e: 0x0000003e,
+ 0x003f: 0x0000003f,
+ 0x0040: 0x00000040,
+ 0x0041: 0x00000041,
+ 0x0042: 0x00000042,
+ 0x0043: 0x00000043,
+ 0x0044: 0x00000044,
+ 0x0045: 0x00000045,
+ 0x0046: 0x00000046,
+ 0x0047: 0x00000047,
+ 0x0048: 0x00000048,
+ 0x0049: 0x00000049,
+ 0x004a: 0x0000004a,
+ 0x004b: 0x0000004b,
+ 0x004c: 0x0000004c,
+ 0x004d: 0x0000004d,
+ 0x004e: 0x0000004e,
+ 0x004f: 0x0000004f,
+ 0x0050: 0x00000050,
+ 0x0051: 0x00000051,
+ 0x0052: 0x00000052,
+ 0x0053: 0x00000053,
+ 0x0054: 0x00000054,
+ 0x0055: 0x00000055,
+ 0x0056: 0x00000056,
+ 0x0057: 0x00000057,
+ 0x0058: 0x00000058,
+ 0x0059: 0x00000059,
+ 0x005a: 0x0000005a,
+ 0x005b: 0x0000005b,
+ 0x005c: 0x0000005c,
+ 0x005d: 0x0000005d,
+ 0x005e: 0x0000005e,
+ 0x005f: 0x0000005f,
+ 0x0060: 0x00000060,
+ 0x0061: 0x00000061,
+ 0x0062: 0x00000062,
+ 0x0063: 0x00000063,
+ 0x0064: 0x00000064,
+ 0x0065: 0x00000065,
+ 0x0066: 0x00000066,
+ 0x0067: 0x00000067,
+ 0x0068: 0x00000068,
+ 0x0069: 0x00000069,
+ 0x006a: 0x0000006a,
+ 0x006b: 0x0000006b,
+ 0x006c: 0x0000006c,
+ 0x006d: 0x0000006d,
+ 0x006e: 0x0000006e,
+ 0x006f: 0x0000006f,
+ 0x0070: 0x00000070,
+ 0x0071: 0x00000071,
+ 0x0072: 0x00000072,
+ 0x0073: 0x00000073,
+ 0x0074: 0x00000074,
+ 0x0075: 0x00000075,
+ 0x0076: 0x00000076,
+ 0x0077: 0x00000077,
+ 0x0078: 0x00000078,
+ 0x0079: 0x00000079,
+ 0x007a: 0x0000007a,
+ 0x007b: 0x0000007b,
+ 0x007c: 0x0000007c,
+ 0x007d: 0x0000007d,
+ 0x007e: 0x0000007e,
+ 0x00a0: 0x000000a0,
+ 0x00a1: 0x000000a1,
+ 0x00a2: 0x000000a2,
+ 0x00a3: 0x000000a3,
+ 0x00a4: 0x000000a4,
+ 0x00a5: 0x000000a5,
+ 0x00a6: 0x000000a6,
+ 0x00a7: 0x000000a7,
+ 0x00a8: 0x000000a8,
+ 0x00a9: 0x000000a9,
+ 0x00aa: 0x000000aa,
+ 0x00ab: 0x000000ab,
+ 0x00ac: 0x000000ac,
+ 0x00ad: 0x000000ad,
+ 0x00ae: 0x000000ae,
+ 0x00af: 0x000000af,
+ 0x00b0: 0x000000b0,
+ 0x00b1: 0x000000b1,
+ 0x00b2: 0x000000b2,
+ 0x00b3: 0x000000b3,
+ 0x00b4: 0x000000b4,
+ 0x00b5: 0x000000b5,
+ 0x00b6: 0x000000b6,
+ 0x00b7: 0x000000b7,
+ 0x00b8: 0x000000b8,
+ 0x00b9: 0x000000b9,
+ 0x00ba: 0x000000ba,
+ 0x00bb: 0x000000bb,
+ 0x00bc: 0x000000bc,
+ 0x00bd: 0x000000bd,
+ 0x00be: 0x000000be,
+ 0x00bf: 0x000000bf,
+ 0x00c0: 0x000000c0,
+ 0x00c1: 0x000000c1,
+ 0x00c2: 0x000000c2,
+ 0x00c3: 0x000000c3,
+ 0x00c4: 0x000000c4,
+ 0x00c5: 0x000000c5,
+ 0x00c6: 0x000000c6,
+ 0x00c7: 0x000000c7,
+ 0x00c8: 0x000000c8,
+ 0x00c9: 0x000000c9,
+ 0x00ca: 0x000000ca,
+ 0x00cb: 0x000000cb,
+ 0x00cc: 0x000000cc,
+ 0x00cd: 0x000000cd,
+ 0x00ce: 0x000000ce,
+ 0x00cf: 0x000000cf,
+ 0x00d0: 0x000000d0,
+ 0x00d1: 0x000000d1,
+ 0x00d2: 0x000000d2,
+ 0x00d3: 0x000000d3,
+ 0x00d4: 0x000000d4,
+ 0x00d5: 0x000000d5,
+ 0x00d6: 0x000000d6,
+ 0x00d7: 0x000000d7,
+ 0x00d8: 0x000000d8,
+ 0x00d9: 0x000000d9,
+ 0x00da: 0x000000da,
+ 0x00db: 0x000000db,
+ 0x00dc: 0x000000dc,
+ 0x00dd: 0x000000dd,
+ 0x00de: 0x000000de,
+ 0x00df: 0x000000df,
+ 0x00e0: 0x000000e0,
+ 0x00e1: 0x000000e1,
+ 0x00e2: 0x000000e2,
+ 0x00e3: 0x000000e3,
+ 0x00e4: 0x000000e4,
+ 0x00e5: 0x000000e5,
+ 0x00e6: 0x000000e6,
+ 0x00e7: 0x000000e7,
+ 0x00e8: 0x000000e8,
+ 0x00e9: 0x000000e9,
+ 0x00ea: 0x000000ea,
+ 0x00eb: 0x000000eb,
+ 0x00ec: 0x000000ec,
+ 0x00ed: 0x000000ed,
+ 0x00ee: 0x000000ee,
+ 0x00ef: 0x000000ef,
+ 0x00f0: 0x000000f0,
+ 0x00f1: 0x000000f1,
+ 0x00f2: 0x000000f2,
+ 0x00f3: 0x000000f3,
+ 0x00f4: 0x000000f4,
+ 0x00f5: 0x000000f5,
+ 0x00f6: 0x000000f6,
+ 0x00f7: 0x000000f7,
+ 0x00f8: 0x000000f8,
+ 0x00f9: 0x000000f9,
+ 0x00fa: 0x000000fa,
+ 0x00fb: 0x000000fb,
+ 0x00fc: 0x000000fc,
+ 0x00fd: 0x000000fd,
+ 0x00fe: 0x000000fe,
+ 0x00ff: 0x000000ff,
+}
diff --git a/keysyms.generator.go b/keysyms.generator.go
new file mode 100644
index 0000000..57e6645
--- /dev/null
+++ b/keysyms.generator.go
@@ -0,0 +1,122 @@
+// +build ignore
+
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+import (
+ "bufio"
+ "fmt"
+ "io"
+ "os"
+ "regexp"
+ "sort"
+ "strconv"
+)
+
+const (
+ keysymdefHeader string = "/usr/include/X11/keysymdef.h"
+ output string = "keysyms.generated.go"
+ maxMappedUnicode rune = 0xff
+)
+
+var overrideKeysyms = map[string]rune{
+ "XK_BackSpace": 0x08,
+ "XK_Tab": 0x09,
+ "XK_Linefeed": 0x0a,
+ "XK_Clear": 0x0b,
+ "XK_Return": 0x0d,
+ "XK_Pause": 0x13,
+ "XK_Scroll_Lock": 0x14,
+ "XK_Sys_Req": 0x15,
+ "XK_Escape": 0x1b,
+}
+
+func main() {
+ f, err := os.Open(keysymdefHeader)
+ if err != nil {
+ panic(err)
+ }
+ defer f.Close()
+ reader := bufio.NewReader(f)
+ re := regexp.MustCompile("^#define" +
+ "\\s+([A-Za-z0-9_]+)" + // keysymName
+ "\\s+0x([0-9a-fA-F]+)" + // keysym
+ "\\s*(?:/\\*\\s*(?:U\\+([0-9A-Fa-f]+))?.*\\*/)?" + // keysymUnicode (optional)
+ "\\s*$")
+ keysymsMap := make(map[rune]int32)
+ for {
+ l, err := reader.ReadString('\n')
+ if err == io.EOF {
+ break
+ } else if err != nil {
+ panic(err)
+ }
+ submatches := re.FindStringSubmatch(l)
+ if len(submatches) == 0 {
+ continue
+ }
+ keysymName := submatches[1]
+ keysymTemp, err := strconv.ParseInt(submatches[2], 16, 32)
+ keysym := int32(keysymTemp)
+ if err != nil {
+ panic(err)
+ }
+ unicode, found := overrideKeysyms[keysymName]
+ if !found {
+ if len(submatches[3]) == 0 {
+ continue
+ }
+ unicodeTemp, err := strconv.ParseInt(submatches[3], 16, 32)
+ unicode = rune(unicodeTemp)
+ if err != nil {
+ panic(err)
+ }
+
+ }
+ if unicode > maxMappedUnicode {
+ continue
+ }
+ if _, found := keysymsMap[unicode]; found {
+ continue
+ }
+ keysymsMap[unicode] = keysym
+ }
+ content := "package main\n\n" +
+ "var keysymsMap = map[rune]int32{\n"
+ keys := make([]rune, 0)
+ for key := range keysymsMap {
+ keys = append(keys, key)
+ }
+ sort.Slice(keys, func(i, j int) bool { return keys[i] < keys[j] })
+ for _, unicode := range keys {
+ keysym := keysymsMap[unicode]
+ content += fmt.Sprintf("\t0x%04x: 0x%08x,\n", unicode, keysym)
+ }
+ content += "}\n"
+ o, err := os.Create(output)
+ if err != nil {
+ panic(err)
+ }
+ defer o.Close()
+ if _, err := o.WriteString(content); err != nil {
+ panic(err)
+ }
+}
diff --git a/keysyms.go b/keysyms.go
new file mode 100644
index 0000000..65c7c44
--- /dev/null
+++ b/keysyms.go
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2018 Unrud
+ *
+ * This file is part of Remote-Touchpad.
+ *
+ * Foobar is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Remote-Touchpad is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see .
+ */
+
+package main
+
+//go:generate go run keysyms.generator.go
+
+import "errors"
+
+func runeToKeysym(runeValue rune) (int32, error) {
+ if runeValue == '\n' {
+ runeValue = '\r'
+ }
+ keysym, found := keysymsMap[runeValue]
+ if !found {
+ if runeValue < 0x100 || runeValue > 0x10ffff {
+ return 0, errors.New("rune not mappend to keysym and " +
+ "out of range for direct unicode mapping")
+ }
+ keysym = 0x01000000 + runeValue
+ }
+ return keysym, nil
+}
diff --git a/plugin_portal.go b/plugin_portal.go
index 49267b8..f83f44f 100644
--- a/plugin_portal.go
+++ b/plugin_portal.go
@@ -193,7 +193,10 @@ func (p *portalPlugin) KeyboardText(text string) error {
}
inVardict := make(map[string]dbus.Variant)
for _, runeValue := range text {
- keysym := int32(0x01000000 + runeValue)
+ keysym, err := runeToKeysym(runeValue)
+ if err != nil {
+ return err
+ }
for _, state := range [...]uint32{btnPressed, btnReleased} {
if err := p.remoteDesktop.Call(
"org.freedesktop.portal.RemoteDesktop.NotifyKeyboardKeysym",
diff --git a/plugin_x11.go b/plugin_x11.go
index c058090..0ead480 100644
--- a/plugin_x11.go
+++ b/plugin_x11.go
@@ -117,9 +117,12 @@ keycodes:
C.XFlush(p.display)
}()
for _, runeValue := range text {
- keysym := C.KeySym(0x01000000 + runeValue)
+ keysym, err := runeToKeysym(runeValue)
+ if err != nil {
+ return err
+ }
for i := range keycodeMapping {
- keycodeMapping[i] = keysym
+ keycodeMapping[i] = C.KeySym(keysym)
}
C.XChangeKeyboardMapping(p.display, C.int(emptyKeycode), keysymsPerKeycode,
(*C.KeySym)(unsafe.Pointer(&keycodeMapping[0])), 1)
From 8a558c0437b5543f583d4cb1fe0c816e06580eac Mon Sep 17 00:00:00 2001
From: Unrud
Date: Thu, 23 Aug 2018 17:12:36 +0200
Subject: [PATCH 029/311] bump version to 0.0.6
---
CHANGELOG.md | 10 +++++++++-
desktop/remote-touchpad.appdata.xml | 15 ++++++++++++---
main.go | 2 +-
3 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e02f4f3..58c354d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.0.6 (2018-08-23)
+
+ * use colors in terminal for QR qode
+ * remove ``-invert`` command line argument
+ * mitigate race condition when typing text on X11
+ * improve KeySyms used for text on X11 and Flatpak's RemoteDesktop portal
+ * normalize line endings
+
## 0.0.5 (2018-07-31)
* remove mouse polling interval
@@ -22,4 +30,4 @@
## 0.0.1 (2018-06-23)
-initial release
\ No newline at end of file
+initial release
diff --git a/desktop/remote-touchpad.appdata.xml b/desktop/remote-touchpad.appdata.xml
index 139d300..53cf563 100644
--- a/desktop/remote-touchpad.appdata.xml
+++ b/desktop/remote-touchpad.appdata.xml
@@ -18,6 +18,15 @@
https://github.com/Unrud/remote-touchpad
Unrud
+
+
+ - use colors in terminal for QR qode
+ - remove -invert command line argument
+ - mitigate race condition when typing text on X11
+ - improve KeySyms used for text on X11 and Flatpak's RemoteDesktop portal
+ - normalize line endings
+
+
- remove mouse polling interval
@@ -48,13 +57,13 @@
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.5/screenshots/1.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.6/screenshots/1.png
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.5/screenshots/2.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.6/screenshots/2.png
- https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.5/screenshots/3.png
+ https://raw.githubusercontent.com/Unrud/remote-touchpad/0.0.6/screenshots/3.png
diff --git a/main.go b/main.go
index 5987f54..fa6d188 100644
--- a/main.go
+++ b/main.go
@@ -45,7 +45,7 @@ const (
authenticationRateBurst int = 10
challengeLength int = 8
defaultBind string = ":0"
- version string = "0.0.5"
+ version string = "0.0.6"
)
func processCommand(plugin Plugin, command string) error {
From 4f4b69773082b6ea392044d2ae675f7ef3023685 Mon Sep 17 00:00:00 2001
From: Unrud
Date: Wed, 29 Aug 2018 16:10:15 +0200
Subject: [PATCH 030/311] use custom font for icons
font only includes glyphs for the required icons
---
bindata.generated.go | 31 +++++++++++++++++++++++++++----
webdata/icon.woff | Bin 0 -> 2788 bytes
webdata/index.html | 8 ++++----
webdata/main.css | 9 +++++++++
4 files changed, 40 insertions(+), 8 deletions(-)
create mode 100644 webdata/icon.woff
diff --git a/bindata.generated.go b/bindata.generated.go
index 46238ef..4b7d2f8 100644
--- a/bindata.generated.go
+++ b/bindata.generated.go
@@ -2,6 +2,7 @@
// sources:
// webdata/fn.js
// webdata/icon.png
+// webdata/icon.woff
// webdata/index.html
// webdata/main.css
// webdata/sha256.js
@@ -114,7 +115,27 @@ func webdataIconPng() (*asset, error) {
return a, nil
}
-var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x94\xb1\x8e\xd4\x30\x10\x86\xfb\x7b\x0a\x33\x35\x49\x00\x09\x44\x11\x47\x42\x77\x57\x50\x81\xd0\x21\x41\x39\x6b\xcf\x26\xc3\x39\x76\xb0\x27\x7b\xb7\x2f\x40\x45\x4d\x49\x01\x0d\xef\xc0\xdb\xf0\x24\x68\x63\xdd\x65\x2f\xbb\x0b\x55\x32\xe3\x7f\xbe\xf9\x27\x63\xa5\x7e\x74\xf1\xe6\xfc\xea\xe3\xdb\x4b\xd5\x49\xef\x9a\xb3\x7a\xf7\x50\x0e\x7d\xab\x81\x3c\x34\x67\x4a\x29\x55\x77\x84\x36\xbf\x4e\x61\x4f\x82\xca\x74\x18\x13\x89\x86\x51\xd6\xc5\x4b\x50\xd5\x52\xe0\xb1\x27\x0d\x1b\xa6\x9b\x21\x44\x01\x65\x82\x17\xf2\xa2\xe1\x86\xad\x74\xda\xd2\x86\x0d\x15\x53\xa0\xd8\xb3\x30\xba\x22\x19\x74\xa4\x9f\x3e\x56\x3d\xde\x72\x3f\xf6\x73\x62\x4c\x14\xa7\x08\x57\x8e\xf4\x93\x23\xfd\x3a\x91\xa1\xa0\xcf\x23\x6f\x34\x7c\x28\xde\xbf\x2a\xce\x43\x3f\xa0\xf0\xca\xd1\x5e\xf3\xd7\x97\x9a\x6c\x4b\x0f\xeb\x93\x89\x3c\x88\x4a\xd1\x68\x58\xfb\xf2\x53\x82\xa6\xae\x72\xf2\x84\x2a\x75\xf8\xec\xf9\x8b\x53\x4a\x61\x71\xd4\xbc\xa3\x3e\x08\xa9\xab\x30\x9a\x6e\x40\x5b\x57\x39\x3d\xcb\x1c\xfb\x6b\xd5\x45\x5a\x6b\xe8\x91\x7d\x69\x52\x02\xd5\x93\x65\xd4\x90\x4c\x24\xf2\xa0\x22\x39\x0d\x49\xb6\x8e\x52\x47\x24\x0f\x7d\xef\x01\xd8\x04\x5f\x0e\xbe\x05\x25\xdb\x81\x34\x70\x8f\x2d\x55\x53\x22\x23\xba\x10\xc5\x8c\xa2\x76\xc2\x7b\x4a\x5d\xcd\xab\xad\x57\xc1\x6e\xf7\xe0\x96\x37\x8a\xad\x86\x30\x90\x67\xdf\xc2\x7c\x34\x1d\x0f\xcd\x79\xf0\x9e\x8c\xb0\x6f\xcb\xb2\xac\xab\x61\xaf\xb6\xb2\xbc\x39\x82\x32\x2e\x24\xb2\x87\xa4\x0b\x4e\x26\xc3\xc8\x3e\x00\x65\x5f\xa3\x48\xf0\x13\x20\x92\x0b\x68\x73\x02\x9a\x3f\x5f\x7e\xd7\x55\x0e\xfe\xdf\x7b\xc0\xc3\xc6\x77\x07\x0e\x57\xe4\xa0\x99\x37\xb5\xb4\xb0\x83\x18\x87\x29\x69\xc8\xfd\xd2\x82\xb5\x34\xba\x1e\x9d\xcb\x2b\xbc\x37\xfb\xed\xc7\xa1\xd9\x63\xa5\xd7\xb4\x5d\x05\x8c\xf3\x94\x5f\x7f\x1d\x2b\x5c\xce\x79\x62\xec\x3b\xda\x72\x76\xa1\x5b\xc1\x48\x38\x89\x76\xc1\xee\x22\xdf\x25\x4f\x2f\x20\x91\x9f\x8d\x7d\xff\xf9\xcf\xcf\x5f\x57\xf9\x46\xd5\x55\xfe\xb7\xfc\x0d\x00\x00\xff\xff\xc2\x55\x56\x63\x6c\x04\x00\x00")
+var _webdataIconWoff = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x96\x67\x50\x13\x88\xd3\xc6\x37\x09\xa1\x84\xd0\x3c\x40\xa4\x06\x50\x29\xc2\x51\x42\x95\x22\x1d\xe9\x20\x1d\xe1\x4c\x80\x50\x05\x02\xc8\x11\x8a\x12\x5f\x5a\x68\x4a\x93\x0e\x87\x9c\x52\x34\xfa\xe2\x3f\x20\x25\x88\x20\xa1\x23\x28\x0a\xa8\x44\x0f\xe9\x9c\x54\x0b\xca\x89\xf2\x8e\xe7\xfb\xf1\xbf\x33\xcf\x3c\x33\x3b\xbb\xbf\x0f\xbb\x5f\x9e\x78\x27\x2b\x2b\x27\x37\x37\x27\x00\xcc\x22\xf0\x02\x00\x1c\x4a\x06\x04\xfc\xd7\x32\xb7\xb2\xc2\x01\xa0\x9c\x01\xb8\x9c\x00\xf8\x14\xcb\xb2\xb3\xba\xac\xac\xdc\x1c\x00\x30\xed\x00\x20\xf9\x43\xe9\x07\xfc\x78\x6b\x0b\x4b\x2b\x00\x4c\x2d\x00\x88\xfd\xdb\x17\x01\x61\x27\x57\x35\x4d\x00\x44\x08\x00\xd8\x02\x00\xe1\x8b\x5a\xf6\x95\x80\x08\x22\x19\x00\xb9\x0d\x00\xd6\x00\x08\x1f\x27\x17\x1b\xd7\x10\x12\x31\x10\x00\xc1\x0d\x00\xda\x00\xa0\x73\xc8\x77\x51\x3c\x24\x84\x44\x04\x40\x98\x00\x80\x34\x00\x1c\xe5\x9c\x47\x15\x84\x44\x5c\xa0\x00\x60\x9e\x03\x00\xff\x0f\x71\xbb\xc0\xe3\x08\x22\x85\x0c\x80\x20\x00\x00\xe7\xbf\x42\x3b\x43\x24\x31\x82\x04\x80\x68\x01\x40\x9c\x04\x40\xf2\x31\x6f\x79\x87\x91\xa3\x62\x2f\x00\xa0\xf4\x00\x40\x14\x00\x70\x07\x19\x80\xa7\x54\x05\x10\x02\x09\x04\x98\x1f\x55\x3d\x90\x5b\xd8\x8b\xe8\xd6\x24\xe3\x1f\x42\xb6\xba\xef\xb9\x85\xb3\xd8\xeb\xa9\x0c\x31\x8e\x03\xb5\x80\xee\x47\x2d\x3c\x43\x4b\x04\x02\x32\x0b\x09\x14\x06\x9f\x30\x00\xfc\xff\xde\xab\x8f\x29\x47\xcc\x85\x3f\xf0\x72\xe2\x08\xdd\x8f\x7a\x86\xa8\x98\x32\x88\xb7\xe0\x48\xfc\x71\x35\x67\x00\xf4\xcf\x39\xe2\xa5\x5e\xbd\xcb\x97\xaf\x5d\xbe\xdc\x94\x13\x2a\x80\x42\x99\x0b\xa4\x05\x25\xf7\x10\x86\x86\x38\x84\x49\x84\xa5\x40\x13\x24\x1f\x2f\x81\x4e\xd5\x9a\x11\xce\x40\x65\x33\xb5\xaf\x95\x89\x7c\x3f\xab\x6e\xa1\x11\xe1\x4f\x43\x62\xf0\x8f\xae\x29\x83\xac\x3c\x30\x75\xf8\xb4\x7f\xb0\x48\xf9\xa6\xe1\x8f\x4c\x84\xd3\x82\xb5\x7d\x92\x0a\xa4\x93\x94\xd6\x5d\x94\x78\xc2\x1d\x95\x27\x31\x66\xb5\x6d\x72\x8a\x37\x75\xb3\x64\xb3\x2b\xae\x69\x27\x6d\xbf\x89\x55\xfb\xc6\x63\x24\xfa\xcf\xc4\xbe\x40\x35\x3d\x5c\x20\x02\xb7\x75\x91\x39\x56\xa9\xcb\x43\xd5\xe9\x96\x25\x5f\xda\xdc\x99\xf7\xc6\xf5\x30\x57\xc4\xef\x6e\xaf\x75\xf0\x67\x15\xad\xc0\xe5\xf6\x4f\xec\x9e\x3c\xca\x47\xf6\xe2\xb7\x13\xd7\xe4\xda\x97\x43\x37\xeb\x95\x45\x43\xde\x3e\x8e\xcd\x4b\x3a\x65\x38\xa3\x31\x50\xba\x02\xaa\x4f\x77\xd9\x54\xe1\xf8\x9a\xca\xae\x94\x01\x0e\xf1\x24\x49\x62\xb3\xd5\x15\x11\xdb\xfa\x35\x9c\x65\xa9\x51\x86\x99\xc0\xc5\x49\x2c\x5a\x44\xd4\x2e\xd7\x4b\xcd\x70\x99\xbe\xc4\x2a\xf1\x0b\x48\xa5\xc5\x8a\x1b\x18\xc2\x2f\x0f\x4e\x55\xc4\x75\x2b\x93\x14\x36\x46\xbc\x3e\xfd\x13\xe3\x21\xc6\x94\x7c\x79\xeb\x4a\xab\x6a\x9b\x4f\x54\x9d\xdb\x96\xe2\xa5\x98\x58\xb4\xec\x14\xdd\x35\x30\xd7\x3f\x94\x39\x27\x67\xcf\x60\x47\x1e\x4e\x63\x65\xd9\xce\xf0\x89\x94\xe7\x88\x69\xdc\x60\xe5\x6f\xf5\x2f\x27\x67\x6b\x98\x0c\x6d\xbf\xdd\x0a\xc6\x3d\xb5\x2c\x0f\x29\x0a\xd6\xbc\x52\x2c\x39\x12\x26\x75\xd6\x90\xfb\x2b\x51\x64\xe7\x5c\xa1\x7e\xbc\x98\xe4\x97\xf0\xf1\xee\x11\x7d\xcb\xbb\x9e\x67\x35\x26\xc6\x88\x0e\xbf\xdc\x4c\x2c\x38\x63\xfb\x3d\xee\x0b\xa2\x49\xde\xf1\xdd\xcf\x3f\x10\x08\x41\x54\xc2\x11\x4e\x2b\x4e\x41\x6e\xc4\x7b\xb1\xde\x64\x51\x4e\x5e\xdc\xe3\xfe\x9e\xde\x1e\x56\xcf\x8d\xf6\xb3\xde\xe6\x17\xef\xd5\x4f\x1e\x1c\x60\xb1\xdc\xbb\x46\x6d\x06\x6d\x91\x47\x7d\x93\x38\xa6\x78\xd1\xb9\xe7\xb1\x8d\x48\x79\x41\x00\xf9\x54\x01\x8d\x7f\x39\x41\x90\x7a\xf0\x18\x6b\x65\x92\x5d\x80\xe0\x03\x50\x74\x47\x74\xfc\xe0\x5f\xf3\x0c\x3f\xef\xe6\x2e\x58\xc3\x9c\x65\xfa\x61\x5e\x97\x0c\x96\x1c\xb2\x6d\x33\x94\x13\x50\x9a\x44\x0b\xdb\xf7\x9e\x78\xb1\x2d\xc8\x61\xcf\x83\x40\x86\x8c\x54\x96\xc8\xb5\xe0\x32\x58\x12\xa9\x34\x7a\x96\x5b\x08\x08\xa1\xd3\xb8\x0f\xd5\x1a\x16\x67\x7a\x7b\x65\x23\x50\xb4\x2e\x8e\xa5\x63\xa2\xa7\x9f\x79\x84\xa2\xaf\x33\x5f\x33\x93\xaa\xb6\xd8\x6f\x2c\xe5\xbe\xcf\x4d\xac\x57\x45\x2d\x57\xe2\x83\xc7\xcb\x63\x37\x95\x85\x0f\x5b\x67\xd7\x35\x9a\x7f\xc0\xac\xe4\xfb\xcb\xa7\x6b\xa6\xda\x08\x7f\x54\xec\xc5\x9e\x6d\x7e\x60\x54\x26\xfe\xd9\x05\xbf\xc4\xa8\xe1\xc3\x9b\xa7\x4e\x69\xbd\xaa\x2a\xb6\x2a\xae\xb2\x32\xa8\x68\x70\x61\xb4\x04\x65\xfa\x38\x1b\x2a\x3a\xda\xd6\x09\x87\x59\x9b\x87\xe8\xe5\x29\xd7\xe0\x9f\x55\x6a\x93\x71\x97\x12\x13\xbe\xce\xaf\xa4\x97\x26\xbd\x6d\xf8\x63\xc6\xa0\x91\xbc\x59\x97\x80\x6f\x98\x50\x1c\x59\x2d\x9c\xd1\xee\x9b\xc5\xdf\x8e\x1a\x28\xd3\xff\x90\xdd\x10\x78\xd8\x3c\x2c\xbd\xdf\x72\x2f\x3d\x9d\x91\xb4\x28\x22\x8a\x35\x31\xd3\x54\x92\x5b\x42\x91\xca\xdf\x5f\xff\x4f\x95\x9b\xfd\x74\xef\xfd\x21\xe3\x87\x36\x7e\xae\x6f\x3f\x70\xc5\xee\x67\xff\x25\xf3\x6a\xa5\xed\xab\xab\xf8\x99\xd4\xd9\xba\x26\xfe\x87\xf7\x9e\x48\x8d\xf1\x6c\xe0\x63\xe6\xfd\xcc\x9a\x54\x70\xc4\xd1\xd9\xba\x8e\xf4\xf6\xc5\x99\x74\xda\x72\x98\x99\xa4\x94\xad\x19\xfb\x62\x56\xeb\x6d\xce\x00\xed\x86\x84\xf6\x56\xfd\xf0\xe0\xfb\xf8\xdf\x09\xae\x26\xb4\x9b\x52\x48\x63\xd9\x69\x52\x98\x8a\x9a\x62\x45\xed\xb2\xee\x8b\x35\xa6\x03\xfd\xe6\x8b\x97\xdf\xed\xf4\xc3\xbd\x3b\x4e\xd2\xe8\xaa\x9d\xbf\x66\x75\xd6\x2a\x1d\x1e\x52\x68\x4c\x2a\x5e\xfb\x38\xc2\xa2\xda\xdc\x18\xff\x86\x2a\x5c\x0d\x5c\x76\xdf\x1d\xd1\xbf\x7b\xdb\xcc\xad\x6a\xe5\x74\xab\x84\xf7\xfe\x17\x15\xeb\xce\xb6\x3f\x52\xd9\xdb\xc4\xf9\xa8\x0a\x93\xc8\xf2\x91\xe7\xc6\x36\x86\x3b\x53\x33\xe5\x07\xef\x25\x3a\xd7\x1c\x37\x34\x87\x2f\x28\x6c\x59\x56\x2b\x84\x9d\x63\x25\x4c\x36\x67\x8a\xb3\xf5\xf7\xbf\xc4\x55\xac\x39\x56\xff\xde\x3c\x7d\xd7\x20\xb6\xb0\x20\xf7\xb3\x9c\xb5\xbd\xe4\x23\xaf\xaf\x7b\x38\xfe\xdb\xc8\xe8\x7d\xdb\x9a\x2f\x81\xc5\x1b\xd5\x23\x7a\xe5\x7d\xa4\x21\x7c\xca\xa1\x67\xcc\x5f\x4d\x6b\xf8\xce\x31\x6c\x12\x4a\x1d\xf8\x04\xad\xb4\x31\x4d\x45\x5a\xcd\xc1\x1b\x08\x69\x99\x28\xbb\xbf\xe5\xdd\xf2\x5f\xf3\xc5\x4b\x17\x9e\xb4\x4a\x35\x8d\xc5\x1c\xdb\x91\xae\xfc\xdc\xa1\x7f\xbc\x49\x0d\xf9\x7a\x22\xb6\x51\x7e\x6e\xd3\xdf\x21\x41\x62\xf3\xdb\x90\xd2\xaa\xbb\xa3\x9b\x0d\x9b\xdb\xe9\x98\x28\xab\xd1\xdf\xc9\x7d\x86\x9e\x7b\x61\x57\x78\xd0\xb5\xac\xdc\x50\x98\xa1\x5b\x65\x96\x8f\x2e\xa3\xf0\xe6\x9c\x0e\xb7\xd7\xe0\xef\xb3\xa5\xfc\x56\x31\x96\x30\xce\xcf\x10\x74\x19\x37\xe7\x26\x8f\x9f\x5f\xf2\xcf\x7d\xd0\x5b\x63\xc7\xdc\x31\x4c\xb5\xbe\x97\xe0\x77\xea\x6e\x9e\x7a\x09\x41\x40\x7c\x80\x61\xe3\x46\x78\xb9\xc5\x10\x9c\x19\x5a\x3b\x79\x98\x3e\xf7\xe1\x42\x92\xde\xd5\xdb\xbb\x61\x79\xff\x93\x29\xfd\xa7\xe2\x1b\x96\x52\xbf\xe6\x99\xd9\x07\x3e\x89\x8d\xe3\xb2\x22\xbf\xe8\xa2\x05\x8c\x4c\x77\x4b\xdb\xd7\x94\x6d\xec\x9d\xae\xae\x8b\xaf\x8d\x9f\x6e\xdc\xaa\x7e\x2f\x23\x14\x2a\xb2\xf9\xed\xd4\xf1\x80\x38\x0a\xd5\xc0\x8b\x85\x6f\x1a\xd5\xf7\xf2\xd5\xe0\xe2\x55\xb3\xbe\x97\x8d\xaa\xa1\x53\xf6\x66\x69\x5e\xe4\xce\xde\xcd\xab\xe4\x61\xc4\x6c\xac\xc2\xf7\x73\x2e\xfe\xe4\xce\x9c\x09\x07\xcf\xc8\xc6\xfe\x61\x16\x5a\x70\xb4\x9d\x70\xa3\x56\x79\x54\x56\xdc\xd9\x4d\xa6\x25\xf1\xf9\xfa\xaf\x19\x2e\x6e\x5f\x45\x5b\x68\xd2\x7d\x5e\x69\x13\x3d\x51\x46\xe1\x9c\x51\x9d\xb4\xe7\xc4\x87\x1e\x78\xd5\x42\x6e\x73\x41\x84\xb4\x19\x53\xc0\x45\x41\x83\x83\xc2\xbd\xa3\xca\x0a\x6a\x97\x4c\x23\xca\x67\x58\xab\xfb\xaa\x3d\xcb\x3f\x72\x1a\xd1\xf7\xc0\xba\x6c\x3c\xd3\x64\x9f\x2a\x7c\xbf\x37\x06\x33\x7f\x62\xfb\x12\xf2\x3e\xfa\x15\x8a\x90\xe2\xef\xc5\xbb\x11\x1f\x22\x20\xfb\x9d\xa6\x61\x9c\xfe\x97\x37\x21\x1c\xf7\x2b\xf2\x84\xe5\x3e\x37\x56\x16\xdb\x27\x66\xfc\x84\xee\x9e\x49\xe6\xf7\x9c\xe3\x16\xe9\x71\x4e\x97\x9a\xe3\x4d\x2d\x36\x3f\xaf\x3d\xb9\xf7\xa4\xd0\x21\x68\x58\xac\x7f\x98\x14\xa6\x81\x7d\x6d\xd2\x2e\xcd\xe2\x2c\x66\x2a\x2c\xb3\x21\x36\x8a\x20\x71\xbd\x63\x8e\x22\xe1\xa3\xbc\xdc\x05\xaa\x3c\xd3\xb3\x5d\xfe\xaf\x76\x44\xb3\x56\xaf\x1d\x1a\x33\x5b\x4d\x50\x4e\x1f\x1e\xf7\xff\x28\xee\x67\xf1\x99\x6d\x91\xc3\xcb\xa2\x25\x12\x87\x07\xea\xdd\xe6\xd6\xad\xff\x8e\xfe\x36\x25\x33\x47\xe1\xff\x48\x09\x51\xe7\x8a\xe6\xef\x45\x37\xa8\x98\x28\xce\x72\x5b\x54\xf7\x26\x28\x15\xed\xd1\x04\x2b\xd8\xdd\x1d\xfa\x6d\x91\x9b\x67\x5e\x2e\xa2\xd5\x2d\xa3\xaf\xd4\x33\x1a\x02\x8e\x36\xfe\xcd\xc3\xce\xfb\x68\x6f\x72\x1f\x17\x8e\x42\x2e\x9b\x12\xb1\x7b\x85\xe2\xe4\xb2\x86\xb4\x46\x26\xfd\xf8\xf4\x33\xa9\x77\x3a\xc8\x92\xe3\x59\xaa\x8b\x1d\xc8\x12\x51\xde\xa7\x75\xd1\x83\xb4\x65\x33\x26\x17\xdd\x19\xaf\x9b\xdf\x88\xd3\x69\x32\xd7\x14\xd4\x7f\x1b\x4d\xc7\xbc\xf0\x57\x8f\xbc\xbc\xc3\x5f\xe7\x3b\x28\xc9\x7b\x53\x46\x2b\xf1\x46\x68\x49\xfd\x5c\x86\x90\xd9\x66\xa5\xe1\x22\x6c\x04\x12\xff\x63\x17\x19\xe6\x81\xf1\x24\x54\xf3\xbd\x27\xd9\x1b\xba\xea\x4e\x18\xba\x9c\x50\xdf\x34\x1f\xa5\x8a\xa6\xb5\x1e\xa3\x3f\x94\x2b\xcf\x22\xf8\x22\x75\x10\x2e\xe3\x28\x09\x05\x27\x31\xf5\xc3\xf4\x14\x54\xf8\x9d\x7e\x75\x0b\xfd\xeb\x67\x19\x52\x45\x5f\xd1\x1b\xea\x74\x57\xd2\x24\xe7\x70\x5d\x65\x66\x69\x63\xd6\x77\xb1\x5d\x23\xad\x04\x1e\xce\xda\x3c\x4b\x93\x53\x2d\xbe\x5e\x07\x85\x5f\xe1\xce\x21\x9b\x86\xa2\x97\x77\x72\x2f\xbb\x5c\xa1\xf4\x51\xa5\x10\x3a\x1c\x65\x32\x97\xf4\x2b\x5a\xc7\x2c\xc6\x3c\x52\x15\x37\x4d\xb0\xa9\x71\x06\xed\x14\x02\x3a\x32\x44\x3c\x4f\xf1\x9c\xdc\x08\xf9\xe5\x80\x2c\xf5\x56\xd0\xee\x91\x02\xd7\xb6\xc9\xd2\x17\xfc\x7a\xfc\x48\x92\x81\xd9\x42\x93\x6e\x5f\xa0\xf9\xed\x8c\x3f\x78\x73\xc3\xb7\xc3\xf9\x1e\x86\x3d\xbe\x35\xfd\x9b\x17\x23\x7f\x2c\xd2\xeb\x0f\x54\x80\x67\xcf\xc9\x5c\xed\x66\x1d\xf4\xae\x84\xf7\xa8\x96\x06\xd9\xd3\x3c\x49\x9a\x7d\x86\xf5\x0e\x7d\x87\x83\x6d\x5f\xde\x82\xdd\x30\x2d\xfb\x5c\xfb\x09\x48\xba\x2d\x3a\xe7\x75\x8e\x93\xdf\x16\x8f\xb5\x22\x5a\x16\x14\x70\x71\x69\xc1\x3c\xde\x2b\x49\x68\xb3\xfb\xbd\x69\x22\xcd\x27\x09\x46\xbc\xbf\x23\xbd\xcb\x30\xe7\x75\xc5\x6c\x08\xc5\x6b\x1e\xda\xa3\xd4\x63\x3d\x89\x45\x74\xbb\x65\x2d\x6f\x97\xa3\x19\x12\xa6\xf4\x7c\xbb\x02\x71\x75\x05\xb9\x14\xac\xfd\xd3\x3b\x97\x0a\x82\x7f\xdb\xad\x68\x0a\x35\x8e\x7c\xf5\xe7\x70\xf2\xb0\xe4\xed\xa9\xd7\x8f\x3c\x74\x78\xfd\xa4\x4b\x47\x9f\xaf\xfa\xf8\x89\xcd\xc6\x7c\x29\xd1\x8f\xce\xe7\x91\xc8\x78\x67\xb6\x13\x34\x1f\x54\x7b\x92\x8d\x6d\x10\xba\x59\xf5\x4b\x5b\x5b\x7f\x3c\x4d\x55\xba\xb0\x93\xf5\x8f\x75\x4e\x6b\xdc\x0a\xf5\xd9\xb1\xf3\x01\xef\xb4\x88\xb3\x7f\x6e\xab\x38\x51\xc6\x0c\x93\xbb\xd4\xde\xed\x50\x18\x7b\xfe\xf5\x7a\x7c\x3a\xc9\xcd\x4d\x0b\x42\xcb\x47\x53\x6e\x3d\x79\x15\xd3\xb5\xfe\x67\xf0\xc2\xfb\xd1\xc1\xec\x34\xa5\xf6\xc5\x0c\x89\xd2\x7b\xb3\x3e\xc4\x10\x81\xc1\x66\x4f\xae\xa3\x03\x63\x91\xe9\x55\x53\x13\xc7\xf6\x87\x7b\x1a\x23\x3b\x8b\x16\xb4\xc3\xd6\x53\x92\xf2\x2e\x64\xae\x8c\xbb\xd3\x37\x55\x96\xe4\x68\xa1\x95\x8b\x2b\x45\x9f\x32\x2a\xae\xaa\x48\x9f\x31\x7d\x29\x15\x37\x58\xf4\xc6\xeb\xaa\xf3\x99\xe0\xb5\x7d\x9f\x9c\x58\x78\xc3\x92\xeb\xa6\x3e\x23\xd0\x63\x6e\x8e\xf7\x5f\x49\xc4\x3a\x88\x7d\x96\xdf\xe7\x3c\xa5\x01\xa4\x78\xd3\x23\xa7\x97\x72\xbc\xd3\xae\x92\x6b\xa2\xf7\x37\x06\xff\xb2\x50\x0c\x94\x71\x74\xb1\x7f\x77\x75\x36\x69\x45\x99\xf3\xf7\xbb\xc5\x06\xa1\x98\x0e\xbd\x3b\xd1\xaf\x63\xfc\x62\xd2\x63\xee\xe4\xea\x93\xd0\x81\xaa\xcf\x07\x7c\x86\x7d\x86\x7c\x86\x6f\x21\x02\x10\x13\x4f\xf7\xd2\x6c\x17\x54\xe8\xd5\x8a\x32\xa8\x70\xc6\x98\xcf\xdc\x87\xd4\xf8\xf5\x8a\x4d\xca\xfb\x20\xab\x13\x76\x1d\x58\xf6\x51\x30\x1e\x44\xee\xec\x49\x18\x53\xdd\x97\xb9\x92\x1d\x3d\xfb\xe6\x3d\x8c\xdb\xfe\xd7\x1b\x79\x20\x14\x9a\x95\xa2\x5e\xb4\x69\x38\xd5\xe0\x34\xed\x7a\x71\x4f\xeb\x1b\x57\xf6\x8b\x40\xe3\x9f\xf9\x8a\x0a\xd2\x9c\x42\x9c\xa2\xb8\xc7\x1c\xac\x5c\x41\x2c\x20\x47\x41\x19\xe0\x67\x4a\x9d\xae\x8f\x70\xff\xe1\x33\x74\x87\xd8\x9f\xee\x1a\x86\x5a\x05\x40\xad\x42\x17\x08\x83\x10\x44\x00\xfc\x5f\x00\x00\x00\xff\xff\x8f\x99\xf5\x9a\xe4\x0a\x00\x00")
+
+func webdataIconWoffBytes() ([]byte, error) {
+ return bindataRead(
+ _webdataIconWoff,
+ "webdata/icon.woff",
+ )
+}
+
+func webdataIconWoff() (*asset, error) {
+ bytes, err := webdataIconWoffBytes()
+ if err != nil {
+ return nil, err
+ }
+
+ info := bindataFileInfo{name: "webdata/icon.woff", size: 2788, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
+ a := &asset{bytes: bytes, info: info}
+ return a, nil
+}
+
+var _webdataIndexHtml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x94\xcf\x6e\xd4\x30\x10\xc6\xef\x7d\x0a\x33\x67\x92\x00\x12\x88\x43\x1c\x09\xb5\x3d\x70\x02\xa1\x22\xc1\x71\xd6\x9e\x4d\x86\x3a\x76\xb0\x27\xdb\xee\x0b\x70\xe2\x19\x38\x00\x07\xde\x81\xb7\xe1\x49\xd0\xc6\xb4\xd9\xee\x9f\x96\xd3\xee\xcc\x7c\xfe\xcd\xe7\x19\x2b\xf5\xa3\xb3\x37\xa7\x17\x1f\xdf\x9e\xab\x4e\x7a\xd7\x9c\xd4\x9b\x1f\xe5\xd0\xb7\x1a\xc8\x43\x73\xa2\x94\x52\x75\x47\x68\xf3\xdf\x29\xec\x49\x50\x99\x0e\x63\x22\xd1\x30\xca\xb2\x78\x09\xaa\xda\x15\x78\xec\x49\xc3\x8a\xe9\x6a\x08\x51\x40\x99\xe0\x85\xbc\x68\xb8\x62\x2b\x9d\xb6\xb4\x62\x43\xc5\x14\x28\xf6\x2c\x8c\xae\x48\x06\x1d\xe9\xa7\x8f\x55\x8f\xd7\xdc\x8f\xfd\x9c\x18\x13\xc5\x29\xc2\x85\x23\xfd\xe4\x40\xbf\x4e\x64\x28\xe8\xf3\xc8\x2b\x0d\x1f\x8a\xf7\xaf\x8a\xd3\xd0\x0f\x28\xbc\x70\xb4\xd5\xfc\xf5\xb9\x26\xdb\xd2\xdd\xf3\xc9\x44\x1e\x44\xa5\x68\x34\x2c\x7d\xf9\x29\x41\x53\x57\x39\x79\x44\x95\x3a\x7c\xf6\xfc\xc5\x31\xa5\xb0\x38\x6a\xde\x51\x1f\x84\xd4\x45\x18\x4d\x37\xa0\xad\xab\x9c\x9e\x65\x8e\xfd\xa5\xea\x22\x2d\x35\xf4\xc8\xbe\x34\x29\x81\xea\xc9\x32\x6a\x48\x26\x12\x79\x50\x91\x9c\x86\x24\x6b\x47\xa9\x23\x92\xbb\xbe\xb7\x00\x6c\x82\x2f\x07\xdf\x82\x92\xf5\x40\x1a\xb8\xc7\x96\xaa\x29\x91\x11\x5d\x88\x62\x46\x51\x1b\xe1\x2d\xa5\xae\xe6\xd5\xd6\x8b\x60\xd7\x5b\x70\xcb\x2b\xc5\x56\x43\x18\xc8\xb3\x6f\x61\x2e\x4d\xe5\xa1\x39\x0d\xde\x93\x11\xf6\x6d\x59\x96\x75\x35\x6c\x9d\xad\x2c\xaf\x0e\xa0\x8c\x0b\x89\xec\x3e\xe9\x8c\x93\xc9\x30\xb2\x77\x40\xd9\xd7\x28\x12\xbc\x32\x0e\x53\xca\x17\x85\x89\x16\xc9\x05\xb4\xb9\x0a\xcd\x9f\x2f\xbf\xeb\x2a\x07\x0f\x1b\x19\x70\xdf\xc5\x4d\xc1\xe1\x82\x1c\x34\xf3\xda\x76\xfd\x6c\x20\xff\xcc\xe4\x7e\x69\x87\x75\xaf\xeb\xe5\xe8\x5c\x5e\xee\xad\xf3\x9f\xdf\xf7\x9d\x3f\xc8\xb9\xa4\xf5\x22\x60\x9c\xef\xff\xf5\xd7\x21\xca\xee\x04\x8e\x0c\xe4\x86\xb6\x3b\x15\xa1\x6b\xc1\x48\x38\x89\x36\xc1\xe6\xbd\xdf\x24\xff\x73\x4f\x89\xfc\xec\xf2\xdb\x8f\x7b\xb7\x54\x57\xf9\x15\xd6\x55\xfe\x1e\xfd\x0d\x00\x00\xff\xff\xa0\x16\x9c\x8c\xa0\x04\x00\x00")
func webdataIndexHtmlBytes() ([]byte, error) {
return bindataRead(
@@ -129,12 +150,12 @@ func webdataIndexHtml() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/index.html", size: 1132, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
+ info := bindataFileInfo{name: "webdata/index.html", size: 1184, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
-var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x55\x6d\x6f\x9b\x30\x10\xfe\xce\xaf\xb8\x29\x9a\xd4\x4a\x71\x97\xbe\x4c\x9a\xdc\x2f\xfb\x2b\x06\x5f\xc0\x8b\xf1\x21\xfb\x10\x64\x13\xff\x7d\x32\x26\x14\xd2\xd0\x6e\xb5\x54\x25\xcf\xbd\xfa\xb9\xe7\x9c\x8a\x6b\xbb\x87\x9c\xf4\x79\x0f\xbb\x46\xe9\x3d\xec\x4e\x78\xce\x49\xf9\xf8\x91\x1a\x74\xc6\x95\x7b\xd8\x15\x96\x02\x6a\xf8\x93\x01\x00\x74\x46\x73\x25\xe1\xf1\x70\xf8\xfa\x3a\x02\x15\x9a\xb2\xe2\x25\x52\x2b\x5f\x1a\x27\xe1\xf0\x9a\x0d\x59\x16\xf3\x4f\xb1\x47\x72\x2c\x8e\xaa\x36\xf6\x2c\x21\x28\x17\x46\x87\xa9\x74\x40\xa7\xf3\x96\x99\xdc\x76\xf1\x5c\x15\xa7\xd2\x53\xeb\xb4\x28\xc8\x92\x97\xb0\x7b\x39\xc4\x03\x5f\x4c\xdd\x90\x67\xe5\xf8\xf5\xda\xd3\xd4\xaa\x44\x09\xad\xb7\x77\x8c\xfd\x43\xe3\xca\xfb\x54\x77\xa3\x88\x36\xa1\xb1\xea\x2c\xe1\x68\xb1\x4f\xd9\x94\x35\xa5\x13\x86\xb1\x0e\x12\x0a\x74\x8c\x3e\x19\x7e\xb5\x81\xcd\xf1\x2c\x0a\x72\x8c\x8e\xd7\xc6\xf1\xba\xc1\xfc\x46\x09\x4f\x58\x27\x6c\x6a\xbb\xab\x0c\x63\x42\x3a\xf2\x5a\x74\x5e\x35\x12\x72\x8f\xea\x24\x22\x30\x25\xb0\xd8\x0b\x6d\x3c\x16\x6c\xc8\xc9\x18\xdc\xd6\x6e\x26\x6d\xbb\xdf\x4f\x02\xad\xca\xd1\x4e\xd1\x33\x8f\x4f\xf1\xa4\x70\xc6\x9e\x45\xa8\x94\xa6\x4e\x8e\x40\xfc\x13\x8f\x4d\x9f\xfe\x1d\x60\xf7\xfc\x23\x9e\xfd\x6c\xfc\xc8\x36\xe2\x1f\xc4\xad\x4c\x0b\xe6\xba\x49\x58\x39\x59\xbd\x14\x96\x60\x6a\x24\xa8\x96\x69\x85\xe6\xc4\x4c\xf5\xd2\x30\x5e\x63\x1c\xdd\xe6\x5c\x5e\x2e\x73\xd9\x98\x42\x24\xec\xd8\x5a\x1b\x0a\x8f\xe8\x66\x79\x5e\xd6\x64\x06\x56\xe2\xf5\x68\x49\x4d\x5f\x37\x85\xcb\x5e\xb9\xd0\x28\x8f\xb3\x62\xc9\x6b\xf4\x72\xa4\x23\x90\x35\x1a\x72\xab\x8a\xd3\xd5\x92\x3d\x7c\x9f\x3b\x4e\x8b\x38\x2b\xeb\x73\xb5\xfd\xff\x65\x2e\xdd\x8f\xad\xcd\x0c\x3b\x72\x1b\xd9\xd6\xfe\x16\x8f\xbc\xf4\x5e\x17\x5a\xfb\xfa\x74\xbf\xe4\xbc\x98\x6a\xca\x91\x66\xba\xcc\xf1\xef\xda\xf7\xd4\xa5\xd0\x28\x87\xcb\x43\x64\xb1\x97\xf0\xb4\x26\xfe\xad\xb6\xc7\xc4\xe3\x1b\x72\x8b\xdc\xf7\x33\x5d\x6c\xf5\x84\x4c\x23\x1c\xb2\xec\x21\xdd\x3a\xdc\x6e\x3c\xf6\xb7\x45\xfb\x3b\x6a\x26\x7c\x5c\x83\x37\x74\xfd\x0e\x0f\x59\xf6\xb3\x46\x6d\x14\xdc\xd5\xaa\x17\x2a\x34\x58\xb0\xf0\x8a\x0d\x49\x78\xf9\xf6\x7c\x3f\xd5\xb8\x26\xf4\xa3\xd7\x23\xda\x86\x2c\x85\xbd\x6b\x76\x63\xee\x57\xa6\xb1\xe7\x9b\x0a\xdf\x50\xf9\xcd\x9f\x9c\x21\x1b\xfe\x06\x00\x00\xff\xff\x02\x28\x6c\x00\xbc\x06\x00\x00")
+var _webdataMainCss = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x55\xdb\x8e\x9b\x30\x10\x7d\xe7\x2b\xa6\x89\x2a\xed\x4a\x21\xcd\x5e\x2a\x55\xde\x97\xfe\x8a\xc1\x43\xe2\xc6\x78\x90\x3d\x08\xd2\x2a\xff\x5e\xd9\x26\x2c\x64\x43\xb6\x5d\xa4\x55\x38\x73\x3f\x73\x6c\x0e\x5c\x9b\x0d\x14\xa4\x4e\x1b\x58\x37\x52\x6d\x60\x7d\xc4\x53\x41\xd2\x85\x9f\xd4\xa0\xd5\x76\xbf\x81\x75\x69\xc8\xa3\x82\x3f\x19\x00\x40\xa7\x15\x1f\x04\x3c\xed\x76\x5f\xdf\x22\x70\x40\xbd\x3f\xf0\x14\xa9\xa5\xdb\x6b\x2b\x60\xf7\x96\x9d\xb3\x2c\xe4\x1f\x62\x2b\xb2\x9c\x57\xb2\xd6\xe6\x24\xc0\x4b\xeb\xa3\xc3\x50\xda\xa3\x55\x45\xcb\x4c\x76\xb9\x78\x21\xcb\xe3\xde\x51\x6b\x55\x5e\x92\x21\x27\x60\xfd\xba\x0b\x0f\x7c\xd1\x75\x43\x8e\xa5\xe5\xb7\x6b\x4f\x5d\xcb\x3d\x0a\x68\x9d\x79\x60\xec\xb7\x8d\xdd\x3f\xa6\xba\x0b\x45\x94\xf6\x8d\x91\x27\x01\x95\xc1\x3e\x65\x93\x46\xef\x6d\xae\x19\x6b\x2f\xa0\x44\xcb\xe8\x92\xe1\x57\xeb\x59\x57\xa7\xbc\x24\xcb\x68\x79\x6e\x8c\xe3\x7a\xfd\x1b\x05\x3c\x63\x9d\xb0\xa1\xed\xee\xa0\x19\x13\xd2\x91\x53\x79\xe7\x64\x23\xa0\x70\x28\x8f\x79\x00\x86\x04\x06\xfb\x5c\x69\x87\x25\x6b\xb2\x22\x04\xb7\xb5\x1d\x49\x5b\xee\xf7\x93\x40\x23\x0b\x34\x43\xf4\xc8\xe3\x73\x78\x52\x38\x63\xcf\xb9\x3f\x48\x45\x9d\x88\x40\xf8\xcb\x9f\x9a\x3e\xfd\xdb\xc1\xfa\xe5\x47\x78\x36\xa3\xf1\x9e\x2d\xe2\x77\xe2\x66\xa6\x09\x73\xdd\x20\xac\x82\x8c\x9a\x0a\x2b\x67\x6a\x04\xc8\x96\x69\x86\x16\xc4\x4c\xf5\xd4\x10\xc7\x88\xab\x5b\xdc\xcb\xeb\x65\x2f\x0b\x5b\x08\x84\x55\xad\x31\xbe\x74\x88\x76\x94\xe7\xe5\x98\x8c\xc0\x4c\xbc\x0e\x0d\xc9\xe1\x75\x51\xb8\xec\xa4\xf5\x8d\x74\x38\x2a\x96\x9c\x42\x27\x22\x1d\x9e\x8c\x56\x50\x18\x59\x1e\xaf\x0e\xd9\xf6\xfb\xd8\x71\x3a\x88\xa3\xb2\x3e\x57\xdb\xff\x0f\x73\xe9\x3e\xb6\x36\x32\x6c\xc9\x2e\x64\x9b\xfb\x1b\xac\x78\xea\x3d\x2f\x34\xf7\x75\x69\xbe\xe4\x3c\xd9\x6a\xca\x91\x76\x3a\xcd\xf1\xef\xda\x77\xd4\xa5\xd0\x20\x87\xcb\x45\x64\xb0\x17\xf0\x3c\x27\xfe\xbd\xb6\xc3\xc4\xe3\x3b\x72\x8b\xdc\x8f\x3b\x9d\x9c\xea\x01\x19\x56\x78\xce\xb2\x6d\x9a\xda\xdf\x6e\x3c\xf4\xb7\x44\xfb\x07\x6a\x06\x3c\x1e\x83\x77\x74\x7e\x0f\x9f\xb3\xec\x67\x8d\x4a\x4b\x78\xa8\x65\x9f\x4b\xdf\x60\xc9\xb9\x93\xac\x49\xc0\xeb\xb7\x97\xc7\xa1\xc6\x35\xa1\xf7\x6e\x8f\x60\x3b\x67\x29\xec\x43\xb3\x0b\x7b\xbf\x32\xc5\x9e\x6f\x2a\x7c\x41\xe5\x37\x3f\x39\xe7\x38\xde\xf0\x35\x29\xf1\xd6\xd7\x65\xa5\x4b\xb2\xab\xe4\xee\x5d\x99\xae\xff\x08\x6e\x3b\xaa\xaa\xd5\x23\x54\xe4\x6a\xc9\x0f\xab\xf4\x9a\x76\x14\xec\xf7\xb2\x9d\xff\x06\x00\x00\xff\xff\xfc\x90\x20\x8c\x33\x07\x00\x00")
func webdataMainCssBytes() ([]byte, error) {
return bindataRead(
@@ -149,7 +170,7 @@ func webdataMainCss() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "webdata/main.css", size: 1724, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
+ info := bindataFileInfo{name: "webdata/main.css", size: 1843, mode: os.FileMode(436), modTime: time.Unix(1, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -248,6 +269,7 @@ func AssetNames() []string {
var _bindata = map[string]func() (*asset, error){
"webdata/fn.js": webdataFnJs,
"webdata/icon.png": webdataIconPng,
+ "webdata/icon.woff": webdataIconWoff,
"webdata/index.html": webdataIndexHtml,
"webdata/main.css": webdataMainCss,
"webdata/sha256.js": webdataSha256Js,
@@ -297,6 +319,7 @@ var _bintree = &bintree{nil, map[string]*bintree{
"webdata": &bintree{nil, map[string]*bintree{
"fn.js": &bintree{webdataFnJs, map[string]*bintree{}},
"icon.png": &bintree{webdataIconPng, map[string]*bintree{}},
+ "icon.woff": &bintree{webdataIconWoff, map[string]*bintree{}},
"index.html": &bintree{webdataIndexHtml, map[string]*bintree{}},
"main.css": &bintree{webdataMainCss, map[string]*bintree{}},
"sha256.js": &bintree{webdataSha256Js, map[string]*bintree{}},
diff --git a/webdata/icon.woff b/webdata/icon.woff
new file mode 100644
index 0000000000000000000000000000000000000000..a9577106f9e248118b163319b879526e42559446
GIT binary patch
literal 2788
zcmZWrc{r3^AAV-W*k)`sBzw;O_wRSEbIw0^f~&2qtA~dx00=Jt2ml=W
zk^#ui`TvKNtt}b=V5a~;0Q8Hfm1bpj+S+)_Czsu);6}FRs(YBU%DiK
za&_0%0{}=E$Q?l7ziMY)35q0;0RXxQayxL(&(+P|J&Z^Q2G@e1W&px)pZ|hP7$}08
zImi`29O9pY<%dO{r+{a?1i9!>2)Y4JBMB6+9|R9_{$GHf0-^|!L{Mu6aU48Lgnh?1
zf*c)p9=wM!=#c_}-b)8Cl*%A{Fdh%gjcDyD&+kNb>5(yyfh-;Wv-4+=H|Q*BzCG=r
zt|!exgNt}PG!qI?SRyE}_~Jv{%t|aZB)Jp&|%8lcqn7N{3~!4X%|+{y3v!ts5E0
zfC^)tT+;xQQ~2?LN@AV`>4`ZiHPpb5ny)}rUvpCzBDrWx2wT>)Dy!W#%2diK
zzh*$)d>5zvUC31GpYdI>Dke!R61{PeJz8NTL^JGCB46Td&H19c*~>EbH&@$5GYgl2
z%WZ#iyK^a@xeMQqUQ=#c3g^{nNQJ$B8kb8wft%LtFIfh(o^Nw$sD$c@&Xj&W8LAwi
z$@Yq*L)|Lcro=SeQtaXc5-us_nB$|3TVgJ9iUWe^j5rw+9I*e`=Y4z4uGbPvu63}??OJF&P?2U0ni4$~r%W!ciYw>Wtl
zeM`w%y5@tM?>9ox&uz-W3Pbg-6v+)o$e+Opej`Y3oh`s7NXvaCjdcxUZSH%Y(H$Qp
zIPbrmlz-acNBmbvql(Li-~WKehtTi``EB{d1tA}$dy=L25$LCV-96o$?ptkVe621%
zsGHc^Lm~yYOZ6cJY{i*n7x%Hd7%xU^eZKLSp2hZe3h1M~#a{-o(nrOnvOl^Bw+ro4jV=2N?
zPTs+idoi=+E`N|gePUY+mK6FBa{=#e&bTcPHB*`*MrdlQmDem8y;@~EGjG3o{lgJU
z@@+rPU}|+7%j~F8KQO4;KrLGRJj|il-x~W4D_99$^4uQA-oI<xstEOE?
z>vcMJlQ0)uZXQ)O{L;)Gw>3Fkw)auCW7TC{Z|J=0hE0`f#92<_L{o+g7rXm4zI@fC
z>O#}heUrF?{G2b!c206ne7^0VMejmmb{(p}1{bYY4I7vB5(hCU`(Ch*SyYRhW!Wc|
zIE#qe8VENQ>Nkb1LlhLF9sg4C$a^c2pipq!mTnOze0WQt;!8XBNTW9N?RZ>+$}BI?
zIZ>APeNcVH)5XJ{E9iPyiqjD2>N(BKIlqk>a4#*xp;$(hmU-|}3L^U?$w^nV*Mag!
z`Do&pC`;UJ%u0|vc5X2+=TT3!BYO)+w|kHnaN>ThPBC6grk`c+fq%Wh5}zJiJ$`^W
z`{_K@`0Cy5h}?f=DBM(g$5HRoJ3aHrFR5WnNpimtT+GyByQFPZ!`{jD>YB{z*vW>C
zs*j2i;gY=XCyoTgQ)nhW98BW~*2iC00HJO7APZK_r0mQve8?R=ysP9P$V{B-kF#!p
zM?Vsp~VwPWdS9^a&z84A5VspH+zrX>F84#rEu
zV=s(WfuNN*M8T3R=BBF4M-kl8;)Jxxr4m%q?R5OLU*sJ;3F&=gS2~tqzDq+r?1>eg
zJGyxZ`VjsGhEECfL98c)i7EYH=$fVd>5C_!k3o;x>UUW5{Ig%c4(ni6@;xy)*TP4=Zmp%I7*P$h-S^jzNQeZADe!p5}aj-{a#t
zl{F*RElR)C{0$I|nhnnx9wEOk8f}3zR*2Q$vM(m#J{ehdrs1O~>)3hzn5PQsHw(
z()ReGRWE}P+Tre`LZ;)AzOUP%bXf~#o@2g@j;eAB(&_oVOZlOHY?n8Nn?=33Ig~sk
zcX#sb6E8zVfI`X0%N4%>>6zHC#n_lUA=&f~mRlinAvMRj$a;y}mHS&;`w|#h3I!dU
zf9$eb;+JVJ4xbD9pih{&xvA+&8O0@cYJb?Guyz9Lj71ESn;PdOmJX%ddG;o@bM0p6
z{Kt`jtW@>3g>>1H2Qz+zFtLFqZ-GPoqfu#^R^ZN4bmk0?&-SJ=S+63F$2T
zMP--&gf2i#usC>fG21uwD!DplcYWYbYqelS7dNL5S7)fp8vGaT7ny_$w;SJ!c^exL
zn-+U72TOzpYrX9E8}b|U8@dAtf{Z`kNp+alWLBvu!bq%9zu8apgtc-W
-
+