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