-
Notifications
You must be signed in to change notification settings - Fork 18
/
master.js
1 lines (1 loc) · 361 KB
/
master.js
1
!function(e){var F,U,N,G,H,q,z,Q,X,J,Y,K,W,Z,$,ee,te,ie,ae,ne,oe,de,se,le,r,ce,re,ue,_e,fe,he,me,pe,ge,ve,be,ye,we,xe,je,Ae,ke,Ce,Se,Ee,Pe,Ie,Me,Le,Be,Oe,Te,Ve,De,Re,Fe,Ue,Ne,Ge,He,qe,ze,Qe,Xe,Je,Ye,Ke,We,Ze,$e,et,tt,it,at,nt,ot,dt,st,lt,ct,rt,ut,_t,ft,ht,mt,pt,gt,vt,bt,yt,wt,xt,jt,At,kt,Ct,St,Et,Pt,It,Mt,Lt,Bt,Ot,Tt,Vt,Dt,Rt,Ft,Ut,Nt,Gt,Ht,qt,zt,Qt,Xt,Jt,Yt,Kt,Wt,Zt,$t,ei,ti,ii,ai,ni,oi,di,si,li,ci,ri,ui,_i,fi,hi,mi,pi,gi,vi,bi,yi,wi,xi,ji,Ai,ki,Ci,Si,Ei,Pi,Ii,Mi,Li,Bi,Oi,Ti,Vi,Di,Ri,Fi,Ui,Ni,Gi,Hi,qi,zi,Qi,Xi,Ji,Yi,Ki,Wi,Zi,$i,ea,ta,ia,aa,na,oa,da,sa,la,ca,ra,ua,_a,fa,ha,ma,pa,ga,va,ba,ya,wa,xa,ja,Aa,ka,Ca,Sa,Ea,Pa,Ia,Ma,La,Ba,Oa,Ta,Va,Da,Ra,Fa,Ua,Na,Ga,Ha,qa,za,Qa,Xa,Ja,Ya,Ka,Wa,Za,$a,en,tn,an,nn,on,dn,sn,ln,cn,rn,un,_n,fn,hn,mn,pn,gn,vn,bn,yn,wn,xn,jn,An,kn,Cn,Sn,En,Pn,In,Mn,Ln,Bn,On,Tn,Vn,Dn,Rn,Fn,Un,Nn,Gn,Hn,qn,zn,Qn,Xn,Jn,Yn,Kn,Wn,Zn,$n,eo,to,io,ao,no,oo,so,lo,co,ro,uo,_o,fo,ho,mo,po,go,vo,bo,yo,wo,xo,jo,Ao,ko,Co,So,Eo,Po,Io,Mo,Lo,Bo,Oo,To,Vo,Do,Ro,Fo,Uo,No,Go,Ho,qo,zo,Qo,Xo,Jo,Yo,Ko,Wo,t="object"==typeof global&&global,Zo=(t.global!==t&&t.window!==t&&t.self!==t||(e=t),'<div id="body_container" style="margin:0px auto"><div id="scene1" class="screen_size" style="background-color:rgba(0, 0, 0, 1)"><div id="dialog_loading" class="screens dialogs hide" style="z-index:98;margin-top:50vh;overflow:visible"><div class="loading"><div></div><div></div><div></div><div></div></div></div><div id="main_remove_dialog" class="screens hide" style="z-index:100;background:rgba(0, 0, 0, 0.75)"><div class="dialog_exit" style="width:75%;margin-left:12.5%"><div id="main_dialog_remove" class="exit_text"></div><div style="text-align:center;margin-bottom:4%"><div id="remove_cancel" class="button_dialog_focused button_dialog" style="margin-left:0%"></div><div id="remove_yes" class="button_dialog"></div></div></div></div><div id="main_dialog_user" class="screens hide" style="z-index:100;background:rgba(0, 0, 0, 0.75)"><div class="dialog_exit" style="width:80%;margin-left:10%"><div id="main_dialog_user_text" class="exit_text"></div><div style="text-align:center;margin-bottom:4%"><div id="main_dialog_user_first" class="button_dialog_focused button_dialog" style="margin-left:0%"></div><div id="main_dialog_user_key" class="button_dialog" style="width:35%"></div><div id="main_dialog_user_remove" class="button_dialog" style="width:22%"></div></div></div></div><div id="main_dialog_exit" class="screens hide" style="z-index:100;background:rgba(0, 0, 0, 0.75)"><div class="dialog_exit"><div id="main_dialog_exit_text" class="exit_text"></div><div style="text-align:center;margin-bottom:4%"><div id="exit_app_cancel" class="button_dialog_focused button_dialog" style="margin-left:0%"></div><div id="exit_app_minimize" class="button_dialog"></div><div id="exit_app_close" class="button_dialog"></div></div></div></div><div id="dialog_period" class="screens hide" style="z-index:100;background:rgba(0, 0, 0, 0.75)"><div class="dialog_period"><div id="dialog_period_text" class="exit_text"></div><div style="text-align:center;margin-bottom:4%"><div id="dialog_period_1" class="button_dialog" style="margin-left:0%"></div><div id="dialog_period_2" class="button_dialog"></div><div id="dialog_period_3" class="button_dialog"></div><div id="dialog_period_4" class="button_dialog"></div></div></div></div><div id="dialog_OffSet" class="screens hide" style="z-index:100;background:rgba(0, 0, 0, 0.75)"><div class="dialog_period"><div id="dialog_OffSet_text" class="exit_text"></div><div id="dialog_OffSet_text_summary" class="exit_text"></div><div style="text-align:center;margin-bottom:4%;color:#ffffff;font-size:200%"><div class="settings_arraw_div"><div id="dialog_OffSet_left" class="left" style="opacity:1"></div></div><div id="dialog_OffSet_val" class="strokedeline settings_value settings_value_focus"></div><div class="settings_arraw_div"><div id="dialog_OffSet_right" class="right" style="opacity:1"></div></div></div></div></div><div id="dialog_warning" class="strokedeline dialogs hide" style="z-index:100;margin-top:31%;width:80%;margin-left:10%"><div id="dialog_warning_text" class="strokedeline" style="font-size:150%"></div></div><div id="dialog_about" class="screens hide" style="z-index:200;background:rgba(0, 0, 0, 0.75)"><div class="about_dialogs" style="width:95%;margin-left:2.5%"><div id="dialog_about_text" class="about_text"></div></div></div><div id="dialog_controls" class="screens hide" style="z-index:200;background:rgba(0, 0, 0, 0.75)"><div class="about_dialogs" style="width:85%;margin-left:7.5%"><div id="dialog_controls_text" class="controls_text"></div></div></div><div id="dialog_counter" style="position:absolute;z-index:101;width:100%;bottom:0;right:2vh"><div style="float:right;width:auto;height:auto;background:linear-gradient(to top, black, rgba(0, 0, 0, 0.75))"><div id="dialog_counter_text" class="counter_class"></div></div></div><div id="dialog_settings" class="screens hide" style="z-index:99;background:rgba(0, 0, 0, 0.75)"><div class="about_dialogs" style="width:98%;margin-left:1%"><div id="dialog_settings_text" class="about_text" style="font-size:90%"></div></div></div><div id="screens_holder" class="screens"><div id="UserChannels_scroll" class="screen_holder_channel hide"><div id="stream_table_user_channels" class="streams_div" style="margin-left:6.5%"></div></div><div id="SearchChannels_scroll" class="screen_holder_channel hide"><div id="stream_table_search_channel" class="streams_div"></div></div><div id="channel_content_scroll" class="screen_holder_switch hide"><div id="stream_table_channel_content" class="streams_div"><div><div id="channel_content_celly_0" class="stream_cell_period"><div id="channel_content_thumbdivy_0" class="stream_thumbnail_channel_vod"><div id="channel_content_titley_0" class="stream_channel_follow_game"></div></div></div><div id="channel_content_celly_1" class="stream_cell_period"><div id="channel_content_thumbdivy_1" class="stream_thumbnail_channel_vod"><div id="channel_content_titley_1" class="stream_channel_follow_game"></div></div></div><div id="channel_content_celly_2" class="stream_cell_period"><div id="channel_content_thumbdivy_2" class="stream_thumbnail_channel_vod"><div id="channel_content_titley_2" class="stream_channel_follow_game"></div></div></div></div><div id="channel_content_row0"><div class="stream_thumbnail_live_holder"><div class="stream_thumbnail_live"><div id="channel_content_thumbdiv0_1" class="stream_thumbnail_live_img"></div></div></div><div id="channel_content_cell0_1" class="stream_thumbnail_live_holder"><div id="channel_content_thumbdiv0_0" class="stream_thumbnail_live"></div></div><div class="stream_thumbnail_live_holder" style="padding-right:0;padding-left:0"><div class="stream_thumbnail_live"><div id="channel_content_infodiv0_1" class="stream_thumbnail_live_text_holder channel_about"></div></div></div></div><div id="channel_content_img0_1"></div></div></div><div id="Clip_scroll" class="screen_holder_switch hide"><div id="stream_table_clip" class="streams_div"></div></div><div id="ChannelClip_scroll" class="screen_holder_switch hide"><div id="stream_table_channel_clip" class="streams_div"></div></div><div id="AGameClip_scroll" class="screen_holder_switch hide"><div id="stream_table_a_game_clip" class="streams_div"></div></div><div id="user_scroll" class="screen_holder_user hide"><div id="stream_table_user" class="streams_div"></div></div><div id="settings_holder" class="settings_holder hide"><div id="settings_scroll" class="screen_holder_settings"><div id="settings_main" class="settings_main"></div><div id="settings_lang" class="settings_main hide"></div></div></div><div id="Game_scroll" class="screen_holder_games hide"><div id="stream_table_games" class="streams_game_div"></div></div><div id="UserGames_scroll" class="screen_holder_games hide"><div id="stream_table_user_games" class="streams_game_div"></div></div><div id="SearchGames_scroll" class="screen_holder_games hide"><div id="stream_table_search_game" class="streams_game_div"></div></div><div id="add_user_scroll" class="screen_holder hide"><div id="add_user" class="input_text_box"><input id="user_input" class="input_class" type="text" placeholder="" /></div></div><div id="oauth_scroll" class="screen_holder hide"><div id="oauth" class="input_text_box" style="margin-top:0"><div id="oauth_text" class="class_bold" style="color:#ffffff;font-size:88%"></div><input id="oauth_input" class="input_class" type="text" placeholder="" /></div></div><div id="search_scroll" class="screen_holder hide"><div id="search" class="input_text_box" style="margin-top:10%"><input id="search_input" class="input_class" type="text" placeholder="" /><div id="chanel_button" class="button_search" style="margin-left:27%"></div><div id="game_button" class="button_search"></div><div id="live_button" class="button_search" style="display:none"></div></div></div><div id="Live_scroll" class="screen_holder hide"><div id="stream_table_live" class="streams_div"></div></div><div id="Featured_scroll" class="screen_holder hide"><div id="stream_table_featured" class="streams_div"></div></div><div id="UserLive_scroll" class="screen_holder hide"><div id="stream_table_user_live" class="streams_div"></div></div><div id="AGame_scroll" class="screen_holder_switch hide"><div id="stream_table_a_game" class="streams_div"></div></div><div id="SearchLive_scroll" class="screen_holder hide"><div id="stream_table_search_live" class="streams_div"></div></div><div id="Vod_scroll" class="screen_holder_switch hide"><div id="stream_table_vod" class="streams_div"></div></div><div id="AGameVod_scroll" class="screen_holder_switch hide"><div id="stream_table_a_game_vod" class="streams_div"></div></div><div id="ChannelVod_scroll" class="screen_holder_switch hide"><div id="stream_table_channel_vod" class="streams_div"></div></div><div id="UserVod_scroll" class="screen_holder_switch hide"><div id="stream_table_user_vod" class="streams_div"></div></div></div><div id="topbar" class="topbar hide"><div class="top_clock"><div id="label_clock" class="icon_top_label" style="text-align:right"></div></div><div id="controls_div" class="controls_div"><div id="label_update" class="icon_top_label hide"></div><div id="label_refresh" class="icon_top_label"></div><div id="label_side_panel" class="icon_top_label hide"></div></div><div id="top_lable" class="top_lable"></div></div><div id="side_panel_new_holder" class="hide"><div id="side_panel_movel" class="side_panel_movel side_panel_border side_panel_background_color"><div class="side_panel_fix_top"><div class="side_panel_movel_top_text"><div class="side_panel_icons"><i class="icon icon-arrow-left"></i></div> <span id="side_panel_movel_top_text"></span></div><div class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_0" class="side_panel_new_icons_text_holder" style="height:1.9em"></div><div class="side_panel_new_icons_text_holder"></div></div><div class="side_panel_fix_top_2"><div class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_1" class="side_panel_new_icons_text_holder"></div><div class="side_panel_new_icons_text_holder"></div></div><div id="side_panel_movel_center" class="side_panel_fix_center"><div id="side_panel_movel_user_text_holder" class="side_panel_movel_user_text hide"><span id="side_panel_movel_user_text"></span></div><div id="side_panel_movel_new_2" class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_3" class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_4" class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_5" class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_6" class="side_panel_new_icons_text_holder"></div><div id="side_panel_movel_new_7" class="side_panel_new_icons_text_holder"></div></div><div id="side_panel_movel_bottom" class="side_panel_fix_bottom"><div class="side_panel_movel_bottom_holder"><div class="side_panel_movel_bottom_text"><div id="side_panel_movel_new_8"></div></div><div class="side_panel_movel_bottom_text"><div id="side_panel_movel_new_9"></div></div><div class="side_panel_movel_bottom_text"><div id="side_panel_movel_new_10"></div></div><div class="side_panel_movel_bottom_text"><div id="side_panel_movel_new_11"></div></div></div></div></div><div id="side_panel_fix" class="side_panel_fix"><div class="side_panel_fix_top" style="background-color:#000000"><div class="side_panel_new_icons"></div><div id="side_panel_new_0" class="side_panel_new_icons"><div id="side_panel_new_0_img"></div></div><div class="side_panel_new_icons"></div></div><div class="side_panel_fix_top_2"><div class="side_panel_new_icons"></div><div id="side_panel_new_1" class="side_panel_new_icons"><i class="icon icon-search side_panel_new_icons_pad"></i></div><div class="side_panel_new_icons"></div></div><div id="side_panel_fix_center" class="side_panel_fix_center" style="background-color:#000000"><div id="side_panel_new_2" class="side_panel_new_icons"><i class="icon icon-arrow-left side_panel_new_icons_pad"></i></div><div id="side_panel_new_3" class="side_panel_new_icons"><i class="icon icon-play side_panel_new_icons_pad"></i></div><div id="side_panel_new_4" class="side_panel_new_icons"><i class="icon icon-star side_panel_new_icons_pad"></i></div><div id="side_panel_new_5" class="side_panel_new_icons"><i class="icon icon-gamepad side_panel_new_icons_pad"></i></div><div id="side_panel_new_6" class="side_panel_new_icons"><i class="icon icon-movie-play side_panel_new_icons_pad"></i></div><div id="side_panel_new_7" class="side_panel_new_icons"><i class="icon icon-movie side_panel_new_icons_pad"></i></div></div><div id="side_panel_fix_botton" class="side_panel_fix_bottom" style="width:30%;background-color:#000000"></div></div></div></div><div id="scene2" class="screen_size hide"><div id="chat_container0" class="chat_container hide"><div id="chat_inner_container" class="chat_size"><div id="chat_loggedin0" class="chat_loggedin hide"></div><div id="chat_box_holder0" class="chat_box_holder"><div style="transform:rotate(180deg)"><div id="chat_box0"></div></div></div><div id="play_chat_dialog" style="position:absolute;text-align:center;width:100%;margin-top:50%"><div id="play_chat_dialog_text" class="strokedeline" style="display:inline-block;font-size:4vh;color:#ffffff"></div></div></div></div><div id="chat_container_name0" class="chat_container_name hide"><div class="chat_container_name_text"><i class="icon-arrow-left strokicon"></i></div><div id="chat_container_name_text0" class="strokedeline chat_container_name_text" style="transform:translateY(-7%)"></div><div id="chat_container_sound_icon0" class="chat_container_name_text"><i class="icon-volume strokicon"></i></div></div><div id="scene_channel_panel" class="screen_size scene_channel_panel"><div class="playerinfo"><img id="stream_info_icon" style="padding-left:1%;padding-top:1%;padding-bottom:1%;display:inline-block;width:9.5%" alt="" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" /><div id="stream_clock" class="playclock"></div><div class="playmaininfo"><div id="stream_info_name" class="class_bold" style="font-size:160%;margin-bottom:0.2em"></div><div id="stream_info_title"></div><div id="stream_info_game"></div><div id="stream_live_time" style="display:inline-block;width:auto"></div><div id="stream_live_viewers" style="display:inline-block;width:auto"></div><div id="stream_watching_time" class="playsideinfotext"></div></div></div><div id="controls_holder" class="controls_holder"></div><div id="progress_pause_holder" class="progress_pause_holder"><div id="progress_bar_div" class="progress_bar_div"><div id="progress_bar_jump_to" class="progress_bar_jump strokedeline" style="transform:translateY(-25%)"></div><div><div style="width:100%;position:relative;transform:translateY(-50%)"><div id="progress_bar_current_time" class="progress_bar_timer strokedeline"></div><div id="progress_bar" class="progress_bar_holder"><div class="progress_bar"><div id="inner_progress_bar" class="inner_progress_bar"></div></div></div><div id="progress_bar_duration" class="progress_bar_timer strokedeline"></div></div></div><div id="progress_bar_steps" class="progress_bar_jump strokedeline" style="position:relative;top:35%;transform:translateY(-110%)" ></div></div><div id="pause_next_div" class="pause_next_div"><div style="width:44%;display:inline-block;text-align:right"><div id="back_button" class="next_button" style="opacity:0"><div id="back_button_text" class="next_text"><div id="back_button_text_name" class="next_channel strokedeline" style="text-align:right"></div><div id="back_button_text_title" class="next_info strokedeline" style="text-align:right"></div></div><i class="pause_button3d icon-back"></i></div></div><div style="width:5%;display:inline-block;text-align:center;margin-left:0.5ch;margin-right:0.5ch"><div id="pause_button" class="pause_button" style="width:90%;padding-top:0.375em;padding-bottom:0.375em"><div><i class="pause_button3d icon-pause"></i></div></div></div><div style="width:44%;display:inline-block;text-align:left"><div id="next_button" class="next_button" style="opacity:0"><i class="pause_button3d icon-next"></i><div id="next_button_text" class="next_text"><div id="next_button_text_name" class="next_channel strokedeline"></div><div id="next_button_text_title" class="next_info strokedeline"></div></div></div></div></div></div></div><div id="chat_send" class="chat_send screen_holder hide"><div id="dialog_warning_chat" class="dialogs hide" style="z-index:7;margin-top:1%"><div id="dialog_warning_chat_text" class="strokedelinebig dialog_text" style="font-size:3vh;background-color:rgba(0, 0, 0, 0.7)" ></div></div><div class="chat_input_text_box"><div id="chat_send_button0" class="button_chat" style="margin-top:1%;margin-left:0"></div><div id="chat_send_button1" class="button_chat"></div><div id="chat_send_button2" class="button_chat"></div><div id="chat_send_button3" class="button_chat"></div><div id="chat_send_button4" class="button_chat"></div><div id="chat_send_button5" class="button_chat"></div><div id="chat_send_button6" class="button_chat" style="margin-left:0"></div><div id="chat_send_button7" class="button_chat"></div><div id="chat_send_button8" class="button_chat"></div><div id="chat_send_button9" class="button_chat"></div><div id="chat_send_button10" class="button_chat"></div><div id="chat_send_button11" class="button_chat"></div><input id="chat_send_input" class="chat_input_class" onfocus="this.value = this.value;" type="text" placeholder="" /><div id="chat_result" class="chat_result"></div><div class="chat_result_holder"><div class="chat_result_holder_inner"><div id="chat_result_text" class="chat_result_text"></div></div></div><div id="chat_state" class="chat_result"></div></div></div><div id="chat_options" class="screens hide" style="z-index:99"><div class="about_dialogs" style="width:96%;margin-left:2%"><div id="chat_options_text" class="about_text" style="font-size:98%"></div></div></div><div id="chat_emotes_holder" class="chat_emotes_holder hide"><div id="chat_emotes_text" class="chat_emotes_text"></div><div id="chat_emotes_div" class="chat_emotes_div"><div id="chat_emotes" class="chat_emotes"></div></div><div id="chat_emotes_counter" class="chat_emotes_counter"></div></div><div id="playsideinfo" class="playsideinfo hide"><div id="stream_quality" class="playsideinfostatus"></div><div id="stream_status" class="playsideinfostatus"></div></div><div id="scene2_dialogs" style="display:flex;position:absolute;width:100%;height:100%;z-index:2"><div id="dialog_vod_start" class="dialogs hide" style="z-index:3;font-size:150%;height:75%;margin-top:25%"><div id="dialog_vod_text" class="strokedeline" style="font-size:140%;padding-bottom:2%"></div><div id="dialog_vod_0" class="dialog_end_icons_start dialog_end_icons_focus"><i class="icon-history strokicon" style="font-size:225%"></i><div id="dialog_vod_saved_text" class="strokedeline"></div></div><div id="dialog_vod_1" class="dialog_end_icons_start"><i class="icon-play strokicon" style="font-size:225%"></i><div id="dialog_vod_start_text" class="strokedeline"></div></div></div><div id="dialog_end_stream" class="dialogs hide" style="z-index:4;font-size:150%;height:100%;background-color:rgba(0, 0, 0, 0.8)" ><div id="dialog_end_stream_text" class="strokedeline" style="margin-top:15%;font-size:145%;padding-bottom:1%"></div><div id="dialog_end_-1" class="dialog_end_icons hide"><i class="icon-next strokicon icon_end"></i><div id="dialog_end_next_text" class="strokedeline"></div><div class="end_texts_holder"><div id="end_next_button_text_name" class="end_text next_channel strokedeline"></div><div id="end_next_button_text_title" class="next_info_dialog strokedeline"></div></div></div><div id="dialog_end_0" class="dialog_end_icons dialog_end_icons_focus"><i class="icon-refresh strokicon icon_end"></i><div id="dialog_end_replay_text" class="strokedeline"></div><div class="end_texts_holder"><div id="end_replay_name_text" class="end_text next_channel strokedeline"></div><div id="end_replay_title_text" class="next_info_dialog strokedeline"></div></div></div><div id="dialog_end_1" class="dialog_end_icons"><i class="icon-play strokicon icon_end"></i><div id="dialog_end_vod_text" class="strokedeline"></div><div class="end_texts_holder"><div id="end_vod_name_text" class="end_text next_channel strokedeline"></div><div id="end_vod_title_text" class="next_info_dialog strokedeline"></div></div></div><div id="dialog_end_2" class="dialog_end_icons"><i class="icon-filmstrip strokicon icon_end"></i><div id="dialog_end_channel_text" class="end_text strokedeline"></div><div id="end_channel_name_text" class="strokedeline" style="font-size:85%;overflow:hidden;text-overflow:ellipsis" ></div></div><div id="dialog_end_3" class="dialog_end_icons"><i class="icon-gamepad strokicon" style="font-size:6.75vh"></i><div id="dialog_end_game_text" class="strokedeline"></div><div class="end_texts_holder"><div id="end_game_name_text" class="end_text next_channel strokedeline" style="text-align:center"></div></div></div></div><div id="dialog_loading_play" class="screen_size dialogs hide" style="z-index:98;margin-top:50vh;overflow:visible"><div class="loading"><div></div><div></div><div></div><div></div></div></div><div id="play_dialog_exit" class="dialogs hide" style="z-index:6;margin-top:11%"><div id="play_dialog_exit_text" class="strokedelinebig" style="font-size:230%"></div></div><div id="dialog_warning_play" class="dialogs hide" style="z-index:7;margin-top:10%"><div id="dialog_warning_play_text" class="strokedelinebig" style="font-size:140%"></div></div><div id="dialog_warning_play_middle" class="dialogs hide" style="z-index:101;margin-top:50vh"><div id="dialog_warning_play_middle_text" class="strokedelinebig dialog_text" style="font-size:140%"></div></div></div></div><div id="scenefeed" class="feed_screen"><div id="user_feed_notify" class="user_feed_notify user_feed_notify_hide" style="margin-top:-20%"><div id="user_feed_notify_content" class="side_panel_not"><div id="user_feed_notify_main" class="class_bold" style="text-align:center"></div><div><div id="user_feed_notify_img_holder" class="side_panel_iner_div1"></div><div class="notification_holder"><div id="user_feed_notify_name" class="notification_name"></div><div id="user_feed_notify_title" class="notification_title"></div><div id="user_feed_notify_game" class="notification_game"></div></div></div></div></div><div id="user_feed" class="user_feed user_feed_hide"><div id="icon_feed_refresh" class="icon_feed_refresh"></div><div id="dialog_loading_feed" class="dialogs_feed hide" style="margin-top:5.5%;overflow:visible"><div class="loading"><div></div><div></div><div></div><div></div></div></div><div id="user_feed_scroll" class="user_feed_scroll user_feed_scroll_ani"></div></div><div id="side_panel_feed_thumb" class="side_panel_feed_thumb hide"><div class="stream_thumbnail_clip"><img id="feed_thumb_img" class="stream_img_side" alt="" src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" /></div><div class="side_panel_feed_thumb_text_holder"><div class="stream_text_holder"><div id="feed_thum_name" class="side_panel_feed_thumb_text class_bold" style="width:75%;display:inline-block;font-size:110%" ></div><div id="feed_thum_quality" class="side_panel_feed_thumb_text" style="width:24%;float:right;text-align:right"></div><div id="feed_thum_title" class="side_panel_feed_thumb_title_text"></div><div id="feed_thum_game" class="side_panel_feed_thumb_text"></div><div id="feed_thum_views" class="side_panel_feed_thumb_text"></div></div></div></div><div id="side_panel" class="side_panel side_panel_border side_panel_background_color side_panel_hide" style="margin-left:-31.5%"><div id="side_panel_new" style="width:100%;position:absolute"><div id="side_panel_feed_holder" style="width:94%;margin-left:6%"><div id="dialog_loading_side_feed" class="side_panel_dialog hide"><div class="loading"><div></div><div></div><div></div><div></div></div></div><div id="side_panel_row_0"><div id="side_panel_cell0_0" style="width:100%;display:inline-block;padding:1%"><div id="side_panel_thumbdiv0_0" class="side_panel_div"><div id="side_panel_feed_1" class="side_panel_feed_top"><div class="side_panel_icons"><i class="icon icon-arrow-right"></i></div> <span id="side_panel_feed_settings"></span></div><div id="side_panel_feed_2" class="side_panel_feed_top"><div class="side_panel_icons"><i class="icon icon-arrow-left"></i></div> <span id="side_panel_feed_refresh"></span></div></div></div></div><div id="side_panel_new_row_1" style="overflow:hidden;width:94%;position:absolute"><div id="side_panel_holder" class="side_panel_holder_ani"></div><div id="side_panel_warn" class="side_panel_feed_top" style="display:none"><span id="side_panel_warn_text"></span></div></div></div></div></div><div id="rest_warning" class="strokedeline dialogs hide" style="top:45vh;font-size:6vh;background:#000000;height:auto"></div><div id="dialog_warning_extra" class="screens hide" style="z-index:9999;background:rgba(0, 0, 0, 0.75)"><div class="about_dialogs" style="width:96%;margin-left:2%"><div id="dialog_warning_extra_text" class="about_text class_bold" style="font-size:3vh"></div></div></div></div></div>'),n="#328df5",$o=" ",ed="fglfgl27@gmail.com",m="<br>",o='<i class="icon-circle class_bold" style="font-size: 50%; vertical-align: middle;"></i> ',td='<div class="about_text_title">',id='<div class="about_text_title" style="text-align: left;">',ad='<div style="text-align: left;">',nd="",od="",dd="",sd="",v=" ",ld="1DuhCT6L3VfBtFcS8FNfVXgBzE2rwCPx3x",cd='<div style="text-align: center; width: 100%; display: inline-block; color: #0366d6;">',rd='<span style="color: '+n+';">';function ud(e,t){return'<a style="color: '+n+'; text-decoration:none;" href="'+(t||"")+e+'" target="_blank">'+e+"</a>"}var _d,fd='[{"unicode":"😀","code":"grin","id":"0_grin","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f600.png"},{"unicode":"😃","code":"smile","id":"1_smile","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f603.png"},{"unicode":"😄","code":"smile2","id":"2_smile2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f604.png"},{"unicode":"😁","code":"smile3","id":"3_smile3","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f601.png"},{"unicode":"😆","code":"satisfied","id":"4_satisfied","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f606.png"},{"unicode":"😅","code":"sweat","id":"5_sweat","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f605.png"},{"unicode":"🤣","code":"rolling","id":"6_rolling","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f923.png"},{"unicode":"😂","code":"tear","id":"7_tear","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f602.png"},{"unicode":"🙂","code":"smile4","id":"8_smile4","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f642.png"},{"unicode":"🙃","code":"smile-upside-down","id":"9_smile-upside-down","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f643.png"},{"unicode":"😉","code":"wink","id":"10_wink","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f609.png"},{"unicode":"😊","code":"smile-blush","id":"11_smile-blush","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60a.png"},{"unicode":"😇","code":"angel","id":"12_angel","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f607.png"},{"unicode":"🥰","code":"adore","id":"13_adore","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f970.png"},{"unicode":"😍","code":"smile-love","id":"14_smile-love","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60d.png"},{"unicode":"🤩","code":"smile-star","id":"15_smile-star","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f929.png"},{"unicode":"😘","code":"kiss","id":"16_kiss","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f618.png"},{"unicode":"😗","code":"kiss2","id":"17_kiss2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f617.png"},{"unicode":"☺️","code":"relaxed","id":"18_relaxed","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/263a.png"},{"unicode":"😚","code":"kiss3","id":"19_kiss3","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f61a.png"},{"unicode":"😙","code":"kis4","id":"20_kis4","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f619.png"},{"unicode":"😋","code":"delicious","id":"21_delicious","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60b.png"},{"unicode":"😛","code":"tongue","id":"22_tongue","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f61b.png"},{"unicode":"😜","code":"tongue-wink","id":"23_tongue-wink","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f61c.png"},{"unicode":"🤪","code":"goofy","id":"24_goofy","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f92a.png"},{"unicode":"😝","code":"tongue-><","id":"25_tongue-><","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f61d.png"},{"unicode":"🤑","code":"face-money","id":"26_face-money","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f911.png"},{"unicode":"🤗","code":"hugging","id":"27_hugging","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f917.png"},{"unicode":"🤭","code":"whoops","id":"28_whoops","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f92d.png"},{"unicode":"🤫","code":"quiet","id":"29_quiet","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f92b.png"},{"unicode":"🤔","code":"thinking","id":"30_thinking","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f914.png"},{"unicode":"🤐","code":"zipper","id":"31_zipper","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f910.png"},{"unicode":"🤨","code":"skeptic","id":"32_skeptic","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f928.png"},{"unicode":"😑","code":"unexpressive","id":"33_unexpressive","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f611.png"},{"unicode":"😶","code":"silent","id":"34_silent","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f636.png"},{"unicode":"😏","code":"smirk","id":"35_smirk","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60f.png"},{"unicode":"😒","code":"unhappy","id":"36_unhappy","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f612.png"},{"unicode":"🙄","code":"eyeroll","id":"37_eyeroll","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f644.png"},{"unicode":"😬","code":"grimace","id":"38_grimace","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f62c.png"},{"unicode":"🤥","code":"pinocchio","id":"39_pinocchio","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f925.png"},{"unicode":"😌","code":"relieved","id":"40_relieved","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60c.png"},{"unicode":"😔","code":"pensive","id":"41_pensive","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f614.png"},{"unicode":"😪","code":"sleep","id":"42_sleep","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f62a.png"},{"unicode":"🤤","code":"drooling-face","id":"43_drooling-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f924.png"},{"unicode":"😴","code":"sleep-face","id":"44_sleep-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f634.png"},{"unicode":"😷","code":"cold-face","id":"45_cold-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f637.png"},{"unicode":"🤒","code":"sick-face","id":"46_sick-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f912.png"},{"unicode":"🤕","code":"bandage-face","id":"47_bandage-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f915.png"},{"unicode":"🤢","code":"nauseated-face","id":"48_nauseated-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f922.png"},{"unicode":"🤮","code":"sick-face","id":"49_sick-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f92e.png"},{"unicode":"🤧","code":"sneeze","id":"50_sneeze","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f927.png"},{"unicode":"🥵","code":"feverish","id":"51_feverish","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f975.png"},{"unicode":"🥶","code":"blue-faced","id":"52_blue-faced","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f976.png"},{"unicode":"🥴","code":"intoxicated","id":"53_intoxicated","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f974.png"},{"unicode":"😵","code":"dizzy","id":"54_dizzy","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f635.png"},{"unicode":"🤯","code":"mind blown","id":"55_mind blown","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f92f.png"},{"unicode":"🤠","code":"cowboy","id":"56_cowboy","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f920.png"},{"unicode":"🥳","code":"celebration","id":"57_celebration","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f973.png"},{"unicode":"😎","code":"cool-face","id":"58_cool-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f60e.png"},{"unicode":"🤓","code":"cool","id":"59_cool","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f913.png"},{"unicode":"🧐","code":"stuffy","id":"60_stuffy","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9d0.png"},{"unicode":"😕","code":"confused","id":"61_confused","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f615.png"},{"unicode":"😟","code":"worried","id":"62_worried","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f61f.png"},{"unicode":"🙁","code":"frown","id":"63_frown","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f641.png"},{"unicode":"☹️","code":"frown","id":"64_frown","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2639.png"},{"unicode":"😮","code":"mouth-open","id":"65_mouth-open","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f62e.png"},{"unicode":"😯","code":"surprised","id":"66_surprised","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f62f.png"},{"unicode":"😲","code":"astonished","id":"67_astonished","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f632.png"},{"unicode":"😳","code":"dazed","id":"68_dazed","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f633.png"},{"unicode":"🥺","code":"puppy eyes","id":"69_puppy eyes","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f97a.png"},{"unicode":"😦","code":"frown","id":"70_frown","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f626.png"},{"unicode":"😧","code":"anguished","id":"71_anguished","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f627.png"},{"unicode":"😨","code":"fearful","id":"72_fearful","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f628.png"},{"unicode":"😰","code":"fearful2","id":"73_fearful2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f630.png"},{"unicode":"😥","code":"disappointed","id":"74_disappointed","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f625.png"},{"unicode":"😢","code":"cry-face","id":"75_cry-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f622.png"},{"unicode":"😭","code":"cry-face2","id":"76_cry-face2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f62d.png"},{"unicode":"😱","code":"fear-face","id":"77_fear-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f631.png"},{"unicode":"😖","code":"confounded","id":"78_confounded","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f616.png"},{"unicode":"😣","code":"persevere","id":"79_persevere","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f623.png"},{"unicode":"😞","code":"disappointed","id":"80_disappointed","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f61e.png"},{"unicode":"😓","code":"cold","id":"81_cold","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f613.png"},{"unicode":"😩","code":"weary","id":"82_weary","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f629.png"},{"unicode":"😫","code":"tired","id":"83_tired","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f62b.png"},{"unicode":"😤","code":"triumph","id":"84_triumph","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f624.png"},{"unicode":"😡","code":"angry","id":"85_angry","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f621.png"},{"unicode":"😠","code":"mad","id":"86_mad","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f620.png"},{"unicode":"🤬","code":"swearing","id":"87_swearing","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f92c.png"},{"unicode":"😈","code":"devil","id":"88_devil","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f608.png"},{"unicode":"👿","code":"demon","id":"89_demon","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f47f.png"},{"unicode":"💀","code":"death","id":"90_death","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f480.png"},{"unicode":"☠️","code":"crossbones","id":"91_crossbones","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2620.png"},{"unicode":"💩","code":"poop","id":"92_poop","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a9.png"},{"unicode":"🤡","code":"clown","id":"93_clown","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f921.png"},{"unicode":"👹","code":"creature","id":"94_creature","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f479.png"},{"unicode":"👺","code":"creature2","id":"95_creature2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f47a.png"},{"unicode":"👻","code":"ghost","id":"96_ghost","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f47b.png"},{"unicode":"👾","code":"alien","id":"97_alien","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f47e.png"},{"unicode":"🤖","code":"robot","id":"98_robot","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f916.png"},{"unicode":"😺","code":"cat-face","id":"99_cat-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f63a.png"},{"unicode":"😸","code":"cat-smile","id":"100_cat-smile","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f638.png"},{"unicode":"😹","code":"cat-tear","id":"101_cat-tear","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f639.png"},{"unicode":"😻","code":"cat-heart","id":"102_cat-heart","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f63b.png"},{"unicode":"😼","code":"cat-ironic","id":"103_cat-ironic","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f63c.png"},{"unicode":"😽","code":"cat-kiss","id":"104_cat-kiss","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f63d.png"},{"unicode":"🙀","code":"cat-surprised","id":"105_cat-surprised","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f640.png"},{"unicode":"😿","code":"cat-sad","id":"106_cat-sad","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f63f.png"},{"unicode":"😾","code":"cat-pouting","id":"107_cat-pouting","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f63e.png"},{"unicode":"👋","code":"hand-wave","id":"108_hand-wave","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44b.png"},{"unicode":"🤚","code":"backhand","id":"109_backhand","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f91a.png"},{"unicode":"🖐️","code":"hand-open-finger","id":"110_hand-open-finger","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f590.png"},{"unicode":"✋","code":"hand","id":"111_hand","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/270b.png"},{"unicode":"🖖","code":"hand-vulcan","id":"112_hand-vulcan","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f596.png"},{"unicode":"👌","code":"hand-ok","id":"113_hand-ok","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44c.png"},{"unicode":"✌️","code":"hand-v","id":"114_hand-v","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/270c.png"},{"unicode":"🤞","code":"hand-cross","id":"115_hand-cross","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f91e.png"},{"unicode":"🤟","code":"hand-ily","id":"116_hand-ily","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f91f.png"},{"unicode":"🤘","code":"hand-horns","id":"117_hand-horns","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f918.png"},{"unicode":"🤙","code":"hand-call","id":"118_hand-call","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f919.png"},{"unicode":"🖕","code":"hand-finger","id":"119_hand-finger","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f595.png"},{"unicode":"👈","code":"hand-point","id":"120_hand-point","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f448.png"},{"unicode":"👇","code":"hand-poin2","id":"121_hand-poin2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f447.png"},{"unicode":"☝️","code":"hand-point3","id":"122_hand-point3","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/261d.png"},{"unicode":"👍","code":"hand-thumb-up","id":"123_hand-thumb-up","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44d.png"},{"unicode":"👎","code":"hand-thumb-down","id":"124_hand-thumb-down","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44e.png"},{"unicode":"✊","code":"hand-punch","id":"125_hand-punch","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/270a.png"},{"unicode":"👊","code":"hand-punch2","id":"126_hand-punch2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44a.png"},{"unicode":"🤛","code":"hand-punch3","id":"127_hand-punch3","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f91b.png"},{"unicode":"🤜","code":"hand-punch4","id":"128_hand-punch4","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f91c.png"},{"unicode":"👏","code":"hand-clap","id":"129_hand-clap","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44f.png"},{"unicode":"🙌","code":"hand-celebration","id":"130_hand-celebration","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f64c.png"},{"unicode":"👐","code":"hand-open","id":"131_hand-open","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f450.png"},{"unicode":"🤲","code":"hand-prayer","id":"132_hand-prayer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f932.png"},{"unicode":"🤝","code":"hand-agreement","id":"133_hand-agreement","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f91d.png"},{"unicode":"🙏","code":"hand-please","id":"134_hand-please","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f64f.png"},{"unicode":"✍️","code":"hand-write","id":"135_hand-write","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/270d.png"},{"unicode":"💅","code":"cosmetics","id":"136_cosmetics","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f485.png"},{"unicode":"🤳","code":"self","id":"137_self","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f933.png"},{"unicode":"💪","code":"muscle","id":"138_muscle","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4aa.png"},{"unicode":"🦵","code":"kick","id":"139_kick","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9b5.png"},{"unicode":"🦶","code":"kick2","id":"140_kick2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9b6.png"},{"unicode":"👂","code":"ear","id":"141_ear","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f442.png"},{"unicode":"👃","code":"nose","id":"142_nose","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f443.png"},{"unicode":"🧠","code":"brain","id":"143_brain","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e0.png"},{"unicode":"🦷","code":"tooth","id":"144_tooth","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9b7.png"},{"unicode":"👀","code":"eyes","id":"145_eyes","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f440.png"},{"unicode":"👁️","code":"eye","id":"146_eye","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f441.png"},{"unicode":"👅","code":"tongue2","id":"147_tongue2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f445.png"},{"unicode":"👄","code":"lips","id":"148_lips","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f444.png"},{"unicode":"👶","code":"baby","id":"149_baby","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f476.png"},{"unicode":"👨🦲","code":"bald","id":"150_bald","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f468-200d-1f9b2.png"},{"unicode":"👴","code":"old-man","id":"151_old-man","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f474.png"},{"unicode":"👵","code":"old-woman","id":"152_old-woman","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f475.png"},{"unicode":"🔥","code":"fire","id":"153_fire","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f525.png"},{"unicode":"👨🚒","code":"firefighter","id":"154_firefighter","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f468-200d-1f692.png"},{"unicode":"👩🚒","code":"firefighter2","id":"155_firefighter2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f469-200d-1f692.png"},{"unicode":"👮♂️","code":"police-officer","id":"156_police-officer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f46e-200d-2642-fe0f.png"},{"unicode":"👮♀️","code":"police-officer-woman","id":"157_police-officer-woman","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f46e-200d-2640-fe0f.png"},{"unicode":"👨👩👧👦","code":"family","id":"158_family","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f468-200d-1f469-200d-1f467-200d-1f466.png"},{"unicode":"🙈","code":"monkey-see","id":"159_monkey-see","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f648.png"},{"unicode":"🙉","code":"monkey-hear","id":"160_monkey-hear","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f649.png"},{"unicode":"🙊","code":"monkey-speak","id":"161_monkey-speak","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f64a.png"},{"unicode":"💋","code":"kiss-lips","id":"162_kiss-lips","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f48b.png"},{"unicode":"💌","code":"heart-letter","id":"163_heart-letter","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f48c.png"},{"unicode":"💘","code":"arrow-cupid","id":"164_arrow-cupid","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f498.png"},{"unicode":"💝","code":"valentine","id":"165_valentine","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49d.png"},{"unicode":"💖","code":"sparkle-heart","id":"166_sparkle-heart","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f496.png"},{"unicode":"💗","code":"pulse","id":"167_pulse","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f497.png"},{"unicode":"💓","code":"beating","id":"168_beating","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f493.png"},{"unicode":"💞","code":"revolving","id":"169_revolving","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49e.png"},{"unicode":"💕","code":"love","id":"170_love","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f495.png"},{"unicode":"❣️","code":"exclamation","id":"171_exclamation","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2763.png"},{"unicode":"💔","code":"broken-heart","id":"172_broken-heart","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f494.png"},{"unicode":"💟","code":"heart-Decoration","id":"173_heart-Decoration","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49f.png"},{"unicode":"🖤","code":"heart-black","id":"174_heart-black","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5a4.png"},{"unicode":"🤎","code":"heart-brown","id":"175_heart-brown","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f90e.png"},{"unicode":"💙","code":"heart-blue","id":"176_heart-blue","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f499.png"},{"unicode":"💚","code":"heart-green","id":"177_heart-green","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49a.png"},{"unicode":"🧡","code":"heart-orange","id":"178_heart-orange","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e1.png"},{"unicode":"💜","code":"heart-purple","id":"179_heart-purple","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49c.png"},{"unicode":"❤️","code":"heart-red","id":"180_heart-red","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2764.png"},{"unicode":"🤍","code":"black-white","id":"181_black-white","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f90d.png"},{"unicode":"💛","code":"heart-yellow","id":"182_heart-yellow","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f49b.png"},{"unicode":"💯","code":"hundred","id":"183_hundred","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4af.png"},{"unicode":"💢","code":"mad","id":"184_mad","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a2.png"},{"unicode":"💥","code":"boom","id":"185_boom","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a5.png"},{"unicode":"💫","code":"stars","id":"186_stars","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4ab.png"},{"unicode":"💦","code":"splashing","id":"187_splashing","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a6.png"},{"unicode":"💨","code":"comic-dash","id":"188_comic-dash","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a8.png"},{"unicode":"🕳️","code":"hole","id":"189_hole","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f573.png"},{"unicode":"💬","code":"balloon-dialog","id":"190_balloon-dialog","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4ac.png"},{"unicode":"🗨️","code":"dialog","id":"191_dialog","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5e8.png"},{"unicode":"🗯️","code":"angry-balloon","id":"192_angry-balloon","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5ef.png"},{"unicode":"💭","code":"balloon-bubble","id":"193_balloon-bubble","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4ad.png"},{"unicode":"💤","code":"comic-sleep","id":"194_comic-sleep","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a4.png"},{"unicode":"🕶️","code":"glasses-dark","id":"195_glasses-dark","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f576.png"},{"unicode":"🥽","code":"glasses-swimming","id":"196_glasses-swimming","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f97d.png"},{"unicode":"🥼","code":"scientist","id":"197_scientist","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f97c.png"},{"unicode":"👔","code":"tie","id":"198_tie","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f454.png"},{"unicode":"👕","code":"tshirt","id":"199_tshirt","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f455.png"},{"unicode":"👖","code":"pants","id":"200_pants","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f456.png"},{"unicode":"🧣","code":"neck","id":"201_neck","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e3.png"},{"unicode":"🧤","code":"hand","id":"202_hand","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e4.png"},{"unicode":"🧥","code":"jacket","id":"203_jacket","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e5.png"},{"unicode":"🧦","code":"stocking","id":"204_stocking","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e6.png"},{"unicode":"👗","code":"clothing","id":"205_clothing","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f457.png"},{"unicode":"👘","code":"clothing2","id":"206_clothing2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f458.png"},{"unicode":"👙","code":"swim-clothing","id":"207_swim-clothing","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f459.png"},{"unicode":"👚","code":"woman-clothing","id":"208_woman-clothing","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f45a.png"},{"unicode":"👛","code":"coin-clothing","id":"209_coin-clothing","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f45b.png"},{"unicode":"👜","code":"purse","id":"210_purse","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f45c.png"},{"unicode":"👝","code":"pouch","id":"211_pouch","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f45d.png"},{"unicode":"🛍️","code":"shopping-bag","id":"212_shopping-bag","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6cd.png"},{"unicode":"🎒","code":"school-bag","id":"213_school-bag","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f392.png"},{"unicode":"👞","code":"shoe","id":"214_shoe","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f45e.png"},{"unicode":"👟","code":"sneaker","id":"215_sneaker","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f45f.png"},{"unicode":"🥾","code":"hiking-boot","id":"216_hiking-boot","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f97e.png"},{"unicode":"🥿","code":"ballet flat","id":"217_ballet flat","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f97f.png"},{"unicode":"👠","code":"woman-shoe","id":"218_woman-shoe","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f460.png"},{"unicode":"👡","code":"woman-shoe2","id":"219_woman-shoe2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f461.png"},{"unicode":"👢","code":"woman-boot","id":"220_woman-boot","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f462.png"},{"unicode":"👑","code":"king","id":"221_king","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f451.png"},{"unicode":"👒","code":"hat","id":"222_hat","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f452.png"},{"unicode":"🎩","code":"tophat","id":"223_tophat","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3a9.png"},{"unicode":"🧢","code":"baseball cap","id":"224_baseball cap","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9e2.png"},{"unicode":"⛑️","code":"aid","id":"225_aid","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/26d1.png"},{"unicode":"📿","code":"beads","id":"226_beads","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4ff.png"},{"unicode":"💄","code":"lipstick","id":"227_lipstick","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f484.png"},{"unicode":"💍","code":"diamond-ring","id":"228_diamond-ring","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f48d.png"},{"unicode":"💎","code":"diamond","id":"229_diamond","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f48e.png"},{"unicode":"🔇","code":"mute","id":"230_mute","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f507.png"},{"unicode":"🔉","code":"medium","id":"231_medium","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f509.png"},{"unicode":"🔊","code":"loud","id":"232_loud","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f50a.png"},{"unicode":"📢","code":"loud2","id":"233_loud2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4e2.png"},{"unicode":"📣","code":"cheering","id":"234_cheering","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4e3.png"},{"unicode":"📯","code":"horn","id":"235_horn","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4ef.png"},{"unicode":"🔔","code":"bell","id":"236_bell","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f514.png"},{"unicode":"🔕","code":"bell","id":"237_bell","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f515.png"},{"unicode":"🎼","code":"music-score","id":"238_music-score","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3bc.png"},{"unicode":"🎵","code":"music-note","id":"239_music-note","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3b5.png"},{"unicode":"🎶","code":"music-notes","id":"240_music-notes","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3b6.png"},{"unicode":"🎙️","code":"microphone","id":"241_microphone","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f399.png"},{"unicode":"🎤","code":"microphone2","id":"242_microphone2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3a4.png"},{"unicode":"🎷","code":"sax","id":"243_sax","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3b7.png"},{"unicode":"🎸","code":"guitar","id":"244_guitar","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3b8.png"},{"unicode":"🎹","code":"piano-keys","id":"245_piano-keys","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3b9.png"},{"unicode":"🎺","code":"trumpet","id":"246_trumpet","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3ba.png"},{"unicode":"🎻","code":"violin","id":"247_violin","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3bb.png"},{"unicode":"🥁","code":"drumsticks","id":"248_drumsticks","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f941.png"},{"unicode":"📱","code":"cellphone","id":"249_cellphone","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4f1.png"},{"unicode":"☎️","code":"phone","id":"250_phone","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/260e.png"},{"unicode":"📞","code":"phone2","id":"251_phone2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4de.png"},{"unicode":"📠","code":"fax","id":"252_fax","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4e0.png"},{"unicode":"🔋","code":"battery","id":"253_battery","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f50b.png"},{"unicode":"🔌","code":"plug","id":"254_plug","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f50c.png"},{"unicode":"🖥️","code":"computer-desktop","id":"255_computer-desktop","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5a5.png"},{"unicode":"🖨️","code":"printer","id":"256_printer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5a8.png"},{"unicode":"⌨️","code":"keyboard","id":"257_keyboard","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2328.png"},{"unicode":"🖱️","code":"mouse-computer","id":"258_mouse-computer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5b1.png"},{"unicode":"💽","code":"computer-disk","id":"259_computer-disk","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4bd.png"},{"unicode":"💾","code":"floppy-disk","id":"260_floppy-disk","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4be.png"},{"unicode":"📀","code":"blu-ray","id":"261_blu-ray","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4c0.png"},{"unicode":"🧮","code":"calculation","id":"262_calculation","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9ee.png"},{"unicode":"🎥","code":"camera","id":"263_camera","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3a5.png"},{"unicode":"🎞️","code":"cinema","id":"264_cinema","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f39e.png"},{"unicode":"📽️","code":"cinema2","id":"265_cinema2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4fd.png"},{"unicode":"📸","code":"camera-flash","id":"266_camera-flash","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4f8.png"},{"unicode":"📼","code":"vhs-tape","id":"267_vhs-tape","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4fc.png"},{"unicode":"🔎","code":"magnifying","id":"268_magnifying","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f50e.png"},{"unicode":"🕯️","code":"light","id":"269_light","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f56f.png"},{"unicode":"💡","code":"bulb","id":"270_bulb","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4a1.png"},{"unicode":"🔦","code":"electric-torch","id":"271_electric-torch","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f526.png"},{"unicode":"📒","code":"notebook","id":"272_notebook","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4d2.png"},{"unicode":"📃","code":"note","id":"273_note","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4c3.png"},{"unicode":"📰","code":"newspaper","id":"274_newspaper","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4f0.png"},{"unicode":"🗞️","code":"newspaper-rolled","id":"275_newspaper-rolled","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5de.png"},{"unicode":"💴","code":"money-rolled","id":"276_money-rolled","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4b4.png"},{"unicode":"💲","code":"dollar-sign","id":"277_dollar-sign","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4b2.png"},{"unicode":"✉️","code":"email","id":"278_email","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2709.png"},{"unicode":"✏️","code":"pencil","id":"279_pencil","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/270f.png"},{"unicode":"✒️","code":"pen","id":"280_pen","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2712.png"},{"unicode":"📝","code":"note-pencil","id":"281_note-pencil","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4dd.png"},{"unicode":"💼","code":"briefcase","id":"282_briefcase","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4bc.png"},{"unicode":"🗓️","code":"calendar","id":"283_calendar","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5d3.png"},{"unicode":"📌","code":"pin","id":"284_pin","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4cc.png"},{"unicode":"📍","code":"pin2","id":"285_pin2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4cd.png"},{"unicode":"📎","code":"paperclip","id":"286_paperclip","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4ce.png"},{"unicode":"📏","code":"ruler","id":"287_ruler","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4cf.png"},{"unicode":"📐","code":"ruler2","id":"288_ruler2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4d0.png"},{"unicode":"✂️","code":"cutting","id":"289_cutting","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2702.png"},{"unicode":"🗑️","code":"wastebasket","id":"290_wastebasket","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5d1.png"},{"unicode":"🔑","code":"key","id":"291_key","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f511.png"},{"unicode":"🗝️","code":"key-old","id":"292_key-old","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5dd.png"},{"unicode":"🔨","code":"hammer","id":"293_hammer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f528.png"},{"unicode":"⛏️","code":"pickaxe","id":"294_pickaxe","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/26cf.png"},{"unicode":"⚒️","code":"hammer2","id":"295_hammer2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2692.png"},{"unicode":"🛠️","code":"hammer-wrench","id":"296_hammer-wrench","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6e0.png"},{"unicode":"🗡️","code":"knife","id":"297_knife","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5e1.png"},{"unicode":"⚔️","code":"swords","id":"298_swords","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2694.png"},{"unicode":"🔫","code":"gun-tool","id":"299_gun-tool","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f52b.png"},{"unicode":"🏹","code":"archer","id":"300_archer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3f9.png"},{"unicode":"🛡️","code":"shield","id":"301_shield","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6e1.png"},{"unicode":"🔧","code":"spanner","id":"302_spanner","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f527.png"},{"unicode":"🔩","code":"bolt","id":"303_bolt","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f529.png"},{"unicode":"⚙️","code":"cog","id":"304_cog","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2699.png"},{"unicode":"⚖️","code":"balance","id":"305_balance","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2696.png"},{"unicode":"🔗","code":"link","id":"306_link","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f517.png"},{"unicode":"🧲","code":"magnetic","id":"307_magnetic","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9f2.png"},{"unicode":"⚗️","code":"chemistry","id":"308_chemistry","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2697.png"},{"unicode":"🧪","code":"chemist","id":"309_chemist","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9ea.png"},{"unicode":"🧬","code":"gene","id":"310_gene","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9ec.png"},{"unicode":"🔬","code":"microscope","id":"311_microscope","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f52c.png"},{"unicode":"🔭","code":"telescope","id":"312_telescope","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f52d.png"},{"unicode":"📡","code":"antenna-dish","id":"313_antenna-dish","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f4e1.png"},{"unicode":"💉","code":"medicine","id":"314_medicine","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f489.png"},{"unicode":"💊","code":"medicine","id":"315_medicine","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f48a.png"},{"unicode":"🚪","code":"door","id":"316_door","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6aa.png"},{"unicode":"🛏️","code":"hotel-bed","id":"317_hotel-bed","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6cf.png"},{"unicode":"🚽","code":"toilet","id":"318_toilet","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6bd.png"},{"unicode":"🚿","code":"shower","id":"319_shower","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6bf.png"},{"unicode":"🛁","code":"bath","id":"320_bath","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6c1.png"},{"unicode":"🧴","code":"lotion","id":"321_lotion","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9f4.png"},{"unicode":"🧷","code":"diaper","id":"322_diaper","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9f7.png"},{"unicode":"🧹","code":"sweeping","id":"323_sweeping","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9f9.png"},{"unicode":"🧺","code":"farming","id":"324_farming","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9fa.png"},{"unicode":"🧻","code":"toilet paper","id":"325_toilet paper","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9fb.png"},{"unicode":"🧯","code":"extinguisher","id":"326_extinguisher","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9ef.png"},{"unicode":"🛒","code":"shopping-cart","id":"327_shopping-cart","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6d2.png"},{"unicode":"🚬","code":"smoking","id":"328_smoking","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6ac.png"},{"unicode":"✔️","code":"check","id":"329_check","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2714.png"},{"unicode":"⚰️","code":"death","id":"330_death","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/26b0.png"},{"unicode":"🗿","code":"statue-face","id":"331_statue-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f5ff.png"},{"unicode":"🐵","code":"monkey-face","id":"332_monkey-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f435.png"},{"unicode":"🐒","code":"monkey","id":"333_monkey","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f412.png"},{"unicode":"🦍","code":"gorilla","id":"334_gorilla","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f98d.png"},{"unicode":"🐶","code":"dog-face","id":"335_dog-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f436.png"},{"unicode":"🐩","code":"dog","id":"336_dog","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f429.png"},{"unicode":"🐺","code":"face","id":"337_face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f43a.png"},{"unicode":"🦊","code":"face","id":"338_face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f98a.png"},{"unicode":"🦝","code":"curious","id":"339_curious","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f99d.png"},{"unicode":"🐱","code":"cat","id":"340_cat","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f431.png"},{"unicode":"🦁","code":"lion-face","id":"341_lion-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f981.png"},{"unicode":"🐯","code":"tiger-face","id":"342_tiger-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f42f.png"},{"unicode":"🐅","code":"tiger","id":"343_tiger","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f405.png"},{"unicode":"🐆","code":"leopard","id":"344_leopard","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f406.png"},{"unicode":"🐴","code":"horse-face","id":"345_horse-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f434.png"},{"unicode":"🐎","code":"racehorse","id":"346_racehorse","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f40e.png"},{"unicode":"🦄","code":"unicorn-face","id":"347_unicorn-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f984.png"},{"unicode":"🦓","code":"zebra","id":"348_zebra","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f993.png"},{"unicode":"🦌","code":"deer","id":"349_deer","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f98c.png"},{"unicode":"🐮","code":"cow","id":"350_cow","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f42e.png"},{"unicode":"🐂","code":"bull","id":"351_bull","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f402.png"},{"unicode":"🐃","code":"buffalo","id":"352_buffalo","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f403.png"},{"unicode":"🐄","code":"cow","id":"353_cow","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f404.png"},{"unicode":"🐷","code":"pig-face","id":"354_pig-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f437.png"},{"unicode":"🐖","code":"sow","id":"355_sow","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f416.png"},{"unicode":"🐗","code":"pig","id":"356_pig","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f417.png"},{"unicode":"🐽","code":"pig-nose","id":"357_pig-nose","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f43d.png"},{"unicode":"🐏","code":"aries","id":"358_aries","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f40f.png"},{"unicode":"🐑","code":"sheep","id":"359_sheep","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f411.png"},{"unicode":"🐐","code":"capricorn","id":"360_capricorn","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f410.png"},{"unicode":"🐪","code":"dromedary","id":"361_dromedary","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f42a.png"},{"unicode":"🐫","code":"camel","id":"362_camel","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f42b.png"},{"unicode":"🦙","code":"alpaca","id":"363_alpaca","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f999.png"},{"unicode":"🦒","code":"spots","id":"364_spots","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f992.png"},{"unicode":"🐘","code":"elephant","id":"365_elephant","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f418.png"},{"unicode":"🦏","code":"rhinoceros","id":"366_rhinoceros","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f98f.png"},{"unicode":"🦛","code":"hippo","id":"367_hippo","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f99b.png"},{"unicode":"🐭","code":"mouse-face","id":"368_mouse-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f42d.png"},{"unicode":"🐁","code":"mouse","id":"369_mouse","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f401.png"},{"unicode":"🐀","code":"rat","id":"370_rat","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f400.png"},{"unicode":"🐹","code":"pet-face","id":"371_pet-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f439.png"},{"unicode":"🐰","code":"bunny-face","id":"372_bunny-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f430.png"},{"unicode":"🐇","code":"bunny","id":"373_bunny","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f407.png"},{"unicode":"🐿️","code":"squirrel","id":"374_squirrel","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f43f.png"},{"unicode":"🦔","code":"spiny","id":"375_spiny","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f994.png"},{"unicode":"🦇","code":"vampire","id":"376_vampire","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f987.png"},{"unicode":"🐻","code":"face","id":"377_face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f43b.png"},{"unicode":"🐨","code":"bear","id":"378_bear","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f428.png"},{"unicode":"🐼","code":"panda-face","id":"379_panda-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f43c.png"},{"unicode":"🦘","code":"marsupial","id":"380_marsupial","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f998.png"},{"unicode":"🦡","code":"honey badger","id":"381_honey badger","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9a1.png"},{"unicode":"🐾","code":"paw","id":"382_paw","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f43e.png"},{"unicode":"🦃","code":"bird","id":"383_bird","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f983.png"},{"unicode":"🐔","code":"chicken","id":"384_chicken","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f414.png"},{"unicode":"🐓","code":"rooster","id":"385_rooster","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f413.png"},{"unicode":"🐣","code":"baby-bird","id":"386_baby-bird","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f423.png"},{"unicode":"🐤","code":"baby-chick","id":"387_baby-chick","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f424.png"},{"unicode":"🐥","code":"baby-chick2","id":"388_baby-chick2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f425.png"},{"unicode":"🐧","code":"penguin","id":"389_penguin","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f427.png"},{"unicode":"🕊️","code":"bird-fly","id":"390_bird-fly","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f54a.png"},{"unicode":"🦅","code":"eagle","id":"391_eagle","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f985.png"},{"unicode":"🦆","code":"duck","id":"392_duck","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f986.png"},{"unicode":"🦢","code":"swan","id":"393_swan","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9a2.png"},{"unicode":"🦉","code":"owl","id":"394_owl","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f989.png"},{"unicode":"🦚","code":"peahen","id":"395_peahen","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f99a.png"},{"unicode":"🦜","code":"macaw","id":"396_macaw","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f99c.png"},{"unicode":"🐸","code":"frog-face","id":"397_frog-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f438.png"},{"unicode":"🐊","code":"crocodile","id":"398_crocodile","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f40a.png"},{"unicode":"🐢","code":"turtle","id":"399_turtle","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f422.png"},{"unicode":"🦎","code":"reptile","id":"400_reptile","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f98e.png"},{"unicode":"🐍","code":"snake","id":"401_snake","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f40d.png"},{"unicode":"🐲","code":"dragon-face","id":"402_dragon-face","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f432.png"},{"unicode":"🐉","code":"dragon","id":"403_dragon","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f409.png"},{"unicode":"🦕","code":"brontosaurus","id":"404_brontosaurus","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f995.png"},{"unicode":"🦖","code":"t-rex","id":"405_t-rex","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f996.png"},{"unicode":"🐳","code":"whale","id":"406_whale","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f433.png"},{"unicode":"🐋","code":"whale2","id":"407_whale2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f40b.png"},{"unicode":"🐬","code":"flipper","id":"408_flipper","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f42c.png"},{"unicode":"🐠","code":"tropical-fish","id":"409_tropical-fish","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f420.png"},{"unicode":"🐡","code":"fish","id":"410_fish","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f421.png"},{"unicode":"🦈","code":"shark","id":"411_shark","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f988.png"},{"unicode":"🐙","code":"octopus","id":"412_octopus","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f419.png"},{"unicode":"🐚","code":"shell","id":"413_shell","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f41a.png"},{"unicode":"🐌","code":"snail","id":"414_snail","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f40c.png"},{"unicode":"🦋","code":"butterfly","id":"415_butterfly","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f98b.png"},{"unicode":"🐛","code":"insect","id":"416_insect","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f41b.png"},{"unicode":"🐜","code":"insect","id":"417_insect","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f41c.png"},{"unicode":"🐝","code":"bee","id":"418_bee","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f41d.png"},{"unicode":"🐞","code":"ladybug","id":"419_ladybug","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f41e.png"},{"unicode":"🦗","code":"grasshopper","id":"420_grasshopper","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f997.png"},{"unicode":"🕷️","code":"insect","id":"421_insect","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f577.png"},{"unicode":"🕸️","code":"spider-web","id":"422_spider-web","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f578.png"},{"unicode":"🦂","code":"scorpio","id":"423_scorpio","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f982.png"},{"unicode":"🦟","code":"mosquito","id":"424_mosquito","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f99f.png"},{"unicode":"🦠","code":"amoeba","id":"425_amoeba","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f9a0.png"},{"unicode":"💐","code":"flower","id":"426_flower","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f490.png"},{"unicode":"🌸","code":"blossom","id":"427_blossom","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f338.png"},{"unicode":"🌹","code":"flower","id":"428_flower","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f339.png"},{"unicode":"🥀","code":"flower-wilted","id":"429_flower-wilted","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f940.png"},{"unicode":"🌺","code":"flower2","id":"430_flower2","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f33a.png"},{"unicode":"🌻","code":"sun-flower","id":"431_sun-flower","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f33b.png"},{"unicode":"🌼","code":"flower3","id":"432_flower3","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f33c.png"},{"unicode":"🌷","code":"flower4","id":"433_flower4","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f337.png"},{"unicode":"🌱","code":"young-tree","id":"434_young-tree","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f331.png"},{"unicode":"🌲","code":"tree","id":"435_tree","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f332.png"},{"unicode":"🌳","code":"big-tree","id":"436_big-tree","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f333.png"},{"unicode":"🌵","code":"plant","id":"437_plant","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f335.png"},{"unicode":"🌿","code":"leaf","id":"438_leaf","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f33f.png"},{"unicode":"☘️","code":"three-leaf clover","id":"439_three-leaf clover","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2618.png"},{"unicode":"🍀","code":"four-leaf clover","id":"440_four-leaf clover","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f340.png"},{"unicode":"🍁","code":"falling-leaf","id":"441_falling-leaf","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f341.png"},{"unicode":"🏁","code":"checkered","id":"442_checkered","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3c1.png"},{"unicode":"🚩","code":"post","id":"443_post","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f6a9.png"},{"unicode":"🎌","code":"japanese-celebration","id":"444_japanese-celebration","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f38c.png"},{"unicode":"🏴","code":"flag-black","id":"445_flag-black","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3f4.png"},{"unicode":"🏳️","code":"flag-white","id":"446_flag-white","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3f3.png"},{"unicode":"🏳️🌈","code":"flag-pride","id":"447_flag-pride","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3f3-fe0f-200d-1f308.png"},{"unicode":"🏴☠️","code":"flag-pirate","id":"448_flag-pirate","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f3f4-200d-2620-fe0f.png"},{"unicode":"🇦🇷","code":"AR","id":"449_AR","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e6-1f1f7.png"},{"unicode":"🇦🇺","code":"AU","id":"450_AU","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e6-1f1fa.png"},{"unicode":"🇧🇬","code":"BG","id":"451_BG","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e7-1f1ec.png"},{"unicode":"🇧🇷","code":"BR","id":"452_BR","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e7-1f1f7.png"},{"unicode":"🇨🇦","code":"CA","id":"453_CA","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e8-1f1e6.png"},{"unicode":"🇨🇳","code":"CN","id":"454_CN","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e8-1f1f3.png"},{"unicode":"🇨🇿","code":"CZ","id":"455_CZ","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e8-1f1ff.png"},{"unicode":"🇩🇪","code":"DE","id":"456_DE","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e9-1f1ea.png"},{"unicode":"🇩🇰","code":"DK","id":"457_DK","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e9-1f1f0.png"},{"unicode":"🇩🇲","code":"DM","id":"458_DM","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e9-1f1f2.png"},{"unicode":"🇩🇴","code":"DO","id":"459_DO","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e9-1f1f4.png"},{"unicode":"🇩🇿","code":"DZ","id":"460_DZ","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1e9-1f1ff.png"},{"unicode":"🇪🇦","code":"EA","id":"461_EA","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ea-1f1e6.png"},{"unicode":"🇪🇨","code":"EC","id":"462_EC","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ea-1f1e8.png"},{"unicode":"🇪🇸","code":"ES","id":"463_ES","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ea-1f1f8.png"},{"unicode":"🇫🇮","code":"FI","id":"464_FI","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1eb-1f1ee.png"},{"unicode":"🇫🇷","code":"FR","id":"465_FR","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1eb-1f1f7.png"},{"unicode":"🇬🇧","code":"GB","id":"466_GB","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ec-1f1e7.png"},{"unicode":"🇭🇰","code":"HK","id":"467_HK","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ed-1f1f0.png"},{"unicode":"🇮🇱","code":"IL","id":"468_IL","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ee-1f1f1.png"},{"unicode":"🇮🇹","code":"IT","id":"469_IT","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ee-1f1f9.png"},{"unicode":"🇯🇵","code":"JA","id":"470_JA","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1ef-1f1f5.png"},{"unicode":"🇰🇵","code":"KP","id":"471_KP","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f0-1f1f5.png"},{"unicode":"🇰🇷","code":"KR","id":"472_KR","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f0-1f1f7.png"},{"unicode":"🇳🇱","code":"NL","id":"473_NL","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f3-1f1f1.png"},{"unicode":"🇳🇴","code":"NO","id":"474_NO","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f3-1f1f4.png"},{"unicode":"🇵🇱","code":"PL","id":"475_PL","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f5-1f1f1.png"},{"unicode":"🇵🇹","code":"PT","id":"476_PT","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f5-1f1f9.png"},{"unicode":"🇷🇴","code":"RO","id":"477_RO","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f7-1f1f4.png"},{"unicode":"🇷🇺","code":"RU","id":"478_RU","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f7-1f1fa.png"},{"unicode":"🇸🇰","code":"SK","id":"479_SK","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f8-1f1f0.png"},{"unicode":"🇸🇻","code":"SV","id":"480_SV","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f8-1f1fb.png"},{"unicode":"🇹🇭","code":"TH","id":"481_TH","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f9-1f1ed.png"},{"unicode":"🇹🇷","code":"TR","id":"482_TR","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1f9-1f1f7.png"},{"unicode":"🇻🇮","code":"VI","id":"483_VI","4x":"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f1fb-1f1ee.png"}]',hd="data:image/png;base64,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",md="data:image/png;base64,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",pd="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",gd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABHNCSVQICAgIfAhkiAAAAXRJREFUeJztwTEBAAAAwqD1T20MH6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gZ/twABJJA/XAAAAABJRU5ErkJggg==",vd="data:image/png;base64,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";function bd(){var e=29+V.global_font_offset.values[Om("global_font_offset",V.global_font_offset.defaultValue)-1],t=document.getElementById("body_container"),i=window.innerHeight,a=i/1080;_d=e*a,t.style.width=1920*a+"px",t.style.height=i+"px",document.body.style.fontSize=_d+"px"}window.addEventListener("resize",function(){g||bd()},!1);var yd=19,wd=415,xd=10252,jd=413,Ad=412,kd=417,Cd=37,Sd=38,Ed=39,Pd=40,Id=13,Md=428,Ld=427,Bd=458,Od=457,d=10009,Td=81,Vd=404,Dd=65385,Rd=8,Fd=65376,Ud=32,Nd=46,Gd=["ChannelUp","ChannelDown","MediaRewind","MediaFastForward","MediaStop","MediaPlayPause","MediaPlay","MediaPause","ColorF0Red","ColorF1Green","ColorF2Yellow","ColorF3Blue","Guide","Info"];var Hd=0,qd=5,zd=1e4,Qd=0,Xd=!1,Jd=!1,Yd=!1,Kd=!1,Wd="",Zd=["user:read:follows","user:read:subscriptions","chat:edit","chat:read"],$d="https://id.twitch.tv/oauth2/token?";function es(){as(!1),document.body.removeEventListener("keydown",ts),x("oauth_scroll")}function ts(e){if(!Xd&&!Jd)switch(e.keyCode){case d:(Kh()?Yh:Xh()?Qh:(w.Main_Go=bf,es(),tm))();break;case wd:case yd:case xd:case Id:is()}}function is(){document.body.removeEventListener("keydown",ts),document.body.addEventListener("keydown",ns,!1),cf.placeholder=te,cf.focus(),Jd=!0}function as(e){var t;cf.blur(),null!==cf&&(t=cf.cloneNode(!0),cf.parentNode.replaceChild(t,cf),cf=document.getElementById("oauth_input")),document.body.removeEventListener("keydown",ns),cf.placeholder=ae+te,e&&document.body.addEventListener("keydown",ts,!1),window.setTimeout(function(){Jd=!1},250)}function ns(e){if(!Xd)switch(e.keyCode){case d:(Xh()?Qh:Kh()?Yh:(w.Main_Go=bf,es(),tm))();break;case Nd:cf.value="",e.preventDefault();break;case Fd:case Dd:case Pd:""!==cf.value&&null!==cf.value&&(Qd=cf.value,Hd=0,x("oauth_scroll"),Th(),rs()),as(!0);break;case Rd:cf.value=cf.value.slice(0,-1),e.preventDefault();break;case Ud:cf.value+=" ",e.preventDefault()}}function os(a,n,o){var d=new XMLHttpRequest;d.open("GET","https://id.twitch.tv/oauth2/validate",!0),d.setRequestHeader(dh,bh+Xs),d.timeout=zd,d.ontimeout=function(){},d.onreadystatechange=function(){var e,t,i;4===d.readyState&&(200===d.status?(n(),e=JSON.parse(d.responseText),window.setTimeout(function(){ds(0,null,null)},1e3*(parseInt(e.expires_in)-60))):401===d.status?o():(e=a,t=n,i=o,++e<5?os(e,t,i):i&&i()))},d.send(null)}function ds(a,n,o){var d=new XMLHttpRequest,e="https://id.twitch.tv/oauth2/token?client_id="+Us+"&client_secret="+Ns+"&grant_type=client_credentials";d.open("POST",e,!0),d.timeout=zd,d.ontimeout=function(){},d.onreadystatechange=function(){var e,t,i;4===d.readyState&&(200===d.status?(t=d.responseText,i=n,(t=JSON.parse(t))&&(Xs=t.access_token),w.AddCode_main_token=Xs,wh=[[nh,Us],["Authorization",bh+Xs]],i&&i(),dm()):(t=a,i=n,e=o,++t<5?ds(t,i,e):e&&e()))},d.send(null)}function ss(n,o,d,s){var l,e;b[n]&&b[n].access_token&&(l=new XMLHttpRequest,e=$d+"grant_type=refresh_token&client_id="+encodeURIComponent(Us)+"&client_secret="+encodeURIComponent(Ns)+"&refresh_token="+encodeURIComponent(b[n].refresh_token)+"&redirect_uri="+Fs,l.open("POST",e,!0),l.timeout=zd,l.ontimeout=function(){},l.onreadystatechange=function(){if(4===l.readyState)if(200===l.status)t=l.responseText,i=n,a=d,(cs((t=JSON.parse(t)).scope)?(b[i].access_token=t.access_token,b[i].refresh_token=t.refresh_token,b[i].expires_in=t.expires_in,bl(),vs):fs)(i),a&&a();else try{var e=JSON.parse(l.responseText);e.message&&Ym(e.message,"Invalid refresh token")?(fs(n),s&&s()):ls(n,o,d,s)}catch(e){ls(n,o,d,s)}var t,i,a},l.send(null))}function ls(e,t,i,a){++t<5?ss(e,t,i,a):a&&a()}function cs(e){for(var t=0,i=Zd.length;t<i;t++)if(-1===e.indexOf(Zd[t]))return;return 1}function rs(){Ds($d+"grant_type=authorization_code&client_id="+encodeURIComponent(Us)+"&client_secret="+encodeURIComponent(Ns)+"&code="+encodeURIComponent(Qd)+"&redirect_uri="+Fs,"POST",0,0,us)}function us(e){4===e.readyState&&(200===e.status?(e=e.responseText,e=JSON.parse(e),b[w.Users_AddcodePosition].access_token=e.access_token,b[w.Users_AddcodePosition].refresh_token=e.refresh_token,Hd=0,hs):++Hd<qd?rs:_s)()}function _s(){Vh(),Hh(Pt),window.setTimeout(function(){qh(),Hf=0,qh(),j("oauth_scroll"),is(),Xd=!1},4e3),b[w.Users_AddcodePosition].access_token=0,b[w.Users_AddcodePosition].refresh_token=0,bl()}function fs(e){M7=!1,Vh(),b[e].access_token=0,b[e].refresh_token=0,bl(),dm()}function hs(){Rs(ms,w.Users_AddcodePosition,0)}function ms(e){4===e.readyState&&(200===e.status?(e=e.responseText,(e=JSON.parse(e)).login&&-1!==e.login.indexOf(b[w.Users_AddcodePosition].name)?(bl(),Hf=0,Vh(),M7=!1,w.Main_Go=bf,dm(),Hh(jt),window.setTimeout(function(){Vh(),es(),M7=!1,L7(),Xd=!1,cf.value=""},3e3)):(b[w.Users_AddcodePosition].access_token=0,b[w.Users_AddcodePosition].refresh_token=0,Hh(ji+b[w.Users_AddcodePosition].name),window.setTimeout(function(){qh(),j("oauth_scroll"),is()},4e3))):(++Hd<qd?hs:_s)())}function ps(e,t){Rs(gs,e,t)}function gs(e,t,i){var a,n;4===e.readyState&&(200===e.status?(a=e.responseText,n=t,(a=JSON.parse(a)).scopes&&!cs(a.scopes)?fs(n):a.expires_in&&(b[n].expires_in=a.expires_in,vs(n))):401===e.status||403===e.status?ss(t,0,null,null):(a=t,n=i,++n<qd&&ps(a,n)))}function vs(e){window.clearTimeout(b[e].timeout_id),b[e].access_token&&(b[e].timeout_id=window.setTimeout(function(){ss(e,0,null,null)},1e3*(parseInt(b[e].expires_in)-60)))}function bs(){Hd=0,Yd=!1,ys()}function ys(){Ds(h+"channels/followed?user_id="+b[0].id+"&broadcaster_id="+Wd,"GET",2,0,ws)}function ws(e){var t;4===e.readyState&&(200===e.status?(t=JSON.parse(e.responseText))&&t.data.length?function(){Yd=!0,(Kd?C2:tc)()}:xs:404===e.status&&(t=e.responseText,(t=JSON.parse(t)).error)&&-1!==(t.error+"").indexOf("Not Found")?(Yd=!1,Kd?C2:tc):xs)()}function xs(){(++Hd<qd?ys:Kd?C2:tc)()}function js(){Hd=0,As()}function As(){Ds(oh+"users/"+b[0].id+"/subscriptions/"+Wd+ch,"GET",3,b[0].access_token,ks)}function ks(e){var t;4===e.readyState&&(200===e.status?Jb?(T1(),D1(se+Et+dn),window.setTimeout(function(){Cb&&my()},4e3)):(Jb=!0,vb=f0,dy()):422===e.status?Ss():404===e.status?((t=JSON.parse(e.responseText)).error&&-1!==(t.error+"").indexOf("Not Found")?Ss:Cs)():401===e.status||403===e.status?ss(0,0,js,Ss):Cs())}function Cs(){(++Hd<qd?As:Ss)()}function Ss(){T1(),D1(se+St),window.setTimeout(function(){Cb&&my()},4e3)}function Es(){Hd=0,(w.Main_gameSelected_id?Ms:Ps)()}function Ps(){var e="https://api.twitch.tv/api/games/"+encodeURIComponent(w.Main_gameSelected),t="GET",i=2,a=null,n=Is,o=new XMLHttpRequest;o.open(t,e,!0),o.timeout=zd,Uf[2][1]=a;for(var d=0;d<i;d++)o.setRequestHeader(Uf[d][0],Uf[d][1]);o.ontimeout=function(){},o.onreadystatechange=function(){n(o)},o.send(null)}function Is(e){4===e.readyState&&(200===e.status?(w.Main_gameSelected_id=JSON.parse(e.responseText)._id,Hd=0,Ms):function(){++Hd<qd&&Ps()})()}function Ms(){Ds(oh+"users/"+b[0].id+"/follows/games/"+w.Main_gameSelected_id+ch,"PUT",3,b[0].access_token,Ls)}function Ls(e){4===e.readyState&&(200===e.status?(xx=!0,Ew()):401===e.status||403===e.status?ss(0,0,Es,null):++Hd<qd&&Ms())}function Bs(){Hd=0,Os()}function Os(){Ds("https://api.twitch.tv/api/users/"+b[0].name+"/follows/games/"+encodeURIComponent(w.Main_gameSelected)+"?oauth_token="+b[0].access_token+lh,"DELETE",2,0,Ts)}function Ts(e){4===e.readyState&&(404===e.status||204===e.status?(204===e.status||-1!==JSON.parse(e.responseText).message.indexOf("does not follow")?(xx=!1,Ew):Vs)():401===e.status||403===e.status?ss(0,0,Bs,null):Vs())}function Vs(){++Hd<qd?Os():(Hh(dn),window.setTimeout(qh,2e3))}function Ds(e,t,i,a,n){var o=new XMLHttpRequest;o.open(t,e,!0),o.timeout=zd;for(var d=ml()&&b[0].access_token?(yh[1][1]=bh+b[0].access_token,yh):wh,s=0;s<i;s++)o.setRequestHeader(d[s][0],d[s][1]);o.ontimeout=function(){},o.onreadystatechange=function(){n(o)},o.send(null)}function Rs(e,t,i){var a=new XMLHttpRequest;a.open("GET","https://id.twitch.tv/oauth2/validate",!0),a.setRequestHeader(dh,bh+b[t].access_token),a.timeout=1e4,a.ontimeout=function(){},a.onreadystatechange=function(){e(a,t,i)},a.send(null)}var Fs="https://fgl27.github.io/smarttv-twitch/release/githubio/login/twitch.html",Us="Y2N6anV6ZXNwMGR4eDMxbGRxd3ViMjdqcTRjMjM3",Ns="bmFsejdnYmxhc3l3bzY2cGN5d2lnNzdyNmc5aG9u",Gs="a2ltbmU3OGt4M25jeDZicmdvNG12NndraTVoMWtv",Hs="a2QxdW5iNGIzcTR0NThmd2xwY2J6Y2JubTc2YThmcA==",qs='{"query":"{streamPlaybackAccessToken(channelName:\\"%x\\", params:{platform:\\"android\\",playerType:\\"mobile\\"}){value signature}}"}',zs='{"query":"{videoPlaybackAccessToken(id:\\"%x\\", params:{platform:\\"android\\",playerType:\\"mobile\\"}){value signature}}"}',t=["ncx6brgo","5r0iktrpk6qp7bd","4mv6wki5h1ko","x3236q9tksvx2h1","kimne78kx3","","","","","","","","Clie","nt-ID","_","_","kd1unb4b3q4t","m76a8fp","58fwlpcbzcbn","g2xvd1v2sydxfbjx","1mknxvmcmbynqc"],Qs=!0,Us=t[20]+t[19],Gs=t[4]+t[0]+t[2],Ns=t[3]+t[1],Hs=t[16]+t[18]+t[17],Xs=t[15]+t[14],Js=[[t[12]+t[13],Hs]],Ys=0,Ks=5,Ws=3500,b=[],Zs=null,$s=!1,el=!1;function tl(){w.Main_Go=Of,Dx(ke),qh(),lf.placeholder=ie,j("add_user_scroll"),nl()}function il(){ol(!1),document.body.removeEventListener("keydown",al),document.body.removeEventListener("keydown",dl),x("add_user_scroll")}function al(e){if(!$s&&!el&&w.Main_Go===Of)switch(e.keyCode){case Td:case Rd:case d:(Xh()?Qh:Kh()?Yh:(0<b.length&&w.Main_Go!==bf?w.Main_Go=w.Main_Before:w.Main_Go=vf,il(),tm))();break;case wd:case yd:case xd:case Ud:case Id:nl()}}function nl(){document.body.removeEventListener("keydown",al),document.body.addEventListener("keydown",dl,!1),lf.placeholder=ie,lf.focus(),el=!0}function ol(e){var t;lf.blur(),null!==lf&&(t=lf.cloneNode(!0),lf.parentNode.replaceChild(t,lf),lf=document.getElementById("user_input")),document.body.removeEventListener("keydown",dl),lf.placeholder=ae+ie,e&&document.body.addEventListener("keydown",al,!1),window.setTimeout(function(){C(function(){el=!1})},500)}function dl(e){if(!$s&&w.Main_Go===Of)switch(e.keyCode){case Td:case d:(Xh()?Qh:Kh()?Yh:(0<b.length&&w.Main_Go!==bf?w.Main_Go=w.Main_Before:w.Main_Go=vf,il(),tm))();break;case Nd:lf.value="";break;case Fd:case Dd:case Pd:""!==lf.value&&null!==lf.value&&(t=Zs=lf.value,0<b.filter(function(e){return e.name===t}).length?(Vh(),Hh(X+" "+Zs+Pe),window.setTimeout(function(){qh(),nl()},1500)):(Ws=3500,$s=!(Ys=0),x("add_user_scroll"),Th(),sl())),ol(!0);break;case Rd:lf.value=lf.value.slice(0,-1);break;case Ud:lf.value+=" "}var t}function sl(){Rm(h+"users?login="+encodeURIComponent(Zs),Ws,2,null,ll,cl,!1,null,!0)}function ll(e){JSON.parse(e).data.length?(lf.value="",document.body.removeEventListener("keydown",al),Zs=JSON.parse(e).data[0],b.push({name:Zs.login,id:Zs.id,display_name:Zs.display_name,logo:Zs.profile_image_url,access_token:0,refresh_token:0,expires_in:0,timeout_id:null}),bl(),M7=!1,P7=Zs.login,E7=!0,il(),w.Main_Go=bf,Vh(),1===b.length&&_l(),nm(),$s=!1):rl()}function cl(){(++Ys<Ks?(Ws+=500,sl):rl)()}function rl(){Zs=null,Vh(),Hh(Se),window.setTimeout(function(){tl()},1e3),$s=!1}function ul(){if(0<(b=Tm("AddUser_UsernameArray",[])).length)for(var e=0;e<b.length;e++)b[e].timeout_id=null,b[e].access_token&&ps(e,0),e||_l(),pl(e,0);else fl()}function _l(){hl(b[0].logo,b[0].display_name)}function fl(){hl(hd,ke)}function hl(e,t){A("side_panel_new_0_img",'<img class="side_panel_new_img" alt="" src="'+e+'" onerror="this.onerror=null;this.src=\''+hd+"'\">"),jj(t),e=t.length,(t=document.getElementById("side_panel_movel")).style.marginLeft="calc(-"+ej+"% - "+(e=11<e?e-11:0)+"ch)",t.style.width="calc("+ij+"% + "+e+"ch)"}function ml(){return 0<b.length}function pl(e,t){Rm(h+"users?login="+encodeURIComponent(b[e].name),Ws,2,null,gl,vl,e,t,!0)}function gl(e,t){(e=JSON.parse(e)).data.length&&(e=e.data[0],b[t].display_name=e.display_name,b[t].logo=e.profile_image_url,t||_l()),bl()}function vl(e,t){++t<Ks&&pl(e,t)}function bl(){var e;0<b.length&&(e=b.splice(0,1),b.sort(function(e,t){return e.display_name.toLowerCase().localeCompare(t.display_name.toLowerCase())}),b.splice(0,0,e[0])),S("AddUser_UsernameArray",JSON.stringify(b))}function yl(){return 0<b.length}var wl,xl,jl,Al=0,kl=0,Cl=0,Sl=5,El=3500,Pl=!1,Il=!1,Ml=["cc_thumbdiv","cc_img","cc_infodiv","cc_name","cc_createdon","cc_game","cc_viwers","cc_duration","cc_cell","sccempty_","channel_content_scroll"],Ll=!1,Bl="",Ol=null,Tl="",Vl="",Dl="",Rl={},Fl=!1,Ul=null,Nl="",Gl=!1;function Hl(){cm(),document.body.removeEventListener("keydown",cc),x(Ml[10]),w.My_channel=!1,oc()}function ql(){Dx(w.Main_selectedChannelDisplayname),Pm(),Pl=!1,x(Ml[10]),Ul=null,Th(),qh(),Bl=w.Main_selectedChannel,Pl=Ll=!1,wl=void(Al=kl=0),zl(),Ql()}function zl(){Kf=!0,Cl=0,El=3500}function Ql(){Rm(h+"streams?user_id="+encodeURIComponent(void 0!==wl?wl:w.Main_selectedChannel_id),El,2,null,Xl,Jl,!1,null,!0)}function Xl(e){((e=JSON.parse(e)).data&&e.data.length?(Ol=e.data,zl(),Wl):wl?(Ol=null,zl(),Wl):(zl(),function(){Um(Kl,jl=(new Date).getTime(),w.Main_selectedChannel)}))()}function Jl(){(++Cl<Sl?(El+=500,Ql):Yl)()}function Yl(){Ol=null,zl(),Wl()}function Kl(e,t){jl===t&&(200===e.status&&(t=JSON.parse(e.responseText).data).user&&t.user.hosting?(e=t.user.hosting,wl=e.id,Ql):Yl)()}function Wl(){Rm(h+"users?id="+w.Main_selectedChannel_id,Ib,2,null,Zl,ec,!1,null,!0)}function Zl(e){((e=JSON.parse(e)).data&&e.data.length?(e=e.data[0],Ul=(Ul=e.offline_image_url)&&Ul.replace("1920x1080",zm),Dl=e.description,w.Main_selectedChannelLogo=e.profile_image_url,w.Main_selectedChannelPartner="partner"===e.broadcaster_type,function(){var t=new XMLHttpRequest;t.open("POST",eg,!0),t.timeout=bp,t.setRequestHeader(nh,Uf[0][1]),t.setRequestHeader("Content-Type","application/json"),t.ontimeout=function(){},t.onreadystatechange=function(){var e;4===t.readyState&&(200===t.status&&(e=JSON.parse(t.responseText)).data&&e.data.user&&(Nl=e.data.user.bannerImageURL||pd,Vl=e.data.user.followers&&e.data.user.followers.totalCount?e.data.user.followers.totalCount:""),ic())},t.send($l.replace("%x",w.Main_selectedChannel))}):Jl)()}var $l='{"query":"{user(login: \\"%x\\") {bannerImageURL, followers(){totalCount}}}"}';function ec(){(++Cl<Sl?(El+=500,Wl):(Ul=null,Nl=pd,Dl=Vl=Tl="",w.Main_selectedChannelLogo=hd,ic))()}function tc(){A("channel_content_titley_2",Yd?'<i class="icon-heart" style="color: #6441a4; font-size: 100%;"></i>'+v+v+At:'<i class="icon-heart-o" style="color: #FFFFFF; font-size: 100%; "></i>'+v+v+(ml()?kt:It))}function ic(){w.Main_selectedChannelLogo||(w.Main_selectedChannelLogo=hd),A("channel_content_thumbdiv0_1",'<img class="stream_img_channel_logo" alt="" src="'+w.Main_selectedChannelLogo.replace("300x300","600x600")+'" onerror="this.onerror=null;this.src=\''+hd+"'\">"),A("channel_content_img0_1",'<img class="stream_img_channel" alt="" src="'+Nl+'" onerror="this.onerror=null;this.src=\''+pd+"'\">");var e,t,i,a,n,o,d,s,l,c=w.Main_selectedChannelDisplayname;A("channel_content_infodiv0_1",(c+=w.Main_selectedChannelPartner?v+v+'<img style="display: inline-block; width: 2ch; vertical-align: middle;" alt="" src="'+vd+'">':"")+(""!==Tl?m+Wh(Tl)+fe:"")+(""!==Vl?m+Wh(Vl)+Tt:"")+(""!==Dl?m+m+H+":"+m+CA.parse(Dl):"")),Ol&&Ol.length?(c=void 0!==wl?w.Main_selectedChannelDisplayname+Ee:"",e=(s=Ol[0]).user_login,t=s.id,i=s.thumbnail_url,a=CA.parse(s.title),n=s.game_name,c=c+s.user_name,o=$+C1(s.started_at)+v+W+Wh(s.viewer_count)+v+he,d=Zh(s.language),s=$h(s.type),l=void 0!==wl,i=i||md,document.getElementById("channel_content_cell0_1").setAttribute(uh,JSON.stringify([e,t,s,c])),A("channel_content_thumbdiv0_0",'<div class="stream_thumbnail_live_img"><img class="stream_img" alt="" src="'+i.replace("{width}x{height}",zm)+gh+'" onerror="this.onerror=null;this.src=\''+md+'\'"></div><div class="stream_thumbnail_live_text_holder"><div class="stream_text_holder"><div id="channel_content_cell0_3" style="line-height: 1.6ch;"><div class="stream_info_live_name" style="width:'+(l?99:66)+'%; display: inline-block;"><i class="icon-'+(s?"refresh":"circle")+' live_icon strokedeline" style="color: '+(s?"#FFFFFF":l?"#FED000":"red")+';"></i> '+c+'</div><div class="stream_info_live" style="width:'+(l?0:33)+'%; float: right; text-align: right; display: inline-block;">'+(l?"":d)+'</div></div><div class="stream_info_live_title">'+a+'</div><div id="channel_content_cell0_5" class="stream_info_live">'+(""!==n?K+n:"")+'</div><div class="stream_info_live">'+o+"</div></div></div>"),kl=1):(Pl=!0,A("channel_content_thumbdiv0_0",'<div class="stream_thumbnail_live_img"><img class="stream_img" alt="" src="'+Ul+gh+'" onerror="this.onerror=null;this.src=\''+md+'\'"></div><div class="stream_thumbnail_live_text_holder"><div class="stream_text_holder" style="font-size: 150%;"><div style="line-height: 1.6ch;"><div class="stream_info_live_name" style="width:99%; display: inline-block;">'+w.Main_selectedChannelDisplayname+'</div><div class="stream_info_live" style="width:0%; float: right; text-align: right; display: inline-block;"></div></div><div class="stream_info_live">'+Ba+"</div></div></div>")),Ll||(Ll=!0,Pl||(Al=1),nc(),dm(),j(Ml[10]),Vh()),ac(),Kf=!1}function ac(){(Il?tc:ml()?(Wd=w.Main_selectedChannel_id,Kd=!1,bs):(Yd=!1,tc))()}function nc(){Al?l("channel_content_thumbdiv0_0",rh):l("channel_content_thumbdivy_"+kl,"stream_switch_focused"),pm()}function oc(){Al?s("channel_content_thumbdiv0_0",rh):s("channel_content_thumbdivy_"+kl,"stream_switch_focused")}function dc(){var e;Al?(document.body.removeEventListener("keydown",cc),x(Ml[10]),w.Play_selectedChannel=JSON.parse(document.getElementById("channel_content_cell0_1").getAttribute(uh)),w.IsRerun=w.Play_selectedChannel[2],w.Play_selectedChannelDisplayname=w.Play_selectedChannel[3],w.Play_selectedChannel=w.Play_selectedChannel[0],-1!==w.Play_selectedChannelDisplayname.indexOf(Ee)?(w.Play_isHost=!0,w.Play_DisplaynameHost=w.Play_selectedChannelDisplayname,w.Play_selectedChannelDisplayname=w.Play_selectedChannelDisplayname.split(Ee)[1],w.Play_selectedChannel_id=wl):w.Play_selectedChannel_id=w.Main_selectedChannel_id,e=document.getElementById("channel_content_cell0_5").textContent,w.Play_gameSelected=-1!==e.indexOf(K)?e.split(K)[1]:"",C(xm)):kl?1===kl?(document.body.removeEventListener("keydown",cc),x(Ml[10]),oc(),C(function(){O=qw,Xy()})):2===kl&&(Hh(Lt),window.setTimeout(qh,2e3)):(document.body.removeEventListener("keydown",cc),x(Ml[10]),oc(),C(function(){O=ex,Xy()}))}function sc(){w.Main_selectedChannel_id=w.Main_selectedChannel_id,w.Main_selectedChannelLogo=w.Main_selectedChannelLogo,w.Main_selectedChannel=w.Main_selectedChannel,w.Main_selectedChannelDisplayname=w.Main_selectedChannelDisplayname,Il=Rl.ChannelContent_UserChannels,w.Main_BeforeChannel=w.Main_BeforeChannel,Fl=!(Rl={})}function lc(e){e.keyCode===Id&&(window.clearTimeout(xl),document.body.removeEventListener("keyup",lc),document.body.addEventListener("keydown",cc,!1),Gl||dc())}function cc(e){if(!Kf&&!bm())switch(vm(),e.keyCode){case Td:case Rd:case d:(Kh()?Yh:Xh()?Qh:(oc(),document.body.removeEventListener("keydown",cc),w.Main_Go=w.Main_BeforeChannel,w.Main_BeforeChannel=vf,Hl(),xj(),w.Main_selectedChannel_id="",nm))();break;case Cd:!Al&&kl?(oc(),--kl<0&&(kl=2),nc()):(document.body.removeEventListener("keydown",cc),fj(cc));break;case Ed:Al||(oc(),2<++kl&&(kl=0),nc());break;case Sd:case Pd:Al=Al||Pl?(oc(),0):(oc(),1),nc();break;case wd:case yd:case xd:case Ud:dc();break;case Id:D("enter_refresh")?dc():(document.body.removeEventListener("keydown",cc,!1),document.body.addEventListener("keyup",lc,!1),Gl=!1,xl=window.setTimeout(Bm,500));break;case Od:case Bd:Bm()}}var rc,uc,_c,fc,hc,mc,pc,gc,vc,bc,yc,wc,xc,jc,Ac=6,kc=11,Cc=parseInt((kc+1)/2),Sc=Ac,Ec=0,Pc="";function Ic(){Or=JSON.parse(fd);var e=0;uc=e++,_c=e++,fc=e++,hc=e++,mc=e++,pc=e++,gc=e++,vc=e++,bc=e++,yc=+e,wc=10,xc=11}function Mc(e){e===Ec&&(Lc(),Bh("chat_send"))&&!or()&&ar()}function Lc(){var e="",e=Gu[Ec]?((t=Gu[Ec]).hasOwnProperty("emote-only")&&t["emote-only"]&&(e+="Emote-only, "),t.hasOwnProperty("rk9")&&t.rk9&&(e+="R9K messages with more than 9 characters must be unique, "),t.hasOwnProperty("slow")&&t.slow&&(e+="Slow"+(t.slow?" wait "+t.slow+" second(s) between sending messages":"")+", "),t.hasOwnProperty("subs-only")&&t["subs-only"]&&(e+="Subscribers-only, "),t.hasOwnProperty("followers-only")&&-1!==t["followers-only"]&&(e+="Followers-only"+(t["followers-only"]?" minimum "+t["followers-only"]+" minute(s) fallowing":"")+", "),e.slice(0,-2)):Mo,t=w.Play_selectedChannelDisplayname;A("chat_state",t+v+An+m+(""===e?kn:e))}function Bc(){or()?(Vc(),Zm("keydown",Fc),_.placeholder=jn,rc=$m(function(){ip(_,"chat_input_class_focus"),_.focus(),Wm("keydown",Uc)},200,rc)):ar()}function Oc(e){var t;ep(rc),ap(_,"chat_input_class_focus"),_.blur(),null!==_&&(t=_.cloneNode(!0),_.parentNode.replaceChild(t,_),_=E("chat_send_input")),Zm("keydown",Uc),_.placeholder=jn,e&&Wm("keydown",Fc),0}function Tc(){Vc(),l("chat_send_button"+Sc,"button_chat_focused")}function Vc(){for(var e=0;e<kc+1;e++)s("chat_send_button"+e,"button_chat_focused")}function Dc(e,t){A("dialog_warning_chat_text",e),j("dialog_warning_chat"),ep(jc),t&&(jc=$m(function(){x("dialog_warning_chat")},t))}function Rc(){switch(Sc){case uc:Zm("keydown",Fc),lr={emote_sorting:{defaultValue:lr.emote_sorting.defaultValue,values:[ko,qa,za],title:qn,summary:Qn},force_show_chat_write:{defaultValue:lr.force_show_chat_write.defaultValue,values:[ko,Ao],title:Xn,summary:Jn}};var e,t=Hn+m;for(e in cr=[],lr)cr.push(e),t+=function(e,t,i){return'<div id="'+e+'_div" class="settings_div"><div id="'+e+'_name" class="settings_name">'+t+'<div id="'+e+'_summary" class="settings_summary" style="font-size: 73%;">'+i+'</div></div><div class="settings_arraw_div"><div id="'+e+'arrow_left" class="left"></div></div><div id="'+e+'" class="strokedeline settings_value">'+lr[e].values[lr[e].defaultValue]+'</div><div class="settings_arraw_div"><div id="'+e+'arrow_right" class="right"></div></div></div>'}(e,lr[e].title+m,lr[e].summary);A("chat_options_text",t+td+Ue+"</div>"),l(cr[rr=0],"settings_value_focus"),l(cr[0]+"_div","settings_div_focus"),ur(cr[0]),j("chat_options"),Wm("keydown",_r);break;case _c:_.value="",ir();break;case fc:zc(Or,Gn,"unicode");break;case hc:zc(u.bttvGlobal,Pn,"code");break;case mc:zc(u.ffzGlobal,Mn,"code");break;case pc:zc(u.seven_tvGlobal,Bn,"code");break;case gc:""!==_.value&&null!==_.value?or()?(i=_.value,a=Ec,zu&&Nu&&1===Nu.readyState&&(Nu.send("PRIVMSG #"+Ur[a]+" :"+i),W0&&(a=B[$2].defaultValue,Dc(Oo+v+a+(1<a?Ii:ya),5e3)),1)?(_.value="",ir()):Dc(Yn,1500)):ar():Dc(q,1e3);break;case vc:er("@"+w.Play_selectedChannelDisplayname);break;case bc:zc(Tr[b[0].id],En,"code");break;case yc:zc(u.bttv[f[Ec]],In,"code");break;case wc:zc(u.ffz[f[Ec]],Ln,"code");break;case xc:zc(u.seven_tv[f[Ec]],On,"code")}var i,a}function Fc(e){switch(e.keyCode){case d:Ec=0,sr(),Zm("keydown",Uc),Zm("keydown",Fc),Zm("keydown",Jc),Zm("keydown",_r),Wm("keydown",O2),x("chat_send"),x("chat_emotes_holder"),x("dialog_warning_chat"),x("chat_options"),Oc(!1);break;case Cd:--Sc<0&&(Sc=kc),Tc();break;case Ed:kc<++Sc&&(Sc=0),Tc();break;case Sd:(Cc-1<Sc?(Sc-=Cc,Tc):Bc)();break;case Pd:(Sc<Cc?(Sc+=Cc,Tc):Bc)();break;case Id:Rc()}}function Uc(e){switch(tr(),e.keyCode){case Nd:_.value="",ir();break;case d:case Fd:case Dd:case Pd:case Sd:ep(rc),Oc(!0),Sc=Ac,Tc()}}var Nc,Gc=0,Hc=0,qc=[];function zc(e,t,i){var a,n=[];for(a in e)n.push(e[a]);if(1<n.length){k("chat_emotes_text",t);1===(t=lr.emote_sorting.defaultValue)?n.sort(function(e,t){return e.code<t.code?-1:e.code>t.code?1:0}):2===t&&n.sort(function(e,t){return e.code>t.code?-1:e.code<t.code?1:0});for(var o=E("chat_emotes"),d=0,s=Boolean(!n[0].hasOwnProperty("div")),l=(np(o),Gc=n.length,Hc=0,qc=[],Math.min(Gc,39));d<l;d++)Qc(n,d,s,i,o);C(function(){Zm("keydown",Uc),Zm("keydown",Fc),Wm("keydown",Jc),E("chat_emotes").style.transform="",Zc(0),j("chat_emotes_holder"),Yc(0)}),d<Gc&&$m(function(){for(;d<Gc;d++)Qc(n,d,s,i,o)},10)}else Dc(Rn,1e3)}function Qc(e,t,i,a,n){var o,d,s;qc.push(e[t].id),!i&&e[t].div||(e[t].div=(i=e[t]["4x"],o=e[t].id,a=e[t][a],d=e[t].code,(s=document.createElement("div")).setAttribute("id","chat_emotes"+o),s.setAttribute(uh,a),s.classList.add("chat_emotes_img_holder"),s.innerHTML='<div id="chat_emotes_img'+o+'" class="chat_emotes_img_div" ><img alt="" class="chat_emotes_img" src="'+i+'" onerror="this.onerror=null;this.src=\''+pd+'\';"></div><div class="chat_emotes_name_holder"><div id="chat_emotes_name'+o+'" class="chat_emotes_name opacity_zero">'+d+"</div></div>",s)),n.appendChild(e[t].div)}function Xc(){Zm("keydown",Jc),Wm("keydown",Fc),x("chat_emotes_holder"),Kc(Hc),Tc()}function Jc(e){switch(e.keyCode){case d:Xc();break;case Cd:Wc(Hc,-1);break;case Ed:Wc(Hc,1);break;case Sd:Hc<20?Xc():Wc(Hc,-20);break;case Pd:Wc(Hc,20);break;case Id:(Sc!==bc&&(t=Gu[Ec])&&t.hasOwnProperty("emote-only")&&t["emote-only"]?(Dc(Nn,1500),1):!or())||(t=E("chat_emotes"+qc[t=Hc]))&&er(t.getAttribute(uh))}var t}function Yc(e){l("chat_emotes_img"+qc[e],"chat_emotes_focus"),Zc(Hc),s("chat_emotes_name"+qc[e],"opacity_zero")}function Kc(e){s("chat_emotes_img"+qc[e],"chat_emotes_focus"),l("chat_emotes_name"+qc[e],"opacity_zero")}function Wc(e,t){qc[e+t]?(Kc(e),Yc(Hc+=t),$c(Hc)):0<t&&(t=parseInt(e/20),qc[20*(t+1)])&&(Kc(e),Yc(Hc=Gc-1),$c(Hc))}function Zc(e){k("chat_emotes_counter",e+1+"/"+Gc)}function $c(e){var t,i;39<e?(t=20*((e=parseInt(e/20))+2),i=E("chat_emotes"+qc[20*(e-1)]).offsetHeight,qc[t]&&(E("chat_emotes").style.transform="translateY(-"+i*(e-1)+"px)")):E("chat_emotes").style.transform=""}function er(e){var t,i;""===_.value||null===_.value||(t=_.value,i=" ",t&&i&&-1!==t.indexOf(i,t.length-i.length))||(_.value+=" "),_.value+=e+" ",tr()}function tr(){Nc=$m(function(){""!==_.value&&null!==_.value?A("chat_result_text",function(e){for(var t=0,i=e.length;t<i;t++)e[t]=uA(e[t],0,null);return'<span class="message">'+CA.parse(e.join(" "),!0,!0)+"</span>"}([_.value])):ir()},10,Nc)}function ir(){k("chat_result_text","")}function ar(){ep(rc),Bh("chat_emotes_holder")?Xc():Bh("chat_send")&&(Oc(!0),Tc())}var nr="";function or(){nr="";var e=w.Play_selectedChannelDisplayname;if(Er[Ec])return nr=wn+e,dr(),0;if(Gu[Ec]){var t=Gu[Ec],i=Pr[Ec],a=(a=Ir[Ec])&&a.hasOwnProperty("state")&&!a.state;if(t.hasOwnProperty("subs-only")&&t["subs-only"]&&a)return nr="Chat Subscribers-only mode "+St,dr(),0;if(t.hasOwnProperty("followers-only")&&-1!==t["followers-only"]&&i){if(-1<t["followers-only"]&&i.hasOwnProperty("follows")&&!i.follows)return nr=Fn+e,dr(),0;if(t["followers-only"]&&i.hasOwnProperty("created_at")&&t["followers-only"]>ru(i.created_at))return a=ru(i.created_at),nr="Followers-only"+(t["followers-only"]?" minimum "+t["followers-only"]+" minute(s) fallowing":"")+" "+Un+a+(1<a?Li:Mi),dr(),0}}return sr(),1}function dr(){ap(_,"chat_input_class_focus"),ip(_,"chat_input_class_block"),Dc(_.value=nr,1e3),ir()}function sr(){Ym(_.className,"chat_input_class_block")&&(ap(_,"chat_input_class_block"),_.value="",ir())}var lr={},cr=[],rr=0;function ur(e){var t=lr[e].defaultValue,i=lr[e].values.length-1;0<t&&t<i?(E(e+"arrow_left").style.opacity="1",E(e+"arrow_right").style.opacity="1"):t===i?(E(e+"arrow_left").style.opacity="1",E(e+"arrow_right").style.opacity="0.2"):(E(e+"arrow_left").style.opacity="0.2",E(e+"arrow_right").style.opacity="1")}function _r(e){var t;switch(e.keyCode){case Id:case Rd:case d:L4(cr[rr]),x("chat_options"),Zm("keydown",_r),Wm("keydown",Fc);break;case Cd:t=cr[rr],0<lr[t].defaultValue&&hr(-1);break;case Ed:t=cr[rr],lr[t].defaultValue<lr[t].values.length-1&&hr(1);break;case Sd:0<rr&&fr(-1);break;case Pd:rr<cr.length-1&&fr(1)}}function fr(e){var t;E((t=cr[rr])+"arrow_left").style.opacity="0",E(t+"arrow_right").style.opacity="0",s(t,"settings_value_focus"),s(t+"_div","settings_div_focus"),l(e=cr[rr+=e],"settings_value_focus"),l(e+"_div","settings_div_focus"),ur(e)}function hr(e){var t=cr[rr];lr[t].defaultValue+=e,S(t,lr[t].defaultValue),k(t,lr[t].values[lr[t].defaultValue]),ur(t)}var mr,pr,gr,vr,br,yr,wr,xr,y=[],p=[],jr=[],Ar=[],kr=[],Cr=[],Sr=[],Er=[],Pr=[],Ir=[],Mr=!0,Lr=1e4,Br=1e3,u={bttv:{},ffz:{},seven_tv:{},cheers:{},BadgesChannel:{},GlobalTwitch:null,ChannelEmotes:{}},Or=[],Tr={},Vr={},Dr={},f=[],Rr=[],Fr=[],Ur=[],Nr=new RegExp("\\\\s","gi"),Gr={"B-?\\)":"B)","\\:-?\\)":":)","\\:-?\\(":":(","\\:-?(p|P)":":P","\\;-?(p|P)":";P","\\:-?[\\\\/]":":/","\\;-?\\)":";)","R-?\\)":"R)",":>":":>","\\:\\>\\;":":>","[oO](_|\\.)[oO]":"O_O","\\:-?D":":D","\\:-?(o|O)":":O",">\\\\(":">(",":-?(?:7|L)":":7","\\:-?(S|s)":":s","#-?[\\\\/]":"#/","<\\]":"<]","<3":"<3","\\<\\;3":"<3","\\<\\;\\]":"<]","\\>\\;\\(":">(","\\:-?[z|Z|\\|]":":Z"},Hr=/emote-only=(\d+).*followers-only=(-1|\d+).*r9k=(\d+).*slow=(\d+).*subs-only=(\d+).*/,qr="https://cdn.betterttv.net/emote/";function zr(){{var e,t;(s_(),w.Play_ChatForceDisable)?nf():(I_(),su(0,w.Play_selectedChannel_id,w.Play_selectedChannel),n=y[a=0],Rm("https://recent-messages.robotty.de/api/v2/recent-messages/"+Ur[a]+"?limit=30&hide_moderation_messages=true",2*op,0,null,Mu,jx,a,n),Bu(0,y[0]),Hu(0,y[0]),n=y[a=0],V.show_chatters.defaultValue&&(A("chat_loggedin"+a,"..."+(1===V.show_chatters.defaultValue?Eo:he)),s("chat_loggedin"+a,"hide"),i=window.innerHeight,E("chat_box_holder"+a).style.height="calc(100% - "+.029*i+"px)",e=a,t=n,(1===V.show_chatters.defaultValue?bu:pu)(e,t),Rr[e]=lp(function(){(1===V.show_chatters.defaultValue?bu:pu)(e,t)},3e5,Rr[e])),Yr&&(a=y[i=0],u.GlobalTwitch?wu(u.GlobalTwitch):(u.GlobalTwitch={},Rm(h+"chat/emotes/global",2*op,2,null,yu,jx,i,a,!0)),a=y[n=0],yl()&&b[0].access_token&&(Pr[n]={},Rm(h+"channels/followed?user_id="+b[0].id+"&broadcaster_id="+f[n],2*op,2,null,lu,cu,n,a,!0)),a=y[n=0],Ir[n]={},yl()&&b[0].access_token&&a===y[n]?Rm(h+"subscriptions/user?broadcaster_id="+f[n]+"&user_id="+b[0].id,2*op,2,null,uu,fu,n,a,!0):fu(n,a)))}var i,a,n}var Qr,Xr,Jr,Yr,Kr,Wr,Zr,$r,eu,tu,iu=[],au=' style="color: #4eff42;" ',nu=' style="color: #4AA4FD;" ',ou=[],du=[];function su(e,t,i){y[e]=(new Date).getTime(),f[e]=t,Ur[e]=i,Ur[e]&&(Ur[e]=Ur[e].toLowerCase()),Yr=yl(),gr=V.chat_logging.defaultValue,xr=V.chat_individual_background.defaultValue,vr=V.highlight_rewards.defaultValue,br=V.highlight_atstreamer.defaultValue,yr=Yr&&V.highlight_atuser.defaultValue,wr=Yr&&V.highlight_user_send.defaultValue,Qr=V.show_actions.defaultValue,Xr=V.highlight_bits.defaultValue,Jr=V.show_sub.defaultValue,Kr=V.individual_lines.defaultValue,$r=V.chat_nickcolor.defaultValue,eu=V.chat_timestamp.defaultValue,tu=V.clear_chat.defaultValue,iu[e]=0,ou[e]=new RegExp("@"+Ur[e]+"(?=\\s|$)","i"),du[e]=new RegExp("@"+Ur[e],"gi"),Yr&&(Wr=new RegExp("@"+b[0].name+"(?=\\s|$)","i"),Zr=new RegExp("@"+b[0].name,"gi")),(i=y[t=e])===y[t]&&(u.bttv[f[t]]?Cu(u.bttv[f[t]]):Rm("https://api.betterttv.net/3/cached/users/twitch/"+encodeURIComponent(f[t]),2*op,0,null,ju,jx,t,i)),(i=y[t=e])===y[t]&&(u.ffz[f[t]]?Cu(u.ffz[f[t]]):Rm("https://api.frankerfacez.com/v1/room/id/"+encodeURIComponent(f[t]),2*op,0,null,Su,jx,t,i)),(i=y[t=e])===y[t]&&(u.seven_tv[f[t]]?Cu(u.seven_tv[f[t]]):Rm("https://7tv.io/v3/users/twitch/"+encodeURIComponent(f[t]),2*op,0,null,Pu,jx,t,i)),(i=y[t=e])===y[t]&&(u.BadgesChannel[f[t]]?D_(u.BadgesChannel[f[t]][t],v_[t]):Rm(h+"chat/badges?broadcaster_id="+f[t],2*op,0,null,hu,jx,t,i,!0)),(i=y[t=e])!==y[t]||u.cheers[f[t]]||Rm(h+"bits/cheermotes?broadcaster_id="+f[t],2*op,0,null,ku,jx,t,i,!0)}function lu(e,t,i){i===y[t]&&(i=e,e=t,(i=JSON.parse(i))&&i.data.length?Pr[e]={created_at:i.data[0].followed_at,follows:!0}:Pr[e].follows=!1)}function cu(e,t){t===y[e]&&(Pr[e].follows=!1)}function ru(e){return e=(new Date).getTime()-new Date(e).getTime(),Math.floor(Math.floor(parseInt(e/1e3))/60)}function uu(e,t,i){i===y[t]&&(Ir[t].state=!0,t=t,i=i,u.ChannelEmotes[f[t]]?wu(u.ChannelEmotes[f[t]]):(u.ChannelEmotes[f[t]]={},Rm(h+"chat/emotes?broadcaster_id="+f[t],2*op,2,null,_u,jx,t,i,!0)))}function _u(e,t,i){xu(e,t,i,u.ChannelEmotes[f[t]])}function fu(e,t){t===y[e]&&(Ir[e].state=!1)}function hu(e,t,i){var a,n,o,d,s,l;i===y[t]&&(u.BadgesChannel[f[t]]=(i=JSON.parse(e),a=!0,l=["",""],i.data.forEach(function(e){o=e.set_id,(n=e.versions).forEach(function(e){d=V_(e.image_url_4x),l[0]+=T_(o+0,e.id,d),l[1]+=T_(o+1,e.id,d),a&&-1<(s=parseInt(e.id)-parseInt(e.id.toString()[0])*Math.pow(10,e.length-1))&&!n.hasOwnProperty(s)&&(l[0]+=T_(o+0,s,d),l[1]+=T_(o+1,s,d))})}),l),D_(u.BadgesChannel[f[t]][t],v_[t]))}function mu(e){k("chat_loggedin"+e,""),l("chat_loggedin"+e,"hide"),E("chat_box_holder"+e).style.height="",E("chat_container_name"+e).style.top=""}function pu(e,t){Rm(h+"streams/?user_id="+f[e],2*op,2,null,gu,jx,e,t,!0)}function gu(e,t,i){try{var a;i===y[t]&&(a=JSON.parse(e)).data&&a.data.length&&A("chat_loggedin"+t,Wh(a.data[0].viewer_count)+v+he)}catch(e){tp("ChatLive_loadChattersSuccess "+e)}}var vu='{"query":"{channels(ids: \\"%x\\") {chatters(){count}}}"}';function bu(n,o){var d=new XMLHttpRequest;if(d.open("POST","https://gql.twitch.tv/gql",!0),d.timeout=H0,Js&&Js.length)for(var e=Js.length,t=0;t<e;t++)d.setRequestHeader(Js[t][0],Js[t][1]);d.ontimeout=function(){},d.onreadystatechange=function(){if(4===d.readyState&&200===d.status){var e,t=d.responseText,i=n,a=o;try{a===y[i]&&(e=JSON.parse(t).data.channels[0].chatters.count,A("chat_loggedin"+i,Wh(e)+Eo))}catch(e){tp("ChatLive_loadChattersSuccess "+e)}}},d.send(vu.replace("%x",f[n]))}function yu(e,t,i){xu(e,t,i,u.GlobalTwitch)}function wu(e){for(var t in Tr.hasOwnProperty(b[0].id)||(Tr[b[0].id]={}),e)Tr[b[0].id][t]={code:t,id:e[t].id,"4x":e[t]["4x"]}}function xu(e,t,i,a){var n,o;i===y[t]&&(i=JSON.parse(e))&&i.data.length&&(t=i.data,Tr.hasOwnProperty(b[0].id)||(Tr[b[0].id]={}),t.forEach(function(e){e.name&&e.id&&"string"==typeof e.name&&(e.code=Gr[e.name]||e.name,Tr[b[0].id].hasOwnProperty(e.code)||(n=cA(e.id),o=e.code+e.id,Vr[e.code]={code:e.code,id:o,chat_div:rA(n),"4x":n},a[e.code]={code:e.code,id:o,"4x":n},Tr[b[0].id][e.code]={code:e.code,id:o,"4x":n}))}))}function ju(e,t,i){if(i===y[t]){i=JSON.parse(e),e=t;u.bttv[f[e]]={};try{Au(i.channelEmotes,e),Au(i.sharedEmotes,e)}catch(e){tp("ChatLive_loadEmotesbttv "+e)}}}function Au(e,t){var i,a,n;try{e.forEach(function(e){i=qr+e.id+"/3x",a=rA(i),n=e.code+e.id,Vr[e.code]={code:e.code,id:n,chat_div:a,"4x":i},u.bttv[f[t]][e.code]={code:e.code,id:n,chat_div:a,"4x":i}})}catch(e){tp("ChatLive_loadEmotesbttvChannel "+e)}}function ku(e,i,t){if(t===y[i]){Dr[f[i]]={},t=JSON.parse(e);try{t.data.forEach(function(t){Dr[f[i]][t.prefix]={},t.tiers.forEach(function(e){Dr[f[i]][t.prefix][e.min_bits]=rA(e.images.light.animated[4])})}),u.cheers[f[i]]=1}catch(e){tp("ChatLive_loadCheersChannelSuccess "+e)}}}function Cu(e){for(var t in e)Vr[t]={code:e[t].code,id:e[t].id,chat_div:e[t].chat_div,"4x":e[t]["4x"]}}function Su(e,t,i){i===y[t]&&Eu(JSON.parse(e),t,!1)}function Eu(t,i,a){var n,o,d;a?u.ffzGlobal={}:u.ffz[f[i]]={};try{Object.keys(t.sets).forEach(function(e){((e=t.sets[e]).emoticons||Array.isArray(e.emoticons))&&e.emoticons.forEach(function(e){e.name&&e.id&&("string"!=typeof e.name||"number"!=typeof e.id||!e.urls||"object"!=typeof e.urls||"string"!=typeof e.urls[1]||e.urls[2]&&"string"!=typeof e.urls[2]||(n=e.urls[4]||e.urls[2]||e.urls[1],o=rA(n),d=e.name+e.id,Vr[e.name]={code:e.name,id:d,chat_div:o,"4x":n},a?u.ffzGlobal[e.name]={code:e.name,id:d,chat_div:o,"4x":n}:u.ffz[f[i]][e.name]={code:e.name,id:d,chat_div:o,"4x":n}))})})}catch(e){tp("ChatLive_loadEmotesffz "+e)}}function Pu(e,t,i){i===y[t]&&Iu(JSON.parse(e),t,!1)}function Iu(e,i,a){var n,o,d,s,l,c,t=[];a?(e&&e.emotes&&(t=e.emotes||[]),u.seven_tvGlobal={}):(e&&e.emote_set&&e.emote_set.emotes&&(t=e.emote_set.emotes||[]),u.seven_tv[f[i]]={});try{t.forEach(function(e){var t;(c=e.data)&&c.name&&c.host&&c.host.url&&c.host.files&&(c.name=e.name,e=c.host.files,(s=e.filter(function(e){return"WEBP"===e.format})).length)&&(l=c.host.url,e=l,t=s[s.length-1],n=(rp(e,"//")?"https:":"")+e+"/"+t.name,o=rA(n),d=c.name+c.id,Vr[c.name]={code:c.name,id:d,chat_div:o,"4x":n},a?u.seven_tvGlobal[c.name]={code:c.name,id:d,chat_div:o,"4x":n}:u.seven_tv[f[i]][c.name]={code:c.name,id:d,chat_div:o,"4x":n})})}catch(e){tp("ChatLive_loadEmotesseven_tvChannel "+e)}}function Mu(e,t,i){if(i===y[t])for(var a,n=JSON.parse(e),o=n.messages.length-1;0<=o;o--)"PRIVMSG"===(a=window.parseIRC(n.messages[o].trim())).command&&Zu(a,t,!0)}var Lu=[];function Bu(e,t){var f,h;t===y[e]&&(Fu(e),n_({chat_number:e,message:a_(ri+v+w.Play_selectedChannelDisplayname+v+J)}),Lu[e]=gr&&!Er[e]&&yl()&&b[0].access_token,(h=t)===y[f=e])&&(p[f]=new WebSocket("ws://irc-ws.chat.twitch.tv","irc"),p[f].onopen=function(){var e;Lu[f]?(e=b[0].name.toLowerCase(),p[f].send("PASS oauth:"+b[0].access_token),p[f].send("NICK "+e),p[f].send("USER "+e+" 8 * :"+e)):(p[f].send("PASS blah"),p[f].send("NICK justinfan12345"),p[f].send("CAP REQ :twitch.tv/commands twitch.tv/tags"),p[f].send("JOIN #"+Ur[f]))},p[f].onmessage=function(e){if(e.data){var t=window.parseIRC(e.data.trim());if(t.command)switch(t.command){case"PRIVMSG":Zu(t,f);break;case"PING":p[f].send("PONG "+t.params[0]);break;case"001":Lu[f]&&Ym(t.params[1],b[0].name.toLowerCase())&&(Ou(f,h),p[f].send("CAP REQ :twitch.tv/tags twitch.tv/commands"));break;case"CAP":Lu[f]&&(kr[f]=$m(function(){p[f].send("JOIN #"+Ur[f])},500,kr[f]));break;case"JOIN":jr[f]||(jr[f]=!0,n_({chat_number:f,message:a_(Bo+" as "+(Lu[f]?b[0].display_name:po))}),W0&&(d="",2<B[$2].defaultValue?d=Ii:1<B[$2].defaultValue&&(d=ya),n_({chat_number:f,message:a_(ba+" "+B[$2].values[B[$2].defaultValue]+d)})),Fr[f]=lp(function(){p[f]&&1===p[f].readyState&&p[f].send("PONG tmi.twitch.tv")},3e4,Fr[f])),Uu(t,f,!0);break;case"USERNOTICE":d=t,s=f,Jr&&(l=d.tags,d=d.params,l)&&l.hasOwnProperty("msg-id")&&l["system-msg"]&&(c=l["display-name"]||null,o=l["msg-id"]||null,r=l["msg-param-recipient-display-name"]||l["msg-param-recipient-user-name"]||null,u=l["msg-param-recipient-id"]||null,_=l["system-msg"]||null)&&o&&(o=Ym(o+"","anon"),_=_.replace(Nr," "),c&&(_=_.replace(c,"<span style='color: #0fffff; font-weight: bold'>$&</span>")),r&&(_=_.replace(r,"<span style='color: #0fffff; font-weight: bold'>$&</span>")),d&&d[1]&&(_+=d&&d[1]?m+m+e_(l,s)+"<span style='color: #0fffff; font-weight: bold'>"+(o||!c?po:c)+"</span>: "+i_(fA(d[1],t_(l)),s,0):""),function(e,t){$u(t,{chat_number:t,message:'<span class="message">'+e+"</span>",sub:1})}(_,s),Yr)&&r&&u&&(r+""==b[0].id+""||u.toLowerCase()+""==b[0].name.toLowerCase()+"")&&Wu((o?yn:l["display-name"])+bn,1e4);break;case"USERSTATE":Uu(t,f);break;case"NOTICE":Lu[f]&&(c=f,_=h,(s=t).tags&&s.tags.hasOwnProperty("msg-id")&&Ym(s.tags["msg-id"]+"","msg_banned")?(Wu(s.params&&s.params[1]?s.params[1]:wn+Ur[c],3500),Er[c]=!0,ep(Ar[c]),Du(c,_,0)):s.params&&s.params[1]&&Ym(s.params[1]+"","authentication failed")?(Ru(s.params[1],c),ml()&&b[0].access_token&&ss(0,null,null)):Ku(s));break;case"ROOMSTATE":r=f,(u=t).tags&&(Gu[r]||(Gu[r]={}),(u=u.tags).hasOwnProperty("emote-only")&&(Gu[r]["emote-only"]=parseInt(u["emote-only"])),u.hasOwnProperty("followers-only")&&(Gu[r]["followers-only"]=parseInt(u["followers-only"])),u.hasOwnProperty("rk9")&&(Gu[r].rk9=parseInt(u.rk9)),u.hasOwnProperty("slow")&&(Gu[r].slow=parseInt(u.slow)),u.hasOwnProperty("subs-only")&&(Gu[r]["subs-only"]=parseInt(u["subs-only"])),Mc(r));break;case"PART":p[f]&&(Tu(f),p[f].close(1e3));break;case"CLEARCHAT":o=f,l=t;if(l.tags&&l.tags.hasOwnProperty("target-user-id")){var i=l.tags["ban-duration"]||0,a=xo,n=l.tags["target-user-id"],o=v_[o].getElementsByClassName(n);i&&(a+=jo+i+(1<i?Ii:ya));try{Array.prototype.forEach.call(o,function(e){e&&(tu?e.innerHTML=a:e.innerHTML+=m+m+a,ip(e.parentElement,"chat_purged"),ap(e,n))})}catch(e){tp("ChatLive_Clean Array.prototype message "+JSON.stringify(l)+" e "+e)}}break;case"CLEARMSG":(i=t).tags&&i.tags.hasOwnProperty("target-msg-id")&&(i=E(i.tags["target-msg-id"]))&&(tu?i.innerHTML=wo:i.innerHTML+=m+m+wo,ip(i.parentElement,"chat_purged"),i.id="_")}}var d,s,l,c,r,u,o,_},p[f].onclose=function(e){hf||tp(JSON.stringify(e)+" onclose main "),Ru("Websocket closed remotely... "+JSON.stringify(e),f),jr[f]=!1,Du(f,h,Br,!0)},p[f].onerror=function(e){hf||tp(JSON.stringify(e)+" erro main"),Ru("Error... "+JSON.stringify(e),f),jr[f]=!1,Du(f,h,Br,!0)},Ou(f,h))}function Ou(e,t){ep(Ar[e]),jr[e]||t!==y[e]||(Ar[e]=$m(function(){Du(e,t,0)},Lr*(Lu[e]?2:1),Ar[e]))}function Tu(e){p[e].onclose=jx,p[e].onerror=jx,p[e].onmessage=jx,p[e].onopen=jx}function Vu(e){p[e]&&(1===p[e].readyState&&p[e].send("PART #"+Ur[e]),Tu(e),p[e].close(1e3)),jr[e]=!1,cp(Fr[e])}function Du(e,t,i,a){jr[e]||t!==y[e]||(Vu(e),Ar[e]=$m(function(){a||Ru(Lo,e),Bu(e,t)},i||0,Ar[e]))}function Ru(e,t,i){n_({chat_number:t,message:'<span class="message">'+(i?"ChatSend:":"Chat:")+v+e+"</span>"})}function Fu(e){ep(kr[e]),ep(Ar[e])}function Uu(e,t,i){var a;Lu[t]&&(e=e.hasOwnProperty("params")?JSON.stringify(e.params):"",e=Hr.exec(e),Hr.lastIndex=0,e&&6===e.length?(ep(kr[t]),e=e,Gu[a=t]={"emote-only":parseInt(e[1]),"followers-only":parseInt(e[2]),rk9:parseInt(e[3]),slow:parseInt(e[4]),"subs-only":parseInt(e[5])},Mc(a)):i&&(kr[t]=$m(function(){p[t].send("JOIN #"+Ur[t])},1e3,kr[t])))}var Nu,Gu=[];function Hu(e,t){var i,a;t!==y[e]||e||(!Er[e]&&yl()&&b[0].access_token?(i=e,a=t,(Nu=new WebSocket("ws://irc-ws.chat.twitch.tv","irc")).onopen=function(){var e=b[0].name.toLowerCase();Nu.send("PASS oauth:"+b[0].access_token),Nu.send("NICK "+e),Nu.send("USER "+e+" 8 * :"+e)},Nu.onmessage=function(e){if(e.data){var t=window.parseIRC(e.data.trim());if(t.command)switch(t.command){case"PING":Nu.send("PONG "+t.params[0]);break;case"001":Ym(t.params[1],b[0].name.toLowerCase())&&(Ju(i,a),Nu.send("CAP REQ :twitch.tv/tags twitch.tv/commands"));break;case"CAP":zu=!0,pr=lp(function(){Nu&&1===Nu.readyState&&Nu.send("PONG tmi.twitch.tv")},3e4,pr);break;case"NOTICE":t.params&&t.params[1]&&Ym(t.params[1]+"","authentication failed")?(Ru(t.params[1],0,!0),ml()&&b[0].access_token&&ss(0,null,null)):Ku(t);break;case"PART":Nu&&(Qu(),Nu.close(1e3))}}},Nu.onclose=function(e){hf||tp(JSON.stringify(e)+" onclose send"),Ru("Websocket closed remotely... "+JSON.stringify(e),0,!0),Yu(i,a,Br,!(zu=!1))},Nu.onerror=function(e){hf||tp(JSON.stringify(e)+" error send"),Ru("Error... "+JSON.stringify(e),0,!0),Yu(i,a,Br,!(zu=!1))},Ju(i,a)):Xu())}var qu,zu=!1;function Qu(){Nu.onclose=jx,Nu.onerror=jx,Nu.onmessage=jx,Nu.onopen=jx}function Xu(){Nu&&(1===Nu.readyState&&Nu.send("PART "),Qu(),Nu.close(1e3)),zu=!1,cp(pr)}function Ju(e,t){qu=$m(function(){Yu(e,t,0)},2*Lr,qu)}function Yu(e,t,i,a){zu||(Xu(),qu=$m(function(){a||Ru(Lo,e,!0),Hu(e,t)},i||0,qu))}function Ku(e){e.params[1]&&!Ym(e.params[1],"NICK already set")&&Wu(e.params[1],3500)}function Wu(e,t){Dc("Chat: "+e,t),_b("Chat: "+e,t)}function Zu(e,t,i){var a,n,o,d,s,l="",c=e.tags,r="",u=!1,_=!1;if(c&&c.hasOwnProperty("display-name")){if(vr&&c.hasOwnProperty("msg-id")&&(c["msg-id"]=c["msg-id"]+"",Ym(c["msg-id"],"highlighted-message")?(r=" chat_highlighted ",o=Kn):Ym(c["msg-id"],"skip-subs-mode-message")&&(r=" chat_highlighted ",o=Wn)),eu&&(l+=i&&c.hasOwnProperty("tmi-sent-ts")?(s=c["tmi-sent-ts"],x1((s=new Date(parseInt(s)+ph)).getHours())+":"+x1(s.getMinutes())+" "):Sm+" "),l+=e_(c,t),Ym(e=e.params[1],"PRIVMSG")&&(e=e.split("@badge-info=")[0]),/^\x01ACTION.*\x01$/.test(e)){if(!Qr)return;d=!0,e=e.replace(/^\x01ACTION/,"").replace(/\x01$/,"").trim()}br&&ou[t].test(e)?u=!0:(yr&&Wr.test(e)||wr&&Ym(c["display-name"].toLowerCase(),b[0].display_name.toLowerCase()))&&(_=!0),s=c.hasOwnProperty("bits")&&Dr.hasOwnProperty(f[t]),a=c["display-name"],$u(t,{chat_number:t,message:l=(l+="<span "+(d?'class="class_bold" ':"")+(n=u||Xr&&s?au:_?nu:$r||"boolean"==typeof c.color?'style="color: '+p_[a.charCodeAt(0)%g_]+';"':'style="color: '+c.color+';"')+">"+a+"</span>"+(d?"":":")+" ")+"<span "+(c.id?'id="'+c.id+'"':"")+' class="'+(c["user-id"]||"")+" message"+r+(d?' class_bold" '+n:'"')+">"+i_(fA(e,t_(c)),t,s?parseInt(c.bits):0)+"</span>",atstreamer:u,atuser:_,hasbits:s&&Xr,extraMessage:o,addToStart:i})}}function $u(e,t){var i,a,n;W0?(a=y[i=e],n=t,$m(function(){a===y[i]&&n_(n)},1e3*B[$2].values[B[$2].defaultValue])):n_(t)}function e_(e,t){if(e.hasOwnProperty("badges")&&"string"==typeof e.badges){for(var i,a=e.badges.split(","),n="",o=0,d=a.length;o<d;o++)(i=a[o].split("/"))[0]&&i[1]&&(n+='<span class="a'+i[0]+t+"-"+i[1]+' tag"></span>');return n}return""}function t_(e){var t,i,a,n,o,d=null;if(e.hasOwnProperty("emotes")&&"string"==typeof e.emotes){e.emotes=e.emotes.split("/");for(var d={},s=0,l=e.emotes.length;s<l;s++)for(d[(t=e.emotes[s].split(":"))[0]]||(d[t[0]]=[]),n=0,o=(i=t[1].split(",")).length;n<o;n++)a=i[n].split("-"),d[t[0]].push([parseInt(a[0]),parseInt(a[1])])}return d}function i_(e,t,i){for(var a=0,n=e.length;a<n;a++)"string"==typeof e[a]?e[a]=uA(e[a],t,i):e[a]=e[a][0];return CA.parse(e.join(" "),!0,!0)}function a_(e){return'<span class="message">'+e+"</span>"}function n_(e){Mr?(o_(e),Cr[e.chat_number]++>w_&&(Cr[e.chat_number]=0,df(e.chat_number))):Sr[e.chat_number].push(e)}function o_(e){var t,i=document.createElement("div"),a="chat_line";e.atstreamer?(a+=" chat_atstreamer",e.message=e.message.replace(du[e.chat_number],"<span style='color: #34B5FF; font-weight: bold'>$&</span>")):e.atuser?(a+=" chat_atuser",e.message=e.message.replace(Zr,"<span style='color: #34B5FF; font-weight: bold'>$&</span>")):e.hasbits?a+=" chat_bits":e.sub?a+=" chat_sub":xr&&(iu[e.chat_number]&&(1===xr?(t=a0?"0, 0, 0,":"100,100,100,",i.style.backgroundColor="rgba("+t+" "+Jg+")"):2===xr?i.style.backgroundColor="rgba(100,100,100, "+Jg+")":3===xr&&(i.style.backgroundColor="rgba(0,0,0, "+Jg+")")),iu[e.chat_number]=1^iu[e.chat_number]),Kr&&!e.skip_addline?a+=" chat_line_ind":a+=" chat_line_slim",i.className=a,i.innerHTML=e.message,e.addToStart?(v_[e.chat_number].insertBefore(i,v_[e.chat_number].childNodes[0]),d_(e)):(d_(e),v_[e.chat_number].appendChild(i))}function d_(e){e.extraMessage&&o_({chat_number:e.chat_number,message:a_(e.extraMessage),skip_addline:1,addToStart:e.addToStart})}function s_(){y[0]=0,Cr[0]=0,Sr[0]=[],mu(0),np(v_[0]),jr[0]=!1,Er[0]=!1,Gu[0]=null,Fu(0),Vu(0),Xu()}var l_,c_,r_,u_=[],__=[],f_=null,h_=0,m_="",p_=["#FC4F4F","#ff8736","#ffd830","#ffff35","#81ff2c","#2dff2d","#21ff7a","#0fffc0","#0fffff","#20cfff","#4d9bff","#ff74ff","#ff93ff","#ff63ab","#63FFBF","#A363FF","#B3FF63","#D463FF"],g_=p_.length,v_=[],b_=0,y_=!1,w_=60,x_=!0,j_={},A_='{"operationName":"VideoCommentsByOffsetOrCursor","variables":{"videoID":"%v","contentOffsetSeconds":%o},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"b70a3591ff0f4e0313d126c6a1502d79a1c02baebb288227c582044aa76adf6a"}}}',k_='{"operationName":"VideoCommentsByOffsetOrCursor","variables":{"videoID":"%v","cursor":"%c"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"b70a3591ff0f4e0313d126c6a1502d79a1c02baebb288227c582044aa76adf6a"}}}',C_=new RegExp("[^\0-]","g");function S_(){var e;x_=!0,Z_(),w.Play_ChatForceDisable?nf():(g||(Ub=1e3*h_,E_()),I_(),su(0,w.Main_selectedChannel_id,w.Main_selectedChannel),e=y[0],y[0]===e&&X_(e))}function E_(){!pp&&!Cb||y_||(Ub+=1e3,$m(E_,1e3))}var P_=!1;function I_(){P_||L_(0),u.bttvGlobal||R_(0),u.ffzGlobal||q_(0),u.Seven_tvGlobal||N_(0),Ic()}function M_(e,t,i,a){Rm(e,2*op+t*dp,0,null,i,a,t)}function L_(e){Rm(h+"chat/badges/global",2*op+e*dp,0,null,O_,B_,e,0,!0)}function B_(e){e<sp&&L_(e+1)}function O_(e){var t,i,a="";JSON.parse(e).data.forEach(function(e){t=e.set_id,e.versions.forEach(function(e){i=V_(e.image_url_4x),a=(a+=T_(t+0,e.id,i))+T_(t+1,e.id,i)})}),D_(a,document.head),P_=!0}function T_(e,t,i){return".a"+e+"-"+t+i}function V_(e){return' { background-image: url("'+e.replace("http:","https:")+'"); }'}function D_(t,i){C(function(){var e=document.createElement("style");e.innerHTML=t,i.appendChild(e)})}function R_(e){M_("https://api.betterttv.net/3/cached/emotes/global",e,U_,F_)}function F_(e){e<sp&&R_(e+1)}function U_(e){var t,i,a,e=JSON.parse(e);u.bttvGlobal={};try{e.forEach(function(e){t=qr+e.id+"/3x",i=rA(t),a=e.code+e.id,Vr[e.code]={code:e.code,id:a,chat_div:i,"4x":t},u.bttvGlobal[e.code]={code:e.code,id:a,chat_div:i,"4x":t}})}catch(e){tp("Chat_loadEmotesbttvGlobal "+e)}}function N_(e){M_("https://7tv.io/v3/emote-sets/global",e,H_,G_)}function G_(e){e<sp&&N_(e+1)}function H_(e){Iu(JSON.parse(e),0,!0)}function q_(e){M_("https://api.frankerfacez.com/v1/set/global",e,Q_,z_)}function z_(e){e<sp&&q_(e+1)}function Q_(e){Eu(JSON.parse(e),0,!0)}function X_(e){var i=new XMLHttpRequest;i.open("POST",eg,!0),i.timeout=2*op,i.setRequestHeader(nh,Hs),i.setRequestHeader("Content-Type","application/json"),i.ontimeout=function(){},i.onreadystatechange=function(){var t;4===i.readyState&&(200===i.status?J_(i.responseText,e):(t=e,y[0]===t&&(c_=$m(function(){var e=Ub/1e3;e&&e<h_&&(h_=e),X_(t)},2500,c_))))},i.send(A_.replace("%v",w.ChannelVod_vodId).replace("%o",h_?parseInt(h_):0))}function J_(e,t){if(!y_&&y[0]===t){var i,a,n,o,d,s,l,c,r,u,_,f,h,e=JSON.parse(e),m=null===f_;if(e.data&&e.data.video&&e.data.video.comments&&e.data.video.comments.edges){for(i=e.data.video.comments.edges||[],f_=i.length?i[0].cursor:"",m&&(Y_({chat_number:0,time:0,message:'<span class="message">'+ri+v+w.Main_selectedChannelDisplayname+v+m_+"</span>"}),Y_({chat_number:0,time:0,message:'<span class="message">'+Bo+"</span>"})),r=h_=0,u=i.length;r<u;r++)if(i[r]=i[r].node,!j_[i[r].id]&&(j_[i[r].id]=!0,i[r].commenter)&&(d=o=!1,a=s="",n=i[r].message,Qr||!n.is_action)){if(eu&&(a+=j1(i[r].contentOffsetSeconds)+" "),n.hasOwnProperty("userBadges"))for(_=0,f=n.userBadges.length;_<f;_++)(l=n.userBadges[_]).setID&&l.version&&(a+='<span class="a'+l.setID+"0-"+l.version+' tag"></span>');if(n.fragments)for(_=0,f=n.fragments.length;_<f;_++)(c=n.fragments[_]).emote?s+=rA(cA(c.emote.emoteID)):(s+=i_([c.text],0,0),!o&&br&&ou[0].test(c.text)?o=!0:!d&&yr&&Wr.test(c.text)&&(d=!0));wr&&Ym(i[r].commenter.displayName.toLowerCase(),b[0].display_name.toLowerCase())&&(d=!0),h=o?au:d?nu:!$r&&n.userColor?'style="color: '+n.userColor+';"':'style="color: '+p_[i[r].commenter.displayName.charCodeAt(0)%g_]+';"',a=(a+="<span "+(n.is_action?'class="class_bold" '+h:"")+h+">"+i[r].commenter.displayName+(p=i[r].commenter.displayName,g=i[r].commenter.login,p&&C_.test(p)?" ("+g+")":"")+"</span>"+(n.is_action?"":":")+" ")+'<span class="message'+(n.is_action?' class_bold" '+h:'"')+">"+s+"</span>",h={chat_number:0,time:i[r].contentOffsetSeconds,message:a,atstreamer:o,atuser:d,hasbits:!1},m?Y_(h):""!==f_&&__.push(h)}m&&y[0]===t&&(x_=!1,K_(t),""!==f_)&&ef(t)}}var p,g}function Y_(e){u_.push(e)}function K_(e){x_||y_||y[0]!==e||w.Play_ChatForceDisable||($_(e),l_=lp(function(){$_(e)},1e3,l_))}function W_(){ep(c_),ep(r_),cp(l_)}function Z_(){var e;y_=!1,W_(),y[0]=0,np(v_[0]),f_=null,u_=[],__=[],j_={},Fu(e=b_=0),ep(qu),ep(mr),cp(Rr[e]),cp(Fr[e]),cp(pr),mu(0)}function $_(e){var t,i=u_.length;if(b_<i-1)for(t=b_;t<i&&u_[t].time<Ub/1e3;t++,b_++)o_(u_[t]);else""!==f_||__.length?(u_=function(e){for(var t=[],i=0;i<e.length;i++)t.push(e[i]);return t}(__),__=[],y[b_=0]===e&&""!==f_&&ef(e),df(0)):(y_||o_({chat_number:0,message:' <span class="message">'+m+m+hi+m+m+"</span>"}),y_=!0,cp(l_))}function ef(e){y_||y[0]!==e||tf(e)}function tf(t){var i=new XMLHttpRequest;i.open("POST",eg,!0),i.timeout=2*op,i.setRequestHeader(nh,Hs),i.setRequestHeader("Content-Type","application/json"),i.ontimeout=function(){},i.onreadystatechange=function(){var e;4===i.readyState&&(200===i.status?J_(i.responseText,t):(e=t,y[0]===e&&(r_=$m(function(){tf(e)},2500,r_))))},i.send(k_.replace("%v",w.ChannelVod_vodId).replace("%c",f_))}function af(){Z_(),of($t+m+ei)}function nf(){Z_(),of(Ni)}function of(e){var t=" ",t=(t+='<span class="message">')+e+"</span>";(e=document.createElement("div")).className="chat_line",e.innerHTML=t,v_[0].appendChild(e)}function df(e){var t=v_[e].getElementsByClassName("chat_line"),i=0,a=t.length-w_;if(0<a)for(;i<a;i++)v_[e].removeChild(t[0])}var sf,lf,cf,_,rf,uf,_f,ff,hf=!0,mf=!1,pf=-1,gf=0,vf=1,bf=2,yf=3,wf=4,xf=5,jf=6,Af=7,kf=8,Cf=9,Sf=10,Ef=11,Pf=12,If=13,Mf=14,Lf=15,Bf=16,Of=17,Tf=18,Vf=19,Df=20,Rf="",w={Main_Go:1,Main_Before:1,Main_BeforeSearch:1,Main_BeforeChannel:1,Main_BeforeAgame:wf,Main_BeforeChannelisSet:!1,Main_BeforeAgameisSet:!1,Main_selectedChannel:"",Main_selectedChannelDisplayname:"",Main_selectedChannelLogo:"",Main_selectedChannel_id:"",Main_gameSelected:"",Main_gameSelected_id:"",Main_OldgameSelected:null,Play_isHost:!1,Play_DisplaynameHost:"",Play_selectedChannelDisplayname:"",Play_selectedChannel:"",Play_gameSelected:"",Play_gameSelected_id:null,Users_AddcodePosition:0,Play_WasPlaying:0,ChannelVod_vodId:"",vodOffset:0,Search_data:"",gameSelectedOld:null,Games_return:!1,Search_isSearching:!1,Play_ChatForceDisable:!1,Never_run_new:!0,Chat_font_size_new:75,ChatBackground:10,IsRerun:!1,Main_selectedChannelPartner:!1,Sidepannel_Pos:2,Sidepannel_IsUser:!1,My_channel:!1,DeviceBitrateCheck:!1,warning_new_api2:!0,AddCode_main_token:null},Ff=[],Uf=[],Nf=!0,Gf=!0,Hf=0,qf=0,zf=null,Qf=!1,Xf="",Jf=[],Yf=!0,Kf=!1,Wf=0,Zf=45,t=Math.floor(Zf/3/1.5),$f=Math.floor(9/1.35),eh=6,th=Math.floor(48/eh/1.5),ih="Accept",ah="application/vnd.twitchtv.v5+json",nh="Client-ID",oh="https://api.twitch.tv/kraken/",h="https://api.twitch.tv/helix/",dh="Authorization",sh="OAuth ",lh="&api_version=5",ch="?api_version=5",rh="stream_thumbnail_focused",uh="data_attribute",_h=401,fh="December 01 2023",hh="4.0.1-"+fh,mh=[0,1,7,30,0],ph=0,g=0,gh="?"+Math.random(),vh=!1,bh="Bearer ",yh=[[nh,Us],["Authorization",null]],wh=[[nh,Us],["Authorization",bh+Xs]];function xh(){document.body.addEventListener("keydown",Ah,!1),document.body.addEventListener("keyup",pm,!1),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){Eh(window.navigator.userLanguage||window.navigator.language)}):Eh(window.navigator.userLanguage||window.navigator.language)}function jh(e){e.keyCode!==Ld&&e.keyCode!==Md||(window.clearTimeout(_f),window.clearTimeout(ff),document.body.removeEventListener("keyup",jh),document.body.addEventListener("keydown",Ah,!1),window.setTimeout(function(){l("rest_warning","hide")},1500))}function Ah(e){e.keyCode!==Ld&&e.keyCode!==Md||(document.body.removeEventListener("keydown",Ah,!1),document.body.addEventListener("keyup",jh,!1),_f=window.setTimeout(kh,1e4))}function kh(){window.clearTimeout(_f),window.clearTimeout(ff),A("rest_warning",pn),s("rest_warning","hide"),ff=window.setTimeout(Sh,1e4)}hf||xh();var Ch=!1;function Sh(){for(var e in Ch=!0,localStorage.removeItem("Main_values"),V)localStorage.removeItem(e);A("rest_warning",gn),window.setTimeout(function(){window.location.reload(!0)},1500)}function Eh(n){var i;console.log("Main_Checktylesheet"),(i=document.createElement("span")).className="fa",i.style.display="none",document.body.insertBefore(i,document.body.firstChild),C(function(){var e,t;"icons"!==window.getComputedStyle(i,null).getPropertyValue("font-family")?(console.log("Main_Checktylesheet reloading"),e="https://fgl27.github.io/smarttv-twitch/release/githubio/css/font-awesome.min.css",(t=document.createElement("link")).rel="stylesheet",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)):console.log("Main_Checktylesheet loaded OK"),document.body.removeChild(i)}),C(function(){hf&&(document.body.innerHTML=Zo),C(function(){try{Qs||(Us=atob(Us),Ns=atob(Ns),Gs=atob(Gs),Fs="https://fgl27.github.io/smarttv-twitch/release/githubio/login2/twitch.html",Hs=atob(Hs),Js=[["Client-ID",Hs]],yh=[[nh,Us],["Authorization",null]],wh=[[nh,Us],["Authorization",bh+Xs]]),g=null!==tizen,console.log("Main_IsNotBrowser tizen = "+g),mf=!0}catch(e){console.log(e),g=0,Km.style.backgroundColor="rgba(155, 155, 155, 1)",mf=!0,console.log("Main_isReleased: "+hf),console.log("Main_isDebug: "+mf),console.log("Main_isBrowser: "+!g),d=49,Md=34,Ld=33,Bd=50,yd=127,wd=126,xd=179,Vd=66,jd=73,Ad=79,kd=80}for(var e in Th(),V)V[e].defaultValue=Om(e,V[e].defaultValue),--V[e].defaultValue,V[e].defaultValue>o4(e)&&(V[e].defaultValue=0);p4(0),b4(),Xm(),D("app_animations")||g4(),wx=D("videos_animation"),Hp=D("clip_auto_play_next"),zj=D("live_notification"),Xj=1e3*n4("live_notification_time"),Kg=D("single_click_exit"),X0=D("end_dialog_counter"),v4(D("show_screen_counter"));for(var t,i=0,a=f4.length;i<a;i++)if(1===D(f4[i])){zg=!0,m4(f4[i]);break}for(t in u4(),bd(),Qf=!1,Ut=" Hold enter or press Guide or Info",F="Refresh",U="Search",N="Settings",G="Controls",H="About",q="The text you entered is empty.",z="Switch: Past Broadcasts or Highlights",Q="Switch: Period (24h, 7d, 30d, all)",X="User",J="Live",Y="Games",K="Playing ",W="for ",Z="Watch time ",$="Since ",ee="Type your search...",te="Type your authentication key...",ie="Type your username...",ae="Press Enter or Select key to, ",ne="Channels",zi="Back to previous screen: Back key",de=" has ended",se="This video is only available to subscribers.",le="Connection failed, unable to load content. Hit refresh to try again",r="No",ce=" Past Broadcasts",re=" Highlights",ue="Clips",_e="Streamed ",fe=" Views",he="Viewers",me="Click again to exit!",pe="Do you want to exit SmartTV Client for Twitch?",ge="Exit",ve="Close",be="Minimize",ye="Cancel",we="Rerun",xe=" Channels Live",je=" Games Live",Ae=" Followed Channels",ka="My Channel",ke="Add User",Ce=" Remove User",Se="User doesn't exist",Ee=" hosting ",Pe=" already set",Ie="Switch to",Me="24h",Le="7d",Be="30d",Oe="all",Te="Jumping",Ve=" to ",De="Source",Re="Version: ",Fe="SmartTV Client for Twitch",Ue="Press back or enter key to close this.",Ne="Player Related:",da="Chat Related:",Ge="General Related:",He="Play a video: Navigate using Directional pad (up/down/left/right), press enter or play play/pause media",qe="Refresh screen content: ",ze="Exit the application: from side panel click exit",Ki="Force close the application: Hold the back key until it auto force close",Qe="Switch screen: CH Up/Down or use the side panel",Xe="Start a search: from side panel click search, writing the search press the Enter key on the virtual keyboard and choose a search option",Je="About this application: from side panel click about",Ye="This is a SmartTV Client for Twitch developed by a individual on his free time, for TVs that don't have access to a good official application, released for free to anyone who wants to use it.",Fi="This version of the app is for test in browser only!",Ke="Contact information:",We="This is an open source application licensed under the GNU General Public License v3.0, check it on github",Ze="github.com/fgl27/smarttv-twitch",$e="This application uses following dependencies:",et="irc-message - Performant, streaming IRC message parser (https://github.com/sigkell/irc-message)",tt="Fontastic - Create your customized icon fonts in seconds (http://app.fontastic.me)",it="Twemoji - A simple library that provides standard Unicode emoji support across all platforms (https://github.com/twitter/twemoji)",at="UglifyJS - is a JavaScript parser, minifier, compressor and beautifier toolkit (https://github.com/mishoo/UglifyJS2)",nt="punycode - A robust Punycode converter that fully complies to RFC 3492 and RFC 5891 (https://github.com/bestiejs/punycode.js)",ot="HTMLMinifier - A highly configurable, well-tested, JavaScript-based HTML minifier (https://github.com/kangax/html-minifier)",dt="JSHint - A Static Code Analysis Tool for JavaScript (https://github.com/jshint/jshint)",st="Web:",lt="crass - A CSS minification, pretty printing, and general utility library written in JS (https://github.com/mattbasta/crass)",ct="Show information panel: Press enter key or D-pad keys if live channel feed is not showing",rt="Close the video: press back key twice or media key Stop",ut="Play/Pause a video: open information panel and click on pause symbol",_t="Show user live channels feed: D-pad up",ft="Change video quality: use the player bottom controls Quality",ht="Force refresh a video (in case it freezes): Change video quality to the same",mt="Show or hide the Chat : Guide or Info"+(sd=v+"or in player bottom controls"),pt="Change Chat position : "+" CH Up/Down"+sd,gt="Change Chat size : D-pad down"+sd,vt="Change Chat background brightness: change in player bottom controls",bt="Force refresh the Chat in Live streams (in case it freezes or doesn't load): use the player bottom controls Chat force disable (click twice)",an="All media keys are supported (play, pause, stop, next track, fast forward, etc...)",Hi="Chat force disable",yt="Update available, check google play store",wt="Adding a key allows the app to access user follow content and logging to chat.<br><br> Add a key is not demanding and can be done at any point later.<br> In doubt read this link:<br> <br> https://https://github.com/fgl27/smarttv-twitch#twitchtv-authentication-key <br> <br>To add a key for ",xt="Add Authentication key",jt="Key added OK",At=" Following",kt=" Not Following",Ct=" And you have not set a authentication key the app can't check yours sub status.",St=" And you are not a sub of this channel",Et=" You are a sub of this channel but ",Pt="Fail authentication check with the provider key, please check and try again",ji="The added key doesn't belong to the user ",It="No user",Mt="Set user and an authentication key to be able to follow/unfollow",Lt="Third party apps can no longer follow/unfollow channels",ea="Set a user and authentication key to be able to see the side panel followed content"+(Jo=", navigate to the side panel (Top option) User: Switch, add, key, press enter on the user"),Bt=" Clip",Ot="Channel content",Tt=" Followers",Vt="Game content",Dt="Yes",Rt="Are you sure you want to remove the user ",Ft="Followed Live Games",Nt=["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],Gt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ht="Started ",qt="Videos",zt=" Video",Qt="Replay",Xt="exiting in ",Jt='press "Return" to exit',Yt="Featured",Kt="Created ",Wt="Open the Broadcast",Zt="No Broadcast",$t="There are no Past Broadcasts for this clip",ei="And because of that no chat",ti=" is now",ii="Open the Hosting",ai="Player related",ni="Start Buffer size:",oi="How much is needed to buffer before starting the playback, this is not related to maximum size the buffer can be, a lower value here will make the player start playing sooner, but it may cause re-buffering which will cause the player to pause to buffer.",si="Videos (Past Broadcast and Highlight) Start buffer",li="Clips Start buffer",ci="General",ui="Play from the start or from where you stopped watching last time?",fi=(_i="From:"+m)+"Start",hi="Chat: The Chat has ended!",mi=", Most recent",pi=", Most views",gi="Set an user authentication key to be able to see the side panel followed content"+Jo,vi="Switch: Most recent or views",bi="Disable",Ao="Enabled",ko="Disabled",Bi="The app was closed while playing, restoring playback",yi="Restore playback",wi="The app saves what was playing in case it gets close unintentionally (changing apps the system may run out of memory and close it) or force closed by the user, the app then can restore what was previously playing on next start",xi="Chat font size",Ai="Video's animated thumbnails",ki="Side panel: D-pad left or Back key",Ci="Size ",Si="Brightness ",Ei="Forbidden content, this is restricted in yours region or is restrained to the official Twitch app only",Pi="Jump step ",Ii=(ya=" second")+"s",Li=(Mi=" minute")+"s",Oi="Clock offset",Ti="Content language",Vi="Press enter to access",Di="All",Ri="No game from this",Ui="Isn't possible to jump during buffering",Ni="Chat is force disabled, enable it in player bottom controls Chat force disable",Gi="This clip/video failed to load. Can't replay",qi="Chat background brightness",Qi="Play Next",Ji="Playing next in ",Xi="Play All",Yi="Auto Play next clip",Wi="Back to Main menu",Zi=" Press up",sn=" Hold up",$i="Live Feed",ta="End dialog",ia="Set the time that it will take for the stream/video/clip to end dialog taking action",aa="Disable the timer",da="Chat Show",na="Chat size",oa="Chat position",ra="Video mode",sa="Full screen",la="Smaller screen and chat",ca="Quality",ua="Normal",_a="Very low",fa="Low",ha="High",ma="Very high",pa="Thumbnails quality",ga="Default thumbnails resolution for live, videos and games (can't be applied for clips) a lower value will help the app load faster but the thumbnail may look blurry",va="Paypal donations use bellow link:",Vo="Bitcoin donations use wallet address:",wa="Auto quality Bitrate limit:",xa="The maximum video allowed bitrate for the auto quality, this is most to prevent lag or slowdowns when playing in picture and picture mode as that mode used Auto quality only, but also can be used to limit the Main window bitrate when using Auto quality and prevent the player from trying bitrate bigger then what yours internet supports, some devices will slowdown too much if the main and small window bitrate is too high, the recommended is 3Mbps for small and unlimited for main.",ja="Single return key press",Aa="Exit the player or exit picture in picture or exit 50/50 mode with a single key return click",Ca="Now Live",Sa="Show Now Live notification",Ea="Now Live notification duration in seconds",Pa="Global app font size offset",Ia="This will change the size of all text and most icons in the app (minus chat font size, because it has its own control), too small value may not be visible too big value will overflow the text box holder, that is way this value is limited",Ma="Main Menu",La="User Menu",Ba="Is offline",Oa="Show screen position counter",Ta="Switch: Starting Position offset",Va="Instead of starting on the first possible video, start a a lower position on the list, prevents having to go down and down to find a older video",Ra="Choose a option for user",Da="Main user",Fa="Click on a user to see options",Ua="User: Switch, add, key",Xa="If start getting buffers issue disable "+(Na="Low Latency")+"<br>Use "+(di="Live streams Start buffer")+" equal or bellow to 3 for this to have effect",Ga="Live feed sort",Ha="Sorts side panel live feed and player live feed",qa="Alphabetical A - Z",za="Alphabetical Z - A",Qa="Enable app animations",Ja=", follow bellow steps:",Ya="Access the site link_link (using a computer or a smart phone)",Ka='Click the "Authorize" button which will take you to main Twitch.TV authentication site',Wa="Login to Twitch.TV using the username you are trying to add a key for",Za="Click on Authorize button of Twitch.TV site if you agree with the requested permissions",$a="The web page will update and show a key code, the key only has lowercase letters and numbers.",tn="Disable Hold enter to refresh",nn="App running for:",on="Unable to get stream link issue",dn="Third party app are current without access for this featuring.",ln="Name A - Z",cn="Name Z - A",rn="Game A - Z",un="Game Z - A",_n="Views highest",fn="Views lowest",hn="Created / Uptime newest",mn="Created / Uptime Oldest",gn="All configuration erased the app will self restart",pn="<br>Keep hold Key for 10 seconds to reset all app configuration this can help when the app is freezed, release to dismiss this<br><br>",vn="Force erase all app config: in case the app misbehave and stop working, hold key channel UP or Down for 20 seconds anywhere in the app, after it 10 seconds there is a confirmation",bn=" has gift you a sub!",yn="An "+(po="Anonymous"),wn="You are permanently banned from talking in ",xn="Write to chat",jn="When this seleceted, press enter to show onscreen keyboard, If you have a physical keyboard connected press return or esc to hide the onscreen keyboard",An="Chat ROOMSTATE:",kn="No restrictions",go="Options",Sn="Delete all",Gn="Unicode Emoji",En="Twitch emotes",Pn="BTTV global",In="BTTV streamer",Mn="FFZ global",Ln="FFZ streamer",Bn="7TV global",On="7TV streamer",Tn="@streamer",Vn="In Chat expected result:",Dn="Send",Rn="This emote list is empty",Fn=Fn="Chat is Followers-only mode, and you are not a follower of ",Un="and you are only fallowing for ",Nn="Twitch Emote-only mode",Hn="Write to chat options",qn="Emotes sorting",Qn="If this is disabled, the lists of emotes will be showed in the order provider by the server",Xn="Force show chat",Jn="If you wanna see the chat when write to chat is used, enable this",zn="Add an user authorization key to be able to logging and write to chat"+Jo,Yn="Chat not ready to send! Try again is a second or two.",Kn="Redeemed Highlight My Message",Wn="Redeemed Send a Message in Sub-Only Mode",Cn="Chat options",ro="Highlight rewards messages (Purple background message only)",Zn="Highlight @streamer messages (Dark red background, the @ is blue)",$n="Highlight yours @username messages (Dark Green background, the @ is blue)",eo="Highlight yours sended messages (Dark Green background)",to="Show Sub messages in chat (Dark orange background)",io="Highlight Bits message (Dark Yellow background)",ao="Show Actions messages (Usually this are from stream Bots)",no='This messages are usually equal to Sub messages but sended via a stream bot, so if you have "Show sub..." enable this is redundant',oo="Individual messages background color difference",so="Modes are disable, enable (auto mode), Bright or Darker, In auto mode if the chat is above the stream it odd message will have a darker background accent color from the even, if the chat is not above (side by side for example) the color will be brigh",uo="Insert a line to separate it individual chat messages",lo="Logging in chat with current user",co="The app will always logging to chat using current user when a authorization key is provided, unless chat is disable on player bottom controls, but if this option if set to NO it will prevent logging using current username and instead will logging as anonymous, even if providing a authorization key. This doesn't prevent from send chat message for this user if a key ws added but prevents form know if you are banned on the chat and prevent knowing the chat ROOMSTATE",vo="Show message timestamp",ho="Readable nick colors",mo="Instead of using the default nick color that some times can't be readable on a dark background, use a custom easy to read color",bo="Clear chat, delete user’s message’s",wo="This single user message was requested to be deleted",xo="All messages from this user was requested to be deleted",jo=", they've be timeout for ",yo="Delete chat messages from a specific user (typically after they received a timeout or ban), deleted messages will always have a blue background, the message will be deleted if this is set to yes, if not only the background color will change",fo="Dark mode",_o="Bright mode",yo="Delete chat messages from a specific user (typically after they received a timeout or ban), deleted messages will always have a blue background, the message will be removed if this is set to yes if not only",Eo=" In chat",Po="Show total logged in user on top of the chat or viewers",Io="This is very helpfully to know for example if the offline chat has any user to talk to, also let the user know the difference from total viewer VS total chat user",Co="Show viewers",So="Show chatters",Mo="Unknown",ri="Chat: Connecting to",Lo="Connecting timeout, Fail to logging...",Bo="Chat: Connected",Oo="Message send, chat delay enabled, message will show in chat after",ba="Chat: delay",To="Twitch is shutting down some of they API, making necessary to update all app API calls to they new API, the new API is different because of that it demands a lot of work.<br><br>Because of that the app is going thru a update phase, during this time some app content may not work.<br><br>Be aware with this new Twitch API is necessary to add a User and a Authentication key, if you don’t you may not have access to any content in future updates or after Twitch completely shutting they old API.<br><br>Some users may need to reinstall the app...If you have problem after see this warning, hold channel key up until you see a warning, now hold key down until the app restar, if that doesn't work, reinstall the app.<br><br>This dialog will auto hide in 1 minute, or press any key to hide it",Do="Fail to load VOD info",Jo="If you wanna to thanks the proxy server maintainer use the link:",Ro="TTV LOL",Qo="Proxy timeout (time in seconds)",Xo='If the proxy server is out this will be the time that will take to "give up" on the connection and fallback to default Twitch implementation',Uo="Proxy: ",No="Enabled and working",Ho="Disabled in settings",Go="Not working, fail %x times",qo="Proxy Settings (Internet censorship and related proxy)",zo="Only one proxy can be enable, enables proxy server to get stream links from a different server, that may allow you to see content that is forbidden on yours region and avoid ads, disable this if you have any live stream issue too many or longer buffers, freezes or slow connection that may cause the stream quality to drop.",Ko="Force HTTP",Wo="Some devices can't perform some HTTPS requests with may cause the player not to work, setting this will force some connections to use HTTP only, this may solve player and related issues",T4)T4[t].defaultValue=Om(t,T4[t].defaultValue),--T4[t].defaultValue;F4(),console.log("language is "+n),oe=zi,nd=td+G+"</div>"+td+Ge+"</div>"+ad+o+ki+m+o+He+m+o+(qe+=Ut)+m+o+ze+m+o+Ki+m+o+vn+m+o+Qe+m+o+Xe+m+o+Je+m+"</div>"+(sd=td+Ne+"</div>"+ad+o+_t+m+o+ct+m+o+rt+m+"</div>"+ad+o+ut+m+o+ft+m+o+ht+m+o+an+m+m+td+da+":</div>"+ad+o+mt+m+o+pt+m+o+gt+m+o+vt+m+o+bt)+m+td+Ue+"</div>",od=td+Fe+"</div></div>",dd=ad+m+Ye+m+(g?"":m+'<div class="class_bold" style="display: inline-block; color: #FF0000; font-size: 110%;">'+Fi+"</div>")+"</div>"+m+td+Ke+"</div>"+cd+ed+"</div>"+m+('<div style="vertical-align: middle;"><img style="vertical-align: middle; display: inline-block; width: 4%;" alt="" src="https://fgl27.github.io/SmartTwitchTV/release/githubio/images/paypal.png"><div class="class_bold" style="vertical-align: middle; display: inline-block; font-size: 120%;">'+va+m+'<div style="display: inline-block; color: #0366d6;font-size: 2vh;text-align: center; font-family: Roboto;">http://tiny.cc/donatetofgl27</div></div></div>')+('<div style="vertical-align: middle;"><img style="vertical-align: middle; display: inline-block; width: 4%;" alt="" src="https://fgl27.github.io/SmartTwitchTV/release/githubio/images/bitcoin.png"><div class="class_bold" style="vertical-align: middle; display: inline-block; font-size: 120%;">'+v+Vo+m+v+'<div style="display: inline-block; color: #0366d6;font-size: 2.7vh;text-align: center; font-family: Roboto;">'+ld+"</div></div></div>")+m+We+m+Ze+m+m+id+$e+"</div>"+ad+v+v+st+m+o+et+m+o+nt+m+o+lt+m+o+at+m+o+ot+m+o+dt+m+o+it+m+o+tt+m+td+Ue+"</div></div>",en=Ja+m+o+Ya.replace("link_link","<div style=\"display: inline-block; color: #FF0000; font-size: 110%; font-family: 'Roboto-Bold';\">"+(Qs?"http://tiny.cc/twitchkey":"http://tiny.cc/twitchkey2")+"</div>")+m+o+Ka+m+o+Wa+m+o+Za+m+o+$a,ud("https://github.com/arthurbolsoni/Purple-adblock"),Fo=Jo+$o+$o+rd+ud("https://ttv.lol/donate")+"</span>",Yo=[Ro,ko],sf=document.getElementById("search_input"),lf=document.getElementById("user_input"),cf=document.getElementById("oauth_input"),_=E("chat_send_input"),ul(),(w=T(w,Tm("Main_values",{}))).AddCode_main_token&&(Xs=w.AddCode_main_token,wh=[[nh,Us],["Authorization",bh+Xs]]),ml()&&b[0].access_token?Ih():os(0,Ih,Ph)})})}function Ph(){ds(0,Ih,Ih)}function Ih(){window.setTimeout(Mh,500)}function Mh(){var e;e=!0,Pm(),Lh("label_refresh","icon-refresh",F+":"+Ut),A("label_update",'<div style="vertical-align: middle; display: inline-block;"><i class="icon-globe" style="color: #FF0000;"></i></div><div style="vertical-align: middle; display: inline-block; color: #FF0000">'+v+yt+"</div>"),Lh("label_side_panel","icon-arrow-left",oe),b7(),xj(),k("dialog_end_next_text",Qi),k("dialog_end_replay_text",Qt),k("dialog_end_vod_text",Wt),k("dialog_end_channel_text",Ot),k("dialog_end_game_text",Vt),A("dialog_about_text",od+'<div id="about_runningtime"></div>'+dd),Jf=[Me,Le,Be,Oe],(e?function(){var e,t="";t+=e4("general",ci),c.push(e="content_lang"),V[e].values=[Vi],t+=i4(e,Ti,""),c.push(e="chat_opt"),V[e].values=[Vi],t+=t4(e,Cn),c.push(e="live_feed_sort"),V[e].values=[_n,fn,ln,cn,rn,un,hn,mn],t+=i4(e,Ga,Ha),c.push(e="thumb_quality"),V[e].values=[_a,fa,ua,ha,ma],t+=i4(e,pa,ga),c.push(e="global_font_offset"),t+=i4(e,Pa,Ia),c.push(e="restor_playback"),V[e].values=[r,Dt],t+=i4(e,yi,wi),c.push(e="videos_animation"),V[e].values=[r,Dt],t+=t4(e,Ai),c.push(e="app_animations"),V[e].values=[r,Dt],t+=t4(e,Qa),c.push(e="enter_refresh"),V[e].values=[r,Dt],t+=t4(e,tn),c.push(e="clip_auto_play_next"),V[e].values=[r,Dt],t+=t4(e,Yi),c.push(e="live_notification"),V[e].values=[r,Dt],t+=t4(e,Sa),c.push(e="live_notification_time"),t+=t4(e,Ea),c.push(e="clock_offset"),t+=t4(e,Oi),c.push(e="show_screen_counter"),V[e].values=[r,Dt],t=(t+=t4(e,Oa))+e4("play",ai),c.push(e="proxy_settings"),V[e].values=[Vi],t+=t4(e,qo),c.push(e="force_http"),V[e].values=[r,Dt],t+=i4(e,Ko,Wo),c.push(e="single_click_exit"),V[e].values=[r,Dt],t+=i4(e,ja,Aa),c.push(e="end_dialog_counter"),V[e].values[0]=aa,t=(t+=i4(e,ta,ia))+'<div id="setting_title_buffers" class="settings_title">'+ni+'</div><div id="setting_title_buffers_summary" class="settings_summary">'+oi+"</div>",c.push(e="buffer_live"),t+=t4(e,di),c.push(e="buffer_vod"),t+=t4(e,si),c.push(e="buffer_clip"),A("settings_main",t+=t4(e,li)),Zx=c.length,function(){var e,t="";for(e in T4)V4.push(e),T4[e].values=[r,Dt],t+=function(e,t){return'<div id="'+e+'_div" class="settings_div"><div id="'+e+'_name" class="settings_name">'+t+'</div><div class="settings_arraw_div"><div id="'+e+'arrow_left" class="left"></div></div><div id="'+e+'" class="'+(N4(e)?"red_text ":"")+'strokedeline settings_value">'+U4(e)+'</div><div class="settings_arraw_div"><div id="'+e+'arrow_right" class="right"></div></div></div>'}(e,e);A("settings_lang",t),D4=V4.length}()}:(function(){var e="";for(e in k("setting_title_general",ci),k((e="clock_offset")+"_name",Oi),k((e="show_screen_counter")+"_name",Oa),k((e="content_lang")+"_name",Ti),k(e,n4(e)),V[e].values=[Vi],a4(e="live_feed_sort",Ga,Ha),k(e,n4(e)),V[e].values=[_n,fn,ln,cn,rn,un,hn,mn],k("setting_title_play",ai),k("setting_title_bandwidth",wa),k("setting_title_bandwidth_summary",xa),k("setting_title_buffers",ni),k("setting_title_buffers_summary",oi),k((e="buffer_live")+"_name",di),k((e="buffer_vod")+"_name",si),k((e="buffer_clip")+"_name",li),a4(e="restor_playback",yi,wi),V[e].values=[Dt,r],a4(e="thumb_quality",pa,ga),V[e].values=[_a,fa,ua,ha,ma],a4(e="global_font_offset",Pa,Ia),a4(e="end_dialog_counter",ta,ia),V[e].values[0]=aa,k((e="videos_animation")+"_name",Ai),V[e].values=[Dt,r],k((e="clip_auto_play_next")+"_name",Yi),V[e].values=[r,Dt],k((e="live_notification")+"_name",Sa),V[e].values=[r,Dt],k((e="live_notification_time")+"_name",Ea),a4(e="single_click_exit",ja,Aa),V[e].values=[r,Dt],k((e="app_animations")+"_name",Qa),V[e].values=[r,Dt],k((e="enter_refresh")+"_name",tn),V[e].values=[Dt,r],V)V.hasOwnProperty(e)&&k(e,n4(e));F4()}(),_m))(),Rf=w.Main_Go,C(function(){if(g)for(var e in console.log("TVKeyValue_regKey started"),Gd){t=void 0;var t=Gd[e];try{tizen.tvinputdevice.registerKey(t)}catch(e){console.log("Registering key "+t+" error"),console.log(e)}}if(g&&((o=document.createElement("object")).setAttribute("type","application/avplayer"),o.setAttribute("style","width:100%; height:100%; position: absolute;"),document.getElementById("scene2").appendChild(o),P=webapis.avplay,l0=tizen.systeminfo.getCapability("http://tizen.org/feature/platform.version")),Hg=document.getElementById("chat_container0"),qg=document.getElementById("inner_progress_bar"),V2=E("dialog_warning_play_middle_text"),T2=E("dialog_warning_play_middle"),Qg=Om("ChatPositionsValue",0),Yg=Om("ChatSizeValue",2),w0=Vm("ChatEnable",!1),a0=Vm("Play_isFullScreen",!0),Jg=(.05*w.ChatBackground).toFixed(2),W0=Om("Play_ChatDelayPosition",0),Zg=Vm("Play_LowLatency",!1),parseFloat(l0)<2.4)$g=Zg=!1;else try{webapis.preview.setPreviewData("{}")}catch(e){}for(var i=25;i<301;i++)yv.push(i);w.Chat_font_size_new>yv.length-1&&(w.Chat_font_size_new=yv.length-1),i2(!1),a2(!1),Mv(),A("user_feed_notify_img_holder",'<img id="user_feed_notify_img" alt="" class="notify_img" src="'+hd+'" onerror="this.onerror=null;this.src=\''+hd+"'\" >"),Ff=[["Client-ID",Us],[ih,ah],[dh,null]],Uf=[["Client-ID",Gs],[ih,ah],[dh,null]],ov=[["Client-ID",Gs],["Accept","application/vnd.twitchtv.v5+json"]],v_[0]=E("chat_box0"),Cr[0]=0,Cr[1]=0,Sr[0]=[],Sr[1]=[],ml()&&b[0].access_token&&(window.clearInterval(uf),uf=window.setInterval(Mm,6e5)),document.body.addEventListener("keyup",pm,!1),Jw=T({HeaderQuantity:2,ids:Qy("Live"),table:"stream_table_live",screen:vf,object:"data",key_pgDown:yf,key_pgUp:jf,use_helix:!0,base_url:h+"streams?first="+dx,set_url:function(){this.url=this.base_url+(this.cursor?"&after="+this.cursor:"")+(""!==Xf?"&language="+Xf:"")},label_init:function(){xj(),w.Sidepannel_IsUser=!1,vj(this.screen),Dx(J)},key_play:function(){wm(this.posY+"_"+this.posX,this.ids,kw)}},Ex),Jw=T(Jw,Ix),Yw=T({isQuery:!0,HeaderQuantity:2,ids:Qy("Featured"),table:"stream_table_featured",screen:yf,key_pgDown:wf,key_pgUp:vf,object:"data",base_post:kx,set_url:function(){this.dataEnded=!0,this.url=eg,this.post=this.base_post.replace("%x",""===Xf?"":',language:\\"'+Xf+'\\"')},label_init:function(){xj(),w.Sidepannel_IsUser=!1,vj(this.screen),Dx(Yt)},key_play:function(){wm(this.posY+"_"+this.posX,this.ids,kw)}},Ex),(Yw=T(Yw,Ix)).concatenate=function(e){(e=JSON.parse(e)).data&&e.data.featuredStreams&&(this.data=e.data.featuredStreams,this.loadDataSuccess()),this.loadingData=!1},Yw.addCell=function(e){var t,i,a;e&&e.stream&&(t=e.stream.game,a=(i=e.stream.broadcaster)?i.id:null)&&!this.idObject[a]&&(this.itemsCount++,this.idObject[a]=1,this.row.appendChild(nw(this.row_id+"_"+this.coloumn_id,[i?i.login:"",a,$h(e.stream.type),t?t.id:null],this.ids,[e.stream.previewImageURL?e.stream.previewImageURL.replace("{width}x{height}",zm):"",i?i.displayName:"",e.stream.title,t?t.displayName:"",$+C1(e.stream.createdAt)+v+W+Wh(e.stream.viewersCount)+v+he,i&&i.language?"["+i.language.toUpperCase()+"]":""])),this.coloumn_id++)},Kw=T({HeaderQuantity:2,ids:Qy("AGame"),table:"stream_table_a_game",screen:Tf,object:"data",key_pgDown:xf,key_pgUp:yf,use_helix:!0,base_url:h+"streams?game_id=",set_url:function(){this.url=this.base_url+encodeURIComponent(w.Main_gameSelected_id)+"&first="+dx+(this.cursor?"&after="+this.cursor:"")+(""!==Xf?"&language="+Xf:"")},label_init:function(){Ox(),w.Search_isSearching?rm():w.gameSelectedOld=null,Dx(w.Main_gameSelected,J)},label_exit:Tx,HasSwitches:!0,SwitchesIcons:["movie-play","movie"],addSwitches:function(){this.TopRowCreated=!0,this.row=document.createElement("div");for(var e,t,i=[v+v+qt,v+v+ue],a=0;a<i.length;a++)e='<i class="icon-'+this.SwitchesIcons[a]+' stream_channel_follow_icon"></i>'+i[a],(t=document.createElement("div")).setAttribute("id",this.ids[8]+"y_"+a),t.className="stream_cell_period",t.innerHTML='<div id="'+this.ids[0]+"y_"+a+'" class="stream_thumbnail_channel_vod" ><div id="'+this.ids[3]+"y_"+a+'" class="stream_channel_follow_game">'+e+"</div></div>",this.row.appendChild(t);document.getElementById(this.table).appendChild(this.row)},key_play:function(){-1!==this.posY?wm(this.posY+"_"+this.posX,this.ids,kw):(O.posX?1===O.posX?(w.Main_Go=Df,w.Main_OldgameSelected=w.Main_gameSelected,Cw(),nm):Sw:(w.Main_Go=Vf,w.Main_OldgameSelected=w.Main_gameSelected,Cw(),nm))()}},Ex),Kw=T(Kw,Ix),tx=T({HeaderQuantity:3,ids:Qy("UserLive"),table:"stream_table_user_live",screen:Af,object:"data",key_pgDown:kf,key_pgUp:Sf,base_url:h+"streams/",loadChannelOffsset:0,followerChannels:"",followerChannelsDone:!1,use_helix:!0,set_url:function(){this.url=this.base_url+"followed?user_id="+b[0].id+"&first="+dx+(this.cursor?"&after="+this.cursor:"")},label_init:function(){Vx(),Dx(X,xe)},key_play:function(){wm(this.posY+"_"+this.posX,this.ids,kw)}},Ex),tx=T(tx,Ix),Hw=T({isQuery:!0,ids:Qy("Clip"),table:"stream_table_clip",screen:jf,key_pgDown:vf,key_pgUp:xf,periodPos:Om("Clip_periodPos",2),object:"data",base_post:Cx,periods:[Cx],set_url:function(){this.dataEnded=!0,this.url=eg,this.post=this.base_post.replace("%l",""===Xf?"":",languages:"+O4).replace("%t",this.period[this.periodPos-1])},SetPeriod:function(){S("Clip_periodPos",this.periodPos),Dx(ue,Jf[this.periodPos-1])},label_init:function(){this.SetPeriod(),xj(),w.Sidepannel_IsUser=!1,vj(this.screen)},label_exit:function(){cm()}},Ex),(Hw=T(Hw,Mx)).object="clips",Hw.concatenate=function(e){(e=JSON.parse(e)).data&&e.data.games&&(this.data=Ux(e.data.games.edges,"clips"),this.loadDataSuccess()),this.loadingData=!1},Hw.period=["LAST_DAY","LAST_WEEK","LAST_MONTH","ALL_TIME"],qw=T({use_helix:!0,ids:Qy("ChannelClip"),table:"stream_table_channel_clip",screen:Bf,key_pgUp:Lf,periodPos:Om("ChannelClip_periodPos",2),base_url:h+"clips?broadcaster_id=",set_url:function(){this.url=this.base_url+encodeURIComponent(w.Main_selectedChannel_id)+"&first="+dx+Rx(this.periodPos)+(this.cursor?"&after="+this.cursor:"")},SetPeriod:function(){S("ChannelClip_periodPos",this.periodPos),Dx(w.Main_selectedChannelDisplayname,ue+v+Jf[this.periodPos-1])},label_init:function(){!w.Search_isSearching&&w.Main_selectedChannel_id&&sc(),w.Main_selectedChannel!==this.lastselectedChannel&&(this.status=!1),rm(),this.SetPeriod(),j("label_side_panel"),this.lastselectedChannel=w.Main_selectedChannel},label_exit:cm},Ex),qw=T(qw,Mx),zw=T({use_helix:!0,ids:Qy("AGameClip"),table:"stream_table_a_game_clip",screen:Df,key_pgDown:xf,key_pgUp:yf,periodPos:Om("AGameClip_periodPos",2),base_url:h+"clips?game_id=",set_url:function(){this.url=this.base_url+w.Main_gameSelected_id+"&first="+dx+Rx(this.periodPos)+(this.cursor?"&after="+this.cursor:"")},SetPeriod:function(){S("AGameClip_periodPos",this.periodPos),Dx(w.Main_gameSelected,ue+v+Jf[this.periodPos-1])},label_init:function(){Ox(),this.SetPeriod()},label_exit:Tx},Ex),zw=T(zw,Mx),Qw=T({ids:Qy("Game"),table:"stream_table_games",screen:wf,key_pgDown:xf,key_pgUp:yf,object:"data",use_helix:!0,base_url:h+"games/top?first="+dx,set_url:function(){!this.use_helix&&this.offset&&this.offset+dx>this.MaxOffset&&(this.dataEnded=!0),this.url=this.base_url+(this.cursor?"&after="+this.cursor:"")},label_init:function(){xj(),w.Sidepannel_IsUser=!1,vj(this.screen),Dx(Y)}},Ex),Qw=T(Qw,Lx),Xw=T({ids:Qy("UserGames"),table:"stream_table_user_games",screen:kf,key_pgDownNext:Sf,key_pgDown:Sf,key_pgUp:Af,isLive:!1,hasGameProp:!0,OldUserName:"",object:"data",isQuery:!0,base_post:Ax,set_url:function(){this.dataEnded=!0,this.url=eg,this.post=this.base_post.replace("%x",b[0].id)},label_init:function(){Vx(),Dx(X,Ft)},label_exit:function(){Lh("label_refresh","icon-refresh",F+":"+Ut)}},Ex),(Xw=T(Xw,Lx)).concatenate=function(e){(e=JSON.parse(e)).data&&e.data.user&&e.data.user.followedGames&&e.data.user.followedGames.nodes&&(this.data=e.data.user.followedGames.nodes,this.data.sort(function(e,t){return e&&t?e.displayName<t.displayName?-1:e.displayName>t.displayName?1:0:0}),this.loadDataSuccess()),this.loadingData=!1,this.hasBackupData&&this.setBackupData(e,this.data,this.lastRefresh,this.gameSelected_Id,this.ContentLang,this.Lang)},Ww=T({periodMaxPos:4,HeaderQuantity:2,key_pgDown:jf,key_pgUp:wf,object:"vods",ids:Qy("Vod"),table:"stream_table_vod",screen:xf,highlightSTR:"Vod_highlight",highlight:Vm("Vod_highlight",!1),periodPos:Om("vod_periodPos",2),base_post:Sx,isQuery:!0,set_url:function(){this.dataEnded=!0,this.url=eg,this.post=this.base_post.replace("%l",""===Xf?"":',languages:\\"'+O4+'\\"').replace("%a",this.highlight?"HIGHLIGHT":"ARCHIVE")},key_play:function(){-1===this.posY?0===this.posX?(this.highlight=!this.highlight,this.SetPeriod(),Yy(),S(this.highlightSTR,this.highlight?"true":"false")):Mw():Am(this.posY+"_"+this.posX,this.ids,kw)},SwitchesIcons:["movie-play"],addSwitches:function(){this.TopRowCreated=!0,this.row=document.createElement("div");for(var e,t,i=[v+v+z],a=0;a<i.length;a++)e='<i class="icon-'+this.SwitchesIcons[a]+' stream_channel_follow_icon"></i>'+i[a],(t=document.createElement("div")).setAttribute("id",this.ids[8]+"y_"+a),t.className="stream_cell_period",t.innerHTML='<div id="'+this.ids[0]+"y_"+a+'" class="stream_thumbnail_channel_vod" ><div id="'+this.ids[3]+"y_"+a+'" class="stream_channel_follow_game">'+e+"</div></div>",this.row.appendChild(t);document.getElementById(this.table).appendChild(this.row)},label_init:function(){xj(),w.Sidepannel_IsUser=!1,vj(this.screen),this.SetPeriod()},SetPeriod:function(){S("vod_periodPos",this.periodPos),Dx(qt,this.highlight?re:ce)}},Ex),(Ww=T(Ww,Px)).concatenate=function(e){(e=JSON.parse(e)).data&&e.data.games&&(this.data=Ux(e.data.games.edges,"videos"),this.loadDataSuccess()),this.loadingData=!1},Ww.addCell=function(e){this.addCellBase(e,e.thumbnailURLs[0])},Zw=T({use_helix:!0,periodMaxPos:4,HeaderQuantity:2,object:"data",key_pgDown:xf,key_pgUp:yf,ids:Qy("AGameVod"),table:"stream_table_a_game_vod",screen:Vf,highlightSTR:"AGameVod_highlight",highlight:Vm("AGameVod_highlight",!1),periodPos:Om("AGameVod_periodPos",2),base_url:h+"videos?first="+dx+"&game_id=",set_url:function(){this.url=this.base_url+w.Main_gameSelected_id+"&type="+(this.highlight?"highlight":"archive")+"&sort=views&period="+this.period[this.periodPos-1]+(this.cursor?"&after="+this.cursor:"")+(""!==Xf?"&language="+Xf:"")},key_play:function(){-1===this.posY?0===this.posX?(this.highlight=!this.highlight,this.SetPeriod(),Yy(),S(this.highlightSTR,this.highlight?"true":"false")):Mw():Am(this.posY+"_"+this.posX,this.ids,kw)},SwitchesIcons:["movie-play","history"],addSwitches:function(){this.TopRowCreated=!0,this.row=document.createElement("div");for(var e,t,i=[v+v+z,v+v+Q],a=0;a<i.length;a++)e='<i class="icon-'+this.SwitchesIcons[a]+' stream_channel_follow_icon"></i>'+i[a],(t=document.createElement("div")).setAttribute("id",this.ids[8]+"y_"+a),t.className="stream_cell_period",t.innerHTML='<div id="'+this.ids[0]+"y_"+a+'" class="stream_thumbnail_channel_vod" ><div id="'+this.ids[3]+"y_"+a+'" class="stream_channel_follow_game">'+e+"</div></div>",this.row.appendChild(t);document.getElementById(this.table).appendChild(this.row)},OldgameSelected:"",label_init:function(){Ox(),this.SetPeriod()},label_exit:Tx,SetPeriod:function(){S("AGameVod_periodPos",this.periodPos),Dx(w.Main_gameSelected,(this.highlight?re:ce)+v+Jf[this.periodPos-1])}},Ex),Zw=T(Zw,Px),ex=T({periodMaxPos:2,HeaderQuantity:2,key_pgDown:Bf,object:"data",ids:Qy("ChannelVod"),table:"stream_table_channel_vod",screen:Lf,time:["time","views"],extraoffset:0,OffSetPos:0,highlightSTR:"ChannelVod_highlight",highlight:Vm("ChannelVod_highlight",!1),periodPos:Om("ChannelVod_periodPos",1),use_helix:!0,base_url:h+"videos?first="+dx+"&user_id=",set_url:function(){this.url=this.base_url+encodeURIComponent(w.Main_selectedChannel_id)+"&type="+(this.highlight?"highlight":"archive")+"&sort="+this.time[this.periodPos-1]+(this.cursor?"&after="+this.cursor:"")},key_play:function(){-1===this.posY?0===this.posX?(this.highlight=!this.highlight,this.SetPeriod(),Yy(),S(this.highlightSTR,this.highlight?"true":"false")):(1===this.posX?(this.periodPos++,this.periodPos>this.periodMaxPos&&(this.periodPos=1),this.SetPeriod(),Yy):function(){O.OffSetPos=O.extraoffset/100,Nw(100*O.OffSetPos),Fw(),j("dialog_OffSet"),document.body.removeEventListener("keydown",kw),document.body.addEventListener("keydown",Gw,!1)})():Am(this.posY+"_"+this.posX,this.ids,kw)},SwitchesIcons:["movie-play","history"],addSwitches:function(){this.TopRowCreated=!0,this.row=document.createElement("div");for(var e,t,i=[v+v+z,v+v+vi],a=0;a<i.length;a++)e='<i class="icon-'+this.SwitchesIcons[a]+' stream_channel_follow_icon"></i>'+i[a],(t=document.createElement("div")).setAttribute("id",this.ids[8]+"y_"+a),t.className="stream_cell_period",t.innerHTML='<div id="'+this.ids[0]+"y_"+a+'" class="stream_thumbnail_channel_vod" ><div id="'+this.ids[3]+"y_"+a+'" class="stream_channel_follow_game">'+e+"</div></div>",this.row.appendChild(t);document.getElementById(this.table).appendChild(this.row)},lastselectedChannel:"",label_init:function(){!w.Search_isSearching&&w.Main_selectedChannel_id&&sc(),w.Main_selectedChannel!==this.lastselectedChannel&&(this.OffSetPos=0,this.extraoffset=0,this.status=!1),this.lastselectedChannel=w.Main_selectedChannel,rm(),j("label_side_panel"),this.SetPeriod()},SetPeriod:function(){S("UserVod_periodPos",this.periodPos),Dx(w.Main_selectedChannelDisplayname,(this.highlight?re:ce)+(1===this.periodPos?mi:pi))},label_exit:function(){cm()}},Ex),(ex=T(ex,Px)).addCell=function(e){var t=e.thumbnail_url;this.row_id||-1===(t+"").indexOf("404_processing")||(t=null!==Ul?Ul:this.img_404),this.addCellBase(e,t)},$w=T({periodMaxPos:2,HeaderQuantity:3,object:"videos",key_pgDown:Sf,key_pgUp:kf,ids:Qy("UserVod"),table:"stream_table_user_vod",screen:Cf,time:["time","views"],highlightSTR:"UserVod_highlight",highlight:Vm("UserVod_highlight",!1),periodPos:Om("UserVod_periodPos",1),base_url:oh+"videos/followed?limit="+dx,set_url:function(){this.token=sh+b[0].access_token,this.url=this.base_url+"&broadcast_type="+(this.highlight?"highlight":"archive")+"&sort="+this.time[this.periodPos-1]+"&offset="+this.offset},key_play:function(){-1===this.posY?0===this.posX?(this.highlight=!this.highlight,this.SetPeriod(),Yy(),S(this.highlightSTR,this.highlight?"true":"false")):(this.periodPos++,this.periodPos>this.periodMaxPos&&(this.periodPos=1),this.SetPeriod(),Yy()):Am(this.posY+"_"+this.posX,this.ids,kw)},SwitchesIcons:["movie-play","history"],addSwitches:function(){this.TopRowCreated=!0,this.row=document.createElement("div");for(var e,t,i=[v+v+z,v+v+vi],a=0;a<i.length;a++)e='<i class="icon-'+this.SwitchesIcons[a]+' stream_channel_follow_icon"></i>'+i[a],(t=document.createElement("div")).setAttribute("id",this.ids[8]+"y_"+a),t.className="stream_cell_period",t.innerHTML='<div id="'+this.ids[0]+"y_"+a+'" class="stream_thumbnail_channel_vod" ><div id="'+this.ids[3]+"y_"+a+'" class="stream_channel_follow_game">'+e+"</div></div>",this.row.appendChild(t);document.getElementById(this.table).appendChild(this.row)},label_init:function(){this.SetPeriod(),vj(this.screen)},SetPeriod:function(){S("UserVod_periodPos",this.periodPos),Dx(X,(this.highlight?re:ce)+(1===this.periodPos?mi:pi))}},Ex),$w=T($w,Px),ix=T({use_helix:!0,HeaderQuantity:2,ids:Qy("UserChannels"),table:"stream_table_user_channels",screen:Sf,object:"data",key_pgDown:Af,key_pgUp:kf,key_pgUpNext:Sf,base_url:h+"channels/followed?first="+dx+"&user_id=",base_url_channels:h+"users?",channelDataPos:0,set_url:function(){if(this.getFollowed)this.url=this.base_url+b[0].id+(this.cursor?"&after="+this.cursor:"");else{this.channels="id="+this.channelData[this.channelDataPos].broadcaster_id;var e=this.channelDataPos+1,t=this.channelData.length,i=Math.min(t,e+99);for(this.channelDataPos++;e<i;e++)this.channels+="&id="+this.channelData[e].broadcaster_id,this.channelDataPos++;this.url=this.base_url_channels+this.channels,t<=e&&(this.dataEnded=!0)}},label_init:function(){Vx(),Dx(X,Ae)},key_play:function(){ym(this.posY+"_"+this.posX,this.ids[0])||(w.Main_selectedChannel=JSON.parse(document.getElementById(this.ids[8]+this.posY+"_"+this.posX).getAttribute(uh)),w.Main_selectedChannel_id=w.Main_selectedChannel[1],w.Main_selectedChannelDisplayname=w.Main_selectedChannel[3],w.Main_selectedChannelLogo=w.Main_selectedChannel[2],w.Main_selectedChannel=w.Main_selectedChannel[0],document.body.removeEventListener("keydown",kw),w.Main_BeforeChannel=Sf,w.Main_Go=Mf,w.Main_BeforeChannelisSet=!0,Il=Yd=!0,Jy(),tm())},addCell:function(e){this.idObject[e.id]||(this.itemsCount++,this.idObject[e.id]=1,this.row.appendChild(tw(this.row_id+"_"+this.coloumn_id,this.ids,[e.login,e.id,e.profile_image_url,e.display_name,"partner"===e.broadcaster_type])),this.coloumn_id++)}},Ex),(ix=T(ix,Bx)).addrow=rw,ix.visiblerows=5,ix.concatenate=function(e){if(e=JSON.parse(e),this.getFollowed){var t=e[this.object];if(this.cursor=e.pagination.cursor,t.length)this.channelData?this.channelData.push.apply(this.channelData,e[this.object]):this.channelData=t;else if(!this.channelData)return this.dataEnded=!0,this.data=[],this.loadDataSuccess(),void(this.loadingData=!1);this.cursor&&""!==this.cursor||(this.channelData.sort(function(e,t){return e.broadcaster_login<t.broadcaster_login?-1:e.broadcaster_login>t.broadcaster_login?1:0}),this.getFollowed=!1),Wy(this.screen)}else(t=e[this.object])&&t.sort(function(e,t){return e.login<t.login?-1:e.login>t.login?1:0}),this.data?t&&(this.data.push.apply(this.data,t),this.offset=this.data.length):(this.data=t,this.data?this.offset=this.data.length:this.data=[],this.loadDataSuccess()),this.loadingData=!1},ax=T({use_helix:!0,ids:Qy("SearchGames"),table:"stream_table_search_game",screen:Ef,isLive:!1,OldUserName:"",object:"data",lastData:"",isSearch:!0,base_url:h+"search/categories?query=",set_url:function(){this.url=this.base_url+encodeURIComponent(w.Search_data)+"&first="+dx+(this.cursor?"&after="+this.cursor:"")},label_init:function(){w.gameSelectedOld||(w.gameSelectedOld=w.Main_gameSelected),w.Search_isSearching=!0,rm(),this.lastData!==w.Search_data&&(this.status=!1),this.lastData=w.Search_data,vj(this.screen),Dx(U+v+Y,"'"+w.Search_data+"'")},label_exit:function(){w.Main_gameSelected=w.gameSelectedOld,w.Search_isSearching||cm(),w.Games_return=!1}},Ex),ax=T(ax,Lx),nx=T({HeaderQuantity:2,ids:Qy("SearchLive"),table:"stream_table_search_live",screen:Pf,object:"streams",base_url:oh+"search/streams?limit="+dx+"&query=",set_url:function(){this.check_offset(),this.url=this.base_url+encodeURIComponent(w.Search_data)+"&offset="+this.offset},label_init:function(){w.Search_isSearching=!0,rm(),this.lastData!==w.Search_data&&(this.status=!1),this.lastData=w.Search_data,vj(this.screen),Dx(U+v+J,"'"+w.Search_data+"'")},label_exit:function(){w.Search_isSearching=!1,w.Search_isSearching||cm()},key_play:function(){wm(this.posY+"_"+this.posX,this.ids,kw)}},Ex),nx=T(nx,Ix),ox=T({HeaderQuantity:2,ids:Qy("SearchChannels"),table:"stream_table_search_channel",screen:If,object:"data",use_helix:!0,base_url:h+"search/channels?first="+dx+"&query=",set_url:function(){this.url=this.base_url+encodeURIComponent(w.Search_data)+"&after="+(this.cursor||"")},label_init:function(){w.Search_isSearching=!0,rm(),this.lastData!==w.Search_data&&(this.status=!1),this.lastData=w.Search_data,vj(this.screen),Dx(U+v+ne,"'"+w.Search_data+"'")},label_exit:function(){w.Search_isSearching||cm()},key_play:function(){ym(this.posY+"_"+this.posX,this.ids[0])||(w.Main_selectedChannel=JSON.parse(document.getElementById(this.ids[8]+this.posY+"_"+this.posX).getAttribute(uh)),w.Main_selectedChannel_id=w.Main_selectedChannel[1],w.Main_selectedChannelDisplayname=w.Main_selectedChannel[3],w.Main_selectedChannelLogo=w.Main_selectedChannel[2],w.Main_selectedChannel=w.Main_selectedChannel[0],document.body.removeEventListener("keydown",kw),w.Main_BeforeChannel=If,w.Main_Go=Mf,w.Main_BeforeChannelisSet=!0,Il=Yd=!1,Jy(),tm())},addCell:function(e){this.addCellTemp(e)}},Ex),(ox=T(ox,Bx)).addrow=rw,ox.visiblerows=5,document.getElementById("side_panel").style.marginLeft="",document.getElementById("user_feed_notify").style.marginTop="",_m(),k("play_dialog_exit_text",me),k("side_panel_feed_settings",Wi),k("side_panel_feed_refresh",F),k("user_feed_notify_main",Ca),k("chanel_button",ne),k("game_button",Y),k("live_button",J),k("exit_app_cancel",ye),k("exit_app_close",ve),k("remove_cancel",ye),k("remove_yes",Dt),k("exit_app_minimize",be),k("main_dialog_exit_text",pe),A("dialog_controls_text",nd),k("side_panel_warn_text",r+xe),k("side_panel_movel_top_text",$i),k("dialog_period_text",Q),A("dialog_period_1",Jf[0]),A("dialog_period_2",Jf[1]),A("dialog_period_3",Jf[2]),A("dialog_period_4",Jf[3]),A("main_dialog_user_first",Ie),A("main_dialog_user_remove",Ce),A("dialog_OffSet_text",Ta+m),k("dialog_OffSet_text_summary",Va),k("dialog_vod_text",ui),A("dialog_vod_start_text",fi),A("channel_content_titley_0",'<i class="icon-movie-play stream_channel_follow_icon"></i>'+v+v+qt),A("channel_content_titley_1",'<i class="icon-movie stream_channel_follow_icon"></i>'+v+v+ue),A("channel_content_titley_2",'<i class="icon-heart-o" style="color: #FFFFFF; font-size: 100%; "></i>'+v+v+kt),k("chat_send_button0",go),k("chat_send_button1",Sn),k("chat_send_button2",Gn),k("chat_send_button3",Pn),k("chat_send_button4",Mn),k("chat_send_button5",Bn),k("chat_send_button6",Dn),k("chat_send_button7",Tn),k("chat_send_button8",En),k("chat_send_button9",In),k("chat_send_button10",Ln),k("chat_send_button11",On),k("chat_result",Vn),lr.emote_sorting={},lr.emote_sorting.defaultValue=Om("emote_sorting",0),lr.force_show_chat_write={},lr.force_show_chat_write.defaultValue=Om("force_show_chat_write",1),B[F2]={icons:"search",string:U,values:null,defaultValue:null,opacity:0,enterKey:function(e){Y1(),1===(e=e)?($1(),E1(!0)):2===e?py():3===e&&fg(),ky(w.Play_WasPlaying=0,0),j("scene1"),x("scene2"),Pm(),om()}},B[U2]={icons:"filmstrip",string:Ot,values:"",defaultValue:null,opacity:0,enterKey:function(e){Y1(),b2(e)},setLable:function(e){A("extra_button_"+this.position,'<div style="max-width: 27%; text-overflow: ellipsis; overflow: hidden; transform: translate(135.5%, 0);">'+e+"</div>")}},B[N2]={icons:"gamepad",string:Vt,values:"",defaultValue:null,opacity:0,enterKey:function(e){Y1(),y2(e)},setLable:function(e){A("extra_button_"+this.position,'<div style="max-width: 40%; text-overflow: ellipsis; overflow: hidden; transform: translate(75%, 0);">'+(""===e?Ri:e)+"</div>")}},B[G2]={icons:"movie-play",string:Wt,values:"",defaultValue:null,opacity:0,enterKey:function(){Y1(),kg()},setLable:function(e){A("extra_button_"+this.position,'<div style="max-width: 60%; text-overflow: ellipsis; overflow: hidden; transform: translate(33%, 0);">'+e+"</div>")}},B[H2]={icons:"heart-o",string:kt,values:"",defaultValue:null,opacity:0,enterKey:function(e){Wd=1===e?w.Play_selectedChannel_id:w.Main_selectedChannel_id,D1(Lt),U0=!0,window.setTimeout(function(){R1(),U0=!1},2e3),lb(e)},setLable:function(e,t){k("extra_button_text"+this.position,e),this.setIcon(t)},setIcon:function(e){A("controls_icon_"+this.position,'<i class="pause_button3d icon-'+(e?"heart":"heart-o")+'" style="color: #'+(e?"6441a4":"FFFFFF")+';" ></i>')}},B[q2]={icons:"videocamera",string:ca,values:["1080p60 | Source | 10.00Mbps"],defaultValue:0,opacity:0,enterKey:function(e){1===e?(z1(),t0=y0[M].id,i0=t0,b0=y0[M].url,_1("stream_quality"),f1()):2===e?(gy(),g&&(w.vodOffset=P.getCurrentTime()/1e3),pb=xb[jb].id,gb=pb,wb=xb[jb].url,jy("stream_quality"),_y()):3===e&&(bg(),g&&(Sp=P.getCurrentTime()-1),wp=Ap[jp].id,xp=wp,kp=Ap[jp].url,jg("stream_quality"),lg()),H1()},updown:function(e,t){1===t?((M+=-1*e)>t2()-1?M=t2()-1:M<0&&(M=0),w2(t2,M,_1)):2===t?((jb+=-1*e)>Ay()-1?jb=Ay()-1:jb<0&&(jb=0),w2(Ay,jb,jy)):3===t&&((jp+=-1*e)>wg()-1?jp=wg()-1:jp<0&&(jp=0),w2(wg,jp,jg))}},B[z2]={icons:"history",string:Na,values:null,defaultValue:0,opacity:0,enterKey:function(){z1(),Zg=!Zg,g&&f1(),Zg&&(D1(Xa),window.setTimeout(R1,3e3)),S("Play_LowLatency",Zg),this.setLable()},setLable:function(){k("extra_button_"+this.position,"("+(Zg?Ao:ko)+")")}},B[Q2]={icons:"chat",string:da,values:null,defaultValue:null,opacity:0,enterKey:function(){a0&&(S("ChatEnable",(w0=e2()||L()?($1(),!1):(Z1(),!0))?"true":"false"),this.setLable())},setLable:function(){var e=e2()?Dt:r;a0||(e=la),k("extra_button_"+this.position,"("+e+")")}},B[X2]={ShowInLive:!0,ShowInVod:!0,ShowInClip:!0,ShowInPP:!0,ShowInMulti:!0,ShowInChat:!1,ShowInAudioPP:!1,ShowInAudioMulti:!1,ShowInPreview:!1,ShowInStay:!0,icons:"keyboard",string:xn,opacity:0,values:null,defaultValue:null,enterKey:function(){var e;w.Play_ChatForceDisable?_b(Ni,1500):ml()&&b[0].access_token?(e=w.Play_selectedChannelDisplayname,Er[Ec]?_b(wn+e,1500):(Zm("keydown",O2),Wm("keydown",Fc),_.placeholder=jn,Lc(),j("chat_send"),z1(),Pc!==e&&(_.value=""),Pc=e,(""!==_.value&&null!==_.value?tr:ir)(),lr.force_show_chat_write.defaultValue&&!e2()&&B[Q2].enterKey(1),Bc())):_b(zn,3e3)}},B[J2]={icons:a0?"resize-down":"resize-up",string:ra,values:null,defaultValue:null,opacity:0,enterKey:function(){Pv(a0=!a0),this.setLable(),this.setIcon()},setLable:function(){k("extra_button_"+this.position,"("+(a0?sa:la)+")"),B[Q2].setLable()},setIcon:function(){A("controls_icon_"+this.position,'<i class="pause_button3d icon-'+(a0?"resize-down":"resize-up")+'" ></i>')}},B[Y2]={icons:"chat-pos",string:oa,values:[1,2,3,4,5,6,7,8],defaultValue:Qg,opacity:0,isChat:!0,updown:function(e){e2()&&a0&&(this.defaultValue+=e,this.defaultValue<0?this.defaultValue=this.values.length-1:this.defaultValue>this.values.length-1&&(this.defaultValue=0),Qg+=e,o2(),this.defaultValue=Qg,this.setLable())},setLable:function(){k("controls_name_"+this.position,this.values[this.defaultValue])}},B[K2]={icons:"chat-size",string:na,values:["12.5%","25%","50%","75%","100%"],defaultValue:Yg,opacity:0,isChat:!0,updown:function(e){if(e2()&&a0){if(this.defaultValue+=e,this.defaultValue<0)this.defaultValue=0;else if(this.defaultValue>this.values.length-1)return void(this.defaultValue=this.values.length-1);this.bottomArrows(),(Yg=this.defaultValue)===Wg-1&&-1===e?n2(!1):Yg===Wg&&n2(!0),i2(!0),B[Y2].defaultValue=Qg,this.setLable()}},setLable:function(){k("controls_name_"+Y2,B[Y2].values[B[Y2].defaultValue])},bottomArrows:function(){ub(this.position)}},B[W2]={icons:"chat-brig",string:qi,values:["0%","5%","10%","15%","20%","25%","30%","35%","40%","45%","50%","55%","60%","65%","70%","75%","80%","85%","90%","95%","100%"],defaultValue:w.ChatBackground,opacity:0,isChat:!0,updown:function(e){e2()&&a0&&(this.defaultValue+=e,this.defaultValue<0?this.defaultValue=0:this.defaultValue>this.values.length-1&&(this.defaultValue=this.values.length-1),w.ChatBackground=this.defaultValue,Jg=(.05*this.defaultValue).toFixed(2),a2(!1),this.setLable(),this.bottomArrows(),dm())},setLable:function(){k("controls_name_"+this.position,this.values[this.defaultValue])},bottomArrows:function(){ub(this.position)}},B[Z2]={ShowInLive:!1,ShowInVod:!1,ShowInClip:!1,ShowInPP:!1,ShowInMulti:!1,ShowInChat:!0,ShowInAudioPP:!1,ShowInAudioMulti:!1,ShowInPreview:!1,ShowInStay:!1,icons:"chat-font",string:xi,opacity:0,values:yv,defaultValue:w.Chat_font_size_new,isChat:!0,updown:function(e){e2()&&(this.defaultValue+=e,this.defaultValue<0?this.defaultValue=0:this.defaultValue>this.values.length-1&&(this.defaultValue=this.values.length-1),w.Chat_font_size_new=this.defaultValue,Mv(),this.bottomArrows(),this.setLable(),dm())},setLable:function(){k("controls_name_"+this.position,this.values[this.defaultValue]+"%")},bottomArrows:function(){ub(this.position)}},B[$2]={icons:"chat-delay",string:ba,values:[bi,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,20,25,30,45,60,90,120,150,180,240,300],defaultValue:W0,opacity:0,isChat:!1,updown:function(e){this.defaultValue+=e,this.defaultValue<0?this.defaultValue=0:this.defaultValue>this.values.length-1&&(this.defaultValue=this.values.length-1),S("Play_ChatDelayPosition",W0=this.defaultValue),this.bottomArrows(),this.setLable()},setLable:function(){var e="";1<this.defaultValue?e=Ii:0<this.defaultValue&&(e=ya),k("controls_name_"+this.position,this.values[this.defaultValue]+e)},bottomArrows:function(){ub(this.position)}},B[eb]={icons:"chat-stop",string:Hi,values:null,defaultValue:null,opacity:0,enterKey:function(e){w.Play_ChatForceDisable=!w.Play_ChatForceDisable,(1===e?zr:S_)(),this.setLable(),dm()},setLable:function(){k("extra_button_"+this.position,"("+(w.Play_ChatForceDisable?Dt:r)+")")}},B[tb]={opacity:0,icons:"proxy",string:Uo,values:Yo,defaultValue:_4(),enterKey:function(){var e,t=_4();if(this.defaultValue<1)e=f4[this.defaultValue],V[e].defaultValue=1,S(e,2),h4(e);else{for(var i=0,a=f4.length;i<a;i++)e=f4[i],V[e].defaultValue=0,S(e,1);zg=!1}t!==_4()&&(O1(),p0=f0,t1()),L1(),X1()},updown:function(e){this.defaultValue+=e,this.defaultValue<0?this.defaultValue=0:this.defaultValue>this.values.length-1&&(this.defaultValue=this.values.length-1),this.bottomArrows()},bottomArrows:function(){ub(this.position)},setLable:function(){k("extra_button_text"+this.position,Uo+this.values[this.defaultValue])}};var a,n,o,d=document.getElementById("controls_holder");for(n in B)(a=document.createElement("div")).classList.add("controls_button_holder"),a.setAttribute("id","controls_"+n),a.innerHTML='<div id="controls_button_'+n+'" class="controls_button"><div id="controls_icon_'+n+'"><i class="pause_button3d icon-'+B[n].icons+'" ></i></div></div><div id="controls_button_text_'+n+'" class="extra_button_text_holder" style="opacity: '+B[n].opacity+';"><div id="extra_button_text'+n+'" class="extra_button_text strokedeline" >'+B[n].string+'</div><div id="extra_button_'+n+'" class="extra_button_text strokedeline" >'+(B[n].values?function(e){return'<div id="controls_arrows_'+e+'" style="font-size: 50%; display: inline-block; vertical-align: middle;"><div style="display: inline-block;"><div id="control_arrow_up_'+e+'" class="up"></div><div id="control_arrow_down'+e+'" class="down"></div></div></div> <div id="controls_name_'+e+'" class="arrows_text">'+B[e].values[B[e].defaultValue]+"</div>"}(n):v)+"</div></div></div>",d.appendChild(a),R2++,B[n].position=n,B[n].bottomArrows&&ub(n),B[n].setLable&&B[n].setLable();if(g&&(Cv("https://fgl27.github.io/smarttv-twitch/release/githubio/images/temp.mp4"),Pv(a0),P.setListener(kv),P.prepareAsync()),Nb=Tm("PlayVod_VodIds",{}),250<(o=function(){var e,t=0;for(e in Nb)Nb.hasOwnProperty(e)&&t++;return t}())){var s=o-250,l,c=0;for(l in Nb){if(!(c<s))break;delete Nb[l],c++}S("PlayVod_VodIds",JSON.stringify(Nb))}window.clearInterval(rf),rf=window.setInterval(Pm,6e4),O=Jw,C(function(){Xy(),W4=document.getElementById("feed_thumb_img")})})}function Lh(e,t,i){A(e,'<div style="vertical-align: middle; display: inline-block;"><i class="'+t+'" style="color: #FFFFFF;"></i></div><div style="vertical-align: middle; display: inline-block;">'+v+i+"</div>")}function x(e){document.getElementById(e).classList.add("hide")}function j(e){document.getElementById(e).classList.remove("hide")}function Bh(e){return-1===document.getElementById(e).className.indexOf("hide")}function l(e,t){document.getElementById(e).classList.add(t)}function s(e,t){document.getElementById(e).classList.remove(t)}function A(e,t){document.getElementById(e).innerHTML=t}function k(e,t){e=document.getElementById(e),t=t,e&&(e.textContent=t)}function Oh(e){var t=document.getElementById(e).getElementsByClassName("emoji");if(t){for(var i=0;i<t.length;i++)t[i].classList.add("emoticon");for(t=document.getElementById(e).getElementsByClassName("emoticon"),i=0;i<t.length;i++)t[i].classList.remove("emoji")}}function Th(){hm(-1),j("dialog_loading")}function Vh(){x("dialog_loading")}function Dh(){window.clearTimeout(zf)}function Rh(){zf=window.setTimeout(Fh,6e3)}function Fh(){document.body.removeEventListener("keydown",Lm,!1),nm(),Dh(),x("main_dialog_exit"),qf=0,Uh()}function Uh(){s("exit_app_cancel","button_dialog_focused"),s("exit_app_minimize","button_dialog_focused"),s("exit_app_close","button_dialog_focused"),l(qf?1===qf?"exit_app_minimize":"exit_app_close":"exit_app_cancel","button_dialog_focused")}function Nh(){fm("dialog_counter_text")}function Gh(e,t,i,a){0<a?k("dialog_counter_text",t*i+(e+1)+"/"+a):Nh()}function Hh(e){A("dialog_warning_text",e),j("dialog_warning")}function qh(){x("dialog_warning")}function zh(){var e,t,i;A("about_runningtime",nn+v+(e=Date.now()-Wf,t=(e=Math.floor(parseInt(e/1e3)/60))%60,i=(e=Math.floor(e/60))%24,(e=Math.floor(e/24))?e+"d ":"")+(i?i+"h ":"")+t+"m")}function Qh(){x("dialog_about")}function Xh(){return Bh("dialog_about")}function Jh(){Yh(),qh(),lm(w.Main_Go),Nh(),document.body.addEventListener("keydown",j4,!1),Dx(N),j("settings_holder"),j("label_side_panel"),x("label_refresh"),d4(Kx=0),a4("content_lang",Ti,O4)}function Yh(){x("dialog_controls")}function Kh(){return Bh("dialog_controls")}function Wh(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,",")}function Zh(e){return""!==e?" ["+e.toUpperCase()+"]":""}function $h(e){return-1===(e+"").indexOf("live")}function em(e,t,i){return null!==document.getElementById(i+e+"_"+t)}function tm(e){C(function(){nm(e)})}var im,am={};function nm(e){qh(),w.Main_Go!==Mf&&(w.Main_BeforeChannelisSet=!1),w.Main_Go!==Tf&&(w.Main_BeforeAgameisSet=!1),Nh(),am[w.Main_Go]?am[w.Main_Go]():am[1](),e&&(w.Main_Go===Mf?document.body.removeEventListener("keydown",cc):w.Main_Go===bf?document.body.removeEventListener("keydown",lA):(w.Main_Go===vf?O=Jw:w.Main_Go===Tf?O=Kw:w.Main_Go===yf?O=Yw:w.Main_Go===wf?O=Qw:w.Main_Go===Bf?O=qw:w.Main_Go===xf?O=Ww:w.Main_Go===jf?O=Hw:w.Main_Go===Df?O=zw:w.Main_Go===kf?O=Xw:w.Main_Go===Vf?O=Zw:w.Main_Go===Cf?O=$w:w.Main_Go===Lf?O=ex:w.Main_Go===Af?O=tx:w.Main_Go===Sf?O=ix:w.Main_Go===Ef?O=ax:w.Main_Go===Pf?O=nx:w.Main_Go===If&&(O=ox),document.body.removeEventListener("keydown",kw)))}function om(){im=w.Search_isSearching?w.Main_Go:(w.Main_BeforeSearch=w.Main_Go,null),lm(w.Main_Go),w.Main_Go=gf,qh(),Nh(),qh(),x("label_refresh"),j("label_side_panel"),sf.placeholder=ee,j("search_scroll"),Gx=Nx=0,zx(),Xx()}function dm(){S("Main_values",JSON.stringify(w))}am[bf]=L7,am[Mf]=function(){w.Main_CenterLablesVectorPos=1,w.Main_Go=Mf,Fl&&!w.Search_isSearching&&w.Main_selectedChannel_id&&sc(),Bl!==w.Main_selectedChannel&&(Ll=!1),rm(),document.body.addEventListener("keydown",cc,!1),Kd=!1,A("top_lable",w.Main_selectedChannelDisplayname),w.Main_BeforeChannel!==Sf&&!w.My_channel||(w.Sidepannel_Pos=w.My_channel?7:6,wj(),vj(w.Main_Go)),(Ll?(hm(Al),j(Ml[10]),ac(),s("channel_content_thumbdivy_0","stream_switch_focused"),s("channel_content_thumbdivy_1","stream_switch_focused"),s("channel_content_thumbdivy_2","stream_switch_focused"),nc(),dm):ql)()},am[If]=function(){O=ox,Xy()},am[Pf]=function(){O=nx,Xy()},am[Ef]=function(){O=ax,Xy()},am[Sf]=function(){O=ix,Xy()},am[Af]=function(){O=tx,Xy()},am[kf]=function(){O=Xw,Xy()},am[Lf]=function(){O=ex,Xy()},am[Cf]=function(){O=$w,Xy()},am[vf]=function(){O=Jw,Xy()},am[yf]=function(){O=Yw,Xy()},am[Df]=function(){O=zw,Xy()},am[Vf]=function(){O=Zw,Xy()},am[jf]=function(){O=Hw,Xy()},am[xf]=function(){O=Ww,Xy()},am[Bf]=function(){O=qw,Xy()},am[Tf]=function(){O=Kw,Xy()},am[wf]=function(){O=Qw,Xy()};var sm={};function lm(e){sm[e]&&sm[e](),Bh("settings_holder")&&$x()}function cm(){Lh("label_refresh","icon-refresh",F+":"+Ut),x("label_side_panel")}function rm(){j("label_side_panel")}function um(e){return e=new Date(e),Qf?e.getDate()+" "+Nt[e.getMonth()]+" "+e.getFullYear():Nt[e.getMonth()]+" "+e.getDate()+" "+e.getFullYear()}function _m(){if(g){var e,t=null,i=null,a=null;try{t=tizen.application.getAppInfo().version,i=tizen.systeminfo.getCapability("http://tizen.org/feature/platform.version"),a=webapis.productinfo.getFirmware(),e=webapis.productinfo.getModel(),console.log("App version: "+fh)}catch(e){}null!==t&&null!==i&&null!==e&&null!==a&&(hh="APP "+Re+t+"."+fh+(hf?"":'<div style="display: inline-block; color: #FF0000; font-size: 110%; font-weight: bold;"> TEST ONLY</div><br><div style="display: inline-block; color: #FF0000; font-size: 110%; font-weight: bold;">Don\'t use this version unless you are testing or debugging... Go back to github and download the correct release zip that is only 12kb</div>')+m+"Tizen "+Re+i+v+v+"|"+v+v+"TV: "+e+v+v+"|"+v+v+"FW: "+a+m,t=t.split("."),t=parseInt(t[0]+t[1]+t[2]),A("dialog_about_text",od+hh+'<div id="about_runningtime"></div>'+dd),hf||console.log("Tizen "+Re+i+" | TV: "+e+" | FW: "+a),t<_h)&&j("label_update")}Wf=Date.now()}function fm(e){for(e=document.getElementById(e);e.firstChild;)e.removeChild(e.firstChild)}function hm(e){pf=e}function mm(e){var t=0;return pf<e?t=-1:e<pf&&(t=1),pf=e,t}function pm(){Gf=!0}function gm(){Nf=!0}function vm(){Nf=!1,window.setTimeout(gm)}function bm(){return!Nf||!Gf}function ym(e,t){return null===document.getElementById(t+e)}function wm(e,t,i){ym(e,t[0])||(document.body.removeEventListener("keydown",i),w.Play_selectedChannel=JSON.parse(document.getElementById(t[8]+e).getAttribute(uh)),w.Play_selectedChannel_id=w.Play_selectedChannel[1],w.IsRerun=w.Play_selectedChannel[2],w.Play_gameSelected_id=w.Play_selectedChannel[3],w.Play_selectedChannel=w.Play_selectedChannel[0],w.Play_isHost?(w.Play_DisplaynameHost=document.getElementById(t[3]+e).textContent,w.Play_selectedChannelDisplayname=w.Play_DisplaynameHost.split(Ee)[1]):w.Play_selectedChannelDisplayname=document.getElementById(t[3]+e).textContent,i=document.getElementById(t[5]+e).textContent,w.Play_gameSelected=-1!==i.indexOf(K)?i.split(K)[1]:"",w.Main_Go===Tf&&(w.Main_OldgameSelected=w.Main_gameSelected),xm())}function xm(){document.body.removeEventListener("keydown",O2),document.body.addEventListener("keydown",O2,!1),x("scene1"),j("scene2"),z1(),r0||u2(),C(Lv)}function jm(e,t,i){ym(e,t[0])||(document.body.removeEventListener("keydown",i),rx=JSON.parse(document.getElementById(t[8]+e).getAttribute(uh)),Dp=parseInt(rx[1]),w.Play_gameSelected=rx[2],w.Main_selectedChannel=rx[3],w.Main_selectedChannelDisplayname=rx[4],w.Main_selectedChannelLogo=rx[5],w.Main_selectedChannel_id=rx[6],w.ChannelVod_vodId=rx[7],hx=parseInt(rx[8]),w.Play_gameSelected_id=rx[14],cx=rx[9],fx=rx[10],sx=rx[2]&&""!==rx[2]?K+rx[2]:"",_x=rx[11],lx=rx[12],ux=rx[13].split("-preview")[0]+".mp4",rx=rx[0],document.body.addEventListener("keydown",Pg,!1),x("scene1"),j("scene2"),$1(),H1(),R1(),N1(),C(Qp))}function Am(e,t,i){ym(e,t[0])||(document.body.removeEventListener("keydown",i),w.ChannelVod_vodId=JSON.parse(document.getElementById(t[8]+e).getAttribute(uh)),mx=A1(w.ChannelVod_vodId[6]),j1(mx),px=w.ChannelVod_vodId[9],w.Play_gameSelected=w.ChannelVod_vodId[10],null===w.Play_gameSelected&&(w.Play_gameSelected=""),w.Main_selectedChannelDisplayname=w.ChannelVod_vodId[1],gx=w.ChannelVod_vodId[2],bx=w.ChannelVod_vodId[3],yx=""!==w.Play_gameSelected&&null!==w.Play_gameSelected?Ht+K+w.Play_gameSelected:"",vx=w.ChannelVod_vodId[4],w.Play_gameSelected_id=null,w.Main_selectedChannel_id=w.ChannelVod_vodId[13],w.Main_selectedChannelLogo=w.ChannelVod_vodId[14],w.Main_selectedChannelPartner=w.ChannelVod_vodId[15],w.Main_selectedChannel=w.ChannelVod_vodId[11],w.ChannelVod_vodId[12],w.ChannelVod_vodId=w.ChannelVod_vodId[8],km())}function km(){document.body.addEventListener("keydown",Ry,!1),x("scene1"),j("scene2"),gy(),$1(),H1(),N1(),C(Kb)}function Cm(e,t){Gf=!1,s(t[0]+e,rh)}function C(e){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(e):document.addEventListener("DOMContentLoaded",e)}sm[bf]=B7,sm[Mf]=Hl,sm[If]=Jy,sm[Pf]=Jy,sm[Ef]=Jy,sm[Sf]=Jy,sm[Af]=Jy,sm[kf]=Jy,sm[Lf]=Jy,sm[Cf]=Jy,sm[vf]=Jy,sm[yf]=Jy,sm[Df]=Jy,sm[Vf]=Jy,sm[jf]=Jy,sm[xf]=Jy,sm[Bf]=Jy,sm[Tf]=Jy,sm[wf]=Jy;var Sm="";function Em(){var e=(new Date).getTime()+ph,e=new Date(e);return(Qf?Gt[e.getDay()]+" "+e.getDate()+" "+Nt[e.getMonth()]:Gt[e.getDay()]+" "+Nt[e.getMonth()]+" "+e.getDate())+" "+(Sm=x1(e.getHours())+":"+x1(e.getMinutes()))}function Pm(){document.hidden||(k("label_clock",Em()),Wf&&zh(),gh="?"+Math.random())}function Im(){return parseInt(1e9*Math.random())}function Mm(){ml()&&window.setTimeout(function(){document.hidden||c7()||sj()||Pj||(o0=b[0].name,Yj())},15e3)}function Lm(e){switch(e.keyCode){case Td:case Rd:case d:Fh();break;case Ed:2<++qf&&(qf=0),Uh(),Dh(),Rh();break;case Cd:--qf<0&&(qf=2),Uh(),Dh(),Rh();break;case Id:g&&qf?1===qf?(Fh(),tizen.application.getCurrentApplication().hide()):2===qf&&tizen.application.getCurrentApplication().exit():Fh()}}function Bm(){Gl=Ny=!0,w.Main_Go!==Mf&&(w.Main_BeforeChannelisSet=!1),w.Main_Go!==Tf&&(w.Main_BeforeAgameisSet=!1),Nh(),(w.Main_Go===Mf?ql:w.Main_Go===bf?O7:(w.Main_Go===vf?O=Jw:w.Main_Go===yf?O=Yw:w.Main_Go===kf?O=Xw:w.Main_Go===Tf?O=Kw:w.Main_Go===wf?O=Qw:w.Main_Go===xf?O=Ww:w.Main_Go===jf?O=Hw:w.Main_Go===Df?O=zw:w.Main_Go===Bf?O=qw:w.Main_Go===Vf?O=Zw:w.Main_Go===Cf?O=$w:w.Main_Go===Lf?O=ex:w.Main_Go===Af?O=tx:w.Main_Go===Sf?O=ix:w.Main_Go===Ef?O=ax:w.Main_Go===Pf?O=nx:w.Main_Go===If&&(O=ox),Yy))()}function S(e,t){Ch||localStorage.setItem(e,t)}function Om(e,t){return(e=parseInt(localStorage.getItem(e)))||0===e?e:t}function Tm(e,t){return JSON.parse(localStorage.getItem(e))||t}function Vm(e,t){var i=t.toString();return(localStorage.getItem(e)||i)===i?t:!t}function Dm(e){console.log(e);for(var t=0;t<e.length;t++)console.log("Character is: "+e.charAt(t)+" it's Unicode is: \\u"+e.charCodeAt(t).toString(16).toUpperCase())}function Rm(t,e,i,a,n,o,d,s,l,c){var r=new XMLHttpRequest,u=(r.open("GET",t,!0),r.timeout=e,0),_=!1,f=!1;if(l)if(!c&&ml()&&b[0].access_token)for(_=!0,yh[1][1]=bh+b[0].access_token;u<yh.length;u++)r.setRequestHeader(yh[u][0],yh[u][1]);else for(f=!0;u<wh.length;u++)r.setRequestHeader(wh[u][0],wh[u][1]);else for(Ff[2][1]=a;u<i;u++)r.setRequestHeader(Ff[u][0],Ff[u][1]);r.ontimeout=function(){},r.onreadystatechange=function(){var e;4===r.readyState&&(200===r.status?n(r.responseText,d,s):!(2<i||l)||401!==r.status&&403!==r.status?o(d,s):(e=function(){o(d,s)},_?ss(0,0,e,e):f?ds(0,e,e):o(d,s)),console.log("BasexmlHttpGet theUrl",t),console.log("BasexmlHttpGet status",r.status),console.log("BasexmlHttpGet responseText",r.responseText))},r.send(null)}var Fm='{"operationName":"UseHosting","variables":{"channelLogin":"%x"},"extensions":{"persistedQuery":{"version": 1,"sha256Hash":"427f55a3daca510f726c02695a898ef3a0de4355b39af328848876052ea6b337"}}}';function Um(e,t,i){var a=new XMLHttpRequest;a.open("POST",eg,!0),a.timeout=25e3,a.setRequestHeader(nh,Uf[0][1]),a.setRequestHeader("Content-Type","application/json"),a.ontimeout=function(){},a.onreadystatechange=function(){4===this.readyState&&(e(this,t),console.log("Main_GetHost status",a.status),console.log("Main_GetHost responseText",a.responseText))},a.send(Fm.replace("%x",i))}var Nm=["384x216","512x288","640x360","896x504","1280x720"],Gm=["179x250","272x380","340x475","476x665","773x1080"],Hm=["640x360","896x504","1280x720","1536x864","1920x1080"],qm="1280x720",zm="640x360",Qm="340x475";function Xm(){zm=Nm[V.thumb_quality.defaultValue],Qm=Gm[V.thumb_quality.defaultValue],qm=Hm[V.thumb_quality.defaultValue]}function Jm(e){return e.replace(/[^\x00-\x7F]/g,function(e){return'<span style="font-size: 0.8em;">'+e+"</span>"})}function Ym(e,t){return!!e&&-1!==e.indexOf(t)}var Km=document.body;function Wm(e,t){Zm(e,t),Km.addEventListener(e,t)}function Zm(e,t){Km.removeEventListener(e,t)}function E(e){return document.getElementById(e)}function $m(e,t,i){return ep(i),t&&0<t?window.setTimeout(e,t):window.setTimeout(e)}function ep(e){window.clearTimeout(e)}function tp(e){var t;mf&&(e=e+" "+(t=new Date).toLocaleTimeString([],{hour12:!1})+"."+t.getMilliseconds(),console.log(e))}function ip(e,t){e.classList.add(t)}function ap(e,t){e.classList.remove(t)}function np(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var op=25e3,dp=5e3,sp=2;function lp(e,t,i){if(cp(i),t&&0<t)return window.setInterval(e,t)}function cp(e){window.clearInterval(e)}function rp(e,t){return e&&!e.indexOf(t)}function up(e){e.stopPropagation(),_p()}function _p(){x("dialog_warning_extra"),window.removeEventListener("keydown",up,!0),window.removeEventListener("keyup",up,!0),window.removeEventListener("keypress",up,!0)}var fp=0,hp=null,mp=0,pp=!1,gp=!1,vp=0,bp=2e3,yp=3,wp="source",xp=wp,jp=0,Ap=[],kp="",Cp=0,Sp=0,Ep=0,Pp=1,Ip=!1,Mp=0,Lp=!1,Bp=!1,Op=2e3,Tp=!1,Vp=[0,5],Dp=0,Rp=!1,Fp=!1,Up=["next_button","back_button"],Np=0,Gp=!1,Hp=!0,qp=!1,zp='{"query":"{clip(slug:\\"%x\\"){game{displayName},videoOffsetSeconds,broadcaster{roles{isPartner},displayName,profileImageURL(width: 300)}}}"}';function Qp(){var e,t,i,a;O1(),u2(),Ip=null!==w.ChannelVod_vodId,m_=Bt+".",Ip?-1!==hx&&(h_=hx,S_()):af(),(a=new XMLHttpRequest).open("POST",eg,!0),a.timeout=bp,a.setRequestHeader(nh,Uf[0][1]),a.setRequestHeader("Content-Type","application/json"),a.ontimeout=function(){},a.onreadystatechange=function(){var e;4===a.readyState&&(200===a.status?(e=a.responseText,pp&&(e=JSON.parse(e)).data&&e.data.clip&&((e=e.data.clip).videoOffsetSeconds&&(hx=e.videoOffsetSeconds,h_=hx,S_()),e.game&&e.game.displayName&&(A("stream_info_game",e.game.displayName),sx=e.game.displayName,B[N2].setLable(sx),w.Play_gameSelected=sx),e.broadcaster)&&(Jv(e.broadcaster.displayName,e.broadcaster.roles&&e.broadcaster.roles.isPartner,!1,fx),e1(E("stream_info_icon"),e.broadcaster.profileImageURL),w.Main_selectedChannelDisplayname=e.broadcaster.displayName,w.Main_selectedChannelPartner=e.broadcaster.roles.isPartner)):af())},a.send(zp.replace("%x",rx)),k("stream_info_name",w.Main_selectedChannelDisplayname),A("stream_info_title",cx),A("stream_live_time",_x+","+v+lx),k("stream_live_viewers",""),k("stream_watching_time",""),k("progress_bar_duration",j1(Dp)),Ey((nv=Vp)[1]),Oh("stream_info_title"),w.Play_isHost=!1,document.getElementById("controls_"+G2).style.display=Ip?"inline-block":"none",document.getElementById("controls_"+$2).style.display="none",document.getElementById("controls_"+z2).style.display="none",document.getElementById("controls_"+X2).style.display="none",document.getElementById("controls_"+tb).style.display="none",c2(),k("progress_bar_current_time",j1(0)),A("pause_button",'<div ><i class="pause_button3d icon-pause"></i> </div>'),j("progress_bar_div"),j("controls_holder"),mp=Mp=Sp=0,window.clearInterval(hp),Bp=!1,Cp=Ep=0,Uj=!(jp=2),t=hg(1,0),i=hg(-1,O.ColoumnsCount-1),Fp=Rp=!1,t?(Rp=!0,k("next_button_text_name",(e=JSON.parse(document.getElementById(O.ids[8]+t).getAttribute(uh)))[4]),A("next_button_text_title",e[9]),k("end_next_button_text_name",e[4]),A("end_next_button_text_title",e[9]),mg(0,1)):mg(0,0),i?(Fp=!0,k("back_button_text_name",(e=JSON.parse(document.getElementById(O.ids[8]+i).getAttribute(uh)))[4]),A("back_button_text_title",e[9]),mg(1,1)):mg(1,0),g2(3),U0=!1,(ml()?(Kd=!0,Wd=w.Main_selectedChannel_id,bs):B1)(),document.addEventListener("visibilitychange",cg,!1),pp=!0,(gp?sg:$p)(),gp=!1,document.body.removeEventListener("keyup",pm),Eb=0,Ip?Kp():(k("end_vod_name_text",""),A("end_vod_title_text",""),B[G2].setLable("")),B[U2].setLable(w.Main_selectedChannelDisplayname),X1(),!w.Play_gameSelected_id&&w.Play_gameSelected&&Xp()}function Xp(){Rm(h+"games?name="+w.Play_gameSelected,G0,2,null,Jp,null,!1,null,!0)}function Jp(e){(e=JSON.parse(e)).data&&e.data.length&&(w.Play_gameSelected_id=e.data[0].id)}function Yp(){var t=new XMLHttpRequest;t.open("POST",eg,!0),t.timeout=bp,t.setRequestHeader(nh,Uf[0][1]),t.setRequestHeader("Content-Type","application/json"),t.ontimeout=function(){},t.onreadystatechange=function(){var e;4===t.readyState&&(200===t.status?(e=t.responseText,pp&&(e=JSON.parse(e)).data&&e.data.clip&&e.data.clip.videoOffsetSeconds&&(hx=e.data.clip.videoOffsetSeconds,Sg())):Cg(Do))},t.send(zp.replace("%x",rx))}function Kp(){Rm(h+"videos?id="+w.ChannelVod_vodId,Ib,2,null,Wp,Zp,!1,null,!0)}function Wp(e){(e=JSON.parse(e)).data&&e.data.length&&(e=e.data[0],bx=CA.parse(e.title,!1,!1),B[G2].setLable(bx))}function Zp(){++Eb<Pb&&Kp()}function $p(){(Tp?ag:(vp=0,bp=2e3,ig))()}var eg="https://gql.twitch.tv/gql",tg='{"operationName":"VideoAccessToken_Clip","variables":{"slug":"%x"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"36b89d2507fce29e5ca551df756d27c1cfe079e2609642b4390aa4c35796eb11"}}}';function ig(){var a=new XMLHttpRequest;a.open("POST",eg,!0),a.timeout=bp,a.setRequestHeader(nh,Uf[0][1]),a.setRequestHeader("Content-Type","application/json"),a.ontimeout=function(){},a.onreadystatechange=function(){if(4===a.readyState)if(200!==a.status)(410===a.status?(Tp=!0,window.setTimeout(function(){Tp=!1},36e5),ag):ng)();else{var e,t=a.responseText;if(Ap=[],(t=JSON.parse(t))&&t.hasOwnProperty("data")&&t.data.hasOwnProperty("clip")){e="?sig="+encodeURIComponent(t.data.clip.playbackAccessToken.signature)+"&token="+encodeURIComponent(t.data.clip.playbackAccessToken.value),(t=t.data.clip.videoQualities).sort(function(e,t){return t.quality-e.quality});for(var i=0;i<t.length;i++)Ap.length?Ap.push({id:t[i].quality+"p"+dg(t[i].frameRate)+" | mp4",url:t[i].sourceURL+e}):Ap.push({id:t[i].quality+"p"+dg(t[i].frameRate)+" | source | mp4",url:t[i].sourceURL+e})}Ep=Pp,sg()}},a.send(tg.replace("%x",rx))}function ag(){(Ap=[]).push({id:"Auto | mp4",url:ux}),Ep=Pp,sg()}function ng(){++vp<yp?(bp+=250,ig()):g?(T1(),j2(3)):(Ap=s1,Ep=Pp,sg())}var og={onbufferingstart:function(){O1(),qp=!1,tv=d0,Lp=!(mp=0),console.log("onbufferingstart:","date: "+new Date)},onbufferingcomplete:function(){T1(),mp=Sp=0,tv=d0,Lp=qp=!0,console.log("onbufferingcomplete:","date: "+new Date)},onbufferingprogress:function(e){e<5&&(mp=0),tv=d0,Lp=!0,e<98?V1()||O1():(T1(),wv=!0,Sp=0,hf||console.log("onbufferingprogress > 98:","date: "+new Date))},oncurrentplaytime:function(e){Cp!==e&&(Cp=e,Ip&&(Ub=Cp+1e3*hx),!U0&&F1()&&R1(),qp&&V1()&&T1(),q1())&&!V1()&&ky(Cp/1e3,Dp,!Rb)},onstreamcompleted:function(){x2(3),console.log("onstreamcompleted:","date: "+new Date)},onerror:function(e){console.log("onerror:","date: "+new Date+" eventType: "+e),"PLAYER_ERROR_CONNECTION_FAILED"!==e&&"PLAYER_ERROR_INVALID_URI"!==e||x2(3)}};function dg(e){return 40<e?60:""}function sg(){window.clearInterval(hp),kp=Ap[jp=0].url;for(var e=0;e<wg();e++){if(Ap[e].id===wp){kp=Ap[jp=e].url;break}-1!==Ap[e].id.indexOf(wp)&&(kp=Ap[jp=e].url)}Ep=Pp,wp=Ap[jp].id,xp=wp,jg("stream_quality"),mf&&console.log("PlayClip_onPlayer:",'\n\n"'+kp+'"\n'),gp=!1,s0=0,lg()}function lg(){if(O1(),console.log("PlayClip_onPlayer:","date: "+new Date),console.log("PlayClip_onPlayer:",'\n\n"'+kp+'"\n'),g){if(Cv(kp),0<Sp&&Sp!==P.getCurrentTime()){try{P.seekTo(Math.max(Sp-3500,0))}catch(e){console.log("PlayClip_onPlayer seekTo "+e)}H1()}P.setBufferingParam("PLAYER_BUFFER_FOR_PLAY","PLAYER_BUFFER_SIZE_IN_SECOND",Op),P.setBufferingParam("PLAYER_BUFFER_FOR_RESUME","PLAYER_BUFFER_SIZE_IN_SECOND",Op),Pv(a0),P.setListener(og),P.prepareAsync(function(){console.log("Play_avplay.prepareAsync Clip OK:","date: "+new Date),P.play(),k("progress_bar_duration",j1(Dp=P.getDuration()/1e3)),w0&&!e2()&&Z1(),mp=0,tv=1+2*Op,Lp=!1,window.clearInterval(hp),hp=window.setInterval(rg,iv)},function(){console.log("Play_avplay.prepareAsync Clip NOK:","date: "+new Date),++s0<5?lg():(console.log("Play_avplay.prepareAsync Clip fail too mutch exit:","date: "+new Date),v1(!1,3))})}else w0&&!e2()&&Z1()}function cg(){document.hidden&&_g()}function rg(){pp&&fp===Cp&&p1()?++mp>tv&&(Lp&&Bp&&jp<wg()-1?jp++:!Lp&&Bp&&Mp++,navigator.onLine?1<Mp?b1(Mp,3,ug):(xg(),Sp=Sp||P.getCurrentTime(),sg(),Bp=!0):v1(!1,3)):(mp=Mp=0,Bp=!1),fp=Cp}function ug(e){if(!e){if(!(jp<wg()-1))return void v1(!1,3);jp++}Mp=0,xg(),Sp=Sp||P.getCurrentTime(),sg(),Bp=!0}function _g(){pp&&(Gp=!1,fg(),N1(),I1())}function fg(){g&&P1(),bg(),Ap=[],window.clearInterval(hp),pp=!1,Z_(),M1(),u7(!0),document.body.removeEventListener("keydown",Pg),document.removeEventListener("visibilitychange",cg),hx=0}function hg(e,t){return em(O.posY,O.posX+e,O.ids[0])?O.posY+"_"+(O.posX+e):em(O.posY+e,t,O.ids[0])?O.posY+e+"_"+t:null}function mg(e,t){document.getElementById(Up[e]).style.opacity=t}function pg(){Np?1===Np?gg():-1===Np&&(ww(-1,O.ColoumnsCount-1),vg()):(Ip&&!w.Play_ChatForceDisable&&(y1()?K_(y[0]):W_()),L()||l2(3))}function gg(){ww(1,0),vg()}function vg(){Y1(),C(function(){fg(),jm(O.posY+"_"+O.posX,O.ids,kw)})}function bg(){Rb=!1,Db=Fb=0,i(),wp=xp,Y1(),ky(Cp/1e3,Dp,!0),A("progress_bar_jump_to",v),document.getElementById("progress_bar_steps").style.display="none"}function yg(){ky(Cp/1e3,Dp,!0),w1(),N1(),by();for(var e=jp=0;e<wg();e++){if(Ap[e].id===wp){jp=e;break}-1!==Ap[e].id.indexOf(wp)&&(jp=e)}xg(),J1(),i(),Ag()}function wg(){return Ap.length}function xg(){1===wg()?(document.getElementById("control_arrow_up_"+q2).style.opacity="0",document.getElementById("control_arrow_down"+q2).style.opacity="0"):jp?jp===wg()-1?(document.getElementById("control_arrow_up_"+q2).style.opacity="1",document.getElementById("control_arrow_down"+q2).style.opacity="0.2"):(document.getElementById("control_arrow_up_"+q2).style.opacity="1",document.getElementById("control_arrow_down"+q2).style.opacity="1"):(document.getElementById("control_arrow_up_"+q2).style.opacity="0.2",document.getElementById("control_arrow_down"+q2).style.opacity="1"),jg("controls_name_"+q2)}function jg(e){var t;Ap[jp].hasOwnProperty("id")&&(t=wp=Ap[jp].id,-1!==wp.indexOf("source")&&(t=t.replace("source",De)),k(e,wp))}function Ag(){e0=window.setTimeout(bg,5e3+Hb)}function kg(){Ip?(-1===hx?Yp:Sg)():Cg($t)}function Cg(e){i(),U0=!0,D1(e)}function Sg(){w.vodOffset=hx,fg(),document.body.addEventListener("keydown",Ry,!1),c2(),C(Kb)}function Eg(){fg(),wm(I,R,Pg)}function Pg(e){if(Ep!==Pp)switch(e.keyCode){case Td:case Rd:case d:(G1()||Kg?(N1(),_g):U1)()}else switch(e.keyCode){case Cd:if(!c7()||u0&&L())if(q1())i(),2===a?rb(3,-1):a?1===a&&-1<Np&&(Np--,Fp||!Np?yy():Np++):(Iy(-1,Dp),Hb=2500),Ag();else{if(!L()){yg(),a=0,yy(),i(),Iy(-1,Dp),Hb=2500,Ag();break}m2(),h2(),--z0<(Rp?-1:0)&&(z0=3),f2()}else I&&!Pj&&(p7(),I--,m7());break;case Ed:!c7()||u0&&L()?(!a0||q1()||L()?q1()?(i(),2===a?rb(3,1):a?1===a&&Np<1&&(Np++,Rp||!Np?yy():Np--):(Iy(1,Dp),Hb=2500),Ag):L()?(m2(),h2(),3<++z0&&(z0=Rp?-1:0),f2):yg:(yg(),a=0,yy(),i(),Iy(1,Dp),Hb=2500,Ag))():I<l7()-1&&!Pj&&(p7(),I++,m7());break;case Sd:L()?(m2(),document.body.removeEventListener("keydown",Pg,!1),document.body.addEventListener("keyup",E2,!1),c0=!1,Og=Pg,Bg=window.setTimeout(I2,250)):(q1()?(i(),a<2?(a--,yy()):cb(3,1),Ag):c7()?c7()?h7:yg:r7)();break;case Pd:(L()?M2:q1()?(i(),a<2?(a++,yy()):cb(3,-1),Ag):c7()?u7:a0&&e2()?db:yg)();break;case Id:L()?u0?p2(3):(r0=3,Og=Pg,L2(),wm(I,R,O2)):q1()?(i(),a?1===a?pg():sb(3):Db&&Cy(),Ag()):c7()?Vv(Eg):yg();break;case Td:case Rd:case d:L()&&m2(),(q1()?bg:c7()&&!L()?u7:G1()||Kg?(N1(),_g):U1)();break;case wd:!L()&&y1()&&(l2(2),w.Play_ChatForceDisable||K_(y[0]));break;case yd:L()||y1()||(l2(2),w.Play_ChatForceDisable)||W_();break;case xd:case Ud:Ip&&!w.Play_ChatForceDisable&&(y1()?K_(y[0]):W_()),L()||l2(3);break;case Od:case Bd:B[Q2].enterKey(3);break;case Ld:ab=Y2,cb(3,1),ab=ib;break;case Md:ab=Y2,cb(3,-1),ab=ib;break;case Ad:q1()||(yg(),a=0,yy()),i(),Iy(-1,Dp),Hb=2500,Ag();break;case kd:q1()||(yg(),a=0,yy()),i(),Iy(1,Dp),Hb=2500,Ag();break;case jd:$1(),_g();break;case Vd:hf||(Dm("Reloading"),window.location.reload(!0))}}var Ig,Mg,Lg,Bg,Og,Tg,Vg,Dg,Rg,Fg,Ug,Ng,Gg,Hg,qg,zg,P,Qg=0,Xg=Qg,Jg=.55,Yg=2,Kg=0,Wg=4,Zg=!1,$g=!0,e0=null,t0="source",i0=t0,a0=!0,n0=!1,o0="",I=0,d0=2e3,s0=0,l0=2.4,c0=!1,r0=0,u0=!1,_0="",f0=0,h0=1,m0=2,p0=0,g0=null,v0=0,b0="",y0=[],M=0,w0=!1,x0=null,j0=null,A0=null,k0=null,C0="",S0=0,E0=5,P0=0,I0=5,M0=0,L0=!1,B0=null,O0=0,T0=null,V0=0,D0=0,R0=!1,F0=!1,U0=!1,N0=!1,G0=1e4,H0=2e3,q0="",z0=0,Q0=3,X0=3,J0=null,Y0="",K0=0,W0=0,Z0="",$0=!0,ev=!1,tv=7,iv=1e3,av=0,nv=[],ov=[],dv="reassignments_supported=true&playlist_include_framerate=true&allow_source=true&fast_bread=true&cdm=wv&p=%d",sv="https://api.ttv.lol/playlist/",lv=[["X-Donate-To","https://ttv.lol/donate"]],cv="https://jupter.ga/hls/v2/channel/",rv=5e3,uv="",_v=null,fv=!1,hv=0,mv=0,pv=[{top:51.8,left:75.1,sizeOffset:[31,16,0,-25.2,0]},{top:33,left:75.1,sizeOffset:[12.5,0,-6.25,-19.5,0]},{top:.2,left:75.1,sizeOffset:[0,0,0,0,0]},{top:.2,left:38.3,sizeOffset:[0,0,0,0,0]},{top:.2,left:.2,sizeOffset:[0,0,0,0,0]},{top:33,left:.2,sizeOffset:[12.5,0,-6.25,-19.5,0]},{top:51.8,left:.2,sizeOffset:[31,16,0,-25.2,0]},{top:51.8,left:38.3,sizeOffset:[31,16,0,-25.2,0]}],gv=[0,0,0,1,2,2,2,1],vv=[[0,1,2,2,2,1,0,0],[7,3,3,3,3,3,7,7],[6,5,4,4,4,5,6,6]],bv=[{containerHeight:17,percentage:"12.5%",dialogTop:-25},{containerHeight:32,percentage:"25%",dialogTop:-40},{containerHeight:48,percentage:"50%",dialogTop:-60},{containerHeight:73,percentage:"75%",dialogTop:-80},{containerHeight:99.6,percentage:"100%",dialogTop:-120}],yv=[],wv=!1,xv=0,jv=0,Av=0;var kv={onstreamcompleted:function(){Sv()}};function Cv(t){Sv();try{P.open(t)}catch(e){console.log("Play_OpenUrl open url",t),console.trace("Play_OpenUrl open",e)}}function Sv(){try{P.stop()}catch(e){console.trace("Play_StopAndClose stop",e)}try{P.close()}catch(e){console.trace("Play_StopAndClose close",e)}}var Ev=!0;function Pv(e){Ev===a0?Iv(e):(Ev=a0,e?void 0!==Ig&&(Qg=Ig,Yg=Lg,(w0=Mg)||$1(),i2(!1)):(Ig=Qg,Mg=w0,Lg=Yg,Qg=0,Z1(),Yg=Wg,n2(w0=!0),i2(!1),v_&&(v_.scrollTop=v_.scrollHeight)),Iv(e),S("Play_isFullScreen",a0))}function Iv(e){var t,i;L0?t=y0[M].resolution.split("x"):Cb&&(t=xb[jb].resolution.split("x")),t&&(i=parseInt(t[0])/parseInt(t[1])<1.7);try{P.setDisplayMethod(i?"PLAYER_DISPLAY_MODE_LETTER_BOX":"PLAYER_DISPLAY_MODE_FULL_SCREEN")}catch(e){console.log("setDisplayMethod Is_4_by_3 "+i+" e "+e)}if(e)try{P.setDisplayRect(0,0,screen.width,screen.height)}catch(e){console.log(e+" Play_SetFullScreen true")}else try{i?P.setDisplayRect(0,0,.75*screen.width,screen.height):P.setDisplayRect(0,.25*screen.height/2,.75*screen.width,.75*screen.height)}catch(e){console.log(e+" Play_SetFullScreen false")}}function Mv(){E("chat_inner_container").style.fontSize=.76*yv[w.Chat_font_size_new]+"%"}function Lv(){O1(),L1(),fm("stream_info_title"),Ip=!(N0=!1),e1(document.getElementById("stream_info_icon"),gd),document.getElementById("controls_"+G2).style.display="none",document.getElementById("controls_"+$2).style.display="",document.getElementById("controls_"+X2).style.display="",document.getElementById("controls_"+tb).style.display="",document.getElementById("controls_"+z2).style.display=$g?"":"none",c2(),mg(0,0),mg(1,0),w.Play_WasPlaying=1,dm(),n0=w.Play_isHost,w.Play_isHost=!1,ev=!1,j("controls_holder"),K0=0,k("stream_watching_time",Z+j1(0)),k("stream_live_time",C0=k1(0)),x("progress_bar_div"),Av=0,r0||(g2(1),b7()),V0=D0=av=0,window.clearInterval(T0),F0=!1,G0=3e3,$0=!(P0=0),L0=!(v0=0),p0=f0,document.addEventListener("visibilitychange",Gv,!1),document.body.removeEventListener("keyup",pm),Xv(),t1(),window.clearInterval(g0),g0=window.setInterval(Wv,6e4),!w.Play_gameSelected_id&&w.Play_gameSelected&&Xp()}var Bv=0,Ov=0,Tv=0;function Vv(e){ym(I,R[0])||(O1(),Bv=0,Tv=e,Ov=JSON.parse(document.getElementById(R[8]+I).getAttribute(uh))[0],_0=document.getElementById(R[3]+I).textContent,Dv())}function Dv(){var e=new XMLHttpRequest;if(e.open("POST","https://gql.twitch.tv/gql",!0),e.timeout=H0,Js&&Js.length)for(var t=Js.length,i=0;i<t;i++)e.setRequestHeader(Js[i][0],Js[i][1]);e.ontimeout=function(){},e.onreadystatechange=function(){if(4===e.readyState)if(200===e.status)try{((v0=JSON.parse(e.responseText).data.streamPlaybackAccessToken).hasOwnProperty("value")&&v0.hasOwnProperty("signature")?(Bv=0,Nv):Rv)()}catch(e){console.log("Play_CheckIfIsLive e "+e),Rv()}else Rv()},e.send(qs.replace("%x",Ov))}function Rv(){(Bv<3?(Bv++,Dv):Fv)()}function Fv(){T1(),D1(_0+" "+J+de),window.setTimeout(function(){R1()},2e3)}function Uv(){(Bv<3?(Bv++,Nv):Fv)()}function Nv(){var e;try{e=a1+Ov+".m3u8?&token="+encodeURIComponent(v0.value)+"&sig="+v0.signature+"&reassignments_supported=true&playlist_include_framerate=true&allow_source=true&p="+Im()}catch(e){return console.log("Play_CheckIfIsLiveLink e "+e),void Uv()}var t=new XMLHttpRequest;t.open("GET",e,!0),t.timeout=H0,t.setRequestHeader(nh,Uf[0][1]),t.ontimeout=function(){},t.onreadystatechange=function(){4===t.readyState&&(200===t.status?Tv:Uv)()},t.send(null)}function Gv(){document.hidden?L()?(N1(),$1(),S1()):(M1(),P1(),u7(!0),s_(),window.clearInterval(g0),window.clearInterval(T0)):(L0=!0,H1(),L0&&(O1(),G0=3e3,ev=!(P0=0),(N0?Wv:Xv)(),M0=0,window.clearInterval(Gg),navigator.onLine?Hv():Gg=window.setInterval(Hv,100),window.clearInterval(g0),g0=window.setInterval(Wv,6e4)))}function Hv(){(navigator.onLine||200<M0)&&(window.clearInterval(Gg),p0=f0,t1()),M0++}function qv(){Rm(h+"users?id="+w.Play_selectedChannel_id,G0,2,null,zv,Qv,!1,null,!0)}function zv(e){(e=JSON.parse(e)).data&&e.data.length&&(e.stream=e.data[0],Jv(n0?w.Play_DisplaynameHost:w.Play_selectedChannelDisplayname,"partner"===e.stream.broadcaster_type,!0,q0),w.Play_selectedChannelLogo=e.stream.profile_image_url,N0=!0,e1(document.getElementById("stream_info_icon"),w.Play_selectedChannelLogo))}function Qv(){P0<I0&&(G0+=500,window.setTimeout(function(){L0&&zv()},750)),P0++}function Xv(){Rm(h+"streams/?user_id="+w.Play_selectedChannel_id,G0,2,null,Yv,Kv,!1,null,!0)}function Jv(e,t,i,a){e='<div class="partnericon_div"> '+e+v+v+"</div>"+(t?'<img class="partnericon_img" alt="" src="'+vd+'">':""),i&&(e+=v+v+'<div class="partnericon_text" style="background: #'+(w.IsRerun?"FFFFFF; color: #000000;":"E21212;")+'">'+v+v+(w.IsRerun?we:J)+v+v+"</div>"),A("stream_info_name",e+='<div class="lang_text" ">'+v+v+a+"</div>")}function Yv(e){(ml()?(Kd=!0,Wd=w.Play_selectedChannel_id,bs):B1)(),(e=JSON.parse(e)).data&&e.data.length&&(e.stream=e.data[0],w.IsRerun=$h(e.stream.type),A("stream_info_title",CA.parse(e.stream.title,!1,!0)),w.Play_gameSelected=e.stream.game_name,q0=" ["+e.stream.language.toUpperCase()+"]",Jv(n0?w.Play_DisplaynameHost:w.Play_selectedChannelDisplayname,!1,!0,q0),k("stream_info_game",""!==w.Play_gameSelected?K+w.Play_gameSelected:""),A("stream_live_viewers",v+W+Wh(e.stream.viewer_count)+v+he),C0=e.stream.started_at,B[U2].setLable(w.Play_selectedChannelDisplayname),B[N2].setLable(w.Play_gameSelected)),P0=0,G0=3e3,qv()}function Kv(){P0<I0&&(G0+=500,window.setTimeout(function(){L0&&Xv()},750)),P0++}function Wv(){Rm(h+"streams/?user_id="+w.Play_selectedChannel_id,3e3,2,null,Zv,$v,!1,null,!0)}function Zv(e){(e=JSON.parse(e)).data&&e.data.length&&(e.stream=e.data[0],A("stream_info_title",CA.parse(e.stream.title,!1,!0)),w.Play_gameSelected=e.stream.game_name,k("stream_info_game",K+w.Play_gameSelected),A("stream_live_viewers",v+W+Wh(e.stream.viewer_count)+v+he),N0||(P0=0,G0=3e3,qv()),B[U2].setLable(w.Play_selectedChannelDisplayname),B[N2].setLable(w.Play_gameSelected))}function $v(){av<I0?(window.setTimeout(function(){L0&&Wv()},2500),av++):av=0}function e1(e,t){e.onerror=function(){this.onerror=null,this.src=hd,N0=!1},e.src=t}function t1(e){S0=0,H0=2e3+(ev?3e3:0),n1(e)}var i1=!0,a1="https://usher.ttvnw.net/api/channel/hls/";function n1(i){try{var e,a,n=new XMLHttpRequest;if(zg&&!i&&p0===f0){mv=hv,a=!0,p0=h0;var t=_v||[],o=dv.replace("%d",1e5*Math.random()),d=uv+w.Play_selectedChannel+(fv?".m3u8"+encodeURIComponent("?"+o):"");n.open("GET",d,!0),n.timeout=rv}else{if(t=Js,p0===f0)n.open("POST","https://gql.twitch.tv/gql",!0);else{if(!v0.hasOwnProperty("value")||!v0.hasOwnProperty("signature"))return i1=!0,console.log("Play_410ERROR "+i1),void o1();e=a1+w.Play_selectedChannel+".m3u8?&token="+encodeURIComponent(v0.value)+"&sig="+v0.signature+"&playlist_include_framerate=true&reassignments_supported=true&allow_source=true&fast_bread=true&cdm=wv&p="+Im(),n.open("GET",e,!0)}n.timeout=H0}if(t&&t.length)for(var s=t.length,l=0;l<s;l++)n.setRequestHeader(t[l][0],t[l][1]);n.ontimeout=function(){},n.onreadystatechange=function(){if(4===n.readyState){if(200===n.status){if(S0=0,L0){var e=n.responseText;if(p0===f0){try{v0=JSON.parse(e).data.streamPlaybackAccessToken}catch(e){v0=null,console.log("Play_loadDataSuccess e "+e)}p0=h0,t1()}else p0===h0&&(u7(!0),2===r0?py(!0):3===r0&&fg(),r0=0,g2(1),b7(),u2(),y0=l1(e),p0=m0,L0&&c1(),Mr=!(Uj=!1))}}else a&&!Ym(e=n.responseText,"not_found: transcode does not exist")&&(hv++,1)?(p0=f0,t1(!0)):!D("force_http_override")&&0===n.status&&rp(a1,"https:")?(a1=a1.replace("https:","http:"),sv=sv.replace("https:","http:"),uv=uv.replace("https:","http:"),n1(i)):403===n.status||404===n.status?d1(410===n.status,403===n.status):(410===n.status&&(i1=!0,console.log("Play_410ERROR "+i1)),o1());t=n,console.log("Play_loadDataLog status",t.status),console.log("Play_loadDataLog responseText",t.responseText)}var t},n.send(p0===f0?qs.replace("%x",w.Play_selectedChannel):null)}catch(e){console.log("Play_loadDataRequest e "+e),o1()}}function o1(){L0&&$0&&(++S0<E0+(ev?7:0)?(H0+=250,ev?window.setTimeout(n1,500):n1()):(g?d1:function(){y0=s1,p0=m0,L0&&c1()})())}function d1(e,t){var i;r0?(r0=0,T1(),document.body.removeEventListener("keydown",O2),document.body.addEventListener("keydown",Og,!1),p0=m0,D1(e?on:w.Play_selectedChannelDisplayname+" "+J+de),window.setTimeout(function(){R1()},2e3),B2(),w.Play_WasPlaying=0,dm()):null!==j0?(i=e,T1(),p0=m0,D1(i?on:w.Play_selectedChannelDisplayname+" "+J+de),window.setTimeout(function(){R1()},2e3),B2(),dm(),Xv()):t?(T1(),D1(Ei),window.setTimeout(function(){L0&&A2()},4e3)):A2(e)}var s1=[{id:"Auto",band:0,codec:"avc",resolution:"auto",url:"https://auto"},{id:"1080p60 | source ",band:"| 10.00Mbps",codec:" | avc",resolution:"1920x1080",url:"https://souce"},{id:"720p60",band:" | 5.00Mbps",codec:" | avc",resolution:"1920x1080",url:"https://720p60"},{id:"720p",band:" | 2.50Mbps",codec:" | avc",resolution:"1280x720",url:"https://720"},{id:"480p",band:" | 2.50Mbps",codec:" | avc",resolution:"640x480",url:"https://480"},{id:"320p",band:" | 2.50Mbps",codec:" | avc",resolution:"480x320",url:"https://320"}];function l1(e){for(var t,i,a,n=[],o="",d=1,s=function(e){for(var t,i=[],a=/#EXT-X-MEDIA:(.)*\n#EXT-X-STREAM-INF:(.)*\n(.)*/g;t=a.exec(e);)i.push(t[0]);return i}(e),l=0;l<s.length;l++)o=s[l].split('NAME="')[1].split('"')[0],a=s[l].split("BANDWIDTH=")[1].split(",")[0],a=0<(a=parseInt(a))?" | "+parseFloat(a/1e6).toFixed(2)+"Mbps":"",i=-1!==(i=s[l].split('CODECS="')[1].split(".")[0]).indexOf("avc")?" | avc":-1!==i.indexOf("vp9")?" | vp9":-1!==i.indexOf("mp4")?" | mp4":"",t=s[l].split("RESOLUTION=")[1].split(",")[0],n.length?n[l-d].id!==o&&n[l-d].id!==o+" | source"?n.push({id:o,band:a,codec:i,resolution:t,url:s[l].split("\n")[2]}):d++:(-1===o.indexOf("ource")?o+=" | source":o=o.replace("("," | ").replace(")",""),n.push({id:o,band:a,codec:i,resolution:t,url:s[l].split("\n")[2]}));return n}function c1(){window.clearInterval(T0),b0=y0[M=0].url;for(var e=0;e<t2();e++){if(y0[e].id===t0){b0=y0[M=e].url;break}-1!==y0[e].id.indexOf(t0)&&(b0=y0[M=e].url)}t0=y0[M].id,i0=t0,_1("stream_quality"),p0=m0,console.log("Play_qualityChanged before Play_onPlayer:",'\n\n"'+b0+'"\n'),s0=0,L0&&f1()}var r1,u1={onbufferingstart:function(){O1(),ev=wv=!1,tv=d0,R0=!(V0=0),console.log("onbufferingstart:","date: "+new Date)},onbufferingcomplete:function(){T1(),ev=!(wv=!0),tv=d0,R0=!(V0=0),console.log("onbufferingcomplete:","date: "+new Date)},onbufferingprogress:function(e){e<5&&(V0=0),tv=d0,R0=!0,e<98?V1()||O1():(T1(),wv=!0,hf||console.log("onbufferingprogress > 98:","date: "+new Date)),ev=!1},oncurrentplaytime:function(e){K0!==e&&(K0=e=e,!U0&&F1()&&R1(),wv&&V1()&&T1(),xv=e+jv-14e3,q1())&&K1()},onstreamcompleted:function(){A2(),console.log("onstreamcompleted:","date: "+new Date)},onerror:function(e){console.log("onerror:","date: "+new Date+" eventType: "+e),"PLAYER_ERROR_CONNECTION_FAILED"!==e&&"PLAYER_ERROR_INVALID_URI"!==e||A2()}};function _1(e){var t;y0[M]&&y0[M].hasOwnProperty("id")&&(t=-1!==(t0=y0[M].id).indexOf("source")?t0.replace("source",De):t0,k(e,t+=y0[M].band+y0[M].codec))}function f1(){if(O1(),console.log("Play_onPlayer:","date: "+new Date),console.log("Play_onPlayer:",'\n\n"'+b0+'"\n'),g){h1(),Cv(b0),P.setBufferingParam("PLAYER_BUFFER_FOR_PLAY","PLAYER_BUFFER_SIZE_IN_SECOND",d0),P.setBufferingParam("PLAYER_BUFFER_FOR_RESUME","PLAYER_BUFFER_SIZE_IN_SECOND",d0),Pv(a0),P.setListener(u1),jv=xv;try{P.setSilentSubtitle(!0)}catch(e){console.log("PlayVod_onPlayer open "+e)}console.log("Before Play_avplay.prepareAsync:","date: "+new Date),P.prepareAsync(function(){console.log("Play_avplay.prepareAsync Live OK:","date: "+new Date);try{Zg&&P.seekTo(P.getStreamingProperty("GET_LIVE_DURATION").split("|")[1]-3e3)}catch(e){}P.play(),w0&&!e2()&&Z1(),V0=0,tv=1+2*d0,R0=!1,window.clearInterval(T0),T0=window.setInterval(m1,iv)},function(){console.log("Play_avplay.prepareAsync Live NOK:","date: "+new Date),console.log("Play_avplay.prepareAsync Live NOK:","counter: "+s0),++s0<2?f1():M<t2()-1?(console.log("Play_avplay.prepareAsync Live NOK DropOneQuality:","date: "+new Date),g1()):(console.log("Play_avplay.prepareAsync Live fail too much exit:","date: "+new Date),v1(!1,1))})}else h1()}function h1(){(w.Play_ChatForceDisable?nf:zr)()}function m1(){O0===K0&&p1()?tv<++V0&&(R0&&F0&&M<t2()-1&&-1===i0.indexOf("Auto")?M++:!R0&&F0&&D0++,navigator.onLine?1<D0?b1(D0,1,g1):(w2(t2,M,_1),c1(),F0=!0):v1(!1,1)):(V0=D0=0,F0=!1),O0=K0}function p1(){if(g){var t;try{t=P.getState()}catch(e){console.error("Play_isIdleOrPlaying",e);try{P.close()}catch(e){console.log("Play_isIdleOrPlaying close",e)}Vb=F0=!(t="ERROR"),Bp=!1,Bb=V0=tv,mp=tv}return!L()&&("IDLE"===t||"PLAYING"===t||"ERROR"===t)}}function g1(e){if(!e){if(!(M<t2()-1))return void A2();M++}D0=0,w2(t2,M,_1),c1(),F0=!0}function v1(e,t){w.Play_isHost=e,g2(t),j2(t)}function b1(e,t,i){var a=new XMLHttpRequest;a.timeout=1e3,a.open("GET","https://static-cdn.jtvnw.net/jtv-static/404_preview-10x10.png?"+Math.random(),!0),a.onreadystatechange=function(){4===a.readyState&&(200===a.status?y1()&&i(2<e):12<e&&v1(!1,t))},a.send(null)}function y1(){return g&&"PLAYING"!==P.getState()}function w1(){var e=Em();k("stream_clock",e),k("label_clock",e)}function x1(e){return e<10?"0"+e:e}function j1(e){var t,i,a;return e+=Av/1e3,e=Math.round(Math.max(0,e)),t=x1(parseInt(e)%60),i=x1((e=Math.floor(e/60))%60),a=x1(e=Math.floor(e/60)),e?a+":"+i+":"+t:i+":"+t}function A1(e){var t=e.indexOf("h"),i=e.indexOf("m"),a=e.indexOf("s"),n=e.substring(0,t),t=e.substring(t+1,i),e=e.substring(i+1,a);return(n?3600*parseInt(n):0)+(t?60*parseInt(t):0)+(e?parseInt(e):0)}function k1(e){return e+=Av=e<0&&!Av?-1*e:Av,j1(parseInt(e/1e3))}function C1(e){return k1((new Date).getTime()-new Date(e).getTime())}function S1(){L0&&(E1(!0),y0=[],w.Play_WasPlaying=0,I1())}function E1(e){g&&e&&P1(),e&&(L0=!1),L()&&!e||u7(!0),e=e,document.body.removeEventListener("keydown",O2),document.removeEventListener("visibilitychange",Gv),e&&s_(),xv=jv=0,window.clearInterval(g0),window.clearInterval(T0),U0=!1,M1(),w.Play_selectedChannel_id=""}function P1(){g&&Sv()}function I1(){(ml()?(Yd=!1,C2):B1)(),Uj=!1,ky(0,0),j("scene1"),x("scene2"),Pm(),tm(),document.body.addEventListener("keyup",pm,!1)}function M1(){z1(),H1(),R1(),r0||u2(),y0[0]&&M===t2()-1&&y0[0].hasOwnProperty("id")&&(t0=y0[0].id,i0=t0),xb[0]&&jb===Ay()-1&&xb[0].hasOwnProperty("id")&&(pb=xb[0].id,gb=pb),Ap[0]&&jp===wg()-1&&Ap[0].hasOwnProperty("id")&&(wp=Ap[0].id,xp=wp)}function L1(){var e,t;e=_4(),B[t=tb].defaultValue=e,B[t].bottomArrows&&B[t].bottomArrows(),B[t].setLable()}function B1(){B[H2].setLable(It),Yd=!1}function O1(){j("dialog_loading_play")}function T1(){x("dialog_loading_play")}function V1(){return Bh("dialog_loading_play")}function D1(e){A("dialog_warning_play_text",e),j("dialog_warning_play")}function R1(){x("dialog_warning_play")}function F1(){return Bh("dialog_warning_play")}function U1(){G1()?N1():(j("play_dialog_exit"),x0=window.setTimeout(U1,3e3))}function N1(){window.clearTimeout(x0),x("play_dialog_exit")}function G1(){return Bh("play_dialog_exit")}function H1(){window.clearTimeout(A0),window.clearTimeout(k0),Mr=!0}function q1(){return"1"===document.getElementById("scene_channel_panel").style.opacity}function z1(){i(),Y1(),t0=i0,L1()}function Q1(){by();for(var e=M=0;e<t2();e++){if(y0[e].id===t0){M=e;break}-1!==y0[e].id.indexOf(t0)&&(M=e)}w2(t2,M,_1),_1("stream_quality"),K1(),w1(),X1(),N1(),J1(),i(),W1()}function X1(){var e;A("stream_status",L0?(e=m+Uo,zg?mv<hv?e+Go.replace("%x",hv):e+No:e+Ho):"")}function J1(){document.getElementById("scene_channel_panel").style.opacity="1",j("playsideinfo")}function Y1(){document.getElementById("scene_channel_panel").style.opacity="0",x("playsideinfo")}function K1(){A("stream_watching_time",","+v+v+Z+k1(xv)),A("stream_live_time",$+(-1!=="00:00".indexOf(C0)?"00:00":C1(C0)))}function i(){window.clearTimeout(e0),Hb=0}function W1(){e0=window.setTimeout(z1,5e3)}function Z1(){o2(),a2(!1),j("chat_container0"),B[Q2].setLable()}function $1(){x("chat_container0"),B[Q2].setLable()}function e2(){return Bh("chat_container0")}function t2(){return y0.length}function i2(e){Wg<Yg&&(Yg=Wg),Hg.style.height=bv[Yg].containerHeight+"%",document.getElementById("play_chat_dialog").style.marginTop=bv[Yg].dialogTop+"%",o2(),e&&d2(Ci+bv[Yg].percentage),window.setTimeout(function(){v_&&(v_.scrollTop=v_.scrollHeight)},500),S("ChatSizeValue",Yg)}function a2(e){Hg.style.backgroundColor="rgba(0, 0, 0, "+Jg+")",e&&d2(Si+(100*Jg).toFixed(0)+"%")}function n2(e){Qg=e?gv[Xg=Qg]:vv[Qg][Xg]}function o2(){var e=Yg===Wg;Qg<0?Qg=e?2:7:(e?2:7)<Qg&&(Qg=0),Hg.style.top=(e?.2:pv[Qg].top+pv[Qg].sizeOffset[Yg])+"%",Hg.style.left=pv[Qg+(e?2:0)].left+"%",S("ChatPositionsValue",Qg)}function d2(e){window.clearTimeout(B0),k("play_chat_dialog_text",e),j("play_chat_dialog"),B0=window.setTimeout(s2,1e3)}function s2(){x("play_chat_dialog")}function l2(e){if(!V1())if(y1()){if(g)try{webapis.appcommon.setScreenSaver(webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_OFF),P.play()}catch(e){return console.log("Play_avplay.pause: "+e)}H1();for(var t,i,a=0;a<2;a++){for(i=Sr[a].length,t=0;t<i;t++)n_(Sr[a][t]);Sr[a]=[]}A("pause_button",'<div ><i class="pause_button3d icon-pause"></i></div>'),1===e?(q1()&&z1(),window.clearInterval(T0),T0=window.setInterval(m1,iv)):2===e?(q1()&&gy(),window.clearInterval(Lb),Lb=window.setInterval(fy,iv)):3===e&&(q1()&&bg(),window.clearInterval(hp),hp=window.setInterval(rg,iv))}else{if(g)try{webapis.appcommon.setScreenSaver(webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_ON),P.pause()}catch(e){return console.log("Play_avplay.pause: "+e)}Mr=!1,window.clearInterval(T0),window.clearInterval(Lb),window.clearInterval(hp),A("pause_button",'<div ><i class="pause_button3d icon-play-1"></i></div>')}}function c2(){ob(),ab=ib,nb()}function r2(){j("dialog_end_stream"),Lh("icon_feed_refresh","icon-refresh",F+":"+sn),Uj=u0=!0,f7(),r7(!0),w.Play_WasPlaying=0,dm()}function u2(){x("dialog_end_stream"),m2(),_2()}function L(){return Bh("dialog_end_stream")}function _2(){h2(),z0=0,f2()}function f2(){l("dialog_end_"+z0,"dialog_end_icons_focus")}function h2(){s("dialog_end_"+z0,"dialog_end_icons_focus")}function m2(){window.clearTimeout(J0),A("dialog_end_stream_text",Y0+de+m+Jt)}function p2(e){var t=!0;-1===z0&&Rp?gg():z0?1===z0?w.Play_isHost?(w.Play_DisplaynameHost=w.Play_selectedChannelDisplayname+Ee,w.Play_selectedChannel=Z0.login,w.Play_selectedChannelDisplayname=Z0.displayName,w.Play_DisplaynameHost=w.Play_DisplaynameHost+w.Play_selectedChannelDisplayname,E1(!1),document.body.addEventListener("keydown",O2,!1),w.Play_selectedChannel_id=Z0.id,C(Lv)):(kg(),Ip||(t=!1)):2===z0?b2(e):3===z0&&(y2(e),""===w.Play_gameSelected)&&(t=!1):2===e?xb.length?(Ob=!(Qb=!0),Kb(),H1(),h_=Ub=0,S_()):(t=!1,D1(Gi),window.setTimeout(function(){R1()},2e3)):3===e&&(Ap.length?(gp=!(Lp=!(gp=!0)),Qp(),H1()):(t=!1,D1(Gi),window.setTimeout(function(){R1()},2e3))),t&&(u2(),u7(!0),Uj=!1),r0=0}function g2(e){e?1===e?(h2(),z0=2,f2(),document.getElementById("dialog_end_-1").style.display="none",document.getElementById("dialog_end_0").style.display="none",document.getElementById("dialog_end_1").style.display="none",v2(),A("end_channel_name_text",w.Play_selectedChannelDisplayname)):2===e?(_2(),document.getElementById("dialog_end_-1").style.display="none",document.getElementById("dialog_end_0").style.display="inline-block",document.getElementById("dialog_end_1").style.display="none",A("end_replay_name_text",w.Main_selectedChannelDisplayname),A("end_replay_title_text",bx),k("end_vod_name_text",""),k("end_vod_title_text",""),A("end_channel_name_text",w.Main_selectedChannelDisplayname)):3===e&&(_2(),document.getElementById("dialog_end_-1").style.display=Rp?"inline-block":"none",document.getElementById("dialog_end_0").style.display="inline-block",document.getElementById("dialog_end_1").style.display="inline-block",k("dialog_end_vod_text",Ip?Wt:Zt),A("end_replay_name_text",w.Main_selectedChannelDisplayname),A("end_replay_title_text",cx),A("end_vod_name_text",w.Main_selectedChannelDisplayname),A("end_channel_name_text",w.Main_selectedChannelDisplayname)):(h2(),z0=1,f2(),document.getElementById("dialog_end_-1").style.display="none",document.getElementById("dialog_end_0").style.display="none",document.getElementById("dialog_end_1").style.display="inline-block",k("dialog_end_vod_text",ii),v2(),A("end_channel_name_text",w.Play_selectedChannelDisplayname),A("end_vod_title_text",w.Play_selectedChannelDisplayname+ti+Ee+Z0.displayName)),k("end_game_name_text",w.Play_gameSelected)}function v2(){k("end_replay_name_text",""),k("end_replay_title_text",""),k("end_vod_name_text",""),k("end_vod_title_text","")}function b2(e){w.Main_BeforeChannelisSet||w.Main_Go===Lf||w.Main_Go===Bf||(w.Main_BeforeChannel=w.Main_BeforeAgameisSet&&w.Main_Go!==Tf?w.Main_BeforeAgame:w.Main_Go,w.Main_BeforeChannelisSet=!0),lm(w.Main_Go),w.Main_Go=Mf,1===e?(w.Main_selectedChannel_id=w.Play_selectedChannel_id,w.Main_selectedChannel=w.Play_selectedChannel,w.Main_selectedChannelDisplayname=w.Play_selectedChannelDisplayname,Il=Yd,$1(),S1()):2===e?my():3===e&&_g()}function y2(e){""===w.Play_gameSelected?(i(),U0=!0,D1(Ri),window.setTimeout(function(){U0=!1,R1()},2e3)):(w.Main_BeforeAgameisSet||w.Main_Go===Vf||w.Main_Go===Df||(w.Main_BeforeAgame=w.Main_BeforeChannelisSet&&w.Main_Go!==Mf&&w.Main_Go!==Lf&&w.Main_Go!==Bf?w.Main_BeforeChannel:w.Main_Go,w.Main_BeforeAgameisSet=!0),lm(w.Main_Go),w.Main_Go=Tf,w.Main_gameSelected=w.Play_gameSelected,w.Main_gameSelected_id=w.Play_gameSelected_id,$1(),1===e?S1():2===e?my():3===e&&_g())}function w2(e,t,i){var a=document.getElementById("control_arrow_up_"+q2),n=document.getElementById("control_arrow_down"+q2);1===e()?(a.classList.add("hide"),n.classList.add("hide")):t?t===e()-1?(a.classList.remove("hide"),n.classList.remove("hide"),a.style.opacity="1",n.style.opacity="0.2"):(a.classList.remove("hide"),n.classList.remove("hide"),a.style.opacity="1",n.style.opacity="1"):(a.classList.remove("hide"),n.classList.remove("hide"),a.style.opacity="0.2",n.style.opacity="1"),i("controls_name_"+q2)}function x2(e){1===e?(window.clearInterval(T0),A2()):j2(e)}function j2(e){var t;window.clearInterval(T0),window.clearInterval(hp),window.clearInterval(Lb),t=e,vb=p0=-1,Ep=-1,$1(),z1(),bg(),gy(),U0||R1(),T1(),N1(),3===t&&Rp&&(Gp||Hp)&&(h2(),z0=-1),f2(),Q0=X0||-2,function e(t){1===t?Y0=w.Play_selectedChannelDisplayname+" "+J:2===t?Y0=w.Main_selectedChannelDisplayname+zt:3===t&&(Y0=w.Main_selectedChannelDisplayname+Bt),-2===Q0?(vb=p0=m0,Ep=Pp,m2()):(A("dialog_end_stream_text",Y0+de+m+(3===t&&Rp&&(Gp||Hp)?Ji:Xt)+Q0+"..."),L()?(vb=p0=m0,Ep=Pp,-1==--Q0?(A("dialog_end_stream_text",Y0+de+m+Xt+"0..."),N1(),$1(),1===t?S1():2===t?my():3===t&&(Rp&&(Gp||Hp)&&!document.hidden?gg:_g)()):J0=window.setTimeout(function(){e(t)},1e3)):J0=window.setTimeout(function(){e(t)},50))}(e),r2()}function A2(e){g&&webapis.appcommon.setScreenSaver(webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_OFF),e&&(U0=!0,D1(on)),O1(),p0=-1,S0=0,H0=2e3,s_(),window.clearInterval(g0),window.clearInterval(T0),""!==w.Play_selectedChannel_id&&Um(k2,r1=(new Date).getTime(),w.Main_selectedChannel)}function k2(e,t){L0&&r1===t&&(200===e.status&&(t=JSON.parse(e.responseText).data).user&&t.user.hosting?(e=t.user.hosting,Z0=e,U0=!0,D1(w.Play_selectedChannelDisplayname+ti+Ee+Z0.displayName),window.setTimeout(function(){U0=!1},4e3),g2(0),w.Play_isHost=!0):(g2(1),w.Play_isHost=!1),j2(1))}function C2(){B[H2].setLable(Yd?At:kt,Yd)}function S2(e){L()&&m2(),(!L()||G1()||Kg?c7()&&!L()?u7:q1()&&!Oy()?e?gy:z1:Oy()&&G1()?(By(),py(!1),I1):G1()||Kg?(N1(),$1(),e?my:S1):(F1()&&R1(),U1):U1)()}function E2(e){e.keyCode===Sd&&(window.clearTimeout(Bg),document.body.removeEventListener("keyup",E2),document.body.addEventListener("keydown",Og,!1),c0||M2())}function P2(e,t){t=JSON.parse(t.getAttribute(uh))[0],w.Play_selectedChannel!==t?(L2(),E1(!1),w.Play_isHost=!1,wm(I,R,O2)):e&&_7()}function I2(){c0=!0,h7(u0)}function M2(){m2(),!Pj&&ml()&&(u0?(u0=!1,h2(),m7):(u0=!0,p7(),f2))()}function L2(){j0=w.Play_selectedChannel_id,Tg=w.IsRerun,Vg=w.Play_selectedChannel,Dg=n0,Rg=w.Play_isHost,Fg=w.Play_DisplaynameHost,Ug=w.Play_selectedChannelDisplayname,Ng=w.Play_gameSelected}function B2(){w.Play_selectedChannel_id=j0,j0=null,w.IsRerun=Tg,w.Play_selectedChannel=Vg,n0=Dg,w.Play_isHost=Rg,w.Play_DisplaynameHost=Fg,w.Play_selectedChannelDisplayname=Ug,w.Play_gameSelected=Ng}function O2(e){if(p0!==m0)switch(e.keyCode){case Td:case Rd:case d:(G1()||Kg?(N1(),$1(),S1):U1)()}else switch(e.keyCode){case Cd:!c7()||u0&&L()?(q1()?(i(),2===a&&rb(1,-1),W1):L()?(m2(),h2(),--z0<(w.Play_isHost?1:2)&&(z0=3),f2):Q1)():I&&!Pj&&(p7(),I--,m7());break;case Ed:!c7()||u0&&L()?(q1()?(i(),2===a&&rb(1,1),W1):L()?(m2(),h2(),3<++z0&&(z0=w.Play_isHost?1:2),f2):Q1)():I<l7()-1&&!Pj&&(p7(),I++,m7());break;case Sd:q1()?(i(),a<2?--a<1?a=1:yy():cb(1,1),W1()):!c7()&&ml()&&b[0].access_token?r7():L()?(m2(),document.body.removeEventListener("keydown",O2,!1),document.body.addEventListener("keyup",E2,!1),c0=!1,Og=O2,Bg=window.setTimeout(I2,250)):c7()&&h7();break;case Pd:(q1()?(i(),a<2?(a++,yy()):cb(1,-1),W1):L()?M2:c7()?u7:a0&&e2()?db:Q1)();break;case Id:var t;L()?u0?p2(1):null!==(t=document.getElementById(R[8]+I))&&(Og=O2,P2(!(r0=1),t)):q1()?(i(),1===a?L()||l2(1):sb(1),W1()):c7()?null!==(t=document.getElementById(R[8]+I))&&(Og=O2,P2(!(r0=1),t)):Q1();break;case Td:case Rd:case d:S2(!1);break;case wd:!L()&&y1()&&l2(1);break;case yd:L()||y1()||l2(1);break;case Ud:case xd:L()||l2(1);break;case Od:case Bd:B[Q2].enterKey(1);break;case Ld:ab=Y2,cb(1,1),ab=ib;break;case Md:ab=Y2,cb(1,-1),ab=ib;break;case jd:$1(),S1();break;case Vd:hf||(Dm("Reloading"),window.location.reload(!0))}}var T2,V2,D2,B={},R2=-1,F2=0,U2=1,N2=2,G2=3,H2=4,q2=5,z2=6,Q2=7,X2=8,J2=9,Y2=10,K2=11,W2=12,Z2=13,$2=14,eb=15,tb=16,ib=Q2,ab=ib;function nb(){l("controls_button_"+ab,"progress_bar_div_focus"),document.getElementById("controls_button_text_"+ab).style.opacity="1",!B[ab].isChat||e2()&&a0?ab===Q2||B[ab].isChat||(document.getElementById("controls_button_text_"+Q2).style.opacity="0"):document.getElementById("controls_button_text_"+Q2).style.opacity="1"}function ob(){s("controls_button_"+ab,"progress_bar_div_focus"),document.getElementById("controls_button_text_"+ab).style.opacity="0",document.getElementById("controls_button_text_"+Q2).style.opacity="0"}function db(){Wg<++Yg?(Yg=0,n2(!1)):Yg===Wg&&n2(!0),i2(!0),B[K2].defaultValue=Yg,B[K2].bottomArrows(),B[K2].setLable()}function sb(e){C(function(){B[ab].enterKey?B[ab].enterKey(e):lb(e)}),dm()}function lb(e){i(),1===e?W1():2===e?wy():3===e&&Ag()}function cb(e,t){B[ab].updown?B[ab].updown(t,e):1===t&&(a--,yy())}function rb(e,t){ob(),R2<(ab+=t)?ab=0:ab<0&&(ab=R2),"none"===document.getElementById("controls_"+ab).style.display?rb(e,t):nb()}function ub(e){var t=document.getElementById("control_arrow_up_"+e),i=document.getElementById("control_arrow_down"+e);1===B[e].values.length?(t.classList.add("hide"),i.classList.add("hide")):B[e].defaultValue?(B[e].defaultValue===B[e].values.length-1?(t.classList.remove("hide"),i.classList.remove("hide"),t.style.opacity="0.2"):(t.classList.remove("hide"),i.classList.remove("hide"),t.style.opacity="1"),i.style.opacity="1"):(t.classList.remove("hide"),i.classList.remove("hide"),t.style.opacity="1",i.style.opacity="0.2"),k("controls_name_"+e,B[e].values[B[e].defaultValue])}function _b(e,t){V2.innerHTML=e,c7()?T2.style.marginTop="90vh":T2.style.marginTop="50vh",T2.classList.remove("hide"),t?D2=$m(function(){T2.classList.add("hide"),ep(D2)},t,D2):ep(D2)}var fb,hb,mb,pb="Auto",gb=pb,vb=0,bb=null,yb=0,wb="",xb=[],jb=0,Ab=0,kb=5,Cb=!1,Sb=2e3,Eb=0,Pb=5,Ib=1e4,Mb=0,Lb=null,Bb=0,Ob=!1,Tb=0,Vb=!1,Db=0,Rb=!1,Fb=0,Ub=0,Nb={},Gb=0,a=0,Hb=0,qb=0,zb=0,Qb=!1,Xb=[0,10,30,60,120,300,600,900,1200,1800],Jb=!1,Yb=!1;function Kb(){O1(),u2(),Ub=0,k("stream_live_time",""),k("stream_watching_time",""),k("progress_bar_current_time",j1(0)),m_=ce+".",A("pause_button",'<div ><i class="pause_button3d icon-pause"></i> </div>'),x("progress_pause_holder"),j("progress_bar_div"),document.getElementById("controls_"+G2).style.display="none",document.getElementById("controls_"+$2).style.display="none",document.getElementById("controls_"+z2).style.display="none",document.getElementById("controls_"+X2).style.display="none",document.getElementById("controls_"+tb).style.display="none",c2(),qb=0,Ey((nv=Xb)[1]),vb=f0,Uj=!(Ip=!0),hx=0,w.Play_isHost=!1,mg(0,0),mg(1,0),Cb=!0,w.vodOffset?(Eb=0,Pb=5,Ib=1e4):(e1(document.getElementById("stream_info_icon"),w.Main_selectedChannelLogo),Jv(w.Main_selectedChannelDisplayname,w.Main_selectedChannelPartner,!1," ["+px.toUpperCase()+"]"),Nb["#"+w.ChannelVod_vodId]||S_(),(ml()?(Wd=w.Main_selectedChannel_id,Kd=!0,bs):B1)(),A("stream_info_title",bx),k("stream_info_game",yx),A("stream_live_time",gx+","+v+vx),k("stream_live_viewers",""),k("stream_watching_time",""),Oh("stream_info_title")),Rm(h+"users?id="+w.Main_selectedChannel_id,Ib,2,null,Zb,jx,!1,null,!0);var i=new XMLHttpRequest;i.open("POST",eg,!0),i.timeout=bp,i.setRequestHeader(nh,Uf[0][1]),i.setRequestHeader("Content-Type","application/json"),i.ontimeout=function(){},i.onreadystatechange=function(){{var e;4===i.readyState&&200===i.status&&(t=i.responseText,Cb)&&(t=JSON.parse(t)).data&&t.data.video&&t.data.video.game&&(e=t.data.video.game.id,t=t.data.video.game.displayName,w.Play_gameSelected_id=e,yx=t,w.Play_gameSelected=t)&&(B[N2].setLable(t),A("stream_info_game",K+t))}var t},i.send($b.replace("%x",w.ChannelVod_vodId)),X1(),(Nb["#"+w.ChannelVod_vodId]&&!w.vodOffset?(T1(),Ly):Wb)(),!w.Play_gameSelected_id&&w.Play_gameSelected&&Xp()}function Wb(){window.setTimeout(function(){j("controls_holder"),j("progress_pause_holder")},1e3),k("progress_bar_duration",j1(mx)),w.Play_WasPlaying=2,dm(),window.clearInterval(mb),mb=window.setInterval(oy,6e4),Bb=Tb=0,window.clearInterval(Lb),U0=Vb=!-13,Rb=!1,yb=Fb=0,document.addEventListener("visibilitychange",ay,!1),Jb=!1,(Qb?(vb=m0,ry):dy)(),g2(2),document.body.removeEventListener("keyup",pm),B[U2].setLable(w.Main_selectedChannelDisplayname)}function Zb(e){(e=JSON.parse(e)).data&&e.data.length&&(e=e.data[0],w.Main_selectedChannelPartner="partner"===e.broadcaster_type,e1(E("stream_info_icon"),e.profile_image_url)),ey()}var $b='{"query":"{video(id:\\"%x\\"){game{displayName, id},seekPreviewsURL}}"}';function ey(){Rm(h+"videos?id="+w.ChannelVod_vodId,Ib,2,null,iy,ty,!1,null,!0)}function ty(){++Eb<Pb&&(Ib+=2e3,ey())}function iy(e){(e=JSON.parse(e)).data&&e.data.length&&(e=e.data[0],bx=CA.parse(e.title,!1,!0),Jv(w.Main_selectedChannelDisplayname,w.Main_selectedChannelPartner,!1,"["+e.language.toUpperCase()+"]"),A("stream_info_title",bx),A("stream_live_time",_e+um(e.created_at)+","+v+Wh(e.view_count)+fe),k("stream_live_viewers",""),k("stream_watching_time",""),k("progress_bar_duration",j1(mx=A1(e.duration))),Ub=1e3*w.vodOffset,ky(w.vodOffset,mx,!0),w.Main_selectedChannelDisplayname=e.user_name,w.Main_selectedChannel_id=e.user_id,w.Main_selectedChannel=e.user_login),(ml()?(Kd=!0,Wd=w.Main_selectedChannel_id,bs):B1)(),g2(2)}function ay(){document.hidden?L()?(N1(),$1(),my()):(oy(),My(),W_(),g&&(P.pause(),Sv(),w.vodOffset=parseInt(Ub/1e3)),M1(),u7(!0),window.clearInterval(Lb),window.clearInterval(mb)):(Cb=!0,H1(),Cb&&(O1(),M0=0,window.clearInterval(Gg),navigator.onLine?ny():Gg=window.setInterval(ny,100),g2(2),window.clearInterval(mb),mb=window.setInterval(oy,6e4)))}function ny(){(navigator.onLine||200<M0)&&(window.clearInterval(Gg),vb=f0,dy()),M0++}function oy(){w.vodOffset||(w.vodOffset=parseInt(Ub/1e3),dm(),w.vodOffset=0,console.log("Main_values.vodOffset ",w.vodOffset))}function dy(){Ab=0,ly()}var sy="https://usher.ttvnw.net/vod/";function ly(){var e,t=vb===f0,i=new XMLHttpRequest;try{if(t)i.open("POST","https://gql.twitch.tv/gql",!0);else{if(!yb.hasOwnProperty("value")||!yb.hasOwnProperty("signature"))return i1=!0,console.log("Play_410ERROR "+i1),void cy();e=sy+w.ChannelVod_vodId+".m3u8?&nauth="+encodeURIComponent(yb.value)+"&nauthsig="+yb.signature+"&playlist_include_framerate=true&reassignments_supported=true&allow_source=true"+(vh?"&preferred_codecs=vp09":"")+"&p="+Im(),i.open("GET",e,!0)}if(i.timeout=H0,Js&&Js.length)for(var a=Js.length,n=0;n<a;n++)i.setRequestHeader(Js[n][0],Js[n][1]);i.ontimeout=function(){},i.onreadystatechange=function(){if(4===i.readyState)if(200===i.status){var e=i.responseText;if(vb===f0){try{yb=JSON.parse(e).data.videoPlaybackAccessToken}catch(e){yb=null,console.log("PlayVod_loadDataSuccess e "+e)}vb=h0,dy()}else vb===h0&&(xb=l1(e),vb=m0,Cb)&&ry()}else{if(e=i,console.log("PlayVod_loadDataLog status",e.status),console.log("PlayVod_loadDataLog responseText",e.responseText),410===i.status)i1=!0,console.log("Play_410ERROR "+i1);else if(!D("force_http_override")&&0===i.status&&rp(sy,"https:"))return sy=sy.replace("https:","http:"),void ly();cy()}},i.send(t?zs.replace("%x",w.ChannelVod_vodId):null)}catch(e){cy(),console.log("PlayVod_loadDataRequest e "+e)}}function cy(){if(Cb){var e;try{if((e=yb.value?JSON.parse(yb.value):e)&&0!==JSON.parse(yb.value).chansub.restricted_bitrates.length)return void(ml()&&b[0].access_token?(Wd=w.Main_selectedChannel_id,js()):(T1(),D1(se+Ct),window.setTimeout(function(){Cb&&my()},4e3)))}catch(e){console.log("PlayVod_loadDataError e "+e)}++Ab<kb?ly():g?(T1(),j2(2)):(xb=s1,vb=m0,Cb&&ry())}}function ry(){window.clearInterval(Lb),wb=xb[jb=0].url;for(var e=0;e<Ay();e++){if(xb[e].id===pb){wb=xb[jb=e].url;break}-1!==xb[e].id.indexOf(pb)&&(wb=xb[jb=e].url)}pb=xb[jb].id,gb=pb,jy("stream_quality"),s0=0,_y()}var uy={onbufferingstart:function(){O1(),Yb=!1,tv=Sb,Ob=!(Bb=0),console.log("onbufferingstart:","date: "+new Date)},onbufferingcomplete:function(){T1(),Yb=!0,oy(),tv=Sb,Ob=!(Bb=0),w.vodOffset=0,console.log("onbufferingcomplete:","date: "+new Date)},onbufferingprogress:function(e){e<5&&(Bb=0),tv=Sb,Ob=!0,e<98?V1()||O1():(T1(),wv=!0,hf||console.log("onbufferingprogress > 98:","date: "+new Date))},oncurrentplaytime:function(e){Ub!==e&&(Ub=e,!U0&&F1()&&R1(),Yb&&V1()&&T1(),q1())&&!V1()&&ky(Ub/1e3,mx,!Rb)},onstreamcompleted:function(){x2(2),console.log("onstreamcompleted:","date: "+new Date)},onerror:function(e){console.log("onerror:","date: "+new Date+" eventType: "+e),"PLAYER_ERROR_CONNECTION_FAILED"!==e&&"PLAYER_ERROR_INVALID_URI"!==e||x2(2)}};function _y(){O1(),console.log("PlayVod_onPlayer:","date: "+new Date),console.log("PlayVod_onPlayer:",'\n\n"'+wb+'"\n'),g?(Cv(wb),w.vodOffset>mx&&(w.vodOffset=0),w.vodOffset&&!Qb&&(h_=w.vodOffset,S_(),P.seekTo(1e3*w.vodOffset)),Qb=!1,P.setBufferingParam("PLAYER_BUFFER_FOR_PLAY","PLAYER_BUFFER_SIZE_IN_SECOND",Sb),P.setBufferingParam("PLAYER_BUFFER_FOR_RESUME","PLAYER_BUFFER_SIZE_IN_SECOND",Sb),Pv(a0),P.setListener(uy),P.prepareAsync(function(){console.log("Play_avplay.prepareAsync Vod OK:","date: "+new Date),P.play(),k("progress_bar_duration",j1(mx=P.getDuration()/1e3)),w0&&!e2()&&Z1(),Bb=0,tv=3+2*Sb,Ob=!1,window.clearInterval(Lb),Lb=window.setInterval(fy,iv)},function(){console.log("Play_avplay.prepareAsync Vod NOK:","date: "+new Date),console.log("Play_avplay.prepareAsync Vod NOK:","counter: "+s0),++s0<2?_y():jb<Ay()-1?(console.log("Play_avplay.prepareAsync Vod NOK DropOneQuality:","date: "+new Date),hy()):(console.log("Play_avplay.prepareAsync Vod fail too mutch exit:","date: "+new Date),v1(!1,2))})):w0&&!e2()&&Z1()}function fy(){Cb&&Mb===Ub&&p1()?++Bb>tv&&(Ob&&Vb&&jb<Ay()-1&&-1===pb.indexOf("Auto")?jb++:!Ob&&Vb&&Tb++,navigator.onLine?1<Tb?b1(Tb,2,hy):(xy(),g&&!w.vodOffset&&(w.vodOffset=P.getCurrentTime()/1e3),ry(),Vb=!0):v1(!1,2)):(Bb=Tb=0,Vb=!1),Mb=Ub}function hy(e){if(!e){if(!(jb<Ay()-1))return void v1(!1,2);jb++}Tb=0,xy(),g&&!w.vodOffset&&(w.vodOffset=P.getCurrentTime()/1e3),ry(),Vb=!0}function my(){Cb&&(xb=[],py(!0),I1())}function py(e){e&&My(),g&&P1(),j("controls_holder"),j("progress_pause_holder"),Cb=!1,window.clearInterval(mb),window.clearInterval(hb),w.Play_WasPlaying=0,Z_(),u7(!0),M1(),document.body.removeEventListener("keydown",Ry),document.removeEventListener("visibilitychange",ay),w.vodOffset=0,window.clearInterval(bb),window.clearInterval(Lb),mx=0}function gy(){Rb=!1,Db=Fb=0,i(),Y1(),ky(Ub/1e3,mx,!0),A("progress_bar_jump_to",v),document.getElementById("progress_bar_steps").style.display="none",pb=gb}function vy(e){if(ky(Ub/1e3,mx,!0),w1(),N1(),e){by();for(var t=jb=0;t<Ay();t++){if(xb[t].id===pb){jb=t;break}-1!==xb[t].id.indexOf(pb)&&(jb=t)}xy(),jy("stream_quality"),i(),wy()}J1()}function by(){a=1,Np=0,yy()}function yy(){a<0?a=0:(s("pause_button","progress_bar_div_focus"),s("next_button","progress_bar_div_focus"),s("back_button","progress_bar_div_focus"),s("progress_bar_div","progress_bar_div_focus"),a?1===a?(Np?1===Np?l("next_button","progress_bar_div_focus"):-1===Np&&l("back_button","progress_bar_div_focus"):l("pause_button","progress_bar_div_focus"),ob(),A("progress_bar_jump_to",v),document.getElementById("progress_bar_steps").style.display="none"):2===a&&(nb(),A("progress_bar_jump_to",v),document.getElementById("progress_bar_steps").style.display="none"):(l("progress_bar_div","progress_bar_div_focus"),ob(),Db&&(Py(),document.getElementById("progress_bar_steps").style.display="inline-block")))}function wy(){e0=window.setTimeout(gy,5e3+Hb)}function xy(){1===Ay()?(document.getElementById("control_arrow_up_"+q2).style.opacity="0",document.getElementById("control_arrow_down"+q2).style.opacity="0"):jb?jb===Ay()-1?(document.getElementById("control_arrow_up_"+q2).style.opacity="1",document.getElementById("control_arrow_down"+q2).style.opacity="0.2"):(document.getElementById("control_arrow_up_"+q2).style.opacity="1",document.getElementById("control_arrow_down"+q2).style.opacity="1"):(document.getElementById("control_arrow_up_"+q2).style.opacity="0.2",document.getElementById("control_arrow_down"+q2).style.opacity="1"),jy("controls_name_"+q2)}function jy(e){var t;xb[jb]&&xb[jb].hasOwnProperty("id")&&(t=-1!==(pb=xb[jb].id).indexOf("source")?pb.replace("source",De):pb,k(e,t+=xb[jb].band+xb[jb].codec))}function Ay(){return xb.length}function ky(e,t,i){k("progress_bar_current_time",j1(e)),i&&(qg.style.width=e/t*100+"%")}function Cy(){if(V1())U0=!0,D1(Ui),window.setTimeout(function(){U0=!1,R1()},1e3);else{if(H1(),!L()&&g){p1()&&P.pause();try{console.log("PlayVod_jump to",zb),w.vodOffset=zb,dm(),P.seekTo(0<zb?1e3*zb:0)}catch(e){return R1(),console.log("PlayVod_jump ",e)}Lp=Ob=!1,Ub=1e3*zb,My(),h_=Cb?zb:hx,Ip&&S_(),p1()||P.play()}A("progress_bar_jump_to",v),document.getElementById("progress_bar_steps").style.display="none",A("pause_button",'<div ><i class="pause_button3d icon-pause"></i> </div>'),Rb=!1,zb=Db=Fb=0}}function Sy(){qb=Fb=0,Ey(nv[1])}function Ey(e){Db&&!a&&(document.getElementById("progress_bar_steps").style.display="inline-block"),60<Math.abs(e)?k("progress_bar_steps",Pi+e/60+Li):k("progress_bar_steps",e?Pi+e+Ii:Pi+nv[1]+Ii)}function Py(){k("progress_bar_jump_to",Te+" ("+(Db<0?"-":"")+j1(Math.abs(Db))+")"+Ve+j1(zb))}function Iy(e,t){var i=g?P.getCurrentTime()/1e3:0;window.clearTimeout(fb),Rb=!0,Fb<nv.length-1&&qb++%6==0&&Fb++,Db+=nv[Fb]*e,zb=i+Db,t<(zb=Cb?10*Math.floor(zb/10):zb)?(Db=t-i-nv[1],zb=i+Db,qb=Fb=0):zb<0&&(Db=0-i,zb=qb=Fb=0),Py(),qg.style.width=zb/t*100+"%",Ey(nv[Fb]*e),fb=window.setTimeout(Sy,1e3)}function My(){var e=Ub/1e3,t="#"+w.ChannelVod_vodId;300<e&&e<mx-300?(Nb[t]&&delete Nb[t],Nb[t]=e,S("PlayVod_VodIds",JSON.stringify(Nb))):mx-300<e&&Nb[t]&&(delete Nb[t],S("PlayVod_VodIds",JSON.stringify(Nb)))}function Ly(){x("controls_holder"),vy(!1),k("stream_quality",""),A("dialog_vod_saved_text",_i+k1(1e3*Nb["#"+w.ChannelVod_vodId])),j("dialog_vod_start")}function By(){gy(),x("dialog_vod_start"),Vy(),Gb=0,Ty(),window.setTimeout(function(){j("controls_holder")},1e3)}function Oy(){return Bh("dialog_vod_start")}function Ty(){l("dialog_vod_"+Gb,"dialog_end_icons_focus")}function Vy(){s("dialog_vod_"+Gb,"dialog_end_icons_focus")}function Dy(){py(!0),wm(I,R,Ry)}function Ry(e){if(vb===m0||Oy())switch(e.keyCode){case Cd:!c7()||u0&&L()?q1()&&!Oy()?(i(),2===a?rb(2,-1):a||(Iy(-1,mx),Hb=2500),wy()):Oy()?(Vy(),Gb?Gb--:Gb++,Ty()):L()?(m2(),h2(),1===(z0=--z0<0?3:z0)&&(z0=0),f2()):Oy()||(vy(!0),a=0,yy(),i(),Iy(-1,mx),Hb=2500,wy()):I&&!Pj&&(p7(),I--,m7());break;case Ed:!c7()||u0&&L()?!a0||q1()||L()?q1()&&!Oy()?(i(),2===a?rb(2,1):a||(Iy(1,mx),Hb=2500),wy()):Oy()?(Vy(),Gb?Gb--:Gb++,Ty()):L()?(m2(),h2(),1===(z0=3<++z0?0:z0)&&(z0=2),f2()):Oy()||vy(!0):(vy(!0),a=0,yy(),i(),Iy(1,mx),Hb=2500,wy()):I<l7()-1&&!Pj&&(p7(),I++,m7());break;case Sd:L()?(m2(),document.body.removeEventListener("keydown",Ry,!1),document.body.addEventListener("keyup",E2,!1),c0=!1,Og=Ry,Bg=window.setTimeout(I2,250)):q1()&&!Oy()?(i(),a<2?(a--,yy()):cb(2,1),wy()):c7()?c7()?h7():Oy()||vy(!0):r7();break;case Pd:L()?M2():q1()&&!Oy()?(i(),a<2?(a++,yy()):cb(2,-1),wy()):c7()?u7():a0&&e2()?db():Oy()||vy(!0);break;case Id:Oy()?(t=Gb,By(),O1(),C(function(){(t?(delete Nb["#"+w.ChannelVod_vodId],w.vodOffset=0,Kb):(w.vodOffset=Nb["#"+w.ChannelVod_vodId],Ub=1e3*w.vodOffset,ky(w.vodOffset,mx,!0),Wb))()})):L()?u0?p2(2):(r0=2,Og=Ry,L2(),wm(I,R,O2)):q1()?(i(),a?1===a?(w.Play_ChatForceDisable||(y1()?K_(y[0]):W_()),L()||l2(2)):sb(2):Db&&Cy(),wy()):c7()?Vv(Dy):vy(!0);break;case Td:case Rd:case d:S2(!0);break;case wd:!L()&&y1()&&(l2(2),w.Play_ChatForceDisable||K_(y[0]));break;case yd:L()||y1()||(l2(2),w.Play_ChatForceDisable)||W_();break;case xd:case Ud:w.Play_ChatForceDisable||(y1()?K_(y[0]):W_()),L()||l2(2);break;case Od:case Bd:B[Q2].enterKey(2);break;case Ld:ab=Y2,cb(2,1),ab=ib;break;case Md:ab=Y2,cb(2,-1),ab=ib;break;case Ad:q1()||(vy(!0),a=0,yy()),i(),Iy(-1,mx),Hb=2500,wy();break;case kd:q1()||(vy(!0),a=0,yy()),i(),Iy(1,mx),Hb=2500,wy();break;case jd:$1(),my();break;case Vd:hf||(Dm("Reloading"),window.location.reload(!0))}else switch(e.keyCode){case Td:case Rd:case d:(G1()||Kg?(N1(),my):U1)()}var t}var Fy,Uy,O={},Ny=!1,Gy=350,Hy=!0,qy=!1,zy=!0;function Qy(e){return[e+"_thumbdiv",e+"_img",e+"_infodiv",e+"_title",e+"_createdon",e+"_game",e+"_viewers",e+"_duration",e+"_cell","cpempty_",e+"_scroll",e+"_lang",e+"_row"]}function T(){for(var e={},t=0;t<arguments.length;t+=1)for(var i=arguments[t],a=Object.keys(i),n=0;n<a.length;n+=1)e[a[n]]=i[a[n]];return e}function Xy(){w.Main_Go=O.screen,O.label_init(),document.body.addEventListener("keydown",kw,!1),j(O.ids[10]),(O.status?(hm(O.posY),lw(!0),dm):Yy)()}function Jy(){O.label_exit&&O.label_exit(),document.body.removeEventListener("keydown",kw),x(O.ids[10]),qh(),yw()}function Yy(){Th(),Pm(),fm(O.table),qh(),O.cursor=null,O.after="",O.status=!1,O.TopRowCreated=!1,O.offset=0,O.offsettop=0,O.idObject={},O.Cells=[],O.FirstLoad=!0,O.itemsCount=0,O.posX=0,O.posY=0,O.row_id=0,O.currY=0,O.loadChannelOffsset=0,O.followerChannels=[],O.followerChannelsDone=!1,O.coloumn_id=0,O.channelDataPos=0,O.getFollowed=!0,O.channelData=null,O.data=null,O.data_cursor=0,O.dataEnded=!1,Nh(),Ky()}function Ky(){O.loadingData=!0,O.loadingDataTry=0,O.loadingDataTimeout=3500,Wy()}function Wy(){var e;if(O.set_url(),O.isKraken){(e=new XMLHttpRequest).open("GET",O.url,!0),e.timeout=O.loadingDataTimeout;for(var t=0;t<ov.length;t++)e.setRequestHeader(ov[t][0],ov[t][1]);e.ontimeout=function(){},e.onreadystatechange=function(){4===e.readyState&&(200===e.status?$y(e.responseText):Zy())},e.send()}else O.isQuery?((e=new XMLHttpRequest).open("POST",O.url,!0),e.timeout=O.loadingDataTimeout,e.setRequestHeader(nh,Uf[0][1]),e.setRequestHeader("Content-Type","application/json"),e.ontimeout=function(){},e.onreadystatechange=function(){4===e.readyState&&(200===e.status?$y(e.responseText):Zy())},e.send(O.post)):Rm(O.url+(O.use_helix?"":lh),O.loadingDataTimeout,O.HeaderQuantity,O.token,$y,Zy,null,null,O.use_helix)}function Zy(){O.loadingDataTry++,(O.loadingDataTry<O.loadingDataTryMax?(O.loadingDataTimeout+=500,Wy):function(){O.loadingData=!1,O.itemsCount?O.dataEnded=!0:(vj(w.Main_Go),O.FirstLoad=!1,Vh(),Hh(le),j("topbar"),j("side_panel_new_holder"),O.HasSwitches?(O.emptyContent=!0,O.addSwitches(),ow()):O.key_exit())})()}function $y(e){O.concatenate(e)}function ew(e,t,i){var a=document.createElement("div");return a.setAttribute("id",e),a.setAttribute(uh,JSON.stringify(t)),a.classList.add(O.thumbclass),a.innerHTML=i,a}function tw(e,t,i){return ew(t[8]+e,i,'<div id="'+t[0]+e+'" class="stream_thumbnail_channel" ><div class="stream_thumbnail_channel_img"><img id="'+t[1]+e+'" alt="" class="stream_img" src="'+i[2]+'" onerror="this.onerror=null;this.src=\''+O.img_404+'\'"></div><div id="'+t[2]+e+'" class="stream_thumbnail_channel_text_holder"><div id="'+t[3]+e+'" class="stream_info_channel_name">'+i[3]+(i[4]?v+v+'</div><div class="stream_info_channel_partner_icon"><img style="width: 2ch;" alt="" src="'+vd+'">':"")+"</div></div></div>")}function iw(e,t,i){return ew(t[5]+e,i,'<div id="'+t[0]+e+'" class="stream_thumbnail_game"><div class="stream_thumbnail_live_game"><img id="'+t[1]+e+'" class="stream_img" alt="" src="'+i[0]+'" onerror="this.onerror=null;this.src=\''+O.img_404+'\'"></div><div id="'+t[2]+e+'" class="stream_thumbnail_game_text_holder"><div class="stream_text_holder"><div id="<div id="'+t[3]+e+'" class="stream_info_game_name">'+i[1]+"</div>"+(""!==i[2]?'<div id="'+t[4]+e+'"class="stream_info_live" style="width: 100%; display: inline-block;">'+i[2]+"</div>":"")+"</div></div></div>")}function aw(e,t,i){return ew(t[8]+e,i,'<div id="'+t[0]+e+'" class="stream_thumbnail_live"><div id="'+t[6]+e+'" class="stream_thumbnail_live_img" '+(i[7]?' style="width: 100%; padding-bottom: 56.25%; background-size: 0 0; background-image: url('+i[7]+');"':"")+'><img id="'+t[1]+e+'" class="stream_img" alt="" src="'+i[0]+'" onerror="this.onerror=null;this.src=\''+O.img_404+'\'"></div><div id="'+t[2]+e+'" class="stream_thumbnail_live_text_holder"><div class="stream_text_holder"><div style="line-height: 1.6ch;"><div id="'+t[3]+e+'" class="stream_info_live_name" style="width: 72%; display: inline-block;">'+i[1]+'</div><div id="'+t[7]+e+'"class="stream_info_live" style="width:27%; float: right; text-align: right; display: inline-block;">'+i[5]+'</div></div><div id="'+t[11]+e+'"class="stream_info_live_title">'+i[3]+'</div><div id="'+t[9]+e+'"class="stream_info_live">'+(""!==i[10]&&i[10]?Ht+K+i[10]:"")+'</div><div style="line-height: 1.3ch;"><div id="'+t[4]+e+'"class="stream_info_live" style="width: auto; display: inline-block;">'+i[2]+","+v+i[4]+'</div><div id="'+t[5]+e+'"class="stream_info_live" style="width: 12ch; display: inline-block; float: right; text-align: right;">'+i[6]+"</div></div></div></div></div>")}function nw(e,t,i,a){var n=-1!==a[1].indexOf(Ee);return ew(i[8]+e,t,'<div id="'+i[0]+e+'" class="stream_thumbnail_live"><div class="stream_thumbnail_live_img"><img id="'+i[1]+e+'" class="stream_img" alt="" src="'+a[0]+gh+'" onerror="this.onerror=null;this.src=\''+O.img_404+'\'"></div><div id="'+i[2]+e+'" class="stream_thumbnail_live_text_holder"><div class="stream_text_holder"><div style="line-height: 1.6ch;"><div id="'+i[3]+e+'" class="stream_info_live_name" style="width:'+(n?99:66)+'%; display: inline-block;"><i class="icon-'+(t[2]?"refresh":"circle")+' live_icon strokedeline" style="color: '+(t[2]?"#FFFFFF":n?"#FED000":"red")+';"></i> '+a[1]+'</div><div id="'+i[7]+e+'"class="stream_info_live" style="width:'+(n?0:33)+'%; float: right; text-align: right; display: inline-block;">'+a[5]+'</div></div><div id="'+i[4]+e+'"class="stream_info_live_title">'+CA.parse(a[2])+'</div><div id="'+i[5]+e+'"class="stream_info_live">'+(""!==a[3]?K+a[3]:"")+'</div><div id="'+i[6]+e+'"class="stream_info_live">'+a[4]+"</div></div></div></div>")}function ow(){if(O.status)Gh(O.posX,O.posY,O.ColoumnsCount,O.itemsCount);else{if(O.emptyContent)Hh(O.empty_str());else{O.status=!0;for(var e=document.getElementById(O.table),t=0;t<(O.Cells.length<O.visiblerows?O.Cells.length:O.visiblerows);t++)e.appendChild(O.Cells[t])}O.FirstLoad=!1,Yf?(w.Never_run_new&&(Rf=vf,w.Play_WasPlaying=0),w.warning_new_api2&&(A("dialog_warning_extra_text",To),j("dialog_warning_extra"),window.addEventListener("keydown",up,!0),window.addEventListener("keyup",up,!0),window.addEventListener("keypress",up,!0),$m(function(){_p()},6e4),Rf=vf),w.warning_new_api2=!1,V.restor_playback.defaultValue&&w.Play_WasPlaying&&O.status?(lm(w.Main_Go),w.Main_Go=Rf,w.vodOffset||(w.vodOffset=1),mx=w.vodOffset+1,D1(Bi),C(function(){(1===w.Play_WasPlaying?xm:km)(),tm(!0),window.setTimeout(function(){U0||R1()},2e3),sw()})):Rf!==vf&&Rf!==Of&&Rf!==gf?(x(O.ids[10]),C(function(){lm(w.Main_Go),w.Main_Go=Rf,jw(),nm(),Hf?(Yf=!1,Vh()):sw(!0)})):C(function(){w.Search_isSearching=!1,w.Main_BeforeChannelisSet=!1,w.Main_BeforeAgameisSet=!1,lw(!(w.Never_run_new=!1)),dm(),sw()})):(lw(!0),dm(),sw())}}function dw(e){switch(e.keyCode){case Id:case Td:case Rd:case d:Yh(),Qh();var t=kw;w.Main_Go==bf?(t=lA,T7()):w.Main_Go!==Mf?lw(!0):(t=cc,nc()),document.body.addEventListener("keydown",t,!1),document.body.removeEventListener("keydown",dw)}}function sw(e){Yf=!1,e||Vh(),j("topbar"),j("side_panel_new_holder"),(w.Sidepannel_IsUser?wj:xj)(),vj(w.Main_Go)}function lw(e){if(O.emptyContent){if(!O.HasSwitches)return O.key_exit(O.emptyContent);O.posY=-1}O.posY<0?(pw(),document.getElementById(O.ids[10]).style.top="",O.emptyContent||Gh(O.posX,O.posY+1,O.ColoumnsCount,O.itemsCount)):(2<O.posY&&O.data_cursor+dx>O.data.length&&!O.dataEnded&&!O.loadingData?Ky():O.posY+O.ItemsReloadLimit>O.itemsCount/O.ColoumnsCount&&O.data_cursor<O.data.length&&O.loadDataSuccess(),O.addrow(e,O.posY))}function cw(e){return null!==document.getElementById(e)}function rw(e,t){var i;O.currY<t?(O.currY=O.posY,2<t&&function e(t){O.Cells[t+2]?(document.getElementById(O.table).appendChild(O.Cells[t+2]),cw(O.ids[12]+(t-3))&&(Hy&&zy&&!qy?(qy=!(Hy=!1),document.getElementById(O.ids[12]+(t-3)).classList.add("animate_height"),window.setTimeout(function(){uw(O.ids[12]+(t-3)),Hy=!0},Gy)):uw(O.ids[12]+(t-3)))):O.loadingData&&window.setTimeout(function(){e(t)},10)}(t)):O.currY>t&&(O.currY=O.posY,1<t)&&O.Cells.length>t+3&&((i=document.getElementById(O.table)).insertBefore(O.Cells[t-2],i.childNodes[0]),document.getElementById(O.ids[12]+(t-2)).classList.add("animate_height"),Hy&&zy&&!qy?(qy=!(Hy=!1),C(function(){document.getElementById(O.ids[12]+(t-2)).classList.remove("animate_height")}),window.setTimeout(function(){uw(O.ids[12]+(t+3)),Hy=!0},Gy)):(document.getElementById(O.ids[12]+(t-2)).classList.remove("animate_height"),uw(O.ids[12]+(t+3)))),_w(e)}function uw(e){(e=document.getElementById(e))&&e.remove()}function _w(e){l(O.ids[0]+O.posY+"_"+O.posX,rh),Gh(O.posX,O.posY,O.ColoumnsCount,O.itemsCount),O.addFocus(O.posY,O.ids,e)}function fw(e,t){O.offsettop&&O.offsettopFontsize===D("global_font_offset")||O.Cells[e=t||t+e]&&(O.offsettop=document.getElementById(O.ids[0]+e+"_0").offsetTop/_d,O.offsettopFontsize=D("global_font_offset"))}function hw(e,t,i){fw(1,e),(mm(e)||i)&&(0<e?em(e+1,0,t[0])&&(document.getElementById(t[10]).style.top="calc(7.65% - "+O.offsettop+"em)"):document.getElementById(t[10]).style.top=""),pm()}function mw(e,t){Cm(O.posY+"_"+O.posX,O.ids),yw(),O.posY+=e,O.posX=t,lw()}function pw(){O.posX>O.SwitchesIcons.length-1?O.posX=0:O.posX<0&&(O.posX=O.SwitchesIcons.length-1),l(O.ids[0]+"y_"+O.posX,"stream_switch_focused")}function gw(){O.posX>O.SwitchesIcons.length-1?O.posX=0:O.posX<0&&(O.posX=O.SwitchesIcons.length-1),s(O.ids[0]+"y_"+O.posX,"stream_switch_focused")}function vw(e){(Kh()?Yh:Xh()?Qh:(e===O.screen?w.Main_Go=vf:w.Main_Go=e,Jy))()}function bw(e){if(!O.HasSwitches||O.posY||-1!==e||O.emptyContent){if(O.HasSwitches&&-1===O.posY&&em(0,O.posX,O.ids[0]))O.posY=0,lw(),gw();else for(var t=0;t<O.ColoumnsCount;t++)if(em(O.posY+e,O.posX-t,O.ids[0]))return mw(e,O.posX-t)}else Cm(O.posY+"_"+O.posX,O.ids),yw(),O.posY=-1,O.posX>O.SwitchesIcons.length-1&&(O.posX=1),pw()}function yw(){O.HasAnimateThumb&&(window.clearInterval(O.AnimateThumbId),cw(O.ids[6]+O.posY+"_"+O.posX))&&j(O.ids[6]+O.posY+"_"+O.posX)}function ww(e,t){O.HasSwitches&&-1===O.posY?(O.posY=-1,gw(),O.posX+=t?-1:1,pw()):em(O.posY,O.posX+e,O.ids[0])?mw(0,O.posX+e):em(O.posY+e,t,O.ids[0])&&mw(e,t)}function xw(){jw(),w.Main_Go===Tf&&(w.Main_OldgameSelected=w.Main_gameSelected),yw(),document.body.removeEventListener("keydown",kw),fj(kw)}function jw(){em(O.posY,O.posX,O.ids[0])?Cm(O.posY+"_"+O.posX,O.ids):O.posY<0&&(gw(),O.posY=0,O.posX=0)}function Aw(e){e.keyCode===Id&&(window.clearTimeout(Fy),document.body.removeEventListener("keyup",Aw),document.body.addEventListener("keydown",kw,!1),Ny||O.key_play())}function kw(e){if(!O.FirstLoad&&!bm())switch(vm(),e.keyCode){case Ld:!O.loadingData&&O.key_pgUp&&(jw(),O.screen===Sf?_j(b[0].access_token?O.key_pgUp:O.key_pgUpNext):_j(O.key_pgUp));break;case Md:!O.loadingData&&O.key_pgDown&&(jw(),O.screen===kf?_j(b[0].access_token?O.key_pgDown:O.key_pgDownNext):_j(O.key_pgDown));break;case Td:case Rd:case d:O.loadingData||O.key_exit();break;case Cd:O.loadingData||(O.posX?ww(-1,O.ColoumnsCount-1):xw());break;case Ed:O.dataEnded||O.posX<O.ColoumnsCount-1||O.Cells.length-1>=O.posY+1?O.posX===O.ColoumnsCount-1&&!Hy||ww(1,0):lw(!0);break;case Sd:Hy&&bw(-1);break;case Pd:O.dataEnded||O.Cells.length-1>=O.posY+1?Hy&&bw(1):lw(!0);break;case wd:case yd:case xd:case Ud:O.key_play();break;case Id:D("enter_refresh")?O.key_play():(document.body.removeEventListener("keydown",kw,!1),document.body.addEventListener("keyup",Aw,!1),Ny=!1,Fy=window.setTimeout(Bm,400));break;case Od:case Bd:Bm();break;case Vd:hf||(Dm("Reloading"),window.location.reload(!0))}}function Cw(){O.status&&-1===O.posY&&(gw(),O.posY=0,O.posX=0,l(O.ids[0]+"0_"+O.posX,rh)),document.body.removeEventListener("keydown",kw),x(O.ids[10])}function Sw(){ml()&&b[0].access_token?(xx?Bs:Es)():(Hh(Mt),window.setTimeout(function(){O.emptyContent&&w.Main_Go===Tf?Hh(r+je):qh()},2e3))}function Ew(){A(Kw.ids[3]+"y_2",xx?'<i class="icon-heart" style="color: #6441a4; font-size: 100%;"></i>'+v+v+At:'<i class="icon-heart-o" style="color: #FFFFFF; font-size: 100%; "></i>'+v+v+(ml()?kt:It))}document.body.addEventListener("keyup",function(){qy=!1});var Pw,Iw=0;function Mw(){Tw(Iw=O.periodPos),Bw(),j("dialog_period"),document.body.removeEventListener("keydown",kw),document.body.addEventListener("keydown",Dw,!1)}function Lw(){window.clearTimeout(Uy)}function Bw(){window.clearTimeout(Uy),Uy=window.setTimeout(Ow,6e3)}function Ow(){Lw(),Vw(Iw),document.body.removeEventListener("keydown",Dw,!1),document.body.addEventListener("keydown",kw,!1),x("dialog_period")}function Tw(e){l("dialog_period_"+e,"button_dialog_focused")}function Vw(e){s("dialog_period_"+e,"button_dialog_focused")}function Dw(e){switch(e.keyCode){case Td:case Rd:case d:Vw(Iw),Ow();break;case Cd:Lw(),Bw(),Vw(Iw),Tw(Iw=--Iw<1?4:Iw);break;case Ed:Lw(),Bw(),Vw(Iw),Tw(Iw=4<++Iw?1:Iw);break;case wd:case yd:case xd:case Ud:case Id:Ow(),O.periodPos!==Iw&&(O.periodPos=Iw,O.SetPeriod(),Yy())}}function Rw(){window.clearTimeout(Pw)}function Fw(){window.clearTimeout(Pw),Pw=window.setTimeout(Uw,6e3)}function Uw(){Rw(),document.body.removeEventListener("keydown",Gw,!1),document.body.addEventListener("keydown",kw,!1),x("dialog_OffSet")}function Nw(e){k("dialog_OffSet_val",e),0<e&&e<5e3?(document.getElementById("dialog_OffSet_left").style.opacity="1",document.getElementById("dialog_OffSet_right").style.opacity="1"):5e3===e?(document.getElementById("dialog_OffSet_left").style.opacity="1",document.getElementById("dialog_OffSet_right").style.opacity="0.2"):(document.getElementById("dialog_OffSet_left").style.opacity="0.2",document.getElementById("dialog_OffSet_right").style.opacity="1")}function Gw(e){switch(e.keyCode){case Td:case Rd:case d:Uw();break;case Cd:Rw(),Fw(),O.OffSetPos--,O.OffSetPos<0&&(O.OffSetPos=0),Nw(100*O.OffSetPos);break;case Ed:Rw(),Fw(),O.OffSetPos++,50<O.OffSetPos&&(O.OffSetPos=50),Nw(100*O.OffSetPos);break;case wd:case yd:case xd:case Ud:case Id:Uw(),O.extraoffset!==O.OffSetPos&&(O.extraoffset=100*O.OffSetPos,O.SetPeriod(),Yy())}}var Hw,qw,zw,Qw,Xw,Jw,Yw,Kw,Ww,Zw,$w,ex,tx,ix,ax,nx,ox,dx=100,sx="",lx="",cx="",rx="",ux="",_x="",fx="",hx=0,mx=0,px="",gx="",vx="",bx="",yx="",wx=1,xx=!1,jx=function(){},Ax='{"query":"{user(id:\\"%x\\"){followedGames(first:100,type:LIVE){nodes{id displayName boxArtURL viewersCount channelsCount}}}}"}',kx='{"query":"{featuredStreams(first:10,acceptedMature:true%x){stream{type,game{displayName,id},title,id,previewImageURL,viewersCount,createdAt,broadcaster{roles{isPartner},id,login,displayName,language,profileImageURL(width:300)}}}}"}',Cx='{"query":"{games(first: 100) {edges{node{id,name,clips(first:50,criteria:{period:%t%l}){edges{node{title,videoOffsetSeconds,viewCount,slug,language,durationSeconds,createdAt,id,video{id},thumbnailURL(width:480,height: 272),broadcaster{id,displayName,login}}}}}}}}"}',Sx='{"query":"{games(first: 30) {edges{node{id,name,videos(first:20,types:%a%l,sort:VIEWS){edges{node{duration,viewCount,language,title,animatedPreviewURL,createdAt,id,thumbnailURLs(width:640,height:360),creator{id,displayName,login}}}}}}}}"}',Ex={posX:0,posY:0,currY:0,row_id:0,offsettopFontsize:0,offsettop:0,coloumn_id:0,dataEnded:!1,idObject:{},loadingData:!1,itemsCount:0,loadingDataTryMax:5,loadingDataTimeout:3500,MaxOffset:0,offset:0,visiblerows:3,status:!1,emptyContent:!1,itemsCountCheck:!1,FirstLoad:!1,row:0,data:null,token:null,data_cursor:0,loadDataSuccess:function(){var e=O.data.length-O.data_cursor;if(e>O.ItemsLimit?e=O.ItemsLimit:O.loadingData||(O.dataEnded=!0),O.HasSwitches&&!O.TopRowCreated&&O.addSwitches(),e){O.row_id||(O.row=document.createElement("div"),O.rowClass&&O.row.classList.add(O.rowClass),O.row.id=O.ids[12]+O.row_id);var t=Math.ceil(e/O.ColoumnsCount),i=O.row_id+t;for(O.row_id;O.row_id<i;){for(O.coloumn_id===O.ColoumnsCount&&(O.row=document.createElement("div"),O.rowClass&&O.row.classList.add(O.rowClass),O.row.id=O.ids[12]+O.row_id,O.coloumn_id=0),O.coloumn_id;O.coloumn_id<O.ColoumnsCount&&O.data_cursor<O.data.length;O.data_cursor++)O.data[O.data_cursor]&&O.addCell(O.data[O.data_cursor]);if(O.coloumn_id===O.ColoumnsCount)O.Cells[O.row_id]=O.row,O.row_id++;else if(O.data_cursor>=O.data.length){""!==O.row.innerHTML&&(O.Cells[O.row_id]=O.row);break}}}O.emptyContent=!e&&!O.status,ow()},addrow:function(e,t){var i;O.currY<t?(O.currY=O.posY,function e(t){O.Cells[t+1]?(document.getElementById(O.table).appendChild(O.Cells[t+1]),cw(O.ids[12]+(t-2))&&(Hy&&zy&&!qy?(qy=!(Hy=!1),document.getElementById(O.ids[12]+(t-2)).classList.add("animate_height"),window.setTimeout(function(){uw(O.ids[12]+(t-2)),Hy=!0},Gy)):uw(O.ids[12]+(t-2)))):O.loadingData&&window.setTimeout(function(){e(t)},10)}(t)):O.currY>t&&(O.currY=O.posY,t)&&O.Cells.length>t+1&&O.Cells[t+2]&&((i=document.getElementById(O.table)).insertBefore(O.Cells[t-1],i.childNodes[O.HasSwitches?1:0]),document.getElementById(O.ids[12]+(t-1)).classList.add("animate_height"),Hy&&zy&&!qy?(qy=!(Hy=!1),C(function(){document.getElementById(O.ids[12]+(t-1)).classList.remove("animate_height")}),window.setTimeout(function(){uw(O.ids[12]+(t+2)),Hy=!0},Gy)):(document.getElementById(O.ids[12]+(t-1)).classList.remove("animate_height"),uw(O.ids[12]+(t+2)))),_w(e)},key_exit:function(e){jw(),(this.screen!==Tf||e?this.screen!==Pf&&this.screen!==Ef&&this.screen!==If||e?this.screen!==Df&&this.screen!==Vf||e?this.screen!==Bf&&this.screen!==Lf||e?xw:(vw(Mf),nm):(vw(Tf),nm):(w.Main_Go===w.Main_BeforeSearch?w.Main_Go=vf:w.Main_Go=w.Main_BeforeSearch,w.Search_isSearching=!1,vw(w.Main_Go),nm):(w.Games_return?(w.Main_Go=Ef,w.Main_gameSelected=w.gameSelectedOld,w.gameSelectedOld=null):(w.Main_Go=w.Main_BeforeAgame,w.Main_BeforeAgame=wf),vw(w.Main_Go),nm))()},concatenate:function(e){this.data?((e=JSON.parse(e))[this.object]&&(this.data=this.data.concat(e[this.object]),this.offset=this.data.length),this.setMax(e)):(e=JSON.parse(e),this.data=e[this.object],this.data?(this.offset=this.data.length,this.setMax(e)):this.data=[],this.loadDataSuccess()),this.loadingData=!1}},Px={ItemsLimit:Zf,ColoumnsCount:3,ItemsReloadLimit:t,thumbclass:"stream_thumbnail_live_holder",rowClass:"animate_height_transition",addFocus:function(e,t,i,a){this.AnimateThumb(this),hw(e,t,i)},setMax:function(e){this.use_helix?(this.cursor=e.pagination.cursor,this.cursor&&""!==this.cursor||(this.dataEnded=!0)):e[this.object].length<dx-5&&(this.dataEnded=!0)},img_404:md,HasSwitches:!0,period:["day","week","month","all"],empty_str:function(){return r+v+(this.highlight?re:ce)},AnimateThumbId:null,HasAnimateThumb:!0,Vod_newImg:new Image,AnimateThumb:function(t){var e,i,a,n,o,d,s,l,c;window.clearInterval(t.AnimateThumbId),wx&&(e=this.posY+"_"+this.posX,i=document.getElementById(this.ids[8]+e),(a=JSON.parse(i.getAttribute(uh)))[7]?(n=document.getElementById(this.ids[6]+e),this.Vod_newImg.onload=function(){this.onload=null,x(t.ids[1]+t.posY+"_"+t.posX),n.style.backgroundSize=n.offsetWidth+"px";var e=0;t.AnimateThumbId=window.setInterval(function(){n.style.backgroundPosition="0px "+ ++e%10*-n.offsetHeight+"px"},650)},this.Vod_newImg.src=n.style.backgroundImage.replace(/url\(['"]?(.*?)['"]?\)/i,"$1")):(o=a,d=t,s=i,l=e,(c=new XMLHttpRequest).open("POST",eg,!0),c.timeout=bp,c.setRequestHeader(nh,Uf[0][1]),c.setRequestHeader("Content-Type","application/json"),c.ontimeout=function(){},c.onreadystatechange=function(){var e,t,i,a,n;4===c.readyState&&200===c.status&&(e=c.responseText,t=o,i=d,a=s,n=l,(e=JSON.parse(e)).data)&&e.data.video&&e.data.video.animatedPreviewURL&&(t[7]=e.data.video.animatedPreviewURL,a.setAttribute(uh,JSON.stringify(t)),E(i.ids[6]+n).style.cssText="width: 100%; padding-bottom: 56.25%; background-size: 0 0; background-image: url("+e.data.video.animatedPreviewURL+");",i.posY+"_"+i.posX===n)&&i.AnimateThumb(i)},c.send(Fx.replace("%x",o[8]))))},addCellBase:function(e,t){this.idObject[e.id]||-1!==(t+"").indexOf("404_processing")||(this.itemsCount++,this.idObject[e.id]=1,this.isQuery?this.row.appendChild(aw(this.row_id+"_"+this.coloumn_id,this.ids,[t?t.replace("%{width}x%{height}",zm):null,e.creator?e.creator.displayName:"",_e+um(e.createdAt),CA.parse(e.title),Wh(e.viewCount)+fe,e.language?Zh(e.language):"",e.duration,e.animatedPreviewURL,e.id,e.language,e.game_name,e.creator?e.creator.login:"",null,e.creator?e.creator.id:"",null,null])):this.row.appendChild(aw(this.row_id+"_"+this.coloumn_id,this.ids,[t?t.replace("%{width}x%{height}",zm):null,e.user_name,_e+um(e.created_at),CA.parse(e.title),Wh(e.view_count)+fe,e.language?Zh(e.language):"",e.duration,null,e.id,e.language,null,e.user_login,null,e.user_id,null,null])),this.coloumn_id++)},addCell:function(e){this.addCellBase(e,e.thumbnail_url)}};var Ix={ItemsReloadLimit:t,ItemsLimit:Zf,ColoumnsCount:3,addFocus:hw,rowClass:"animate_height_transition",thumbclass:"stream_thumbnail_live_holder",img_404:md,setMax:function(e){this.use_helix?(this.cursor=e.pagination.cursor,this.cursor&&""!==this.cursor||(this.dataEnded=!0)):(this.MaxOffset=e._total,e[this.object]?void 0===this.MaxOffset?e[this.object].length<90&&(this.dataEnded=!0):this.data.length>=this.MaxOffset&&(this.dataEnded=!0):this.dataEnded=!0)},check_offset:function(){(900<=this.offset||void 0!==this.MaxOffset&&this.offset&&this.offset+dx>this.MaxOffset)&&(this.dataEnded=!0)},empty_str:function(){return r+v+xe},addCell:function(e){this.addCellTemp(e)},addCellTemp:function(e){var t,i=this.use_helix?e.user_id:e.channel._id;this.idObject[i]||(this.itemsCount++,this.idObject[i]=1,this.use_helix?this.row.appendChild(nw(this.row_id+"_"+this.coloumn_id,[e.user_login,e.user_id,$h(e.type),e.game_id],this.ids,[e.thumbnail_url.replace("{width}x{height}",zm),e.user_name,e.title,e.game_name,$+C1(e.started_at)+v+W+Wh(e.viewer_count)+v+he,"["+e.language.toUpperCase()+"]"])):this.row.appendChild(nw(this.row_id+"_"+this.coloumn_id,[e.channel.name,e.channel._id,$h(e.broadcast_platform)],this.ids,[e.preview.template.replace("{width}x{height}",zm),e.channel.display_name,e.channel.status,e.game,$+C1(e.created_at)+v+W+Wh(e.viewers)+v+he,(i=e.video_height,t=e.average_fps,e=e.channel.broadcaster_language,(i=(i+="").indexOf("x")?i:i.slice(-3))+"p"+(t=58<t?60:t<32?30:Math.ceil(t))+(""!==e?" ["+e.toUpperCase()+"]":""))])),this.coloumn_id++)}};var Mx={HeaderQuantity:2,ItemsLimit:Zf,TopRowCreated:!1,ItemsReloadLimit:t,ColoumnsCount:3,addFocus:hw,rowClass:"animate_height_transition",thumbclass:"stream_thumbnail_live_holder",cursor:null,object:"data",period:["day","week","month","all"],img_404:md,empty_str:function(){return r+v+ue},HasSwitches:!0,SwitchesIcons:["history","play-1"],addSwitches:function(){this.TopRowCreated=!0,this.row=document.createElement("div");for(var e,t,i=[v+v+Q,v+v+Xi],a=0;a<i.length;a++)e='<i class="icon-'+this.SwitchesIcons[a]+' stream_channel_follow_icon"></i>'+i[a],(t=document.createElement("div")).setAttribute("id",this.ids[8]+"y_"+a),t.className="stream_cell_period",t.innerHTML='<div id="'+this.ids[0]+"y_"+a+'" class="stream_thumbnail_channel_vod" ><div id="'+this.ids[3]+"y_"+a+'" class="stream_channel_follow_game">'+e+"</div></div>",this.row.appendChild(t);document.getElementById(this.table).appendChild(this.row)},setMax:function(e){this.isKraken?(this.cursor=e._cursor,""===this.cursor&&(this.dataEnded=!0)):(this.cursor=e.pagination.cursor,this.cursor||(this.dataEnded=!0))},key_play:function(){-1===this.posY?this.loadingData||(this.posX?(Gp=!0,gw(),this.posX=0,this.posY=0,jm(this.posY+"_"+this.posX,this.ids,kw)):Mw()):jm(this.posY+"_"+this.posX,this.ids,kw)},Cells:[],addCell:function(e){var t,i,a=this.use_helix||this.isQuery?e.id:e.tracking_id;this.idObject[a]||(this.itemsCount++,this.idObject[a]=1,a=this.isKraken?[e.slug,e.duration,e.game,e.broadcaster.name,e.broadcaster.display_name,e.broadcaster.logo.replace("150x150","300x300"),e.broadcaster.id,null!==e.vod?e.vod.id:null,null!==e.vod?e.vod.offset:null,CA.parse(e.title),"["+e.language.toUpperCase()+"]",Kt+um(e.created_at),Wh(e.views)+fe,e.thumbnails.medium]:this.isQuery?[e.slug,e.durationSeconds,e.game_name,e.broadcaster?e.broadcaster.login:"",e.broadcaster?e.broadcaster.displayName:"",null,e.broadcaster?e.broadcaster.id:"",e.video?e.video.id:null,e.videoOffsetSeconds,CA.parse(e.title),"["+e.language.toUpperCase()+"]",Kt+um(e.created_at),Wh(e.viewCount)+fe,e.thumbnailURL,e.game_id]:[e.id,e.duration,null,e.broadcaster_name&&e.broadcaster_name.toLowerCase(),e.broadcaster_name,null,e.broadcaster_id,e.video_id&&""!==e.video_id?e.video_id:null,null,CA.parse(e.title),"["+e.language.toUpperCase()+"]",Kt+um(e.created_at),Wh(e.view_count)+fe,e.thumbnail_url,e.game_id],this.row.appendChild((e=this.row_id+"_"+this.coloumn_id,t=this.ids,i=(a=a)[2]&&""!==a[2]?K+a[2]:"",ew(t[8]+e,a,'<div id="'+t[0]+e+'" class="stream_thumbnail_live"><div class="stream_thumbnail_live_img"><img id="'+t[1]+e+'" class="stream_img" alt="" src="'+a[13]+'" onerror="this.onerror=null;this.src=\''+O.img_404+'\'"></div><div id="'+t[2]+e+'" class="stream_thumbnail_live_text_holder"><div class="stream_text_holder"><div style="line-height: 1.6ch;"><div id="'+t[3]+e+'" class="stream_info_live_name" style="width: 72%; display: inline-block;">'+a[4]+'</div><div id="'+t[7]+e+'"class="stream_info_live" style="width:27%; float: right; text-align: right; display: inline-block;">'+a[10]+'</div></div><div id="'+t[11]+e+'"class="stream_info_live_title">'+a[9]+'</div><div id="'+t[4]+e+'"class="stream_info_live">'+i+'</div><div style="line-height: 1.3ch;"><div id="'+t[6]+e+'"class="stream_info_live" style="width: auto; display: inline-block;">'+a[11]+","+v+a[12]+'</div><div id="'+t[5]+e+'"class="stream_info_live" style="width: 6ch; display: inline-block; float: right; text-align: right;">'+j1(a[1])+"</div></div></div></div></div></div>"))),this.coloumn_id++)}};var Lx={HeaderQuantity:2,thumbclass:"stream_thumbnail_game_holder",ItemsReloadLimit:$f,ItemsLimit:45,rowClass:"animate_height_transition_games",ColoumnsCount:5,addFocus:function(e,t,i){fw(1,e),(mm(e)||i)&&(0<e?em(e+1,0,t[0])&&(document.getElementById(t[10]).style.top="calc(4.5% - "+O.offsettop+"em)"):document.getElementById(t[10]).style.top=""),pm()},img_404:"data:image/png;base64,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",empty_str:function(){return r+v+je},key_play:function(){Cm(this.posY+"_"+this.posX,this.ids),w.Main_gameSelected=JSON.parse(document.getElementById(this.ids[5]+this.posY+"_"+this.posX).getAttribute(uh)),w.Main_gameSelected_id=w.Main_gameSelected[3],w.Main_gameSelected=w.Main_gameSelected[1],document.body.removeEventListener("keydown",kw),w.Main_BeforeAgame=this.screen,w.Main_Go=Tf,w.Main_BeforeAgameisSet=!0,document.body.removeEventListener("keydown",kw),x(this.ids[10]),nm()},setMax:function(e){this.use_helix?(this.cursor=e.pagination.cursor,this.cursor&&""!==this.cursor||(this.dataEnded=!0)):(this.MaxOffset=e._total,this.data.length>=this.MaxOffset&&(this.dataEnded=!0))},addCell:function(e){var t=this.isLive||this.screen===wf,i=this.hasGameProp&&!this.isQuery?e.game:e,a=this.use_helix||this.isQuery?i.id:i._id;if(!this.idObject[a]){if(this.itemsCount++,this.idObject[a]=1,this.use_helix)this.row.appendChild(iw(this.row_id+"_"+this.coloumn_id,this.ids,[i.box_art_url.replace(this.isSearch?"52x72":"{width}x{height}",Qm),i.name,"",a]));else if(this.isQuery){if(!i)return;this.row.appendChild(iw(this.row_id+"_"+this.coloumn_id,this.ids,[i.boxArtURL.replace("{width}x{height}",Qm),i.displayName,(e.channelsCount?Wh(e.channelsCount):0)+v+ne+m+W+(e.viewersCount?Wh(e.viewersCount):0)+v+he,a]))}else this.row.appendChild(iw(this.row_id+"_"+this.coloumn_id,this.ids,[i.box.template.replace("{width}x{height}",Qm),i.name,t?Wh(e.channels)+v+ne+m+W+Wh(e.viewers)+v+he:"",a]));this.coloumn_id++}}};var Bx={ItemsLimit:48,ColoumnsCount:eh,addFocus:function(e,t,i){fw(2,e),(mm(e)||i)&&(1<e?O.Cells.length<6?O.Cells[e+1]&&e+2<O.Cells.length||4===O.Cells.length?document.getElementById(t[10]).style.top="calc(39% - "+O.offsettop+"em)":3<O.Cells.length&&(document.getElementById(t[10]).style.top="calc(39% - "+3*O.offsettop/2+"em)"):O.Cells[e+2]?document.getElementById(t[10]).style.top="calc(39% - "+O.offsettop+"em)":document.getElementById(t[10]).style.top="calc(39% - "+3*O.offsettop/2+"em)":document.getElementById(t[10]).style.top=""),pm()},ItemsReloadLimit:th,thumbclass:"stream_thumbnail_channel_holder",rowClass:"animate_height_transition_channel",img_404:hd,cursor:null,setMax:function(e){this.use_helix?(this.cursor=e.pagination.cursor,this.cursor&&""!==this.cursor||(this.dataEnded=!0)):(this.MaxOffset=e._total,(this.data.length>=this.MaxOffset||void 0===this.MaxOffset)&&(this.dataEnded=!0))},empty_str:function(){return r+v+Ae},addCellTemp:function(e){this.idObject[e.id]||(this.itemsCount++,this.idObject[e.id]=1,this.row.appendChild(tw(this.row_id+"_"+this.coloumn_id,this.ids,[e.broadcaster_login,e.id,e.thumbnail_url,e.display_name,null])),this.coloumn_id++)}};function Ox(){null===w.Main_OldgameSelected&&(w.Main_OldgameSelected=w.Main_gameSelected),j("label_side_panel"),w.Main_OldgameSelected===w.Main_gameSelected&&O.gameSelected===w.Main_gameSelected||(O.status=!1),O.gameSelected=w.Main_gameSelected,w.Main_OldgameSelected=w.Main_gameSelected,xj(),w.Sidepannel_IsUser=!1,vj(O.screen)}function Tx(){O.gameSelected=w.Main_gameSelected,x("label_side_panel")}function Vx(){O.OldUserName!==b[0].name&&(O.status=!1),O.OldUserName=b[0].name,wj(),vj(O.screen)}function Dx(e,t){A("top_lable",e+v+(t?'<div style="font-size: 65%;display: inline-block;">'+t+"</div>":""))}function Rx(e){var t,i,a,n;return 4===e?"":(i=(t=n=new Date).getDate(),a=n.getMonth()+1,n="&ended_at="+n.getFullYear()+"-"+(a<10?"0"+a:a)+"-"+(i<10?"0"+i:i)+"T23:59:59Z",t.setDate(t.getDate()-mh[e]),i=t.getDate(),a=t.getMonth()+1,"&started_at="+t.getFullYear()+"-"+(a<10?"0"+a:a)+"-"+(i<10?"0"+i:i)+"T00:00:00Z"+n)}var Fx='{"query":"{video(id:\\"%x\\"){animatedPreviewURL}}"}';function Ux(e,t){for(var i,a,n,o,d,s,l=0,c=e.length,r=[];l<c;l++)if(e[l].node[t])for(n=e[l].node.id,o=e[l].node.name,a=(d=e[l].node[t].edges).length,i=0;i<a;i++)(s=d[i].node).game_id=n,s.game_name=o,r.push(s);return r.sort(function(e,t){return t.viewCount-e.viewCount}),r}var Nx=0,Gx=0,Hx=!1;function qx(){Jx(!1),document.body.removeEventListener("keydown",Qx),zx(),w.Main_Go=im||w.Main_BeforeSearch,im=null,x("label_side_panel"),j("label_refresh"),sf.value="",x("search_scroll")}function zx(){s("chanel_button","button_search_focused"),s("game_button","button_search_focused"),s("live_button","button_search_focused"),Nx&&(Gx?1===Gx?l("game_button","button_search_focused"):2===Gx&&l("live_button","button_search_focused"):l("chanel_button","button_search_focused"))}function Qx(e){if(!Hx)switch(e.keyCode){case Td:case Rd:case d:(Kh()?Yh:Xh()?Qh:(qx(),tm))();break;case Cd:1===Nx&&(--Gx<0&&(Gx=1),zx());break;case Ed:1===Nx&&(1<++Gx&&(Gx=0),zx());break;case Sd:1===Nx&&(Nx=0,zx(),Xx());break;case Pd:Nx?1===Nx&&(Nx=0,zx(),Xx()):(Jx(!1),Nx=1,zx());break;case wd:case yd:case xd:case Id:Nx?sf.value&&""!==sf.value?(w.Search_data=sf.value,sf.value="",qx(),C(function(){Gx?1===Gx?(O=ax,Xy()):2===Gx&&(O=nx,Xy()):(O=ox,Xy())})):(Hh(q),window.setTimeout(function(){qh()},1e3)):Xx()}}function Xx(){document.body.removeEventListener("keydown",Qx),document.body.addEventListener("keydown",Yx,!1),sf.placeholder=ee,sf.focus(),Hx=!0}function Jx(e){var t;sf.blur(),null!==sf&&(t=sf.cloneNode(!0),sf.parentNode.replaceChild(t,sf),sf=document.getElementById("search_input")),document.body.removeEventListener("keydown",Yx),sf.placeholder=ae+ee,e&&document.body.addEventListener("keydown",Qx,!1),Hx=!1}function Yx(e){switch(e.keyCode){case Td:case d:(Xh()?Qh:Kh()?Yh:(qx(),tm))();break;case Nd:sf.value="";break;case Fd:case Dd:case Pd:Jx(!0),Nx=1,zx();break;case Rd:sf.value=sf.value.slice(0,-1);break;case Ud:sf.value+=" "}}var Kx=0,V={restor_playback:{values:["no","yes"],defaultValue:2},clip_auto_play_next:{values:["no","yes"],defaultValue:2},single_click_exit:{values:["no","yes"],defaultValue:1},app_animations:{values:["no","yes"],defaultValue:1},enter_refresh:{values:["yes","no"],defaultValue:1},show_screen_counter:{values:["no","yes"],defaultValue:2},live_feed_sort:{values:["views_more","views_less","name_a-z","name_z-a","game_a-z","game_z-a","uptime_new","uptime_old"],defaultValue:1},live_notification:{values:["no","yes"],defaultValue:2},global_font_offset:{values:[-3,-2,-1,0,1,2,3],defaultValue:4},live_notification_time:{values:[1,2,3,4,5,6,7,8,9,10],defaultValue:4},buffer_live:{values:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultValue:4},buffer_vod:{values:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultValue:5},buffer_clip:{values:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultValue:3},end_dialog_counter:{values:["disable",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultValue:4},bitrate_min:{values:["disable",11,10.5,10,9.5,9,8.5,8,7.5,7,6.5,6,5.5,5,4.5,4,3.5,3,2.5,2,1.5,1],defaultValue:18},videos_animation:{values:["no","yes"],defaultValue:2},thumb_quality:{values:["very-low","low","normal","high","very-high"],defaultValue:3},clock_offset:{values:function(){for(var e=[],t=43200,i=0;i<48;i++)e.push("-"+j1(t)),t-=900;for(e.push(j1(0)),t=900,i=0;i<48;i++)e.push(j1(t)),t+=900;return e}(),defaultValue:49},content_lang:{values:["All"],set_values:[""],defaultValue:1},chat_opt:{values:["None"],set_values:[""],defaultValue:1},highlight_rewards:{values:["no","yes"],defaultValue:2},highlight_atstreamer:{values:["no","yes"],defaultValue:2},highlight_atuser:{values:["no","yes"],defaultValue:2},highlight_user_send:{values:["no","yes"],defaultValue:1},show_sub:{values:["no","yes"],defaultValue:2},highlight_bits:{values:["no","yes"],defaultValue:2},show_actions:{values:["no","yes"],defaultValue:1},clear_chat:{values:["no","yes"],defaultValue:2},show_chatters:{values:["no","chatters","viewers"],defaultValue:2},individual_lines:{values:["no","yes"],defaultValue:2},chat_individual_background:{values:["disabled","enabled","bright","dark"],defaultValue:1},chat_logging:{values:["no","yes"],defaultValue:2},chat_nickcolor:{values:["no","yes"],defaultValue:2},chat_timestamp:{values:["no","yes"],defaultValue:1},ttv_lolProxy:{values:["no","yes"],defaultValue:1},proxy_timeout:{values:[1,2,3,4,5,6,7,8,9,10,15,20,30],defaultValue:10},purple_adblock:{values:["no","yes"],defaultValue:1},proxy_settings:{values:["None"],set_values:[""],defaultValue:1},force_http:{values:["no","yes"],defaultValue:1},force_http_override:{values:["no","yes"],defaultValue:1}},Wx=[[null,"viewer_count",0],[null,"viewer_count",1],[null,"user_login",1],[null,"user_login",0],[null,"game_name",1],[null,"game_name",0],[null,"started_at",0],[null,"started_at",1]];var c=[],Zx=0;function $x(){w4(),document.body.removeEventListener("keydown",j4),x("label_side_panel"),j("label_refresh"),s4(),x("settings_holder")}function e4(e,t){return'<div id="setting_title_'+e+'" class="settings_section">'+t+"</div>"}function t4(e,t){return'<div id="'+e+'_div" class="settings_div"><div id="'+e+'_name" class="settings_name">'+t+'</div><div class="settings_arraw_div"><div id="'+e+'arrow_left" class="left"></div></div><div id="'+e+'" class="strokedeline settings_value">'+n4(e)+'</div><div class="settings_arraw_div"><div id="'+e+'arrow_right" class="right"></div></div></div>'}function i4(e,t,i){return'<div id="'+e+'_div" class="settings_div"><div id="'+e+'_name" class="settings_name">'+t+'<div id="'+e+'_summary" class="settings_summary" style="font-size: 65%;">'+i+'</div></div><div class="settings_arraw_div"><div id="'+e+'arrow_left" class="left"></div></div><div id="'+e+'" class="strokedeline settings_value">'+n4(e)+'</div><div class="settings_arraw_div"><div id="'+e+'arrow_right" class="right"></div></div></div>'}function a4(e,t,i){A(e+"_name",t+'<div id="'+e+'_summary" class="settings_summary" style="font-size: 65%;">'+i+"</div>")}function n4(e){return V[e].values[D(e)]}function D(e){return V[e].defaultValue}function o4(e){return V[e].values.length-1}function d4(e){var t,i=c[Kx];l(i,"settings_value_focus"),l(i+"_div","settings_div_focus"),c4(e),y4<Kx&&13===Kx?((t=document.getElementById("settings_scroll")).scrollTop=t.scrollHeight,D("app_animations")&&(i=t.scrollTop,t.scrollTop=0,x4(t,i,450))):Kx<y4&&12===Kx&&(t=document.getElementById("settings_scroll"),D("app_animations")?x4(t,0,450):t.scrollTop=0),y4=Kx}function s4(){var e=c[Kx];document.getElementById(e+"arrow_left").style.opacity="0",document.getElementById(e+"arrow_right").style.opacity="0",s(e,"settings_value_focus"),s(e+"_div","settings_div_focus")}function l4(e){var t=c[e];S(t,D(t)+1),k(t,n4(t)),c4(e),r4(t)}function c4(e){var t,i;o4(e=c[e])&&(t=D(e),i=o4(e),0<t&&t<i?(document.getElementById(e+"arrow_left").style.opacity="1",document.getElementById(e+"arrow_right").style.opacity="1"):t===i?(document.getElementById(e+"arrow_left").style.opacity="1",document.getElementById(e+"arrow_right").style.opacity="0.2"):(document.getElementById(e+"arrow_left").style.opacity="0.2",document.getElementById(e+"arrow_right").style.opacity="1"))}function r4(e){"videos_animation"===e?wx=D("videos_animation"):"clip_auto_play_next"===e?Hp=D("clip_auto_play_next"):"live_notification"===e?zj=D("live_notification"):"live_notification_time"===e?Xj=1e3*n4("live_notification_time"):"single_click_exit"===e?Kg=D("single_click_exit"):"app_animations"===e?g4():"buffer_live"===e?p4(1):"buffer_vod"===e?p4(2):"buffer_clip"===e?p4(3):"end_dialog_counter"===e?X0=D("end_dialog_counter"):"thumb_quality"===e?Xm():"global_font_offset"===e?bd():"show_screen_counter"===e?v4(D("show_screen_counter")):"ttv_lolProxy"===e?h4("ttv_lolProxy"):"proxy_timeout"===e?rv=1e3*n4("proxy_timeout"):"purple_adblock"===e?h4("purple_adblock"):"force_http"===e?(u4(),S("force_http_override",2),V.force_http_override.defaultValue=1):"clock_offset"===e&&(b4(),Pm())}function u4(){var e="http:",t="https:";D("force_http")||(e="https:",t="http:"),a1=a1.replace(t,e),sv=sv.replace(t,e),uv=uv.replace(t,e),sy=sy.replace(t,e)}function _4(){return 1===D("ttv_lolProxy")?0:1}var f4=["ttv_lolProxy"];function h4(e){var t=1===D(e);if(zg=t){m4(e);for(var i=0,a=f4.length;i<a;i++)f4[i]!==e&&1===D(f4[i])&&M4(f4[i],-1,!0)}}function m4(e){fv="purple_adblock"===e?(uv=cv,_v=null,!1):(uv=sv,_v=lv,!0)}function p4(e){try{e?1===e?d0=n4("buffer_live"):2===e?Sb=n4("buffer_vod"):3===e&&(Op=n4("buffer_clip")):(d0=n4("buffer_live"),Sb=n4("buffer_vod"),Op=n4("buffer_clip"))}catch(e){}}function g4(){var t,i,e=D("app_animations"),a=e?"":"none";["screen_holder","screen_holder_channel","screen_holder_switch","screen_holder_user","screen_holder_games","animate_height_transition_channel","animate_height_transition_games","animate_height_transition","side_panel_holder_ani","scenefeed_background","user_feed_notify","user_feed_scroll_ani","side_panel_fix","side_panel_movel","side_panel","user_feed"].forEach(function(e){for(i=document.getElementsByClassName(e),t=0;t<i.length;t++)i[t].style.transition=a}),p7(),i=document.getElementsByClassName(rh);try{Array.prototype.forEach.call(i,function(e){e.classList.remove(rh)})}catch(e){}rh=e?"stream_thumbnail_focused":"stream_thumbnail_focused_no_ani",Rj=e?"feed_thumbnail_focused":"feed_thumbnail_focused_no_ani",zy=e}function v4(e){(e?j:x)("dialog_counter_text")}function b4(){var e=D("clock_offset");ph=e<48?-9e5*(48-e):9e5*(e-48)}var y4=0;function w4(){document.getElementById("settings_scroll").scrollTop=0,y4=0}function x4(i,e,a){var n=i.scrollTop,o=e-n,d=0;!function e(){d+=3;var t=Math.easeInOutQuad(d,n,o,a);i.scrollTop=t,d<a&&setTimeout(e,3)}()}function j4(e){var t,i;switch(e.keyCode){case Td:case Rd:case d:(Xh()?Qh:Kh()?Yh:($x(),tm))();break;case Cd:0<D(i=c[Kx])&&(--V[i].defaultValue,l4(Kx));break;case Ed:D(i=c[Kx])<o4(i)&&(V[i].defaultValue+=1,l4(Kx));break;case Sd:0<Kx&&(s4(),d4(--Kx));break;case Pd:Kx<Zx-1&&(s4(),d4(++Kx));break;case Id:Kx?Ym(c[Kx],"chat_opt")?(i=[r,Dt],V.highlight_rewards.values=i,V.highlight_atstreamer.values=i,V.highlight_atuser.values=i,V.highlight_user_send.values=i,V.show_sub.values=i,V.highlight_bits.values=i,V.show_actions.values=i,V.chat_individual_background.values=[ko,Ao,_o,fo],V.chat_logging.values=i,V.individual_lines.values=i,V.chat_nickcolor.values=i,V.chat_timestamp.values=i,V.clear_chat.values=i,V.show_chatters.values=[ko,So,Co],C4({chat_logging:{defaultValue:V.chat_logging.defaultValue,values:V.chat_logging.values,title:lo,summary:co},individual_lines:{defaultValue:V.individual_lines.defaultValue,values:V.individual_lines.values,title:uo,summary:null},chat_individual_background:{defaultValue:V.chat_individual_background.defaultValue,values:V.chat_individual_background.values,title:oo,summary:so},chat_timestamp:{defaultValue:V.chat_timestamp.defaultValue,values:V.chat_timestamp.values,title:vo,summary:null},show_chatters:{defaultValue:V.chat_timestamp.defaultValue,values:V.chat_timestamp.values,title:Po,summary:Io},chat_nickcolor:{defaultValue:V.chat_nickcolor.defaultValue,values:V.chat_nickcolor.values,title:ho,summary:mo},highlight_rewards:{defaultValue:V.highlight_rewards.defaultValue,values:V.highlight_rewards.values,title:ro,summary:null},highlight_atstreamer:{defaultValue:V.highlight_atstreamer.defaultValue,values:V.highlight_atstreamer.values,title:Zn,summary:null},highlight_atuser:{defaultValue:V.highlight_atuser.defaultValue,values:V.highlight_atuser.values,title:$n,summary:null},highlight_user_send:{defaultValue:V.highlight_user_send.defaultValue,values:V.highlight_user_send.values,title:eo,summary:null},show_sub:{defaultValue:V.show_sub.defaultValue,values:V.show_sub.values,title:to,summary:null},highlight_bits:{defaultValue:V.highlight_bits.defaultValue,values:V.highlight_bits.values,title:io,summary:null},clear_chat:{defaultValue:V.clear_chat.defaultValue,values:V.clear_chat.values,title:bo,summary:yo},show_actions:{defaultValue:V.show_actions.defaultValue,values:V.show_actions.values,title:ao,summary:no}},Cn)):Ym(c[Kx],"proxy_settings")&&(t=[r,Dt],V.ttv_lolProxy.values=t,V.ttv_lolProxy.values=t,C4({proxy_timeout:{defaultValue:V.proxy_timeout.defaultValue,values:V.proxy_timeout.values,title:Qo,summary:Xo},ttv_lolProxy:{defaultValue:V.ttv_lolProxy.defaultValue,values:V.ttv_lolProxy.values,title:Ro,summary:Fo}},qo+m+m+zo)):(document.body.removeEventListener("keydown",j4),x("settings_main"),j("settings_lang"),J4(),Dx(N+v+Ti),document.body.addEventListener("keydown",Y4,!1),H4(B4=0),R4())}}Math.easeInOutQuad=function(e,t,i,a){return(e/=a/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var A4=[],k4=0;function C4(e,t){Zm("keydown",j4);var i,a,n,o,d,s=t+m+m;for(i in A4=[],e)A4.push(i),e[i].keyenter?s+=(a=i,n=[Vi],o=e[i].title,d=null,c.push(a),n&&(V[a].values=n),d?i4(a,o,d):t4(a,o)):s+=e[i].summary?i4(i,e[i].title,e[i].summary):t4(i,e[i].title);A("dialog_settings_text",s+td+Ue+"</div>"),l(A4[k4=0],"settings_value_focus"),l(A4[0]+"_div","settings_div_focus"),S4(A4[0]),j("dialog_settings"),Wm("keydown",E4)}function S4(e){var t,i;o4(e)&&(t=D(e),i=o4(e),0<t&&t<i?(E(e+"arrow_left").style.opacity="1",E(e+"arrow_right").style.opacity="1"):t===i?(E(e+"arrow_left").style.opacity="1",E(e+"arrow_right").style.opacity="0.2"):(E(e+"arrow_left").style.opacity="0.2",E(e+"arrow_right").style.opacity="1"))}function E4(e){var t;switch(e.keyCode){case Id:case Rd:case d:L4(A4[k4]),x("dialog_settings"),Zm("keydown",E4),Wm("keydown",j4);break;case Cd:0<D(t=A4[k4])&&I4(-1);break;case Ed:D(t=A4[k4])<o4(t)&&I4(1);break;case Sd:0<k4&&P4(-1);break;case Pd:k4<A4.length-1&&P4(1)}}function P4(e){L4(A4[k4]),l(e=A4[k4+=e],"settings_value_focus"),l(e+"_div","settings_div_focus"),S4(e)}function I4(e){M4(A4[k4],e)}function M4(e,t,i){V[e].defaultValue+=t,S(e,D(e)+1),k(e,n4(e)),i||(S4(e),r4(e))}function L4(e){E(e+"arrow_left").style.opacity="0",E(e+"arrow_right").style.opacity="0",s(e,"settings_value_focus"),s(e+"_div","settings_div_focus")}var B4=0,O4="",T4={All:{values:["off","on"],defaultValue:2,set_values:""},"Bulgarian [BG]":{values:["off","on"],defaultValue:1,set_values:"bg"},"Čeština [CS]":{values:["off","on"],defaultValue:1,set_values:"cs"},"Dansk [DA]":{values:["off","on"],defaultValue:1,set_values:"da"},"Deutsch [DE]":{values:["off","on"],defaultValue:1,set_values:"de"},"Ελληνικά [EL]":{values:["off","on"],defaultValue:1,set_values:"el"},"English [EN]":{values:["off","on"],defaultValue:1,set_values:"en"},"Español [ES]":{values:["off","on"],defaultValue:1,set_values:"es"},"Suomi [FI]":{values:["off","on"],defaultValue:1,set_values:"fi"},"Français [FR]":{values:["off","on"],defaultValue:1,set_values:"fr"},"Italiano [IT]":{values:["off","on"],defaultValue:1,set_values:"it"},"Magyar [HU]":{values:["off","on"],defaultValue:1,set_values:"hu"},"日本語 [JA]":{values:["off","on"],defaultValue:1,set_values:"ja"},"한국어 [KO]":{values:["off","on"],defaultValue:1,set_values:"ko"},"Nederlands [NL]":{values:["off","on"],defaultValue:1,set_values:"nl"},"Norsk [NO]":{values:["off","on"],defaultValue:1,set_values:"no"},"Polski [PL]":{values:["off","on"],defaultValue:1,set_values:"pl"},"Português [PT]":{values:["off","on"],defaultValue:1,set_values:"pt"},"Română [RO]":{values:["off","on"],defaultValue:1,set_values:"ro"},"Русский [RU]":{values:["off","on"],defaultValue:1,set_values:"ru"},"Slovenčina [SK]":{values:["off","on"],defaultValue:1,set_values:"sk"},"Svenska [SV]":{values:["off","on"],defaultValue:1,set_values:"sv"},"ภาษาไทย [TH]":{values:["off","on"],defaultValue:1,set_values:"th"},"Türkçe [TR]":{values:["off","on"],defaultValue:1,set_values:"tr"},"Tiếng Việt [VI]":{values:["off","on"],defaultValue:1,set_values:"vi"},"中文 [ZH]":{values:["off","on"],defaultValue:1,set_values:"zh"}},V4=[],D4=0;function R4(){""===Xf&&(O4=Di,T4.All.defaultValue=1,z4(0),l(V4[0],"red_text"),J4()),a4("content_lang",Ti,O4)}function F4(){if(Xf="",!N4("All")){for(var e in T4)N4(e)&&(Xf+=","+T4[e].set_values);Ym(Xf=Xf.slice(1),",")&&(Q4(),Xf="")}O4=""===Xf?Di:Xf.toUpperCase()}function U4(e){return T4[e].values[N4(e)]}function N4(e){return T4[e].defaultValue}function G4(e){return T4[e].values.length-1}function H4(e){var t=V4[B4];l(t,"settings_value_focus"),l(t+"_div","settings_div_focus"),X4(V4[e]),document.getElementById("settings_scroll").scrollTop=7<B4?document.getElementById(V4[B4-7]).offsetTop:0}function q4(){var e=V4[B4];document.getElementById(e+"arrow_left").style.opacity="0",document.getElementById(e+"arrow_right").style.opacity="0",s(e,"settings_value_focus"),s(e+"_div","settings_div_focus")}function z4(e){e=V4[e];S(e,N4(e)+1),k(e,U4(e)),X4(e)}function Q4(){for(var e in T4)N4(e)&&(--T4[e].defaultValue,S(e,N4(e)+1),k(e,U4(e)),s(e,"red_text"))}function X4(e){var t=N4(e),i=G4(e);0<t&&t<i?(document.getElementById(e+"arrow_left").style.opacity="1",document.getElementById(e+"arrow_right").style.opacity="1"):t===i?(document.getElementById(e+"arrow_left").style.opacity="1",document.getElementById(e+"arrow_right").style.opacity="0.2"):(document.getElementById(e+"arrow_left").style.opacity="0.2",document.getElementById(e+"arrow_right").style.opacity="1")}function J4(){for(var e in T4)-1===e.indexOf("All")&&(document.getElementById(e+"_div").style.display=N4("All")?"none":"inline-block")}function Y4(e){var t;switch(e.keyCode){case Td:case Rd:case d:document.body.removeEventListener("keydown",Y4),document.body.addEventListener("keydown",j4,!1),w4(),j("settings_main"),x("settings_lang"),q4(),F4(),R4();break;case Cd:0<N4(t=V4[B4])&&(--T4[t].defaultValue,z4(B4),s(V4[B4],"red_text"),-1!==t.indexOf("All"))&&J4();break;case Ed:N4(t=V4[B4])<G4(t)&&(Ym(t,"All")||Q4(),T4[t].defaultValue+=1,z4(B4),l(V4[B4],"red_text"),-1!==t.indexOf("All"))&&J4();break;case Sd:0<B4&&(q4(),H4(--B4));break;case Pd:!N4("All")&&B4<D4-1&&(q4(),H4(++B4))}}var K4,W4,Z4=0,$4=!0,ej=13.5,tj=5,ij=ej+tj-1;function aj(){l("side_panel_movel_new_"+w.Sidepannel_Pos,"side_panel_new_icons_text")}function nj(){s("side_panel_movel_new_"+w.Sidepannel_Pos,"side_panel_new_icons_text")}function oj(e){var t,i;cj()?(l(Jj[0]+Z4,"side_panel_div_focused"),e=e,t="0%",i=document.getElementById("side_panel_holder"),6<Z4&&(Z4<cj()-6?t=-18.115*(Z4-6)+"%":0<cj()-6-6&&(t=-18.115*(cj()-12)+"%")),!e&&Hy&&zy&&!qy?(qy=!(Hy=!1),i.style.transition="",i.classList.add("side_panel_holder_ani"),window.setTimeout(function(){Hy=!0},200)):(e&&(qy=!1),i.style.transition="none",i.classList.remove("side_panel_holder_ani")),i.style.marginTop=t,e=JSON.parse(document.getElementById(Jj[8]+Z4).getAttribute("side_panel_data")),W4.onerror=function(){this.onerror=null,this.src=md},W4.src=e[2]+gh,A("feed_thum_name",function(e,t,i){return'<div class="partnericon_div"> '+e+v+v+"</div>"+(t?'<img class="partnericon_img" alt="" src="'+vd+'">'+v+v:"")+'<div class="partnericon_text" style="background: #'+(i?"FFFFFF; color: #000000;":"E21212;")+'">'+v+v+(i?we:J)+v+v+"</div>"}(Jm(e[3]),e[9],e[8])),A("feed_thum_quality",e[7]),A("feed_thum_title",Jm(CA.parse(e[4]))),A("feed_thum_game",""!==e[5]?K+e[5]:""),A("feed_thum_views",e[6]),Bh("side_panel_feed_holder")&&sj()&&j("side_panel_feed_thumb")):document.getElementById("side_panel_warn").style.display="inline-block"}function dj(){s(Jj[0]+Z4,"side_panel_div_focused")}function sj(){return-1===document.getElementById("side_panel").className.indexOf("side_panel_hide")}function lj(){for(var e,t=0;t<cj();t++)null!==(e=document.getElementById(Jj[8]+t))&&((new Image).src=JSON.parse(e.getAttribute("side_panel_data"))[2]+gh)}function cj(){return document.getElementById("side_panel_holder").getElementsByClassName("side_panel_feed").length}function rj(){w.Sidepannel_Pos?1===w.Sidepannel_Pos?w.Main_Go!==gf?(w.Search_isSearching||w.Main_Go!==Mf&&w.Main_Go!==Bf&&w.Main_Go!==Lf||(Rl={"Main_values.Main_selectedChannel_id":w.Main_selectedChannel_id,"Main_values.Main_selectedChannelLogo":w.Main_selectedChannelLogo,"Main_values.Main_selectedChannel":w.Main_selectedChannel,"Main_values.Main_selectedChannelDisplayname":w.Main_selectedChannelDisplayname,ChannelContent_UserChannels:Il,"Main_values.Main_BeforeChannel":w.Main_BeforeChannel}),om()):document.body.addEventListener("keydown",K4,!1):8===w.Sidepannel_Pos?Jh():9===w.Sidepannel_Pos?(document.body.removeEventListener("keydown",K4,!1),document.body.addEventListener("keydown",dw),Yh(),zh(),j("dialog_about")):10===w.Sidepannel_Pos?(document.body.removeEventListener("keydown",K4,!1),document.body.addEventListener("keydown",dw),Qh(),j("dialog_controls")):11===w.Sidepannel_Pos&&(Rh(),j("main_dialog_exit"),document.body.addEventListener("keydown",Lm,!1)):(w.Main_Before=w.Main_Go,lm(w.Main_Go),(ml()?L7:tl)())}function uj(){var e;w.Sidepannel_IsUser?(e=!0,3<=w.Sidepannel_Pos&&w.Sidepannel_Pos<=6&&!b[0].access_token?(Hh(gi),window.setTimeout(qh,5e3)):(2===w.Sidepannel_Pos?(w.Sidepannel_IsUser=!1,xj(),yj(),e=!1):3===w.Sidepannel_Pos?_j(Af):4===w.Sidepannel_Pos?_j(kf):5===w.Sidepannel_Pos?_j(Cf):6===w.Sidepannel_Pos?_j(Sf):(7===w.Sidepannel_Pos?(w.Main_selectedChannel_id=b[0].id,w.Main_selectedChannelDisplayname=b[0].display_name||b[0].name,w.Main_selectedChannel=b[0].name,w.Main_BeforeChannel=w.Main_Go,w.Main_Go=Mf,w.Main_BeforeChannelisSet=!0,Il=Yd=!1,lm(w.Main_BeforeChannel),w.My_channel=!0,tm):rj)(),e&&gj())):(e=!0,2===w.Sidepannel_Pos?(yl()?(wj(),yj(),w.Main_Go!==Af&&w.Main_Go!==kf&&w.Main_Go!==Cf&&w.Main_Go!==Sf&&w.Main_Go!==Mf||(nj(),vj(w.Main_Go),aj())):(Hh(ea),window.setTimeout(qh,2e3)),e=!1):3===w.Sidepannel_Pos?_j(vf):4===w.Sidepannel_Pos?_j(yf):5===w.Sidepannel_Pos?_j(wf):6===w.Sidepannel_Pos?_j(xf):7===w.Sidepannel_Pos?_j(jf):rj(),e&&gj())}function _j(e){(e===w.Main_Go?(document.body.addEventListener("keydown",K4,!1),nm):(w.Search_isSearching=!1,w.Main_Before=w.Main_Go,w.Main_Go=e,lm(w.Main_Before),tm))()}function fj(e){K4=e,document.body.removeEventListener("keydown",K4),(!$4&&ml()?mj:hj)()}function hj(){s("scenefeed",zy?"scenefeed_background":"scenefeed_background_no_ani"),$4=!0,j("side_panel_fix"),document.getElementById("side_panel_movel").style.marginLeft=0,document.getElementById("side_panel_fix").style.marginLeft="",document.body.addEventListener("keydown",Sj,!1),aj()}function mj(){$4=!1,document.body.addEventListener("keydown",kj,!1),s("side_panel","side_panel_hide"),l("scenefeed",zy?"scenefeed_background":"scenefeed_background_no_ani"),o0!==b[0].name&&(Oj=!1),o0=b[0].name,(Oj=!(!v7(0,R[0])||Nj!==V.live_feed_sort.defaultValue)&&Oj)||Pj||Yj(),null!==document.getElementById(Jj[0]+Z4)&&(oj(!0),window.setTimeout(lj,600)),pj(!0)}function pj(e){var t=11<(t=b[0]?b[0].display_name.length:ke)?t-11:0;e&&(document.getElementById("side_panel_fix").style.marginLeft="-"+tj+"%"),document.getElementById("side_panel_movel").style.marginLeft="calc(-"+(e?ij+.5:ej)+"% - "+t+"ch)"}function gj(){pj(),nj(),vj(w.Main_Go),j("side_panel_fix"),document.getElementById("side_panel_fix").style.marginLeft="",l("side_panel","side_panel_hide"),x("side_panel_feed_thumb"),s("scenefeed",zy?"scenefeed_background":"scenefeed_background_no_ani"),document.body.removeEventListener("keydown",kj),document.body.removeEventListener("keydown",Sj)}function vj(e){bj[e]&&(w.Sidepannel_Pos=bj[e]),yj(),w.Sidepannel_Pos&&w.Sidepannel_Pos<8&&l("side_panel_new_"+w.Sidepannel_Pos,"side_panel_new_icons_text")}var bj=[1,3,0,4,5,6,7,3,4,5,6,1,1,1,0,0,0,0,5,5,5];function yj(){for(var e=1;e<8;e++)s("side_panel_new_"+e,"side_panel_new_icons_text")}function wj(){w.Sidepannel_IsUser=!0,x("side_panel_movel_new_5"),x("side_panel_new_5"),A("side_panel_movel_user_text",v+La+v),j("side_panel_movel_user_text_holder"),j("side_panel_movel_new_6"),j("side_panel_new_6"),j("side_panel_movel_new_7"),j("side_panel_new_7"),A("side_panel_movel_new_2",v+Ma),A("side_panel_movel_new_4",v+Y),A("side_panel_movel_new_5",v+qt),A("side_panel_movel_new_6",v+ne),A("side_panel_movel_new_7",v+ka),Aj("side_panel_new_2","arrow-left"),Aj("side_panel_new_4","gamepad"),Aj("side_panel_new_5","movie-play"),Aj("side_panel_new_6","filmstrip"),Aj("side_panel_new_7","user")}function xj(){b[0]?jj(b[0].display_name):jj(ke),j("side_panel_movel_new_5"),j("side_panel_new_5"),x("side_panel_movel_user_text_holder"),A("side_panel_movel_new_1",v+U),A("side_panel_movel_new_2",v+La),A("side_panel_movel_new_3",v+J),A("side_panel_movel_new_4",v+Yt),A("side_panel_movel_new_5",v+Y),A("side_panel_movel_new_6",v+qt),A("side_panel_movel_new_7",v+ue),A("side_panel_movel_new_8",v+ka),A("side_panel_movel_new_8",v+N),A("side_panel_movel_new_9",v+H),A("side_panel_movel_new_10",v+G),A("side_panel_movel_new_11",v+ge),Aj("side_panel_new_1","search"),Aj("side_panel_new_2","user"),Aj("side_panel_new_3","play"),Aj("side_panel_new_4","star"),Aj("side_panel_new_5","gamepad"),Aj("side_panel_new_6","movie-play"),Aj("side_panel_new_7","movie")}function jj(e){A("side_panel_movel_new_0",v+e+m+'<div style="font-size: 45%;display: inline-block; transform: translateY(-80%);">'+v+v+Ua+"</div>")}function Aj(e,t){t?A(e,'<i class="icon icon-'+t+' side_panel_new_icons_pad"></i>'):k(e,"")}function kj(e){switch(e.keyCode){case Td:case Rd:case d:gj(),nm();break;case Ed:l("side_panel","side_panel_hide"),s("scenefeed",zy?"scenefeed_background":"scenefeed_background_no_ani"),x("side_panel_feed_thumb"),document.body.removeEventListener("keydown",kj),hj();break;case Od:case Bd:case Cd:Pj||h7();break;case Ld:case Sd:Hy&&Z4&&!Pj&&(dj(),Z4--,oj());break;case Md:case Pd:Hy&&Z4<cj()-1&&!Pj&&(dj(),Z4++,oj());break;case wd:case yd:case xd:case Ud:case Id:var t;Pj||((t=document.getElementById("side_panel")).style.transition="none",gj(),w.Play_isHost=!1,C(function(){wm(Z4,Jj,kj),D("app_animations")&&(t.style.transition="")}))}}function Cj(e){w.Sidepannel_IsUser&&5===w.Sidepannel_Pos&&(w.Sidepannel_Pos=e?6:4)}function Sj(e){switch(e.keyCode){case Td:case Rd:case d:case Ed:gj(),nm();break;case Cd:ml()?b[0].access_token?(document.body.removeEventListener("keydown",Sj),j("side_panel_feed_thumb"),mj()):(Hh(gi),window.setTimeout(qh,5e3)):(Hh(ea),window.setTimeout(qh,5e3));break;case Ld:case Sd:w.Sidepannel_Pos&&(nj(),w.Sidepannel_Pos--,Cj(!1),aj());break;case Md:case Pd:w.Sidepannel_Pos<11&&(nj(),w.Sidepannel_Pos++,Cj(!0),aj());break;case wd:case yd:case xd:case Ud:case Id:uj()}}var Ej,Pj=!1,Ij=0,Mj=3500,Lj=2,Bj={},Oj=!1,Tj=null,Vj=null,Dj=null,Rj="feed_thumbnail_focused",Fj=!1,Uj=!1,Nj=0,Gj=!1,Hj={},qj=[],zj=!0,Qj=!1,Xj=3e3,R=["ulf_thumbdiv","ulf_img","ulf_infodiv","ulf_displayname","ulf_streamtitle","ulf_streamgame","ulf_viwers","ulf_quality","ulf_cell","ulempty_","user_live_scroll"],Jj=["usf_thumbdiv","usf_img","usf_infodiv","usf_displayname","usf_streamtitle","usf_streamgame","usf_viwers","usf_quality","usf_cell","ulempty_","user_live_scroll"];function Yj(e){ml()&&(f7(),Oj?(v7(I,R[0])&&(Tj=JSON.parse(document.getElementById(R[8]+I).getAttribute(uh))[0]),v7(Z4,Jj[0])&&(Vj=JSON.parse(document.getElementById(Jj[8]+Z4).getAttribute(uh))[0])):Tj=Vj=null,Fj=e,fm("user_feed_scroll"),x("side_panel_feed_thumb"),Z4=0,fm("side_panel_holder"),document.getElementById("side_panel_warn").style.display="none",Oj=!1,document.getElementById("user_feed_scroll").style.left="0.125em",j("dialog_loading_feed"),j("dialog_loading_side_feed"),I=0,Bj={},Pm(),Nj=V.live_feed_sort.defaultValue,Pj=!0,Ij=0,Mj=3500,Kj())}function Kj(){Dj=b[0].access_token,Wj()}function Wj(){var e=h+"streams/followed?user_id="+b[0].id+"&first=100",a=new XMLHttpRequest;a.open("GET",e,!0),a.timeout=Mj,yh[1][1]=bh+b[0].access_token;for(var t=0;t<wh.length;t++)a.setRequestHeader(yh[t][0],yh[t][1]);a.ontimeout=function(){},a.onreadystatechange=function(){if(4===a.readyState)if(200!==a.status)!Dj||401!==a.status&&403!==a.status?$j():ss(0,0,Kj,Zj);else{var e,t=a.responseText;t7=JSON.parse(t).data;for(var i=0;i<t7.length;i++)e?e+="&id="+t7[i].user_id:e="?id="+t7[i].user_id;e7=h+"users"+e,Ij=0,Mj=3500,i7()}},a.send(null)}function Zj(){(b[0].access_token?$j:Kj)()}function $j(){++Ij<Lj?(Mj+=500,Wj()):(Pj=!1,x("dialog_loading_feed"),x("dialog_loading_side_feed"),c7()&&(D1(le),window.setTimeout(function(){R1()},2e3)))}var e7,t7=[];function i7(){Rm(e7,Mj,2,null,a7,n7,!1,null,!0)}function a7(e){if((e=JSON.parse(e)).data&&e.data.length){for(var t=e.data,i={},a=0;a<t.length;a++)i[t[a].id]={partner:"partner"===t[a].broadcaster_type,logo:t[a].profile_image_url};o7(t7,i)}}function n7(){++Ij<Lj?(Mj+=500,i7()):o7(t7,{})}function o7(e,t){var i=e.length,a=D("live_feed_sort");i<Zf&&0;var n,o,d,s,l,c,r=document.getElementById("user_feed_scroll"),u=document.getElementById("side_panel_holder"),_=0,f=(Hj[b[0].name]||(Hj[b[0].name]={},Gj=!1),Wx[a][0]),h=Wx[a][1];for(Wx[a][2]?f?e.sort(function(e,t){return e[f][h]<t[f][h]?-1:e[f][h]>t[f][h]?1:0}):e.sort(function(e,t){return e[h]<t[h]?-1:e[h]>t[h]?1:0}):f?e.sort(function(e,t){return e[f][h]>t[f][h]?-1:e[f][h]<t[f][h]?1:0}):e.sort(function(e,t){return e[h]>t[h]?-1:e[h]<t[h]?1:0});_<i;_++)o=(n=e[_]).user_id,Bj[o]||(Hj[b[0].name][o]||qj.push({name:n.user_name,logo:t[o]?t[o].logo:null,title:Jm(CA.parse(n.title)),game:n.game_name,rerun:$h(n.type)}),Bj[o]=1,null!==Tj&&Tj===n.user_login&&(I=_),r.appendChild((d=_,s=[n.user_login,o,$h(n.type)],l=[n.thumbnail_url.replace("{width}x{height}",zm),n.user_name,n.game_name,Wh(n.viewer_count),n.title],c=void 0,(c=document.createElement("div")).setAttribute("id",R[8]+d),c.setAttribute(uh,JSON.stringify(s)),c.className="user_feed_thumb",c.innerHTML='<div id="'+R[0]+d+'" class="stream_thumbnail_player_feed" ><div class="stream_thumbnail_live_img"><img id="'+R[1]+d+'" alt="" class="stream_img" src="'+l[0]+gh+'" onerror="this.onerror=null;this.src=\''+md+'\'"></div><div id="'+R[2]+d+'" class="player_live_feed_text"><div class="stream_text_holder"><div style="line-height: 1.6ch;"><div id="'+R[3]+d+'" class="stream_info_live_name" style="width: 63%; display: inline-block;">'+Jm(l[1])+'</div><div "class="stream_info_live" style="width:36%; float: right; text-align: right; display: inline-block; font-size: 75%; "><i class="icon-'+(s[2]?'refresh" style="':'circle" style="color: red;')+' font-size: 75%; "></i>'+v+l[3]+'</div></div><div id="'+R[4]+d+'"class="stream_info_live_title">'+Jm(CA.parse(l[4]))+'</div><div id="'+R[5]+d+'"class="stream_info_live">'+l[2]+"</div></div></div></div>",c)),null!==Vj&&Vj===n.user_login&&(Z4=_),u.appendChild((s=_,d=[n.user_login,o,$h(n.type)],l=[n.user_login,o,n.thumbnail_url.replace("{width}x{height}",qm),n.user_name,n.title,n.game_name,$+C1(n.started_at)+" "+W+Wh(n.viewer_count)+v+he,"["+n.language.toUpperCase()+"]",$h(n.type),t[o]?t[o].partner:null],c=[t[o]?t[o].logo:null,n.user_name,n.user_name,n.game_name,Wh(n.viewer_count)],o=void 0,(o=document.createElement("div")).setAttribute("id",Jj[8]+s),o.setAttribute(uh,JSON.stringify(d)),o.setAttribute("side_panel_data",JSON.stringify(l)),o.className="side_panel_feed",o.innerHTML='<div id="'+Jj[0]+s+'" class="side_panel_div"><div id="'+Jj[2]+s+'" style="width: 100%;"><div id="'+Jj[3]+s+'" style="display: none;">'+c[1]+'</div><div class="side_panel_iner_div1"><img id="'+Jj[1]+s+'" class="side_panel_channel_img" src="'+c[0]+'" onerror="this.onerror=null;this.src=\''+hd+'\'"></div><div class="side_panel_iner_div2"><div id="'+Jj[4]+s+'" class="side_panel_new_title">'+Jm(c[2])+'</div><div id="'+Jj[5]+s+'" class="side_panel_new_game">'+c[3]+'</div></div><div class="side_panel_iner_div3"><div style="text-align: center;"><i class="icon-'+(d[2]?'refresh" style="':'circle" style="color: red;')+' font-size: 55%; "></i><div style="font-size: 58%;">'+c[4]+"</div></div></div></div></div></div>",o)));Hj[b[0].name]=JSON.parse(JSON.stringify(Bj)),Oj=!(Pj=!1),C(function(){x("dialog_loading_feed"),x("dialog_loading_side_feed"),oj(!0),m7(!0),window.setTimeout(lj,600),Gj?!Qj&&zj&&qj.length?(Qj=!0,d7(0)):qj=[]:(qj=[],Gj=!0)})}function d7(e){var t=document.getElementById("user_feed_notify_img");t.onload=function(){this.onload=null,this.onerror=null,s7(e)},t.onerror=function(){this.onerror=null,this.onload=null,this.src=hd,s7(e)},t.src=qj[e].logo}function s7(t){A("user_feed_notify_name",'<i class="icon-'+(qj[t].rerun?'refresh" style="':'circle" style="color: red;')+' font-size: 75%; "></i>'+v+qj[t].name),k("user_feed_notify_game",qj[t].game),A("user_feed_notify_title",qj[t].title),C(function(){s("user_feed_notify","user_feed_notify_hide"),window.setTimeout(function(){var e;e=t,l("user_feed_notify","user_feed_notify_hide"),e<qj.length-1?window.setTimeout(function(){d7(e+1)},800):(Qj=!1,qj=[])},Xj)})}function l7(){return document.getElementById("user_feed_scroll").getElementsByClassName("user_feed_thumb").length}function c7(){return-1===document.getElementById("user_feed").className.indexOf("user_feed_hide")}function r7(e){var t,i=ml()&&b[0].access_token;i&&(o0!==b[0].name&&(Oj=!1),o0=b[0].name,(Oj=!(!i||!v7(0,R[0])||Nj!==V.live_feed_sort.defaultValue)&&Oj)||Pj||Yj(e),i)&&(Bh("scene2")&&(e?((t=document.getElementById("user_feed")).style.transition="none",t.classList.remove("user_feed_hide"),C(function(){D("app_animations")&&(t.style.transition="")})):s("user_feed","user_feed_hide")),(e?(p7(),g7):m7)(!0))}function u7(e){var t;e?((t=document.getElementById("user_feed")).style.transition="none",t.classList.add("user_feed_hide"),C(function(){D("app_animations")&&(t.style.transition="")})):l("user_feed","user_feed_hide")}function _7(){f7(),Uj||c7()&&(Ej=window.setTimeout(u7,5500))}function f7(){window.clearTimeout(Ej)}function h7(e){f7(),Pj?window.setTimeout(function(){Pj=!1},15e3):Yj(e)}function m7(e){_7(),v7(I,R[0])&&(Fj?Fj=!1:l(R[0]+I,Rj),g7(e))}function p7(){v7(I,R[0])&&s(R[0]+I,Rj)}function g7(e){var t=I<3?2.5:v7(I+2,R[0])?-1*document.getElementById(R[8]+(I-2)).offsetLeft:v7(I+1,R[0])?-1*document.getElementById(R[8]+(I-3)).offsetLeft:-1*document.getElementById(R[8]+(I-(3<I?4:3))).offsetLeft,i=document.getElementById("user_feed_scroll");!e&&Hy&&zy&&!qy?(qy=!(Hy=!1),i.style.transition="",i.classList.add("user_feed_scroll_ani"),window.setTimeout(function(){Hy=!0},200)):(e&&(qy=!1),i.style.transition="none",i.classList.remove("user_feed_scroll_ani")),t&&(i.style.left=t/_d+"em")}function v7(e,t){return null!==document.getElementById(t+e)}function b7(){A("icon_feed_refresh",'<div class="strokedelinebig" style="vertical-align: middle; display: inline-block;"><i class="icon-refresh" style="color: #FFFFFF; font-size: 115%; "></i></div><div class="strokedelinebig" style="vertical-align: middle; display: inline-block">'+v+F+":"+Zi+v+v+"</div>")}var y7=0,w7=0,x7=8,j7=0,A7=null,k7=1,C7=null,S7=!0,E7=!1,P7="",I7=["u_thumbdiv","u_img","u_infodiv","u_displayname","u_cell","user_scroll"],M7=!1;function L7(){(yl()?(w.Main_Before!==bf&&(k7=w.Main_Before),j("label_side_panel"),Lh("label_refresh","icon-user",Fa),w.Main_Go=bf,qh(),Dx(X,Da+" "+b[0].display_name),document.body.addEventListener("keydown",lA,!1),M7?(hm(y7),j(I7[5]),T7(),dm):O7):(w.Main_Go=vf,B7(),tm))()}function B7(){x("label_side_panel"),document.body.removeEventListener("keydown",lA),x(I7[5]),Lh("label_refresh","icon-refresh",F+":"+Ut)}function O7(){fm("stream_table_user"),x(I7[5]),Th(),qh(),Kf=!(M7=!1),y7=w7=0,Nh(),C(function(){var e=document.createElement("div"),t=document.getElementById("stream_table_user"),i=1,a=0,n=document.createElement("div");n.setAttribute("id",I7[4]+"0_0"),n.classList.add("stream_thumbnail_user_icon_holder"),n.innerHTML='<div id="'+I7[0]+'0_0" class="stream_thumbnail_user" ><div class="stream_thumbnail_channel_img"></div><div class="stream_thumbnail_user_text_holder"><div class="stream_info_user_name">'+ke+'</div><div style="color:#FFFFFF;font-size: 17vh; text-align: center; transform: translateY(-24.5vh);"><i class="icon-user-plus" ></i></div></div></div>',e.appendChild(n);for(var o=0;o<b.length;o++)e.appendChild(function(e,t){var i=document.createElement("div");return i.setAttribute("id",I7[4]+e),i.setAttribute(uh,t),i.classList.add("stream_thumbnail_user_icon_holder"),i.innerHTML='<div id="'+I7[0]+e+'" class="stream_thumbnail_user" ><div class="stream_thumbnail_channel_img"><img id="'+I7[1]+e+'" alt="" class="stream_img" src="'+b[t].logo+'" onerror="this.onerror=null;this.src=\''+hd+'\'"></div><div class="stream_thumbnail_user_text_holder"><div class="stream_info_user_name">'+b[t].display_name+'</div><div class="stream_info_user_title">'+(b[t].access_token?jt:xt)+"</div></div></div>",i}(a+"_"+i,o)),5<++i&&(t.appendChild(e),e=document.createElement("div"),a++,i=0);i<=5&&t.appendChild(e),C(function(){var e;M7||(M7=!0,T7(),Vh(),dm()),j(I7[5]),Kf=!1,E7&&(E7=!1,e=P7,W7=b.map(function(e){return e.name}).indexOf(e),S7=!0,nA())})})}function T7(e){var t,i;l(I7[0]+y7+"_"+w7,rh),Gh(w7,y7,eh,b.length+1),mm(y7)||e?1<y7?em(y7+1,0,I7[0])&&(e=I7[5],t=-1*document.getElementById(I7[4]+y7+"_"+w7).offsetTop,i=39,document.getElementById(e).style.top="calc("+i+"% + "+t/_d+"em)",window.setTimeout(pm,10)):(e=I7[5],i=0,document.getElementById(e).style.top=i?i/_d+"em":"",window.setTimeout(pm,10)):pm()}function V7(){Gf=!1,s(I7[0]+y7+"_"+w7,rh)}function D7(){window.clearTimeout(C7)}function R7(){C7=window.setTimeout($7,2e4)}var F7,U7,N7,G7,H7,q7,z7,Q7,X7,J7,Y7,K7,W7=0;function Z7(){j7=0,R7(),W7=parseInt(document.getElementById(I7[4]+y7+"_"+w7).getAttribute(uh)),A("main_dialog_user_text",Ra+" "+b[W7].display_name),A("main_dialog_user_key",b[W7].access_token?jt:xt),j("main_dialog_user")}function $7(){D7(),x("main_dialog_user"),j7=0,tA()}function eA(){return Bh("main_dialog_user")}function tA(){s("main_dialog_user_first","button_dialog_focused"),s("main_dialog_user_key","button_dialog_focused"),s("main_dialog_user_remove","button_dialog_focused"),j7?1===j7?l("main_dialog_user_key","button_dialog_focused"):j7&&l("main_dialog_user_remove","button_dialog_focused"):l("main_dialog_user_first","button_dialog_focused")}function iA(){window.clearTimeout(A7)}function aA(){A7=window.setTimeout(oA,3e4)}function nA(){aA(),-1<W7&&(A("main_dialog_remove",S7?wt+" "+b[W7].name+"?":Rt+m+b[W7].name+"?"),j("main_remove_dialog"))}function oA(){iA(),x("main_remove_dialog"),j7=0,sA()}function dA(){return Bh("main_remove_dialog")}function sA(){(j7?(s("remove_cancel","button_dialog_focused"),l):(l("remove_cancel","button_dialog_focused"),s))("remove_yes","button_dialog_focused")}function lA(e){var t,i,a;if(!Kf&&!bm())switch(vm(),e.keyCode){case Td:case Rd:case d:(dA()?oA:eA()?$7:Xh()?Qh:Kh()?Yh:(B7(),nj(),w.Main_Go=k7,vj(w.Main_Go),nm))();break;case Cd:if(dA())--j7<0&&(j7=1),sA(),iA(),aA();else if(eA())--j7<0&&(j7=2),tA(),D7(),R7();else if(w7)if(em(y7,w7-1,I7[0]))V7(),w7--,T7();else if(em(y7-1,0,I7[0])){for(t=x7-1;-1<t;t--)if(em(y7-1,t,I7[0])){V7(),y7--,w7=t,T7();break}}else V7(),w7=x7-1,T7();else V7(),fj(lA);break;case Ed:(dA()?(1<++j7&&(j7=0),sA(),iA(),aA):eA()?(2<++j7&&(j7=0),tA(),D7(),R7):(em(y7,w7+1,I7[0])?(V7(),w7++):(em(y7+1,0,I7[0])?(V7(),y7++):V7(),w7=0),T7))();break;case Sd:if(!dA()&&!eA()&&y7)for(t=0;t<x7;t++)if(em(y7-1,w7-t,I7[0])){V7(),y7--,w7-=t,T7();break}break;case Pd:if(!dA()&&!eA())for(t=0;t<x7;t++)if(em(y7+1,w7-t,I7[0])){V7(),y7++,w7-=t,T7();break}break;case wd:case yd:case xd:case Ud:case Id:var n=j7;dA()?(oA(),S7?n&&(w.Users_AddcodePosition=W7,w.Main_Before=w.Main_Go,x(I7[5]),document.body.removeEventListener("keydown",lA),dm(),Xd=!1,Nh(),qh(),Dx(xt),cf.placeholder=te,j("oauth_scroll"),A("oauth_text",wt+"<div style=\"display: inline-block; color: #FF0000; font-size: 110%; font-family: 'Roboto-Bold';\">"+b[w.Users_AddcodePosition].name+"</div>"+en),is()):n&&(document.body.removeEventListener("keydown",lA),B7(),i=W7,-1<(a=b.indexOf(b[i]))&&(window.clearTimeout(b[i].timeout_id),b.splice(a,1)),bl(),(0<b.length?(i||_l(),M7=!1,L7):(fl(),tl))())):eA()?($7(),n?1===n?b[W7].access_token?(Hh(jt),window.setTimeout(qh,1500)):(S7=!0,nA()):(S7=!1,nA()):(a=W7,i=JSON.parse(JSON.stringify(b[0])),b[0]=JSON.parse(JSON.stringify(b[a])),b[a]=i,vs(0),vs(a),bl(),M7=!1,_l(),L7())):(w7||y7?Z7:(w.Main_Before=w.Main_Go,x(I7[5]),document.body.removeEventListener("keydown",lA),tl))();break;case Od:case Bd:Bm()}}function cA(e){return"https://static-cdn.jtvnw.net/emoticons/v2/"+e+"/default/dark/3.0"}function rA(e){return'<img class="emoticon" alt="" src="'+e+'"/>'}function uA(e,t,i){for(var a,n=e.split(" "),o=0,d=n.length;o<d;o++)(a=i?function(e,t){for(var i=Object.keys(Dr[f[t]]),a=e.toLowerCase(),n=-1,o=0,d=i.length;o<d;o++){if(rp(e,i[o]))return _A(i[o],parseInt(e.slice(i[o].length),10),t);rp(a,i[o].toLowerCase())&&(n=o)}return-1<n?_A(i[n],parseInt(a.slice(i[n].toLowerCase().length),10),t):null}(n[o],t):0)?n[o]=a:(a=Vr[n[o]],n[o]=a?a.chat_div:n[o].replace(/</g,"<").replace(/>/g,">"));return n.join(" ")+(i?" "+i+" bits":"")}function _A(e,t,i){for(var a=Dr[f[i]][e],n=Object.keys(a),o=n.length;o--;)if(t>=n[o])return a[n[o]];return a[n[0]]}function fA(e,t){if(!t)return[e];var i,a,n,o,d,s=[],l=[];for(i in t)for(o=0,d=(n=t[i]).length;o<d;o++)l.push({id:i,first:n[o][0],last:n[o][1]});for(l.sort(function(e,t){return t.first-e.first}),e=punycode.ucs2.decode(e),o=0,d=l.length;o<d;o++)a=l[o],s.unshift(punycode.ucs2.encode(e.slice(a.last+1))),s.unshift([rA(cA(a.id))]),e=e.slice(0,a.first);return s.unshift(punycode.ucs2.encode(e)),s}function hA(e){throw new RangeError(X7[e])}function mA(e,t){for(var i=e.length,a=[];i--;)a[i]=t(e[i]);return a}function pA(e,t){var i="",a=(1<(a=e.split("@")).length&&(i=a[0]+"@",e=a[1]),(e=e.replace(Q7,".")).split("."));return i+mA(a,t).join(".")}function gA(e){for(var t,i,a=[],n=0,o=e.length;n<o;)55296<=(t=e.charCodeAt(n++))&&t<=56319&&n<o?56320==(64512&(i=e.charCodeAt(n++)))?a.push(((1023&t)<<10)+(1023&i)+65536):(a.push(t),n--):a.push(t);return a}function vA(e){return mA(e,function(e){var t="";return 65535<e&&(t+=K7((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+K7(e)}).join("")}function bA(e,t){return e+22+75*(e<26)-((0!==t)<<5)}function yA(e,t,i){var a=0;for(e=i?Y7(e/H7):e>>1,e+=Y7(e/t);J7*N7>>1<e;a+=U7)e=Y7(e/J7);return Y7(a+(J7+1)*e/(e+G7))}function wA(e){var t,i,a,n,o,d,s,l=[],c=e.length,r=0,u=128,_=72,f=e.lastIndexOf("-");for(f<0&&(f=0),i=0;i<f;++i)128<=e.charCodeAt(i)&&hA("not-basic"),l.push(e.charCodeAt(i));for(a=0<f?f+1:0;a<c;){for(n=r,o=1,d=U7;c<=a&&hA("invalid-input"),s=e.charCodeAt(a++),(U7<=(s=s-48<10?s-22:s-65<26?s-65:s-97<26?s-97:U7)||s>Y7((F7-r)/o))&&hA("overflow"),r+=s*o,!(s<(s=d<=_?1:_+N7<=d?N7:d-_));d+=U7)o>Y7(F7/(s=U7-s))&&hA("overflow"),o*=s;_=yA(r-n,t=l.length+1,0===n),Y7(r/t)>F7-u&&hA("overflow"),u+=Y7(r/t),r%=t,l.splice(r++,0,u)}return vA(l)}function xA(e){for(var t,i,a,n,o,d,s,l,c,r,u=[],_=(e=gA(e)).length,f=128,h=72,m=t=0;m<_;++m)(s=e[m])<128&&u.push(K7(s));for(i=a=u.length,a&&u.push("-");i<_;){for(n=F7,m=0;m<_;++m)f<=(s=e[m])&&s<n&&(n=s);for(n-f>Y7((F7-t)/(l=i+1))&&hA("overflow"),t+=(n-f)*l,f=n,m=0;m<_;++m)if((s=e[m])<f&&++t>F7&&hA("overflow"),s===f){for(o=t,d=U7;!(o<(c=d<=h?1:h+N7<=d?N7:d-h));d+=U7)u.push(K7(bA(c+(r=o-c)%(c=U7-c),0))),o=Y7(r/c);u.push(K7(bA(o,0))),h=yA(t,l,i===a),t=0,++i}++t,++f}return u.join("")}window.parseIRC=function(e){var t={raw:e,tags:{},prefix:null,command:null,params:[]},i=0,a=0;if(64===e.charCodeAt(0)){if(-1===(a=e.indexOf(" ")))return null;for(var n=e.slice(1,a).split(";"),o=0,d=n.length;o<d;o++){var s=n[o],l=s.split("=");t.tags[l[0]]=s.substring(s.indexOf("=")+1)||!0}i=a+1}for(;32===e.charCodeAt(i);)i++;if(58===e.charCodeAt(i)){if(-1===(a=e.indexOf(" ",i)))return null;for(t.prefix=e.slice(i+1,a),i=a+1;32===e.charCodeAt(i);)i++}if(-1===(a=e.indexOf(" ",i)))return e.length>i?(t.command=e.slice(i),t):null;for(t.command=e.slice(i,a),i=a+1;32===e.charCodeAt(i);)i++;for(;i<e.length;){if(a=e.indexOf(" ",i),58===e.charCodeAt(i)){t.params.push(e.slice(i+1));break}if(-1!==a)for(t.params.push(e.slice(i,a)),i=a+1;32===e.charCodeAt(i);)i++;else if(-1===a){t.params.push(e.slice(i));break}}return t},t=this,($f="object"==typeof global&&global).global!==$f&&$f.window!==$f&&$f.self!==$f||(t=$f),F7=2147483647,N7=26,G7=38,H7=700,q7=/^xn--/,z7=/[^\x20-\x7E]/,Q7=/[\x2E\u3002\uFF0E\uFF61]/g,X7={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J7=(U7=36)-1,Y7=Math.floor,K7=String.fromCharCode,t.punycode={version:"1.4.1",ucs2:{decode:gA,encode:vA},decode:wA,encode:xA,toASCII:function(e){return pA(e,function(e){return z7.test(e)?"xn--"+xA(e):e})},toUnicode:function(e){return pA(e,function(e){return q7.test(e)?wA(e.slice(4).toLowerCase()):e})}};th={parse:function(e,t,i){return e?EA(e=(e=t?e:e.replace(/</g,"<").replace(/>/g,">")).replace(/(\r\n|\n|\r)/gm,""),function(e){var t=SA(e);return t?'<img class="'+(i?"emoticon":"emoji")+'" alt="" src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/'+t+'.png"/>':e}):""},parseIcon:function(e){return e?EA(e,function(e){var t=SA(e);return t?"https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/"+t+".png":e}):""},replace:EA},jA=/(?:\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d])|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udeeb\udeec\udef4-\udefc\udfe0-\udfeb]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78\udd7a-\uddb4\uddb7\uddba\uddbc-\uddcb\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7a\ude80-\ude86\ude90-\udea8\udeb0-\udeb6\udec0-\udec2\uded0-\uded6]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,AA=/\uFE0F/g,kA=String.fromCharCode(8205);var jA,AA,kA,CA=th;function SA(e){for(var t=e&&(e.indexOf(kA)<0?e.replace(AA,""):e),i=[],a=0,n=0,o=0;o<t.length;)a=t.charCodeAt(o++),n?(i.push((65536+(n-55296<<10)+(a-56320)).toString(16)),n=0):55296<=a&&a<=56319?n=a:i.push(a.toString(16));return i.join("-")}function EA(e,t){return String(e).replace(jA,t)}e.smartTwitchTV={mainstart:xh}}(this),smartTwitchTV.mainstart();