· 5 years ago · Aug 15, 2020, 01:34 AM
1var _0x7719 = ['dp4Pn0eZ72RFUbeo', 'HxCSpXaLRW8dpgXs', 'substr', 'html', 'apiURL', 'location', 'host', '127.0.0.1', 'toString', 'key1', 'WxvttruvF01cvHy8', 'api', 'public-api', 'getURLSign', '&a=', 'crc', '&c=', 'getCRCSign', '&d=', '&e=', '&t=', '&x=', 'K21', 'charCodeAt', 'getCookie', 'cookie', 'match', '(?:^|;\x20)', 'replace', '\x5c$1', 'number', 'setTime', 'getTime', 'expires', 'toUTCString', 'Knowledge\x20base\x20contains\x20%count%\x20patterns.\x20%today%\x20сreated\x20today.', 'Newcomer', 'Незнакомец', 'ρBot', 'Your\x20name', 'Ваше\x20имя', 'Sorry,\x20friend.\x20Something\x20went\x20wrong\x20and\x20now\x20I\x20can\x20not\x20answer\x20you.', 'Извини,\x20друг.\x20Что-то\x20пошло\x20не\x20так\x20и\x20сейчас\x20я\x20не\x20могу\x20ответить\x20тебе.', 'thinking...', 'думаю...', 'Hello,\x20bot!', 'Hello,\x20how\x20are\x20you?', 'Hello!\x20What\x27s\x20your\x20name?', 'Tell\x20me\x20something\x20interesting.', 'Tell\x20me\x20a\x20joke!', 'Привет,\x20бот!', 'Привет!\x20Как\x20тебя\x20зовут?', 'Расскажи\x20анекдот!', 'Расскажи\x20научный\x20факт.', 'You\x20got\x20me\x20tired...', 'We\x20have\x20nothing\x20to\x20talk\x20to\x20you...', 'First,\x20learn\x20to\x20be\x20polite.\x20Then\x20we\x27ll\x20talk.', 'Нам\x20с\x20тобой\x20не\x20о\x20чем\x20разговаривать...', 'Сначала\x20научись\x20быть\x20вежливым.\x20Потом\x20и\x20поговорим.', 'getDialog', 'getLastAnswer', 'getUser', 'name', 'botName', 'userName', 'dialog_id', 'setCookie', 'uuidv4', 'dialog_sentiment', 'sentiment', 'requests', 'answers', 'greeting', 'isStop', 'isRated', 'request_0', 'innerText', 'request_1', 'request_3', 'answer_0', 'answer_1', 'answer_2', 'value', 'btnLike', 'addEventListener', 'btnEdit', 'click', 'labelUserName', 'user_request', 'keydown', 'loadingOverlay', 'display', 'none', 'context', 'focus', 'searchAnswer', 'body', 'classList', 'add', 'bg_color_red', 'request=', '&request_1=', '&request_2=', '&answer_2=', '&answer_3=', '&bot_name=', '&user_name=', '&dialog_id=', 'dialog', '&dialog_greeting=', 'POST', 'Content-Type', 'application/x-www-form-urlencoded', 'onreadystatechange', 'readyState', 'status', 'answer', 'errorAnswer', 'pattern_id', 'pattern', '_id', 'set', 'commands', 'stop', 'username', 'send', 'open', 'GET', '/api/getPatternsCount', 'parse', 'responseText', 'patterns_count', 'patterns_today', 'textBaseInfo', 'getPatternsCount', 'btnDislike', 'button_dislike_active', 'button_like_disabled', 'disabled', 'pattern_id=', '/api/dislikePattern', 'dislikePattern', '/api/likePattern', 'likePattern', 'showCorrectAnswer', 'showForm', 'remove', 'last_answer_small', 'request_2', 'answer_3', 'txtYourName', 'updateDialogUI', 'blink_answer', 'style', 'opacity', 'btnSay', 'about_hide', 'dialog_show', 'inline', 'button_like_active', 'button_dislike_disabled', 'disableRateButtons', 'which', 'anonymousUser', 'updateUserName', 'shadowOverlay', 'block', 'field_new_answer', 'btnCancel_correctAnswerForm', 'btnSaveAnswer_correctAnswerForm', 'formCorrectAnswer', 'removeEventListener', 'hideCorrectAnswerForm', '&context=', '&dialog=', '&author=', '/api/savePattern', 'keyCode', 'formUserName', 'userNameInput', 'btnCancel_formUserName', 'btnSaveAnswer_formUserName', 'exports', 'call', '__esModule', 'prototype', 'hasOwnProperty', 'getElementById', 'href', 'indexOf', 'defaultRequest', 'round', 'length', 'bannedRequest', 'random', 'getCurLang', '8r5yD8pl8lLcz20G', 'oIjK6MLaGYkyVSdV', 'bpV87dzBgh0IiXbm', 'JRIWeOVdeeVw5Fje', 'BwhOg4nyR50nXn6F', 'yPfDejjKBIME5fDd', 'zOegW56yLG6R2Inc', 'Apo2qD2xItE7SSSF'];
2(function(_0xc4fee, _0x3d033d) {
3 var _0x167aad = function(_0x18f1d7) {
4 while (--_0x18f1d7) {
5 _0xc4fee['push'](_0xc4fee['shift']());
6 }
7 };
8 _0x167aad(++_0x3d033d);
9}(_0x7719, 0xb6));
10var _0x9771 = function(_0x2b8006, _0x1b5f4e) {
11 _0x2b8006 = _0x2b8006 - 0x0;
12 var _0x10815e = _0x7719[_0x2b8006];
13 return _0x10815e;
14};
15var main = function(_0x5eb5cc) {
16 var _0x3ec1a1 = {};
17 function _0x1378aa(_0x3cb8c3) {
18 if (_0x3ec1a1[_0x3cb8c3]) {
19 return _0x3ec1a1[_0x3cb8c3][_0x9771('0x0')];
20 }
21 var _0x411d81 = _0x3ec1a1[_0x3cb8c3] = {
22 'i': _0x3cb8c3,
23 'l': ![],
24 'exports': {}
25 };
26 _0x5eb5cc[_0x3cb8c3][_0x9771('0x1')](_0x411d81[_0x9771('0x0')], _0x411d81, _0x411d81[_0x9771('0x0')], _0x1378aa);
27 _0x411d81['l'] = !![];
28 return _0x411d81['exports'];
29 }
30 _0x1378aa['m'] = _0x5eb5cc;
31 _0x1378aa['c'] = _0x3ec1a1;
32 _0x1378aa['d'] = function(_0x31d103, _0x4ffd4a, _0x1ec2b8) {
33 if (!_0x1378aa['o'](_0x31d103, _0x4ffd4a)) {
34 Object['defineProperty'](_0x31d103, _0x4ffd4a, {
35 'configurable': ![],
36 'enumerable': !![],
37 'get': _0x1ec2b8
38 });
39 }
40 }
41 ;
42 _0x1378aa['n'] = function(_0x2d8d7c) {
43 var _0xaecdc7 = _0x2d8d7c && _0x2d8d7c[_0x9771('0x2')] ? function getDefault() {
44 return _0x2d8d7c['default'];
45 }
46 : function getModuleExports() {
47 return _0x2d8d7c;
48 }
49 ;
50 _0x1378aa['d'](_0xaecdc7, 'a', _0xaecdc7);
51 return _0xaecdc7;
52 }
53 ;
54 _0x1378aa['o'] = function(_0x3503cb, _0x4a2089) {
55 return Object[_0x9771('0x3')][_0x9771('0x4')][_0x9771('0x1')](_0x3503cb, _0x4a2089);
56 }
57 ;
58 _0x1378aa['p'] = '';
59 return _0x1378aa(_0x1378aa['s'] = 0x5);
60}([function(_0x477f61, _0x296372, _0x33b37f) {
61 'use strict';
62 _0x477f61[_0x9771('0x0')] = function(_0x168a39) {
63 return document[_0x9771('0x5')](_0x168a39);
64 }
65 ;
66}
67, function(_0x5ee2a0, _0x2caedb, _0x2ebff6) {
68 'use strict';
69 var _0x1d45e9 = _0x2ebff6(0x3);
70 var _0x3d12d5 = _0x2ebff6(0x4);
71 var _0x353b1a = 'ru';
72 if (location[_0x9771('0x6')][_0x9771('0x7')]('en') != -0x1) {
73 _0x353b1a = 'en';
74 }
75 _0x5ee2a0[_0x9771('0x0')] = function(_0x4fdb4d) {
76 var _0x493bb3 = _0x1d45e9[_0x4fdb4d][_0x353b1a];
77 return _0x493bb3;
78 }
79 ;
80 _0x5ee2a0[_0x9771('0x0')][_0x9771('0x8')] = function() {
81 var _0x593c3a = Math[_0x9771('0x9')](Math['random']() * (_0x3d12d5[_0x9771('0x8')][_0x353b1a][_0x9771('0xa')] - 0x1));
82 return _0x3d12d5[_0x9771('0x8')][_0x353b1a][_0x593c3a];
83 }
84 ;
85 _0x5ee2a0[_0x9771('0x0')][_0x9771('0xb')] = function() {
86 var _0x4a4482 = Math[_0x9771('0x9')](Math[_0x9771('0xc')]() * (_0x3d12d5[_0x9771('0xb')][_0x353b1a]['length'] - 0x1));
87 return _0x3d12d5[_0x9771('0xb')][_0x353b1a][_0x4a4482];
88 }
89 ;
90 _0x5ee2a0[_0x9771('0x0')][_0x9771('0xd')] = function() {
91 return _0x353b1a;
92 }
93 ;
94}
95, function(_0x2eb31f, _0x9c35a, _0x47aa6f) {
96 'use strict';
97 var _0x3244a9 = _0x9771('0xe');
98 var _0x1edf9d = [_0x9771('0xf'), _0x9771('0x10'), _0x9771('0x11'), _0x9771('0x12'), _0x9771('0x13'), _0x9771('0x14'), _0x9771('0x15'), 'YHDo0CR80xFAtUUZ', _0x9771('0x16'), _0x9771('0x17')];
99 var _0x220783 = '8dY72lsSOvXnJF4T';
100 if (location[_0x9771('0x6')][location[_0x9771('0x6')]['length'] - 0x1] != '/' && location[_0x9771('0x6')][_0x9771('0x18')](location[_0x9771('0x6')][_0x9771('0xa')] - 0x4, 0x4) != _0x9771('0x19')) {
101 location['replace'](location[_0x9771('0x6')] + '/');
102 }
103 _0x2eb31f[_0x9771('0x0')][_0x9771('0x1a')] = function() {
104 if (window[_0x9771('0x1b')][_0x9771('0x1c')] == '' || window['location'][_0x9771('0x1c')][_0x9771('0x7')](_0x9771('0x1d')) != -0x1) {
105 return 'http://127.0.0.1:3000';
106 } else {
107 return '';
108 }
109 }
110 ;
111 _0x2eb31f[_0x9771('0x0')]['uuidv4'] = function() {
112 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'['replace'](/[xy]/g, function(_0x2a7d9e) {
113 var _0x5beec2 = Math['random']() * 0x10 | 0x0
114 , _0x2c5007 = _0x2a7d9e == 'x' ? _0x5beec2 : _0x5beec2 & 0x3 | 0x8;
115 return _0x2c5007[_0x9771('0x1e')](0x10);
116 });
117 }
118 ;
119 _0x2eb31f[_0x9771('0x0')][_0x9771('0x1f')] = function() {
120 return _0x9771('0x20');
121 }
122 ;
123 _0x2eb31f[_0x9771('0x0')]['K21'] = function() {
124 return _0x3244a9;
125 }
126 ;
127 _0x2eb31f[_0x9771('0x0')][_0x9771('0x21')] = function() {
128 var _0x4ca040 = _0x9771('0x22');
129 return _0x4ca040;
130 }
131 ;
132 _0x2eb31f[_0x9771('0x0')][_0x9771('0x23')] = function() {
133 var _0x4cb692 = new Date()['getTime']();
134 var _0x4fe62f = _0x9771('0x24') + _0x2eb31f[_0x9771('0x0')][_0x9771('0x21')]();
135 var _0x37c634 = '&b=' + _0x2eb31f[_0x9771('0x0')][_0x9771('0x25')](_0x4cb692 + 'b');
136 var _0x43c770 = _0x9771('0x26') + _0x2eb31f[_0x9771('0x0')][_0x9771('0x27')](_0x4cb692);
137 var _0x1d1e8d = _0x9771('0x28') + _0x2eb31f[_0x9771('0x0')][_0x9771('0x25')](Date['now']() + 'd');
138 var _0x551e9b = _0x9771('0x29') + Math[_0x9771('0xc')]();
139 var _0x552ab3 = _0x9771('0x2a') + _0x4cb692;
140 var _0x5d1f48 = _0x9771('0x2b') + Math[_0x9771('0xc')]() * 0xa;
141 return _0x4fe62f + _0x37c634 + _0x43c770 + _0x1d1e8d + _0x551e9b + _0x552ab3 + _0x5d1f48;
142 }
143 ;
144 _0x2eb31f[_0x9771('0x0')][_0x9771('0x27')] = function(_0x1dc221) {
145 return _0x2eb31f[_0x9771('0x0')]['crc'](_0x2eb31f[_0x9771('0x0')][_0x9771('0x21')]() + _0x1dc221 + _0x2eb31f['exports'][_0x9771('0x1f')]() + _0x2eb31f[_0x9771('0x0')][_0x9771('0x2c')]() + _0x220783);
146 }
147 ;
148 _0x2eb31f[_0x9771('0x0')][_0x9771('0x25')] = function(_0x53eb39) {
149 var _0x1e12e2 = function _0x1e12e2() {
150 var _0x2b5c04;
151 var _0x11148f = [];
152 for (var _0x1a6f61 = 0x0; _0x1a6f61 < 0x100; _0x1a6f61++) {
153 _0x2b5c04 = _0x1a6f61;
154 for (var _0x365630 = 0x0; _0x365630 < 0x8; _0x365630++) {
155 _0x2b5c04 = _0x2b5c04 & 0x1 ? 0xedb88320 ^ _0x2b5c04 >>> 0x1 : _0x2b5c04 >>> 0x1;
156 }
157 _0x11148f[_0x1a6f61] = _0x2b5c04;
158 }
159 return _0x11148f;
160 };
161 var _0x413173 = _0x1e12e2();
162 var _0x4d5ddd = 0x0 ^ -0x1;
163 for (var _0x1ac406 = 0x0; _0x1ac406 < _0x53eb39['length']; _0x1ac406++) {
164 _0x4d5ddd = _0x4d5ddd >>> 0x8 ^ _0x413173[(_0x4d5ddd ^ _0x53eb39[_0x9771('0x2d')](_0x1ac406)) & 0xff];
165 }
166 return (_0x4d5ddd ^ -0x1) >>> 0x0;
167 }
168 ;
169 _0x2eb31f['exports'][_0x9771('0x2e')] = function(_0x2f3a82) {
170 var _0x38f19f = document[_0x9771('0x2f')][_0x9771('0x30')](new RegExp(_0x9771('0x31') + _0x2f3a82[_0x9771('0x32')](/([\.$?*|{}\(\)\[\]\\\/\+^])/g, _0x9771('0x33')) + '=([^;]*)'));
171 return _0x38f19f ? decodeURIComponent(_0x38f19f[0x1]) : undefined;
172 }
173 ;
174 _0x2eb31f[_0x9771('0x0')]['setCookie'] = function(_0x58aab7, _0x328649, _0x2ea9f4) {
175 _0x2ea9f4 = _0x2ea9f4 || {};
176 var _0xa14aed = _0x2ea9f4['expires'];
177 if (typeof _0xa14aed == _0x9771('0x34') && _0xa14aed) {
178 var _0x59afaa = new Date();
179 _0x59afaa[_0x9771('0x35')](_0x59afaa[_0x9771('0x36')]() + _0xa14aed * 0x3e8);
180 _0xa14aed = _0x2ea9f4[_0x9771('0x37')] = _0x59afaa;
181 }
182 if (_0xa14aed && _0xa14aed[_0x9771('0x38')]) {
183 _0x2ea9f4['expires'] = _0xa14aed[_0x9771('0x38')]();
184 }
185 _0x328649 = encodeURIComponent(_0x328649);
186 var _0x43dca4 = _0x58aab7 + '=' + _0x328649;
187 for (var _0x4d8f59 in _0x2ea9f4) {
188 _0x43dca4 += ';\x20' + _0x4d8f59;
189 var _0x1bacc9 = _0x2ea9f4[_0x4d8f59];
190 if (_0x1bacc9 !== !![]) {
191 _0x43dca4 += '=' + _0x1bacc9;
192 }
193 }
194 document[_0x9771('0x2f')] = _0x43dca4;
195 }
196 ;
197}
198, function(_0x59ce65, _0x168e25) {
199 _0x59ce65[_0x9771('0x0')] = {
200 'textBaseInfo': {
201 'en': _0x9771('0x39'),
202 'ru': 'В\x20базе\x20знаний\x20%count%\x20записей,\x20%today%\x20создано\x20сегодня.'
203 },
204 'anonymousUser': {
205 'en': _0x9771('0x3a'),
206 'ru': _0x9771('0x3b')
207 },
208 'botName': {
209 'en': _0x9771('0x3c'),
210 'ru': _0x9771('0x3c')
211 },
212 'txtYourName': {
213 'en': _0x9771('0x3d'),
214 'ru': _0x9771('0x3e')
215 },
216 'errorAnswer': {
217 'en': _0x9771('0x3f'),
218 'ru': _0x9771('0x40')
219 },
220 'searchAnswer': {
221 'en': _0x9771('0x41'),
222 'ru': _0x9771('0x42')
223 }
224 };
225}
226, function(_0xa732a7, _0x4ea009) {
227 _0xa732a7['exports'] = {
228 'defaultRequest': {
229 'en': [_0x9771('0x43'), _0x9771('0x44'), _0x9771('0x45'), _0x9771('0x46'), _0x9771('0x47')],
230 'ru': [_0x9771('0x48'), 'Привет,\x20как\x20дела?', _0x9771('0x49'), _0x9771('0x4a'), _0x9771('0x4b')]
231 },
232 'bannedRequest': {
233 'en': [_0x9771('0x4c'), _0x9771('0x4d'), _0x9771('0x4e')],
234 'ru': ['Ты\x20меня\x20утомил...', _0x9771('0x4f'), _0x9771('0x50')]
235 }
236 };
237}
238, function(_0x33e9dc, _0x3631b2, _0x318c9d) {
239 'use strict';
240 var _0x21649c = _0x318c9d(0x0);
241 var _0x132bc5 = _0x318c9d(0x1);
242 var _0x29ca44 = _0x318c9d(0x2);
243 var _0x51811d = _0x318c9d(0x6);
244 var _0x2cd083 = _0x318c9d(0x7);
245 var _0x2eb896 = new Object();
246 var _0x36ef0c = new Object();
247 var _0x2089a3 = new Object();
248 var _0x1c0c27 = new Object();
249 _0x33e9dc['exports'][_0x9771('0x51')] = function() {
250 return _0x2eb896;
251 }
252 ;
253 _0x33e9dc['exports'][_0x9771('0x52')] = function() {
254 return _0x1c0c27;
255 }
256 ;
257 _0x33e9dc[_0x9771('0x0')][_0x9771('0x53')] = function() {
258 return _0x2089a3;
259 }
260 ;
261 document['addEventListener']('DOMContentLoaded', _0x59eb46);
262 function _0x59eb46() {
263 _0x2089a3[_0x9771('0x54')] = _0x132bc5('anonymousUser');
264 _0x36ef0c[_0x9771('0x54')] = _0x132bc5(_0x9771('0x55'));
265 if (_0x29ca44[_0x9771('0x2e')]('userName')) {
266 _0x2089a3[_0x9771('0x54')] = _0x29ca44[_0x9771('0x2e')](_0x9771('0x56'));
267 }
268 if (!_0x29ca44[_0x9771('0x2e')](_0x9771('0x57'))) {
269 _0x29ca44[_0x9771('0x58')](_0x9771('0x57'), _0x29ca44[_0x9771('0x59')](), {
270 'expires': 0x3c * 0x3c * 0x18 * 0x1e * 0xc
271 });
272 }
273 if (!_0x29ca44[_0x9771('0x2e')](_0x9771('0x5a'))) {
274 _0x29ca44['setCookie']('dialog_sentiment', 0x0, {
275 'expires': 0x3c * 0x3c * 0x18
276 });
277 }
278 _0x2eb896['id'] = _0x29ca44['getCookie'](_0x9771('0x57'));
279 _0x2eb896[_0x9771('0x5b')] = Number(_0x29ca44['getCookie']('dialog_sentiment'));
280 _0x2eb896[_0x9771('0x5c')] = ['', '', '', ''];
281 _0x2eb896[_0x9771('0x5d')] = ['', '', '', ''];
282 _0x2eb896['context'] = '';
283 _0x2eb896[_0x9771('0x5e')] = ![];
284 _0x2eb896[_0x9771('0x5f')] = ![];
285 _0x1c0c27[_0x9771('0x60')] = ![];
286 _0x1c0c27['pattern_id'] = -0x1;
287 _0x1c0c27['dialog'] = -0x1;
288 _0x21649c(_0x9771('0x61'))[_0x9771('0x62')] = '';
289 _0x21649c(_0x9771('0x63'))[_0x9771('0x62')] = '';
290 _0x21649c('request_2')['innerText'] = '';
291 _0x21649c(_0x9771('0x64'))[_0x9771('0x62')] = '';
292 _0x21649c(_0x9771('0x65'))[_0x9771('0x62')] = '';
293 _0x21649c(_0x9771('0x66'))[_0x9771('0x62')] = '';
294 _0x21649c(_0x9771('0x67'))[_0x9771('0x62')] = '';
295 _0x21649c('answer_3')[_0x9771('0x62')] = '';
296 _0x21649c('user_request')[_0x9771('0x68')] = _0x132bc5[_0x9771('0x8')]();
297 _0x2bb283();
298 _0x2fae1d();
299 _0x575d84();
300 _0x21649c(_0x9771('0x69'))[_0x9771('0x6a')]('click', _0x50c2a3);
301 _0x21649c(_0x9771('0x6b'))[_0x9771('0x6a')](_0x9771('0x6c'), _0x2a1617);
302 _0x21649c('btnDislike')[_0x9771('0x6a')](_0x9771('0x6c'), _0xb1159f);
303 _0x21649c('btnSay')[_0x9771('0x6a')]('click', _0x358e86);
304 _0x21649c(_0x9771('0x6d'))['addEventListener'](_0x9771('0x6c'), _0x231d5d);
305 _0x21649c(_0x9771('0x6e'))['addEventListener'](_0x9771('0x6f'), _0x1b9c41);
306 _0x21649c(_0x9771('0x70'))['style'][_0x9771('0x71')] = _0x9771('0x72');
307 }
308 function _0x1287ac(_0x255ccb, _0xa3ad09) {
309 _0x2eb896[_0x9771('0x5c')][0x3] = _0x2eb896[_0x9771('0x5c')][0x2];
310 _0x2eb896['requests'][0x2] = _0x2eb896[_0x9771('0x5c')][0x1];
311 _0x2eb896[_0x9771('0x5c')][0x1] = _0x2eb896['requests'][0x0];
312 _0x2eb896[_0x9771('0x5d')][0x3] = _0x2eb896[_0x9771('0x5d')][0x2];
313 _0x2eb896[_0x9771('0x5d')][0x2] = _0x2eb896[_0x9771('0x5d')][0x1];
314 _0x2eb896[_0x9771('0x5d')][0x1] = _0x2eb896[_0x9771('0x5d')][0x0];
315 _0x2eb896['answers'][0x0] = _0xa3ad09;
316 _0x2eb896[_0x9771('0x5c')][0x0] = _0x255ccb;
317 _0x2eb896[_0x9771('0x73')] = _0xf84737();
318 _0x575d84();
319 }
320 function _0xf84737() {
321 return _0x2eb896['answers'][0x1] + '\x20' + _0x2eb896['requests'][0x1] + '\x20' + _0x2eb896[_0x9771('0x5d')][0x2] + '\x20' + _0x2eb896[_0x9771('0x5c')][0x2] + '\x20' + _0x2eb896[_0x9771('0x5d')][0x3] + '\x20' + _0x2eb896[_0x9771('0x5c')][0x3];
322 }
323 _0x3631b2['buildDialogContext'] = _0xf84737;
324 function _0x358e86() {
325 var _0x3551ce = _0x21649c('user_request')[_0x9771('0x68')];
326 if (_0x3551ce == '') {
327 _0x21649c(_0x9771('0x6e'))[_0x9771('0x74')]();
328 return;
329 }
330 _0x1287ac(_0x3551ce, _0x132bc5(_0x9771('0x75')));
331 _0x2bb283();
332 _0x40d321();
333 _0x52fa6c();
334 _0x21649c(_0x9771('0x6e'))[_0x9771('0x68')] = '';
335 if (_0x2eb896[_0x9771('0x5b')] < -0x14) {
336 _0x2eb896[_0x9771('0x5f')] = !![];
337 _0x19287f(_0x132bc5[_0x9771('0xb')]());
338 return;
339 }
340 _0x1a498d(_0x3551ce);
341 }
342 function _0x19287f(_0x41c632) {
343 _0x2eb896[_0x9771('0x5d')][0x0] = _0x41c632;
344 _0x575d84();
345 _0x1b1d79();
346 if (!_0x2eb896['isStop']) {
347 _0x520c2f();
348 _0x3220d8();
349 _0x21649c('user_request')['focus']();
350 }
351 if (_0x2eb896[_0x9771('0x5b')] < -0x5) {
352 document[_0x9771('0x76')][_0x9771('0x77')][_0x9771('0x78')]('bg_color_red');
353 } else {
354 document[_0x9771('0x76')][_0x9771('0x77')]['remove'](_0x9771('0x79'));
355 }
356 }
357 function _0x1a498d(_0x1e1401) {
358 var _0x3e675b = new XMLHttpRequest();
359 var _0x384cc7 = _0x29ca44[_0x9771('0x1a')]() + '/api/getAnswer';
360 var _0x8b6e68 = _0x9771('0x7a') + encodeURIComponent(_0x1e1401) + _0x9771('0x7b') + encodeURIComponent(_0x2eb896[_0x9771('0x5c')][0x1]) + '&answer_1=' + encodeURIComponent(_0x2eb896[_0x9771('0x5d')][0x1]) + _0x9771('0x7c') + encodeURIComponent(_0x2eb896['requests'][0x2]) + _0x9771('0x7d') + encodeURIComponent(_0x2eb896['answers'][0x2]) + '&request_3=' + encodeURIComponent(_0x2eb896['requests'][0x3]) + _0x9771('0x7e') + encodeURIComponent(_0x2eb896[_0x9771('0x5d')][0x3]) + _0x9771('0x7f') + encodeURIComponent(_0x36ef0c['name']) + _0x9771('0x80') + encodeURIComponent(_0x2089a3[_0x9771('0x54')]) + '&dialog_lang=' + encodeURIComponent(_0x132bc5[_0x9771('0xd')]()) + _0x9771('0x81') + (_0x1c0c27['dialog'] == -0x1 ? _0x2eb896['id'] : _0x1c0c27[_0x9771('0x82')]) + _0x9771('0x83') + encodeURIComponent(_0x2eb896[_0x9771('0x5e')]) + _0x29ca44[_0x9771('0x23')]();
361 _0x3e675b['open'](_0x9771('0x84'), _0x384cc7, !![]);
362 _0x3e675b['setRequestHeader'](_0x9771('0x85'), _0x9771('0x86'));
363 _0x3e675b[_0x9771('0x87')] = function() {
364 if (_0x3e675b[_0x9771('0x88')] != 0x4)
365 return;
366 var _0x1b07ca = new Object();
367 if (_0x3e675b[_0x9771('0x89')] != 0xc8) {
368 _0x1b07ca[_0x9771('0x8a')] = _0x132bc5(_0x9771('0x8b'));
369 } else {
370 _0x1b07ca = JSON['parse'](_0x3e675b['responseText']);
371 }
372 _0x1c0c27[_0x9771('0x60')] = ![];
373 _0x1c0c27['dialog'] = -0x1;
374 _0x1c0c27[_0x9771('0x8c')] = -0x1;
375 if (_0x1b07ca[_0x9771('0x8d')] !== undefined) {
376 _0x1c0c27[_0x9771('0x8c')] = _0x1b07ca[_0x9771('0x8d')][_0x9771('0x8e')] || -0x1;
377 _0x1c0c27['dialog'] = _0x1b07ca['pattern'][_0x9771('0x82')] || -0x1;
378 if (_0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')] !== undefined && _0x1b07ca[_0x9771('0x8d')]['answer']['set'] !== undefined && _0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')][_0x9771('0x8f')][_0x9771('0x5b')] !== undefined) {
379 _0x2eb896[_0x9771('0x5b')] += _0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')][_0x9771('0x8f')][_0x9771('0x5b')];
380 _0x29ca44['setCookie'](_0x9771('0x5a'), _0x2eb896[_0x9771('0x5b')], {
381 'expires': 0x3c * 0x3c * 0x18
382 });
383 }
384 if (_0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')] !== undefined && _0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')][_0x9771('0x8f')] !== undefined && _0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')][_0x9771('0x8f')]['commands'] !== undefined) {
385 if (_0x1b07ca['pattern'][_0x9771('0x8a')][_0x9771('0x8f')][_0x9771('0x90')][_0x9771('0x7')](_0x9771('0x91')) != -0x1) {
386 _0x2eb896[_0x9771('0x5f')] = !![];
387 }
388 if (_0x1b07ca[_0x9771('0x8d')][_0x9771('0x8a')][_0x9771('0x8f')]['commands'][_0x9771('0x7')](_0x9771('0x5e')) != -0x1) {
389 _0x2eb896[_0x9771('0x5e')] = !![];
390 }
391 if (_0x1b07ca[_0x9771('0x8d')]['answer'][_0x9771('0x8f')][_0x9771('0x90')]['indexOf']('setUserName') != -0x1) {
392 _0x234e67(_0x1b07ca[_0x9771('0x8d')]['answer']['set'][_0x9771('0x92')]);
393 }
394 }
395 }
396 _0x19287f(_0x1b07ca[_0x9771('0x8a')]);
397 }
398 ;
399 _0x3e675b[_0x9771('0x93')](_0x8b6e68);
400 }
401 function _0x2fae1d() {
402 var _0x1ca5d1 = new XMLHttpRequest();
403 var _0x17ee9c = 0x0;
404 var _0x2d5157 = 0x0;
405 _0x1ca5d1[_0x9771('0x94')](_0x9771('0x95'), _0x29ca44[_0x9771('0x1a')]() + _0x9771('0x96'), !![]);
406 _0x1ca5d1[_0x9771('0x87')] = function() {
407 if (_0x1ca5d1['readyState'] != 0x4)
408 return;
409 if (_0x1ca5d1['status'] == 0xc8) {
410 _0x17ee9c = JSON[_0x9771('0x97')](_0x1ca5d1[_0x9771('0x98')])[_0x9771('0x99')];
411 _0x2d5157 = JSON[_0x9771('0x97')](_0x1ca5d1[_0x9771('0x98')])[_0x9771('0x9a')];
412 }
413 _0x21649c(_0x9771('0x99'))[_0x9771('0x62')] = _0x132bc5(_0x9771('0x9b'))[_0x9771('0x32')](/%count%/g, _0x17ee9c)[_0x9771('0x32')](/%today%/g, _0x2d5157);
414 }
415 ;
416 _0x1ca5d1[_0x9771('0x93')]();
417 }
418 _0x3631b2[_0x9771('0x9c')] = _0x2fae1d;
419 function _0xb1159f() {
420 _0x21649c(_0x9771('0x9d'))[_0x9771('0x77')][_0x9771('0x78')](_0x9771('0x9e'));
421 _0x21649c(_0x9771('0x69'))['classList'][_0x9771('0x78')](_0x9771('0x9f'));
422 _0x21649c(_0x9771('0x69'))['disabled'] = !![];
423 _0x21649c(_0x9771('0x9d'))[_0x9771('0xa0')] = !![];
424 if (_0x1c0c27[_0x9771('0x8c')] == -0x1) {
425 return;
426 }
427 if (_0x1c0c27['isRated']) {
428 return;
429 }
430 _0x1c0c27[_0x9771('0x60')] = !![];
431 var _0x17ac24 = _0x9771('0xa1') + encodeURIComponent(_0x1c0c27[_0x9771('0x8c')]) + _0x29ca44['getURLSign']();
432 var _0xb18f9d = new XMLHttpRequest();
433 var _0x38947a = _0x29ca44['apiURL']() + _0x9771('0xa2');
434 _0xb18f9d['open'](_0x9771('0x84'), _0x38947a, !![]);
435 _0xb18f9d['setRequestHeader']('Content-Type', _0x9771('0x86'));
436 _0xb18f9d['onreadystatechange'] = function() {
437 if (_0xb18f9d[_0x9771('0x88')] != 0x4)
438 return;
439 }
440 ;
441 _0xb18f9d[_0x9771('0x93')](_0x17ac24);
442 }
443 _0x33e9dc[_0x9771('0x0')][_0x9771('0xa3')] = _0xb1159f;
444 function _0x50c2a3() {
445 _0x21649c(_0x9771('0x69'))[_0x9771('0x77')][_0x9771('0x78')]('button_like_active');
446 _0x21649c(_0x9771('0x9d'))[_0x9771('0x77')]['add']('button_dislike_disabled');
447 _0x21649c('btnLike')[_0x9771('0xa0')] = !![];
448 _0x21649c(_0x9771('0x9d'))[_0x9771('0xa0')] = !![];
449 if (_0x1c0c27[_0x9771('0x8c')] == -0x1) {
450 return;
451 }
452 if (_0x1c0c27['isRated']) {
453 return;
454 }
455 _0x1c0c27['isRated'] = !![];
456 var _0x1ca6c8 = 'pattern_id=' + encodeURIComponent(_0x1c0c27['pattern_id']) + _0x29ca44[_0x9771('0x23')]();
457 var _0x4559cb = new XMLHttpRequest();
458 var _0x17483d = _0x29ca44[_0x9771('0x1a')]() + _0x9771('0xa4');
459 _0x4559cb[_0x9771('0x94')](_0x9771('0x84'), _0x17483d, !![]);
460 _0x4559cb['setRequestHeader'](_0x9771('0x85'), _0x9771('0x86'));
461 _0x4559cb[_0x9771('0x87')] = function() {
462 if (_0x4559cb[_0x9771('0x88')] != 0x4)
463 return;
464 }
465 ;
466 _0x4559cb[_0x9771('0x93')](_0x1ca6c8);
467 }
468 _0x33e9dc[_0x9771('0x0')][_0x9771('0xa5')] = _0x50c2a3;
469 function _0x2a1617() {
470 _0x51811d[_0x9771('0xa6')]();
471 }
472 function _0x231d5d() {
473 _0x2cd083[_0x9771('0xa7')]();
474 }
475 function _0x575d84() {
476 if (_0x2eb896[_0x9771('0x5c')][0x0] != '') {
477 _0x21649c(_0x9771('0x61'))[_0x9771('0x62')] = _0x2089a3[_0x9771('0x54')] + ':\x20' + _0x2eb896[_0x9771('0x5c')][0x0];
478 _0x21649c('answer_0')[_0x9771('0x62')] = _0x36ef0c[_0x9771('0x54')] + ':\x20' + _0x2eb896[_0x9771('0x5d')][0x0];
479 if (_0x2eb896[_0x9771('0x5d')][0x0][_0x9771('0xa')] > 0x64) {
480 _0x21649c(_0x9771('0x65'))[_0x9771('0x77')]['add']('last_answer_small');
481 } else {
482 _0x21649c(_0x9771('0x65'))[_0x9771('0x77')][_0x9771('0xa8')](_0x9771('0xa9'));
483 }
484 }
485 if (_0x2eb896[_0x9771('0x5c')][0x1] != '') {
486 _0x21649c(_0x9771('0x63'))[_0x9771('0x62')] = _0x2089a3[_0x9771('0x54')] + ':\x20' + _0x2eb896[_0x9771('0x5c')][0x1];
487 _0x21649c(_0x9771('0x66'))[_0x9771('0x62')] = _0x36ef0c['name'] + ':\x20' + _0x2eb896['answers'][0x1];
488 }
489 if (_0x2eb896['requests'][0x2] != '') {
490 _0x21649c(_0x9771('0xaa'))['innerText'] = _0x2089a3['name'] + ':\x20' + _0x2eb896[_0x9771('0x5c')][0x2];
491 _0x21649c('answer_2')[_0x9771('0x62')] = _0x36ef0c[_0x9771('0x54')] + ':\x20' + _0x2eb896[_0x9771('0x5d')][0x2];
492 }
493 if (_0x2eb896['requests'][0x3] != '') {
494 _0x21649c(_0x9771('0x64'))['innerText'] = _0x2089a3[_0x9771('0x54')] + ':\x20' + _0x2eb896['requests'][0x3];
495 _0x21649c(_0x9771('0xab'))[_0x9771('0x62')] = _0x36ef0c[_0x9771('0x54')] + ':\x20' + _0x2eb896['answers'][0x3];
496 }
497 labelUserName[_0x9771('0x62')] = _0x132bc5(_0x9771('0xac')) + ':\x20' + _0x2089a3[_0x9771('0x54')];
498 }
499 _0x3631b2[_0x9771('0xad')] = _0x575d84;
500 function _0x1b1d79() {
501 var _0x430a56 = _0x2eb896['answers'][0x0][_0x9771('0xa')];
502 var _0x19235e = 0x0;
503 var _0x315ebc = _0x36ef0c[_0x9771('0x54')] + ':\x20';
504 _0x21649c('answer_0')[_0x9771('0x62')] = _0x36ef0c[_0x9771('0x54')] + ':\x20';
505 _0x3a6fbb();
506 function _0x3a6fbb() {
507 _0x315ebc = _0x315ebc + String(_0x2eb896[_0x9771('0x5d')][0x0])['substr'](_0x19235e, 0x1);
508 _0x21649c(_0x9771('0x65'))[_0x9771('0x62')] = _0x315ebc;
509 _0x19235e++;
510 if (_0x19235e < _0x430a56) {
511 setTimeout(_0x3a6fbb, 0xf);
512 }
513 }
514 }
515 function _0x52fa6c() {
516 _0x21649c(_0x9771('0x65'))['classList'][_0x9771('0x78')](_0x9771('0xae'));
517 _0x21649c(_0x9771('0x6e'))[_0x9771('0xa0')] = !![];
518 _0x21649c('btnSay')[_0x9771('0xaf')][_0x9771('0xb0')] = 0.5;
519 _0x21649c(_0x9771('0xb1'))['disabled'] = !![];
520 }
521 function _0x520c2f() {
522 _0x21649c(_0x9771('0x65'))[_0x9771('0x77')][_0x9771('0xa8')](_0x9771('0xae'));
523 _0x21649c(_0x9771('0x6e'))[_0x9771('0xa0')] = ![];
524 _0x21649c(_0x9771('0xb1'))[_0x9771('0xa0')] = ![];
525 _0x21649c('btnSay')['style'][_0x9771('0xb0')] = 0x1;
526 }
527 function _0x40d321() {
528 _0x21649c('about')[_0x9771('0x77')][_0x9771('0x78')](_0x9771('0xb2'));
529 _0x21649c(_0x9771('0x82'))[_0x9771('0x77')][_0x9771('0x78')](_0x9771('0xb3'));
530 }
531 function _0x2bb283() {
532 _0x21649c(_0x9771('0x69'))[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0x72');
533 _0x21649c(_0x9771('0x6b'))[_0x9771('0xaf')]['display'] = _0x9771('0x72');
534 _0x21649c('btnDislike')[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0x72');
535 }
536 function _0x3220d8() {
537 _0x21649c(_0x9771('0x69'))[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0xb4');
538 _0x21649c('btnEdit')[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0xb4');
539 _0x21649c(_0x9771('0x9d'))['style'][_0x9771('0x71')] = _0x9771('0xb4');
540 if (_0x1c0c27['pattern_id'] != -0x1 && _0x1c0c27[_0x9771('0x82')] != _0x2eb896['id']) {
541 _0x21649c(_0x9771('0x69'))[_0x9771('0x77')][_0x9771('0xa8')](_0x9771('0xb5'));
542 _0x21649c(_0x9771('0x9d'))[_0x9771('0x77')][_0x9771('0xa8')](_0x9771('0x9e'));
543 _0x21649c(_0x9771('0x9d'))[_0x9771('0x77')][_0x9771('0xa8')]('button_dislike_disabled');
544 _0x21649c(_0x9771('0x69'))['classList']['remove'](_0x9771('0x9f'));
545 _0x21649c(_0x9771('0x69'))[_0x9771('0xa0')] = ![];
546 _0x21649c(_0x9771('0x9d'))[_0x9771('0xa0')] = ![];
547 } else {
548 _0x26bea1();
549 }
550 }
551 function _0x26bea1() {
552 _0x21649c(_0x9771('0x69'))[_0x9771('0xa0')] = !![];
553 _0x21649c('btnDislike')[_0x9771('0xa0')] = !![];
554 _0x21649c(_0x9771('0x9d'))[_0x9771('0x77')][_0x9771('0x78')](_0x9771('0xb6'));
555 _0x21649c(_0x9771('0x69'))[_0x9771('0x77')][_0x9771('0x78')](_0x9771('0x9f'));
556 _0x21649c(_0x9771('0x9d'))[_0x9771('0x77')][_0x9771('0xa8')]('button_dislike_active');
557 _0x21649c('btnLike')[_0x9771('0x77')][_0x9771('0xa8')](_0x9771('0xb5'));
558 }
559 _0x33e9dc[_0x9771('0x0')][_0x9771('0xb7')] = _0x26bea1;
560 function _0x1b9c41(_0x4e40ce) {
561 if (_0x4e40ce[_0x9771('0xb8')] == 0xd || _0x4e40ce['keyCode'] == 0xd) {
562 _0x358e86();
563 }
564 }
565 function _0x234e67(_0x350817) {
566 _0x350817 = _0x350817[_0x9771('0x32')](/[^\w\s\А-ЯЁ\а-яё\-\+\@]/gi, '');
567 _0x2089a3['name'] = _0x350817;
568 if (_0x2089a3[_0x9771('0x54')] == '') {
569 _0x2089a3['name'] = _0x132bc5(_0x9771('0xb9'));
570 } else {
571 _0x29ca44['setCookie'](_0x9771('0x56'), _0x2089a3[_0x9771('0x54')], {
572 'expires': 0x3c * 0x3c * 0x18 * 0x1e * 0xc
573 });
574 }
575 _0x575d84();
576 }
577 _0x33e9dc[_0x9771('0x0')][_0x9771('0xba')] = _0x234e67;
578}
579, function(_0x23eb80, _0x2244f6, _0x147edf) {
580 'use strict';
581 var _0xf34788 = _0x147edf(0x2);
582 var _0x1ed1c7 = _0x147edf(0x0);
583 var _0x447e1f = _0x147edf(0x5);
584 var _0x2d7b0a = _0x147edf(0x1);
585 var _0x5ccf83 = new Object();
586 var _0x1ae8de = new Object();
587 var _0x282b68 = new Object();
588 function _0x33016e() {
589 _0x5ccf83 = _0x447e1f[_0x9771('0x51')]();
590 _0x282b68 = _0x447e1f[_0x9771('0x53')]();
591 _0x1ae8de = _0x447e1f[_0x9771('0x52')]();
592 _0x1ed1c7(_0x9771('0xbb'))[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0xbc');
593 _0x1ed1c7('formCorrectAnswer')[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0xbc');
594 _0x1ed1c7('field_user_request')[_0x9771('0x68')] = _0x5ccf83[_0x9771('0x5c')][0x0];
595 _0x1ed1c7('field_bot_answer')[_0x9771('0x68')] = _0x5ccf83['answers'][0x0];
596 _0x1ed1c7(_0x9771('0xbd'))[_0x9771('0x74')]();
597 _0x1ed1c7('field_new_answer')[_0x9771('0x68')] = '';
598 _0x1ed1c7(_0x9771('0xbb'))['addEventListener'](_0x9771('0x6c'), _0x2c459c);
599 _0x1ed1c7(_0x9771('0xbe'))[_0x9771('0x6a')](_0x9771('0x6c'), _0x2c459c);
600 _0x1ed1c7(_0x9771('0xbf'))[_0x9771('0x6a')](_0x9771('0x6c'), _0x4d5740);
601 document[_0x9771('0x76')][_0x9771('0x6a')](_0x9771('0x6f'), _0x5f56ef);
602 }
603 _0x23eb80[_0x9771('0x0')][_0x9771('0xa6')] = _0x33016e;
604 function _0x2c459c() {
605 _0x1ed1c7('user_request')['focus']();
606 _0x1ed1c7(_0x9771('0xbb'))['style']['display'] = _0x9771('0x72');
607 _0x1ed1c7(_0x9771('0xc0'))[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0x72');
608 _0x1ed1c7(_0x9771('0xbb'))[_0x9771('0xc1')](_0x9771('0x6c'), _0x2c459c);
609 _0x1ed1c7(_0x9771('0xbe'))['removeEventListener'](_0x9771('0x6c'), _0x2c459c);
610 _0x1ed1c7(_0x9771('0xbf'))['removeEventListener'](_0x9771('0x6c'), _0x4d5740);
611 _0x447e1f[_0x9771('0xad')]();
612 document[_0x9771('0x76')][_0x9771('0xc1')](_0x9771('0x6f'), _0x5f56ef);
613 }
614 _0x23eb80[_0x9771('0x0')][_0x9771('0xc2')] = _0x2c459c;
615 function _0x4d5740() {
616 if (_0x1ed1c7('field_new_answer')[_0x9771('0x68')] == '') {
617 return;
618 }
619 _0x5ccf83[_0x9771('0x5d')][0x0] = _0x1ed1c7(_0x9771('0xbd'))[_0x9771('0x68')];
620 _0x1ae8de[_0x9771('0x82')] = _0x5ccf83['id'];
621 _0x1ae8de[_0x9771('0x8c')] = -0x1;
622 _0x447e1f['disableRateButtons']();
623 _0x2c459c();
624 var _0x437bb4 = _0x9771('0x7a') + encodeURIComponent(_0x5ccf83['requests'][0x0]) + '&answer=' + encodeURIComponent(_0x5ccf83[_0x9771('0x5d')][0x0]) + _0x9771('0xc3') + encodeURIComponent(_0x5ccf83['context']) + _0x9771('0xc4') + encodeURIComponent(_0x5ccf83['id']) + _0x9771('0xc5') + encodeURIComponent(_0x282b68[_0x9771('0x54')]) + _0xf34788[_0x9771('0x23')]();
625 var _0x3b59c3 = new XMLHttpRequest();
626 _0x3b59c3[_0x9771('0x94')](_0x9771('0x84'), _0xf34788['apiURL']() + _0x9771('0xc6'), !![]);
627 _0x3b59c3['setRequestHeader'](_0x9771('0x85'), _0x9771('0x86'));
628 _0x3b59c3[_0x9771('0x87')] = function() {
629 if (_0x3b59c3[_0x9771('0x88')] != 0x4)
630 return;
631 if (_0x3b59c3['status'] != 0xc8) {} else {}
632 _0x447e1f[_0x9771('0x9c')]();
633 }
634 ;
635 _0x3b59c3[_0x9771('0x93')](_0x437bb4);
636 }
637 function _0x5f56ef(_0x2e4e67) {
638 if (_0x2e4e67[_0x9771('0xc7')] == 0x1b) {
639 _0x2c459c();
640 }
641 }
642}
643, function(_0x5309a0, _0x554cf1, _0x1c5f1a) {
644 'use strict';
645 var _0x2cabe5 = _0x1c5f1a(0x2);
646 var _0x271e6c = _0x1c5f1a(0x0);
647 var _0x11f3b3 = _0x1c5f1a(0x5);
648 var _0x2a9fbb = _0x1c5f1a(0x1);
649 var _0x5ab3f0 = new Object();
650 var _0x2df71a = '[a-zA-Z0-9,.;:_\x27\x5cs-]*';
651 _0x5309a0[_0x9771('0x0')][_0x9771('0xa7')] = function() {
652 _0x5ab3f0 = _0x11f3b3[_0x9771('0x53')]();
653 _0x271e6c(_0x9771('0xbb'))[_0x9771('0xaf')]['display'] = _0x9771('0xbc');
654 _0x271e6c(_0x9771('0xc8'))[_0x9771('0xaf')][_0x9771('0x71')] = 'block';
655 _0x271e6c(_0x9771('0xc9'))[_0x9771('0x68')] = _0x5ab3f0['name'];
656 _0x271e6c(_0x9771('0xc9'))[_0x9771('0x74')]();
657 _0x271e6c(_0x9771('0xbb'))[_0x9771('0x6a')](_0x9771('0x6c'), _0x4b3444);
658 _0x271e6c('btnCancel_formUserName')[_0x9771('0x6a')](_0x9771('0x6c'), _0x4b3444);
659 _0x271e6c('btnSaveAnswer_formUserName')[_0x9771('0x6a')]('click', _0x9b4534);
660 document[_0x9771('0x76')][_0x9771('0x6a')]('keydown', _0x5d1459);
661 }
662 ;
663 function _0x4b3444() {
664 _0x271e6c('user_request')[_0x9771('0x74')]();
665 _0x271e6c(_0x9771('0xbb'))[_0x9771('0xaf')][_0x9771('0x71')] = _0x9771('0x72');
666 _0x271e6c('formUserName')[_0x9771('0xaf')]['display'] = _0x9771('0x72');
667 _0x271e6c(_0x9771('0xbb'))['removeEventListener'](_0x9771('0x6c'), _0x4b3444);
668 _0x271e6c(_0x9771('0xca'))[_0x9771('0xc1')](_0x9771('0x6c'), _0x4b3444);
669 _0x271e6c(_0x9771('0xcb'))[_0x9771('0xc1')](_0x9771('0x6c'), _0x9b4534);
670 document[_0x9771('0x76')][_0x9771('0xc1')](_0x9771('0x6f'), _0x5d1459);
671 }
672 function _0x9b4534() {
673 _0x11f3b3['updateUserName'](_0x271e6c(_0x9771('0xc9'))[_0x9771('0x68')]);
674 _0x4b3444();
675 }
676 function _0x5d1459(_0x9d46ab) {
677 if (_0x9d46ab[_0x9771('0xc7')] == 0x1b) {
678 _0x4b3444();
679 }
680 }
681}
682]);
683