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