(function(){"undefined"==typeof com&&(com={});"undefined"==typeof com.kingdee&&(com.kingdee={});"undefined"==typeof com.kingdee.bos&&(com.kingdee.bos={});"undefined"==typeof com.kingdee.bos.qing&&(com.kingdee.bos.qing={});"undefined"==typeof com.kingdee.bos.qing.support&&(com.kingdee.bos.qing.support={});var m=com.kingdee.bos.qing.support;var n=com.kingdee.bos.qing.framework.common.MultilanguageManager.createPackageAccessor(m);m.Main=function(){var d,b,g,h,k,l=!1,p;this.creatSupportUi=function(c){var a=
$("<div>");a.addClass("sa-statusbar-support");a.on("click",t);a.on("mouseenter",function(){e.css("background-image","url(support/resource/icon_support_on.png)")});a.on("mouseleave",function(){e.css("background-image","url(support/resource/icon_support.png)")});var e=$("<div>");e.addClass("sa-statusbar-supporticon");e.css("background-image","url(support/resource/icon_support.png)");var f=$("<div>");f.addClass("sa-statusbar-supporttip");f.text(n.get("support","\u5e2e\u52a9"));f.appendTo(a);e.appendTo(a);
a.appendTo(c)};this.setParamLanguage=function(c){p=c};var t=function(){b?l&&"none"==d.css("display")?(g.remove(),h.remove(),q(b),d.css("display",""),r()):"none"==d.css("display")?d.css("display",""):d.css("display","none"):(u(),q(),$(document.body).append(d),r())},r=function(){$.ajax({url:"https://q.kingdee.com/qing-releasenote/supportscene/contentsize.json?timestamp="+(new Date).getTime(),type:"get",dataType:"json",timeout:1E4,success:function(c){l=!1;b.append(v("https://q.kingdee.com/qing-releasenote",
c[0].width,c[0].height))},error:function(){l=!0;k&&k.remove();g||(g=$("<span>"),g.addClass("sa-networkanomaly-icon"),g.css("background-image","url(support/resource/icon_network_anomaly.png)"),h=$("<span>"),h.addClass("sa-networkanomaly-text"),h.text(n.get("netException","\u7f51\u7edc\u5f02\u5e38\uff0c\u83b7\u53d6\u4ea7\u54c1\u52a8\u6001\u5931\u8d25")));b.append(g);b.append(h)}})},q=function(){k=com.kingdee.bos.qing.framework.common.AbstractFacade.block(b)},u=function(){d=$("<div class='sa-ctrl-modallayer'>");
d.on("click",function(){d.css("display","none")});b=$("<div>");b.addClass("sa-supportcontentbox");b.on("click",function(a){a.stopPropagation()});var c=$("<div>");c.css({"background-image":"url(support/resource/icon_close.png)","background-size":"100%",width:"20px",height:"20px",top:"20px",right:"20px",position:"absolute",cursor:"pointer"});c.on("click",function(){d.css("display","none")});c.appendTo(b);b.appendTo(d)},v=function(c,a,e){b.css({width:a,height:e,"margin-left":-a/2,"margin-top":-e/2});
var f=$("<iframe>");f.attr("src",c+"/supportscene/support-sence.html?language="+p+"&scene=ierp");f.css({width:a,height:e,overflow:"hidden",border:"none"});f.on("load",function(){k&&k.remove()});return f}}})();
//qingVersionTag: 20250415