var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,l,q){if(m==Array.prototype||m==Object.prototype)return m;m[l]=q.value;return m};
$jscomp.getGlobal=function(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var l=0;l<m.length;++l){var q=m[l];if(q&&q.Math==Math)return q}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};
$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(m,l){var q=$jscomp.propertyToPolyfillSymbol[l];if(null==q)return m[l];q=m[q];return void 0!==q?q:m[l]};$jscomp.polyfill=function(m,l,q,d){l&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,l,q,d):$jscomp.polyfillUnisolated(m,l,q,d))};
$jscomp.polyfillUnisolated=function(m,l,q,d){q=$jscomp.global;m=m.split(".");for(d=0;d<m.length-1;d++){var r=m[d];if(!(r in q))return;q=q[r]}m=m[m.length-1];d=q[m];l=l(d);l!=d&&null!=l&&$jscomp.defineProperty(q,m,{configurable:!0,writable:!0,value:l})};
$jscomp.polyfillIsolated=function(m,l,q,d){var r=m.split(".");m=1===r.length;d=r[0];d=!m&&d in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var B=0;B<r.length-1;B++){var z=r[B];if(!(z in d))return;d=d[z]}r=r[r.length-1];q=$jscomp.IS_SYMBOL_NATIVE&&"es6"===q?d[r]:null;l=l(q);null!=l&&(m?$jscomp.defineProperty($jscomp.polyfills,r,{configurable:!0,writable:!0,value:l}):l!==q&&(void 0===$jscomp.propertyToPolyfillSymbol[r]&&(q=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[r]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(r):$jscomp.POLYFILL_PREFIX+q+"$"+r),$jscomp.defineProperty(d,$jscomp.propertyToPolyfillSymbol[r],{configurable:!0,writable:!0,value:l})))};
$jscomp.polyfill("String.prototype.replaceAll",function(m){return m?m:function(l,q){if(l instanceof RegExp&&!l.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return l instanceof RegExp?this.replace(l,q):this.replace(new RegExp(String(l).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),q)}},"es_2021","es3");
(function(){function m(){var r,B,z,x,e=!1,t=!1;this.isFinshed=function(){return e};this.isMetaChanged=function(){return t};this.fromJsonObject=function(w){r=w.totalEntity;B=w.currentEntity;z=w.totalRows;x=w.dealRows;e=w.isFinished;t=w.metaChanged};this.toText=function(){if(e)return d.get("extractDataFinished","\u51c6\u5907\u6570\u636e\u5b8c\u6bd5\uff0c\u6b63\u5728\u521d\u59cb\u5316\u754c\u9762")+"...";if(!r||-1==r)return d.get("extractData","\u6b63\u5728\u51c6\u5907\u6570\u636e")+"...";var w=d.get("progressText",
"\u5171\u9700\u5904\u7406 #1 \u5f20\u6570\u636e\u8868\uff0c\u6b63\u5728\u5904\u7406\u7b2c #2 \u5f20\u3002").replace("#1",r).replace("#2",B);0<x&&0>=z?w=d.get("progressTextWithDeal","\u5171\u9700\u5904\u7406 #1 \u5f20\u6570\u636e\u8868\uff0c\u6b63\u5728\u5904\u7406\u7b2c #2 \u5f20\uff0c\u5df2\u5b8c\u6210 #3 \u884c\u3002").replace("#1",r).replace("#2",B).replace("#3",x):0<x&&0<z&&(w=d.get("progressTextWithTotal","\u5171\u9700\u5904\u7406 #1 \u5f20\u6570\u636e\u8868\uff0c\u6b63\u5728\u5904\u7406\u7b2c #2 \u5f20\uff0c\u5df2\u5b8c\u6210 #3 \u884c\uff0c\u5171 #4 \u884c\u3002").replace("#1",
r).replace("#2",B).replace("#3",x).replace("#4",z));return w}}"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.prepare&&(com.kingdee.bos.qing.prepare={});"undefined"==typeof com.kingdee.bos.qing.prepare.model&&(com.kingdee.bos.qing.prepare.model={});var l=com.kingdee.bos.qing.prepare.model;l.ProgressModel=
m;var q={};l.SceneType=q;q.LONGER="longer";q.SQUARE="square";var d=com.kingdee.bos.qing.framework.common.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.prepare);m.ShowDataModelActionType="ShowDataModel";m.ShowErrorDetailActionType="ShowErrorDetail";m.ShowPermissionDetailActionType="ShowPermissionDetail";m.ShowSupportQingActionType="ShowSupportQingAnalysis"})();(function(){function m(){this.setCancelFun=function(a){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.finished=function(){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.showProgress=function(a){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.showExceptionInfo=function(a,b,f,k,g){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");}}function l(){var a=this;this.getJqUi=
function(){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.showProgress=function(b){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.show=function(){var b=a.getJqUi();b&&b.show()};this.hide=function(){var b=a.getJqUi();b&&b.hide()}}function q(){var a=this;this.getJqUi=function(){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.show=function(){var b=a.getJqUi();b&&b.show()};this.hide=function(){var b=
a.getJqUi();b&&b.hide()};this.setFunExtractAgain=function(b){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.setFunEditDataModel=function(b){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.updateMessage=function(b,f,k,g,C){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");}}function d(){l.call(this);var a,b,f;this.getJqUi=function(){a||k();return a};var k=function(){var g=e.get("loading","\u6570\u636e\u51c6\u5907\u4e2d");
a=$("<div>");a.addClass("sa-common-loading-modallayer");z.layoutCtrl(a,0,0,"100%","100%");var C=$("<div>");C.addClass("sa-common-loading-panel");C.css({"margin-left":"-100px","margin-top":"-40px"});C.appendTo(a);z.layoutCtrl(C,"50%","50%",200,80);var A=$("<div>");A.addClass("sa-common-loading-icon");A.css("background-image",x.getIconUrl("common","loading.gif"));A.css({"margin-left":"-20px","margin-top":"-30px"});A.appendTo(C);z.layoutCtrl(A,"50%","50%",40,40);A=$("<div>");A.addClass("sa-common-loading-text");
b=$("<span>");b.text("string"==typeof g?g:e.get("loading","\u6570\u636e\u51c6\u5907\u4e2d"));b.appendTo(A);A.css({"margin-left":"-150px","margin-top":"15px",color:"#999"});A.appendTo(C);z.layoutCtrl(A,null,"50%",500,20);var F=$("<span>");F.text("  "+e.get("loadingToCancel","\u70b9\u51fb\u8fd9\u91cc\u53d6\u6d88"));F.css({display:"none","white-space":"pre-wrap",cursor:"pointer",color:"#88c"});F.appendTo(A);F.on("click",function(){f&&f()});setTimeout(function(){F.show()},3E3)};this.setCancelFun=function(g){f=
g};this.showProgress=function(g){g=g.toText();b&&b.text(g)};this.cancel=function(){f&&f()}}"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.prepare&&(com.kingdee.bos.qing.prepare={});"undefined"==typeof com.kingdee.bos.qing.prepare.ui&&(com.kingdee.bos.qing.prepare.ui={});var r=com.kingdee.bos.qing.prepare.ui;
r.PCProgressErrorPage=function(){q.call(this);var a,b,f,k,g=$(document.body),C=$("<div class='sa-ctrl-common-modallayer'>"),A,F,I,G,N,P,T,U,Q,K,R=n.getIconUrl("prepare","no-data-new.png");this.setFunExtractAgain=function(p){N=p};this.setFunEditDataModel=function(p){P=p};this.getJqUi=function(){a||M();return a};var M=function(){a=$("<div>");a.addClass("qing-welcome-sub-container");a.hide();k=$("<img>");k.addClass("qing-welcome-big-img");k.prop("src",n.getIconUrl("prepare","errorBackground.png"));b=
$("<span>");b.addClass("qing-welcome-error-text");a.append(k);a.append(b);G=$("<div>");G.addClass("qing-welcome-error-btn");G.text(e.get("extractAgain","\u91cd\u65b0\u62bd\u53d6"));G.on("click",function(p){N&&N()});a.append(G);f=$("<div>");f.addClass("qing-welcome-error-btn");f.on("click",V);a.append(f)},S=function(){C.detach();A.detach()},V=function(){if(y.ShowDataModelActionType==K)P&&P();else if(y.ShowErrorDetailActionType==K){if(!A){A=$("<div>");A.addClass("qing-welcome-error-logdetail-container");
var p=$("<div>");p.addClass("qing-welcome-error-logdetail-title-container");var h=$("<div>");h.addClass("qing-welcome-error-logdetail-titiletag");var v=$("<div>");v.addClass("qing-welcome-error-logdetail-title-lable");v.text(e.get("errorLog","\u9519\u8bef\u65e5\u5fd7"));var E=$("<div>");E.addClass("qing-welcome-error-logdetail-close");B||(B=com.kingdee.bos.qing.prepare.MyIcons);B.background(E,"errorClose");E.on("click",S);p.append(h);p.append(v);p.append(E);h=$("<div>");h.addClass("qing-welcome-error-logdetail-content-container");
F=$("<div>");F.css("padding","10px");I=$("<pre>");I.css("padding-left","10px");h.append(F);h.append(I);A.append(p);A.append(h)}I.text(Q);F.text(e.get("errorCode","\u9519\u8bef\u7801\uff1a")+T);C.appendTo(g);A.appendTo(g)}else y.ShowPermissionDetailActionType==K?(p=new c($(document.body)),p.setSize(440,330),p.setTitle(e.get("permissionTitle","\u6743\u9650\u63d0\u793a")),p.showDialog(u("\u5c1a\u672a\u83b7\u5f97\u4ee5\u4e0b\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650\uff1a"),!0)):y.ShowSupportQingActionType==
K&&(p=new c($(document.body)),p.setSize(440,330),p.setTitle(e.get("DetailInfo","\u8be6\u7ec6\u4fe1\u606f")),p.showDialog(u(e.get("notSupportQingAnalysis","\u4ee5\u4e0b\u4e1a\u52a1\u5b9e\u4f53\u5c1a\u672a\u5f00\u542f\u201c\u652f\u6301\u8f7b\u5206\u6790\u201d\u8bbe\u7f6e\u9879\uff1a")),!0))},c=function(p){var h=$("<div class='sa-ctrl-common-modallayer'>"),v=new t(h),E=0,L=0,W=320,X=240,Y=p?p:$(document.body),aa,ba;this.setTitle=function(H){ba=H};this.setClosingListener=function(H){aa=H};this.setSize=
function(H,J){W=H;X=J};this.showDialog=function(H,J){h.appendTo(Y);if(!E){var O=Y.prop("clientWidth"),ca=Y.prop("clientHeight");E=O-W>>1;L=(ca-X)/3}v.setBounds(E,L,W,X);v.setToolbarVisible(!1);v.setContent(H,J);v.setTitle(ba);v.addClosingListener(function(Z,da){if(da)aa(da);else return Z.destroy(),h.remove(),!0});v.addClosedListener(function(Z){Z.destroy();h.remove()});v.showFooterPane(this.createFooter);v.show()};this.setContent=function(H,J){v.setContent(H,J)};this.destroy=function(){v.destroy();
h.remove()};this.createFooter=function(H){var J=new w(e.get("iknow","\u6211\u77e5\u9053\u4e86"));J.setHighlight(!0);var O=J.getJqUi();z.layoutCtrlWithLRTB(O,"50%",0,100,null,13,28);O.addClass("dialog-footer-close");O.css("margin-left","-50px");O.appendTo(H);J.addActionListener(function(ca){v.destroy();h.remove()})}},u=function(p){var h=$("<div>");h.addClass("qing-welcome-viewdetail-content");var v=$("<p>");v.addClass("qing-welcome-viewdetail-contenxt-texttitle");v.text(p);p=$("<p>");p.addClass("qing-welcome-viewdetail-contenxt-text");
p.html(U.replace(/,/g,e.get("semicolon","\uff1b")+"<br>"));h.append(v);h.append(p);return h};this.updateMessage=function(p,h,v,E,L){console.log("updateMessage:sTip:",E);K=L;T=p;Q=v;U=h;b.text(E);y.ShowDataModelActionType==L?(G.hide(),f.show(),f.text(e.get("setDataModel","\u6570\u636e\u51c6\u5907"))):y.ShowErrorDetailActionType==L?(G.show(),f.show(),f.text(e.get("showErrorLog","\u663e\u793a\u9519\u8bef\u65e5\u5fd7"))):y.ShowPermissionDetailActionType==L?(G.show(),f.show(),f.text(e.get("viewDetails",
"\u67e5\u770b\u8be6\u60c5")),k.prop("src",R)):y.ShowSupportQingActionType==L?(a.css("width","700px"),G.show(),f.show(),f.text(e.get("viewDetails","\u67e5\u770b\u8be6\u60c5")),k.prop("src",R),p=D.getSupportQingAnalysisUrl(),p=$("<a onclick='javascript:window.open(\""+p+"\");' href='#'>"),p.css("cursor","pointer"),p.css("color","#5582f3"),p.text(e.get("viewDocument","\u67e5\u770b\u5e2e\u52a9\u6587\u6863")),b.append(p)):(G.show(),f.hide())}};r.IProgressHandler=m;r.CustomProgressHandler=function(){m.call(this);
var a,b,f,k,g;this.setCancelFun=function(C){};this.init=function(C,A,F,I){a=C;b=A;f=F;g=I;k=g.getJqUi();a.append(k)};this.finished=function(){a&&(a.hide(),g.hide(),b.show(),f.text(e.get("extractData","\u6b63\u5728\u51c6\u5907\u6570\u636e")))};this.showProgress=function(C){a.show();g.hide();b.show();f.text(C.toText())};this.showExceptionInfo=function(C,A,F,I,G){a.show();g.show();b.hide();g.updateMessage(C,A,F,I,G)}};r.BlockingProgressHandler=function(){m.call(this);var a=new d,b=a.getJqUi();b.appendTo($(document.body));
this.setCancelFun=function(f){a.setCancelFun(function(){b.remove();f&&f()})};this.finished=function(){b.remove()};this.showProgress=function(f){a.showProgress(f)};this.showExceptionInfo=function(f,k,g,C,A){a.cancel();f=com.kingdee.bos.qing.ui.component.MessageDialog;k=new f;k.setOptionType(f.OPTION_OK);k.setMessage(C);g&&k.setDetail(g);k.showDialog()}};r.IProgressErrorUI=q;r.IProgressingUI=l;var B,z,x,e,t,w,y,D,n;(function(){var a=com.kingdee.bos.qing.common;z=a.DomUtil;a=com.kingdee.bos.qing.framework.common;
e=a.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.prepare);x=a.Resource;D=a.OfficialArticleUtil;a=com.kingdee.bos.qing.prepare.model;y=a.ProgressModel;a=com.kingdee.bos.qing.ui.component;t=a.Dialog;w=a.Button;a=com.kingdee.bos.qing;n=a.CodeLoader;x.bindLoader(n)})()})();(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.prepare&&(com.kingdee.bos.qing.prepare={});"undefined"==typeof com.kingdee.bos.qing.prepare.datainfo&&(com.kingdee.bos.qing.prepare.datainfo={});var m=com.kingdee.bos.qing.prepare.datainfo,l,q;(function(){var d=com.kingdee.bos.qing.framework.common;
l=d.MultilanguageManager.createPackageAccessor(com.kingdee.bos.qing.prepare);d=com.kingdee.bos.qing.ui.component;q=d.HelpIcon})();m.DataSourceInfo=function(){var d,r,B,z;this.getExtractDataTime=function(){return d};this.getOriginalCreatorName=function(){return r};this.hasDirectModeTable=function(){return B};this.getNoAuthOperValueMap=function(){return z};this.fromJson=function(x){d=x.extractDataTime;r=x.originalCreatorName;B=x.hasDirectModeTable;z=x.noAuthOperValueMap}};m.DataInfoIconTipsUI=function(d){var r,
B,z;this.setModel=function(x){z=x;x=com.kingdee.bos.qing.CodeLoader;x.setCallback(function(){a:{if(z){B||(B=new q,B.setIconType(q.ICON_TYPE_INFO),r=B.getJqUi(),r.addClass("sa-qing-datainfo"),r.appendTo(d));var e="",t=z.getOriginalCreatorName();t&&(e+="<b>"+l.get("originalCreatorName","\u53d1\u5e03\u4eba\uff1a")+"</b>"+t+"</br>");if((t=z.getNoAuthOperValueMap())&&JSON.stringify(t)!=JSON.stringify({})){e+="</br><b>"+l.get("noAuthOperName","\u672a\u6388\u6743\u7684\u64cd\u4f5c\u6743\u9650\uff1a")+"</b>";
for(var w in t){var y=t[w],D=new com.kingdee.bos.qing.publish.model.OperCodeMap,n;for(n in D.getOperCodeMap()[w])if(1!=n&&0!=(n&y)){var a=D.getOperCodeMap()[w][n];e+=l.get(a,D.getOperNameMap()[a]);e+="\u3001"}e=e.slice(0,e.length-1)}e+="</br>"}if(w=z.getExtractDataTime())e&&(e+="</br>"),e+="<b>"+l.get("extractDataTime","\u6570\u636e\u66f4\u65b0\u65f6\u95f4\uff1a")+"</b>"+w+"</br>";B.setTipsHtml(e);if(e){r.show();break a}}r&&r.hide()}});x.setRootPath(".");x.loadI18n("publish","publish");x.loadJs("biz-common/qing-biz-common.js");
x.loadJs("schema-manage/schema-manage-initialize.js");x.loadJs("schema-manage/schema-manage-ui.js");x.loadJs("publish/qing-publish.js")}}})();(function(){function m(n,a,b,f){B.call(this,n,a,b,f);var k=this.protectedMethod;k.setShowBlocking(!1);this.getServerTimeStamp=function(){k.remote("getServerTimeStamp",{})};this.loadDataInfo=function(g){k.remote("loadDataInfo",g)};this.subjectStartExtractData=function(g){return k.remote("subjectStartExtractData",g)};this.billStartExtractData=function(g){return k.remote("billStartExtractData",g)};this.publishedStartExtractData=function(g){return k.remote("publishedStartExtractData",g)};this.publishedDsdRefAnalysisStartExtractData=
function(g){return k.remote("publishedDsdRefAnalysisStartExtractData",g)};this.nocodeCardStartExtractData=function(g){return k.remote("nocodeCardStartExtractData",g)};this.startAIHomePageSubjectExtractData=function(g){return k.remote("startAIHomePageSubjectExtractData",g)};this.designTimeNocodeCardStartExtractData=function(g){return k.remote("designTimeNocodeCardStartExtractData",g)};this.editTimedPushStartExtractData=function(g){return k.remote("editTimedPushStartExtractData",g)};this.workbenchWidgetStartExtractData=
function(g){return k.remote("workbenchWidgetStartExtractData",g)};this.metricStartExtractData=function(g){return k.remote("metricStartExtractData",g)};this.loadSubjectDataInfo=function(g){k.remote("loadSubjectDataInfo",g)};this.loadPublishedDataInfo=function(g){k.remote("loadPublishedDataInfo",g)};this.loadPublishedDsdRefAnalysisDataInfo=function(g){k.remote("loadPublishedDsdRefAnalysisDataInfo",g)};this.loadEditTimedPushDataInfo=function(g){k.remote("loadEditTimedPushDataInfo",g)};this.tryAddResourceLock=
function(g,C){k.remote("tryAddResourceLock",{groupId:g,resourceId:C})}}function l(){z.call(this);var n,a;this.getRemoteUrl=function(b){b.tag=a;return n};this.setRemoteUrl=function(b){n=b};this.setTag=function(b){a=b}}"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.prepare&&(com.kingdee.bos.qing.prepare=
{});var q=com.kingdee.bos.qing.prepare;q.RemoteImpl=l;var d,r,B,z;q.AbstractDataExtractor=function(){var n=this,a=null,b,f=!1,k=!1,g=null,C=!1;var A=x.decodeParamFromUrl(location.search,"tag");var F=x.decodeParamFromUrl(location.search,"path");this.setTag=function(c){A=c};this.protectedStart=function(c){b&&b.finished();k=f=!1;g&&(g(),g=null);b=c;document.body.style.height=document.documentElement.clientHeight+"px";P()};this.restart=function(){var c=new t;n.protectedStart(c)};this.getIsEditScene=function(){return C};
this.setIsEditScene=function(c){C=c};this.getJqUi=function(c){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};this.setExtractDataFinishedSuccessCallback=function(c){a=c;M()};this.getParamPathPrefix=function(){return F};this.appendExtraParamsToRemoteUrl=function(c){return c};var I=function(){var c=(F?F:"/ierp")+"/qing/prepare.do";c=n.appendExtraParamsToRemoteUrl(c);var u=new l;u.setRemoteUrl(c);u.setTag(A);return u},G=function(c,u,p){return new m(I(),c,function(h,v,E){return u&&
u(h,v,E)?!0:!1},p)},N,P=function(){var c=new e;b.showProgress(c);G(function(u){N=u;T(u)},function(u,p,h){R(u,p,h);return!0}).getServerTimeStamp()},T=function(c){U(c);var u={};u.timeStamp=c;var p=G(function(h){Q(c);if(h&&N==h.timeStamp){f=!0;var v=new e;v.fromJsonObject(h);k=v.isMetaChanged();b.showProgress(v);n.protectedNeedLoadDataInfo()?V():f&&M()}},function(h,v,E){Q(c);if(-1==h)return!0;k=f=!1;R(h,v,E);n.protectedNeedLoadDataInfo()?V():f&&M();return!0});p.setCancelable(!0);u.isEditScene=C;g=n.protectedInvokeExtractDataMethod(p,
u);b.setCancelFun(g)};this.protectedInvokeExtractDataMethod=function(c,u){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};var U=function(c){r.subscribeChannel("ExtractData"+c,K);n.protectedSubscribeCustomChannel(c)},Q=function(c){r.unsubscribeChannel("ExtractData"+c,K);n.protectedUnsubscribeCustomChannel(c)};this.protectedSubscribeCustomChannel=function(c){};this.protectedUnsubscribeCustomChannel=function(c){};this.protectedRejectExtractDataChanelMessage=function(c){return!1};
var K=function(c){if(!n.protectedRejectExtractDataChanelMessage(c)){c=JSON.parse(c);var u=new e;u.fromJsonObject(c);b.showProgress(u)}},R=function(c,u,p){if(2101001==c)var h=d.get("analysisNoFound","\u8be5\u6570\u636e\u5206\u6790\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else if(2101002==c||2101004==c){h=d.get("setDataModelBeforeAnalysis","\u8be5\u6570\u636e\u5206\u6790\u6ca1\u6709\u5b9a\u4e49\u6570\u636e\uff0c\u8bf7\u5148\u8fdb\u884c\u6570\u636e\u51c6\u5907");var v=e.ShowDataModelActionType}else if(2101003==
c||2101005==c)h=d.get("setDataModelBeforeAnalysis","\u8be5\u6570\u636e\u5206\u6790\u6ca1\u6709\u5b9a\u4e49\u6570\u636e\uff0c\u8bf7\u5148\u8fdb\u884c\u6570\u636e\u51c6\u5907");else if(2103001==c||2103002==c)h=d.get("publishedHasNotFound","\u8be5\u53d1\u5e03\u8bb0\u5f55\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else if(2101006==c){h=d.get("lackDataEntityAuthority","\u5c1a\u672a\u83b7\u5f97\u5b9e\u4f53\u6570\u636e\u8868\u7684\u67e5\u770b\u6743\u9650");v=e.ShowPermissionDetailActionType;var E=
u.match(/(\(|\uff08)([^(\)|\uff09)]+)(\)|\uff09)/);E&&(u=E[2])}else if(2101018==c)D.getSupportQingAnalysisUrl(),h=d.get("entityNotSupportQingAnalysis","\u4e1a\u52a1\u5b9e\u4f53\u672a\u5f00\u542f\u201c\u652f\u6301\u8f7b\u5206\u6790\u201d\u8bbe\u7f6e\u9879\uff0c\u8bf7\u5728\u5f00\u53d1\u5e73\u53f0\u7684\u5bf9\u5e94\u8868\u5355\u4e2d\u8fdb\u884c\u8bbe\u7f6e  "),(E=/(?:\u3010\s)(.+)(?=\s\u3011)/.exec(u))?u=E[1]:E=/(?:\u3010\s)(.+)/.exec(u),E&&(u=E[1]),v=e.ShowSupportQingActionType;else if(21000008==c)h=
d.get("noQingModelerLicense","\u5f53\u524d\u7cfb\u7edf\u6ca1\u6709\u3010\u8f7b\u5efa\u6a21\u3011\u6a21\u5757\u7684\u4f7f\u7528\u8bb8\u53ef\uff0c\u8bf7\u4e0e\u7cfb\u7edf\u7ba1\u7406\u5458\u8054\u7cfb");else if(2101016==c)h=d.get("subjectEntityMySQLMoreThan61Table","\u5f53\u524d\u5b9e\u4f53\u5173\u8054\u6570\u636e\u8868\u592a\u591a\uff0c\u8bf7\u51cf\u5c11\u5b9e\u4f53\u7684\u5206\u6790\u5b57\u6bb5\u6216\u5220\u9664\u4e0d\u9700\u8981\u7684\u5b9e\u4f53\u5206\u5f55\u3002");else if(2101009==c)h=d.get("subjectDataSourceError",
"\u6570\u636e\u6e90\u53d1\u751f\u5f02\u5e38"),v=e.ShowErrorDetailActionType;else if(2101010==c)h=d.get("qingStorageFileSizeLimit","\u8f7b\u5b58\u50a8\u7a7a\u95f4\u4e0d\u8db3");else if(2100001==c)h=d.get("qingStorageNoSpace","\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3\uff0c\u8bf7\u8054\u7cfb\u8fd0\u7ef4\u4eba\u5458\u6dfb\u52a0\u78c1\u76d8");else if(2101011==c)h=d.get("subjectDBDataSourceError","\u6570\u636e\u6e90\u5bf9\u5e94\u7684\u6570\u636e\u5e93\u8fde\u63a5\u5f02\u5e38"),v=e.ShowErrorDetailActionType;
else if(2101012==c)h=d.get("noDBCenterPermission","\u6ca1\u6709\u6570\u636e\u4e2d\u5fc3\u6743\u9650\uff0c\u8bf7\u5148\u8054\u7cfb\u7ba1\u7406\u5458\u5206\u914d\u6743\u9650");else if(2101023==c)h=d.get("noSuperQueryAuth","\u6ca1\u6709\u5f53\u524d\u8d85\u7ea7\u67e5\u8be2\u6a21\u5f0f\u7684\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u7ba1\u7406\u5458\u5206\u914d\u6743\u9650");else if(2215011==c)h=d.get("noDmoPermission","\u6ca1\u6709\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u6743\u9650\uff0c\u8bf7\u5148\u8054\u7cfb\u7ba1\u7406\u5458\u5206\u914d\u6743\u9650");
else if(2101013==c)h=d.get("entityDestroyed","\u5bf9\u5e94\u4e3b\u9898\u7684\u6570\u636e\u8868\u88ab\u635f\u574f");else if(2101014==c)h=d.get("entityDestroyedOwner","\u5bf9\u5e94\u4e3b\u9898\u7684\u6570\u636e\u8868\u88ab\u635f\u574f\uff0c\u8bf7\u91cd\u65b0\u8fdb\u884c\u6570\u636e\u51c6\u5907"),v=e.ShowDataModelActionType;else if(2101015==c)h=d.get("noDBCenterOwnerPermission","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u6570\u636e\u4e2d\u5fc3\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",
u);else if(2215012==c)h=d.get("noDmoOwnerPermission","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",u);else if(2101019==c)h=d.get("noModelerPermission","\u5c1a\u672a\u83b7\u5f97\u6570\u636e\u8868\u6a21\u578b\u7684\u6570\u636e\u6743\u9650");else if(2101020==c)h=d.get("noModelerOwnerPermission","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u8f7b\u5efa\u6a21\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",
u);else if(2101021==c)h=d.get("notExistTable","\u65e0\u6cd5\u5728\u6a21\u5f0f\u201c#1\u201d\u4e2d\u627e\u5230\u8be5\u5b9e\u4f53\u6570\u636e\u8868").replaceAll("#1",u),v=e.ShowDataModelActionType;else if(2101022==c)h=d.get("noSuperQueryPerm","\u53d1\u5e03\u4eba\u201c#1\u201d\u6ca1\u6709\u8d85\u7ea7\u67e5\u8be2\u76f8\u5173\u6a21\u5f0f\u7684\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",u);else if(2101024==c)h=d.get("ownerNotExistTable","\u6570\u636e\u6e90\u5f02\u5e38\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6570\u636e\u6e90"),
v=e.ShowDataModelActionType;else if(2101025==c)h=d.get("prepareDataReject2","\u5f53\u524d\u4e1a\u52a1\u4e3b\u9898\u56e0\u5b58\u5728\u6162\u67e5\u8be2\uff0c\u5df2\u88ab\u4e34\u65f6\u7981\u7528\u3002\u8bf7\u4f18\u5316\u6267\u884c\u7f13\u6162\u7684\u6570\u636e\u8868\u540e\uff0c\u63d0\u4ea4\u5de5\u5355\u8054\u7cfb\u8fd0\u7ef4\u56e2\u961f\u5904\u7406\u3002").replace("#1",u);else if(2215020==c)h=d.get("dmoPermission","\u6ca1\u6709\u6570\u636e\u5f00\u53d1\u5e73\u53f0#1\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u53d1\u5e03\u4eba\u68c0\u67e5\u6743\u9650").replace("#1",
u);else if(2102004==c)h=d.get("emptyFormMetaInfo","\u4e1a\u52a1\u5355\u636e\u6ca1\u6709\u53ef\u5206\u6790\u7684\u5143\u6570\u636e");else if(2301001==c)h=d.get("publishedHasNotFound","\u8be5\u53d1\u5e03\u8bb0\u5f55\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664");else{if(1030001==c)return n.protectedShowNavTitle(),com.kingdee.bos.qing.framework.common.RemoteFramework.openErrorPage(c,com.kingdee.bos.qing.common.Base64Util.encode(encodeURIComponent(u))),!0;h=d.get("extractDataError","\u51fa\u9519\u4e86\uff0c\u51c6\u5907\u6570\u636e\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u9519\u8bef");
v=e.ShowErrorDetailActionType}n.protectedShowExceptionInfo(c,u,p,h,v)};this.protectedShowExceptionInfo=function(c,u,p,h,v){b.showExceptionInfo(c,u,p,h,v)};var M=function(){f&&a&&(b.finished(),a(k),f=!1,a=null)};this.protectedShowNavTitle=function(){};this.protectedNeedLoadDataInfo=function(){return!0};this.protectedInvokeLoadDataInfoMethod=function(c,u){throw Error("\u5b50\u7c7b\u9700\u8981\u8986\u76d6\u8fd9\u4e2a\u65b9\u6cd5");};var S,V=function(){S||(S=new y($(document.body)));var c=G(function(u){if(u){com.kingdee.bos.qing.framework.common.WebPageInitializer.init();
var p=new w;p.fromJson(u);S.setModel(p);q.DataSourceInfoContext.setCurrentDataSourceInfo(p);u.warning&&(p=new com.kingdee.bos.qing.ui.component.MessageCurtain,p.getJqUi().appendTo($(document.body)),p.showPrompt(u.warning,-1));M()}},function(u,p,h){window.console&&console.info("loadDataInfo error:"+u+" | "+p+" | "+h);M();return!0});n.protectedInvokeLoadDataInfoMethod(c,{})};this.protectedMethod={createFacade:G}};var x,e,t,w,y,D;(function(){var n=com.kingdee.bos.qing.framework.common;d=n.MultilanguageManager.createPackageAccessor(q);
r=n.RemoteFramework;B=n.AbstractFacade;z=n.AbstractRemoteCall;D=n.OfficialArticleUtil;n=com.kingdee.bos.qing.common;x=n.Util;n=com.kingdee.bos.qing.prepare.model;e=n.ProgressModel;n=com.kingdee.bos.qing.prepare.ui;t=n.BlockingProgressHandler;n=com.kingdee.bos.qing.prepare.datainfo;w=n.DataSourceInfo;y=n.DataInfoIconTipsUI})();q.DataSourceInfoContext=new function(){var n;this.setCurrentDataSourceInfo=function(a){n=a};this.getCurrentDataSourceInfo=function(){return n}}})();(function(){function m(){z.call(this);var e,t,w=!0,y,D;this.getJqUi=function(){if(!e){var a=q.get("loading","\u6570\u636e\u51c6\u5907\u4e2d");e=$("<div>");e.addClass("card-prepare-loading-modallayer");x.layoutCtrl(e,0,0,"100%","100%");t=$("<div>");t.addClass("card-prepare-loading-panel");t.appendTo(e);x.layoutCtrl(t,0,0,"100%","100%");var b=$("<div>");b.addClass("card-prepare-loading-icon");r||(r=com.kingdee.bos.qing.prepare.MyIcons);r.background(b,"loading");b.css("background-position","center");
b.css({"margin-left":"-20px","margin-top":"-30px","background-position":"center"});b.appendTo(t);x.layoutCtrl(b,"50%","50%",40,40);b=$("<div>");b.addClass("card-prepare-loading-text");b.text(a);b.css({"margin-left":"-100px","margin-top":"15px",color:"#999"});b.appendTo(t);x.layoutCtrl(b,"50%","50%",200,20);if((a=d.decodeParamFromUrl(location.search,"cardName"))&&w){a=com.kingdee.bos.qing.common.Base64Util.decode(a);b=$("<div>");var f=$("<div class='card-prepare-loading-title'>");f.text(a);f.attr(a);
x.layoutCtrlWithLRTB(b,0,0,null,0,null,30);b.appendTo(t);f.appendTo(b)}}return e};this.setCancelFun=function(a){};this.finished=function(){e.hide()};this.setNeedCreateHead=function(a){w=a};this.setErrorDetailCssProvider=function(a){_funErrorDetailCssProvider=a};this.setErrorHandler=function(a){y=a};this.setJqErrorContent=function(a){D=a};this.showProgress=function(a){a.isFinshed()?e.hide():e.show();t.attr("title",a.toText())};this.showExceptionInfo=function(a,b,f,k,g){y?y(a,b,f):(e.show(),e.empty(),
k=new com.kingdee.bos.qing.scene.common.square.exhibition.CardErrorUi(e),k.setShowErrorDetailListener(n),k.setShowDetail(!0),k.show(a,b,f))};var n=function(a,b,f){b=$("<div>");b.css({position:"absolute",width:"100%",top:"26px",bottom:"0px","background-color":"white"});var k=$("<div>");k.text(q.get("errorCode","\u9519\u8bef\u7801\uff1a")+a);a=$("<div>");a.css({position:"absolute",width:"100%",top:"15px",bottom:"0px",overflow:"auto"});a.text(f);k.appendTo(b);a.appendTo(b);f=$(document.body);D&&(f=D);
b.appendTo(f)}}"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.prepare&&(com.kingdee.bos.qing.prepare={});var l=com.kingdee.bos.qing.prepare;l.CardProgressHandler=m;var q,d,r,B,z,x;(function(){var e=com.kingdee.bos.qing.framework.common;q=e.MultilanguageManager.createPackageAccessor(l);e=com.kingdee.bos.qing.common;
d=e.Util;x=e.DomUtil;e=com.kingdee.bos.qing.prepare;B=e.AbstractDataExtractor;e=com.kingdee.bos.qing.prepare.ui;z=e.IProgressHandler})();l.DataExtractor=new function(){B.call(this);var e=this,t,w=d.decodeParamFromUrl(location.search,"publishId");this.getJqUi=function(){t||(t=new m);return t.getJqUi()};this.start=function(){t.finished();var y=d.decodeParamFromUrl(location.search,"errorCode");y?t.showExceptionInfo(y):e.protectedStart(t)};this.appendExtraParamsToRemoteUrl=function(y){var D=d.decodeParamFromUrl(location.search,
"access_token");D&&(y=d.appendParamToUrl(y,"access_token",encodeURIComponent(D)));return y};this.protectedNeedLoadDataInfo=function(){return!1};this.protectedInvokeExtractDataMethod=function(y,D){D.dealProgresss=!0;D.publishId=w;return y.publishedStartExtractData(D)}}})();(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.prepare&&(com.kingdee.bos.qing.prepare={});var m=com.kingdee.bos.qing.prepare,l,q,d,r,B,z,x,e;(function(){var t=com.kingdee.bos.qing.common;l=t.Util;t=com.kingdee.bos.qing;q=t.SkinUtil;t=com.kingdee.bos.qing.framework.common;d=t.MultilanguageManager.createPackageAccessor(m);
r=t.RemoteFramework;t=com.kingdee.bos.qing.prepare;B=t.AbstractDataExtractor;t=com.kingdee.bos.qing.prepare;z=t.CardProgressHandler;t=com.kingdee.bos.qing.prepare.ui;x=t.CustomProgressHandler;e=t.PCProgressErrorPage})();m.AIAnalysisDataExtractor=new function(){B.call(this);var t=this,w,y,D=l.decodeParamFromUrl(location.search,"themeId");this.getJqUi=function(){w||(w=new z,w.setNeedCreateHead(!1),w.setErrorHandler(y));return w.getJqUi()};this.start=function(){w.finished();var n=l.decodeParamFromUrl(location.search,
"errorCode");n?w.showExceptionInfo(n):t.protectedStart(w)};this.appendExtraParamsToRemoteUrl=function(n){return n};this.protectedNeedLoadDataInfo=function(){return!1};this.protectedInvokeExtractDataMethod=function(n,a){a.themeId=D;a.isFirstFromCache=!0;a.dealProgresss=!0;return n.subjectStartExtractData(a)};this.setErrorHandler=function(n){y=n}};m.AIAnalysisHomePageDataExtractor=new function(){B.call(this);var t=this,w,y=!1,D=l.decodeParamFromUrl(location.search,"themeId"),n=l.decodeParamFromUrl(location.search,
"themeName");this.start=function(f,k,g){w=g;var C=new x,A=new e;A.setFunExtractAgain(function(){t.protectedStart(C)});A.setFunEditDataModel(a);C.init(f,k,g,A);t.protectedStart(C)};var a=function(){var f=q.getUrlParamValue(),k=d.get("dataModeling","\u6570\u636e\u51c6\u5907")+"-"+n,g=t.getParamPathPrefix()+"/qing/dataModelingEntrance.do";D&&(g=l.appendParamToUrl(g,"themeID",D));f&&(g=l.appendParamToUrl(g,"skin",f));com.kingdee.bos.qing.framework.common.TabbedUiUtil.openNewTab(k,g);com.kingdee.bos.qing.framework.common.TabbedUiUtil.closeCurrentTab()};
this.protectedInvokeExtractDataMethod=function(f,k){k.themeId=D;k.dealProgresss=!0;return f.startAIHomePageSubjectExtractData(k)};this.protectedNeedLoadDataInfo=function(){return!1};this.protectedInvokeLoadDataInfoMethod=function(f,k){f.loadSubjectDataInfo(k)};this.protectedSubscribeCustomChannel=function(f){r.subscribeChannel("LoadThemeRecommendedQuestions "+f,b)};this.protectedUnsubscribeCustomChannel=function(f){r.unsubscribeChannel("LoadThemeRecommendedQuestions "+f,b)};var b=function(f){y=!0;
w.text(f)};this.protectedRejectExtractDataChanelMessage=function(f){return y}}})();
//qingVersionTag: 20250807