(function(){function G(){U.call(this);var b=this,c=this.protectedMethod,f=this.showDialog,d,m,n;this.setClosingListener=function(e){n=e};this.showDialog=function(){b.setSize(780,625);c.setTitle(y.get("cardContentSetting","\u5361\u7247\u5185\u5bb9\u8bbe\u7f6e"));c.setSelectable(!0);c.setContentPaneCreator(z);c.setClosingChecker2(function(e){m.getCurrentSettingPane().check(function(a,h){a?(d.showPrompt(h),e(!1)):e(!0)})},function(e){e(!0)},!0);c.setClosingAction(function(e){var a=null;e&&(m.getCurrentSettingPane().commit(),
a=H.getSettingValue().toJsonObject());n&&n(a)});d=c.getMessageCurtain();f()};var z=function(){var e=$("<div>");m=new ca;m.getJqUi().appendTo(e);for(var a=H.getSettingValue(),h=[y.get("webAutoplay","\u7f51\u9875\u7aef\u8f6e\u64ad\uff1a"),y.get("desktopAutoplay","\u684c\u9762\u7aef\u8f6e\u64ad\uff1a"),y.get("mobileAutoplay","\u79fb\u52a8\u7aef\u8f6e\u64ad\uff1a")],q=[a.isWebAutoplay(),a.isDesktopAutoplay(),a.isMobileAutoplay()],x=[a.getWebAutoplayTime(),a.getDesktopAutoplayTime(),a.getMobileAutoplayTime()],
t=[function(g,p){a.setWebAutoplay(g);a.setWebAutoplayTime(p)},function(g,p){a.setDesktopAutoplay(g);a.setDesktopAutoplayTime(p)},function(g,p){a.setMobileAutoplay(g);a.setMobileAutoplayTime(p)}],k=0;k<h.length;k++){var w=new da;w.setTitle(h[k]);w.setAutoplay(q[k]);w.setAutoplayTime(x[k]);w.setChangedListener(t[k]);w.getJqUi().appendTo(e)}return e}}function da(){var b,c=!0,f,d,m,n;this.setAutoplay=function(a){c=a};this.setAutoplayTime=function(a){f=a};this.setTitle=function(a){d=a};this.setChangedListener=
function(a){m=a};this.getJqUi=function(){if(!b){b=$("<div>");b.addClass("lapp-yunzhijia-setting-item");var a=$("<div>");a.addClass("lapp-yunzhijia-setting-item-autoplay");a.appendTo(b);z(a);e(a)}return b};var z=function(a){var h=$("<div>");h.css("color","#333333");h.text(d);v.layoutCtrlWithLRTB(h,56,null,100,0,0,23);h.appendTo(a);h=[y.get("open","\u5f00\u542f"),y.get("close","\u4e0d\u5f00\u542f")];for(var q=[!0,!1],x=new Q,t=0;t<h.length;t++){var k=h[t],w=q[t],g=new R;c==w&&g.setChecked(!0);g.setText(k);
g.setUserObject(w);k=g.getJqUi();v.layoutCtrlWithLRTB(k,185+100*t,null,100,0,0,23);k.appendTo(a);x.addElement(g)}x.addChangedListener(function(p){c=p.getUserObject();n.setEnabled(c);m(c,f)})},e=function(a){var h=$("<div>");h.css("color","#333333");h.text(y.get("autoplayTime","\u8f6e\u64ad\u65f6\u95f4(\u79d2)\uff1a"));v.layoutCtrlWithLRTB(h,46,null,120,40,0,23);h.appendTo(a);n=new K;n.setConstraint(3,30,1);n.setValue(f/1E3);n.setEnabled(c);n.addValueChangedListener(function(q,x,t,k){if(k==K.CHANGED_BY_MANUAL_ADJUST||
k==K.CHANGED_BY_MANUAL_EDIT)f=1E3*t,m(c,f)});h=n.getJqUi();h.css("user-select","none");v.layoutCtrlWithLRTB(h,182,null,80,40,0,null);h.appendTo(a)}}function ca(){var b,c,f,d,m=[];this.getCurrentSettingPane=function(){return d};this.getJqUi=function(){if(!b){f={};f[G.SETTING_TYPE_FOLLOW]=new ea;f[G.SETTING_TYPE_CUSTOM]=new fa;b=$("<div>");b.addClass("lapp-yunzhijia-setting-item");var e=$("<div>");e.addClass("lapp-yunzhijia-setting-item-container");e.appendTo(b);var a=$("<div>");a.css("color","#333333");
a.text(y.get("contentSource","\u5185\u5bb9\u6e90\uff1a"));v.layoutCtrlWithLRTB(a,86,null,100,0,0,23);a.appendTo(e);a=$("<div>").text("*");a.addClass("lapp-yunzhijia-setting-star");v.layoutCtrlWithLRTB(a,74,null,23,0,0,23);a.appendTo(e);a=H.getSettingValue();var h=new Q,q=0,x;for(x in f){oSettingPane=f[x];var t=new R;a.getSettingType()==x&&t.setChecked(!0);t.setText(oSettingPane.getTitle());t.setUserObject(x);var k=t.getJqUi();v.layoutCtrlWithLRTB(k,185+100*q++,null,100,0,0,23);k.appendTo(e);h.addElement(t)}h.addChangedListener(n);
c=$("<div>");c.addClass("lapp-yunzhijia-setting-item-tips");v.layoutCtrlWithLRTB(c,185,0,null,20,0,23);c.appendTo(e);z(a.getSettingType())}return b};var n=function(e){e=e.getUserObject();H.getSettingValue().setSettingType(e);z(e)},z=function(e){d=f[e];c.text(d.getTips());-1==m.indexOf(e)&&(m.push(e),d.getJqUi().appendTo(b));for(var a in f)e=f[a],e==d?e.show():e.hide()}}function V(){var b=this,c;this.getJqUi=function(){c||(c=b.protectedInit());return c};this.show=function(){c&&c.show()};this.hide=
function(){c&&c.hide()};this.getTitle=function(){return b.protectedGetTitle()};this.getTips=function(){return b.protectedGetTips()};this.getSettingType=function(){return b.protectedGetSettingType()};this.check=function(f){b.protectedCheck(f)};this.commit=function(){b.protectedCommit()};this.protectedGetTitle=function(){throw Error("override me");};this.protectedGetTips=function(){throw Error("override me");};this.protectedToggle=function(){throw Error("override me");};this.protectedCheck=function(f){throw Error("override me");
};this.protectedGetSettingType=function(){throw Error("override me");};this.protectedInit=function(){throw Error("override me");}}function ea(){V.call(this);this.protectedGetTitle=function(){return y.get("follow","\u5173\u6ce8")};this.protectedGetTips=function(){return y.get("followTips","\uff08\u9009\u62e9\u201c\u5173\u6ce8\u201d\u65f6\uff0c\u5361\u7247\u4e0a\u5c06\u53ea\u5c55\u793a\u7528\u6237\u5728\u79fb\u52a8\u8f7b\u5e94\u7528\u4e2d\u201c\u5173\u6ce8\u201d\u9875\u7b7e\u4e0b\u7684\u524d 5 \u9879\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9\uff09")};
this.protectedCommit=function(){H.getSettingValue().setSettingAnalysisList([])};this.protectedCheck=function(b){b(!1)};this.protectedGetSettingType=function(){return G.SETTING_TYPE_FOLLOW};this.protectedInit=function(){return $("<div>")}}function fa(){V.call(this);var b=this,c,f=[],d;this.protectedGetTitle=function(){return y.get("custom","\u81ea\u5b9a\u4e49")};this.protectedGetTips=function(){return y.get("customTips","\uff08\u9009\u62e9\u201c\u81ea\u5b9a\u4e49\u201d\u65f6\uff0c\u53ef\u9009\u62e9\u5f53\u524d\u7528\u6237\u6709\u6743\u9650\u67e5\u770b\u7684\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9\uff0c\u6700\u591a\u9009\u62e9 3 \u9879\uff09")};
this.protectedCommit=function(){var a=H.getSettingValue();a.setSettingType(b.getSettingType());for(var h=[],q=0;q<f.length;q++){var x=f[q],t=new W;t.fromYZJAnalysis(x);h.push(t)}a.setSettingAnalysisList(h)};this.protectedCheck=function(a){0==f.length?a(!0,y.get("noSelectCard","\u8bf7\u81f3\u5c11\u9009\u62e9\u4e00\u9879\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9")):a(!1)};this.protectedGetSettingType=function(){return G.SETTING_TYPE_CUSTOM};this.protectedInit=function(){c=$("<div>");c.addClass("lapp-yunzhijia-setting-custom-container");
d=new ha;d.setClickListener(function(){m()});d.setDeleteListener(function(){f=[];d.setYZJAnalysisList(f)});n(function(){d.setYZJAnalysisList(f)});d.getJqUi().appendTo(c);return c};var m=function(){var a=new ia;a.setYZJAnalysisList(f.concat());a.setClosingListener(function(h){d.setYZJAnalysisList(h);f=h});a.showDialog()},n=function(a){var h=H.getSettingValue().getSettingAnalysisList();0==h.length?z(h,{},a):e(h,a)},z=function(a,h,q){f=[];for(var x=0;x<a.length;x++){var t=a[x],k=t.getId();h[k]?f.push(h[k]):
(t=t.toYZJAnalysis(),t.setNoFound(!0),f.push(t))}q()},e=function(a,h){for(var q=[],x=0;x<a.length;x++)q.push(a[x].getId());(new L("lappAnalysisMgr",function(t){var k={};t=t.list;for(var w=0;w<t.length;w++){var g=new M;g.fromJsonObject(t[w]);k[g.getId()]=g}z(a,k,h)})).getYZJCardList(q)}}function ha(){var b,c,f,d,m,n=[];this.setClickListener=function(e){d=e};this.setDeleteListener=function(e){m=e};this.setYZJAnalysisList=function(e){n=e;b&&(0==n.length?(e=y.get("selectContent","\u9009\u62e9\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9"),
E.background(f,"btn-add")):(1==n.length?(e=n[0].getName(),e=y.get("selectedOneContent","\u5df2\u9009\u62e9 \u201c#1\u201d1 \u9879\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9").replace("#1",e)):e=y.get("selectedMoreContent","\u5df2\u9009\u62e9 #1 \u9879\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9").replace("#1",n.length),E.background(f,"btn-edit")),c.setText(e),c.getJqUi().attr("title",e))};this.getJqUi=function(){b||z();return b};var z=function(){b=$("<div>");b.addClass("lapp-yunzhijia-setting-selected-block");
var e=$("<div>");e.addClass("lapp-yunzhijia-setting-selected-block-content");e.appendTo(b);v.layoutCtrlWithLRTB(e,0,null,null,0,0,null);e.on("click",d);c=new I(y.get("selectContent","\u9009\u62e9\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9"));var a=c.getJqUi();a.addClass("lapp-yunzhijia-setting-selected-block-label");a.appendTo(e);f=$("<div>");E.background(f,"btn-add");f.appendTo(e);v.layoutCtrl(f,8,8,16,16);var h=$("<div>");E.background(h,"btn-delete");h.appendTo(e);v.layoutCtrlWithLRTB(h,null,-28,
16,8,null,16);h.hide();h.on("click",function(q){q.stopPropagation();q=N.createFeedbackDialog();q.setOptionType(N.OPTION_OK_CANCEL);q.setMessage(y.get("confirmClearSelectedAnalysis","\u786e\u8ba4\u6e05\u7a7a\u5df2\u9009\u62e9\u7684\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9\u5417\uff1f"));q.setClosingChecker(function(x){x==N.RETURN_OK&&m();return!0});q.showDialog()});b.on("mouseenter",function(){0<n.length&&h.show()});b.on("mouseleave",function(){h.hide()})}}function ia(){X.call(this);var b=this,c=
this.protectedMethod,f=this.showDialog,d,m,n,z,e;this.setClosingListener=function(k){z=k};this.setYZJAnalysisList=function(k){e=k};this.showDialog=function(){b.setSize(750,446);c.setTitle(y.get("selectContent","\u9009\u62e9\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9"));c.setSelectable(!0);c.setContentPaneCreator(a);c.setClosingChecker2(function(k){3<n.getSelectedYZJAnalysis().length?(m.showPrompt(y.get("selectedNumLimit","\u6700\u591a\u9009\u62e93\u9879\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9")),
k(!1)):k(!0)},function(k){k(!0)},!0);c.setClosingAction(function(k){k&&(e=n.getSelectedYZJAnalysis(),z&&z(e))});c.setSearchListener(function(k){n.search(k.getText())});m=c.getMessageCurtain();f()};var a=function(){d=$("<div>");d.addClass("lapp-yunzhijia-setting-publishInfo-selector");h();return d},h=function(){q(function(){if(O.DISPLAY_MODE_NONE==_oDatacenterInfo.getDisplayMode())var k=!1;else{k=1==_oDatacenterInfo.getAllDatacenterModel().length?!1:!0;var w=O.DISPLAY_MODE_SHOW_LAST_USED==_oDatacenterInfo.getDisplayMode()?
_oDatacenterInfo.getCurrentDatacenterModel():_oDatacenterInfo.getAllDatacenterModel()[0]}k&&x(w);n=new ja;n.setCurrentDatacenterModel(w);n.setYZJAnalysisList(e);w=n.getJqUi();w.appendTo(d);k?v.layoutCtrlWithLRTB(w,0,0,null,30,0,null):v.layoutCtrlWithLRTB(w,0,0,null,0,0,null)})},q=function(k){(new L("lappDatacenter",function(w){_oDatacenterInfo=new O;_oDatacenterInfo.fromJsonObject(w);k()})).loadDatacenterInfo()},x=function(k){var w=(new I(y.get("datacenter","\u6570\u636e\u4e2d\u5fc3\uff1a"))).getJqUi();
v.layoutCtrl(w,0,-4,70,23);w.appendTo(d);w=[];for(var g,p=_oDatacenterInfo.getAllDatacenterModel(),A=0;A<p.length;A++){var D=p[A],B=new ka(D.getAccountName(),D);w.push(B);k.getId()==D.getId()&&(g=B)}k=new Y;k.setItemModels(w);k.setSelected(g);k.addSelectedChangedListener(t);k.setCustomPainter(function(J,l,r){l.text(r);l.attr("title",r)});g=k.getJqUi();v.layoutCtrl(g,66,-4,130,23);g.appendTo(d)},t=function(k,w,g){k=g.getValue();n.setCurrentDatacenterModel(k)}}function ka(b,c){this.toString=function(){return b};
this.getValue=function(){return c}}function ja(){var b,c,f,d,m=[],n,z,e=!1;this.setCurrentDatacenterModel=function(g){d=g;f&&d&&(f.setCurrentDatacenterId(d.getId()),e&&c.setFirstChild(f.getSplitPane()));e=!1};this.setYZJAnalysisList=function(g){m=g};this.getSelectedYZJAnalysis=function(){return m};this.search=function(g){f.search(g)};this.getJqUi=function(){b||a();return b};var a=function(){c=new F;c.setHorizontalSplit(!0);c.setEnabled(!0);c.setFirstSize(520,-1,-1);c.setSecondSize(190,180,300);c.setResizeMode(F.RESIZE_MODE_FIRST_FIXED);
f=new la;d&&f.setCurrentDatacenterId(d.getId());f.setSelectAnalysisListener(h);f.setNoDirListener(function(){c.setFirstChild(f.getNoDirSplitPane());e=!0});var g=q();c.setFirstChild(f.getSplitPane());c.setSecondChild(F.createChildWrapper(g));b=c.getJqUi()},h=function(g,p){for(var A=!1,D,B=0;B<m.length;B++){var J=m[B];if(g.getId()==J.getId()){A=!0;D=B;break}}p&&!A?(p=new M,p.fromAnalysis(g),d&&(p.setDatacenterId(d.getId()),p.setAccountName(d.getAccountName())),m.push(p)):!p&&A&&m.splice(D,1);t()},q=
function(){var g=$("<div>");g.css("border-left","1px solid #ccc");z=new I;var p=z.getJqUi();v.layoutCtrlWithLRTB(p,8,null,null,0,null,20);p.appendTo(g);p=$("<div>");p.text(y.get("clearAll","\u5168\u90e8\u6e05\u9664"));p.addClass("lapp-yunzhijia-setting-publishInfo-clear");v.layoutCtrlWithLRTB(p,null,0,null,2,null,18);p.appendTo(g);p.on("click",x);n=$("<div>");n.css("overflow-y","auto");v.layoutCtrlWithLRTB(n,8,0,null,24,0,null);n.appendTo(g);t();return g},x=function(){m=[];t()},t=function(){for(var g=
[],p=0;p<m.length;p++)g.push(m[p].getId());f.refreshSelectedAnalysis(g);n.children().remove();g=m.length;z.setText(y.get("selected","\u5df2\u9009(#)").replace("#",g));for(g=0;g<m.length;g++)p=k(m[g]),v.layoutCtrlWithLRTB(p,8,0,null,32*g,null,32),p.appendTo(n)},k=function(g){var p=$("<div>");p.addClass("lapp-yunzhijia-setting-publishInfo-item");var A=(new I(g.getName())).getJqUi();v.layoutCtrlWithLRTB(A,0,24,null,0,0,null);A.appendTo(p);var D=g.getName();g.getAccountName()&&(D=D+"\r\n"+y.get("datacenter",
"\u6570\u636e\u4e2d\u5fc3\uff1a")+g.getAccountName());A.attr("title",D);if(g.isNoFound()||!g.isAuthorized())v.layoutCtrlWithLRTB(A,20,24,null,0,0,null),A=w(),v.layoutCtrlWithLRTB(A,0,null,12,10,0,12),A.appendTo(p),A.attr("title",y.get("analysisNoFound","\u8be5\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9\u5df2\u88ab\u5220\u9664\u6216\u6ca1\u6709\u6743\u9650\u67e5\u770b"));var B=$("<div>");B.css("cursor","pointer");E.background(B,"btn-delete");v.layoutCtrlWithLRTB(B,null,0,16,9,0,16);B.appendTo(p);B.on("click",
function(){var J=m.indexOf(g);-1!=J&&(m.splice(J,1),t())});B.hide();p.on("mouseenter",function(){B.show()});p.on("mouseleave",function(){B.hide()});return p},w=function(){var g=$("<div>");g.text("!");g.css({width:"12px",height:"12px","line-height":"12px","font-size":"12px","font-weight":"bold","text-align":"center","background-color":"yellow",color:"#bc1118",border:"solid 1px #bc1118","border-radius":"6px"});return g}}function la(){var b,c,f,d,m,n,z=[],e=[],a,h,q="";this.setCurrentDatacenterId=function(l){n=
l;m&&k()};this.setSelectAnalysisListener=function(l){a=l};this.setNoDirListener=function(l){h=l};this.search=function(l){(q=$.trim(l))&&(q=q.toLocaleLowerCase());p()};this.refreshSelectedAnalysis=function(l){e=l;for(var r=0;r<z.length;r++){var u=z[r],C=u.getUserObject();C=-1!=l.indexOf(C.getId());u.setChecked(C)}};this.getSplitPane=function(){m||x();return m};this.getNoDirSplitPane=function(){m&&(m.getJqUi().remove(),m=null);var l=D(y.get("noAnalysis","\u6682\u65e0\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9"));
return F.createChildWrapper(l)};var x=function(){var l=t();c=$("<div>");c.css("overflow-y","auto");c.css("border-left","1px solid #ccc");v.layoutCtrlWithLRTB(c,0,0,null,0,0,null);var r=c;m=new F;m.setHorizontalSplit(!0);m.setEnabled(!0);m.setResizeMode(F.RESIZE_MODE_FIRST_FIXED);m.setFirstSize(210,150,300);m.setSecondSize(302,0,-1);m.setFirstChild(F.createChildWrapper(l,function(){}));m.setSecondChild(F.createChildWrapper(r,function(){}))},t=function(){var l=$("<div>"),r=(new I(y.get("publishDirectory",
"\u53d1\u5e03\u76ee\u5f55"))).getJqUi();v.layoutCtrlWithLRTB(r,0,0,null,0,null,20);r.appendTo(l);b=$("<div>");b.css("overflow-y","auto");v.layoutCtrlWithLRTB(b,8,0,null,26,0,null);b.appendTo(l);k();return l},k=function(){b&&(b.children().remove(),c&&c.children().remove(),w(function(l){if(0==l.length)h();else for(var r=!0,u=0;u<l.length;u++){var C=l[u],S=g(C);v.layoutCtrlWithLRTB(S,0,0,null,32*u,null,32);S.appendTo(b);r&&(r=!1,_oCurDir=C,p(),S.addClass("lapp-yunzhijia-setting-publishInfo-item-selected"))}}))},
w=function(l){(new L("lappDirectoryMgr",function(r){_oDirectorySet=new Z;_oDirectorySet.fromJsonObject(r);l(_oDirectorySet.getAllDirectory())})).getAllDirContent(n)},g=function(l){var r=$("<div>");r.addClass("lapp-yunzhijia-setting-publishInfo-item");r.on("click",function(){_oCurDir=l;p();r.parent().children().removeClass("lapp-yunzhijia-setting-publishInfo-item-selected");r.addClass("lapp-yunzhijia-setting-publishInfo-item-selected")});var u=$("<div>");E.background(u,"icon-dir");v.layoutCtrl(u,0,
9,18,18);u.appendTo(r);u=(new I(l.getName())).getJqUi();v.layoutCtrlWithLRTB(u,24,0,null,0,0,null);u.appendTo(r);return r},p=function(){c.children().remove();z=[];for(var l=_oCurDir.getAnalysisList(),r=0,u=0;u<l.length;u++){var C=l[u];-1!=C.getName().toLocaleLowerCase().indexOf(q)&&(C=A(C),v.layoutCtrlWithLRTB(C,8,8,null,32*r++,null,32),C.appendTo(c))}0==r&&(l=y.get("noAnalysis","\u6682\u65e0\u6570\u636e\u53ef\u89c6\u5316\u5185\u5bb9"),q&&(l=y.get("noSearchAnalysis","\u6ca1\u6709\u7b26\u5408\u641c\u7d22\u6761\u4ef6\u7684\u7ed3\u679c")),
D(l).appendTo(c))},A=function(l){var r=$("<div>");r.addClass("lapp-yunzhijia-setting-publishInfo-item");var u=new aa;u.setUserObject(l);u.addCheckedListener(J);-1!=e.indexOf(l.getId())&&u.setChecked(!0);var C=u.getJqUi();C.css("z-index","1");v.layoutCtrlWithLRTB(C,0,20,null,6,0,null);C.appendTo(r);z.push(u);u=$("<div>");E.background(u,B(l));v.layoutCtrl(u,26,9,16,16);u.appendTo(r);u=(new I(l.getName())).getJqUi();v.layoutCtrlWithLRTB(u,50,20,null,0,0,null);u.appendTo(r);q&&T.highLightbyKeyword(u.children(),
l.getName(),q,"red");u=$("<div>");E.background(u,"icon_info");u.css("cursor","pointer");v.layoutCtrlWithLRTB(u,null,0,16,9,null,16);u.appendTo(r);u.on("click",function(){T.showAnalysisInfoDialog(l)});return r},D=function(l){if(!f){f=$("<div>");f.addClass("lapp-followeditor-nofollow");var r=$("<span>");r.addClass("lapp-followeditor-nofollow-icon");E.background(r,"icon_nofollow");r.appendTo(f);d=$("<span>");d.addClass("lapp-followeditor-nofollow-text");d.appendTo(f)}d.text(l);return f},B=function(l){switch(l.getViewType()){case P.VIEW_TYPE_LONGER:l=
"btn-longer";break;case P.VIEW_TYPE_SQUARE:l="btn-square";break;case P.VIEW_TYPE_DASHBOARD:l="btn-dsb";break;default:l="btn-longer"}return l+"_hover"},J=function(l,r){r&&(r=l.isChecked(),l=l.getUserObject(),a(l,r))}}function ma(){var b,c,f,d,m,n,z,e;this.setSettingType=function(a){b=a};this.getSettingType=function(){return b};this.setSettingAnalysisList=function(a){c=a};this.getSettingAnalysisList=function(){return c};this.setWebAutoplay=function(a){f=a};this.isWebAutoplay=function(){return f};this.setWebAutoplayTime=
function(a){d=a};this.getWebAutoplayTime=function(){return d};this.setDesktopAutoplay=function(a){m=a};this.isDesktopAutoplay=function(){return m};this.setDesktopAutoplayTime=function(a){n=a};this.getDesktopAutoplayTime=function(){return n};this.setMobileAutoplay=function(a){z=a};this.isMobileAutoplay=function(){return z};this.setMobileAutoplayTime=function(a){e=a};this.getMobileAutoplayTime=function(){return e};this.fromJsonObject=function(a){b=G.SETTING_TYPE_FOLLOW;c=[];f=!0;d=3E3;m=!0;n=3E3;z=
!0;e=3E3;if(a){b=a.settingType;var h=a.settingAnalysisList;if(h)for(var q=0;q<h.length;q++){var x=new W;x.fromJsonObject(h[q]);c.push(x)}f=a.webAutoplay;d=a.webAutoplayTime;m=a.desktopAutoplay;n=a.desktopAutoplayTime;z=a.mobileAutoplay;e=a.mobileAutoplayTime}};this.toJsonObject=function(){var a={};a.settingType=b;if(c){for(var h=[],q=0;q<c.length;q++)h.push(c[q].toJsonObject());a.settingAnalysisList=h}a.webAutoplay=f;a.webAutoplayTime=d;a.desktopAutoplay=m;a.desktopAutoplayTime=n;a.mobileAutoplay=
z;a.mobileAutoplayTime=e;return a}}function W(){var b,c,f;this.setId=function(d){b=d};this.getId=function(){return b};this.setName=function(d){c=d};this.getName=function(){return c};this.setCreatorName=function(d){f=d};this.getCreatorName=function(){return f};this.fromJsonObject=function(d){d&&(b=d.id,c=d.name,f=d.creatorName)};this.toJsonObject=function(){var d={};d.id=b;d.name=c;d.creatorName=f;return d};this.toYZJAnalysis=function(){var d=new M;d.setId(b);d.setName(c);d.setCreatorName(f);return d};
this.fromYZJAnalysis=function(d){b=d.getId();c=d.getName();f=d.getCreatorName()}}"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.lapp&&(com.kingdee.bos.qing.lapp={});"undefined"==typeof com.kingdee.bos.qing.lapp.yunzhijia&&(com.kingdee.bos.qing.lapp.yunzhijia={});"undefined"==typeof com.kingdee.bos.qing.lapp.yunzhijia.setting&&
(com.kingdee.bos.qing.lapp.yunzhijia.setting={});"undefined"==typeof com.kingdee.bos.qing.lapp.yunzhijia.setting.ui&&(com.kingdee.bos.qing.lapp.yunzhijia.setting.ui={});var ba=com.kingdee.bos.qing.lapp.yunzhijia.setting.ui,U,Q,R,aa,Y,I,F,E,N,X,K,v,y,L,Z,O,P,M,T;(function(){var b=com.kingdee.bos.qing.lapp.component;U=b.AbstractModalDialog;Q=b.RadioButtonGroup;R=b.RadioButton;aa=b.CheckBox;Y=b.ComboBox;I=b.Label;F=b.SplitPane;E=b.Icons;N=b.DesktopMessageDialog;X=b.AbstractModalDialogWithSearchBox;K=
b.Spinner;b=com.kingdee.bos.qing.common;v=b.DomUtil;b=com.kingdee.bos.qing.lapp.framework;L=b.Facade;b=com.kingdee.bos.qing.lapp.framework.common;y=b.MultilanguageManager.createPackageAccessor(ba);b=com.kingdee.bos.qing.lapp.model;Z=b.DirectorySet;O=b.DatacenterInfo;P=b.Analysis;M=b.YZJAnalysis;b=com.kingdee.bos.qing.lapp.common.ui;T=b.CommonUiUtil})();var H=new function(){var b;this.setSettingValue=function(c){b=new ma;b.fromJsonObject(c)};this.getSettingValue=function(){return b}};ba.YunzhijiaSetting=
function(){var b;this.setValue=function(c){b=c;console.log("setValue: "+JSON.stringify(c));H.setSettingValue(b)};this.createUi=function(){var c=new G;c.setClosingListener(function(f){var d={from:"LAPP_YUNZHIJIA_SETTING",type:"closeDialog"};d.value=f;console.log(JSON.stringify(d));window.parent.postMessage(JSON.stringify(d),"*")});c.showDialog()}};G.SETTING_TYPE_FOLLOW="SETTING_TYPE_FOLLOW";G.SETTING_TYPE_CUSTOM="SETTING_TYPE_CUSTOM"})();
//qingVersionTag: 20250415