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