-
Notifications
You must be signed in to change notification settings - Fork 2
/
data.go
274 lines (263 loc) · 19.3 KB
/
data.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
package main
// this file is auto-generated by bundle.sh
var _bundle = map[string]string{
"templates/client/server.html": `
PHRyPgp7eyNzZXJ2ZXJ9fQo8dGQ+PHNwYW4gc3R5bGU9ImJhY2tncm91bmQtY29sb3I6cmdiKHt7Y29s
b3J9fSkiPiZuYnNwOzwvc3Bhbj4gPHNwYW4gcmVsPSJ0b29sdGlwIiB0aXRsZT0ie3sjbmFtZXN9fXt7
bmFtZX19IHt7L25hbWVzfX0iPnt7bmFtZX19PC9zcGFuPjwvdGQ+Cgo8dGQ+PHNwYW4gY2xhc3M9Imlw
Ij4KPGEgaHJlZj0iaHR0cDovL3t7aXB9fTo4MDUzL3N0YXR1cyI+e3tpcH19PC9hPgo8L3RkPgoKPHRk
IGNsYXNzPSJ7e3Fwc19jbGFzc319Ij4KICAgIHt7I3Fwc319e3txcH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taW4sCiAgICAgICAgICAgIGgsCiAgICAgICAgICAg
IHMsCiAgICAgICAgICAgIGwgPSAobWF4ICsgbWluKSAvIDI7CgogICAgICAgIGlmIChtYXggPT09IG1p
bikgewogICAgICAgICAgICBoID0gcyA9IDA7IC8vIGFjaHJvbWF0aWMKICAgICAgICB9IGVsc2Ugewog
ICAgICAgICAgICBzID0gbCA+IDAuNSA/IGQgLyAoMiAtIG1heCAtIG1pbikgOiBkIC8gKG1heCArIG1p
bik7CiAgICAgICAgICAgIHN3aXRjaCAobWF4KSB7CiAgICAgICAgICAgIGNhc2UgcjoKICAgICAgICAg
ICAgICAgIGggPSAoZyAtIGIpIC8gZCArIChnIDwgYiA/IDYgOiAwKTsKICAgICAgICAgICAgICAgIGJy
ZWFrOwogICAgICAgICAgICBjYXNlIGc6CiAgICAgICAgICAgICAgICBoID0gKGIgLSByKSAvIGQgKyAy
OwogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIGNhc2UgYjoKICAgICAgICAgICAgICAg
IGggPSAociAtIGcpIC8gZCArIDQ7CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQog
ICAgICAgICAgICBoIC89IDY7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gW01hdGgucm91bmQoaCAq
IDI1NSksIE1hdGgucm91bmQocyAqIDI1NSksIE1hdGgucm91bmQobCAqIDI1NSldOwogICAgfTsKCiAg
ICAvKioKICAgICAqIENvbnZlcnRzIGFuIEhTTCBjb2xvciB2YWx1ZSB0byBSR0IuIENvbnZlcnNpb24g
Zm9ybXVsYQogICAgICogYWRhcHRlZCBmcm9tIGh0dHA6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSFNM
X2NvbG9yX3NwYWNlLgogICAgICogQXNzdW1lcyBoLCBzLCBhbmQgbCBhcmUgY29udGFpbmVkIGluIHRo
ZSBzZXQgWzAsIDI1NV0gYW5kCiAgICAgKiByZXR1cm5zIHIsIGcsIGFuZCBiIGluIHRoZSBzZXQgWzAs
IDI1NV0uCiAgICAgKgogICAgICogQHBhcmFtICAgQXJyYXkgICBoc2wgICAgIFRoZSBodWUsIHNhdHVy
YXRpb24sIGxpZ2h0bmVzcyB2YWx1ZXMgYXJyYXkKICAgICAqIEByZXR1cm4gIEFycmF5ICAgICAgICAg
ICBUaGUgUkdCIHJlcHJlc2VudGF0aW9uCiAgICAgKi8KICAgIHZhciBoc2xUb1JnYiA9IGZ1bmN0aW9u
IChoc2wpIHsKICAgICAgICB2YXIgaCA9IGhzbFswXSAvIDI1NSwKICAgICAgICAgICAgcyA9IGhzbFsx
XSAvIDI1NSwKICAgICAgICAgICAgbCA9IGhzbFsyXSAvIDI1NSwKICAgICAgICAgICAgcSA9IGwgPCAw
LjUgPyBsICogKDEgKyBzKSA6IGwgKyBzIC0gbCAqIHMsCiAgICAgICAgICAgIHAgPSAyICogbCAtIHEs
CiAgICAgICAgICAgIHIsCiAgICAgICAgICAgIGcsCiAgICAgICAgICAgIGIsCiAgICAgICAgICAgIGh1
ZTJyZ2IgPSBmdW5jdGlvbiAocCwgcSwgdCkgewogICAgICAgICAgICAgICAgaWYgKHQgPCAwKSB7IHQg
Kz0gMTsgfQogICAgICAgICAgICAgICAgaWYgKHQgPiAxKSB7IHQgLT0gMTsgfQogICAgICAgICAgICAg
ICAgaWYgKHQgPCAxIC8gNikgeyByZXR1cm4gcCArIChxIC0gcCkgKiA2ICogdDsgfQogICAgICAgICAg
ICAgICAgaWYgKHQgPCAxIC8gMikgeyByZXR1cm4gcTsgfQogICAgICAgICAgICAgICAgaWYgKHQgPCAy
IC8gMykgeyByZXR1cm4gcCArIChxIC0gcCkgKiAoMiAvIDMgLSB0KSAqIDY7IH0KICAgICAgICAgICAg
ICAgIHJldHVybiBwOwogICAgICAgICAgICB9OwoKICAgICAgICBpZiAocyA9PT0gMCkgewogICAgICAg
ICAgICByID0gZyA9IGIgPSBsOyAvLyBhY2hyb21hdGljCiAgICAgICAgfSBlbHNlIHsKICAgICAgICAg
ICAgciA9IGh1ZTJyZ2IocCwgcSwgaCArIDEgLyAzKTsKICAgICAgICAgICAgZyA9IGh1ZTJyZ2IocCwg
cSwgaCk7CiAgICAgICAgICAgIGIgPSBodWUycmdiKHAsIHEsIGggLSAxIC8gMyk7CiAgICAgICAgfQoK
ICAgICAgICByZXR1cm4gW01hdGgucm91bmQociAqIDI1NSksIE1hdGgucm91bmQoZyAqIDI1NSksIE1h
dGgucm91bmQoYiAqIDI1NSldOwogICAgfTsKCiAgICByZXR1cm4gZnVuY3Rpb24gKG4pIHsKICAgICAg
ICB2YXIgYmFzZUNvbG9yID0gcmdiVG9Ic2woWzEzOCwgMzgsIDIyNl0pLAogICAgICAgICAgICBiYXNl
SHVlID0gYmFzZUNvbG9yWzBdLAogICAgICAgICAgICBzdGVwID0gKDI0MC4wIC8gbiksCiAgICAgICAg
ICAgIGksCiAgICAgICAgICAgIG5leHRDb2xvciwKICAgICAgICAgICAgY29sb3JzID0gW107CgogICAg
ICAgIGNvbG9ycy5wdXNoKGhzbFRvUmdiKGJhc2VDb2xvcikpOwoKICAgICAgICBmb3IgKGkgPSAxOyBp
IDwgbjsgaSArPSAxKSB7CiAgICAgICAgICAgIG5leHRDb2xvciA9IGJhc2VDb2xvcjsKICAgICAgICAg
ICAgbmV4dENvbG9yWzBdID0gKGJhc2VIdWUgKyBzdGVwICogaSkgJSAyNDAuMDsKICAgICAgICAgICAg
Y29sb3JzLnB1c2goaHNsVG9SZ2IobmV4dENvbG9yKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4g
Y29sb3JzOwogICAgfTsKfSgpKTsK
`,
"static/js/dns.js": `
InVzZSBzdHJpY3QiOwoKKGZ1bmN0aW9uICgkKSB7CgogICAgdmFyIGN1cnJlbnRfcG9wb3ZlcjsKCiAg
ICB2YXIgdXBkYXRlID0gZnVuY3Rpb24oKSB7CiAgICAgICAgJC5nZXRKU09OKCcvYXBpL3N0YXR1cycs
IGZ1bmN0aW9uKHN0YXR1cykgewogICAg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CiAgICAgICAgICAgICAgICBzbW9vdGhpZVNlcnZlcnMuYWRkVGlt
ZVNlcmllcyh0aW1lU2VyaWVzW3NlcnZlck5hbWVdLCB7CiAgICAgICAgICAgICAgICAgICAgc3Ryb2tl
U3R5bGU6ICdyZ2IoJyArIGxpbmVDb2xvci5qb2luKCcsJykgKyAnKScKICAgICAgICAgICAgICAgIH0p
OwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChzZXJ2ZXJOYW1lID09PSAic3VtbWFyeSIpIHsK
ICAgICAgICAgICAgICAgIHRpbWVTZXJpZXNUb3RhbC5hcHBlbmQobmV3IERhdGUoKS5nZXRUaW1lKCks
IHBhcnNlSW50KHFwcywgMTApKTsKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIHRp
bWVTZXJpZXNbc2VydmVyTmFtZV0uYXBwZW5kKG5ldyBEYXRlKCkuZ2V0VGltZSgpLCBwYXJzZUludChx
cHMsIDEwKSk7CiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgICJnZW5lcmF0ZUNvbG9ycyI6
IGZ1bmN0aW9uIChuKSB7CiAgICAgICAgICAgIGlmIChjb2xvcnMubGVuZ3RoID09PSAwKSB7CiAgICAg
ICAgICAgICAgICBjb2xvcnMgPSBnZW5lcmF0ZUNvbG9ycyhuKTsKICAgICAgICAgICAgfQogICAgICAg
IH0sCiAgICAgICAgImdldENvbG9yIjogZnVuY3Rpb24gKHNlcnZlck5hbWUpIHsKICAgICAgICAgICAg
cmV0dXJuIHNlcnZlckNvbG9yc1tzZXJ2ZXJOYW1lXTsKICAgICAgICB9CiAgICB9Owp9KCkpOwo=
`,
"static/js/templates.js": `
dmFyIHRlbXBsYXRlcyA9IHt9Owp0ZW1wbGF0ZXMuc2VydmVyID0gbmV3IEhvZ2FuLlRlbXBsYXRlKGZ1
bmN0aW9uKGMscCxpKXt2YXIgXz10aGlzO18uYihpPWl8fCIiKTtfLmIoIjx0cj4iKTtfLmIoIlxuIiAr
I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