1var ht_num=0,ht_slot_data=[],ht_bookmark_check=!1,history_curr_slot="",ht_curr_data_cnt=0,ht_del_timer=null,ht_did_click_id="",ht_delete_timeout=null,ht_data_del_check=!1,ht_pnus=new Array,ht_slots=new Array,ht_pins=new Array,ht_onCert=!1,_g_ht_page_idx=0,_g_ht_check_change=!1;function ht_show_field(t){if(!is_web_screen){var e=window.innerHeight-94;$("#history_slot_list").css("height",e),$("#ht_agent_slot_list").css("height",e)}1!=t&&bh.setHistory("history_new",null),DiscoMode.set_with_save_prev("history_mode"),0==is_web_screen&&$("#ht_main_top_menu_bg").css("display",""),$("#ht_main_top_menu").css("display","block"),$("#history_list").css("display","block"),$("#all_history_delbtn").css("display","inline-block"),$("#ht_tab_div").css("display","block"),$("#history_list").css("top","100px"),set_screen_padding(!0),ht_onCert=!1,draw_tabmenu=!0,draw_ht_tabmenu(ht_onCert),hstry_addr_clicked()}function hstry_show_page(t){$("#history_page_addr").hide(),$("#history_page_cert").hide(),$("#history_page_agent").hide(),$("#"+t).show()}function hstry_addr_clicked(){_g_ht_page_idx=0,hstry_show_page("history_page_addr"),ht_did_click_id="",$("#history_slot_list").html(""),hstry_render_addr(0),0!=$("#history_slot_list").scrollTop()&&$("#history_slot_list").scrollTop(0)}function hstry_cert_clicked(){_g_ht_page_idx=1,hstry_show_page("history_page_cert"),ht_did_click_id="",$("#ht_cert_slot_list").html(""),hstry_render_cert(0)}function hstry_agent_clicked(){_g_ht_page_idx=2,hstry_show_page("history_page_agent"),ht_did_click_id="",$("#ht_agent_slot_list").html(""),hstry_render_agent(0)}function onSwitchHistoryTypeTap(t,e){draw_tabmenu=!1,ht_num=0,toast.hide(),ht_onCert||1===e&&(e=2),0===e?hstry_addr_clicked():1===e?hstry_cert_clicked():2===e&&hstry_agent_clicked()}function draw_ht_tabmenu(t){if(t)new DiscoPublicTabMenuGroup({id:"ht_tab_div",callback:onSwitchHistoryTypeTap,btnNames:["ì§ë²","ë±ê¸°","ì 문ê°"]});else new DiscoPublicTabMenuGroup({id:"ht_tab_div",callback:onSwitchHistoryTypeTap,btnNames:["ì§ë²","ì 문ê°"]})}function ht_exit_field(){short_info_title_txt="",ht_hide_field(),DiscoMode.out()}function ht_hide_field(){1==ht_data_del_check&&(toast.hide(),clearTimeout(ht_delete_timeout),history_delete()),$("#ht_main_top_menu_bg").css("display","none"),$("#ht_main_top_menu").css("display","none"),$("#history_list").css("display","none"),set_screen_padding(!1)}function hstry_render_addr(t){$.ajax({url:"/home/recent_details_get/",type:"GET",cache:!1,data:{offset:t},success:function(e){if(ht_curr_data_cnt=e.length,0!=e.length||0!=t){$("#all_history_delbtn").is(":visible")||$("#all_history_delbtn").css("display","inline-block");for(var s="",_=0;_<e.length;_++){var i=e[_];ht_num+=1;var a=address_to_short(i.address,2);trans_short_info_data(i,(function(t,e){var _="";1==i.bookmark?(ht_bookmark_check=!0,_="ico_m_starfull2_4x.png"):_="ico_m_star3_4x.png",s+="<div>",s+=' <div class="history-new-data-slot">',s+=' <div class="history-new-data-slotbtn" id="ht_'+i.uuid+'_slot" onclick="history_slot_click(\''+i.pnu+"','"+i.uuid+"','"+i.lng+"','"+i.lat+"','"+i.address+"');\">",s+=' <div style="height: 48px;padding:16px 6px 16px 16px;">',s+=' <div class="ht-list-table">',s+=' <div class="ht-list-table-row">',s+=' <div style="display:table-cell;width:5%;vertical-align:middle;position:relative;top:-8px;"><img src="https://cdn.disco.re/static/common/img/ui_profile_marker.769bce22b32c.png" style="width:32px;height:32px;"></div>',s+=' <div class="history-new-data-comment1" style="display:table-cell;position:relative;top:-2px;">'+a+"</div>",s+=' <div class="rf3_text3" style="width:15%;display:table-cell;position:relative;top:-3px;font-size:0.625rem;">'+unix_timestamp_convert(i.updated)+"</div>",s+=' <div class="history-new-data-symbolbtn" data-slot-data="'+i.pnu+'" data-uuid="'+i.uuid+'" data-address="'+i.address+'" style="width:10%;display:table-cell;position:relative;top:-3px;">',s+=' <img src="https://cdn.disco.re/static/common/img/'+_+'" class="history-new-data-symbol">',s+=" </div>
1",s+=' <div class="history-new-morebtn mfs-detail-sort-span-left" data-slot-data="'+i.pnu+'" data-uuid="'+i.uuid+'" style="width:10%;display:table-cell;position:relative;top:-3px;">',s+=' <img src="https://cdn.disco.re/static/common/img/ico_m_more3_4x.b4c30f4e75cf.png" style="width:16px;height:16px;position:relative;cursor:pointer;">',s+=" </div>",s+=" </div>",s+=" </div>",s+=" </div>",s+=' <div style="height:76px;padding:6px 16px 11px 16px;">',s+=' <div class="history-new-data-comment2 rf3_text1" style="width:80%;padding-bottom:4px;height:21px;">'+t+"</div>",s+=' <div class="history-new-data-comment2 rf3_text1" style="width:80%;padding-bottom:8px;height:25px;">'+e+"</div>",s+=' <div style="float:left;">',s+=' <span><img src="https://cdn.disco.re/static/common/img/ico_s_pin3_4x.532c82368a91.png" style="width:12px;height:12px;position:relative;top:-1px;"><span>',s+=' <span class="history-new-data-comment2" style="height:17px;text-decoration:underline;color:#50555A;">'+i.address+"</span>",s+=" </div>",s+=" </div>",s+=" </div>",s+=" </div>",s+=' <div style="border-top:1px solid #e6e6e6;"><div id="history_data_'+ht_num+'" style="height:4px;background-color:#fafafa;"></div></div>',s+="</div>"}))}$("#history_slot_list").append(s),$("#history_data_"+ht_num).css("display","none"),$("#history_slot_list").css("background-color","#fafafa"),add_history_event()}else ht_add_none_message("history")},error:function(){}})}function history_slot_click(t,e,s,_,i){duser_request(767,t+"|"+e);var a=[t,e,s,_,i];slt.uuid=a[1],slt.pnu=a[0],slt.address=a[4],slt.x=a[2],slt.y=a[3],0==is_web_screen&&$("#map_filter_box").is(":visible")&&$("#map_filter_box").css("display","none"),1==_g_ht_page_idx?moveToSlt(!0,null,(function(){short_info("")})):(rd_curr_tab_type=null,move_target_area("ìµê·¼ 본 목ë¡"))}function add_history_event_slot(t,e,s,_,i){slt.pnu=t,slt.uuid=e,slt.y=_,slt.x=s,slt.address=i,map.setLevel(1),map.setCenter(new daum.maps.LatLng(slt.y,slt.x)),reload(!0)}function add_history_event(){$(".history-new-data-symbolbtn").unbind("click").click((function(t){duser_request(180,""),t.stopPropagation(),history_curr_slot=$(this);var e=$(this).data("slot-data").toString();slt.address=$(this).data("address");var s="https://cdn.disco.re/static/common/img/ico_m_star3_4x.03c6829f7883.png";-1==$(this).find("img").attr("src").indexOf("ico_m_starfull2_4x")?(s="https://cdn.disco.re/static/common/img/ico_m_starfull2_4x.69ea69a867c0.png",$(this).find("img").attr("src",s),bookmark_check_click=!0,bm_folder_list_pnu=e,load_bm_folder_click(e)):(ht_bookmark_check=!1,$(this).find("img").attr("src",s),realty_bookmark_update(e,"del",""))})),$(".history-new-morebtn").unbind("click").click((function(t){duser_request(181,""),t.stopPropagation(),slt.uuid=$(this).data("uuid"),slt.pnu=$(this).data("slot-data"),slt.pin=$(this).data("pin"),ht_slot_data=0==_g_ht_page_idx?$(this).parent().parent().parent().parent().parent().parent():$(this).parent().parent();var e=new DiscoSimpleListPopParams;e.id="history_simple_pop",e.list=["ê³µì í기","ìì "],e.type="list",e.idx=0,e.min_w="240",e.callback=function(t){if(s.hide(),0==t)set_share(get_foot_share_link(),"jibun","history-morebtn");else{(null!=ht_del_timer||null==ht_del_timer&&null!=bm_add_timer)&&toast.hide(),ht_data_del_check=!0,ht_slot_data.css("display","none"),ht_pnus.push(slt.pnu),ht_slots.push(ht_slot_data),ht_pins.push(slt.pin),ht_curr_data_cnt-=1,0==_g_ht_page_idx&&0==ht_curr_data_cnt&&ht_add_none_message("history"),1==_g_ht_page_idx&&0==htc_curr_data_cnt&&ht_add_none_message("ht_cert"),ht_delete_timeout=setTimeout((function(){history_delete()}),5e3);var e=new ToastPopupParams;e.pos="bottom",e.posValue=90,e.symbol="return",e.btnName='<span style="cursor:pointer;">ì¤íì·¨ì</span>',e.callback=function(){ht_slot_data.css("display","block"),0==_g_ht_page_idx?0==ht_curr_data_cnt&&($("#history_slot_list").html(""),$("#history_slot_list").css("background-color","#eceff1"),$("#history_slot_list").html(ht_slot_data),ht_curr_data_cnt=1):0==htc_curr_data_cnt&&($("#ht_cert_slot_list").html(""),$("#ht_cert_slot_list").css("background-color","#eceff1"),$("#ht_cert_slot_list").html(ht_slot_data),htc_curr_data_cnt=1),ht_pnus.pop(),ht_slots.pop(),ht_pins.pop(),clearTimeout(ht_delete_timeout),ht_data_del_check=!1},ht_del_timer=setTimeout((function(){toast.show("í´ë¹ ì§ë²ì´ 목ë¡ìì ì ê±°ëììµëë¤.",e)}),300)}},e.closeback=function(){s.hide()};var s=new DiscoSimpleListPop(e)})),$(".history-cert-morebtn").unbind("click").bind("click",(function(t){t.stopPropagation(),this.querySelector(".history-cert-morebtn-list").style.display="flex"})),$(".history-cert-morebtn-list").unbind("mouseleave").bind("mouseleave",(function(){this.style.display="none"})),$(".history-cert-morebtn-list-item").unbind("click").bind("click",(function(t){t.stopPropagation();var e=this.dataset.type,s={idx:this.dataset.idx?this.dataset.idx:"",date:this.dataset.updated?this.dataset.updated:"",address:this.dataset.address?this.dataset.address:"",stype:this.dataset.stype?this.dataset.stype:"",dong:this.dataset.dong?this.dataset.dong:" ",floor:this.dataset.floor?this.dataset.floor:" ",ho:this.dataset.ho?this.dataset.ho:" ",pnu:this.dataset.pnu?this.dataset.pnu:" ",pin:this.dataset.pin?this.dataset.pin:" "};switch(e){case"download":console.log("download");break;case"share":console.log("share"),set_share(get_foot_share_link(),"jibun","history-morebt
1n");break;case"delete":console.log("delete"),show_cert_delete_popup(s)}}))}function ht_add_none_message(t){$("#"+t+"_slot_list").html('<div class="rf3_text3" style="padding-top:160px;font-size:0.875rem;">목ë¡ì´ ë¹ì´ììµëë¤</div>'),$("#"+t+"_slot_list").css("background-color","#fafafa"),$("#all_history_delbtn").css("display","none")}function unix_timestamp_convert(t){var e=(new Date).getTime()/1e3-t,s="";switch(!0){case e<60:s="ë°©ê¸";break;case e<3600:s=parseInt(e/60)+"ë¶ ì ";break;case e<86400:s=parseInt(e/3600)+"ìê° ì ";break;default:var _=new Date(1e3*t);s=_.getFullYear().toString().substr(2,2)+"."+fillZeroStr(parseInt(_.getMonth())+parseInt(1),2)+"."+fillZeroStr(_.getDate(),2)}return s}function load_del_history_all_data(t){$.ajax({url:"/home/recent_details_all_del/",type:"GET",data:{p_idx:t},cache:!1,success:function(e){"success"==e.result&&(0==t?ht_add_none_message("history"):1==t?ht_add_none_message("ht_cert"):2==t&&ht_add_none_message("ht_agent"))},error:function(){}})}function history_delete_all(){var t=new DiscoNormalPopupParams;t.type="confirm",t.title="목ë¡ì 모ë ìì íìê² ìµëê¹?",t.callback=function(t){1==t?(e.hide(),load_del_history_all_data(_g_ht_page_idx)):e.hide()};var e=new DiscoNormalPopup(t);$("#dnp_btn_0").text("ì"),$("#dnp_btn_1").text("ìëì¤")}function load_del_history_data(t,e,s){$.ajax({url:"/home/recent_details_del/",type:"GET",data:{pnu:t,pin:s,p_idx:_g_ht_page_idx},cache:!1,success:function(t){"success"==t.result&&(e.remove(),0==_g_ht_page_idx?0!=ht_curr_data_cnt&&($("#history_slot_list").html(""),hstry_render_addr(0)):1==_g_ht_page_idx?0!=htc_curr_data_cnt&&($("#ht_cert_slot_list").html(""),close_cert_delete_popup(),hstry_render_cert(0)):2==_g_ht_page_idx&&0!=htc_curr_data_cnt&&($("#ht_agent_slot_list").html(""),hstry_render_agent(0)))},error:function(){}})}function history_delete(){for(var t=0,e=0;e<ht_pnus.length;e++)t=e,load_del_history_data(ht_pnus[e],ht_slots[e],ht_pins[e]);t==ht_pnus.length-1&&(clearTimeout(ht_delete_timeout),ht_data_del_check=!1,ht_pnus=[],ht_slots=[],ht_pins=[])}function history_list_back(){$("#short_info_title_div").hide(),$("#ht_main_top_menu_bg").css("display","none"),$("#ht_main_top_menu").css("display","block"),$("#history_list").css("display","block"),(_g_bm_check_change||_g_ht_check_change)&&(0==_g_ht_page_idx?($("#history_slot_list").html(""),hstry_render_addr(0)):2==_g_ht_page_idx&&($("#ht_agent_slot_list").html(""),hstry_render_agent(0)),_g_bm_check_change=!1,_g_ht_check_change=!1);var t="";if(t=0==_g_ht_page_idx?"ht_":"htc_",""!=ht_did_click_id){var e=$("#"+t+ht_did_click_id+"_slot")[0];null!=e&&(e.style.background=""),ht_did_click_id=""}var s=$("#"+t+slt.uuid+"_slot")[0];null!=s&&(s.style.background="#ebf7ff"),ht_did_click_id=slt.uuid}$(document).ready((function(){var t,e;$("#history_before").unbind("click").click((function(t){duser_request(179,""),bh.go_before(),toast.hide(),clearTimeout(ht_delete_timeout),1==ht_data_del_check&&history_delete()})),t=window.innerHeight-101,e=window.innerHeight-94,$("#history_page_addr").css("height",t),$("#history_slot_list").css("height",e),$("#history_page_cert").css("height",t),$("#ht_cert_slot_list").css("height",e),$("#history_page_agent").css("height",t),$("#ht_agent_slot_list").css("height",e),$(window).resize((function(){t=window.innerHeight-101,e=window.innerHeight-94,$("#history_page_addr").css("height",t),$("#history_slot_list").css("height",e),$("#history_page_cert").css("height",t),$("#ht_cert_slot_list").css("height",e),$("#history_page_agent").css("height",t),$("#ht_agent_slot_list").css("height",e)})),$("#history_slot_list").scroll((function(){if($("#history_data_"+ht_num).css("display","block"),0!=ht_curr_data_cnt){var t=$("#history_slot_list"),e=t.scrollTop();t[0].scrollHeight-e-1<=t.outerHeight()&&hstry_render_addr($("#history_slot_list > div").size())}else $("#history_data_"+ht_num).css("display","none")}))}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.