',$(".board-gallery .article-wrapper > .photo-article-list > tbody > tr").each(function(){let e=$(this).find(".bbsnewf5"),t=n(e,1);if(t.length>0){let d='
';t.forEach(function(e,t){d+=`${e.name} ${e.text} `}),d+=" ",o=d}i=e.find("img").attr("src"),l=e.find(".gallery_subject>a").attr("href"),s=e.find(".gallery_title").text();let p=e.find(".gallery_cont");c+=`
${o}
${s}
${r=p.length?'
'+p.text()+"
":""}
`}),c+="
",$(".board-gallery .article-wrapper").empty().append(c)):$(".board-gallery").hasClass("type-b")&&(c='',$(".board-gallery .article-wrapper > .photo-article-list > tbody > tr").each(function(){let e=$(this).find(".bbsnewf5"),t=n(e,1);if(t.length>0){let d='
';t.forEach(function(e,t){d+=`${e.name} ${e.text} `}),d+=" ",o=d}i=e.find("img").attr("src"),l=e.find(".gallery_subject>a").attr("href"),s=e.find(".gallery_title").text();let p=e.find(".gallery_cont");c+=`
${o}
${s}
${r=p.length?''+p.text()+"
":""}
`}),c+="
",$(".board-gallery .article-wrapper").empty().append(c))}(),function t(){if(!$(".faq-list .table-article-list .titdesign").length)return!1;let a=`
';$(".board-event .article-wrapper > .event-article-list > tbody > tr").each(function(){let a=$(this).find(".bbsnewf5"),l=a.find("img").attr("src"),s=a.find(".gallery_subject>a").attr("href"),r=a.find(".gallery_title").text(),o="",c=a.find(".gallery_cont");c.length&&(o="
"+c.text()+"
");let d="",p="",f=n(a),b=f.dateList,h=f.etcList;if(b.length>0){let u='
';b.forEach(function(a,n){let i=a.text;e&&(i=(i=t(a.text))||a.text),n>0&&(a.name.match("종료")||a.name.match("마감")||a.name.match("Finish")||a.name.match("finish")||a.name.match("End")||a.name.match("end"))&&(i=" ~ "+i),u+=`${a.name} ${i} `}),u+=" ",d=u}if(h.length>0){let m='
';h.forEach(function(e,t){m+=`${e.name} ${e.text} `}),m+=" ",p=m}i+=`
${p}
${d}
${r}
${o}
`}),i+="
",$(".board-event .article-wrapper").empty().append(i)}(),function e(){if(!$(".board-blog").length)return!1;let a,n,i,l,s,r,o,c="",d='';$(".board-blog .article-wrapper > .blog-article-list .webzine_type2 > tbody > tr").each(function(){let e=$(this).find(".webzine_type_text_td_left");if(0==e.length)return;let p=$(this).find(".webzine_type_img_td"),f=e.find(".webzine_no .obj_value").text();a=f.length?'
NO. '+f+" ":"",e.find(".webzine_no").remove(),n=e.find(".webzine_subject .obj_value").text().trim(),e.find(".webzine_subject").remove();let b=e.find(".webzine_dateof_write .obj_value").text().trim();i=(b=t(b)).length?'
'+b+" ":"",e.find(".webzine_dateof_write").remove();let h=e.find(".webzine_category .obj_value").text().trim();l=h.length?'
#'+h+" ":"",e.find(".webzine_category").remove();let u=e.find(".webzine_description .obj_value").text().trim();s=u.length?"
"+u+"
":"",e.find(".webzine_description").remove(),r=p.find("img").attr("src"),o=p.find("a").attr("href");let m=$(this).find(".webzine_type_text_td_left dd");if(m.length>0){let g='
';m.each(function(e){g+=`${$(this).find(".obj_name").text()} ${$(this).find(".obj_value").text().trim()} `}),g+="
",c=g}d+=`
`}),d+="
",$(".board-blog .article-wrapper").empty().append(d)}(),function a(){if(!$(".board-blog #post_area").length)return!1;let n=$(".board-blog .table-article-common tr"),i='',l='
',s=!1,r,o=!0;$(".table-article-common .board_desc").each(function(e,a){let n=t(a.innerText.trim());n&&(a.innerText=n)}),n.each(function(e){let t,a;if($(this).find("#post_area").length>0&&(r=$(this).find("#post_area"),o=!1),0==e)i+=`
${a=$(this).find(".board_desc").text().trim()}
`;else{t=$(this).find(".board_bgcolor").text().trim();let n=$(this).find(".board_desc"),c="";if(n.find("div").length&&(c=" download"),0==(a=void 0==(a=n.html())?"":function e(t){for(;;)if(-1!=t.indexOf("");t=t.substring(0,a)+t.substring(n+3,t.length)}else break;return t}(a)).trim().length||0==t.length)return;o?i+=`
${t} ${a}
`:(l+=`
${t} ${a}
`,s=!0)}}),i+='
',l+="
",$(".board-blog .table-article-common").replaceWith(i);let c=$(".board-blog").find(".post-body").html(r);s&&c.after(l);let d=$(".board-view-thumbnails").find("a"),p='Previous posts ';d.each(function(){let e;p+=`
`}),p+="
",$(".board-blog").find(".post-body").append(p),$(".board-view-thumbnails").remove();let f='',b=$(".board-blog .move-page");b.each(function(){let t=$(this).text().trim(),a;a=e?"Prev"==t?'
Prev ':'
Next ':"이전"==t?'
이전글 ':'
다음글 ';f+=`
${a} `}),f+="
",b.remove(),$(".board-blog").find(".post-wrap").append(f),$(".board-blog").find(".move-btn").on("mouseover",function(){$(this).addClass("on")}),$(".board-blog").find(".move-btn").on("mouseout",function(){$(this).removeClass("on")})}(),function e(){let t=$(".contact-form");if(!t.length)return!1;a($(".contact-form .table-form > tbody > tr .formmail_cell_bgcolor"),t)}(),function a(){if(!e||!$(".table-article-common").length||$(".board-blog").length)return!1;$(".table-article-common tr td").each((e,a)=>{let n=t(a.innerText.replaceAll(" ",""));n&&(a.innerText=n)})}()});