/*! Powered by kodbox;hash:80dcc1acc2b840c4af90 [2024/08/02 12:57:05] */ !function(s){function t(t){for(var e,n,i=t[0],o=t[1],r=0,a=[];r'+s.logoText+"":(e=function e(t){return'"},n=function n(t){return''+t+""},"copyright"==t?(s=LNG["common.copyright.name"],"A"==window.G.kod.versionType&&LNG["common.oemCompany"]!=window.md5(_.get(window,"G.kod.channel",""))&&(r=a,s="kodbox"),o?e(r):n(s)):"login"!=t||o?e(r):n(i.systemName))}},f=function f(){var t=API_URL("user/view/lang","v="+time());return requirePromise("text!"+t).then(function(t){if(t){try{t=JSON.parse(t)}catch(e){return h(t)}t&&t.code&&t.data&&p(t.data)}})},h=function h(t){Tips.close("System error!",!1);var e=(e=$.dialog.list["xhrErrorDialog"])||$.dialog({"id":"xhrErrorDialog","padding":0,"width":"55%","height":"60%","fixed":!0,"resize":!0,"title":"System Error","content":""}),t='\n\t\t
\n\t\t
\n\t\t\n\t\t

System Error!

'+htmlSafe(t)+"\n\t\t
";$.iframeHtml(e.$main.find(".aui-content"),t)},m=function m(){return r.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.5)}).then(d).then(function(){NProgress.set(.6)}).then(c).then(function(){NProgress.done(),$("body > .loading-body").fadeOut(1e3,function(){$(this).remove()})})},w=function w(){return window.API_HOST?r.then(function(){NProgress.isStarted()||NProgress.start(),NProgress.set(.6)}).then(c).then(function(){NProgress.done()}):r.then()};e.loadMain=m,e.loadApi=w,e.loadOption=u,e.loadLang=f,e.loadPlugin=d},"62":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{"value":!0}),e["default"]=function(){i(),r(),o(),l(),s(),Events.trigger("windowReady");var t=document.createEvent("CustomEvent");t.initCustomEvent("kodReadyView",!0,!0,{"source":window}),document.dispatchEvent(t)};var i=function i(){var t;$.fn.perfectScroll&&(t=function t(){$(".perfectScroll").perfectScroll()},$(window).bind("resize",t),$(window).bind("scoller",t))},r=function r(){var t,o,e;$.isWindowTouch()||$.fn.poshytip&&(t=$("[title]"),o=!1,t.poshytip({"className":"ptips-skin","liveEvents":!0,"slide":!1,"alignTo":"cursor","alignX":"right","alignY":"bottom","showAniDuration":150,"hideAniDuration":200,"offsetY":10,"offsetX":20,"showTimeout":function(t){var e,n=1500,i=($(this).attr("title-timeout")?n=parseInt($(this).attr("title-timeout")):(e=$(this).parentNode("[title-root-set]"))&&e.attr("title-timeout")&&(n=parseInt(e.attr("title-timeout"))),function i(){t.opts.showAniDuration=150,t.opts.hideAniDuration=200});return timeFloat()-$.fn.poshytip.lastHideBefore<.15?(clearTimeout(o),o=setTimeout(i,110),n<=100?n:100):(i(),n)},"content":function(t){var e,n,i,o,r=$(this);if(!$.isDraging&&!($(this).hasClass("context-menu-active")||$(this).is(":focus")||r.hasClass("disable")||r.hasClass("disable-title")))return i=r.attr("title-skin"),o=r.attr("title-position"),(e=r.parentNode("[title-root-set]"))&&(i=e.attr("title-skin"),o=e.attr("title-position")),t.addClass(i||"yellow"),o&&(e=["center bottom","center top-5"],(n=2!=(n=o.split(",")).length?e:n)[0]||(n[0]=e[0]),n[1]||(n[1]=e[1]),setTimeout(function(){t.position({"my":n[0],"at":n[1],"of":r,"collision":"flipfit flipfit"})},0)),(i=$(this).data("titleCreate"))&&_.isFunction(i)?i($(this)):(o=$(this).data("title.poshytip"),(o=-1==(o=(o=$(this).attr("title-data")?(r=$($(this).attr("title-data"))).is("input")||r.is("textarea")?r.val():r.html():o)||"").indexOf("<")&&-1==o.indexOf(">")?o.replace(/\n/g,"
"):o).replace(/ /g," "))}}),e=function e(t){$("[title]").poshytip("clearTimeouts").poshytip("hide"),$(".ptips-skin").remove(),$.fn.poshytip.lastHideBefore=0},$(document).bind("mousedown mouseup click touchend touchstart",function(t){$.fn.poshytip&&!$(t.target).attr("data-require")&&e(t)}),$("input,textarea").live("focus",function(t){$.fn.poshytip&&!$(this).attr("data-require")&&e(t)}))},o=function o(){window.API_HOST&&(template.defaults.cache=!0,template.defaults.minimize=!1,template.defaults.compileDebug=!1)},a=function a(){var t,e;$.isWindowTouch()||(t=[".hover-animate-item",".menuBar .menu-item",".menu-group-submenu .menu-item-sub",".menuBar .dropdown-menu-main li.ripple-item",".setting-menu-left .menu-item-content",".admin-menu-left .menu-item-content",".frame-main-explorer .file-panel > .tab-group-line .tab-item"].join(","),e=[".disable,.disabled,.not-selectable",".select",".this",".hover-active",".active",".menuBar .menu-group.open > .menu-item",".setting-menu-left .menu-item.select .menu-item-content",".admin-menu-left .menu-item.select .menu-item-content"].join(","),$.hoverAnimate({"el":t,"delegate":"body","disable":e,"scale":1}))},l=function l(){var s,t=["a,button,.ripple-item,.kui-btn,.btn,[ripple-item],.button.switch",".form-row.style-list-block label"].join(","),e=t+",.context-menu-item",n=($.isWindowTouch()&&(e=t),loadRipple(e,".disable-ripple,.disabled,.disable,.ztree a.tree-node,.not-selectable,.tox-tbtn--disabled"),a(),$(window).bind("resize",function(){Events.trigger("window.resize")}),function n(t){return!!$(t.target).isEdit()||stopPP(t)});$(document).bind("dragover",n).bind("drop",n),$("body").delegate(".password-view","click",function(t){var e,n,i=$(this),o=i.parent().children('input[type="password"],input.input-password').not("._password-input");1==o.length&&(o.hasClass("input-password")?(i.toggleClass("active"),o.toggleClass("input-password-show").focus()):i.hasClass("active")?(o.css("display",""),i.removeClass("active"),$(i.data("textBtn")).remove(),setTimeout(function(){o.focus()},0)):(e=(e=$(o.get(0)).prop("outerHTML")).replace(/type\s*=\s*("|')?password("|')?/i,'type="text"'),n=$(e).removeAttr("readonly").insertAfter(o),o.css("display","none"),i.data("textBtn",n).addClass("active"),n.focus().val(o.val()),n.addClass("_password-view-field").data("_password-input",o),setTimeout(function(){n.focus()},0)))}),$("body").delegate("._password-view-field","change keyup keydown",function(t){var e,n=$(this).data("_password-input");1==n.length&&((e=jQuery.Event(t.type)).key=t.key,e.keyCode=t.keyCode,e.which=t.which,n.val($(this).val()).trigger(e))}),$("body").delegate("img,a","dragstart",function(t){return stopPP(t)}),window.API_HOST&&($("body").delegate("a","click",function(t){"#"==$(this).attr("href")&&t.preventDefault()}),$("body").delegate("[link-href]","click",function(t){return s(t,"")}),$("body").delegate("[link-href]","mouseup",function(t){if(2==t.which)return s(t,"_blank")}),s=function s(t,e){var n,i=$(t.currentTarget),o=i.attr("link-href")||"#",e=e||i.attr("target"),r=_.startsWith(o,"http://")||_.startsWith(o,"https://"),a=o;if(!r){if(o.startsWith("/")||o.startsWith("./"))return 2==t.which||"_blank"==e?window.open(a):void(window.location.href=o);a=$.parseUrl().urlPath+("#"==o?"":"#"+o)}if(i.attr("dialog-open")||"dialog"==e)return n=i.find(".font-icon").prop("outerHTML")||"",n=htmlSafe(n+i.text()),core.openDialog(a,"",n);if(r)"_blank"==e?window.open(a):window.location.href=a;else{if(2==t.which||"_blank"==e)return window.open(a);o="#"==o&&window.parent!=window?"#&_a=1":o,Router.go(o)}})},s=function s(){$.fn.tabCurrent=function(t,e){var n=$(this);if(n&&0!=n.length){var i=n.parent(),o=(n.outerWidth(),n.offset().left-i.offset().left),r=i.children(".tab-item-bar");if(0!=r.length){var a=i.parent(),a=(a=i.attr("tab-pan-parent")?i.parents(i.attr("tab-pan-parent")):a).children(".tab-group-pan").children(".tab-content"),s=(r.data("initTab")||(r.data("initTab",1),a.hide(),r.addClass("no-animate opacity-hidden"),setTimeout(function(){r.removeClass("opacity-hidden")},10),setTimeout(function(){i.children(".tab-item").filter(".active").tabCurrent(),r.removeClass("no-animate")},300)),i.scrollLeft()||0),l=i.offset().top+i.outerHeight(),d=n.offset().top+n.outerHeight(),o={"width":(p=+n.width())+"px","left":o+(n.outerWidth()-p)/2+s+"px","transform":"translate3d(0px,-"+Math.abs(l-d+1)+"px, 0px)"};if(t&&r.addClass("no-animate"),r.css(o),i.children(".tab-item").removeClass("active"),n.addClass("active"),t&&(r.offset(),r.removeClass("no-animate")),0!=a.length){var u,c,p=n.attr("tab-name").replace(/'/g,"\\'"),f=a.filter(":visible"),h=a.filter("."+p);if(f.get(0)==h.get(0))return n.trigger("tab-select"),this;_.isArray(e)&&4==e.length?(u=e[0],s=parseInt(e[1])||0,c=e[2],l=parseInt(e[3])||s,f.addClass(c),h.show().addClass(u),setTimeout(function(){h.removeClass(u)},s),setTimeout(function(){f.hide().removeClass(c)},l)):f.switchTo(h),n.trigger("tab-select")}}}return this},$(document).delegate(".tab-group-line .tab-item","click",function(){$(this).attr("link-href")&&"self"==$(this).parent().attr("tab-tirgger")||$(this).tabCurrent(!1)});var t=_.debounce(function(){$(".tab-group-line .tab-item.active").each(function(){$(this).tabCurrent(!0)})},50);$(window).bind("resize",t),$.isWindowTouch()&&d()},d=function d(){}},"687":function(t,e,n){t.exports=n(688)},"688":function(t,e,n){"use strict";var i=n(23),n=n(62),o=(n=n)&&n.__esModule?n:{"default":n};(0,i.loadApi)().then(function(){(0,o["default"])()})}});