ss-component-new 1.2.199 → 1.2.201

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.
Files changed (113) hide show
  1. package/dist/{MTLLoader-DACeOwx8.cjs → MTLLoader-DeVVTn9U.cjs} +1 -1
  2. package/dist/{MTLLoader-DO6JtV2J.js → MTLLoader-EGw2WpGn.js} +1 -1
  3. package/dist/{OrbitControls-Dnwv1l-5.cjs → OrbitControls-DUDihpSn.cjs} +1 -1
  4. package/dist/{OrbitControls-CVZSxhco.js → OrbitControls-DsREqTNw.js} +1 -1
  5. package/dist/{URDFLoader-BoSgd6gH.cjs → URDFLoader-CNnR_d-M.cjs} +1 -1
  6. package/dist/{URDFLoader-BNqQfPqb.js → URDFLoader-DR_ZnSlg.js} +2 -2
  7. package/dist/{animationData-D3-99sWf.js → animationData-B0xfieMG.js} +2 -2
  8. package/dist/{animationData-DHASNMoi.cjs → animationData-BmO7uT95.cjs} +1 -1
  9. package/dist/{array-DuMZPpVP.cjs → array-C-4Fn6kn.cjs} +1 -1
  10. package/dist/{array-DxkXasEB.js → array-DtzBMDtX.js} +3 -3
  11. package/dist/{iconfont-U7rG6UGs.cjs → iconfont-BU-e8plC.cjs} +1 -1
  12. package/dist/{iconfont-AyWwUMxc.js → iconfont-hcY1c1Ph.js} +2 -2
  13. package/dist/{index-C71_AKGx.cjs → index--na8gJFk.cjs} +1 -1
  14. package/dist/{index-r48vNrKN.js → index-B3Nii_wb.js} +2 -2
  15. package/dist/{index-ub7lvsfV.cjs → index-B7pEfxW6.cjs} +1 -1
  16. package/dist/{index-DRDKKizg.js → index-BA2liwLn.js} +7 -8
  17. package/dist/{index-CO41nOz7.js → index-BAaCpfqG.js} +2 -2
  18. package/dist/{index-BnITIl1C.cjs → index-BCn8LcAH.cjs} +1 -1
  19. package/dist/{index-C5jivsmi.js → index-BEDAWaV5.js} +11 -11
  20. package/dist/{index-8w6PrNkw.cjs → index-BFDTTNzf.cjs} +1 -1
  21. package/dist/{index-BPTR1s4o.cjs → index-BFzjLkhB.cjs} +10 -10
  22. package/dist/{index-0lSRcHqv.js → index-BKNTCrry.js} +2 -2
  23. package/dist/{index-DOItJqcJ.cjs → index-BP07Gnjo.cjs} +11 -11
  24. package/dist/{index-DfFq9kkn.js → index-BdG8TrO6.js} +2 -2
  25. package/dist/{index-CcNuHoZS.cjs → index-BnrtLGSt.cjs} +1 -1
  26. package/dist/{index-CP6V9Df_.cjs → index-BuAS_9Ow.cjs} +1 -1
  27. package/dist/{index-DEN8cJAm.js → index-BvOJGx4t.js} +2 -2
  28. package/dist/{index-CXC0u8pm.cjs → index-By--71sB.cjs} +1 -1
  29. package/dist/{index-Chmm97CU.js → index-C1JRzzYq.js} +5 -5
  30. package/dist/{index-Oy-hRR6Z.js → index-C71lL2Zl.js} +4 -4
  31. package/dist/{index-zAtSFM2v.cjs → index-C8JWH8zu.cjs} +1 -1
  32. package/dist/{index-DiRujSe_.cjs → index-CB-3bIU7.cjs} +1 -1
  33. package/dist/{index-Bwb6w0wO.js → index-CGNh6A1u.js} +4 -4
  34. package/dist/{index-C1fTLujM.js → index-CQOLlnCU.js} +3 -3
  35. package/dist/{index-CmNMrF68.js → index-CS7eiT5k.js} +12 -12
  36. package/dist/{index-EzLiPHAn.js → index-CXsoc0ts.js} +4 -4
  37. package/dist/{index-BJO_TiAy.cjs → index-CeTyBScG.cjs} +1 -1
  38. package/dist/index-CleiTW2d.cjs +1 -0
  39. package/dist/{index-RLfjsj4L.js → index-CwHRaxk9.js} +2 -2
  40. package/dist/{index-DjzwipY0.cjs → index-Cz4gIM1f.cjs} +1 -1
  41. package/dist/{index-BZ5_PpJp.cjs → index-D04LOBS0.cjs} +1 -1
  42. package/dist/{index-CdMT_Zkq.cjs → index-D3BeZsw9.cjs} +1 -1
  43. package/dist/{index-DYFZIY8j.cjs → index-DDJnuYAl.cjs} +1 -1
  44. package/dist/index-DGcizPdx.js +3112 -0
  45. package/dist/{index-gruT7omp.js → index-DHtKscY6.js} +1 -1
  46. package/dist/{index-BDhmy-7L.js → index-DKyiUFoj.js} +20 -20
  47. package/dist/{index-CgelR-6I.js → index-DN9fWZ39.js} +3 -3
  48. package/dist/{index-CT-1q_Sb.js → index-DQsD0m6q.js} +1 -1
  49. package/dist/{index-Dq9Tho6E.js → index-DRjU_LhS.js} +3 -3
  50. package/dist/{index-BQEwWecE.cjs → index-DVuG6QBw.cjs} +1 -1
  51. package/dist/{index-D-uo7H2E.cjs → index-DW1RCzWC.cjs} +1 -1
  52. package/dist/{index-B-d6-ohn.js → index-DW33UCCH.js} +3 -3
  53. package/dist/{index-BDcBHWC2.cjs → index-D_07hjnO.cjs} +1 -1
  54. package/dist/{index-CnuMyt69.cjs → index-DbkmELIs.cjs} +1 -1
  55. package/dist/{index-D_DpNI2W.cjs → index-DmKjHcw7.cjs} +1 -1
  56. package/dist/{index-BCfX45g1.cjs → index-DoL-xCP9.cjs} +1 -1
  57. package/dist/{index-CFl9wC5o.js → index-Dr6wRpUQ.js} +6 -6
  58. package/dist/{index-CLqCXsqK.cjs → index-DtFLuXja.cjs} +1 -1
  59. package/dist/{index-7MBVUN82.js → index-DufZVmKf.js} +8 -9
  60. package/dist/{index-BO3Qkqzh.js → index-DvgKkg8E.js} +3 -3
  61. package/dist/{index-D31qdo3B.cjs → index-DywCAE3u.cjs} +1 -1
  62. package/dist/{index-4awf2rkD.js → index-ELxg57Gi.js} +6 -6
  63. package/dist/{index-z78zgQsK.cjs → index-G1p03SY5.cjs} +1 -1
  64. package/dist/{index-DzElE7Kh.js → index-HFvfNokw.js} +1 -1
  65. package/dist/{index-KaxOq1_-.cjs → index-K6PeHL12.cjs} +1 -1
  66. package/dist/{index-DqdWYUrz.cjs → index-MtfLKQp3.cjs} +1 -1
  67. package/dist/{index-BucMQlBB.js → index-P6FeXt6g.js} +1 -1
  68. package/dist/{index-3oQGURYh.js → index-VnVlZEmb.js} +1 -1
  69. package/dist/{index-B6K14gG9.cjs → index-i6xf9v_E.cjs} +1 -1
  70. package/dist/{index-BseikzDK.js → index-m_LW0QsX.js} +2 -2
  71. package/dist/{index-DaRuwvRP.cjs → index-mjz9Da8Y.cjs} +1 -1
  72. package/dist/{index-aWkZx7My.js → index-svyWq6yw.js} +2 -2
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DpRm1D1L.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3T-DoEef.cjs} +13 -13
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-hMJCL1Qk.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Db2wtXl-.js} +7085 -7043
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C8n9olfd.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bft_35IC.cjs} +215 -215
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DgCNtMnV.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DzxsDmSo.js} +15959 -15925
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B9POGhwa.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Bg3P8eER.js} +7 -7
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-aE8dAbK9.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-YDD6WZNQ.cjs} +1 -1
  79. package/dist/index.vue_vue_type_style_index_1_lang-B6P8tuhB.cjs +3 -0
  80. package/dist/{index.vue_vue_type_style_index_1_lang-CtOB5lpf.js → index.vue_vue_type_style_index_1_lang-BwYhIkBS.js} +343 -467
  81. package/dist/{isString-D70CzuJZ.js → isString-5Nawl-Uc.js} +1 -1
  82. package/dist/{isString-Do5yyRUw.cjs → isString-DKZ1g7Pn.cjs} +1 -1
  83. package/dist/{main-Bhc4rs1O.js → main-CXonSl7o.js} +5 -5
  84. package/dist/{main-QJTAJyAl.cjs → main-CfdiYgA1.cjs} +1 -1
  85. package/dist/obj/model.mtl +42 -0
  86. package/dist/obj/model.obj +26110 -0
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +11 -11
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +12 -12
  92. package/dist/{threeModel-poOL5V2M.js → threeModel-CTtZuUDg.js} +5 -5
  93. package/dist/{threeModel-r6kZdDei.cjs → threeModel-CcZ_mIob.cjs} +1 -1
  94. package/dist/{threePreview-BY1POvl8.js → threePreview-D-RkLYC8.js} +4 -4
  95. package/dist/{threePreview-DKs8aYcW.cjs → threePreview-DUyJ3mb_.cjs} +1 -1
  96. package/dist/{threeSceneView-Cuz_EMZU.cjs → threeSceneView-BFqSAGP1.cjs} +1 -1
  97. package/dist/{threeSceneView-KKWkkD2y.js → threeSceneView-Cr5UX8FG.js} +11 -11
  98. package/dist/{threeSceneViewForCPMPIP-Dwa17cnT.js → threeSceneViewForCPMPIP-CTvL-EyL.js} +8 -8
  99. package/dist/{threeSceneViewForCPMPIP-DFMYV0Jz.cjs → threeSceneViewForCPMPIP-N80YwIx-.cjs} +1 -1
  100. package/dist/{threeTrackPathView-BrPuXqrr.cjs → threeTrackPathView-C3tSwHTX.cjs} +1 -1
  101. package/dist/{threeTrackPathView-D4w6l9m2.js → threeTrackPathView-Cp83uYdc.js} +5 -5
  102. package/dist/{threeViewerHost-krP0Lb0-.cjs → threeViewerHost--jBITe3r.cjs} +1 -1
  103. package/dist/{threeViewerHost-DCU9cNEx.js → threeViewerHost-DSYrQH3r.js} +4 -4
  104. package/dist/{urdfTree-CcC8aW11.cjs → urdfTree-B73vL4dE.cjs} +1 -1
  105. package/dist/{urdfTree-CQQPUmyr.js → urdfTree-CiLrHpgG.js} +1 -1
  106. package/dist/{workpieceTreePanel-B6x641Qw.js → workpieceTreePanel-CUiwX5FV.js} +4 -4
  107. package/dist/{workpieceTreePanel-Bm8mjA8R.cjs → workpieceTreePanel-sYKZQx-o.cjs} +1 -1
  108. package/package.json +1 -1
  109. package/public/obj/model.mtl +42 -0
  110. package/public/obj/model.obj +26110 -0
  111. package/dist/index-9FU0RWoV.js +0 -3297
  112. package/dist/index-B2FiRoly.cjs +0 -1
  113. package/dist/index.vue_vue_type_style_index_1_lang-UuP0ZBQR.cjs +0 -3
@@ -1 +0,0 @@
1
- "use strict";const l=require("vue"),C=require("./index-DOItJqcJ.cjs"),de=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C8n9olfd.cjs"),fl=require("./index-BPTR1s4o.cjs"),ir=require("./threeViewerHost-krP0Lb0-.cjs"),xa=require("./index-CXC0u8pm.cjs"),sa=require("./index.vue_vue_type_style_index_1_lang-UuP0ZBQR.cjs"),Da=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Vl=require("./index-CnuMyt69.cjs");require("./index-KaxOq1_-.cjs");const ur=require("./isString-Do5yyRUw.cjs"),Ma=q=>q.match(/\((.*)\)/)[1],sr={__name:"index",props:{isVisible:{type:Boolean,default:!1},title:{type:String,default:""},placement:{type:String,default:"bottom"},width:{type:Number,default:200}},setup(q){const se=q,ae=l.ref(null),R=l.ref(!1),K=l.ref(null);return l.watch(()=>se==null?void 0:se.isVisible,()=>{R.value=se==null?void 0:se.isVisible},{deep:!0,immediate:!0}),l.watch(()=>K.value,()=>{l.nextTick(()=>{var u,ce;(ce=(u=ae.value)==null?void 0:u.updatePopper)==null||ce.call(u)})},{deep:!0,immediate:!0}),(u,ce)=>{const xe=l.resolveComponent("el-popover");return l.openBlock(),l.createBlock(xe,{visible:R.value,title:se==null?void 0:se.title,placement:se==null?void 0:se.placement,width:se==null?void 0:se.width,ref_key:"popOverRef",ref:ae},{reference:l.withCtx(()=>[l.createElementVNode("div",null,[l.renderSlot(u.$slots,"reference",{ref_key:"referenceRef",ref:K})])]),default:l.withCtx(()=>[l.createElementVNode("div",null,[l.renderSlot(u.$slots,"content")])]),_:3},8,["visible","title","placement","width"])}}},Ao={key:0,class:"extra-button-content"},_o={class:"table-operator-wrap"},Bo={key:0,class:"extra-button-filter"},Oo={class:"form-content-value"},wo={key:1,class:"extra-header"},Uo={class:"drop-menu",style:{width:"120px"}},Lo={key:0},jo={key:1},Mo={key:1,class:"extra-button-content tabs-button-wrapper"},Po={class:"table-operator-wrap"},$o={class:"extra-button-filter"},Fo={class:"form-content-value"},Ro={key:0,class:"extra-header"},Ko={class:"drop-menu",style:{width:"120px"}},zo={key:0},Vo={key:1},qo={__name:"header",props:{pageLayout:{type:String,default:"vertical"},lockingPage:Boolean,level:{type:Number,default:1},compName:{type:String,default:"表格名称",required:!1},filterShow:{type:Boolean,default:!1},isDevMode:Boolean,selectNums:Number,dataNums:Number,filterValues:Array,buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick","filter","getImportData"],setup(q,{emit:se}){const ae=se,R=q,K=l.ref(""),u=l.ref(!1),ce=l.ref([]),xe=l.ref([{label:"取消",background:"#999999"},{label:"清空",background:"#999999"},{label:"确认"}]),$e=[{label:"新增",icon:"Plus"},{label:"导入",icon:"import"},{label:"导出",icon:"export"},{label:"OCR识别",icon:"ocr"}],Ce=ge=>{const Ae=ge.raw;if(!Ae)return;const Re=new FileReader;Re.onload=te=>{try{const je=new Uint8Array(te.target.result),He=de.readSync(je,{type:"array"}),Fe=He.SheetNames[0],re=He.Sheets[Fe],Qe=de.utils.decode_range(re["!ref"]).e.c+1,Y=new Array(Qe).fill(""),x=[];for(const X in re){if(X[0]==="!")continue;const{r:ye,c:Ne}=de.utils.decode_cell(X);let Xe=re[X].v;if(re[X].t==="n"&&Xe>0&&Xe<1e6&&(Xe=new Date((Xe-25569)*86400*1e3).toISOString().split("T")[0]),(Xe==null||Xe==="")&&(Xe=""),ye===0)Y[Ne]=Xe;else{if(!x[ye-1]){x[ye-1]={};for(let yl=0;yl<Qe;yl++)x[ye-1][`col_${yl}`]=""}x[ye-1][`col_${Ne}`]=Xe}}for(let X=0;X<Qe;X++)Y[X]===void 0&&(Y[X]="");const Me=x==null?void 0:x[0];if(!(Me!=null&&Me.hasOwnProperty("col_0")))return C.ElMessage.error("导入的数据列不匹配,请检查是否错位");ae("getImportData",Y,x)}catch(je){throw C.ElMessage.error(je.message),new Error(je.message)}},Re.readAsArrayBuffer(Ae)},ul=ge=>{var Re;const Ae=(Re=ce.value)==null?void 0:Re.reduce((te,je,He)=>(He===0?te[je.label]=ge:te[je.label]=je==null?void 0:je.value,te),{});ae("filter",Ae,ge,!0)},Cl=ge=>{ae("buttonClick",ge)},wl=ge=>{var Ae,Re;ce.value=(Re=(Ae=de.getColumnChild(C.cloneDeep(ge)))==null?void 0:Ae.filter(te=>(te==null?void 0:te.label)!==""&&(te==null?void 0:te.label)!=="操作"))==null?void 0:Re.map(te=>({label:(te==null?void 0:te.label)??"",value:"",name:(te==null?void 0:te.label)??"",isFormColHidden:te==null?void 0:te.isTableColHidden,width:2}))},Dl=l.ref(!1),Ul=ge=>{var Ae;if((ge==null?void 0:ge.buttonName)==="确认"&&(ae("filter",ge==null?void 0:ge.content),Dl.value=(ge==null?void 0:ge.content)&&Object.values(ge==null?void 0:ge.content).length>0),(ge==null?void 0:ge.buttonName)==="清空"){const Re=C.cloneDeep(ge==null?void 0:ge.content);for(const te in Re)Re[te]="";ce.value=(Ae=ce.value)==null?void 0:Ae.map(te=>({...te,value:""})),ae("filter",Re),Dl.value=!1}u.value=!1},Ie=()=>{var Ae,Re;ce.value=(Ae=ce.value)==null?void 0:Ae.map(te=>({...te,value:""}));const ge=(Re=ce.value)==null?void 0:Re.reduce((te,je)=>(te[je.label]=je.value,te),{});ae("filter",ge)};return l.onMounted(()=>{wl(R.columns)}),l.watch(()=>R.columns,()=>{wl(R.columns)},{deep:!0,immediate:!0}),(ge,Ae)=>{var re,Q,Qe,Y;const Re=l.resolveComponent("el-icon"),te=l.resolveComponent("svg-icon"),je=l.resolveComponent("el-input"),He=l.resolveComponent("el-button"),Fe=l.resolveComponent("el-upload");return q.pageLayout==="vertical"?(l.openBlock(),l.createElementBlock("div",Ao,[l.createElementVNode("div",{class:l.normalizeClass(q.compName?"table-name-wrap":""),style:l.normalizeStyle({background:(R==null?void 0:R.level)>1?"transparent":"var(--ssgroup-background)",paddingLeft:((R==null?void 0:R.level)-1)*12+"px",fontWeight:600-((R==null?void 0:R.level)-1)*100>=400?600-((R==null?void 0:R.level)-1)*100:400,fontSize:17-(R==null?void 0:R.level)>=14?17-(R==null?void 0:R.level)+"px":"14px"})},l.toDisplayString(q.compName),7),l.createElementVNode("div",_o,[R!=null&&R.filterShow?(l.openBlock(),l.createElementBlock("div",Bo,[l.createVNode(sr,{title:"",width:800,placement:"bottom-start",isVisible:u.value},{reference:l.withCtx(()=>{var x,Me,X,ye;return[l.createVNode(je,{modelValue:K.value,"onUpdate:modelValue":Ae[1]||(Ae[1]=Ne=>K.value=Ne),style:{"min-width":"80px"},placeholder:Dl.value?(X=(Me=(x=q.filterValues)==null?void 0:x.filter(Ne=>Ne))==null?void 0:Me.slice(0,3))==null?void 0:X.join("/"):"搜索","prefix-icon":l.unref(C.search_default),clearable:"",onInput:ul,disabled:((ye=ce.value)==null?void 0:ye.length)===0},{suffix:l.withCtx(()=>{var Ne,Xe;return[!K.value&&((Xe=(Ne=q.filterValues)==null?void 0:Ne.filter(yl=>yl))!=null&&Xe.join("/"))?(l.openBlock(),l.createBlock(Re,{key:0,style:{cursor:"pointer"},onClick:Ie},{default:l.withCtx(()=>[l.createVNode(l.unref(C.circle_close_default))]),_:1})):l.createCommentVNode("",!0)]}),append:l.withCtx(()=>[l.createElementVNode("span",{title:"条件查询",onClick:Ae[0]||(Ae[0]=Ne=>u.value=!u.value)},[l.createVNode(te,{name:"query",style:{width:"15px",height:"15px",cursor:"pointer"}})])]),_:1},8,["modelValue","placeholder","prefix-icon","disabled"])]}),content:l.withCtx(()=>[l.createElementVNode("div",Oo,[(l.openBlock(),l.createBlock(fl.ssForm,{rowContents:ce.value,buttonValue:xe.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:xe.value,isStartJustify:!1,onOnButtonClick:Ul},null,8,["rowContents","buttonValue"]))])]),_:1},8,["isVisible"])])):l.createCommentVNode("",!0),q.buttons&&((re=q.buttons)==null?void 0:re.length)>0?(l.openBlock(),l.createElementBlock("div",wo,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((Q=q.buttons)==null?void 0:Q.filter(x=>q.isDevMode||(x==null?void 0:x.label)!=="修改模板"),(x,Me)=>(l.openBlock(),l.createElementBlock("div",{class:"extra-contents",key:Me},[(x==null?void 0:x.type)==="upload"?(l.openBlock(),l.createBlock(Fe,{key:0,class:"upload-button-wrap","on-change":Ce,accept:".xlsx,.xls","auto-upload":!1,action:"#","show-file-list":!1,disabled:!!q.lockingPage},{default:l.withCtx(()=>[l.createVNode(He,{disabled:!!q.lockingPage,style:l.normalizeStyle({background:(x==null?void 0:x.background)??"var(--ssbutton-theme-bg)",color:(x==null?void 0:x.color)??"var(--ssbutton-theme-color)"})},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(x==null?void 0:x.label),1)]),_:2},1032,["disabled","style"])]),_:2},1032,["disabled"])):l.createCommentVNode("",!0),(x==null?void 0:x.type)==="popover"?(l.openBlock(),l.createBlock(fl._sfc_main,{key:1},{dropTitle:l.withCtx(()=>[(x==null?void 0:x.type)==="popover"?(l.openBlock(),l.createBlock(He,{key:0,disabled:!!q.lockingPage,style:l.normalizeStyle({background:(x==null?void 0:x.background)??"var(--ssbutton-theme-bg)",color:(x==null?void 0:x.color)??"var(--ssbutton-theme-color)"})},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(x==null?void 0:x.label),1)]),_:2},1032,["disabled","style"])):l.createCommentVNode("",!0)]),dropMenu:l.withCtx(()=>[l.createElementVNode("div",Uo,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(x==null?void 0:x.contents,X=>(l.openBlock(),l.createBlock(He,{key:X==null?void 0:X.label,disabled:!!q.lockingPage,style:{width:"100%",margin:"0",border:"none",display:"flex","justify-content":"flex-start"},onClick:ye=>Cl(X==null?void 0:X.label)},{default:l.withCtx(()=>{var ye,Ne;return[l.createTextVNode(l.toDisplayString(X==null?void 0:X.label),1),(ye=X==null?void 0:X.label)!=null&&ye.includes("选中")?(l.openBlock(),l.createElementBlock("span",Lo,"("+l.toDisplayString(q.selectNums)+")",1)):l.createCommentVNode("",!0),(Ne=X==null?void 0:X.label)!=null&&Ne.includes("全部")?(l.openBlock(),l.createElementBlock("span",jo,"("+l.toDisplayString(q.dataNums)+")",1)):l.createCommentVNode("",!0)]}),_:2},1032,["disabled","onClick"]))),128))])]),_:2},1024)):l.createCommentVNode("",!0),x!=null&&x.type?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(He,{key:2,id:"themeButton",disabled:!!q.lockingPage,style:l.normalizeStyle({background:(x==null?void 0:x.background)??"var(--ssbutton-theme-bg)",color:(x==null?void 0:x.color)??"var(--ssbutton-theme-color)"}),onClick:X=>Cl(x==null?void 0:x.label)},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(x==null?void 0:x.label),1)]),_:2},1032,["disabled","style","onClick"]))]))),128))])):l.createCommentVNode("",!0)])])):(l.openBlock(),l.createElementBlock("div",Mo,[l.createElementVNode("div",Po,[l.createElementVNode("div",$o,[l.createVNode(sr,{title:"",width:800,placement:"bottom-start",isVisible:u.value},{reference:l.withCtx(()=>{var x,Me,X,ye;return[l.createVNode(je,{modelValue:K.value,"onUpdate:modelValue":Ae[3]||(Ae[3]=Ne=>K.value=Ne),style:{"min-width":"80px"},placeholder:Dl.value?(X=(Me=(x=q.filterValues)==null?void 0:x.filter(Ne=>Ne))==null?void 0:Me.slice(0,3))==null?void 0:X.join("/"):"搜索","prefix-icon":l.unref(C.search_default),clearable:"",onInput:ul,disabled:((ye=ce.value)==null?void 0:ye.length)===0},{suffix:l.withCtx(()=>{var Ne,Xe;return[!K.value&&((Xe=(Ne=q.filterValues)==null?void 0:Ne.filter(yl=>yl))!=null&&Xe.join("/"))?(l.openBlock(),l.createBlock(Re,{key:0,style:{cursor:"pointer"},onClick:Ie},{default:l.withCtx(()=>[l.createVNode(l.unref(C.circle_close_default))]),_:1})):l.createCommentVNode("",!0)]}),append:l.withCtx(()=>[l.createElementVNode("span",{title:"条件查询",onClick:Ae[2]||(Ae[2]=Ne=>u.value=!u.value)},[l.createVNode(te,{name:"query",style:{width:"15px",height:"15px",cursor:"pointer"}})])]),_:1},8,["modelValue","placeholder","prefix-icon","disabled"])]}),content:l.withCtx(()=>[l.createElementVNode("div",Fo,[(l.openBlock(),l.createBlock(fl.ssForm,{rowContents:ce.value,buttonValue:xe.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:xe.value,isStartJustify:!1,onOnButtonClick:Ul},null,8,["rowContents","buttonValue"]))])]),_:1},8,["isVisible"])]),q.buttons&&((Qe=q.buttons)==null?void 0:Qe.length)>0?(l.openBlock(),l.createElementBlock("div",Ro,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((Y=q.buttons)==null?void 0:Y.filter(x=>q.isDevMode||(x==null?void 0:x.label)!=="修改模板"),(x,Me)=>(l.openBlock(),l.createElementBlock("div",{class:"extra-contents",key:Me},[(x==null?void 0:x.type)==="upload"?(l.openBlock(),l.createBlock(Fe,{key:0,class:"upload-button-wrap","on-change":Ce,accept:".xlsx,.xls","auto-upload":!1,action:"#","show-file-list":!1},{default:l.withCtx(()=>[l.createVNode(He,{style:{background:"transparent",color:"#666666"}},{icon:l.withCtx(()=>{var X;return[l.createVNode(te,{name:(X=$e==null?void 0:$e.find(ye=>(ye==null?void 0:ye.label)===(x==null?void 0:x.label)))==null?void 0:X.icon},null,8,["name"])]}),default:l.withCtx(()=>[l.createTextVNode(" "+l.toDisplayString(x==null?void 0:x.label),1)]),_:2},1024)]),_:2},1024)):l.createCommentVNode("",!0),(x==null?void 0:x.type)==="popover"?(l.openBlock(),l.createBlock(fl._sfc_main,{key:1},{dropTitle:l.withCtx(()=>[(x==null?void 0:x.type)==="popover"?(l.openBlock(),l.createBlock(He,{key:0,style:{background:"transparent",color:"#666666"}},{icon:l.withCtx(()=>{var X;return[l.createVNode(te,{name:(X=$e==null?void 0:$e.find(ye=>(ye==null?void 0:ye.label)===(x==null?void 0:x.label)))==null?void 0:X.icon},null,8,["name"])]}),default:l.withCtx(()=>[l.createTextVNode(" "+l.toDisplayString(x==null?void 0:x.label),1)]),_:2},1024)):l.createCommentVNode("",!0)]),dropMenu:l.withCtx(()=>[l.createElementVNode("div",Ko,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(x==null?void 0:x.contents,X=>(l.openBlock(),l.createBlock(He,{key:X==null?void 0:X.label,style:{width:"100%",margin:"0",border:"none",display:"flex","justify-content":"flex-start"},onClick:ye=>Cl(X==null?void 0:X.label)},{default:l.withCtx(()=>{var ye,Ne;return[l.createTextVNode(l.toDisplayString(X==null?void 0:X.label),1),(ye=X==null?void 0:X.label)!=null&&ye.includes("选中")?(l.openBlock(),l.createElementBlock("span",zo,"("+l.toDisplayString(q.selectNums)+")",1)):l.createCommentVNode("",!0),(Ne=X==null?void 0:X.label)!=null&&Ne.includes("全部")?(l.openBlock(),l.createElementBlock("span",Vo,"("+l.toDisplayString(q.dataNums)+")",1)):l.createCommentVNode("",!0)]}),_:2},1032,["onClick"]))),128))])]),_:2},1024)):l.createCommentVNode("",!0),x!=null&&x.type?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(He,{key:2,id:"themeButton",style:l.normalizeStyle({background:"transparent",color:(x==null?void 0:x.label)==="新增"?"var(--ssbutton-theme-bg)":"#666666"}),onClick:X=>Cl(x==null?void 0:x.label)},{icon:l.withCtx(()=>{var X;return[l.createVNode(te,{name:(X=$e==null?void 0:$e.find(ye=>(ye==null?void 0:ye.label)===(x==null?void 0:x.label)))==null?void 0:X.icon},null,8,["name"])]}),default:l.withCtx(()=>[l.createTextVNode(" "+l.toDisplayString(x==null?void 0:x.label),1)]),_:2},1032,["style","onClick"]))]))),128))])):l.createCommentVNode("",!0)])]))}}},Jo=Da._export_sfc(qo,[["__scopeId","data-v-03b0d8fa"]]),Wo=l.defineComponent({__name:"batch",props:{lockingPage:Boolean,buttons:{type:Array,default:()=>[]},selectTableItems:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick"],setup(q,{emit:se}){const ae=q,R=se,K=ce=>{R("buttonClick",ce)},u=ce=>{var xe;return ce!=null&&ce.includes("删除")?((xe=ae.selectTableItems)==null?void 0:xe.length)>0?"warning-active-type":"warning-type":"default-type"};return(ce,xe)=>{const $e=l.resolveComponent("el-button");return l.openBlock(),l.createElementBlock("div",null,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(q.buttons,Ce=>(l.openBlock(),l.createBlock($e,{key:Ce==null?void 0:Ce.label,disabled:!!q.lockingPage,class:l.normalizeClass(u(Ce==null?void 0:Ce.label)),onClick:ul=>K(Ce==null?void 0:Ce.label)},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(Ce==null?void 0:Ce.label),1)]),_:2},1032,["disabled","class","onClick"]))),128))])}}}),Go=Da._export_sfc(Wo,[["__scopeId","data-v-70b12973"]]),cr=C.defineStore("formToTableComp",{state:()=>({selectArray:[],selectString:""}),actions:{setSelectArray(q){this.selectArray=q},setSelectString(q){this.selectString=q}}}),Io={class:"calculator-content"},Ho={class:"calculator-child"},Qo={class:"calculator-child"},Xo=l.defineComponent({__name:"calculator",setup(q){const se=l.ref(),ae=l.ref();return l.onMounted(()=>{se.value=[{type:"Upload",label:"输入",name:"input"}],ae.value=[{type:"Upload",label:"输出",name:"output"}]}),(R,K)=>(l.openBlock(),l.createElementBlock("div",Io,[l.createElementVNode("div",Ho,[l.createVNode(fl.ssForm,{rowContents:se.value,isRowFlex:!0},null,8,["rowContents"])]),l.createElementVNode("div",Qo,[l.createVNode(fl.ssForm,{rowContents:ae.value,isEdit:!1,isRowFlex:!0},null,8,["rowContents"])])]))}}),Yo=Da._export_sfc(Xo,[["__scopeId","data-v-73db0fe7"]]),Pa=(q,se)=>{let ae=q,R=se;return Array.isArray(ae)&&(ae=ae==null?void 0:ae.map((K,u)=>{if(Array.isArray(K)){let ce={};return K=K==null?void 0:K.forEach((xe,$e)=>{var Ce;(Ce=R==null?void 0:R[$e])!=null&&Ce.prop?ce[R[$e].prop]=xe:Array.isArray(xe)&&(ce.children=Pa(xe,R))}),Object.assign(ce,{id:u})}else return K})),ae},dr=(q,se,ae)=>{let R=q,K=se;return R=R==null?void 0:R.map((u,ce)=>{var xe,$e;return!Array.isArray(u)||!((xe=K==null?void 0:K[ce])!=null&&xe.label)&&!ae||(u.unshift((($e=K==null?void 0:K[ce])==null?void 0:$e.label)??""),u.some(Ce=>Array.isArray(Ce))&&(u=u==null?void 0:u.map(Ce=>{var ul;return Array.isArray(Ce)&&(Ce=dr(Ce,(ul=K==null?void 0:K[ce])==null?void 0:ul.children,ae)),Ce}))),u}),R},Zo=(q,se,ae)=>{if(se==="")return q==null?void 0:q.filter(R=>(R==null?void 0:R.id)!==ae);{const R=se.split("-");return en(q,R,ae)}},en=(q,se,ae)=>{let R=q,K=se;return(K==null?void 0:K.length)===0?R=R==null?void 0:R.filter(u=>u.id!==ae):R=R==null?void 0:R.map(u=>(u.id.toString()===(K==null?void 0:K[0])&&(K==null||K.shift(),u=tr(u,K,ae)),u)),R},tr=(q,se,ae)=>{var u,ce;let R=q,K=se;return(K==null?void 0:K.length)===0?R.children=(u=R.children)==null?void 0:u.filter(xe=>xe.id!==ae):R.children=(ce=R.children)==null?void 0:ce.map(xe=>(xe.id.toString()===(K==null?void 0:K[0])&&(K==null||K.shift(),xe=tr(xe,K,ae)),xe)),R},ln=(q,se,ae)=>{if(se==="")return ae;{const R=se.split("-");return an(q,R,ae)}},an=(q,se,ae)=>{let R=q,K=se;return(K==null?void 0:K.length)===0?R=ae:R=R==null?void 0:R.map(u=>(u.id.toString()===(K==null?void 0:K[0])&&(K==null||K.shift(),u=pr(u,K,ae)),u)),R},pr=(q,se,ae)=>{var u;let R=q,K=se;return(K==null?void 0:K.length)===0?R.children=ae:R.children=(u=R.children)==null?void 0:u.map(ce=>(ce.id.toString()===(K==null?void 0:K[0])&&(K==null||K.shift(),ce=pr(ce,K,ae)),ce)),R},fr=C.defineStore("formComp",{state:()=>({objUrl:[],blobUrls:[]}),actions:{setObjUrl(q){this.objUrl=q},setBlobUrls(q){this.blobUrls=q}}}),Ca=async(q,se)=>{var ce,xe,$e,Ce,ul,Cl,wl,Dl,Ul,Ie,ge,Ae,Re,te,je,He,Fe;let ae=(xe=(ce=C.cloneDeep(q))==null?void 0:ce.optionUrl)==null?void 0:xe.menuSelect,R=[];ae==null||ae.forEach(re=>{});let K="",u=await de.menuToParent(ae);if(u==null||u.forEach(re=>{var Q,Qe,Y,x;(re==null?void 0:re.name)===(((x=(Y=(Qe=(Q=C.cloneDeep(q))==null?void 0:Q.optionUrl)==null?void 0:Qe.groupSelect)==null?void 0:Y[0])==null?void 0:x.replaceAll("'",""))??"")&&(K=re==null?void 0:re.id)}),se){K=se;const re=await C.getInsofDataApi({id:K}),Q=(Cl=(ul=(Ce=($e=re==null?void 0:re.data)==null?void 0:$e.result)==null?void 0:Ce[0])==null?void 0:ul.key)==null?void 0:Cl.pageKey;u=await de.getItemData(Q,sessionStorage.getItem("systemKey"),"")}if(K!==""){let re;se?re=(wl=u==null?void 0:u.find(Y=>(Y==null?void 0:Y.id)===se))==null?void 0:wl.compData:re=(Dl=u==null?void 0:u.find(Y=>{var x,Me,X,ye;return(Y==null?void 0:Y.name)===(((Me=(x=q==null?void 0:q.groupSelect)==null?void 0:x.split(":"))==null?void 0:Me[0])||((ye=(X=q==null?void 0:q.optionUrl)==null?void 0:X.groupSelect)==null?void 0:ye[0]))}))==null?void 0:Dl.compData;let Q=(Ie=(Ul=re==null?void 0:re.find(Y=>(Y==null?void 0:Y.key)==="header"))==null?void 0:Ul.contents)==null?void 0:Ie.map(Y=>Y==null?void 0:Y.label);(Ae=(ge=re==null?void 0:re.find(Y=>(Y==null?void 0:Y.key)==="header"))==null?void 0:ge.contents)!=null&&Ae.every(Y=>Array.isArray(Y))&&(Q=(je=de.getColumnChild((te=(Re=re==null?void 0:re.find(Y=>(Y==null?void 0:Y.key)==="header"))==null?void 0:Re.contents)==null?void 0:te[0]))==null?void 0:je.map(Y=>Y==null?void 0:Y.prop));let Qe=(Fe=(He=re==null?void 0:re.find(Y=>(Y==null?void 0:Y.key)==="tableContents"))==null?void 0:He.contents)==null?void 0:Fe.map(Y=>{if(Array.isArray(Y))Y=Y==null?void 0:Y.filter(x=>!(x!=null&&x.id));else{let x={};for(let Me in Y)Me!=="id"&&(x[Me]=Y==null?void 0:Y[Me]);Y=x}return Y});Qe==null||Qe.forEach(Y=>{Array.isArray(Y)?R.push(de.getValueToObjectValue(Y,Q)):R.push(Y)})}return R},rn={class:"table-content"},on={class:"menu-config-wrap"},nn=["onClick"],un={key:0,class:"viewport-wrap"},sn=["onClick"],cn={title:"选择显示列信息"},dn={class:"menu-config-wrap",style:{padding:"0 0 0 16px","box-sizing":"border-box","min-height":"200px",width:"400px",overflow:"auto",position:"relative"}},tn=["title"],pn={class:"col-operate-wrap"},fn={title:"拖拽排序列",style:{cursor:"move",color:"grey",position:"absolute",right:"15px"}},hn={key:0,style:{display:"flex","justify-content":"center","align-items":"center"}},vn={class:"pop-view"},yn={class:"pop-wrapper"},gn={class:"file-list-pop"},bn=["title","onClick"],kn=["onClick"],mn=["onClick"],Sn={class:"form-content"},xn={key:0,class:"dialog-footer"},Cn={class:"dialog-footer"},Dn={style:{display:"flex","justify-content":"space-between",width:"100%","align-items":"center"}},Tn=["title"],Nn={class:"icon",style:{display:"flex",gap:"8px"}},En={class:"dialog-footer"},An={class:"form-content"},_n={__name:"index",props:{pageLayout:{type:String,default:"vertical"},level:{type:Number,default:1},compName:{type:String,default:"",required:!1},compNames:{type:Array,default:()=>[],required:!1},compItem:{type:Object,default:()=>{}},operatingForm:{type:Object,default:()=>{}},cacheNewData:{type:Object,default:()=>{}},config:Object,parentTableId:{type:Number,default:0},itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},index:Number,isDevMode:Boolean,changedContent:{type:Object,default:()=>{}},showHeader:{type:Boolean,default:!0},allowSelect:{type:Boolean,default:!1},allowOperate:{type:Boolean,default:!0},allMapContents:{type:Object,default:()=>{}}},emits:["getSliceContLength","clickMainKey","change","contentChange","onButtonClick","contentClick","pageChange","rowClick","routeUrl"],setup(q,{emit:se}){var nr;const ae=l.ref([]),R=fr(C.pinia),K=l.ref(null),u=q,ce=l.ref(u==null?void 0:u.allowSelect),xe=l.ref((nr=u==null?void 0:u.config)==null?void 0:nr.showIndex),$e=l.ref(),Ce=l.ref(!0),ul=l.ref(!1),Cl=l.ref([{label:"排序",value:"sortable",checked:!1},{label:"筛选",value:"filterable",checked:!1},{label:"合计",value:"showSummary",checked:!1},{label:"编辑",value:"operable",checked:!1}]),wl=de.useOriginalState(C.pinia);let Dl="$R";const{originalPath:Ul}=C.storeToRefs(wl),Ie=Ul.value,ge=l.ref(!1),Ae=l.ref(!1),Re=l.ref(!1),te=l.ref(!0),je=l.ref([]),He=l.reactive({column:{},status:!1,text:"合计"}),Fe=l.reactive({currentPage:1,pageSize:10,total:0,pageSizes:[5,10,20,50,100]}),re=se,Q=l.ref([]),Qe=l.ref([]),Y=l.reactive({prop:"",order:null}),x=l.ref([]),Me=l.ref(!1),X=l.ref(!1),ye=l.ref(null),{isUseBackdrop:Ne,initTrackFileType:Xe,getFileExtension:yl,setData:Ta,getFileInfo:$a,getFilesInfo:hr}=ir.useThreeSystem(),ql=l.ref([]),Ll=l.ref(!1),Pl=l.ref(),Ge=xa.useMenuState(),{importLoading:On,activeMenuPath:_e,contentLoading:wn,linkMenuInfo:vr}=C.storeToRefs(Ge),yr=de.useTableComp(C.pinia),ze=xa.useModelComp(C.pinia),{extraContents:we,cacheUpdatingData:Jl,tableViewContents:Wl,tableLoading:Un,pageMapState:$l,lockingPage:ca}=C.storeToRefs(ze),oe=l.ref([]),da=l.ref([]),ta=l.ref(new Map);l.ref(!1);const Tl=l.ref("");l.ref();const pa=l.ref(!0),Fl=l.ref(0),Fa=l.ref(!0),sl=l.ref(""),Nl=l.ref(!1),gr=l.ref({label:"查看三维模型"}),fa=l.ref(!1),Na=l.ref(),hl=l.ref([]),Ol=l.ref([]),ha=l.ref(!1),Gl=l.ref([]),_l=l.ref([]),El=l.ref([]),be=l.ref([]),va=l.ref(!1),Il=l.ref(!1),Bl=l.ref([]),br=l.ref(null),Ea=l.ref(!1),Aa=l.ref([]),Ra=l.ref(""),_a=l.ref(""),Hl=sa.createOCRService(),ya=l.computed(()=>Hl.getConfig()),gl=l.ref(),ll=l.ref(),kr=cr(C.pinia),ga=l.ref(),Ba=l.ref(0),mr=de.useUnit(C.pinia),{selectIndex:Sr,selectMenu:Ql,selectTitle:Ln}=C.storeToRefs(mr),{selectString:jl}=C.storeToRefs(kr),xr=C.useLoginState(C.pinia),{loginUserInfo:Rl}=C.storeToRefs(xr),Cr=l.ref(720),bl=l.ref(!1),ba=l.ref(!1),kl=l.ref([]),ml=l.ref(),Xl=l.ref(!0),Ka=l.ref(!0),Ml=l.ref([]),Dr=l.inject("contentRef");l.provide("contentRef",Dr),l.watch(()=>{var e;return(e=oe.value)==null?void 0:e.length},e=>{Fe.total=e}),l.watch(()=>Wl.value,async()=>{var s,d,i,t,y,A,S,T,P,z,F,p,_,j,U,b,N,k;if(((s=Wl.value)==null?void 0:s.length)===0||!((d=u==null?void 0:u.itemData)!=null&&d.find(E=>(E==null?void 0:E.key)==="columnPath"))||!((i=u==null?void 0:u.itemData)!=null&&i.find(E=>(E==null?void 0:E.key)==="pageColumn")))return;let e=(P=(T=(S=(A=(y=(t=u==null?void 0:u.itemData)==null?void 0:t.find(E=>(E==null?void 0:E.key)==="pageColumn"))==null?void 0:y.contents)==null?void 0:A.split("["))==null?void 0:S[1])==null?void 0:T.split("]"))==null?void 0:P[0],a=((_=(p=(F=(z=u==null?void 0:u.itemData)==null?void 0:z.find(E=>(E==null?void 0:E.key)==="pageColumn"))==null?void 0:F.contents)==null?void 0:p.split("["))==null?void 0:_[0])+((U=(j=Wl.value)==null?void 0:j.find(E=>(E==null?void 0:E.key)===e))==null?void 0:U.value),o=((N=(b=u==null?void 0:u.itemData)==null?void 0:b.find(E=>(E==null?void 0:E.key)==="pageGroup"))==null?void 0:N.contents)??"",r=await de.getItemData(a,sessionStorage.getItem("systemKey"),""),n=(k=r==null?void 0:r.find(E=>(E==null?void 0:E.name)===(o===""?u==null?void 0:u.compName:o)))==null?void 0:k.compData;rr(n,u.allMapContents)},{deep:!0});const Tr=async(e,a)=>{var o,r,n,s,d;try{const i=await C.getInsofDataApi({id:(u==null?void 0:u.parentTableId)||(u==null?void 0:u.index)});let t;((o=i==null?void 0:i.data)==null?void 0:o.code)===200&&(t=((n=(r=i==null?void 0:i.data)==null?void 0:r.result)==null?void 0:n[0])||null);const y={type:"data",pageKey:u!=null&&u.parentTableId?(s=t==null?void 0:t.key)==null?void 0:s.pageKey:_e.value,tableId:(u==null?void 0:u.parentTableId)||(u==null?void 0:u.index),systemKey:sessionStorage.getItem("systemKey")},A=a==null?void 0:a.map(P=>{const z=Object.keys(P),F={};return z.forEach((p,_)=>{F[e[_]]=P[p]}),F}),S=A==null?void 0:A.map(P=>({key:y,value:{tableData:P}})),T=await C.batchAddInsofDataApi({dataList:S});((d=T==null?void 0:T.data)==null?void 0:d.code)===200?(ze.setRefreshCurStructure(!0),C.ElMessage.success("导入数据成功")):C.ElMessage.error("导入数据响应失败")}catch(i){throw C.ElMessage.error("导入数据处理失败"),new Error(i)}},Nr=async e=>{var s,d,i,t,y,A,S;let a=Qe.value;a!=null&&a.find(T=>(e==null?void 0:e.key)===(T==null?void 0:T.key))&&(a=a==null?void 0:a.filter(T=>(e==null?void 0:e.key)!==(T==null?void 0:T.key))),a.push({key:e==null?void 0:e.key,value:[(d=e==null?void 0:e.value)==null?void 0:d[((s=e==null?void 0:e.value)==null?void 0:s.length)-1]]});let o=be.value;o=o==null?void 0:o.map(T=>{var P,z;return(T==null?void 0:T.type)==="Select"&&(e==null?void 0:e.key)===(T==null?void 0:T.prop)&&Array.isArray(T.value)&&(P=T.value)!=null&&P.every(F=>typeof F=="string")&&(T.selectValue=(z=a==null?void 0:a.find(F=>(F==null?void 0:F.key)===(T==null?void 0:T.prop)))==null?void 0:z.value),T});let r=(t=(i=o==null?void 0:o.find(T=>(T==null?void 0:T.prop)===(e==null?void 0:e.key)))==null?void 0:i.optionUrl)==null?void 0:t.menuId,n=o==null?void 0:o.find(T=>(T==null?void 0:T.prop)===(e==null?void 0:e.key));if(r){let T=await Ca(n==null?void 0:n.optionUrl,r),P,z=je.value,F=(S=(A=(y=be.value)==null?void 0:y.find(p=>{var _;return(_=n==null?void 0:n.optionUrl)==null?void 0:_.menuId}))==null?void 0:A.selectValue)==null?void 0:S[0];if(T==null||T.forEach(p=>{var _,j,U,b,N,k,E,v,I,L;if(r){let G=(j=(_=be.value)==null?void 0:_.find(B=>{var ie,$;return((ie=n==null?void 0:n.optionUrl)==null?void 0:ie.menuId)===(($=B==null?void 0:B.optionUrl)==null?void 0:$.menuId)}))==null?void 0:j.prop,c=(b=(U=o==null?void 0:o.find(B=>(B==null?void 0:B.prop)===G))==null?void 0:U.selectValue)==null?void 0:b[0];G!=null&&G.includes("·")&&(G=(N=G==null?void 0:G.split("·"))==null?void 0:N[0],c=(I=(v=(E=e==null?void 0:e.value)==null?void 0:E[((k=e==null?void 0:e.value)==null?void 0:k.length)-1])==null?void 0:v.split(" "))==null?void 0:I[0]),z!=null&&z.find(B=>(B==null?void 0:B.value)===F)?P=(L=z==null?void 0:z.find(B=>(B==null?void 0:B.value)===F))==null?void 0:L.objectValue:p[G]===c&&(P=p)}}),P){let p=o;p=p==null?void 0:p.map(_=>{var j,U,b,N,k,E;return r&&(P!=null&&P[_==null?void 0:_.prop])&&sl.value==="新增"&&(_==null?void 0:_.prop)!==(n==null?void 0:n.prop)?_.value=(P==null?void 0:P[_==null?void 0:_.prop])||(P==null?void 0:P[(N=(b=(U=(j=_==null?void 0:_.optionUrl)==null?void 0:j.groupSelect)==null?void 0:U[1])==null?void 0:b.replaceAll("[",""))==null?void 0:N.replaceAll("]","")]):_.value=(E=(k=be.value)==null?void 0:k.find(v=>(v==null?void 0:v.prop)===(_==null?void 0:_.prop)))==null?void 0:E.value,_}),be.value=p}}Qe.value=a},Er=async e=>{var a,o,r,n,s;if((a=e==null?void 0:e.toString())!=null&&a.includes(".txt")||(o=e==null?void 0:e.toString())!=null&&o.includes(".cpt")||(r=e==null?void 0:e.toString())!=null&&r.includes(".cyd")){const d=await C.axios.get(e,{responseType:"blob",headers:{"Content-Type":"application/json"}}),i=new Blob([d.data],{type:"application/octet-stream;charset=UTF-8"});let t=URL.createObjectURL(i);Pl.value=[{name:(s=e==null?void 0:e.split("/"))==null?void 0:s[((n=e==null?void 0:e.split("/"))==null?void 0:n.length)-1],blobUrl:t}],Ll.value=!0}};l.onBeforeUnmount(()=>{Ka.value=!1;let e=Ba.value;Ba.value=e+1});const za=l.computed(()=>{var r,n;const e=(Fe.currentPage-1)*Fe.pageSize,a=e+Fe.pageSize,o=(r=Q.value)==null?void 0:r.find(s=>{var d;return(s==null?void 0:s.sortable)&&((d=s==null?void 0:s.label)==null?void 0:d.includes("时间"))});return o&&(Y.order="descending",Y.prop=o==null?void 0:o.prop),re("getSliceContLength",Fe),(n=oe.value)==null?void 0:n.slice(e,a)}),Ar=e=>{Fe.currentPage=e,re("getSliceContLength",Fe)},_r=e=>{var a;Fe.pageSize=e,e*Fe.currentPage>((a=oe.value)==null?void 0:a.length)&&(Fe.currentPage=1,Fe.pageSize=10,C.ElMessage.warning("分页无效,返回第一页")),re("getSliceContLength",Fe)},Br=(e,a)=>{var d,i;const o=(i=(d=Q.value)==null?void 0:d.map(t=>t==null?void 0:t.prop))==null?void 0:i.filter(t=>t!=="operate");let r;const n=(e==null?void 0:e.length)===(o==null?void 0:o.length);if(e!=null&&e.includes("序号"))return C.ElMessage.error("导入的数据不需要包含序号列");if(r=n?e:e.slice(0,o==null?void 0:o.length),!(r==null?void 0:r.every(t=>o==null?void 0:o.find(y=>t===y))))return C.ElMessage.error("导入的数据表头不匹配");Tr(r,a)},Or=(e,a)=>{var o;ze.setRefreshCurStructure(!1),((o=Q.value)==null?void 0:o.length)===0||Br(e,a)},wr=(e,a,o,r)=>{const n=[],s=[],d=y=>Object.keys(y).length;for(const y in e)if(e[y]!==void 0){const A=e[y],S=[];for(const[T,P]of Object.entries(A))S.push(P),s.length<d(A)&&s.push(T);n.push(S)}n.unshift(s);const i=de.utils.aoa_to_sheet(n),t=de.utils.book_new();de.utils.book_append_sheet(t,i,r),de.writeFileSync(t,`${a}.xlsx`),kl.value=[]},ka=async(e,a,o,r=!1,n)=>{var s,d,i,t,y,A,S,T;try{ze.setRefreshCurStructure(!1);const P=await C.getInsofDataApi({id:u==null?void 0:u.index});if(((s=P==null?void 0:P.data)==null?void 0:s.code)===200){let z=(y=(t=(i=(d=P==null?void 0:P.data)==null?void 0:d.result)==null?void 0:i[0])==null?void 0:t.value)==null?void 0:y.pageData;r?z={...z,compData:(S=z==null?void 0:z.compData)==null?void 0:S.map(p=>{var _;return(p==null?void 0:p.key)==="header"?{...p,contents:(_=p==null?void 0:p.contents)==null?void 0:_.map(j=>({...j,[e]:o}))}:p})}:z={...z,compData:(A=z==null?void 0:z.compData)==null?void 0:A.map(p=>{var _,j;return(p==null?void 0:p.key)==="header"?{...p,contents:(_=p==null?void 0:p.contents)==null?void 0:_.map(U=>(U==null?void 0:U.prop)===(a==null?void 0:a.prop)?{...U,[e]:o}:U)}:(p==null?void 0:p.key)==="tableToForm"&&n?{...p,contents:(j=p==null?void 0:p.contents)==null?void 0:j.map(U=>(U==null?void 0:U.prop)===(a==null?void 0:a.prop)?{...U,[n]:o}:U)}:p})};const F=await C.updateInsofDataApi({id:u==null?void 0:u.index,value:{pageData:z}});((T=F==null?void 0:F.data)==null?void 0:T.code)===200?(C.ElMessage.success("编辑成功"),ze.setRefreshCurStructure(!0)):C.ElMessage.error("编辑响应失败")}}catch(P){C.ElMessage.error(P)}},Ur=async(e,a)=>{await ka("label",a,e)},Lr=async(e,a)=>{await ka("columnType",a,e,!1,"type")},jr=()=>{Jl.value?bl.value=!1:or()},Mr=e=>{kl.value=e},Pr=(e,a)=>{ml.value===a?Xl.value=!1:Xl.value=!0,ml.value=a==null?void 0:a.changeProp},$r=e=>{if(!e)return;const{item:a,value:o}=e,r=be.value.find(n=>n.prop==a.prop);r&&r.contents.push({label:o,value:o})},Yl=l.computed(()=>{var o,r,n;const e=(o=Q.value)==null?void 0:o.some(s=>s==null?void 0:s.filterable);return document.documentElement.style.setProperty("--ssTable-header-filter-display",e?"inline-block":"none"),(n=(r=Q.value)==null?void 0:r.filter(s=>(s==null?void 0:s.label)!=="操作"))==null?void 0:n.map(s=>({...s,filterable:!!(s!=null&&s.filterable),showSummary:!!(s!=null&&s.showSummary),operable:!!(s!=null&&s.operable)}))}),Fr=async(e,a,o)=>{const r=C.cloneDeep(Q.value);await l.nextTick(),Q.value=r==null?void 0:r.map(n=>(o==null?void 0:o.label)===(n==null?void 0:n.label)?{...n,[a]:e}:n),await ka(a,o,e)},Oa=async(e,a)=>{await ka(a,null,e,!0)},Rr=()=>{Nl.value=!1},Kr=e=>{re("clickTrigger",e)},Va=async e=>{var s,d,i,t,y,A,S,T,P,z,F,p,_,j,U;const a=e==null?void 0:e.row,o=e==null?void 0:e.rowData,r=e==null?void 0:e.suffix;if((s=a==null?void 0:a.toString())!=null&&s.includes(".urdf")||e!=null&&e.isUrdf||r!=null&&r.includes(".urdf")){if(a.includes(",")){C.ElMessage.error("当前版本仅允许单个urdf预览!");return}if(Ne(a)){const N={files:[$a(a)],data:{}};Ta(N);return}Gl.value=[{url:a,extension:yl(a)}],X.value=!0,ye.value={data:C.cloneDeep(o)},Me.value=!0;return}let n=[];if((d=a==null?void 0:a.toString())!=null&&d.includes(".stl")||(i=a==null?void 0:a.toString())!=null&&i.includes(".STL")||(t=a==null?void 0:a.toString())!=null&&t.includes(".obj")||(y=a==null?void 0:a.toString())!=null&&y.includes(".mtl")){const b=(A=a==null?void 0:a.toString())==null?void 0:A.split(","),N=hr(b),k=N==null?void 0:N[0];if(Ne(k==null?void 0:k.extension)){Ta({files:N,data:{}});return}Gl.value=N,X.value=!1,Me.value=!0;return}if((S=a==null?void 0:a.toString())!=null&&S.includes(".stl")||(T=a==null?void 0:a.toString())!=null&&T.includes(".STL")||(P=a==null?void 0:a.toString())!=null&&P.includes(".obj")||(z=a==null?void 0:a.toString())!=null&&z.includes(".mtl")||r!=null&&r.includes(".stl")||r!=null&&r.includes(".STL")||r!=null&&r.includes(".obj")||r!=null&&r.includes(".mtl")){let b,N=[],k={};if(Array.isArray(a)?b=a:b=a==null?void 0:a.split(","),b==null||b.forEach(E=>{E.includes(".mtl")?N.push(E):k.blob=k.blob?k.blob+","+E:E}),(N==null?void 0:N.length)>0&&(k.mtlBlobs=N),r&&(k.suffix=r),(p=(F=Object.values(k))==null?void 0:F[0])!=null&&p.includes("http:"))n.push(k);else{const E=new Blob([k.blob],{type:"application/octet-stream;charset=UTF-8"});let v=URL.createObjectURL(E),I="";(_=a==null?void 0:a.split("/"))==null||_.forEach((L,G)=>{var c;G===((c=a==null?void 0:a.split("/"))==null?void 0:c.length)-1&&(I=L)}),(j=k.blob)!=null&&j.includes(".stl")&&(I=(I==null?void 0:I.replaceAll(">",""))+".urdf"),Pl.value=[{name:I,blobUrl:v}],Ll.value=!0}}else{const b=await C.axios.get(a,{responseType:"blob",headers:{"Content-Type":"application/json"}}),N=new Blob([b.data],{type:"application/octet-stream;charset=UTF-8"});let k=URL.createObjectURL(N),E="";if((U=a==null?void 0:a.split("/"))==null||U.forEach((v,I)=>{var L;I===((L=a==null?void 0:a.split("/"))==null?void 0:L.length)-1&&(E=v)}),Ne(E)){const v=Xe(E),I=$a(a);Ta({files:[I],data:{trackFileType:v}});return}Pl.value=[{name:E,blobUrl:k}],Ll.value=!0}(n==null?void 0:n.length)>0&&R.setBlobUrls(n)},ma=e=>{var r,n,s,d;if(e!=null&&e.downloadUrl)return e==null?void 0:e.name;const a=(d=(r=e==null?void 0:e.url)==null?void 0:r.split("."))==null?void 0:d[((s=(n=e==null?void 0:e.url)==null?void 0:n.split("."))==null?void 0:s.length)-1];return(e==null?void 0:e.name)+"."+a},zr=async e=>{let a=null,o=null;if(e!=null&&e.downloadUrl){const n=await wa(),s=fl.ElLoading.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"}),d=await C.axios.post(e==null?void 0:e.url,null,{responseType:"blob",headers:{Authorization:n,baseURL:"http://139.196.154.85:20025","Content-Type":"application/json"}}).finally(()=>{s.close()}),i=new Blob([d.data],{type:"application/octet-stream;charset=UTF-8"});a=URL.createObjectURL(i),o=e==null?void 0:e.name}else{const n=await de.downloadAvatarApi({url:e==null?void 0:e.url});!e.url.toUpperCase().includes(".OBJ")&&!e.url.toUpperCase().includes(".STL")&&!e.url.toUpperCase().includes(".MTL")&&!e.url.toUpperCase().includes(".URDF")?(a=URL.createObjectURL(n.data),o=ma(e)):a=e==null?void 0:e.url}if(Ne(a)){const n={row:`${a}`,suffix:yl(o)};Va(n);return}const r={name:o,blobUrl:a};Pl.value=[r],Ll.value=!0},Vr=async e=>{let a=null,o=null;if(e!=null&&e.downloadUrl){const s=await wa(),d=await C.axios.post(e==null?void 0:e.url,null,{responseType:"blob",headers:{Authorization:s,baseURL:"http://139.196.154.85:20025","Content-Type":"application/json"}}),i=new Blob([d.data],{type:"application/octet-stream;charset=UTF-8"});a=URL.createObjectURL(i),o=e==null?void 0:e.name}else{const s=await de.downloadAvatarApi({url:e==null?void 0:e.url});a=URL.createObjectURL(s.data),o=ma(e)}const r={name:o,blobUrl:a},n=document.createElement("a");n.href=r.blobUrl,n.download=r.name,n.style.display="none",document.body.appendChild(n),n.click(),setTimeout(()=>{document.body.removeChild(n)},100)},qr=(e,a)=>{var o;if(Object.values(a).length!==0)return Object.values(a).find(r=>{var n,s,d;return((n=r==null?void 0:r.toString())==null?void 0:n.includes(".txt"))||((s=r==null?void 0:r.toString())==null?void 0:s.includes(".cpt"))||((d=r==null?void 0:r.toString())==null?void 0:d.includes(".obj"))})?[...e,gr.value]:(o=u==null?void 0:u.config)!=null&&o.allowMove?[...e,{label:"迁移"}]:e},Jr=(e,a={})=>[...e==null?void 0:e.values()].filter(o=>Object.keys(a).every(r=>{var d;const n=o[r],s=(d=a[r])==null?void 0:d.toLowerCase();return s&&n&&typeof n=="string"?n.toLowerCase().includes(s):!0})),Wr=()=>{ul.value=!0},qa=l.ref([]),Gr=async(e,a,o=!1)=>{var r;if(e){if(ze.setTableLoading(!0),qa.value=Object.values(e),e&&((r=Object.values(e))!=null&&r.every(n=>!n)))return oe.value=da.value;if(o){oe.value=[...ta.value.values()].filter(n=>Object.values(n).some(s=>typeof s=="string"?s==null?void 0:s.toLowerCase().includes(a==null?void 0:a.toLowerCase()):!1));return}oe.value=Jr(ta.value,e),ze.setTableLoading(!1)}},Ir=async e=>{},Ja=async(e,a,o,r)=>{var n,s,d,i,t,y,A,S,T,P,z,F,p,_,j,U,b,N,k,E;if(re("clickMainKey",o),(r==null?void 0:r.isExistChild)===!0){let v=(n=r==null?void 0:r.columnType)==null?void 0:n.prop,I=r==null?void 0:r.data;if(Ml.value=await de.getItemData(_e.value,sessionStorage.getItem("systemKey"),""),!Ml.value){let G=(i=(d=(s=_e.value)==null?void 0:s.split("/"))==null?void 0:d.filter((c,B)=>{var ie,$;return B!==(($=(ie=_e.value)==null?void 0:ie.split("/"))==null?void 0:$.length)-1}))==null?void 0:i.join("/");Ml.value=await de.getItemData(G,sessionStorage.getItem("systemKey"),"")}let L=(t=Ml.value)==null?void 0:t.filter(G=>(G==null?void 0:G.name)===v);Ml.value=L==null?void 0:L.map(G=>{var c;return G.compData=(c=G.compData)==null?void 0:c.map(B=>{var ie,$;return(B==null?void 0:B.key)==="tableContents"&&(ie=B==null?void 0:B.contents)!=null&&ie.every(m=>m==null?void 0:m.find(w=>w==null?void 0:w.id))&&(B.contents=($=B==null?void 0:B.contents)==null?void 0:$.filter(m=>(m==null?void 0:m[1])===I)),B}),G}),re("routeUrl",Ml.value,{isEdit:!0,routerUrl:_e.value});return}if((r==null?void 0:r.data)==="查看"&&(e!=null&&e.every(v=>(v==null?void 0:v.url)&&(v==null?void 0:v.name)))){let v=C.cloneDeep(e);v=await((y=C.cloneDeep(v))==null?void 0:y.map(async L=>{var B,ie,$,m;const G=await de.downloadAvatarApi({url:L==null?void 0:L.url});let c=URL.createObjectURL(G.data);return{name:(L==null?void 0:L.name)+"."+((m=(B=L==null?void 0:L.url)==null?void 0:B.split("."))==null?void 0:m[(($=(ie=L==null?void 0:L.url)==null?void 0:ie.split("."))==null?void 0:$.length)-1]),blobUrl:c}}));let I=await Promise.all(v);Pl.value=I,Ll.value=!0}if(C.cloneDeep(Q.value),(r==null?void 0:r.isMainKey)===!0){Ge.setActiveMenuPath(void 0),ze.setRouteToChildPath(void 0),ze.setFixMenuStatus(!0);let v=(S=(A=u.itemData)==null?void 0:A.find(L=>(L==null?void 0:L.key)==="contentTableId"))==null?void 0:S.contents,I=(P=(T=u.itemData)==null?void 0:T.find(L=>(L==null?void 0:L.key)==="relatedFilter"))==null?void 0:P.index;if(I!==0){let L=(F=(z=Q.value)==null?void 0:z[I])==null?void 0:F.prop;if((o==null?void 0:o[L])===(r==null?void 0:r.data)){let G=await C.getInsofDataApi({id:v}),c=(U=(j=(_=(p=G==null?void 0:G.data)==null?void 0:p.result)==null?void 0:_[0])==null?void 0:j.key)==null?void 0:U.pageKey;Ge.setActiveMenuPath(c+"/"+(r==null?void 0:r.data))}else{let G=await C.getInsofDataApi({key:{pageKey:C.cloneDeep(_e).value+"/"+(r==null?void 0:r.data),systemKey:sessionStorage.getItem("systemKey")}});((N=(b=G==null?void 0:G.data)==null?void 0:b.result)==null?void 0:N.length)>0&&Ge.setActiveMenuPath(C.cloneDeep(_e).value+"/"+(r==null?void 0:r.data))}}else{let L=await C.getInsofDataApi({key:{pageKey:C.cloneDeep(_e).value+"/"+(r==null?void 0:r.data),systemKey:sessionStorage.getItem("systemKey")}});((E=(k=L==null?void 0:L.data)==null?void 0:k.result)==null?void 0:E.length)>0&&Ge.setActiveMenuPath(C.cloneDeep(_e).value+"/"+(r==null?void 0:r.data))}}},Hr=()=>{Ll.value=!1},Qr=e=>{re("rowClick",e)};l.watch(()=>u.changedContent,()=>{var o,r;if(!u.changedContent)return;let e=(o=oe.value)==null?void 0:o.map(n=>{var s;return n.id===((s=u.changedContent)==null?void 0:s.id)&&(n={...u.changedContent,id:u.changedContent.newId?u.changedContent.newId:u.changedContent.id},delete n.newId),n});const a=(r=u.itemData)==null?void 0:r.map(n=>((n==null?void 0:n.key)==="tableContents"&&(n.contents=e),n));oe.value=e,re("contentChange",{contents:a,index:u.index}),re("change",{content:e,index:u==null?void 0:u.index,buttonName:"",id:u==null?void 0:u.index})},{deep:!0,immediate:!0});const Xr=()=>{},Yr=async()=>{const e=_e.value,a=sessionStorage.getItem("systemKey"),o=await de.getItemData(e,a,""),r=(o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="方法明细"))||(o==null?void 0:o[0]),n=(r==null?void 0:r.compData)||[],s=n==null?void 0:n.find(i=>{const t=i==null?void 0:i.key;return t==="formContent"||t==="tableContents"});return s==null?void 0:s.contents},wa=async()=>`Bearer ${C.Local.get("access-token")}`,Zr=async(e,{token:a,inputData:o}={})=>await C.axios.post(e,o,{headers:{Authorization:a}}).catch(n=>(Ge.setImportLoading(!1),Promise.reject(n))),eo=e=>{var r;let a={};const o=[];return a.form={},(r=C.cloneDeep(e))==null||r.forEach((n,s)=>{var d,i,t,y,A,S,T,P,z,F,p,_,j,U;if((n==null?void 0:n.comp)==="Table"){(i=(d=n==null?void 0:n.compData)==null?void 0:d.find(E=>(E==null?void 0:E.key)==="header"))==null||i.contents;let b=(A=(y=(t=n==null?void 0:n.compData)==null?void 0:t.find(E=>(E==null?void 0:E.key)==="tableContents"))==null?void 0:y.contents)==null?void 0:A.map(E=>E.slice(1));(F=(z=(P=(T=(S=n==null?void 0:n.compData)==null?void 0:S.find(E=>(E==null?void 0:E.key)==="header"))==null?void 0:T.contents)==null?void 0:P[0])==null?void 0:z[0])==null||F.label;let N=(_=(p=n==null?void 0:n.compData)==null?void 0:p.find(E=>(E==null?void 0:E.key)==="header"))==null?void 0:_.contents,k=[];b==null||b.forEach(E=>{let v=[];E==null||E.forEach((I,L)=>{var c;let G={};((c=N[L])==null?void 0:c.label)!=="操作"&&(G[N[L].label]=I,v.push(G))}),k.push(v)}),a[n.name]=k}else{const b=(U=(j=n.compData)==null?void 0:j.find(N=>(N==null?void 0:N.key)==="formContent"))==null?void 0:U.contents;b==null||b.forEach(N=>{var k,E;if(N.prop!==""){let v=N==null?void 0:N.value;Array.isArray(v)?v=((k=v==null?void 0:v[0])==null?void 0:k.oldUrl)||"http://222.92.178.198:62001/"+((E=v==null?void 0:v[0])==null?void 0:E.url):v=v.toString(),N={key:(N==null?void 0:N.prop)??(N==null?void 0:N.label),value:v},o.push(N)}})}}),a.form=de.getFormContents(o),a},lo=e=>{const a=[],o=r=>{r&&typeof r=="object"&&!Array.isArray(r)?Object.values(r).forEach(o):a.push(r)};return o(e),a},ao=async(e,a,o)=>{var N,k,E,v,I,L,G,c,B,ie,$;Ge.setImportLoading(!0),ze.setFreshContent(!1);let r=await Yr().catch(m=>(Ge.setImportLoading(!1),Promise.reject(m)));r=r==null?void 0:r.filter(m=>{var w;return((w=m==null?void 0:m.find(le=>le==null?void 0:le.id))==null?void 0:w.id)===(a==null?void 0:a.id)});let n=de.getEqualChild([(N=Q.value)==null?void 0:N.filter(m=>(m==null?void 0:m.label)!=="操作")]);const s=(E=(k=de.tableToForm(r,n))==null?void 0:k[0])==null?void 0:E.find(m=>{const w=m==null?void 0:m.key;return w==="Interface"||w==="方法体"}),d=s==null?void 0:s.value;if(!d){console.log("未搜索到isMain, 缺少算法执行接口"),Ge.setImportLoading(!1);return}const i=Q.value?de.getEqualChild([Q.value]):[],t=i.find(m=>{const w=m==null?void 0:m.prop;return w==="Input1"||w==="输入数据.输入1"||w==="样本输入数据"}),y=t==null?void 0:t.prop;let A=a==null?void 0:a[y];const S=await wa().catch(m=>(Ge.setImportLoading(!1),Promise.reject(m)));let T=!0,P="";(v=Q.value)==null||v.forEach(m=>{(m==null?void 0:m.prop)===y&&(T=!!(m!=null&&m.childPath),P=m==null?void 0:m.childPath)});let z="";if(T){let m=(L=(I=Q.value)==null?void 0:I.find(pe=>(pe==null?void 0:pe.isMainKey)===!0))==null?void 0:L.prop;z=a==null?void 0:a[m];let w=P==null?void 0:P.split(Ie),le=[];w==null||w.forEach((pe,ke)=>{(w==null?void 0:w.length)-1===ke&&le.push(z),le.push(pe)}),le=le==null?void 0:le[0];let ee=await de.getItemData(le,sessionStorage.getItem("systemKey"),""),Z=ee==null?void 0:ee.filter(pe=>(pe==null?void 0:pe.name)===y);Z=Z==null?void 0:Z.map(pe=>{var ke;return pe.compData=(ke=pe==null?void 0:pe.compData)==null?void 0:ke.map(J=>{var ne;return(J==null?void 0:J.key)==="tableContents"&&(J.contents=(ne=J==null?void 0:J.contents)==null?void 0:ne.filter(Ue=>(Ue==null?void 0:Ue[1])===(a==null?void 0:a[y]))),J}),pe}),(!Z||(Z==null?void 0:Z.length)===0)&&(Z=ee,Z=Z==null?void 0:Z.map(pe=>{var ke;return pe.compData=(ke=pe==null?void 0:pe.compData)==null?void 0:ke.map(J=>{var ne;return(J==null?void 0:J.key)==="tableContents"&&(J.contents=(ne=J==null?void 0:J.contents)==null?void 0:ne.filter(Ue=>{var g,M;return(Ue==null?void 0:Ue[1])===(a==null?void 0:a[(M=(g=Q==null?void 0:Q.value)==null?void 0:g[0])==null?void 0:M.prop])})),J}),pe})),A=eo(Z)}const F=await Zr(d,{token:S,inputData:A}).catch(m=>(Ge.setImportLoading(!1),Promise.reject(m))),p=(G=F==null?void 0:F.data)==null?void 0:G.data,_=i.find(m=>(m==null?void 0:m.prop)==="Output1"),j=_==null?void 0:_.prop;let U=[],b=[];if(p&&((c=Object.values(p))==null?void 0:c.length)>0){let m=[];const w=new FormData,le=(B=lo(p))==null?void 0:B.map(async Z=>{var pe,ke;if(!Array.isArray(Z)&&(Z!=null&&Z.includes("http"))){let J=await C.axios.get(Z,{responseType:"blob"}),ne=(ke=Z==null?void 0:Z.split("/"))==null?void 0:ke[((pe=Z==null?void 0:Z.split("/"))==null?void 0:pe.length)-1];w.append("files",J.data,ne)}else m.push(Z)});if(await Promise.all(le),!de.isFormDataEmpty(w)){let Z=await de.uploadAmountApi(w),pe=($=(ie=Z==null?void 0:Z.data)==null?void 0:ie.result)==null?void 0:$.map(ke=>{var J,ne,Ue,g,M,O;return{name:(O=(M=(g=(J=ke==null?void 0:ke.url)==null?void 0:J.split("/"))==null?void 0:g[((Ue=(ne=ke==null?void 0:ke.url)==null?void 0:ne.split("/"))==null?void 0:Ue.length)-1])==null?void 0:M.split("."))==null?void 0:O[0],url:ke==null?void 0:ke.url}});m=[...m,...pe]}let ee={};for(let Z in a)Z!=="id"&&(ee[Z]=a[Z]);ee[j]=m,b.push({id:a==null?void 0:a.id,value:{tableData:ee}})}(b==null?void 0:b.length)>0&&await C.batchUpdateInsofDataApi({dataList:b}),(U==null?void 0:U.length)>0&&await C.batchAddInsofDataApi({dataList:U}),la(!0),Ge.setImportLoading(!1),ze.setFreshContent(!0)},Wa=(e,a)=>(e=e==null?void 0:e.map(o=>{var r,n;return o!=null&&o.children&&((r=o.children)!=null&&r.find(s=>s.id===(a==null?void 0:a.id))?o.children=(n=o.children)==null?void 0:n.filter(s=>(s==null?void 0:s.id)!==(a==null?void 0:a.id)):o.children=Wa(o.children,a)),o}),e),Ve=l.reactive({title:"迁移至",show:!1,width:"20%",selectRow:null,from:u==null?void 0:u.index,to:null,contents:[],formRules:{groupName:[{required:!0,message:"输入不能为空",trigger:"blur"},{validator:(e,a,o)=>{a===(u==null?void 0:u.index)?o(new Error("选择源不能和目标源一致")):o()}}]},buttonValue:[{label:"取消",background:"#999999",color:"var(--ssbutton-theme-color)"},{label:"确认",background:"var(--ssbutton-theme-bg)",color:"var(--ssbutton-theme-color)"}]}),ro=()=>{Ve.show=!1},oo=e=>{var a,o;if((e==null?void 0:e.buttonName)==="取消")return Ve.show=!1;Ve.to=e==null?void 0:e.content,!(!(u!=null&&u.index)||!((a=Ve.to)!=null&&a.groupName))&&(u==null?void 0:u.index)!==((o=Ve.to)==null?void 0:o.groupName)&&(re("change",{buttonName:"迁移",value:{from:Ve.from,to:Ve.to,data:Ve.selectRow}}),Ve.show=!1)},no=e=>{sa.executeOCRHandler("default",e)},io=e=>{if(e){if(!Hl.validateFileSize(e.raw)){C.ElMessage.warning(`文件大小不能超过 ${ya.value.maxSize}MB`);return}if(!Hl.validateFileType(e.raw)){C.ElMessage.warning("请上传图片文件");return}}},uo=async()=>{var e,a;if(Bl.value.length===0){C.ElMessage.warning("请先选择要上传的图片");return}Il.value=!0;try{const o=Bl.value.map(async d=>{var y,A,S,T;const i=new FormData;i.append("file",d.raw,d.name);const t=await fl.uploadFileApi(i);return{name:((A=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:A.fileName)??d.name,url:((T=(S=t==null?void 0:t.data)==null?void 0:S.result)==null?void 0:T.url)??""}}),r=await Promise.all(o),n=Hl.extractTableHeaders(Q.value),s=await Hl.recognize(r,n);console.log("OCR识别结果:",s),C.ElMessage.success(`成功上传 ${r.length} 张图片并完成OCR识别`),re("change",{content:oe.value,index:u==null?void 0:u.index,type:"ocrRecognitionCompleted",buttonName:"OCR识别完成",uploadedFiles:r,ocrResult:s,column:Q.value}),va.value=!1,Bl.value=[]}catch(o){console.error("OCR处理失败:",o),C.ElMessage.error(((a=(e=o==null?void 0:o.response)==null?void 0:e.data)==null?void 0:a.message)||"OCR识别失败,请重试")}finally{Il.value=!1}},Ga=()=>{va.value=!1,Bl.value=[],br.value=null},so=async e=>{Ra.value=e==null?void 0:e.name;const a=e.raw;_a.value=URL.createObjectURL(a),Aa.value=[{name:Ra.value,blobUrl:_a.value}],Ea.value=!0},co=()=>{Ea.value=!1,Aa.value=[],_a.value=""},to=e=>{Bl.value=Bl.value.filter((a,o)=>o!==e)},Sa=async(e,a,o)=>{var r,n,s,d,i,t,y,A,S,T,P,z,F,p,_;if(Tl.value="",ha.value=!0,pa.value=!0,re("onButtonClick",e,a),je.value=[],e==="删除")xa.ElMessageBox.confirm("是否确认删除","温馨提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{var j,U;(j=oe.value)!=null&&j.find(b=>(b==null?void 0:b.id)===(a==null?void 0:a.id))?oe.value=(U=C.cloneDeep(oe.value))==null?void 0:U.filter(b=>(b==null?void 0:b.id)!==(a==null?void 0:a.id)):oe.value=Wa(C.cloneDeep(oe.value),a),Zo(ga.value,Ql.value,a==null?void 0:a.id),ze.setTableLoading(u==null?void 0:u.index),re("change",{content:oe.value,singleContent:a,index:u==null?void 0:u.index,type:"delete",buttonName:e,column:Q.value})});else if(e==="批量删除"){if(((r=kl.value)==null?void 0:r.length)===0)return C.ElMessage.warning("请先勾选操作的数据");xa.ElMessageBox.confirm("是否确认删除","温馨提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{var U,b;const j=(U=kl.value)==null?void 0:U.map(N=>N.id);oe.value=(b=C.cloneDeep(oe.value))==null?void 0:b.filter(N=>!(j!=null&&j.includes(N.id))),ze.setTableLoading(u==null?void 0:u.index),re("change",{content:oe.value,singleContent:null,selectItems:kl.value,index:u==null?void 0:u.index,type:"batchDelete",buttonName:e,column:Q.value})})}else if(e==="复制新增"){sl.value="新增";const j=C.cloneDeep(a),U=(n=Q.value)==null?void 0:n.find(k=>k==null?void 0:k.isMainKey),b=U||((s=Q.value)==null?void 0:s[0]),N=(d=El.value)==null?void 0:d.find(k=>(k==null?void 0:k.label)==="新建");await Ha(!0,N,{data:j,firstCol:b})}else if(e==="新增")sl.value="新增",ea(""),Nl.value=!0;else if(e==="编辑")sl.value="编辑",ea(a),Nl.value=!0;else if(e==="查看")sl.value="查看",ea(a),ha.value=!1,pa.value=!1,Nl.value=!0;else if(e==="查看三维模型"){const j={};for(let b in a)b!=="id"&&(j[b]=a[b]);let U=(i=Object.values(j))==null?void 0:i[1];yr.setTableShowThree(U)}else if(((t=o==null?void 0:o.extra)==null?void 0:t.type)==="modelExample")sl.value=e,fa.value=!0;else if(e==="新建"){let j=$l.value,U=[];for(let v in j)v!=null&&v.includes(`loading${((y=Rl.value)==null?void 0:y.account)||((A=Rl.value)==null?void 0:A.账号)}`)&&(U=[...U,...v]);let b=[];for(let v in j)v!=null&&v.includes(`updateLoading${((S=Rl.value)==null?void 0:S.account)||((T=Rl.value)==null?void 0:T.账号)}`)&&(b=[...b,...v]);let N=U==null?void 0:U.map(v=>v==null?void 0:v.id);const k=b==null?void 0:b.map(v=>v==null?void 0:v.id);N=[...C.cloneDeep(N),...k],(N==null?void 0:N.length)>0&&(N!=null&&N.every(v=>v!==null&&v))&&await C.batchDeleteInsofDataApi({ids:N});const E=(P=El.value)==null?void 0:P.find(v=>(v==null?void 0:v.label)==="新建");await Ha(!1,E)}else if(e==="修改模板"){let j=C.cloneDeep(_e).value;ze.setRouteToChildPath(j),Ge.setActiveMenuPath(j+Ie)}else if(e==="执行")ao(e,a);else if(e!=null&&e.includes("导出")){if(e==="导出选中"&&((z=kl.value)==null?void 0:z.length)===0)return C.ElMessage.warning(`请先勾选${e}的数据`);if(e==="导出全部"&&((F=oe.value)==null?void 0:F.length)===0)return C.ElMessage.warning("暂无数据导出");const j=(_=(p=Q.value)==null?void 0:p.map(b=>b==null?void 0:b.label))==null?void 0:_.filter(b=>b!=="操作"),U=e==="导出全部"?C.cloneDeep(oe.value):C.cloneDeep(kl.value);U==null||U.forEach(b=>{b==null||delete b.id}),wr(U,u==null?void 0:u.compName,j,u==null?void 0:u.compName)}else e==="OCR识别"?(va.value=!0,Bl.value=[]):e==="迁移"&&(Ve.selectRow=a,Ve.show=!0)},po=async e=>{var o,r,n,s,d,i;const a=await C.getInsofDataApi({key:{pageKey:e,type:"structure",systemKey:sessionStorage.getItem("systemKey")}});if(((o=a==null?void 0:a.data)==null?void 0:o.code)===200)return Array.isArray((r=a==null?void 0:a.data)==null?void 0:r.result)&&((s=(n=a==null?void 0:a.data)==null?void 0:n.result)==null?void 0:s.length)>0?(i=(d=a==null?void 0:a.data)==null?void 0:d.result)==null?void 0:i.map(t=>{var y;return{id:t==null?void 0:t.id,...(y=t==null?void 0:t.value)==null?void 0:y.pageData}}):[]},fo=async(e,a)=>{var o,r,n,s,d,i,t,y,A,S,T,P,z,F,p,_,j,U,b,N;try{let k,E;const v=(o=$l.value[_e.value+Ie])==null?void 0:o.filter(m=>{var w;return((w=m==null?void 0:m.key)==null?void 0:w.type)==="structureMethod"}),I=(r=$l.value[_e.value+Ie])==null?void 0:r.filter(m=>{var w;return((w=m==null?void 0:m.key)==null?void 0:w.type)==="structure"}),L=v==null?void 0:v.find(m=>{var w,le;return((le=(w=m==null?void 0:m.value)==null?void 0:w.pageData)==null?void 0:le.method)==="保存"});if(!L)return;const G=(i=(d=$l.value[(s=(n=L==null?void 0:L.value)==null?void 0:n.pageData)==null?void 0:s.path])==null?void 0:d.filter(m=>{var w;return((w=m==null?void 0:m.key)==null?void 0:w.type)==="data"}))==null?void 0:i.find(m=>{var w,le,ee,Z;return((le=(w=m==null?void 0:m.value)==null?void 0:w.tableData)==null?void 0:le.算法名称)===((Z=(ee=L==null?void 0:L.value)==null?void 0:ee.pageData)==null?void 0:Z.method)});if(!G)return;const c={buttonName:(y=(t=L==null?void 0:L.value)==null?void 0:t.pageData)==null?void 0:y.method,api:(S=(A=G==null?void 0:G.value)==null?void 0:A.tableData)==null?void 0:S.算法体,content:I==null?void 0:I.map(m=>{var w;return(w=m==null?void 0:m.value)==null?void 0:w.pageData}),extraContent:[],extraValues:(P=(T=L==null?void 0:L.value)==null?void 0:T.pageData)==null?void 0:P.data,methodName:(F=(z=L==null?void 0:L.value)==null?void 0:z.pageData)==null?void 0:F.path};if(!e)return;const B={...e,compData:(p=e==null?void 0:e.compData)==null?void 0:p.map(m=>{var w;return(m==null?void 0:m.key)==="formContent"?{...m,contents:(w=m==null?void 0:m.contents)==null?void 0:w.map(le=>(le==null?void 0:le.prop)===a?{...le,value:""}:le)}:m})},ie={key:{pageKey:_e.value+Ie,parentTable:"",systemKey:sessionStorage.getItem("systemKey"),type:"structure"},value:{pageData:B}},$=await C.axios.post(c.api,ie,{headers:{"Content-Type":"application/json"}});return((_=$==null?void 0:$.data)==null?void 0:_.code)===200&&(k=(U=(j=$==null?void 0:$.data)==null?void 0:j.result)==null?void 0:U.latestReportCode,E=(N=(b=$==null?void 0:$.data)==null?void 0:b.result)==null?void 0:N.status),{newMainKeyValue:k,newStatus:E}}catch(k){throw C.ElMessage.error(k),new Error(k)}},Ia=(e,a,o,r)=>{var n;re("contentChange",{contents:(n=e==null?void 0:e.compData)==null?void 0:n.map(s=>{var d;return(s==null?void 0:s.key)==="formContent"?{...s,contents:(d=s==null?void 0:s.contents)==null?void 0:d.map(i=>(i==null?void 0:i.key)===a?{...i,value:o}:Zl.value&&(i==null?void 0:i.prop)===Zl.prop?{...i,value:Zl.value}:i)}:s}),index:e==null?void 0:e.id},r)},Zl=l.reactive({prop:"状态",value:""}),ho=l.ref(["系统自动生成信息","审批意见"]),vo=async(e,a,o)=>{var t,y;let r=e==null?void 0:e[a==null?void 0:a.prop],n=1,s,d;const i=C.cloneDeep(_e).value+Ie+r;if(i){Zl.value="",s=(t=$l.value[i])==null?void 0:t.filter(T=>{var P;return((P=T==null?void 0:T.key)==null?void 0:P.type)==="structure"});const A=s==null?void 0:s.find(T=>{var P,z,F;return((F=(z=(P=T==null?void 0:T.value)==null?void 0:P.pageData)==null?void 0:z.comp)==null?void 0:F.toUpperCase())==="FORM"});d={...(y=A==null?void 0:A.value)==null?void 0:y.pageData,id:A==null?void 0:A.id};const S=await fo(d,a==null?void 0:a.prop);if(Zl.value=S==null?void 0:S.newStatus,S!=null&&S.newMainKeyValue)return S==null?void 0:S.newMainKeyValue}if(oe.value.some(A=>(A==null?void 0:A[a==null?void 0:a.prop])===r)){const A=r;for(;oe.value.some(S=>(S==null?void 0:S[a==null?void 0:a.prop])===`${A}(${n})`);)n++;r=`${A}(${n})`}return r},Ha=async(e,a,o)=>{var d,i,t,y,A,S,T,P;let r,n;const s=await vo(o==null?void 0:o.data,o==null?void 0:o.firstCol);if(e?(r=C.cloneDeep(_e).value+Ie+((y=o==null?void 0:o.data)==null?void 0:y[(t=o==null?void 0:o.firstCol)==null?void 0:t.prop]),n=C.cloneDeep(_e).value+Ie+s):(r=C.cloneDeep(_e).value+Ie,n=C.cloneDeep(r)+`loading${((d=Rl.value)==null?void 0:d.account)||((i=Rl.value)==null?void 0:i.账号)}`),a){const z=(S=(A=$l.value[n])==null?void 0:A.filter(F=>{var p;return((p=F==null?void 0:F.key)==null?void 0:p.parentTable)===""}))==null?void 0:S.map(F=>{var p;return{id:F==null?void 0:F.id,...(p=F==null?void 0:F.value)==null?void 0:p.pageData}});if((z==null?void 0:z.length)>0)if(e){const F=z==null?void 0:z.find(p=>{var _;return((_=p==null?void 0:p.comp)==null?void 0:_.toUpperCase())==="FORM"});F&&Ia(F,(T=o==null?void 0:o.firstCol)==null?void 0:T.label,s,_e.value)}else ze.setRouteToChildPath(C.cloneDeep(_e).value),Ge.setActiveMenuPath(n);else if(await de.loadingConstruct(r,n,null,null,e?ho.value:null),e){const F=await po(n);if((F==null?void 0:F.length)>0){const p=F==null?void 0:F.find(_=>{var j;return((j=_==null?void 0:_.comp)==null?void 0:j.toUpperCase())==="FORM"});p&&Ia(p,(P=o==null?void 0:o.firstCol)==null?void 0:P.label,s,_e.value)}}else ze.setRouteToChildPath(C.cloneDeep(_e).value),Ge.setActiveMenuPath(n)}else e?(Tl.value="",ll.value=o==null?void 0:o.data,la(!0,o==null?void 0:o.firstCol,s)):(ze.setRouteToChildPath(C.cloneDeep(_e).value),Ge.setActiveMenuPath(n))},yo=()=>{Me.value=!1,Gl.value=[],X.value=!1},ea=e=>{var d,i,t,y,A,S,T,P,z,F,p,_,j,U,b,N,k,E,v,I,L,G;const a=[];let o=[];for(let c in e)Array.isArray(e==null?void 0:e[c])&&o.push(c);x.value=C.cloneDeep(Q.value),(i=de.getColumnChild((d=C.cloneDeep(Q.value))==null?void 0:d.filter(c=>(c==null?void 0:c.label)!=="操作")))==null||i.forEach((c,B)=>{var ie;o.find($=>$===(c==null?void 0:c.prop))||(c!=null&&c.formType&&((ie=c==null?void 0:c.formType)==null?void 0:ie.toUpperCase())==="SELECT"||c!=null&&c.menuId?a.push({label:(c==null?void 0:c.label)||(c==null?void 0:c.prop)||"",name:(c==null?void 0:c.prop)??"t"+B,prop:c==null?void 0:c.prop,type:"Select",value:(e==null?void 0:e[c==null?void 0:c.prop])??(c==null?void 0:c.value)??"",id:(c==null?void 0:c.id)??B,contents:(c==null?void 0:c.options)??[],width:1,isFormColHidden:c==null?void 0:c.isFormColHidden,relatedValueId:c==null?void 0:c.relatedValueId,disabled:c==null?void 0:c.disabled,optionUrl:{groupSelect:c==null?void 0:c.groupSelect,menuSelect:c==null?void 0:c.formMenuSelect,type:"Select",selectRelateType:c==null?void 0:c.selectRelateType,allSelectionContents:(c==null?void 0:c.allSelectionContents)??[],selectFilter:c==null?void 0:c.selectFilter,menuId:c==null?void 0:c.menuId,filterContent:c==null?void 0:c.filterContent}}):a.push({label:(c==null?void 0:c.label)||(c==null?void 0:c.prop)||"",prop:c==null?void 0:c.prop,name:(c==null?void 0:c.prop)??"t"+B,type:!(c!=null&&c.formType)||(c==null?void 0:c.formType)===""?"Input":c==null?void 0:c.formType,value:(e==null?void 0:e[c==null?void 0:c.prop])??(c==null?void 0:c.value)??"",id:(c==null?void 0:c.id)??B,contents:(c==null?void 0:c.options)??[],width:1,isFormColHidden:c==null?void 0:c.isFormColHidden,disabled:c==null?void 0:c.disabled,relatedValueId:c==null?void 0:c.relatedValueId}))}),e===""||!e||(Tl.value=(e==null?void 0:e.id)??"");let r=de.getColumnChild((t=C.cloneDeep(Q.value))==null?void 0:t.filter(c=>(c==null?void 0:c.label)!=="操作"));hl.value&&((y=hl.value)==null?void 0:y.length)>0&&(hl.value=(A=C.cloneDeep(hl).value)==null?void 0:A.map(c=>{var ie;let B=(c==null?void 0:c.prop)||((ie=r==null?void 0:r.find($=>($==null?void 0:$.label)===(c==null?void 0:c.label)))==null?void 0:ie.prop);return B&&(c.value=e[B]),c})),be.value=hl.value&&((S=hl.value)==null?void 0:S.length)>0?de.getTableFormToForm(hl.value):a;let n=[],s=(T=u.itemData)==null?void 0:T.filter(c=>(c==null?void 0:c.key)==="filterAllType");if((s==null?void 0:s.length)>0&&(n=(s==null?void 0:s.map(B=>B==null?void 0:B.value)).flat()),(n==null?void 0:n.length)>0){let c=(z=n==null?void 0:n.filter($=>{var m;return(m=$==null?void 0:$.content)==null?void 0:m.includes("@Type")}))==null?void 0:z[((P=n==null?void 0:n.filter($=>{var m;return(m=$==null?void 0:$.content)==null?void 0:m.includes("@Type")}))==null?void 0:P.length)-1];if(c!=null&&c.content){let $=(_=(p=(F=c==null?void 0:c.content)==null?void 0:F.replace(":",Dl))==null?void 0:p.split(Dl))==null?void 0:_[1];if(((j=$==null?void 0:$.trim())==null?void 0:j.toUpperCase())==="MANUAL"){let m=(E=(k=(U=u.itemData)==null?void 0:U.filter(w=>(w==null?void 0:w.key)==="contentTableId"))==null?void 0:k[((N=(b=u.itemData)==null?void 0:b.filter(w=>(w==null?void 0:w.key)==="contentTableId"))==null?void 0:N.length)-1])==null?void 0:E.contents;be.value=(v=be.value)==null?void 0:v.map((w,le)=>{var ee,Z;return(ee=w==null?void 0:w.optionUrl)!=null&&ee.menuId&&(w.type="Select",(Z=w==null?void 0:w.optionUrl)!=null&&Z.menuId&&(w.optionUrl.menuId=w.optionUrl.menuId??m,w.optionUrl.menuFilter=n,sl.value==="新增"&&(w.optionUrl.multiple=!0,w.optionUrl.multipleLimit=5))),w})}}let B=(I=be.value)==null?void 0:I.filter($=>{var m,w;return((m=$==null?void 0:$.optionUrl)==null?void 0:m.menuId)&&((w=$==null?void 0:$.optionUrl)==null?void 0:w.menuId)!==""}),ie;if(B==null||B.forEach($=>{var w,le;if(ie!==void 0)return;let m=(w=$==null?void 0:$.optionUrl)==null?void 0:w.menuId;((le=B==null?void 0:B.filter(ee=>{var Z;return((Z=ee==null?void 0:ee.optionUrl)==null?void 0:Z.menuId)===m}))==null?void 0:le.length)>1&&(ie=m)}),B=B==null?void 0:B.filter($=>{var m;return((m=$==null?void 0:$.optionUrl)==null?void 0:m.menuId)===ie}),(B==null?void 0:B.length)>1){let $=B==null?void 0:B.map(ee=>ee==null?void 0:ee.prop),m=B==null?void 0:B.map(ee=>ee==null?void 0:ee.label),w=B==null?void 0:B.map(ee=>ee==null?void 0:ee.value),le=(L=C.cloneDeep(B))==null?void 0:L[0];le.label=m==null?void 0:m.join("·"),le.value=w==null?void 0:w.join(" "),le.value.trim()===""&&(le.value=""),le.prop=$==null?void 0:$.join("·"),le.usingType="parent",be.value.unshift(le),be.value=(G=be.value)==null?void 0:G.map(ee=>($!=null&&$.find(Z=>Z===(ee==null?void 0:ee.prop))&&(ee.isFormColHidden=!0),ee))}}},go=()=>{var a;const e=(a=K.value)==null?void 0:a.$el;e&&de.Sortable.create(e,{animation:150,handle:".col-drag-icon",ghostClass:"sortable-ghost",onEnd:o=>{var d;const{oldIndex:r,newIndex:n}=o;if(r===n)return;const s=Yl.value.splice(r,1)[0];Yl.value.splice(n,0,s),Q.value=(d=Q.value)==null?void 0:d.slice().sort((i,t)=>{if(i.label==="操作")return 1;if(t.label==="操作")return-1;const y=Yl.value.findIndex(S=>S.label===i.label),A=Yl.value.findIndex(S=>S.label===t.label);return y-A})}})};l.onMounted(()=>{Na.value=window.innerWidth-240*2});const bo=()=>{l.nextTick(()=>{go()})},Ua=(e,a)=>{var r;if(!e&&!(e!=null&&e.children))return{contents:e,currentSelectContents:void 0};let o;return e.children=(r=e.children)==null?void 0:r.map(n=>{var s,d;if((n==null?void 0:n.id)===Tl.value){let i={};for(let t in n){let y=(s=a==null?void 0:a.find(A=>(A==null?void 0:A.prop)===t))==null?void 0:s.label;y?i[t]=(d=ll.value)==null?void 0:d[y]:i[t]=n[t]}n=Object.assign(i,ll.value),o=n}else{let i=Ua(n,a);n=i==null?void 0:i.contents,o=i==null?void 0:i.currentSelectContents}return n}),{contents:e,currentSelectContents:o}},Qa=(e,a)=>{let o,r;return e!=null&&e.find(n=>(n==null?void 0:n.id)===Tl.value)?o=e==null?void 0:e.map(n=>{var s,d;if((n==null?void 0:n.id)===Tl.value){let i={};for(let t in n){let y=(s=a==null?void 0:a.find(A=>(A==null?void 0:A.prop)===t))==null?void 0:s.label;y?i[t]=(d=ll.value)==null?void 0:d[y]:i[t]=n[t]}n=Object.assign(i,ll.value),r=n}return n}):o=e==null?void 0:e.map(n=>{var s,d,i,t;if((n==null?void 0:n.id)===Tl.value){let y={};for(let A in n){let S=(s=a==null?void 0:a.find(T=>(T==null?void 0:T.prop)===A))==null?void 0:s.label;S?y[A]=(d=ll.value)==null?void 0:d[S]:y[A]=n[A]}n=Object.assign(y,ll.value),r=n}else n=(i=Ua(n,a))==null?void 0:i.contents,r=(t=Ua(n,a))==null?void 0:t.currentSelectContents;return n}),{newContents:o,currentSelectContents:r}},Xa=(e,a,o)=>{var r,n;return e[a==null?void 0:a.prop]=o,typeof e.id=="number"&&(e.id=(r=e.id)==null?void 0:r.toString()),e.children&&((n=e.children)==null?void 0:n.length)>0&&(e.children=e.children.map(Xa)),e},La=e=>{var o;const a=[];return a.push({...e}),e!=null&&e.children&&Array.isArray(e.children)&&((o=e.children)==null||o.forEach(r=>{a.push(...La(r))})),(a==null?void 0:a.length)>0?a==null?void 0:a.map(r=>{const n={...r};return delete n.children,n}):[]},la=(e=!0,a,o)=>{var y,A,S,T,P,z,F,p,_,j,U,b,N,k,E,v,I,L,G,c,B,ie,$,m,w,le,ee,Z,pe,ke;let r=de.getColumnChild((y=C.cloneDeep(Q.value))==null?void 0:y.filter(J=>(J==null?void 0:J.label)!=="操作")),n,s=C.cloneDeep(oe.value);if(!ll.value){Nl.value=!1;return}if(Tl.value===""){Fl.value++;let J;a&&o?J={id:Fl.value.toString(),[a==null?void 0:a.prop]:o,children:ll.value.children}:J={id:Fl.value.toString()},J!=null&&J.children&&(J={...J,children:(A=J.children)==null?void 0:A.map(ne=>Xa(ne,a,o))}),s.push(Object.assign(ll.value,J)),n=Object.assign(ll.value,J)}else s=(S=Qa(s,r))==null?void 0:S.newContents,n=(T=Qa(s,r))==null?void 0:T.currentSelectContents;const d=(P=u.itemData)==null?void 0:P.filter(J=>(J==null?void 0:J.key)==="childTree")[0];if(((z=d==null?void 0:d.contents)==null?void 0:z.length)>0){sl.value="编辑";const J=[];s==null||s.forEach((ne,Ue)=>{var M;let g={};if(Array.isArray(ne)){let O=[];ne==null||ne.filter(fe=>!(fe!=null&&fe.id)).forEach((fe,me)=>{var V,ue,Pe,D,Be,Je,We;if((ue=(V=gl.value)==null?void 0:V[me])!=null&&ue.prop&&!Array.isArray(fe)){let qe={};qe[gl.value[me].column]=fe,we!=null&&we.value&&((Pe=we==null?void 0:we.value)==null?void 0:Pe.length)>0&&((D=we==null?void 0:we.value)!=null&&D.find(Ee=>JSON.stringify(Ee==null?void 0:Ee[0])===JSON.stringify(qe)))&&(O=(Be=we==null?void 0:we.value)==null?void 0:Be.find(Ee=>JSON.stringify(Ee==null?void 0:Ee[0])===JSON.stringify(qe))),O&&O.length>0?g[gl.value[me].prop]=O!=null&&O.find(Ee=>{var Ke;return((Ke=Object.keys(Ee))==null?void 0:Ke[0])===gl.value[me].column})?(Je=O==null?void 0:O.find(Ee=>{var Ke;return((Ke=Object.keys(Ee))==null?void 0:Ke[0])===gl.value[me].column}))==null?void 0:Je[gl.value[me].column]:fe:g[gl.value[me].prop]=fe}else Array.isArray(fe)&&((We=gl.value[me])!=null&&We.prop?g[gl.value[me].prop]=fe:g.children=Pa(fe,gl.value))})}else g=ne;Array.isArray(ne)&&ne.some(O=>O==null?void 0:O.id)?J.push(Object.assign(g,{id:(M=ne==null?void 0:ne.find(O=>O.id))==null?void 0:M.id})):g.id?J.push(g):J.push(Object.assign(g,{id:Ue.toString()}))}),oe.value=ar(J,d,Q.value)}er(oe.value),ga.value=oe.value;const i=ln(ga.value,Ql.value,s);let t=[];if(Jl.value?(t=(F=C.cloneDeep(Jl).value.singleContent)==null?void 0:F.filter(J=>(J==null?void 0:J.id)!==(n==null?void 0:n.id)),t.push(n)):t=[n],bl.value){const J={content:i,singleContent:((p=d==null?void 0:d.contents)==null?void 0:p.length)>0?t==null?void 0:t.flatMap(La):t,index:u==null?void 0:u.index,buttonName:"编辑",column:Q.value,parentTableId:u==null?void 0:u.parentTableId};ze.setCacheUpdatingData(J)}if(e){let J=(b=(U=(j=(_=u.itemData)==null?void 0:_.find(g=>(g==null?void 0:g.key)==="filterAllType"))==null?void 0:j.value)==null?void 0:U.find(g=>(g==null?void 0:g.value)==="onConditionContents"))==null?void 0:b.content,ne=(N=u.itemData)==null?void 0:N.filter(g=>(g==null?void 0:g.key)==="filterAllType");ne=Array.from(new Map(ne.filter(Boolean).map((g,M)=>[g.value,{...g,_idx:M}])).values()).sort((g,M)=>g._idx-M._idx).map(({_idx:g,...M})=>M),ne=(k=ne==null?void 0:ne[(ne==null?void 0:ne.length)-1])==null?void 0:k.value;const Ue={content:i,singleContent:((E=d==null?void 0:d.contents)==null?void 0:E.length)>0?La(n):n,index:u==null?void 0:u.index,buttonName:sl.value,column:Q.value,parentTableId:u==null?void 0:u.parentTableId,filter:J,allFilter:ne,pathIndex:(I=(v=u.itemData)==null?void 0:v.find(g=>(g==null?void 0:g.key)==="relatedFilter"))==null?void 0:I.index,rowContents:be.value,addArrayValues:je.value};ze.setTableLoading(u==null?void 0:u.index),Nl.value=!1,ll.value=void 0,re("change",Ue)}if((c=(G=(L=be.value)==null?void 0:L[0])==null?void 0:G.optionUrl)!=null&&c.menuId){Nl.value=!1;let J=(B=u.itemData)==null?void 0:B.filter(ne=>(ne==null?void 0:ne.key)==="filterAllType");if((J==null?void 0:J.length)>0){let ne=J==null?void 0:J.map(M=>M==null?void 0:M.value),Ue=(m=($=(ie=ne.flat().find(M=>{var O;return(O=M==null?void 0:M.content)==null?void 0:O.includes("@Num")}))==null?void 0:ie.content)==null?void 0:$.split(":"))==null?void 0:m[1];((ee=(le=(w=ne.flat().find(M=>{var O;return(O=M==null?void 0:M.content)==null?void 0:O.includes("@Type:")}))==null?void 0:w.content)==null?void 0:le.split(":"))==null?void 0:ee[1])!=="Manual"&&(Ue=parseInt(Ue),oe.value=(ke=oe.value)==null?void 0:ke.slice(((Z=oe.value)==null?void 0:Z.length)-Ue,(pe=oe.value)==null?void 0:pe.length))}}};l.onUnmounted(()=>{Q.value=[],oe.value=[],x.value=[],ql.value=[],hl.value=[],Ol.value=[],Gl.value=[],_l.value=[],be.value=[],kl.value=[],K.value=null});const Ya=async(e,a,o)=>{var y,A,S,T,P,z,F,p,_,j,U;ml.value=o==null?void 0:o.prop;const r=C.cloneDeep(u.itemData),n=r==null?void 0:r.map(b=>{var N;return(b==null?void 0:b.key)==="header"&&((N=b.contents)==null||N.map((k,E)=>{var v,I,L,G,c,B,ie,$,m,w,le,ee,Z,pe,ke,J,ne,Ue,g;return k.type=k!=null&&k.type?k.type:(G=(L=(I=(v=k==null?void 0:k.key)==null?void 0:v.split("$"))==null?void 0:I[1])==null?void 0:L.split("("))!=null&&G[0]?(B=(c=de.FormType)==null?void 0:c.find(M=>{var O,fe,me,V;return(M==null?void 0:M.key)===((V=(me=(fe=(O=k==null?void 0:k.key)==null?void 0:O.split("$"))==null?void 0:fe[1])==null?void 0:me.split("("))==null?void 0:V[0])}))==null?void 0:B.value:"Input",k.options=k!=null&&k.options?k.options:((m=($=(ie=k==null?void 0:k.key)==null?void 0:ie.split("$"))==null?void 0:$[1])==null?void 0:m.length)>0?(Z=(ee=Ma((le=(w=k==null?void 0:k.key)==null?void 0:w.split("$"))==null?void 0:le[1]))==null?void 0:ee.split(","))==null?void 0:Z.map(M=>({label:M,value:M})):[],(pe=k==null?void 0:k.key)!=null&&pe.includes("$")&&(k.key=(J=(ke=k==null?void 0:k.key)==null?void 0:ke.split("$"))==null?void 0:J[0]),k.value=(ne=Object.values(a))==null?void 0:ne[E],k.optionUrl=k!=null&&k.formMenuSelect&&((Ue=k==null?void 0:k.formMenuSelect)==null?void 0:Ue.length)>0?{groupSelect:(g=k==null?void 0:k.groupSelect)==null?void 0:g.split(/[::]/).map(M=>M.trim()),menuSelect:k==null?void 0:k.formMenuSelect,selectRelateType:"",type:(k==null?void 0:k.formType)??(k!=null&&k.groupSelect?"Select":"")}:null,k})),b});let s=C.cloneDeep(be.value),d=(A=(y=C.cloneDeep(n))==null?void 0:y.find(b=>(b==null?void 0:b.key)==="header"))==null?void 0:A.contents;s=s==null?void 0:s.map(b=>{var N;return b.value=(N=d==null?void 0:d.find((k,E)=>E===(b==null?void 0:b.id)))==null?void 0:N.value,b});let i="",t=(P=(T=(S=C.cloneDeep(n))==null?void 0:S.find(b=>(b==null?void 0:b.key)==="header"))==null?void 0:T.contents)==null?void 0:P.find((b,N)=>{var k,E,v;return(b==null?void 0:b.label)===ml.value||(N==null?void 0:N.toString())===((v=(E=(k=ml.value)==null?void 0:k.split("a"))==null?void 0:E[1])==null?void 0:v.toString())});if((p=(F=(z=C.cloneDeep(n))==null?void 0:z.find(b=>(b==null?void 0:b.key)==="header"))==null?void 0:F.contents)==null||p.forEach(b=>{var N,k,E,v,I;i===""&&((E=(k=(N=b==null?void 0:b.optionUrl)==null?void 0:N.groupSelect)==null?void 0:k[1])!=null&&E.includes("["))&&(i=(I=(v=b==null?void 0:b.optionUrl)==null?void 0:v.groupSelect)==null?void 0:I[1])}),(_=t==null?void 0:t.optionUrl)!=null&&_.menuSelect){let b=await Ca(t),N;if(b==null||b.forEach(k=>{var E,v,I,L,G,c,B,ie,$,m;i===((v=(E=t==null?void 0:t.optionUrl)==null?void 0:E.groupSelect)==null?void 0:v[1])&&((G=(L=(I=t==null?void 0:t.optionUrl)==null?void 0:I.groupSelect)==null?void 0:L[1])!=null&&G.includes("["))&&((m=C.cloneDeep(k))==null?void 0:m[($=(ie=(B=(c=t==null?void 0:t.optionUrl)==null?void 0:c.groupSelect)==null?void 0:B[1])==null?void 0:ie.replaceAll("[",""))==null?void 0:$.replaceAll("]","")])===(t==null?void 0:t.value)&&(N=k)}),N){let k=C.cloneDeep(s);k=k==null?void 0:k.map(v=>{var I,L,G,c,B,ie,$,m,w,le,ee;return(N!=null&&N[v==null?void 0:v.label]||N!=null&&N[(c=(G=(L=(I=v==null?void 0:v.optionUrl)==null?void 0:I.groupSelect)==null?void 0:L[1])==null?void 0:G.replaceAll("[",""))==null?void 0:c.replaceAll("]","")])&&(($=(ie=(B=v==null?void 0:v.optionUrl)==null?void 0:B.groupSelect)==null?void 0:ie[1])!=null&&$.includes("["))&&(v.value=(N==null?void 0:N[v==null?void 0:v.label])||(N==null?void 0:N[(ee=(le=(w=(m=v==null?void 0:v.optionUrl)==null?void 0:m.groupSelect)==null?void 0:w[1])==null?void 0:le.replaceAll("[",""))==null?void 0:ee.replaceAll("]","")])),v}),oe.value=(j=C.cloneDeep(oe.value))==null?void 0:j.map(v=>{if((v==null?void 0:v.id)===(a==null?void 0:a.id)){const I={};return k==null||k.forEach(L=>{I[L.name]=L.value}),I.id=v==null?void 0:v.id,I}return v});let E=C.cloneDeep(k);E=E==null?void 0:E.map(v=>{var I,L,G,c;return(L=(I=v==null?void 0:v.optionUrl)==null?void 0:I.menuSelect)!=null&&L.some(B=>B==null?void 0:B.includes)&&(v.optionUrl.menuSelect=(c=(G=v==null?void 0:v.optionUrl)==null?void 0:G.menuSelect)==null?void 0:c.map(B=>{var ie,$,m,w;if(B!=null&&B.includes("[")){let le=($=(ie=B==null?void 0:B.replaceAll("[","").replaceAll("]",""))==null?void 0:ie.split(":"))==null?void 0:$[1];B=(w=(m=C.cloneDeep(k))==null?void 0:m.find(ee=>(ee==null?void 0:ee.label)===le))==null?void 0:w.value}return B})),v}),oe.value=(U=C.cloneDeep(oe.value))==null?void 0:U.map(v=>{if((v==null?void 0:v.id)===(a==null?void 0:a.id)){const I={};return E==null||E.forEach(L=>{I[L.name]=L.value}),I.id=v==null?void 0:v.id,I}return v})}}},ko=async e=>{var P,z,F,p,_,j,U,b,N,k,E,v,I,L,G,c,B,ie,$,m,w,le,ee,Z,pe,ke,J,ne,Ue;if(!e)return;ll.value=e;const a=C.cloneDeep(u.itemData);let o=a==null?void 0:a.map(g=>{var M;return(g==null?void 0:g.key)==="header"&&(g.contents=(M=g.contents)==null?void 0:M.map((O,fe)=>{var me,V,ue,Pe,D,Be,Je,We,qe,Ee,Ke,Ze,el,Ye,Se,Te,rl,cl,dl,pl,il,Sl,f,H;return O.type=O!=null&&O.type?O.type:(Pe=(ue=(V=(me=O==null?void 0:O.key)==null?void 0:me.split("$"))==null?void 0:V[1])==null?void 0:ue.split("("))!=null&&Pe[0]?(Be=(D=de.FormType)==null?void 0:D.find(he=>{var ol,Al,ve,W;return(he==null?void 0:he.key)===((W=(ve=(Al=(ol=O==null?void 0:O.key)==null?void 0:ol.split("$"))==null?void 0:Al[1])==null?void 0:ve.split("("))==null?void 0:W[0])}))==null?void 0:Be.value:"Input",O.options=O!=null&&O.options?O.options:((qe=(We=(Je=O==null?void 0:O.key)==null?void 0:Je.split("$"))==null?void 0:We[1])==null?void 0:qe.length)>0?(el=(Ze=Ma((Ke=(Ee=O==null?void 0:O.key)==null?void 0:Ee.split("$"))==null?void 0:Ke[1]))==null?void 0:Ze.split(","))==null?void 0:el.map(he=>({label:he,value:he})):[],(Ye=O==null?void 0:O.key)!=null&&Ye.includes("$")&&(O.key=(Te=(Se=O==null?void 0:O.key)==null?void 0:Se.split("$"))==null?void 0:Te[0]),((dl=(cl=(rl=be.value)==null?void 0:rl.find(he=>(he==null?void 0:he.prop)===(O==null?void 0:O.prop)))==null?void 0:cl.optionUrl)==null?void 0:dl.multiple)===!0&&!Array.isArray((pl=Object.values(e))==null?void 0:pl[fe])?O.value=[(il=Object.values(e))==null?void 0:il[fe]]:O.value=(Sl=Object.values(e))==null?void 0:Sl[fe],O.optionUrl=O!=null&&O.formMenuSelect&&((f=O==null?void 0:O.formMenuSelect)==null?void 0:f.length)>0?{groupSelect:(H=O==null?void 0:O.groupSelect)==null?void 0:H.split(/[::]/).map(he=>he.trim()),menuSelect:O==null?void 0:O.formMenuSelect,selectRelateType:"",type:(O==null?void 0:O.formType)??(O!=null&&O.groupSelect?"Select":"")}:null,O})),g}),r=be.value,n=(z=(P=C.cloneDeep(o))==null?void 0:P.find(g=>(g==null?void 0:g.key)==="header"))==null?void 0:z.contents;if(n=n==null?void 0:n.filter(g=>(g==null?void 0:g.label)!=="操作"),n.push({label:"操作",type:"operate"}),r=r==null?void 0:r.map(g=>{var M;return g.value=g.value??((M=n==null?void 0:n.find((O,fe)=>(O==null?void 0:O.prop)===(g==null?void 0:g.name)))==null?void 0:M.value),g}),!Xl.value)return;let s="",d=C.cloneDeep(ml.value);(F=ml.value)!=null&&F.includes("·")&&(ml.value=(_=(p=ml.value)==null?void 0:p.split("·"))==null?void 0:_[0]);let i=(b=(U=(j=C.cloneDeep(o))==null?void 0:j.find(g=>(g==null?void 0:g.key)==="header"))==null?void 0:U.contents)==null?void 0:b.find((g,M)=>{var O,fe,me;return(g==null?void 0:g.prop)===ml.value||(M==null?void 0:M.toString())===((me=(fe=(O=ml.value)==null?void 0:O.split("a"))==null?void 0:fe[1])==null?void 0:me.toString())}),t=(N=i==null?void 0:i.optionUrl)==null?void 0:N.menuSelect,y=!0;(v=(E=(k=C.cloneDeep(o))==null?void 0:k.find(g=>(g==null?void 0:g.key)==="header"))==null?void 0:E.contents)==null||v.forEach(g=>{var M,O,fe,me,V,ue;y&&((fe=(O=(M=g==null?void 0:g.optionUrl)==null?void 0:M.groupSelect)==null?void 0:O[1])!=null&&fe.includes("["))&&(s=(V=(me=g==null?void 0:g.optionUrl)==null?void 0:me.groupSelect)==null?void 0:V[1],JSON.stringify(t)===JSON.stringify((ue=g==null?void 0:g.optionUrl)==null?void 0:ue.menuSelect)&&(y=!1))});let A=C.cloneDeep(r),S=Qe.value;S!=null&&S.find(g=>(i==null?void 0:i.prop)===(g==null?void 0:g.key))&&(S=S==null?void 0:S.filter(g=>(i==null?void 0:i.prop)!==(g==null?void 0:g.key))),S!=null&&S.find(g=>d===(g==null?void 0:g.key))&&(S=S==null?void 0:S.filter(g=>d!==(g==null?void 0:g.key))),A=A==null?void 0:A.map(g=>{var M,O,fe,me,V,ue,Pe,D;return(g==null?void 0:g.type)==="Select"&&(((O=(M=g==null?void 0:g.optionUrl)==null?void 0:M.allSelectionContents)==null?void 0:O.length)>0&&(g.optionUrl.contactValue=e),((i==null?void 0:i.prop)===(g==null?void 0:g.prop)||d===(g==null?void 0:g.prop))&&(Array.isArray(i.value)&&((fe=i.value)==null?void 0:fe.length)>0&&((me=i.value)!=null&&me.every(Be=>typeof Be=="string"))?(S.push({key:g==null?void 0:g.prop,value:[(ue=i.value)==null?void 0:ue[((V=i.value)==null?void 0:V.length)-1]]}),g.selectValue=(Pe=S==null?void 0:S.find(Be=>(Be==null?void 0:Be.key)===(g==null?void 0:g.prop)))==null?void 0:Pe.value):Array.isArray(i.value)&&((D=i.value)==null?void 0:D.length)===0&&(S=[],g.selectValue=[],e[g==null?void 0:g.prop]=""))),g.value=e==null?void 0:e[g==null?void 0:g.prop],g}),Qe.value=S,be.value=C.cloneDeep(A);let T=(i==null?void 0:i.menuId)??((G=(L=(I=be.value)==null?void 0:I.find(g=>{var M;return(M=g==null?void 0:g.optionUrl)==null?void 0:M.menuId}))==null?void 0:L.optionUrl)==null?void 0:G.menuId);if((c=i==null?void 0:i.optionUrl)!=null&&c.menuSelect&&Xl.value||T){let g=await Ca(i,T),M;if(g==null||g.forEach(V=>{var ue,Pe,D,Be,Je,We,qe,Ee,Ke,Ze,el,Ye,Se,Te,rl,cl,dl,pl,il,Sl,f,H,he,ol,Al;if(!T&&s===((Pe=(ue=i==null?void 0:i.optionUrl)==null?void 0:ue.groupSelect)==null?void 0:Pe[1])&&((Je=(Be=(D=i==null?void 0:i.optionUrl)==null?void 0:D.groupSelect)==null?void 0:Be[1])!=null&&Je.includes("["))&&((Ze=C.cloneDeep(V))==null?void 0:Ze[(Ke=(Ee=(qe=(We=i==null?void 0:i.optionUrl)==null?void 0:We.groupSelect)==null?void 0:qe[1])==null?void 0:Ee.replaceAll("[",""))==null?void 0:Ke.replaceAll("]","")])===(i==null?void 0:i.value)&&(M=V),T){let ve=(Ye=(el=be.value)==null?void 0:el.find(De=>{var Le;return(i==null?void 0:i.menuId)===((Le=De==null?void 0:De.optionUrl)==null?void 0:Le.menuId)}))==null?void 0:Ye.prop,W=e[ve];if(ve!=null&&ve.includes("·"))if(!Array.isArray(e[ve]))W=(Te=(Se=e[ve])==null?void 0:Se.split(" "))==null?void 0:Te[0],ve=(rl=ve==null?void 0:ve.split("·"))==null?void 0:rl[0];else{ve=(cl=ve==null?void 0:ve.split("·"))==null?void 0:cl[0];let De=(pl=(dl=A==null?void 0:A.find(Le=>(Le==null?void 0:Le.prop)===ve))==null?void 0:dl.selectValue)==null?void 0:pl[0];W=(il=De==null?void 0:De.split(" "))==null?void 0:il[0]}let h=(f=(Sl=A==null?void 0:A.find(De=>(De==null?void 0:De.prop)===ve))==null?void 0:Sl.selectValue)==null?void 0:f[0];if(V[ve]===(Array.isArray(W)?h:W)&&(i==null?void 0:i.directiveLabel)==="#isMain"){if(d!=null&&d.includes("·")){let De=d==null?void 0:d.split("·"),Le=(Al=(ol=(he=Array.isArray(e==null?void 0:e[d])?(H=e==null?void 0:e[d])==null?void 0:H[0]:e==null?void 0:e[d])==null?void 0:he.split(" "))==null?void 0:ol.filter(Oe=>Oe&&Oe!==""))==null?void 0:Al.map(Oe=>Oe==null?void 0:Oe.trim());De==null||De.forEach((Oe,nl)=>{V[Oe]=Le==null?void 0:Le[nl]})}M=V}}}),ul.value&&(i==null?void 0:i.directiveLabel)==="#isMain"&&(je.value=[]),!M){if(ul.value&&(i==null?void 0:i.directiveLabel)==="#isMain")if(d!=null&&d.includes("·")){let V=e,ue=($=(ie=(B=e==null?void 0:e[d])==null?void 0:B.split(" "))==null?void 0:ie.filter(D=>D&&D!==""))==null?void 0:$.map(D=>D==null?void 0:D.trim());(m=d==null?void 0:d.split("·"))==null||m.forEach((D,Be)=>{V[D]=ue[Be]});let Pe=(w=be.value)==null?void 0:w.find(D=>(D==null?void 0:D.prop)===d);V[Pe.prop]=[Pe.value],M=V}else{let V=(le=be.value)==null?void 0:le.find(ue=>(ue==null?void 0:ue.prop)===(i==null?void 0:i.prop));e[V.prop]=[V.value],M=e}else if((i==null?void 0:i.directiveLabel)==="#isMain"){let V={};(ee=be.value)==null||ee.forEach(ue=>{var Pe,D;(ue==null?void 0:ue.prop)===d?V[ue.prop]=(Pe=ue==null?void 0:ue.selectValue)!=null&&Pe[0]?[(D=ue==null?void 0:ue.selectValue)==null?void 0:D[0]]:"":V[ue.prop]=""}),M=V}}if(M){let V=C.cloneDeep(r);V=V==null?void 0:V.map(D=>{var Be,Je,We,qe,Ee,Ke,Ze,el,Ye,Se,Te,rl,cl,dl,pl,il,Sl,f,H,he,ol,Al;return(M!=null&&M[D==null?void 0:D.prop]||M!=null&&M[(qe=(We=(Je=(Be=D==null?void 0:D.optionUrl)==null?void 0:Be.groupSelect)==null?void 0:Je[1])==null?void 0:We.replaceAll("[",""))==null?void 0:qe.replaceAll("]","")])&&((Ze=(Ke=(Ee=D==null?void 0:D.optionUrl)==null?void 0:Ee.groupSelect)==null?void 0:Ke[1])!=null&&Ze.includes("["))&&(D!=null&&D.relatedValueId)&&(D.value=(M==null?void 0:M[D==null?void 0:D.prop])||(M==null?void 0:M[(Te=(Se=(Ye=(el=D==null?void 0:D.optionUrl)==null?void 0:el.groupSelect)==null?void 0:Ye[1])==null?void 0:Se.replaceAll("[",""))==null?void 0:Te.replaceAll("]","")])),T&&(M!=null&&M[D==null?void 0:D.prop]||(M==null?void 0:M[D==null?void 0:D.prop])==="")&&(D!=null&&D.relatedValueId)&&sl.value==="新增"&&((D==null?void 0:D.prop)!==(i==null?void 0:i.prop)||d!=null&&d.includes((i==null?void 0:i.prop)+"·")||d!=null&&d.includes("·"+(D==null?void 0:D.prop)))?D.value=(M==null?void 0:M[D==null?void 0:D.prop])||(M==null?void 0:M[(pl=(dl=(cl=(rl=D==null?void 0:D.optionUrl)==null?void 0:rl.groupSelect)==null?void 0:cl[1])==null?void 0:dl.replaceAll("[",""))==null?void 0:pl.replaceAll("]","")]):d!=null&&d.includes("·"+(D==null?void 0:D.prop))?D.value=M==null?void 0:M[D==null?void 0:D.prop]:((il=D==null?void 0:D.optionUrl)==null?void 0:il.multiple)===!0&&!Array.isArray((f=(Sl=be.value)==null?void 0:Sl.find(ve=>(ve==null?void 0:ve.prop)===(D==null?void 0:D.prop)))==null?void 0:f.value)?D.value=[(he=(H=be.value)==null?void 0:H.find(ve=>(ve==null?void 0:ve.prop)===(D==null?void 0:D.prop)))==null?void 0:he.value]:D.value=(Al=(ol=be.value)==null?void 0:ol.find(ve=>(ve==null?void 0:ve.prop)===(D==null?void 0:D.prop)))==null?void 0:Al.value,D}),be.value=C.cloneDeep(V);let ue=C.cloneDeep(V);ue=ue==null?void 0:ue.map(D=>{var Be,Je,We,qe,Ee,Ke,Ze,el,Ye;return(Je=(Be=D==null?void 0:D.optionUrl)==null?void 0:Be.menuSelect)!=null&&Je.some(Se=>Se==null?void 0:Se.includes("["))&&(D.optionUrl.oldMenuSelect=(qe=(We=C.cloneDeep(D))==null?void 0:We.optionUrl)==null?void 0:qe.menuSelect,D.optionUrl.menuSelect=(Ke=(Ee=D==null?void 0:D.optionUrl)==null?void 0:Ee.menuSelect)==null?void 0:Ke.map(Se=>{var Te,rl,cl,dl;if(Se!=null&&Se.includes("[")){let pl=(rl=(Te=Se==null?void 0:Se.replaceAll("[","").replaceAll("]",""))==null?void 0:Te.split(":"))==null?void 0:rl[1];Se=(dl=(cl=C.cloneDeep(V))==null?void 0:cl.find(il=>(il==null?void 0:il.label)===pl))==null?void 0:dl.value}return Se})),((i==null?void 0:i.prop)===(D==null?void 0:D.prop)||d===(D==null?void 0:D.prop))&&Array.isArray(i.value)&&(Ze=i.value)!=null&&Ze.every(Se=>typeof Se=="string")&&(D.selectValue=((el=S==null?void 0:S.find(Se=>(Se==null?void 0:Se.key)===(D==null?void 0:D.prop)))==null?void 0:el.value)??((Ye=D.value)==null?void 0:Ye[0])),D}),be.value=ue;let Pe={};(Z=be.value)==null||Z.forEach(D=>{Pe[D.prop]=D==null?void 0:D.value}),ll.value=Pe}let O=je.value,fe={};(pe=be.value)==null||pe.forEach(V=>{var ue,Pe,D,Be,Je,We,qe,Ee,Ke,Ze,el;if(((V==null?void 0:V.directiveLabel)==="#isMain"||(ue=V==null?void 0:V.optionUrl)!=null&&ue.menuId)&&Array.isArray(V==null?void 0:V.value)){if(fe[V.prop]=(D=V.value)==null?void 0:D[((Pe=V.value)==null?void 0:Pe.length)-1],(Be=V==null?void 0:V.prop)!=null&&Be.includes("·")){let Ye=(qe=(We=(Je=V==null?void 0:V.prop)==null?void 0:Je.split("·"))==null?void 0:We.filter(Te=>Te&&Te!==""))==null?void 0:qe.map(Te=>Te==null?void 0:Te.trim()),Se=(el=(Ze=(Ke=(Ee=V==null?void 0:V.selectValue)==null?void 0:Ee[0])==null?void 0:Ke.split(" "))==null?void 0:Ze.filter(Te=>Te&&Te!==""))==null?void 0:el.map(Te=>Te==null?void 0:Te.trim());Ye==null||Ye.forEach((Te,rl)=>{fe[Te]=Se==null?void 0:Se[rl]})}}else fe[V.prop]=(fe==null?void 0:fe[V==null?void 0:V.prop])??V.value});let me=(ke=be.value)==null?void 0:ke.find(V=>{var ue;return(V==null?void 0:V.directiveLabel)==="#isMain"||((ue=V==null?void 0:V.optionUrl)==null?void 0:ue.menuId)});(i==null?void 0:i.directiveLabel)==="#isMain"?O.push({label:i==null?void 0:i.prop,value:(ne=i==null?void 0:i.value)==null?void 0:ne[((J=i==null?void 0:i.value)==null?void 0:J.length)-1],objectValue:fe}):((Ue=me==null?void 0:me.value)==null?void 0:Ue.length)>0&&(O=O==null?void 0:O.map(V=>{var ue;return(V==null?void 0:V.value)===((ue=me==null?void 0:me.selectValue)==null?void 0:ue[0])&&(V.objectValue=fe),V})),je.value=O}Xl.value=!1,ul.value=!1},mo=e=>e?(e==null?void 0:e.toUpperCase())==="INPUT"?"TEXTAREA":e:"TEXTAREA",So=e=>{var s,d;const a=(d=(s=hl.value)==null?void 0:s.find(i=>(i==null?void 0:i.label)===(e==null?void 0:e.label)))==null?void 0:d.multiple,o=e==null?void 0:e.prop;if((e==null?void 0:e.formType)!="Select")return;oe.value.forEach(i=>{const t=i==null?void 0:i[o];a&&ur.isString(t)&&(i[o]=[t]),!a&&!ur.isString(t)&&(i[o]="")})},Za=(e,a)=>{var o;return a==null||a.forEach(r=>{e[r==null?void 0:r.prop]=r==null?void 0:r.value}),e.children&&((o=e.children)==null?void 0:o.length)>0&&(e.children=e.children.map(r=>Za(r,a))),e},ja=e=>{var o,r,n,s,d,i;ea("");const a=(o=be.value)==null?void 0:o.reduce((t,y)=>(t[y.name]=y.value,t),{});if(((r=Object.keys(a))==null?void 0:r.length)>0){ll.value=a,Tl.value="",Fl.value=(n=oe.value)==null?void 0:n.length,_l.value=(s=El.value)==null?void 0:s.filter(y=>(y==null?void 0:y.label)!=="新增");const t=(i=(d=x.value)==null?void 0:d.filter(y=>(y==null?void 0:y.label)!=="操作"))==null?void 0:i.map(y=>{var S,T,P;const A=(T=(S=hl.value)==null?void 0:S.find(z=>(z==null?void 0:z.label)===(y==null?void 0:y.label)))==null?void 0:T.multiple;return So(y),{...y,contents:(y==null?void 0:y.options)??[],optionUrl:y!=null&&y.formMenuSelect&&((P=y==null?void 0:y.formMenuSelect)==null?void 0:P.length)>0?{groupSelect:y==null?void 0:y.groupSelect,menuSelect:y==null?void 0:y.formMenuSelect,selectRelateType:"",type:y==null?void 0:y.formType,multiple:A}:null}});Q.value=t==null?void 0:t.map(y=>Za(y,[{prop:"type",value:"edit"},{prop:"columnType",value:mo(y==null?void 0:y.formType)||(y==null?void 0:y.columnType)}])),Q.value=sa.addOCRColumnToTable(Q.value,ya.value),e==="createClick"&&la(!1)}},Kl={START:"开始时间",END:"结束时间",HOURS:"工时"},xo=(e,a)=>Number(de.dayjs(a).diff(de.dayjs(e),"day",!0).toFixed(1)),er=e=>{var s;const a=u.itemData,o=(s=a==null?void 0:a.find(d=>(d==null?void 0:d.key)==="header"))==null?void 0:s.contents,r=new Map;return o==null||o.forEach((d,i)=>{const{label:t}=d;r.set(t,i)}),!r.has(Kl.START)||!r.has(Kl.END)||!r.has(Kl.HOURS)?e:e==null?void 0:e.map(d=>{const i=d==null?void 0:d[Kl.START],t=d==null?void 0:d[Kl.END],y=xo(i,t);return i&&t&&(d[Kl.HOURS]=`${y}天`),d})},lr=(e,a,o=0)=>{if(o>((a==null?void 0:a.length)??""))return e;const r=a==null?void 0:a[o],n=new Map;for(const d of e){const i=d[r];n.has(i)||n.set(i,[]),n.get(i)&&n.get(i).push(d)}const s=[];for(const[d,i]of n){const[t,...y]=i,A={...t};o+1===((a==null?void 0:a.length)??"")?A.children=i==null?void 0:i.map(S=>(S.level=C.cloneDeep(o)+1,S)).filter((S,T)=>T!==0):y.length>0&&(A.children=lr(y,a,o+1)),A.level=o,s.push(A)}return s},ar=(e,a,o)=>{var n;if(!(a!=null&&a.contents)||((n=a==null?void 0:a.contents)==null?void 0:n.length)===0)return e;let r=[];return r=lr(e,a==null?void 0:a.contents,0),r},rr=(e,a)=>{var z,F,p,_,j,U,b,N,k,E,v,I,L,G,c,B,ie,$,m,w,le,ee,Z,pe,ke,J,ne,Ue,g,M,O,fe,me,V,ue,Pe,D,Be,Je,We,qe,Ee,Ke,Ze,el,Ye,Se,Te,rl,cl,dl,pl,il,Sl;const o=e==null?void 0:e.filter(f=>(f==null?void 0:f.key)==="header");e==null||e.filter(f=>(f==null?void 0:f.key)==="tableIndexColumn")[0];const r=e==null?void 0:e.filter(f=>(f==null?void 0:f.key)==="childTree")[0];let n=!0;if((p=(F=(z=e==null?void 0:e.find(f=>(f==null?void 0:f.key)==="filterAllType"))==null?void 0:z.value)==null?void 0:F.find(f=>(f==null?void 0:f.value)==="onPamButtonContents"))!=null&&p.content){let f=(U=(j=(_=e==null?void 0:e.find(H=>(H==null?void 0:H.key)==="filterAllType"))==null?void 0:_.value)==null?void 0:j.find(H=>(H==null?void 0:H.value)==="onPamButtonContents"))==null?void 0:U.content;f=(b=f==null?void 0:f.split(":"))==null?void 0:b[1],f=(N=f.slice(1,(f==null?void 0:f.length)-1))==null?void 0:N.split(","),n=!!(f!=null&&f.find(H=>H==="操作"))}let s=a;const d=e==null?void 0:e.find(f=>(f==null?void 0:f.key)==="page"),i=e==null?void 0:e.find(f=>(f==null?void 0:f.key)==="rowButton"),t=e==null?void 0:e.find(f=>(f==null?void 0:f.key)==="extraButton"),y=e==null?void 0:e.filter(f=>(f==null?void 0:f.key)==="tableContents"),A=e==null?void 0:e.filter(f=>(f==null?void 0:f.key)==="tableIndex");hl.value=(E=(k=e==null?void 0:e.filter(f=>(f==null?void 0:f.key)==="tableToForm"))==null?void 0:k[0])==null?void 0:E.contents,Fa.value=(d==null?void 0:d.contents)??!0;let S=[];jl.value===""?S=o==null?void 0:o[0]:S=(o==null?void 0:o.find(f=>(f==null?void 0:f.selectLabel)==="("+jl.value+")"))??(o==null?void 0:o.find(f=>!(f!=null&&f.selectLabel)));let T=[];if(jl.value===""?T=A==null?void 0:A[0]:T=(A==null?void 0:A.find(f=>(f==null?void 0:f.selectLabel)==="("+jl.value+")"))??(A==null?void 0:A.find(f=>!(f!=null&&f.selectLabel))),((v=S==null?void 0:S.contents)==null?void 0:v.length)>0){let f=[];if(S!=null&&S.contents.some(W=>Array.isArray(W)&&(W==null?void 0:W.find(h=>h.children))))Ql.value===""?f=(L=(I=de.getGradeColumns(S==null?void 0:S.contents,n))==null?void 0:I[0])==null?void 0:L.filter(W=>!Array.isArray(W)):(Ql.value.split("-"),f=(G=de.getGradeColumns(S==null?void 0:S.contents,n))==null?void 0:G[0]);else{let W=S!=null&&S.contents.some(h=>Array.isArray(h))?(c=S==null?void 0:S.contents)==null?void 0:c[0]:S==null?void 0:S.contents;W==null||W.forEach((h,De)=>{var nl,vl,aa,ra,oa;let Le="";(vl=(nl=_e.value)==null?void 0:nl.split("/"))==null||vl.forEach(xl=>{var na,ia,zl;if(xl!==""){let tl=(zl=(ia=(na=xl==null?void 0:xl.split(Ie+"updateLoading"))==null?void 0:na[0])==null?void 0:ia.split(Ie+"loading"))==null?void 0:zl[0];Le=Le===""?Le+tl:Le+"/"+tl}}),Le=Le+Ie+(h==null?void 0:h.directiveLabel);const Oe=(aa=hl.value)==null?void 0:aa.find(xl=>(xl==null?void 0:xl.prop)===(h==null?void 0:h.prop));f.push({label:(h==null?void 0:h.label)==="操作"?n?"操作":"":(h==null?void 0:h.label)??"",prop:(h==null?void 0:h.label)==="操作"?"operate":(h==null?void 0:h.prop)??"a"+De,width:h!=null&&h.width?parseInt(h.width):"",fixed:(h==null?void 0:h.fixed)??void 0,sortable:(h==null?void 0:h.sortable)??!1,filterable:(h==null?void 0:h.filterable)??!1,operable:(h==null?void 0:h.operable)??!1,showSummary:(h==null?void 0:h.showSummary)??!1,align:(h==null?void 0:h.align)??"left",showOverflowTooltip:(h==null?void 0:h.showOverflowTooltip)??!0,isNotDrag:(h==null?void 0:h.isNotDrag)??!1,isEditCol:(h==null?void 0:h.isEditCol)??!1,isOperate:(h==null?void 0:h.isOperate)??!1,id:(h==null?void 0:h.id)??De,type:(h==null?void 0:h.label)==="操作"?"operate":void 0,formType:(h==null?void 0:h.formType)??(h!=null&&h.groupSelect?"Select":""),isTableColHidden:h==null?void 0:h.isTableColHidden,isFormColHidden:h==null?void 0:h.isFormColHidden,disabled:h==null?void 0:h.disabled,options:(h==null?void 0:h.options)??[],value:(h==null?void 0:h.value)??"",formMenuSelect:(h==null?void 0:h.formMenuSelect)??[],isRoute:(h==null?void 0:h.isRoute)??!1,groupSelect:h!=null&&h.groupSelect?(ra=h==null?void 0:h.groupSelect)==null?void 0:ra.replaceAll('"',"").split(":"):[],isMainKey:(h==null?void 0:h.isMainKey)||(h==null?void 0:h.directiveLabel)==="#isMain",columnType:(Oe==null?void 0:Oe.type)||(h==null?void 0:h.columnType)||"TEXTAREA",directiveLabel:h==null?void 0:h.directiveLabel,directiveColor:(h==null?void 0:h.directiveColor)??!1,isExistChild:!!(h!=null&&h.directiveLabel&&!(s!=null&&s[Le])&&!((oa=h==null?void 0:h.directiveLabel)!=null&&oa.includes("@"))&&(h==null?void 0:h.directiveLabel)!=="#isMain"),childPath:(h==null?void 0:h.directiveLabel)!=="#isMain"?Le:void 0,allSelectionContents:(h==null?void 0:h.allSelectionContents)??[],selectFilter:h==null?void 0:h.selectFilter,menuId:h==null?void 0:h.menuId,filterContent:h==null?void 0:h.filterContent,relatedValueId:h==null?void 0:h.relatedValueId})})}Q.value=de.getNewColumnChild(f),ql.value=de.getNewColumnChild(f),Q.value=sa.addOCRColumnToTable(Q.value,ya.value),ql.value=sa.addOCRColumnToTable(ql.value,ya.value),ae.value=(B=Q.value)==null?void 0:B.map(W=>W==null?void 0:W.label),Ae.value=(ie=Q.value)==null?void 0:ie.every(W=>W==null?void 0:W.filterable),Re.value=($=Q.value)==null?void 0:$.every(W=>W==null?void 0:W.operable),ge.value=(m=Q.value)==null?void 0:m.every(W=>W==null?void 0:W.sortable);let H=(le=(w=de.getAllLeafNodes(Q.value))==null?void 0:w.filter(W=>(W==null?void 0:W.type)!=="operate"))==null?void 0:le.map((W,h)=>({prop:(W==null?void 0:W.prop)??"a"+h,column:W.label}));gl.value=H;let he=[];jl.value===""?he=y==null?void 0:y[0]:he=(y==null?void 0:y.find(W=>(W==null?void 0:W.selectLabel)==="("+jl.value+")"))??(y==null?void 0:y.find(W=>!(W!=null&&W.selectLabel)));let ol=Array.isArray((ee=he==null?void 0:he.contents)==null?void 0:ee[0])&&((Z=he==null?void 0:he.contents)!=null&&Z[0].every(W=>Array.isArray(W)))?(pe=he==null?void 0:he.contents)==null?void 0:pe[0]:he==null?void 0:he.contents;T!=null&&T.contents&&((ke=T==null?void 0:T.contents)==null?void 0:ke.length)!==0&&(ol=(J=C.cloneDeep(ol))==null?void 0:J.map((W,h)=>{if(!Array.isArray(W)){let De={};for(let Le in W)Le!=="id"&&Le!=="index"&&(De[Le]=W[Le]);W=Object.values(De)}return W}));const Al=!!((ne=Q.value)!=null&&ne.find(W=>W.prop==="index"));ol=dr(ol,T==null?void 0:T.contents,Al);const ve=[];ol==null||ol.forEach((W,h)=>{var Le;let De={};if(Array.isArray(W)){let Oe=[];W==null||W.filter(nl=>!(nl!=null&&nl.id)).forEach((nl,vl)=>{var aa,ra,oa,xl,na,ia;if((aa=H==null?void 0:H[vl])!=null&&aa.prop&&!Array.isArray(nl)){let zl={};zl[H[vl].column]=nl,we!=null&&we.value&&((ra=we==null?void 0:we.value)==null?void 0:ra.length)>0&&((oa=we==null?void 0:we.value)!=null&&oa.find(tl=>JSON.stringify(tl==null?void 0:tl[0])===JSON.stringify(zl)))&&(Oe=(xl=we==null?void 0:we.value)==null?void 0:xl.find(tl=>JSON.stringify(tl==null?void 0:tl[0])===JSON.stringify(zl))),Oe&&Oe.length>0?De[H[vl].prop]=Oe!=null&&Oe.find(tl=>{var ua;return((ua=Object.keys(tl))==null?void 0:ua[0])===H[vl].column})?(na=Oe==null?void 0:Oe.find(tl=>{var ua;return((ua=Object.keys(tl))==null?void 0:ua[0])===H[vl].column}))==null?void 0:na[H[vl].column]:nl:De[H[vl].prop]=nl}else Array.isArray(nl)&&((ia=H[vl])!=null&&ia.prop?De[H[vl].prop]=nl:De.children=Pa(nl,H))})}else De=W;Array.isArray(W)&&W.some(Oe=>Oe==null?void 0:Oe.id)?ve.push(Object.assign(De,{id:(Le=W==null?void 0:W.find(Oe=>Oe.id))==null?void 0:Le.id})):De.id?ve.push(De):ve.push(Object.assign(De,{id:h.toString()}))}),oe.value=ar(ve,r,Q.value),da.value=ve,(Ue=da.value)==null||Ue.forEach(W=>{var h;(h=ta.value)==null||h.set(W.id,W)})}else Q.value=[],x.value=[],oe.value=[],da.value=[],ta.value=new Map;if(((g=i==null?void 0:i.contents)==null?void 0:g.length)>0)if((fe=(O=(M=e==null?void 0:e.find(f=>(f==null?void 0:f.key)==="filterAllType"))==null?void 0:M.value)==null?void 0:O.find(f=>(f==null?void 0:f.value)==="onRowButtonContents"))!=null&&fe.content){let f=(ue=(V=(me=e==null?void 0:e.find(H=>(H==null?void 0:H.key)==="filterAllType"))==null?void 0:me.value)==null?void 0:V.find(H=>(H==null?void 0:H.value)==="onButtonContents"))==null?void 0:ue.content;f=(Pe=f==null?void 0:f.split(":"))==null?void 0:Pe[1],f=(D=f.slice(1,(f==null?void 0:f.length)-1))==null?void 0:D.split(","),Ol.value=(Be=i==null?void 0:i.contents)==null?void 0:Be.filter(H=>f==null?void 0:f.find(he=>he===(H==null?void 0:H.label)))}else Ol.value=i==null?void 0:i.contents;else Ol.value=[];if(((Je=t==null?void 0:t.contents)==null?void 0:Je.length)>0)if((Ee=(qe=(We=e==null?void 0:e.find(f=>(f==null?void 0:f.key)==="filterAllType"))==null?void 0:We.value)==null?void 0:qe.find(f=>(f==null?void 0:f.value)==="onButtonContents"))!=null&&Ee.content){let f=(el=(Ze=(Ke=e==null?void 0:e.find(H=>(H==null?void 0:H.key)==="filterAllType"))==null?void 0:Ke.value)==null?void 0:Ze.find(H=>(H==null?void 0:H.value)==="onButtonContents"))==null?void 0:el.content;f=(Ye=f==null?void 0:f.split(":"))==null?void 0:Ye[1],f=(Se=f.slice(1,(f==null?void 0:f.length)-1))==null?void 0:Se.split(","),_l.value=(Te=t==null?void 0:t.contents)==null?void 0:Te.filter(H=>f==null?void 0:f.find(he=>he===(H==null?void 0:H.label))),El.value=(rl=t==null?void 0:t.contents)==null?void 0:rl.filter(H=>f==null?void 0:f.find(he=>he===(H==null?void 0:H.label))),Ce.value=!!(f!=null&&f.find(H=>H==="搜索")),te.value=!!(f!=null&&f.find(H=>H==="块状显示"))}else _l.value=t==null?void 0:t.contents,El.value=t==null?void 0:t.contents;else _l.value=[],El.value=[];const P={label:"OCR识别",background:"var(--ssbutton-theme-bg)",color:"var(--ssbutton-theme-color)"};(cl=_l.value)!=null&&cl.find(f=>(f==null?void 0:f.label)==="OCR识别")||_l.value.push(P),(dl=El.value)!=null&&dl.find(f=>(f==null?void 0:f.label)==="OCR识别")||El.value.push(P),Fl.value=((pl=oe==null?void 0:oe.value)==null?void 0:pl.length)??0,er(oe.value),ga.value=oe.value,bl.value&&(Q.value=(Sl=(il=x.value)==null?void 0:il.filter(f=>(f==null?void 0:f.label)!=="操作"))==null?void 0:Sl.map(f=>{var H;return{...f,type:"edit",optionUrl:f!=null&&f.formMenuSelect&&((H=f==null?void 0:f.formMenuSelect)==null?void 0:H.length)>0?{groupSelect:f==null?void 0:f.groupSelect,menuSelect:f==null?void 0:f.formMenuSelect,selectRelateType:"",type:f==null?void 0:f.formType}:null}}),ja())};l.watch(()=>[u.itemData,jl.value,Sr.value,Ql.value,we==null?void 0:we.value],async()=>{var e,a,o,r,n,s;if((e=u==null?void 0:u.itemData)!=null&&e.find(d=>(d==null?void 0:d.key)==="columnPath")&&!((a=Wl.value)!=null&&a.find(d=>{var i,t;return(d==null?void 0:d.key)===((t=(i=u==null?void 0:u.itemData)==null?void 0:i.find(y=>(y==null?void 0:y.key)==="columnPath"))==null?void 0:t.contents)}))){let d=Wl.value,i={key:(r=(o=u==null?void 0:u.itemData)==null?void 0:o.find(t=>(t==null?void 0:t.key)==="columnPath"))==null?void 0:r.contents,value:(s=(n=u==null?void 0:u.itemData)==null?void 0:n.find(t=>(t==null?void 0:t.key)==="columnUsingPath"))==null?void 0:s.contents};d!=null&&d.find(t=>(t==null?void 0:t.key)===(i==null?void 0:i.key))?d=d==null?void 0:d.map(t=>((t==null?void 0:t.key)===(i==null?void 0:i.key)&&(t.value=i.value),t)):d.push(i),ze.setTableViewContents(d)}rr(u.itemData,u.allMapContents)},{deep:!0,immediate:!0}),l.watch(()=>u==null?void 0:u.operatingForm,e=>{e!=null&&e.form&&(ea(e==null?void 0:e.form),sl.value=e==null?void 0:e.dialogTitle,ha.value=!0,Nl.value=!0)},{immediate:!0,deep:!0});const or=()=>{var e;(e=$e.value)!=null&&e.includes("read")&&(bl.value=!bl.value)},Co=()=>{ba.value=!ba.value};l.watch(()=>{var e;return(e=u==null?void 0:u.config)==null?void 0:e.viewport},e=>{var a;$e.value=e,(e==null?void 0:e.length)===0?bl.value=!1:(e!=null&&e.includes("read")||(bl.value=!0),e!=null&&e.includes("edit")||(bl.value=!1)),xe.value=((a=u==null?void 0:u.config)==null?void 0:a.showIndex)||bl.value},{immediate:!0}),l.watch(()=>bl.value,e=>{var a;e?(ja("viewChange"),ze.setCacheUpdatingData(null)):(_l.value=El.value,Q.value=ql.value,Jl.value&&(ze.setTableLoading(u==null?void 0:u.index),re("change",Jl.value))),ce.value=e,xe.value=e||((a=u==null?void 0:u.config)==null?void 0:a.showIndex)},{immediate:!0}),l.watch(()=>{var e;return(e=za.value)==null?void 0:e.length},e=>{e===0&&(Fe.currentPage=1)}),l.watch(()=>u==null?void 0:u.compNames,e=>{Ve.contents=[{label:"列表名",prop:"groupName",name:"列表名",type:"select",value:"",id:0,contents:e||[],width:1}]},{immediate:!0}),l.ref(!1);const Do=(e,a)=>{var o;ja("createClick"),a===Fe.pageSize&&(Fe.currentPage=Math.ceil(((o=oe.value)==null?void 0:o.length)/Fe.pageSize))},To=(e,a,o)=>{var r;Ya(o,e,a),ll.value=C.cloneDeep(e),Tl.value=e==null?void 0:e.id,Fl.value=(r=oe.value)==null?void 0:r.length,sl.value=typeof(e==null?void 0:e.id)=="string"?"新增":"编辑",la(!1)},al=e=>{var t,y,A,S,T,P,z,F,p,_;const{row:a,column:o,item:r,slotData:n}=e;let s=a!=null&&a[o==null?void 0:o.prop]||(a==null?void 0:a[o==null?void 0:o.prop])===0?((y=(t=a==null?void 0:a[o==null?void 0:o.prop])==null?void 0:t[0])==null?void 0:y.contents)??((a==null?void 0:a[o==null?void 0:o.prop])===0?"0":a==null?void 0:a[o==null?void 0:o.prop]):((S=(A=a==null?void 0:a[r==null?void 0:r.prop])==null?void 0:A[0])==null?void 0:S.contents)??(a==null?void 0:a[r==null?void 0:r.prop])??((P=(T=n==null?void 0:n[r==null?void 0:r.prop])==null?void 0:T[0])==null?void 0:P.contents)??(n==null?void 0:n[r==null?void 0:r.prop])??((p=(F=a==null?void 0:a[(z=r==null?void 0:r.child)==null?void 0:z.prop])==null?void 0:F[0])==null?void 0:p.contents)??(a==null?void 0:a[(_=r==null?void 0:r.child)==null?void 0:_.prop]),i=Array.isArray(s)&&!(s!=null&&s.every(j=>typeof j=="string"||typeof j=="number"))?"查看":s;return i=Array.isArray(i)?i.join(","):i,i},No=e=>{var y,A,S,T,P,z,F,p,_,j;const{row:a,column:o,item:r,slotData:n}=e;let s=a!=null&&a[o==null?void 0:o.prop]?((A=(y=a==null?void 0:a[o==null?void 0:o.prop])==null?void 0:y[0])==null?void 0:A.contents)??(a==null?void 0:a[o==null?void 0:o.prop]):((T=(S=a==null?void 0:a[r==null?void 0:r.prop])==null?void 0:S[0])==null?void 0:T.contents)??(a==null?void 0:a[r==null?void 0:r.prop])??((z=(P=n==null?void 0:n[r==null?void 0:r.prop])==null?void 0:P[0])==null?void 0:z.contents)??(n==null?void 0:n[r==null?void 0:r.prop])??((_=(p=a==null?void 0:a[(F=r==null?void 0:r.child)==null?void 0:F.prop])==null?void 0:p[0])==null?void 0:_.contents)??(a==null?void 0:a[(j=r==null?void 0:r.child)==null?void 0:j.prop]);const i=Array.isArray(s)&&!(s!=null&&s.every(U=>typeof U=="string"||typeof U=="number")),t=Array.isArray(s)&&(s==null?void 0:s.find(U=>U==null?void 0:U.url));return i&&t},Eo=(e,a)=>e.find(o=>Object.values(o).some(r=>r===a));return l.watch(()=>vr.value,async e=>{if(e){Ge.setContentLoading(!0),await l.nextTick();const a=Eo(oe.value,e==null?void 0:e.data);if(!a)return Ge.setContentLoading(!1);await Ja(e==null?void 0:e.data,null,a,{data:e==null?void 0:e.data,isMainKey:!0}),Ge.setContentLoading(!1)}},{deep:!0,immediate:!0}),l.watch(()=>u==null?void 0:u.cacheNewData,e=>{var a;e&&(Array.isArray(e)||(e==null?void 0:e.compId)===(u==null?void 0:u.index)&&(oe.value=(a=oe.value)==null?void 0:a.map(o=>{var r;return(o==null?void 0:o.id)===((r=e==null?void 0:e.data)==null?void 0:r.id)?{...o,id:e==null?void 0:e.resId}:o})))},{immediate:!0,deep:!0}),(e,a)=>{var T,P,z,F;const o=l.resolveComponent("svg-icon"),r=l.resolveComponent("el-popover"),n=l.resolveComponent("el-switch"),s=l.resolveComponent("el-checkbox"),d=l.resolveComponent("el-checkbox-group"),i=l.resolveComponent("el-button"),t=l.resolveComponent("LookComponent"),y=l.resolveComponent("el-icon"),A=l.resolveComponent("el-upload"),S=l.resolveDirective("loading");return l.openBlock(),l.createElementBlock("div",rn,[Ka.value?(l.openBlock(),l.createBlock(fl.ssTable,{id:"excel-table",pageObj:Fe,showIndex:xe.value,isTree:(T=q.compItem)==null?void 0:T.isTree,summaryInfo:He,columns:Q.value,defaultSort:Y,isCardViewport:ba.value,checkedColumns:ae.value,key:Ba.value+JSON.stringify(Q.value),tableData:za.value,isEditViewport:bl.value,isShowPagination:Fa.value,isShowEdit:!1,isShowDelete:!1,allowSelect:ce.value,onDbClickRow:Ir,extraButton:_l.value,rowButton:Ol.value,cacheExtraButtons:El.value,isClearSelection:((P=kl.value)==null?void 0:P.length)===0,onDoCurrentChange:Ar,onDoSizeChange:_r,onContentClick:Ja,onRowClick:Qr,onSelectChange:Mr,onCellChange:To,onChange:Ya,onPreview:Va,onSubmitEditingTable:jr,onHandleColEditChange:Ur,onHandleColTypeChange:Lr,onClickButton:Sa},l.createSlots({headerButton:l.withCtx(p=>{var _,j;return[q.showHeader?(l.openBlock(),l.createBlock(Jo,{key:0,pageLayout:q.pageLayout,lockingPage:l.unref(ca)===l.unref(_e),filterValues:qa.value,selectNums:(_=kl.value)==null?void 0:_.length,dataNums:(j=oe.value)==null?void 0:j.length,compName:q.compName,isDevMode:q.isDevMode,buttons:p.buttons,onButtonClick:a[1]||(a[1]=U=>Sa(U,"",{})),columns:Q.value,onFilter:Gr,onGetImportData:Or,level:q.level,filterShow:Ce.value},null,8,["pageLayout","lockingPage","filterValues","selectNums","dataNums","compName","isDevMode","buttons","columns","level","filterShow"])):l.createCommentVNode("",!0)]}),viewport:l.withCtx(()=>{var p,_,j,U;return[((p=oe.value)==null?void 0:p.length)>0&&q.allowOperate&&te.value?(l.openBlock(),l.createElementBlock("div",un,[(_=$e.value)!=null&&_.includes("read")&&((j=$e.value)!=null&&j.includes("edit"))&&((U=Ol.value)!=null&&U.some(b=>(b==null?void 0:b.label)==="编辑"))&&!ba.value&&l.unref(ca)!==l.unref(_e)?(l.openBlock(),l.createElementBlock("span",{key:0,title:"编辑表格",onClick:or},[l.createVNode(o,{name:"editTable",class:"view-icon"})])):l.createCommentVNode("",!0),l.createElementVNode("span",{title:"卡片视图",onClick:Co},[l.createVNode(o,{name:"cardViewport",class:"view-icon"})])])):l.createCommentVNode("",!0)]}),rowCreate:l.withCtx(({row:p,index:_})=>[l.createElementVNode("span",{title:"新增",class:"row-create-wrap",onClick:j=>Do(p,_)},[l.createVNode(o,{name:"rowCreate",style:{width:"10px",height:"10px"}})],8,sn)]),operateCol:l.withCtx(()=>[l.createVNode(r,{title:"选择显示列信息",placement:"left-start","popper-class":"menu-operate-popover",trigger:"hover",onShow:bo},{reference:l.withCtx(()=>[l.createElementVNode("span",cn,[l.createVNode(o,{name:"operate",style:{width:"15px",height:"15px",cursor:"pointer"}})])]),default:l.withCtx(()=>[l.createElementVNode("div",dn,[a[13]||(a[13]=l.createElementVNode("div",{class:"group-title"},"表格操作",-1)),l.createVNode(n,{"model-value":ge.value,"active-text":"排序","inactive-text":"",style:{"margin-right":"8px"},onChange:a[3]||(a[3]=p=>Oa(p,"sortable"))},null,8,["model-value"]),l.createVNode(n,{"model-value":Ae.value,"active-text":"筛选","inactive-text":"",style:{"margin-right":"8px"},onChange:a[4]||(a[4]=p=>Oa(p,"filterable"))},null,8,["model-value"]),l.createVNode(n,{"model-value":Re.value,"active-text":"编辑所有表头","inactive-text":"",onChange:a[5]||(a[5]=p=>Oa(p,"operable"))},null,8,["model-value"]),a[14]||(a[14]=l.createElementVNode("div",{class:"group-title"},"表格列操作",-1)),l.createVNode(d,{modelValue:ae.value,"onUpdate:modelValue":a[6]||(a[6]=p=>ae.value=p),style:{height:"100%"},min:2,ref_key:"checkboxGroupRef",ref:K},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Yl.value,p=>(l.openBlock(),l.createElementBlock("div",{style:{display:"flex","align-items":"center"},key:p.label},[l.createVNode(s,{value:p.label,style:{width:"100%",marginRight:0}},{default:l.withCtx(()=>[l.createElementVNode("span",{title:p.label,style:{display:"inline-block",width:"250px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},l.toDisplayString(p.label),9,tn)]),_:2},1032,["value"]),l.createVNode(r,{title:"列操作",placement:"left",teleported:!1,trigger:"hover"},{reference:l.withCtx(()=>[l.createVNode(o,{name:"colOperate",style:{width:"15px",height:"15px",cursor:"pointer",color:"grey",position:"absolute",right:"40px"}})]),default:l.withCtx(()=>{var _;return[l.createElementVNode("div",pn,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((_=Object.keys(p))==null?void 0:_.filter(j=>{var U;return(U=Cl.value)==null?void 0:U.find(b=>(b==null?void 0:b.value)===j)}),j=>{var U,b;return l.openBlock(),l.createElementBlock("div",{key:j},[l.createVNode(n,{"model-value":p==null?void 0:p[j],"active-text":(b=(U=Cl.value)==null?void 0:U.find(N=>(N==null?void 0:N.value)===j))==null?void 0:b.label,onChange:N=>Fr(N,j,p)},null,8,["model-value","active-text","onChange"])])}),128))])]}),_:2},1024),l.createElementVNode("span",fn,[l.createVNode(o,{name:"drag",class:"col-drag-icon",style:{width:"15px",height:"15px"}})])]))),128))]),_:1},8,["modelValue"])])]),_:1})]),content:l.withCtx(p=>{var _,j,U,b,N,k,E,v,I,L,G,c,B,ie,$,m,w,le,ee,Z;return[((_=p==null?void 0:p.column)==null?void 0:_.label)==="OCR图片"||((j=p==null?void 0:p.column)==null?void 0:j.prop)==="OCR图片"?(l.openBlock(),l.createElementBlock("div",hn,[l.createVNode(o,{name:"query",style:{width:"20px",height:"20px",color:"var(--ss-ocr-icon-color)",cursor:"pointer"},onClick:l.withModifiers(pe=>no(p==null?void 0:p.row),["stop"]),title:"OCR识别"},null,8,["onClick"])])):No(p)?(l.openBlock(),l.createBlock(r,{key:1,"popper-class":"file-popover",placement:"right",trigger:"hover",effect:"light",width:"auto"},{reference:l.withCtx(()=>[l.createElementVNode("span",vn,l.toDisplayString(al(p)),1)]),default:l.withCtx(()=>{var pe,ke;return[l.createElementVNode("div",yn,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList((ke=p==null?void 0:p.row)==null?void 0:ke[(pe=p==null?void 0:p.column)==null?void 0:pe.prop],J=>(l.openBlock(),l.createElementBlock("div",gn,[l.createElementVNode("div",{class:"prop-url",title:ma(J),onClick:ne=>zr(J)},l.toDisplayString(ma(J)),9,bn),l.createElementVNode("div",{class:"prop-download",onClick:ne=>Vr(J)}," 下载 ",8,kn)]))),256))])]}),_:2},1024)):(l.openBlock(),l.createElementBlock("div",{key:2,style:l.normalizeStyle({color:!Array.isArray(al(p))&&((b=(U=al(p))==null?void 0:U.toString())!=null&&b.includes(".txt")||(k=(N=al(p))==null?void 0:N.toString())!=null&&k.includes(".cpt")||(v=(E=al(p))==null?void 0:E.toString())!=null&&v.includes(".cyd"))?"var(--vertical-menuitem-active-bg)":"",textDecoration:!Array.isArray(al(p))&&((L=(I=al(p))==null?void 0:I.toString())!=null&&L.includes(".txt")||(c=(G=al(p))==null?void 0:G.toString())!=null&&c.includes(".cpt")||(ie=(B=al(p))==null?void 0:B.toString())!=null&&ie.includes(".cyd"))?"underline":"",cursor:!Array.isArray(al(p))&&((m=($=al(p))==null?void 0:$.toString())!=null&&m.includes(".txt")||(le=(w=al(p))==null?void 0:w.toString())!=null&&le.includes(".cpt")||(Z=(ee=al(p))==null?void 0:ee.toString())!=null&&Z.includes(".cyd"))?"pointer":"",marginLeft:(p==null?void 0:p.colIndex)===0?`${((p==null?void 0:p.level)??0)*20}px`:0}),onClick:pe=>Er(al(p))},l.toDisplayString(al(p)===0?"0":al(p)),13,mn))]}),_:2},[((z=Ol.value)==null?void 0:z.length)>0&&l.unref(ca)!==l.unref(_e)?{name:"actions",fn:l.withCtx(({item:p})=>[l.createVNode(r,{title:"",placement:"left-start","popper-class":"menu-operate-popover"},{reference:l.withCtx(()=>[l.createVNode(o,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"},onClick:a[0]||(a[0]=l.withModifiers(()=>{},["stop"]))})]),default:l.withCtx(()=>[l.createElementVNode("div",on,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(qr(Ol.value,p),(_,j)=>(l.openBlock(),l.createElementBlock("div",{class:"menu-config-item",key:j,onClick:l.withModifiers(U=>Sa(_==null?void 0:_.label,p,{extra:_}),["stop"])},[l.createElementVNode("div",{style:l.normalizeStyle({color:_==null?void 0:_.textColor}),class:"extra-button-label"},l.toDisplayString(_==null?void 0:_.label),5)],8,nn))),128))])]),_:2},1024)]),key:"0"}:void 0,((F=oe.value)==null?void 0:F.length)>0?{name:"batchButton",fn:l.withCtx(p=>[l.withDirectives(l.createVNode(Go,{lockingPage:l.unref(ca)===l.unref(_e),buttons:p.buttons,selectTableItems:kl.value,onButtonClick:a[2]||(a[2]=_=>Sa(_,"",{}))},null,8,["lockingPage","buttons","selectTableItems"]),[[l.vShow,ce.value]]),l.withDirectives(l.createElementVNode("div",null,null,512),[[l.vShow,!ce.value]])]),key:"1"}:void 0]),1032,["pageObj","showIndex","isTree","summaryInfo","columns","defaultSort","isCardViewport","checkedColumns","tableData","isEditViewport","isShowPagination","allowSelect","extraButton","rowButton","cacheExtraButtons","isClearSelection"])):l.createCommentVNode("",!0),l.createVNode(Vl.ssDialog,{title:sl.value,visible:Nl.value,width:Cr.value,onBeforeDestroy:Rr,style:{height:"74%"}},{default:l.withCtx(()=>[l.createElementVNode("div",Sn,[l.createVNode(fl.ssForm,{rowContents:be.value,isEnableWrap:!1,showOperator:!1,onChange:ko,onFixChangeValue:Wr,onClickTrigger:Kr,isEdit:pa.value,onBlurChange:Pr,onCreate:$r,onTagChange:Nr},null,8,["rowContents","isEdit"])])]),footer:l.withCtx(()=>[ha.value?(l.openBlock(),l.createElementBlock("div",xn,[l.createVNode(i,{onClick:a[7]||(a[7]=p=>Nl.value=!1),id:"themeBorderButton"},{default:l.withCtx(()=>a[15]||(a[15]=[l.createTextVNode(l.toDisplayString("取消"))])),_:1,__:[15]}),l.createVNode(i,{class:"ok-button",onClick:a[8]||(a[8]=p=>la(!0)),id:"themeButton"},{default:l.withCtx(()=>a[16]||(a[16]=[l.createTextVNode(l.toDisplayString("确认"))])),_:1,__:[16]})])):l.createCommentVNode("",!0)]),_:1},8,["title","visible","width"]),l.createVNode(Vl.ssDialog,{title:sl.value,visible:fa.value,width:Na.value,onBeforeDestroy:a[10]||(a[10]=p=>fa.value=!1)},{default:l.withCtx(()=>[l.createVNode(Yo)]),footer:l.withCtx(()=>[l.createElementVNode("div",Cn,[l.createVNode(i,{onClick:a[9]||(a[9]=p=>fa.value=!1),class:"cancel-button",id:"themeBorderButton"},{default:l.withCtx(()=>a[17]||(a[17]=[l.createTextVNode(l.toDisplayString("取消"))])),_:1,__:[17]}),l.createVNode(i,{class:"ok-button",onClick:Xr,id:"themeButton"},{default:l.withCtx(()=>a[18]||(a[18]=[l.createTextVNode(l.toDisplayString("确认"))])),_:1,__:[18]})])]),_:1},8,["title","visible","width"]),Ll.value?(l.openBlock(),l.createBlock(fl.ssFilePreview,{key:1,fileDataList:Pl.value,onDestroy:Hr},null,8,["fileDataList"])):l.createCommentVNode("",!0),Me.value?(l.openBlock(),l.createBlock(Vl.ssDialog,{key:2,visible:Me.value,onBeforeDestroy:yo,style:{height:"80vh",width:"80vw"},"body-class":"three-dialog-body","footer-class":"three-dialog-footer"},{default:l.withCtx(()=>[l.createVNode(ir.ThreeViewerHost,{files:Gl.value,threeData:ye.value},null,8,["files","threeData"])]),_:1},8,["visible"])):l.createCommentVNode("",!0),l.createVNode(Vl.ssDialog,{visible:e.componentVisible,onBeforeDestroy:a[11]||(a[11]=p=>e.componentVisible=!1),width:Na.value,style:{height:"70vh"}},{default:l.withCtx(()=>[l.createVNode(t,{dialogItem:Ml.value},null,8,["dialogItem"])]),_:1},8,["visible","width"]),l.createVNode(Vl.ssDialog,{title:"上传OCR图片",visible:va.value,onBeforeDestroy:Ga,width:"600px"},{default:l.withCtx(()=>[l.withDirectives((l.openBlock(),l.createElementBlock("div",null,[l.createVNode(A,{"file-list":Bl.value,"onUpdate:fileList":a[12]||(a[12]=p=>Bl.value=p),multiple:"",drag:"",action:"","auto-upload":!1,limit:20,accept:"image/*","on-change":io,class:"upload-content"},{tip:l.withCtx(()=>a[19]||(a[19]=[l.createElementVNode("div",{class:"el-upload__tip tip-content"}," 请上传图片文件,大小不超过10MB ",-1)])),default:l.withCtx(()=>[l.createVNode(y,{class:"el-icon--upload"},{default:l.withCtx(()=>[l.createVNode(l.unref(C.upload_filled_default))]),_:1}),a[20]||(a[20]=l.createElementVNode("div",{class:"el-upload__text"},[l.createTextVNode(" 将图片拖到此处或"),l.createElementVNode("em",null,"点击上传")],-1))]),file:l.withCtx(({file:p,index:_})=>[l.createElementVNode("div",Dn,[l.createElementVNode("div",{class:"upload-content-title",style:{flex:"1",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},title:p==null?void 0:p.name},l.toDisplayString(p==null?void 0:p.name),9,Tn),l.createElementVNode("div",Nn,[l.createVNode(o,{class:"icon-blue",name:"EyeFill",style:{width:"15px",height:"15px",cursor:"pointer",color:"var(--ssform-label-color)"},onClick:j=>so(p),title:"预览"},null,8,["onClick"]),l.createVNode(o,{class:"icon-blue",name:"Cancel",style:{width:"15px",height:"15px",cursor:"pointer",color:"var(--ssform-label-color)"},onClick:j=>to(_),title:"删除"},null,8,["onClick"])])])]),_:1},8,["file-list"])])),[[S,Il.value]])]),footer:l.withCtx(()=>[l.createElementVNode("div",En,[l.createVNode(i,{onClick:Ga,id:"themeBorderButton",disabled:Il.value},{default:l.withCtx(()=>a[21]||(a[21]=[l.createTextVNode("取消")])),_:1,__:[21]},8,["disabled"]),l.createVNode(i,{class:"ok-button",onClick:uo,id:"themeButton",disabled:Il.value},{default:l.withCtx(()=>a[22]||(a[22]=[l.createTextVNode("确认")])),_:1,__:[22]},8,["disabled"])])]),_:1},8,["visible"]),Ea.value?(l.openBlock(),l.createBlock(fl.ssFilePreview,{key:3,fileDataList:Aa.value,onDestroy:co},null,8,["fileDataList"])):l.createCommentVNode("",!0),l.createVNode(Vl.ssDialog,{title:Ve.title,visible:Ve.show,width:Ve.width,onBeforeDestroy:ro},{default:l.withCtx(()=>[l.createElementVNode("div",An,[l.createVNode(fl.ssForm,{rowContents:Ve==null?void 0:Ve.contents,formRules:Ve==null?void 0:Ve.formRules,showOperator:!1,buttonValue:Ve.buttonValue,isEdit:pa.value,isStartJustify:!1,isEnableWrap:!1,onOnButtonClick:oo},null,8,["rowContents","formRules","buttonValue","isEdit"])])]),_:1},8,["title","visible","width"])])}}},Bn=Da._export_sfc(_n,[["__scopeId","data-v-cc874332"]]);exports.formGetOptions=Ma;exports.getSelectRow=Ca;exports.ssTable=Bn;exports.useFormComp=fr;exports.useFormToTableComp=cr;
@@ -1,3 +0,0 @@
1
- "use strict";var v3=Object.defineProperty;var z3=(x,s,h)=>s in x?v3(x,s,{enumerable:!0,configurable:!0,writable:!0,value:h}):x[s]=h;var s3=(x,s,h)=>z3(x,typeof s!="symbol"?s+"":s,h);const E=require("./MTLLoader-DACeOwx8.cjs"),n=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C8n9olfd.cjs"),k=require("./index-DOItJqcJ.cjs"),f3=require("vue"),u3=require("./index-CXC0u8pm.cjs"),b3=require("./URDFLoader-BoSgd6gH.cjs");class y3 extends n.Loader{constructor(s){super(s),this.littleEndian=!0}load(s,h,p,t){const z=this,M=new n.FileLoader(z.manager);M.setPath(z.path),M.setResponseType("arraybuffer"),M.setRequestHeader(z.requestHeader),M.setWithCredentials(z.withCredentials),M.load(s,function(T){try{h(z.parse(T))}catch(O){t?t(O):console.error(O),z.manager.itemError(s)}},p,t)}_getDataView(s,h,p,t){switch(p){case"F":return t===8?s.getFloat64(h,this.littleEndian):s.getFloat32(h,this.littleEndian);case"I":return t===1?s.getInt8(h):t===2?s.getInt16(h,this.littleEndian):s.getInt32(h,this.littleEndian);case"U":return t===1?s.getUint8(h):t===2?s.getUint16(h,this.littleEndian):s.getUint32(h,this.littleEndian)}}parse(s){function h(a,e){const m=a.length,o=new Uint8Array(e);let c=0,r=0,i,f,b;do if(i=a[c++],i<32){if(i++,r+i>e)throw new Error("Output buffer is not large enough");if(c+i>m)throw new Error("Invalid compressed data");do o[r++]=a[c++];while(--i)}else{if(f=i>>5,b=r-((i&31)<<8)-1,c>=m)throw new Error("Invalid compressed data");if(f===7&&(f+=a[c++],c>=m))throw new Error("Invalid compressed data");if(b-=a[c++],r+f+2>e)throw new Error("Output buffer is not large enough");if(b<0)throw new Error("Invalid compressed data");if(b>=r)throw new Error("Invalid compressed data");do o[r++]=o[b++];while(--f+2)}while(c<m);return o}function p(a){const e={},m=new Uint8Array(a);let o="",c="",r=0,i=!1;const f=m.length;for(;r<f&&i===!1;){const y=String.fromCharCode(m[r++]);y===`
2
- `||y==="\r"?(c.trim().toLowerCase().startsWith("data")&&(i=!0),c=""):c+=y,o+=y}const b=o.search(/[\r\n]DATA\s(\S*)\s/i),g=/[\r\n]DATA\s(\S*)\s/i.exec(o.slice(b-1));if(e.data=g[1],e.headerLen=g[0].length+b,e.str=o.slice(0,e.headerLen),e.str=e.str.replace(/#.*/gi,""),e.version=/^VERSION (.*)/im.exec(e.str),e.fields=/^FIELDS (.*)/im.exec(e.str),e.size=/^SIZE (.*)/im.exec(e.str),e.type=/^TYPE (.*)/im.exec(e.str),e.count=/^COUNT (.*)/im.exec(e.str),e.width=/^WIDTH (.*)/im.exec(e.str),e.height=/^HEIGHT (.*)/im.exec(e.str),e.viewpoint=/^VIEWPOINT (.*)/im.exec(e.str),e.points=/^POINTS (.*)/im.exec(e.str),e.version!==null&&(e.version=parseFloat(e.version[1])),e.fields=e.fields!==null?e.fields[1].split(" "):[],e.type!==null&&(e.type=e.type[1].split(" ")),e.width!==null&&(e.width=parseInt(e.width[1])),e.height!==null&&(e.height=parseInt(e.height[1])),e.viewpoint!==null&&(e.viewpoint=e.viewpoint[1]),e.points!==null&&(e.points=parseInt(e.points[1],10)),e.points===null&&(e.points=e.width*e.height),e.size!==null&&(e.size=e.size[1].split(" ").map(function(y){return parseInt(y,10)})),e.count!==null)e.count=e.count[1].split(" ").map(function(y){return parseInt(y,10)});else{e.count=[];for(let y=0,D=e.fields.length;y<D;y++)e.count.push(1)}e.offset={};let S=0;for(let y=0,D=e.fields.length;y<D;y++)e.data==="ascii"?e.offset[e.fields[y]]=y:(e.offset[e.fields[y]]=S,S+=e.size[y]*e.count[y]);return e.rowSize=S,e}const t=p(s),z=[],M=[],T=[],O=[],R=[],V=new n.Color;if(t.data==="ascii"){const a=t.offset,o=new TextDecoder().decode(s).slice(t.headerLen).split(`
3
- `);for(let c=0,r=o.length;c<r;c++){if(o[c]==="")continue;const i=o[c].split(" ");if(a.x!==void 0&&(z.push(parseFloat(i[a.x])),z.push(parseFloat(i[a.y])),z.push(parseFloat(i[a.z]))),a.rgb!==void 0){const f=t.fields.findIndex(j=>j==="rgb"),b=t.type[f],g=parseFloat(i[a.rgb]);let S=g;if(b==="F"){const j=new Float32Array(1);j[0]=g,S=new Int32Array(j.buffer)[0]}const y=(S>>16&255)/255,D=(S>>8&255)/255,$=(S>>0&255)/255;V.setRGB(y,D,$,n.SRGBColorSpace),T.push(V.r,V.g,V.b)}a.normal_x!==void 0&&(M.push(parseFloat(i[a.normal_x])),M.push(parseFloat(i[a.normal_y])),M.push(parseFloat(i[a.normal_z]))),a.intensity!==void 0&&O.push(parseFloat(i[a.intensity])),a.label!==void 0&&R.push(parseInt(i[a.label]))}}if(t.data==="binary_compressed"){const a=new Uint32Array(s.slice(t.headerLen,t.headerLen+8)),e=a[0],m=a[1],o=h(new Uint8Array(s,t.headerLen+8,e),m),c=new DataView(o.buffer),r=t.offset;for(let i=0;i<t.points;i++){if(r.x!==void 0){const f=t.fields.indexOf("x"),b=t.fields.indexOf("y"),g=t.fields.indexOf("z");z.push(this._getDataView(c,t.points*r.x+t.size[f]*i,t.type[f],t.size[f])),z.push(this._getDataView(c,t.points*r.y+t.size[b]*i,t.type[b],t.size[b])),z.push(this._getDataView(c,t.points*r.z+t.size[g]*i,t.type[g],t.size[g]))}if(r.rgb!==void 0){const f=t.fields.indexOf("rgb"),b=c.getUint8(t.points*r.rgb+t.size[f]*i+2)/255,g=c.getUint8(t.points*r.rgb+t.size[f]*i+1)/255,S=c.getUint8(t.points*r.rgb+t.size[f]*i+0)/255;V.setRGB(b,g,S,n.SRGBColorSpace),T.push(V.r,V.g,V.b)}if(r.normal_x!==void 0){const f=t.fields.indexOf("normal_x"),b=t.fields.indexOf("normal_y"),g=t.fields.indexOf("normal_z");M.push(this._getDataView(c,t.points*r.normal_x+t.size[f]*i,t.type[f],t.size[f])),M.push(this._getDataView(c,t.points*r.normal_y+t.size[b]*i,t.type[b],t.size[b])),M.push(this._getDataView(c,t.points*r.normal_z+t.size[g]*i,t.type[g],t.size[g]))}if(r.intensity!==void 0){const f=t.fields.indexOf("intensity");O.push(this._getDataView(c,t.points*r.intensity+t.size[f]*i,t.type[f],t.size[f]))}if(r.label!==void 0){const f=t.fields.indexOf("label");R.push(c.getInt32(t.points*r.label+t.size[f]*i,this.littleEndian))}}}if(t.data==="binary"){const a=new DataView(s,t.headerLen),e=t.offset;for(let m=0,o=0;m<t.points;m++,o+=t.rowSize){if(e.x!==void 0){const c=t.fields.indexOf("x"),r=t.fields.indexOf("y"),i=t.fields.indexOf("z");z.push(this._getDataView(a,o+e.x,t.type[c],t.size[c])),z.push(this._getDataView(a,o+e.y,t.type[r],t.size[r])),z.push(this._getDataView(a,o+e.z,t.type[i],t.size[i]))}if(e.rgb!==void 0){const c=a.getUint8(o+e.rgb+2)/255,r=a.getUint8(o+e.rgb+1)/255,i=a.getUint8(o+e.rgb+0)/255;V.setRGB(c,r,i,n.SRGBColorSpace),T.push(V.r,V.g,V.b)}if(e.normal_x!==void 0){const c=t.fields.indexOf("normal_x"),r=t.fields.indexOf("normal_y"),i=t.fields.indexOf("normal_z");M.push(this._getDataView(a,o+e.normal_x,t.type[c],t.size[c])),M.push(this._getDataView(a,o+e.normal_y,t.type[r],t.size[r])),M.push(this._getDataView(a,o+e.normal_z,t.type[i],t.size[i]))}if(e.intensity!==void 0){const c=t.fields.indexOf("intensity");O.push(this._getDataView(a,o+e.intensity,t.type[c],t.size[c]))}e.label!==void 0&&R.push(a.getInt32(o+e.label,this.littleEndian))}}const B=new n.BufferGeometry;z.length>0&&B.setAttribute("position",new n.Float32BufferAttribute(z,3)),M.length>0&&B.setAttribute("normal",new n.Float32BufferAttribute(M,3)),T.length>0&&B.setAttribute("color",new n.Float32BufferAttribute(T,3)),O.length>0&&B.setAttribute("intensity",new n.Float32BufferAttribute(O,1)),R.length>0&&B.setAttribute("label",new n.Int32BufferAttribute(R,1)),B.computeBoundingSphere();const d=new n.PointsMaterial({size:.005});return T.length>0&&(d.vertexColors=!0),new n.Points(B,d)}}const M3=u3.useModelComp(k.pinia),{systemPath:l3}=k.storeToRefs(M3),J=f3.ref(),i3=new WeakMap;function w3(x,s,h,p,t){const z=async d=>{try{const a=await n.downloadAvatarApi({url:d});if(a.status!==200)throw new Error(`下载失败: ${a.status}`);return a.data}catch(a){throw console.error("addModelFromUrl失败:",a),a}},M=d=>new Promise((a,e)=>{const m=new FileReader;m.onload=o=>{try{const c=o.target.result,i=new E.MTLLoader().parse(c);i.preload(),a(i)}catch(c){e(c)}},m.onerror=()=>{e(new Error("MTL文件读取失败"))},m.readAsText(d)}),T=async d=>{const a={materials:{},create:function(e){return this.materials[e]?this.materials[e]:(console.warn(`Material '${e}' not found, using default material`),new n.MeshPhongMaterial({color:8947848,side:n.DoubleSide}))},getAsArray:function(){const e=[];for(const m in this.materials)e.push(this.materials[m]);return e},preload:function(){for(const e in this.materials)this.materials[e].map&&(this.materials[e].map.needsUpdate=!0)}};for(const e of d){const m=await M(e);Object.assign(a.materials,m.materials)}return a.preload(),a},O=async(d,a=[])=>new Promise((e,m)=>{const o=new FileReader;o.onload=async c=>{try{const r=c.target.result;let i=null;a&&a.length>0&&(a.length===1?i=await M(a[0]):i=await T(a));const f=new E.OBJLoader;i&&f.setMaterials(i);const b=f.parse(r);i||b.traverse(g=>{g.isMesh&&(g.material=new n.MeshPhongMaterial({color:8947848,side:n.DoubleSide}))}),e(b)}catch(r){m(r)}},o.onerror=()=>{m(new Error("OBJ文件读取失败"))},o.readAsText(d)}),R=async d=>{var a;try{h.value=!0;const{scene:e}=x();if(!e)throw new Error("Scene not initialized");t();const m=[];for(let o=0;o<d.length;o++){const c=d[o];p.value=`正在加载模型 ${o+1}/${d.length}...`;const r=await z(c.objUrl),i=((a=c.objUrl)==null?void 0:a.split("/").pop())||`model_${o}.obj`,f=new File([r],i,{type:r.type});let b=[];if(c.mtlUrls){const S=Array.isArray(c.mtlUrls)?c.mtlUrls:[c.mtlUrls];for(let y=0;y<S.length;y++){const D=S[y],$=await z(D),j=(D==null?void 0:D.split("/").pop())||`material_${o}_${y}.mtl`,G=new File([$],j,{type:$.type});b.push(G)}}const g=await O(f,b);e.add(g),s.value.push(g),m.push(g)}return h.value=!1,m}catch(e){throw console.error("加载模型失败:",e),h.value=!1,e}},V=async(d,a,e=[],m=[])=>{let o;const c=d.toLowerCase();switch(c){case".txt":case".cpt":case".obj":const r=await a.text();if(c===".txt"||c===".cpt"){const l=/^(?!.*\bf\b)[^\n]*?(-?\d*\.?\d+)[^\n]*?(-?\d*\.?\d+)[^\n]*?(-?\d*\.?\d+)[^\n]*?$/gm,u=[...r.matchAll(l)].map(w=>({x:parseFloat(w[1]),y:parseFloat(w[2]),z:parseFloat(w[3])})),H=new n.BufferGeometry,F=u.flatMap(w=>[w.x,w.y,w.z]);if(H.setAttribute("position",new n.Float32BufferAttribute(F,3)),c===".txt"){const w=new n.PointsMaterial({color:"#5B5C99",size:1,sizeAttenuation:!1});o=new n.Points(H,w)}else if(c===".cpt"){const w=new n.LineBasicMaterial({color:"#5B5C99",linewidth:100});o=new n.Line(H,w)}}else if(c===".obj"){const l=new E.OBJLoader;if(e&&e.length>0){const v=new E.MTLLoader;for(const u of e){const H=await u.text(),F=v.parse(H);F.preload(),l.setMaterials(F);break}}o=l.parse(r),(!e||e.length===0)&&o.traverse(v=>{v.isMesh&&(v.material=new n.MeshPhongMaterial({color:"#B3B3D4"})),v instanceof n.Mesh&&(v.material.side=n.DoubleSide)})}break;case".stl":const i=await a.arrayBuffer(),b=new E.STLLoader().parse(i),g=new n.MeshPhongMaterial({color:"#B3B3D4",side:n.DoubleSide});o=new n.Mesh(b,g);break;case".nc":const S=["Mach_B_Axis_0.STL","Mach_C_Axis_0.STL","Mach_X_Axis_0.STL","Mach_Y_Axis_0.STL","Mach_Z_Axis_0.STL","Mach_Spindle_0.STL"],y={"Mach_Y_Axis_0.STL":"rgb(128,118,152)","Mach_B_Axis_0.STL":"rgb(204,143,89)","Mach_C_Axis_0.STL":"rgb(145,245,251)","Mach_X_Axis_0.STL":"rgb(125,158,192)","Mach_Z_Axis_0.STL":"rgb(248,228,118)","Mach_Spindle_0.STL":"rgb(145,145,145)"},D=new n.Group,$=S.map(l=>new Promise((v,u)=>{new E.STLLoader().load(l3.value===""?`/model/${l}`:`${l3.value}\\${l}`,F=>{const w=new n.MeshPhongMaterial({color:y[l]||"#B3B3D4",side:n.DoubleSide}),q=new n.Mesh(F,w);v(q)},void 0,u)}));try{(await Promise.all($)).forEach(v=>D.add(v)),o=D}catch(l){throw console.error("加载NC文件对应的STL文件失败:",l),new Error("无法加载.NC文件对应的STL文件")}break;case".pcd":const j=new y3,G=new n.Group;try{const l=await k.axios.get("http://139.196.154.85:20026/chfs/shared/重大专项/重大专项文件/target.pcd",{responseType:"blob",headers:{"Content-Type":"application/json"}}),v=new Blob([l.data],{type:"application/octet-stream;charset=UTF-8"}),u=await k.axios.get("http://139.196.154.85:20026/chfs/shared/重大专项/重大专项文件/final.pcd",{responseType:"blob",headers:{"Content-Type":"application/json"}}),H=new Blob([u.data],{type:"application/octet-stream;charset=UTF-8"}),F=await new Promise((q,U)=>{const C=URL.createObjectURL(v);j.load(C,A=>{const _=new Float32Array(A.geometry.attributes.position.count*3);for(let L=0;L<A.geometry.attributes.position.count;L++)_[L*3]=1,_[L*3+1]=0,_[L*3+2]=0;A.geometry.setAttribute("color",new n.BufferAttribute(_,3)),A.material.vertexColors=!0,A.scale.set(.3,.3,.3),URL.revokeObjectURL(C),q(A)},void 0,U)}),w=await new Promise((q,U)=>{const C=URL.createObjectURL(H);j.load(C,A=>{const _=new Float32Array(A.geometry.attributes.position.count*3);for(let L=0;L<A.geometry.attributes.position.count;L++)_[L*3]=0,_[L*3+1]=1,_[L*3+2]=0;A.geometry.setAttribute("color",new n.BufferAttribute(_,3)),A.material.vertexColors=!0,A.scale.set(.3,.3,.3),URL.revokeObjectURL(C),q(A)},void 0,U)});G.add(F),G.add(w),o=G}catch(l){throw console.error("PCD文件加载失败:",l),new Error("无法加载PCD文件")}break;case".urdf":const W=URL.createObjectURL(a),e3=new b3.URDFLoader,r3="http://139.196.154.85:20026/chfs/shared/机器人/urdf/SmallBender_R-2000iC-165F/meshes",t3={maxConcurrentLoads:4,enableCache:!0,enableLOD:!0,simplifyGeometry:!0,shareMaterials:!0,enableInstancing:!0},P=new WeakMap,K=new WeakMap,Y=new WeakMap,a3=async l=>{if(P.has(l))return console.log(`从缓存加载: ${l}`),P.get(l);try{const v=await k.axios.get(`${r3}/${l}`,{responseType:"blob",headers:{"Content-Type":"application/json"},timeout:6e5}),u=new Blob([v.data],{type:"application/octet-stream;charset=UTF-8"});return t3.enableCache&&P.set(l,u),u}catch(v){throw console.error(`加载文件失败: ${l}`,v),new Error(`无法加载文件: ${l}`)}},c3=(l="default")=>{if(K.has(l))return K.get(l);const v=new n.MeshPhongMaterial({color:12303291,shininess:30,transparent:!1,alphaTest:.1,side:n.FrontSide});return K.set(l,v),v},o3=l=>{try{l.isBufferGeometry&&l.mergeVertices&&l.mergeVertices(),l.computeVertexNormals&&l.computeVertexNormals(),l.computeBoundingSphere&&l.computeBoundingSphere(),l.deleteAttribute&&l.deleteAttribute("uv2")}catch(v){console.warn("几何体优化失败,使用原始几何体:",v)}return l},h3=async(l,v,u)=>{const H=`stl_${v}`;if(Y.has(H)){const U=Y.get(H);return new n.Mesh(U,c3())}const F=await l.arrayBuffer();let q=new E.STLLoader(u).parse(F);return q=o3(q),Y.set(H,q),new n.Mesh(q,c3())},d3=async(l,v,u)=>{const H=`obj_${v}`;if(P.has(H))return P.get(H).clone();const F=await l.text(),w=new E.OBJLoader(u),q=v.replace(".obj",".mtl");try{const A=await(await a3(q)).text(),L=new E.MTLLoader(u).parse(A);L.preload(),w.setMaterials(L)}catch{console.warn(`MTL文件加载失败,使用默认材质: ${q}`)}const U=w.parse(F);return U.traverse(C=>{C.isMesh&&(C.geometry=o3(C.geometry),C.castShadow=!0,C.receiveShadow=!0,C.renderOrder=1)}),P.set(H,U),U},p3=(l,v)=>{const u=new n.LOD;if(u.addLevel(l,0),l.geometry){const H=l.geometry.clone(),F=new n.Mesh(H,l.material);u.addLevel(F,50)}return u};let N=0,Z=0;const X=[];e3.loadMeshCb=async(l,v,u,H,F)=>{const w=l.split("/").pop(),q=u||(()=>{});N++;const U=new Promise(async(C,A)=>{try{const _=await a3(w);if(!_||_.size===0)throw new Error(`文件为空: ${w}`);const L=w.split(".").pop().toLowerCase();let I;switch(L){case"stl":I=await h3(_,w,v);break;case"obj":I=await d3(_,w,v);break;default:throw new Error(`不支持的文件格式: ${L}`)}t3.enableLOD&&I.isMesh&&(I=p3(I,w)),q(I),Z++,H&&H({loaded:Z,total:N,progress:Z/N}),C(I)}catch(_){console.error(`mesh文件加载失败: ${w}`,_);const L=new n.Group;q(L),C(L);const I=new n.BoxGeometry(.1,.1,.1),m3=new n.MeshStandardMaterial({color:16711680,wireframe:!0});return new n.Mesh(I,m3)}});X.push(U)};try{if(!W){J.value=void 0;break}if(o=await e3.loadAsync(W),console.log(`URDF文件加载完成,等待${N}个mesh文件加载...`),X.length>0)try{await Promise.allSettled(X),console.log(`所有mesh文件处理完成,成功加载: ${Z}/${N}`)}catch(u){console.warn("部分mesh文件加载失败,但继续显示模型",u)}o.traverse(u=>{u.isMesh&&(u.castShadow=!0,u.receiveShadow=!0,u.renderOrder=1,u.material&&(u.material.needsUpdate=!0))}),console.time("计算包围盒");const l=new n.Box3;l.expandByObject(o);const v=`urdf_${Date.now()}`;o.userData.boundingBox=l.clone(),o.userData.modelId=v,i3.set(v,{box:l.clone(),center:l.getCenter(new n.Vector3),size:l.getSize(new n.Vector3),maxSize:Math.max(...l.getSize(new n.Vector3).toArray())}),J.value=o,console.log("URDF模型加载完成并优化")}catch(l){console.error("URDF加载失败:",l),J.value=void 0}finally{W&&URL.revokeObjectURL(W)}break;default:throw new Error(`不支持的文件格式: ${d}`)}return o};return{addModelsFromUrls:R,loadModelByDefaultPath:async d=>{console.log(d);try{h.value=!0,p.value="正在加载模型...";const{scene:a}=x();if(!a)throw new Error("Scene not initialized");t(),await new Promise(m=>setTimeout(m,100));const e=[];for(let m=0;m<d.length;m++){const o=d[m],c=await V(o.suffix,o.blob,o.mtlBlobs||[],o.meshFiles||[]);c&&(a.add(c),s.value.push(c),e.push(c))}return h.value=!1,p.value="",e}catch(a){throw console.error("加载模型失败:",a),h.value=!1,p.value="",a}},urdfModel:J,modelBoundingBoxes:i3}}window._iconfont_svg_string_4827314='<svg><symbol id="icon-chart-new" viewBox="0 0 1024 1024"><path d="M960 768V448h-64v320h-64v64H192v-64h-64V256h64v-64h256v-64H192V64H0v192h64v512H0v192h192v-64h640v64h192V768h-64zM64 128h64v64H64v-64z m0 768v-64h64v64H64z m896 0h-64v-64h64v64zM256 768V256h128v512H256z m192-320h128v320H448V448z m192 192h128v128H640V640zM512 288c0-17.664 14.336-32 32-32h160V96c0-17.664 14.336-32 32-32s32 14.336 32 32v160h160c17.664 0 32 14.336 32 32s-14.336 32-32 32H768v160c0 17.664-14.336 32-32 32s-32-14.336-32-32V320H544c-17.664 0-32-14.336-32-32z" ></path></symbol><symbol id="icon-ai13" viewBox="0 0 1024 1024"><path d="M863.719038 159.366637l-705.295378 0c-48.443315 0-88.129176 39.690978-88.129176 88.161922l0 528.943904c0 48.474015 39.685861 88.161922 88.129176 88.161922l705.295378 0c48.443315 0 88.134293-39.687908 88.134293-88.161922l0-528.943904C951.853331 199.056592 912.162354 159.366637 863.719038 159.366637M643.272277 776.472464l-484.84964 0 0-176.324868 484.84964 0L643.272277 776.472464zM643.272277 556.053332l-484.84964 0 0-176.296215 484.84964 0L643.272277 556.053332zM863.719038 776.472464 687.394171 776.472464l0-396.659065 176.324868 0L863.719038 776.472464z" ></path></symbol><symbol id="icon-qiehuanwenjianjia" viewBox="0 0 1024 1024"><path d="M409.6 102.4L512 204.8h307.2a102.4 102.4 0 0 1 102.144 94.72l0.256 7.68v512a102.4 102.4 0 0 1-94.72 102.144l-7.68 0.256H512v-76.8h281.6a51.2 51.2 0 0 0 50.842-45.21l0.358-5.99V332.8a51.2 51.2 0 0 0-45.21-50.842l-5.99-0.358H486.4L384 179.2H230.4a51.2 51.2 0 0 0-50.842 45.21l-0.358 5.99v179.2h-76.8V204.8a102.4 102.4 0 0 1 94.72-102.144l7.68-0.256h204.8z m217.6 588.8a38.4 38.4 0 1 1 0 76.8H358.4v99.584a25.6 25.6 0 0 1-41.83 19.814L132.3 736.614a25.6 25.6 0 0 1 16.231-45.414zM447.59 389.99l3.84 2.612L635.7 543.386a25.6 25.6 0 0 1-11.623 45.004l-4.608 0.41H140.8a38.4 38.4 0 0 1-5.222-76.442L140.8 512h268.8v-99.584a25.6 25.6 0 0 1 37.99-22.426z" ></path></symbol><symbol id="icon-baogao" viewBox="0 0 1104 1024"><path d="M265.401 1024a174.066 174.066 0 0 1-173.56-173.56V315.3a4.194 4.194 0 0 0-4.338-4.34H41.22A39.63 39.63 0 0 1 0 273.356V123.66C0 55.684 59.3 0 132.339 0h648.678a132.411 132.411 0 0 1 132.339 132.339v553.22a4.194 4.194 0 0 0 4.339 4.34h146.079a40.714 40.714 0 0 1 41.22 41.22v159.819a132.411 132.411 0 0 1-132.339 132.339l-707.254 0.723z m653.017-260.339A4.194 4.194 0 0 0 914.08 768v123.661a59.3 59.3 0 0 0 118.599 0V768a4.194 4.194 0 0 0-4.339-4.339z m-749.198-452.7a4.194 4.194 0 0 0-4.339 4.338v534.419a100.737 100.737 0 0 0 100.52 100.52h582.147a3.977 3.977 0 0 0 3.616-2.17 4.628 4.628 0 0 0 0-4.34 132.7 132.7 0 0 1-10.848-52.79V133.062a59.3 59.3 0 0 0-118.598 0v140.294a39.195 39.195 0 0 1-41.22 37.604zM132.34 73.762c-32.542 0-59.3 22.418-59.3 49.898v109.92a4.194 4.194 0 0 0 4.34 4.34h566.237a4.194 4.194 0 0 0 4.339-4.34V133.063a132.7 132.7 0 0 1 10.847-52.79c0.723-1.447 0-2.893 0-4.34a3.977 3.977 0 0 0-3.616-2.17z m169.22 692.068a36.881 36.881 0 0 1 0-73.763h402.08a36.881 36.881 0 0 1 0 73.763z m0-196.701a36.881 36.881 0 1 1 0-73.763h402.08a36.881 36.881 0 1 1 0 73.763z" ></path></symbol><symbol id="icon-xinghao" viewBox="0 0 1024 1024"><path d="M580.583 425.004c52.988-24.574 104.44-49.276 152.82-73.594 48.381-24.703 87.034-42.877 115.704-54.268 28.67-11.136 51.58-17.023 69.115-17.023a104.952 104.952 0 0 1 74.235 28.798 93.177 93.177 0 0 1 31.485 71.802c0 16.383-5.12 33.534-15.358 51.069-10.24 17.534-21.247 28.926-32.638 33.79-105.976 41.468-222.832 72.058-350.054 90.872 23.038 20.99 51.452 49.405 85.113 84.474 33.79 35.582 51.453 54.268 52.86 56.7 12.416 17.023 29.566 38.397 51.837 63.74 22.142 25.597 37.501 45.18 46.076 59.643a99.833 99.833 0 0 1 13.055 52.092 93.817 93.817 0 0 1-29.693 68.731 103.16 103.16 0 0 1-76.41 29.694c-31.23 0-66.172-24.318-105.337-72.443-39.037-48.124-89.465-135.158-151.029-260.46A12540.003 12540.003 0 0 1 386.677 862.22a387.3 387.3 0 0 1-61.563 81.53 96.889 96.889 0 0 1-67.835 27.774 101.625 101.625 0 0 1-76.026-31.358c-19.711-20.862-30.078-43.517-30.078-66.939 0-22.142 4.095-38.909 12.287-50.172 75.514-102.393 154.356-191.602 236.782-266.605a2401.103 2401.103 0 0 1-184.818-35.709 1163.818 1163.818 0 0 1-172.531-57.724c-9.984-5.12-19.583-16.382-29.054-33.917A104.696 104.696 0 0 1 0.018 380.72a93.433 93.433 0 0 1 31.358-71.675 102.648 102.648 0 0 1 72.186-28.926c19.839 0 44.285 5.887 73.979 17.79 29.438 11.904 67.067 29.054 112.632 51.453 45.564 22.526 97.656 47.74 155.892 75.514a1833.849 1833.849 0 0 1-26.494-177.267 1574.54 1574.54 0 0 1-10.367-137.078c0-30.205 9.599-56.06 28.798-78.074A95.481 95.481 0 0 1 512.62 0.076c29.822 0 54.012 10.75 73.339 32.51 19.454 21.886 29.054 50.683 29.054 86.649 0 9.855-1.664 29.182-4.48 58.491-2.56 29.182-7.04 64.252-12.16 105.465-5.375 41.34-11.39 88.697-17.79 141.813z" fill="#FF4444" ></path></symbol><symbol id="icon-mima" viewBox="0 0 1024 1024"><path d="M776.86 376.04c-22.05 0-40.16-16.24-43.91-37.98-18.08-104.98-109.79-185.1-219.84-185.1s-201.76 80.13-219.84 185.1c-3.74 21.73-21.85 37.98-43.91 37.98-27.05 0-48.82-24.04-44.44-50.73 24.3-148.16 153.25-261.58 308.19-261.58S796.99 177.15 821.3 325.31c4.38 26.69-17.39 50.73-44.44 50.73zM850.18 418.32H180.33c-37.98 0-68.76 30.79-68.76 68.76v403.71c0 37.98 30.79 68.76 68.76 68.76h665.36c37.97 0 68.75-30.77 68.77-68.74l0.19-408c0.02-35.61-28.85-64.49-64.47-64.49zM557.73 762.56c0 24.64-19.97 44.62-44.62 44.62-24.64 0-44.62-19.97-44.62-44.62v-89.23c0-24.64 19.97-44.62 44.62-44.62 24.64 0 44.62 19.98 44.62 44.62v89.23z" ></path></symbol><symbol id="icon-zhanghao" viewBox="0 0 1024 1024"><path d="M407.61 578.87c-174.46 0-304.73 113.04-304.73 277.2v17.69c0 85.81 139.6 85.81 316.37 85.81h187.73c169.75 0 316.37 0 316.37-85.81v-17.69c0-164.16-130.28-277.2-304.73-277.2H407.61zM503.71 535.67c138.19 0 250.63-105.81 250.63-235.94 0-130.06-112.44-235.86-250.63-235.86-138.11 0-250.56 105.81-250.56 235.86 0 130.13 112.45 235.94 250.56 235.94z" ></path></symbol><symbol id="icon-xiangqingye-37" viewBox="0 0 1024 1024"><path d="M368.64 34.133333H112.64C68.266667 34.133333 34.133333 68.266667 34.133333 112.64v256c0 23.893333 17.066667 40.96 40.96 40.96s40.96-17.066667 40.96-40.96V116.053333h252.586667c23.893333 0 40.96-17.066667 40.96-40.96S389.12 34.133333 368.64 34.133333zM911.36 34.133333h-256c-23.893333 0-40.96 17.066667-40.96 40.96s17.066667 40.96 40.96 40.96h252.586667v252.586667c0 23.893333 17.066667 40.96 40.96 40.96s40.96-17.066667 40.96-40.96V112.64C989.866667 68.266667 955.733333 34.133333 911.36 34.133333zM368.64 907.946667H116.053333v-252.586667c0-23.893333-17.066667-40.96-40.96-40.96S34.133333 634.88 34.133333 655.36v256C34.133333 955.733333 68.266667 989.866667 112.64 989.866667h256c23.893333 0 40.96-17.066667 40.96-40.96s-20.48-40.96-40.96-40.96zM948.906667 617.813333c-23.893333 0-40.96 17.066667-40.96 40.96v252.586667h-252.586667c-23.893333 0-40.96 17.066667-40.96 40.96s17.066667 40.96 40.96 40.96h256c40.96 0 78.506667-34.133333 78.506667-78.506667v-256c0-23.893333-17.066667-40.96-40.96-40.96z" fill="#3366CC" ></path><path d="M416.426667 488.106667L307.2 344.746667c-13.653333-17.066667-34.133333-20.48-51.2-6.826667-17.066667 13.653333-20.48 34.133333-6.826667 51.2L337.92 512l-95.573333 126.293333c-13.653333 17.066667-10.24 37.546667 6.826666 51.2 6.826667 3.413333 13.653333 6.826667 20.48 6.826667 10.24 0 23.893333-6.826667 30.72-13.653333l112.64-146.773334c10.24-17.066667 10.24-34.133333 3.413334-47.786666z" fill="#F4A914" ></path><path d="M597.333333 488.106667L488.106667 341.333333c-13.653333-17.066667-34.133333-20.48-51.2-6.826666-17.066667 13.653333-20.48 34.133333-6.826667 51.2l92.16 122.88-95.573333 126.293333c-13.653333 17.066667-10.24 37.546667 6.826666 51.2 6.826667 3.413333 13.653333 6.826667 20.48 6.826667 10.24 0 23.893333-6.826667 30.72-13.653334l112.64-146.773333c10.24-13.653333 10.24-30.72 0-44.373333z" fill="#F4A914" ></path><path d="M778.24 488.106667L669.013333 341.333333c-13.653333-17.066667-34.133333-20.48-51.2-6.826666-17.066667 13.653333-20.48 34.133333-6.826666 51.2l92.16 122.88-95.573334 126.293333c-6.826667 6.826667-6.826667 17.066667-6.826666 27.306667 0 10.24 6.826667 17.066667 13.653333 23.893333 6.826667 3.413333 13.653333 6.826667 23.893333 6.826667 10.24 0 23.893333-6.826667 30.72-13.653334l112.64-146.773333c6.826667-13.653333 6.826667-30.72-3.413333-44.373333z" fill="#F4A914" ></path></symbol><symbol id="icon-gongzhuangmoju" viewBox="0 0 1024 1024"><path d="M192 170.666667A106.965333 106.965333 0 0 0 85.333333 277.333333V426.666667h256l42.666667 85.333333h256l42.666667-85.333333h256V277.333333A106.965333 106.965333 0 0 0 832 170.666667z" fill="#3B709C" ></path><path d="M384 512l-42.666667-85.333333h341.333334l-42.666667 85.333333z m-298.666667-85.333333V256a85.333333 85.333333 0 0 1 85.333334-85.333333h682.666666a85.333333 85.333333 0 0 1 85.333334 85.333333v170.666667zM853.333333 853.333333H170.666667a85.333333 85.333333 0 0 1-85.333334-85.333333v-256h213.333334l42.666666 85.333333h341.333334l42.666666-85.333333h213.333334v256a85.333333 85.333333 0 0 1-85.333334 85.333333z" fill="#2C6798" ></path></symbol><symbol id="icon-jiagongguochengxinxi" viewBox="0 0 1024 1024"><path d="M345.216 664.192a315.84 315.84 0 0 1 93.12-224.64 315.84 315.84 0 0 1 100.992-68.16 315.392 315.392 0 0 1 123.648-24.96 315.392 315.392 0 0 1 158.72 42.368v-264a24.768 24.768 0 0 0-24.768-24.768H559.296a32.64 32.64 0 0 1 0.704 6.976v133.184c0 19.2-15.616 34.816-34.816 34.816H395.072a34.816 34.816 0 0 1-34.752-34.816v-133.12a32.64 32.64 0 0 1 0.64-6.976H123.456a24.768 24.768 0 0 0-24.768 24.832v676.544c0 13.76 11.072 24.832 24.768 24.832h266.24a316.224 316.224 0 0 1-44.416-162.112zM662.976 406.4a257.792 257.792 0 1 0 0 515.52 257.792 257.792 0 0 0 0-515.52z m112.256 293.376a104.704 104.704 0 0 1-107.328 25.216l-68.48 68.48a46.528 46.528 0 0 1-65.728-65.664l68.48-68.48a104.512 104.512 0 0 1 140.8-129.28l-67.072 67.072 10.88 42.88 43.328 11.328 67.072-67.136c16.64 38.336 9.216 84.416-21.952 115.584z m-220.16 51.456a20.928 20.928 0 1 0 41.856 0 20.928 20.928 0 0 0-41.856 0z" ></path></symbol><symbol id="icon-pingtaiguanli" viewBox="0 0 1024 1024"><path d="M1024 806.4V25.6c0-12.8-12.8-25.6-25.6-25.6H25.6C12.8 0 0 12.8 0 25.6v780.8h435.2v166.4H236.8v51.2h556.8v-51.2H588.8v-166.4H1024zM320 281.6c-12.8-12.8-19.2-25.6-32-32l44.8-76.8c44.8 25.6 96 12.8 121.6-32 12.8-12.8 12.8-32 12.8-44.8h89.6c0 51.2 38.4 83.2 89.6 83.2 12.8 0 32-6.4 44.8-12.8l44.8 76.8c-44.8 25.6-57.6 76.8-32 115.2 12.8 12.8 19.2 25.6 32 32l-44.8 76.8c-44.8-19.2-96-6.4-121.6 38.4-12.8 12.8-12.8 25.6-12.8 44.8H467.2c0-44.8-38.4-83.2-89.6-83.2-12.8 0-32 6.4-44.8 12.8l-44.8-83.2c38.4-25.6 51.2-76.8 32-115.2zM102.4 704v-51.2h825.6v51.2H102.4zM512 416c51.2 0 96-38.4 96-89.6S569.6 236.8 512 236.8c-51.2 0-96 38.4-96 89.6 0 51.2 44.8 89.6 96 89.6z" ></path></symbol><symbol id="icon-zhucaidanguanli" viewBox="0 0 1169 1024"><path d="M787.333831 588.946093a75.189984 75.189984 0 0 0-75.093984 75.092984 75.189984 75.189984 0 0 0 75.093984 75.093984 75.165984 75.165984 0 0 0 75.067984-75.093984 75.165984 75.165984 0 0 0-75.067984-75.092984m0 222.841953a147.919968 147.919968 0 0 1-147.748968-147.748969c0-81.455982 66.291986-147.747968 147.748968-147.747968 81.431983 0 147.747968 66.291986 147.747968 147.747968 0 81.480982-66.315986 147.748968-147.747968 147.748969m89.452981 102.106978c0.342 0.244 1.317 0.585 2.315999 0.585h0.122l71.484985-39.496992c-1.706-4.022999-9.605998-23.478995-9.605998-43.739991a113.858976 113.858976 0 0 1 107.739977-113.613975c0.853-4.729999 5.557999-31.524993 5.557998-51.639989s-4.704999-46.88399-5.558998-51.637989a113.858976 113.858976 0 0 1-107.738977-113.565976c0-20.357996 7.923998-39.813991 9.605998-43.81299l-70.313985-39.057992-0.293-0.025a5.339999 5.339999 0 0 0-2.706 0.732 196.753958 196.753958 0 0 1-26.014994 21.819995c-21.698995 15.238997-42.153991 22.967995-60.951987 22.967995-18.919996 0-39.594991-7.874998-61.390987-23.405995a194.705958 194.705958 0 0 1-26.160994-22.283995 5.777999 5.777999 0 0 0-2.729999-0.707h-0.245l-72.824985 40.032992c1.706 4.046999 9.580998 23.479995 9.580998 43.73999A113.858976 113.858976 0 0 1 528.895886 614.350088c-0.854 4.729999-5.509999 31.524993-5.509998 51.638989s4.655999 46.90899 5.533998 51.662989a113.858976 113.858976 0 0 1 107.763977 113.589975c0 20.334996-7.972998 39.863991-9.679998 43.788991l68.973985 38.545992h0.146c1.024 0 1.95-0.365 2.317-0.585a200.849957 200.849957 0 0 1 26.428994-23.161995c22.088995-16.188997 43.079991-24.429995 62.414987-24.429995 19.552996 0 40.715991 8.387998 62.950986 24.917995 14.920997 11.068998 25.258995 22.185995 26.550995 23.575995m22.673995 108.397976c-13.774997-0.025-27.135994-5.704999-35.765993-15.213996-11.775997-12.896997-49.005989-46.44599-79.530982-46.44599-30.280993 0-68.119985 33.767993-78.993984 45.54399-8.606998 9.386998-21.869995 14.969997-35.498992 14.969997-6.484999 0-12.604997-1.243-18.187996-3.706l-0.975-0.414-92.69698-51.833988-0.926-0.683a44.46999 44.46999 0 0 1-14.920996-53.735989c0.049-0.146 8.532998-19.699996 8.532998-37.594992a98.376979 98.376979 0 0 0-98.254979-98.254978h-3.900999c-15.505997 0-28.159994-13.799997-32.182993-35.108993-0.341-1.706-7.923998-42.178991-7.923999-74.044984 0-31.913993 7.557998-72.361984 7.899999-74.117984 4.119999-21.576995 16.992996-35.449992 32.816993-35.083993h3.266999a98.400979 98.400979 0 0 0 98.279979-98.303978c0-17.846996-8.484998-37.399992-8.558998-37.619992a44.34899 44.34899 0 0 1 15.067996-53.661989l0.95-0.658 97.840979-53.759988 1.024-0.415c5.485999-2.364999 11.507998-3.534999 17.895996-3.534999 13.604997 0 26.891994 5.436999 35.595992 14.628997 11.580998 12.116997 48.17699 43.641991 77.774984 43.64199 29.354994 0 65.755986-30.914993 77.287983-42.812991 8.654998-8.996998 21.844995-14.335997 35.302992-14.335997 6.509999 0 12.653997 1.219 18.285997 3.657l0.974999 0.414 94.47698 52.516988 0.95 0.658c16.895996 11.751997 23.332995 34.889993 14.945997 53.735989-0.049 0.146-8.532998 19.699996-8.532999 37.545992a98.400979 98.400979 0 0 0 98.254979 98.279978h3.291c15.774997-0.341 28.719994 13.506997 32.816993 35.107993 0.317 1.707 7.899998 42.203991 7.899998 74.069984 0 31.889993-7.582998 72.410984-7.948998 74.117984-4.046999 21.551995-16.992996 35.424992-32.767993 35.059993h-3.291a98.400979 98.400979 0 0 0-98.254979 98.278978c0 17.846996 8.483998 37.449992 8.556999 37.619992a44.42199 44.42199 0 0 1-15.017997 53.710989l-0.927 0.683-96.133979 53.100988-0.975 0.415a44.88499 44.88499 0 0 1-17.846996 3.583999z m222.061952-705.339848a48.76199 48.76199 0 1 1-97.523979 0V121.977194c0-13.457997-10.873998-24.453995-24.307995-24.453995h-877.859811c-13.262997 0-24.306995 10.970998-24.306995 24.453995v584.995874c0 13.457997 10.873998 24.453995 24.307995 24.453995h219.500953a48.76199 48.76199 0 1 1 0 97.523979H48.907989A48.76199 48.76199 0 0 1 0 780.190052V48.76221C0 21.822215 21.893995 0.00022 48.907989 0.00022h1023.706781a48.76199 48.76199 0 0 1 48.907989 48.76199v268.189942zM219.427953 975.23701c0-26.940994 21.991995-48.76199 48.981989-48.761989h194.607959a48.76199 48.76199 0 1 1 0 97.523979H268.433942a48.76199 48.76199 0 0 1-49.005989-48.76199z" ></path></symbol><symbol id="icon-caidanguanli" viewBox="0 0 1024 1024"><path d="M414.2 78H158.6c-41.5 0-75.3 33.8-75.3 75.3v255.5c0 41.5 33.8 75.3 75.3 75.3h255.5c41.5 0 75.3-33.8 75.3-75.3V153.3c0-41.5-33.7-75.3-75.2-75.3z m5.2 330.8c0 2.9-2.4 5.3-5.3 5.3H158.6c-2.9 0-5.3-2.4-5.3-5.3V153.3c0-2.9 2.4-5.3 5.3-5.3h255.5c2.9 0 5.3 2.4 5.3 5.3v255.5zM414.2 544.8H158.6c-41.5 0-75.3 33.8-75.3 75.3v255.5c0 41.5 33.8 75.3 75.3 75.3h255.5c41.5 0 75.3-33.8 75.3-75.3V620.1c0-41.5-33.7-75.3-75.2-75.3z m5.2 330.8c0 2.9-2.4 5.3-5.3 5.3H158.6c-2.9 0-5.3-2.4-5.3-5.3V620.1c0-2.9 2.4-5.3 5.3-5.3h255.5c2.9 0 5.3 2.4 5.3 5.3v255.5zM908.8 119.3H607.2c-19.3 0-35 15.7-35 35s15.7 35 35 35h301.6c19.3 0 35-15.7 35-35s-15.7-35-35-35zM908.8 343.8H607.2c-19.3 0-35 15.7-35 35s15.7 35 35 35h301.6c19.3 0 35-15.7 35-35s-15.7-35-35-35zM908.8 568.3H607.2c-19.3 0-35 15.7-35 35s15.7 35 35 35h301.6c19.3 0 35-15.7 35-35s-15.7-35-35-35zM908.8 792.8H607.2c-19.3 0-35 15.7-35 35s15.7 35 35 35h301.6c19.3 0 35-15.7 35-35s-15.7-35-35-35z" ></path></symbol><symbol id="icon-jueseguanli" viewBox="0 0 1024 1024"><path d="M874.9 577.3c-26.1-27.2-56.8-48.9-90.3-64.1 5.4-4.6 10.6-9.6 15.5-14.8 32.3-34.7 50.1-79.8 50.1-127.2 0-102.9-83.7-186.7-186.7-186.7-11 0-21.8 0.9-32.5 2.8-7.1-9.6-14.9-18.7-23.4-27.2-44.6-44.6-103.9-69.2-167-69.2s-122.4 24.6-167 69.2-69.2 103.9-69.2 167 24.6 122.4 69.2 167c10.8 10.8 22.4 20.4 34.8 28.7-4.9 1.8-9.7 3.8-14.5 5.8-44.9 19-85.2 46.2-119.9 80.8-34.6 34.6-61.8 75-80.8 119.9-19.7 46.5-29.6 95.9-29.6 146.8 0 17.7 1.2 35.5 3.7 52.9l69.3-9.7c-2-14.2-3-28.7-3-43.1 0-169.4 137.8-307.1 307.1-307.1s307.1 137.8 307.1 307.1c0 14.4-1 28.9-3 43.1l69.3 9.7c2.4-17.4 3.7-35.2 3.7-52.9 0-50.9-10-100.3-29.6-146.8-19-44.9-46.2-85.2-80.8-119.9-34.6-34.6-74.9-61.8-119.9-80.8-4.8-2-9.7-4-14.6-5.8 12.3-8.4 24-18 34.8-28.7 44.6-44.6 69.2-103.9 69.2-167 0-25-3.9-49.4-11.3-72.6 63.4 1.1 114.7 53 114.7 116.6 0 45.5-26.6 85.6-65.3 104.7-16.3 8.1-26.8 24.4-26.8 42.6v1c0 21.2 14.1 40 34.6 45.5 94.9 25.8 163.8 112.4 163.8 215 0 10.5-0.7 21-2.2 31.3l69.3 9.7c1.9-13.5 2.9-27.3 2.9-41-0.1-75.8-29.1-147.8-81.7-202.6z m-434.3-84c-91.6 0-166.2-74.6-166.2-166.2S349 160.9 440.6 160.9s166.2 74.6 166.2 166.2-74.5 166.2-166.2 166.2z" ></path></symbol><symbol id="icon-zhiweiguanli" viewBox="0 0 1024 1024"><path d="M878.4 243.5h-91.2v-41.2c0-58.6-47.7-106.2-106.2-106.2H354.2c-58.6 0-106.2 47.7-106.2 106.2v41.2h-91.2c-43.2 0-78.4 35.1-78.4 78.4V856c0 43.2 35.1 78.4 78.4 78.4h721.5c43.2 0 78.4-35.1 78.4-78.4V321.8c0-43.2-35.1-78.3-78.3-78.3zM318 202.3c0-20 16.2-36.2 36.2-36.2H681c20 0 36.2 16.3 36.2 36.2v41.2H318v-41.2zM156.8 313.5h721.5c4.6 0 8.4 3.7 8.4 8.4V554H692.4c-14.8-45.3-57.4-78.2-107.6-78.2H450.4c-50.2 0-92.9 32.9-107.6 78.2H148.5V321.8c0-4.6 3.7-8.3 8.3-8.3zM628 588.9c0 23.8-19.4 43.2-43.2 43.2H450.4c-23.8 0-43.2-19.4-43.2-43.2 0-23.8 19.4-43.2 43.2-43.2h134.3c23.9 0 43.3 19.4 43.3 43.2z m250.4 275.5H156.8c-4.6 0-8.4-3.7-8.4-8.4V623.9h194.3c14.8 45.3 57.4 78.2 107.6 78.2h134.3c50.2 0 92.9-32.9 107.6-78.2h194.3V856c0.2 4.6-3.5 8.4-8.1 8.4z" ></path></symbol><symbol id="icon-bumenguanli" viewBox="0 0 1024 1024"><path d="M322.5 62h384.6v70H322.5z" ></path><path d="M870.2 62h-59.3v70h59.3c7.2 0 13 5.8 13 13v733.9c0 7.2-5.8 13-13 13h-720c-7.2 0-13-5.8-13-13V145c0-7.2 5.8-13 13-13h68.6V62h-68.6c-45.8 0-83 37.2-83 83v733.9c0 45.8 37.2 83 83 83h720c45.8 0 83-37.2 83-83V145c0-45.8-37.3-83-83-83z" ></path><path d="M295 806.2c-0.5-5.7-0.7-11.6-0.7-17.3 0-119 96.8-215.8 215.8-215.8S726 669.8 726 788.8c0 5.8-0.2 11.6-0.7 17.3l69.8 5.6c0.6-7.6 0.9-15.3 0.9-22.9 0-76.4-29.7-148.1-83.7-202.1-29.7-29.8-64.9-52.1-103.3-66.2 45.6-31.5 75.5-84.1 75.5-143.5 0-96.1-78.2-174.4-174.4-174.4-96.1 0-174.4 78.2-174.4 174.4 0 59.5 29.9 112 75.5 143.5C373 534.6 337.8 557 308 586.7c-54 54-83.7 125.8-83.7 202.1 0 7.6 0.3 15.3 0.9 22.9l69.8-5.5z m215.2-533.6c57.5 0 104.4 46.8 104.4 104.4 0 57.5-46.8 104.4-104.4 104.4-57.5 0-104.4-46.8-104.4-104.4 0-57.6 46.8-104.4 104.4-104.4z" ></path></symbol><symbol id="icon-gerenzhongxin" viewBox="0 0 1024 1024"><path d="M930.4 337.3c-22.7-53.7-55.2-101.9-96.6-143.3-41.4-41.4-89.6-73.9-143.3-96.6C634.9 73.9 575.9 62 515.1 62c-60.8 0-119.9 11.9-175.5 35.4-53.7 22.7-101.9 55.2-143.3 96.6-41.4 41.4-73.9 89.6-96.6 143.3-23.5 55.6-35.4 114.6-35.4 175.5 0 50.5 8.3 100.1 24.7 147.4l66.1-22.9c-13.8-39.9-20.8-81.8-20.8-124.5 0-209.9 170.8-380.7 380.7-380.7 209.9 0 380.8 170.8 380.8 380.7 0 41.6-6.7 82.5-19.8 121.5l66.3 22.3c15.6-46.2 23.5-94.7 23.5-143.9 0-60.8-11.9-119.8-35.4-175.4z" ></path><path d="M656.9 422.2c0-76.9-62.6-139.5-139.5-139.5s-139.5 62.6-139.5 139.5 62.6 139.5 139.5 139.5 139.5-62.6 139.5-139.5z m-209 0c0-38.3 31.2-69.5 69.5-69.5s69.5 31.2 69.5 69.5-31.2 69.5-69.5 69.5-69.5-31.2-69.5-69.5zM713.8 627.8c-62-27.2-128.1-40.9-196.4-40.9-69 0-135.7 14-198.2 41.7-60.4 26.7-114.1 64.9-159.5 113.3l-20.3 21.7 18.1 23.6c41.2 53.6 94.8 98 155 128.3 63.2 31.8 131.3 48 202.6 48 71.9 0 140.6-16.4 204.2-48.8 60.7-30.9 114.5-76 155.6-130.4l17.9-23.7-20.5-21.6c-45.3-47.6-98.6-85-158.5-111.2zM515.1 893.5c-109 0-210.3-45.3-282.5-125.4 77.7-71.9 177.7-111.2 284.8-111.2 105.8 0 204.9 38.4 282.2 108.8-72.2 81.6-174.3 127.8-284.5 127.8z" ></path></symbol><symbol id="icon-yonghuguanli" viewBox="0 0 1024 1024"><path d="M751.4 553.2c-42.5-38.5-92.1-67.1-145.5-84.6 53.2-38.9 87.8-101.8 87.8-172.7C693.7 178 597.7 82 479.8 82c-57.1 0-110.8 22.2-151.2 62.6C288.2 185 266 238.7 266 295.8s22.2 110.8 62.6 151.2c7.8 7.8 16.2 15 25 21.4-10.5 3.5-20.9 7.3-31.2 11.7-48.2 20.4-91.4 49.5-128.5 86.7s-66.3 80.4-86.7 128.5c-21.1 49.9-31.8 102.9-31.8 157.4 0 24.8 2.3 49.7 6.8 73.9l68.8-12.7c-3.7-20-5.6-40.6-5.6-61.2 0-184.4 150-334.4 334.4-334.4 83.2 0 163 30.8 224.5 86.6l47.1-51.7zM479.8 152c79.3 0 143.9 64.5 143.9 143.9s-64.5 143.9-143.9 143.9S336 375.2 336 295.9 400.5 152 479.8 152zM726.3 665.3h213.8v70H726.3zM503 831.6h437.1v70H503z" ></path></symbol><symbol id="icon-app" viewBox="0 0 1024 1024"><path d="M363.485867 865.117867h305.5616c21.6576 0 39.2192-17.194667 39.2192-38.4s-17.5616-38.4-39.2192-38.4H363.485867c-21.6576 0-39.2192 17.194667-39.2192 38.4s17.5616 38.4 39.2192 38.4z" fill="#A6ADB4" ></path><path d="M945.288533 699.835733a40.448 40.448 0 0 0-43.195733 43.1872v147.037867a46.865067 46.865067 0 0 1-45.960533 48.708267H166.766933a46.882133 46.882133 0 0 1-45.038933-48.708267v-147.029333a40.439467 40.439467 0 1 0-80.887467 0v147.029333a125.883733 125.883733 0 0 0 125.9264 128.657067h693.0432c70.203733-1.006933 126.4384-58.461867 125.9264-128.657067v-147.029333a40.430933 40.430933 0 0 0-40.448-43.195734zM40.840533 127.735467v147.959466a39.517867 39.517867 0 0 0 79.044267 0V127.735467a45.943467 45.943467 0 0 1 46.882133-47.786667h693.0432a46.882133 46.882133 0 0 1 45.960534 47.786667v147.959466a39.509333 39.509333 0 0 0 39.517866 39.509334 40.448 40.448 0 0 0 40.448-39.509334V127.735467C986.248533 58.052267 930.423467 1.024 860.7232 0H166.775467A125.934933 125.934933 0 0 0 40.840533 127.744z m168.4992 427.972266H326.229333L357.316267 640H418.133333L295.150933 315.733333h-52.701866L119.466667 640h60.817066l29.056-84.292267zM269.124267 392.533333L307.2 503.466667h-76.8l38.724267-110.933334z m231.552 131.959467h32.631466a123.246933 123.246933 0 0 0 88.192-28.535467c23.389867-19.959467 36.394667-49.134933 35.413334-79.488 1.6384-28.245333-9.838933-55.722667-31.249067-74.743466a127.573333 127.573333 0 0 0-84.0192-25.813334H443.733333V640h56.942934V524.4928zM503.466667 366.933333h32.136533c42.180267 0 61.602133 17.493333 61.602133 53.162667 1.092267 16.0256-4.8128 31.701333-16.068266 42.666667a71.364267 71.364267 0 0 1-51.5584 14.677333H503.466667V366.933333z m286.293333-51.0976H691.2V640h57.3184V524.4672h32.853333c31.837867 1.928533 63.189333-8.311467 87.381334-28.544 23.543467-19.959467 36.625067-49.152 35.643733-79.505067 1.536-28.100267-9.710933-55.441067-30.754133-74.752a131.84 131.84 0 0 0-83.882667-25.8304z m39.4752 147.131734a73.813333 73.813333 0 0 1-49.527467 14.72H750.933333V366.933333h32.119467c42.1632 0 61.576533 17.527467 61.576533 53.2736 1.262933 15.957333-4.394667 31.650133-15.394133 42.752z" fill="#A6ADB4" ></path></symbol><symbol id="icon-yepian" viewBox="0 0 1024 1024"><path d="M807.936 99.328c-17.408 0-32.256 9.216-40.448 23.552h-348.16L284.672 355.84l35.84 35.84 126.976-219.648h321.536c8.192 12.8 22.528 20.992 38.912 20.992 25.6 0 46.592-20.992 46.592-46.592s-20.992-47.104-46.592-47.104z" ></path><path d="M301.056 50.688c-8.704 14.848-7.68 32.768 0 46.592L127.488 399.36l134.656 232.448 48.64-13.312L183.808 399.36l160.256-279.04c15.36-1.024 29.696-9.216 37.888-23.04 12.8-22.528 5.12-50.688-17.408-63.488s-50.688-5.632-63.488 16.896z" ></path><path d="M15.872 467.456c8.704 14.848 24.064 23.552 40.448 23.552L228.352 793.6l268.8 1.536 13.312-48.64-253.44-1.536-159.232-279.552c6.656-13.312 7.168-30.208-1.024-44.032-12.8-22.528-40.96-30.208-63.488-17.408-22.528 12.8-30.208 40.96-17.408 63.488z" ></path><path d="M216.064 924.672c17.408 0 32.256-9.216 40.448-23.552h348.16l134.144-232.448-35.84-35.84-126.976 219.648H254.976c-8.192-12.8-22.528-20.992-38.912-20.992-25.6 0-46.592 20.992-46.592 46.592s20.992 46.592 46.592 46.592z" ></path><path d="M722.944 973.312c8.704-14.848 7.68-32.768 0-46.592l173.568-302.08-134.656-232.448-48.64 13.312 127.488 219.136-160.256 279.04c-15.36 1.024-29.696 9.216-37.888 23.04-12.8 22.528-5.12 50.688 17.408 63.488 22.016 13.312 50.176 5.632 62.976-16.896z" ></path><path d="M1008.128 556.544c-8.704-14.848-24.064-23.552-40.448-23.552L795.648 230.4l-268.8-1.536-13.312 48.64 253.44 1.536 159.232 279.552c-6.656 13.312-7.168 30.208 1.024 44.032 12.8 22.528 40.96 30.208 63.488 17.408 22.528-12.8 30.208-40.96 17.408-63.488zM512 391.168C445.44 391.168 391.168 445.44 391.168 512S445.44 632.832 512 632.832s120.832-54.272 120.832-120.832S578.56 391.168 512 391.168z m0 196.096c-41.472 0-75.264-33.792-75.264-75.264s33.792-75.264 75.264-75.264 75.264 33.792 75.264 75.264-33.792 75.264-75.264 75.264z" ></path></symbol><symbol id="icon-left-circle-fill" viewBox="0 0 1024 1024"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178c-4.4-3.2-4.4-9.7 0-12.9l246-178c5.3-3.8 12.7-0.1 12.7 6.5v46.8z" ></path></symbol><symbol id="icon-right-circle-fill" viewBox="0 0 1024 1024"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z m154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z" ></path></symbol><symbol id="icon-xitongguanli" viewBox="0 0 1026 1024"><path d="M400.896 67.072H140.8c-24.064 0-46.592 11.264-59.392 29.696-9.216 12.8-14.848 27.648-14.848 44.544v259.584c0 40.96 33.28 74.24 74.24 74.24h259.584c40.96 0 74.24-33.28 74.24-74.24V141.312c0.512-40.96-33.28-74.24-73.728-74.24z m0 361.984v9.216-9.216z m335.872 83.456c18.432 0 35.328-7.168 48.128-20.48L939.008 337.92c12.8-12.8 20.48-29.696 20.48-48.128s-7.168-35.328-20.48-48.128l-154.112-155.648c-26.112-26.112-70.656-26.112-96.256 0l-154.112 154.112c-12.8 12.8-20.48 29.696-20.48 48.128 0 18.432 7.168 35.328 20.48 48.128l154.112 154.112c12.8 14.336 29.184 22.016 48.128 22.016z m0-369.152l146.432 146.432-146.432 146.432-144.896-146.432L736.768 143.36z m-335.872 406.016H140.8c-40.96 0-74.24 33.28-74.24 74.24v259.584c0 40.96 33.28 74.24 74.24 74.24h259.584c40.96 0 74.24-33.28 74.24-74.24v-259.584c0.512-40.448-33.28-74.24-73.728-74.24z m0 352.768v18.432-18.432z m484.352-352.768h-259.584c-40.96 0-74.24 33.28-74.24 74.24v259.584c0 40.96 33.28 74.24 74.24 74.24h259.584c40.96 0 74.24-33.28 74.24-74.24v-259.584c0-40.448-33.792-74.24-74.24-74.24z" ></path></symbol><symbol id="icon-gongjianku" viewBox="0 0 1024 1024"><path d="M798.72 320v446.976H223.232V320H63.488v532.48c0 41.472 33.792 75.264 75.264 75.264h745.472c41.472 0 75.264-33.792 75.264-75.264v-532.48H798.72z" ></path><path d="M608.256 494.592z m-10.24-4.608z" ></path><path d="M819.2 96.256H203.776c-41.472 0-75.264 33.792-75.264 75.264V286.72h128v448h510.464V286.72h128V171.008c-0.512-41.472-34.304-74.752-75.776-74.752z m-154.112 493.056l-12.8 12.8c-12.8 12.8-33.28 12.8-46.08 0L477.184 473.088c-33.792 11.776-72.704 4.608-99.328-22.528-27.136-27.136-34.304-66.048-22.528-99.84l38.4 38.4c12.8 12.8 33.28 12.8 46.08 0l12.8-12.8c12.8-12.8 12.8-33.28 0-46.08L414.208 291.84c33.792-11.776 72.704-4.096 99.84 22.528 27.136 27.136 34.304 66.048 22.528 99.84l128.512 128.512c12.288 13.312 12.288 33.792 0 46.592z" ></path></symbol><symbol id="icon-fangfaku" viewBox="0 0 1024 1024"><path d="M256 170.496v170.496h512V170.496h85.504c23.552 0 42.496 18.944 42.496 42.496V896c0 23.552-18.944 42.496-42.496 42.496H170.496c-23.552 0-42.496-18.944-42.496-42.496V212.992c0-23.552 18.944-42.496 42.496-42.496H256z m256 513.024H256v83.456h256v-83.456zM768 491.52H256v83.456h512V491.52zM341.504 85.504h341.504V256H341.504V85.504z" ></path></symbol><symbol id="icon-shebeiku" viewBox="0 0 1024 1024"><path d="M960 491.52v380.416c0 26.112-23.04 47.616-52.224 47.616H116.224c-29.184 0-52.224-21.504-52.224-47.616V491.52c0-26.112 23.04-47.616 52.224-47.616h791.552c28.672 0 52.224 21.504 52.224 47.616z m-149.504 156.16H213.504V783.36h596.992v-135.68z m149.504-500.736v186.88c0 23.04-20.992 42.496-46.592 42.496H110.592c-25.6 0-46.592-18.944-46.592-42.496V146.944c0-23.04 20.992-42.496 46.592-42.496h802.304c26.112 0 47.104 18.944 47.104 42.496z m-671.744 25.6c-41.472 0-74.752 30.208-74.752 68.096s33.792 68.096 74.752 68.096S363.008 278.528 363.008 240.64s-33.792-68.096-74.752-68.096z m224.256 0c-41.472 0-74.752 30.208-74.752 68.096s33.792 68.096 74.752 68.096 74.752-30.208 74.752-68.096-33.792-68.096-74.752-68.096z" ></path></symbol><symbol id="icon-wenjian" viewBox="0 0 1024 1024"><path d="M273.54647 325.996013h476.395357c19.444708-2.046811 36.842605 11.769166 39.40112 30.702171 2.046811 19.444708-11.769166 36.330903-31.213874 38.377714-2.558514 0.511703-5.117029 0.511703-7.675543 0H273.54647c-10.234057-0.511703-19.956411-4.605326-26.608548-11.257463-6.652137-6.652137-10.74576-15.351086-10.74576-24.561737 0.511703-19.956411 17.397897-35.307497 37.866011-34.284091v1.023406z m0 209.286467h476.395357c19.444708-2.046811 36.842605 11.769166 39.40112 30.702171 2.046811 19.444708-11.769166 36.330903-31.213874 38.377714-2.558514 0.511703-5.117029 0.511703-7.675543 0H273.54647c-9.722354 0-19.444708-3.58192-26.608548-10.234057-6.652137-6.652137-10.74576-15.351086-10.74576-24.561737 0.511703-19.444708 17.397897-35.307497 37.354308-34.284091z m0 185.748136h324.931312c19.444708 0 35.307497 15.862788 35.307497 34.795794 0 19.444708-15.862788 34.795794-35.307497 34.795794H273.54647c-9.722354-0.511703-19.444708-4.093623-26.608548-10.74576-6.652137-6.140434-10.74576-14.839383-10.74576-24.050034 0.511703-19.444708 17.397897-35.307497 37.354308-34.795794zM135.898402 0.041294h96.71184c17.397897-0.511703 33.772388 8.187246 43.494742 22.514926l53.217097 82.38416c4.605326 7.16384 12.792571 11.769166 20.979817 11.257462h322.884501c8.698949 0 16.886194-4.093623 21.49152-11.257462l53.217097-82.38416c9.722354-14.32768 26.096846-23.026628 43.494742-22.514926h97.223543c53.7288-1.535109 98.246948 39.912823 100.293759 93.12992v837.657572c-2.046811 52.705394-46.56496 94.153325-100.293759 93.12992h-752.203196c-53.7288 1.535109-98.758651-39.912823-100.293759-92.618217V93.171214C37.139751 39.954117 82.169603-1.493814 135.898402 0.041294z m82.895863 70.103291H135.898402c-6.652137 0-13.304274 2.558514-18.421303 6.652138-4.605326 4.093623-7.16384 10.234057-7.16384 16.374491v837.657572c0.511703 13.304274 11.769166 23.538331 25.07344 23.026629h752.203196c6.652137 0 13.304274-2.558514 18.421303-6.652138 4.605326-4.093623 7.16384-10.234057 7.16384-16.374491V93.171214c0.511703-6.140434-2.046811-12.280868-7.16384-16.374491-5.117029-4.605326-11.257463-6.652137-18.421303-6.652138h-82.895862l-46.053257 70.614994c-18.933006 28.65536-51.681988 45.541554-86.477783 45.029851H350.813601c-34.795794 0.511703-67.544777-16.374491-86.477782-45.029851l-45.541554-70.614994zM399.425372 0.041294h225.149256c19.956411-0.511703 36.842605 15.351086 37.866011 34.795795-0.511703 19.956411-17.397897 35.307497-37.866011 34.795794H399.425372c-10.234057-0.511703-19.956411-4.093623-27.120251-10.74576-6.652137-6.140434-10.74576-15.351086-10.234057-24.050034C362.582767 15.39238 378.957258-0.470408 399.425372 0.041294z" ></path></symbol><symbol id="icon-bianjimoban" viewBox="0 0 1025 1024"><path d="M127.110228 701.648461q0 26.438928 18.812314 45.251241t46.268123 18.812314l253.203575 0 0 128.12711-318.284012 0q-26.438928 0-49.82721-9.660377t-40.675273-26.947368-26.947368-40.675273-9.660377-50.844091l0-637.584906q0-26.438928 9.660377-49.82721t26.947368-40.675273 40.675273-27.455809 49.82721-10.168818l766.728898 0q26.438928 0 49.82721 10.168818t40.675273 27.455809 27.455809 40.675273 10.168818 49.82721l0 187.106256-128.12711 1.016882q-2.033764-25.422046-19.829196-43.217478t-44.234359-17.795432l-637.584906 0q-27.455809 0-46.268123 18.812314t-18.812314 45.251241l0 382.347567zM1016.881827 501.322741q6.101291 9.151936 7.626614 23.388282t-10.677259 28.472691q-11.1857 14.236346-18.303873 21.354518l-8.135055 8.135055-105.75571-95.586892q5.084409-6.101291 14.236346-14.744786t14.236346-13.727905q14.236346-14.236346 30.506455-12.711023t27.455809 6.609732q12.202582 5.084409 26.438928 18.812314t22.3714 29.998014zM613.179742 789.100298q3.050645-3.050645 14.236346-16.270109t27.96425-32.540218 37.116187-42.200596 40.675273-46.268123q48.810328-54.911619 108.806356-122.025819l107.789474 95.586892q-59.996028 68.131082-108.806356 123.042701-20.337637 23.388282-40.675273 46.268123t-37.116187 41.183714-27.455809 29.998014-12.711023 13.727905q-9.151936 12.202582-25.422046 20.337637-7.118173 5.084409-21.354518 11.1857t-29.998014 12.202582-29.489573 10.677259-20.846077 5.59285q-26.438928 5.084409-23.388282-22.3714 1.016882-7.118173 4.067527-21.862959t6.609732-30.506455 7.118173-28.981132 5.59285-18.303873q5.084409-13.219464 17.286991-28.472691z" ></path></symbol><symbol id="icon-shanchu1" viewBox="0 0 1024 1024"><path d="M78.768011 168.230165c0-30.999918 24.230644-56.076722 54.15419-56.076722L403.692131 112.153443 403.692131 56.076722c0-30.999918 24.230644-56.076722 54.15419-56.076722l108.306335 0c29.923546 0 54.155214 25.076803 54.155214 56.076722l0 56.077745 270.768906 0c29.923546 0 54.15419 25.076803 54.15419 56.076722l0 56.076722L78.768011 224.307909 78.768011 168.230165zM891.076776 336.461352l0 112.153443 0 519.30746c0 30.923181-24.231667 56.077745-54.153167 56.077745L187.076392 1024c-29.923546 0-54.15419-25.154564-54.15419-56.077745L132.922201 448.614796 132.922201 336.461352l0-56.077745 758.154574 0L891.076776 336.461352zM349.53794 448.614796c0-30.923181-24.230644-56.076722-54.15419-56.076722-29.922523 0-54.153167 25.153541-54.153167 56.076722l0 407.154017c0 30.923181 24.230644 56.077745 54.153167 56.077745 29.923546 0 54.15419-25.154564 54.15419-56.077745L349.53794 448.614796zM566.153679 448.614796c0-30.923181-24.230644-56.076722-54.15419-56.076722-29.922523 0-54.153167 25.153541-54.153167 56.076722l0 407.154017c0 30.923181 24.230644 56.077745 54.153167 56.077745 29.923546 0 54.15419-25.154564 54.15419-56.077745L566.153679 448.614796zM782.770441 448.614796c0-30.923181-24.231667-56.076722-54.155214-56.076722s-54.15419 25.153541-54.15419 56.076722l0 407.154017c0 30.923181 24.230644 56.077745 54.15419 56.077745s54.155214-25.154564 54.155214-56.077745L782.770441 448.614796z" ></path></symbol><symbol id="icon-edit" viewBox="0 0 1024 1024"><path d="M923.9 335.8c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.8-35.2-174.3-35.2S392.2 74.1 337 97.5c-53.3 22.6-101.2 54.8-142.3 96-41.1 41.1-73.4 89-96 142.3C75.3 391 63.5 449.7 63.5 510.1c0 60.4 11.8 119.1 35.2 174.3 22.6 53.3 54.8 101.2 96 142.3 41.1 41.1 89 73.4 142.3 96 55.2 23.4 113.9 35.2 174.3 35.2s119.1-11.8 174.3-35.2c35.9-15.2 69.3-34.8 99.8-58.5l-0.1-0.1c9.1-7.4 14.8-18.6 14.8-31.2 0-22.3-18-40.3-40.3-40.3-9.2 0-17.7 3.1-24.5 8.3l-0.2-0.3c-62 47.9-139.7 76.4-223.9 76.4-202.3 0-366.9-164.6-366.9-366.9s164.7-366.9 367-366.9 366.9 164.6 366.9 366.9c0 66.2-17.6 128.3-48.4 182l0.4 0.2c-4.4 6.5-7 14.2-7 22.6 0 22.3 18 40.3 40.3 40.3 16 0 29.8-9.3 36.3-22.8l0.2 0.1c8.9-15.5 16.8-31.5 23.8-48.1 23.4-55.2 35.2-113.9 35.2-174.3 0.1-60.4-11.7-119.1-35.1-174.3z" ></path><path d="M693.7 626.5H507.6l-57.1 66.1h243.2zM663.2 411.4c7.5-7.6 7.5-23.5 0-31.3l-45.4-46.8c-7.7-7.6-22.9-7.6-30.4 0l-45.7 46.8 76.1 78.1 45.4-46.8zM328.8 614.5v78.1h76.1l197.5-218.7-76-77.9z" ></path></symbol><symbol id="icon-new" viewBox="0 0 1024 1024"><path d="M926.3 337.9c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.9-35.2-174.3-35.2S394.6 76.2 339.3 99.6c-53.3 22.6-101.2 54.8-142.3 96-41.1 41.1-73.4 89-96 142.3-23.4 55.2-35.2 113.9-35.2 174.3 0 60.4 11.8 119.1 35.2 174.3 22.6 53.3 54.8 101.2 96 142.3 41.1 41.1 89 73.4 142.3 96 55.2 23.4 113.9 35.2 174.3 35.2s119.1-11.8 174.3-35.2c53.3-22.6 101.2-54.8 142.3-96 41.1-41.1 73.4-89 96-142.3 23.4-55.2 35.2-113.9 35.2-174.3 0.1-60.4-11.8-119.1-35.1-174.3zM513.7 879.1c-202.3 0-366.9-164.6-366.9-366.9s164.6-366.9 366.9-366.9c202.3 0 366.9 164.6 366.9 366.9S716 879.1 513.7 879.1z" ></path><path d="M695.7 469.2h-139v-139c0-23.6-19.3-43-43-43-23.6 0-43 19.3-43 43v139h-139c-23.6 0-43 19.3-43 43s19.3 43 43 43h139v139c0 23.7 19.3 43 43 43 23.6 0 43-19.3 43-43v-139h139c23.6 0 43-19.3 43-43s-19.4-43-43-43z" ></path></symbol><symbol id="icon-biaoqianye1" viewBox="0 0 1024 1024"><path d="M345.557333 128l110.677334 168.405333H938.666667V896H85.333333V128h260.224zM299.52 213.333333H170.666667v597.333334h682.666666V381.738667H410.197333L299.52 213.333333z" fill="#222222" ></path><path d="M597.333333 136.533333c0-4.693333 3.541333-8.533333 7.893334-8.533333h325.546666c4.352 0 7.893333 3.84 7.893334 8.533333v68.266667c0 4.693333-3.541333 8.533333-7.893334 8.533333h-325.546666C600.874667 213.333333 597.333333 209.493333 597.333333 204.8V136.533333z" fill="#222222" ></path></symbol><symbol id="icon-biaoqianye" viewBox="0 0 1024 1024"><path d="M376.6 494.8c5.1 4.8 7.9 11.7 7.6 18.7 0.4 7.1-2.5 14-7.6 18.7-5.3 4.7-12.3 7.2-19.3 6.9h-69.6v235.1c0.2 7.4-2.9 14.4-8.4 19.1-5.5 5.4-12.9 8.3-20.5 8.1-7.6 0.3-15.1-2.7-20.5-8.1-5.3-4.9-8.2-11.9-8.1-19.1v-235H161c-7.2 0.3-14.2-2.3-19.3-7.3-5.2-4.8-8-11.7-7.6-18.7-0.3-7 2.5-13.7 7.6-18.3 5.3-4.8 12.2-7.3 19.3-7h198.4c6.3 0 12.4 2.5 17.2 6.9z m215.7 70.1c5.2 5.1 8 12.2 7.7 19.6v189.9c0.3 7.2-2.5 14.2-7.7 19.1-4.8 5.3-11.7 8.3-18.9 8.1-7.1 0.1-13.9-2.7-18.9-7.7-4.8-5.2-7.6-12-7.6-19.1-18 19.5-42.9 30.8-69.2 31.4-19.7 0.3-38.9-5.3-55.5-15.9-17.2-10.7-31.2-26.1-40.3-44.4-19.3-40.4-19.3-87.6 0-128 8.9-18.4 22.9-33.8 40.3-44.4 16-10.5 34.8-16.1 53.9-15.9 26.3-0.1 51.8 9.8 71.2 27.7-0.2-7.3 2.6-14.4 7.7-19.6 10.6-10.2 27.2-10.2 37.8 0l-0.5-0.8z m-61.2 168.7c24.1-31.6 24.1-75.6 0-107.2-11.5-14.3-28.9-22.3-47.1-21.6-17.9-0.5-35.1 7.4-46.3 21.6-12.1 15-18.5 34-18.1 53.4-0.6 19.5 5.7 38.6 17.7 53.8 11.6 13.9 28.8 21.7 46.7 21.2 18.1 0.4 35.3-7.4 47.1-21.2zM835.4 573c17.1 10.7 31 25.9 40.3 44 9.9 19.8 14.9 41.8 14.5 64 0.4 22.3-4.6 44.4-14.5 64.4-9 18.3-23 33.7-40.3 44.4-16 10.6-34.8 16.1-53.9 15.9-13.9 0.2-27.7-2.9-40.3-9-11.6-5-22.1-12.2-31-21.2v2.8c0.2 7.2-2.5 14.2-7.5 19.4-5 5.1-11.9 8-19.1 7.9-7.1 0.3-14-2.5-18.9-7.7-5.2-5.1-8-12.2-7.6-19.6V497.2c-0.2-7.3 2.5-14.4 7.6-19.6 10.6-10.3 27.2-10.3 37.8 0 5.1 5.2 7.9 12.2 7.6 19.6v93.3c8-9.8 18-17.7 29.4-23.2 12.4-6.8 26.2-10.3 40.3-10.2 19.7-0.2 39 5.3 55.6 15.9z m-15.7 163c12.2-15.1 18.6-34.3 18.1-53.8 0.6-19.4-5.7-38.3-17.7-53.4-12-13.4-29-21.1-46.9-21.1s-34.9 7.7-46.9 21.1c-24.1 31.6-24.1 75.6 0 107.2 11.6 14.1 29 22.1 47.1 21.6 18.3-0.2 35.4-9.1 46.3-24v2.4zM708.1 253.5c-15.5 0-28-12.5-28-28V113.4c-0.1-8 0-15.9 0-23.8V77.9c0-15.5 12.5-28 28-28H886c17 0 32.9 6.6 45 18.6 11.3 11.3 17.8 26 18.6 41.8 0.1 0.7 0.1 1.4 0.1 2.1v113.2c0 15.5-12.5 28-28 28H708.1z m28-56h157.4v-84.1c0-2-0.8-3.9-2.2-5.4-1.4-1.4-3.4-2.2-5.4-2.2H736.1v91.7zM371.9 254.6c-15.5 0-28-12.5-28-28V78.9c0-15.4 12.5-27.9 27.9-28l213.4-1.1h0.1c17 0 32.9 6.6 45 18.6 12 12.1 18.6 28 18.6 45v113.2c0 15.5-12.5 28-28 28h-249z m28-56.1h193v-85.2c0-2-0.8-3.9-2.2-5.4-1.4-1.4-3.3-2.2-5.3-2.2l-185.5 0.9v91.9z" fill="#595959" ></path><path d="M72.4 974.2c-17.3 0-33.5-6.7-45.7-18.7-12.2-12.1-18.9-28.1-18.9-45.1V113.6c0-35.2 29-63.8 64.6-63.8h169c17.3 0 33.5 6.6 45.7 18.7 12.2 12 18.9 28.1 18.9 45.1V283c0 2 0.8 3.9 2.3 5.4 1.5 1.4 3.4 2.2 5.4 2.2h637.9c17.3 0 33.5 6.6 45.7 18.7 12.2 12 18.9 28 18.9 45.1v556c0 17.1-6.7 33.1-18.9 45.1s-28.4 18.7-45.7 18.7H72.4z m7.7-860.6c-4.3 0-7.7 3.4-7.7 7.6v788.7c0 2 0.8 4 2.3 5.4 1.4 1.4 3.4 2.2 5.4 2.2h871.5c2.1 0 4-0.8 5.4-2.2 1.5-1.4 2.3-3.3 2.3-5.4V350.6c0-2-0.8-3.9-2.2-5.3-1.5-1.5-3.4-2.3-5.4-2.3h-638c-17.3 0-33.5-6.7-45.7-18.7-12.2-12-18.9-28.1-18.9-45.1V121.1c0-2-0.8-3.9-2.3-5.4-1.4-1.4-3.4-2.2-5.4-2.2H80.1z" fill="#595959" ></path></symbol><symbol id="icon-buzhou" viewBox="0 0 1024 1024"><path d="M488.106667 792.462222h257.137777a28.444444 28.444444 0 0 0 28.444445-28.444444 28.444444 28.444444 0 0 0-28.444445-28.444445H488.106667a28.444444 28.444444 0 0 0-28.444445 28.444445 28.444444 28.444444 0 0 0 28.444445 28.444444zM242.346667 764.017778A80.782222 80.782222 0 1 0 341.333333 686.08v-96.142222a80.213333 80.213333 0 0 0 0-155.875556V337.92a80.782222 80.782222 0 1 0-39.822222 0v96.142222a80.213333 80.213333 0 0 0 0 155.875556v96.142222a80.782222 80.782222 0 0 0-59.164444 77.937778zM284.444444 259.982222a40.96 40.96 0 0 1 81.92 0 40.391111 40.391111 0 0 1-40.391111 40.96 40.391111 40.391111 0 0 1-41.528889-40.96zM284.444444 512a40.96 40.96 0 1 1 40.96 40.96A40.96 40.96 0 0 1 284.444444 512z m40.391112 211.057778a40.391111 40.391111 0 0 1 40.391111 40.96 40.96 40.96 0 0 1-81.92 0 40.391111 40.391111 0 0 1 39.253333-40.96zM488.106667 540.444444h257.137777a28.444444 28.444444 0 1 0 0-56.888888H488.106667a28.444444 28.444444 0 1 0 0 56.888888zM488.106667 288.426667h257.137777a28.444444 28.444444 0 0 0 28.444445-28.444445 28.444444 28.444444 0 0 0-28.444445-28.444444H488.106667a28.444444 28.444444 0 0 0-28.444445 28.444444 28.444444 28.444444 0 0 0 28.444445 28.444445z" fill="#151515" ></path><path d="M859.022222 79.644444H164.977778a22.755556 22.755556 0 0 0-22.755556 22.755556v819.2a22.755556 22.755556 0 0 0 22.755556 22.755556h694.044444a22.755556 22.755556 0 0 0 22.755556-22.755556V102.4a22.755556 22.755556 0 0 0-22.755556-22.755556z m-22.755555 819.2H187.733333V125.155556h648.533334z" fill="#151515" ></path></symbol><symbol id="icon-ok" viewBox="0 0 1024 1024"><path d="M926.3 337.9c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.9-35.2-174.3-35.2S394.6 76.2 339.3 99.6c-53.3 22.6-101.2 54.8-142.3 96-41.1 41.1-73.4 89-96 142.3-23.4 55.2-35.2 113.9-35.2 174.3 0 60.4 11.8 119.1 35.2 174.3 22.6 53.3 54.8 101.2 96 142.3 41.1 41.1 89 73.4 142.3 96 55.2 23.4 113.9 35.2 174.3 35.2s119.1-11.8 174.3-35.2c53.3-22.6 101.2-54.8 142.3-96 41.1-41.1 73.4-89 96-142.3 23.4-55.2 35.2-113.9 35.2-174.3 0.1-60.4-11.8-119.1-35.1-174.3zM513.7 879.1c-202.3 0-366.9-164.6-366.9-366.9s164.6-366.9 366.9-366.9c202.3 0 366.9 164.6 366.9 366.9S716 879.1 513.7 879.1z" ></path><path d="M715.6 371.6c-15.7-15.7-41.4-15.7-57 0l-196 196-95.9-95.9c-15.7-15.7-41.4-15.7-57 0-15.7 15.7-15.7 41.4 0 57l124.5 124.5c15.7 15.7 41.4 15.7 57 0l224.5-224.5c15.6-15.7 15.6-41.4-0.1-57.1z" ></path></symbol><symbol id="icon-cancel" viewBox="0 0 1024 1024"><path d="M926.3 337.9c-22.6-53.3-54.8-101.2-96-142.3-41.1-41.1-89-73.4-142.3-96-55.2-23.4-113.9-35.2-174.3-35.2S394.6 76.2 339.3 99.6c-53.3 22.6-101.2 54.8-142.3 96-41.1 41.1-73.4 89-96 142.3-23.4 55.2-35.2 113.9-35.2 174.3 0 60.4 11.8 119.1 35.2 174.3 22.6 53.3 54.8 101.2 96 142.3 41.1 41.1 89 73.4 142.3 96 55.2 23.4 113.9 35.2 174.3 35.2s119.1-11.8 174.3-35.2c53.3-22.6 101.2-54.8 142.3-96 41.1-41.1 73.4-89 96-142.3 23.4-55.2 35.2-113.9 35.2-174.3 0.1-60.4-11.8-119.1-35.1-174.3zM513.7 879.1c-202.3 0-366.9-164.6-366.9-366.9s164.6-366.9 366.9-366.9c202.3 0 366.9 164.6 366.9 366.9S716 879.1 513.7 879.1z" ></path><path d="M697.9 329.1c-15.6-15.6-41-15.6-56.6 0L513 457.4 384.7 329.1c-15.6-15.6-41-15.6-56.6 0-15.6 15.6-15.6 41 0 56.6L456.4 514 328.1 642.3c-15.6 15.6-15.6 41 0 56.6 15.6 15.6 41 15.6 56.6 0L513 570.6l128.3 128.3c15.6 15.6 41 15.6 56.6 0 15.6-15.6 15.6-41 0-56.6L569.6 514l128.3-128.3c15.6-15.6 15.6-41.1 0-56.6z" ></path></symbol><symbol id="icon-savebaocun" viewBox="0 0 1024 1024"><path d="M778.7 97.2H247.3C165 97.2 98 164.3 98 246.7v532.2c0 82.4 67 149.4 149.3 149.4h531.5c82.3 0 149.3-67 149.3-149.4V246.7C928 164.3 861 97.2 778.7 97.2z m-452.2 79.9h373.1v83.7H331.9c-2.9 0-5.5-2.6-5.5-5.5v-78.2z m373 671.3h-373v-225h373.1v225z m148.7-69.6c0 38.1-30.8 69.2-68.8 69.5V612.9c0-38.3-31.1-69.4-69.3-69.4H316c-38.2 0-69.3 31.1-69.3 69.4v235.4c-38-0.3-68.8-31.4-68.8-69.5V246.7c0-38.1 30.8-69.2 68.8-69.5v78.2c0 47.1 38.3 85.4 85.3 85.4h378c38.2 0 69.3-31.1 69.3-69.4v-94.2c38 0.3 68.8 31.4 68.8 69.5v532.1z" ></path></symbol><symbol id="icon-shijianxian2" viewBox="0 0 1024 1024"><path d="M171.52 924.16v-107.52c0-19.968 15.872-35.84 35.84-35.84s35.84 15.872 35.84 35.84v107.52c0 19.968-15.872 35.84-35.84 35.84s-35.84-15.872-35.84-35.84z m0-322.56v-107.52c0-19.968 15.872-35.84 35.84-35.84s35.84 15.872 35.84 35.84v107.52c0 19.968-15.872 35.84-35.84 35.84s-35.84-15.872-35.84-35.84z m0-394.24v-107.52c0-19.968 15.872-35.84 35.84-35.84s35.84 15.872 35.84 35.84v107.52c0 19.968-15.872 35.84-35.84 35.84s-35.84-15.872-35.84-35.84z" ></path><path d="M350.72 350.72c0 79.36-64 143.36-143.36 143.36s-143.36-64-143.36-143.36 64-143.36 143.36-143.36 143.36 64 143.36 143.36z m-143.36-71.68c-39.424 0-71.68 32.256-71.68 71.68s32.256 71.68 71.68 71.68 71.68-32.256 71.68-71.68-32.256-71.68-71.68-71.68z m143.36 430.08c0 79.36-64 143.36-143.36 143.36s-143.36-64-143.36-143.36 64-143.36 143.36-143.36 143.36 64 143.36 143.36z m-143.36-71.68c-39.424 0-71.68 32.256-71.68 71.68s32.256 71.68 71.68 71.68 71.68-32.256 71.68-71.68-32.256-71.68-71.68-71.68z m716.8-286.72h-501.76c-19.968 0-35.84-15.872-35.84-35.84s15.872-35.84 35.84-35.84h501.76c19.968 0 35.84 15.872 35.84 35.84s-15.872 35.84-35.84 35.84z m-284.672 107.52H420.352c-18.432 0-33.792-15.36-33.792-33.792v-4.096c0-18.432 15.36-33.792 33.792-33.792h219.136c18.432 0 33.792 15.36 33.792 33.792v4.096c0 18.432-15.36 33.792-33.792 33.792z m284.672 250.88h-501.76c-19.968 0-35.84-15.872-35.84-35.84s15.872-35.84 35.84-35.84h501.76c19.968 0 35.84 15.872 35.84 35.84s-15.872 35.84-35.84 35.84z m-284.672 107.52H420.352c-18.432 0-33.792-15.36-33.792-33.792v-4.096c0-18.432 15.36-33.792 33.792-33.792h219.136c18.432 0 33.792 15.36 33.792 33.792v4.096c0 18.432-15.36 33.792-33.792 33.792z" ></path></symbol><symbol id="icon-buzhoutiao" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="#FFFFFF" fill-opacity="0" ></path><path d="M204 372c66.31 0 121.852 46.1 136.326 108h137.53c12.901-33.907 45.71-58 84.144-58 38.435 0 71.243 24.093 84.145 58h139.71c12.902-33.907 45.71-58 84.145-58 49.706 0 90 40.294 90 90s-40.294 90-90 90c-38.434 0-71.242-24.092-84.144-57.998H646.144C633.242 577.908 600.434 602 562 602c-38.434 0-71.242-24.092-84.144-57.998h-137.53C325.852 605.9 270.309 652 204 652c-77.32 0-140-62.68-140-140s62.68-140 140-140z m0 64c-41.974 0-76 34.026-76 76s34.026 76 76 76 76-34.026 76-76-34.026-76-76-76z m358 50c-14.36 0-26 11.64-26 26s11.64 26 26 26 26-11.64 26-26-11.64-26-26-26z m308 0c-14.36 0-26 11.64-26 26s11.64 26 26 26 26-11.64 26-26-11.64-26-26-26z" fill="#666666" ></path></symbol><symbol id="icon-m-qianming" viewBox="0 0 1024 1024"><path d="M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z" ></path><path d="M573.44 646.656l-3.072 6.144c-8.192 12.288-14.336 25.088-19.456 38.912-6.656 18.944-3.072 36.352 16.896 43.008 34.816 11.264 72.704 9.216 106.496-4.608 9.216-3.072 11.264-4.096 34.304-12.8 16.384-6.656 33.792-12.8 51.2-17.408 1.024 0 2.048-0.512 3.072-1.024 10.24-2.048 6.656-5.632 16.896 1.024 3.584 3.072 8.704 4.096 13.312 3.072 4.608-1.024 5.632-3.072 8.192-7.68 5.632-8.192 3.584-19.456-4.608-25.088-18.944-12.8-22.528-10.24-41.472-6.144-1.536 0.512-3.072 0.512-4.096 1.024-18.944 5.12-37.376 11.264-55.808 18.432-22.016 8.704-24.064 9.728-32.768 12.288-24.576 10.24-52.224 12.8-78.336 6.144 4.608-11.264 10.24-22.016 16.896-32.256 1.536-2.048 2.56-4.096 3.584-6.144 8.704-13.824 15.36-29.184 18.432-45.056 4.096-19.456-7.68-38.4-27.136-42.496-0.512 0-1.536-0.512-2.048-0.512-27.648-6.656-59.392 3.072-148.992 37.888-81.92 32.256-117.76 41.984-129.024 35.84-4.096-2.56-8.704-3.072-13.312-1.536-9.728 2.56-15.36 12.8-12.8 22.016 1.024 4.608 4.096 8.192 8.192 10.752 23.04 8.704 48.64 7.68 71.168-2.048 29.696-9.216 59.392-19.456 88.064-32.256 77.824-30.72 111.104-40.448 126.976-36.352 3.072 1.024 3.072 0 2.56 3.072-2.56 12.288-7.168 23.552-13.312 33.792zM665.088 235.52c-19.456-17.92-49.664-17.408-68.608 1.024L312.32 519.68c-2.048 2.048-3.584 4.608-4.608 7.68l-22.528 80.896c-2.56 9.728 3.072 19.456 12.8 21.504 3.584 1.024 7.68 0.512 11.264-0.512l71.168-29.696c5.632-2.56 10.752-5.632 15.36-10.24l283.648-269.824 2.56-2.56c18.432-19.456 17.92-50.176-2.048-68.608l-1.024-1.024-13.824-11.776z" ></path></symbol><symbol id="icon-touxiang_avatar" viewBox="0 0 1024 1024"><path d="M925.866667 797.866667c-12.8-25.6-34.133333-46.933333-64-64-29.866667-21.333333-68.266667-34.133333-119.466667-42.666667-4.266667 0-29.866667-4.266667-59.733333-12.8-21.333333-4.266667-34.133333-8.533333-38.4-12.8v-17.066667c4.266667-51.2 29.866667-76.8 55.466666-106.666666 8.533333-8.533333 17.066667-21.333333 25.6-29.866667 29.866667-42.666667 34.133333-89.6 34.133334-98.133333 0-8.533333 0-17.066667-4.266667-21.333334-4.266667-8.533333-8.533333-12.8-12.8-21.333333 0-12.8 4.266667-21.333333 4.266667-29.866667 0-21.333333 4.266667-55.466667-4.266667-89.6 0-8.533333-4.266667-12.8-4.266667-21.333333-8.533333-25.6-17.066667-46.933333-34.133333-68.266667-4.266667-12.8-64-72.533333-234.666667-85.333333H401.066667c-4.266667 0-17.066667 0-25.6 4.266667-21.333333 4.266667-38.4 21.333333-42.666667 42.666666v21.333334c-8.533333 8.533333-55.466667 51.2-55.466667 102.4-4.266667 34.133333-4.266667 85.333333 0 123.733333-8.533333 8.533333-17.066667 21.333333-12.8 42.666667 0 12.8 4.266667 55.466667 34.133334 98.133333 8.533333 8.533333 17.066667 17.066667 25.6 29.866667 25.6 29.866667 51.2 55.466667 55.466666 106.666666v17.066667c-4.266667 4.266667-17.066667 8.533333-38.4 12.8-29.866667 8.533333-59.733333 12.8-64 12.8-46.933333 8.533333-85.333333 21.333333-115.2 42.666667-25.6 17.066667-46.933333 38.4-64 64-25.6 38.4-25.6 76.8-25.6 85.333333v21.333333c0 25.6 21.333333 46.933333 46.933334 46.933334H896c25.6 0 46.933333-21.333333 46.933333-46.933334v-17.066666c8.533333-12.8 8.533333-51.2-17.066666-89.6z m-546.133334-128c0 4.266667 0 4.266667 0 0v4.266666c-4.266667 0-4.266667 0 0-4.266666z m503.466667 213.333333l-742.4 4.266667v-4.266667s0-25.6 12.8-51.2c8.533333-17.066667 25.6-29.866667 42.666667-42.666667 25.6-17.066667 55.466667-25.6 89.6-34.133333 4.266667 0 34.133333-4.266667 68.266666-12.8 51.2-12.8 76.8-29.866667 85.333334-46.933333 0-4.266667 0-4.266667 4.266666-8.533334v-42.666666c-8.533333-72.533333-42.666667-115.2-72.533333-145.066667-8.533333-8.533333-12.8-17.066667-21.333333-21.333333-21.333333-29.866667-21.333333-59.733333-21.333334-64l4.266667-4.266667 8.533333-8.533333c4.266667-17.066667 0-25.6 0-29.866667-4.266667-34.133333-4.266667-81.066667 0-119.466667 0-29.866667 29.866667-55.466667 29.866667-55.466666 8.533333-4.266667 17.066667-12.8 21.333333-21.333334 0-4.266667 4.266667-4.266667 4.266667-8.533333v-25.6H465.066667c140.8 8.533333 192 59.733333 192 59.733333 8.533333 12.8 17.066667 25.6 21.333333 42.666667 4.266667 4.266667 4.266667 8.533333 4.266667 12.8 4.266667 29.866667 4.266667 55.466667 4.266666 76.8 0 12.8 0 21.333333-4.266666 38.4 0 12.8 0 25.6 8.533333 29.866667l4.266667 4.266666 4.266666 4.266667s0 34.133333-21.333333 64c-4.266667 8.533333-12.8 12.8-21.333333 21.333333-29.866667 29.866667-64 72.533333-72.533334 145.066667v42.666667c0 4.266667 0 4.266667 4.266667 8.533333 8.533333 21.333333 34.133333 34.133333 85.333333 46.933333 34.133333 8.533333 64 12.8 68.266667 12.8 38.4 8.533333 68.266667 17.066667 93.866667 34.133334 17.066667 12.8 34.133333 25.6 42.666666 42.666666 8.533333 25.6 8.533333 51.2 4.266667 55.466667z" ></path></symbol><symbol id="icon-m-mianban" viewBox="0 0 1024 1024"><path d="M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z" ></path><path d="M884.15744 348.01152v49.152h-745.984v-49.152z" ></path><path d="M356.43392 846.99136h-49.152v-450.048h49.152z" ></path></symbol><symbol id="icon-m-xialakuang" viewBox="0 0 1024 1024"><path d="M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z" ></path><path d="M510.464 639.488l207.872-254.976H302.08z" ></path></symbol><symbol id="icon-m-biaodan" viewBox="0 0 1024 1024"><path d="M122.88 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384H122.88c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H137.216c-26.112 0-47.104 20.992-47.104 47.104v688.128z" ></path><path d="M244.224 279.04h142.848v49.152H244.224zM244.224 425.472h142.848v49.152H244.224zM436.736 279.04h342.528v49.152H436.736zM436.736 425.472h342.528v49.152H436.736zM244.224 572.416h142.848v49.152H244.224zM436.736 572.416h342.528v172.544H436.736z" ></path></symbol><symbol id="icon-m-biaoge" viewBox="0 0 1024 1024"><path d="M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z" ></path><path d="M249.344 347.648h49.152v499.2h-49.152zM584.704 347.648h49.152v499.2h-49.152zM137.728 165.888h746.496v181.76H137.728z" ></path><path d="M137.728 481.792h746.496v49.152H137.728zM137.728 664.576h746.496v49.152H137.728z" ></path></symbol><symbol id="icon-dashboard-o" viewBox="0 0 1024 1024"><path d="M880 622c17.673 0 32 14.327 32 32v226c0 17.673-14.327 32-32 32H582c-17.673 0-32-14.327-32-32V654c0-17.673 14.327-32 32-32h298zM442 476c17.673 0 32 14.327 32 32v372c0 17.673-14.327 32-32 32H144c-17.673 0-32-14.327-32-32V508c0-17.673 14.327-32 32-32h298z m406 210H614v162h234V686zM410 540H176v308h234V540z m470-428c17.673 0 32 14.327 32 32v372c0 17.673-14.327 32-32 32H582c-17.673 0-32-14.327-32-32V144c0-17.673 14.327-32 32-32h298z m-32 64H614v308h234V176z m-406-64c17.673 0 32 14.327 32 32v226c0 17.673-14.327 32-32 32H144c-17.673 0-32-14.327-32-32V144c0-17.673 14.327-32 32-32h298z m-32 64H176v162h234V176z" fill="#000000" fill-opacity=".65" ></path></symbol><symbol id="icon-line-layoutmasonryfensanbuju" viewBox="0 0 1024 1024"><path d="M896 128H128c-25.6 0-42.666667 17.066667-42.666667 42.666667v682.666666c0 25.6 17.066667 42.666667 42.666667 42.666667h768c25.6 0 42.666667-17.066667 42.666667-42.666667V170.666667c0-25.6-17.066667-42.666667-42.666667-42.666667zM170.666667 213.333333h298.666666v341.333334H170.666667V213.333333z m0 597.333334v-170.666667h298.666666v170.666667H170.666667z m682.666666 0h-298.666666v-341.333334h298.666666v341.333334z m0-426.666667h-298.666666V213.333333h298.666666v170.666667z" fill="#09121F" ></path></symbol><symbol id="icon-zidingyibuju" viewBox="0 0 1024 1024"><path d="M0 0v256h1024V0z m960 192H64V64h896zM0 1024h512V320H0z m64-640h384v576H64zM576 576h448v-256H576z m64-192h320v128H640zM576 1024h448V640H576z m64-320h320v256H640z" fill="#575869" ></path></symbol><symbol id="icon-daochu" viewBox="0 0 1024 1024"><path d="M394.6 689.8c-13.2 3.2-27.4-9.5-31.7-23.2-8.4-28.5-12.7-58.6-12.7-88.1 0-159.4 151.5-325.1 314.1-352.1v-5.3c0-1.6 0-3.7 0.5-5.3l0.5-2.1c1.6-11.6 5.8-38.5 32.2-55.4 10.6-6.9 22.2-10 34.3-10 14.8 0 26.9 5.3 34.3 9.5 1.6 0.5 2.6 1.6 4.2 2.6L929.2 286c17.4 13.2 28 34.8 28 57 0 22.7-10.6 44.3-28.5 57.5L770.5 525.7c-11.6 9-25.3 13.7-39.1 13.7-12.1 0-23.8-3.7-34.8-10.6-21.1-13.7-31.7-34.8-31.7-64.4v-1.1C559.3 475 442.2 569 416.3 657.6c-4.8 14.3-13.7 32.2-21.7 32.2z m335.7-466.6V256c0 17.4-13.7 31.7-31.1 32.7-125.6 6.9-257.6 131.4-279.7 254.4C486 458.7 595.2 390 699.7 397.4c17.4 1.1 30.6 15.3 30.6 32.7V465c0 4.7 0.5 6.9 0.5 7.9l157.3-124.6c2.1-1.6 2.6-3.2 2.6-5.3 0-2.1-1.1-4.2-2.6-5.3L731.9 214.3c-1.1 1.6-1.6 5.8-2.1 8.4l0.5 0.5z m0 0" ></path><path d="M715.6 916.3H188.3c-67 0-121.9-54.9-121.9-121.9v-568c0-67 54.9-121.9 121.9-121.9h436.5v69.7H188.3c-28.5 0-52.3 23.2-52.3 52.3V795c0 28.5 23.2 52.3 52.3 52.3h527.3c28.5 0 52.3-23.2 52.3-52.3V593.2H837v201.6c0 66.6-54.4 121.5-121.4 121.5z m0 0" ></path><path d="M183 566.9h112.4V626H183v-59.1z m0 154.1h296.1v59.1H183V721z m0-425.4h237v59.1H183v-59.1z m0 140.9h112.4v59.1H183v-59.1z m0 0" ></path></symbol><symbol id="icon-daoru" viewBox="0 0 1024 1024"><path d="M111.6 148.8c7.9 0 16.9 17.9 21.6 32.2 25.9 88.7 143 182.6 248.6 194.2v-1.1c0-29.6 10.6-50.7 31.7-64.4 11.1-6.9 22.7-10.6 34.8-10.6 13.7 0 27.4 4.8 39.1 13.7L645.8 438c17.9 13.2 28.5 34.8 28.5 57.5 0 22.2-10.6 43.8-28 57L487.4 678.2c-1.6 1.1-2.6 2.1-4.2 2.6-7.4 4.2-19.5 9.5-34.3 9.5-12.1 0-23.7-3.2-34.3-10-26.4-16.9-30.6-43.8-32.2-55.4l-0.5-2.1c-0.5-1.6-0.5-3.7-0.5-5.3v-5.3c-162.6-26.9-314.1-192.6-314.1-352 0-29.6 4.2-59.6 12.7-88.1 4.2-13.8 18.4-26.5 31.6-23.3z m335.2 467.1c0.5 2.6 1.1 6.9 2.1 8.4l156.2-123.5c1.6-1.1 2.6-3.2 2.6-5.3 0-2.1-0.5-3.7-2.6-5.3L447.8 365.7c0 1.1-0.5 3.2-0.5 7.9v34.8c0 17.4-13.2 31.7-30.6 32.7-104.5 7.4-213.8-61.2-280.3-145.7 22.2 123 154.1 247.5 279.7 254.4 17.4 1.1 31.1 15.3 31.1 32.7v32.7l-0.4 0.7z m0.5-0.5" ></path><path d="M309 916.3c-67 0-121.4-54.9-121.4-121.4V593.2h69.1v201.6c0 29 23.8 52.3 52.3 52.3h527.3c29 0 52.3-23.8 52.3-52.3V226.4c0-29-23.8-52.3-52.3-52.3H399.8v-69.7h436.5c67 0 121.9 54.9 121.9 121.9v567.9c0 67-54.9 121.9-121.9 121.9H309v0.2z m0 0" ></path><path d="M841.6 626H729.1v-59.1h112.4V626z m0 154.1H545.5V721h296.1v59.1z m0-425.4h-237v-59.1h237v59.1z m0 140.9H729.1v-59.1h112.4v59.1z m0-59.1" ></path></symbol><symbol id="icon-a-juxing1851" viewBox="0 0 1024 1024"><path d="M0 0h438.857143v1024H0V0z m512 0h512v438.857143H512V0z m0 512h219.428571v219.428571H512V512z m292.571429 0h219.428571v219.428571h-219.428571V512z m-292.571429 292.571429h73.142857v73.142857H512v-73.142857z m146.285714 0h73.142857v73.142857H658.285714v-73.142857z m-146.285714 146.285714h73.142857v73.142857H512v-73.142857z m146.285714 0h73.142857v73.142857H658.285714v-73.142857z m146.285715 0h73.142857v73.142857h-73.142857v-73.142857z m146.285714 0h73.142857v73.142857h-73.142857v-73.142857z m-146.285714-146.285714h73.142857v73.142857h-73.142857v-73.142857z m146.285714 0h73.142857v73.142857h-73.142857v-73.142857z" ></path></symbol><symbol id="icon-sxsz" viewBox="0 0 1024 1024"><path d="M304.5 152.6h415L927 512 719.5 871.4h-415L97 512z" fill="#386BF3" ></path><path d="M512 512m-145.25 0a145.25 145.25 0 1 0 290.5 0 145.25 145.25 0 1 0-290.5 0Z" fill="#3D4265" ></path></symbol><symbol id="icon-mx" viewBox="0 0 1024 1024"><path d="M511.9 325.12v248.55L727.15 449.4l-0.01-248.55z" fill="#C3D2FB" ></path><path d="M296.65 200.85L511.9 325.12v248.56L296.65 449.4z" fill="#3D4265" ></path><path d="M511.9 325.12l215.25-124.27L511.9 76.57 296.65 200.85z" fill="#386BF3" ></path><path d="M296.62 698.02v248.55L511.87 822.3l-0.01-248.56z" fill="#C3D2FB" ></path><path d="M81.37 573.74l215.25 124.28v248.55L81.37 822.3z" fill="#3D4265" ></path><path d="M296.62 698.02l215.25-124.28-215.25-124.27L81.37 573.74z" fill="#386BF3" ></path><path d="M727.03 698.02v248.55L942.28 822.3l-0.01-248.56z" fill="#C3D2FB" ></path><path d="M511.78 573.74l215.25 124.28v248.55L511.78 822.3z" fill="#3D4265" ></path><path d="M727.03 698.02l215.25-124.28-215.25-124.27-215.25 124.27z" fill="#386BF3" ></path></symbol><symbol id="icon-al" viewBox="0 0 1024 1024"><path d="M192 132h440v640H192z" fill="#386BF3" ></path><path d="M632 260h200v512H632z" fill="#C3D2FB" ></path><path d="M398.86 612L512 725.14 625.14 612H912v280H112V612z" fill="#3D4265" ></path></symbol><symbol id="icon-sf" viewBox="0 0 1024 1024"><path d="M511.82 512.5v435L888.54 730l-0.02-435z" fill="#C3D2FB" ></path><path d="M135.1 295l376.72 217.5v435L135.1 730z" fill="#3D4265" ></path><path d="M511.82 512.5L888.54 295 511.82 77.5 135.1 295z" fill="#386BF3" ></path></symbol><symbol id="icon-moxing" viewBox="0 0 1061 1024"><path d="M447.122 467.332L49.24 268.162A33.501 33.501 0 0 0 0.136 300.745v441.02a33.042 33.042 0 0 0 16.062 27.994l396.965 248.275a33.96 33.96 0 0 0 17.438 5.507 33.042 33.042 0 0 0 33.043-33.042V497.162a33.042 33.042 0 0 0-16.522-29.83z m598.889-203.76a33.042 33.042 0 0 0-31.666 0l-463.507 203.76a33.042 33.042 0 0 0-19.733 30.289v493.337a33.042 33.042 0 0 0 49.563 28.453l463.048-265.255a33.042 33.042 0 0 0 16.521-28.453V291.566a33.042 33.042 0 0 0-14.226-27.994z m-54.611-84.9a33.042 33.042 0 0 0-22.487-29.83L550.838 1.53a32.583 32.583 0 0 0-19.733 0L83.659 158.021a33.042 33.042 0 0 0-4.13 61.036l397.882 199.17a33.501 33.501 0 0 0 14.685 3.213 33.96 33.96 0 0 0 13.31 0L969.37 215.845a33.042 33.042 0 0 0 22.029-37.173z" fill="#5E5C5C" ></path></symbol><symbol id="icon-yanzhengyanzhengma" viewBox="0 0 1024 1024"><path d="M943.1 172c-2.4-0.2-245.1-25.3-413.8-147.8-5.1-3.7-11-5.6-17.3-5.6-6.2 0-12.2 1.9-17.3 5.6C326.9 146 83.3 171.8 80.9 172c-15.2 1.4-26.6 14.1-26.6 29.3 0 6.7 0.6 165.8 54.8 344.4 32.1 105.8 76.4 196.4 131.9 269.2 70.3 92.3 158.5 156 262 189.2 2.9 0.9 5.9 1.4 9 1.4s6.1-0.5 8.9-1.4c103.6-33.2 191.7-96.8 262-189.2 55.4-72.7 99.8-163.2 131.9-269.2 54.1-178.6 54.8-337.7 54.8-344.4C969.7 186.1 958.3 173.5 943.1 172zM910.1 227.2l-0.1 1.6c-2.9 58.1-13.4 174.4-51.4 299.9-66.7 220.1-183.1 360.1-346 416.1L512 945l-0.6-0.2C349 888.9 232.7 749.4 165.8 530.1c-39.8-130.5-49.4-254.2-51.8-301.4l-0.1-1.6 1.5-0.2c70.6-10.3 250.5-44.8 395.5-142.4l0.9-0.7 1 0.7C658 182.1 837.9 216.6 908.5 227L910.1 227.2z" ></path><path d="M641.8 351 467 580.3l-89-76.1c-5.3-4.5-12.1-7-19.1-7-8.6 0-16.8 3.7-22.4 10.3-10.5 12.3-9.1 31 3.3 41.5l112.7 96.4c5.2 4.4 12.4 7 19.6 7 0.9 0 1.8 0 2.7-0.1 8-0.8 15.4-5 20.3-11.4l193.7-254c4.8-6.3 6.8-14 5.7-21.8-1-7.8-5.1-14.7-11.3-19.5C670.1 335.6 651.6 338.1 641.8 351z" ></path></symbol><symbol id="icon-verify" viewBox="0 0 1024 1024"><path d="M713.856 93.44c44.672 9.344 79.36 15.488 105.024 18.944a332.8 332.8 0 0 0 28.864 3.008A110.08 110.08 0 0 1 944 223.36v348.672c0 71.232-36.288 168.32-80.704 219.328a737.216 737.216 0 0 1-100.672 106.496C683.264 966.208 599.232 1008 512 1008s-171.328-41.792-250.624-110.144c-26.88-23.168-51.2-47.808-72.832-72.512a409.152 409.152 0 0 1-24.768-30.208c-47.68-52.928-83.776-150.4-83.776-223.104V223.36c0-54.72 42.752-102.528 99.264-108.096 5.76-0.32 17.536-1.408 34.432-3.648a953.6 953.6 0 0 0 95.168-17.92c19.392-4.608 34.944-12.16 65.92-30.4l9.984-5.888C434.048 28.416 466.432 16 512 16c39.296 0 68.288 11.84 127.488 43.968l2.304 1.28c38.784 21.056 55.296 28.672 72.064 32.192z m-19.712 93.952c-29.376-6.144-50.688-16-98.176-41.856l-2.304-1.216C549.312 120.32 529.088 112 512 112c-24.192 0-42.88 7.168-78.656 28.16-4.736 2.88-4.736 2.88-9.728 5.76-38.784 22.912-61.12 33.664-92.48 41.216-37.76 8.96-72.96 15.36-104.768 19.648a556.8 556.8 0 0 1-39.68 4.16c-5.12 0.512-10.688 6.784-10.688 12.416v348.672c0 49.344 27.52 123.84 62.08 162.56a642.176 642.176 0 0 0 85.952 90.56c63.552 54.72 128.192 86.848 187.968 86.848 59.776 0 124.416-32.128 187.968-86.848a642.176 642.176 0 0 0 88.32-93.632c31.808-36.608 59.712-111.36 59.712-159.488V223.36c0-5.44-5.888-12.032-6.656-12.288-20.288-0.448-66.112-6.72-147.2-23.68zM400.128 488.704L487.68 576.256l185.088-185.088a48 48 0 0 1 67.84 67.84L521.6 678.144a48 48 0 0 1-67.84 0l-121.6-121.536a48 48 0 1 1 67.968-67.84z" fill="#768893" ></path></symbol><symbol id="icon-preview" viewBox="0 0 1024 1024"><path d="M854.36155804 32.02835121a114.60838884 114.60838884 0 0 1 114.21544637 105.17775738l0.39294247 9.43063278v170.60277392a49.1178817 49.1178817 0 0 1-97.77732893 6.68003145l-0.45843311-6.68003145V146.63674137a16.37262679 16.37262679 0 0 0-12.63966726-15.9796843l-3.73295954-0.39294246H130.1675186a16.37262679 16.37262679 0 0 0-15.91419368 12.57417659l-0.45843312 3.79845017v732.18388095a16.37262679 16.37262679 0 0 0 12.63966859 15.91419369l3.73295821 0.4584331h275.4530781a49.1178817 49.1178817 0 0 1 6.68003143 97.77732894l-6.68003143 0.4584331H130.1675186a114.60838884 114.60838884 0 0 1-114.21544639-105.24324667l-0.39294246-9.36514216V146.63674137a114.60838884 114.60838884 0 0 1 105.24324669-114.28093698l9.36514216-0.32745318h724.19403944z m-286.32450218 495.1082417a235.76582919 235.76582919 0 0 1 358.88798459 303.35203402l80.61881587 80.55332523a39.29430509 39.29430509 0 0 1-55.53595059 55.66693187l-80.61881589-80.61881587a235.83131983 235.83131983 0 0 1-303.35203398-358.88798459z m277.87622625 55.60144257a157.17721902 157.17721902 0 1 0-222.27478502 222.2747837 157.17721902 157.17721902 0 0 0 222.27478502-222.2747837z m-450.70567639-33.26917864a42.56883017 42.56883017 0 1 1 0 85.13766035H210.39339064a42.56883017 42.56883017 0 1 1 0-85.13766035h184.81421508z m0-158.68350096a42.56883017 42.56883017 0 1 1 0 85.13766036H210.39339064a42.56883017 42.56883017 0 1 1 0-85.13766036h184.81421508z m233.67013285-158.68350095a42.56883017 42.56883017 0 1 1 0 85.13766036h-418.48434793a42.56883017 42.56883017 0 1 1 0-85.13766036h418.48434793z" fill="#7f7f7f" ></path></symbol><symbol id="icon-yunshangchuan-xian" viewBox="0 0 1039 1024"><path d="M711.40656 345.248C667.88656 248.448 594.91056 208 481.83856 208c-118.848 0-219.328 96.512-256.736 267.76l-4.96 22.752-23.2 2.256c-83.744 8.192-120.176 54.176-131.36 144.4C54.30256 736.528 103.18256 816 193.85456 816h190.672a32 32 0 1 1 0 64H193.83856C58.68656 880-13.44144 762.72 2.07856 637.296 15.61456 528 65.80656 458.416 167.75856 440.224 215.27856 254.704 335.99856 144 481.83856 144c143.072 0 241.184 58.72 294.24 189.808 3.328-0.176 6.576-0.272 9.76-0.272 125.184 0 223.68 93.696 239.84 252.768 0.896 8.96 1.36 17.952 1.36 26.96C1027.03856 760.576 907.61456 880 760.30256 880h-120.064a32 32 0 1 1 0-64h120.064c111.968 0 202.72-90.768 202.72-202.736 0-6.848-0.32-13.68-1.024-20.48-12.912-127.088-84.544-195.248-176.16-195.248-23.136 0-55.68 7.232-96.928 22.032a32 32 0 1 1-21.616-60.224c15.584-5.6 30.288-10.304 44.112-14.08zM544.23856 598.512V848a32 32 0 0 1-64 0V598.512l-39.712 46.32a32 32 0 1 1-48.592-41.664l95.632-111.552a32.032 32.032 0 0 1 49.344 0l95.616 111.552a32 32 0 0 1-48.592 41.664l-39.696-46.32z" ></path></symbol><symbol id="icon-yulan" viewBox="0 0 1024 1024"><path d="M897.28 85.333333h-750.933333c-28.16 0-51.2 23.04-51.2 51.2v750.933334c0 28.16 23.04 51.2 51.2 51.2h276.906666c18.773333 0 34.133333-15.36 34.133334-34.133334s-15.36-34.133333-34.133334-34.133333H163.413333V153.6h716.8v275.626667c0 18.773333 15.36 34.133333 34.133334 34.133333s34.133333-15.36 34.133333-34.133333V136.533333c0-28.16-22.613333-51.2-51.2-51.2z" fill="#4C4C4C" ></path><path d="M649.813333 315.733333h-324.266666c-18.773333 0-34.133333-15.36-34.133334-34.133333s15.36-34.133333 34.133334-34.133333h324.266666c18.773333 0 34.133333 15.36 34.133334 34.133333s-14.933333 34.133333-34.133334 34.133333zM564.48 452.266667h-238.933333c-18.773333 0-34.133333-15.36-34.133334-34.133334s15.36-34.133333 34.133334-34.133333h238.933333c18.773333 0 34.133333 15.36 34.133333 34.133333s-14.933333 34.133333-34.133333 34.133334zM479.146667 588.8h-153.6c-18.773333 0-34.133333-15.36-34.133334-34.133333s15.36-34.133333 34.133334-34.133334h153.6c18.773333 0 34.133333 15.36 34.133333 34.133334s-14.933333 34.133333-34.133333 34.133333zM724.48 544c-94.293333 0-170.666667 76.373333-170.666667 170.666667s76.373333 170.666667 170.666667 170.666666 170.666667-76.373333 170.666667-170.666666-76.373333-170.666667-170.666667-170.666667z m0 273.066667c-56.32 0-102.4-46.08-102.4-102.4s46.08-102.4 102.4-102.4 102.4 46.08 102.4 102.4-45.653333 102.4-102.4 102.4z" fill="#4C4C4C" ></path><path d="M938.666667 928.853333c-13.226667 13.226667-34.986667 13.226667-48.213334 0l-72.533333-72.533333c-13.226667-13.226667-13.226667-34.986667 0-48.213333 13.226667-13.226667 34.986667-13.226667 48.213333 0l72.533334 72.533333c13.226667 13.226667 13.226667 34.56 0 48.213333z" fill="#4C4C4C" ></path></symbol><symbol id="icon-sousuo" viewBox="0 0 1024 1024"><path d="M1004.8 915.2l-243.2-243.2c0 0-6.4-6.4-6.4-6.4C800 595.2 832 505.6 832 416 832 185.6 646.4 0 416 0S0 185.6 0 416 185.6 832 416 832c89.6 0 179.2-32 243.2-83.2 0 6.4 6.4 6.4 6.4 6.4l243.2 243.2c25.6 25.6 70.4 25.6 96 6.4C1030.4 979.2 1030.4 940.8 1004.8 915.2zM64 416C64 224 224 64 416 64S768 224 768 416 608 768 416 768 64 608 64 416z" fill="#231815" ></path></symbol><symbol id="icon-ziliucheng" viewBox="0 0 1024 1024"><path d="M212.992 526.336 212.992 526.336 212.992 526.336 215.04 526.336 212.992 526.336Z" ></path><path d="M813.056 768l96.256 0c20.48 0 38.912 16.384 38.912 38.912l0 96.256c0 20.48-16.384 38.912-38.912 38.912l-96.256 0c-20.48 0-38.912-16.384-38.912-38.912l0-38.912-18.432 0c-53.248 0-96.256-43.008-96.256-96.256L659.456 614.4l-96.256 0 0 192.512c0 20.48-16.384 38.912-38.912 38.912L120.832 845.824c-20.48 0-38.912-16.384-38.912-38.912L81.92 401.408c0-20.48 16.384-38.912 38.912-38.912l192.512 0L313.344 190.464 120.832 190.464C98.304 190.464 81.92 174.08 81.92 151.552L81.92 112.64c0-20.48 16.384-38.912 38.912-38.912l788.48 0c20.48 0 38.912 16.384 38.912 38.912l0 38.912c0 20.48-16.384 38.912-38.912 38.912L331.776 190.464l0 174.08 192.512 0c20.48 0 38.912 16.384 38.912 38.912L563.2 593.92l96.256 0 0-153.6c0-53.248 43.008-96.256 96.256-96.256l18.432 0 0-38.912c0-20.48 16.384-38.912 38.912-38.912l96.256 0c20.48 0 38.912 16.384 38.912 38.912l0 96.256c0 20.48-16.384 38.912-38.912 38.912l-96.256 0c-20.48 0-38.912-16.384-38.912-38.912l0-38.912-18.432 0c-43.008 0-77.824 34.816-77.824 77.824L677.888 593.92l96.256 0 0-38.912c0-20.48 16.384-38.912 38.912-38.912l96.256 0c20.48 0 38.912 16.384 38.912 38.912l0 96.256c0 20.48-16.384 38.912-38.912 38.912l-96.256 0c-20.48 0-38.912-16.384-38.912-38.912L774.144 614.4l-96.256 0 0 153.6c0 43.008 34.816 77.824 77.824 77.824l18.432 0 0-38.912C774.144 784.384 792.576 768 813.056 768z" ></path></symbol><symbol id="icon-danyuange" viewBox="0 0 1024 1024"><path d="M467.970999 661.248453h-184.831769a70.655912 70.655912 0 0 0-54.527932 25.599968A82.431897 82.431897 0 0 0 204.803328 744.19235v196.607754A82.687897 82.687897 0 0 0 228.611298 998.400032a71.423911 71.423911 0 0 0 54.527932 25.599968h184.831769a73.727908 73.727908 0 0 0 55.039931-25.599968 81.919898 81.919898 0 0 0 23.551971-58.623927v-195.583755a81.919898 81.919898 0 0 0-23.551971-58.367927 72.959909 72.959909 0 0 0-55.039931-25.599968z m5.887993-84.991893A118.015852 118.015852 0 0 0 512.002944 549.376593 127.99984 127.99984 0 0 0 545.538902 460.800704V126.465122A133.119834 133.119834 0 0 0 537.602912 76.801184a123.391846 123.391846 0 0 0-25.599968-40.447949 118.015852 118.015852 0 0 0-37.119954-25.599968A104.703869 104.703869 0 0 0 428.547048 0.00128H116.995438A105.471868 105.471868 0 0 0 71.683494 9.985268a121.087849 121.087849 0 0 0-37.119953 25.599968A127.99984 127.99984 0 0 0 9.219572 76.801184 133.119834 133.119834 0 0 0 0.003584 126.465122V460.800704a127.99984 127.99984 0 0 0 34.559957 88.31989 121.087849 121.087849 0 0 0 37.119953 27.135966 105.471868 105.471868 0 0 0 45.311944 9.983987h311.55161a106.239867 106.239867 0 0 0 45.311944-9.983987z m527.35934-329.215589a71.67991 71.67991 0 0 0-54.783931-25.599968h-184.575769a72.959909 72.959909 0 0 0-55.295931 25.599968 81.919898 81.919898 0 0 0-23.551971 58.367927v195.583756a83.199896 83.199896 0 0 0 23.551971 59.647925 73.983908 73.983908 0 0 0 55.295931 25.599968H947.2024a72.447909 72.447909 0 0 0 54.783932-25.599968 84.991894 84.991894 0 0 0 22.015972-59.647925v-195.583756a82.943896 82.943896 0 0 0-22.783972-58.367927zM947.2024 661.248453h-185.343768a72.959909 72.959909 0 0 0-55.295931 25.599968 81.919898 81.919898 0 0 0-23.551971 58.367927v196.607755A81.919898 81.919898 0 0 0 706.562701 998.400032a73.983908 73.983908 0 0 0 55.295931 25.599968H947.2024a72.447909 72.447909 0 0 0 54.783932-25.599968 83.455896 83.455896 0 0 0 22.015972-57.599928v-196.607754a83.199896 83.199896 0 0 0-22.783972-58.367927 71.67991 71.67991 0 0 0-54.783931-25.599968z m0 0" ></path></symbol><symbol id="icon-rengongzhineng_filledbeifen" viewBox="0 0 1024 1024"><path d="M913.678222 374.556444c0-175.431111-160.782222-317.653333-359.139555-317.653333a382.577778 382.577778 0 0 0-254.663111 93.767111 270.108444 270.108444 0 0 0-91.335112 118.840889 318.350222 318.350222 0 0 0-20.849777 98.773333c-0.597333 38.840889 18.389333 76.871111 1.664 114.688-11.633778 26.453333-41.870222 48.824889-61.312 69.916445 0 0-54.442667 36.224 49.436444 41.173333 2.929778 0.142222 16.071111 62.222222 19.342222 76.430222a16.753778 16.753778 0 0 0-3.271111 10.752c0 11.904 15.004444 21.617778 33.450667 21.617778h11.278222c-24.362667 3.313778-41.955556 12.8-41.955555 26.026667 0 9.102222 11.562667 21.105778 28.842666 28.302222 0 0-21.333333 66.744889 10.296889 81.962667a36.977778 36.977778 0 0 0 21.333333 1.564444c44.856889 2.446222 125.155556-0.739556 169.784889-0.739555 0-0.810667 23.466667 127.146667 23.466667 127.146666h403.299556c0 0.64-38.769778-289.265778-38.769778-289.265777 70.968889-101.632 95.544889-192.611556 96.881778-268.643556 1.422222-11.491556 2.161778-23.068444 2.176-34.659556h0.042666zM701.155556 320.711111a72.632889 72.632889 0 0 1-65.706667-42.055111l-54.471111 31.544889a108.344889 108.344889 0 0 1-7.509334 107.975111l102.172445 59.192889a36.508444 36.508444 0 1 1-10.894222 25.984 35.555556 35.555556 0 0 1 2.019555-10.026667L561.777778 432.512a109.511111 109.511111 0 1 1 10.168889-138.154667l57.728-33.422222a72.718222 72.718222 0 1 1 71.466666 59.733333v0.042667z" fill="#323233" ></path></symbol><symbol id="icon-fuhao-huizhi" viewBox="0 0 1024 1024"><path d="M254.4 82.624L82.624 254.4a60.704 60.704 0 0 0 0 85.92L254.4 512l128.8-128.8-42.88-42.88-85.92 85.888-42.88-42.88 85.888-85.92-42.88-42.88-85.92 85.888-42.88-42.88 171.776-171.84 171.584 171.616L512 254.4l-171.776-171.84a60.576 60.576 0 0 0-85.76 0z m644.096 644.064l-171.808 171.808-42.88-42.912 85.888-85.888-42.88-42.88-85.92 85.856-42.88-42.88 85.888-85.888-42.912-42.912L512 769.6l171.776 171.776a60.704 60.704 0 0 0 85.92 0l171.776-171.776a60.704 60.704 0 0 0 0-85.92L769.6 512l-42.912 42.88 171.808 171.808zM680.8 211.328l131.968 131.872-43.968 44L636.8 255.2l44-43.872zM240.96 650.976l131.968 131.872-44 44-131.968-131.872 44-44zM680.704 123.424a124.544 124.544 0 0 1 176.288 0.096l43.584 43.52a124.704 124.704 0 0 1 0.096 176.16L355.264 888.416l-268.352 48.384 48.384-268.288L680.704 123.424zM334.4 821.344L857.472 298.656c23.84-23.872 23.552-63.264-0.8-87.52L813.12 167.616c-24.544-24.544-63.552-24.832-87.584-0.8L202.432 689.6l-27.52 159.424 159.52-27.616z" fill="#0A8CF0" ></path></symbol><symbol id="icon-shanchu" viewBox="0 0 1024 1024"><path d="M799.2 874.4c0 34.4-28.001 62.4-62.4 62.4H287.2c-34.4 0-62.4-28-62.4-62.4V212h574.4v662.4zM349.6 100c0-7.2 5.6-12.8 12.8-12.8h300c7.2 0 12.8 5.6 12.8 12.8v37.6H349.6V100z m636.8 37.6H749.6V100c0-48.001-39.2-87.2-87.2-87.2h-300c-48 0-87.2 39.199-87.2 87.2v37.6H37.6C16.8 137.6 0 154.4 0 175.2s16.8 37.6 37.6 37.6h112v661.6c0 76 61.6 137.6 137.6 137.6h449.6c76 0 137.6-61.6 137.6-137.6V212h112c20.8 0 37.6-16.8 37.6-37.6s-16.8-36.8-37.6-36.8zM512 824c20.8 0 37.6-16.8 37.6-37.6v-400c0-20.8-16.8-37.6-37.6-37.6s-37.6 16.8-37.6 37.6v400c0 20.8 16.8 37.6 37.6 37.6m-175.2 0c20.8 0 37.6-16.8 37.6-37.6v-400c0-20.8-16.8-37.6-37.6-37.6s-37.6 16.8-37.6 37.6v400c0.8 20.8 17.6 37.6 37.6 37.6m350.4 0c20.8 0 37.6-16.8 37.6-37.6v-400c0-20.8-16.8-37.6-37.6-37.6s-37.6 16.8-37.6 37.6v400c0 20.8 16.8 37.6 37.6 37.6" fill="#8A8A8A" ></path></symbol><symbol id="icon-jurassic_import-form" viewBox="0 0 1024 1024"><path d="M764.9 64H225.4l1.4 224.2 64-0.4-1-159.8h383.6v224H896v544H289.8l1-159.8-64-0.4-1.4 224.2H960V277.7L764.9 64z m-27.6 64.7L882.8 288H737.3V128.7z" fill="#707070" ></path><path d="M356.5 224h255.9v64H356.5z" fill="#707070" ></path><path d="M576.4 416h255.9v64H576.4zM512.5 576h319.8v64H512.5zM384.5 736h447.8v64H384.5z" fill="#707070" ></path><path d="M336.9 349H198.6l98.9 98.9H64v128.2h233.5L198.6 675h138.3l162.9-163z" fill="#707070" ></path></symbol><symbol id="icon-kaoheweidufenxi" viewBox="0 0 1024 1024"><path d="M815.542857 212.943238l118.296381 68.266667v168.033524l-201.532952 116.345904-0.487619-163.352381-125.366857-72.46019 209.091047-116.833524z m-89.673143-51.736381L519.314286 279.454476 305.785905 156.233143 511.561143 37.449143l214.308571 123.757714zM294.619429 887.466667L89.234286 768.877714V546.133333l205.677714 118.00381-0.292571 223.329524z m85.333333 49.249523l-0.097524-223.914666 133.607619 76.653714 132.632381-76.604952-1.024 222.744381-133.558857 77.043809-131.510857-75.922286zM434.468571 328.021333L295.253333 407.747048l-0.195047 156.672L89.234286 444.318476V281.258667l132.047238-76.263619 213.089524 123.026285z m86.113524 49.737143l126.780953 73.191619-0.780191 164.08381-133.12 76.897524-133.656381-78.019048-0.097524-157.403429 140.921905-78.750476z m413.257143 169.008762v222.110476l-200.655238 115.809524-0.633905-221.769143 201.289143-116.150857z" fill="#82529d" ></path></symbol><symbol id="icon-wenjianjia" viewBox="0 0 1024 1024"><path d="M855.04 385.024q19.456 2.048 38.912 10.24t33.792 23.04 21.504 37.376 2.048 54.272q-2.048 8.192-8.192 40.448t-14.336 74.24-18.432 86.528-19.456 76.288q-5.12 18.432-14.848 37.888t-25.088 35.328-36.864 26.112-51.2 10.24l-567.296 0q-21.504 0-44.544-9.216t-42.496-26.112-31.744-40.96-12.288-53.76l0-439.296q0-62.464 33.792-97.792t95.232-35.328l503.808 0q22.528 0 46.592 8.704t43.52 24.064 31.744 35.84 12.288 44.032l0 11.264-53.248 0q-40.96 0-95.744-0.512t-116.736-0.512-115.712-0.512-92.672-0.512l-47.104 0q-26.624 0-41.472 16.896t-23.04 44.544q-8.192 29.696-18.432 62.976t-18.432 61.952q-10.24 33.792-20.48 65.536-2.048 8.192-2.048 13.312 0 17.408 11.776 29.184t29.184 11.776q31.744 0 43.008-39.936l54.272-198.656q133.12 1.024 243.712 1.024l286.72 0z" ></path></symbol><symbol id="icon-biaoqian" viewBox="0 0 1024 1024"><path d="M934.912 516.096q23.552 26.624 19.456 49.664t-26.624 46.592l-324.608 327.68q-8.192 7.168-19.456 11.264t-23.04 4.608-23.04-2.56-18.432-10.24q-121.856-122.88-218.112-220.16l-80.896-80.896q-39.936-39.936-71.168-71.68t-51.2-51.2-20.992-21.504q-3.072-4.096-10.752-14.848t-6.656-25.088l0-19.456 0-40.96q0-23.552 0.512-52.736t0.512-58.88q1.024-70.656 2.048-156.672 2.048-13.312 6.144-24.064t15.36-22.016q10.24-11.264 22.016-16.384t22.016-5.12l329.728 0q2.048 0 9.216 0.512t10.24 1.536q6.144 2.048 11.264 5.12t10.24 8.192zM217.088 317.44q40.96 0 69.12-28.672t28.16-69.632-28.16-69.632-69.12-28.672q-20.48 0-37.888 7.68t-30.72 20.992-20.992 31.232-7.68 38.4 7.68 38.4 20.992 31.232 30.72 20.992 37.888 7.68z" fill="#ea9518" ></path></symbol><symbol id="icon-wenben" viewBox="0 0 1024 1024"><path d="M823.296 60.416q65.536 0 99.328 38.4t33.792 93.696l0 543.744q0 25.6-21.504 46.08l-171.008 163.84q-13.312 11.264-22.528 14.336t-23.552 3.072l-459.776 0q-23.552 0-47.104-9.728t-41.984-27.648-30.208-43.008-11.776-55.808l0-634.88q0-60.416 33.28-96.256t94.72-35.84l568.32 0zM608.256 702.464q13.312 0 22.528-9.216t9.216-22.528q0-14.336-9.216-23.04t-22.528-8.704l-320.512 0q-13.312 0-22.528 8.704t-9.216 23.04q0 13.312 9.216 22.528t22.528 9.216l320.512 0zM736.256 509.952q13.312 0 22.528-9.216t9.216-22.528-9.216-22.528-22.528-9.216l-448.512 0q-13.312 0-22.528 9.216t-9.216 22.528 9.216 22.528 22.528 9.216l448.512 0zM799.744 318.464q13.312 0 22.528-9.216t9.216-23.552q0-13.312-9.216-22.528t-22.528-9.216l-512 0q-13.312 0-22.528 9.216t-9.216 22.528q0 14.336 9.216 23.552t22.528 9.216l512 0z" fill="#db639b" ></path></symbol><symbol id="icon-yingyong" viewBox="0 0 1026 1024"><path d="M371.732817 94.172314q25.773475 0 44.112294 17.843175t18.338819 43.616651l0 247.821878q0 25.773475-18.338819 44.112294t-44.112294 18.338819l-247.821878 0q-25.773475 0-43.616651-18.338819t-17.843175-44.112294l0-247.821878q0-25.773475 17.843175-43.616651t43.616651-17.843175l247.821878 0zM371.732817 589.81607q25.773475 0 44.112294 17.843175t18.338819 43.616651l0 248.813166q0 25.773475-18.338819 43.616651t-44.112294 17.843175l-247.821878 0q-25.773475 0-43.616651-17.843175t-17.843175-43.616651l0-248.813166q0-25.773475 17.843175-43.616651t43.616651-17.843175l247.821878 0zM868.367861 589.81607q25.773475 0 43.616651 17.843175t17.843175 43.616651l0 248.813166q0 25.773475-17.843175 43.616651t-43.616651 17.843175l-247.821878 0q-25.773475 0-44.112294-17.843175t-18.338819-43.616651l0-248.813166q0-25.773475 18.338819-43.616651t44.112294-17.843175l247.821878 0zM1006.156825 203.21394q19.82575 19.82575 19.82575 46.590513t-19.82575 45.599226l-184.379477 184.379477q-19.82575 19.82575-46.094869 19.82575t-46.094869-19.82575l-184.379477-184.379477q-18.834463-18.834463-18.834463-45.599226t18.834463-46.590513l184.379477-184.379477q19.82575-18.834463 46.094869-18.834463t46.094869 18.834463z" fill="#0061b2" ></path></symbol><symbol id="icon-wenjianjia-copy" viewBox="0 0 1024 1024"><path d="M855.04 385.024q19.456 2.048 38.912 10.24t33.792 23.04 21.504 37.376 2.048 54.272q-2.048 8.192-8.192 40.448t-14.336 74.24-18.432 86.528-19.456 76.288q-5.12 18.432-14.848 37.888t-25.088 35.328-36.864 26.112-51.2 10.24l-567.296 0q-21.504 0-44.544-9.216t-42.496-26.112-31.744-40.96-12.288-53.76l0-439.296q0-62.464 33.792-97.792t95.232-35.328l503.808 0q22.528 0 46.592 8.704t43.52 24.064 31.744 35.84 12.288 44.032l0 11.264-53.248 0q-40.96 0-95.744-0.512t-116.736-0.512-115.712-0.512-92.672-0.512l-47.104 0q-26.624 0-41.472 16.896t-23.04 44.544q-8.192 29.696-18.432 62.976t-18.432 61.952q-10.24 33.792-20.48 65.536-2.048 8.192-2.048 13.312 0 17.408 11.776 29.184t29.184 11.776q31.744 0 43.008-39.936l54.272-198.656q133.12 1.024 243.712 1.024l286.72 0z" ></path></symbol></svg>',(x=>{var s=(h=(h=document.getElementsByTagName("script"))[h.length-1]).getAttribute("data-injectcss"),h=h.getAttribute("data-disable-injectsvg");if(!h){var p,t,z,M,T,O=function(B,d){d.parentNode.insertBefore(B,d)};if(s&&!x.__iconfont__svg__cssinject__){x.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(B){console&&console.log(B)}}p=function(){var B,d=document.createElement("div");d.innerHTML=x._iconfont_svg_string_4827314,(d=d.getElementsByTagName("svg")[0])&&(d.setAttribute("aria-hidden","true"),d.style.position="absolute",d.style.width=0,d.style.height=0,d.style.overflow="hidden",d=d,(B=document.body).firstChild?O(d,B.firstChild):B.appendChild(d))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(p,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),p()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(z=p,M=x.document,T=!1,V(),M.onreadystatechange=function(){M.readyState=="complete"&&(M.onreadystatechange=null,R())})}function R(){T||(T=!0,z())}function V(){try{M.documentElement.doScroll("left")}catch{return void setTimeout(V,50)}R()}})(window);const Q={columnName:"OCR图片",acceptTypes:"image/*",maxSize:10,maxFiles:20,apiUrl:"http://localhost:20013/api/public/paddleOCR"};class x3{constructor(s){s3(this,"config");this.config={...Q,...s}}updateConfig(s){this.config={...this.config,...s}}getConfig(){return{...this.config}}validateFileSize(s){const h=this.config.maxSize*1024*1024;return s.size<=h}validateFileType(s){return s.type.startsWith("image/")}getAuthorizationToken(){const s=k.Local.get(k.accessTokenKey);return s?`Bearer ${s}`:""}buildOCRRequest(s,h){return{title:h,form:{OCR图片文件:s}}}async recognize(s,h){const p=this.getAuthorizationToken(),t=this.buildOCRRequest(s,h),z=this.config.apiUrl||Q.apiUrl;return(await k.axios.post(z,t,{headers:{"Content-Type":"application/json",Authorization:p}})).data}extractTableHeaders(s){var h;return((h=s==null?void 0:s.filter(p=>(p==null?void 0:p.label)&&(p==null?void 0:p.label)!=="操作"&&(p==null?void 0:p.label)!==this.config.columnName))==null?void 0:h.map(p=>p==null?void 0:p.label))||[]}}function n3(x){return new x3(x)}n3();function g3(x={}){const s={...Q,...x};return{label:s.columnName,prop:s.columnName,width:100,align:"center",sortable:!1,filterable:!1,showOverflowTooltip:!1,isNotDrag:!1,type:void 0}}function H3(x,s={}){const h=g3(s),p=[...x],t=p.findIndex(z=>(z==null?void 0:z.type)==="operate"||(z==null?void 0:z.label)==="操作");return t!==-1?p.splice(t,0,h):p.push(h),p}const L3={default:x=>{console.log("OCR识别功能待实现",x)}};function V3(x="default",s){const h=L3[x];typeof h=="function"&&h(s)}exports.addOCRColumnToTable=H3;exports.createOCRService=n3;exports.executeOCRHandler=V3;exports.useModelLoader=w3;