diff --git a/py/test/rsession/webdata/source.js b/py/test/rsession/webdata/source.js index e71c5ec3f..909fb2bf5 100644 --- a/py/test/rsession/webdata/source.js +++ b/py/test/rsession/webdata/source.js @@ -386,50 +386,6 @@ function some_strange_function_which_will_never_be_called () { } } -function hide_host () { - var v101,v102,elem_5,v103,v104,v105,v106,v107,elem_6,v110,v111,v112; - var block = 0; - for(;;){ - switch(block){ - case 0: - v101 = __consts_0.Document; - v102 = v101.getElementById(__consts_0.const_str__2); - elem_5 = v102; - block = 1; - break; - case 1: - v103 = elem_5.childNodes; - v104 = ll_len__List_ExternalType_ ( v103 ); - v105 = !!v104; - v106 = elem_5; - if (v105 == false) - { - block = 2; - break; - } - elem_6 = elem_5; - block = 4; - break; - case 2: - v107 = v106.style; - v107.visibility = __consts_0.const_str__3; - __consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__5; - block = 3; - break; - case 4: - v110 = elem_6; - v111 = elem_6.childNodes; - v112 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v111,0 ); - v110.removeChild(v112); - elem_5 = elem_6; - block = 1; - break; - case 3: - return ( undefined ); - } - } -} - function main () { var v16,v17,v18,v19,v21,v22,v23; var block = 0; @@ -443,9 +399,9 @@ function main () { v19 = v18.show_sessid(sessid_comeback); __consts_0.Document.onkeypress = key_pressed; v21 = __consts_0.Document; - v22 = v21.getElementById(__consts_0.const_str__7); + v22 = v21.getElementById(__consts_0.const_str__4); v23 = v22; - v23.setAttribute(__consts_0.const_str__8,__consts_0.const_str__9); + v23.setAttribute(__consts_0.const_str__5,__consts_0.const_str__6); block = 1; break; case 1: @@ -454,6 +410,23 @@ function main () { } } +function py____test_rsession_webjs_Globals () { + this.odata_empty = false; + this.osessid = __consts_0.const_str__7; + this.ohost = __consts_0.const_str__7; + this.orsync_dots = 0; + this.ofinished = false; + this.ohost_dict = __consts_0.const_tuple; + this.opending = __consts_0.const_list; + this.orsync_done = false; + this.ohost_pending = __consts_0.const_tuple__10; +} + +py____test_rsession_webjs_Globals.prototype.toString = function (){ + return ( '' ); +} + +inherits(py____test_rsession_webjs_Globals,Object); function hide_messagebox () { var v115,v116,mbox_0,v117,v118,mbox_1,v119,v120,v121; var block = 0; @@ -461,7 +434,7 @@ function hide_messagebox () { switch(block){ case 0: v115 = __consts_0.Document; - v116 = v115.getElementById(__consts_0.const_str__10); + v116 = v115.getElementById(__consts_0.const_str__11); mbox_0 = v116; block = 1; break; @@ -490,29 +463,79 @@ function hide_messagebox () { } } -function show_traceback (item_name_1) { - var v29,v30,v31,v32,v33,v35,v38,v41,v44; +function ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed (l_1,index_0) { + var v203,v204,l_2,index_1,v206,v207,v208,index_2,v210,v211,v212; var block = 0; for(;;){ switch(block){ case 0: - v29 = ll_dict_getitem__Dict_String__Record_item2__Str_String ( __consts_0.const_tuple,item_name_1 ); - v30 = v29.item0; - v31 = v29.item1; - v32 = v29.item2; - v33 = new StringBuilder(); - v33.ll_append(__consts_0.const_str__12); - v35 = ll_str__StringR_StringConst_String ( v30 ); - v33.ll_append(v35); - v33.ll_append(__consts_0.const_str__13); - v38 = ll_str__StringR_StringConst_String ( v31 ); - v33.ll_append(v38); - v33.ll_append(__consts_0.const_str__14); - v41 = ll_str__StringR_StringConst_String ( v32 ); - v33.ll_append(v41); - v33.ll_append(__consts_0.const_str__15); - v44 = v33.ll_build(); - set_msgbox ( item_name_1,v44 ); + v204 = (index_0>=0); + undefined; + l_2 = l_1; + index_1 = index_0; + block = 1; + break; + case 1: + v206 = l_2; + v207 = v206.length; + v208 = (index_1' ); -} - -inherits(py____test_rsession_webjs_Globals,Object); -function opt_scroll () { - var v124,v125; +function hide_info () { + var v65,v66,v67; var block = 0; for(;;){ switch(block){ case 0: - v124 = __consts_0.py____test_rsession_webjs_Options.oscroll; - v125 = v124; - if (v125 == false) - { - block = 1; - break; - } - block = 3; + v65 = __consts_0.Document; + v66 = v65.getElementById(__consts_0.const_str__14); + v67 = v66.style; + v67.visibility = __consts_0.const_str__15; + block = 1; break; case 1: - __consts_0.py____test_rsession_webjs_Options.oscroll = true; - block = 2; - break; - case 3: - __consts_0.py____test_rsession_webjs_Options.oscroll = false; - block = 2; - break; - case 2: return ( undefined ); } } @@ -574,7 +569,7 @@ function show_host (host_name_0) { switch(block){ case 0: v70 = __consts_0.Document; - v71 = v70.getElementById(__consts_0.const_str__2); + v71 = v70.getElementById(__consts_0.const_str__16); v72 = v71.childNodes; v73 = ll_list_is_true__List_ExternalType_ ( v72 ); host_name_1 = host_name_0; @@ -589,7 +584,7 @@ function show_host (host_name_0) { block = 6; break; case 1: - v74 = create_elem ( __consts_0.const_str__20 ); + v74 = create_elem ( __consts_0.const_str__17 ); v75 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; v76 = ll_dict_getitem__Dict_String__List_String___String ( v75,host_name_1 ); v77 = ll_listiter__Record_index__Signed__iterable_List_String_ ( v76 ); @@ -622,8 +617,8 @@ function show_host (host_name_0) { throw(exc); } case 3: - v81 = create_elem ( __consts_0.const_str__21 ); - v82 = create_elem ( __consts_0.const_str__22 ); + v81 = create_elem ( __consts_0.const_str__18 ); + v82 = create_elem ( __consts_0.const_str__19 ); v83 = v82; v84 = create_text_elem ( item_0 ); v83.appendChild(v84); @@ -641,7 +636,7 @@ function show_host (host_name_0) { v90 = elem_3; v90.appendChild(tbody_2); v92 = elem_3.style; - v92.visibility = __consts_0.const_str__23; + v92.visibility = __consts_0.const_str__20; __consts_0.py____test_rsession_webjs_Globals.ohost = host_name_4; setTimeout ( 'reshow_host()',100 ); block = 5; @@ -661,65 +656,22 @@ function show_host (host_name_0) { } } -function ll_listiter__Record_index__Signed__iterable_List_String_ (lst_0) { - var v261,v262; - var block = 0; - for(;;){ - switch(block){ - case 0: - v262 = new Object(); - v262.iterable = lst_0; - v262.index = 0; - v261 = v262; - block = 1; - break; - case 1: - return ( v261 ); - } - } -} - -function exceptions_Exception () { -} - -exceptions_Exception.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_Exception,Object); -function create_elem (s_1) { - var v248,v249,v250; - var block = 0; - for(;;){ - switch(block){ - case 0: - v249 = __consts_0.Document; - v250 = v249.createElement(s_1); - v248 = v250; - block = 1; - break; - case 1: - return ( v248 ); - } - } -} - function ll_listnext__Record_index__Signed__iterable_0 (iter_0) { - var v265,v266,v267,v268,v269,v270,v271,iter_1,index_3,l_4,v272,v274,v275,v276,v277,v278,etype_2,evalue_2; + var v230,v231,v232,v233,v234,v235,v236,iter_1,index_3,l_3,v237,v239,v240,v241,v242,v243,etype_1,evalue_1; var block = 0; for(;;){ switch(block){ case 0: - v266 = iter_0.iterable; - v267 = iter_0.index; - v268 = v266; - v269 = v268.length; - v270 = (v267>=v269); - v271 = v270; + v231 = iter_0.iterable; + v232 = iter_0.index; + v233 = v231; + v234 = v233.length; + v235 = (v232>=v234); + v236 = v235; iter_1 = iter_0; - index_3 = v267; - l_4 = v266; - if (v271 == false) + index_3 = v232; + l_3 = v231; + if (v236 == false) { block = 1; break; @@ -727,175 +679,25 @@ function ll_listnext__Record_index__Signed__iterable_0 (iter_0) { block = 3; break; case 1: - v272 = (index_3+1); - iter_1.index = v272; - v274 = l_4; - v275 = v274[index_3]; - v265 = v275; + v237 = (index_3+1); + iter_1.index = v237; + v239 = l_3; + v240 = v239[index_3]; + v230 = v240; block = 2; break; case 3: - v276 = __consts_0.exceptions_StopIteration; - v277 = v276.meta; - v278 = v276; - etype_2 = v277; - evalue_2 = v278; + v241 = __consts_0.exceptions_StopIteration; + v242 = v241.meta; + v243 = v241; + etype_1 = v242; + evalue_1 = v243; block = 4; break; case 4: - throw(evalue_2); + throw(evalue_1); case 2: - return ( v265 ); - } - } -} - -function ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed (l_1,index_0) { - var v131,v132,l_2,index_1,v134,v135,v136,index_2,v138,v139,v140; - var block = 0; - for(;;){ - switch(block){ - case 0: - v132 = (index_0>=0); - undefined; - l_2 = l_1; - index_1 = index_0; - block = 1; - break; - case 1: - v134 = l_2; - v135 = v134.length; - v136 = (index_15); - v353 = v352; - elem_8 = elem_7; - v354 = v347; - if (v353 == false) - { - block = 3; - break; - } - text_0 = v347; - elem_9 = elem_7; - block = 5; - break; - case 3: - v355 = new StringBuilder(); - v355.ll_append(__consts_0.const_str__41); - v357 = ll_str__StringR_StringConst_String ( v354 ); - v355.ll_append(v357); - v355.ll_append(__consts_0.const_str__42); - v360 = v355.ll_build(); - v361 = elem_8.childNodes; - v362 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v361,0 ); - v362.nodeValue = v360; - setTimeout ( 'update_rsync()',1000 ); - block = 4; - break; - case 5: - __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; - elem_8 = elem_9; - v354 = text_0; - block = 3; - break; - case 6: - v367 = v366.childNodes; - v368 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v367,0 ); - v368.nodeValue = __consts_0.const_str__39; - block = 4; - break; - case 4: - return ( undefined ); - } - } -} - -function comeback (msglist_0) { - var v373,v374,v375,msglist_1,v376,v377,v378,v379,msglist_2,v380,v381,last_exc_value_3,msglist_3,v382,v383,v384,v385,msglist_4,v386,v389,v390,v391,last_exc_value_4,v392,v393,v394,v395,v396,v397,v398; - var block = 0; - for(;;){ - switch(block){ - case 0: - v373 = ll_len__List_Dict_String__String__ ( msglist_0 ); - v374 = (v373==0); - v375 = v374; - msglist_1 = msglist_0; - if (v375 == false) - { - block = 1; - break; - } - block = 4; - break; - case 1: - v376 = __consts_0.py____test_rsession_webjs_Globals.opending; - v377 = 0; - v378 = ll_listslice_startonly__List_Dict_String__String__LlT_List_Dict_String__String___Signed ( v376,v377 ); - v379 = ll_listiter__Record_index__Signed__iterable_List_Dict_String__String__ ( v378 ); - msglist_2 = msglist_1; - v380 = v379; - block = 2; - break; - case 2: - try { - v381 = ll_listnext__Record_index__Signed__iterable ( v380 ); - msglist_3 = msglist_2; - v382 = v380; - v383 = v381; - block = 3; - break; - } - catch (exc){ - if (isinstanceof(exc, exceptions_StopIteration)) - { - msglist_4 = msglist_2; - block = 5; - break; - } - throw(exc); - } - case 3: - v384 = process ( v383 ); - v385 = v384; - if (v385 == false) - { - block = 4; - break; - } - msglist_2 = msglist_3; - v380 = v382; - block = 2; - break; - case 5: - v386 = new Array(); - v386.length = 0; - __consts_0.py____test_rsession_webjs_Globals.opending = v386; - v389 = ll_listiter__Record_index__Signed__iterable_List_Dict_String__String__ ( msglist_4 ); - v390 = v389; - block = 6; - break; - case 6: - try { - v391 = ll_listnext__Record_index__Signed__iterable ( v390 ); - v392 = v390; - v393 = v391; - block = 7; - break; - } - catch (exc){ - if (isinstanceof(exc, exceptions_StopIteration)) - { - block = 8; - break; - } - throw(exc); - } - case 7: - v394 = process ( v393 ); - v395 = v394; - if (v395 == false) - { - block = 4; - break; - } - v390 = v392; - block = 6; - break; - case 8: - v396 = __consts_0.ExportedMethods; - v397 = __consts_0.py____test_rsession_webjs_Globals.osessid; - v398 = v396.show_all_statuses(v397,comeback); - block = 4; - break; - case 4: - return ( undefined ); - } - } -} - -function hide_info () { - var v65,v66,v67; - var block = 0; - for(;;){ - switch(block){ - case 0: - v65 = __consts_0.Document; - v66 = v65.getElementById(__consts_0.const_str__29); - v67 = v66.style; - v67.visibility = __consts_0.const_str__3; - block = 1; - break; - case 1: - return ( undefined ); - } - } -} - -function ll_streq__String_String (s1_0,s2_0) { - var v294,v295,v296,v297,s2_1,v298,v299,v300,v301,v302,v303; - var block = 0; - for(;;){ - switch(block){ - case 0: - v295 = !!s1_0; - v296 = !v295; - v297 = v296; - s2_1 = s2_0; - v298 = s1_0; - if (v297 == false) - { - block = 1; - break; - } - v301 = s2_0; - block = 3; - break; - case 1: - v299 = v298; - v300 = (v299==s2_1); - v294 = v300; - block = 2; - break; - case 3: - v302 = !!v301; - v303 = !v302; - v294 = v303; - block = 2; - break; - case 2: - return ( v294 ); - } - } -} - -function ll_dict_getitem__Dict_String__Record_item2__Str_String (d_0,key_2) { +function ll_dict_getitem__Dict_String__List_String___String (d_0,key_2) { var v216,v217,v218,v219,v220,v221,v222,etype_0,evalue_0,key_3,v223,v224,v225; var block = 0; for(;;){ @@ -1520,6 +758,251 @@ function ll_dict_getitem__Dict_String__Record_item2__Str_String (d_0,key_2) { } } +function ll_dict_getitem__Dict_String__String__String (d_1,key_4) { + var v253,v254,v255,v256,v257,v258,v259,etype_2,evalue_2,key_5,v260,v261,v262; + var block = 0; + for(;;){ + switch(block){ + case 0: + v254 = d_1; + v255 = (v254[key_4]!=undefined); + v256 = v255; + if (v256 == false) + { + block = 1; + break; + } + key_5 = key_4; + v260 = d_1; + block = 3; + break; + case 1: + v257 = __consts_0.exceptions_KeyError; + v258 = v257.meta; + v259 = v257; + etype_2 = v258; + evalue_2 = v259; + block = 2; + break; + case 3: + v261 = v260; + v262 = v261[key_5]; + v253 = v262; + block = 4; + break; + case 2: + throw(evalue_2); + case 4: + return ( v253 ); + } + } +} + +function create_elem (s_0) { + var v213,v214,v215; + var block = 0; + for(;;){ + switch(block){ + case 0: + v214 = __consts_0.Document; + v215 = v214.createElement(s_0); + v213 = v215; + block = 1; + break; + case 1: + return ( v213 ); + } + } +} + +function exceptions_Exception () { +} + +exceptions_Exception.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_Exception,Object); +function exceptions_StandardError () { +} + +exceptions_StandardError.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_StandardError,exceptions_Exception); +function exceptions_LookupError () { +} + +exceptions_LookupError.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_LookupError,exceptions_StandardError); +function opt_scroll () { + var v124,v125; + var block = 0; + for(;;){ + switch(block){ + case 0: + v124 = __consts_0.py____test_rsession_webjs_Options.oscroll; + v125 = v124; + if (v125 == false) + { + block = 1; + break; + } + block = 3; + break; + case 1: + __consts_0.py____test_rsession_webjs_Options.oscroll = true; + block = 2; + break; + case 3: + __consts_0.py____test_rsession_webjs_Options.oscroll = false; + block = 2; + break; + case 2: + return ( undefined ); + } + } +} + +function reshow_host () { + var v248,v249,v250,v251; + var block = 0; + for(;;){ + switch(block){ + case 0: + v248 = __consts_0.py____test_rsession_webjs_Globals.ohost; + v249 = ll_streq__String_String ( v248,__consts_0.const_str__7 ); + v250 = v249; + if (v250 == false) + { + block = 1; + break; + } + block = 2; + break; + case 1: + v251 = __consts_0.py____test_rsession_webjs_Globals.ohost; + show_host ( v251 ); + block = 2; + break; + case 2: + return ( undefined ); + } + } +} + +function show_info (data_0) { + var v47,v48,v49,data_1,info_0,v51,v52,v53,info_1,v54,v55,v56,v58,data_2,info_2,v60,v61,v62; + var block = 0; + for(;;){ + switch(block){ + case 0: + v47 = __consts_0.Document; + v48 = v47.getElementById(__consts_0.const_str__14); + v49 = v48.style; + v49.visibility = __consts_0.const_str__20; + data_1 = data_0; + info_0 = v48; + block = 1; + break; + case 1: + v51 = info_0.childNodes; + v52 = ll_len__List_ExternalType_ ( v51 ); + v53 = !!v52; + info_1 = info_0; + v54 = data_1; + if (v53 == false) + { + block = 2; + break; + } + data_2 = data_1; + info_2 = info_0; + block = 4; + break; + case 2: + v55 = create_text_elem ( v54 ); + v56 = info_1; + v56.appendChild(v55); + v58 = info_1.style; + v58.backgroundColor = __consts_0.const_str__24; + block = 3; + break; + case 4: + v60 = info_2; + v61 = info_2.childNodes; + v62 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v61,0 ); + v60.removeChild(v62); + data_1 = data_2; + info_0 = info_2; + block = 1; + break; + case 3: + return ( undefined ); + } + } +} + +function ll_list_is_true__List_ExternalType_ (l_0) { + var v196,v197,v198,v199,v200,v201,v202; + var block = 0; + for(;;){ + switch(block){ + case 0: + v197 = !!l_0; + v198 = v197; + v196 = v197; + if (v198 == false) + { + block = 1; + break; + } + v199 = l_0; + block = 2; + break; + case 2: + v200 = v199; + v201 = v200.length; + v202 = (v201!=0); + v196 = v202; + block = 1; + break; + case 1: + return ( v196 ); + } + } +} + +function ll_listiter__Record_index__Signed__iterable_List_String_ (lst_0) { + var v226,v227; + var block = 0; + for(;;){ + switch(block){ + case 0: + v227 = new Object(); + v227.iterable = lst_0; + v227.index = 0; + v226 = v227; + block = 1; + break; + case 1: + return ( v226 ); + } + } +} + +function exceptions_StopIteration () { +} + +exceptions_StopIteration.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_StopIteration,exceptions_Exception); function py____test_rsession_webjs_Options () { this.oscroll = false; } @@ -1529,46 +1012,29 @@ py____test_rsession_webjs_Options.prototype.toString = function (){ } inherits(py____test_rsession_webjs_Options,Object); -function key_pressed (key_1) { - var v194,v195,v196,v197,v198,v199,v200,v201,v202,v205,v206; +function show_traceback (item_name_1) { + var v29,v30,v31,v32,v33,v35,v38,v41,v44; var block = 0; for(;;){ switch(block){ case 0: - v194 = key_1.charCode; - v195 = (v194==115); - v196 = v195; - if (v196 == false) - { - block = 1; - break; - } - block = 2; - break; - case 2: - v197 = __consts_0.Document; - v198 = v197.getElementById(__consts_0.const_str__7); - v199 = __consts_0.py____test_rsession_webjs_Options.oscroll; - v200 = v199; - v201 = v198; - if (v200 == false) - { - block = 3; - break; - } - v205 = v198; - block = 4; - break; - case 3: - v202 = v201; - v202.setAttribute(__consts_0.const_str__8,__consts_0.const_str__43); - __consts_0.py____test_rsession_webjs_Options.oscroll = true; - block = 1; - break; - case 4: - v206 = v205; - v206.removeAttribute(__consts_0.const_str__8); - __consts_0.py____test_rsession_webjs_Options.oscroll = false; + v29 = ll_dict_getitem__Dict_String__Record_item2__Str_String ( __consts_0.const_tuple__25,item_name_1 ); + v30 = v29.item0; + v31 = v29.item1; + v32 = v29.item2; + v33 = new StringBuilder(); + v33.ll_append(__consts_0.const_str__26); + v35 = ll_str__StringR_StringConst_String ( v30 ); + v33.ll_append(v35); + v33.ll_append(__consts_0.const_str__27); + v38 = ll_str__StringR_StringConst_String ( v31 ); + v33.ll_append(v38); + v33.ll_append(__consts_0.const_str__28); + v41 = ll_str__StringR_StringConst_String ( v32 ); + v33.ll_append(v41); + v33.ll_append(__consts_0.const_str__29); + v44 = v33.ll_build(); + set_msgbox ( item_name_1,v44 ); block = 1; break; case 1: @@ -1577,91 +1043,6 @@ function key_pressed (key_1) { } } -function exceptions_StandardError () { -} - -exceptions_StandardError.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_StandardError,exceptions_Exception); -function exceptions_StopIteration () { -} - -exceptions_StopIteration.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_StopIteration,exceptions_Exception); -function ll_str__StringR_StringConst_String (s_0) { - var v226; - var block = 0; - for(;;){ - switch(block){ - case 0: - v226 = s_0; - block = 1; - break; - case 1: - return ( v226 ); - } - } -} - -function ll_listnext__Record_index__Signed__iterable (iter_2) { - var v436,v437,v438,v439,v440,v441,v442,iter_3,index_4,l_8,v443,v445,v446,v447,v448,v449,etype_5,evalue_5; - var block = 0; - for(;;){ - switch(block){ - case 0: - v437 = iter_2.iterable; - v438 = iter_2.index; - v439 = v437; - v440 = v439.length; - v441 = (v438>=v440); - v442 = v441; - iter_3 = iter_2; - index_4 = v438; - l_8 = v437; - if (v442 == false) - { - block = 1; - break; - } - block = 3; - break; - case 1: - v443 = (index_4+1); - iter_3.index = v443; - v445 = l_8; - v446 = v445[index_4]; - v436 = v446; - block = 2; - break; - case 3: - v447 = __consts_0.exceptions_StopIteration; - v448 = v447.meta; - v449 = v447; - etype_5 = v448; - evalue_5 = v449; - block = 4; - break; - case 4: - throw(evalue_5); - case 2: - return ( v436 ); - } - } -} - -function exceptions_LookupError () { -} - -exceptions_LookupError.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_LookupError,exceptions_StandardError); function exceptions_KeyError () { } @@ -1670,118 +1051,313 @@ exceptions_KeyError.prototype.toString = function (){ } inherits(exceptions_KeyError,exceptions_LookupError); -function get_elem (el_0) { - var v288,v289,v290; +function host_init (host_dict_0) { + var v129,v130,v131,v132,v133,host_dict_1,tbody_3,v134,v135,last_exc_value_1,host_dict_2,tbody_4,host_0,v136,v137,v138,v140,v141,v143,v144,v145,v148,v150,v151,v153,v156,v158,host_dict_3,v164,v166,v167,v168,v169,v170,last_exc_value_2,key_0,v171,v172,v174; var block = 0; for(;;){ switch(block){ case 0: - v289 = __consts_0.Document; - v290 = v289.getElementById(el_0); - v288 = v290; + v129 = __consts_0.Document; + v130 = v129.getElementById(__consts_0.const_str__30); + v131 = host_dict_0; + v132 = ll_dict_kvi__Dict_String__String__List_String_LlT_dum_keysConst ( v131 ); + v133 = ll_listiter__Record_index__Signed__iterable_List_String_ ( v132 ); + host_dict_1 = host_dict_0; + tbody_3 = v130; + v134 = v133; block = 1; break; case 1: - return ( v288 ); + try { + v135 = ll_listnext__Record_index__Signed__iterable_0 ( v134 ); + host_dict_2 = host_dict_1; + tbody_4 = tbody_3; + host_0 = v135; + v136 = v134; + block = 2; + break; + } + catch (exc){ + if (isinstanceof(exc, exceptions_StopIteration)) + { + host_dict_3 = host_dict_1; + block = 3; + break; + } + throw(exc); + } + case 2: + v137 = create_elem ( __consts_0.const_str__18 ); + v138 = tbody_4; + v138.appendChild(v137); + v140 = create_elem ( __consts_0.const_str__19 ); + v141 = v140.style; + v141.background = __consts_0.const_str__31; + v143 = ll_dict_getitem__Dict_String__String__String ( host_dict_2,host_0 ); + v144 = create_text_elem ( v143 ); + v145 = v140; + v145.appendChild(v144); + v140.id = host_0; + v148 = v137; + v148.appendChild(v140); + v150 = v140; + v151 = new StringBuilder(); + v151.ll_append(__consts_0.const_str__32); + v153 = ll_str__StringR_StringConst_String ( host_0 ); + v151.ll_append(v153); + v151.ll_append(__consts_0.const_str__33); + v156 = v151.ll_build(); + v150.setAttribute(__consts_0.const_str__34,v156); + v158 = v140; + v158.setAttribute(__consts_0.const_str__35,__consts_0.const_str__36); + __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; + __consts_0.py____test_rsession_webjs_Globals.orsync_done = false; + setTimeout ( 'update_rsync()',1000 ); + host_dict_1 = host_dict_2; + tbody_3 = tbody_4; + v134 = v136; + block = 1; + break; + case 3: + __consts_0.py____test_rsession_webjs_Globals.ohost_dict = host_dict_3; + v164 = ll_newdict__Dict_String__List_String__LlT ( ); + __consts_0.py____test_rsession_webjs_Globals.ohost_pending = v164; + v166 = host_dict_3; + v167 = ll_dict_kvi__Dict_String__String__List_String_LlT_dum_keysConst ( v166 ); + v168 = ll_listiter__Record_index__Signed__iterable_List_String_ ( v167 ); + v169 = v168; + block = 4; + break; + case 4: + try { + v170 = ll_listnext__Record_index__Signed__iterable_0 ( v169 ); + key_0 = v170; + v171 = v169; + block = 5; + break; + } + catch (exc){ + if (isinstanceof(exc, exceptions_StopIteration)) + { + block = 6; + break; + } + throw(exc); + } + case 5: + v172 = new Array(); + v172.length = 0; + v174 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; + v174[key_0]=v172; + v169 = v171; + block = 4; + break; + case 6: + return ( undefined ); } } } -function ll_listiter__Record_index__Signed__iterable_List_Dict_String__String__ (lst_1) { - var v432,v433; +function sessid_comeback (id_0) { + var v178,v179; var block = 0; for(;;){ switch(block){ case 0: - v433 = new Object(); - v433.iterable = lst_1; - v433.index = 0; - v432 = v433; + __consts_0.py____test_rsession_webjs_Globals.osessid = id_0; + v178 = __consts_0.ExportedMethods; + v179 = v178.show_all_statuses(id_0,comeback); block = 1; break; case 1: - return ( v432 ); + return ( undefined ); } } } -function ll_char_mul__Char_Signed (ch_0,times_0) { - var v399,v400,v401,ch_1,times_1,i_2,buf_0,v403,v404,v405,v406,v407,ch_2,times_2,i_3,buf_1,v408,v410; +function set_msgbox (item_name_2,data_3) { + var v264,item_name_3,data_4,msgbox_0,v265,v266,v267,item_name_4,data_5,msgbox_1,v268,v269,v270,v271,v272,v274,v276,v277,item_name_5,data_6,msgbox_2,v280,v281,v282; var block = 0; for(;;){ switch(block){ case 0: - v400 = new StringBuilder(); - v401 = v400; - v401.ll_allocate(times_0); - ch_1 = ch_0; - times_1 = times_0; - i_2 = 0; - buf_0 = v400; + v264 = get_elem ( __consts_0.const_str__11 ); + item_name_3 = item_name_2; + data_4 = data_3; + msgbox_0 = v264; block = 1; break; case 1: - v403 = (i_25); + v347 = v346; + elem_8 = elem_7; + v348 = v341; + if (v347 == false) + { + block = 3; + break; + } + text_0 = v341; + elem_9 = elem_7; + block = 5; + break; + case 3: + v349 = new StringBuilder(); + v349.ll_append(__consts_0.const_str__43); + v351 = ll_str__StringR_StringConst_String ( v348 ); + v349.ll_append(v351); + v349.ll_append(__consts_0.const_str__44); + v354 = v349.ll_build(); + v355 = elem_8.childNodes; + v356 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v355,0 ); + v356.nodeValue = v354; + setTimeout ( 'update_rsync()',1000 ); + block = 4; + break; + case 5: + __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; + elem_8 = elem_9; + v348 = text_0; + block = 3; + break; + case 6: + v361 = v360.childNodes; + v362 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v361,0 ); + v362.nodeValue = __consts_0.const_str__41; + block = 4; + break; + case 4: + return ( undefined ); + } + } +} + +function ll_dict_getitem__Dict_String__Record_item2__Str_String (d_2,key_6) { + var v297,v298,v299,v300,v301,v302,v303,etype_3,evalue_3,key_7,v304,v305,v306; + var block = 0; + for(;;){ + switch(block){ + case 0: + v298 = d_2; + v299 = (v298[key_6]!=undefined); + v300 = v299; + if (v300 == false) + { + block = 1; + break; + } + key_7 = key_6; + v304 = d_2; + block = 3; + break; + case 1: + v301 = __consts_0.exceptions_KeyError; + v302 = v301.meta; + v303 = v301; + etype_3 = v302; + evalue_3 = v303; + block = 2; + break; + case 3: + v305 = v304; + v306 = v305[key_7]; + v297 = v306; + block = 4; + break; + case 2: + throw(evalue_3); + case 4: + return ( v297 ); + } + } +} + +function ll_str__StringR_StringConst_String (s_1) { + var v307; + var block = 0; + for(;;){ + switch(block){ + case 0: + v307 = s_1; + block = 1; + break; + case 1: + return ( v307 ); + } + } +} + +function comeback (msglist_0) { + var v367,v368,v369,msglist_1,v370,v371,v372,v373,msglist_2,v374,v375,last_exc_value_3,msglist_3,v376,v377,v378,v379,msglist_4,v380,v383,v384,v385,last_exc_value_4,v386,v387,v388,v389,v390,v391,v392; + var block = 0; + for(;;){ + switch(block){ + case 0: + v367 = ll_len__List_Dict_String__String__ ( msglist_0 ); + v368 = (v367==0); + v369 = v368; + msglist_1 = msglist_0; + if (v369 == false) + { + block = 1; + break; + } + block = 4; + break; + case 1: + v370 = __consts_0.py____test_rsession_webjs_Globals.opending; + v371 = 0; + v372 = ll_listslice_startonly__List_Dict_String__String__LlT_List_Dict_String__String___Signed ( v370,v371 ); + v373 = ll_listiter__Record_index__Signed__iterable_List_Dict_String__String__ ( v372 ); + msglist_2 = msglist_1; + v374 = v373; + block = 2; + break; + case 2: + try { + v375 = ll_listnext__Record_index__Signed__iterable ( v374 ); + msglist_3 = msglist_2; + v376 = v374; + v377 = v375; + block = 3; + break; + } + catch (exc){ + if (isinstanceof(exc, exceptions_StopIteration)) + { + msglist_4 = msglist_2; + block = 5; + break; + } + throw(exc); + } + case 3: + v378 = process ( v377 ); + v379 = v378; + if (v379 == false) + { + block = 4; + break; + } + msglist_2 = msglist_3; + v374 = v376; + block = 2; + break; + case 5: + v380 = new Array(); + v380.length = 0; + __consts_0.py____test_rsession_webjs_Globals.opending = v380; + v383 = ll_listiter__Record_index__Signed__iterable_List_Dict_String__String__ ( msglist_4 ); + v384 = v383; + block = 6; + break; + case 6: + try { + v385 = ll_listnext__Record_index__Signed__iterable ( v384 ); + v386 = v384; + v387 = v385; + block = 7; + break; + } + catch (exc){ + if (isinstanceof(exc, exceptions_StopIteration)) + { + block = 8; + break; + } + throw(exc); + } + case 7: + v388 = process ( v387 ); + v389 = v388; + if (v389 == false) + { + block = 4; + break; + } + v384 = v386; + block = 6; + break; + case 8: + v390 = __consts_0.ExportedMethods; + v391 = __consts_0.py____test_rsession_webjs_Globals.osessid; + v392 = v390.show_all_statuses(v391,comeback); + block = 4; + break; + case 4: + return ( undefined ); + } + } +} + +function ll_strconcat__String_String (obj_0,arg0_0) { + var v396,v397,v398; + var block = 0; + for(;;){ + switch(block){ + case 0: + v397 = obj_0; + v398 = (v397+arg0_0); + v396 = v398; + block = 1; + break; + case 1: + return ( v396 ); + } + } +} + +function ll_char_mul__Char_Signed (ch_0,times_0) { + var v403,v404,v405,ch_1,times_1,i_2,buf_0,v407,v408,v409,v410,v411,ch_2,times_2,i_3,buf_1,v412,v414; + var block = 0; + for(;;){ + switch(block){ + case 0: + v404 = new StringBuilder(); + v405 = v404; + v405.ll_allocate(times_0); + ch_1 = ch_0; + times_1 = times_0; + i_2 = 0; + buf_0 = v404; + block = 1; + break; + case 1: + v407 = (i_2=v444); + v446 = v445; + iter_3 = iter_2; + index_4 = v442; + l_8 = v441; + if (v446 == false) + { + block = 1; + break; + } + block = 3; + break; + case 1: + v447 = (index_4+1); + iter_3.index = v447; + v449 = l_8; + v450 = v449[index_4]; + v440 = v450; + block = 2; + break; + case 3: + v451 = __consts_0.exceptions_StopIteration; + v452 = v451.meta; + v453 = v451; + etype_5 = v452; + evalue_5 = v453; + block = 4; + break; + case 4: + throw(evalue_5); + case 2: + return ( v440 ); } } } function ll_listslice_startonly__List_Dict_String__String__LlT_List_Dict_String__String___Signed (l1_0,start_0) { - var v414,v415,v416,v417,v419,v421,v423,l1_1,i_4,j_0,l_6,len1_0,v424,v425,l1_2,i_5,j_1,l_7,len1_1,v426,v427,v428,v430,v431; + var v418,v419,v420,v421,v423,v425,v427,l1_1,i_4,j_0,l_6,len1_0,v428,v429,l1_2,i_5,j_1,l_7,len1_1,v430,v431,v432,v434,v435; var block = 0; for(;;){ switch(block){ case 0: - v415 = l1_0; - v416 = v415.length; - v417 = (start_0>=0); + v419 = l1_0; + v420 = v419.length; + v421 = (start_0>=0); undefined; - v419 = (start_0<=v416); + v423 = (start_0<=v420); undefined; - v421 = (v416-start_0); + v425 = (v420-start_0); undefined; - v423 = ll_newlist__List_Dict_String__String__LlT_Signed ( v421 ); + v427 = ll_newlist__List_Dict_String__String__LlT_Signed ( v425 ); l1_1 = l1_0; i_4 = start_0; j_0 = 0; - l_6 = v423; - len1_0 = v416; + l_6 = v427; + len1_0 = v420; block = 1; break; case 1: - v424 = (i_4' ); -} - -inherits(py____magic_assertion_AssertionError,exceptions_AssertionError); -function ll_newlist__List_Dict_String__String__LlT_Signed (length_4) { - var v663,v664; - var block = 0; - for(;;){ - switch(block){ - case 0: - v664 = ll_newlist__List_Dict_String__String__LlT_Signed_0 ( length_4 ); - v663 = v664; - block = 1; - break; - case 1: - return ( v663 ); + return ( v454 ); } } } @@ -2439,328 +2348,36 @@ function ll_len__List_String_ (l_13) { } } -function show_interrupt () { - var v683,v684,v685,v686; +function ll_listiter__Record_index__Signed__iterable_List_Dict_String__String__ (lst_1) { + var v436,v437; var block = 0; for(;;){ switch(block){ case 0: - __consts_0.py____test_rsession_webjs_Globals.ofinished = true; - __consts_0.Document.title = __consts_0.const_str__81; - v683 = __consts_0.Document; - v684 = v683.getElementById(__consts_0.const_str__39); - v685 = v684.childNodes; - v686 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v685,0 ); - v686.nodeValue = __consts_0.const_str__82; + v437 = new Object(); + v437.iterable = lst_1; + v437.index = 0; + v436 = v437; block = 1; break; case 1: - return ( undefined ); + return ( v436 ); } } } -function ll_newlist__List_Dict_String__String__LlT_Signed_0 (length_5) { - var v937,v938,v939; +function ll_newlist__List_Dict_String__String__LlT_Signed (length_4) { + var v663,v664; var block = 0; for(;;){ switch(block){ case 0: - v938 = new Array(); - v939 = v938; - v939.length = length_5; - v937 = v938; + v664 = ll_newlist__List_Dict_String__String__LlT_Signed_0 ( length_4 ); + v663 = v664; block = 1; break; case 1: - return ( v937 ); - } - } -} - -function add_received_item_outcome (msg_22,module_part_2) { - var v707,v708,v709,msg_23,module_part_3,v710,v711,v712,v713,v715,v716,v718,v721,v723,v725,v726,v727,v728,msg_24,module_part_4,item_name_6,td_0,v729,v730,v731,v732,msg_25,module_part_5,item_name_7,td_1,v733,v734,v735,v736,v738,v739,v741,v744,v746,v747,v749,v751,v753,v754,msg_26,module_part_6,td_2,v755,v756,v757,v758,v759,module_part_7,td_3,v760,v761,v762,v763,v765,v766,v767,v768,v769,v770,v774,v775,v776,v777,v778,v781,v784,v787,v788,v789,v791,v792,v793,msg_27,module_part_8,td_4,v795,v796,msg_28,module_part_9,item_name_8,td_5,v798,v799,v800,v801,msg_29,module_part_10,item_name_9,td_6,v802,v803,v804,v805,v806,v807,v809,v810,v812,v815,v817,v818,v820,msg_30,module_part_11,td_7,v822,v823,msg_31,module_part_12,v825,v826,v827,v828,v829,v830,v831,v832,v833,v834,v835,v836,v837,v838,v839,v840,v843,v844,v845,v846,v849,v852,v853,v854; - var block = 0; - for(;;){ - switch(block){ - case 0: - v707 = ll_dict_getitem__Dict_String__String__String ( msg_22,__consts_0.const_str__75 ); - v708 = ll_strlen__String ( v707 ); - v709 = !!v708; - msg_23 = msg_22; - module_part_3 = module_part_2; - if (v709 == false) - { - block = 1; - break; - } - msg_31 = msg_22; - module_part_12 = module_part_2; - block = 11; - break; - case 1: - v710 = create_elem ( __consts_0.const_str__22 ); - v711 = v710; - v712 = ll_dict_getitem__Dict_String__String__String ( msg_23,__consts_0.const_str__58 ); - v713 = new Object(); - v713.item0 = v712; - v715 = v713.item0; - v716 = new StringBuilder(); - v716.ll_append(__consts_0.const_str__83); - v718 = ll_str__StringR_StringConst_String ( v715 ); - v716.ll_append(v718); - v716.ll_append(__consts_0.const_str__34); - v721 = v716.ll_build(); - v711.setAttribute(__consts_0.const_str__35,v721); - v723 = v710; - v723.setAttribute(__consts_0.const_str__36,__consts_0.const_str__84); - v725 = ll_dict_getitem__Dict_String__String__String ( msg_23,__consts_0.const_str__58 ); - v726 = ll_dict_getitem__Dict_String__String__String ( msg_23,__consts_0.const_str__85 ); - v727 = ll_streq__String_String ( v726,__consts_0.const_str__9 ); - v728 = v727; - msg_24 = msg_23; - module_part_4 = module_part_3; - item_name_6 = v725; - td_0 = v710; - if (v728 == false) - { - block = 2; - break; - } - msg_30 = msg_23; - module_part_11 = module_part_3; - td_7 = v710; - block = 10; - break; - case 2: - v729 = ll_dict_getitem__Dict_String__String__String ( msg_24,__consts_0.const_str__86 ); - v730 = ll_streq__String_String ( v729,__consts_0.const_str__87 ); - v731 = !v730; - v732 = v731; - msg_25 = msg_24; - module_part_5 = module_part_4; - item_name_7 = item_name_6; - td_1 = td_0; - if (v732 == false) - { - block = 3; - break; - } - msg_28 = msg_24; - module_part_9 = module_part_4; - item_name_8 = item_name_6; - td_5 = td_0; - block = 8; - break; - case 3: - v733 = create_elem ( __consts_0.const_str__62 ); - v734 = v733; - v735 = ll_dict_getitem__Dict_String__String__String ( msg_25,__consts_0.const_str__58 ); - v736 = new Object(); - v736.item0 = v735; - v738 = v736.item0; - v739 = new StringBuilder(); - v739.ll_append(__consts_0.const_str__63); - v741 = ll_str__StringR_StringConst_String ( v738 ); - v739.ll_append(v741); - v739.ll_append(__consts_0.const_str__34); - v744 = v739.ll_build(); - v734.setAttribute(__consts_0.const_str__64,v744); - v746 = create_text_elem ( __consts_0.const_str__88 ); - v747 = v733; - v747.setAttribute(__consts_0.const_str__89,__consts_0.const_str__90); - v749 = v733; - v749.appendChild(v746); - v751 = td_1; - v751.appendChild(v733); - v753 = __consts_0.ExportedMethods; - v754 = v753.show_fail(item_name_7,fail_come_back); - msg_26 = msg_25; - module_part_6 = module_part_5; - td_2 = td_1; - block = 4; - break; - case 4: - v755 = ll_dict_getitem__Dict_String__String__String ( msg_26,__consts_0.const_str__74 ); - v756 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__91,v755 ); - v757 = (v756%5000); - v758 = (v757==0); - v759 = v758; - module_part_7 = module_part_6; - td_3 = td_2; - v760 = msg_26; - if (v759 == false) - { - block = 5; - break; - } - msg_27 = msg_26; - module_part_8 = module_part_6; - td_4 = td_2; - block = 7; - break; - case 5: - v761 = ll_dict_getitem__Dict_String__String__String ( v760,__consts_0.const_str__74 ); - v762 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__91,v761 ); - v763 = (v762+1); - __consts_0.const_tuple__91[v761]=v763; - v765 = ll_strconcat__String_String ( __consts_0.const_str__92,v761 ); - v766 = get_elem ( v765 ); - v767 = ll_dict_getitem__Dict_String__String__String ( __consts_0.const_tuple__93,v761 ); - v768 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__91,v761 ); - v769 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__94,v761 ); - v770 = new Object(); - v770.item0 = v767; - v770.item1 = v768; - v770.item2 = v769; - v774 = v770.item0; - v775 = v770.item1; - v776 = v770.item2; - v777 = new StringBuilder(); - v778 = ll_str__StringR_StringConst_String ( v774 ); - v777.ll_append(v778); - v777.ll_append(__consts_0.const_str__78); - v781 = v775.toString(); - v777.ll_append(v781); - v777.ll_append(__consts_0.const_str__95); - v784 = v776.toString(); - v777.ll_append(v784); - v777.ll_append(__consts_0.const_str__42); - v787 = v777.ll_build(); - v788 = v766.childNodes; - v789 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v788,0 ); - v789.nodeValue = v787; - v791 = module_part_7.childNodes; - v792 = ll_getitem__dum_nocheckConst_List_ExternalType__Signed ( v791,-1 ); - v793 = v792; - v793.appendChild(td_3); - block = 6; - break; - case 7: - v795 = create_elem ( __consts_0.const_str__21 ); - v796 = module_part_8; - v796.appendChild(v795); - module_part_7 = module_part_8; - td_3 = td_4; - v760 = msg_27; - block = 5; - break; - case 8: - v798 = ll_dict_getitem__Dict_String__String__String ( msg_28,__consts_0.const_str__86 ); - v799 = ll_streq__String_String ( v798,__consts_0.const_str__96 ); - v800 = !v799; - v801 = v800; - msg_25 = msg_28; - module_part_5 = module_part_9; - item_name_7 = item_name_8; - td_1 = td_5; - if (v801 == false) - { - block = 3; - break; - } - msg_29 = msg_28; - module_part_10 = module_part_9; - item_name_9 = item_name_8; - td_6 = td_5; - block = 9; - break; - case 9: - v802 = __consts_0.ExportedMethods; - v803 = v802.show_skip(item_name_9,skip_come_back); - v804 = create_elem ( __consts_0.const_str__62 ); - v805 = v804; - v806 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__58 ); - v807 = new Object(); - v807.item0 = v806; - v809 = v807.item0; - v810 = new StringBuilder(); - v810.ll_append(__consts_0.const_str__97); - v812 = ll_str__StringR_StringConst_String ( v809 ); - v810.ll_append(v812); - v810.ll_append(__consts_0.const_str__34); - v815 = v810.ll_build(); - v805.setAttribute(__consts_0.const_str__64,v815); - v817 = create_text_elem ( __consts_0.const_str__98 ); - v818 = v804; - v818.appendChild(v817); - v820 = td_6; - v820.appendChild(v804); - msg_26 = msg_29; - module_part_6 = module_part_10; - td_2 = td_6; - block = 4; - break; - case 10: - v822 = create_text_elem ( __consts_0.const_str__99 ); - v823 = td_7; - v823.appendChild(v822); - msg_26 = msg_30; - module_part_6 = module_part_11; - td_2 = td_7; - block = 4; - break; - case 11: - v825 = __consts_0.Document; - v826 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__75 ); - v827 = v825.getElementById(v826); - v828 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; - v829 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__75 ); - v830 = ll_dict_getitem__Dict_String__List_String___String ( v828,v829 ); - v831 = v830; - v832 = ll_pop_default__dum_nocheckConst_List_String_ ( v831 ); - v833 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; - v834 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__75 ); - v835 = ll_dict_getitem__Dict_String__List_String___String ( v833,v834 ); - v836 = ll_len__List_String_ ( v835 ); - v837 = __consts_0.py____test_rsession_webjs_Globals.ohost_dict; - v838 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__75 ); - v839 = ll_dict_getitem__Dict_String__String__String ( v837,v838 ); - v840 = new Object(); - v840.item0 = v839; - v840.item1 = v836; - v843 = v840.item0; - v844 = v840.item1; - v845 = new StringBuilder(); - v846 = ll_str__StringR_StringConst_String ( v843 ); - v845.ll_append(v846); - v845.ll_append(__consts_0.const_str__78); - v849 = ll_int_str__IntegerR_SignedConst_Signed ( v844 ); - v845.ll_append(v849); - v845.ll_append(__consts_0.const_str__42); - v852 = v845.ll_build(); - v853 = v827.childNodes; - v854 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v853,0 ); - v854.nodeValue = v852; - msg_23 = msg_31; - module_part_3 = module_part_12; - block = 1; - break; - case 6: - return ( undefined ); - } - } -} - -function fail_come_back (msg_21) { - var v697,v698,v699,v700,v704; - var block = 0; - for(;;){ - switch(block){ - case 0: - v697 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__100 ); - v698 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__101 ); - v699 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__102 ); - v700 = new Object(); - v700.item0 = v697; - v700.item1 = v698; - v700.item2 = v699; - v704 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__103 ); - __consts_0.const_tuple[v704]=v700; - block = 1; - break; - case 1: - return ( undefined ); + return ( v663 ); } } } @@ -2786,80 +2403,6 @@ function ll_append__List_Dict_String__String___Dict_String__String_ (l_9,newitem } } -function make_module_box (msg_32) { - var v877,v878,v879,v880,v882,v883,v884,v885,v888,v889,v890,v891,v894,v897,v898,v900,v901,v902,v904,v905,v907,v908,v910,v911,v912,v914,v915,v917,v920,v922,v924,v925,v927,v928,v930,v931,v933,v935; - var block = 0; - for(;;){ - switch(block){ - case 0: - v878 = create_elem ( __consts_0.const_str__21 ); - v879 = create_elem ( __consts_0.const_str__22 ); - v880 = v878; - v880.appendChild(v879); - v882 = v879; - v883 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__104 ); - v884 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__105 ); - v885 = new Object(); - v885.item0 = v883; - v885.item1 = v884; - v888 = v885.item0; - v889 = v885.item1; - v890 = new StringBuilder(); - v891 = ll_str__StringR_StringConst_String ( v888 ); - v890.ll_append(v891); - v890.ll_append(__consts_0.const_str__106); - v894 = ll_str__StringR_StringConst_String ( v889 ); - v890.ll_append(v894); - v890.ll_append(__consts_0.const_str__42); - v897 = v890.ll_build(); - v898 = create_text_elem ( v897 ); - v882.appendChild(v898); - v900 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__105 ); - v901 = ll_int__String_Signed ( v900,10 ); - v902 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); - __consts_0.const_tuple__94[v902]=v901; - v904 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__104 ); - v905 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); - __consts_0.const_tuple__93[v905]=v904; - v907 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); - v908 = ll_strconcat__String_String ( __consts_0.const_str__92,v907 ); - v879.id = v908; - v910 = v879; - v911 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); - v912 = new Object(); - v912.item0 = v911; - v914 = v912.item0; - v915 = new StringBuilder(); - v915.ll_append(__consts_0.const_str__83); - v917 = ll_str__StringR_StringConst_String ( v914 ); - v915.ll_append(v917); - v915.ll_append(__consts_0.const_str__34); - v920 = v915.ll_build(); - v910.setAttribute(__consts_0.const_str__35,v920); - v922 = v879; - v922.setAttribute(__consts_0.const_str__36,__consts_0.const_str__84); - v924 = create_elem ( __consts_0.const_str__22 ); - v925 = v878; - v925.appendChild(v924); - v927 = create_elem ( __consts_0.const_str__107 ); - v928 = v924; - v928.appendChild(v927); - v930 = create_elem ( __consts_0.const_str__20 ); - v931 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); - v930.id = v931; - v933 = v927; - v933.appendChild(v930); - v935 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); - __consts_0.const_tuple__91[v935]=0; - v877 = v878; - block = 1; - break; - case 1: - return ( v877 ); - } - } -} - function ll_int_str__IntegerR_SignedConst_Signed (i_6) { var v875,v876; var block = 0; @@ -2876,6 +2419,142 @@ function ll_int_str__IntegerR_SignedConst_Signed (i_6) { } } +function fail_come_back (msg_21) { + var v697,v698,v699,v700,v704; + var block = 0; + for(;;){ + switch(block){ + case 0: + v697 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__79 ); + v698 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__80 ); + v699 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__81 ); + v700 = new Object(); + v700.item0 = v697; + v700.item1 = v698; + v700.item2 = v699; + v704 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__82 ); + __consts_0.const_tuple__25[v704]=v700; + block = 1; + break; + case 1: + return ( undefined ); + } + } +} + +function make_module_box (msg_32) { + var v877,v878,v879,v880,v882,v883,v884,v885,v888,v889,v890,v891,v894,v897,v898,v900,v901,v902,v904,v905,v907,v908,v910,v911,v912,v914,v915,v917,v920,v922,v924,v925,v927,v928,v930,v931,v933,v935; + var block = 0; + for(;;){ + switch(block){ + case 0: + v878 = create_elem ( __consts_0.const_str__18 ); + v879 = create_elem ( __consts_0.const_str__19 ); + v880 = v878; + v880.appendChild(v879); + v882 = v879; + v883 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__83 ); + v884 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__84 ); + v885 = new Object(); + v885.item0 = v883; + v885.item1 = v884; + v888 = v885.item0; + v889 = v885.item1; + v890 = new StringBuilder(); + v891 = ll_str__StringR_StringConst_String ( v888 ); + v890.ll_append(v891); + v890.ll_append(__consts_0.const_str__85); + v894 = ll_str__StringR_StringConst_String ( v889 ); + v890.ll_append(v894); + v890.ll_append(__consts_0.const_str__44); + v897 = v890.ll_build(); + v898 = create_text_elem ( v897 ); + v882.appendChild(v898); + v900 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__84 ); + v901 = ll_int__String_Signed ( v900,10 ); + v902 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); + __consts_0.const_tuple__86[v902]=v901; + v904 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__83 ); + v905 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); + __consts_0.const_tuple__87[v905]=v904; + v907 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); + v908 = ll_strconcat__String_String ( __consts_0.const_str__88,v907 ); + v879.id = v908; + v910 = v879; + v911 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); + v912 = new Object(); + v912.item0 = v911; + v914 = v912.item0; + v915 = new StringBuilder(); + v915.ll_append(__consts_0.const_str__89); + v917 = ll_str__StringR_StringConst_String ( v914 ); + v915.ll_append(v917); + v915.ll_append(__consts_0.const_str__33); + v920 = v915.ll_build(); + v910.setAttribute(__consts_0.const_str__34,v920); + v922 = v879; + v922.setAttribute(__consts_0.const_str__35,__consts_0.const_str__90); + v924 = create_elem ( __consts_0.const_str__19 ); + v925 = v878; + v925.appendChild(v924); + v927 = create_elem ( __consts_0.const_str__91 ); + v928 = v924; + v928.appendChild(v927); + v930 = create_elem ( __consts_0.const_str__17 ); + v931 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); + v930.id = v931; + v933 = v927; + v933.appendChild(v930); + v935 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__58 ); + __consts_0.const_tuple__92[v935]=0; + v877 = v878; + block = 1; + break; + case 1: + return ( v877 ); + } + } +} + +function ll_newlist__List_Dict_String__String__LlT_Signed_0 (length_5) { + var v937,v938,v939; + var block = 0; + for(;;){ + switch(block){ + case 0: + v938 = new Array(); + v939 = v938; + v939.length = length_5; + v937 = v938; + block = 1; + break; + case 1: + return ( v937 ); + } + } +} + +function show_crash () { + var v675,v676,v677,v678; + var block = 0; + for(;;){ + switch(block){ + case 0: + __consts_0.py____test_rsession_webjs_Globals.ofinished = true; + __consts_0.Document.title = __consts_0.const_str__93; + v675 = __consts_0.Document; + v676 = v675.getElementById(__consts_0.const_str__41); + v677 = v676.childNodes; + v678 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalType__Signed ( v677,0 ); + v678.nodeValue = __consts_0.const_str__94; + block = 1; + break; + case 1: + return ( undefined ); + } + } +} + function ll_prepend__List_String__String (l_10,newitem_1) { var v857,v858,v859,v860,l_11,newitem_2,dst_0,v862,v863,newitem_3,v864,v865,l_12,newitem_4,dst_1,v867,v868,v869,v870; var block = 0; @@ -2929,158 +2608,857 @@ function ll_prepend__List_String__String (l_10,newitem_1) { } } -function ll_getitem__dum_nocheckConst_List_ExternalType__Signed (l_14,index_5) { - var v954,v955,v956,v957,v958,l_15,index_6,length_6,v959,v961,index_7,v963,v964,v965,l_16,length_7,v966,v967; +function scroll_down_if_needed (mbox_2) { + var v666,v667,v668,v669,v670; var block = 0; for(;;){ switch(block){ case 0: - v955 = l_14; - v956 = v955.length; - v957 = (index_5<0); - v958 = v957; - l_15 = l_14; - index_6 = index_5; - length_6 = v956; - if (v958 == false) + v666 = __consts_0.py____test_rsession_webjs_Options.oscroll; + v667 = v666; + if (v667 == false) { block = 1; break; } - l_16 = l_14; - length_7 = v956; - v966 = index_5; - block = 4; - break; - case 1: - v959 = (index_6>=0); - undefined; - v961 = (index_60); - undefined; - v977 = (length_8-1); - v978 = l_18; - v979 = v978[v977]; - ll_null_item__List_String_ ( l_18 ); - res_0 = v979; - newlength_0 = v977; - v981 = l_18; - block = 2; - break; - case 2: - v982 = v981; - v982.length = newlength_0; - v972 = res_0; - block = 3; - break; - case 3: - return ( v972 ); + return ( undefined ); } } } -function ll_dict_getitem__Dict_String__Signed__String (d_4,key_8) { - var v944,v945,v946,v947,v948,v949,v950,etype_6,evalue_6,key_9,v951,v952,v953; +function ll_int__String_Signed (s_2,base_0) { + var v943,v944,v945,v946,v947,v948,etype_6,evalue_6,s_3,base_1,v949,s_4,base_2,v950,v951,s_5,base_3,v952,v953,s_6,base_4,i_8,strlen_0,v954,v955,s_7,base_5,i_9,strlen_1,v956,v957,v958,v959,v960,s_8,base_6,i_10,strlen_2,v961,v962,v963,v964,s_9,base_7,i_11,strlen_3,v965,v966,v967,v968,s_10,base_8,val_0,i_12,sign_0,strlen_4,v969,v970,s_11,val_1,i_13,sign_1,strlen_5,v971,v972,val_2,sign_2,v973,v974,v975,v976,v977,v978,v979,v980,v981,v982,s_12,val_3,i_14,sign_3,strlen_6,v983,v984,v985,v986,s_13,val_4,sign_4,strlen_7,v987,v988,s_14,base_9,val_5,i_15,sign_5,strlen_8,v989,v990,v991,v992,v993,s_15,base_10,c_0,val_6,i_16,sign_6,strlen_9,v994,v995,s_16,base_11,c_1,val_7,i_17,sign_7,strlen_10,v996,v997,s_17,base_12,c_2,val_8,i_18,sign_8,strlen_11,v998,s_18,base_13,c_3,val_9,i_19,sign_9,strlen_12,v999,v1000,s_19,base_14,val_10,i_20,sign_10,strlen_13,v1001,v1002,s_20,base_15,val_11,i_21,digit_0,sign_11,strlen_14,v1003,v1004,s_21,base_16,i_22,digit_1,sign_12,strlen_15,v1005,v1006,v1007,v1008,s_22,base_17,c_4,val_12,i_23,sign_13,strlen_16,v1009,s_23,base_18,c_5,val_13,i_24,sign_14,strlen_17,v1010,v1011,s_24,base_19,val_14,i_25,sign_15,strlen_18,v1012,v1013,v1014,s_25,base_20,c_6,val_15,i_26,sign_16,strlen_19,v1015,s_26,base_21,c_7,val_16,i_27,sign_17,strlen_20,v1016,v1017,s_27,base_22,val_17,i_28,sign_18,strlen_21,v1018,v1019,v1020,s_28,base_23,strlen_22,v1021,v1022,s_29,base_24,strlen_23,v1023,v1024,s_30,base_25,i_29,strlen_24,v1025,v1026,v1027,v1028,s_31,base_26,strlen_25,v1029,v1030; var block = 0; for(;;){ switch(block){ case 0: - v945 = d_4; - v946 = (v945[key_8]!=undefined); - v947 = v946; - if (v947 == false) + v944 = (2<=base_0); + v945 = v944; + if (v945 == false) { block = 1; break; } - key_9 = key_8; - v951 = d_4; + s_3 = s_2; + base_1 = base_0; block = 3; break; case 1: - v948 = __consts_0.exceptions_KeyError; - v949 = v948.meta; - v950 = v948; - etype_6 = v949; - evalue_6 = v950; + v946 = __consts_0.exceptions_ValueError; + v947 = v946.meta; + v948 = v946; + etype_6 = v947; + evalue_6 = v948; block = 2; break; case 3: - v952 = v951; - v953 = v952[key_9]; - v944 = v953; + v949 = (base_1<=36); + s_4 = s_3; + base_2 = base_1; + v950 = v949; block = 4; break; + case 4: + v951 = v950; + if (v951 == false) + { + block = 1; + break; + } + s_5 = s_4; + base_3 = base_2; + block = 5; + break; + case 5: + v952 = s_5; + v953 = v952.length; + s_6 = s_5; + base_4 = base_3; + i_8 = 0; + strlen_0 = v953; + block = 6; + break; + case 6: + v954 = (i_8=base_15); + v1004 = v1003; + s_21 = s_20; + base_16 = base_15; + i_22 = i_21; + digit_1 = digit_0; + sign_12 = sign_11; + strlen_15 = strlen_14; + v1005 = val_11; + if (v1004 == false) + { + block = 26; + break; + } + s_11 = s_20; + val_1 = val_11; + i_13 = i_21; + sign_1 = sign_11; + strlen_5 = strlen_14; + block = 12; + break; + case 26: + v1006 = (v1005*base_16); + v1007 = (v1006+digit_1); + v1008 = (i_22+1); + s_10 = s_21; + base_8 = base_16; + val_0 = v1007; + i_12 = v1008; + sign_0 = sign_12; + strlen_4 = strlen_15; + block = 11; + break; + case 27: + v1009 = (c_4<=90); + s_23 = s_22; + base_18 = base_17; + c_5 = c_4; + val_13 = val_12; + i_24 = i_23; + sign_14 = sign_13; + strlen_17 = strlen_16; + v1010 = v1009; + block = 28; + break; + case 28: + v1011 = v1010; + s_16 = s_23; + base_11 = base_18; + c_1 = c_5; + val_7 = val_13; + i_17 = i_24; + sign_7 = sign_14; + strlen_10 = strlen_17; + if (v1011 == false) + { + block = 21; + break; + } + s_24 = s_23; + base_19 = base_18; + val_14 = val_13; + i_25 = i_24; + sign_15 = sign_14; + strlen_18 = strlen_17; + v1012 = c_5; + block = 29; + break; + case 29: + v1013 = (v1012-65); + v1014 = (v1013+10); + s_20 = s_24; + base_15 = base_19; + val_11 = val_14; + i_21 = i_25; + digit_0 = v1014; + sign_11 = sign_15; + strlen_14 = strlen_18; + block = 25; + break; + case 30: + v1015 = (c_6<=122); + s_26 = s_25; + base_21 = base_20; + c_7 = c_6; + val_16 = val_15; + i_27 = i_26; + sign_17 = sign_16; + strlen_20 = strlen_19; + v1016 = v1015; + block = 31; + break; + case 31: + v1017 = v1016; + s_15 = s_26; + base_10 = base_21; + c_0 = c_7; + val_6 = val_16; + i_16 = i_27; + sign_6 = sign_17; + strlen_9 = strlen_20; + if (v1017 == false) + { + block = 20; + break; + } + s_27 = s_26; + base_22 = base_21; + val_17 = val_16; + i_28 = i_27; + sign_18 = sign_17; + strlen_21 = strlen_20; + v1018 = c_7; + block = 32; + break; + case 32: + v1019 = (v1018-97); + v1020 = (v1019+10); + s_20 = s_27; + base_15 = base_22; + val_11 = val_17; + i_21 = i_28; + digit_0 = v1020; + sign_11 = sign_18; + strlen_14 = strlen_21; + block = 25; + break; + case 33: + v1022 = (v1021+1); + s_10 = s_28; + base_8 = base_23; + val_0 = 0; + i_12 = v1022; + sign_0 = 1; + strlen_4 = strlen_22; + block = 11; + break; + case 34: + v1024 = (v1023+1); + s_10 = s_29; + base_8 = base_24; + val_0 = 0; + i_12 = v1024; + sign_0 = -1; + strlen_4 = strlen_23; + block = 11; + break; + case 35: + v1025 = s_30; + v1026 = v1025.charAt(i_29); + v1027 = (v1026==' '); + v1028 = v1027; + s_7 = s_30; + base_5 = base_25; + i_9 = i_29; + strlen_1 = strlen_24; + if (v1028 == false) + { + block = 7; + break; + } + s_31 = s_30; + base_26 = base_25; + strlen_25 = strlen_24; + v1029 = i_29; + block = 36; + break; + case 36: + v1030 = (v1029+1); + s_6 = s_31; + base_4 = base_26; + i_8 = v1030; + strlen_0 = strlen_25; + block = 6; + break; case 2: throw(evalue_6); - case 4: - return ( v944 ); + case 16: + return ( v943 ); } } } -function ll_int2dec__Signed (i_29) { - var v1072,v1073; +function ll_int2dec__Signed (i_7) { + var v941,v942; var block = 0; for(;;){ switch(block){ case 0: - v1073 = i_29.toString(); - v1072 = v1073; - block = 1; - break; - case 1: - return ( v1072 ); - } - } -} - -function ll_strlen__String (obj_1) { - var v941,v942,v943; - var block = 0; - for(;;){ - switch(block){ - case 0: - v942 = obj_1; - v943 = v942.length; - v941 = v943; + v942 = i_7.toString(); + v941 = v942; block = 1; break; case 1: @@ -3089,15 +3467,167 @@ function ll_strlen__String (obj_1) { } } -function skip_come_back (msg_33) { - var v969,v970; +function ll_dict_getitem__Dict_String__Signed__String (d_4,key_8) { + var v1034,v1035,v1036,v1037,v1038,v1039,v1040,etype_7,evalue_7,key_9,v1041,v1042,v1043; var block = 0; for(;;){ switch(block){ case 0: - v969 = ll_dict_getitem__Dict_String__String__String ( msg_33,__consts_0.const_str__59 ); - v970 = ll_dict_getitem__Dict_String__String__String ( msg_33,__consts_0.const_str__103 ); - __consts_0.const_tuple__28[v970]=v969; + v1035 = d_4; + v1036 = (v1035[key_8]!=undefined); + v1037 = v1036; + if (v1037 == false) + { + block = 1; + break; + } + key_9 = key_8; + v1041 = d_4; + block = 3; + break; + case 1: + v1038 = __consts_0.exceptions_KeyError; + v1039 = v1038.meta; + v1040 = v1038; + etype_7 = v1039; + evalue_7 = v1040; + block = 2; + break; + case 3: + v1042 = v1041; + v1043 = v1042[key_9]; + v1034 = v1043; + block = 4; + break; + case 2: + throw(evalue_7); + case 4: + return ( v1034 ); + } + } +} + +function ll_pop_default__dum_nocheckConst_List_String_ (l_17) { + var v1062,v1063,v1064,l_18,length_8,v1065,v1067,v1068,v1069,res_0,newlength_0,v1071,v1072; + var block = 0; + for(;;){ + switch(block){ + case 0: + v1063 = l_17; + v1064 = v1063.length; + l_18 = l_17; + length_8 = v1064; + block = 1; + break; + case 1: + v1065 = (length_8>0); + undefined; + v1067 = (length_8-1); + v1068 = l_18; + v1069 = v1068[v1067]; + ll_null_item__List_String_ ( l_18 ); + res_0 = v1069; + newlength_0 = v1067; + v1071 = l_18; + block = 2; + break; + case 2: + v1072 = v1071; + v1072.length = newlength_0; + v1062 = res_0; + block = 3; + break; + case 3: + return ( v1062 ); + } + } +} + +function ll_getitem__dum_nocheckConst_List_ExternalType__Signed (l_14,index_5) { + var v1044,v1045,v1046,v1047,v1048,l_15,index_6,length_6,v1049,v1051,index_7,v1053,v1054,v1055,l_16,length_7,v1056,v1057; + var block = 0; + for(;;){ + switch(block){ + case 0: + v1045 = l_14; + v1046 = v1045.length; + v1047 = (index_5<0); + v1048 = v1047; + l_15 = l_14; + index_6 = index_5; + length_6 = v1046; + if (v1048 == false) + { + block = 1; + break; + } + l_16 = l_14; + length_7 = v1046; + v1056 = index_5; + block = 4; + break; + case 1: + v1049 = (index_6>=0); + undefined; + v1051 = (index_6' ); +} + +inherits(exceptions_ValueError,exceptions_StandardError); +function ll_strlen__String (obj_1) { + var v1031,v1032,v1033; + var block = 0; + for(;;){ + switch(block){ + case 0: + v1032 = obj_1; + v1033 = v1032.length; + v1031 = v1033; + block = 1; + break; + case 1: + return ( v1031 ); + } + } +} + +function skip_come_back (msg_33) { + var v1059,v1060; + var block = 0; + for(;;){ + switch(block){ + case 0: + v1059 = ll_dict_getitem__Dict_String__String__String ( msg_33,__consts_0.const_str__59 ); + v1060 = ll_dict_getitem__Dict_String__String__String ( msg_33,__consts_0.const_str__82 ); + __consts_0.const_tuple__22[v1060]=v1059; block = 1; break; case 1: @@ -3120,544 +3650,6 @@ function ll_null_item__List_String_ (lst_2) { } } -function ll_int__String_Signed (s_2,base_0) { - var v984,v985,v986,v987,v988,v989,etype_7,evalue_7,s_3,base_1,v990,s_4,base_2,v991,v992,s_5,base_3,v993,v994,s_6,base_4,i_7,strlen_0,v995,v996,s_7,base_5,i_8,strlen_1,v997,v998,v999,v1000,v1001,s_8,base_6,i_9,strlen_2,v1002,v1003,v1004,v1005,s_9,base_7,i_10,strlen_3,v1006,v1007,v1008,v1009,s_10,base_8,val_0,i_11,sign_0,strlen_4,v1010,v1011,s_11,val_1,i_12,sign_1,strlen_5,v1012,v1013,val_2,sign_2,v1014,v1015,v1016,v1017,v1018,v1019,v1020,v1021,v1022,v1023,s_12,val_3,i_13,sign_3,strlen_6,v1024,v1025,v1026,v1027,s_13,val_4,sign_4,strlen_7,v1028,v1029,s_14,base_9,val_5,i_14,sign_5,strlen_8,v1030,v1031,v1032,v1033,v1034,s_15,base_10,c_0,val_6,i_15,sign_6,strlen_9,v1035,v1036,s_16,base_11,c_1,val_7,i_16,sign_7,strlen_10,v1037,v1038,s_17,base_12,c_2,val_8,i_17,sign_8,strlen_11,v1039,s_18,base_13,c_3,val_9,i_18,sign_9,strlen_12,v1040,v1041,s_19,base_14,val_10,i_19,sign_10,strlen_13,v1042,v1043,s_20,base_15,val_11,i_20,digit_0,sign_11,strlen_14,v1044,v1045,s_21,base_16,i_21,digit_1,sign_12,strlen_15,v1046,v1047,v1048,v1049,s_22,base_17,c_4,val_12,i_22,sign_13,strlen_16,v1050,s_23,base_18,c_5,val_13,i_23,sign_14,strlen_17,v1051,v1052,s_24,base_19,val_14,i_24,sign_15,strlen_18,v1053,v1054,v1055,s_25,base_20,c_6,val_15,i_25,sign_16,strlen_19,v1056,s_26,base_21,c_7,val_16,i_26,sign_17,strlen_20,v1057,v1058,s_27,base_22,val_17,i_27,sign_18,strlen_21,v1059,v1060,v1061,s_28,base_23,strlen_22,v1062,v1063,s_29,base_24,strlen_23,v1064,v1065,s_30,base_25,i_28,strlen_24,v1066,v1067,v1068,v1069,s_31,base_26,strlen_25,v1070,v1071; - var block = 0; - for(;;){ - switch(block){ - case 0: - v985 = (2<=base_0); - v986 = v985; - if (v986 == false) - { - block = 1; - break; - } - s_3 = s_2; - base_1 = base_0; - block = 3; - break; - case 1: - v987 = __consts_0.exceptions_ValueError; - v988 = v987.meta; - v989 = v987; - etype_7 = v988; - evalue_7 = v989; - block = 2; - break; - case 3: - v990 = (base_1<=36); - s_4 = s_3; - base_2 = base_1; - v991 = v990; - block = 4; - break; - case 4: - v992 = v991; - if (v992 == false) - { - block = 1; - break; - } - s_5 = s_4; - base_3 = base_2; - block = 5; - break; - case 5: - v993 = s_5; - v994 = v993.length; - s_6 = s_5; - base_4 = base_3; - i_7 = 0; - strlen_0 = v994; - block = 6; - break; - case 6: - v995 = (i_7=base_15); - v1045 = v1044; - s_21 = s_20; - base_16 = base_15; - i_21 = i_20; - digit_1 = digit_0; - sign_12 = sign_11; - strlen_15 = strlen_14; - v1046 = val_11; - if (v1045 == false) - { - block = 26; - break; - } - s_11 = s_20; - val_1 = val_11; - i_12 = i_20; - sign_1 = sign_11; - strlen_5 = strlen_14; - block = 12; - break; - case 26: - v1047 = (v1046*base_16); - v1048 = (v1047+digit_1); - v1049 = (i_21+1); - s_10 = s_21; - base_8 = base_16; - val_0 = v1048; - i_11 = v1049; - sign_0 = sign_12; - strlen_4 = strlen_15; - block = 11; - break; - case 27: - v1050 = (c_4<=90); - s_23 = s_22; - base_18 = base_17; - c_5 = c_4; - val_13 = val_12; - i_23 = i_22; - sign_14 = sign_13; - strlen_17 = strlen_16; - v1051 = v1050; - block = 28; - break; - case 28: - v1052 = v1051; - s_16 = s_23; - base_11 = base_18; - c_1 = c_5; - val_7 = val_13; - i_16 = i_23; - sign_7 = sign_14; - strlen_10 = strlen_17; - if (v1052 == false) - { - block = 21; - break; - } - s_24 = s_23; - base_19 = base_18; - val_14 = val_13; - i_24 = i_23; - sign_15 = sign_14; - strlen_18 = strlen_17; - v1053 = c_5; - block = 29; - break; - case 29: - v1054 = (v1053-65); - v1055 = (v1054+10); - s_20 = s_24; - base_15 = base_19; - val_11 = val_14; - i_20 = i_24; - digit_0 = v1055; - sign_11 = sign_15; - strlen_14 = strlen_18; - block = 25; - break; - case 30: - v1056 = (c_6<=122); - s_26 = s_25; - base_21 = base_20; - c_7 = c_6; - val_16 = val_15; - i_26 = i_25; - sign_17 = sign_16; - strlen_20 = strlen_19; - v1057 = v1056; - block = 31; - break; - case 31: - v1058 = v1057; - s_15 = s_26; - base_10 = base_21; - c_0 = c_7; - val_6 = val_16; - i_15 = i_26; - sign_6 = sign_17; - strlen_9 = strlen_20; - if (v1058 == false) - { - block = 20; - break; - } - s_27 = s_26; - base_22 = base_21; - val_17 = val_16; - i_27 = i_26; - sign_18 = sign_17; - strlen_21 = strlen_20; - v1059 = c_7; - block = 32; - break; - case 32: - v1060 = (v1059-97); - v1061 = (v1060+10); - s_20 = s_27; - base_15 = base_22; - val_11 = val_17; - i_20 = i_27; - digit_0 = v1061; - sign_11 = sign_18; - strlen_14 = strlen_21; - block = 25; - break; - case 33: - v1063 = (v1062+1); - s_10 = s_28; - base_8 = base_23; - val_0 = 0; - i_11 = v1063; - sign_0 = 1; - strlen_4 = strlen_22; - block = 11; - break; - case 34: - v1065 = (v1064+1); - s_10 = s_29; - base_8 = base_24; - val_0 = 0; - i_11 = v1065; - sign_0 = -1; - strlen_4 = strlen_23; - block = 11; - break; - case 35: - v1066 = s_30; - v1067 = v1066.charAt(i_28); - v1068 = (v1067==' '); - v1069 = v1068; - s_7 = s_30; - base_5 = base_25; - i_8 = i_28; - strlen_1 = strlen_24; - if (v1069 == false) - { - block = 7; - break; - } - s_31 = s_30; - base_26 = base_25; - strlen_25 = strlen_24; - v1070 = i_28; - block = 36; - break; - case 36: - v1071 = (v1070+1); - s_6 = s_31; - base_4 = base_26; - i_7 = v1071; - strlen_0 = strlen_25; - block = 6; - break; - case 2: - throw(evalue_7); - case 16: - return ( v984 ); - } - } -} - -function exceptions_ValueError () { -} - -exceptions_ValueError.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_ValueError,exceptions_StandardError); function Object_meta () { this.class_ = __consts_0.None; } @@ -3682,14 +3674,6 @@ exceptions_StopIteration_meta.prototype.toString = function (){ } inherits(exceptions_StopIteration_meta,exceptions_Exception_meta); -function py____test_rsession_webjs_Options_meta () { -} - -py____test_rsession_webjs_Options_meta.prototype.toString = function (){ - return ( '' ); -} - -inherits(py____test_rsession_webjs_Options_meta,Object_meta); function exceptions_StandardError_meta () { } @@ -3714,22 +3698,14 @@ exceptions_KeyError_meta.prototype.toString = function (){ } inherits(exceptions_KeyError_meta,exceptions_LookupError_meta); -function exceptions_AssertionError_meta () { +function py____test_rsession_webjs_Options_meta () { } -exceptions_AssertionError_meta.prototype.toString = function (){ - return ( '' ); +py____test_rsession_webjs_Options_meta.prototype.toString = function (){ + return ( '' ); } -inherits(exceptions_AssertionError_meta,exceptions_StandardError_meta); -function py____magic_assertion_AssertionError_meta () { -} - -py____magic_assertion_AssertionError_meta.prototype.toString = function (){ - return ( '' ); -} - -inherits(py____magic_assertion_AssertionError_meta,exceptions_AssertionError_meta); +inherits(py____test_rsession_webjs_Options_meta,Object_meta); function exceptions_ValueError_meta () { } @@ -3746,148 +3722,156 @@ py____test_rsession_webjs_Globals_meta.prototype.toString = function (){ } inherits(py____test_rsession_webjs_Globals_meta,Object_meta); +function exceptions_AssertionError_meta () { +} + +exceptions_AssertionError_meta.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_AssertionError_meta,exceptions_StandardError_meta); __consts_0 = {}; __consts_0.const_str__71 = ' failures, '; -__consts_0.const_str__33 = "show_host('"; +__consts_0.const_str__32 = "show_host('"; __consts_0.const_str__70 = ' run, '; -__consts_0.const_str__62 = 'a'; -__consts_0.const_str__89 = 'class'; -__consts_0.const_str__42 = ']'; -__consts_0.const_tuple__16 = undefined; -__consts_0.py____test_rsession_webjs_Options__118 = py____test_rsession_webjs_Options; -__consts_0.py____test_rsession_webjs_Options_meta = new py____test_rsession_webjs_Options_meta(); -__consts_0.py____test_rsession_webjs_Options = new py____test_rsession_webjs_Options(); -__consts_0.const_str__51 = 'ReceivedItemOutcome'; -__consts_0.const_str__83 = "show_info('"; -__consts_0.const_str__60 = '- skipped ('; -__consts_0.const_str__37 = 'hide_host()'; -__consts_0.const_str__84 = 'hide_info()'; -__consts_0.const_str__27 = '#message'; -__consts_0.ExportedMethods = new ExportedMethods(); -__consts_0.const_str__20 = 'tbody'; -__consts_0.const_str__79 = 'Py.test [crashed]'; -__consts_0.const_str__61 = ')'; -__consts_0.const_str__46 = 'main_table'; -__consts_0.const_str__82 = 'Tests [interrupted]'; -__consts_0.exceptions_KeyError__114 = exceptions_KeyError; -__consts_0.const_str__34 = "')"; -__consts_0.const_str__55 = 'RsyncFinished'; __consts_0.exceptions_StopIteration__116 = exceptions_StopIteration; __consts_0.exceptions_StopIteration_meta = new exceptions_StopIteration_meta(); -__consts_0.const_list__120 = []; -__consts_0.Window = window; -__consts_0.const_str__92 = '_txt_'; -__consts_0.exceptions_ValueError__110 = exceptions_ValueError; -__consts_0.exceptions_ValueError_meta = new exceptions_ValueError_meta(); -__consts_0.py____test_rsession_webjs_Globals__121 = py____test_rsession_webjs_Globals; -__consts_0.py____test_rsession_webjs_Globals_meta = new py____test_rsession_webjs_Globals_meta(); -__consts_0.const_str__101 = 'stdout'; -__consts_0.const_str = 'aa'; -__consts_0.const_str__90 = 'error'; +__consts_0.const_str__62 = 'a'; +__consts_0.const_str__99 = 'class'; +__consts_0.const_str__44 = ']'; +__consts_0.const_tuple__10 = undefined; __consts_0.const_str__72 = ' skipped'; +__consts_0.const_tuple__86 = {}; +__consts_0.const_str__51 = 'ReceivedItemOutcome'; +__consts_0.const_str__89 = "show_info('"; +__consts_0.const_str__60 = '- skipped ('; +__consts_0.const_str__36 = 'hide_host()'; +__consts_0.const_str__90 = 'hide_info()'; +__consts_0.const_str__39 = '#message'; +__consts_0.ExportedMethods = new ExportedMethods(); +__consts_0.const_str__17 = 'tbody'; +__consts_0.exceptions_AssertionError__112 = exceptions_AssertionError; +__consts_0.exceptions_AssertionError_meta = new exceptions_AssertionError_meta(); +__consts_0.exceptions_AssertionError = new exceptions_AssertionError(); +__consts_0.const_str__61 = ')'; +__consts_0.const_str__46 = 'main_table'; +__consts_0.const_str__107 = 'Tests [interrupted]'; +__consts_0.exceptions_KeyError__114 = exceptions_KeyError; +__consts_0.const_str__33 = "')"; +__consts_0.const_str__55 = 'RsyncFinished'; +__consts_0.Window = window; +__consts_0.const_str__88 = '_txt_'; +__consts_0.exceptions_KeyError_meta = new exceptions_KeyError_meta(); +__consts_0.const_str__80 = 'stdout'; +__consts_0.const_str = 'aa'; +__consts_0.const_str__100 = 'error'; +__consts_0.exceptions_StopIteration = new exceptions_StopIteration(); __consts_0.const_str__69 = 'FINISHED '; -__consts_0.const_str__40 = 'Rsyncing'; -__consts_0.const_str__29 = 'info'; -__consts_0.const_str__22 = 'td'; -__consts_0.const_str__43 = 'true'; -__consts_0.const_tuple__91 = {}; -__consts_0.py____magic_assertion_AssertionError__112 = py____magic_assertion_AssertionError; -__consts_0.const_str__88 = 'F'; -__consts_0.const_str__36 = 'onmouseout'; +__consts_0.const_tuple = undefined; +__consts_0.const_str__42 = 'Rsyncing'; +__consts_0.const_str__14 = 'info'; +__consts_0.const_str__15 = 'hidden'; +__consts_0.const_str__13 = 'true'; +__consts_0.exceptions_ValueError__110 = exceptions_ValueError; +__consts_0.const_str__98 = 'F'; +__consts_0.const_str__35 = 'onmouseout'; __consts_0.const_str__47 = 'type'; -__consts_0.const_str__105 = 'length'; -__consts_0.const_str__85 = 'passed'; -__consts_0.const_str__99 = '.'; +__consts_0.const_str__95 = 'passed'; +__consts_0.const_str__105 = '.'; __consts_0.const_str__53 = 'FailedTryiter'; -__consts_0.const_tuple__93 = {}; -__consts_0.const_str__32 = '#ff0000'; -__consts_0.const_str__8 = 'checked'; -__consts_0.const_str__10 = 'messagebox'; +__consts_0.const_str__31 = '#ff0000'; +__consts_0.const_str__5 = 'checked'; +__consts_0.const_str__11 = 'messagebox'; __consts_0.const_str__58 = 'fullitemname'; -__consts_0.const_str__107 = 'table'; -__consts_0.const_str__64 = 'href'; +__consts_0.const_str__91 = 'table'; +__consts_0.exceptions_ValueError_meta = new exceptions_ValueError_meta(); +__consts_0.const_str__73 = 'Py.test '; __consts_0.const_str__68 = 'skips'; __consts_0.const_str__57 = 'CrashedExecution'; -__consts_0.const_tuple__28 = {}; -__consts_0.const_str__15 = '\n'; -__consts_0.const_tuple__18 = undefined; -__consts_0.const_str__5 = ''; -__consts_0.py____test_rsession_webjs_Globals = new py____test_rsession_webjs_Globals(); -__consts_0.const_str__25 = 'pre'; -__consts_0.const_str__81 = 'Py.test [interrupted]'; -__consts_0.const_str__13 = '\n======== Stdout: ========\n'; +__consts_0.const_str__29 = '\n'; +__consts_0.const_tuple__22 = {}; +__consts_0.const_str__37 = 'pre'; +__consts_0.const_str__106 = 'Py.test [interrupted]'; +__consts_0.const_str__27 = '\n======== Stdout: ========\n'; __consts_0.const_str__76 = '#00ff00'; -__consts_0.const_str__30 = 'beige'; -__consts_0.const_str__98 = 's'; -__consts_0.py____magic_assertion_AssertionError_meta = new py____magic_assertion_AssertionError_meta(); -__consts_0.const_str__100 = 'traceback'; +__consts_0.const_str__24 = 'beige'; +__consts_0.const_str__84 = 'length'; +__consts_0.py____test_rsession_webjs_Globals__121 = py____test_rsession_webjs_Globals; +__consts_0.py____test_rsession_webjs_Globals_meta = new py____test_rsession_webjs_Globals_meta(); +__consts_0.const_list__120 = []; +__consts_0.const_str__7 = ''; +__consts_0.py____test_rsession_webjs_Globals = new py____test_rsession_webjs_Globals(); +__consts_0.const_str__79 = 'traceback'; __consts_0.const_str__45 = 'testmain'; -__consts_0.const_str__97 = "javascript:show_skip('"; +__consts_0.const_str__103 = "javascript:show_skip('"; __consts_0.const_str__78 = '['; -__consts_0.const_str__80 = 'Tests [crashed]'; +__consts_0.const_str__94 = 'Tests [crashed]'; __consts_0.const_str__59 = 'reason'; __consts_0.const_str__63 = "javascript:show_traceback('"; -__consts_0.const_str__39 = 'Tests'; -__consts_0.exceptions_KeyError_meta = new exceptions_KeyError_meta(); +__consts_0.const_str__41 = 'Tests'; +__consts_0.const_tuple__87 = {}; +__consts_0.const_str__104 = 's'; __consts_0.const_str__66 = 'run'; __consts_0.const_str__54 = 'SkippedTryiter'; -__consts_0.const_str__87 = 'None'; -__consts_0.const_str__9 = 'True'; -__consts_0.const_str__95 = '/'; -__consts_0.exceptions_ValueError = new exceptions_ValueError(); +__consts_0.const_str__97 = 'None'; +__consts_0.const_str__6 = 'True'; +__consts_0.const_str__101 = '/'; +__consts_0.const_tuple__25 = {}; __consts_0.const_str__75 = 'hostkey'; __consts_0.const_str__67 = 'fails'; +__consts_0.const_tuple__92 = {}; __consts_0.const_str__48 = 'ItemStart'; -__consts_0.const_str__104 = 'itemname'; +__consts_0.const_str__83 = 'itemname'; __consts_0.const_str__52 = 'TestFinished'; -__consts_0.const_str__2 = 'jobs'; -__consts_0.const_str__14 = '\n========== Stderr: ==========\n'; -__consts_0.py____magic_assertion_AssertionError = new py____magic_assertion_AssertionError(); -__consts_0.exceptions_StopIteration = new exceptions_StopIteration(); -__consts_0.const_list = undefined; -__consts_0.const_str__102 = 'stderr'; -__consts_0.const_str__73 = 'Py.test '; +__consts_0.const_str__16 = 'jobs'; +__consts_0.py____test_rsession_webjs_Options__118 = py____test_rsession_webjs_Options; +__consts_0.const_str__28 = '\n========== Stderr: ==========\n'; +__consts_0.py____test_rsession_webjs_Options_meta = new py____test_rsession_webjs_Options_meta(); +__consts_0.py____test_rsession_webjs_Options = new py____test_rsession_webjs_Options(); +__consts_0.exceptions_ValueError = new exceptions_ValueError(); +__consts_0.const_str__81 = 'stderr'; +__consts_0.const_str__64 = 'href'; __consts_0.exceptions_KeyError = new exceptions_KeyError(); -__consts_0.const_str__23 = 'visible'; -__consts_0.const_str__96 = 'False'; +__consts_0.const_str__20 = 'visible'; +__consts_0.const_str__102 = 'False'; __consts_0.const_str__50 = 'HostRSyncRootReady'; -__consts_0.const_str__35 = 'onmouseover'; +__consts_0.const_str__34 = 'onmouseover'; __consts_0.const_str__65 = '- FAILED TO LOAD MODULE'; -__consts_0.const_str__106 = '[0/'; -__consts_0.const_tuple = {}; +__consts_0.const_str__85 = '[0/'; __consts_0.const_str__49 = 'SendItem'; __consts_0.const_str__74 = 'fullmodulename'; -__consts_0.const_str__86 = 'skipped'; -__consts_0.const_str__31 = 'hostsbody'; +__consts_0.const_str__96 = 'skipped'; +__consts_0.const_str__30 = 'hostsbody'; __consts_0.const_str__77 = '[0]'; -__consts_0.const_str__3 = 'hidden'; -__consts_0.const_str__12 = '====== Traceback: =========\n'; -__consts_0.const_str__21 = 'tr'; -__consts_0.const_str__103 = 'item_name'; -__consts_0.const_str__41 = 'Tests ['; +__consts_0.const_list = undefined; +__consts_0.const_str__19 = 'td'; +__consts_0.const_str__26 = '====== Traceback: =========\n'; +__consts_0.const_str__18 = 'tr'; +__consts_0.const_str__82 = 'item_name'; +__consts_0.const_str__43 = 'Tests ['; __consts_0.Document = document; -__consts_0.const_tuple__94 = {}; +__consts_0.const_str__93 = 'Py.test [crashed]'; __consts_0.const_str__56 = 'InterruptedExecution'; -__consts_0.const_str__7 = 'opt_scroll'; -__consts_0.py____test_rsession_webjs_Options_meta.class_ = __consts_0.py____test_rsession_webjs_Options__118; -__consts_0.py____test_rsession_webjs_Options.meta = __consts_0.py____test_rsession_webjs_Options_meta; -__consts_0.py____test_rsession_webjs_Options.oscroll = true; +__consts_0.const_str__4 = 'opt_scroll'; __consts_0.exceptions_StopIteration_meta.class_ = __consts_0.exceptions_StopIteration__116; +__consts_0.exceptions_AssertionError_meta.class_ = __consts_0.exceptions_AssertionError__112; +__consts_0.exceptions_AssertionError.meta = __consts_0.exceptions_AssertionError_meta; +__consts_0.exceptions_KeyError_meta.class_ = __consts_0.exceptions_KeyError__114; +__consts_0.exceptions_StopIteration.meta = __consts_0.exceptions_StopIteration_meta; __consts_0.exceptions_ValueError_meta.class_ = __consts_0.exceptions_ValueError__110; __consts_0.py____test_rsession_webjs_Globals_meta.class_ = __consts_0.py____test_rsession_webjs_Globals__121; __consts_0.py____test_rsession_webjs_Globals.odata_empty = true; -__consts_0.py____test_rsession_webjs_Globals.osessid = __consts_0.const_str__5; -__consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__5; +__consts_0.py____test_rsession_webjs_Globals.osessid = __consts_0.const_str__7; +__consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__7; __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; __consts_0.py____test_rsession_webjs_Globals.ofinished = false; -__consts_0.py____test_rsession_webjs_Globals.ohost_dict = __consts_0.const_tuple__16; +__consts_0.py____test_rsession_webjs_Globals.ohost_dict = __consts_0.const_tuple; __consts_0.py____test_rsession_webjs_Globals.meta = __consts_0.py____test_rsession_webjs_Globals_meta; __consts_0.py____test_rsession_webjs_Globals.opending = __consts_0.const_list__120; __consts_0.py____test_rsession_webjs_Globals.orsync_done = false; -__consts_0.py____test_rsession_webjs_Globals.ohost_pending = __consts_0.const_tuple__18; -__consts_0.py____magic_assertion_AssertionError_meta.class_ = __consts_0.py____magic_assertion_AssertionError__112; -__consts_0.exceptions_KeyError_meta.class_ = __consts_0.exceptions_KeyError__114; +__consts_0.py____test_rsession_webjs_Globals.ohost_pending = __consts_0.const_tuple__10; +__consts_0.py____test_rsession_webjs_Options_meta.class_ = __consts_0.py____test_rsession_webjs_Options__118; +__consts_0.py____test_rsession_webjs_Options.meta = __consts_0.py____test_rsession_webjs_Options_meta; +__consts_0.py____test_rsession_webjs_Options.oscroll = true; __consts_0.exceptions_ValueError.meta = __consts_0.exceptions_ValueError_meta; -__consts_0.py____magic_assertion_AssertionError.meta = __consts_0.py____magic_assertion_AssertionError_meta; -__consts_0.exceptions_StopIteration.meta = __consts_0.exceptions_StopIteration_meta; __consts_0.exceptions_KeyError.meta = __consts_0.exceptions_KeyError_meta;