(function(t){t.fn.ReSlide=function(e){t.extend({},{timer:3,point:"",arrow:"",isAuto:""},e);return this.each(function(){t(".KN_SlideImgList").eq(0).clone().appendTo(".KN_SlideImgGroup"),t(".KN_SlideImgList").eq(t(".KN_SlideImgList").length-2).clone().prependTo(".KN_SlideImgGroup");var i=0,n=_strPoint=_strArrow=_imgWidth=_imgLen="";_imgWidth=t(".KN_Slide").width(),_imgLen=t(".KN_SlideImgList").length,t(".KN_SlideImgGroup").css({width:_imgWidth*_imgLen,left:-_imgWidth+"px"}),t(".KN_SlideImgList").width(_imgWidth),_strPoint+="
";for(var s=1;s<_imgLen-2;s++)_strPoint+="";_strPoint+="
",t(".KN_SlideImgGroup").after(_strPoint),_strArrow+="",t(".KN_Slide").append(_strArrow),"on"===e.point?t(".KN_SlidePointGroup").show():t(".KN_SlidePointGroup").hide(),"on"===e.arrow?t(".KN_SlideArrowGroup").show():t(".KN_SlideArrowGroup").hide(),onresize=function(){return _imgWidth=t(".KN_Slide").width(),t(".KN_SlideImgGroup").css({width:_imgWidth*_imgLen,left:-_imgWidth+"px"}),t(".KN_SlideImgList").width(_imgWidth),!1},t(".KN_SlideArrowNext").click(function(e){return i++,t(".KN_SlideImgGroup").animate({left:-_imgWidth*(i+1)+"px"},function(){i==_imgLen-2&&(i=0,t(".KN_SlideImgGroup").css({left:-_imgWidth+"px"})),t(".KN_SlidePointList").eq(i).addClass("KN_SlidePointActive").siblings().removeClass("KN_SlidePointActive")}),!1}),t(".KN_SlideArrowPrev").click(function(e){return i--,t(".KN_SlideImgGroup").animate({left:-_imgWidth*(i+1)+"px"},function(){i<0&&(i=_imgLen-3,t(".KN_SlideImgGroup").css({left:-_imgWidth*(i+1)+"px"})),t(".KN_SlidePointList").eq(i).addClass("KN_SlidePointActive").siblings().removeClass("KN_SlidePointActive")}),!1});var l="";return l=function(){n=setInterval(function(){t(".KN_SlideArrowNext").triggerHandler("click")},1e3*e.timer)},"on"===e.isAuto?l():clearInterval(n),t(".KN_Slide").hover(function(t){return clearInterval(n),!1},function(t){return"on"===e.isAuto?l():clearInterval(n),!1}),t(".KN_SlidePointList").click(function(e){return i=t(this).index(),t(".KN_SlideImgGroup").animate({left:-_imgWidth*(i+1)+"px"}),t(this).addClass("KN_SlidePointActive").siblings().removeClass("KN_SlidePointActive"),!1}),!1})}})(jQuery),function(t){t.fn.SlickSlider=function(e){t.extend({},{imgWidth:0,event:"click"},e);return this.each(function(){return onload=function(){var i=0,n=_listLen=_listMarginLeft=_listWidth=_listGroupWidth=_listImg1=_listImg2=_listImg3=_listImg4=_strPrev1=_strNext1=_strPrev2=_strNext2=_strPoint="";n=e.imgWidth,_listLen=t(".KN_SLICKLIST").length,_listMarginLeft=parseInt(t(".KN_SLICKLIST").css("margin-left")),_listWidth=t(".KN_SLICKGROUP").width()/2+n,_listGroupWidth=_listWidth*(_listLen+4)+_listMarginLeft*(_listLen+3),_listImg1=t(".KN_SLICKLIST").eq(_listLen-1).find("img").attr("src"),_listImg2=t(".KN_SLICKLIST").eq(0).find("img").attr("src"),_listImg3=t(".KN_SLICKLIST").eq(_listLen-2).find("img").attr("src"),_listImg4=t(".KN_SLICKLIST").eq(1).find("img").attr("src"),_strPrev1="",_strNext1="",_strPrev2="",_strNext2="",_strPoint="",t(".KN_SLICKLIST").eq(0).before(_strPrev1),t(".KN_SLICKLIST").eq(0).before(_strPrev2),t(".KN_SLICKLIST").eq(_listLen).after(_strNext1),t(".KN_SLICKLIST").eq(_listLen+1).after(_strNext2),t(".KN_SLICKLIST").eq(1).addClass("KN_SLICKLISTACTIVE");for(var s=0;s<_listLen-1;s++)_strPoint+="
";_strPoint+="
",t(".KN_SLICKLISTGROUP").after(_strPoint).width(_listGroupWidth),t(".KN_SLICKLISTPREV,.KN_SLICKLIST,.KN_SLICKLISTNEXT").width(_listWidth),t(".KN_SLICKLISTGROUP").css({left:-(_listWidth/2+_listMarginLeft+n+(_listWidth+_listMarginLeft)*(i+1))+"px"}),t(".KN_SLICKBTNARROWPREV").css("padding-left",_listWidth/2-50-n),t(".KN_SLICKBTNARROWNEXT").css("padding-right",_listWidth/2-50-n),t(".KN_SLICKBTNARROWNEXT").click(function(e){return i++,t(".KN_SLICKLISTGROUP").animate({left:-(_listWidth/2+_listMarginLeft+n+(_listWidth+_listMarginLeft)*(i+1))+"px"},300,function(){i==_listLen&&(i=0,t(".KN_SLICKLISTGROUP").css({left:-(_listWidth/2+_listMarginLeft+n+(_listWidth+_listMarginLeft)*(i+1))+"px"})),t(".KN_SLICKLIST").eq(i+1).addClass("KN_SLICKLISTACTIVE").siblings().removeClass("KN_SLICKLISTACTIVE"),t(".KN_SLICKBTNPOINTLIST").eq(i).addClass("KN_SLICKBTNPOINTLISTACTIVE").siblings().removeClass("KN_SLICKBTNPOINTLISTACTIVE")}),!1}),t(".KN_SLICKBTNARROWPREV").click(function(e){return i--,t(".KN_SLICKLISTGROUP").animate({left:-(_listWidth/2+_listMarginLeft+n+(_listWidth+_listMarginLeft)*(i+1))+"px"},300,function(){i<0&&(i=_listLen-1,t(".KN_SLICKLISTGROUP").css({left:-(_listWidth/2+_listMarginLeft+n+(_listWidth+_listMarginLeft)*(i+1))+"px"})),t(".KN_SLICKLIST").eq(i+1).addClass("KN_SLICKLISTACTIVE").siblings().removeClass("KN_SLICKLISTACTIVE"),t(".KN_SLICKBTNPOINTLIST").eq(i).addClass("KN_SLICKBTNPOINTLISTACTIVE").siblings().removeClass("KN_SLICKBTNPOINTLISTACTIVE")}),!1}),t(".KN_SLICKBTNPOINTLIST").on(e.event,function(e){i=t(this).index(),t(this).addClass("KN_SLICKBTNPOINTLISTACTIVE").siblings().removeClass("KN_SLICKBTNPOINTLISTACTIVE"),t(".KN_SLICKLIST").eq(i+1).addClass("KN_SLICKLISTACTIVE").siblings().removeClass("KN_SLICKLISTACTIVE"),t(".KN_SLICKLISTGROUP").animate({left:-(_listWidth/2+_listMarginLeft+n+(_listWidth+_listMarginLeft)*(i+1))+"px"},300)})},!1})}}(jQuery),function(t){t.fn.Tabs=function(e){t.extend({},{event:"click",button:"",content:"",active:"",num:0},e);return this.each(function(){function i(e,i,n,s,l){function a(e){var a=[];t.each(t(n),function(t,e){a.push(e)}),t(n).eq(l).addClass("KN_SHOW").siblings().remove(),t(i).on(e,function(e){return t(this).addClass(s).siblings().removeClass(s),t(n).parent().html(a[t(this).index()]),t(n).addClass("KN_SHOW"),!1})}switch(t(n).eq(l).addClass("KN_SHOW"),e){case"click":case"mouseenter":a(e);break;default:t(this).Dialog({title:"输入错误",content:"鼠标事件只能是click或mouseenter事件!不能输入别的事件!"})}}return i(e.event,e.button,e.content,e.active,e.num),!1})}}(jQuery),function(t){t.fn.HashTabs=function(e){t.extend({},{event:"click",button:"",content:"",default:""},e);return this.each(function(){function i(e,i,n,s){function l(e){var s=[];t.each(t(n),function(t,e){s.push(e)}),t(i).removeClass("active"),t(i+'[n-click="'+a+'"]').addClass("active"),t(n).parent().html(s[t(i+'[n-click="'+a+'"]').index()]),t(n).addClass("kniu_block"),t(i).on(e,function(e){location.hash="/"+t(this).attr("n-click"),a=location.hash.replace(/#\//g,""),t(i).removeClass("active"),t(this).addClass("active"),t(n).parent().html(s[t(this).index()]),t(n).addClass("kniu_block")})}var a=location.hash.replace(/#\//g,"");switch(""===a&&(a=s),e){case"click":case"mouseenter":l(e);break;default:t(this).Dialog({title:"输入错误",content:"鼠标事件只能是click或mouseenter事件!不能输入别的事件!"})}}return i(e.event,e.button,e.content,e.default),!1})}}(jQuery),function(t){t.fn.HashAjax=function(e){t.extend({},{event:"click",button:"",default:"",type:"post",urlPrepend:"",urlAppend:"",data:{}},e);return this.each(function(){function i(e,i,s,l,a,o,c){function r(e){t(i).removeClass("active"),t(i+'[n-click="'+_+'"]').addClass("active");var s=t(i+'[n-click="'+_+'"]').attr("n-click");n(l,a,s,o,c),t(i).on(e,function(e){location.hash="/"+t(this).attr("n-click"),_=location.hash.replace(/#\//g,""),t(i).removeClass("active"),t(this).addClass("active"),s=t(this).attr("n-click"),n(l,a,s,o,c)})}var _=location.hash.replace(/#\//g,"");switch(""===_&&(_=s),e){case"click":case"mouseenter":r(e);break;default:t(this).Dialog({title:"输入错误",content:"鼠标事件只能是click或mouseenter事件!不能输入别的事件!"})}}function n(e,i,n,s,l){t.ajax({type:e,url:i+n+s,data:l,dataType:"html",success:function(e){t(".KN_EXAMPLE").html(e)}})}return i(e.event,e.button,e.default,e.type,e.urlPrepend,e.urlAppend,e.data),!1})}}(jQuery),function(t){t.fn.NavSlide=function(e){t.extend({},{nav:""},e);return this.each(function(){return t(window).scroll(function(i){var n="";return n=t(window).scrollTop(),n>0?(t(e.nav).addClass("ACTIVE"),!1):0==n&&(t(e.nav).removeClass("ACTIVE"),!1)}),!1})}}(jQuery),function(t){t.fn.GoTop=function(e){t.extend({},{scroll:window,animate:"html,body",button:".KN_GOTOP",time:100},e);return this.each(function(){return t(e.scroll).scroll(function(i){var n="";n=t(e.scroll).scrollTop(),0==n?t(e.button).removeClass("KN_SHOW"):t(e.button).addClass("KN_SHOW")}),t(e.button).click(function(i){return t(e.animate).animate({scrollTop:0},e.time),!1}),!1})}}(jQuery),function(t){t.fn.AppMenu=function(e){t.extend({},{cover:!0},e);return this.each(function(){switch(e.cover){case!0:var i="";i="",t(".KN_APPHDNAV").after(i);break;case!1:break;default:t(this).Dialog({title:"输入错误",content:"移动端导航栏开关蒙版只能输入true或false,不可输入别的!"})}return t(".KN_APPHDMENUBAR").on("click",function(e){var i=this_="";return this_=t(this).parents(".KN_APPHDMENU"),i=this_.find(".KN_APPHDMENUBAR").hasClass("fa-bars"),i?(this_.find(".KN_APPHDMENUBAR").removeClass("fa-bars").addClass("fa-times"),this_.find(".KN_APPHDNAV").addClass("KN_SHOW")):(this_.find(".KN_APPHDMENUBAR").addClass("fa-bars").removeClass("fa-times"),this_.find(".KN_APPHDNAV").removeClass("KN_SHOW")),this_.find(".KN_APPHDCOVER").remove(),this_.find(".KN_APPHDNAVGROUP").before(""),this_.find(".KN_APPHDCOVER").on("click",function(e){t(this).parents(".KN_APPHDNAV").removeClass("KN_SHOW"),t(this).parents(".KN_APPHDMENU").find(".KN_APPHDMENUBAR").addClass("fa-bars").removeClass("fa-times")}),t(window).blur(function(t){return this_.find(".KN_APPHDNAV").removeClass("KN_SHOW"),this_.find(".KN_APPHDMENUBAR").addClass("fa-bars").removeClass("fa-times"),!1}),!1}),!1})}}(jQuery),function(t){t.fn.File=function(e){t.extend({},{},e);return this.each(function(){return t(document).on("change",".KN_InputFiles",function(e){var i=reader=_src="";i=e.target.files;for(var n=0;n",s+="
",s+="",s+="",s+="",s+="",t(this).parent().after(s)}}),t(document).on("click",".KN_FileImgClose",function(e){t(this).siblings(".KN_InputFiles").val(""),t(this).siblings(".KN_FileImg").attr("src",""),t(this).removeClass("KN_SHOW"),t(this).parent().remove()}),!1})}}(jQuery),function(t){t.fn.SamePlaceTab=function(e){t.extend({},{button:".KN_CUTLIST",default:"大",change:"小"},e);return this.each(function(){return t(e.button).on("click",function(i){return t(this).hasClass("ACTIVE")?t(this).removeClass("ACTIVE").html(e.default):t(this).addClass("ACTIVE").html(e.change),!1}),!1})}}(jQuery),function(t){t.fn.CountDown=function(e){t.extend({},{button:".KN_STARTCOUNTDOWN",minute:0,second:1},e);return this.each(function(){function i(){e.minute<10?t(".KN_COUNTDOWNMINUTE").html("0"+e.minute):t(".KN_COUNTDOWNMINUTE").html(e.minute),e.second<10?t(".KN_COUNTDOWNSECOND").html("0"+e.second):t(".KN_COUNTDOWNSECOND").html(e.second)}return i(),t(e.button).one("click",function(n){var s=_second=_t="";return s=parseInt(e.minute),_second=parseInt(e.second),_t=setInterval(function(){0===_second&&(s--,_second=60),t(".KN_COUNTDOWNMINUTE").html(s),_second--,t(".KN_COUNTDOWNSECOND").html(_second),s<10&&t(".KN_COUNTDOWNMINUTE").html("0"+s),_second<10&&t(".KN_COUNTDOWNSECOND").html("0"+_second),0===s&&0===_second&&(clearInterval(_t),_t=setTimeout(function(){i(),clearTimeout(_t)},1e3))},1e3),!1}),!1})}}(jQuery),function(e){e.fn.Modal=function(i){e.extend({},{button:"",object:"",isBack:!0},i);return this.each(function(){function n(i,n,s){function l(i){e(document).on("click",i,function(i){e(this).parents(".KN_MOD").fadeOut(300),e(this).parents(".KN_MOD").find(".KN_COVER").addClass("ACTIVE"),e(this).parents(".KN_MOD").find(".KN_MODCONTENT").addClass("ACTIVE"),t=setTimeout(function(){e(".KN_MODCONTENT").removeClass("ACTIVE"),e(this).parents(".KN_MOD").remove(),e("html").removeClass("KN_OVERHIDE"),clearTimeout(t)},300)})}var a=t="";switch(a=e(n),e(document).on("click",i,function(t){e("html").addClass("KN_OVERHIDE"),e(".KN_COVER").remove(),a.find(".KN_MODDIALOG").before(""),a.fadeIn(300)}),l(".KN_MODCLOSE"),l(".KN_MODBACK"),l(".KN_COVER"),s){case!0:e(".KN_MODBTN").addClass("KN_SHOW");break;case!1:e(".KN_MODBTN").removeClass("KN_SHOW");break;default:e(this).Dialog({title:"输入错误",content:"模态框显示返回按钮只能输入true或false,不可输入别的!"})}}return n(i.button,i.object,i.isBack),!1})}}(jQuery),function(t){t.fn.Dialog=function(e){t.extend({},{title:"",content:""},e);return this.each(function(){function i(e){t(document).on("click",e,function(e){t(this).parents(".KN_DIALOG").fadeOut(130),_t=setTimeout(function(){t(".KN_DIALOG").remove(),clearTimeout(_t)},131)})}var n=_t=_title=_content="";return _title=e.title,_content=e.content,n="",t("body").append(n),t(".KN_DIALOG").fadeIn(130),t(".KN_DIALOGBODY").before(""),i(".KN_DIALOGCLOSE"),i(".KN_DIALOGYES"),i(".KN_DIALOGCOVER"),!1})}}(jQuery),function(t){t.fn.ModTips=function(e){t.extend({},{content:""},e);return this.each(function(){function i(e){t("body").append(""+e+"
");var i=_wh=_thisw=_thish=_t="";i=parseFloat(t(window).width()/2),_wh=parseFloat(t(window).height()/2),_thisw=parseFloat(t(".KN_MODTIPS").width()/2),_thish=parseFloat(t(".KN_MODTIPS").height()/2),t(".KN_MODTIPS").css({top:_wh-_thish,left:i-_thisw}),_t=setInterval(function(){t(".KN_MODTIPS").remove(),setInterval(_t)},3e3)}i(e.content)})}}(jQuery),function(t){t.fn.CloseObject=function(e){t.extend({},{object:"",operate:function(){}},e);return this.each(function(){function i(e,i){t(document).on("click",function(t){var n=_left1=_top2=_left2=_top3=_left3="";n=parseFloat(e.offset().top),_left1=parseFloat(e.offset().left),_top2=parseFloat(e.offset().top+e.height()),_left2=parseFloat(e.offset().left+e.width()),_top3=parseFloat(t.pageY),_left3=parseFloat(t.pageX),(_top3>_top2||_top3_left2||_left3<_left1)&&i()})}i(e.object,e.operate)})}}(jQuery),function(t){t.fn.Code=function(e){t.extend({},{object:".KN_CODE",title:""},e);return this.each(function(){function i(t){var e="";return 0===t.length?"":(e=t.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,"""),e)}var n=str1_=str2_="";return n=t(e.object),str1_=n.html(),n.html(i(str1_)),str2_=n.html(),n.html("- "+str2_.replace(/[\r\t\n]+/g,"
- ")+"
"),n.prepend(""+e.title+"
"),!1})}}(jQuery),function(t){t.fn.BottomMost=function(e){t.extend({},{after:".KN_AFTER",object:".KN_WEBBODY",space:0},e);return this.each(function(){function i(e,i){t(".KN_BOTTOMMOST").remove(),t(".KN_AFTER").after("");var n=offh=doch=fth="";n=parseFloat(t(window).height()),offh=parseFloat(t(".KN_BOTTOMMOST").offset().top),doch=parseFloat(offh+i),fth=isNaN(parseFloat(t(".KN_FOOTER").height()))?0:parseFloat(t(".KN_FOOTER").height()),console.log("win:"+n,",off:"+offh,",doc:"+doch,",ft:"+fth),n-offhn?t("html").addClass("KN_HEIGHTAUTO"):t("html").removeClass("KN_HEIGHTAUTO")}return i(e.object,e.space),t(window).resize(function(t){i(e.object,e.space)}),!1})}}(jQuery),$(function(){$(".KN_WEBBODY").BottomMost({after:".KN_AFTER",object:".KN_WEBBODY",space:parseFloat($(".KN_AFTER").css("padding-bottom"))})}),$(function(){$(".KN_PCBACK,.KN_APPBACK,.KN_APPHDPREV").click(function(t){return window.history.back(),!1}),$(".KN_PCFORWARD,.KN_APPFORWARD").click(function(t){return window.history.forward(),!1}),$(".KN_PCPRINT").click(function(t){return window.print(),!1})}),$(function(){$(".KN_BTNMEDIAVIDEOPLAYGROUP").on("click",function(t){var e="";return e=$(this).siblings(".KN_MEDIAVIDEO").get(0),e.play(),$(this).fadeOut(600).siblings(".KN_MEDIAVIDEOBG").fadeOut(600),e.onended=function(){$(this).siblings(".KN_BTNMEDIAVIDEOPLAYGROUP,.KN_MEDIAVIDEOBG").fadeIn(600)},!1})}),$(function(){$(".KN_formCheckall").find("input[type='checkbox']").click(function(t){var e=_checkbox="";e=$(this),_checkbox=$(this).parents(".KN_formCheckall").siblings(".KN_formCheckbox").find("input[type='checkbox']"),$.each(_checkbox,function(t,i){e.prop("checked")?$(this).prop("checked",!0):$(this).prop("checked",!1),$(this).click(function(i){$(this).prop("checked")||(e.prop("checked",!1),_checkbox.eq(t).prop("checked",!1))})})})}),$(function(){$(document).on("change",".kniu_btnFileInput",function(t){$(this).parents(".kniu_btnFile").siblings(".kniu_btnFilePath").html($(this).val()).removeClass("KN_HIDE")}),$(document).on("click","input[type='reset']",function(t){$(".kniu_btnFilePath").html("").addClass("KN_HIDE")})}),$(function(){function t(t){var e=_text="";$(t).on("focus",function(t){e=$(this),_text=e.attr("placeholder"),e.attr("placeholder","")}).on("blur",function(t){return e.attr("placeholder",_text),!1})}t(".KN_FORMHOLDER")}),$(function(){function t(t){var e=_text="";$(t).on("focus",function(t){e=$(this),_text=e.val(),e.val("")}).on("blur",function(t){return e.val(_text),!1})}t(".KN_SEARCHVAL")}),$(function(){$(document).on("click",".KN_BTNSUBMIT",function(t){var e=_reg=_val=_text="";$.each($(".KN_VERIFY"),function(t,i){if(e=$(this),_reg=/\s/g,_val=e.val(),_text=e.attr("placeholder"),_reg.test(_val)||!_val.length)return $(this).Dialog({title:"输入错误",content:_text}),e.val("").focus(),!1})})}),$(function(){$(".KN_APPSIDE").prepend(""),$(document).on("click",".KN_APPSIDECHANGE",function(t){var e=$(this);return e.parents(".KN_APPSIDE").addClass("ACTIVE"),$("html").addClass("KN_OVERHIDE"),$("body").append(""),$(document).on("click",".KN_APPSIDECOVER",function(t){e.parents(".KN_APPSIDE").removeClass("ACTIVE"),$(this).remove(),$("html").removeClass("KN_OVERHIDE")}),$(document).on("click",".KN_APPSIDEX",function(t){e.parents(".KN_APPSIDE").removeClass("ACTIVE"),$(".KN_APPSIDECOVER").remove(),$("html").removeClass("KN_OVERHIDE")}),$(window).blur(function(t){$(".KN_APPSIDEX").click()}),!1})}),$(function(){$.each($(".KN_CODE"),function(t,e){$(this).addClass("KN_CODE"+(t+1)),$(".KN_CODE").Code({object:".KN_CODE"+(t+1),title:"示例:"})})}),$(function(){function t(t){var e="";return 0===t.length?"":(e=t.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,"""),e)}$.each($(".kniu_example"),function(e,i){$(this).prepend("");var n=$(this).find(".kniu_exampleCode").html();$(this).find(".kniu_exampleCode").html(t(n)),n=$(this).find(".kniu_exampleCode").html(),$(this).find(".kniu_exampleCode").html("- "+n.replace(/[\r\t\n]+/g,"
- ")+"
"),$.each($(this).find(".KN_CODECONTENT>li"),function(t,e){t+=1,t<10&&(t="0"+t);var i=[];i.push(t),$(this).parents(".kniu_exampleCode").find(".kniu_exampleNum").append(""+i+".
")})}),$(document).on("click",".kniu_exampleIcon",function(t){var e=$(this).parents(".kniu_example").find(".kniu_exampleCode"),i=$(this);e.hasClass("KN_SHOW")?(e.removeClass("KN_SHOW"),i.html("")):(e.addClass("KN_SHOW"),i.html(""))})}),$(function(){$.each($(".KN_PANEL"),function(t,e){var i=str="";i=[],str=$(this).html(),i.push(str),$(this).html(i),$(this).prepend(''),"true"===$(this).find(".KN_PANELUP").attr("kniu-panel-show")&&$(this).find(".KN_PANELUPCHECKBOX").prop("checked",!0)}),$(document).on("click",".KN_PANELUP",function(t){$(this).find(".KN_PANELUPCHECKBOX").is(":checked")?$(this).find(".KN_PANELUPCHECKBOX").prop("checked",!1):$(this).find(".KN_PANELUPCHECKBOX").prop("checked",!0)})}),$(function(){function t(t,e,i){$(t).find(".KN_SHUTTLEINPUT").is(":checked")?($(t).addClass("ACTIVE"),$(t).parents(e).siblings(".KN_SHUTTLECENTER").find(i).addClass("ACTIVE")):($(t).removeClass("ACTIVE"),$(t).parents(e).find(".KN_SHUTTLEBTN").hasClass("ACTIVE")||$(t).parents(e).siblings(".KN_SHUTTLECENTER").find(i).removeClass("ACTIVE"))}function e(t,e,i){var n=$(t).parents(".KN_SHUTTLEBOX").find(e);n.find(".KN_SHUTTLEBTN").hasClass("ACTIVE")&&n.find(".ACTIVE").remove().prependTo(i).removeClass("ACTIVE").find(".KN_SHUTTLEINPUT").prop("checked",!1),$(t).removeClass("ACTIVE")}$(document).on("click",".KN_SHUTTLELEFT>.KN_SHUTTLEBTN",function(e){t(this,".KN_SHUTTLELEFT",".KN_SHUTTLECENTERTOP>.KN_SHUTTLECENTERBTN")}),$(document).on("click",".KN_SHUTTLERIGHT>.KN_SHUTTLEBTN",function(e){t(this,".KN_SHUTTLERIGHT",".KN_SHUTTLECENTERBOT>.KN_SHUTTLECENTERBTN")}),$(".KN_SHUTTLECENTERTOP>.KN_SHUTTLECENTERBTN").on("click",function(t){e(this,".KN_SHUTTLELEFT",".KN_SHUTTLERIGHT")}),$(".KN_SHUTTLECENTERBOT>.KN_SHUTTLECENTERBTN").on("click",function(t){e(this,".KN_SHUTTLERIGHT",".KN_SHUTTLELEFT")})}),$(function(){var t="";$(".KN_SHOWNEXT").on("click",function(e){return t=$(this).parents(".KN_SHOWMIN").find(".KN_SHOWIMGLIST.ACTIVE").index(),t++,t%=$(this).parents(".KN_SHOWMIN").find(".KN_SHOWIMGLIST").length,$(this).parents(".KN_SHOWMIN").find(".KN_SHOWIMGLIST").eq(t).addClass("ACTIVE").siblings(".KN_SHOWIMGLIST").removeClass("ACTIVE"),!1}),$(".KN_SHOWPREV").on("click",function(e){return t=$(this).parents(".KN_SHOWMIN").find(".KN_SHOWIMGLIST.ACTIVE").index(),t--,t%=$(this).parents(".KN_SHOWMIN").find(".KN_SHOWIMGLIST").length,$(this).parents(".KN_SHOWMIN").find(".KN_SHOWIMGLIST").eq(t).addClass("ACTIVE").siblings(".KN_SHOWIMGLIST").removeClass("ACTIVE"),!1})}),$(function(){$.each($("fieldset"),function(t,e){0===t&&$(this).addClass("kniu_mt_0")})});