// starts hand written code MALLOC_ZERO_FILLED = 0 try { log; print = log; } catch(e) { } Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; }; function inherits(child, parent) { child.parent = parent; for (i in parent.prototype) { if (!child.prototype[i]) { child.prototype[i] = parent.prototype[i]; } } } function isinstanceof(self, what) { t = self.constructor; while ( t ) { if (t == what) { return (true); } t = t.parent; } return (false); } /*function delitem(fn, l, i) { for(j = i; j < l.length-1; ++j) { l[j] = l[j+1]; } l.length--; }*/ function strcmp(s1, s2) { if ( s1 < s2 ) { return ( -1 ); } else if ( s1 == s2 ) { return ( 0 ); } return (1); } function startswith(s1, s2) { if (s1.lengths1.length) { return(false); } for (i = s1.length-s2.length; i' ); } inherits(py____test_rsession_webjs_Globals,Object); function ll_len__List_ExternalType_ (l_0) { var v128,v129,v130; var block = 0; for(;;){ switch(block){ case 0: v129 = l_0; v130 = v129.length; v128 = v130; block = 1; break; case 1: return ( v128 ); } } } function show_info (data_0) { var v46,v47,v48,v49,v50,data_1,info_0,v51,v52,v53,info_1,v54,v55,v56,v57,v58,v59,data_2,info_2,v60,v61,v62,v63; var block = 0; for(;;){ switch(block){ case 0: v47 = __consts_0.Document; v48 = v47.getElementById(__consts_0.const_str__9); v49 = v48.style; v49.visibility = __consts_0.const_str__10; data_1 = data_0; info_0 = v48; block = 1; break; case 1: v51 = info_0.childNodes; v52 = ll_len__List_ExternalType_ ( v51 ); v53 = !!v52; if (v53 == true) { data_2 = data_1; info_2 = info_0; block = 4; break; } else{ info_1 = info_0; v54 = data_1; block = 2; break; } case 2: v55 = create_text_elem ( v54 ); v56 = info_1; v56.appendChild(v55); v58 = info_1.style; v58.backgroundColor = __consts_0.const_str__11; block = 3; break; case 3: return ( v46 ); case 4: v60 = info_2; v61 = info_2.childNodes; v62 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v61,0 ); v60.removeChild(v62); data_1 = data_2; info_0 = info_2; block = 1; break; } } } function show_host (host_name_0) { var v69,v70,v71,v72,v73,host_name_1,elem_0,v74,v75,v76,v77,host_name_2,tbody_0,elem_1,v78,v79,last_exc_value_0,host_name_3,tbody_1,elem_2,item_0,v80,v81,v82,v83,v84,v85,v86,v87,v88,v89,host_name_4,tbody_2,elem_3,v90,v91,v92,v93,v94,v95,host_name_5,elem_4,v96,v97,v98,v99; var block = 0; for(;;){ switch(block){ case 0: v70 = __consts_0.Document; v71 = v70.getElementById(__consts_0.const_str__2); v72 = v71.childNodes; v73 = ll_list_is_true__List_ExternalType_ ( v72 ); if (v73 == true) { host_name_5 = host_name_0; elem_4 = v71; block = 6; break; } else{ host_name_1 = host_name_0; elem_0 = v71; block = 1; break; } case 1: v74 = create_elem ( __consts_0.const_str__12 ); 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_S ( undefined,v76 ); host_name_2 = host_name_1; tbody_0 = v74; elem_1 = elem_0; v78 = v77; block = 2; break; case 2: try { v79 = ll_listnext__Record_index__Signed__iterable_0 ( v78 ); host_name_3 = host_name_2; tbody_1 = tbody_0; elem_2 = elem_1; item_0 = v79; v80 = v78; block = 3; break; } catch (exc){ if (isinstanceof(exc, exceptions_StopIteration)) { host_name_4 = host_name_2; tbody_2 = tbody_0; elem_3 = elem_1; block = 4; break; } throw(exc); } case 3: v81 = create_elem ( __consts_0.const_str__13 ); v82 = create_elem ( __consts_0.const_str__14 ); v83 = v82; v84 = create_text_elem ( item_0 ); v83.appendChild(v84); v86 = v81; v86.appendChild(v82); v88 = tbody_1; v88.appendChild(v81); host_name_2 = host_name_3; tbody_0 = tbody_1; elem_1 = elem_2; v78 = v80; block = 2; break; case 4: v90 = elem_3; v90.appendChild(tbody_2); v92 = elem_3.style; v92.visibility = __consts_0.const_str__10; __consts_0.py____test_rsession_webjs_Globals.ohost = host_name_4; setTimeout ( 'reshow_host()',100 ); block = 5; break; case 5: return ( v69 ); case 6: v96 = elem_4; v97 = elem_4.childNodes; v98 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v97,0 ); v96.removeChild(v98); host_name_1 = host_name_5; elem_0 = elem_4; block = 1; break; } } } function ll_getitem_nonneg__dum_nocheckConst_List_ExternalT (func_0,l_1,index_0) { var v131,v132,v133,l_2,index_1,v134,v135,v136,v137,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_1=v172); v174 = v173; if (v174 == true) { block = 3; break; } else{ iter_1 = iter_0; index_3 = v170; l_4 = v169; block = 1; break; } case 1: v175 = (index_3+1); iter_1.index = v175; v177 = l_4; v178 = v177[index_3]; v168 = v178; block = 2; break; case 2: return ( v168 ); case 3: v179 = __consts_0.exceptions_StopIteration; v180 = v179.meta; v181 = v179; etype_1 = v180; evalue_1 = v181; block = 4; break; case 4: throw(evalue_1); } } } function hide_info () { var v64,v65,v66,v67,v68; var block = 0; for(;;){ switch(block){ case 0: v65 = __consts_0.Document; v66 = v65.getElementById(__consts_0.const_str__9); v67 = v66.style; v67.visibility = __consts_0.const_str__3; block = 1; break; case 1: return ( v64 ); } } } function hide_messagebox () { var v114,v115,v116,mbox_0,v117,v118,mbox_1,v119,v120,v121,v122; var block = 0; for(;;){ switch(block){ case 0: v115 = __consts_0.Document; v116 = v115.getElementById(__consts_0.const_str__17); mbox_0 = v116; block = 1; break; case 1: v117 = mbox_0.childNodes; v118 = ll_list_is_true__List_ExternalType_ ( v117 ); if (v118 == true) { mbox_1 = mbox_0; block = 3; break; } else{ block = 2; break; } case 2: return ( v114 ); case 3: v119 = mbox_1; v120 = mbox_1.childNodes; v121 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v120,0 ); v119.removeChild(v121); mbox_0 = mbox_1; block = 1; break; } } } function exceptions_Exception () { } exceptions_Exception.prototype.toString = function (){ return ( '' ); } inherits(exceptions_Exception,Object); function exceptions_StopIteration () { } exceptions_StopIteration.prototype.toString = function (){ return ( '' ); } inherits(exceptions_StopIteration,exceptions_Exception); function create_elem (s_0) { var v151,v152,v153; var block = 0; for(;;){ switch(block){ case 0: v152 = __consts_0.Document; v153 = v152.createElement(s_0); v151 = v153; block = 1; break; case 1: return ( v151 ); } } } function py____test_rsession_webjs_Options () { this.oscroll = false; } py____test_rsession_webjs_Options.prototype.toString = function (){ return ( '' ); } inherits(py____test_rsession_webjs_Options,Object); function ll_dict_getitem__Dict_String__String__String (d_1,key_2) { var v188,v189,v190,v191,v192,v193,v194,etype_2,evalue_2,key_3,v195,v196,v197; var block = 0; for(;;){ switch(block){ case 0: v189 = d_1; v190 = (v189[key_2]!=undefined); v191 = v190; if (v191 == true) { key_3 = key_2; v195 = d_1; block = 3; break; } else{ block = 1; break; } case 1: v192 = __consts_0.exceptions_KeyError; v193 = v192.meta; v194 = v192; etype_2 = v193; evalue_2 = v194; block = 2; break; case 2: throw(evalue_2); case 3: v196 = v195; v197 = v196[key_3]; v188 = v197; block = 4; break; case 4: return ( v188 ); } } } function show_traceback (item_name_1) { var v28,v29,v30,v31,v32,v33,v34,v35,v36,v37,v38,v39,v40,v41,v42,v43,v44,v45; var block = 0; for(;;){ switch(block){ case 0: v29 = ll_dict_getitem__Dict_String__Record_item2__Str_St ( __consts_0.const_tuple__23,item_name_1 ); v30 = v29.item0; v31 = v29.item1; v32 = v29.item2; v33 = new StringBuilder(); v33.ll_append(__consts_0.const_str__24); v35 = ll_str__StringR_StringConst_String ( undefined,v30 ); v33.ll_append(v35); v33.ll_append(__consts_0.const_str__25); v38 = ll_str__StringR_StringConst_String ( undefined,v31 ); v33.ll_append(v38); v33.ll_append(__consts_0.const_str__26); v41 = ll_str__StringR_StringConst_String ( undefined,v32 ); v33.ll_append(v41); v33.ll_append(__consts_0.const_str__19); v44 = v33.ll_build(); set_msgbox ( item_name_1,v44 ); block = 1; break; case 1: return ( v28 ); } } } function ll_dict_getitem__Dict_String__List_String___String (d_0,key_0) { var v154,v155,v156,v157,v158,v159,v160,etype_0,evalue_0,key_1,v161,v162,v163; var block = 0; for(;;){ switch(block){ case 0: v155 = d_0; v156 = (v155[key_0]!=undefined); v157 = v156; if (v157 == true) { key_1 = key_0; v161 = d_0; block = 3; break; } else{ block = 1; break; } case 1: v158 = __consts_0.exceptions_KeyError; v159 = v158.meta; v160 = v158; etype_0 = v159; evalue_0 = v160; block = 2; break; case 2: throw(evalue_0); case 3: v162 = v161; v163 = v162[key_1]; v154 = v163; block = 4; break; case 4: return ( v154 ); } } } function main () { var v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24; var block = 0; for(;;){ switch(block){ case 0: __consts_0.py____test_rsession_webjs_Globals.ofinished = false; v16 = __consts_0.ExportedMethods; v17 = v16.show_hosts(host_init); v18 = __consts_0.ExportedMethods; v19 = v18.show_sessid(sessid_comeback); __consts_0.Document.onkeypress = key_pressed; v21 = __consts_0.Document; v22 = v21.getElementById(__consts_0.const_str__28); v23 = v22; v23.setAttribute(__consts_0.const_str__29,__consts_0.const_str__30); block = 1; break; case 1: return ( v14 ); } } } function ll_listiter__Record_index__Signed__iterable_List_S (ITER_0,lst_0) { var v164,v165,v166,v167; var block = 0; for(;;){ switch(block){ case 0: v165 = new Object(); v165.iterable = lst_0; v165.index = 0; v164 = v165; block = 1; break; case 1: return ( v164 ); } } } function create_text_elem (txt_0) { var v141,v142,v143; var block = 0; for(;;){ switch(block){ case 0: v142 = __consts_0.Document; v143 = v142.createTextNode(txt_0); v141 = v143; block = 1; break; case 1: return ( v141 ); } } } function reshow_host () { var v182,v183,v184,v185,v186,v187; var block = 0; for(;;){ switch(block){ case 0: v183 = __consts_0.py____test_rsession_webjs_Globals.ohost; v184 = ll_streq__String_String ( v183,__consts_0.const_str__5 ); v185 = v184; if (v185 == true) { block = 2; break; } else{ block = 1; break; } case 1: v186 = __consts_0.py____test_rsession_webjs_Globals.ohost; show_host ( v186 ); block = 2; break; case 2: return ( v182 ); } } } function host_init (host_dict_0) { var v234,v235,v236,v237,v238,v239,host_dict_1,tbody_3,v240,v241,last_exc_value_1,host_dict_2,tbody_4,host_0,v242,v243,v244,v245,v246,v247,v248,v249,v250,v251,v252,v253,v254,v255,v256,v257,v258,v259,v260,v261,v262,v263,v264,v265,v266,v267,v268,host_dict_3,v269,v270,v271,v272,v273,v274,v275,v276,last_exc_value_2,key_6,v277,v278,v279,v280,v281; var block = 0; for(;;){ switch(block){ case 0: v235 = __consts_0.Document; v236 = v235.getElementById(__consts_0.const_str__31); v237 = host_dict_0; v238 = ll_dict_kvi__Dict_String__String__List_String_LlT_ ( v237,undefined,undefined ); v239 = ll_listiter__Record_index__Signed__iterable_List_S ( undefined,v238 ); host_dict_1 = host_dict_0; tbody_3 = v236; v240 = v239; block = 1; break; case 1: try { v241 = ll_listnext__Record_index__Signed__iterable_0 ( v240 ); host_dict_2 = host_dict_1; tbody_4 = tbody_3; host_0 = v241; v242 = v240; block = 2; break; } catch (exc){ if (isinstanceof(exc, exceptions_StopIteration)) { host_dict_3 = host_dict_1; block = 3; break; } throw(exc); } case 2: v243 = create_elem ( __consts_0.const_str__13 ); v244 = tbody_4; v244.appendChild(v243); v246 = create_elem ( __consts_0.const_str__14 ); v247 = v246.style; v247.background = __consts_0.const_str__32; v249 = ll_dict_getitem__Dict_String__String__String ( host_dict_2,host_0 ); v250 = create_text_elem ( v249 ); v251 = v246; v251.appendChild(v250); v246.id = host_0; v254 = v243; v254.appendChild(v246); v256 = v246; v257 = new StringBuilder(); v257.ll_append(__consts_0.const_str__33); v259 = ll_str__StringR_StringConst_String ( undefined,host_0 ); v257.ll_append(v259); v257.ll_append(__consts_0.const_str__34); v262 = v257.ll_build(); v256.setAttribute(__consts_0.const_str__35,v262); v264 = v246; v264.setAttribute(__consts_0.const_str__36,__consts_0.const_str__37); __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; v240 = v242; block = 1; break; case 3: __consts_0.py____test_rsession_webjs_Globals.ohost_dict = host_dict_3; v270 = ll_newdict__Dict_String__List_String__LlT ( undefined ); __consts_0.py____test_rsession_webjs_Globals.ohost_pending = v270; v272 = host_dict_3; v273 = ll_dict_kvi__Dict_String__String__List_String_LlT_ ( v272,undefined,undefined ); v274 = ll_listiter__Record_index__Signed__iterable_List_S ( undefined,v273 ); v275 = v274; block = 4; break; case 4: try { v276 = ll_listnext__Record_index__Signed__iterable_0 ( v275 ); key_6 = v276; v277 = v275; block = 5; break; } catch (exc){ if (isinstanceof(exc, exceptions_StopIteration)) { block = 6; break; } throw(exc); } case 5: v278 = new Array(); v278.length = 0; v280 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; v280[key_6]=v278; v275 = v277; block = 4; break; case 6: return ( v234 ); } } } function get_elem (el_0) { var v217,v218,v219; var block = 0; for(;;){ switch(block){ case 0: v218 = __consts_0.Document; v219 = v218.getElementById(el_0); v217 = v219; block = 1; break; case 1: return ( v217 ); } } } function ll_strconcat__String_String (obj_0,arg0_0) { var v220,v221,v222; var block = 0; for(;;){ switch(block){ case 0: v221 = obj_0; v222 = (v221+arg0_0); v220 = v222; block = 1; break; case 1: return ( v220 ); } } } 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 ll_dict_getitem__Dict_String__Record_item2__Str_St (d_2,key_4) { var v223,v224,v225,v226,v227,v228,v229,etype_3,evalue_3,key_5,v230,v231,v232; var block = 0; for(;;){ switch(block){ case 0: v224 = d_2; v225 = (v224[key_4]!=undefined); v226 = v225; if (v226 == true) { key_5 = key_4; v230 = d_2; block = 3; break; } else{ block = 1; break; } case 1: v227 = __consts_0.exceptions_KeyError; v228 = v227.meta; v229 = v227; etype_3 = v228; evalue_3 = v229; block = 2; break; case 2: throw(evalue_3); case 3: v231 = v230; v232 = v231[key_5]; v223 = v232; block = 4; break; case 4: return ( v223 ); } } } function sessid_comeback (id_0) { var v282,v283,v284,v285; var block = 0; for(;;){ switch(block){ case 0: __consts_0.py____test_rsession_webjs_Globals.osessid = id_0; v284 = __consts_0.ExportedMethods; v285 = v284.show_all_statuses(id_0,comeback); block = 1; break; case 1: return ( v282 ); } } } function ll_streq__String_String (s1_0,s2_0) { var v302,v303,v304,v305,s2_1,v306,v307,v308,v309,v310,v311; var block = 0; for(;;){ switch(block){ case 0: v303 = !!s1_0; v304 = !v303; v305 = v304; if (v305 == true) { v309 = s2_0; block = 3; break; } else{ s2_1 = s2_0; v306 = s1_0; block = 1; break; } case 1: v307 = v306; v308 = (v307==s2_1); v302 = v308; block = 2; break; case 2: return ( v302 ); case 3: v310 = !!v309; v311 = !v310; v302 = v311; block = 2; break; } } } function ll_str__StringR_StringConst_String (self_0,s_1) { var v233; var block = 0; for(;;){ switch(block){ case 0: v233 = s_1; block = 1; break; case 1: return ( v233 ); } } } function exceptions_KeyError () { } exceptions_KeyError.prototype.toString = function (){ return ( '' ); } inherits(exceptions_KeyError,exceptions_LookupError); function ll_dict_kvi__Dict_String__String__List_String_LlT_ (d_3,LIST_0,func_1) { var v312,v313,v314,v315,v316,v317,i_0,it_0,result_0,v318,v319,v320,i_1,it_1,result_1,v321,v322,v323,v324,it_2,result_2,v325,v326; var block = 0; for(;;){ switch(block){ case 0: v313 = d_3; v314 = get_dict_len ( v313 ); v315 = ll_newlist__List_String_LlT_Signed ( undefined,v314 ); v316 = d_3; v317 = dict_items_iterator ( v316 ); i_0 = 0; it_0 = v317; result_0 = v315; block = 1; break; case 1: v318 = it_0; v319 = v318.ll_go_next(); v320 = v319; if (v320 == true) { i_1 = i_0; it_1 = it_0; result_1 = result_0; block = 3; break; } else{ v312 = result_0; block = 2; break; } case 2: return ( v312 ); case 3: v321 = result_1; v322 = it_1; v323 = v322.ll_current_key(); v321[i_1]=v323; it_2 = it_1; result_2 = result_1; v325 = i_1; block = 4; break; case 4: v326 = (v325+1); i_0 = v326; it_0 = it_2; result_0 = result_2; block = 1; break; } } } function update_rsync () { var v327,v328,v329,v330,v331,v332,v333,v334,v335,elem_7,v336,v337,v338,v339,v340,v341,v342,v343,v344,elem_8,v345,v346,v347,v348,v349,v350,v351,v352,v353,v354,v355,text_0,elem_9,v356,v357,v358,v359,v360; var block = 0; for(;;){ switch(block){ case 0: v328 = __consts_0.py____test_rsession_webjs_Globals.ofinished; v329 = v328; if (v329 == true) { block = 4; break; } else{ block = 1; break; } case 1: v330 = __consts_0.Document; v331 = v330.getElementById(__consts_0.const_str__38); v332 = __consts_0.py____test_rsession_webjs_Globals.orsync_done; v333 = v332; v334 = (v333==1); v335 = v334; if (v335 == true) { v357 = v331; block = 6; break; } else{ elem_7 = v331; block = 2; break; } case 2: v336 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; v337 = ll_char_mul__Char_Signed ( '.',v336 ); v338 = ll_strconcat__String_String ( __consts_0.const_str__39,v337 ); v339 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; v340 = (v339+1); __consts_0.py____test_rsession_webjs_Globals.orsync_dots = v340; v342 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; v343 = (v342>5); v344 = v343; if (v344 == true) { text_0 = v338; elem_9 = elem_7; block = 5; break; } else{ elem_8 = elem_7; v345 = v338; block = 3; break; } case 3: v346 = new StringBuilder(); v346.ll_append(__consts_0.const_str__40); v348 = ll_str__StringR_StringConst_String ( undefined,v345 ); v346.ll_append(v348); v346.ll_append(__consts_0.const_str__41); v351 = v346.ll_build(); v352 = elem_8.childNodes; v353 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v352,0 ); v353.nodeValue = v351; setTimeout ( 'update_rsync()',1000 ); block = 4; break; case 4: return ( v327 ); case 5: __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; elem_8 = elem_9; v345 = text_0; block = 3; break; case 6: v358 = v357.childNodes; v359 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v358,0 ); v359.nodeValue = __consts_0.const_str__38; block = 4; break; } } } function key_pressed (key_7) { var v286,v287,v288,v289,v290,v291,v292,v293,v294,v295,v296,v297,v298,v299,v300,v301; var block = 0; for(;;){ switch(block){ case 0: v287 = key_7.charCode; v288 = (v287==115); v289 = v288; if (v289 == true) { block = 2; break; } else{ block = 1; break; } case 1: return ( v286 ); case 2: v290 = __consts_0.Document; v291 = v290.getElementById(__consts_0.const_str__28); v292 = __consts_0.py____test_rsession_webjs_Options.oscroll; v293 = v292; if (v293 == true) { v298 = v291; block = 4; break; } else{ v294 = v291; block = 3; break; } case 3: v295 = v294; v295.setAttribute(__consts_0.const_str__29,__consts_0.const_str__42); __consts_0.py____test_rsession_webjs_Options.oscroll = true; block = 1; break; case 4: v299 = v298; v299.removeAttribute(__consts_0.const_str__29); __consts_0.py____test_rsession_webjs_Options.oscroll = false; block = 1; break; } } } function ll_newdict__Dict_String__List_String__LlT (DICT_0) { var v361,v362; var block = 0; for(;;){ switch(block){ case 0: v362 = new Object(); v361 = v362; block = 1; break; case 1: return ( v361 ); } } } function comeback (msglist_0) { var v363,v364,v365,v366,msglist_1,v367,v368,v369,v370,msglist_2,v371,v372,last_exc_value_3,msglist_3,v373,v374,v375,v376,msglist_4,v377,v378,v379,v380,v381,v382,last_exc_value_4,v383,v384,v385,v386,v387,v388,v389; var block = 0; for(;;){ switch(block){ case 0: v364 = ll_len__List_Dict_String__String__ ( msglist_0 ); v365 = (v364==0); v366 = v365; if (v366 == true) { block = 4; break; } else{ msglist_1 = msglist_0; block = 1; break; } case 1: v367 = __consts_0.py____test_rsession_webjs_Globals.opending; v368 = 0; v369 = ll_listslice_startonly__List_Dict_String__String__ ( undefined,v367,v368 ); v370 = ll_listiter__Record_index__Signed__iterable_List_D ( undefined,v369 ); msglist_2 = msglist_1; v371 = v370; block = 2; break; case 2: try { v372 = ll_listnext__Record_index__Signed__iterable ( v371 ); msglist_3 = msglist_2; v373 = v371; v374 = v372; block = 3; break; } catch (exc){ if (isinstanceof(exc, exceptions_StopIteration)) { msglist_4 = msglist_2; block = 5; break; } throw(exc); } case 3: v375 = process ( v374 ); v376 = v375; if (v376 == true) { msglist_2 = msglist_3; v371 = v373; block = 2; break; } else{ block = 4; break; } case 4: return ( v363 ); case 5: v377 = new Array(); v377.length = 0; __consts_0.py____test_rsession_webjs_Globals.opending = v377; v380 = ll_listiter__Record_index__Signed__iterable_List_D ( undefined,msglist_4 ); v381 = v380; block = 6; break; case 6: try { v382 = ll_listnext__Record_index__Signed__iterable ( v381 ); v383 = v381; v384 = v382; block = 7; break; } catch (exc){ if (isinstanceof(exc, exceptions_StopIteration)) { block = 8; break; } throw(exc); } case 7: v385 = process ( v384 ); v386 = v385; if (v386 == true) { v381 = v383; block = 6; break; } else{ block = 4; break; } case 8: v387 = __consts_0.ExportedMethods; v388 = __consts_0.py____test_rsession_webjs_Globals.osessid; v389 = v387.show_all_statuses(v388,comeback); block = 4; break; } } } function ll_char_mul__Char_Signed (ch_0,times_0) { var v394,v395,v396,v397,ch_1,times_1,i_2,buf_0,v398,v399,v400,v401,v402,ch_2,times_2,i_3,buf_1,v403,v404,v405; var block = 0; for(;;){ switch(block){ case 0: v395 = new StringBuilder(); v396 = v395; v396.ll_allocate(times_0); ch_1 = ch_0; times_1 = times_0; i_2 = 0; buf_0 = v395; block = 1; break; case 1: v398 = (i_2=0); undefined; v414 = (start_0<=v411); undefined; v416 = (v411-start_0); undefined; v418 = ll_newlist__List_Dict_String__String__LlT_Signed ( undefined,v416 ); l1_1 = l1_0; i_4 = start_0; j_0 = 0; l_6 = v418; len1_0 = v411; block = 1; break; case 1: v419 = (i_40); v824 = v823; if (v824 == true) { l_12 = l_11; newitem_4 = newitem_2; dst_1 = dst_0; block = 4; break; } else{ newitem_3 = newitem_2; v825 = l_11; block = 2; break; } case 2: v826 = v825; v826[0]=newitem_3; block = 3; break; case 3: return ( v817 ); case 4: v828 = (dst_1-1); v829 = l_12; v830 = l_12; v831 = v830[v828]; v829[dst_1]=v831; l_11 = l_12; newitem_2 = newitem_4; dst_0 = v828; block = 1; break; } } } function ll_int_str__IntegerR_SignedConst_Signed (repr_0,i_6) { var v836,v837; var block = 0; for(;;){ switch(block){ case 0: v837 = ll_int2dec__Signed ( i_6 ); v836 = v837; block = 1; break; case 1: return ( v836 ); } } } function ll_newlist__List_String_LlT_Signed (LIST_1,length_0) { var v390,v391,v392,v393; var block = 0; for(;;){ switch(block){ case 0: v391 = new Array(); v392 = v391; v392.length = length_0; v390 = v391; block = 1; break; case 1: return ( v390 ); } } } function ll_listiter__Record_index__Signed__iterable_List_D (ITER_1,lst_1) { var v427,v428,v429,v430; var block = 0; for(;;){ switch(block){ case 0: v428 = new Object(); v428.iterable = lst_1; v428.index = 0; v427 = v428; block = 1; break; case 1: return ( v427 ); } } } function ll_len__List_Dict_String__String__ (l_5) { var v406,v407,v408; var block = 0; for(;;){ switch(block){ case 0: v407 = l_5; v408 = v407.length; v406 = v408; block = 1; break; case 1: return ( v406 ); } } } function ll_int2dec__Signed (i_7) { var v898,v899; var block = 0; for(;;){ switch(block){ case 0: v899 = i_7.toString(); v898 = v899; block = 1; break; case 1: return ( v898 ); } } } function ll_len__List_String_ (l_13) { var v833,v834,v835; var block = 0; for(;;){ switch(block){ case 0: v834 = l_13; v835 = v834.length; v833 = v835; block = 1; break; case 1: return ( v833 ); } } } function ll_newlist__List_Dict_String__String__LlT_Signed (self_1,length_1) { var v636,v637; var block = 0; for(;;){ switch(block){ case 0: v637 = ll_newlist__List_Dict_String__String__LlT_Signed_0 ( undefined,length_1 ); v636 = v637; block = 1; break; case 1: return ( v636 ); } } } function ll_listnext__Record_index__Signed__iterable (iter_2) { var v431,v432,v433,v434,v435,v436,v437,iter_3,index_4,l_8,v438,v439,v440,v441,v442,v443,v444,etype_4,evalue_4; var block = 0; for(;;){ switch(block){ case 0: v432 = iter_2.iterable; v433 = iter_2.index; v434 = v432; v435 = v434.length; v436 = (v433>=v435); v437 = v436; if (v437 == true) { block = 3; break; } else{ iter_3 = iter_2; index_4 = v433; l_8 = v432; block = 1; break; } case 1: v438 = (index_4+1); iter_3.index = v438; v440 = l_8; v441 = v440[index_4]; v431 = v441; block = 2; break; case 2: return ( v431 ); case 3: v442 = __consts_0.exceptions_StopIteration; v443 = v442.meta; v444 = v442; etype_4 = v443; evalue_4 = v444; block = 4; break; case 4: throw(evalue_4); } } } function show_crash () { var v645,v646,v647,v648,v649,v650,v651,v652; 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__74; v648 = __consts_0.Document; v649 = v648.getElementById(__consts_0.const_str__38); v650 = v649.childNodes; v651 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v650,0 ); v651.nodeValue = __consts_0.const_str__75; block = 1; break; case 1: return ( v645 ); } } } function ll_newlist__List_Dict_String__String__LlT_Signed_0 (LIST_2,length_2) { var v900,v901,v902,v903; var block = 0; for(;;){ switch(block){ case 0: v901 = new Array(); v902 = v901; v902.length = length_2; v900 = v901; block = 1; break; case 1: return ( v900 ); } } } function scroll_down_if_needed (mbox_2) { var v638,v639,v640,v641,v642,v643,v644; var block = 0; for(;;){ switch(block){ case 0: v639 = __consts_0.py____test_rsession_webjs_Options.oscroll; v640 = v639; if (v640 == true) { v641 = mbox_2; block = 2; break; } else{ block = 1; break; } case 1: return ( v638 ); case 2: v642 = v641.parentNode; v643 = v642; v643.scrollIntoView(); block = 1; break; } } } function ll_append__List_Dict_String__String___Dict_String_ (l_9,newitem_0) { var v661,v662,v663,v664,v665,v666,v667,v668; var block = 0; for(;;){ switch(block){ case 0: v662 = l_9; v663 = v662.length; v664 = l_9; v665 = (v663+1); v664.length = v665; v667 = l_9; v667[v663]=newitem_0; block = 1; break; case 1: return ( v661 ); } } } function make_module_box (msg_30) { var v838,v839,v840,v841,v842,v843,v844,v845,v846,v847,v848,v849,v850,v851,v852,v853,v854,v855,v856,v857,v858,v859,v860,v861,v862,v863,v864,v865,v866,v867,v868,v869,v870,v871,v872,v873,v874,v875,v876,v877,v878,v879,v880,v881,v882,v883,v884,v885,v886,v887,v888,v889,v890,v891,v892,v893,v894,v895,v896,v897; var block = 0; for(;;){ switch(block){ case 0: v839 = create_elem ( __consts_0.const_str__13 ); v840 = create_elem ( __consts_0.const_str__14 ); v841 = v839; v841.appendChild(v840); v843 = v840; v844 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__76 ); v845 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__77 ); v846 = new Object(); v846.item0 = v844; v846.item1 = v845; v849 = v846.item0; v850 = v846.item1; v851 = new StringBuilder(); v852 = ll_str__StringR_StringConst_String ( undefined,v849 ); v851.ll_append(v852); v851.ll_append(__consts_0.const_str__78); v855 = ll_str__StringR_StringConst_String ( undefined,v850 ); v851.ll_append(v855); v851.ll_append(__consts_0.const_str__41); v858 = v851.ll_build(); v859 = create_text_elem ( v858 ); v843.appendChild(v859); v861 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__77 ); v862 = ll_int__String_Signed ( v861,10 ); v863 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__56 ); __consts_0.const_tuple__79[v863]=v862; v865 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__76 ); v866 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__56 ); __consts_0.const_tuple__80[v866]=v865; v868 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__56 ); v869 = ll_strconcat__String_String ( __consts_0.const_str__81,v868 ); v840.id = v869; v871 = v840; v872 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__56 ); v873 = new Object(); v873.item0 = v872; v875 = v873.item0; v876 = new StringBuilder(); v876.ll_append(__consts_0.const_str__82); v878 = ll_str__StringR_StringConst_String ( undefined,v875 ); v876.ll_append(v878); v876.ll_append(__consts_0.const_str__34); v881 = v876.ll_build(); v871.setAttribute(__consts_0.const_str__35,v881); v883 = v840; v883.setAttribute(__consts_0.const_str__36,__consts_0.const_str__83); v885 = create_elem ( __consts_0.const_str__14 ); v886 = v839; v886.appendChild(v885); v888 = create_elem ( __consts_0.const_str__84 ); v889 = v885; v889.appendChild(v888); v891 = create_elem ( __consts_0.const_str__12 ); v892 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__56 ); v891.id = v892; v894 = v888; v894.appendChild(v891); v896 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__56 ); __consts_0.const_tuple__85[v896]=0; v838 = v839; block = 1; break; case 1: return ( v838 ); } } } function show_interrupt () { var v653,v654,v655,v656,v657,v658,v659,v660; 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__86; v656 = __consts_0.Document; v657 = v656.getElementById(__consts_0.const_str__38); v658 = v657.childNodes; v659 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v658,0 ); v659.nodeValue = __consts_0.const_str__87; block = 1; break; case 1: return ( v653 ); } } } function add_received_item_outcome (msg_20,module_part_2) { var v669,v670,v671,v672,msg_21,module_part_3,v673,v674,v675,v676,v677,v678,v679,v680,v681,v682,v683,v684,v685,v686,v687,v688,v689,v690,v691,msg_22,module_part_4,item_name_6,td_0,v692,v693,v694,v695,msg_23,module_part_5,item_name_7,td_1,v696,v697,v698,v699,v700,v701,v702,v703,v704,v705,v706,v707,v708,v709,v710,v711,v712,v713,v714,v715,msg_24,module_part_6,td_2,v716,v717,v718,v719,v720,module_part_7,td_3,v721,v722,v723,v724,v725,v726,v727,v728,v729,v730,v731,v732,v733,v734,v735,v736,v737,v738,v739,v740,v741,v742,v743,v744,v745,v746,v747,v748,v749,v750,v751,v752,v753,v754,v755,msg_25,module_part_8,td_4,v756,v757,v758,msg_26,module_part_9,item_name_8,td_5,v759,v760,v761,v762,msg_27,module_part_10,item_name_9,td_6,v763,v764,v765,v766,v767,v768,v769,v770,v771,v772,v773,v774,v775,v776,v777,v778,v779,v780,v781,v782,msg_28,module_part_11,td_7,v783,v784,v785,msg_29,module_part_12,v786,v787,v788,v789,v790,v791,v792,v793,v794,v795,v796,v797,v798,v799,v800,v801,v802,v803,v804,v805,v806,v807,v808,v809,v810,v811,v812,v813,v814,v815,v816; var block = 0; for(;;){ switch(block){ case 0: v670 = ll_dict_getitem__Dict_String__String__String ( msg_20,__consts_0.const_str__70 ); v671 = ll_strlen__String ( v670 ); v672 = !!v671; if (v672 == true) { msg_29 = msg_20; module_part_12 = module_part_2; block = 11; break; } else{ msg_21 = msg_20; module_part_3 = module_part_2; block = 1; break; } case 1: v673 = create_elem ( __consts_0.const_str__14 ); v674 = v673; v675 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__56 ); v676 = new Object(); v676.item0 = v675; v678 = v676.item0; v679 = new StringBuilder(); v679.ll_append(__consts_0.const_str__82); v681 = ll_str__StringR_StringConst_String ( undefined,v678 ); v679.ll_append(v681); v679.ll_append(__consts_0.const_str__34); v684 = v679.ll_build(); v674.setAttribute(__consts_0.const_str__35,v684); v686 = v673; v686.setAttribute(__consts_0.const_str__36,__consts_0.const_str__83); v688 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__56 ); v689 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__88 ); v690 = ll_streq__String_String ( v689,__consts_0.const_str__30 ); v691 = v690; if (v691 == true) { msg_28 = msg_21; module_part_11 = module_part_3; td_7 = v673; block = 10; break; } else{ msg_22 = msg_21; module_part_4 = module_part_3; item_name_6 = v688; td_0 = v673; block = 2; break; } case 2: v692 = ll_dict_getitem__Dict_String__String__String ( msg_22,__consts_0.const_str__89 ); v693 = ll_streq__String_String ( v692,__consts_0.const_str__90 ); v694 = !v693; v695 = v694; if (v695 == true) { msg_26 = msg_22; module_part_9 = module_part_4; item_name_8 = item_name_6; td_5 = td_0; block = 8; break; } else{ msg_23 = msg_22; module_part_5 = module_part_4; item_name_7 = item_name_6; td_1 = td_0; block = 3; break; } case 3: v696 = create_elem ( __consts_0.const_str__91 ); v697 = v696; v698 = ll_dict_getitem__Dict_String__String__String ( msg_23,__consts_0.const_str__56 ); v699 = new Object(); v699.item0 = v698; v701 = v699.item0; v702 = new StringBuilder(); v702.ll_append(__consts_0.const_str__92); v704 = ll_str__StringR_StringConst_String ( undefined,v701 ); v702.ll_append(v704); v702.ll_append(__consts_0.const_str__34); v707 = v702.ll_build(); v697.setAttribute(__consts_0.const_str__93,v707); v709 = create_text_elem ( __consts_0.const_str__94 ); v710 = v696; v710.appendChild(v709); v712 = td_1; v712.appendChild(v696); v714 = __consts_0.ExportedMethods; v715 = v714.show_fail(item_name_7,fail_come_back); msg_24 = msg_23; module_part_6 = module_part_5; td_2 = td_1; block = 4; break; case 4: v716 = ll_dict_getitem__Dict_String__String__String ( msg_24,__consts_0.const_str__69 ); v717 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__85,v716 ); v718 = (v717%50); v719 = (v718==0); v720 = v719; if (v720 == true) { msg_25 = msg_24; module_part_8 = module_part_6; td_4 = td_2; block = 7; break; } else{ module_part_7 = module_part_6; td_3 = td_2; v721 = msg_24; block = 5; break; } case 5: v722 = ll_dict_getitem__Dict_String__String__String ( v721,__consts_0.const_str__69 ); v723 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__85,v722 ); v724 = (v723+1); __consts_0.const_tuple__85[v722]=v724; v726 = ll_strconcat__String_String ( __consts_0.const_str__81,v722 ); v727 = get_elem ( v726 ); v728 = ll_dict_getitem__Dict_String__String__String ( __consts_0.const_tuple__80,v722 ); v729 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__85,v722 ); v730 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__79,v722 ); v731 = new Object(); v731.item0 = v728; v731.item1 = v729; v731.item2 = v730; v735 = v731.item0; v736 = v731.item1; v737 = v731.item2; v738 = new StringBuilder(); v739 = ll_str__StringR_StringConst_String ( undefined,v735 ); v738.ll_append(v739); v738.ll_append(__consts_0.const_str__73); v742 = v736.toString(); v738.ll_append(v742); v738.ll_append(__consts_0.const_str__95); v745 = v737.toString(); v738.ll_append(v745); v738.ll_append(__consts_0.const_str__41); v748 = v738.ll_build(); v749 = v727.childNodes; v750 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v749,0 ); v750.nodeValue = v748; v752 = module_part_7.childNodes; v753 = ll_getitem__dum_nocheckConst_List_ExternalType__Si ( undefined,v752,-1 ); v754 = v753; v754.appendChild(td_3); block = 6; break; case 6: return ( v669 ); case 7: v756 = create_elem ( __consts_0.const_str__13 ); v757 = module_part_8; v757.appendChild(v756); module_part_7 = module_part_8; td_3 = td_4; v721 = msg_25; block = 5; break; case 8: v759 = ll_dict_getitem__Dict_String__String__String ( msg_26,__consts_0.const_str__89 ); v760 = ll_streq__String_String ( v759,__consts_0.const_str__96 ); v761 = !v760; v762 = v761; if (v762 == true) { msg_27 = msg_26; module_part_10 = module_part_9; item_name_9 = item_name_8; td_6 = td_5; block = 9; break; } else{ msg_23 = msg_26; module_part_5 = module_part_9; item_name_7 = item_name_8; td_1 = td_5; block = 3; break; } case 9: v763 = __consts_0.ExportedMethods; v764 = v763.show_skip(item_name_9,skip_come_back); v765 = create_elem ( __consts_0.const_str__91 ); v766 = v765; v767 = ll_dict_getitem__Dict_String__String__String ( msg_27,__consts_0.const_str__56 ); v768 = new Object(); v768.item0 = v767; v770 = v768.item0; v771 = new StringBuilder(); v771.ll_append(__consts_0.const_str__97); v773 = ll_str__StringR_StringConst_String ( undefined,v770 ); v771.ll_append(v773); v771.ll_append(__consts_0.const_str__34); v776 = v771.ll_build(); v766.setAttribute(__consts_0.const_str__93,v776); v778 = create_text_elem ( __consts_0.const_str__98 ); v779 = v765; v779.appendChild(v778); v781 = td_6; v781.appendChild(v765); msg_24 = msg_27; module_part_6 = module_part_10; td_2 = td_6; block = 4; break; case 10: v783 = create_text_elem ( __consts_0.const_str__99 ); v784 = td_7; v784.appendChild(v783); msg_24 = msg_28; module_part_6 = module_part_11; td_2 = td_7; block = 4; break; case 11: v786 = __consts_0.Document; v787 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__70 ); v788 = v786.getElementById(v787); v789 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; v790 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__70 ); v791 = ll_dict_getitem__Dict_String__List_String___String ( v789,v790 ); v792 = v791; v793 = ll_pop_default__dum_nocheckConst_List_String_ ( undefined,v792 ); v794 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; v795 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__70 ); v796 = ll_dict_getitem__Dict_String__List_String___String ( v794,v795 ); v797 = ll_len__List_String_ ( v796 ); v798 = __consts_0.py____test_rsession_webjs_Globals.ohost_dict; v799 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__70 ); v800 = ll_dict_getitem__Dict_String__String__String ( v798,v799 ); v801 = new Object(); v801.item0 = v800; v801.item1 = v797; v804 = v801.item0; v805 = v801.item1; v806 = new StringBuilder(); v807 = ll_str__StringR_StringConst_String ( undefined,v804 ); v806.ll_append(v807); v806.ll_append(__consts_0.const_str__73); v810 = ll_int_str__IntegerR_SignedConst_Signed ( undefined,v805 ); v806.ll_append(v810); v806.ll_append(__consts_0.const_str__41); v813 = v806.ll_build(); v814 = v788.childNodes; v815 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v814,0 ); v815.nodeValue = v813; msg_21 = msg_29; module_part_3 = module_part_12; block = 1; break; } } } function ll_getitem__dum_nocheckConst_List_ExternalType__Si (func_2,l_14,index_5) { var v1015,v1016,v1017,v1018,v1019,l_15,index_6,length_3,v1020,v1021,v1022,v1023,index_7,v1024,v1025,v1026,l_16,length_4,v1027,v1028; var block = 0; for(;;){ switch(block){ case 0: v1016 = l_14; v1017 = v1016.length; v1018 = (index_5<0); v1019 = v1018; if (v1019 == true) { l_16 = l_14; length_4 = v1017; v1027 = index_5; block = 4; break; } else{ l_15 = l_14; index_6 = index_5; length_3 = v1017; block = 1; break; } case 1: v1020 = (index_6>=0); undefined; v1022 = (index_6=base_15); v965 = v964; if (v965 == true) { s_11 = s_20; val_1 = val_11; i_13 = i_21; sign_1 = sign_11; strlen_5 = strlen_14; block = 12; break; } else{ s_21 = s_20; base_16 = base_15; i_22 = i_21; digit_1 = digit_0; sign_12 = sign_11; strlen_15 = strlen_14; v966 = val_11; block = 26; break; } case 26: v967 = (v966*base_16); v968 = (v967+digit_1); v969 = (i_22+1); s_10 = s_21; base_8 = base_16; val_0 = v968; i_12 = v969; sign_0 = sign_12; strlen_4 = strlen_15; block = 11; break; case 27: v970 = (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; v971 = v970; block = 28; break; case 28: v972 = v971; if (v972 == true) { s_24 = s_23; base_19 = base_18; val_14 = val_13; i_25 = i_24; sign_15 = sign_14; strlen_18 = strlen_17; v973 = c_5; block = 29; break; } else{ 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; block = 21; break; } case 29: v974 = (v973-65); v975 = (v974+10); s_20 = s_24; base_15 = base_19; val_11 = val_14; i_21 = i_25; digit_0 = v975; sign_11 = sign_15; strlen_14 = strlen_18; block = 25; break; case 30: v976 = (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; v977 = v976; block = 31; break; case 31: v978 = v977; if (v978 == true) { s_27 = s_26; base_22 = base_21; val_17 = val_16; i_28 = i_27; sign_18 = sign_17; strlen_21 = strlen_20; v979 = c_7; block = 32; break; } else{ 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; block = 20; break; } case 32: v980 = (v979-97); v981 = (v980+10); s_20 = s_27; base_15 = base_22; val_11 = val_17; i_21 = i_28; digit_0 = v981; sign_11 = sign_18; strlen_14 = strlen_21; block = 25; break; case 33: v983 = (v982+1); s_10 = s_28; base_8 = base_23; val_0 = 0; i_12 = v983; sign_0 = 1; strlen_4 = strlen_22; block = 11; break; case 34: v985 = (v984+1); s_10 = s_29; base_8 = base_24; val_0 = 0; i_12 = v985; sign_0 = -1; strlen_4 = strlen_23; block = 11; break; case 35: v986 = s_30; v987 = v986[i_29]; v988 = (v987==' '); v989 = v988; if (v989 == true) { s_31 = s_30; base_26 = base_25; strlen_25 = strlen_24; v990 = i_29; block = 36; break; } else{ s_7 = s_30; base_5 = base_25; i_9 = i_29; strlen_1 = strlen_24; block = 7; break; } case 36: v991 = (v990+1); s_6 = s_31; base_4 = base_26; i_8 = v991; strlen_0 = strlen_25; block = 6; break; } } } function ll_strlen__String (obj_1) { var v992,v993,v994; var block = 0; for(;;){ switch(block){ case 0: v993 = obj_1; v994 = v993.length; v992 = v994; block = 1; break; case 1: return ( v992 ); } } } function ll_pop_default__dum_nocheckConst_List_String_ (func_3,l_17) { var v1033,v1034,v1035,l_18,length_5,v1036,v1037,v1038,v1039,v1040,v1041,res_0,newlength_0,v1042,v1043,v1044; var block = 0; for(;;){ switch(block){ case 0: v1034 = l_17; v1035 = v1034.length; l_18 = l_17; length_5 = v1035; block = 1; break; case 1: v1036 = (length_5>0); undefined; v1038 = (length_5-1); v1039 = l_18; v1040 = v1039[v1038]; ll_null_item__List_String_ ( l_18 ); res_0 = v1040; newlength_0 = v1038; v1042 = l_18; block = 2; break; case 2: v1043 = v1042; v1043.length = newlength_0; v1033 = res_0; block = 3; break; case 3: return ( v1033 ); } } } function fail_come_back (msg_31) { var v995,v996,v997,v998,v999,v1000,v1001,v1002,v1003,v1004; var block = 0; for(;;){ switch(block){ case 0: v996 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__101 ); v997 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__102 ); v998 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__103 ); v999 = new Object(); v999.item0 = v996; v999.item1 = v997; v999.item2 = v998; v1003 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__104 ); __consts_0.const_tuple__23[v1003]=v999; block = 1; break; case 1: return ( v995 ); } } } function skip_come_back (msg_32) { var v1029,v1030,v1031,v1032; var block = 0; for(;;){ switch(block){ case 0: v1030 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__57 ); v1031 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__104 ); __consts_0.const_tuple__15[v1031]=v1030; block = 1; break; case 1: return ( v1029 ); } } } function ll_dict_getitem__Dict_String__Signed__String (d_4,key_8) { var v1005,v1006,v1007,v1008,v1009,v1010,v1011,etype_6,evalue_6,key_9,v1012,v1013,v1014; var block = 0; for(;;){ switch(block){ case 0: v1006 = d_4; v1007 = (v1006[key_8]!=undefined); v1008 = v1007; if (v1008 == true) { key_9 = key_8; v1012 = d_4; block = 3; break; } else{ block = 1; break; } case 1: v1009 = __consts_0.exceptions_KeyError; v1010 = v1009.meta; v1011 = v1009; etype_6 = v1010; evalue_6 = v1011; block = 2; break; case 2: throw(evalue_6); case 3: v1013 = v1012; v1014 = v1013[key_9]; v1005 = v1014; block = 4; break; case 4: return ( v1005 ); } } } function exceptions_ValueError () { } exceptions_ValueError.prototype.toString = function (){ return ( '' ); } inherits(exceptions_ValueError,exceptions_StandardError); function ll_null_item__List_String_ (lst_2) { var v1045,v1046; var block = 0; for(;;){ switch(block){ case 0: undefined; block = 1; break; case 1: return ( v1045 ); } } } function Object_meta () { this.class_ = __consts_0.None; } Object_meta.prototype.toString = function (){ return ( '' ); } function py____test_rsession_webjs_Globals_meta () { } py____test_rsession_webjs_Globals_meta.prototype.toString = function (){ return ( '' ); } inherits(py____test_rsession_webjs_Globals_meta,Object_meta); function exceptions_Exception_meta () { } exceptions_Exception_meta.prototype.toString = function (){ return ( '' ); } inherits(exceptions_Exception_meta,Object_meta); function exceptions_StandardError_meta () { } exceptions_StandardError_meta.prototype.toString = function (){ return ( '' ); } inherits(exceptions_StandardError_meta,exceptions_Exception_meta); function exceptions_ValueError_meta () { } exceptions_ValueError_meta.prototype.toString = function (){ return ( '' ); } inherits(exceptions_ValueError_meta,exceptions_StandardError_meta); function exceptions_LookupError_meta () { } exceptions_LookupError_meta.prototype.toString = function (){ return ( '' ); } inherits(exceptions_LookupError_meta,exceptions_StandardError_meta); function exceptions_KeyError_meta () { } exceptions_KeyError_meta.prototype.toString = function (){ return ( '' ); } inherits(exceptions_KeyError_meta,exceptions_LookupError_meta); function exceptions_StopIteration_meta () { } exceptions_StopIteration_meta.prototype.toString = function (){ return ( '' ); } 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); __consts_0 = {}; __consts_0.const_str__66 = ' failures, '; __consts_0.const_str__33 = "show_host('"; __consts_0.const_str__81 = '_txt_'; __consts_0.const_str__91 = 'a'; __consts_0.const_str__41 = ']'; __consts_0.const_list__114 = []; __consts_0.const_str__49 = 'ReceivedItemOutcome'; __consts_0.const_str__82 = "show_info('"; __consts_0.const_str__58 = '- skipped ('; __consts_0.const_tuple = undefined; __consts_0.const_str__37 = 'hide_host()'; __consts_0.const_str__83 = 'hide_info()'; __consts_0.const_str__20 = '#message'; __consts_0.ExportedMethods = new ExportedMethods(); __consts_0.const_str__12 = 'tbody'; __consts_0.const_tuple__79 = {}; __consts_0.exceptions_KeyError__108 = exceptions_KeyError; __consts_0.exceptions_KeyError_meta = new exceptions_KeyError_meta(); __consts_0.const_str__59 = ')'; __consts_0.const_str__44 = 'main_table'; __consts_0.const_str__87 = 'Tests [interrupted]'; __consts_0.const_str__34 = "')"; __consts_0.const_str__53 = 'RsyncFinished'; __consts_0.const_str__65 = ' run, '; __consts_0.exceptions_KeyError = new exceptions_KeyError(); __consts_0.const_str__102 = 'stdout'; __consts_0.const_str = 'aa'; __consts_0.const_str__67 = ' skipped'; __consts_0.const_str__74 = 'Py.test [crashed]'; __consts_0.const_str__48 = 'HostReady'; __consts_0.const_str__64 = 'FINISHED '; __consts_0.const_str__39 = 'Rsyncing'; __consts_0.const_str__9 = 'info'; __consts_0.const_str__14 = 'td'; __consts_0.const_str__42 = 'true'; __consts_0.exceptions_ValueError__106 = exceptions_ValueError; __consts_0.exceptions_StopIteration__110 = exceptions_StopIteration; __consts_0.exceptions_StopIteration_meta = new exceptions_StopIteration_meta(); __consts_0.exceptions_StopIteration = new exceptions_StopIteration(); __consts_0.const_tuple__85 = {}; __consts_0.const_str__94 = 'F'; __consts_0.const_str__36 = 'onmouseout'; __consts_0.const_str__45 = 'type'; __consts_0.const_str__88 = 'passed'; __consts_0.const_str__99 = '.'; __consts_0.const_str__51 = 'FailedTryiter'; __consts_0.py____test_rsession_webjs_Options__112 = py____test_rsession_webjs_Options; __consts_0.py____test_rsession_webjs_Options_meta = new py____test_rsession_webjs_Options_meta(); __consts_0.const_str__32 = '#ff0000'; __consts_0.const_str__29 = 'checked'; __consts_0.const_str__17 = 'messagebox'; __consts_0.const_str__56 = 'fullitemname'; __consts_0.const_str__84 = 'table'; __consts_0.const_str__68 = 'Py.test '; __consts_0.const_str__63 = 'skips'; __consts_0.const_str__55 = 'CrashedExecution'; __consts_0.const_str__19 = '\n'; __consts_0.py____test_rsession_webjs_Options = new py____test_rsession_webjs_Options(); __consts_0.const_str__18 = 'pre'; __consts_0.const_str__86 = 'Py.test [interrupted]'; __consts_0.const_str__25 = '\n======== Stdout: ========\n'; __consts_0.const_str__71 = '#00ff00'; __consts_0.const_tuple__8 = undefined; __consts_0.const_str__11 = 'beige'; __consts_0.const_str__77 = 'length'; __consts_0.const_tuple__80 = {}; __consts_0.const_str__101 = 'traceback'; __consts_0.const_str__43 = 'testmain'; __consts_0.const_str__97 = "javascript:show_skip('"; __consts_0.const_str__73 = '['; __consts_0.const_str__75 = 'Tests [crashed]'; __consts_0.const_str__57 = 'reason'; __consts_0.const_str__92 = "javascript:show_traceback('"; __consts_0.const_str__38 = 'Tests'; __consts_0.const_tuple__23 = {}; __consts_0.const_str__98 = 's'; __consts_0.const_str__61 = 'run'; __consts_0.const_str__52 = 'SkippedTryiter'; __consts_0.const_str__90 = 'None'; __consts_0.const_str__30 = 'True'; __consts_0.const_str__95 = '/'; __consts_0.const_str__70 = 'hostkey'; __consts_0.const_str__62 = 'fails'; __consts_0.const_str__46 = 'ItemStart'; __consts_0.const_str__76 = 'itemname'; __consts_0.const_str__50 = 'TestFinished'; __consts_0.const_str__2 = 'jobs'; __consts_0.const_str__26 = '\n========== Stderr: ==========\n'; __consts_0.const_tuple__15 = {}; __consts_0.const_str__103 = 'stderr'; __consts_0.const_str__93 = 'href'; __consts_0.exceptions_ValueError_meta = new exceptions_ValueError_meta(); __consts_0.const_str__10 = 'visible'; __consts_0.const_str__96 = 'False'; __consts_0.const_str__35 = 'onmouseover'; __consts_0.const_str__60 = '- FAILED TO LOAD MODULE'; __consts_0.const_str__78 = '[0/'; __consts_0.const_list = undefined; __consts_0.const_str__47 = 'SendItem'; __consts_0.const_str__69 = 'fullmodulename'; __consts_0.const_str__89 = 'skipped'; __consts_0.const_str__31 = 'hostsbody'; __consts_0.const_str__72 = '[0]'; __consts_0.const_str__3 = 'hidden'; __consts_0.const_str__24 = '====== Traceback: =========\n'; __consts_0.const_str__13 = 'tr'; __consts_0.const_str__104 = 'item_name'; __consts_0.const_str__40 = 'Tests ['; __consts_0.py____test_rsession_webjs_Globals__115 = py____test_rsession_webjs_Globals; __consts_0.Document = document; __consts_0.exceptions_ValueError = new exceptions_ValueError(); __consts_0.py____test_rsession_webjs_Globals_meta = new py____test_rsession_webjs_Globals_meta(); __consts_0.const_str__5 = ''; __consts_0.py____test_rsession_webjs_Globals = new py____test_rsession_webjs_Globals(); __consts_0.const_str__54 = 'InterruptedExecution'; __consts_0.const_str__28 = 'opt_scroll'; __consts_0.exceptions_KeyError_meta.class_ = __consts_0.exceptions_KeyError__108; __consts_0.exceptions_KeyError.meta = __consts_0.exceptions_KeyError_meta; __consts_0.exceptions_StopIteration_meta.class_ = __consts_0.exceptions_StopIteration__110; __consts_0.exceptions_StopIteration.meta = __consts_0.exceptions_StopIteration_meta; __consts_0.py____test_rsession_webjs_Options_meta.class_ = __consts_0.py____test_rsession_webjs_Options__112; __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.class_ = __consts_0.exceptions_ValueError__106; __consts_0.exceptions_ValueError.meta = __consts_0.exceptions_ValueError_meta; __consts_0.py____test_rsession_webjs_Globals_meta.class_ = __consts_0.py____test_rsession_webjs_Globals__115; __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.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; __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__114; __consts_0.py____test_rsession_webjs_Globals.orsync_done = false; __consts_0.py____test_rsession_webjs_Globals.ohost_pending = __consts_0.const_tuple__8;