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