@byteluck-fe/model-driven-driven 2.23.0-beta.2 → 2.23.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,45 +1,3 @@
1
- var oA=Object.defineProperty,sA=Object.defineProperties;var lA=Object.getOwnPropertyDescriptors;var Tc=Object.getOwnPropertySymbols;var cA=Object.prototype.hasOwnProperty,fA=Object.prototype.propertyIsEnumerable;var Rc=(W,ie,ge)=>ie in W?oA(W,ie,{enumerable:!0,configurable:!0,writable:!0,value:ge}):W[ie]=ge,Nt=(W,ie)=>{for(var ge in ie||(ie={}))cA.call(ie,ge)&&Rc(W,ge,ie[ge]);if(Tc)for(var ge of Tc(ie))fA.call(ie,ge)&&Rc(W,ge,ie[ge]);return W},Ua=(W,ie)=>sA(W,lA(ie));var qt=(W,ie,ge)=>new Promise((bu,hr)=>{var Su=rt=>{try{yn(ge.next(rt))}catch(bn){hr(bn)}},Cu=rt=>{try{yn(ge.throw(rt))}catch(bn){hr(bn)}},yn=rt=>rt.done?bu(rt.value):Promise.resolve(rt.value).then(Su,Cu);yn((ge=ge.apply(W,ie)).next())});(function(W,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(W=typeof globalThis!="undefined"?globalThis:W||self,ie(W.modelDrivenDriven={}))})(this,function(W){"use strict";var ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ge="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",hr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Su="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Cu="{caption}\u5FC5\u586B",yn="\u8BF7\u8F93\u5165\u6807\u9898",rt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",bn="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Pc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Lc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",$c="\u8BF7\u7ED1\u5B9A\u8868\u5355",Mc="\u8BF7\u7ED1\u5B9A\u5217\u8868",xc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Vc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",kc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Uc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Wc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",jc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Hc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Kc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Xc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Jc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",zc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Qc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Zc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Yc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ef="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",tf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",nf="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",rf="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",uf="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",af="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",of="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",sf="\u8BF7\u7ED1\u5B9A\u670D\u52A1",lf="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cf="\u8BF7\u9009\u62E9\u7701",ff="\u8BF7\u9009\u62E9\u5E02",df="\u8BF7\u9009\u62E9\u533A",pf="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",_f="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",hf="\u8BF7\u8F93\u5165\u5217\u5BBD",mf="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",vf="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",gf="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ef="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",yf="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",bf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Sf="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Cf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Of="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",If="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ff="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Rf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Pf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Lf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$f="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",kf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Uf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Wf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",jf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Hf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Gf="\u6279\u91CF\u5220\u9664",qf="\u6279\u91CF\u6253\u5370",Kf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Xf="\u6309\u94AE",Jf="\u521B\u5EFA\u5355\u636E",zf="\u4EEA\u8868\u76D8",Qf="\u5206\u5272\u7EBF",Zf="\u5BFC\u51FA",Yf="\u8868\u5355\u64CD\u4F5C",ed="\u5BFC\u5165",td="\u53D1\u7968\u8BC6\u522B",nd="\u94FE\u63A5",rd="\u5217\u8868\u9009\u62E9",ud="\u5217\u8868\u89C6\u56FE",id="\u64CD\u4F5C\u6309\u94AE",ad="\u5206\u9875",od="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",sd="\u8BF4\u660E\u6587\u5B57",ld="\u6587\u5B57\u8BC6\u522B",cd="\u6807\u9898\u7EC4\u4EF6",fd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",dd="\u6570\u7EC4",pd="\u81EA\u52A8\u7F16\u53F7",_d="\u81EA\u5B9A\u4E49",hd="\u6570\u503C",md="\u90E8\u95E8",vd="\u4EBA\u5458",gd="\u9644\u4EF6",Ed="\u56FE\u7247",yd="\u5730\u5740",bd="\u64CD\u4F5C",Sd="\u5E8F\u53F7",Cd="\u4EBA\u5458",Od="\u957F\u6587\u672C",Ad="\u65E5\u671F\u533A\u95F4",Id="\u65E5\u671F",Fd="\u77ED\u6587\u672C",Dd="\u6362\u884C\u5BB9\u5668Wrap",wd="\u8868\u683C",Nd="\u660E\u7EC6\u5B50\u8868",Bd="\u5730\u5740",Td="\u91D1\u989D",Rd="\u8BA1\u7B97\u516C\u5F0F",Pd="\u591A\u9009",Ld="\u7535\u5B50\u7B7E\u7AE0",$d="\u5355\u884C\u6587\u672C",Md="\u6570\u5B57",xd="\u4E1A\u52A1\u7EC4\u7EC7",Vd="\u5355\u9009",kd="\u5BCC\u6587\u672C",Ud="\u8BC4\u5206",Wd="\u6570\u5B57\u533A\u95F4",jd="\u4E0B\u62C9\u5355\u9009",Hd="\u4E0B\u62C9\u591A\u9009",Gd="\u5173\u8054\u5355\u9009",qd="\u591A\u884C\u6587\u672C",Kd="\u6811",Xd="Vue\u5BB9\u5668",Jd="Vue\u9875\u9762",zd="\u5728\u7EBF\u6587\u6863",Qd="\u6309\u94AE\u64CD\u4F5C\u680F",Zd="\u9AD8\u7EA7\u5BB9\u5668",Yd="\u5206\u7EC4",ep="\u6805\u683C\u5217",tp="\u6570\u636E\u5BB9\u5668",np="\u753B\u5E03",rp="\u6362\u884C\u5BB9\u5668",up="\u6805\u683C\u7B49\u5206\u884C",ip="\u5217\u8868\u5BB9\u5668",ap="\u81EA\u7531\u9875\u9762",op="\u5B9A\u4F4D\u5B50\u5BB9\u5668",sp="\u5B9A\u4F4D\u5BB9\u5668",lp="\u6805\u683C\u5E03\u5C40",cp="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",fp="\u660E\u7EC6\u5B50\u8868\u884C",dp="\u6807\u7B7E\u9875",pp="\u6807\u7B7E\u5355\u5143",_p="\u5DE5\u5177\u680F",hp="\u6279\u91CF\u63D0\u4EA4",mp="\u5BFC\u51FA\u8BB0\u5F55",vp="\u5217\u8868\u89C6\u56FE",gp="\u7ED3\u675F\u65F6\u95F4",Ep="\u5F00\u59CB\u65F6\u95F4",yp="\u5355\u4F4D",bp="\u7ED3\u679C",Sp="\u5E01\u79CD",Cp="\u7ED3\u675F\u65E5\u671F",Op="\u5F00\u59CB\u65E5\u671F",Ap="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Ip="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Fp="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Dp="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",wp="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Np="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Bp="\u8BF7\u9009\u62E9",Tp="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Rp="\u8BF7\u9009\u62E9\u90E8\u95E8",Pp="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Lp="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",$p="\u8BF7\u9009\u62E9\u5730\u5740",Mp="\u5F39\u7A97\u786E\u8BA4\u65F6",xp="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Vp="\u884C\u9009\u4E2D\u65F6",kp="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Up="\u884C\u5220\u9664\u524D",Wp="\u884C\u70B9\u51FB\u65F6",jp="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Hp="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Gp="\u91CD\u547D\u540D\u65F6",qp="\u4FDD\u5B58\u6587\u4EF6\u65F6",Kp="\u6253\u5F00\u6587\u4EF6\u65F6",Xp="\u83B7\u53D6\u7126\u70B9\u65F6",Jp="\u5931\u53BB\u7126\u70B9\u65F6",zp="\u7528\u6237\u8F93\u5165\u65F6",Qp="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Zp="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Yp="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",e_="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",t_="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",n_="\u641C\u7D22\u65F6",r_="\u503C\u53D1\u751F\u53D8\u5316\u65F6",u_="\u6267\u884C\u5B8C\u6210\u65F6",i_="\u70B9\u51FB\u65F6",a_="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",o_="\u8BF7\u8F93\u5165\u65E5\u671F",s_="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",l_="\u8BF7\u8F93\u5165",c_="\u9ED8\u8BA4\u6A21\u7248",f_="\u5DE6\u53F3\u5E03\u5C40",d_="\u4E0A\u4E0B\u5E03\u5C40",p_="\u53EA\u8BFB",__="\u5FC5\u586B",h_="\u63D0\u793A\u6587\u5B57",m_="\u9690\u85CF\u6807\u9898",v_="\u6807\u9898\u5FC5\u586B",g_="\u7EC4\u7EC7\u5F62\u6001",E_="\u4E1A\u52A1\u7C7B\u578B",y_="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",b_="\u9690\u85CF",S_="\u6D41\u7A0B\u72B6\u6001",C_="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",O_="\u5220\u9664",A_="\u7F16\u8F91",I_="\u67E5\u770B",F_="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",D_="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",w_="\u5145\u6EE1\u6574\u884C",N_="\u6700\u5C0F\u503C",B_="\u6700\u5927\u503C",T_="\u65B0\u5EFA\u6587\u6863",R_="\u91CD\u7F6E",P_="\u67E5\u8BE2",L_="\u660E\u7EC6",$_="\u6253\u5370",M_="\u4FDD\u5B58\u8349\u7A3F",x_="\u4FDD\u5B58",V_="\u53D6\u6D88",k_="\u4E0A\u4F20\u56FE\u7247",U_="\u53D1\u8D77\u7B7E\u7F72",W_="\u4E0A\u4F20\u9644\u4EF6",j_="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",H_={isNotNumber:ie,isNotString:ge,isNotObject:bu,isNotArray:hr,isNotBoolean:Su,runtimeRequired:Cu,pleaseEnterCaption:yn,pleaseEnterCaptionTip:rt,pleaseEnterRowCaption:bn,pleaseEnterPlaceholder:Pc,pleaseEnterFieldCode:Lc,pleaseEnterForm:$c,pleaseEnterList:Mc,pleaseEnterProcess:xc,pleaseEnterLabel:Vc,pleaseEnterValue:kc,bizKeyNotBindFiled:Uc,pleaseSelectOneField:Wc,pleaseEnterNumberRange:jc,pleaseEnterAValueGreaterThanMin:Hc,pleaseEnterAValueLessThanMax:Gc,numberRangeSetError:qc,stringRangeError:Kc,attachmentMaxSize:Xc,pleaseEnterTotalScoreSetting:Jc,theTotalScoreMustNotBeLessThan1:zc,scoreDefaultValueRange:Qc,attachmentLimitError:Zc,PleaseReselectTheOptionalQuantity:Yc,TheMaximumLengthIsGreaterThanTheMinimumLength:ef,TheMinimumLengthIsGreaterThanTheMaximumLength:tf,PleaseSelectTheCorrectOptionSettings:nf,optionIdIsRepeat:rf,optionIsRequired:uf,pleaseEnterDataCode:af,pleaseEnterValueFieldCode:of,pleaseEnterSvcCode:sf,pleaseBindAtLeastOneDisplayValue:lf,pleaseSelectProvince:cf,pleaseSelectCity:ff,pleaseSelectDistrict:df,limitRowsCannotBeLessThan0:pf,TheNumberOfRowsCannotBeLessThanMinRows:_f,pleaseEnterColumnWidth:hf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mf,pleaseCompleteAllRulesAndConditions:vf,pleaseSelectControl:gf,pleaseSelectAtLeastOneColumn:Ef,pleaseSelectFillBackMode:yf,pleaseSelectDashboard:bf,rootNodeIsRequired:Sf,theViewNameCannotBeEmpty:Cf,pleaseSelectOcrType:Of,pleaseSelectAtLeastOneFieldToFillIn:Af,pleaseChooseAtLeastOne:If,pleaseEnterButtonContent:Ff,pleaseEnterDataCodeInDataSetting:Df,pleaseEnterValueFieldCodeInDataSetting:wf,pleaseEnterSvcCodeInDataSetting:Nf,pleaseBindAtLeastOneDisplayValueInDataSetting:Bf,rootNodeIsRequiredInDataSetting:Tf,pleaseEnterMaxHeight:Rf,pleaseEnterWatermark:Pf,pleaseEnterFileName:Lf,pleaseUploadAtLeastOnePrintTemplate:$f,pleaseAssignBusiness:Mf,pleaseAssignExternal:xf,pleaseEnterAliasCode:Vf,pleaseSelectDataCode:kf,pleaseSelectSvcCode:Uf,pleaseSelectJoinFieldCode:Wf,pleaseSelectMainFieldCode:jf,pleaseSelectSortFieldCode:Hf,batchDeleteButton:Gf,batchPrintListButton:qf,batchPrintRecordList:Kf,button:Xf,createFormListButton:Jf,dashboard:zf,divider:Qf,exportListButton:Zf,formSelectButton:Yf,importRecordListButton:ed,invoiceCheckButton:td,link:nd,listSelectButton:rd,ListViewSelect:ud,operationButton:id,pagination:ad,submissionRecordListButton:od,text:sd,textOcrButton:ld,title:cd,approvalStatusColumn:fd,array:dd,autoNumber:pd,custom:_d,decimal:hd,department:md,employee:vd,file:gd,image:Ed,location:yd,operation:bd,order:Sd,people:Cd,long:Od,timescope:Ad,timestamp:Id,varchar:Fd,gridLayoutWrap:Dd,gridTable:wd,subTable:Nd,address:Bd,amount:Td,calc:Rd,checkBox:Pd,electronicSignature:Ld,input:$d,number:Md,organizationSelection:xd,radio:Vd,richText:kd,score:Ud,searchNumberRange:Wd,select:jd,selectMultiple:Hd,selectRelation:Gd,textarea:qd,tree:Kd,vueFormItem:Xd,vuePage:Jd,WPS:zd,actionBar:Qd,advancedContainer:Zd,cardGroup:Yd,col:ep,dataView:tp,grid:np,gridLayoutContainer:rp,gridRow:up,listView:ip,page:ap,position:op,positioningContainer:sp,row:lp,subtableColumn:cp,subtableRow:fp,tab:dp,tabPane:pp,toolbox:_p,batchSubmissionListButton:hp,exportRecordListButton:mp,listViewSelect:vp,endTime:gp,startTime:Ep,unit:yp,result:bp,currency:Sp,endDate:Cp,startDate:Op,pleaseSelectCompanyName:Ap,pleaseSelectPhoneOrEmail:Ip,pleaseSelectSignType:Fp,pleaseSelectSigner:Dp,pleaseSelectOnlyOne:wp,pleaseSelectSignFile:Np,pleaseSelect:Bp,pleaseSelectOrg:Tp,pleaseSelectDept:Rp,pleaseSelectEndDate:Pp,pleaseSelectStartDate:Lp,pleaseChooseAddress:$p,modalConfirm:Mp,tabChange:xp,rowSelected:Vp,listDataImport:kp,rowDelete:Up,rowClick:Wp,cellRender:jp,onClickBtn:Hp,rename:Gp,onSaveFile:qp,onOpenFile:Kp,onFocus:Xp,onBlur:Jp,onInput:zp,listDataAdd:Qp,listDataDelete:Zp,listDataBack:Yp,listDataCreate:e_,listDataChange:t_,search:n_,valueChange:r_,finished:u_,click:i_,pleaseEnterNameorEmail:a_,pleaseEnterDate:o_,pleaseEnterAutonumber:s_,pleaseEnter:l_,defaultTemplate:c_,left:f_,top:d_,default:"\u666E\u901A",readonly:p_,required:__,textTip:h_,hideCaption:m_,titleRequired:v_,organizationalForm:g_,businessType:E_,deleteConfirm:y_,hide:b_,processStatus:S_,approvedDocuments:C_,delete:O_,edit:A_,view:I_,loadCtrlErrorTip:F_,loadCtrlError:D_,fullLine:w_,min:N_,max:B_,createWPS:T_,reset:R_,query:P_,detailed:L_,print:$_,draft:M_,save:x_,cancel:V_,uploadImg:k_,signature:U_,uploadFile:W_,linkContent:j_},G_="Please enter a number",q_="Please enter a string",K_="Please enter an object",X_="Please enter an array",J_="Please enter a boolean",z_="{caption} Required",Q_="Please enter the title",Z_="Please enter the bubble prompt",Y_="Please enter the row title",eh="Please enter the prompt text",th="Please bind data items",nh="Please bind the form",rh="Please bind the list",uh="Please bind the process",ih="Please enter the displayed value",ah="Please enter the stored value",oh="The document number is not bound to the data item",sh="Please select at least one display field",lh="Please enter a value greater than or equal to {min} and less than or equal to {max}",ch="Please enter a value greater than or equal to {min}",fh="Please enter a value less than or equal to {max}",dh="The value range is set incorrectly",ph="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",_h="The attachment size must be between 0MB and 1000MB",hh="Please fill in the total score setting",mh="The total score cannot be less than 1",vh="The default value must be between {min} and {max}",gh="The number of attachment uploads exceeds the limit",Eh="Please re-select the optional quantity",yh="The maximum length of the control must be greater than the minimum length",bh="The minimum length of the control must be less than the maximum length",Sh="Please select the correct option setting",Ch="Option ID cannot be repeated",Oh="Please enter at least one option",Ah="Please bind the data source",Ih="Please bind the stored value",Fh="Please bind the service",Dh="At least one display value must be bound",wh="Please select a province",Nh="Please select a city",Bh="Please select a district",Th="The minimum number of lines to fill in cannot be less than 0",Rh="The number of rows cannot be less than {min} rows",Ph="Please enter the column width",Lh="Please set the logical relationship of all rule conditions",$h="Please complete all rules and conditions",Mh="please select control",xh="Please select the dashboard",Vh="View name cannot be empty",kh="Please select recognition type",Uh="Please select at least one field to fill in",Wh="Please select at least one",jh="Please enter the button title",Hh="Please bind the business model in the data settings",Gh="Please bind storage values in data settings",qh="Please bind the service in the data settings",Kh="Please bind at least one display value in the data settings",Xh="Please select the root node in the data settings",Jh="Please enter the maximum height",zh="The input content cannot be empty",Qh="Watermark cannot be empty",Zh="File name cannot be empty",Yh="Please upload at least one printing template!\uFF01",em="Please select a specific business department",tm="Please select a specified external organization",nm="Please enter a sub table alias",rm="Please select the associated table to set the business model",um="Please select the association table to set the binding service",im="Select associated sub table fields",am="Please select the associated main table field",om="Please select the sort field",sm="\u6279\u91CF\u5220\u9664",lm="\u6279\u91CF\u6253\u5370",cm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",fm="\u6309\u94AE",dm="\u521B\u5EFA\u5355\u636E",pm="\u4EEA\u8868\u76D8",_m="\u5206\u5272\u7EBF",hm="\u5BFC\u51FA",mm="\u8868\u5355\u64CD\u4F5C",vm="\u5BFC\u5165",gm="\u53D1\u7968\u8BC6\u522B",Em="\u94FE\u63A5",ym="\u5217\u8868\u9009\u62E9",bm="\u5217\u8868\u89C6\u56FE",Sm="\u64CD\u4F5C\u6309\u94AE",Cm="\u5206\u9875",Om="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Am="\u8BF4\u660E\u6587\u5B57",Im="\u6587\u5B57\u8BC6\u522B",Fm="\u6807\u9898\u7EC4\u4EF6",Dm="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",wm="\u6570\u7EC4",Nm="\u81EA\u52A8\u7F16\u53F7",Bm="\u81EA\u5B9A\u4E49",Tm="\u6570\u503C",Rm="\u90E8\u95E8",Pm="\u4EBA\u5458",Lm="\u9644\u4EF6",$m="\u56FE\u7247",Mm="\u5730\u5740",xm="\u64CD\u4F5C",Vm="\u5E8F\u53F7",km="\u4EBA\u5458",Um="\u957F\u6587\u672C",Wm="\u65E5\u671F\u533A\u95F4",jm="\u65E5\u671F",Hm="\u77ED\u6587\u672C",Gm="\u6362\u884C\u5BB9\u5668Wrap",qm="\u8868\u683C",Km="\u660E\u7EC6\u5B50\u8868",Xm="\u5730\u5740",Jm="\u91D1\u989D",zm="\u8BA1\u7B97\u516C\u5F0F",Qm="\u591A\u9009",Zm="\u7535\u5B50\u7B7E\u7AE0",Ym="\u5355\u884C\u6587\u672C",ev="\u6570\u5B57",tv="\u4E1A\u52A1\u7EC4\u7EC7",nv="\u5355\u9009",rv="\u5BCC\u6587\u672C",uv="\u8BC4\u5206",iv="\u6570\u5B57\u533A\u95F4",av="\u4E0B\u62C9\u5355\u9009",ov="\u4E0B\u62C9\u591A\u9009",sv="\u5173\u8054\u5355\u9009",lv="\u591A\u884C\u6587\u672C",cv="\u6811",fv="Vue\u5BB9\u5668",dv="Vue\u9875\u9762",pv="\u5728\u7EBF\u6587\u6863",_v="\u6309\u94AE\u64CD\u4F5C\u680F",hv="\u9AD8\u7EA7\u5BB9\u5668",mv="\u5206\u7EC4",vv="\u6805\u683C\u5217",gv="\u6570\u636E\u5BB9\u5668",Ev="\u753B\u5E03",yv="\u6362\u884C\u5BB9\u5668",bv="\u6805\u683C\u7B49\u5206\u884C",Sv="\u5217\u8868\u5BB9\u5668",Cv="\u81EA\u7531\u9875\u9762",Ov="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Av="\u5B9A\u4F4D\u5BB9\u5668",Iv="\u6805\u683C\u5E03\u5C40",Fv="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Dv="\u660E\u7EC6\u5B50\u8868\u884C",wv="\u6807\u7B7E\u9875",Nv="\u6807\u7B7E\u5355\u5143",Bv="\u5DE5\u5177\u680F",Tv="\u6279\u91CF\u63D0\u4EA4",Rv="\u5BFC\u51FA\u8BB0\u5F55",Pv="\u5217\u8868\u89C6\u56FE",Lv={isNotNumber:G_,isNotString:q_,isNotObject:K_,isNotArray:X_,isNotBoolean:J_,runtimeRequired:z_,pleaseEnterCaption:Q_,pleaseEnterCaptionTip:Z_,pleaseEnterRowCaption:Y_,pleaseEnterPlaceholder:eh,pleaseEnterFieldCode:th,pleaseEnterForm:nh,pleaseEnterList:rh,pleaseEnterProcess:uh,pleaseEnterLabel:ih,pleaseEnterValue:ah,bizKeyNotBindFiled:oh,pleaseSelectOneField:sh,pleaseEnterNumberRange:lh,pleaseEnterAValueGreaterThanMin:ch,pleaseEnterAValueLessThanMax:fh,numberRangeSetError:dh,stringRangeError:ph,attachmentMaxSize:_h,pleaseEnterTotalScoreSetting:hh,theTotalScoreMustNotBeLessThan1:mh,scoreDefaultValueRange:vh,attachmentLimitError:gh,PleaseReselectTheOptionalQuantity:Eh,TheMaximumLengthIsGreaterThanTheMinimumLength:yh,TheMinimumLengthIsGreaterThanTheMaximumLength:bh,PleaseSelectTheCorrectOptionSettings:Sh,optionIdIsRepeat:Ch,optionIsRequired:Oh,pleaseEnterDataCode:Ah,pleaseEnterValueFieldCode:Ih,pleaseEnterSvcCode:Fh,pleaseBindAtLeastOneDisplayValue:Dh,pleaseSelectProvince:wh,pleaseSelectCity:Nh,pleaseSelectDistrict:Bh,limitRowsCannotBeLessThan0:Th,TheNumberOfRowsCannotBeLessThanMinRows:Rh,pleaseEnterColumnWidth:Ph,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lh,pleaseCompleteAllRulesAndConditions:$h,pleaseSelectControl:Mh,pleaseSelectDashboard:xh,theViewNameCannotBeEmpty:Vh,pleaseSelectOcrType:kh,pleaseSelectAtLeastOneFieldToFillIn:Uh,pleaseChooseAtLeastOne:Wh,pleaseEnterButtonContent:jh,pleaseEnterDataCodeInDataSetting:Hh,pleaseEnterValueFieldCodeInDataSetting:Gh,pleaseEnterSvcCodeInDataSetting:qh,pleaseBindAtLeastOneDisplayValueInDataSetting:Kh,rootNodeIsRequiredInDataSetting:Xh,pleaseEnterMaxHeight:Jh,pleaseEnter:zh,pleaseEnterWatermark:Qh,pleaseEnterFileName:Zh,pleaseUploadAtLeastOnePrintTemplate:Yh,pleaseAssignBusiness:em,pleaseAssignExternal:tm,pleaseEnterAliasCode:nm,pleaseSelectDataCode:rm,pleaseSelectSvcCode:um,pleaseSelectJoinFieldCode:im,pleaseSelectMainFieldCode:am,pleaseSelectSortFieldCode:om,batchDeleteButton:sm,batchPrintListButton:lm,batchPrintRecordList:cm,button:fm,createFormListButton:dm,dashboard:pm,divider:_m,exportListButton:hm,formSelectButton:mm,importRecordListButton:vm,invoiceCheckButton:gm,link:Em,listSelectButton:ym,ListViewSelect:bm,operationButton:Sm,pagination:Cm,submissionRecordListButton:Om,text:Am,textOcrButton:Im,title:Fm,approvalStatusColumn:Dm,array:wm,autoNumber:Nm,custom:Bm,decimal:Tm,department:Rm,employee:Pm,file:Lm,image:$m,location:Mm,operation:xm,order:Vm,people:km,long:Um,timescope:Wm,timestamp:jm,varchar:Hm,gridLayoutWrap:Gm,gridTable:qm,subTable:Km,address:Xm,amount:Jm,calc:zm,checkBox:Qm,electronicSignature:Zm,input:Ym,number:ev,organizationSelection:tv,radio:nv,richText:rv,score:uv,searchNumberRange:iv,select:av,selectMultiple:ov,selectRelation:sv,textarea:lv,tree:cv,vueFormItem:fv,vuePage:dv,WPS:pv,actionBar:_v,advancedContainer:hv,cardGroup:mv,col:vv,dataView:gv,grid:Ev,gridLayoutContainer:yv,gridRow:bv,listView:Sv,page:Cv,position:Ov,positioningContainer:Av,row:Iv,subtableColumn:Fv,subtableRow:Dv,tab:wv,tabPane:Nv,toolbox:Bv,batchSubmissionListButton:Tv,exportRecordListButton:Rv,listViewSelect:Pv},$v="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mv="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xv="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vv="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kv="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uv="{caption}\u5FC5\u9808",Wv="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jv="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hv="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gv="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qv="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kv="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xv="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jv="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zv="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qv="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zv="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Yv="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",e0="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t0="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n0="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r0="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",u0="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",a0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",o0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",s0="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",c0="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",f0="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",d0="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",p0="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_0="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",h0="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",m0="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",v0="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",g0="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",E0="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",y0="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",b0="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",S0="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",C0="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",O0="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",A0="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",I0="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",F0="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",D0="please select control",w0="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",N0="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",B0="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",T0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",R0="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P0="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",L0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",$0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",M0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",x0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",V0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",k0="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",U0="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",W0="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",j0="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H0="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",G0="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",q0="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",K0="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",X0="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",J0="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",z0="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Q0="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z0="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Y0="\u6279\u91CF\u5220\u9664",eg="\u6279\u91CF\u6253\u5370",tg="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ng="\u6309\u94AE",rg="\u521B\u5EFA\u5355\u636E",ug="\u4EEA\u8868\u76D8",ig="\u5206\u5272\u7EBF",ag="\u5BFC\u51FA",og="\u8868\u5355\u64CD\u4F5C",sg="\u5BFC\u5165",lg="\u53D1\u7968\u8BC6\u522B",cg="\u94FE\u63A5",fg="\u5217\u8868\u9009\u62E9",dg="\u5217\u8868\u89C6\u56FE",pg="\u64CD\u4F5C\u6309\u94AE",_g="\u5206\u9875",hg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",mg="\u8BF4\u660E\u6587\u5B57",vg="\u6587\u5B57\u8BC6\u522B",gg="\u6807\u9898\u7EC4\u4EF6",Eg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",yg="\u6570\u7EC4",bg="\u81EA\u52A8\u7F16\u53F7",Sg="\u81EA\u5B9A\u4E49",Cg="\u6570\u503C",Og="\u90E8\u95E8",Ag="\u4EBA\u5458",Ig="\u9644\u4EF6",Fg="\u56FE\u7247",Dg="\u5730\u5740",wg="\u64CD\u4F5C",Ng="\u5E8F\u53F7",Bg="\u4EBA\u5458",Tg="\u957F\u6587\u672C",Rg="\u65E5\u671F\u533A\u95F4",Pg="\u65E5\u671F",Lg="\u77ED\u6587\u672C",$g="\u6362\u884C\u5BB9\u5668Wrap",Mg="\u8868\u683C",xg="\u660E\u7EC6\u5B50\u8868",Vg="\u5730\u5740",kg="\u91D1\u989D",Ug="\u8BA1\u7B97\u516C\u5F0F",Wg="\u591A\u9009",jg="\u7535\u5B50\u7B7E\u7AE0",Hg="\u5355\u884C\u6587\u672C",Gg="\u6570\u5B57",qg="\u4E1A\u52A1\u7EC4\u7EC7",Kg="\u5355\u9009",Xg="\u5BCC\u6587\u672C",Jg="\u8BC4\u5206",zg="\u6570\u5B57\u533A\u95F4",Qg="\u4E0B\u62C9\u5355\u9009",Zg="\u4E0B\u62C9\u591A\u9009",Yg="\u5173\u8054\u5355\u9009",eE="\u591A\u884C\u6587\u672C",tE="\u6811",nE="Vue\u5BB9\u5668",rE="Vue\u9875\u9762",uE="\u5728\u7EBF\u6587\u6863",iE="\u6309\u94AE\u64CD\u4F5C\u680F",aE="\u9AD8\u7EA7\u5BB9\u5668",oE="\u5206\u7EC4",sE="\u6805\u683C\u5217",lE="\u6570\u636E\u5BB9\u5668",cE="\u753B\u5E03",fE="\u6362\u884C\u5BB9\u5668",dE="\u6805\u683C\u7B49\u5206\u884C",pE="\u5217\u8868\u5BB9\u5668",_E="\u81EA\u7531\u9875\u9762",hE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",mE="\u5B9A\u4F4D\u5BB9\u5668",vE="\u6805\u683C\u5E03\u5C40",gE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",EE="\u660E\u7EC6\u5B50\u8868\u884C",yE="\u6807\u7B7E\u9875",bE="\u6807\u7B7E\u5355\u5143",SE="\u5DE5\u5177\u680F",CE="\u6279\u91CF\u63D0\u4EA4",OE="\u5BFC\u51FA\u8BB0\u5F55",AE="\u5217\u8868\u89C6\u56FE",IE={isNotNumber:$v,isNotString:Mv,isNotObject:xv,isNotArray:Vv,isNotBoolean:kv,runtimeRequired:Uv,pleaseEnterCaption:Wv,pleaseEnterCaptionTip:jv,pleaseEnterRowCaption:Hv,pleaseEnterPlaceholder:Gv,pleaseEnterFieldCode:qv,pleaseEnterForm:Kv,pleaseEnterList:Xv,pleaseEnterProcess:Jv,pleaseEnterLabel:zv,pleaseEnterValue:Qv,bizKeyNotBindFiled:Zv,pleaseSelectOneField:Yv,pleaseEnterNumberRange:e0,pleaseEnterAValueGreaterThanMin:t0,pleaseEnterAValueLessThanMax:n0,numberRangeSetError:r0,stringRangeError:u0,attachmentMaxSize:i0,pleaseEnterTotalScoreSetting:a0,theTotalScoreMustNotBeLessThan1:o0,scoreDefaultValueRange:s0,attachmentLimitError:l0,PleaseReselectTheOptionalQuantity:c0,TheMaximumLengthIsGreaterThanTheMinimumLength:f0,TheMinimumLengthIsGreaterThanTheMaximumLength:d0,PleaseSelectTheCorrectOptionSettings:p0,optionIdIsRepeat:_0,optionIsRequired:h0,pleaseEnterDataCode:m0,pleaseEnterValueFieldCode:v0,pleaseEnterSvcCode:g0,pleaseBindAtLeastOneDisplayValue:E0,pleaseSelectProvince:y0,pleaseSelectCity:b0,pleaseSelectDistrict:S0,limitRowsCannotBeLessThan0:C0,TheNumberOfRowsCannotBeLessThanMinRows:O0,pleaseEnterColumnWidth:A0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:I0,pleaseCompleteAllRulesAndConditions:F0,pleaseSelectControl:D0,pleaseSelectDashboard:w0,theViewNameCannotBeEmpty:N0,pleaseSelectOcrType:B0,pleaseSelectAtLeastOneFieldToFillIn:T0,pleaseChooseAtLeastOne:R0,pleaseEnterButtonContent:P0,pleaseEnterDataCodeInDataSetting:L0,pleaseEnterValueFieldCodeInDataSetting:$0,pleaseEnterSvcCodeInDataSetting:M0,pleaseBindAtLeastOneDisplayValueInDataSetting:x0,rootNodeIsRequiredInDataSetting:V0,pleaseEnterMaxHeight:k0,pleaseEnter:U0,pleaseEnterWatermark:W0,pleaseEnterFileName:j0,pleaseUploadAtLeastOnePrintTemplate:H0,pleaseAssignBusiness:G0,pleaseAssignExternal:q0,pleaseEnterAliasCode:K0,pleaseSelectDataCode:X0,pleaseSelectSvcCode:J0,pleaseSelectJoinFieldCode:z0,pleaseSelectMainFieldCode:Q0,pleaseSelectSortFieldCode:Z0,batchDeleteButton:Y0,batchPrintListButton:eg,batchPrintRecordList:tg,button:ng,createFormListButton:rg,dashboard:ug,divider:ig,exportListButton:ag,formSelectButton:og,importRecordListButton:sg,invoiceCheckButton:lg,link:cg,listSelectButton:fg,ListViewSelect:dg,operationButton:pg,pagination:_g,submissionRecordListButton:hg,text:mg,textOcrButton:vg,title:gg,approvalStatusColumn:Eg,array:yg,autoNumber:bg,custom:Sg,decimal:Cg,department:Og,employee:Ag,file:Ig,image:Fg,location:Dg,operation:wg,order:Ng,people:Bg,long:Tg,timescope:Rg,timestamp:Pg,varchar:Lg,gridLayoutWrap:$g,gridTable:Mg,subTable:xg,address:Vg,amount:kg,calc:Ug,checkBox:Wg,electronicSignature:jg,input:Hg,number:Gg,organizationSelection:qg,radio:Kg,richText:Xg,score:Jg,searchNumberRange:zg,select:Qg,selectMultiple:Zg,selectRelation:Yg,textarea:eE,tree:tE,vueFormItem:nE,vuePage:rE,WPS:uE,actionBar:iE,advancedContainer:aE,cardGroup:oE,col:sE,dataView:lE,grid:cE,gridLayoutContainer:fE,gridRow:dE,listView:pE,page:_E,position:hE,positioningContainer:mE,row:vE,subtableColumn:gE,subtableRow:EE,tab:yE,tabPane:bE,toolbox:SE,batchSubmissionListButton:CE,exportRecordListButton:OE,listViewSelect:AE},FE={zhCN:H_,enUS:Lv,jaJP:IE},Wa;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Wa||(Wa={}));var ja;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ja||(ja={}));var Ou,Ha=(Ou=window.localStorage.getItem("locale"))!==null&&Ou!==void 0?Ou:"zh-CN",DE=function(){},Ee;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Ee||(Ee={}));var Ga;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(Ga||(Ga={}));var P;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(P||(P={}));var qa;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(qa||(qa={}));var Je;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(Je||(Je={}));var Ka;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Ka||(Ka={}));var Xa="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",wE=Xa+"0123456789";function Au(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?Xa:wE,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function Iu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function NE(e){if(Array.isArray(e))return Iu(e)}function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ja(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e,t,n){return Za()?mr=Reflect.construct:mr=function(u,i,a){var o=[null];o.push.apply(o,i);var s=Function.bind.apply(u,o),l=new s;return a&&Cn(l,a.prototype),l},mr.apply(null,arguments)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(e)}function za(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function TE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function RE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function PE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function LE(e,t){return t&&($E(t)==="object"||typeof t=="function")?t:BE(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Cn(e,t)}function Qa(e){return NE(e)||RE(e)||ME(e)||PE()}function $E(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ME(e,t){if(!!e){if(typeof e=="string")return Iu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(e,t)}}function Fu(e){var t=typeof Map=="function"?new Map:void 0;return Fu=function(r){if(r===null||!TE(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return mr(r,arguments,Sn(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Cn(u,r)},Fu(e)}function Za(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ya(e){var t=Za();return function(){var r=Sn(e),u;if(t){var i=Sn(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return LE(this,u)}}var Du=console;function vr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=Du).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Qa(u)))}function eo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=Du).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Qa(u)))}function xE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wu=function(e){za(n,e);var t=Ya(n);function n(r){Ja(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?xE(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Fu(Error)),VE=function(e){za(n,e);var t=Ya(n);function n(r){Ja(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(wu);function On(e){throw new wu(e)}function to(e){throw new VE(e)}function kE(e){Du.error(new wu(e))}/*!
2
- * shared v9.14.0
3
- * (c) 2024 kazuya kawaguchi
4
- * Released under the MIT License.
5
- */const je=typeof window!="undefined";let Re,Bt;if(process.env.NODE_ENV!=="production"){const e=je&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Re=t=>{e.mark(t)},Bt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const UE=/\{([0-9a-zA-Z]+)\}/g;function An(e,...t){return t.length===1&&H(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(UE,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const He=(e,t=!1)=>t?Symbol.for(e):Symbol(e),WE=(e,t,n)=>jE({l:e,k:t,s:n}),jE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),HE=e=>io(e)==="[object Date]",ht=e=>io(e)==="[object RegExp]",gr=e=>M(e)&&Object.keys(e).length===0,fe=Object.assign;let no;const ut=()=>no||(no=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ro(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const GE=Object.prototype.hasOwnProperty;function Er(e,t){return GE.call(e,t)}const Y=Array.isArray,Q=e=>typeof e=="function",T=e=>typeof e=="string",x=e=>typeof e=="boolean",H=e=>e!==null&&typeof e=="object",qE=e=>H(e)&&Q(e.then)&&Q(e.catch),uo=Object.prototype.toString,io=e=>uo.call(e),M=e=>{if(!H(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},KE=e=>e==null?"":Y(e)||M(e)&&e.toString===uo?JSON.stringify(e,null,2):String(e);function Nu(e,t=""){return e.reduce((n,r,u)=>u===0?n+r:n+t+r,"")}const ao=2;function XE(e,t=0,n=e.length){const r=e.split(/\r?\n/);let u=0;const i=[];for(let a=0;a<r.length;a++)if(u+=r[a].length+1,u>=t){for(let o=a-ao;o<=a+ao||n>u;o++){if(o<0||o>=r.length)continue;const s=o+1;i.push(`${s}${" ".repeat(3-String(s).length)}| ${r[o]}`);const l=r[o].length;if(o===a){const d=t-(u-l)+1,c=Math.max(1,n>u?l-d:n-t);i.push(" | "+" ".repeat(d)+"^".repeat(c))}else if(o>a){if(n>u){const d=Math.max(Math.min(n-u,l),1);i.push(" | "+"^".repeat(d))}u+=l+1}}break}return i.join(`
6
- `)}function yr(e){let t=e;return()=>++t}function de(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const oo={};function so(e){oo[e]||(oo[e]=!0,de(e))}function Bu(){const e=new Map;return{events:e,on(n,r){const u=e.get(n);u&&u.push(r)||e.set(n,[r])},off(n,r){const u=e.get(n);u&&u.splice(u.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(u=>u(r)),(e.get("*")||[]).slice().map(u=>u(n,r))}}}const br=e=>!H(e)||Y(e);function Sr(e,t){if(br(e)||br(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:u}=n.pop();Object.keys(r).forEach(i=>{br(r[i])||br(u[i])?u[i]=r[i]:n.push({src:r[i],des:u[i]})})}}/*!
7
- * message-compiler v9.14.0
8
- * (c) 2024 kazuya kawaguchi
9
- * Released under the MIT License.
10
- */function JE(e,t,n){return{line:e,column:t,offset:n}}function Cr(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Or={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},zE={[Or.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function QE(e,t,...n){const r=process.env.NODE_ENV!=="production"?An(zE[e]||"",...n||[]):e,u={message:String(r),code:e};return t&&(u.location=t),u}const L={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},ZE={[L.EXPECTED_TOKEN]:"Expected token: '{0}'",[L.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[L.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[L.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[L.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[L.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[L.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[L.EMPTY_PLACEHOLDER]:"Empty placeholder",[L.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[L.INVALID_LINKED_FORMAT]:"Invalid linked format",[L.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[L.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[L.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[L.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[L.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[L.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Kt(e,t,n={}){const{domain:r,messages:u,args:i}=n,a=process.env.NODE_ENV!=="production"?An((u||ZE)[e]||"",...i||[]):e,o=new SyntaxError(String(a));return o.code=e,t&&(o.location=t),o.domain=r,o}function YE(e){throw e}const ey=/<\/?[\w\s="/.':;#-\/]+>/,ty=e=>ey.test(e),it=" ",ny="\r",Se=`
11
- `,ry=String.fromCharCode(8232),uy=String.fromCharCode(8233);function iy(e){const t=e;let n=0,r=1,u=1,i=0;const a=I=>t[I]===ny&&t[I+1]===Se,o=I=>t[I]===Se,s=I=>t[I]===uy,l=I=>t[I]===ry,d=I=>a(I)||o(I)||s(I)||l(I),c=()=>n,f=()=>r,y=()=>u,A=()=>i,g=I=>a(I)||s(I)||l(I)?Se:t[I],O=()=>g(n),h=()=>g(n+i);function C(){return i=0,d(n)&&(r++,u=0),a(n)&&n++,n++,u++,t[n]}function m(){return a(n+i)&&i++,i++,t[n+i]}function v(){n=0,r=1,u=1,i=0}function E(I=0){i=I}function b(){const I=n+i;for(;I!==n;)C();i=0}return{index:c,line:f,column:y,peekOffset:A,charAt:g,currentChar:O,currentPeek:h,next:C,peek:m,reset:v,resetPeek:E,skipToPeek:b}}const mt=void 0,ay=".",lo="'",oy="tokenizer";function sy(e,t={}){const n=t.location!==!1,r=iy(e),u=()=>r.index(),i=()=>JE(r.line(),r.column(),r.index()),a=i(),o=u(),s={currentType:14,offset:o,startLoc:a,endLoc:a,lastType:14,lastOffset:o,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},l=()=>s,{onError:d}=t;function c(p,_,F,...R){const re=l();if(_.column+=F,_.offset+=F,d){const Z=n?Cr(re.startLoc,_):null,z=Kt(p,Z,{domain:oy,args:R});d(z)}}function f(p,_,F){p.endLoc=i(),p.currentType=_;const R={type:_};return n&&(R.loc=Cr(p.startLoc,p.endLoc)),F!=null&&(R.value=F),R}const y=p=>f(p,14);function A(p,_){return p.currentChar()===_?(p.next(),_):(c(L.EXPECTED_TOKEN,i(),0,_),"")}function g(p){let _="";for(;p.currentPeek()===it||p.currentPeek()===Se;)_+=p.currentPeek(),p.peek();return _}function O(p){const _=g(p);return p.skipToPeek(),_}function h(p){if(p===mt)return!1;const _=p.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function C(p){if(p===mt)return!1;const _=p.charCodeAt(0);return _>=48&&_<=57}function m(p,_){const{currentType:F}=_;if(F!==2)return!1;g(p);const R=h(p.currentPeek());return p.resetPeek(),R}function v(p,_){const{currentType:F}=_;if(F!==2)return!1;g(p);const R=p.currentPeek()==="-"?p.peek():p.currentPeek(),re=C(R);return p.resetPeek(),re}function E(p,_){const{currentType:F}=_;if(F!==2)return!1;g(p);const R=p.currentPeek()===lo;return p.resetPeek(),R}function b(p,_){const{currentType:F}=_;if(F!==8)return!1;g(p);const R=p.currentPeek()===".";return p.resetPeek(),R}function I(p,_){const{currentType:F}=_;if(F!==9)return!1;g(p);const R=h(p.currentPeek());return p.resetPeek(),R}function D(p,_){const{currentType:F}=_;if(!(F===8||F===12))return!1;g(p);const R=p.currentPeek()===":";return p.resetPeek(),R}function N(p,_){const{currentType:F}=_;if(F!==10)return!1;const R=()=>{const Z=p.currentPeek();return Z==="{"?h(p.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===it||!Z?!1:Z===Se?(p.peek(),R()):V(p,!1)},re=R();return p.resetPeek(),re}function G(p){g(p);const _=p.currentPeek()==="|";return p.resetPeek(),_}function Fe(p){const _=g(p),F=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:F,hasSpace:_.length>0}}function V(p,_=!0){const F=(re=!1,Z="",z=!1)=>{const S=p.currentPeek();return S==="{"?Z==="%"?!1:re:S==="@"||!S?Z==="%"?!0:re:S==="%"?(p.peek(),F(re,"%",!0)):S==="|"?Z==="%"||z?!0:!(Z===it||Z===Se):S===it?(p.peek(),F(!0,it,z)):S===Se?(p.peek(),F(!0,Se,z)):!0},R=F();return _&&p.resetPeek(),R}function le(p,_){const F=p.currentChar();return F===mt?mt:_(F)?(p.next(),F):null}function Ue(p){const _=p.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function er(p){return le(p,Ue)}function nt(p){const _=p.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function tr(p){return le(p,nt)}function nr(p){const _=p.charCodeAt(0);return _>=48&&_<=57}function rr(p){return le(p,nr)}function ur(p){const _=p.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function ir(p){return le(p,ur)}function We(p){let _="",F="";for(;_=rr(p);)F+=_;return F}function mn(p){O(p);const _=p.currentChar();return _!=="%"&&c(L.EXPECTED_TOKEN,i(),0,_),p.next(),"%"}function vn(p){let _="";for(;;){const F=p.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(V(p))_+=F,p.next();else break;else if(F===it||F===Se)if(V(p))_+=F,p.next();else{if(G(p))break;_+=F,p.next()}else _+=F,p.next()}return _}function ar(p){O(p);let _="",F="";for(;_=tr(p);)F+=_;return p.currentChar()===mt&&c(L.UNTERMINATED_CLOSING_BRACE,i(),0),F}function or(p){O(p);let _="";return p.currentChar()==="-"?(p.next(),_+=`-${We(p)}`):_+=We(p),p.currentChar()===mt&&c(L.UNTERMINATED_CLOSING_BRACE,i(),0),_}function sr(p){return p!==lo&&p!==Se}function Eu(p){O(p),A(p,"'");let _="",F="";for(;_=le(p,sr);)_==="\\"?F+=lr(p):F+=_;const R=p.currentChar();return R===Se||R===mt?(c(L.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),R===Se&&(p.next(),A(p,"'")),F):(A(p,"'"),F)}function lr(p){const _=p.currentChar();switch(_){case"\\":case"'":return p.next(),`\\${_}`;case"u":return gn(p,_,4);case"U":return gn(p,_,6);default:return c(L.UNKNOWN_ESCAPE_SEQUENCE,i(),0,_),""}}function gn(p,_,F){A(p,_);let R="";for(let re=0;re<F;re++){const Z=ir(p);if(!Z){c(L.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${_}${R}${p.currentChar()}`);break}R+=Z}return`\\${_}${R}`}function cr(p){return p!=="{"&&p!=="}"&&p!==it&&p!==Se}function fr(p){O(p);let _="",F="";for(;_=le(p,cr);)F+=_;return F}function dr(p){let _="",F="";for(;_=er(p);)F+=_;return F}function B(p){const _=F=>{const R=p.currentChar();return R==="{"||R==="%"||R==="@"||R==="|"||R==="("||R===")"||!R||R===it?F:(F+=R,p.next(),_(F))};return _("")}function K(p){O(p);const _=A(p,"|");return O(p),_}function pr(p,_){let F=null;switch(p.currentChar()){case"{":return _.braceNest>=1&&c(L.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),p.next(),F=f(_,2,"{"),O(p),_.braceNest++,F;case"}":return _.braceNest>0&&_.currentType===2&&c(L.EMPTY_PLACEHOLDER,i(),0),p.next(),F=f(_,3,"}"),_.braceNest--,_.braceNest>0&&O(p),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),F;case"@":return _.braceNest>0&&c(L.UNTERMINATED_CLOSING_BRACE,i(),0),F=Ht(p,_)||y(_),_.braceNest=0,F;default:{let re=!0,Z=!0,z=!0;if(G(p))return _.braceNest>0&&c(L.UNTERMINATED_CLOSING_BRACE,i(),0),F=f(_,1,K(p)),_.braceNest=0,_.inLinked=!1,F;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return c(L.UNTERMINATED_CLOSING_BRACE,i(),0),_.braceNest=0,_r(p,_);if(re=m(p,_))return F=f(_,5,ar(p)),O(p),F;if(Z=v(p,_))return F=f(_,6,or(p)),O(p),F;if(z=E(p,_))return F=f(_,7,Eu(p)),O(p),F;if(!re&&!Z&&!z)return F=f(_,13,fr(p)),c(L.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,F.value),O(p),F;break}}return F}function Ht(p,_){const{currentType:F}=_;let R=null;const re=p.currentChar();switch((F===8||F===9||F===12||F===10)&&(re===Se||re===it)&&c(L.INVALID_LINKED_FORMAT,i(),0),re){case"@":return p.next(),R=f(_,8,"@"),_.inLinked=!0,R;case".":return O(p),p.next(),f(_,9,".");case":":return O(p),p.next(),f(_,10,":");default:return G(p)?(R=f(_,1,K(p)),_.braceNest=0,_.inLinked=!1,R):b(p,_)||D(p,_)?(O(p),Ht(p,_)):I(p,_)?(O(p),f(_,12,dr(p))):N(p,_)?(O(p),re==="{"?pr(p,_)||R:f(_,11,B(p))):(F===8&&c(L.INVALID_LINKED_FORMAT,i(),0),_.braceNest=0,_.inLinked=!1,_r(p,_))}}function _r(p,_){let F={type:14};if(_.braceNest>0)return pr(p,_)||y(_);if(_.inLinked)return Ht(p,_)||y(_);switch(p.currentChar()){case"{":return pr(p,_)||y(_);case"}":return c(L.UNBALANCED_CLOSING_BRACE,i(),0),p.next(),f(_,3,"}");case"@":return Ht(p,_)||y(_);default:{if(G(p))return F=f(_,1,K(p)),_.braceNest=0,_.inLinked=!1,F;const{isModulo:re,hasSpace:Z}=Fe(p);if(re)return Z?f(_,0,vn(p)):f(_,4,mn(p));if(V(p))return f(_,0,vn(p));break}}return F}function ka(){const{currentType:p,offset:_,startLoc:F,endLoc:R}=s;return s.lastType=p,s.lastOffset=_,s.lastStartLoc=F,s.lastEndLoc=R,s.offset=u(),s.startLoc=i(),r.currentChar()===mt?f(s,14):_r(r,s)}return{nextToken:ka,currentOffset:u,currentPosition:i,context:l}}const ly="parser",cy=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fy(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function dy(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function u(m,v,E,b,...I){const D=m.currentPosition();if(D.offset+=b,D.column+=b,n){const N=t?Cr(E,D):null,G=Kt(v,N,{domain:ly,args:I});n(G)}}function i(m,v,E,b,...I){const D=m.currentPosition();if(D.offset+=b,D.column+=b,r){const N=t?Cr(E,D):null;r(QE(v,N,I))}}function a(m,v,E){const b={type:m};return t&&(b.start=v,b.end=v,b.loc={start:E,end:E}),b}function o(m,v,E,b){b&&(m.type=b),t&&(m.end=v,m.loc&&(m.loc.end=E))}function s(m,v){const E=m.context(),b=a(3,E.offset,E.startLoc);return b.value=v,o(b,m.currentOffset(),m.currentPosition()),b}function l(m,v){const E=m.context(),{lastOffset:b,lastStartLoc:I}=E,D=a(5,b,I);return D.index=parseInt(v,10),m.nextToken(),o(D,m.currentOffset(),m.currentPosition()),D}function d(m,v,E){const b=m.context(),{lastOffset:I,lastStartLoc:D}=b,N=a(4,I,D);return N.key=v,E===!0&&(N.modulo=!0),m.nextToken(),o(N,m.currentOffset(),m.currentPosition()),N}function c(m,v){const E=m.context(),{lastOffset:b,lastStartLoc:I}=E,D=a(9,b,I);return D.value=v.replace(cy,fy),m.nextToken(),o(D,m.currentOffset(),m.currentPosition()),D}function f(m){const v=m.nextToken(),E=m.context(),{lastOffset:b,lastStartLoc:I}=E,D=a(8,b,I);return v.type!==12?(u(m,L.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),D.value="",o(D,b,I),{nextConsumeToken:v,node:D}):(v.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Ge(v)),D.value=v.value||"",o(D,m.currentOffset(),m.currentPosition()),{node:D})}function y(m,v){const E=m.context(),b=a(7,E.offset,E.startLoc);return b.value=v,o(b,m.currentOffset(),m.currentPosition()),b}function A(m){const v=m.context(),E=a(6,v.offset,v.startLoc);let b=m.nextToken();if(b.type===9){const I=f(m);E.modifier=I.node,b=I.nextConsumeToken||m.nextToken()}switch(b.type!==10&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(b)),b=m.nextToken(),b.type===2&&(b=m.nextToken()),b.type){case 11:b.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(b)),E.key=y(m,b.value||"");break;case 5:b.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(b)),E.key=d(m,b.value||"");break;case 6:b.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(b)),E.key=l(m,b.value||"");break;case 7:b.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(b)),E.key=c(m,b.value||"");break;default:{u(m,L.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const I=m.context(),D=a(7,I.offset,I.startLoc);return D.value="",o(D,I.offset,I.startLoc),E.key=D,o(E,I.offset,I.startLoc),{nextConsumeToken:b,node:E}}}return o(E,m.currentOffset(),m.currentPosition()),{node:E}}function g(m){const v=m.context(),E=v.currentType===1?m.currentOffset():v.offset,b=v.currentType===1?v.endLoc:v.startLoc,I=a(2,E,b);I.items=[];let D=null,N=null;do{const V=D||m.nextToken();switch(D=null,V.type){case 0:V.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(V)),I.items.push(s(m,V.value||""));break;case 6:V.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(V)),I.items.push(l(m,V.value||""));break;case 4:N=!0;break;case 5:V.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(V)),I.items.push(d(m,V.value||"",!!N)),N&&(i(m,Or.USE_MODULO_SYNTAX,v.lastStartLoc,0,Ge(V)),N=null);break;case 7:V.value==null&&u(m,L.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(V)),I.items.push(c(m,V.value||""));break;case 8:{const le=A(m);I.items.push(le.node),D=le.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const G=v.currentType===1?v.lastOffset:m.currentOffset(),Fe=v.currentType===1?v.lastEndLoc:m.currentPosition();return o(I,G,Fe),I}function O(m,v,E,b){const I=m.context();let D=b.items.length===0;const N=a(1,v,E);N.cases=[],N.cases.push(b);do{const G=g(m);D||(D=G.items.length===0),N.cases.push(G)}while(I.currentType!==14);return D&&u(m,L.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),o(N,m.currentOffset(),m.currentPosition()),N}function h(m){const v=m.context(),{offset:E,startLoc:b}=v,I=g(m);return v.currentType===14?I:O(m,E,b,I)}function C(m){const v=sy(m,fe({},e)),E=v.context(),b=a(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=m),b.body=h(v),e.onCacheKey&&(b.cacheKey=e.onCacheKey(m)),E.currentType!==14&&u(v,L.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,m[E.offset]||""),o(b,v.currentOffset(),v.currentPosition()),b}return{parse:C}}function Ge(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function py(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function co(e,t){for(let n=0;n<e.length;n++)Tu(e[n],t)}function Tu(e,t){switch(e.type){case 1:co(e.cases,t),t.helper("plural");break;case 2:co(e.items,t);break;case 6:{Tu(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function _y(e,t={}){const n=py(e);n.helper("normalize"),e.body&&Tu(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function hy(e){const t=e.body;return t.type===2?fo(t):t.cases.forEach(n=>fo(n)),e}function fo(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Nu(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const my="minifier";function Xt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Xt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Xt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Xt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Xt(t.key),t.k=t.key,delete t.key,t.modifier&&(Xt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Kt(L.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:my,args:[e.type]})}delete e.type}const vy="parser";function gy(e,t){const{sourceMap:n,filename:r,breakLineCode:u,needIndent:i}=t,a=t.location!==!1,o={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:u,needIndent:i,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);const s=()=>o;function l(O,h){o.code+=O}function d(O,h=!0){const C=h?u:"";l(i?C+" ".repeat(O):C)}function c(O=!0){const h=++o.indentLevel;O&&d(h)}function f(O=!0){const h=--o.indentLevel;O&&d(h)}function y(){d(o.indentLevel)}return{context:s,push:l,indent:c,deindent:f,newline:y,helper:O=>`_${O}`,needIndent:()=>o.needIndent}}function Ey(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Jt(e,t.key),t.modifier?(e.push(", "),Jt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yy(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const u=t.items.length;for(let i=0;i<u&&(Jt(e,t.items[i]),i!==u-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function by(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const u=t.cases.length;for(let i=0;i<u&&(Jt(e,t.cases[i]),i!==u-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function Sy(e,t){t.body?Jt(e,t.body):e.push("null")}function Jt(e,t){const{helper:n}=e;switch(t.type){case 0:Sy(e,t);break;case 1:by(e,t);break;case 2:yy(e,t);break;case 6:Ey(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Kt(L.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:vy,args:[t.type]})}}const Cy=(e,t={})=>{const n=T(t.mode)?t.mode:"normal",r=T(t.filename)?t.filename:"message.intl",u=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
- `,a=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],s=gy(e,{mode:n,filename:r,sourceMap:u,breakLineCode:i,needIndent:a});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),o.length>0&&(s.push(`const { ${Nu(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Jt(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:l,map:d}=s.context();return{ast:e,code:l,map:d?d.toJSON():void 0}};function Oy(e,t={}){const n=fe({},t),r=!!n.jit,u=!!n.minify,i=n.optimize==null?!0:n.optimize,o=dy(n).parse(e);return r?(i&&hy(o),u&&Xt(o),{ast:o,code:""}):(_y(o,n),Cy(o,n))}/*!
13
- * core-base v9.14.0
14
- * (c) 2024 kazuya kawaguchi
15
- * Released under the MIT License.
16
- */function Ay(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ut().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ut().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ut().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const vt=[];vt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},vt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},vt[2]={w:[2],i:[3,0],[0]:[3,0]},vt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},vt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},vt[5]={["'"]:[4,0],o:8,l:[5,0]},vt[6]={['"']:[4,0],o:8,l:[6,0]};const Iy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Fy(e){return Iy.test(e)}function Dy(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function wy(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ny(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Fy(t)?Dy(t):"*"+t}function By(e){const t=[];let n=-1,r=0,u=0,i,a,o,s,l,d,c;const f=[];f[0]=()=>{a===void 0?a=o:a+=o},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),u++},f[3]=()=>{if(u>0)u--,r=4,f[0]();else{if(u=0,a===void 0||(a=Ny(a),a===!1))return!1;f[1]()}};function y(){const A=e[n+1];if(r===5&&A==="'"||r===6&&A==='"')return n++,o="\\"+A,f[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&y())){if(s=wy(i),c=vt[r],l=c[s]||c.l||8,l===8||(r=l[0],l[1]!==void 0&&(d=f[l[1]],d&&(o=i,d()===!1))))return;if(r===7)return t}}const po=new Map;function Ty(e,t){return H(e)?e[t]:null}function Ry(e,t){if(!H(e))return null;let n=po.get(t);if(n||(n=By(t),n&&po.set(t,n)),!n)return null;const r=n.length;let u=e,i=0;for(;i<r;){const a=u[n[i]];if(a===void 0||Q(u))return null;u=a,i++}return u}const Py=e=>e,Ly=e=>"",$y="text",My=e=>e.length===0?"":Nu(e),xy=KE;function _o(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Vy(e){const t=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:t:t}function ky(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Uy(e={}){const t=e.locale,n=Vy(e),r=H(e.pluralRules)&&T(t)&&Q(e.pluralRules[t])?e.pluralRules[t]:_o,u=H(e.pluralRules)&&T(t)&&Q(e.pluralRules[t])?_o:void 0,i=h=>h[r(n,h.length,u)],a=e.list||[],o=h=>a[h],s=e.named||{};ce(e.pluralIndex)&&ky(n,s);const l=h=>s[h];function d(h){const C=Q(e.messages)?e.messages(h):H(e.messages)?e.messages[h]:!1;return C||(e.parent?e.parent.message(h):Ly)}const c=h=>e.modifiers?e.modifiers[h]:Py,f=M(e.processor)&&Q(e.processor.normalize)?e.processor.normalize:My,y=M(e.processor)&&Q(e.processor.interpolate)?e.processor.interpolate:xy,A=M(e.processor)&&T(e.processor.type)?e.processor.type:$y,O={list:o,named:l,plural:i,linked:(h,...C)=>{const[m,v]=C;let E="text",b="";C.length===1?H(m)?(b=m.modifier||b,E=m.type||E):T(m)&&(b=m||b):C.length===2&&(T(m)&&(b=m||b),T(v)&&(E=v||E));const I=d(h)(O),D=E==="vnode"&&Y(I)&&b?I[0]:I;return b?c(b)(D,E):D},message:d,type:A,interpolate:y,normalize:f,values:fe({},a,s)};return O}let In=null;function Wy(e){In=e}function jy(e,t,n){In&&In.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Hy=Gy("function:translate");function Gy(e){return t=>In&&In.emit(e,t)}const ho=Or.__EXTEND_POINT__,Tt=yr(ho),Ce={NOT_FOUND_KEY:ho,FALLBACK_TO_TRANSLATE:Tt(),CANNOT_FORMAT_NUMBER:Tt(),FALLBACK_TO_NUMBER_FORMAT:Tt(),CANNOT_FORMAT_DATE:Tt(),FALLBACK_TO_DATE_FORMAT:Tt(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Tt(),__EXTEND_POINT__:Tt()},qy={[Ce.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ce.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ce.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ce.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ce.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ce.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Rt(e,...t){return An(qy[e],...t)}const mo=L.__EXTEND_POINT__,Pt=yr(mo),me={INVALID_ARGUMENT:mo,INVALID_DATE_ARGUMENT:Pt(),INVALID_ISO_DATE_ARGUMENT:Pt(),NOT_SUPPORT_NON_STRING_MESSAGE:Pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Pt(),NOT_SUPPORT_LOCALE_TYPE:Pt(),__EXTEND_POINT__:Pt()};function ze(e){return Kt(e,null,process.env.NODE_ENV!=="production"?{messages:Ky}:void 0)}const Ky={[me.INVALID_ARGUMENT]:"Invalid arguments",[me.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[me.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[me.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[me.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[me.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[me.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ru(e,t){return t.locale!=null?vo(t.locale):vo(e.locale)}let Pu;function vo(e){if(T(e))return e;if(Q(e)){if(e.resolvedOnce&&Pu!=null)return Pu;if(e.constructor.name==="Function"){const t=e();if(qE(t))throw ze(me.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pu=t}else throw ze(me.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ze(me.NOT_SUPPORT_LOCALE_TYPE)}function Xy(e,t,n){return[...new Set([n,...Y(t)?t:H(t)?Object.keys(t):T(t)?[t]:[n]])]}function go(e,t,n){const r=T(n)?n:zt,u=e;u.__localeChainCache||(u.__localeChainCache=new Map);let i=u.__localeChainCache.get(r);if(!i){i=[];let a=[n];for(;Y(a);)a=Eo(i,a,t);const o=Y(t)||!M(t)?t:t.default?t.default:null;a=T(o)?[o]:o,Y(a)&&Eo(i,a,!1),u.__localeChainCache.set(r,i)}return i}function Eo(e,t,n){let r=!0;for(let u=0;u<t.length&&x(r);u++){const i=t[u];T(i)&&(r=Jy(e,t[u],n))}return r}function Jy(e,t,n){let r;const u=t.split("-");do{const i=u.join("-");r=zy(e,i,n),u.splice(-1,1)}while(u.length&&r===!0);return r}function zy(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const u=t.replace(/!/g,"");e.push(u),(Y(n)||M(n))&&n[u]&&(r=n[u])}return r}const Qy="9.14.0",Ar=-1,zt="en-US",Ir="",yo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Zy(){return{upper:(e,t)=>t==="text"&&T(e)?e.toUpperCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&T(e)?e.toLowerCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&T(e)?yo(e):t==="vnode"&&H(e)&&"__v_isVNode"in e?yo(e.children):e}}let bo;function So(e){bo=e}let Co;function Yy(e){Co=e}let Oo;function eb(e){Oo=e}let Ao=null;const Io=e=>{Ao=e},tb=()=>Ao;let Fo=null;const Do=e=>{Fo=e},nb=()=>Fo;let wo=0;function rb(e={}){const t=Q(e.onWarn)?e.onWarn:de,n=T(e.version)?e.version:Qy,r=T(e.locale)||Q(e.locale)?e.locale:zt,u=Q(r)?zt:r,i=Y(e.fallbackLocale)||M(e.fallbackLocale)||T(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u,a=M(e.messages)?e.messages:{[u]:{}},o=M(e.datetimeFormats)?e.datetimeFormats:{[u]:{}},s=M(e.numberFormats)?e.numberFormats:{[u]:{}},l=fe({},e.modifiers||{},Zy()),d=e.pluralRules||{},c=Q(e.missing)?e.missing:null,f=x(e.missingWarn)||ht(e.missingWarn)?e.missingWarn:!0,y=x(e.fallbackWarn)||ht(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,g=!!e.unresolving,O=Q(e.postTranslation)?e.postTranslation:null,h=M(e.processor)?e.processor:null,C=x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,v=Q(e.messageCompiler)?e.messageCompiler:bo;process.env.NODE_ENV!=="production"&&!0&&!0&&Q(e.messageCompiler)&&so(Rt(Ce.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const E=Q(e.messageResolver)?e.messageResolver:Co||Ty,b=Q(e.localeFallbacker)?e.localeFallbacker:Oo||Xy,I=H(e.fallbackContext)?e.fallbackContext:void 0,D=e,N=H(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,G=H(D.__numberFormatters)?D.__numberFormatters:new Map,Fe=H(D.__meta)?D.__meta:{};wo++;const V={version:n,cid:wo,locale:r,fallbackLocale:i,messages:a,modifiers:l,pluralRules:d,missing:c,missingWarn:f,fallbackWarn:y,fallbackFormat:A,unresolving:g,postTranslation:O,processor:h,warnHtmlMessage:C,escapeParameter:m,messageCompiler:v,messageResolver:E,localeFallbacker:b,fallbackContext:I,onWarn:t,__meta:Fe};return V.datetimeFormats=o,V.numberFormats=s,V.__datetimeFormatters=N,V.__numberFormatters=G,process.env.NODE_ENV!=="production"&&(V.__v_emitter=D.__v_emitter!=null?D.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&jy(V,n,Fe),V}function Fr(e,t){return e instanceof RegExp?e.test(t):e}function No(e,t){return e instanceof RegExp?e.test(t):e}function Lu(e,t,n,r,u){const{missing:i,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const o=e.__v_emitter;o&&o.emit("missing",{locale:n,key:t,type:u,groupId:`${u}:${t}`})}if(i!==null){const o=i(e,n,t,u);return T(o)?o:t}else return process.env.NODE_ENV!=="production"&&No(r,t)&&a(Rt(Ce.NOT_FOUND_KEY,{key:t,locale:n})),t}function Fn(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Bo(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function ub(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Bo(e,t[r]))return!0;return!1}function $u(e){return n=>ib(n,e)}function ib(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,u=r.c||r.cases;return e.plural(u.reduce((i,a)=>[...i,To(e,a)],[]))}else return To(e,n)}function To(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((u,i)=>[...u,Mu(e,i)],[]);return e.normalize(r)}}function Mu(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,u=r.m||r.modifier;return e.linked(Mu(e,r.k||r.key),u?Mu(e,u):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const ab="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ro(e,t){t&&ty(e)&&de(An(ab,{source:e}))}const Po=e=>e;let Qt=Object.create(null);function Lo(e){e.code===Or.USE_MODULO_SYNTAX&&de(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
- reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
- (message compiler warning message: ${e.message})`)}const gt=e=>H(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function $o(e,t={}){let n=!1;const r=t.onError||YE;return t.onError=u=>{n=!0,r(u)},Ua(Nt({},Oy(e,t)),{detectError:n})}const ob=(e,t)=>{if(!T(e))throw ze(me.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=Lo);{const n=x(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ro(e,n);const u=(t.onCacheKey||Po)(e),i=Qt[u];if(i)return i;const{code:a,detectError:o}=$o(e,t),s=new Function(`return ${a}`)();return o?s:Qt[u]=s}};function sb(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=Lo),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&T(e)){const n=x(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ro(e,n);const u=(t.onCacheKey||Po)(e),i=Qt[u];if(i)return i;const{ast:a,detectError:o}=$o(e,Ua(Nt({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),s=$u(a);return o?s:Qt[u]=s}else{if(process.env.NODE_ENV!=="production"&&!gt(e))return de(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Qt[n];return r||(Qt[n]=$u(e))}else return $u(e)}}const Mo=()=>"",xe=e=>Q(e);function xo(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:u,messageCompiler:i,fallbackLocale:a,messages:o}=e,[s,l]=xu(...t),d=x(l.missingWarn)?l.missingWarn:e.missingWarn,c=x(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=x(l.escapeParameter)?l.escapeParameter:e.escapeParameter,y=!!l.resolvedMessage,A=T(l.default)||x(l.default)?x(l.default)?i?s:()=>s:l.default:n?i?s:()=>s:"",g=n||A!=="",O=Ru(e,l);f&&lb(l);let[h,C,m]=y?[s,O,o[O]||{}]:Vo(e,s,O,a,c,d),v=h,E=s;if(!y&&!(T(v)||gt(v)||xe(v))&&g&&(v=A,E=v),!y&&(!(T(v)||gt(v)||xe(v))||!T(C)))return u?Ar:s;if(process.env.NODE_ENV!=="production"&&T(v)&&e.messageCompiler==null)return de(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`),s;let b=!1;const I=()=>{b=!0},D=xe(v)?v:ko(e,s,C,v,E,I);if(b)return v;const N=pb(e,C,m,l),G=Uy(N),Fe=cb(e,D,G),V=r?r(Fe,s):Fe;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:T(s)?s:xe(v)?v.key:"",locale:C||(xe(v)?v.locale:""),format:T(v)?v:xe(v)?v.source:"",message:V};le.meta=fe({},e.__meta,tb()||{}),Hy(le)}return V}function lb(e){Y(e.list)?e.list=e.list.map(t=>T(t)?ro(t):t):H(e.named)&&Object.keys(e.named).forEach(t=>{T(e.named[t])&&(e.named[t]=ro(e.named[t]))})}function Vo(e,t,n,r,u,i){const{messages:a,onWarn:o,messageResolver:s,localeFallbacker:l}=e,d=l(e,r,n);let c={},f,y=null,A=n,g=null;const O="translate";for(let h=0;h<d.length;h++){if(f=g=d[h],process.env.NODE_ENV!=="production"&&n!==f&&!Bo(n,f)&&Fr(u,t)&&o(Rt(Ce.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!=="production"&&n!==f){const E=e.__v_emitter;E&&E.emit("fallback",{type:O,key:t,from:A,to:g,groupId:`${O}:${t}`})}c=a[f]||{};let C=null,m,v;if(process.env.NODE_ENV!=="production"&&je&&(C=window.performance.now(),m="intlify-message-resolve-start",v="intlify-message-resolve-end",Re&&Re(m)),(y=s(c,t))===null&&(y=c[t]),process.env.NODE_ENV!=="production"&&je){const E=window.performance.now(),b=e.__v_emitter;b&&C&&y&&b.emit("message-resolve",{type:"message-resolve",key:t,message:y,time:E-C,groupId:`${O}:${t}`}),m&&v&&Re&&Bt&&(Re(v),Bt("intlify message resolve",m,v))}if(T(y)||gt(y)||xe(y))break;if(!ub(f,d)){const E=Lu(e,t,f,i,O);E!==t&&(y=E)}A=g}return[y,f,c]}function ko(e,t,n,r,u,i){const{messageCompiler:a,warnHtmlMessage:o}=e;if(xe(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=()=>r;return f.locale=n,f.key=t,f}let s=null,l,d;process.env.NODE_ENV!=="production"&&je&&(s=window.performance.now(),l="intlify-message-compilation-start",d="intlify-message-compilation-end",Re&&Re(l));const c=a(r,fb(e,n,u,r,o,i));if(process.env.NODE_ENV!=="production"&&je){const f=window.performance.now(),y=e.__v_emitter;y&&s&&y.emit("message-compilation",{type:"message-compilation",message:r,time:f-s,groupId:`translate:${t}`}),l&&d&&Re&&Bt&&(Re(d),Bt("intlify message compilation",l,d))}return c.locale=n,c.key=t,c.source=r,c}function cb(e,t,n){let r=null,u,i;process.env.NODE_ENV!=="production"&&je&&(r=window.performance.now(),u="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Re&&Re(u));const a=t(n);if(process.env.NODE_ENV!=="production"&&je){const o=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit("message-evaluation",{type:"message-evaluation",value:a,time:o-r,groupId:`translate:${t.key}`}),u&&i&&Re&&Bt&&(Re(i),Bt("intlify message evaluation",u,i))}return a}function xu(...e){const[t,n,r]=e,u={};if(!T(t)&&!ce(t)&&!xe(t)&&!gt(t))throw ze(me.INVALID_ARGUMENT);const i=ce(t)?String(t):(xe(t),t);return ce(n)?u.plural=n:T(n)?u.default=n:M(n)&&!gr(n)?u.named=n:Y(n)&&(u.list=n),ce(r)?u.plural=r:T(r)?u.default=r:M(r)&&fe(u,r),[i,u]}function fb(e,t,n,r,u,i){return{locale:t,key:n,warnHtmlMessage:u,onError:a=>{if(i&&i(a),process.env.NODE_ENV!=="production"){const o=db(r),s=`Message compilation error: ${a.message}`,l=a.location&&o&&XE(o,a.location.start.offset,a.location.end.offset),d=e.__v_emitter;d&&o&&d.emit("compile-error",{message:o,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${n}`}),console.error(l?`${s}
19
- ${l}`:s)}else throw a},onCacheKey:a=>WE(t,n,a)}}function db(e){if(T(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function pb(e,t,n,r){const{modifiers:u,pluralRules:i,messageResolver:a,fallbackLocale:o,fallbackWarn:s,missingWarn:l,fallbackContext:d}=e,f={locale:t,modifiers:u,pluralRules:i,messages:y=>{let A=a(n,y);if(A==null&&d){const[,,g]=Vo(d,y,t,o,s,l);A=a(g,y)}if(T(A)||gt(A)){let g=!1;const h=ko(e,y,t,A,y,()=>{g=!0});return g?Mo:h}else return xe(A)?A:Mo}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),ce(r.plural)&&(f.pluralIndex=r.plural),f}const Uo=typeof Intl!="undefined",Wo={dateTimeFormat:Uo&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Uo&&typeof Intl.NumberFormat!="undefined"};function jo(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:u,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!Wo.dateTimeFormat)return i(Rt(Ce.CANNOT_FORMAT_DATE)),Ir;const[s,l,d,c]=Vu(...t),f=x(d.missingWarn)?d.missingWarn:e.missingWarn,y=x(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,A=!!d.part,g=Ru(e,d),O=a(e,u,g);if(!T(s)||s==="")return new Intl.DateTimeFormat(g,c).format(l);let h={},C,m=null,v=g,E=null;const b="datetime format";for(let N=0;N<O.length;N++){if(C=E=O[N],process.env.NODE_ENV!=="production"&&g!==C&&Fr(y,s)&&i(Rt(Ce.FALLBACK_TO_DATE_FORMAT,{key:s,target:C})),process.env.NODE_ENV!=="production"&&g!==C){const G=e.__v_emitter;G&&G.emit("fallback",{type:b,key:s,from:v,to:E,groupId:`${b}:${s}`})}if(h=n[C]||{},m=h[s],M(m))break;Lu(e,s,C,f,b),v=E}if(!M(m)||!T(C))return r?Ar:s;let I=`${C}__${s}`;gr(c)||(I=`${I}__${JSON.stringify(c)}`);let D=o.get(I);return D||(D=new Intl.DateTimeFormat(C,fe({},m,c)),o.set(I,D)),A?D.formatToParts(l):D.format(l)}const Ho=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vu(...e){const[t,n,r,u]=e,i={};let a={},o;if(T(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw ze(me.INVALID_ISO_DATE_ARGUMENT);const l=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();o=new Date(l);try{o.toISOString()}catch(d){throw ze(me.INVALID_ISO_DATE_ARGUMENT)}}else if(HE(t)){if(isNaN(t.getTime()))throw ze(me.INVALID_DATE_ARGUMENT);o=t}else if(ce(t))o=t;else throw ze(me.INVALID_ARGUMENT);return T(n)?i.key=n:M(n)&&Object.keys(n).forEach(s=>{Ho.includes(s)?a[s]=n[s]:i[s]=n[s]}),T(r)?i.locale=r:M(r)&&(a=r),M(u)&&(a=u),[i.key||"",o,i,a]}function Go(e,t,n){const r=e;for(const u in n){const i=`${t}__${u}`;!r.__datetimeFormatters.has(i)||r.__datetimeFormatters.delete(i)}}function qo(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:u,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:o}=e;if(process.env.NODE_ENV!=="production"&&!Wo.numberFormat)return i(Rt(Ce.CANNOT_FORMAT_NUMBER)),Ir;const[s,l,d,c]=ku(...t),f=x(d.missingWarn)?d.missingWarn:e.missingWarn,y=x(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,A=!!d.part,g=Ru(e,d),O=a(e,u,g);if(!T(s)||s==="")return new Intl.NumberFormat(g,c).format(l);let h={},C,m=null,v=g,E=null;const b="number format";for(let N=0;N<O.length;N++){if(C=E=O[N],process.env.NODE_ENV!=="production"&&g!==C&&Fr(y,s)&&i(Rt(Ce.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:C})),process.env.NODE_ENV!=="production"&&g!==C){const G=e.__v_emitter;G&&G.emit("fallback",{type:b,key:s,from:v,to:E,groupId:`${b}:${s}`})}if(h=n[C]||{},m=h[s],M(m))break;Lu(e,s,C,f,b),v=E}if(!M(m)||!T(C))return r?Ar:s;let I=`${C}__${s}`;gr(c)||(I=`${I}__${JSON.stringify(c)}`);let D=o.get(I);return D||(D=new Intl.NumberFormat(C,fe({},m,c)),o.set(I,D)),A?D.formatToParts(l):D.format(l)}const Ko=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ku(...e){const[t,n,r,u]=e,i={};let a={};if(!ce(t))throw ze(me.INVALID_ARGUMENT);const o=t;return T(n)?i.key=n:M(n)&&Object.keys(n).forEach(s=>{Ko.includes(s)?a[s]=n[s]:i[s]=n[s]}),T(r)?i.locale=r:M(r)&&(a=r),M(u)&&(a=u),[i.key||"",o,i,a]}function Xo(e,t,n){const r=e;for(const u in n){const i=`${t}__${u}`;!r.__numberFormatters.has(i)||r.__numberFormatters.delete(i)}}Ay();/**
20
- * @vue/shared v3.5.5
21
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
- * @license MIT
23
- **//*! #__NO_SIDE_EFFECTS__ */function _b(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ve=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Lt=()=>{},hb=()=>!1,mb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pe=Object.assign,vb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gb=Object.prototype.hasOwnProperty,ae=(e,t)=>gb.call(e,t),ee=Array.isArray,Zt=e=>Dr(e)==="[object Map]",Eb=e=>Dr(e)==="[object Set]",oe=e=>typeof e=="function",qe=e=>typeof e=="string",Dn=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",yb=e=>(Oe(e)||oe(e))&&oe(e.then)&&oe(e.catch),bb=Object.prototype.toString,Dr=e=>bb.call(e),Jo=e=>Dr(e).slice(8,-1),Sb=e=>Dr(e)==="[object Object]",Uu=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Qo=zo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cb=zo(e=>e?`on${Qo(e)}`:""),Et=(e,t)=>!Object.is(e,t),Ob=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let Zo;const Yo=()=>Zo||(Zo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Wu(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],u=qe(r)?Db(r):Wu(r);if(u)for(const i in u)t[i]=u[i]}return t}else if(qe(e)||Oe(e))return e}const Ab=/;(?![^(]*\))/g,Ib=/:([^]+)/,Fb=/\/\*[^]*?\*\//g;function Db(e){const t={};return e.replace(Fb,"").split(Ab).forEach(n=>{if(n){const r=n.split(Ib);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ju(e){let t="";if(qe(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=ju(e[n]);r&&(t+=r+" ")}else if(Oe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
24
- * @vue/reactivity v3.5.5
25
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
26
- * @license MIT
27
- **/function Qe(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Le;class wb{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}else process.env.NODE_ENV!=="production"&&Qe("cannot run an inactive effect scope.")}on(){Le=this}off(){Le=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const u=this.parent.scopes.pop();u&&u!==this&&(this.parent.scopes[this.index]=u,u.index=this.index)}this.parent=void 0,this._active=!1}}}function Nb(e){return new wb(e)}function Bb(){return Le}let q;const Hu=new WeakSet;class Tb{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Hu.has(this)&&(Hu.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=wn,wn=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,is(this),ts(this);const t=q,n=Ke;q=this,Ke=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&q!==this&&Qe("Active effect was not restored correctly - this is likely a Vue internal bug."),ns(this),q=t,Ke=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Xu(t);this.deps=this.depsTail=void 0,is(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Hu.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ku(this)&&this.run()}get dirty(){return Ku(this)}}let es=0,wn;function Gu(){es++}function qu(){if(--es>0)return;let e;for(;wn;){let t=wn;for(wn=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ts(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ns(e){let t,n=e.depsTail,r=n;for(;r;){const u=r.prevDep;r.version===-1?(r===n&&(n=u),Xu(r),Rb(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=u}e.deps=t,e.depsTail=n}function Ku(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&rs(t.dep.computed)||t.dep.version!==t.version)return!0;return!!e._dirty}function rs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Tn))return;e.globalVersion=Tn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!Ku(e)){e.flags&=-3;return}const n=q,r=Ke;q=e,Ke=!0;try{ts(e);const u=e.fn(e._value);(t.version===0||Et(u,e._value))&&(e._value=u,t.version++)}catch(u){throw t.version++,u}finally{q=n,Ke=r,ns(e),e.flags&=-3}}function Xu(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let u=t.computed.deps;u;u=u.nextDep)Xu(u)}}function Rb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ke=!0;const us=[];function Nn(){us.push(Ke),Ke=!1}function Bn(){const e=us.pop();Ke=e===void 0?!0:e}function is(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=q;q=void 0;try{t()}finally{q=n}}}let Tn=0;class Pb{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ju{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!q||!Ke||q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==q)n=this.activeLink=new Pb(q,this),q.deps?(n.prevDep=q.depsTail,q.depsTail.nextDep=n,q.depsTail=n):q.deps=q.depsTail=n,q.flags&4&&as(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=q.depsTail,n.nextDep=void 0,q.depsTail.nextDep=n,q.depsTail=n,q.deps===n&&(q.deps=r)}return process.env.NODE_ENV!=="production"&&q.onTrack&&q.onTrack(Pe({effect:q},t)),n}trigger(t){this.version++,Tn++,this.notify(t)}notify(t){Gu();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)process.env.NODE_ENV!=="production"&&n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Pe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{qu()}}}function as(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)as(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}const zu=new WeakMap,$t=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Qu=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Rn=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function ve(e,t,n){if(Ke&&q){let r=zu.get(e);r||zu.set(e,r=new Map);let u=r.get(n);u||r.set(n,u=new Ju),process.env.NODE_ENV!=="production"?u.track({target:e,type:t,key:n}):u.track()}}function yt(e,t,n,r,u,i){const a=zu.get(e);if(!a){Tn++;return}const o=s=>{s&&(process.env.NODE_ENV!=="production"?s.trigger({target:e,type:t,key:n,newValue:r,oldValue:u,oldTarget:i}):s.trigger())};if(Gu(),t==="clear")a.forEach(o);else{const s=ee(e),l=s&&Uu(n);if(s&&n==="length"){const d=Number(r);a.forEach((c,f)=>{(f==="length"||f===Rn||!Dn(f)&&f>=d)&&o(c)})}else switch(n!==void 0&&o(a.get(n)),l&&o(a.get(Rn)),t){case"add":s?l&&o(a.get("length")):(o(a.get($t)),Zt(e)&&o(a.get(Qu)));break;case"delete":s||(o(a.get($t)),Zt(e)&&o(a.get(Qu)));break;case"set":Zt(e)&&o(a.get($t));break}}qu()}function Yt(e){const t=U(e);return t===e?t:(ve(t,"iterate",Rn),De(e)?t:t.map(Ae))}function Zu(e){return ve(e=U(e),"iterate",Rn),e}const Lb={__proto__:null,[Symbol.iterator](){return Yu(this,Symbol.iterator,Ae)},concat(...e){return Yt(this).concat(...e.map(t=>ee(t)?Yt(t):t))},entries(){return Yu(this,"entries",e=>(e[1]=Ae(e[1]),e))},every(e,t){return at(this,"every",e,t,void 0,arguments)},filter(e,t){return at(this,"filter",e,t,n=>n.map(Ae),arguments)},find(e,t){return at(this,"find",e,t,Ae,arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,Ae,arguments)},findLastIndex(e,t){return at(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return at(this,"forEach",e,t,void 0,arguments)},includes(...e){return ei(this,"includes",e)},indexOf(...e){return ei(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return ei(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return Pn(this,"pop")},push(...e){return Pn(this,"push",e)},reduce(e,...t){return os(this,"reduce",e,t)},reduceRight(e,...t){return os(this,"reduceRight",e,t)},shift(){return Pn(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return Pn(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return Pn(this,"unshift",e)},values(){return Yu(this,"values",Ae)}};function Yu(e,t,n){const r=Zu(e),u=r[t]();return r!==e&&!De(e)&&(u._next=u.next,u.next=()=>{const i=u._next();return i.value&&(i.value=n(i.value)),i}),u}const $b=Array.prototype;function at(e,t,n,r,u,i){const a=Zu(e),o=a!==e&&!De(e),s=a[t];if(s!==$b[t]){const c=s.apply(e,i);return o?Ae(c):c}let l=n;a!==e&&(o?l=function(c,f){return n.call(this,Ae(c),f,e)}:n.length>2&&(l=function(c,f){return n.call(this,c,f,e)}));const d=s.call(a,l,r);return o&&u?u(d):d}function os(e,t,n,r){const u=Zu(e);let i=n;return u!==e&&(De(e)?n.length>3&&(i=function(a,o,s){return n.call(this,a,o,s,e)}):i=function(a,o,s){return n.call(this,a,Ae(o),s,e)}),u[t](i,...r)}function ei(e,t,n){const r=U(e);ve(r,"iterate",Rn);const u=r[t](...n);return(u===-1||u===!1)&&$r(n[0])?(n[0]=U(n[0]),r[t](...n)):u}function Pn(e,t,n=[]){Nn(),Gu();const r=U(e)[t].apply(e,n);return qu(),Bn(),r}const Mb=_b("__proto__,__v_isRef,__isVue"),ss=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn));function xb(e){Dn(e)||(e=String(e));const t=U(this);return ve(t,"has",e),t.hasOwnProperty(e)}class ls{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const u=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!u;if(n==="__v_isReadonly")return u;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(u?i?gs:vs:i?Qb:ms).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=ee(t);if(!u){let s;if(a&&(s=Lb[n]))return s;if(n==="hasOwnProperty")return xb}const o=Reflect.get(t,n,ye(t)?t:r);return(Dn(n)?ss.has(n):Mb(n))||(u||ve(t,"get",n),i)?o:ye(o)?a&&Uu(n)?o:o.value:Oe(o)?u?ys(o):Es(o):o}}class Vb extends ls{constructor(t=!1){super(!1,t)}set(t,n,r,u){let i=t[n];if(!this._isShallow){const s=ot(i);if(!De(r)&&!ot(r)&&(i=U(i),r=U(r)),!ee(t)&&ye(i)&&!ye(r))return s?!1:(i.value=r,!0)}const a=ee(t)&&Uu(n)?Number(n)<t.length:ae(t,n),o=Reflect.set(t,n,r,ye(t)?t:u);return t===U(u)&&(a?Et(r,i)&&yt(t,"set",n,r,i):yt(t,"add",n,r)),o}deleteProperty(t,n){const r=ae(t,n),u=t[n],i=Reflect.deleteProperty(t,n);return i&&r&&yt(t,"delete",n,void 0,u),i}has(t,n){const r=Reflect.has(t,n);return(!Dn(n)||!ss.has(n))&&ve(t,"has",n),r}ownKeys(t){return ve(t,"iterate",ee(t)?"length":$t),Reflect.ownKeys(t)}}class cs extends ls{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&Qe(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&Qe(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const kb=new Vb,Ub=new cs,Wb=new cs(!0),ti=e=>e,wr=e=>Reflect.getPrototypeOf(e);function Nr(e,t,n=!1,r=!1){e=e.__v_raw;const u=U(e),i=U(t);n||(Et(t,i)&&ve(u,"get",t),ve(u,"get",i));const{has:a}=wr(u),o=r?ti:n?ui:Ae;if(a.call(u,t))return o(e.get(t));if(a.call(u,i))return o(e.get(i));e!==u&&e.get(t)}function Br(e,t=!1){const n=this.__v_raw,r=U(n),u=U(e);return t||(Et(e,u)&&ve(r,"has",e),ve(r,"has",u)),e===u?n.has(e):n.has(e)||n.has(u)}function Tr(e,t=!1){return e=e.__v_raw,!t&&ve(U(e),"iterate",$t),Reflect.get(e,"size",e)}function fs(e,t=!1){!t&&!De(e)&&!ot(e)&&(e=U(e));const n=U(this);return wr(n).has.call(n,e)||(n.add(e),yt(n,"add",e,e)),this}function ds(e,t,n=!1){!n&&!De(t)&&!ot(t)&&(t=U(t));const r=U(this),{has:u,get:i}=wr(r);let a=u.call(r,e);a?process.env.NODE_ENV!=="production"&&hs(r,u,e):(e=U(e),a=u.call(r,e));const o=i.call(r,e);return r.set(e,t),a?Et(t,o)&&yt(r,"set",e,t,o):yt(r,"add",e,t),this}function ps(e){const t=U(this),{has:n,get:r}=wr(t);let u=n.call(t,e);u?process.env.NODE_ENV!=="production"&&hs(t,n,e):(e=U(e),u=n.call(t,e));const i=r?r.call(t,e):void 0,a=t.delete(e);return u&&yt(t,"delete",e,void 0,i),a}function _s(){const e=U(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Zt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&yt(e,"clear",void 0,void 0,n),r}function Rr(e,t){return function(r,u){const i=this,a=i.__v_raw,o=U(a),s=t?ti:e?ui:Ae;return!e&&ve(o,"iterate",$t),a.forEach((l,d)=>r.call(u,s(l),s(d),i))}}function Pr(e,t,n){return function(...r){const u=this.__v_raw,i=U(u),a=Zt(i),o=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,l=u[e](...r),d=n?ti:t?ui:Ae;return!t&&ve(i,"iterate",s?Qu:$t),{next(){const{value:c,done:f}=l.next();return f?{value:c,done:f}:{value:o?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function bt(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Qe(`${Qo(e)} operation ${n}failed: target is readonly.`,U(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function jb(){const e={get(i){return Nr(this,i)},get size(){return Tr(this)},has:Br,add:fs,set:ds,delete:ps,clear:_s,forEach:Rr(!1,!1)},t={get(i){return Nr(this,i,!1,!0)},get size(){return Tr(this)},has:Br,add(i){return fs.call(this,i,!0)},set(i,a){return ds.call(this,i,a,!0)},delete:ps,clear:_s,forEach:Rr(!1,!0)},n={get(i){return Nr(this,i,!0)},get size(){return Tr(this,!0)},has(i){return Br.call(this,i,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:Rr(!0,!1)},r={get(i){return Nr(this,i,!0,!0)},get size(){return Tr(this,!0)},has(i){return Br.call(this,i,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:Rr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Pr(i,!1,!1),n[i]=Pr(i,!0,!1),t[i]=Pr(i,!1,!0),r[i]=Pr(i,!0,!0)}),[e,n,t,r]}const[Hb,Gb,qb,Kb]=jb();function ni(e,t){const n=t?e?Kb:qb:e?Gb:Hb;return(r,u,i)=>u==="__v_isReactive"?!e:u==="__v_isReadonly"?e:u==="__v_raw"?r:Reflect.get(ae(n,u)&&u in r?n:r,u,i)}const Xb={get:ni(!1,!1)},Jb={get:ni(!0,!1)},zb={get:ni(!0,!0)};function hs(e,t,n){const r=U(n);if(r!==n&&t.call(e,r)){const u=Jo(e);Qe(`Reactive ${u} contains both the raw and reactive versions of the same object${u==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const ms=new WeakMap,Qb=new WeakMap,vs=new WeakMap,gs=new WeakMap;function Zb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yb(e){return e.__v_skip||!Object.isExtensible(e)?0:Zb(Jo(e))}function Es(e){return ot(e)?e:ri(e,!1,kb,Xb,ms)}function ys(e){return ri(e,!0,Ub,Jb,vs)}function Lr(e){return ri(e,!0,Wb,zb,gs)}function ri(e,t,n,r,u){if(!Oe(e))return process.env.NODE_ENV!=="production"&&Qe(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=u.get(e);if(i)return i;const a=Yb(e);if(a===0)return e;const o=new Proxy(e,a===2?r:n);return u.set(e,o),o}function en(e){return ot(e)?en(e.__v_raw):!!(e&&e.__v_isReactive)}function ot(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function $r(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function e5(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&Ob(e,"__v_skip",!0),e}const Ae=e=>Oe(e)?Es(e):e,ui=e=>Oe(e)?ys(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function tn(e){return Ss(e,!1)}function bs(e){return Ss(e,!0)}function Ss(e,t){return ye(e)?e:new t5(e,t)}class t5{constructor(t,n){this.dep=new Ju,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:U(t),this._value=n?t:Ae(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||De(t)||ot(t);t=r?t:U(t),Et(t,n)&&(this._rawValue=t,this._value=r?t:Ae(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function n5(e){return ye(e)?e.value:e}const r5={get:(e,t,n)=>t==="__v_raw"?e:n5(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const u=e[t];return ye(u)&&!ye(n)?(u.value=n,!0):Reflect.set(e,t,n,r)}};function u5(e){return en(e)?e:new Proxy(e,r5)}class i5{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ju(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Tn-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){this.flags|=16,q!==this?this.dep.notify():process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return rs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&Qe("Write operation failed: computed value is readonly")}}function a5(e,t,n=!1){let r,u;oe(e)?r=e:(r=e.get,u=e.set);const i=new i5(r,u,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.onTrack=t.onTrack,i.onTrigger=t.onTrigger),i}const Mr={},xr=new WeakMap;let Mt;function o5(e,t=!1,n=Mt){if(n){let r=xr.get(n);r||xr.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&Qe("onWatcherCleanup() was called when there was no active watcher to associate with.")}function s5(e,t,n=Ve){const{immediate:r,deep:u,once:i,scheduler:a,augmentJob:o,call:s}=n,l=E=>{(n.onWarn||Qe)("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=E=>u?E:De(E)||u===!1||u===0?St(E,1):St(E);let c,f,y,A,g=!1,O=!1;if(ye(e)?(f=()=>e.value,g=De(e)):en(e)?(f=()=>d(e),g=!0):ee(e)?(O=!0,g=e.some(E=>en(E)||De(E)),f=()=>e.map(E=>{if(ye(E))return E.value;if(en(E))return d(E);if(oe(E))return s?s(E,2):E();process.env.NODE_ENV!=="production"&&l(E)})):oe(e)?t?f=s?()=>s(e,2):e:f=()=>{if(y){Nn();try{y()}finally{Bn()}}const E=Mt;Mt=c;try{return s?s(e,3,[A]):e(A)}finally{Mt=E}}:(f=Lt,process.env.NODE_ENV!=="production"&&l(e)),t&&u){const E=f,b=u===!0?1/0:u;f=()=>St(E(),b)}const h=Bb(),C=()=>{c.stop(),h&&vb(h.effects,c)};if(i)if(t){const E=t;t=(...b)=>{E(...b),C()}}else{const E=f;f=()=>{E(),C()}}let m=O?new Array(e.length).fill(Mr):Mr;const v=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const b=c.run();if(u||g||(O?b.some((I,D)=>Et(I,m[D])):Et(b,m))){y&&y();const I=Mt;Mt=c;try{const D=[b,m===Mr?void 0:O&&m[0]===Mr?[]:m,A];s?s(t,3,D):t(...D),m=b}finally{Mt=I}}}else c.run()};return o&&o(v),c=new Tb(f),c.scheduler=a?()=>a(v,!1):v,A=E=>o5(E,!1,c),y=c.onStop=()=>{const E=xr.get(c);if(E){if(s)s(E,4);else for(const b of E)b();xr.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?v(!0):m=c.run():a?a(v.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function St(e,t=1/0,n){if(t<=0||!Oe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ye(e))St(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)St(e[r],t,n);else if(Eb(e)||Zt(e))e.forEach(r=>{St(r,t,n)});else if(Sb(e)){for(const r in e)St(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&St(e[r],t,n)}return e}/**
28
- * @vue/runtime-core v3.5.5
29
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
30
- * @license MIT
31
- **/const xt=[];function l5(e){xt.push(e)}function c5(){xt.pop()}let ii=!1;function te(e,...t){if(ii)return;ii=!0,Nn();const n=xt.length?xt[xt.length-1].component:null,r=n&&n.appContext.config.warnHandler,u=f5();if(r)Vr(r,n,11,[e+t.map(i=>{var a,o;return(o=(a=i.toString)==null?void 0:a.call(i))!=null?o:JSON.stringify(i)}).join(""),n&&n.proxy,u.map(({vnode:i})=>`at <${Gs(n,i.type)}>`).join(`
32
- `),u]);else{const i=[`[Vue warn]: ${e}`,...t];u.length&&i.push(`
33
- `,...d5(u)),console.warn(...i)}Bn(),ii=!1}function f5(){let e=xt[xt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function d5(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
34
- `],...p5(n))}),t}function p5({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,u=` at <${Gs(e.component,e.type,r)}`,i=">"+n;return e.props?[u,..._5(e.props),i]:[u+i]}function _5(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Cs(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Cs(e,t,n){return qe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ye(t)?(t=Cs(e,U(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):oe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=U(t),n?t:[`${e}=`,t])}const ai={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"};function Vr(e,t,n,r){try{return r?e(...r):e()}catch(u){si(u,t,n)}}function oi(e,t,n,r){if(oe(e)){const u=Vr(e,t,n,r);return u&&yb(u)&&u.catch(i=>{si(i,t,n)}),u}if(ee(e)){const u=[];for(let i=0;i<e.length;i++)u.push(oi(e[i],t,n,r));return u}else process.env.NODE_ENV!=="production"&&te(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function si(e,t,n,r=!0){const u=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ve;if(t){let o=t.parent;const s=t.proxy,l=process.env.NODE_ENV!=="production"?ai[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const d=o.ec;if(d){for(let c=0;c<d.length;c++)if(d[c](e,s,l)===!1)return}o=o.parent}if(i){Nn(),Vr(i,null,10,[e,s,l]),Bn();return}}h5(e,n,u,r,a)}function h5(e,t,n,r=!0,u=!1){if(process.env.NODE_ENV!=="production"){const i=ai[t];if(n&&l5(n),te(`Unhandled error${i?` during execution of ${i}`:""}`),n&&c5(),r)throw e;console.error(e)}else{if(u)throw e;console.error(e)}}let kr=!1,li=!1;const ke=[];let st=0;const nn=[];let Ct=null,rn=0;const Os=Promise.resolve();let ci=null;const m5=100;function v5(e){const t=ci||Os;return e?t.then(this?e.bind(this):e):t}function g5(e){let t=kr?st+1:0,n=ke.length;for(;t<n;){const r=t+n>>>1,u=ke[r],i=Ln(u);i<e||i===e&&u.flags&2?t=r+1:n=r}return t}function fi(e){if(!(e.flags&1)){const t=Ln(e),n=ke[ke.length-1];!n||!(e.flags&2)&&t>=Ln(n)?ke.push(e):ke.splice(g5(t),0,e),e.flags|=1,As()}}function As(){!kr&&!li&&(li=!0,ci=Os.then(Fs))}function Is(e){ee(e)?nn.push(...e):Ct&&e.id===-1?Ct.splice(rn+1,0,e):e.flags&1||(nn.push(e),e.flags|=1),As()}function E5(e){if(nn.length){const t=[...new Set(nn)].sort((n,r)=>Ln(n)-Ln(r));if(nn.length=0,Ct){Ct.push(...t);return}for(Ct=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),rn=0;rn<Ct.length;rn++){const n=Ct[rn];process.env.NODE_ENV!=="production"&&Ds(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Ct=null,rn=0}}const Ln=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Fs(e){li=!1,kr=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Ds(e,n):Lt;try{for(st=0;st<ke.length;st++){const n=ke[st];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Vr(n,n.i,n.i?15:14),n.flags&=-2}}}finally{for(;st<ke.length;st++){const n=ke[st];n&&(n.flags&=-2)}st=0,ke.length=0,E5(e),kr=!1,ci=null,(ke.length||nn.length)&&Fs(e)}}function Ds(e,t){const n=e.get(t)||0;if(n>m5){const r=t.i,u=r&&Hs(r.type);return si(`Maximum recursive updates exceeded${u?` in component <${u}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const di=new Map;process.env.NODE_ENV!=="production"&&(Yo().__VUE_HMR_RUNTIME__={createRecord:pi(y5),rerender:pi(b5),reload:pi(S5)});const Ur=new Map;function y5(e,t){return Ur.has(e)?!1:(Ur.set(e,{initialDef:Wr(t),instances:new Set}),!0)}function Wr(e){return qs(e)?e.__vccOpts:e}function b5(e,t){const n=Ur.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Wr(r.type).render=t),r.renderCache=[],r.update()}))}function S5(e,t){const n=Ur.get(e);if(!n)return;t=Wr(t),ws(n.initialDef,t);const r=[...n.instances];for(let u=0;u<r.length;u++){const i=r[u],a=Wr(i.type);let o=di.get(a);o||(a!==n.initialDef&&ws(a,t),di.set(a,o=new Set)),o.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(o.add(i),i.ceReload(t.styles),o.delete(i)):i.parent?fi(()=>{i.parent.update(),o.delete(i)}):i.appContext.reload?i.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(a)}Is(()=>{di.clear()})}function ws(e,t){Pe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function pi(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let un,jr=[];function Ns(e,t){var n,r;un=e,un?(un.enabled=!0,jr.forEach(({event:u,args:i})=>un.emit(u,...i)),jr=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Ns(i,t)}),setTimeout(()=>{un||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,jr=[])},3e3)):jr=[]}let Ze=null,C5=null;const O5=e=>e.__isTeleport;function Bs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function _i(e,t){return oe(e)?(()=>Pe({name:e.name},t,{setup:e}))():e}function A5(e,t,n=Vt,r=!1){if(n){const u=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Nn();const o=js(n),s=oi(t,n,e,a);return o(),Bn(),s});return r?u.unshift(i):u.push(i),i}else if(process.env.NODE_ENV!=="production"){const u=Cb(ai[e].replace(/ hook$/,""));te(`${u} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const hi=e=>(t,n=Vt)=>{(!Xr||e==="sp")&&A5(e,(...r)=>t(...r),n)},I5=hi("bm"),F5=hi("m"),D5=hi("um"),w5=Symbol.for("v-ndc"),mi=e=>e?Z5(e)?Y5(e):mi(e.parent):null,$n=Pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Lr(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Lr(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Lr(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Lr(e.refs):e.refs,$parent:e=>mi(e.parent),$root:e=>mi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?R5(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{fi(e.update)}),$nextTick:e=>e.n||(e.n=v5.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?W5.bind(e):Lt}),N5=e=>e==="_"||e==="$",vi=(e,t)=>e!==Ve&&!e.__isScriptSetup&&ae(e,t),B5={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:u,props:i,accessCache:a,type:o,appContext:s}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let l;if(t[0]!=="$"){const y=a[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return u[t];case 4:return n[t];case 3:return i[t]}else{if(vi(r,t))return a[t]=1,r[t];if(u!==Ve&&ae(u,t))return a[t]=2,u[t];if((l=e.propsOptions[0])&&ae(l,t))return a[t]=3,i[t];if(n!==Ve&&ae(n,t))return a[t]=4,n[t];(!__VUE_OPTIONS_API__||T5)&&(a[t]=0)}}const d=$n[t];let c,f;if(d)return t==="$attrs"?(ve(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&ve(e,"get",t),d(e);if((c=o.__cssModules)&&(c=c[t]))return c;if(n!==Ve&&ae(n,t))return a[t]=4,n[t];if(f=s.config.globalProperties,ae(f,t))return f[t];process.env.NODE_ENV!=="production"&&Ze&&(!qe(t)||t.indexOf("__v")!==0)&&(u!==Ve&&N5(t[0])&&ae(u,t)?te(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Ze&&te(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:u,ctx:i}=e;return vi(u,t)?(u[t]=n,!0):process.env.NODE_ENV!=="production"&&u.__isScriptSetup&&ae(u,t)?(te(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Ve&&ae(r,t)?(r[t]=n,!0):ae(e.props,t)?(process.env.NODE_ENV!=="production"&&te(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&te(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:u,propsOptions:i}},a){let o;return!!n[a]||e!==Ve&&ae(e,a)||vi(t,a)||(o=i[0])&&ae(o,a)||ae(r,a)||ae($n,a)||ae(u.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(B5.ownKeys=e=>(te("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Ts(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let T5=!0;function R5(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:u,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,o=i.get(t);let s;return o?s=o:!u.length&&!n&&!r?s=t:(s={},u.length&&u.forEach(l=>Hr(s,l,a,!0)),Hr(s,t,a)),Oe(t)&&i.set(t,s),s}function Hr(e,t,n,r=!1){const{mixins:u,extends:i}=t;i&&Hr(e,i,n,!0),u&&u.forEach(a=>Hr(e,a,n,!0));for(const a in t)if(r&&a==="expose")process.env.NODE_ENV!=="production"&&te('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=P5[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const P5={data:Rs,props:Ls,emits:Ls,methods:Mn,computed:Mn,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:Mn,directives:Mn,watch:$5,provide:Rs,inject:L5};function Rs(e,t){return t?e?function(){return Pe(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function L5(e,t){return Mn(Ps(e),Ps(t))}function Ps(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ie(e,t){return e?[...new Set([].concat(e,t))]:t}function Mn(e,t){return e?Pe(Object.create(null),e,t):t}function Ls(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Pe(Object.create(null),Ts(e),Ts(t!=null?t:{})):t}function $5(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const r in t)n[r]=Ie(e[r],t[r]);return n}function M5(){return{app:null,config:{isNativeTag:hb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gi=null;function $s(e,t,n=!1){const r=Vt||Ze;if(r||gi){const u=gi?gi._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(u&&e in u)return u[e];if(arguments.length>1)return n&&oe(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&te(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&te("inject() can only be used inside setup() or functional components.")}const x5={},Ms=e=>Object.getPrototypeOf(e)===x5,V5=G5,k5=Symbol.for("v-scx"),U5=()=>{{const e=$s(k5);return e||process.env.NODE_ENV!=="production"&&te("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Ei(e,t,n){return process.env.NODE_ENV!=="production"&&!oe(t)&&te("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),xs(e,t,n)}function xs(e,t,n=Ve){const{immediate:r,deep:u,flush:i,once:a}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&te('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&te('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&te('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const o=Pe({},n);process.env.NODE_ENV!=="production"&&(o.onWarn=te);let s;if(Xr)if(i==="sync"){const f=U5();s=f.__watcherHandles||(f.__watcherHandles=[])}else if(!t||r)o.once=!0;else return{stop:Lt,resume:Lt,pause:Lt};const l=Vt;o.call=(f,y,A)=>oi(f,l,y,A);let d=!1;i==="post"?o.scheduler=f=>{V5(f,l&&l.suspense)}:i!=="sync"&&(d=!0,o.scheduler=(f,y)=>{y?f():fi(f)}),o.augmentJob=f=>{t&&(f.flags|=4),d&&(f.flags|=2,l&&(f.id=l.uid,f.i=l))};const c=s5(e,t,o);return s&&s.push(c),c}function W5(e,t,n){const r=this.proxy,u=qe(e)?e.includes(".")?j5(r,e):()=>r[e]:e.bind(r,r);let i;oe(t)?i=t:(i=t.handler,n=t);const a=js(this),o=xs(u,i.bind(r),n);return a(),o}function j5(e,t){const n=t.split(".");return()=>{let r=e;for(let u=0;u<n.length&&r;u++)r=r[n[u]];return r}}function dA(){}const H5=e=>e.__isSuspense;function G5(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):Is(e)}const Gr=Symbol.for("v-fgt"),Vs=Symbol.for("v-txt"),q5=Symbol.for("v-cmt");let an=null;function yi(e){return e?e.__v_isVNode===!0:!1}const K5=(...e)=>Us(...e),ks=({key:e})=>e!=null?e:null,qr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||ye(e)||oe(e)?{i:Ze,r:e,k:t,f:!!n}:e:null);function X5(e,t=null,n=null,r=0,u=null,i=e===Gr?0:1,a=!1,o=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ks(t),ref:t&&qr(t),scopeId:C5,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:u,dynamicChildren:null,appContext:null,ctx:Ze};return o?(bi(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=qe(n)?8:16),process.env.NODE_ENV!=="production"&&s.key!==s.key&&te("VNode created with invalid key (NaN). VNode type:",s.type),!a&&an&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&an.push(s),s}const on=process.env.NODE_ENV!=="production"?K5:Us;function Us(e,t=null,n=null,r=0,u=null,i=!1){if((!e||e===w5)&&(process.env.NODE_ENV!=="production"&&!e&&te(`Invalid vnode type when creating vnode: ${e}.`),e=q5),yi(e)){const o=Kr(e,t,!0);return n&&bi(o,n),!i&&an&&(o.shapeFlag&6?an[an.indexOf(e)]=o:an.push(o)),o.patchFlag=-2,o}if(qs(e)&&(e=e.__vccOpts),t){t=J5(t);let{class:o,style:s}=t;o&&!qe(o)&&(t.class=ju(o)),Oe(s)&&($r(s)&&!ee(s)&&(s=Pe({},s)),t.style=Wu(s))}const a=qe(e)?1:H5(e)?128:O5(e)?64:Oe(e)?4:oe(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&$r(e)&&(e=U(e),te("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
35
- Component that was made reactive: `,e)),X5(e,t,n,r,u,a,i,!0)}function J5(e){return e?$r(e)||Ms(e)?Pe({},e):e:null}function Kr(e,t,n=!1,r=!1){const{props:u,ref:i,patchFlag:a,children:o,transition:s}=e,l=t?Q5(u||{},t):u,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ks(l),ref:t&&t.ref?n&&i?ee(i)?i.concat(qr(t)):[i,qr(t)]:qr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&a===-1&&ee(o)?o.map(Ws):o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Gr?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&Bs(d,s.clone(d)),d}function Ws(e){const t=Kr(e);return ee(e.children)&&(t.children=e.children.map(Ws)),t}function z5(e=" ",t=0){return on(Vs,null,e,t)}function bi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const u=t.default;u&&(u._c&&(u._d=!1),bi(e,u()),u._c&&(u._d=!0));return}else{n=32;const u=t._;!u&&!Ms(t)?t._ctx=Ze:u===3&&Ze&&(Ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:Ze},n=32):(t=String(t),r&64?(n=16,t=[z5(t)]):n=8);e.children=t,e.shapeFlag|=n}function Q5(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const u in r)if(u==="class")t.class!==r.class&&(t.class=ju([t.class,r.class]));else if(u==="style")t.style=Wu([t.style,r.style]);else if(mb(u)){const i=t[u],a=r[u];a&&i!==a&&!(ee(i)&&i.includes(a))&&(t[u]=i?[].concat(i,a):a)}else u!==""&&(t[u]=r[u])}return t}M5();let Vt=null;const sn=()=>Vt||Ze;let Si;{const e=Yo(),t=(n,r)=>{let u;return(u=e[n])||(u=e[n]=[]),u.push(r),i=>{u.length>1?u.forEach(a=>a(i)):u[0](i)}};Si=t("__VUE_INSTANCE_SETTERS__",n=>Vt=n),t("__VUE_SSR_SETTERS__",n=>Xr=n)}const js=e=>{const t=Vt;return Si(e),e.scope.on(),()=>{e.scope.off(),Si(t)}};function Z5(e){return e.vnode.shapeFlag&4}let Xr=!1;process.env.NODE_ENV;function Y5(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(u5(e5(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $n)return $n[n](e)},has(t,n){return n in t||n in $n}})):e.proxy}const e3=/(?:^|[-_])(\w)/g,t3=e=>e.replace(e3,t=>t.toUpperCase()).replace(/[-_]/g,"");function Hs(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Gs(e,t,n=!1){let r=Hs(t);if(!r&&t.__file){const u=t.__file.match(/([^/\\]+)\.\w+$/);u&&(r=u[1])}if(!r&&e&&e.parent){const u=i=>{for(const a in i)if(i[a]===t)return a};r=u(e.components||e.parent.type.components)||u(e.appContext.components)}return r?t3(r):n?"App":"Anonymous"}function qs(e){return oe(e)&&"__vccOpts"in e}const Ye=(e,t)=>{const n=a5(e,t,Xr);if(process.env.NODE_ENV!=="production"){const r=sn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Ks(e,t,n){const r=arguments.length;return r===2?Oe(t)&&!ee(t)?yi(t)?on(e,null,[t]):on(e,t):on(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yi(n)&&(n=[n]),on(e,t,n))}function n3(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},u={__vue_custom_formatter:!0,header(c){return Oe(c)?c.__isVue?["div",e,"VueInstance"]:ye(c)?["div",{},["span",e,d(c)],"<",o("_value"in c?c._value:c),">"]:en(c)?["div",{},["span",e,De(c)?"ShallowReactive":"Reactive"],"<",o(c),`>${ot(c)?" (readonly)":""}`]:ot(c)?["div",{},["span",e,De(c)?"ShallowReadonly":"Readonly"],"<",o(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...i(c.$)]}};function i(c){const f=[];c.type.props&&c.props&&f.push(a("props",U(c.props))),c.setupState!==Ve&&f.push(a("setup",c.setupState)),c.data!==Ve&&f.push(a("data",U(c.data)));const y=s(c,"computed");y&&f.push(a("computed",y));const A=s(c,"inject");return A&&f.push(a("injected",A)),f.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),f}function a(c,f){return f=Pe({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(y=>["div",{},["span",r,y+": "],o(f[y],!1)])]]:["span",{}]}function o(c,f=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:Oe(c)?["object",{object:f?U(c):c}]:["span",n,String(c)]}function s(c,f){const y=c.type;if(oe(y))return;const A={};for(const g in c.ctx)l(y,g,f)&&(A[g]=c.ctx[g]);return A}function l(c,f,y){const A=c[y];if(ee(A)&&A.includes(f)||Oe(A)&&f in A||c.extends&&l(c.extends,f,y)||c.mixins&&c.mixins.some(g=>l(g,f,y)))return!0}function d(c){return De(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(u):window.devtoolsFormatters=[u]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
36
- * vue v3.5.5
37
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
38
- * @license MIT
39
- **/function r3(){n3()}process.env.NODE_ENV!=="production"&&r3();function u3(){return Xs().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Xs(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const i3=typeof Proxy=="function",a3="devtools-plugin:setup",o3="plugin:settings:set";let ln,Ci;function s3(){var e;return ln!==void 0||(typeof window!="undefined"&&window.performance?(ln=!0,Ci=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(ln=!0,Ci=globalThis.perf_hooks.performance):ln=!1),ln}function l3(){return s3()?Ci.now():Date.now()}class c3{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const a in t.settings){const o=t.settings[a];r[a]=o.defaultValue}const u=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const a=localStorage.getItem(u),o=JSON.parse(a);Object.assign(i,o)}catch(a){}this.fallbacks={getSettings(){return i},setSettings(a){try{localStorage.setItem(u,JSON.stringify(a))}catch(o){}i=a},now(){return l3()}},n&&n.on(o3,(a,o)=>{a===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(a,o)=>this.target?this.target.on[o]:(...s)=>{this.onQueue.push({method:o,args:s})}}),this.proxiedTarget=new Proxy({},{get:(a,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...s)=>(this.targetQueue.push({method:o,args:s,resolve:()=>{}}),this.fallbacks[o](...s)):(...s)=>new Promise(l=>{this.targetQueue.push({method:o,args:s,resolve:l})})})}setRealTarget(t){return qt(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function f3(e,t){const n=e,r=Xs(),u=u3(),i=i3&&n.enableEarlyProxy;if(u&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))u.emit(a3,e,t);else{const a=i?new c3(n,u):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
40
- * vue-i18n v9.14.0
41
- * (c) 2024 kazuya kawaguchi
42
- * Released under the MIT License.
43
- */const d3="9.14.0";function p3(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ut().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ut().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ut().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ut().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ut().__INTLIFY_PROD_DEVTOOLS__=!1)}const Js=Ce.__EXTEND_POINT__,lt=yr(Js),ne={FALLBACK_TO_ROOT:Js,NOT_SUPPORTED_PRESERVE:lt(),NOT_SUPPORTED_FORMATTER:lt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:lt(),NOT_SUPPORTED_GET_CHOICE_INDEX:lt(),COMPONENT_NAME_LEGACY_COMPATIBLE:lt(),NOT_FOUND_PARENT_SCOPE:lt(),IGNORE_OBJ_FLATTEN:lt(),NOTICE_DROP_ALLOW_COMPOSITION:lt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:lt()},_3={[ne.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ne.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ne.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ne.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ne.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ne.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ne.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ne.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[ne.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function we(e,...t){return An(_3[e],...t)}const zs=me.__EXTEND_POINT__,Ne=yr(zs),j={UNEXPECTED_RETURN_TYPE:zs,INVALID_ARGUMENT:Ne(),MUST_BE_CALL_SETUP_TOP:Ne(),NOT_INSTALLED:Ne(),NOT_AVAILABLE_IN_LEGACY_MODE:Ne(),REQUIRED_VALUE:Ne(),INVALID_VALUE:Ne(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ne(),NOT_INSTALLED_WITH_PROVIDE:Ne(),UNEXPECTED_ERROR:Ne(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ne(),BRIDGE_SUPPORT_VUE_2_ONLY:Ne(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ne(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ne(),__EXTEND_POINT__:Ne()};function pe(e,...t){return Kt(e,null,process.env.NODE_ENV!=="production"?{messages:h3,args:t}:void 0)}const h3={[j.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[j.INVALID_ARGUMENT]:"Invalid argument",[j.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[j.NOT_INSTALLED]:"Need to install with `app.use` function",[j.UNEXPECTED_ERROR]:"Unexpected error",[j.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[j.REQUIRED_VALUE]:"Required in value: {0}",[j.INVALID_VALUE]:"Invalid value",[j.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[j.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[j.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[j.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[j.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[j.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Oi=He("__translateVNode"),Ai=He("__datetimeParts"),Ii=He("__numberParts"),kt=He("__enableEmitter"),xn=He("__disableEmitter"),Qs=He("__setPluralRules");He("__intlifyMeta");const Zs=He("__injectWithOption"),Fi=He("__dispose");function Vn(e){if(!H(e))return e;for(const t in e)if(!!Er(e,t))if(!t.includes("."))H(e[t])&&Vn(e[t]);else{const n=t.split("."),r=n.length-1;let u=e,i=!1;for(let a=0;a<r;a++){if(n[a]in u||(u[n[a]]={}),!H(u[n[a]])){process.env.NODE_ENV!=="production"&&de(we(ne.IGNORE_OBJ_FLATTEN,{key:n[a]})),i=!0;break}u=u[n[a]]}i||(u[n[r]]=e[t],delete e[t]),H(u[n[r]])&&Vn(u[n[r]])}return e}function Jr(e,t){const{messages:n,__i18n:r,messageResolver:u,flatJson:i}=t,a=M(n)?n:Y(r)?{}:{[e]:{}};if(Y(r)&&r.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:s,resource:l}=o;s?(a[s]=a[s]||{},Sr(l,a[s])):Sr(l,a)}else T(o)&&Sr(JSON.parse(o),a)}),u==null&&i)for(const o in a)Er(a,o)&&Vn(a[o]);return a}function Ys(e){return e.type}function el(e,t,n){let r=H(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Jr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const u=Object.keys(r);u.length&&u.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(H(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(H(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function tl(e){return on(Vs,null,e,0)}const nl="__INTLIFY_META__",rl=()=>[],m3=()=>!1;let ul=0;function il(e){return(t,n,r,u)=>e(n,r,sn()||void 0,u)}const v3=()=>{const e=sn();let t=null;return e&&(t=Ys(e)[nl])?{[nl]:t}:null};function Di(e={},t){const{__root:n,__injectWithOption:r}=e,u=n===void 0,i=e.flatJson,a=je?tn:bs,o=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&o&&so(we(ne.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let s=x(e.inheritLocale)?e.inheritLocale:!0;const l=a(n&&s?n.locale.value:T(e.locale)?e.locale:zt),d=a(n&&s?n.fallbackLocale.value:T(e.fallbackLocale)||Y(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=a(Jr(l.value,e)),f=a(M(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),y=a(M(e.numberFormats)?e.numberFormats:{[l.value]:{}});let A=n?n.missingWarn:x(e.missingWarn)||ht(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:x(e.fallbackWarn)||ht(e.fallbackWarn)?e.fallbackWarn:!0,O=n?n.fallbackRoot:x(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,C=Q(e.missing)?e.missing:null,m=Q(e.missing)?il(e.missing):null,v=Q(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const I=n?n.modifiers:M(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,N;N=(()=>{u&&Do(null);const S={version:d3,locale:l.value,fallbackLocale:d.value,messages:c.value,modifiers:I,pluralRules:D,missing:m===null?void 0:m,missingWarn:A,fallbackWarn:g,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:E,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=f.value,S.numberFormats=y.value,S.__datetimeFormatters=M(N)?N.__datetimeFormatters:void 0,S.__numberFormatters=M(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(S.__v_emitter=M(N)?N.__v_emitter:void 0);const w=rb(S);return u&&Do(w),w})(),Fn(N,l.value,d.value);function Fe(){return[l.value,d.value,c.value,f.value,y.value]}const V=Ye({get:()=>l.value,set:S=>{l.value=S,N.locale=l.value}}),le=Ye({get:()=>d.value,set:S=>{d.value=S,N.fallbackLocale=d.value,Fn(N,l.value,S)}}),Ue=Ye(()=>c.value),er=Ye(()=>f.value),nt=Ye(()=>y.value);function tr(){return Q(v)?v:null}function nr(S){v=S,N.postTranslation=S}function rr(){return C}function ur(S){S!==null&&(m=il(S)),C=S,N.missing=m}function ir(S,w){return S!=="translate"||!w.resolvedMessage}const We=(S,w,X,ue,wt,yu)=>{Fe();let En;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Io(v3()),u||(N.fallbackContext=n?nb():void 0),En=S(N)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Io(null),u||(N.fallbackContext=void 0)}if(X!=="translate exists"&&ce(En)&&En===Ar||X==="translate exists"&&!En){const[Gt,aA]=w();if(process.env.NODE_ENV!=="production"&&n&&T(Gt)&&ir(X,aA)&&(O&&(Fr(g,Gt)||No(A,Gt))&&de(we(ne.FALLBACK_TO_ROOT,{key:Gt,type:X})),process.env.NODE_ENV!=="production")){const{__v_emitter:Bc}=N;Bc&&O&&Bc.emit("fallback",{type:X,key:Gt,to:"global",groupId:`${X}:${Gt}`})}return n&&O?ue(n):wt(Gt)}else{if(yu(En))return En;throw pe(j.UNEXPECTED_RETURN_TYPE)}};function mn(...S){return We(w=>Reflect.apply(xo,null,[w,...S]),()=>xu(...S),"translate",w=>Reflect.apply(w.t,w,[...S]),w=>w,w=>T(w))}function vn(...S){const[w,X,ue]=S;if(ue&&!H(ue))throw pe(j.INVALID_ARGUMENT);return mn(w,X,fe({resolvedMessage:!0},ue||{}))}function ar(...S){return We(w=>Reflect.apply(jo,null,[w,...S]),()=>Vu(...S),"datetime format",w=>Reflect.apply(w.d,w,[...S]),()=>Ir,w=>T(w))}function or(...S){return We(w=>Reflect.apply(qo,null,[w,...S]),()=>ku(...S),"number format",w=>Reflect.apply(w.n,w,[...S]),()=>Ir,w=>T(w))}function sr(S){return S.map(w=>T(w)||ce(w)||x(w)?tl(String(w)):w)}const lr={normalize:sr,interpolate:S=>S,type:"vnode"};function gn(...S){return We(w=>{let X;const ue=w;try{ue.processor=lr,X=Reflect.apply(xo,null,[ue,...S])}finally{ue.processor=null}return X},()=>xu(...S),"translate",w=>w[Oi](...S),w=>[tl(w)],w=>Y(w))}function cr(...S){return We(w=>Reflect.apply(qo,null,[w,...S]),()=>ku(...S),"number format",w=>w[Ii](...S),rl,w=>T(w)||Y(w))}function fr(...S){return We(w=>Reflect.apply(jo,null,[w,...S]),()=>Vu(...S),"datetime format",w=>w[Ai](...S),rl,w=>T(w)||Y(w))}function dr(S){D=S,N.pluralRules=D}function B(S,w){return We(()=>{if(!S)return!1;const X=T(w)?w:l.value,ue=Ht(X),wt=N.messageResolver(ue,S);return o?wt!=null:gt(wt)||xe(wt)||T(wt)},()=>[S],"translate exists",X=>Reflect.apply(X.te,X,[S,w]),m3,X=>x(X))}function K(S){let w=null;const X=go(N,d.value,l.value);for(let ue=0;ue<X.length;ue++){const wt=c.value[X[ue]]||{},yu=N.messageResolver(wt,S);if(yu!=null){w=yu;break}}return w}function pr(S){const w=K(S);return w!=null?w:n?n.tm(S)||{}:{}}function Ht(S){return c.value[S]||{}}function _r(S,w){if(i){const X={[S]:w};for(const ue in X)Er(X,ue)&&Vn(X[ue]);w=X[S]}c.value[S]=w,N.messages=c.value}function ka(S,w){c.value[S]=c.value[S]||{};const X={[S]:w};if(i)for(const ue in X)Er(X,ue)&&Vn(X[ue]);w=X[S],Sr(w,c.value[S]),N.messages=c.value}function p(S){return f.value[S]||{}}function _(S,w){f.value[S]=w,N.datetimeFormats=f.value,Go(N,S,w)}function F(S,w){f.value[S]=fe(f.value[S]||{},w),N.datetimeFormats=f.value,Go(N,S,w)}function R(S){return y.value[S]||{}}function re(S,w){y.value[S]=w,N.numberFormats=y.value,Xo(N,S,w)}function Z(S,w){y.value[S]=fe(y.value[S]||{},w),N.numberFormats=y.value,Xo(N,S,w)}ul++,n&&je&&(Ei(n.locale,S=>{s&&(l.value=S,N.locale=S,Fn(N,l.value,d.value))}),Ei(n.fallbackLocale,S=>{s&&(d.value=S,N.fallbackLocale=S,Fn(N,l.value,d.value))}));const z={id:ul,locale:V,fallbackLocale:le,get inheritLocale(){return s},set inheritLocale(S){s=S,S&&n&&(l.value=n.locale.value,d.value=n.fallbackLocale.value,Fn(N,l.value,d.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Ue,get modifiers(){return I},get pluralRules(){return D||{}},get isGlobal(){return u},get missingWarn(){return A},set missingWarn(S){A=S,N.missingWarn=A},get fallbackWarn(){return g},set fallbackWarn(S){g=S,N.fallbackWarn=g},get fallbackRoot(){return O},set fallbackRoot(S){O=S},get fallbackFormat(){return h},set fallbackFormat(S){h=S,N.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(S){E=S,N.warnHtmlMessage=S},get escapeParameter(){return b},set escapeParameter(S){b=S,N.escapeParameter=S},t:mn,getLocaleMessage:Ht,setLocaleMessage:_r,mergeLocaleMessage:ka,getPostTranslationHandler:tr,setPostTranslationHandler:nr,getMissingHandler:rr,setMissingHandler:ur,[Qs]:dr};return z.datetimeFormats=er,z.numberFormats=nt,z.rt=vn,z.te=B,z.tm=pr,z.d=ar,z.n=or,z.getDateTimeFormat=p,z.setDateTimeFormat=_,z.mergeDateTimeFormat=F,z.getNumberFormat=R,z.setNumberFormat=re,z.mergeNumberFormat=Z,z[Zs]=r,z[Oi]=gn,z[Ai]=fr,z[Ii]=cr,process.env.NODE_ENV!=="production"&&(z[kt]=S=>{N.__v_emitter=S},z[xn]=()=>{N.__v_emitter=void 0}),z}function g3(e){const t=T(e.locale)?e.locale:zt,n=T(e.fallbackLocale)||Y(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Q(e.missing)?e.missing:void 0,u=x(e.silentTranslationWarn)||ht(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=x(e.silentFallbackWarn)||ht(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=x(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,s=M(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,d=Q(e.postTranslation)?e.postTranslation:void 0,c=T(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,y=x(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&de(we(ne.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&de(we(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let A=e.messages;if(M(e.sharedMessages)){const b=e.sharedMessages;A=Object.keys(b).reduce((D,N)=>{const G=D[N]||(D[N]={});return fe(G,b[N]),D},A||{})}const{__i18n:g,__root:O,__injectWithOption:h}=e,C=e.datetimeFormats,m=e.numberFormats,v=e.flatJson,E=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:A,flatJson:v,datetimeFormats:C,numberFormats:m,missing:r,missingWarn:u,fallbackWarn:i,fallbackRoot:a,fallbackFormat:o,modifiers:s,pluralRules:l,postTranslation:d,warnHtmlMessage:c,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:y,translateExistCompatible:E,__i18n:g,__root:O,__injectWithOption:h}}function wi(e={},t){{const n=Di(g3(e)),{__extender:r}=e,u={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&de(we(ne.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&de(we(ne.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return x(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=x(i)?!i:i},get silentFallbackWarn(){return x(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=x(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&de(we(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&de(we(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,o,s]=i,l={};let d=null,c=null;if(!T(a))throw pe(j.INVALID_ARGUMENT);const f=a;return T(o)?l.locale=o:Y(o)?d=o:M(o)&&(c=o),Y(s)?d=s:M(s)&&(c=s),Reflect.apply(n.t,n,[f,d||c||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,o,s]=i,l={plural:1};let d=null,c=null;if(!T(a))throw pe(j.INVALID_ARGUMENT);const f=a;return T(o)?l.locale=o:ce(o)?l.plural=o:Y(o)?d=o:M(o)&&(c=o),T(s)?l.locale=s:Y(s)?d=s:M(s)&&(c=s),Reflect.apply(n.t,n,[f,d||c||{},l])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return process.env.NODE_ENV!=="production"&&de(we(ne.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return u.__extender=r,process.env.NODE_ENV!=="production"&&(u.__enableEmitter=i=>{const a=n;a[kt]&&a[kt](i)},u.__disableEmitter=()=>{const i=n;i[xn]&&i[xn]()}),u}}const Ni={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E3({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,u)=>[...r,...u.type===Gr?u.children:[u]],[]):t.reduce((n,r)=>{const u=e[r];return u&&(n[r]=u()),n},{})}function al(e){return Gr}const Bi=_i({name:"i18n-t",props:fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Ni),setup(e,t){const{slots:n,attrs:r}=t,u=e.i18n||Li({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(c=>c!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=T(e.plural)?+e.plural:e.plural);const o=E3(t,i),s=u[Oi](e.keypath,o,a),l=fe({},r),d=T(e.tag)||H(e.tag)?e.tag:al();return Ks(d,l,s)}}});function y3(e){return Y(e)&&!T(e[0])}function ol(e,t,n,r){const{slots:u,attrs:i}=t;return()=>{const a={part:!0};let o={};e.locale&&(a.locale=e.locale),T(e.format)?a.key=e.format:H(e.format)&&(T(e.format.key)&&(a.key=e.format.key),o=Object.keys(e.format).reduce((f,y)=>n.includes(y)?fe({},f,{[y]:e.format[y]}):f,{}));const s=r(e.value,a,o);let l=[a.key];Y(s)?l=s.map((f,y)=>{const A=u[f.type],g=A?A({[f.type]:f.value,index:y,parts:s}):[f.value];return y3(g)&&(g[0].key=`${f.type}-${y}`),g}):T(s)&&(l=[s]);const d=fe({},i),c=T(e.tag)||H(e.tag)?e.tag:al();return Ks(c,d,l)}}const sl=_i({name:"i18n-n",props:fe({value:{type:Number,required:!0},format:{type:[String,Object]}},Ni),setup(e,t){const n=e.i18n||Li({useScope:e.scope,__useComponent:!0});return ol(e,t,Ko,(...r)=>n[Ii](...r))}}),ll=_i({name:"i18n-d",props:fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ni),setup(e,t){const n=e.i18n||Li({useScope:e.scope,__useComponent:!0});return ol(e,t,Ho,(...r)=>n[Ai](...r))}});function b3(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function S3(e){const t=a=>{const{instance:o,modifiers:s,value:l}=a;if(!o||!o.$)throw pe(j.UNEXPECTED_ERROR);const d=b3(e,o.$);process.env.NODE_ENV!=="production"&&s.preserve&&de(we(ne.NOT_SUPPORTED_PRESERVE));const c=cl(l);return[Reflect.apply(d.t,d,[...fl(c)]),d]};return{created:(a,o)=>{const[s,l]=t(o);je&&e.global===l&&(a.__i18nWatcher=Ei(l.locale,()=>{o.instance&&o.instance.$forceUpdate()})),a.__composer=l,a.textContent=s},unmounted:a=>{je&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:o})=>{if(a.__composer){const s=a.__composer,l=cl(o);a.textContent=Reflect.apply(s.t,s,[...fl(l)])}},getSSRProps:a=>{const[o]=t(a);return{textContent:o}}}}function cl(e){if(T(e))return{path:e};if(M(e)){if(!("path"in e))throw pe(j.REQUIRED_VALUE,"path");return e}else throw pe(j.INVALID_VALUE)}function fl(e){const{path:t,locale:n,args:r,choice:u,plural:i}=e,a={},o=r||{};return T(n)&&(a.locale=n),ce(u)&&(a.plural=u),ce(i)&&(a.plural=i),[t,o,a]}function C3(e,t,...n){const r=M(n[0])?n[0]:{},u=!!r.useI18nComponentName,i=x(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&u&&de(we(ne.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Bi.name})),i&&([u?"i18n":Bi.name,"I18nT"].forEach(a=>e.component(a,Bi)),[sl.name,"I18nN"].forEach(a=>e.component(a,sl)),[ll.name,"I18nD"].forEach(a=>e.component(a,ll))),e.directive("t",S3(t))}const Ti={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},O3={["vue-i18n-resource-inspector"]:"Search for scopes ..."},A3={["vue-i18n-timeline"]:16764185},dl="vue-i18n: composer properties";let Ri;function I3(e,t){return qt(this,null,function*(){return new Promise((n,r)=>{try{f3({id:"vue-devtools-plugin-vue-i18n",label:Ti["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[dl],app:e},u=>{Ri=u,u.on.visitComponentTree(({componentInstance:a,treeNode:o})=>{F3(a,o,t)}),u.on.inspectComponent(({componentInstance:a,instanceData:o})=>{a.vnode.el&&a.vnode.el.__VUE_I18N__&&o&&(t.mode==="legacy"?a.vnode.el.__VUE_I18N__!==t.global.__composer&&_l(o,a.vnode.el.__VUE_I18N__):_l(o,a.vnode.el.__VUE_I18N__))}),u.addInspector({id:"vue-i18n-resource-inspector",label:Ti["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:O3["vue-i18n-resource-inspector"]}),u.on.getInspectorTree(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&T3(a,t)});const i=new Map;u.on.getInspectorState(a=>qt(this,null,function*(){if(a.app===e&&a.inspectorId==="vue-i18n-resource-inspector")if(u.unhighlightElement(),P3(a,t),a.nodeId==="global"){if(!i.has(a.app)){const[o]=yield u.getComponentInstances(a.app);i.set(a.app,o)}u.highlightElement(i.get(a.app))}else{const o=R3(a.nodeId,t);o&&u.highlightElement(o)}})),u.on.editInspectorState(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&$3(a,t)}),u.addTimelineLayer({id:"vue-i18n-timeline",label:Ti["vue-i18n-timeline"],color:A3["vue-i18n-timeline"]}),n(!0)})}catch(u){console.error(u),r(!1)}})})}function pl(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function F3(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const u={label:`i18n (${pl(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(u)}}function _l(e,t){const n=dl;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Pi(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Pi(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];Q(r)&&"source"in r?t[n]=B3(r):gt(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:H(r)?t[n]=Pi(r):t[n]=r}),t}const D3={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function w3(e){return e.replace(/[<>"&]/g,N3)}function N3(e){return D3[e]||e}function B3(e){const t=e.source?`("${w3(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function T3(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,u]of t.__instances){const i=t.mode==="composition"?u:u.__composer;n!==i&&e.rootNodes.push({id:i.id.toString(),label:`${pl(r)} Scope`})}}function R3(e,t){let n=null;if(e!=="global"){for(const[r,u]of t.__instances.entries())if(u.id.toString()===e){n=r;break}}return n}function hl(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function P3(e,t){const n=hl(e.nodeId,t);return n&&(e.state=L3(n)),null}function L3(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const u="Locale messages info",i=[{type:u,key:"messages",editable:!1,value:Pi(e.messages.value)}];t[u]=i;{const a="Datetime formats info",o=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=o;const s="Datetime formats info",l=[{type:s,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[s]=l}return t}function kn(e,t){if(Ri){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Ri.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function $3(e,t){const n=hl(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&T(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(T(e.state.value)||Y(e.state.value)||H(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&x(e.state.value)&&(n.inheritLocale=e.state.value)}}function M3(e,t,n){return{beforeCreate(){const r=sn();if(!r)throw pe(j.UNEXPECTED_ERROR);const u=this.$options;if(u.i18n){const i=u.i18n;if(u.__i18n&&(i.__i18n=u.__i18n),i.__root=t,this===this.$root)this.$i18n=ml(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=wi(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(u.__i18n)if(this===this.$root)this.$i18n=ml(e,u);else{this.$i18n=wi({__i18n:u.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;u.__i18nGlobal&&el(t,u,u),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const u=this.__v_emitter=Bu();r.__enableEmitter&&r.__enableEmitter(u),u.on("*",kn)}},unmounted(){const r=sn();if(!r)throw pe(j.UNEXPECTED_ERROR);const u=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",kn),delete this.__v_emitter),this.$i18n&&(u.__disableEmitter&&u.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,u.__disposer&&(u.__disposer(),delete u.__disposer,delete u.__extender),n.__deleteInstance(r),delete this.$i18n}}}function ml(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Qs](t.pluralizationRules||e.pluralizationRules);const n=Jr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const x3=He("global-vue-i18n");function V3(e={},t){const n=__VUE_I18N_LEGACY_API__&&x(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=x(e.globalInjection)?e.globalInjection:!0,u=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,o]=k3(e,n),s=He(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&u&&de(we(ne.NOTICE_DROP_ALLOW_COMPOSITION));function l(f){return i.get(f)||null}function d(f,y){i.set(f,y)}function c(f){i.delete(f)}{let y;const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return u},install(A,...g){return qt(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(A.__VUE_I18N__=f),A.__VUE_I18N_SYMBOL__=s,A.provide(A.__VUE_I18N_SYMBOL__,f),M(g[0])){const C=g[0];f.__composerExtend=C.__composerExtend,f.__vueI18nExtend=C.__vueI18nExtend}let O=null;!n&&r&&(O=J3(A,f.global)),__VUE_I18N_FULL_INSTALL__&&C3(A,f,...g),__VUE_I18N_LEGACY_API__&&n&&A.mixin(M3(o,o.__composer,f));const h=A.unmount;if(A.unmount=()=>{O&&O(),f.dispose(),h()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield I3(A,f)))throw pe(j.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const m=Bu();if(n){const v=o;v.__enableEmitter&&v.__enableEmitter(m)}else{const v=o;v[kt]&&v[kt](m)}m.on("*",kn)}})},get global(){return o},dispose(){a.stop()},__instances:i,__getInstance:l,__setInstance:d,__deleteInstance:c};return f}}function Li(e={}){const t=sn();if(t==null)throw pe(j.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw pe(j.NOT_INSTALLED);const n=U3(t),r=j3(n),u=Ys(t),i=W3(e,u);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw pe(j.NOT_AVAILABLE_IN_LEGACY_MODE);return K3(t,i,r,e)}if(i==="global")return el(r,e,u),r;if(i==="parent"){let s=H3(n,t,e.__useComponent);return s==null&&(process.env.NODE_ENV!=="production"&&de(we(ne.NOT_FOUND_PARENT_SCOPE)),s=r),s}const a=n;let o=a.__getInstance(t);if(o==null){const s=fe({},e);"__i18n"in u&&(s.__i18n=u.__i18n),r&&(s.__root=r),o=Di(s),a.__composerExtend&&(o[Fi]=a.__composerExtend(o)),q3(a,t,o),a.__setInstance(t,o)}return o}function k3(e,t,n){const r=Nb();{const u=__VUE_I18N_LEGACY_API__&&t?r.run(()=>wi(e)):r.run(()=>Di(e));if(u==null)throw pe(j.UNEXPECTED_ERROR);return[r,u]}}function U3(e){{const t=$s(e.isCE?x3:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw pe(e.isCE?j.NOT_INSTALLED_WITH_PROVIDE:j.UNEXPECTED_ERROR);return t}}function W3(e,t){return gr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function j3(e){return e.mode==="composition"?e.global:e.global.__composer}function H3(e,t,n=!1){let r=null;const u=t.root;let i=G3(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const o=a.__getInstance(i);o!=null&&(r=o.__composer,n&&r&&!r[Zs]&&(r=null))}if(r!=null||u===i)break;i=i.parent}return r}function G3(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function q3(e,t,n){let r=null;F5(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Bu();const u=n;u[kt]&&u[kt](r),r.on("*",kn)}},t),D5(()=>{const u=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",kn),u[xn]&&u[xn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=u[Fi];i&&(i(),delete u[Fi])},t)}function K3(e,t,n,r={}){const u=t==="local",i=bs(null);if(u&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw pe(j.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=x(r.inheritLocale)?r.inheritLocale:!T(r.locale),o=tn(!u||a?n.locale.value:T(r.locale)?r.locale:zt),s=tn(!u||a?n.fallbackLocale.value:T(r.fallbackLocale)||Y(r.fallbackLocale)||M(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:o.value),l=tn(Jr(o.value,r)),d=tn(M(r.datetimeFormats)?r.datetimeFormats:{[o.value]:{}}),c=tn(M(r.numberFormats)?r.numberFormats:{[o.value]:{}}),f=u?n.missingWarn:x(r.missingWarn)||ht(r.missingWarn)?r.missingWarn:!0,y=u?n.fallbackWarn:x(r.fallbackWarn)||ht(r.fallbackWarn)?r.fallbackWarn:!0,A=u?n.fallbackRoot:x(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,O=Q(r.missing)?r.missing:null,h=Q(r.postTranslation)?r.postTranslation:null,C=u?n.warnHtmlMessage:x(r.warnHtmlMessage)?r.warnHtmlMessage:!0,m=!!r.escapeParameter,v=u?n.modifiers:M(r.modifiers)?r.modifiers:{},E=r.pluralRules||u&&n.pluralRules;function b(){return[o.value,s.value,l.value,d.value,c.value]}const I=Ye({get:()=>i.value?i.value.locale.value:o.value,set:B=>{i.value&&(i.value.locale.value=B),o.value=B}}),D=Ye({get:()=>i.value?i.value.fallbackLocale.value:s.value,set:B=>{i.value&&(i.value.fallbackLocale.value=B),s.value=B}}),N=Ye(()=>i.value?i.value.messages.value:l.value),G=Ye(()=>d.value),Fe=Ye(()=>c.value);function V(){return i.value?i.value.getPostTranslationHandler():h}function le(B){i.value&&i.value.setPostTranslationHandler(B)}function Ue(){return i.value?i.value.getMissingHandler():O}function er(B){i.value&&i.value.setMissingHandler(B)}function nt(B){return b(),B()}function tr(...B){return i.value?nt(()=>Reflect.apply(i.value.t,null,[...B])):nt(()=>"")}function nr(...B){return i.value?Reflect.apply(i.value.rt,null,[...B]):""}function rr(...B){return i.value?nt(()=>Reflect.apply(i.value.d,null,[...B])):nt(()=>"")}function ur(...B){return i.value?nt(()=>Reflect.apply(i.value.n,null,[...B])):nt(()=>"")}function ir(B){return i.value?i.value.tm(B):{}}function We(B,K){return i.value?i.value.te(B,K):!1}function mn(B){return i.value?i.value.getLocaleMessage(B):{}}function vn(B,K){i.value&&(i.value.setLocaleMessage(B,K),l.value[B]=K)}function ar(B,K){i.value&&i.value.mergeLocaleMessage(B,K)}function or(B){return i.value?i.value.getDateTimeFormat(B):{}}function sr(B,K){i.value&&(i.value.setDateTimeFormat(B,K),d.value[B]=K)}function Eu(B,K){i.value&&i.value.mergeDateTimeFormat(B,K)}function lr(B){return i.value?i.value.getNumberFormat(B):{}}function gn(B,K){i.value&&(i.value.setNumberFormat(B,K),c.value[B]=K)}function cr(B,K){i.value&&i.value.mergeNumberFormat(B,K)}const fr={get id(){return i.value?i.value.id:-1},locale:I,fallbackLocale:D,messages:N,datetimeFormats:G,numberFormats:Fe,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(B){i.value&&(i.value.inheritLocale=B)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(l.value)},get modifiers(){return i.value?i.value.modifiers:v},get pluralRules(){return i.value?i.value.pluralRules:E},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackWarn(){return i.value?i.value.fallbackWarn:y},set fallbackWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackRoot(){return i.value?i.value.fallbackRoot:A},set fallbackRoot(B){i.value&&(i.value.fallbackRoot=B)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(B){i.value&&(i.value.fallbackFormat=B)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:C},set warnHtmlMessage(B){i.value&&(i.value.warnHtmlMessage=B)},get escapeParameter(){return i.value?i.value.escapeParameter:m},set escapeParameter(B){i.value&&(i.value.escapeParameter=B)},t:tr,getPostTranslationHandler:V,setPostTranslationHandler:le,getMissingHandler:Ue,setMissingHandler:er,rt:nr,d:rr,n:ur,tm:ir,te:We,getLocaleMessage:mn,setLocaleMessage:vn,mergeLocaleMessage:ar,getDateTimeFormat:or,setDateTimeFormat:sr,mergeDateTimeFormat:Eu,getNumberFormat:lr,setNumberFormat:gn,mergeNumberFormat:cr};function dr(B){B.locale.value=o.value,B.fallbackLocale.value=s.value,Object.keys(l.value).forEach(K=>{B.mergeLocaleMessage(K,l.value[K])}),Object.keys(d.value).forEach(K=>{B.mergeDateTimeFormat(K,d.value[K])}),Object.keys(c.value).forEach(K=>{B.mergeNumberFormat(K,c.value[K])}),B.escapeParameter=m,B.fallbackFormat=g,B.fallbackRoot=A,B.fallbackWarn=y,B.missingWarn=f,B.warnHtmlMessage=C}return I5(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw pe(j.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=i.value=e.proxy.$i18n.__composer;t==="global"?(o.value=B.locale.value,s.value=B.fallbackLocale.value,l.value=B.messages.value,d.value=B.datetimeFormats.value,c.value=B.numberFormats.value):u&&dr(B)}),fr}const X3=["locale","fallbackLocale","availableLocales"],vl=["t","rt","d","n","tm","te"];function J3(e,t){const n=Object.create(null);return X3.forEach(u=>{const i=Object.getOwnPropertyDescriptor(t,u);if(!i)throw pe(j.UNEXPECTED_ERROR);const a=ye(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,u,a)}),e.config.globalProperties.$i18n=n,vl.forEach(u=>{const i=Object.getOwnPropertyDescriptor(t,u);if(!i||!i.value)throw pe(j.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${u}`,i)}),()=>{delete e.config.globalProperties.$i18n,vl.forEach(u=>{delete e.config.globalProperties[`$${u}`]})}}if(p3(),__INTLIFY_JIT_COMPILATION__?So(sb):So(ob),Yy(Ry),eb(go),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=ut();e.__INTLIFY__=!0,Wy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const z3=(e,t)=>{var a;const n=e.split(".");let r;const u=((a=window.baitedaWorkers)==null?void 0:a.languageMessages)||{};n.forEach((o,s)=>{s===0?r=u[o]:r&&(r=r[o])});let i="";return r&&(i=r),t&&Object.keys(t).forEach(o=>{const s=t[o];i=i.replace(new RegExp(`\\{\\s*${o}\\s*\\}`),s)}),i||(i=e),i};function Q3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Z3(e,t,n){return t&&gl(e.prototype,t),n&&gl(e,n),e}function Y3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=function(){function e(){Q3(this,e)}return Z3(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return(u=z3("engine."+n))!==null&&u!==void 0?u:this.$i18n.global.t(n,r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ha;return V3({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,r){var u=r;r||(u=FE.zhCN),this.$i18n.global.setLocaleMessage(n,u)}}]),e}();Y3($,"$i18n",$.resetI18n());function El(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,a){return"."+a}).split("."),u=!1;return r.reduce(function(i,a,o,s){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,a)){vr("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),i,i);return}return o===s.length-1&&!Object.is(l[a],n)&&(l[a]=n,u=!0),l[a]}},e),u}var eS=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},tS={exports:{}};(function(e){(function(t){var n=function(h,C,m){if(!l(C)||c(C)||f(C)||y(C)||s(C))return C;var v,E=0,b=0;if(d(C))for(v=[],b=C.length;E<b;E++)v.push(n(h,C[E],m));else{v={};for(var I in C)Object.prototype.hasOwnProperty.call(C,I)&&(v[h(I,m)]=n(h,C[I],m))}return v},r=function(h,C){C=C||{};var m=C.separator||"_",v=C.split||/(?=[A-Z])/;return h.split(v).join(m)},u=function(h){return A(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(C,m){return m?m.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var C=u(h);return C.substr(0,1).toUpperCase()+C.substr(1)},a=function(h,C){return r(h,C).toLowerCase()},o=Object.prototype.toString,s=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},d=function(h){return o.call(h)=="[object Array]"},c=function(h){return o.call(h)=="[object Date]"},f=function(h){return o.call(h)=="[object RegExp]"},y=function(h){return o.call(h)=="[object Boolean]"},A=function(h){return h=h-0,h===h},g=function(h,C){var m=C&&"process"in C?C.process:C;return typeof m!="function"?h:function(v,E){return m(v,h,E)}},O={camelize:u,decamelize:a,pascalize:i,depascalize:a,camelizeKeys:function(h,C){return n(g(u,C),h)},decamelizeKeys:function(h,C){return n(g(a,C),h,C)},pascalizeKeys:function(h,C){return n(g(i,C),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(eS)})(tS);var yl={};Object.defineProperty(yl,"__esModule",{value:!0});function $i(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:$i(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:$i(r)}return t}}var nS=yl.default=$i;function bl(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ct(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":bl(e))==="object"?nS(e):e}function Mi(e){return Object.prototype.toString.call(e)==="[object Object]"}function rS(e){return e!=null&&(typeof e=="undefined"?"undefined":bl(e))==="object"&&Array.isArray(e)===!1}function Un(e){return Array.isArray(e)}function xi(e){return typeof e=="string"}function uS(e){return Object.values(P).includes(e)}function Vi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iS(e){if(Array.isArray(e))return Vi(e)}function Sl(e,t,n,r,u,i,a){try{var o=e[i](a),s=o.value}catch(l){n(l);return}o.done?t(s):Promise.resolve(s).then(r,u)}function aS(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function a(s){Sl(i,r,u,a,o,"next",s)}function o(s){Sl(i,r,u,a,o,"throw",s)}a(void 0)})}}function oS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sS(e,t,n){return t&&Cl(e.prototype,t),n&&Cl(e,n),e}function Ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lS(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cS(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ki(e){return iS(e)||lS(e)||fS(e)||cS()}function fS(e,t){if(!!e){if(typeof e=="string")return Vi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vi(e,t)}}function dS(e,t){var n,r,u,i,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(l){return function(d){return s([l,d])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=l[0]&2?r.return:l[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,l[1])).done)return u;switch(r=0,u&&(l=[l[0]&2,u.value]),l[0]){case 0:case 1:u=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){a.label=l[1];break}if(l[0]===6&&a.label<u[1]){a.label=u[1],u=l;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(l);break}u[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(d){l=[6,d],r=0}finally{n=u=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Al=function(){function e(){oS(this,e),Ol(this,"_events",new Map),Ol(this,"debug",!1)}return sS(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];var a=this;return aS(function(){var o,s,l,d,c,f,y,A,g,O,h,C;return dS(this,function(m){switch(m.label){case 0:if(o=a._events.get(n),s=[],!o)return[3,10];l=o.slice(),d=!0,c=!1,f=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),y=l[Symbol.iterator](),m.label=2;case 2:if(d=(A=y.next()).done)return[3,7];if(g=A.value,!o.includes(g))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),a.debug&&eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ki(u))),[4,g.apply(null,ki(u))];case 4:return O=m.sent(),a.debug&&eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ki(u),[O])),s.push(O),O===!1?[3,7]:[3,6];case 5:return h=m.sent(),kE(String(h)+":"+String(h.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=m.sent(),c=!0,f=C,[3,10];case 9:try{!d&&y.return!=null&&y.return()}finally{if(c)throw f}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),i=u==null?void 0:u.indexOf(r);u==null||u.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function pS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Il(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _S(e,t,n){return t&&Il(e.prototype,t),n&&Il(e,n),e}function hS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mS=[{key:"on_click",name:$.getMessage("click"),code:"click"},{key:"on_click_finish",name:$.getMessage("finished"),code:"click-finish"},{key:"on_change",name:$.getMessage("valueChange"),code:"change"},{key:"on_search",name:$.getMessage("search"),code:"search"},{key:"on_list_change",name:$.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:$.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:$.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:$.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:$.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:$.getMessage("onInput"),code:"input"},{key:"on_blur",name:$.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:$.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:$.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:$.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:$.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:$.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:$.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:$.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:$.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:$.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:$.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:$.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:$.getMessage("modalConfirm"),code:"modal-ok"}],Wn=function(){function e(){pS(this,e)}return _S(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],u=n.eventKeys;r=r.concat(e.events.filter(function(a){return u.includes(a.key)}));var i=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return r=r.concat(i),r}}]),e}();hS(Wn,"events",mS);function Ui(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vS(e){if(Array.isArray(e))return Ui(e)}function gS(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ES(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fl(e){return vS(e)||gS(e)||yS(e)||ES()}function yS(e,t){if(!!e){if(typeof e=="string")return Ui(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ui(e,t)}}function Wi(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Dl(e,t,n){n!=="Runtime"&&(e.parent=t,Wi(e,"parent"))}function bS(e,t,n){e.forEach(function(r){Dl(r,t,n)})}var wl=Symbol("targetKey");function Nl(e){var t;return(t=e[wl])!==null&&t!==void 0?t:e}function Bl(e,t,n){return bS(e,t,n),new Proxy(e,{get:function(u,i){for(var a=arguments.length,o=new Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];var l;return i===wl?u:(l=Reflect).get.apply(l,[u,i].concat(Fl(o)))},set:function(u,i,a){for(var o=arguments.length,s=new Array(o>3?o-3:0),l=3;l<o;l++)s[l-3]=arguments[l];var d;if(Un(e)&&i==="length"&&a===e.length)return!0;var c=(d=Reflect).set.apply(d,[u,i,a].concat(Fl(s)));return Mi(a)&&Dl(a,t,n),c}})}function ji(e,t,n,r,u){var i=r!=null?r:e,a=Bl(Nl(n!=null?n:[]),i,u);Object.defineProperty(e,t,{get:function(){return a},set:function(s){a=Bl(Nl(s),i,u)},enumerable:!0})}function SS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CS(e,t,n){return t&&Tl(e.prototype,t),n&&Tl(e,n),e}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rl=[],jn=function(){function e(t){SS(this,e),Ot(this,"registeredControlTypes",new Set),Ot(this,"controlConfigMap",new Map),Ot(this,"_controls",[]),Ot(this,"_type",void 0),this._type=t,this._initControls(t)}return CS(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||On("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(vr("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Ee.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Ee.FORM}},{key:"isListControl",value:function(n){return n.controlType===Ee.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Ee.COLUMN}},{key:"createControl",value:function(n,r){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,r)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(d){return u.createControl(d,r)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof r=="function"){var s=r(o);s&&(o=s)}var l;return a.mode==="Runtime"?(l=o,l.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new a(o),l}else On("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),Wi(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,a=r._controlParentIdMap,o=r.instanceMap;if(!(!a||!o)){var s=a[i],l=o[i];if(!(!s&&!l)){var d=l.findIndex(function(y){return y==n}),c=o[s]||[],f;return c.length!==l.length?f=c[0]:f=c[d],f}}}}),Wi(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n]),e.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var u=e.staticControlsRuntimeRules.get(n),i=[];if(u){var a=new u(r);i=Array.from(a)}return i}},{key:"register",value:function(n,r){var u=n.Designer,i=n.Runtime,a=n.Property;(!u||!i||!u.__is_control__||!i.__is_control__)&&On("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(vr("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=r,this}}]),e}();Ot(jn,"staticControlsRuntimeRules",new Map),Ot(jn,"staticControls",Rl),Ot(jn,"staticRegisteredTypes",new Set(Rl.map(function(e){return e.Designer.controlType}))),Ot(jn,"staticRegisteredConfigs",new Map);function Hi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pl=function e(t){Hi(this,e),Xe(this,"dataCode",void 0),Xe(this,"fieldCode",void 0),Xe(this,"fieldType",void 0),Xe(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},OS=function e(t){Hi(this,e),Xe(this,"minWidth",void 0),Xe(this,"maxWidth",void 0),Xe(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},Ll;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Ll||(Ll={}));var $l;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"})($l||($l={}));var Gi;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Gi||(Gi={}));var AS=function e(t){Hi(this,e),Xe(this,"width",void 0),Xe(this,"height",void 0),Xe(this,"widthConfig",void 0),Xe(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zr(e,t,n){return Ml()?zr=Reflect.construct:zr=function(u,i,a){var o=[null];o.push.apply(o,i);var s=Function.bind.apply(u,o),l=new s;return a&&Gn(l,a.prototype),l},zr.apply(null,arguments)}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(e)}function FS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gn(e,t)}function DS(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wS(e,t){return t&&(NS(t)==="object"||typeof t=="function")?t:IS(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Gn(e,t)}function NS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ki(e){var t=typeof Map=="function"?new Map:void 0;return Ki=function(r){if(r===null||!DS(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return zr(r,arguments,Hn(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Gn(u,r)},Ki(e)}function Ml(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BS(e){var t=Ml();return function(){var r=Hn(e),u;if(t){var i=Hn(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return wS(this,u)}}var Xi=function e(t){qi(this,e),ft(this,"isHide",{type:"boolean"})},xl=function(e){FS(n,e);var t=BS(n);function n(r){return qi(this,n),t.call(this)}return n}(Ki(Array)),dt=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qi(this,e),ft(this,"isHide",void 0),ft(this,"className",void 0),ft(this,"style",void 0),ft(this,"caption",void 0),ft(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new AS(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};ft(dt,"mode",void 0),ft(dt,"Rules",Xi),ft(dt,"RuntimeRules",xl);function et(){return et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},et.apply(this,arguments)}function TS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(e)}function Qr(e,t){return Qr=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Qr(e,t)}function RS(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Zr(e,t,n){return RS()?Zr=Reflect.construct:Zr=function(u,i,a){var o=[null];o.push.apply(o,i);var s=Function.bind.apply(u,o),l=new s;return a&&Qr(l,a.prototype),l},Zr.apply(null,arguments)}function PS(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zi(e){var t=typeof Map=="function"?new Map:void 0;return zi=function(r){if(r===null||!PS(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Zr(r,arguments,Ji(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Qr(u,r)},zi(e)}var LS=/%[sdj%]/g,Vl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Vl=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Qi(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function $e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],i=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(LS,function(o){if(o==="%%")return"%";if(r>=i)return o;switch(o){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return o}});return a}return u}function $S(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function _e(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||$S(t)&&typeof e=="string"&&!e)}function MS(e,t,n){var r=[],u=0,i=e.length;function a(o){r.push.apply(r,o),u++,u===i&&n(r)}e.forEach(function(o){t(o,a)})}function kl(e,t,n){var r=0,u=e.length;function i(a){if(a&&a.length){n(a);return}var o=r;r=r+1,o<u?t(e[o],i):n([])}i([])}function xS(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Ul=function(e){TS(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(zi(Error));function VS(e,t,n,r){if(t.first){var u=new Promise(function(c,f){var y=function(O){return r(O),O.length?f(new Ul(O,Qi(O))):c()},A=xS(e);kl(A,n,y)});return u.catch(function(c){return c}),u}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var a=Object.keys(e),o=a.length,s=0,l=[],d=new Promise(function(c,f){var y=function(g){if(l.push.apply(l,g),s++,s===o)return r(l),l.length?f(new Ul(l,Qi(l))):c()};a.length||(r(l),c()),a.forEach(function(A){var g=e[A];i.indexOf(A)!==-1?kl(g,n,y):MS(g,n,y)})});return d.catch(function(c){return c}),d}function Wl(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function jl(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=et(et({},e[n]),r):e[n]=r}}return e}function Hl(e,t,n,r,u,i){e.required&&(!n.hasOwnProperty(e.field)||_e(t,i||e.type))&&r.push($e(u.messages.required,e.fullField))}function kS(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push($e(u.messages.whitespace,e.fullField))}var Zi={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qn={integer:function(t){return qn.number(t)&&parseInt(t,10)===t},float:function(t){return qn.number(t)&&!qn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!qn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Zi.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Zi.url)},hex:function(t){return typeof t=="string"&&!!t.match(Zi.hex)}};function US(e,t,n,r,u){if(e.required&&t===void 0){Hl(e,t,n,r,u);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;i.indexOf(a)>-1?qn[a](t)||r.push($e(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push($e(u.messages.types[a],e.fullField,e.type))}function WS(e,t,n,r,u){var i=typeof e.len=="number",a=typeof e.min=="number",o=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,d=null,c=typeof t=="number",f=typeof t=="string",y=Array.isArray(t);if(c?d="number":f?d="string":y&&(d="array"),!d)return!1;y&&(l=t.length),f&&(l=t.replace(s,"_").length),i?l!==e.len&&r.push($e(u.messages[d].len,e.fullField,e.len)):a&&!o&&l<e.min?r.push($e(u.messages[d].min,e.fullField,e.min)):o&&!a&&l>e.max?r.push($e(u.messages[d].max,e.fullField,e.max)):a&&o&&(l<e.min||l>e.max)&&r.push($e(u.messages[d].range,e.fullField,e.min,e.max))}var cn="enum";function jS(e,t,n,r,u){e[cn]=Array.isArray(e[cn])?e[cn]:[],e[cn].indexOf(t)===-1&&r.push($e(u.messages[cn],e.fullField,e[cn].join(", ")))}function HS(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push($e(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push($e(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:Hl,whitespace:kS,type:US,range:WS,enum:jS,pattern:HS};function GS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t,"string")&&!e.required)return n();k.required(e,t,r,i,u,"string"),_e(t,"string")||(k.type(e,t,r,i,u),k.range(e,t,r,i,u),k.pattern(e,t,r,i,u),e.whitespace===!0&&k.whitespace(e,t,r,i,u))}n(i)}function qS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&k.type(e,t,r,i,u)}n(i)}function KS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&(k.type(e,t,r,i,u),k.range(e,t,r,i,u))}n(i)}function XS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&k.type(e,t,r,i,u)}n(i)}function JS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),_e(t)||k.type(e,t,r,i,u)}n(i)}function zS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&(k.type(e,t,r,i,u),k.range(e,t,r,i,u))}n(i)}function QS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&(k.type(e,t,r,i,u),k.range(e,t,r,i,u))}n(i)}function ZS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return n();k.required(e,t,r,i,u,"array"),t!=null&&(k.type(e,t,r,i,u),k.range(e,t,r,i,u))}n(i)}function YS(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&k.type(e,t,r,i,u)}n(i)}var eC="enum";function tC(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u),t!==void 0&&k[eC](e,t,r,i,u)}n(i)}function nC(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t,"string")&&!e.required)return n();k.required(e,t,r,i,u),_e(t,"string")||k.pattern(e,t,r,i,u)}n(i)}function rC(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t,"date")&&!e.required)return n();if(k.required(e,t,r,i,u),!_e(t,"date")){var o;t instanceof Date?o=t:o=new Date(t),k.type(e,o,r,i,u),o&&k.range(e,o.getTime(),r,i,u)}}n(i)}function uC(e,t,n,r,u){var i=[],a=Array.isArray(t)?"array":typeof t;k.required(e,t,r,i,u,a),n(i)}function Yi(e,t,n,r,u){var i=e.type,a=[],o=e.required||!e.required&&r.hasOwnProperty(e.field);if(o){if(_e(t,i)&&!e.required)return n();k.required(e,t,r,a,u,i),_e(t,i)||k.type(e,t,r,a,u)}n(a)}function iC(e,t,n,r,u){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,u)}n(i)}var Kn={string:GS,method:qS,number:KS,boolean:XS,regexp:JS,integer:zS,float:QS,array:ZS,object:YS,enum:tC,pattern:nC,date:rC,url:Yi,hex:Yi,email:Yi,required:uC,any:iC};function ea(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ta=ea();function At(e){this.rules=null,this._messages=ta,this.define(e)}At.prototype={messages:function(t){return t&&(this._messages=jl(ea(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,a=n,o=r;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(g){var O,h=[],C={};function m(v){if(Array.isArray(v)){var E;h=(E=h).concat.apply(E,v)}else h.push(v)}for(O=0;O<g.length;O++)m(g[O]);h.length?C=Qi(h):(h=null,C=null),o(h,C)}if(a.messages){var l=this.messages();l===ta&&(l=ea()),jl(l,a.messages),a.messages=l}else a.messages=this.messages();var d,c,f={},y=a.keys||Object.keys(this.rules);y.forEach(function(g){d=u.rules[g],c=i[g],d.forEach(function(O){var h=O;typeof h.transform=="function"&&(i===t&&(i=et({},i)),c=i[g]=h.transform(c)),typeof h=="function"?h={validator:h}:h=et({},h),h.validator=u.getValidationMethod(h),h.field=g,h.fullField=h.fullField||g,h.type=u.getType(h),h.validator&&(f[g]=f[g]||[],f[g].push({rule:h,value:c,source:i,field:g}))})});var A={};return VS(f,a,function(g,O){var h=g.rule,C=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");C=C&&(h.required||!h.required&&g.value),h.field=g.field;function m(b,I){return et(et({},I),{},{fullField:h.fullField+"."+b})}function v(b){b===void 0&&(b=[]);var I=b;if(Array.isArray(I)||(I=[I]),!a.suppressWarning&&I.length&&At.warning("async-validator:",I),I.length&&h.message!==void 0&&(I=[].concat(h.message)),I=I.map(Wl(h)),a.first&&I.length)return A[h.field]=1,O(I);if(!C)O(I);else{if(h.required&&!g.value)return h.message!==void 0?I=[].concat(h.message).map(Wl(h)):a.error&&(I=[a.error(h,$e(a.messages.required,h.field))]),O(I);var D={};if(h.defaultField)for(var N in g.value)g.value.hasOwnProperty(N)&&(D[N]=h.defaultField);D=et(et({},D),g.rule.fields);for(var G in D)if(D.hasOwnProperty(G)){var Fe=Array.isArray(D[G])?D[G]:[D[G]];D[G]=Fe.map(m.bind(null,G))}var V=new At(D);V.messages(a.messages),g.rule.options&&(g.rule.options.messages=a.messages,g.rule.options.error=a.error),V.validate(g.value,g.rule.options||a,function(le){var Ue=[];I&&I.length&&Ue.push.apply(Ue,I),le&&le.length&&Ue.push.apply(Ue,le),O(Ue.length?Ue:null)})}}var E;h.asyncValidator?E=h.asyncValidator(h,g.value,v,g.source,a):h.validator&&(E=h.validator(h,g.value,v,g.source,a),E===!0?v():E===!1?v(h.message||h.field+" fails"):E instanceof Array?v(E):E instanceof Error&&v(E.message)),E&&E.then&&E.then(function(){return v()},function(b){return v(b)})},function(g){s(g)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Kn.hasOwnProperty(t.type))throw new Error($e("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Kn.required:Kn[this.getType(t)]||!1}},At.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Kn[t]=n},At.warning=Vl,At.messages=ta,At.validators=Kn;var aC={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function oC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new At(e);return n.messages(Object.assign(aC,t)),n}var Gl=new Al;function na(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sC(e){if(Array.isArray(e))return e}function lC(e){if(Array.isArray(e))return na(e)}function ql(e,t,n,r,u,i,a){try{var o=e[i](a),s=o.value}catch(l){n(l);return}o.done?t(s):Promise.resolve(s).then(r,u)}function Kl(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function a(s){ql(i,r,u,a,o,"next",s)}function o(s){ql(i,r,u,a,o,"throw",s)}a(void 0)})}}function cC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fC(e,t,n){return t&&Xl(e.prototype,t),n&&Xl(e,n),e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function zl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dC(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ql(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){J(e,u,n[u])})}return e}function _C(e){return sC(e)||zl(e)||Zl(e)||dC()}function ra(e){return lC(e)||zl(e)||Zl(e)||pC()}function hC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zl(e,t){if(!!e){if(typeof e=="string")return na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(e,t)}}function Yl(e,t){var n,r,u,i,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(l){return function(d){return s([l,d])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=l[0]&2?r.return:l[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,l[1])).done)return u;switch(r=0,u&&(l=[l[0]&2,u.value]),l[0]){case 0:case 1:u=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){a.label=l[1];break}if(l[0]===6&&a.label<u[1]){a.label=u[1],u=l;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(l);break}u[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(d){l=[6,d],r=0}finally{n=u=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var be=function(){function t(n){var r=this;cC(this,t),J(this,"id",void 0),J(this,"name",void 0),J(this,"icon",void 0),J(this,"type",void 0),J(this,"controlType",void 0),J(this,"props",void 0),J(this,"setting",[]),J(this,"fieldType",void 0),J(this,"eventKeys",[]),J(this,"customEvents",[]),J(this,"parent",null),J(this,"slots",void 0),J(this,"slotPosition",void 0),J(this,"updateSetting",tc),J(this,"removeSetting",ec),this._callControlHooks("preInstance",n);var u=Jl(this,t)?this.constructor:void 0,i=u.controlName,a=u.controlIcon,o=u.controlType,s=u.controlFieldType,l=u.controlEventKeys,d=u.controlCustomEvents,c=u.name,f=u.setting,y=u.slots,A=u.slotPosition;i&&a&&o||to("The ".concat(c," controlName,controlIcon,controlType is not define"));var g;this.id=(g=n==null?void 0:n.id)!==null&&g!==void 0?g:Au(10),this.name=i,this.icon=a;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:o,this.props=new dt(n==null?void 0:n.props,(Jl(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=ct(f);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:s,this.eventKeys=ct(l),this.customEvents=ct(d),this.slots=ct(y),this.slotPosition=ct(A),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return fC(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),i=0;i<r;i++)u[i]=arguments[i];var a,o=_C(u),s=o[0],l=o.slice(1);return(a=Gl).emit.apply(a,[s,this].concat(ra(l)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),El(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return Kl(function(){var u,i,a;return Yl(this,function(o){switch(o.label){case 0:return u=Ql({},r.rules),[4,r._callControlHooks("preValidate",u)];case 1:return i=o.sent(),a=i[i.length-1],[2,a===!1?void 0:a]}})})()}},{key:"validate",value:function(r,u){var i=this;return Kl(function(){var a,o,s,l;return Yl(this,function(d){switch(d.label){case 0:return[4,i.preValidate()];case 1:a=d.sent(),o=a!==void 0?a:Ql({},i.rules),Array.isArray(u)&&u.forEach(function(c){o.hasOwnProperty(c)&&delete o[c]}),s=oC(o,r),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(i.props)];case 3:return d.sent(),[2,!0];case 4:throw l=d.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,i=this.id,a=this.type,o=this.props,s=o.dataBind,l=o.datasourceBind,d=o.optionConfig,c=o.caption,f=o.required,y=o.maxLength,A=o.options,g=o.encrypted,O=o.encryptedMode;if(!(!u&&!s&&!l)){var h={parentId:r,fieldType:u,controlId:i,caption:c,type:a,props:{}};switch(s&&(h.dataBind=s),d){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=A;break}return f!==void 0&&(h.required=f),y!==void 0&&(h.maxLength=y),g!==void 0&&(h.encrypted=g),O!==void 0&&(h.encryptedMode=O),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ct(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var i;(i=this.setting).push.apply(i,ra(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();J(be,"mode","Designer"),J(be,"slots",void 0),J(be,"slotPosition",void 0),J(be,"controlName","\u63A7\u4EF6"),J(be,"controlIcon","icon"),J(be,"controlType","control"),J(be,"controlFieldType",void 0),J(be,"controlEventKeys",[]),J(be,"controlCustomEvents",[]),J(be,"setting",[]),J(be,"__is_control__",!0),J(be,"removeSettingItem",ec),J(be,"updateSettingItem",tc);function ec(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,i=typeof r!="string",a=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(l){return l.key===(i?r.key:r)});if(a!==-1){var o,s;i?t.setting[a].showItems=(o=t.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(l){return!r.hideItems.includes(l)}):t.setting.splice(a,1),i&&!(!((s=t.setting[a].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(a,1)}})}function tc(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var i=n.setting.find(function(l){return l.key===u});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":hC(t))==="object"){var a,o=(a=t.type)!==null&&a!==void 0?a:"replace";if(o==="replace")i.showItems=t.showItems;else{var s;(s=i.showItems).push.apply(s,ra(t.showItems))}}}})}function mC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vC(e,t,n){return t&&nc(e.prototype,t),n&&nc(e,n),e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Xn=function(){function t(n){mC(this,t),Me(this,"id",void 0),Me(this,"type",void 0),Me(this,"controlType",void 0),Me(this,"props",void 0),Me(this,"fieldType",void 0),Me(this,"customEvents",[]),Me(this,"pageStatus",void 0),Me(this,"parent",null);var r=gC(this,t)?this.constructor:void 0,u=r.controlType,i=r.controlFieldType,a=r.name,o=r.controlCustomEvents;u||to("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:Au(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:u,this.props=new dt(n==null?void 0:n.props),this.customEvents=o;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:i;var f;this.pageStatus=(f=n==null?void 0:n.pageStatus)!==null&&f!==void 0?f:Gi.UNKNOWN}return vC(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();Me(Xn,"mode","Runtime"),Me(Xn,"controlType","control"),Me(Xn,"controlFieldType",void 0),Me(Xn,"__is_control__",!0),Me(Xn,"controlCustomEvents",[]);function rc(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ua(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yr(e)}function ia(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aa(e,t)}function EC(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:he(e)}function aa(e,t){return aa=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},aa(e,t)}function yC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oa(e){var t=bC();return function(){var r=Yr(e),u;if(t){var i=Yr(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return EC(this,u)}}var SC=function(e){ia(n,e);var t=oa(n);function n(r){ua(this,n);var u;u=t.call(this,r),se(he(u),"dataBind",{}),se(he(u),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),se(he(u),"isHideCaption",{type:"boolean"}),se(he(u),"labelPosition",{type:"enum",enum:["top","left"]}),se(he(u),"defaultState",{type:"enum",enum:["default","readonly"]}),se(he(u),"required",{type:"boolean"}),se(he(u),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}};if(rc(r.dataBind))u.dataBind={type:"object",required:!0,fields:ct(i),message:$.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:$.getMessage("pleaseEnterFieldCode")};Object.keys(r.dataBind).forEach(function(o){a.fields[o]={type:"object",required:!0,fields:ct(i),message:$.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return r.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Xi),CC=function(e){ia(n,e);var t=oa(n);function n(r){ua(this,n);var u;u=t.call(this,r);var i=r.isHide?!1:r.required;return i&&u.push({type:"string",required:i,message:r.requiredMessage!==""?r.requiredMessage:$.getMessage("runtimeRequired",{caption:r.caption})}),u}return n}(xl),sa=function(e){ia(n,e);var t=oa(n);function n(r){ua(this,n);var u;u=t.call(this,r),se(he(u),"caption",void 0),se(he(u),"isHideCaption",void 0),se(he(u),"isShowCaptionTip",void 0),se(he(u),"captionTip",void 0),se(he(u),"labelPosition",void 0),se(he(u),"dataBind",void 0),se(he(u),"defaultValue",void 0),se(he(u),"placeholder",void 0),se(he(u),"defaultState",void 0),se(he(u),"required",void 0),se(he(u),"requiredMessage",void 0);var i;u.caption=(i=r==null?void 0:r.caption)!==null&&i!==void 0?i:"";var a;u.isHideCaption=(a=r==null?void 0:r.isHideCaption)!==null&&a!==void 0?a:!1;var o;u.isShowCaptionTip=(o=r==null?void 0:r.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;u.captionTip=(s=r==null?void 0:r.captionTip)!==null&&s!==void 0?s:"";var l;u.defaultState=(l=r==null?void 0:r.defaultState)!==null&&l!==void 0?l:"default";var d;u.labelPosition=(d=r==null?void 0:r.labelPosition)!==null&&d!==void 0?d:"top";var c;u.placeholder=(c=r==null?void 0:r.placeholder)!==null&&c!==void 0?c:"";var f;u.required=(f=r==null?void 0:r.required)!==null&&f!==void 0?f:!1;var y;u.requiredMessage=(y=r==null?void 0:r.requiredMessage)!==null&&y!==void 0?y:"",u.dataBind=new Pl(r==null?void 0:r.dataBind);var A;return u.defaultValue=(A=r==null?void 0:r.defaultValue)!==null&&A!==void 0?A:"",u}return n}(dt);se(sa,"Rules",SC),se(sa,"RuntimeRules",CC);function la(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function AC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ca(e,t)}function IC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:la(e)}function ca(e,t){return ca=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ca(e,t)}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wC(e){var t=DC();return function(){var r=tu(e),u;if(t){var i=tu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return IC(this,u)}}var uc=function(e){AC(n,e);var t=wC(n);function n(r){OC(this,n);var u;return u=t.call(this,r),eu(la(u),"controlType","form"),eu(la(u),"props",void 0),u.props=new sa(r==null?void 0:r.props),u}return n}(be);eu(uc,"controlEventKeys",["on_change","on_focus","on_blur"]),eu(uc,"controlCustomAttributes",void 0);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fa(e,t)}function RC(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:NC(e)}function fa(e,t){return fa=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},fa(e,t)}function PC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $C(e){var t=LC();return function(){var r=nu(e),u;if(t){var i=nu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return RC(this,u)}}var MC=function(e){TC(n,e);var t=$C(n);function n(r){return BC(this,n),t.call(this,r)}return n}(dt);function da(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xC(e){if(Array.isArray(e))return da(e)}function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ic(e,t,n,r,u,i,a){try{var o=e[i](a),s=o.value}catch(l){n(l);return}o.done?t(s):Promise.resolve(s).then(r,u)}function VC(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function a(s){ic(i,r,u,a,o,"next",s)}function o(s){ic(i,r,u,a,o,"throw",s)}a(void 0)})}}function kC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ac(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UC(e,t,n){return t&&ac(e.prototype,t),n&&ac(e,n),e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?fn=Reflect.get:fn=function(u,i,a){var o=zC(u,i);if(!!o){var s=Object.getOwnPropertyDescriptor(o,i);return s.get?s.get.call(a||u):s.value}},fn(e,t,n||e)}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ft(e)}function WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pa(e,t)}function jC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function HC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function GC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){It(e,u,n[u])})}return e}function KC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function XC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):KC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function JC(e,t){return t&&(QC(t)==="object"||typeof t=="function")?t:Ut(e)}function pa(e,t){return pa=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},pa(e,t)}function zC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ft(e),e!==null););return e}function oc(e){return xC(e)||HC(e)||ZC(e)||GC()}function QC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZC(e,t){if(!!e){if(typeof e=="string")return da(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return da(e,t)}}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e6(e){var t=YC();return function(){var r=Ft(e),u;if(t){var i=Ft(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return JC(this,u)}}function t6(e,t){var n,r,u,i,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(l){return function(d){return s([l,d])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=l[0]&2?r.return:l[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,l[1])).done)return u;switch(r=0,u&&(l=[l[0]&2,u.value]),l[0]){case 0:case 1:u=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){a.label=l[1];break}if(l[0]===6&&a.label<u[1]){a.label=u[1],u=l;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(l);break}u[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(d){l=[6,d],r=0}finally{n=u=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var n6=1e4,sc=function(t){WC(r,t);var n=e6(r);function r(u){kC(this,r);var i;i=n.call(this,u),It(Ut(i),"controlType","layout"),It(Ut(i),"children",void 0),It(Ut(i),"excludes",void 0),It(Ut(i),"childrenMaxLength",void 0),It(Ut(i),"props",void 0);var a=jC(this,r)?this.constructor:void 0,o=a.excludes,s=a.childrenMaxLength;return i.props=new MC(u==null?void 0:u.props),ji(Ut(i),"children",u==null?void 0:u.children,void 0,"Designer"),i.excludes=ct(o),i.childrenMaxLength=s,i}return UC(r,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var a=this.judgeExcludesChildren(i);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,a){var o=this,s=this,l=function(){return fn(Ft(r.prototype),"validate",o)};return VC(function(){return t6(this,function(d){switch(d.label){case 0:return[4,l().call(s,i,a)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(c){return c.validate(i,a)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=fn(Ft(r.prototype),"toDataBindModel",this).call(this),o=a?[a]:[];return this.children.reduce(function(s,l){var d=l.toDataBindModel(i);if(Array.isArray(d)){var c=d.filter(function(f){return!!f});return oc(s).concat(oc(c))}return d&&s.push(d),s},o)}},{key:"toSchema",value:function(){var i=fn(Ft(r.prototype),"toSchema",this).call(this),a=this.children.map(function(o){var s=o.toSchema();return s});return XC(qC({},i),{children:a})}}]),r}(be);It(sc,"excludes",!1),It(sc,"childrenMaxLength",n6);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(e)}function u6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_a(e,t)}function i6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:pt(e)}function _a(e,t){return _a=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},_a(e,t)}function a6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s6(e){var t=o6();return function(){var r=ru(e),u;if(t){var i=ru(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return i6(this,u)}}var l6=function(e){u6(n,e);var t=s6(n);function n(r,u,i){r6(this,n);var a;a=t.call(this,u),dn(pt(a),"headers",void 0),dn(pt(a),"footers",void 0),dn(pt(a),"pageIndex",void 0),dn(pt(a),"pageSize",void 0),dn(pt(a),"pageSizeOptions",void 0),dn(pt(a),"totalCount",void 0),ji(pt(a),"headers",u==null?void 0:u.headers,r,i),ji(pt(a),"footers",u==null?void 0:u.footers,r);var o;a.pageIndex=(o=u==null?void 0:u.pageIndex)!==null&&o!==void 0?o:1;var s;a.pageSize=(s=u==null?void 0:u.pageSize)!==null&&s!==void 0?s:20;var l;a.pageSizeOptions=(l=u==null?void 0:u.pageSizeOptions)!==null&&l!==void 0?l:[20];var d;return a.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,a}return n}(dt);function ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c6(e){if(Array.isArray(e))return ha(e)}function uu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lc(e,t,n,r,u,i,a){try{var o=e[i](a),s=o.value}catch(l){n(l);return}o.done?t(s):Promise.resolve(s).then(r,u)}function f6(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function a(s){lc(i,r,u,a,o,"next",s)}function o(s){lc(i,r,u,a,o,"throw",s)}a(void 0)})}}function d6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p6(e,t,n){return t&&cc(e.prototype,t),n&&cc(e,n),e}function iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pn(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pn=Reflect.get:pn=function(u,i,a){var o=E6(u,i);if(!!o){var s=Object.getOwnPropertyDescriptor(o,i);return s.get?s.get.call(a||u):s.value}},pn(e,t,n||e)}function Dt(e){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(e)}function _6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ma(e,t)}function h6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function m6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function fc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){iu(e,u,n[u])})}return e}function v6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function dc(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function g6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:uu(e)}function ma(e,t){return ma=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ma(e,t)}function E6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dt(e),e!==null););return e}function pc(e){return c6(e)||h6(e)||b6(e)||m6()}function y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b6(e,t){if(!!e){if(typeof e=="string")return ha(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ha(e,t)}}function S6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=S6();return function(){var r=Dt(e),u;if(t){var i=Dt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return g6(this,u)}}function O6(e,t){var n,r,u,i,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(l){return function(d){return s([l,d])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(u=l[0]&2?r.return:l[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,l[1])).done)return u;switch(r=0,u&&(l=[l[0]&2,u.value]),l[0]){case 0:case 1:u=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){a.label=l[1];break}if(l[0]===6&&a.label<u[1]){a.label=u[1],u=l;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(l);break}u[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(d){l=[6,d],r=0}finally{n=u=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var A6=function(e){_6(n,e);var t=C6(n);function n(r){d6(this,n);var u;return u=t.call(this,r),iu(uu(u),"controlType","list"),iu(uu(u),"props",void 0),u.props=new l6(uu(u),r==null?void 0:r.props,"Designer"),u}return p6(n,[{key:"validate",value:function(u,i){var a=this,o=this,s=function(){return pn(Dt(n.prototype),"validate",a)};return f6(function(){return O6(this,function(l){switch(l.label){case 0:return[4,s().call(o,u)];case 1:return l.sent(),[4,Promise.all(o.props.headers.map(function(d){return d.validate(u,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=pn(Dt(n.prototype),"toDataBindModel",this).call(this),i=u?[u]:[],a=this.id;return this.props.headers.reduce(function(o,s){var l=s.toDataBindModel(a);if(Array.isArray(l)){var d=l.filter(function(c){return!!c});return pc(o).concat(pc(d))}return l&&o.push(l),o},i)}},{key:"toSchema",value:function(){var u=pn(Dt(n.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(a){return a.toSchema()});return dc(fc({},u),{props:dc(fc({},this.props),{headers:i})})}}]),n}(be);iu(A6,"controlFieldType",Je.LIST);function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function hc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&va(e,t)}function I6(e,t){return t&&(F6(t)==="object"||typeof t=="function")?t:Be(e)}function va(e,t){return va=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},va(e,t)}function F6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mc(e){var t=D6();return function(){var r=au(e),u;if(t){var i=au(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return I6(this,u)}}var w6=function(e){hc(n,e);var t=mc(n);function n(r){_c(this,n);var u;return u=t.call(this,r),Te(Be(u),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Te(Be(u),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),u.width.required=r.widthType==="px",u}return n}(Xi),N6=function(e){hc(n,e);var t=mc(n);function n(r){_c(this,n);var u;u=t.call(this,r),Te(Be(u),"widthType",void 0),Te(Be(u),"width",void 0),Te(Be(u),"caption",void 0),Te(Be(u),"dataBind",void 0),Te(Be(u),"autoWidth",void 0),Te(Be(u),"fixed",void 0),Te(Be(u),"sort",void 0),Te(Be(u),"align",void 0),Te(Be(u),"colSpan",void 0),Te(Be(u),"autoHeight",void 0),Te(Be(u),"children",void 0);var i;u.width=(i=r==null?void 0:r.width)!==null&&i!==void 0?i:150,u.widthType=(r==null?void 0:r.widthType)||"auto";var a;u.caption=(a=r==null?void 0:r.caption)!==null&&a!==void 0?a:"";var o;u.fixed=(o=r==null?void 0:r.fixed)!==null&&o!==void 0?o:"none",u.autoWidth=new OS(r==null?void 0:r.autoWidth),u.dataBind=new Pl(r==null?void 0:r.dataBind);var s;u.sort=(s=r==null?void 0:r.sort)!==null&&s!==void 0?s:!0,u.align=r==null?void 0:r.align,u.colSpan=r==null?void 0:r.colSpan;var l;return u.autoHeight=(l=r==null?void 0:r.autoHeight)!==null&&l!==void 0?l:!1,u}return n}(dt);Te(N6,"Rules",w6);function ga(e){return"children"in e&&Un(e.children)}function vc(e){return"headers"in e.props&&Un(e.props.headers)}function ou(e,t){Array.isArray(e)&&e.map(n=>{n.type===P.SUBTABLE?ou(n.props.headers,t):ga(n)?ou(n==null?void 0:n.children,t):n.controlType===Ee.FORM&&t(n)})}const B6=[P.AMOUNT,P.CALC,P.DATE_RANGE];$.getMessage("amount"),Je.DECIMAL,$.getMessage("currency"),Je.VARCHAR,$.getMessage("result"),Je.DECIMAL,$.getMessage("unit"),Je.VARCHAR,$.getMessage("startTime"),Je.TIMESTAMP,$.getMessage("endTime"),Je.TIMESTAMP;function T6(e){let t=[];return ou(e,n=>{n.controlType===Ee.FORM?t.push(n):(n.type,P.SUBTABLE)}),t}function R6(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===P.TITLE)return n;if(B6.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(u=>{const i=r[u],a=n.controlId+"_"+u;i.fieldCode=gc(a),i.dataCode=t})}else n.dataBind.fieldCode=gc(n.controlId),n.dataBind.dataCode=t;return n})}function gc(e){const t="field_";return e.startsWith(t)?e:t+e}function Ea(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function ya(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function ba(e,t,n){return qt(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(u=>u.validate(t,n)))).every(u=>u):yield e.validate(t,n)})}const P6=[P.TITLE,P.GRID_TABLE_COLUMN,P.SUBTABLE_COLUMN,P.OPERATION_COLUMN,P.DATA_VIEW,P.LIST_VIEW,P.HEADER,P.FOOTER,P.SIMPLE_SEARCH,P.ROW,P.GRID_ROW,P.COL,P.GRID,P.DIVIDER,P.TAB_PANE,P.TAB,P.CARD_GROUP,P.ACTION_BAR,P.GRID_LAYOUT_CONTAINER,P.GRID_LAYOUT_WRAP],L6=[P.CALC],$6={check:{id:"listPageCheckBtnId",caption:$.getMessage("view")},edit:{id:"listPageEditBtnId",caption:$.getMessage("edit")},delete:{id:"listPageDeleteBtnId",caption:$.getMessage("delete")}};function Jn(e,t){var r,u,i,a,o,s,l,d,c;const n=[];if(Un(e))n.push(...e.map(f=>Jn(f,t)).flat());else{const f=e.type,{caption:y,content:A}=e.props;let g;if(P6.includes(f))f===P.OPERATION_COLUMN&&Object.entries($6).reduce((O,[h,{caption:C,id:m}])=>{var E;const v=e.props[h];return v&&v.isShow&&O.push({controlId:m,caption:C,type:e.type,controlType:e.controlType,parentId:(E=t==null?void 0:t.controlId)!=null?E:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),O},n);else if(g={controlId:e.id,caption:y||A||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!L6.includes(f),canRead:!0,canHide:!0,group:"element"},t&&t.type===P.SUBTABLE&&(g.caption=t.caption+"_"+g.caption),f===P.VUE_FORM_ITEM&&(g.caption=e.props.controlExportName||e.name),(e.controlType===Ee.FORM||e.controlType===Ee.COLUMN)&&((i=(u=e.props)==null?void 0:u.dataBind)==null?void 0:i.fieldCode)!==void 0&&((o=(a=e.props)==null?void 0:a.dataBind)==null?void 0:o.fieldCode)!==""&&(g.group="field"),n.push(g),f===P.VUE_FORM_ITEM){let O="element";((l=(s=e.props)==null?void 0:s.dataBind)==null?void 0:l.fieldCode)!==void 0&&((c=(d=e.props)==null?void 0:d.dataBind)==null?void 0:c.fieldCode)!==""&&(O="field");const h=e.props.permissions;h==null||h.map(C=>{var m;g={controlId:C.key,caption:C.caption,type:e.type,controlType:e.controlType,parentId:(m=e.id)!=null?m:null,canEdit:!0,canRead:!0,canHide:!0,group:O},n.push(g)})}e.children&&n.push(...e.children.map(O=>Jn(O,t)).flat()),e.controlType===Ee.LIST&&n.push(...e.props.headers.map(O=>Jn(O,g)).flat())}return n}class _n extends jn{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new Wn,this.fieldTypes=Je,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(u){throw u}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return qt(this,null,function*(){return ba(...t)})}getModelBindInfoList(...t){return ya(...t)}getSchema(...t){return Ea(...t)}listenControlHook(...t){return Gl.on(...t)}}_n.EventLogic=Wn;class M6{constructor(){this.designer=new _n}ListPageBuilder(){const t=this.designer.createControlInstance(P.LIST_VIEW),n=this.designer.createControlInstance(P.SIMPLE_SEARCH),r=this.designer.createControlInstance(P.GRID_TABLE),u=this.designer.createControlInstance(P.CREATE_FORM_LIST_BUTTON),i=this.designer.createControlInstance(P.IMPORT_RECORD_LIST_BUTTON),a=this.designer.createControlInstance(P.EXPORT_LIST_BUTTON),o=this.designer.createControlInstance(P.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(i),r.children.push(a),r.children.push(o),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(P.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(P.SIMPLE_SEARCH),r=this.designer.createControlInstance(P.GRID_TABLE),u=this.designer.createControlInstance(P.EXPORT_LIST_BUTTON),i=this.designer.createControlInstance(P.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(i),t.children.push(n),t.children.push(r),t.props.rowStyle={type:"rules",interval:{color:""},rules:[{id:"default",name:$.getMessage("approvedDocuments"),color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:$.getMessage("processStatus")},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}],settings:[{color:"theme",field_codes:["process_status"],type:"fontColor",scope:"col"}],script:"(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"}]},t}FormPageBuilder(){const t=this.designer.createControlInstance(P.DATA_VIEW),n=this.designer.createControlInstance(P.TITLE),r=this.designer.createControlInstance(P.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(P.GRID),n=this.designer.createControlInstance(P.VUE_PAGE);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class Ec{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?Qn(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?Sc(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=Qn(t)}updateDataFieldCodeMap(t){const n=Qn(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[u,i]of r.entries())if(i.id===t.id){r.delete(u);break}bc(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;zn(this.instance,u=>{t.push(u),n.set(u.id,u),bc(u,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function yc(e,t,n){const{dataCode:r,fieldCode:u}=t;r&&u&&(e.has(r)||e.set(r,new Map),e.get(r).set(u,n))}function bc(e,t){if(e.controlType===Ee.FORM){const n=e.props.dataBind;rc(n)?yc(t,n,e):Object.values(n).forEach(r=>{yc(t,r,e)})}}function zn(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{t(r),ga(r)&&zn(r.children,t),vc(r)&&zn(r.props.headers,t)})}function Sa(e){return[P.SUBTABLE,P.DATA_VIEW,P.LIST_VIEW].includes(e.type)}function Qn(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!Sa(t);)t=t.parent;return t}function Sc(e){const t=[e];return zn(e,n=>{n!==e&&t.includes(n.parent)&&!Sa(n)&&t.push(n)}),t}function x6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V6(e,t,n){return t&&Cc(e.prototype,t),n&&Cc(e,n),e}function Ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _t=function(){function e(t){x6(this,e),Ca(this,"visible",void 0),Ca(this,"expression",void 0),Ca(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var u;this.updateParent=(u=t==null?void 0:t.updateParent)!==null&&u!==void 0?u:!1}return V6(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function k6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U6(e,t,n){return t&&Oc(e.prototype,t),n&&Oc(e,n),e}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W6=function(){function e(t){k6(this,e),tt(this,"type",void 0),tt(this,"label",void 0),tt(this,"key",void 0),tt(this,"component",void 0),tt(this,"effect",void 0),tt(this,"scopeEffect",void 0),tt(this,"defaultValue",void 0),tt(this,"validator",void 0),tt(this,"props",void 0),tt(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:DE,this.defaultValue=t.defaultValue,this.validator=t.validator;var u;this.props=(u=t.props)!==null&&u!==void 0?u:new _t,this.effectKeys=Object.keys(this.effect)}return U6(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(u){var i=new RegExp("^".concat(u,"(\\.\\w+)*$"));return i.test(n)}).map(function(u){return r.effect[u]})}},{key:"callEffectFn",value:function(n,r){try{var u=n.apply(null,r);Mi(u)&&Object.assign(this.props,u)}catch(i){On(`effect error
44
- `.concat(i))}}},{key:"callEffect",value:function(n){for(var r=this,u=arguments.length,i=new Array(u>1?u-1:0),a=1;a<u;a++)i[a-1]=arguments[a];this.filterEffects(n).forEach(function(o){return r.callEffectFn(o,i)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];this.callEffectFn(this.scopeEffect,r)}}]),e}();function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ac=function e(t){j6(this,e),Wt(this,"type","group"),Wt(this,"title",void 0),Wt(this,"required",void 0),Wt(this,"items",void 0),Wt(this,"tips",void 0),Wt(this,"fromId",void 0),Wt(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(u){var i;return(i=u.props)===null||i===void 0?void 0:i.visible})};function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G6(e){return"type"in e&&e.type==="tab"}var Zn=function e(t){H6(this,e),Oa(this,"type","tab"),Oa(this,"title",void 0),Oa(this,"items",void 0),this.title=t.title,this.items=t.items};function Ic(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function q6(e){if(Array.isArray(e))return e}function K6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(e)}function J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Aa(e,t)}function z6(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],u=!0,i=!1,a,o;try{for(n=n.call(e);!(u=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));u=!0);}catch(s){i=!0,o=s}finally{try{!u&&n.return!=null&&n.return()}finally{if(i)throw o}}return r}}function Q6(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Z6(e,t){return t&&(eO(t)==="object"||typeof t=="function")?t:K6(e)}function Aa(e,t){return Aa=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Aa(e,t)}function Y6(e,t){return q6(e)||z6(e,t)||tO(e,t)||Q6()}function eO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tO(e,t){if(!!e){if(typeof e=="string")return Ic(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ic(e,t)}}function nO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rO(e){var t=nO();return function(){var r=su(e),u;if(t){var i=su(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return Z6(this,u)}}var uO=function(e){J6(n,e);var t=rO(n);function n(r){X6(this,n);var u;return u=t.call(this,r),Mi(r)&&Object.entries(r).forEach(function(i){var a=Y6(i,2),o=a[0],s=a[1];u[o]=s}),u}return n}(_t);function Yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(e)}function aO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ia(e,t)}function oO(e,t){return t&&(sO(t)==="object"||typeof t=="function")?t:Yn(e)}function Ia(e,t){return Ia=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ia(e,t)}function sO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cO(e){var t=lO();return function(){var r=cu(e),u;if(t){var i=cu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return oO(this,u)}}var fO=function(e){aO(n,e);var t=cO(n);function n(r){iO(this,n);var u;u=t.call(this,r),lu(Yn(u),"maxLength",void 0),lu(Yn(u),"minLength",void 0),lu(Yn(u),"placeholder",void 0),lu(Yn(u),"i18n",void 0);var i;u.maxLength=(i=r==null?void 0:r.maxLength)!==null&&i!==void 0?i:"";var a;u.minLength=(a=r==null?void 0:r.minLength)!==null&&a!==void 0?a:"";var o;u.placeholder=(o=r==null?void 0:r.placeholder)!==null&&o!==void 0?o:"";var s;return u.i18n=(s=r==null?void 0:r.i18n)!==null&&s!==void 0?s:!1,u}return n}(_t);function fu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(e)}function pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Da(e,t)}function _O(e,t){return t&&(hO(t)==="object"||typeof t=="function")?t:fu(e)}function Da(e,t){return Da=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Da(e,t)}function hO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vO(e){var t=mO();return function(){var r=du(e),u;if(t){var i=du(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return _O(this,u)}}var gO=function(e){pO(n,e);var t=vO(n);function n(r){dO(this,n);var u;u=t.call(this,r),Fa(fu(u),"max",void 0),Fa(fu(u),"min",void 0),Fa(fu(u),"placeholder",void 0);var i;u.max=(i=r==null?void 0:r.max)!==null&&i!==void 0?i:"";var a;u.min=(a=r==null?void 0:r.min)!==null&&a!==void 0?a:"";var o;return u.placeholder=(o=r==null?void 0:r.placeholder)!==null&&o!==void 0?o:"",u}return n}(_t);function pu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(e)}function yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Na(e,t)}function bO(e,t){return t&&(SO(t)==="object"||typeof t=="function")?t:pu(e)}function Na(e,t){return Na=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Na(e,t)}function SO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OO(e){var t=CO();return function(){var r=_u(e),u;if(t){var i=_u(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return bO(this,u)}}var AO=function(e){yO(n,e);var t=OO(n);function n(r){EO(this,n);var u;u=t.call(this,r),wa(pu(u),"showType",void 0),wa(pu(u),"tips",void 0),wa(pu(u),"disabled",void 0);var i;u.showType=(i=r==null?void 0:r.showType)!==null&&i!==void 0?i:"switch";var a;u.tips=(a=r==null?void 0:r.tips)!==null&&a!==void 0?a:"";var o;return u.disabled=(o=r==null?void 0:r.disabled)!==null&&o!==void 0?o:!1,u}return n}(_t);function Fc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(e)}function DO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}function wO(e,t){return t&&(NO(t)==="object"||typeof t=="function")?t:Fc(e)}function Ba(e,t){return Ba=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ba(e,t)}function NO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TO(e){var t=BO();return function(){var r=hu(e),u;if(t){var i=hu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return wO(this,u)}}var RO=function(e){DO(n,e);var t=TO(n);function n(r){IO(this,n);var u;u=t.call(this,r),FO(Fc(u),"options",void 0);var i;return u.options=(i=r==null?void 0:r.options)!==null&&i!==void 0?i:[],u}return n}(_t);function Ta(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function LO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ra(e,t)}function $O(e,t){return t&&(MO(t)==="object"||typeof t=="function")?t:Ta(e)}function Ra(e,t){return Ra=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ra(e,t)}function MO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VO(e){var t=xO();return function(){var r=mu(e),u;if(t){var i=mu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return $O(this,u)}}var kO=function(e){LO(n,e);var t=VO(n);function n(r){PO(this,n);var u;u=t.call(this,r),Dc(Ta(u),"placeholder",void 0),Dc(Ta(u),"options",void 0);var i;u.placeholder=(i=r==null?void 0:r.placeholder)!==null&&i!==void 0?i:"";var a;return u.options=(a=r==null?void 0:r.options)!==null&&a!==void 0?a:[],u}return n}(_t);function Pa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(e)}function WO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&La(e,t)}function jO(e,t){return t&&(HO(t)==="object"||typeof t=="function")?t:Pa(e)}function La(e,t){return La=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},La(e,t)}function HO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qO(e){var t=GO();return function(){var r=vu(e),u;if(t){var i=vu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return jO(this,u)}}var KO=function(e){WO(n,e);var t=qO(n);function n(r){UO(this,n);var u;u=t.call(this,r),wc(Pa(u),"options",void 0),wc(Pa(u),"showType",void 0);var i;u.options=(i=r==null?void 0:r.options)!==null&&i!==void 0?i:[];var a;return u.showType=(a=r==null?void 0:r.showType)!==null&&a!==void 0?a:"outline",u}return n}(_t);function jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$a(e,t)}function zO(e,t){return t&&(QO(t)==="object"||typeof t=="function")?t:jt(e)}function $a(e,t){return $a=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$a(e,t)}function QO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZO(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YO(e){var t=ZO();return function(){var r=gu(e),u;if(t){var i=gu(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return zO(this,u)}}var eA=function(e){JO(n,e);var t=YO(n);function n(r){XO(this,n);var u;u=t.call(this,r),hn(jt(u),"maxLength",void 0),hn(jt(u),"minLength",void 0),hn(jt(u),"placeholder",void 0),hn(jt(u),"i18n",void 0),hn(jt(u),"maxRows",void 0),hn(jt(u),"minRows",void 0);var i;u.maxLength=(i=r==null?void 0:r.maxLength)!==null&&i!==void 0?i:"";var a;u.minLength=(a=r==null?void 0:r.minLength)!==null&&a!==void 0?a:"";var o;u.placeholder=(o=r==null?void 0:r.placeholder)!==null&&o!==void 0?o:"";var s;u.maxRows=(s=r==null?void 0:r.maxRows)!==null&&s!==void 0?s:"";var l;u.minRows=(l=r==null?void 0:r.minRows)!==null&&l!==void 0?l:"";var d;return u.i18n=(d=r==null?void 0:r.i18n)!==null&&d!==void 0?d:!1,u}return n}(_t);function tA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){tA(e,u,n[u])})}return e}function nA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function xa(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nA(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function rA(e,t){switch(e){case"input":return new fO(t);case"textarea":return new eA(t);case"input-number":return new gO(t);case"switch":return new AO(t);case"radio":return new KO(t);case"checkbox":return new RO(t);case"select":return new kO(t);default:return new uO(t)}}function uA(e){return function(t){var n=e.get(t);if(!!n)return new W6(xa(Ma({},n),{props:rA(n.component,"props"in n?n.props:void 0)}))}}function iA(e){var t=e.fields.reduce(function(u,i){return u.set(i.key,i),u},new Map);function n(u){return new Ac(xa(Ma({},u),{items:u.items.map(uA(t)).filter(Boolean)}))}function r(u){return u.map(n)}return e.groups.map(function(u){return G6(u)?new Zn(xa(Ma({},u),{items:r(u.items)})):n(u)})}let Va="";class Nc extends Al{constructor(t){super(),this.isMounted=!1,this.id=Au(8),this.__pluginsApplied=!1,this.getSchema=Ea,this.getModelBindInfoList=ya,this.generatePermissions=Jn,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=_n,schema:u,mode:i="form",store:a={},messagesI18n:o,language:s=Ha}=this.$options;$.setLocale(s,o),this.eventLogic=new Wn,this.designer=new r,this.store=new Ec(Nt({instance:this.designer.createControl(Array.isArray(u)?u:[u])},a)),this.mode=i,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{Va=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),Va=""}catch(r){On(`${Va||t.constructor.name} Plugin apply Error
45
- ${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var u,i;const t=this.store.selected;if(!t)return;let n=this.getControlSetting(t.type);if(((u=t.parent)==null?void 0:u.controlType)===Ee.WRAP){const a=this.getControlSetting((i=t.parent)==null?void 0:i.type);n=this.concatSetting(n,a,t.parent.id)}this.store.setSelectInstanceSettings(n),this.callSelectedEffect("");const r={from:null,current:this.store.selectedInstanceDataScopeParent,oldParent:null,newParent:t.parent};this.callSelectedScopeEffect(r)}concatSetting(t,n,r){var i,a,o,s,l,d,c,f;let u=t;if(((i=t[0])==null?void 0:i.type)==="tab"&&((a=n[0])==null?void 0:a.type)==="tab"){const y=t,A=n.slice(0);u=y.map((g,O)=>{const h=new Zn(g),C=A.findIndex(v=>v.title===g.title);if(C===-1)return h;const m=A.splice(C,1)[0];return m&&(h.items=[...this.formatGroupSetting(m.items,r),...h.items]),h}),A.length&&(u=[...u,...A.map(g=>this.formatGroupSetting(g,r))])}else if(((o=t[0])==null?void 0:o.type)==="group"&&((s=n[0])==null?void 0:s.type)==="group"){const y=t,A=n;u=[...this.formatGroupSetting(A,r),...y]}else if(((l=t[0])==null?void 0:l.type)==="tab"&&((d=n[0])==null?void 0:d.type)==="group"){const y=t,A=n;u=y.map((g,O)=>{const h=new Zn(g);return O===0&&(h.items=[...this.formatGroupSetting(A,r),...h.items]),h})}else if(((c=t[0])==null?void 0:c.type)==="group"&&((f=n[0])==null?void 0:f.type)==="tab"){const y=t;u=n.map((g,O)=>{const h=new Zn(g);return O===0&&(h.items=[...h.items,...this.formatGroupSetting(y,r)]),h})}return u}formatGroupSetting(t,n){if(Un(t))return t.map(r=>{const u=new Ac(r);return u.fromId=n,u});{const r=new Zn(t);return r.items=this.formatGroupSetting(r.items,n),r}}setControlConfig(...t){return this.designer.registerControlConfig(...t)}getControlConfig(t){return this.designer.getControlConfig(t)}getControlSetting(t){const n=this.designer.getControlSetting(t);return n?iA(n):[]}selectInstance(t){this.beforeSelectInstance(),this.store.setSelectInstance(t),this.afterSelectInstance()}setSelectedFieldItem(t){this.store.setSelectedFieldItem(t),this.callSelectedEffect("dataBind",{fieldItem:t})}moveStart(t){const n=this.getInstance(t);n&&this.store.setMovingInstance(n)}moveEnd(t=this.store.movingInstance){var s;if(t===null)return;const n=this.getInstance(t);if(!n)return;const r=this.store.movingInstanceOldDataScopeParent,u=Qn(n),i=this.store.movingInstanceOldParent,a=n.parent;this.store.setMovingInstance(null),n.id!==((s=this.store.selected)==null?void 0:s.id)?this.selectInstance(n):this.store.setSelectInstance(n),this.store.getFlatInstances();const o={from:r,current:u,oldParent:i,newParent:a};this.callSelectedScopeEffect(o),i?this.emit("moved",Nt({},o)):this.emit("joined",Nt({},o))}createInstance(t,n){return this.designer.createControlInstance(t,n)}getInstance(t){return typeof t=="string"?this.store.instanceIdMap.get(t):t}getInstances(){return this.store.flatInstances}getInstancesFromType(t){return this.getInstances().filter(n=>n.type===t)}getDataScopeInstances(){return this.store.selectedDataScopeFlatInstances}getDataScopeInstancesFromType(t){return this.getDataScopeInstances().filter(n=>n.type===t)}updateInstancePropValue(t,n,r,u){var a;!El(t.props,n,r)||(n.startsWith("dataBind")&&this.store.updateDataFieldCodeMap(t),t.id===((a=this.store.selected)==null?void 0:a.id)&&this.callSelectedEffect(n,u),this.emit("updated",{instance:t,propName:n,value:r}))}updateInstanceProps(t,n,r,u=""){Object.entries(n).forEach(([i,a])=>{const o=`${u?u+".":""}${i}`;rS(a)?this.updateInstanceProps(t,a,r,o):this.updateInstancePropValue(t,o,a,r)})}setInstance(t,n,r,u){xi(n)?this.updateInstancePropValue(t,String(n),r,u):this.updateInstanceProps(t,n,r)}removeInstance(t){const n=t.parent;if(!n)return;const r=n.controlType===Ee.LIST&&n.props.headers.includes(t)?n.props.headers:n.children,u=r.findIndex(i=>i===t);u>-1&&r.splice(u,1),this.store.getFlatInstances(),this.emit("removed",{instance:t,index:u,parent:n})}replaceInstance(t,n){const r=t.parent;if(!r)return;const u=r.controlType===Ee.LIST&&r.props.headers.includes(t)?r.props.headers:r.children,i=u.findIndex(a=>a===t);i>-1&&u.splice(i,1,n),this.store.getFlatInstances()}updateInstanceType(t,n){const r=t.toSchema(),u=this.createInstance(n,{id:r.id,props:r.props});if(!u){vr(`can\u2018t update instance type to ${n}`);return}return u}validate(t,n){return ba(this.store.instance,t,n)}getCustomControlsInUse(){return this.getInstances().filter(this.assertInstanceIsCustomControl).reduce((t,n)=>(t.includes(n.type)||t.push(n.type),t),[])}assertInstanceIsCustomControl(t){return!uS(xi(t)?t:t.type)}static register(...t){return _n.register(...t),this}static judgeControlIsRegistered(t){return _n.staticRegisteredTypes.has(t.Designer.controlType)}judgeControlIsRegistered(t){return this.designer.registeredControlTypes.has(t.Designer.controlType)}register(...t){return this.designer.registerControl(t[0]),this}assertInstance(t,n){return xi(n)?t.type===n:n.includes(t.type)}getInstanceInListControl(t){let n=t;for(;n;){if(n.controlType===Ee.LIST)return!0;n=n.parent}return!1}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}callSelectedEffect(t,n={}){this.store.selectedInstanceSettingItems.forEach(r=>{r.callEffect(t,this,Nt({control:this.store.selected},n))})}callSelectedScopeEffect(t={}){this.store.selectedInstanceSettingItems.forEach(n=>{n.callScopeEffect(this,Nt({control:this.store.selected},t))})}}Nc.EventLogic=Wn,W.Builder=M6,W.Designer=_n,W.Driven=Nc,W.Store=Ec,W.checkSchema=ba,W.fillModelBindInfoListFieldCode=R6,W.findInstanceDataScopeParent=Qn,W.generatePermissions=Jn,W.getDataScopeFlatInstances=Sc,W.getMasterFormControls=T6,W.getModelBindInfoList=ya,W.hasChildrenControl=ga,W.hasHeaderControl=vc,W.isDataScopeInstance=Sa,W.loop=zn,W.loopFormControl=ou,W.toSchema=Ea,Object.defineProperty(W,"__esModule",{value:!0})});
1
+ var D5=Object.defineProperty;var Yr=Object.getOwnPropertySymbols;var $5=Object.prototype.hasOwnProperty,I5=Object.prototype.propertyIsEnumerable;var eu=(B,I,O)=>I in B?D5(B,I,{enumerable:!0,configurable:!0,writable:!0,value:O}):B[I]=O,le=(B,I)=>{for(var O in I||(I={}))$5.call(I,O)&&eu(B,O,I[O]);if(Yr)for(var O of Yr(I))I5.call(I,O)&&eu(B,O,I[O]);return B};var cn=(B,I,O)=>new Promise((Xe,we)=>{var Je=H=>{try{se(O.next(H))}catch(ce){we(ce)}},Qe=H=>{try{se(O.throw(H))}catch(ce){we(ce)}},se=H=>H.done?Xe(H.value):Promise.resolve(H.value).then(Je,Qe);se((O=O.apply(B,I)).next())});(function(B,I){typeof exports=="object"&&typeof module!="undefined"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(B=typeof globalThis!="undefined"?globalThis:B||self,I(B.modelDrivenDriven={}))})(this,function(B){"use strict";var I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Xe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",we="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Je="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Qe="{caption}\u5FC5\u586B",se="\u8BF7\u8F93\u5165\u6807\u9898",H="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ce="\u8BF7\u8F93\u5165\u884C\u6807\u9898",tu="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",nu="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ru="\u8BF7\u7ED1\u5B9A\u8868\u5355",uu="\u8BF7\u7ED1\u5B9A\u5217\u8868",iu="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ou="\u8BF7\u8F93\u5165\u663E\u793A\u503C",au="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",lu="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",su="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",cu="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fu="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",du="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",pu="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",vu="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",hu="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",yu="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mu="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gu="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",_u="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Eu="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bu="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Bu="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Fu="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cu="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Au="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",wu="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Su="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Du="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$u="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Iu="\u8BF7\u9009\u62E9\u7701",Ou="\u8BF7\u9009\u62E9\u5E02",Pu="\u8BF7\u9009\u62E9\u533A",Ru="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",xu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Lu="\u8BF7\u8F93\u5165\u5217\u5BBD",Mu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Tu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ju="\u8BF7\u9009\u62E9\u63A7\u4EF6",Vu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qu="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ku="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Uu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Hu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Gu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ku="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ju="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Qu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ei="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ti="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ni="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ri="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ui="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ii="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",oi="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ai="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",li="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",si="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",ci="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",fi="\u6279\u91CF\u5220\u9664",di="\u6279\u91CF\u6253\u5370",pi="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",vi="\u6309\u94AE",hi="\u521B\u5EFA\u5355\u636E",yi="\u4EEA\u8868\u76D8",mi="\u5206\u5272\u7EBF",gi="\u5BFC\u51FA",_i="\u8868\u5355\u64CD\u4F5C",Ei="\u5BFC\u5165",bi="\u53D1\u7968\u8BC6\u522B",Bi="\u94FE\u63A5",Fi="\u5217\u8868\u9009\u62E9",Ci="\u5217\u8868\u89C6\u56FE",Ai="\u64CD\u4F5C\u6309\u94AE",wi="\u5206\u9875",Si="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Di="\u8BF4\u660E\u6587\u5B57",$i="\u6587\u5B57\u8BC6\u522B",Ii="\u6807\u9898\u7EC4\u4EF6",Oi="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Pi="\u6570\u7EC4",Ri="\u81EA\u52A8\u7F16\u53F7",xi="\u81EA\u5B9A\u4E49",Li="\u6570\u503C",Mi="\u90E8\u95E8",Ti="\u4EBA\u5458",ji="\u9644\u4EF6",Vi="\u56FE\u7247",qi="\u5730\u5740",ki="\u64CD\u4F5C",Ui="\u5E8F\u53F7",Hi="\u4EBA\u5458",Wi="\u957F\u6587\u672C",Ni="\u65E5\u671F\u533A\u95F4",zi="\u65E5\u671F",Gi="\u77ED\u6587\u672C",Ki="\u6362\u884C\u5BB9\u5668Wrap",Xi="\u8868\u683C",Ji="\u660E\u7EC6\u5B50\u8868",Qi="\u5730\u5740",Zi="\u91D1\u989D",Yi="\u8BA1\u7B97\u516C\u5F0F",eo="\u591A\u9009",to="\u7535\u5B50\u7B7E\u7AE0",no="\u5355\u884C\u6587\u672C",ro="\u6570\u5B57",uo="\u4E1A\u52A1\u7EC4\u7EC7",io="\u5355\u9009",oo="\u5BCC\u6587\u672C",ao="\u8BC4\u5206",lo="\u6570\u5B57\u533A\u95F4",so="\u4E0B\u62C9\u5355\u9009",co="\u4E0B\u62C9\u591A\u9009",fo="\u5173\u8054\u5355\u9009",po="\u591A\u884C\u6587\u672C",vo="\u6811",ho="Vue\u5BB9\u5668",yo="Vue\u9875\u9762",mo="\u5728\u7EBF\u6587\u6863",go="\u6309\u94AE\u64CD\u4F5C\u680F",_o="\u9AD8\u7EA7\u5BB9\u5668",Eo="\u5206\u7EC4",bo="\u6805\u683C\u5217",Bo="\u6570\u636E\u5BB9\u5668",Fo="\u753B\u5E03",Co="\u6362\u884C\u5BB9\u5668",Ao="\u6805\u683C\u7B49\u5206\u884C",wo="\u5217\u8868\u5BB9\u5668",So="\u81EA\u7531\u9875\u9762",Do="\u5B9A\u4F4D\u5B50\u5BB9\u5668",$o="\u5B9A\u4F4D\u5BB9\u5668",Io="\u6805\u683C\u5E03\u5C40",Oo="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Po="\u660E\u7EC6\u5B50\u8868\u884C",Ro="\u6807\u7B7E\u9875",xo="\u6807\u7B7E\u5355\u5143",Lo="\u5DE5\u5177\u680F",Mo="\u6279\u91CF\u63D0\u4EA4",To="\u5BFC\u51FA\u8BB0\u5F55",jo="\u5217\u8868\u89C6\u56FE",Vo="\u7ED3\u675F\u65F6\u95F4",qo="\u5F00\u59CB\u65F6\u95F4",ko="\u5355\u4F4D",Uo="\u7ED3\u679C",Ho="\u5E01\u79CD",Wo="\u7ED3\u675F\u65E5\u671F",No="\u5F00\u59CB\u65E5\u671F",zo="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Go="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ko="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Xo="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Jo="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Qo="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Zo="\u8BF7\u9009\u62E9",Yo="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ea="\u8BF7\u9009\u62E9\u90E8\u95E8",ta="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",na="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ra="\u8BF7\u9009\u62E9\u5730\u5740",ua="\u5F39\u7A97\u786E\u8BA4\u65F6",ia="\u6807\u7B7E\u9875\u5207\u6362\u65F6",oa="\u884C\u9009\u4E2D\u65F6",aa="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",la="\u884C\u5220\u9664\u524D",sa="\u884C\u70B9\u51FB\u65F6",ca="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",fa="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",da="\u91CD\u547D\u540D\u65F6",pa="\u4FDD\u5B58\u6587\u4EF6\u65F6",va="\u6253\u5F00\u6587\u4EF6\u65F6",ha="\u83B7\u53D6\u7126\u70B9\u65F6",ya="\u5931\u53BB\u7126\u70B9\u65F6",ma="\u7528\u6237\u8F93\u5165\u65F6",ga="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",_a="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ea="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",ba="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ba="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Fa="\u641C\u7D22\u65F6",Ca="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Aa="\u6267\u884C\u5B8C\u6210\u65F6",wa="\u70B9\u51FB\u65F6",Sa="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Da="\u8BF7\u8F93\u5165\u65E5\u671F",$a="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ia="\u8BF7\u8F93\u5165",Oa="\u9ED8\u8BA4\u6A21\u7248",Pa="\u5DE6\u53F3\u5E03\u5C40",Ra="\u4E0A\u4E0B\u5E03\u5C40",xa="\u53EA\u8BFB",La="\u5FC5\u586B",Ma="\u63D0\u793A\u6587\u5B57",Ta="\u9690\u85CF\u6807\u9898",ja="\u6807\u9898\u5FC5\u586B",Va="\u7EC4\u7EC7\u5F62\u6001",qa="\u4E1A\u52A1\u7C7B\u578B",ka="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Ua="\u9690\u85CF",Ha="\u6D41\u7A0B\u72B6\u6001",Wa="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Na="\u5220\u9664",za="\u7F16\u8F91",Ga="\u67E5\u770B",Ka="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Xa="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Ja="\u5145\u6EE1\u6574\u884C",Qa="\u6700\u5C0F\u503C",Za="\u6700\u5927\u503C",Ya="\u65B0\u5EFA\u6587\u6863",el="\u91CD\u7F6E",tl="\u67E5\u8BE2",nl="\u660E\u7EC6",rl="\u6253\u5370",ul="\u4FDD\u5B58\u8349\u7A3F",il="\u4FDD\u5B58",ol="\u53D6\u6D88",al="\u4E0A\u4F20\u56FE\u7247",ll="\u53D1\u8D77\u7B7E\u7F72",sl="\u4E0A\u4F20\u9644\u4EF6",cl="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",fl="\u5F15\u7528\u5217\u8868",dl="\u9009\u9879\u4E00",pl="\u9009\u9879\u4E8C",vl="\u9009\u9879\u4E09",hl={isNotNumber:I,isNotString:O,isNotObject:Xe,isNotArray:we,isNotBoolean:Je,runtimeRequired:Qe,pleaseEnterCaption:se,pleaseEnterCaptionTip:H,pleaseEnterRowCaption:ce,pleaseEnterPlaceholder:tu,pleaseEnterFieldCode:nu,pleaseEnterForm:ru,pleaseEnterList:uu,pleaseEnterProcess:iu,pleaseEnterLabel:ou,pleaseEnterValue:au,bizKeyNotBindFiled:lu,pleaseSelectOneField:su,pleaseEnterNumberRange:cu,pleaseEnterAValueGreaterThanMin:fu,pleaseEnterAValueLessThanMax:du,numberRangeSetError:pu,stringRangeError:vu,attachmentMaxSize:hu,pleaseEnterTotalScoreSetting:yu,theTotalScoreMustNotBeLessThan1:mu,scoreDefaultValueRange:gu,attachmentLimitError:_u,PleaseReselectTheOptionalQuantity:Eu,TheMaximumLengthIsGreaterThanTheMinimumLength:bu,TheMinimumLengthIsGreaterThanTheMaximumLength:Bu,PleaseSelectTheCorrectOptionSettings:Fu,optionIdIsRepeat:Cu,optionIsRequired:Au,pleaseEnterDataCode:wu,pleaseEnterValueFieldCode:Su,pleaseEnterSvcCode:Du,pleaseBindAtLeastOneDisplayValue:$u,pleaseSelectProvince:Iu,pleaseSelectCity:Ou,pleaseSelectDistrict:Pu,limitRowsCannotBeLessThan0:Ru,TheNumberOfRowsCannotBeLessThanMinRows:xu,pleaseEnterColumnWidth:Lu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mu,pleaseCompleteAllRulesAndConditions:Tu,pleaseSelectControl:ju,pleaseSelectAtLeastOneColumn:Vu,pleaseSelectFillBackMode:qu,pleaseSelectDashboard:ku,rootNodeIsRequired:Uu,theViewNameCannotBeEmpty:Hu,pleaseSelectOcrType:Wu,pleaseSelectAtLeastOneFieldToFillIn:Nu,pleaseChooseAtLeastOne:zu,pleaseEnterButtonContent:Gu,pleaseEnterDataCodeInDataSetting:Ku,pleaseEnterValueFieldCodeInDataSetting:Xu,pleaseEnterSvcCodeInDataSetting:Ju,pleaseBindAtLeastOneDisplayValueInDataSetting:Qu,rootNodeIsRequiredInDataSetting:Zu,pleaseEnterMaxHeight:Yu,pleaseEnterWatermark:ei,pleaseEnterFileName:ti,pleaseUploadAtLeastOnePrintTemplate:ni,pleaseAssignBusiness:ri,pleaseAssignExternal:ui,pleaseEnterAliasCode:ii,pleaseSelectDataCode:oi,pleaseSelectSvcCode:ai,pleaseSelectJoinFieldCode:li,pleaseSelectMainFieldCode:si,pleaseSelectSortFieldCode:ci,batchDeleteButton:fi,batchPrintListButton:di,batchPrintRecordList:pi,button:vi,createFormListButton:hi,dashboard:yi,divider:mi,exportListButton:gi,formSelectButton:_i,importRecordListButton:Ei,invoiceCheckButton:bi,link:Bi,listSelectButton:Fi,ListViewSelect:Ci,operationButton:Ai,pagination:wi,submissionRecordListButton:Si,text:Di,textOcrButton:$i,title:Ii,approvalStatusColumn:Oi,array:Pi,autoNumber:Ri,custom:xi,decimal:Li,department:Mi,employee:Ti,file:ji,image:Vi,location:qi,operation:ki,order:Ui,people:Hi,long:Wi,timescope:Ni,timestamp:zi,varchar:Gi,gridLayoutWrap:Ki,gridTable:Xi,subTable:Ji,address:Qi,amount:Zi,calc:Yi,checkBox:eo,electronicSignature:to,input:no,number:ro,organizationSelection:uo,radio:io,richText:oo,score:ao,searchNumberRange:lo,select:so,selectMultiple:co,selectRelation:fo,textarea:po,tree:vo,vueFormItem:ho,vuePage:yo,WPS:mo,actionBar:go,advancedContainer:_o,cardGroup:Eo,col:bo,dataView:Bo,grid:Fo,gridLayoutContainer:Co,gridRow:Ao,listView:wo,page:So,position:Do,positioningContainer:$o,row:Io,subtableColumn:Oo,subtableRow:Po,tab:Ro,tabPane:xo,toolbox:Lo,batchSubmissionListButton:Mo,exportRecordListButton:To,listViewSelect:jo,endTime:Vo,startTime:qo,unit:ko,result:Uo,currency:Ho,endDate:Wo,startDate:No,pleaseSelectCompanyName:zo,pleaseSelectPhoneOrEmail:Go,pleaseSelectSignType:Ko,pleaseSelectSigner:Xo,pleaseSelectOnlyOne:Jo,pleaseSelectSignFile:Qo,pleaseSelect:Zo,pleaseSelectOrg:Yo,pleaseSelectDept:ea,pleaseSelectEndDate:ta,pleaseSelectStartDate:na,pleaseChooseAddress:ra,modalConfirm:ua,tabChange:ia,rowSelected:oa,listDataImport:aa,rowDelete:la,rowClick:sa,cellRender:ca,onClickBtn:fa,rename:da,onSaveFile:pa,onOpenFile:va,onFocus:ha,onBlur:ya,onInput:ma,listDataAdd:ga,listDataDelete:_a,listDataBack:Ea,listDataCreate:ba,listDataChange:Ba,search:Fa,valueChange:Ca,finished:Aa,click:wa,pleaseEnterNameorEmail:Sa,pleaseEnterDate:Da,pleaseEnterAutonumber:$a,pleaseEnter:Ia,defaultTemplate:Oa,left:Pa,top:Ra,default:"\u666E\u901A",readonly:xa,required:La,textTip:Ma,hideCaption:Ta,titleRequired:ja,organizationalForm:Va,businessType:qa,deleteConfirm:ka,hide:Ua,processStatus:Ha,approvedDocuments:Wa,delete:Na,edit:za,view:Ga,loadCtrlErrorTip:Ka,loadCtrlError:Xa,fullLine:Ja,min:Qa,max:Za,createWPS:Ya,reset:el,query:tl,detailed:nl,print:rl,draft:ul,save:il,cancel:ol,uploadImg:al,signature:ll,uploadFile:sl,linkContent:cl,referenceList:fl,optionOne:dl,optionTwo:pl,optionThird:vl},yl="Please enter a number",ml="Please enter a string",gl="Please enter an object",_l="Please enter an array",El="Please enter a boolean",bl="{caption} Required",Bl="Please enter the title",Fl="Please enter the bubble prompt",Cl="Please enter the row title",Al="Please enter the prompt text",wl="Please bind data items",Sl="Please bind the form",Dl="Please bind the list",$l="Please bind the process",Il="Please enter the displayed value",Ol="Please enter the stored value",Pl="The document number is not bound to the data item",Rl="Please select at least one display field",xl="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ll="Please enter a value greater than or equal to {min}",Ml="Please enter a value less than or equal to {max}",Tl="The value range is set incorrectly",jl="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vl="The attachment size must be between 0MB and 1000MB",ql="Please fill in the total score setting",kl="The total score cannot be less than 1",Ul="The default value must be between {min} and {max}",Hl="The number of attachment uploads exceeds the limit",Wl="Please re-select the optional quantity",Nl="The maximum length of the control must be greater than the minimum length",zl="The minimum length of the control must be less than the maximum length",Gl="Please select the correct option setting",Kl="Option ID cannot be repeated",Xl="Please enter at least one option",Jl="Please bind the data source",Ql="Please bind the stored value",Zl="Please bind the service",Yl="At least one display value must be bound",es="Please select a province",ts="Please select a city",ns="Please select a district",rs="The minimum number of lines to fill in cannot be less than 0",us="The number of rows cannot be less than {min} rows",is="Please enter the column width",os="Please set the logical relationship of all rule conditions",as="Please complete all rules and conditions",ls="please select control",ss="Please select the dashboard",cs="View name cannot be empty",fs="Please select recognition type",ds="Please select at least one field to fill in",ps="Please select at least one",vs="Please enter the button title",hs="Please bind the business model in the data settings",ys="Please bind storage values in data settings",ms="Please bind the service in the data settings",gs="Please bind at least one display value in the data settings",_s="Please select the root node in the data settings",Es="Please enter the maximum height",bs="The input content cannot be empty",Bs="Watermark cannot be empty",Fs="File name cannot be empty",Cs="Please upload at least one printing template!\uFF01",As="Please select a specific business department",ws="Please select a specified external organization",Ss="Please enter a sub table alias",Ds="Please select the associated table to set the business model",$s="Please select the association table to set the binding service",Is="Select associated sub table fields",Os="Please select the associated main table field",Ps="Please select the sort field",Rs="\u6279\u91CF\u5220\u9664",xs="\u6279\u91CF\u6253\u5370",Ls="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ms="\u6309\u94AE",Ts="\u521B\u5EFA\u5355\u636E",js="\u4EEA\u8868\u76D8",Vs="\u5206\u5272\u7EBF",qs="\u5BFC\u51FA",ks="\u8868\u5355\u64CD\u4F5C",Us="\u5BFC\u5165",Hs="\u53D1\u7968\u8BC6\u522B",Ws="\u94FE\u63A5",Ns="\u5217\u8868\u9009\u62E9",zs="\u5217\u8868\u89C6\u56FE",Gs="\u64CD\u4F5C\u6309\u94AE",Ks="\u5206\u9875",Xs="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Js="\u8BF4\u660E\u6587\u5B57",Qs="\u6587\u5B57\u8BC6\u522B",Zs="\u6807\u9898\u7EC4\u4EF6",Ys="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ec="\u6570\u7EC4",tc="\u81EA\u52A8\u7F16\u53F7",nc="\u81EA\u5B9A\u4E49",rc="\u6570\u503C",uc="\u90E8\u95E8",ic="\u4EBA\u5458",oc="\u9644\u4EF6",ac="\u56FE\u7247",lc="\u5730\u5740",sc="\u64CD\u4F5C",cc="\u5E8F\u53F7",fc="\u4EBA\u5458",dc="\u957F\u6587\u672C",pc="\u65E5\u671F\u533A\u95F4",vc="\u65E5\u671F",hc="\u77ED\u6587\u672C",yc="\u6362\u884C\u5BB9\u5668Wrap",mc="\u8868\u683C",gc="\u660E\u7EC6\u5B50\u8868",_c="\u5730\u5740",Ec="\u91D1\u989D",bc="\u8BA1\u7B97\u516C\u5F0F",Bc="\u591A\u9009",Fc="\u7535\u5B50\u7B7E\u7AE0",Cc="\u5355\u884C\u6587\u672C",Ac="\u6570\u5B57",wc="\u4E1A\u52A1\u7EC4\u7EC7",Sc="\u5355\u9009",Dc="\u5BCC\u6587\u672C",$c="\u8BC4\u5206",Ic="\u6570\u5B57\u533A\u95F4",Oc="\u4E0B\u62C9\u5355\u9009",Pc="\u4E0B\u62C9\u591A\u9009",Rc="\u5173\u8054\u5355\u9009",xc="\u591A\u884C\u6587\u672C",Lc="\u6811",Mc="Vue\u5BB9\u5668",Tc="Vue\u9875\u9762",jc="\u5728\u7EBF\u6587\u6863",Vc="\u6309\u94AE\u64CD\u4F5C\u680F",qc="\u9AD8\u7EA7\u5BB9\u5668",kc="\u5206\u7EC4",Uc="\u6805\u683C\u5217",Hc="\u6570\u636E\u5BB9\u5668",Wc="\u753B\u5E03",Nc="\u6362\u884C\u5BB9\u5668",zc="\u6805\u683C\u7B49\u5206\u884C",Gc="\u5217\u8868\u5BB9\u5668",Kc="\u81EA\u7531\u9875\u9762",Xc="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Jc="\u5B9A\u4F4D\u5BB9\u5668",Qc="\u6805\u683C\u5E03\u5C40",Zc="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Yc="\u660E\u7EC6\u5B50\u8868\u884C",ef="\u6807\u7B7E\u9875",tf="\u6807\u7B7E\u5355\u5143",nf="\u5DE5\u5177\u680F",rf="\u6279\u91CF\u63D0\u4EA4",uf="\u5BFC\u51FA\u8BB0\u5F55",of="\u5217\u8868\u89C6\u56FE",af="\u5F15\u7528\u5217\u8868",lf="\u9009\u9879\u4E00",sf="\u9009\u9879\u4E8C",cf="\u9009\u9879\u4E09",ff={isNotNumber:yl,isNotString:ml,isNotObject:gl,isNotArray:_l,isNotBoolean:El,runtimeRequired:bl,pleaseEnterCaption:Bl,pleaseEnterCaptionTip:Fl,pleaseEnterRowCaption:Cl,pleaseEnterPlaceholder:Al,pleaseEnterFieldCode:wl,pleaseEnterForm:Sl,pleaseEnterList:Dl,pleaseEnterProcess:$l,pleaseEnterLabel:Il,pleaseEnterValue:Ol,bizKeyNotBindFiled:Pl,pleaseSelectOneField:Rl,pleaseEnterNumberRange:xl,pleaseEnterAValueGreaterThanMin:Ll,pleaseEnterAValueLessThanMax:Ml,numberRangeSetError:Tl,stringRangeError:jl,attachmentMaxSize:Vl,pleaseEnterTotalScoreSetting:ql,theTotalScoreMustNotBeLessThan1:kl,scoreDefaultValueRange:Ul,attachmentLimitError:Hl,PleaseReselectTheOptionalQuantity:Wl,TheMaximumLengthIsGreaterThanTheMinimumLength:Nl,TheMinimumLengthIsGreaterThanTheMaximumLength:zl,PleaseSelectTheCorrectOptionSettings:Gl,optionIdIsRepeat:Kl,optionIsRequired:Xl,pleaseEnterDataCode:Jl,pleaseEnterValueFieldCode:Ql,pleaseEnterSvcCode:Zl,pleaseBindAtLeastOneDisplayValue:Yl,pleaseSelectProvince:es,pleaseSelectCity:ts,pleaseSelectDistrict:ns,limitRowsCannotBeLessThan0:rs,TheNumberOfRowsCannotBeLessThanMinRows:us,pleaseEnterColumnWidth:is,pleaseSetTheLogicalRelationshipOfAllRuleConditions:os,pleaseCompleteAllRulesAndConditions:as,pleaseSelectControl:ls,pleaseSelectDashboard:ss,theViewNameCannotBeEmpty:cs,pleaseSelectOcrType:fs,pleaseSelectAtLeastOneFieldToFillIn:ds,pleaseChooseAtLeastOne:ps,pleaseEnterButtonContent:vs,pleaseEnterDataCodeInDataSetting:hs,pleaseEnterValueFieldCodeInDataSetting:ys,pleaseEnterSvcCodeInDataSetting:ms,pleaseBindAtLeastOneDisplayValueInDataSetting:gs,rootNodeIsRequiredInDataSetting:_s,pleaseEnterMaxHeight:Es,pleaseEnter:bs,pleaseEnterWatermark:Bs,pleaseEnterFileName:Fs,pleaseUploadAtLeastOnePrintTemplate:Cs,pleaseAssignBusiness:As,pleaseAssignExternal:ws,pleaseEnterAliasCode:Ss,pleaseSelectDataCode:Ds,pleaseSelectSvcCode:$s,pleaseSelectJoinFieldCode:Is,pleaseSelectMainFieldCode:Os,pleaseSelectSortFieldCode:Ps,batchDeleteButton:Rs,batchPrintListButton:xs,batchPrintRecordList:Ls,button:Ms,createFormListButton:Ts,dashboard:js,divider:Vs,exportListButton:qs,formSelectButton:ks,importRecordListButton:Us,invoiceCheckButton:Hs,link:Ws,listSelectButton:Ns,ListViewSelect:zs,operationButton:Gs,pagination:Ks,submissionRecordListButton:Xs,text:Js,textOcrButton:Qs,title:Zs,approvalStatusColumn:Ys,array:ec,autoNumber:tc,custom:nc,decimal:rc,department:uc,employee:ic,file:oc,image:ac,location:lc,operation:sc,order:cc,people:fc,long:dc,timescope:pc,timestamp:vc,varchar:hc,gridLayoutWrap:yc,gridTable:mc,subTable:gc,address:_c,amount:Ec,calc:bc,checkBox:Bc,electronicSignature:Fc,input:Cc,number:Ac,organizationSelection:wc,radio:Sc,richText:Dc,score:$c,searchNumberRange:Ic,select:Oc,selectMultiple:Pc,selectRelation:Rc,textarea:xc,tree:Lc,vueFormItem:Mc,vuePage:Tc,WPS:jc,actionBar:Vc,advancedContainer:qc,cardGroup:kc,col:Uc,dataView:Hc,grid:Wc,gridLayoutContainer:Nc,gridRow:zc,listView:Gc,page:Kc,position:Xc,positioningContainer:Jc,row:Qc,subtableColumn:Zc,subtableRow:Yc,tab:ef,tabPane:tf,toolbox:nf,batchSubmissionListButton:rf,exportRecordListButton:uf,listViewSelect:of,referenceList:af,optionOne:lf,optionTwo:sf,optionThird:cf},df="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mf="{caption}\u5FC5\u9808",gf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ef="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Af="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$f="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",If="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",xf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Mf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",qf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Uf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Hf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Nf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Jf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ed="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",td="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nd="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rd="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ud="please select control",id="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",od="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ad="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ld="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sd="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cd="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",pd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",vd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yd="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",md="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gd="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_d="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ed="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",bd="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bd="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fd="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cd="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ad="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wd="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Sd="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dd="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$d="\u6279\u91CF\u5220\u9664",Id="\u6279\u91CF\u6253\u5370",Od="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Pd="\u6309\u94AE",Rd="\u521B\u5EFA\u5355\u636E",xd="\u4EEA\u8868\u76D8",Ld="\u5206\u5272\u7EBF",Md="\u5BFC\u51FA",Td="\u8868\u5355\u64CD\u4F5C",jd="\u5BFC\u5165",Vd="\u53D1\u7968\u8BC6\u522B",qd="\u94FE\u63A5",kd="\u5217\u8868\u9009\u62E9",Ud="\u5217\u8868\u89C6\u56FE",Hd="\u64CD\u4F5C\u6309\u94AE",Wd="\u5206\u9875",Nd="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",zd="\u8BF4\u660E\u6587\u5B57",Gd="\u6587\u5B57\u8BC6\u522B",Kd="\u6807\u9898\u7EC4\u4EF6",Xd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Jd="\u6570\u7EC4",Qd="\u81EA\u52A8\u7F16\u53F7",Zd="\u81EA\u5B9A\u4E49",Yd="\u6570\u503C",e0="\u90E8\u95E8",t0="\u4EBA\u5458",n0="\u9644\u4EF6",r0="\u56FE\u7247",u0="\u5730\u5740",i0="\u64CD\u4F5C",o0="\u5E8F\u53F7",a0="\u4EBA\u5458",l0="\u957F\u6587\u672C",s0="\u65E5\u671F\u533A\u95F4",c0="\u65E5\u671F",f0="\u77ED\u6587\u672C",d0="\u6362\u884C\u5BB9\u5668Wrap",p0="\u8868\u683C",v0="\u660E\u7EC6\u5B50\u8868",h0="\u5730\u5740",y0="\u91D1\u989D",m0="\u8BA1\u7B97\u516C\u5F0F",g0="\u591A\u9009",_0="\u7535\u5B50\u7B7E\u7AE0",E0="\u5355\u884C\u6587\u672C",b0="\u6570\u5B57",B0="\u4E1A\u52A1\u7EC4\u7EC7",F0="\u5355\u9009",C0="\u5BCC\u6587\u672C",A0="\u8BC4\u5206",w0="\u6570\u5B57\u533A\u95F4",S0="\u4E0B\u62C9\u5355\u9009",D0="\u4E0B\u62C9\u591A\u9009",$0="\u5173\u8054\u5355\u9009",I0="\u591A\u884C\u6587\u672C",O0="\u6811",P0="Vue\u5BB9\u5668",R0="Vue\u9875\u9762",x0="\u5728\u7EBF\u6587\u6863",L0="\u6309\u94AE\u64CD\u4F5C\u680F",M0="\u9AD8\u7EA7\u5BB9\u5668",T0="\u5206\u7EC4",j0="\u6805\u683C\u5217",V0="\u6570\u636E\u5BB9\u5668",q0="\u753B\u5E03",k0="\u6362\u884C\u5BB9\u5668",U0="\u6805\u683C\u7B49\u5206\u884C",H0="\u5217\u8868\u5BB9\u5668",W0="\u81EA\u7531\u9875\u9762",N0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",z0="\u5B9A\u4F4D\u5BB9\u5668",G0="\u6805\u683C\u5E03\u5C40",K0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",X0="\u660E\u7EC6\u5B50\u8868\u884C",J0="\u6807\u7B7E\u9875",Q0="\u6807\u7B7E\u5355\u5143",Z0="\u5DE5\u5177\u680F",Y0="\u6279\u91CF\u63D0\u4EA4",ep="\u5BFC\u51FA\u8BB0\u5F55",tp="\u5217\u8868\u89C6\u56FE",np="\u5F15\u7528\u5217\u8868",rp="\u9009\u9879\u4E00",up="\u9009\u9879\u4E8C",ip="\u9009\u9879\u4E09",op={isNotNumber:df,isNotString:pf,isNotObject:vf,isNotArray:hf,isNotBoolean:yf,runtimeRequired:mf,pleaseEnterCaption:gf,pleaseEnterCaptionTip:_f,pleaseEnterRowCaption:Ef,pleaseEnterPlaceholder:bf,pleaseEnterFieldCode:Bf,pleaseEnterForm:Ff,pleaseEnterList:Cf,pleaseEnterProcess:Af,pleaseEnterLabel:wf,pleaseEnterValue:Sf,bizKeyNotBindFiled:Df,pleaseSelectOneField:$f,pleaseEnterNumberRange:If,pleaseEnterAValueGreaterThanMin:Of,pleaseEnterAValueLessThanMax:Pf,numberRangeSetError:Rf,stringRangeError:xf,attachmentMaxSize:Lf,pleaseEnterTotalScoreSetting:Mf,theTotalScoreMustNotBeLessThan1:Tf,scoreDefaultValueRange:jf,attachmentLimitError:Vf,PleaseReselectTheOptionalQuantity:qf,TheMaximumLengthIsGreaterThanTheMinimumLength:kf,TheMinimumLengthIsGreaterThanTheMaximumLength:Uf,PleaseSelectTheCorrectOptionSettings:Hf,optionIdIsRepeat:Wf,optionIsRequired:Nf,pleaseEnterDataCode:zf,pleaseEnterValueFieldCode:Gf,pleaseEnterSvcCode:Kf,pleaseBindAtLeastOneDisplayValue:Xf,pleaseSelectProvince:Jf,pleaseSelectCity:Qf,pleaseSelectDistrict:Zf,limitRowsCannotBeLessThan0:Yf,TheNumberOfRowsCannotBeLessThanMinRows:ed,pleaseEnterColumnWidth:td,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nd,pleaseCompleteAllRulesAndConditions:rd,pleaseSelectControl:ud,pleaseSelectDashboard:id,theViewNameCannotBeEmpty:od,pleaseSelectOcrType:ad,pleaseSelectAtLeastOneFieldToFillIn:ld,pleaseChooseAtLeastOne:sd,pleaseEnterButtonContent:cd,pleaseEnterDataCodeInDataSetting:fd,pleaseEnterValueFieldCodeInDataSetting:dd,pleaseEnterSvcCodeInDataSetting:pd,pleaseBindAtLeastOneDisplayValueInDataSetting:vd,rootNodeIsRequiredInDataSetting:hd,pleaseEnterMaxHeight:yd,pleaseEnter:md,pleaseEnterWatermark:gd,pleaseEnterFileName:_d,pleaseUploadAtLeastOnePrintTemplate:Ed,pleaseAssignBusiness:bd,pleaseAssignExternal:Bd,pleaseEnterAliasCode:Fd,pleaseSelectDataCode:Cd,pleaseSelectSvcCode:Ad,pleaseSelectJoinFieldCode:wd,pleaseSelectMainFieldCode:Sd,pleaseSelectSortFieldCode:Dd,batchDeleteButton:$d,batchPrintListButton:Id,batchPrintRecordList:Od,button:Pd,createFormListButton:Rd,dashboard:xd,divider:Ld,exportListButton:Md,formSelectButton:Td,importRecordListButton:jd,invoiceCheckButton:Vd,link:qd,listSelectButton:kd,ListViewSelect:Ud,operationButton:Hd,pagination:Wd,submissionRecordListButton:Nd,text:zd,textOcrButton:Gd,title:Kd,approvalStatusColumn:Xd,array:Jd,autoNumber:Qd,custom:Zd,decimal:Yd,department:e0,employee:t0,file:n0,image:r0,location:u0,operation:i0,order:o0,people:a0,long:l0,timescope:s0,timestamp:c0,varchar:f0,gridLayoutWrap:d0,gridTable:p0,subTable:v0,address:h0,amount:y0,calc:m0,checkBox:g0,electronicSignature:_0,input:E0,number:b0,organizationSelection:B0,radio:F0,richText:C0,score:A0,searchNumberRange:w0,select:S0,selectMultiple:D0,selectRelation:$0,textarea:I0,tree:O0,vueFormItem:P0,vuePage:R0,WPS:x0,actionBar:L0,advancedContainer:M0,cardGroup:T0,col:j0,dataView:V0,grid:q0,gridLayoutContainer:k0,gridRow:U0,listView:H0,page:W0,position:N0,positioningContainer:z0,row:G0,subtableColumn:K0,subtableRow:X0,tab:J0,tabPane:Q0,toolbox:Z0,batchSubmissionListButton:Y0,exportRecordListButton:ep,listViewSelect:tp,referenceList:np,optionOne:rp,optionTwo:up,optionThird:ip},Ze={zhCN:hl,enUS:ff,jaJP:op},fn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(fn||(fn={}));var dn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(dn||(dn={}));var Ye,pn=(Ye=window.localStorage.getItem("locale"))!==null&&Ye!==void 0?Ye:"zh-CN",ap=function(){},P;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(P||(P={}));var vn;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(vn||(vn={}));var v;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page",e.REFERENCE_LIST="reference-list"})(v||(v={}));var hn;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(hn||(hn={}));var j;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(j||(j={}));var yn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(yn||(yn={}));var mn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",lp=mn+"0123456789";function et(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?mn:lp,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function tt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sp(e){if(Array.isArray(e))return tt(e)}function cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e,t,n){return t=fe(t),vp(e,rt()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function _n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return rt()?Se=Reflect.construct:Se=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&de(a,i.prototype),a},Se.apply(null,arguments)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(e)}function En(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}function fp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pp(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vp(e,t){return t&&(hp(t)==="object"||typeof t=="function")?t:cp(e)}function de(e,t){return de=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},de(e,t)}function bn(e){return sp(e)||dp(e)||yp(e)||pp()}function hp(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yp(e,t){if(!!e){if(typeof e=="string")return tt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tt(e,t)}}function nt(e){var t=typeof Map=="function"?new Map:void 0;return nt=function(r){if(r===null||!fp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Se(r,arguments,fe(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),de(u,r)},nt(e)}function rt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rt=function(){return!!e})()}var ut=console;function De(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=ut).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(bn(u)))}function Bn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=ut).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(bn(u)))}function mp(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var it=function(e){En(t,e);function t(n){_n(this,t);var r;return r=gn(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?mp(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(nt(Error)),gp=function(e){En(t,e);function t(n){_n(this,t);var r;return r=gn(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(it);function pe(e){throw new it(e)}function Fn(e){throw new gp(e)}function _p(e){ut.error(new it(e))}const m=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const r=e.split(".");let u;const o=(window.baitedaWorkers||{}).languageMessages||{};r.forEach((l,s)=>{s===0?u=o[l]:u&&(u=u[l])});let i="";return u&&(i=u),t&&Object.keys(t).forEach(l=>{const s=t[l];i=i.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),s)}),i||(n?i=n:i=e),i};function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bp(e,t,n){return t&&Cn(e.prototype,t),n&&Cn(e,n),e}function Bp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var An=function(){function e(){Ep(this,e)}return bp(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return m("CMD."+n,r,Ze==null||(u=Ze[pn.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,r){}}]),e}();Bp(An,"$i18n",An.resetI18n());function wn(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,i){return"."+i}).split("."),u=!1;return r.reduce(function(o,i,l,s){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){De("Can not set ".concat(t,"'s ").concat(i," property in current %o, Because there is no ").concat(i," property on the %o"),o,o);return}return l===s.length-1&&!Object.is(a[i],n)&&(a[i]=n,u=!0),a[i]}},e),u}var Fp=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Cp={exports:{}};(function(e){(function(t){var n=function(c,p,b){if(!a(p)||h(p)||g(p)||_(p)||s(p))return p;var A,S=0,k=0;if(f(p))for(A=[],k=p.length;S<k;S++)A.push(n(c,p[S],b));else{A={};for(var w in p)Object.prototype.hasOwnProperty.call(p,w)&&(A[c(w,b)]=n(c,p[w],b))}return A},r=function(c,p){p=p||{};var b=p.separator||"_",A=p.split||/(?=[A-Z])/;return c.split(A).join(b)},u=function(c){return C(c)?c:(c=c.replace(/[\-_\s]+(.)?/g,function(p,b){return b?b.toUpperCase():""}),c.substr(0,1).toLowerCase()+c.substr(1))},o=function(c){var p=u(c);return p.substr(0,1).toUpperCase()+p.substr(1)},i=function(c,p){return r(c,p).toLowerCase()},l=Object.prototype.toString,s=function(c){return typeof c=="function"},a=function(c){return c===Object(c)},f=function(c){return l.call(c)=="[object Array]"},h=function(c){return l.call(c)=="[object Date]"},g=function(c){return l.call(c)=="[object RegExp]"},_=function(c){return l.call(c)=="[object Boolean]"},C=function(c){return c=c-0,c===c},d=function(c,p){var b=p&&"process"in p?p.process:p;return typeof b!="function"?c:function(A,S){return b(A,c,S)}},y={camelize:u,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(c,p){return n(d(u,p),c)},decamelizeKeys:function(c,p){return n(d(i,p),c,p)},pascalizeKeys:function(c,p){return n(d(o,p),c)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=y:t.humps=y})(Fp)})(Cp);var Sn={};Object.defineProperty(Sn,"__esModule",{value:!0});function ot(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ot(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ot(r)}return t}}var Ap=Sn.default=ot;function Dn(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":Dn(e))==="object"?Ap(e):e}function at(e){return Object.prototype.toString.call(e)==="[object Object]"}function wp(e){return e!=null&&(typeof e=="undefined"?"undefined":Dn(e))==="object"&&Array.isArray(e)===!1}function ve(e){return Array.isArray(e)}function lt(e){return typeof e=="string"}function Sp(e){return Object.values(v).includes(e)}function st(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dp(e){if(Array.isArray(e))return st(e)}function $n(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function $p(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){$n(o,r,u,i,l,"next",s)}function l(s){$n(o,r,u,i,l,"throw",s)}i(void 0)})}}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Op(e,t,n){return t&&In(e.prototype,t),n&&In(e,n),e}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rp(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ct(e){return Dp(e)||Pp(e)||xp(e)||Rp()}function xp(e,t){if(!!e){if(typeof e=="string")return st(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return st(e,t)}}function Lp(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Pn=function(){function e(){Ip(this,e),On(this,"_events",new Map),On(this,"debug",!1)}return Op(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var i=this;return $p(function(){var l,s,a,f,h,g,_,C,d,y,c,p;return Lp(this,function(b){switch(b.label){case 0:if(l=i._events.get(n),s=[],!l)return[3,10];a=l.slice(),f=!0,h=!1,g=void 0,b.label=1;case 1:b.trys.push([1,8,9,10]),_=a[Symbol.iterator](),b.label=2;case 2:if(f=(C=_.next()).done)return[3,7];if(d=C.value,!l.includes(d))return[3,6];b.label=3;case 3:return b.trys.push([3,5,,6]),i.debug&&Bn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ct(u))),[4,d.apply(null,ct(u))];case 4:return y=b.sent(),i.debug&&Bn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ct(u),[y])),s.push(y),y===!1?[3,7]:[3,6];case 5:return c=b.sent(),_p(String(c)+":"+String(c.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return p=b.sent(),h=!0,g=p,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(h)throw g}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tp(e,t,n){return t&&Rn(e.prototype,t),n&&Rn(e,n),e}function jp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vp=[{key:"on_click",name:m("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:m("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:m("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:m("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:m("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:m("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:m("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:m("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:m("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:m("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:m("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:m("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:m("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:m("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:m("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:m("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:m("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:m("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:m("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:m("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:m("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:m("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:m("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],he=function(){function e(){Mp(this,e)}return Tp(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],u=n.eventKeys;r=r.concat(e.events.filter(function(i){return u.includes(i.key)}));var o=n.customEvents.map(function(i){var l=i.key;return i.namespace!==void 0&&i.namespace!==null&&i.namespace!==""&&(l=i.namespace+":"+i.key),{key:l,code:i.key,name:i.name}});return r=r.concat(o),r}}]),e}();jp(he,"events",Vp);function ft(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qp(e){if(Array.isArray(e))return ft(e)}function kp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Up(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xn(e){return qp(e)||kp(e)||Hp(e)||Up()}function Hp(e,t){if(!!e){if(typeof e=="string")return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ft(e,t)}}function dt(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Ln(e,t,n){n!=="Runtime"&&(e.parent=t,dt(e,"parent"))}function Wp(e,t,n){e.forEach(function(r){Ln(r,t,n)})}var Mn=Symbol("targetKey");function Tn(e){var t;return(t=e[Mn])!==null&&t!==void 0?t:e}function jn(e,t,n){return Wp(e,t,n),new Proxy(e,{get:function(u,o){for(var i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];var a;return o===Mn?u:(a=Reflect).get.apply(a,[u,o].concat(xn(l)))},set:function(u,o,i){for(var l=arguments.length,s=new Array(l>3?l-3:0),a=3;a<l;a++)s[a-3]=arguments[a];var f;if(ve(e)&&o==="length"&&i===e.length)return!0;var h=(f=Reflect).set.apply(f,[u,o,i].concat(xn(s)));return at(i)&&Ln(i,t,n),h}})}function pt(e,t,n,r,u){var o=r!=null?r:e,i=jn(Tn(n!=null?n:[]),o,u);Object.defineProperty(e,t,{get:function(){return i},set:function(s){i=jn(Tn(s),o,u)},enumerable:!0})}function Np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zp(e,t,n){return t&&Vn(e.prototype,t),n&&Vn(e,n),e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qn=[],ye=function(){function e(t){Np(this,e),K(this,"registeredControlTypes",new Set),K(this,"controlConfigMap",new Map),K(this,"_controls",[]),K(this,"_type",void 0),this._type=t,this._initControls(t)}return zp(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||pe("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(De("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===P.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===P.FORM}},{key:"isListControl",value:function(n){return n.controlType===P.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===P.COLUMN}},{key:"createControl",value:function(n,r){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,r)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,r)})),this.isListControl(n)){var o=n.props;o.headers&&(o.headers=o.headers.map(function(f){return u.createControl(f,r)}))}var i=this.getControlFormType(n.type);if(i){var l=n;if(typeof r=="function"){var s=r(l);s&&(l=s)}var a;return i.mode==="Runtime"?(a=l,a.fieldType=i.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new i(l),a}else pe("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),dt(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var o=n.id,i=r._controlParentIdMap,l=r.instanceMap;if(!(!i||!l)){var s=i[o],a=l[o];if(!(!s&&!a)){var f=a.findIndex(function(_){return _==n}),h=l[s]||[],g;return h.length!==a.length?g=h[0]:g=h[f],g}}}}),dt(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n]),e.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var u=e.staticControlsRuntimeRules.get(n),o=[];if(u){var i=new u(r);o=Array.from(i)}return o}},{key:"register",value:function(n,r){var u=n.Designer,o=n.Runtime,i=n.Property;(!u||!o||!u.__is_control__||!o.__is_control__)&&pe("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return l>-1&&(De("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),i.mode=r,this}}]),e}();K(ye,"staticControlsRuntimeRules",new Map),K(ye,"staticControls",qn),K(ye,"staticRegisteredTypes",new Set(qn.map(function(e){return e.Designer.controlType}))),K(ye,"staticRegisteredConfigs",new Map);function vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn=function e(t){vt(this,e),T(this,"dataCode",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},Gp=function e(t){vt(this,e),T(this,"minWidth",void 0),T(this,"maxWidth",void 0),T(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},Un;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Un||(Un={}));var Hn;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable",e.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",e.IS_SHOW_TOOL_BAE="isShowToolbar"})(Hn||(Hn={}));var ht;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ht||(ht={}));var Kp=function e(t){vt(this,e),T(this,"width",void 0),T(this,"height",void 0),T(this,"widthConfig",void 0),T(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jp(e,t,n){return t=me(t),Yp(e,gt()?Reflect.construct(t,n||[],me(e).constructor):t.apply(e,n))}function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,n){return gt()?$e=Reflect.construct:$e=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&ge(a,i.prototype),a},$e.apply(null,arguments)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},me(e)}function Qp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}function Zp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yp(e,t){return t&&(ev(t)==="object"||typeof t=="function")?t:Xp(e)}function ge(e,t){return ge=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ge(e,t)}function ev(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mt(e){var t=typeof Map=="function"?new Map:void 0;return mt=function(r){if(r===null||!Zp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return $e(r,arguments,me(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ge(u,r)},mt(e)}function gt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gt=function(){return!!e})()}var _t=function e(t){yt(this,e),N(this,"isHide",{type:"boolean"})},Wn=function(e){Qp(t,e);function t(n){return yt(this,t),Jp(this,t)}return t}(mt(Array)),z=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yt(this,e),N(this,"isHide",void 0),N(this,"className",void 0),N(this,"style",void 0),N(this,"caption",void 0),N(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Kp(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};N(z,"mode",void 0),N(z,"Rules",_t),N(z,"RuntimeRules",Wn);function V(){return V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function tv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Et(e)}function Ie(e,t){return Ie=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ie(e,t)}function nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Oe(e,t,n){return nv()?Oe=Reflect.construct:Oe=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&Ie(a,i.prototype),a},Oe.apply(null,arguments)}function rv(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(r){if(r===null||!rv(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Oe(r,arguments,Et(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ie(u,r)},bt(e)}var uv=/%[sdj%]/g,Nn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Nn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Bt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function L(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var i=String(u).replace(uv,function(l){if(l==="%%")return"%";if(r>=o)return l;switch(l){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return l}});return i}return u}function iv(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function $(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||iv(t)&&typeof e=="string"&&!e)}function ov(e,t,n){var r=[],u=0,o=e.length;function i(l){r.push.apply(r,l),u++,u===o&&n(r)}e.forEach(function(l){t(l,i)})}function zn(e,t,n){var r=0,u=e.length;function o(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l<u?t(e[l],o):n([])}o([])}function av(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Gn=function(e){tv(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(bt(Error));function lv(e,t,n,r){if(t.first){var u=new Promise(function(h,g){var _=function(y){return r(y),y.length?g(new Gn(y,Bt(y))):h()},C=av(e);zn(C,n,_)});return u.catch(function(h){return h}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var i=Object.keys(e),l=i.length,s=0,a=[],f=new Promise(function(h,g){var _=function(d){if(a.push.apply(a,d),s++,s===l)return r(a),a.length?g(new Gn(a,Bt(a))):h()};i.length||(r(a),h()),i.forEach(function(C){var d=e[C];o.indexOf(C)!==-1?zn(d,n,_):ov(d,n,_)})});return f.catch(function(h){return h}),f}function Kn(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Xn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=V(V({},e[n]),r):e[n]=r}}return e}function Jn(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||$(t,o||e.type))&&r.push(L(u.messages.required,e.fullField))}function sv(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(L(u.messages.whitespace,e.fullField))}var Ft={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_e={integer:function(t){return _e.number(t)&&parseInt(t,10)===t},float:function(t){return _e.number(t)&&!_e.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_e.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ft.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ft.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ft.hex)}};function cv(e,t,n,r,u){if(e.required&&t===void 0){Jn(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=e.type;o.indexOf(i)>-1?_e[i](t)||r.push(L(u.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(L(u.messages.types[i],e.fullField,e.type))}function fv(e,t,n,r,u){var o=typeof e.len=="number",i=typeof e.min=="number",l=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,h=typeof t=="number",g=typeof t=="string",_=Array.isArray(t);if(h?f="number":g?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),g&&(a=t.replace(s,"_").length),o?a!==e.len&&r.push(L(u.messages[f].len,e.fullField,e.len)):i&&!l&&a<e.min?r.push(L(u.messages[f].min,e.fullField,e.min)):l&&!i&&a>e.max?r.push(L(u.messages[f].max,e.fullField,e.max)):i&&l&&(a<e.min||a>e.max)&&r.push(L(u.messages[f].range,e.fullField,e.min,e.max))}var ee="enum";function dv(e,t,n,r,u){e[ee]=Array.isArray(e[ee])?e[ee]:[],e[ee].indexOf(t)===-1&&r.push(L(u.messages[ee],e.fullField,e[ee].join(", ")))}function pv(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(L(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(L(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var E={required:Jn,whitespace:sv,type:cv,range:fv,enum:dv,pattern:pv};function vv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t,"string")&&!e.required)return n();E.required(e,t,r,o,u,"string"),$(t,"string")||(E.type(e,t,r,o,u),E.range(e,t,r,o,u),E.pattern(e,t,r,o,u),e.whitespace===!0&&E.whitespace(e,t,r,o,u))}n(o)}function hv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}function yv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t===""&&(t=void 0),$(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function mv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}function gv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),$(t)||E.type(e,t,r,o,u)}n(o)}function _v(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function Ev(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function bv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t==null&&!e.required)return n();E.required(e,t,r,o,u,"array"),t!=null&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function Bv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}var Fv="enum";function Cv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E[Fv](e,t,r,o,u)}n(o)}function Av(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t,"string")&&!e.required)return n();E.required(e,t,r,o,u),$(t,"string")||E.pattern(e,t,r,o,u)}n(o)}function wv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t,"date")&&!e.required)return n();if(E.required(e,t,r,o,u),!$(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),E.type(e,l,r,o,u),l&&E.range(e,l.getTime(),r,o,u)}}n(o)}function Sv(e,t,n,r,u){var o=[],i=Array.isArray(t)?"array":typeof t;E.required(e,t,r,o,u,i),n(o)}function Ct(e,t,n,r,u){var o=e.type,i=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if($(t,o)&&!e.required)return n();E.required(e,t,r,i,u,o),$(t,o)||E.type(e,t,r,i,u)}n(i)}function Dv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if($(t)&&!e.required)return n();E.required(e,t,r,o,u)}n(o)}var Ee={string:vv,method:hv,number:yv,boolean:mv,regexp:gv,integer:_v,float:Ev,array:bv,object:Bv,enum:Cv,pattern:Av,date:wv,url:Ct,hex:Ct,email:Ct,required:Sv,any:Dv};function At(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var wt=At();function X(e){this.rules=null,this._messages=wt,this.define(e)}X.prototype={messages:function(t){return t&&(this._messages=Xn(At(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,i=n,l=r;if(typeof i=="function"&&(l=i,i={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(d){var y,c=[],p={};function b(A){if(Array.isArray(A)){var S;c=(S=c).concat.apply(S,A)}else c.push(A)}for(y=0;y<d.length;y++)b(d[y]);c.length?p=Bt(c):(c=null,p=null),l(c,p)}if(i.messages){var a=this.messages();a===wt&&(a=At()),Xn(a,i.messages),i.messages=a}else i.messages=this.messages();var f,h,g={},_=i.keys||Object.keys(this.rules);_.forEach(function(d){f=u.rules[d],h=o[d],f.forEach(function(y){var c=y;typeof c.transform=="function"&&(o===t&&(o=V({},o)),h=o[d]=c.transform(h)),typeof c=="function"?c={validator:c}:c=V({},c),c.validator=u.getValidationMethod(c),c.field=d,c.fullField=c.fullField||d,c.type=u.getType(c),c.validator&&(g[d]=g[d]||[],g[d].push({rule:c,value:h,source:o,field:d}))})});var C={};return lv(g,i,function(d,y){var c=d.rule,p=(c.type==="object"||c.type==="array")&&(typeof c.fields=="object"||typeof c.defaultField=="object");p=p&&(c.required||!c.required&&d.value),c.field=d.field;function b(k,w){return V(V({},w),{},{fullField:c.fullField+"."+k})}function A(k){k===void 0&&(k=[]);var w=k;if(Array.isArray(w)||(w=[w]),!i.suppressWarning&&w.length&&X.warning("async-validator:",w),w.length&&c.message!==void 0&&(w=[].concat(c.message)),w=w.map(Kn(c)),i.first&&w.length)return C[c.field]=1,y(w);if(!p)y(w);else{if(c.required&&!d.value)return c.message!==void 0?w=[].concat(c.message).map(Kn(c)):i.error&&(w=[i.error(c,L(i.messages.required,c.field))]),y(w);var U={};if(c.defaultField)for(var Qr in d.value)d.value.hasOwnProperty(Qr)&&(U[Qr]=c.defaultField);U=V(V({},U),d.rule.fields);for(var oe in U)if(U.hasOwnProperty(oe)){var S5=Array.isArray(U[oe])?U[oe]:[U[oe]];U[oe]=S5.map(b.bind(null,oe))}var Zr=new X(U);Zr.messages(i.messages),d.rule.options&&(d.rule.options.messages=i.messages,d.rule.options.error=i.error),Zr.validate(d.value,d.rule.options||i,function(sn){var ae=[];w&&w.length&&ae.push.apply(ae,w),sn&&sn.length&&ae.push.apply(ae,sn),y(ae.length?ae:null)})}}var S;c.asyncValidator?S=c.asyncValidator(c,d.value,A,d.source,i):c.validator&&(S=c.validator(c,d.value,A,d.source,i),S===!0?A():S===!1?A(c.message||c.field+" fails"):S instanceof Array?A(S):S instanceof Error&&A(S.message)),S&&S.then&&S.then(function(){return A()},function(k){return A(k)})},function(d){s(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ee.hasOwnProperty(t.type))throw new Error(L("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Ee.required:Ee[this.getType(t)]||!1}},X.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ee[t]=n},X.warning=Nn,X.messages=wt,X.validators=Ee;var $v={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Iv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new X(e);return n.messages(Object.assign($v,t)),n}var Qn=new Pn;function St(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ov(e){if(Array.isArray(e))return e}function Pv(e){if(Array.isArray(e))return St(e)}function Zn(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function Yn(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){Zn(o,r,u,i,l,"next",s)}function l(s){Zn(o,r,u,i,l,"throw",s)}i(void 0)})}}function Rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xv(e,t,n){return t&&er(e.prototype,t),n&&er(e,n),e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lv(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Mv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){F(e,u,n[u])})}return e}function Tv(e){return Ov(e)||nr(e)||ur(e)||Lv()}function Dt(e){return Pv(e)||nr(e)||ur(e)||Mv()}function jv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ur(e,t){if(!!e){if(typeof e=="string")return St(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return St(e,t)}}function ir(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var R=function(){function t(n){var r=this;Rv(this,t),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",ar),F(this,"removeSetting",or),this._callControlHooks("preInstance",n);var u=tr(this,t)?this.constructor:void 0,o=u.controlName,i=u.controlIcon,l=u.controlType,s=u.controlFieldType,a=u.controlEventKeys,f=u.controlCustomEvents,h=u.name,g=u.setting,_=u.slots,C=u.slotPosition;o&&i&&l||Fn("The ".concat(h," controlName,controlIcon,controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:et(10),this.name=o,this.icon=i;var y;this.type=(y=n==null?void 0:n.type)!==null&&y!==void 0?y:l,this.props=new z(n==null?void 0:n.props,(tr(this,t)?this.constructor:void 0).controlName);var c;this.controlType=(c=n==null?void 0:n.controlType)!==null&&c!==void 0?c:"base",this.setting=W(g);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:s,this.eventKeys=W(a),this.customEvents=W(f),this.slots=W(_),this.slotPosition=W(C),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return xv(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var i,l=Tv(u),s=l[0],a=l.slice(1);return(i=Qn).emit.apply(i,[s,this].concat(Dt(a)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),wn(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return Yn(function(){var u,o,i;return ir(this,function(l){switch(l.label){case 0:return u=rr({},r.rules),[4,r._callControlHooks("preValidate",u)];case 1:return o=l.sent(),i=o[o.length-1],[2,i===!1?void 0:i]}})})()}},{key:"validate",value:function(r,u){var o=this;return Yn(function(){var i,l,s,a;return ir(this,function(f){switch(f.label){case 0:return[4,o.preValidate()];case 1:i=f.sent(),l=i!==void 0?i:rr({},o.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),s=Iv(l,r),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(o.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=o),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,i=this.type,l=this.props,s=l.dataBind,a=l.datasourceBind,f=l.optionConfig,h=l.caption,g=l.required,_=l.maxLength,C=l.options,d=l.encrypted,y=l.encryptedMode;if(!(!u&&!s&&!a)){var c={parentId:r,fieldType:u,controlId:o,caption:h,type:i,props:{}};switch(s&&(c.dataBind=s),f){case"datasource":case void 0:a&&(c.datasourceBind=a);break;case"custom":c.props.options=C;break}return g!==void 0&&(c.required=g),_!==void 0&&(c.maxLength=_),d!==void 0&&(c.encrypted=d),y!==void 0&&(c.encryptedMode=y),c}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:W(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,Dt(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();F(R,"mode","Designer"),F(R,"slots",void 0),F(R,"slotPosition",void 0),F(R,"controlName","\u63A7\u4EF6"),F(R,"controlIcon","icon"),F(R,"controlType","control"),F(R,"controlFieldType",void 0),F(R,"controlEventKeys",[]),F(R,"controlCustomEvents",[]),F(R,"setting",[]),F(R,"__is_control__",!0),F(R,"removeSettingItem",or),F(R,"updateSettingItem",ar);function or(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,o=typeof r!="string",i=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(a){return a.key===(o?r.key:r)});if(i!==-1){var l,s;o?t.setting[i].showItems=(l=t.setting[i].showItems)===null||l===void 0?void 0:l.filter(function(a){return!r.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((s=t.setting[i].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(i,1)}})}function ar(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(a){return a.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if((typeof t=="undefined"?"undefined":jv(t))==="object"){var i,l=(i=t.type)!==null&&i!==void 0?i:"replace";if(l==="replace")o.showItems=t.showItems;else{var s;(s=o.showItems).push.apply(s,Dt(t.showItems))}}}})}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qv(e,t,n){return t&&lr(e.prototype,t),n&&lr(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kv(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var be=function(){function t(n){Vv(this,t),M(this,"id",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"fieldType",void 0),M(this,"customEvents",[]),M(this,"pageStatus",void 0),M(this,"parent",null);var r=kv(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,i=r.name,l=r.controlCustomEvents;u||Fn("The ".concat(i," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:et(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:u,this.props=new z(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var h;this.fieldType=(h=n==null?void 0:n.fieldType)!==null&&h!==void 0?h:o;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:ht.UNKNOWN}return qv(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();M(be,"mode","Runtime"),M(be,"controlType","control"),M(be,"controlFieldType",void 0),M(be,"__is_control__",!0),M(be,"controlCustomEvents",[]);function sr(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Uv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $t(e,t,n){return t=Pe(t),Hv(e,cr()?Reflect.construct(t,n||[],Pe(e).constructor):t.apply(e,n))}function It(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(e)}function Ot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pt(e,t)}function Hv(e,t){return t&&(Wv(t)==="object"||typeof t=="function")?t:Uv(e)}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Pt(e,t)}function Wv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cr=function(){return!!e})()}var Nv=function(e){Ot(t,e);function t(n){It(this,t);var r;r=$t(this,t,[n]),D(r,"dataBind",{}),D(r,"caption",{type:"string",required:!0,message:m("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),D(r,"isHideCaption",{type:"boolean"}),D(r,"labelPosition",{type:"enum",enum:["top","left"]}),D(r,"defaultState",{type:"enum",enum:["default","readonly"]}),D(r,"required",{type:"boolean"}),D(r,"captionTip",{type:"string",required:!1,message:m("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:m("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:m("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(sr(n.dataBind))r.dataBind={type:"object",required:!0,fields:W(u),message:m("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var o={type:"object",required:!0,fields:{},message:m("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(i){o.fields[i]={type:"object",required:!0,fields:W(u),message:m("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),r.dataBind=o}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(_t),zv=function(e){Ot(t,e);function t(n){It(this,t);var r;r=$t(this,t,[n]);var u=n.isHide?!1:n.required;return u&&r.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:m("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),r}return t}(Wn),Rt=function(e){Ot(t,e);function t(n){It(this,t);var r;r=$t(this,t,[n]),D(r,"caption",void 0),D(r,"isHideCaption",void 0),D(r,"isShowCaptionTip",void 0),D(r,"captionTip",void 0),D(r,"labelPosition",void 0),D(r,"dataBind",void 0),D(r,"defaultValue",void 0),D(r,"placeholder",void 0),D(r,"defaultState",void 0),D(r,"required",void 0),D(r,"requiredMessage",void 0);var u;r.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var o;r.isHideCaption=(o=n==null?void 0:n.isHideCaption)!==null&&o!==void 0?o:!1;var i;r.isShowCaptionTip=(i=n==null?void 0:n.isShowCaptionTip)!==null&&i!==void 0?i:!1;var l;r.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var a;r.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var f;r.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var h;r.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var g;r.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",r.dataBind=new kn(n==null?void 0:n.dataBind);var _;return r.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",r}return t}(z);D(Rt,"Rules",Nv),D(Rt,"RuntimeRules",zv);function Gv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(e,t,n){return t=xe(t),Qv(e,fr()?Reflect.construct(t,n||[],xe(e).constructor):t.apply(e,n))}function Xv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function Jv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}function Qv(e,t){return t&&(Zv(t)==="object"||typeof t=="function")?t:Gv(e)}function xt(e,t){return xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xt(e,t)}function Zv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fr=function(){return!!e})()}var dr=function(e){Jv(t,e);function t(n){Xv(this,t);var r;return r=Kv(this,t,[n]),Re(r,"controlType","form"),Re(r,"props",void 0),r.props=new Rt(n==null?void 0:n.props),r}return t}(R);Re(dr,"controlEventKeys",["on_change","on_focus","on_blur"]),Re(dr,"controlCustomAttributes",void 0);function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eh(e,t,n){return t=Le(t),rh(e,pr()?Reflect.construct(t,n||[],Le(e).constructor):t.apply(e,n))}function th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lt(e,t)}function rh(e,t){return t&&(uh(t)==="object"||typeof t=="function")?t:Yv(e)}function Lt(e,t){return Lt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Lt(e,t)}function uh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pr=function(){return!!e})()}var ih=function(e){nh(t,e);function t(n){return th(this,t),eh(this,t,[n])}return t}(z);function Mt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oh(e){if(Array.isArray(e))return Mt(e)}function ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vr(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function lh(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){vr(o,r,u,i,l,"next",s)}function l(s){vr(o,r,u,i,l,"throw",s)}i(void 0)})}}function sh(e,t,n){return t=Q(t),_h(e,mr()?Reflect.construct(t,n||[],Q(e).constructor):t.apply(e,n))}function ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fh(e,t,n){return t&&hr(e.prototype,t),n&&hr(e,n),e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?te=Reflect.get:te=function(u,o,i){var l=Eh(u,o);if(!!l){var s=Object.getOwnPropertyDescriptor(l,o);return s.get?s.get.call(i||u):s.value}},te(e,t,n||e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Q(e)}function dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tt(e,t)}function ph(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vh(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){J(e,u,n[u])})}return e}function mh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function gh(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mh(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function _h(e,t){return t&&(bh(t)==="object"||typeof t=="function")?t:ah(e)}function Tt(e,t){return Tt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Tt(e,t)}function Eh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Q(e),e!==null););return e}function yr(e){return oh(e)||vh(e)||Bh(e)||hh()}function bh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bh(e,t){if(!!e){if(typeof e=="string")return Mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mt(e,t)}}function mr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mr=function(){return!!e})()}function Fh(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Ch=1e4,gr=function(t){dh(n,t);function n(r){ch(this,n);var u;u=sh(this,n,[r]),J(u,"controlType","layout"),J(u,"children",void 0),J(u,"excludes",void 0),J(u,"childrenMaxLength",void 0),J(u,"props",void 0);var o=ph(this,n)?this.constructor:void 0,i=o.excludes,l=o.childrenMaxLength;return u.props=new ih(r==null?void 0:r.props),pt(u,"children",r==null?void 0:r.children,void 0,"Designer"),u.excludes=W(i),u.childrenMaxLength=l,u}return fh(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var o=this.judgeExcludesChildren(u);return o&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,o){var i=this,l=this,s=function(){return te(Q(n.prototype),"validate",i)};return lh(function(){return Fh(this,function(a){switch(a.label){case 0:return[4,s().call(l,u,o)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(u,o)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=te(Q(n.prototype),"toDataBindModel",this).call(this),i=o?[o]:[];return this.children.reduce(function(l,s){var a=s.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(h){return!!h});return yr(l).concat(yr(f))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var u=te(Q(n.prototype),"toSchema",this).call(this),o=this.children.map(function(i){var l=i.toSchema();return l});return gh(yh({},u),{children:o})}}]),n}(R);J(gr,"excludes",!1),J(gr,"childrenMaxLength",Ch);function Ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e,t,n){return t=Me(t),$h(e,_r()?Reflect.construct(t,n||[],Me(e).constructor):t.apply(e,n))}function Sh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(e)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function $h(e,t){return t&&(Ih(t)==="object"||typeof t=="function")?t:Ah(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}function Ih(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_r=function(){return!!e})()}var Oh=function(e){Dh(t,e);function t(n,r,u){Sh(this,t);var o;o=wh(this,t,[r]),ne(o,"headers",void 0),ne(o,"footers",void 0),ne(o,"pageIndex",void 0),ne(o,"pageSize",void 0),ne(o,"pageSizeOptions",void 0),ne(o,"totalCount",void 0),pt(o,"headers",r==null?void 0:r.headers,n,u),pt(o,"footers",r==null?void 0:r.footers,n);var i;o.pageIndex=(i=r==null?void 0:r.pageIndex)!==null&&i!==void 0?i:1;var l;o.pageSize=(l=r==null?void 0:r.pageSize)!==null&&l!==void 0?l:20;var s;o.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var a;return o.totalCount=(a=r==null?void 0:r.totalCount)!==null&&a!==void 0?a:0,o}return t}(z);function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ph(e){if(Array.isArray(e))return Vt(e)}function Rh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Er(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function xh(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){Er(o,r,u,i,l,"next",s)}function l(s){Er(o,r,u,i,l,"throw",s)}i(void 0)})}}function Lh(e,t,n){return t=Z(t),Uh(e,Ar()?Reflect.construct(t,n||[],Z(e).constructor):t.apply(e,n))}function Mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function br(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Th(e,t,n){return t&&br(e.prototype,t),n&&br(e,n),e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(u,o,i){var l=Hh(u,o);if(!!l){var s=Object.getOwnPropertyDescriptor(l,o);return s.get?s.get.call(i||u):s.value}},re(e,t,n||e)}function Z(e){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Z(e)}function jh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Vh(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Te(e,u,n[u])})}return e}function kh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Fr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kh(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Uh(e,t){return t&&(Wh(t)==="object"||typeof t=="function")?t:Rh(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},qt(e,t)}function Hh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Z(e),e!==null););return e}function Cr(e){return Ph(e)||Vh(e)||Nh(e)||qh()}function Wh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nh(e,t){if(!!e){if(typeof e=="string")return Vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vt(e,t)}}function Ar(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ar=function(){return!!e})()}function zh(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Gh=function(e){jh(t,e);function t(n){Mh(this,t);var r;return r=Lh(this,t,[n]),Te(r,"controlType","list"),Te(r,"props",void 0),r.props=new Oh(r,n==null?void 0:n.props,"Designer"),r}return Th(t,[{key:"validate",value:function(r,u){var o=this,i=this,l=function(){return re(Z(t.prototype),"validate",o)};return xh(function(){return zh(this,function(s){switch(s.label){case 0:return[4,l().call(i,r)];case 1:return s.sent(),[4,Promise.all(i.props.headers.map(function(a){return a.validate(r,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=re(Z(t.prototype),"toDataBindModel",this).call(this),u=r?[r]:[],o=this.id;return this.props.headers.reduce(function(i,l){var s=l.toDataBindModel(o);if(Array.isArray(s)){var a=s.filter(function(f){return!!f});return Cr(i).concat(Cr(a))}return s&&i.push(s),i},u)}},{key:"toSchema",value:function(){var r=re(Z(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(o){return o.toSchema()});return Fr(Br({},r),{props:Fr(Br({},this.props),{headers:u})})}}]),t}(R);Te(Gh,"controlFieldType",j.LIST);function Kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wr(e,t,n){return t=je(t),Xh(e,$r()?Reflect.construct(t,n||[],je(e).constructor):t.apply(e,n))}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function Dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kt(e,t)}function Xh(e,t){return t&&(Jh(t)==="object"||typeof t=="function")?t:Kh(e)}function kt(e,t){return kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},kt(e,t)}function Jh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($r=function(){return!!e})()}var Qh=function(e){Dr(t,e);function t(n){Sr(this,t);var r;return r=wr(this,t,[n]),x(r,"caption",{type:"string",required:!0,message:m("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),x(r,"width",{type:"number",required:!1,message:m("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),r.width.required=n.widthType==="px",r}return t}(_t),Zh=function(e){Dr(t,e);function t(n){Sr(this,t);var r;r=wr(this,t,[n]),x(r,"widthType",void 0),x(r,"width",void 0),x(r,"caption",void 0),x(r,"dataBind",void 0),x(r,"autoWidth",void 0),x(r,"fixed",void 0),x(r,"sort",void 0),x(r,"align",void 0),x(r,"colSpan",void 0),x(r,"autoHeight",void 0),x(r,"children",void 0);var u;r.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var o;r.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var i;r.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"none",r.autoWidth=new Gp(n==null?void 0:n.autoWidth),r.dataBind=new kn(n==null?void 0:n.dataBind);var l;r.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(z);x(Zh,"Rules",Qh);function Ut(e){return"children"in e&&ve(e.children)}function Ir(e){return"headers"in e.props&&ve(e.props.headers)}function Ve(e,t){Array.isArray(e)&&e.map(n=>{n.type===v.SUBTABLE?Ve(n.props.headers,t):Ut(n)?Ve(n==null?void 0:n.children,t):n.controlType===P.FORM&&t(n)})}const Yh=[v.AMOUNT,v.CALC,v.DATE_RANGE];m("CMD.amount",null,"\u91D1\u989D"),j.DECIMAL,m("CMD.currency",null,"\u5E01\u79CD"),j.VARCHAR,m("CMD.result",null,"\u7ED3\u679C"),j.DECIMAL,m("CMD.unit",null,"\u5355\u4F4D"),j.VARCHAR,m("CMD.startTime",null,"\u5F00\u59CB\u65F6\u95F4"),j.TIMESTAMP,m("CMD.endTime",null,"\u7ED3\u675F\u65F6\u95F4"),j.TIMESTAMP;function ey(e){let t=[];return Ve(e,n=>{n.controlType===P.FORM?t.push(n):(n.type,v.SUBTABLE)}),t}function ty(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===v.TITLE)return n;if(Yh.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(u=>{const o=r[u],i=n.controlId+"_"+u;o.fieldCode=Or(i),o.dataCode=t})}else n.dataBind.fieldCode=Or(n.controlId),n.dataBind.dataCode=t;return n})}function Or(e){const t="field_";return e.startsWith(t)?e:t+e}function Ht(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function Wt(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function Nt(e,t,n){return cn(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(u=>u.validate(t,n)))).every(u=>u):yield e.validate(t,n)})}const ny=[v.TITLE,v.GRID_TABLE_COLUMN,v.SUBTABLE_COLUMN,v.OPERATION_COLUMN,v.DATA_VIEW,v.LIST_VIEW,v.HEADER,v.FOOTER,v.SIMPLE_SEARCH,v.ROW,v.GRID_ROW,v.COL,v.GRID,v.DIVIDER,v.TAB_PANE,v.TAB,v.CARD_GROUP,v.ACTION_BAR,v.GRID_LAYOUT_CONTAINER,v.GRID_LAYOUT_WRAP],ry=[v.CALC],uy={check:{id:"listPageCheckBtnId",caption:m("CMD.view",null,"\u67E5\u770B")},edit:{id:"listPageEditBtnId",caption:m("CMD.edit",null,"\u7F16\u8F91")},delete:{id:"listPageDeleteBtnId",caption:m("CMD.delete",null,"\u5220\u9664")}};function Be(e,t){var r,u,o,i,l,s,a,f,h;const n=[];if(ve(e))n.push(...e.map(g=>Be(g,t)).flat());else{const g=e.type,{caption:_,content:C}=e.props;let d;if(ny.includes(g))g===v.OPERATION_COLUMN&&Object.entries(uy).reduce((y,[c,{caption:p,id:b}])=>{var S;const A=e.props[c];return A&&A.isShow&&y.push({controlId:b,caption:p,type:e.type,controlType:e.controlType,parentId:(S=t==null?void 0:t.controlId)!=null?S:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),y},n);else if(d={controlId:e.id,caption:_||C||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!ry.includes(g),canRead:!0,canHide:!0,group:"element"},t&&t.type===v.SUBTABLE&&(d.caption=t.caption+"_"+d.caption),g===v.VUE_FORM_ITEM&&(d.caption=e.props.controlExportName||e.name),(e.controlType===P.FORM||e.controlType===P.COLUMN)&&((o=(u=e.props)==null?void 0:u.dataBind)==null?void 0:o.fieldCode)!==void 0&&((l=(i=e.props)==null?void 0:i.dataBind)==null?void 0:l.fieldCode)!==""&&(d.group="field"),n.push(d),g===v.VUE_FORM_ITEM){let y="element";((a=(s=e.props)==null?void 0:s.dataBind)==null?void 0:a.fieldCode)!==void 0&&((h=(f=e.props)==null?void 0:f.dataBind)==null?void 0:h.fieldCode)!==""&&(y="field");const c=e.props.permissions;c==null||c.map(p=>{var b;d={controlId:p.key,caption:p.caption,type:e.type,controlType:e.controlType,parentId:(b=e.id)!=null?b:null,canEdit:!0,canRead:!0,canHide:!0,group:y},n.push(d)})}e.children&&n.push(...e.children.map(y=>Be(y,t)).flat()),e.controlType===P.LIST&&n.push(...e.props.headers.map(y=>Be(y,d)).flat())}return n}class ue extends ye{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new he,this.fieldTypes=j,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(u){throw u}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return cn(this,null,function*(){return Nt(...t)})}getModelBindInfoList(...t){return Wt(...t)}getSchema(...t){return Ht(...t)}listenControlHook(...t){return Qn.on(...t)}}ue.EventLogic=he;class iy{constructor(){this.designer=new ue}ListPageBuilder(){const t=this.designer.createControlInstance(v.LIST_VIEW),n=this.designer.createControlInstance(v.SIMPLE_SEARCH),r=this.designer.createControlInstance(v.GRID_TABLE),u=this.designer.createControlInstance(v.CREATE_FORM_LIST_BUTTON),o=this.designer.createControlInstance(v.IMPORT_RECORD_LIST_BUTTON),i=this.designer.createControlInstance(v.EXPORT_LIST_BUTTON),l=this.designer.createControlInstance(v.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(o),r.children.push(i),r.children.push(l),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(v.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(v.SIMPLE_SEARCH),r=this.designer.createControlInstance(v.GRID_TABLE),u=this.designer.createControlInstance(v.EXPORT_LIST_BUTTON),o=this.designer.createControlInstance(v.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(o),t.children.push(n),t.children.push(r),t.props.rowStyle={type:"rules",interval:{color:""},rules:[{id:"default",name:m("CMD.approvedDocuments",null,"\u5BA1\u6279\u901A\u8FC7\u5355\u636E"),color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:m("CMD.processStatus",null,"\u6D41\u7A0B\u72B6\u6001")},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}],settings:[{color:"theme",field_codes:["process_status"],type:"fontColor",scope:"col"}],script:"(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"}]},t}FormPageBuilder(){const t=this.designer.createControlInstance(v.DATA_VIEW),n=this.designer.createControlInstance(v.TITLE),r=this.designer.createControlInstance(v.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(v.GRID),n=this.designer.createControlInstance(v.VUE_PAGE);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class Pr{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?Ce(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?Lr(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=Ce(t)}updateDataFieldCodeMap(t){const n=Ce(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[u,o]of r.entries())if(o.id===t.id){r.delete(u);break}xr(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;Fe(this.instance,u=>{t.push(u),n.set(u.id,u),xr(u,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function Rr(e,t,n){const{dataCode:r,fieldCode:u}=t;r&&u&&(e.has(r)||e.set(r,new Map),e.get(r).set(u,n))}function xr(e,t){if(e.controlType===P.FORM){const n=e.props.dataBind;sr(n)?Rr(t,n,e):n&&Object.values(n).forEach(r=>{Rr(t,r,e)})}}function Fe(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{t(r),Ut(r)&&Fe(r.children,t),Ir(r)&&Fe(r.props.headers,t)})}function zt(e){return[v.SUBTABLE,v.DATA_VIEW,v.LIST_VIEW].includes(e.type)}function Ce(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!zt(t);)t=t.parent;return t}function Lr(e){const t=[e];return Fe(e,n=>{n!==e&&t.includes(n.parent)&&!zt(n)&&t.push(n)}),t}function oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ay(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}function Gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=function(){function e(t){oy(this,e),Gt(this,"visible",void 0),Gt(this,"expression",void 0),Gt(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var u;this.updateParent=(u=t==null?void 0:t.updateParent)!==null&&u!==void 0?u:!1}return ay(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sy(e,t,n){return t&&Tr(e.prototype,t),n&&Tr(e,n),e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cy=function(){function e(t){ly(this,e),q(this,"type",void 0),q(this,"label",void 0),q(this,"key",void 0),q(this,"component",void 0),q(this,"effect",void 0),q(this,"scopeEffect",void 0),q(this,"defaultValue",void 0),q(this,"validator",void 0),q(this,"props",void 0),q(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:ap,this.defaultValue=t.defaultValue,this.validator=t.validator;var u;this.props=(u=t.props)!==null&&u!==void 0?u:new G,this.effectKeys=Object.keys(this.effect)}return sy(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(u){var o=new RegExp("^".concat(u,"(\\.\\w+)*$"));return o.test(n)}).map(function(u){return r.effect[u]})}},{key:"callEffectFn",value:function(n,r){try{var u=n.apply(null,r);at(u)&&Object.assign(this.props,u)}catch(o){pe(`effect error
2
+ `.concat(o))}}},{key:"callEffect",value:function(n){for(var r=this,u=arguments.length,o=new Array(u>1?u-1:0),i=1;i<u;i++)o[i-1]=arguments[i];this.filterEffects(n).forEach(function(l){return r.callEffectFn(l,o)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];this.callEffectFn(this.scopeEffect,r)}}]),e}();function fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jr=function e(t){fy(this,e),Y(this,"type","group"),Y(this,"title",void 0),Y(this,"required",void 0),Y(this,"items",void 0),Y(this,"tips",void 0),Y(this,"fromId",void 0),Y(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(u){var o;return(o=u.props)===null||o===void 0?void 0:o.visible})};function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function py(e){return"type"in e&&e.type==="tab"}var Ae=function e(t){dy(this,e),Kt(this,"type","tab"),Kt(this,"title",void 0),Kt(this,"items",void 0),this.title=t.title,this.items=t.items};function Vr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vy(e){if(Array.isArray(e))return e}function hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t,n){return t=qe(t),by(e,qr()?Reflect.construct(t,n||[],qe(e).constructor):t.apply(e,n))}function my(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function _y(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],u=!0,o=!1,i,l;try{for(n=n.call(e);!(u=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));u=!0);}catch(s){o=!0,l=s}finally{try{!u&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function Ey(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function by(e,t){return t&&(Fy(t)==="object"||typeof t=="function")?t:hy(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}function By(e,t){return vy(e)||_y(e,t)||Cy(e,t)||Ey()}function Fy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cy(e,t){if(!!e){if(typeof e=="string")return Vr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vr(e,t)}}function qr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qr=function(){return!!e})()}var Ay=function(e){gy(t,e);function t(n){my(this,t);var r;return r=yy(this,t,[n]),at(n)&&Object.entries(n).forEach(function(u){var o=By(u,2),i=o[0],l=o[1];r[i]=l}),r}return t}(G);function wy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sy(e,t,n){return t=Ue(t),Iy(e,kr()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ue(e)}function $y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function Iy(e,t){return t&&(Oy(t)==="object"||typeof t=="function")?t:wy(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}function Oy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kr=function(){return!!e})()}var Py=function(e){$y(t,e);function t(n){Dy(this,t);var r;r=Sy(this,t,[n]),ke(r,"maxLength",void 0),ke(r,"minLength",void 0),ke(r,"placeholder",void 0),ke(r,"i18n",void 0);var u;r.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:"";var o;r.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:"";var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var l;return r.i18n=(l=n==null?void 0:n.i18n)!==null&&l!==void 0?l:!1,r}return t}(G);function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t,n){return t=He(t),Ty(e,Ur()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function My(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function Ty(e,t){return t&&(jy(t)==="object"||typeof t=="function")?t:Ry(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Zt(e,t)}function jy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ur(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ur=function(){return!!e})()}var Vy=function(e){My(t,e);function t(n){Ly(this,t);var r;r=xy(this,t,[n]),Qt(r,"max",void 0),Qt(r,"min",void 0),Qt(r,"placeholder",void 0);var u;r.max=(u=n==null?void 0:n.max)!==null&&u!==void 0?u:"";var o;r.min=(o=n==null?void 0:n.min)!==null&&o!==void 0?o:"";var i;return r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"",r}return t}(G);function qy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ky(e,t,n){return t=We(t),Wy(e,Hr()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function Uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function Hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function Wy(e,t){return t&&(Ny(t)==="object"||typeof t=="function")?t:qy(e)}function en(e,t){return en=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},en(e,t)}function Ny(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Hr=function(){return!!e})()}var zy=function(e){Hy(t,e);function t(n){Uy(this,t);var r;r=ky(this,t,[n]),Yt(r,"showType",void 0),Yt(r,"tips",void 0),Yt(r,"disabled",void 0);var u;r.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"switch";var o;r.tips=(o=n==null?void 0:n.tips)!==null&&o!==void 0?o:"";var i;return r.disabled=(i=n==null?void 0:n.disabled)!==null&&i!==void 0?i:!1,r}return t}(G);function Gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ky(e,t,n){return t=Ne(t),Zy(e,Wr()?Reflect.construct(t,n||[],Ne(e).constructor):t.apply(e,n))}function Xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(e)}function Qy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tn(e,t)}function Zy(e,t){return t&&(Yy(t)==="object"||typeof t=="function")?t:Gy(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},tn(e,t)}function Yy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wr=function(){return!!e})()}var e5=function(e){Qy(t,e);function t(n){Xy(this,t);var r;r=Ky(this,t,[n]),Jy(r,"options",void 0);var u;return r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[],r}return t}(G);function t5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(e,t,n){return t=ze(t),i5(e,zr()?Reflect.construct(t,n||[],ze(e).constructor):t.apply(e,n))}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(e)}function u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function i5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:t5(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zr=function(){return!!e})()}var a5=function(e){u5(t,e);function t(n){r5(this,t);var r;r=n5(this,t,[n]),Nr(r,"placeholder",void 0),Nr(r,"options",void 0);var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var o;return r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[],r}return t}(G);function l5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s5(e,t,n){return t=Ge(t),d5(e,Kr()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function c5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function f5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rn(e,t)}function d5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:l5(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},rn(e,t)}function p5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kr=function(){return!!e})()}var v5=function(e){f5(t,e);function t(n){c5(this,t);var r;r=s5(this,t,[n]),Gr(r,"options",void 0),Gr(r,"showType",void 0);var u;r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[];var o;return r.showType=(o=n==null?void 0:n.showType)!==null&&o!==void 0?o:"outline",r}return t}(G);function h5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t,n){return t=Ke(t),_5(e,Xr()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function m5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function g5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function _5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:h5(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}function E5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xr=function(){return!!e})()}var b5=function(e){g5(t,e);function t(n){m5(this,t);var r;r=y5(this,t,[n]),ie(r,"maxLength",void 0),ie(r,"minLength",void 0),ie(r,"placeholder",void 0),ie(r,"i18n",void 0),ie(r,"maxRows",void 0),ie(r,"minRows",void 0);var u;r.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:"";var o;r.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:"";var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var l;r.maxRows=(l=n==null?void 0:n.maxRows)!==null&&l!==void 0?l:"";var s;r.minRows=(s=n==null?void 0:n.minRows)!==null&&s!==void 0?s:"";var a;return r.i18n=(a=n==null?void 0:n.i18n)!==null&&a!==void 0?a:!1,r}return t}(G);function B5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function on(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){B5(e,u,n[u])})}return e}function F5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function an(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function C5(e,t){switch(e){case"input":return new Py(t);case"textarea":return new b5(t);case"input-number":return new Vy(t);case"switch":return new zy(t);case"radio":return new v5(t);case"checkbox":return new e5(t);case"select":return new a5(t);default:return new Ay(t)}}function A5(e){return function(t){var n=e.get(t);if(!!n)return new cy(an(on({},n),{props:C5(n.component,"props"in n?n.props:void 0)}))}}function w5(e){var t=e.fields.reduce(function(u,o){return u.set(o.key,o),u},new Map);function n(u){return new jr(an(on({},u),{items:u.items.map(A5(t)).filter(Boolean)}))}function r(u){return u.map(n)}return e.groups.map(function(u){return py(u)?new Ae(an(on({},u),{items:r(u.items)})):n(u)})}let ln="";class Jr extends Pn{constructor(t){super(),this.isMounted=!1,this.id=et(8),this.__pluginsApplied=!1,this.getSchema=Ht,this.getModelBindInfoList=Wt,this.generatePermissions=Be,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=ue,schema:u,mode:o="form",store:i={},messagesI18n:l,language:s=pn}=this.$options;this.eventLogic=new he,this.designer=new r,this.store=new Pr(le({instance:this.designer.createControl(Array.isArray(u)?u:[u])},i)),this.mode=o,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{ln=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),ln=""}catch(r){pe(`${ln||t.constructor.name} Plugin apply Error
3
+ ${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var u,o;const t=this.store.selected;if(!t)return;let n=this.getControlSetting(t.type);if(((u=t.parent)==null?void 0:u.controlType)===P.WRAP){const i=this.getControlSetting((o=t.parent)==null?void 0:o.type);n=this.concatSetting(n,i,t.parent.id)}this.store.setSelectInstanceSettings(n),this.callSelectedEffect("");const r={from:null,current:this.store.selectedInstanceDataScopeParent,oldParent:null,newParent:t.parent};this.callSelectedScopeEffect(r)}concatSetting(t,n,r){var o,i,l,s,a,f,h,g;let u=t;if(((o=t[0])==null?void 0:o.type)==="tab"&&((i=n[0])==null?void 0:i.type)==="tab"){const _=t,C=n.slice(0);u=_.map((d,y)=>{const c=new Ae(d),p=C.findIndex(A=>A.title===d.title);if(p===-1)return c;const b=C.splice(p,1)[0];return b&&(c.items=[...this.formatGroupSetting(b.items,r),...c.items]),c}),C.length&&(u=[...u,...C.map(d=>this.formatGroupSetting(d,r))])}else if(((l=t[0])==null?void 0:l.type)==="group"&&((s=n[0])==null?void 0:s.type)==="group"){const _=t,C=n;u=[...this.formatGroupSetting(C,r),..._]}else if(((a=t[0])==null?void 0:a.type)==="tab"&&((f=n[0])==null?void 0:f.type)==="group"){const _=t,C=n;u=_.map((d,y)=>{const c=new Ae(d);return y===0&&(c.items=[...this.formatGroupSetting(C,r),...c.items]),c})}else if(((h=t[0])==null?void 0:h.type)==="group"&&((g=n[0])==null?void 0:g.type)==="tab"){const _=t;u=n.map((d,y)=>{const c=new Ae(d);return y===0&&(c.items=[...c.items,...this.formatGroupSetting(_,r)]),c})}return u}formatGroupSetting(t,n){if(ve(t))return t.map(r=>{const u=new jr(r);return u.fromId=n,u});{const r=new Ae(t);return r.items=this.formatGroupSetting(r.items,n),r}}setControlConfig(...t){return this.designer.registerControlConfig(...t)}getControlConfig(t){return this.designer.getControlConfig(t)}getControlSetting(t){const n=this.designer.getControlSetting(t);return n?w5(n):[]}selectInstance(t){this.beforeSelectInstance(),this.store.setSelectInstance(t),this.afterSelectInstance()}setSelectedFieldItem(t){this.store.setSelectedFieldItem(t),this.callSelectedEffect("dataBind",{fieldItem:t})}moveStart(t){const n=this.getInstance(t);n&&this.store.setMovingInstance(n)}moveEnd(t=this.store.movingInstance){var s;if(t===null)return;const n=this.getInstance(t);if(!n)return;const r=this.store.movingInstanceOldDataScopeParent,u=Ce(n),o=this.store.movingInstanceOldParent,i=n.parent;this.store.setMovingInstance(null),n.id!==((s=this.store.selected)==null?void 0:s.id)?this.selectInstance(n):this.store.setSelectInstance(n),this.store.getFlatInstances();const l={from:r,current:u,oldParent:o,newParent:i};this.callSelectedScopeEffect(l),o?this.emit("moved",le({},l)):this.emit("joined",le({},l))}createInstance(t,n){return this.designer.createControlInstance(t,n)}getInstance(t){return typeof t=="string"?this.store.instanceIdMap.get(t):t}getInstances(){return this.store.flatInstances}getInstancesFromType(t){return this.getInstances().filter(n=>n.type===t)}getDataScopeInstances(){return this.store.selectedDataScopeFlatInstances}getDataScopeInstancesFromType(t){return this.getDataScopeInstances().filter(n=>n.type===t)}updateInstancePropValue(t,n,r,u){var i;!wn(t.props,n,r)||(n.startsWith("dataBind")&&this.store.updateDataFieldCodeMap(t),t.id===((i=this.store.selected)==null?void 0:i.id)&&this.callSelectedEffect(n,u),this.emit("updated",{instance:t,propName:n,value:r}))}updateInstanceProps(t,n,r,u=""){Object.entries(n).forEach(([o,i])=>{const l=`${u?u+".":""}${o}`;wp(i)?this.updateInstanceProps(t,i,r,l):this.updateInstancePropValue(t,l,i,r)})}setInstance(t,n,r,u){lt(n)?this.updateInstancePropValue(t,String(n),r,u):this.updateInstanceProps(t,n,r)}removeInstance(t){const n=t.parent;if(!n)return;const r=n.controlType===P.LIST&&n.props.headers.includes(t)?n.props.headers:n.children,u=r.findIndex(o=>o===t);u>-1&&r.splice(u,1),this.store.getFlatInstances(),this.emit("removed",{instance:t,index:u,parent:n})}replaceInstance(t,n){const r=t.parent;if(!r)return;const u=r.controlType===P.LIST&&r.props.headers.includes(t)?r.props.headers:r.children,o=u.findIndex(i=>i===t);o>-1&&u.splice(o,1,n),this.store.getFlatInstances()}updateInstanceType(t,n){const r=t.toSchema(),u=this.createInstance(n,{id:r.id,props:r.props});if(!u){De(`can\u2018t update instance type to ${n}`);return}return u}validate(t,n){return Nt(this.store.instance,t,n)}getCustomControlsInUse(){return this.getInstances().filter(this.assertInstanceIsCustomControl).reduce((t,n)=>(t.includes(n.type)||t.push(n.type),t),[])}assertInstanceIsCustomControl(t){return!Sp(lt(t)?t:t.type)}static register(...t){return ue.register(...t),this}static judgeControlIsRegistered(t){return ue.staticRegisteredTypes.has(t.Designer.controlType)}judgeControlIsRegistered(t){return this.designer.registeredControlTypes.has(t.Designer.controlType)}register(...t){return this.designer.registerControl(t[0]),this}assertInstance(t,n){return lt(n)?t.type===n:n.includes(t.type)}getInstanceInListControl(t){let n=t;for(;n;){if(n.controlType===P.LIST)return!0;n=n.parent}return!1}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}callSelectedEffect(t,n={}){this.store.selectedInstanceSettingItems.forEach(r=>{r.callEffect(t,this,le({control:this.store.selected},n))})}callSelectedScopeEffect(t={}){this.store.selectedInstanceSettingItems.forEach(n=>{n.callScopeEffect(this,le({control:this.store.selected},t))})}}Jr.EventLogic=he,B.Builder=iy,B.Designer=ue,B.Driven=Jr,B.Store=Pr,B.checkSchema=Nt,B.fillModelBindInfoListFieldCode=ty,B.findInstanceDataScopeParent=Ce,B.generatePermissions=Be,B.getDataScopeFlatInstances=Lr,B.getMasterFormControls=ey,B.getModelBindInfoList=Wt,B.hasChildrenControl=Ut,B.hasHeaderControl=Ir,B.isDataScopeInstance=zt,B.loop=Fe,B.loopFormControl=Ve,B.toSchema=Ht,Object.defineProperty(B,"__esModule",{value:!0})});