diff --git a/dist/css/65.8d396662.css b/dist/css/492.8d396662.css similarity index 100% rename from dist/css/65.8d396662.css rename to dist/css/492.8d396662.css diff --git a/dist/index.html b/dist/index.html index 0ea9f1a3..fb013c3f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -AiDA
\ No newline at end of file +AiDA
\ No newline at end of file diff --git a/dist/js/65.f19eb5f0.js b/dist/js/492.977ba8ca.js similarity index 62% rename from dist/js/65.f19eb5f0.js rename to dist/js/492.977ba8ca.js index cad4cab6..82da54aa 100644 --- a/dist/js/65.f19eb5f0.js +++ b/dist/js/492.977ba8ca.js @@ -1,3 +1,3 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[65],{3983:function(e,t,o){o.r(t),o.d(t,{default:function(){return bp}});var n=o(6252),i=o(3577),l=o(9963),a=o.p+"img/null_img.cdd90213.png";const r={class:"library_page"},s={class:"page_content"},c={class:"page_content_body"},u={class:"library_page_body"},d={class:"library_body_left"},p=["onClick"],m={class:"menu_item_left"},h=["onClick"],f={class:"library_body_right"},v={class:"library_right_header"},g={class:"library_header_left"},b={class:"librart_headr_right"},y={class:"select_block"},w=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),S=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),_={class:"libray_right_content"},k={class:"right_content_body"},x={class:"content_body_header"},C={class:"content_body_header_left"},O={class:"content_body_header_right"},L={class:"content_search_block"},P=["placeholder"],U={class:"search_cascader"},j=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),I=[j],F={class:"check_block"},T={class:"check_block_body"},M={class:"content_body_table scroll_style"},E=["onClick"],N={class:"img_item_hover"},D={class:"img_operate_content"},H=["onClick"],R=(0,n._)("span",{class:"icon iconfont icon-tianxie operate_icon"},null,-1),B=[R],z=["onClick"],$=(0,n._)("span",{class:"icon iconfont icon-biaoqian operate_icon"},null,-1),A=[$],V=["onClick"],Z=(0,n._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1),Y=[Z],W={class:"content_img_name"},q={class:"no_data_block"},K=(0,n._)("img",{src:a},null,-1),G=[K],J={class:"table_pagination"},X={class:"right_content_body"},Q={class:"content_body_header content_body_header_generate"},ee={class:"content_body_header_right"},te={class:"checkboxItem"},oe={class:"checkboxItem"},ne={class:"checkboxItem"},ie=["maxlength","readonly","placeholder"],le={class:"printModel"},ae={class:"upload_item"},re={class:"upload_file_item_content"},se=["onClick"],ce=["src"],ue=["onClick"],de=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),pe=[de],me={class:"upload_component upload_file_item"},he=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-br-upload"})],-1),fe={class:"content_body_table scroll_style"},ve={class:"img_item_hover"},ge={class:"img_operate_content"},be={class:"img_operate_block"},ye=["onClick"],we=["onClick"],Se=(0,n._)("div",{class:"content_img_name"},null,-1),_e={class:"no_data_block"},ke=(0,n._)("img",{src:a},null,-1),xe=[ke],Ce={class:"table_pagination"},Oe={class:"collection_rename_content"},Le={class:"rename_form_content"},Pe=["placeholder"],Ue={class:"rename_button_list"},je={class:"mark_loading"};function Ie(e,t,o,a,j,R){const $=(0,n.up)("HeaderComponent"),Z=(0,n.up)("a-upload"),K=(0,n.up)("a-select"),de=(0,n.up)("el-cascader"),ke=(0,n.up)("a-pagination"),Ie=(0,n.up)("a-spin"),Fe=(0,n.up)("a-modal"),Te=(0,n.up)("ModelPlacement"),Me=(0,n.up)("ModelPlacementMobile"),Ee=(0,n.up)("setLabel"),Ne=(0,n.up)("RobotAssist"),De=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",r,[(0,n._)("div",s,[(0,n._)("div",c,[(0,n.Wm)($),(0,n._)("div",u,[(0,n._)("div",d,[(0,n._)("div",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.menuList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"library_menu_list",key:t.title},[(0,n._)("div",{class:(0,i.C_)(["menu_item",e.selectCode==t.code?"select_menu_item":""]),onClick:n=>e.selectMenuItem(t,o)},[(0,n._)("div",m,[(0,n._)("i",{class:(0,i.C_)([t.icon])},null,2),(0,n._)("div",null,(0,i.zw)(t.title),1)]),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["icon","iconfont","icon-xiala",t.showChildren?"icon_rotate":""])},null,2),[[l.F8,t.children.length]])],10,p),(0,n.wy)((0,n._)("div",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.children,(t=>((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["menu_item","child_menu_item",e.selectCode==t.code?"select_menu_item":""]),key:t.title,onClick:n=>e.selectMenuItem(t,o)},(0,i.zw)(t.title),11,h)))),128))],512),[[l.F8,t.showChildren&&t.children.length]])])))),128))])]),(0,n._)("div",f,[(0,n._)("div",v,[(0,n._)("div",g,[(0,n._)("div",{class:(0,i.C_)(["header_operate_item pointer",{operate_select:"Upload"==e.uploadGenerate}]),onClick:t[0]||(t[0]=t=>e.uploadGenerateOpen("Upload"))},[(0,n.wy)((0,n.Wm)(Z,{"before-upload":e.beforeUpload,customRequest:e.customRequest,multiple:"Models"!=e.selectCode,maxCount:15,accept:".jpg,.png,.jpeg,.bmp",onChange:e.fileUploadChange},{default:(0,n.w5)((()=>[(0,n._)("div",null,(0,i.zw)(e.$t("LibraryPage.Upload")),1)])),_:1},8,["before-upload","customRequest","multiple","onChange"]),[[l.F8,"Upload"==e.uploadGenerate]]),(0,n.wy)((0,n._)("div",null,(0,i.zw)(e.$t("LibraryPage.Upload")),513),[[l.F8,"Upload"!=e.uploadGenerate]])],2),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["header_operate_item pointer",{operate_select:"Generate"==e.uploadGenerate}]),onClick:t[1]||(t[1]=t=>e.uploadGenerateOpen("Generate"))},(0,i.zw)(e.$t("LibraryPage.Generate")),3),[[l.F8,"Models"!=e.selectCode]])]),(0,n._)("div",b,[(0,n.wy)((0,n._)("div",y,[(0,n.Wm)(K,{ref:"select",value:e.sex,"onUpdate:value":t[2]||(t[2]=t=>e.sex=t),options:e.sexList,onChange:e.sexChange},{suffixIcon:(0,n.w5)((()=>[w])),_:1},8,["value","options","onChange"]),(0,n.Wm)(K,{ref:"select",value:e.designType,"onUpdate:value":t[3]||(t[3]=t=>e.designType=t),options:e.disignTypeList,onChange:e.handleChange},{suffixIcon:(0,n.w5)((()=>[S])),_:1},8,["value","options","onChange"])],512),[[l.F8,"Sketchboard"==e.selectCode||"MarketingSketch"==e.selectCode]])])]),(0,n._)("div",_,[(0,n.wy)((0,n._)("div",k,[(0,n._)("div",x,[(0,n._)("div",C,[(0,n._)("div",O,[(0,n._)("div",{class:(0,i.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[4]||(t[4]=t=>e.deleteBatchPic())},(0,i.zw)(e.$t("LibraryPage.Delete")),3),(0,n._)("div",{class:(0,i.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[5]||(t[5]=t=>e.showRenameModal("","batch"))},(0,i.zw)(e.$t("LibraryPage.Rename")),3)]),(0,n._)("div",L,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:e.$t("LibraryPage.inputContent1"),"onUpdate:modelValue":t[6]||(t[6]=t=>e.searchPictureName=t),onKeydown:t[7]||(t[7]=(0,l.D2)((t=>e.getLibraryList()),["enter"]))},null,40,P),[[l.nr,e.searchPictureName]]),(0,n._)("div",U,[(0,n.Wm)(de,{options:e.options,filterable:!0,modelValue:e.value.labelValue,"onUpdate:modelValue":t[8]||(t[8]=t=>e.value.labelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,"max-collapse-tags":3,props:e.props,"collapse-tags-tooltip":!0,ref:"cascader","popper-class":"libraryPageCascader",onVisibleChange:e.dropdownVisibleChange},null,8,["options","modelValue","props","onVisibleChange"])]),(0,n._)("div",{class:"generage_btn search_icon_block",onClick:t[9]||(t[9]=t=>e.getLibraryList())},I)])]),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["check_all_block",e.selectImgList.length==e.imgList.length?"check_all":""]),onClick:t[10]||(t[10]=t=>e.selectAllImg())},[(0,n._)("div",F,[(0,n.wy)((0,n._)("div",T,null,512),[[l.F8,e.selectImgList.length==e.imgList.length&&e.imgList.length]])]),(0,n._)("div",null,(0,i.zw)(e.$t("LibraryPage.all")),1)],2),[[l.F8,e.imgList.length]])]),(0,n._)("div",M,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.imgList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_item",key:t.id,onClick:o=>e.selectImgItem(t),draggable:!0},[(0,n._)("div",{class:(0,i.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{key:t.url,class:(0,i.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[De,t.url]]),(0,n._)("div",N,[(0,n._)("div",D,[(0,n.wy)((0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.editPlacementClick(t)),["stop"])},B,8,H),[[l.F8,"Models"===e.selectCode]]),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.showRenameModal(t,"single")),["stop"])},A,8,z),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((n=>e.deleteSinglePic(t,o)),["stop"])},Y,8,V)])])],2),(0,n._)("div",W,(0,i.zw)(t.name),1)],8,E)))),128)),(0,n.wy)((0,n._)("div",q,G,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",J,[(0,n.Wm)(ke,{current:e.currentPage,"onUpdate:current":t[11]||(t[11]=t=>e.currentPage=t),pageSize:e.pageSize,"onUpdate:pageSize":t[12]||(t[12]=t=>e.pageSize=t),total:e.total,showQuickJumper:!0,showSizeChanger:!1,onChange:e.changePage},null,8,["current","pageSize","total","onChange"])],512),[[l.F8,e.imgList.length]])],512),[[l.F8,"Upload"==e.uploadGenerate]]),(0,n.wy)((0,n._)("div",X,[(0,n._)("div",Q,[(0,n._)("div",ee,[(0,n._)("div",te,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=t=>e.checkbox[0].type=t),onClick:t[14]||(t[14]=t=>e.setKeyword(0))},null,512),[[l.e8,e.checkbox[0].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.ImageOnly")),1)])]),(0,n._)("div",oe,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=t=>e.checkbox[1].type=t),onClick:t[16]||(t[16]=t=>e.setKeyword(1))},null,512),[[l.e8,e.checkbox[1].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.TextOnly")),1)])]),(0,n._)("div",ne,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[17]||(t[17]=t=>e.checkbox[2].type=t),onClick:t[18]||(t[18]=t=>e.setKeyword(2))},null,512),[[l.e8,e.checkbox[2].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.TextImage")),1)])])]),(0,n._)("div",{class:(0,i.C_)(["input_box",{active:e.inputShow}])},[(0,n.wy)((0,n._)("input",{class:(0,i.C_)(["search_input",{active:e.checkbox[0].type}]),onInput:t[19]||(t[19]=(...t)=>e.ifMaximumLength&&e.ifMaximumLength(...t)),maxlength:e.inputShow?0:9999,onKeydown:t[20]||(t[20]=(0,l.D2)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["enter"])),readonly:e.checkbox[0].type,placeholder:e.$t("LibraryPage.inputContent2"),"onUpdate:modelValue":t[21]||(t[21]=t=>e.captionGeneration=t)},null,42,ie),[[l.nr,e.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:t[22]||(t[22]=(0,l.iM)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["stop"]))},(0,i.zw)(e.$t("LibraryPage.Generate")),1),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.maximumLength")),1)],2),(0,n.wy)((0,n._)("div",le,[(0,n._)("div",{onClick:t[23]||(t[23]=(0,l.iM)(((...t)=>e.PrintModel&&e.PrintModel(...t)),["stop"]))},(0,i.zw)(e.printModel.name),1),(0,n.wy)((0,n._)("ul",null,[(0,n._)("li",{class:"printModel_item",onClick:t[24]||(t[24]=t=>e.setprintModel(1))},(0,i.zw)(e.$t("LibraryPage.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:t[25]||(t[25]=t=>e.setprintModel(2))},(0,i.zw)(e.$t("LibraryPage.Model2")),1)],512),[[l.F8,e.printModel.optype]])],512),[[l.F8,"Printboard"==e.selectCode]]),(0,n._)("div",ae,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.selectGenerateList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["upload_file_item",[t?.checked?"active":""]]),key:t},[(0,n.wy)((0,n._)("div",re,[(0,n.Wm)(Ie,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[l.F8,"uploading"===t?.status]]),(0,n.wy)((0,n._)("div",{class:"upload_file_item_content",onClick:(0,l.iM)((o=>e.setSketchboardItem(t)),["stop"])},[(0,n._)("img",{src:t?.imgUrl,class:"upload_img"},null,8,ce),(0,n._)("div",{class:"delete_file_block rightTop",onClick:t=>e.deleteFile(o)},pe,8,ue)],8,se),[[l.F8,"done"===t?.status]])],2)))),128)),(0,n.wy)((0,n._)("div",me,[(0,n.Wm)(Z,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":e.beforeUpload,disabled:e.checkbox[1].type,data:{...e.upload},headers:{Authorization:e.token},"file-list":e.selectGenerateList,"onUpdate:file-list":t[26]||(t[26]=t=>e.selectGenerateList=t),multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:e.generateFileUploadChange},{default:(0,n.w5)((()=>[he])),_:1},8,["action","before-upload","disabled","data","headers","file-list","onChange"])],512),[[l.F8,e.selectGenerateList.length<=3]])])]),(0,n._)("div",fe,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.generateList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_item",key:t.id},[(0,n._)("div",{class:(0,i.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{key:t.imgUrl,class:(0,i.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[De,t.imgUrl]]),(0,n._)("div",ve,[(0,n._)("div",ge,[(0,n._)("div",be,[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"noLike")),["stop"])},null,8,we)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"like")),["stop"])},null,8,ye))])])])],2),Se])))),128)),(0,n.wy)((0,n._)("div",_e,xe,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",Ce,null,512),[[l.F8,e.generateList.length]])],512),[[l.F8,"Upload"!=e.uploadGenerate]])])])])])]),(0,n.Wm)(Fe,{class:"library_rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[32]||(t[32]=t=>e.renameVisivle=t),footer:null,title:"Rename Pic",width:"65%",maskClosable:!1,centered:!0,onOnCancel:e.closeRenameModal},{default:(0,n.w5)((()=>[(0,n._)("div",Oe,[(0,n._)("div",Le,[(0,n.wy)((0,n._)("input",{class:"rename_form_input",placeholder:e.$t("LibraryPage.inputContent3"),"onUpdate:modelValue":t[27]||(t[27]=t=>e.newPicName=t),onKeydown:t[28]||(t[28]=(0,l.D2)((t=>e.confrimRename()),["enter"]))},null,40,Pe),[[l.nr,e.newPicName]])]),(0,n.Wm)(de,{options:e.options,filterable:!0,modelValue:e.value.editLabelValue,"onUpdate:modelValue":t[29]||(t[29]=t=>e.value.editLabelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,"max-collapse-tags":6,props:e.props,"collapse-tags-tooltip":!0},null,8,["options","modelValue","props"]),(0,n._)("div",Ue,[(0,n._)("div",{class:"rename_button_item rename_cancel_button",onClick:t[30]||(t[30]=t=>e.closeRenameModal())},(0,i.zw)(e.$t("LibraryPage.Cancel")),1),(0,n._)("div",{class:"rename_button_item rename_submit_button",onClick:t[31]||(t[31]=t=>e.confrimRename())},(0,i.zw)(e.$t("LibraryPage.Sure")),1)])])])),_:1},8,["visible","onOnCancel"]),(0,n.Wm)(Te,{ref:"ModelPlacement",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,n.Wm)(Me,{ref:"ModelPlacementMobile"},null,512),(0,n.Wm)(Ee,{ref:"setLabel"},null,512),(0,n.wy)((0,n._)("div",je,[(0,n.Wm)(Ie,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n.Wm)(Ne)])}var Fe=o(320),Te=o(2262),Me=o(8557);const Ee=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),Ne=[Ee],De={class:"models_placement_body"},He={class:"palcement_modal_header"},Re={class:"models_placement_title"},Be={class:"placement_operate_list"},ze=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),$e={class:"operate_item_des"},Ae=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),Ve={class:"operate_item_des"},Ze=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),Ye={class:"operate_item_des"},We=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),qe={class:"operate_item_des"},Ke={key:0,class:"plcaement_point_content"},Ge={style:{display:"flex","align-items":"center"}},Je={style:{display:"flex","align-items":"center"}},Xe={style:{display:"flex","align-items":"center"}},Qe={class:"models_placement_content"},et={class:"plcaement_point_content"},tt={class:"select_block"},ot=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),nt={class:"ponit_title"},it={class:"point_list"},lt=["onMousedown"],at={class:"placement_point_item placement_point_item_btn"},rt={class:"placement_content_operate_list"},st=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),ct={class:"placement_content_operate_des"},ut={class:"placement_tip_content"},dt={class:"img_preview_block"},pt={class:"perview_mark_loading"},mt={class:"img_content_block",ref:"imgbox"},ht=["onMousedown"],ft={class:"icon iconfont icon-guanbi"};function vt(e,t,o,a,r,s){const c=(0,n.up)("a-select"),u=(0,n.up)("a-spin"),d=(0,n.up)("vue-cropper"),p=(0,n.up)("a-modal");return(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(p,{class:"models_placement_component",visible:e.placementShow,"onUpdate:visible":t[11]||(t[11]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,centered:!0},{closeIcon:(0,n.w5)((()=>[(0,n._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},Ne)])),default:(0,n.w5)((()=>[(0,n._)("div",De,[(0,n._)("div",He,[(0,n._)("div",Re,(0,i.zw)(e.$t("ModelPlacement.Registration")),1),(0,n._)("div",Be,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[ze,(0,n._)("div",$e,(0,i.zw)(e.$t("ModelPlacement.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[Ae,(0,n._)("div",Ve,(0,i.zw)(e.$t("ModelPlacement.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[Ze,(0,n._)("div",Ye,(0,i.zw)(e.$t("ModelPlacement.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,n._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[We,(0,n._)("div",qe,(0,i.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,n.wg)(),(0,n.iD)("div",Ke,[(0,n._)("div",Ge,[(0,n._)("div",Je,[(0,n._)("input",{type:"checkbox",model:"false",onClick:t[5]||(t[5]=()=>{e.modelType="System"})}),(0,n.Uk)(" "+(0,i.zw)(e.$t("ModelPlacement.System")),1)]),(0,n._)("div",Xe,[(0,n._)("input",{type:"checkbox",model:"false",onClick:t[6]||(t[6]=()=>{e.modelType="Library"})}),(0,n.Uk)(" "+(0,i.zw)(e.$t("ModelPlacement.Library")),1)])])])):(0,n.kq)("",!0),(0,n._)("div",Qe,[(0,n._)("div",et,[(0,n._)("div",tt,[(0,n.Wm)(c,{ref:"select",value:e.sex,"onUpdate:value":t[7]||(t[7]=t=>e.sex=t),options:e.sexList},{suffixIcon:(0,n.w5)((()=>[ot])),_:1},8,["value","options"])]),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.pointList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"placement_point_item",key:o},[(0,n._)("div",nt,(0,i.zw)(t.title),1),(0,n._)("div",it,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.pointList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"point_item",key:t.color,style:(0,i.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onMousedown:o=>e.AddDian(t)},[(0,n._)("div",{class:"point_block",style:(0,i.j5)({background:t.color})},null,4)],44,lt)))),128))])])))),128)),(0,n._)("div",at,[(0,n._)("span",{class:"started_btn",onClick:t[8]||(t[8]=(...t)=>e.setPoint&&e.setPoint(...t))},(0,i.zw)(e.$t("ModelPlacement.Point")),1)])]),(0,n._)("div",rt,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[9]||(t[9]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[st,(0,n._)("div",ct,(0,i.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,n._)("div",ut,(0,i.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,n._)("div",dt,[(0,n.wy)((0,n._)("div",pt,[(0,n.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",mt,[(0,n._)("div",{style:(0,i.j5)({width:e.imgBox.width+"px",height:e.imgBox.height+"px",top:e.imgBox.y+"px",left:e.imgBox.x+"px",position:"absolute"})},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.locationList,((o,a)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,i.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onMousedown:t=>e.getMouseDown(t,o,a),onMousemove:t[10]||(t[10]=t=>e.startMove(t))},[(0,n.wy)((0,n._)("div",{class:"placement_add_point_content",style:(0,i.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,n.wy)((0,n._)("div",ft,null,512),[[l.F8,e.isRemoveStatus]])],46,ht)),[[l.F8,!e.perviewUrl]]))),128))],4),(0,n.Wm)(d,{ref:"cropper",img:e.option.img,outputSize:e.option.outputSize,outputType:e.option.outputType,info:e.option.info,canScale:e.option.canScale,autoCrop:e.option.autoCrop,fixed:e.option.fixed,fixedNumber:e.option.fixedNumber,full:e.option.full,fixedBox:e.option.fixedBox,canMove:e.option.canMove,canMoveBox:e.option.canMoveBox,original:e.option.original,centerBox:e.option.centerBox,height:e.option.height,infoTrue:e.option.infoTrue,limitMinSize:e.option.limitMinSize,enlarge:e.option.enlarge,onRealTime:e.realTime,autoCropArea:1,autoCropHeight:e.option.autoCropHeight,autoCropWidth:e.option.autoCropWidth,mode:e.option.mode},null,8,["img","outputSize","outputType","info","canScale","autoCrop","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","limitMinSize","enlarge","onRealTime","autoCropHeight","autoCropWidth","mode"])],512)])])])])),_:1},8,["visible"])],512)),[[l.F8,e.placementShow]])}var gt=o(6214),bt=o(7332),yt=o(2339),wt=o(2323),St=o(3907),_t=o(327),kt=o(8302),xt=o(8552),Ct=(0,n.aZ)({components:{VueCropper:wt.AK},setup(){const e=(0,St.oR)();let t=(0,Te.iH)([]),o=(0,Te.iH)([]),n=(0,Te.iH)({}),i=(0,Te.iH)({}),l=(0,Te.iH)(null),a=(0,Te.iH)({}),r=(0,Te.iH)([]),s=(0,Te.iH)([]),c=(0,Te.iH)(!1),u=(0,Te.iH)(!1),d=(0,Te.iH)(),p=(0,Te.iH)(),{t:m}=(0,xt.QT)();return{store:e,oldLocationList:t,locationList:o,printObject:n,imgBox:i,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d,cropperTime:p,t:m}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library",sex:"Male",sexList:[],option:{img:"",outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:"0",autoCropHeight:"0",fixed:!0,fixedBox:!0,fixedNumber:[1,2.125],full:!1,canMove:!0,canMoveBox:!1,original:!1,centerBox:!1,height:!0,infoTrue:!0,maxImgSize:"2000",enlarge:7,mode:"auto 90%",limitMinSize:"100%"}}},mounted(){let e=(0,yt.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex()},watch:{sex:{handler(e,t){}}},methods:{formatter(e){return`${e}%`},showPlacementModal(e){this.placementShow=!0,this.printObject={...e},this.option.img=this.printObject.url,setTimeout((()=>{(0,n.Y3)().then((()=>{let e=new Image;e.src=this.option.img;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],n=t.getElementsByClassName("cropper-view-box")[0],i=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div");t.getElementsByClassName("cropper-view-box-Bg").length>=1||(i.classList.add("cropper-view-box-Bg"),l.classList.add("cropper-view-box-Bg"),a.classList.add("cropper-view-box-Bg"),i.classList.add("cropper-view-box-Top"),l.classList.add("cropper-view-box-Bottom"),a.classList.add("cropper-view-box-Center"),n.appendChild(i),n.appendChild(l),n.appendChild(a));let r=this.$refs.cropper;r.cropH=r.scale*r.trueHeight,r.cropW=r.cropH/2.125,r.cropOffsertX=r.getImgAxis().x1+(r.scale*r.trueWidth/2-r.cropW/2),r.cropOffsertY=r.getImgAxis().y1,o.addEventListener("mousemove",this.startMove),this.setImageSize(),this.getDefaultPointList(this.imgBox," ")}))}),800)},realTime(e){clearTimeout(this.cropperTime),this.cropperTime=setTimeout((()=>{this.setImageSize()}),1e3)},setImageSize(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=(t.getBoundingClientRect(),e.getBoundingClientRect()),n=this.$refs.cropper;this.imgBox={width:n.cropW,height:n.cropH,left:o.left,top:o.top,scrollTop:t.scrollTop||0,x:n.getCropAxis().x1,y:n.getCropAxis().y1}},getSex(){gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.sex=t[0].value,this.sexList=t}}))},setMove(){},getDefaultPointList(e,t){this.isSubmit=!1,this.locationList=[],this.pointList=[{title:this.t("ModelPlacement.SHOULDER"),pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:this.t("ModelPlacement.WAISTBAND"),pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:this.t("ModelPlacement.HAND"),pointList:[{type:"handLeft",color:"#d88e8e",show:!0,field:"hand"},{type:"handRight",color:"#d88e8e",show:!0,field:"hand"}]}];for(let o of this.pointList)for(let t of o.pointList)if(this.printObject[t.type]?.length){t.show=!1;let o={left:this.printObject[t.type][0]*e.width-12,top:this.printObject[t.type][1]*e.height-12,color:t.color,type:t.type,field:t.field};this.locationList.push(o)}"setPoint"!=t?(this.isSubmit=!0,this.oldLocationList=JSON.parse(JSON.stringify(this.locationList)),this.oldPointList=JSON.parse(JSON.stringify(this.pointList))):(this.option.canScale=!0,this.option.canMove=!0)},setPoint(){let e=this.printObject.file,t=this.printObject.url;this.printObject={shoulderLeft:[.3338,.1858],shoulderRight:[.6644,.1858],waistbandLeft:[.3758,.364],waistbandRight:[.6103,.364],handLeft:[.3277,.4687],handRight:[.6764,.4715],file:e,url:t},this.getDefaultPointList(this.imgBox,"setPoint")},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],n=o.scrollTop;this.intObj?(this.currentSign.left=e.clientX-this.imgBox.left,this.currentSign.top=e.clientY+n-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.clientX-this.imgBox.left-this.imgBox.x-this.moveOriginal.posX-12,this.currentSign.top=e.clientY+n-this.imgBox.top-this.imgBox.y-this.moveOriginal.posY-12,document.addEventListener("mouseup",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign())},setBoundarySign(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=this.$refs.cropper.getCropAxis().y1,n=this.$refs.cropper.getCropAxis().x1,i=t.offsetHeight,l=i-24,a=t.clientWidth-24;this.currentSign.top+o<=0?this.currentSign.top=0:this.currentSign.top>=l+o&&(this.currentSign.top=l+o),this.currentSign.left+n<=0?this.currentSign.left=0:this.currentSign.left>=a+n&&(this.currentSign.left=a+n)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.type==o.type){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=0,this.moveOriginal.posY=0,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("mouseup",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""):_t.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""}})},restoreLocationList(){this.locationList=[],this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){let e=this.$refs.cropper;"System"==this.modelType&&88==this.userInfo.userId||83==this.userInfo.userId?this.printObject.templateId?(this.printObject.id=this.printObject.relationId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1})):e.getCropData((async e=>{if(this.printObject.templateId)this.printObject.id=this.printObject.relationId,this.confrimSubmit();else{let t=(0,bt._x)(e,this.printObject.file.name);t.uid=this.printObject.file.uid,this.printObject.file=t,this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))}}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,level1Type:"Models",level2Type:"",checkMd5:1,sex:this.sex,modelType:"Library",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return 88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType,e.sex=this.sex),this.isShowMark=!0,new Promise(((t,o)=>{gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,i)=>{_t.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{i(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},n={},i=JSON.parse(JSON.stringify(this.locationList));for(let l of i)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,i)=>{o.type=i?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),n[o.type]=[o.left,o.top]}));return n},sortBy(e){return function(t,o){return t[e]-o[e]}},printPreview(){let e=this.printObject.templateId?null:this.printObject.file,t={libraryId:this.printObject.libraryId||null,templateId:this.printObject.templateId||null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()},o=new FormData;o.append("file",e),o.append("models",new Blob([JSON.stringify(t)],{type:"application/json"})),this.isShowMark||(this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.libraryModelsDot,o,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{this.perviewUrl=e,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1})))},backPreview(){this.perviewUrl=""}}}),Ot=o(3744);const Lt=(0,Ot.Z)(Ct,[["render",vt]]);var Pt=Lt;const Ut={class:"setLabel_centent"},jt={class:"optionsItem"},It={class:"setLabel_text"},Ft=["title"],Tt=["onClick"],Mt=["onClick"],Et={class:"childrenItem active"},Nt=["title"],Dt=["onClick"],Ht=["onClick"],Rt={class:"newLabel setLabel_text"},Bt=["onClick"],zt=["onClick"],$t={class:"newLabel setLabel_text optionsItem_title"};function At(e,t,o,a,r,s){const c=(0,n.up)("a-checkbox"),u=(0,n.up)("a-modal"),d=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.j4)(u,{class:"library_setLabel",visible:e.setLabelShow,"onUpdate:visible":t[7]||(t[7]=t=>e.setLabelShow=t),footer:null,title:"Edit tag",width:"65%",maskClosable:!1,centered:!0,onCancel:e.clearSetLabel},{default:(0,n.w5)((()=>[(0,n._)("div",Ut,[(0,n._)("ul",jt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.options,((o,a)=>((0,n.wg)(),(0,n.iD)("li",{class:"optionsItem_title",key:o.id},[(0,n._)("div",It,[(0,n.Wm)(c,{checked:o.checkAll,"onUpdate:checked":e=>o.checkAll=e,onChange:t=>e.onCheckAllChange(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,n.wy)((0,n._)("span",{title:o.classificationName},(0,i.zw)(o.classificationName),9,Ft),[[l.F8,!o.openType]]),(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.itemName=t)},null,512),[[l.F8,o.openType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Tt),[[l.F8,o.openType]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"put",o)),["stop"]),class:"fi fi-rr-edit"},null,8,Mt),[[l.F8,!o.openType]])]),(0,n.wy)(((0,n.wg)(),(0,n.iD)("ul",Et,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(o.childList,((a,r)=>((0,n.wg)(),(0,n.iD)("li",{class:"childrenItem_title setLabel_text",key:a.id},[(0,n.Wm)(c,{checked:a.checkAll,"onUpdate:checked":e=>a.checkAll=e,onChange:t=>e.onCheckAllchildrenItem(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,n.wy)((0,n._)("span",{title:a.classificationName},(0,i.zw)(a.classificationName),9,Nt),[[l.F8,!a.openType]]),(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.itemName=t)},null,512),[[l.F8,a.openType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"affirm",a)),["stop"]),class:"fi fi-br-check"},null,8,Dt),[[l.F8,a.openType]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"put",a)),["stop"]),class:"fi fi-rr-edit"},null,8,Ht),[[l.F8,!a.openType]])])))),128)),(0,n._)("li",Rt,[(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.itemName=t)},null,512),[[l.F8,o.addOpenType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(-1,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Bt),[[l.F8,o.addOpenType]]),(0,n.wy)((0,n._)("div",{class:"addLabel",onClick:t=>e.newLabel(o,o.id)},"+",8,zt),[[l.F8,!o.addOpenType]])])])),[[d]])])))),128)),(0,n._)("li",$t,[(0,n._)("div",null,[(0,n.wy)((0,n._)("input",{type:"text",autofocus:"","onUpdate:modelValue":t[3]||(t[3]=t=>e.itemName=t)},null,512),[[l.F8,e.openType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:t[4]||(t[4]=(0,l.iM)((t=>e.putName(-1,"affirm","")),["stop"])),class:"fi fi-br-check"},null,512),[[l.F8,e.openType]]),(0,n.wy)((0,n._)("div",{class:"addLabel",onClick:t[5]||(t[5]=t=>e.newLabel("",""))},"+",512),[[l.F8,!e.openType]])]),(0,n._)("div",{class:"started_btn",onClick:t[6]||(t[6]=t=>e.removeLabel(e.options))},"删除")])])])])),_:1},8,["visible","onCancel"])}var Vt=o(1446),Zt=(0,n.aZ)({components:{VueCropper:wt.AK},setup(){let e=(0,Te.iH)(!1),t=(0,Te.iH)(!0),o=(0,Te.iH)([]),i=(0,n.f3)("type"),l=(0,Te.iH)([]),a=(0,Te.iH)(!1),r=(0,Te.iH)(""),{t:s}=(0,xt.QT)();return{multiple:e,indeterminate:t,value:(0,Te.iH)([]),options:o,checkedList:l,openType:a,type:i,itemName:r,t:s}},data(){return{setLabelShow:!1}},mounted(){},watch:{},directives:{mousewheel:{mounted(e){let t=document.getElementsByClassName("setLabel_centent")[0];(0,n.Y3)().then((()=>{let o=document.getElementsByClassName("childrenItem"),n=e=>{e.stopPropagation(),t.classList.add("active")},i=e=>{e.stopPropagation(),t.classList.remove("active")};for(let e=0;e{let o=0;o=t.deltaY>0?25:-25,e.scrollBy(o,0)}),!0)}))}}},methods:{init(e,t){this.setLabelShow=!0,this.multiple="add"!==e,this.clearOpenType(),this.options=t},clearSetLabel(){this.clearOpenType();let e=this.$parent;e.getClass()},onCheckAllChange(e){e?.childList&&e?.childList.forEach((t=>{t.checkAll=e.checkAll}))},onCheckAllchildrenItem(e){let t=e?.childList.every((e=>e.checkAll));e.checkAll=!!t},clearOpenType(){this.options.forEach((e=>{e.openType=!1,e.addOpenType=!1,e?.childList&&e?.childList?.forEach((e=>{e.openType=!1}))})),this.openType=!1},putName(e,t,o){let n;if("put"==t)this.clearOpenType(),o.openType=!0,this.itemName=o.classificationName;else if("affirm"==t){if(-1==e){if(""==this.itemName)return void Vt.ZP.warning(this.t("Habit.jsContent2"));o?(o.addOpenType=!1,n={classificationName:this.itemName,parentId:o.id}):(this.openType=!1,n={classificationName:this.itemName,parentId:""})}else n={id:o.id,classificationName:this.itemName},o.classificationName=this.itemName,o.openType=!1;this.addLabel(n)}},newLabel(e,t){this.itemName="",this.clearOpenType(),e?e.addOpenType=!0:this.openType=!0},removeLabel(e){let t={classificationIdList:[],deleteConfirm:0},o=[];this.clearOpenType(),e.forEach((e=>{e.checkAll?o.push(e.id):e.childList&&e.childList.forEach((e=>{e.checkAll&&o.push(e.id)}))})),t.classificationIdList=o,this.deleteClass(t)},addLabel(e){let t=this.setLabelData();e.parentId&&(t.parentId=e.parentId),e.id&&(t.id=e.id),t.classificationName=e.classificationName,gt.V.axiosPost(gt.V.httpUrls.saveOrUpdate,t).then((e=>{this.getClass()})).catch((e=>{}))},deleteClass(e){gt.V.axiosPost(gt.V.httpUrls.classificationDelete,e).then((e=>{this.getClass()})).catch((t=>{if(1===t.errCode){let o=this;_t.Z.confirm({title:t.errMsg,icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.deleteConfirm=1,o.deleteClass(e)},onCancel(){}})}}))},getClass(){let e=this.setLabelData();gt.V.axiosPost(gt.V.httpUrls.queryClassification,e).then((e=>{this.options=e})).catch((e=>{}))},setLabelData(){let e={classificationIdList:[],classificationName:"123221",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.type?.selectCode._value,updateTime:"",userId:""};return e}}});const Yt=(0,Ot.Z)(Zt,[["render",At]]);var Wt=Yt;const qt=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),Kt=[qt],Gt={class:"models_placement_body"},Jt={class:"palcement_modal_header"},Xt={class:"models_placement_title"},Qt={class:"placement_operate_list"},eo=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),to={class:"operate_item_des"},oo=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),no={class:"operate_item_des"},io=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),lo={class:"operate_item_des"},ao=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),ro={class:"operate_item_des"},so={key:0,class:"plcaement_point_content"},co={class:"ponit_title"},uo={class:"point_list"},po=["onTouchstart"],mo={class:"placement_content_operate_list"},ho=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),fo=(0,n._)("div",{class:"placement_content_operate_des"},"Remove Point",-1),vo=[ho,fo],go=(0,n._)("div",{class:"placement_tip_content"},"Please change the pure white inside the mannequin for another color to enhance your experience",-1),bo={class:"img_preview_block"},yo={class:"perview_mark_loading"},wo={class:"img_content_block",ref:"imgbox"},So=["src"],_o=["onTouchstart"],ko={class:"icon iconfont icon-guanbi"};function xo(e,t,o,a,r,s){const c=(0,n.up)("a-spin"),u=(0,n.up)("a-modal");return(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(u,{class:"models_placement_mobile_component",visible:e.placementShow,"onUpdate:visible":t[8]||(t[8]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,centered:!0},{closeIcon:(0,n.w5)((()=>[(0,n._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},Kt)])),default:(0,n.w5)((()=>[(0,n._)("div",Gt,[(0,n._)("div",Jt,[(0,n._)("div",Xt,(0,i.zw)(e.$t("ModelPlacementMobile.Registration")),1),(0,n._)("div",Qt,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[eo,(0,n._)("div",to,(0,i.zw)(e.$t("ModelPlacementMobile.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[oo,(0,n._)("div",no,(0,i.zw)(e.$t("ModelPlacementMobile.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[io,(0,n._)("div",lo,(0,i.zw)(e.$t("ModelPlacementMobile.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,n._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[ao,(0,n._)("div",ro,(0,i.zw)(e.$t("ModelPlacementMobile.Restore")),1)])])]),(0,n._)("div",{class:"models_placement_content",onTouchmove:t[7]||(t[7]=t=>e.startMove(t))},[88==e.userInfo.userId||83==e.userInfo.userId?((0,n.wg)(),(0,n.iD)("div",so,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.pointList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"placement_point_item",key:o},[(0,n._)("div",co,(0,i.zw)(t.title),1),(0,n._)("div",uo,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.pointList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"point_item",key:t.color,style:(0,i.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onTouchstart:o=>e.AddDian(t)},[(0,n._)("div",{class:"point_block",style:(0,i.j5)({background:t.color})},null,4)],44,po)))),128))])])))),128))])):(0,n.kq)("",!0),(0,n._)("div",mo,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[5]||(t[5]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},vo)]),go,(0,n._)("div",bo,[(0,n.wy)((0,n._)("div",yo,[(0,n.Wm)(c,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",wo,[(0,n._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,So),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.locationList,((o,a)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,i.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onTouchstart:t=>e.getMouseDown(t,o,a),onTouchmove:t[6]||(t[6]=t=>e.startMove(t))},[(0,n.wy)((0,n._)("div",{class:"placement_add_point_content",style:(0,i.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,n.wy)((0,n._)("div",ko,null,512),[[l.F8,e.isRemoveStatus]])],46,_o)))),128))],512)])],32)])])),_:1},8,["visible"])],512)),[[l.F8,e.placementShow]])}var Co=(0,n.aZ)({setup(){const e=(0,St.oR)();let t=(0,Te.iH)([]),o=(0,Te.iH)([]),n=(0,Te.iH)({}),i=(0,Te.iH)({}),l=(0,Te.iH)(null),a=(0,Te.iH)({}),r=(0,Te.iH)([]),s=(0,Te.iH)([]),c=(0,Te.iH)(!1),u=(0,Te.iH)(!1),d=(0,Te.iH)();return{store:e,oldLocationList:t,locationList:o,printObject:n,imgBox:i,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library",sex:"Male",sexList:[]}},mounted(){let e=(0,yt.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex()},methods:{formatter(e){return`${e}%`},showPlacementModal(e){this.placementShow=!0,this.printObject={...e},setTimeout((()=>{let e=this.$refs.imgbox,t=e.getBoundingClientRect();this.imgBox={width:e.clientWidth,height:e.scrollHeight,left:t.left,top:t.top,scrollTop:e.scrollTop||0},this.getDefaultPointList(this.imgBox)}),400)},getSex(){gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.sex=t[0].value,this.sexList=t}}))},getDefaultPointList(e){if(this.isSubmit=!1,this.pointList=[{title:"SHOULDER",pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:"WAISTBAND",pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:"HAND",pointList:[{type:"handLeft",color:"#CCFF7B",show:!0,field:"hand"},{type:"handRight",color:"#CCFF7B",show:!0,field:"hand"}]}],this.printObject.templateId){this.isSubmit=!0;for(let t of this.pointList)for(let o of t.pointList)if(this.printObject[o.type]?.length){o.show=!1;let t={left:this.printObject[o.type][0]*e.width-12,top:this.printObject[o.type][1]*e.height-12,color:o.color,type:o.type,field:o.field};this.locationList.push(t)}this.oldLocationList=JSON.parse(JSON.stringify(this.locationList))}this.oldPointList=JSON.parse(JSON.stringify(this.pointList))},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.scrollTop;e.targetTouches[0].pageX>this.imgBox.left&&(this.intObj?(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left-this.moveOriginal.posX,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top-this.moveOriginal.posY,document.addEventListener("touchend",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign()))},setBoundarySign(){let e=this.$refs.imgbox,t=e.offsetHeight+e.scrollTop,o=t-24,n=e.clientWidth-24;this.currentSign.top<=0?this.currentSign.top=0:this.currentSign.top>=o&&(this.currentSign.top=o),this.currentSign.left<=0?this.currentSign.left=0:this.currentSign.left>=n&&(this.currentSign.left=n)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.id==o.id){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=e.targetTouches[0].pageX-this.imgBox.left-this.currentSign.left,this.moveOriginal.posY=e.targetTouches[0].pageY-this.imgBox.top-this.currentSign.top,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("touchend",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1):_t.Z.confirm({title:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?",icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1}})},restoreLocationList(){this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){this.printObject.templateId?(this.printObject.id=this.printObject.libraryId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,checkMd5:1,level1Type:"Models",sex:this.sex,modelType:"",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return this.isShowMark=!0,88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType,e.sex=this.sex),new Promise(((t,o)=>{gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,i)=>{_t.Z.confirm({title:"This picture has been uploaded whether to continue uploading? ",icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{i(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},n={},i=JSON.parse(JSON.stringify(this.locationList));for(let l of i)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,i)=>{o.type=i?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),n[o.type]=[o.left,o.top]}));return n},sortBy(e){return function(t,o){return t[e]-o[e]}},printPreview(){},backPreview(){this.perviewUrl=""}}});const Oo=(0,Ot.Z)(Co,[["render",xo]]);var Lo=Oo,Po=o(3914),Uo=o(4873),jo=o(8652),Io=o(6409);var Fo;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const To="undefined"!==typeof window,Mo=(Object.prototype.toString,e=>"string"===typeof e),Eo=()=>{},No=To&&(null==(Fo=null==window?void 0:window.navigator)?void 0:Fo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Do(e){return"function"===typeof e?e():(0,Te.SU)(e)}function Ho(e){return e}function Ro(e){return!!(0,Te.nZ)()&&((0,Te.EB)(e),!0)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Bo(e,t=!0){(0,n.FN)()?(0,n.bv)(e):t?e():(0,n.Y3)(e)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function zo(e){var t;const o=Do(e);return null!=(t=null==o?void 0:o.$el)?t:o}const $o=To?window:void 0;To&&window.document,To&&window.navigator,To&&window.location;function Ao(...e){let t,o,i,l;if(Mo(e[0])||Array.isArray(e[0])?([o,i,l]=e,t=$o):[t,o,i,l]=e,!t)return Eo;Array.isArray(o)||(o=[o]),Array.isArray(i)||(i=[i]);const a=[],r=()=>{a.forEach((e=>e())),a.length=0},s=(e,t,o,n)=>(e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)),c=(0,n.YP)((()=>[zo(t),Do(l)]),(([e,t])=>{r(),e&&a.push(...o.flatMap((o=>i.map((n=>s(e,o,n,t))))))}),{immediate:!0,flush:"post"}),u=()=>{c(),r()};return Ro(u),u}let Vo=!1;function Zo(e,t,o={}){const{window:n=$o,ignore:i=[],capture:l=!0,detectIframe:a=!1}=o;if(!n)return;No&&!Vo&&(Vo=!0,Array.from(n.document.body.children).forEach((e=>e.addEventListener("click",Eo))));let r=!0;const s=e=>i.some((t=>{if("string"===typeof t)return Array.from(n.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const o=zo(t);return o&&(e.target===o||e.composedPath().includes(o))}})),c=o=>{const n=zo(e);n&&n!==o.target&&!o.composedPath().includes(n)&&(0===o.detail&&(r=!s(o)),r?t(o):r=!0)},u=[Ao(n,"click",c,{passive:!0,capture:l}),Ao(n,"pointerdown",(t=>{const o=zo(e);o&&(r=!t.composedPath().includes(o)&&!s(t))}),{passive:!0}),a&&Ao(n,"blur",(o=>{var i;const l=zo(e);"IFRAME"!==(null==(i=n.document.activeElement)?void 0:i.tagName)||(null==l?void 0:l.contains(n.document.activeElement))||t(o)}))].filter(Boolean),d=()=>u.forEach((e=>e()));return d}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Yo(e,t=!1){const o=(0,Te.iH)(),n=()=>o.value=Boolean(e());return n(),Bo(n,t),o}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Wo="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},qo="__vueuse_ssr_handlers__";Wo[qo]=Wo[qo]||{};Wo[qo];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Ko(e,t,{window:o=$o,initialValue:i=""}={}){const l=(0,Te.iH)(i),a=(0,n.Fl)((()=>{var e;return zo(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return(0,n.YP)([a,()=>Do(e)],(([e,t])=>{var n;if(e&&o){const a=null==(n=o.getComputedStyle(e).getPropertyValue(t))?void 0:n.trim();l.value=a||i}}),{immediate:!0}),(0,n.YP)(l,(t=>{var o;(null==(o=a.value)?void 0:o.style)&&a.value.style.setProperty(Do(e),t)})),l}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Go=Object.getOwnPropertySymbols,Jo=Object.prototype.hasOwnProperty,Xo=Object.prototype.propertyIsEnumerable,Qo=(e,t)=>{var o={};for(var n in e)Jo.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&Go)for(var n of Go(e))t.indexOf(n)<0&&Xo.call(e,n)&&(o[n]=e[n]);return o};function en(e,t,o={}){const i=o,{window:l=$o}=i,a=Qo(i,["window"]);let r;const s=Yo((()=>l&&"ResizeObserver"in l)),c=()=>{r&&(r.disconnect(),r=void 0)},u=(0,n.YP)((()=>zo(e)),(e=>{c(),s.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Ro(d),{isSupported:s,stop:d}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new Map;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var tn;(function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"})(tn||(tn={}));Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var on=Object.defineProperty,nn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,rn=(e,t,o)=>t in e?on(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,sn=(e,t)=>{for(var o in t||(t={}))ln.call(t,o)&&rn(e,o,t[o]);if(nn)for(var o of nn(t))an.call(t,o)&&rn(e,o,t[o]);return e};const cn={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};sn({linear:Ho},cn);var un=o(576),dn=o(626),pn=1/0;function mn(e){var t=null==e?0:e.length;return t?(0,dn.Z)(e,pn):[]}var hn=mn;const fn=4,vn={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},gn=({move:e,size:t,bar:o})=>({[o.size]:t,transform:`translate${o.axis}(${e}%)`}),bn=Symbol("scrollbarContextKey");var yn=o(5937);const wn="__epPropKey",Sn=e=>e,_n=e=>(0,i.Kn)(e)&&!!e[wn],kn=(e,t)=>{if(!(0,i.Kn)(e)||_n(e))return e;const{values:o,required:l,default:a,type:r,validator:s}=e,c=o||s?l=>{let r=!1,c=[];if(o&&(c=Array.from(o),(0,i.RI)(e,"default")&&c.push(a),r||(r=c.includes(l))),s&&(r||(r=s(l))),!r&&c.length>0){const e=[...new Set(c)].map((e=>JSON.stringify(e))).join(", ");(0,n.ZK)(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(l)}.`)}return r}:void 0,u={type:r,required:!!l,validator:c,[wn]:!0};return(0,i.RI)(e,"default")&&(u.default=a),u},xn=e=>(0,yn.Z)(Object.entries(e).map((([e,t])=>[e,kn(t,e)]))),Cn=xn({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var On=(e,t)=>{const o=e.__vccOpts||e;for(const[n,i]of t)o[n]=i;return o};const Ln="el",Pn="is-",Un=(e,t,o,n,i)=>{let l=`${e}-${t}`;return o&&(l+=`-${o}`),n&&(l+=`__${n}`),i&&(l+=`--${i}`),l},jn=Symbol("namespaceContextKey"),In=e=>{const t=e||((0,n.FN)()?(0,n.f3)(jn,(0,Te.iH)(Ln)):(0,Te.iH)(Ln)),o=(0,n.Fl)((()=>(0,Te.SU)(t)||Ln));return o},Fn=(e,t)=>{const o=In(t),n=(t="")=>Un(o.value,e,t,"",""),i=t=>t?Un(o.value,e,"",t,""):"",l=t=>t?Un(o.value,e,"","",t):"",a=(t,n)=>t&&n?Un(o.value,e,t,n,""):"",r=(t,n)=>t&&n?Un(o.value,e,"",t,n):"",s=(t,n)=>t&&n?Un(o.value,e,t,"",n):"",c=(t,n,i)=>t&&n&&i?Un(o.value,e,t,n,i):"",u=(e,...t)=>{const o=!(t.length>=1)||t[0];return e&&o?`${Pn}${e}`:""},d=e=>{const t={};for(const n in e)e[n]&&(t[`--${o.value}-${n}`]=e[n]);return t},p=t=>{const n={};for(const i in t)t[i]&&(n[`--${o.value}-${e}-${i}`]=t[i]);return n},m=e=>`--${o.value}-${e}`,h=t=>`--${o.value}-${e}-${t}`;return{namespace:o,b:n,e:i,m:l,be:a,em:r,bm:s,bem:c,is:u,cssVar:d,cssVarName:m,cssVarBlock:p,cssVarBlockName:h}};class Tn extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Mn(e,t){throw new Tn(`[${e}] ${t}`)}function En(e,t){0}const Nn="Thumb",Dn=(0,n.aZ)({__name:"thumb",props:Cn,setup(e){const t=e,o=(0,n.f3)(bn),a=Fn("scrollbar");o||Mn(Nn,"can not inject scrollbar context");const r=(0,Te.iH)(),s=(0,Te.iH)(),c=(0,Te.iH)({}),u=(0,Te.iH)(!1);let d=!1,p=!1,m=To?document.onselectstart:null;const h=(0,n.Fl)((()=>vn[t.vertical?"vertical":"horizontal"])),f=(0,n.Fl)((()=>gn({size:t.size,move:t.move,bar:h.value}))),v=(0,n.Fl)((()=>r.value[h.value.offset]**2/o.wrapElement[h.value.scrollSize]/t.ratio/s.value[h.value.offset])),g=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),y(e);const o=e.currentTarget;o&&(c.value[h.value.axis]=o[h.value.offset]-(e[h.value.client]-o.getBoundingClientRect()[h.value.direction]))},b=e=>{if(!s.value||!r.value||!o.wrapElement)return;const t=Math.abs(e.target.getBoundingClientRect()[h.value.direction]-e[h.value.client]),n=s.value[h.value.offset]/2,i=100*(t-n)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=i*o.wrapElement[h.value.scrollSize]/100},y=e=>{e.stopImmediatePropagation(),d=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),m=document.onselectstart,document.onselectstart=()=>!1},w=e=>{if(!r.value||!s.value)return;if(!1===d)return;const t=c.value[h.value.axis];if(!t)return;const n=-1*(r.value.getBoundingClientRect()[h.value.direction]-e[h.value.client]),i=s.value[h.value.offset]-t,l=100*(n-i)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=l*o.wrapElement[h.value.scrollSize]/100},S=()=>{d=!1,c.value[h.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S),x(),p&&(u.value=!1)},_=()=>{p=!1,u.value=!!t.size},k=()=>{p=!0,u.value=d};(0,n.Jd)((()=>{x(),document.removeEventListener("mouseup",S)}));const x=()=>{document.onselectstart!==m&&(document.onselectstart=m)};return Ao((0,Te.Vh)(o,"scrollbarElement"),"mousemove",_),Ao((0,Te.Vh)(o,"scrollbarElement"),"mouseleave",k),(e,t)=>((0,n.wg)(),(0,n.j4)(l.uT,{name:(0,Te.SU)(a).b("fade"),persisted:""},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",{ref_key:"instance",ref:r,class:(0,i.C_)([(0,Te.SU)(a).e("bar"),(0,Te.SU)(a).is((0,Te.SU)(h).key)]),onMousedown:b},[(0,n._)("div",{ref_key:"thumb",ref:s,class:(0,i.C_)((0,Te.SU)(a).e("thumb")),style:(0,i.j5)((0,Te.SU)(f)),onMousedown:g},null,38)],34),[[l.F8,e.always||u.value]])])),_:1},8,["name"]))}});var Hn=On(Dn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Rn=xn({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Bn=(0,n.aZ)({__name:"bar",props:Rn,setup(e,{expose:t}){const o=e,i=(0,Te.iH)(0),l=(0,Te.iH)(0),a=e=>{if(e){const t=e.offsetHeight-fn,n=e.offsetWidth-fn;l.value=100*e.scrollTop/t*o.ratioY,i.value=100*e.scrollLeft/n*o.ratioX}};return t({handleScroll:a}),(e,t)=>((0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(Hn,{move:i.value,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),(0,n.Wm)(Hn,{move:l.value,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var zn=On(Bn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const $n=e=>void 0===e,An=e=>"boolean"===typeof e,Vn=e=>"number"===typeof e,Zn=e=>!e&&0!==e||(0,i.kJ)(e)&&0===e.length||(0,i.Kn)(e)&&!Object.keys(e).length,Yn=e=>"undefined"!==typeof Element&&e instanceof Element,Wn=e=>!!(0,i.HD)(e)&&!Number.isNaN(Number(e)),qn=xn({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Sn([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),Kn={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Vn)},Gn="utils/dom/style";function Jn(e,t="px"){return e?Vn(e)||Wn(e)?`${e}${t}`:(0,i.HD)(e)?e:void En(Gn,"binding value must be a string or number"):""}const Xn="ElScrollbar",Qn=(0,n.aZ)({name:Xn}),ei=(0,n.aZ)({...Qn,props:qn,emits:Kn,setup(e,{expose:t,emit:o}){const l=e,a=Fn("scrollbar");let r,s;const c=(0,Te.iH)(),u=(0,Te.iH)(),d=(0,Te.iH)(),p=(0,Te.iH)("0"),m=(0,Te.iH)("0"),h=(0,Te.iH)(),f=(0,Te.iH)(1),v=(0,Te.iH)(1),g=(0,n.Fl)((()=>{const e={};return l.height&&(e.height=Jn(l.height)),l.maxHeight&&(e.maxHeight=Jn(l.maxHeight)),[l.wrapStyle,e]})),b=(0,n.Fl)((()=>[l.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!l.native}])),y=(0,n.Fl)((()=>[a.e("view"),l.viewClass])),w=()=>{var e;u.value&&(null==(e=h.value)||e.handleScroll(u.value),o("scroll",{scrollTop:u.value.scrollTop,scrollLeft:u.value.scrollLeft}))};function S(e,t){(0,i.Kn)(e)?u.value.scrollTo(e):Vn(e)&&Vn(t)&&u.value.scrollTo(e,t)}const _=e=>{Vn(e)?u.value.scrollTop=e:En(Xn,"value must be a number")},k=e=>{Vn(e)?u.value.scrollLeft=e:En(Xn,"value must be a number")},x=()=>{if(!u.value)return;const e=u.value.offsetHeight-fn,t=u.value.offsetWidth-fn,o=e**2/u.value.scrollHeight,n=t**2/u.value.scrollWidth,i=Math.max(o,l.minSize),a=Math.max(n,l.minSize);f.value=o/(e-o)/(i/(e-i)),v.value=n/(t-n)/(a/(t-a)),m.value=i+fnl.noresize),(e=>{e?(null==r||r(),null==s||s()):(({stop:r}=en(d,x)),s=Ao("resize",x))}),{immediate:!0}),(0,n.YP)((()=>[l.maxHeight,l.height]),(()=>{l.native||(0,n.Y3)((()=>{var e;x(),u.value&&(null==(e=h.value)||e.handleScroll(u.value))}))})),(0,n.JJ)(bn,(0,Te.qj)({scrollbarElement:c,wrapElement:u})),(0,n.bv)((()=>{l.native||(0,n.Y3)((()=>{x()}))})),(0,n.ic)((()=>x())),t({wrapRef:u,update:x,scrollTo:S,setScrollTop:_,setScrollLeft:k,handleScroll:w}),(e,t)=>((0,n.wg)(),(0,n.iD)("div",{ref_key:"scrollbarRef",ref:c,class:(0,i.C_)((0,Te.SU)(a).b())},[(0,n._)("div",{ref_key:"wrapRef",ref:u,class:(0,i.C_)((0,Te.SU)(b)),style:(0,i.j5)((0,Te.SU)(g)),onScroll:w},[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.tag),{id:e.id,ref_key:"resizeRef",ref:d,class:(0,i.C_)((0,Te.SU)(y)),style:(0,i.j5)(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),e.native?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.j4)(zn,{key:0,ref_key:"barRef",ref:h,height:m.value,width:p.value,always:e.always,"ratio-x":v.value,"ratio-y":f.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var ti=On(ei,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const oi=(e,t)=>{if(e.install=o=>{for(const n of[e,...Object.values(null!=t?t:{})])o.component(n.name,n)},t)for(const[o,n]of Object.entries(t))e[o]=n;return e},ni=e=>(e.install=i.dG,e),ii=oi(ti); +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[492],{8656:function(e,t,o){o.r(t),o.d(t,{default:function(){return bp}});var n=o(6252),i=o(3577),l=o(9963),a=o.p+"img/null_img.cdd90213.png";const r={class:"library_page"},s={class:"page_content"},c={class:"page_content_body"},u={class:"library_page_body"},d={class:"library_body_left"},p=["onClick"],m={class:"menu_item_left"},h=["onClick"],f={class:"library_body_right"},v={class:"library_right_header"},g={class:"library_header_left"},b={class:"librart_headr_right"},y={class:"select_block"},w=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),S=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),_={class:"libray_right_content"},k={class:"right_content_body"},x={class:"content_body_header"},C={class:"content_body_header_left"},O={class:"content_body_header_right"},L={class:"content_search_block"},P=["placeholder"],U={class:"search_cascader"},j=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),I=[j],F={class:"check_block"},T={class:"check_block_body"},M={class:"content_body_table scroll_style"},E=["onClick"],N={class:"img_item_hover"},D={class:"img_operate_content"},H=["onClick"],R=(0,n._)("span",{class:"icon iconfont icon-tianxie operate_icon"},null,-1),B=[R],z=["onClick"],$=(0,n._)("span",{class:"icon iconfont icon-biaoqian operate_icon"},null,-1),A=[$],V=["onClick"],Z=(0,n._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1),Y=[Z],W={class:"content_img_name"},q={class:"no_data_block"},K=(0,n._)("img",{src:a},null,-1),G=[K],J={class:"table_pagination"},X={class:"right_content_body"},Q={class:"content_body_header content_body_header_generate"},ee={class:"content_body_header_right"},te={class:"checkboxItem"},oe={class:"checkboxItem"},ne={class:"checkboxItem"},ie=["maxlength","readonly","placeholder"],le={class:"printModel"},ae={class:"upload_item"},re={class:"upload_file_item_content"},se=["onClick"],ce=["src"],ue=["onClick"],de=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),pe=[de],me={class:"upload_component upload_file_item"},he=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-br-upload"})],-1),fe={class:"content_body_table scroll_style"},ve={class:"img_item_hover"},ge={class:"img_operate_content"},be={class:"img_operate_block"},ye=["onClick"],we=["onClick"],Se=(0,n._)("div",{class:"content_img_name"},null,-1),_e={class:"no_data_block"},ke=(0,n._)("img",{src:a},null,-1),xe=[ke],Ce={class:"table_pagination"},Oe={class:"collection_rename_content"},Le={class:"rename_form_content"},Pe=["placeholder"],Ue={class:"rename_button_list"},je={class:"mark_loading"};function Ie(e,t,o,a,j,R){const $=(0,n.up)("HeaderComponent"),Z=(0,n.up)("a-upload"),K=(0,n.up)("a-select"),de=(0,n.up)("el-cascader"),ke=(0,n.up)("a-pagination"),Ie=(0,n.up)("a-spin"),Fe=(0,n.up)("a-modal"),Te=(0,n.up)("ModelPlacement"),Me=(0,n.up)("ModelPlacementMobile"),Ee=(0,n.up)("setLabel"),Ne=(0,n.up)("RobotAssist"),De=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",r,[(0,n._)("div",s,[(0,n._)("div",c,[(0,n.Wm)($),(0,n._)("div",u,[(0,n._)("div",d,[(0,n._)("div",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.menuList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"library_menu_list",key:t.title},[(0,n._)("div",{class:(0,i.C_)(["menu_item",e.selectCode==t.code?"select_menu_item":""]),onClick:n=>e.selectMenuItem(t,o)},[(0,n._)("div",m,[(0,n._)("i",{class:(0,i.C_)([t.icon])},null,2),(0,n._)("div",null,(0,i.zw)(t.title),1)]),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["icon","iconfont","icon-xiala",t.showChildren?"icon_rotate":""])},null,2),[[l.F8,t.children.length]])],10,p),(0,n.wy)((0,n._)("div",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.children,(t=>((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["menu_item","child_menu_item",e.selectCode==t.code?"select_menu_item":""]),key:t.title,onClick:n=>e.selectMenuItem(t,o)},(0,i.zw)(t.title),11,h)))),128))],512),[[l.F8,t.showChildren&&t.children.length]])])))),128))])]),(0,n._)("div",f,[(0,n._)("div",v,[(0,n._)("div",g,[(0,n._)("div",{class:(0,i.C_)(["header_operate_item pointer",{operate_select:"Upload"==e.uploadGenerate}]),onClick:t[0]||(t[0]=t=>e.uploadGenerateOpen("Upload"))},[(0,n.wy)((0,n.Wm)(Z,{"before-upload":e.beforeUpload,customRequest:e.customRequest,multiple:"Models"!=e.selectCode,maxCount:15,accept:".jpg,.png,.jpeg,.bmp",onChange:e.fileUploadChange},{default:(0,n.w5)((()=>[(0,n._)("div",null,(0,i.zw)(e.$t("LibraryPage.Upload")),1)])),_:1},8,["before-upload","customRequest","multiple","onChange"]),[[l.F8,"Upload"==e.uploadGenerate]]),(0,n.wy)((0,n._)("div",null,(0,i.zw)(e.$t("LibraryPage.Upload")),513),[[l.F8,"Upload"!=e.uploadGenerate]])],2),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["header_operate_item pointer",{operate_select:"Generate"==e.uploadGenerate}]),onClick:t[1]||(t[1]=t=>e.uploadGenerateOpen("Generate"))},(0,i.zw)(e.$t("LibraryPage.Generate")),3),[[l.F8,"Models"!=e.selectCode]])]),(0,n._)("div",b,[(0,n.wy)((0,n._)("div",y,[(0,n.Wm)(K,{ref:"select",value:e.sex,"onUpdate:value":t[2]||(t[2]=t=>e.sex=t),options:e.sexList,onChange:e.sexChange},{suffixIcon:(0,n.w5)((()=>[w])),_:1},8,["value","options","onChange"]),(0,n.Wm)(K,{ref:"select",value:e.designType,"onUpdate:value":t[3]||(t[3]=t=>e.designType=t),options:e.disignTypeList,onChange:e.handleChange},{suffixIcon:(0,n.w5)((()=>[S])),_:1},8,["value","options","onChange"])],512),[[l.F8,"Sketchboard"==e.selectCode||"MarketingSketch"==e.selectCode]])])]),(0,n._)("div",_,[(0,n.wy)((0,n._)("div",k,[(0,n._)("div",x,[(0,n._)("div",C,[(0,n._)("div",O,[(0,n._)("div",{class:(0,i.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[4]||(t[4]=t=>e.deleteBatchPic())},(0,i.zw)(e.$t("LibraryPage.Delete")),3),(0,n._)("div",{class:(0,i.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[5]||(t[5]=t=>e.showRenameModal("","batch"))},(0,i.zw)(e.$t("LibraryPage.Rename")),3)]),(0,n._)("div",L,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:e.$t("LibraryPage.inputContent1"),"onUpdate:modelValue":t[6]||(t[6]=t=>e.searchPictureName=t),onKeydown:t[7]||(t[7]=(0,l.D2)((t=>e.getLibraryList()),["enter"]))},null,40,P),[[l.nr,e.searchPictureName]]),(0,n._)("div",U,[(0,n.Wm)(de,{options:e.options,filterable:!0,modelValue:e.value.labelValue,"onUpdate:modelValue":t[8]||(t[8]=t=>e.value.labelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,"max-collapse-tags":3,props:e.props,"collapse-tags-tooltip":!0,ref:"cascader","popper-class":"libraryPageCascader",onVisibleChange:e.dropdownVisibleChange},null,8,["options","modelValue","props","onVisibleChange"])]),(0,n._)("div",{class:"generage_btn search_icon_block",onClick:t[9]||(t[9]=t=>e.getLibraryList())},I)])]),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["check_all_block",e.selectImgList.length==e.imgList.length?"check_all":""]),onClick:t[10]||(t[10]=t=>e.selectAllImg())},[(0,n._)("div",F,[(0,n.wy)((0,n._)("div",T,null,512),[[l.F8,e.selectImgList.length==e.imgList.length&&e.imgList.length]])]),(0,n._)("div",null,(0,i.zw)(e.$t("LibraryPage.all")),1)],2),[[l.F8,e.imgList.length]])]),(0,n._)("div",M,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.imgList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_item",key:t.id,onClick:o=>e.selectImgItem(t),draggable:!0},[(0,n._)("div",{class:(0,i.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{key:t.url,class:(0,i.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[De,t.url]]),(0,n._)("div",N,[(0,n._)("div",D,[(0,n.wy)((0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.editPlacementClick(t)),["stop"])},B,8,H),[[l.F8,"Models"===e.selectCode]]),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.showRenameModal(t,"single")),["stop"])},A,8,z),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((n=>e.deleteSinglePic(t,o)),["stop"])},Y,8,V)])])],2),(0,n._)("div",W,(0,i.zw)(t.name),1)],8,E)))),128)),(0,n.wy)((0,n._)("div",q,G,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",J,[(0,n.Wm)(ke,{current:e.currentPage,"onUpdate:current":t[11]||(t[11]=t=>e.currentPage=t),pageSize:e.pageSize,"onUpdate:pageSize":t[12]||(t[12]=t=>e.pageSize=t),total:e.total,showQuickJumper:!0,showSizeChanger:!1,onChange:e.changePage},null,8,["current","pageSize","total","onChange"])],512),[[l.F8,e.imgList.length]])],512),[[l.F8,"Upload"==e.uploadGenerate]]),(0,n.wy)((0,n._)("div",X,[(0,n._)("div",Q,[(0,n._)("div",ee,[(0,n._)("div",te,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[13]||(t[13]=t=>e.checkbox[0].type=t),onClick:t[14]||(t[14]=t=>e.setKeyword(0))},null,512),[[l.e8,e.checkbox[0].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.ImageOnly")),1)])]),(0,n._)("div",oe,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=t=>e.checkbox[1].type=t),onClick:t[16]||(t[16]=t=>e.setKeyword(1))},null,512),[[l.e8,e.checkbox[1].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.TextOnly")),1)])]),(0,n._)("div",ne,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[17]||(t[17]=t=>e.checkbox[2].type=t),onClick:t[18]||(t[18]=t=>e.setKeyword(2))},null,512),[[l.e8,e.checkbox[2].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.TextImage")),1)])])]),(0,n._)("div",{class:(0,i.C_)(["input_box",{active:e.inputShow}])},[(0,n.wy)((0,n._)("input",{class:(0,i.C_)(["search_input",{active:e.checkbox[0].type}]),onInput:t[19]||(t[19]=(...t)=>e.ifMaximumLength&&e.ifMaximumLength(...t)),maxlength:e.inputShow?0:9999,onKeydown:t[20]||(t[20]=(0,l.D2)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["enter"])),readonly:e.checkbox[0].type,placeholder:e.$t("LibraryPage.inputContent2"),"onUpdate:modelValue":t[21]||(t[21]=t=>e.captionGeneration=t)},null,42,ie),[[l.nr,e.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:t[22]||(t[22]=(0,l.iM)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["stop"]))},(0,i.zw)(e.$t("LibraryPage.Generate")),1),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.maximumLength")),1)],2),(0,n.wy)((0,n._)("div",le,[(0,n._)("div",{onClick:t[23]||(t[23]=(0,l.iM)(((...t)=>e.PrintModel&&e.PrintModel(...t)),["stop"]))},(0,i.zw)(e.printModel.name),1),(0,n.wy)((0,n._)("ul",null,[(0,n._)("li",{class:"printModel_item",onClick:t[24]||(t[24]=t=>e.setprintModel(1))},(0,i.zw)(e.$t("LibraryPage.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:t[25]||(t[25]=t=>e.setprintModel(2))},(0,i.zw)(e.$t("LibraryPage.Model2")),1)],512),[[l.F8,e.printModel.optype]])],512),[[l.F8,"Printboard"==e.selectCode]]),(0,n._)("div",ae,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.selectGenerateList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["upload_file_item",[t?.checked?"active":""]]),key:t},[(0,n.wy)((0,n._)("div",re,[(0,n.Wm)(Ie,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[l.F8,"uploading"===t?.status]]),(0,n.wy)((0,n._)("div",{class:"upload_file_item_content",onClick:(0,l.iM)((o=>e.setSketchboardItem(t)),["stop"])},[(0,n._)("img",{src:t?.imgUrl,class:"upload_img"},null,8,ce),(0,n._)("div",{class:"delete_file_block rightTop",onClick:t=>e.deleteFile(o)},pe,8,ue)],8,se),[[l.F8,"done"===t?.status]])],2)))),128)),(0,n.wy)((0,n._)("div",me,[(0,n.Wm)(Z,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":e.beforeUpload,disabled:e.checkbox[1].type,data:{...e.upload},headers:{Authorization:e.token},"file-list":e.selectGenerateList,"onUpdate:file-list":t[26]||(t[26]=t=>e.selectGenerateList=t),multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:e.generateFileUploadChange},{default:(0,n.w5)((()=>[he])),_:1},8,["action","before-upload","disabled","data","headers","file-list","onChange"])],512),[[l.F8,e.selectGenerateList.length<=3]])])]),(0,n._)("div",fe,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.generateList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_item",key:t.id},[(0,n._)("div",{class:(0,i.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{key:t.imgUrl,class:(0,i.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[De,t.imgUrl]]),(0,n._)("div",ve,[(0,n._)("div",ge,[(0,n._)("div",be,[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"noLike")),["stop"])},null,8,we)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"like")),["stop"])},null,8,ye))])])])],2),Se])))),128)),(0,n.wy)((0,n._)("div",_e,xe,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",Ce,null,512),[[l.F8,e.generateList.length]])],512),[[l.F8,"Upload"!=e.uploadGenerate]])])])])])]),(0,n.Wm)(Fe,{class:"library_rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[32]||(t[32]=t=>e.renameVisivle=t),footer:null,title:"Rename Pic",width:"65%",maskClosable:!1,centered:!0,onOnCancel:e.closeRenameModal},{default:(0,n.w5)((()=>[(0,n._)("div",Oe,[(0,n._)("div",Le,[(0,n.wy)((0,n._)("input",{class:"rename_form_input",placeholder:e.$t("LibraryPage.inputContent3"),"onUpdate:modelValue":t[27]||(t[27]=t=>e.newPicName=t),onKeydown:t[28]||(t[28]=(0,l.D2)((t=>e.confrimRename()),["enter"]))},null,40,Pe),[[l.nr,e.newPicName]])]),(0,n.Wm)(de,{options:e.options,filterable:!0,modelValue:e.value.editLabelValue,"onUpdate:modelValue":t[29]||(t[29]=t=>e.value.editLabelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,"max-collapse-tags":6,props:e.props,"collapse-tags-tooltip":!0},null,8,["options","modelValue","props"]),(0,n._)("div",Ue,[(0,n._)("div",{class:"rename_button_item rename_cancel_button",onClick:t[30]||(t[30]=t=>e.closeRenameModal())},(0,i.zw)(e.$t("LibraryPage.Cancel")),1),(0,n._)("div",{class:"rename_button_item rename_submit_button",onClick:t[31]||(t[31]=t=>e.confrimRename())},(0,i.zw)(e.$t("LibraryPage.Sure")),1)])])])),_:1},8,["visible","onOnCancel"]),(0,n.Wm)(Te,{ref:"ModelPlacement",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,n.Wm)(Me,{ref:"ModelPlacementMobile"},null,512),(0,n.Wm)(Ee,{ref:"setLabel"},null,512),(0,n.wy)((0,n._)("div",je,[(0,n.Wm)(Ie,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n.Wm)(Ne)])}var Fe=o(320),Te=o(2262),Me=o(8557);const Ee=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),Ne=[Ee],De={class:"models_placement_body"},He={class:"palcement_modal_header"},Re={class:"models_placement_title"},Be={class:"placement_operate_list"},ze=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),$e={class:"operate_item_des"},Ae=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),Ve={class:"operate_item_des"},Ze=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),Ye={class:"operate_item_des"},We=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),qe={class:"operate_item_des"},Ke={key:0,class:"plcaement_point_content"},Ge={style:{display:"flex","align-items":"center"}},Je={style:{display:"flex","align-items":"center"}},Xe={style:{display:"flex","align-items":"center"}},Qe={class:"models_placement_content"},et={class:"plcaement_point_content"},tt={class:"select_block"},ot=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),nt={class:"ponit_title"},it={class:"point_list"},lt=["onMousedown"],at={class:"placement_point_item placement_point_item_btn"},rt={class:"placement_content_operate_list"},st=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),ct={class:"placement_content_operate_des"},ut={class:"placement_tip_content"},dt={class:"img_preview_block"},pt={class:"perview_mark_loading"},mt={class:"img_content_block",ref:"imgbox"},ht=["onMousedown"],ft={class:"icon iconfont icon-guanbi"};function vt(e,t,o,a,r,s){const c=(0,n.up)("a-select"),u=(0,n.up)("a-spin"),d=(0,n.up)("vue-cropper"),p=(0,n.up)("a-modal");return(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(p,{class:"models_placement_component",visible:e.placementShow,"onUpdate:visible":t[11]||(t[11]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,centered:!0},{closeIcon:(0,n.w5)((()=>[(0,n._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},Ne)])),default:(0,n.w5)((()=>[(0,n._)("div",De,[(0,n._)("div",He,[(0,n._)("div",Re,(0,i.zw)(e.$t("ModelPlacement.Registration")),1),(0,n._)("div",Be,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[ze,(0,n._)("div",$e,(0,i.zw)(e.$t("ModelPlacement.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[Ae,(0,n._)("div",Ve,(0,i.zw)(e.$t("ModelPlacement.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[Ze,(0,n._)("div",Ye,(0,i.zw)(e.$t("ModelPlacement.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,n._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[We,(0,n._)("div",qe,(0,i.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,n.wg)(),(0,n.iD)("div",Ke,[(0,n._)("div",Ge,[(0,n._)("div",Je,[(0,n._)("input",{type:"checkbox",model:"false",onClick:t[5]||(t[5]=()=>{e.modelType="System"})}),(0,n.Uk)(" "+(0,i.zw)(e.$t("ModelPlacement.System")),1)]),(0,n._)("div",Xe,[(0,n._)("input",{type:"checkbox",model:"false",onClick:t[6]||(t[6]=()=>{e.modelType="Library"})}),(0,n.Uk)(" "+(0,i.zw)(e.$t("ModelPlacement.Library")),1)])])])):(0,n.kq)("",!0),(0,n._)("div",Qe,[(0,n._)("div",et,[(0,n._)("div",tt,[(0,n.Wm)(c,{ref:"select",value:e.sex,"onUpdate:value":t[7]||(t[7]=t=>e.sex=t),options:e.sexList},{suffixIcon:(0,n.w5)((()=>[ot])),_:1},8,["value","options"])]),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.pointList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"placement_point_item",key:o},[(0,n._)("div",nt,(0,i.zw)(t.title),1),(0,n._)("div",it,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.pointList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"point_item",key:t.color,style:(0,i.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onMousedown:o=>e.AddDian(t)},[(0,n._)("div",{class:"point_block",style:(0,i.j5)({background:t.color})},null,4)],44,lt)))),128))])])))),128)),(0,n._)("div",at,[(0,n._)("span",{class:"started_btn",onClick:t[8]||(t[8]=(...t)=>e.setPoint&&e.setPoint(...t))},(0,i.zw)(e.$t("ModelPlacement.Point")),1)])]),(0,n._)("div",rt,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[9]||(t[9]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[st,(0,n._)("div",ct,(0,i.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,n._)("div",ut,(0,i.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,n._)("div",dt,[(0,n.wy)((0,n._)("div",pt,[(0,n.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",mt,[(0,n._)("div",{style:(0,i.j5)({width:e.imgBox.width+"px",height:e.imgBox.height+"px",top:e.imgBox.y+"px",left:e.imgBox.x+"px",position:"absolute"})},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.locationList,((o,a)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,i.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onMousedown:t=>e.getMouseDown(t,o,a),onMousemove:t[10]||(t[10]=t=>e.startMove(t))},[(0,n.wy)((0,n._)("div",{class:"placement_add_point_content",style:(0,i.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,n.wy)((0,n._)("div",ft,null,512),[[l.F8,e.isRemoveStatus]])],46,ht)),[[l.F8,!e.perviewUrl]]))),128))],4),(0,n.Wm)(d,{ref:"cropper",img:e.option.img,outputSize:e.option.outputSize,outputType:e.option.outputType,info:e.option.info,canScale:e.option.canScale,autoCrop:e.option.autoCrop,fixed:e.option.fixed,fixedNumber:e.option.fixedNumber,full:e.option.full,fixedBox:e.option.fixedBox,canMove:e.option.canMove,canMoveBox:e.option.canMoveBox,original:e.option.original,centerBox:e.option.centerBox,height:e.option.height,infoTrue:e.option.infoTrue,limitMinSize:e.option.limitMinSize,enlarge:e.option.enlarge,onRealTime:e.realTime,autoCropArea:1,autoCropHeight:e.option.autoCropHeight,autoCropWidth:e.option.autoCropWidth,mode:e.option.mode},null,8,["img","outputSize","outputType","info","canScale","autoCrop","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","limitMinSize","enlarge","onRealTime","autoCropHeight","autoCropWidth","mode"])],512)])])])])),_:1},8,["visible"])],512)),[[l.F8,e.placementShow]])}var gt=o(6214),bt=o(7332),yt=o(2339),wt=o(2323),St=o(3907),_t=o(327),kt=o(8302),xt=o(8552),Ct=(0,n.aZ)({components:{VueCropper:wt.AK},setup(){const e=(0,St.oR)();let t=(0,Te.iH)([]),o=(0,Te.iH)([]),n=(0,Te.iH)({}),i=(0,Te.iH)({}),l=(0,Te.iH)(null),a=(0,Te.iH)({}),r=(0,Te.iH)([]),s=(0,Te.iH)([]),c=(0,Te.iH)(!1),u=(0,Te.iH)(!1),d=(0,Te.iH)(),p=(0,Te.iH)(),{t:m}=(0,xt.QT)();return{store:e,oldLocationList:t,locationList:o,printObject:n,imgBox:i,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d,cropperTime:p,t:m}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library",sex:"Male",sexList:[],option:{img:"",outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:"0",autoCropHeight:"0",fixed:!0,fixedBox:!0,fixedNumber:[1,2.125],full:!1,canMove:!0,canMoveBox:!1,original:!1,centerBox:!1,height:!0,infoTrue:!0,maxImgSize:"2000",enlarge:7,mode:"auto 90%",limitMinSize:"100%"}}},mounted(){let e=(0,yt.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex()},watch:{sex:{handler(e,t){}}},methods:{formatter(e){return`${e}%`},showPlacementModal(e){this.placementShow=!0,this.printObject={...e},this.option.img=this.printObject.url,setTimeout((()=>{(0,n.Y3)().then((()=>{let e=new Image;e.src=this.option.img;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],n=t.getElementsByClassName("cropper-view-box")[0],i=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div");t.getElementsByClassName("cropper-view-box-Bg").length>=1||(i.classList.add("cropper-view-box-Bg"),l.classList.add("cropper-view-box-Bg"),a.classList.add("cropper-view-box-Bg"),i.classList.add("cropper-view-box-Top"),l.classList.add("cropper-view-box-Bottom"),a.classList.add("cropper-view-box-Center"),n.appendChild(i),n.appendChild(l),n.appendChild(a));let r=this.$refs.cropper;r.cropH=r.scale*r.trueHeight,r.cropW=r.cropH/2.125,r.cropOffsertX=r.getImgAxis().x1+(r.scale*r.trueWidth/2-r.cropW/2),r.cropOffsertY=r.getImgAxis().y1,o.addEventListener("mousemove",this.startMove),this.setImageSize(),this.getDefaultPointList(this.imgBox," ")}))}),800)},realTime(e){clearTimeout(this.cropperTime),this.cropperTime=setTimeout((()=>{this.setImageSize()}),1e3)},setImageSize(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=(t.getBoundingClientRect(),e.getBoundingClientRect()),n=this.$refs.cropper;this.imgBox={width:n.cropW,height:n.cropH,left:o.left,top:o.top,scrollTop:t.scrollTop||0,x:n.getCropAxis().x1,y:n.getCropAxis().y1}},getSex(){gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.sex=t[0].value,this.sexList=t}}))},setMove(){},getDefaultPointList(e,t){this.isSubmit=!1,this.locationList=[],this.pointList=[{title:this.t("ModelPlacement.SHOULDER"),pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:this.t("ModelPlacement.WAISTBAND"),pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:this.t("ModelPlacement.HAND"),pointList:[{type:"handLeft",color:"#d88e8e",show:!0,field:"hand"},{type:"handRight",color:"#d88e8e",show:!0,field:"hand"}]}];for(let o of this.pointList)for(let t of o.pointList)if(this.printObject[t.type]?.length){t.show=!1;let o={left:this.printObject[t.type][0]*e.width-12,top:this.printObject[t.type][1]*e.height-12,color:t.color,type:t.type,field:t.field};this.locationList.push(o)}"setPoint"!=t?(this.isSubmit=!0,this.oldLocationList=JSON.parse(JSON.stringify(this.locationList)),this.oldPointList=JSON.parse(JSON.stringify(this.pointList))):(this.option.canScale=!0,this.option.canMove=!0)},setPoint(){let e=this.printObject.file,t=this.printObject.url;this.printObject={shoulderLeft:[.3338,.1858],shoulderRight:[.6644,.1858],waistbandLeft:[.3758,.364],waistbandRight:[.6103,.364],handLeft:[.3277,.4687],handRight:[.6764,.4715],file:e,url:t},this.getDefaultPointList(this.imgBox,"setPoint")},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],n=o.scrollTop;this.intObj?(this.currentSign.left=e.clientX-this.imgBox.left,this.currentSign.top=e.clientY+n-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.clientX-this.imgBox.left-this.imgBox.x-this.moveOriginal.posX-12,this.currentSign.top=e.clientY+n-this.imgBox.top-this.imgBox.y-this.moveOriginal.posY-12,document.addEventListener("mouseup",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign())},setBoundarySign(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=this.$refs.cropper.getCropAxis().y1,n=this.$refs.cropper.getCropAxis().x1,i=t.offsetHeight,l=i-24,a=t.clientWidth-24;this.currentSign.top+o<=0?this.currentSign.top=0:this.currentSign.top>=l+o&&(this.currentSign.top=l+o),this.currentSign.left+n<=0?this.currentSign.left=0:this.currentSign.left>=a+n&&(this.currentSign.left=a+n)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.type==o.type){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=0,this.moveOriginal.posY=0,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("mouseup",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""):_t.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""}})},restoreLocationList(){this.locationList=[],this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){let e=this.$refs.cropper;"System"==this.modelType&&88==this.userInfo.userId||83==this.userInfo.userId?this.printObject.templateId?(this.printObject.id=this.printObject.relationId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1})):e.getCropData((async e=>{if(this.printObject.templateId)this.printObject.id=this.printObject.relationId,this.confrimSubmit();else{let t=(0,bt._x)(e,this.printObject.file.name);t.uid=this.printObject.file.uid,this.printObject.file=t,this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))}}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,level1Type:"Models",level2Type:"",checkMd5:1,sex:this.sex,modelType:"Library",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return 88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType,e.sex=this.sex),this.isShowMark=!0,new Promise(((t,o)=>{gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,i)=>{_t.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{i(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},n={},i=JSON.parse(JSON.stringify(this.locationList));for(let l of i)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,i)=>{o.type=i?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),n[o.type]=[o.left,o.top]}));return n},sortBy(e){return function(t,o){return t[e]-o[e]}},printPreview(){let e=this.printObject.templateId?null:this.printObject.file,t={libraryId:this.printObject.libraryId||null,templateId:this.printObject.templateId||null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()},o=new FormData;o.append("file",e),o.append("models",new Blob([JSON.stringify(t)],{type:"application/json"})),this.isShowMark||(this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.libraryModelsDot,o,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{this.perviewUrl=e,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1})))},backPreview(){this.perviewUrl=""}}}),Ot=o(3744);const Lt=(0,Ot.Z)(Ct,[["render",vt]]);var Pt=Lt;const Ut={class:"setLabel_centent"},jt={class:"optionsItem"},It={class:"setLabel_text"},Ft=["title"],Tt=["onClick"],Mt=["onClick"],Et={class:"childrenItem active"},Nt=["title"],Dt=["onClick"],Ht=["onClick"],Rt={class:"newLabel setLabel_text"},Bt=["onClick"],zt=["onClick"],$t={class:"newLabel setLabel_text optionsItem_title"};function At(e,t,o,a,r,s){const c=(0,n.up)("a-checkbox"),u=(0,n.up)("a-modal"),d=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.j4)(u,{class:"library_setLabel",visible:e.setLabelShow,"onUpdate:visible":t[7]||(t[7]=t=>e.setLabelShow=t),footer:null,title:"Edit tag",width:"65%",maskClosable:!1,centered:!0,onCancel:e.clearSetLabel},{default:(0,n.w5)((()=>[(0,n._)("div",Ut,[(0,n._)("ul",jt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.options,((o,a)=>((0,n.wg)(),(0,n.iD)("li",{class:"optionsItem_title",key:o.id},[(0,n._)("div",It,[(0,n.Wm)(c,{checked:o.checkAll,"onUpdate:checked":e=>o.checkAll=e,onChange:t=>e.onCheckAllChange(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,n.wy)((0,n._)("span",{title:o.classificationName},(0,i.zw)(o.classificationName),9,Ft),[[l.F8,!o.openType]]),(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.itemName=t)},null,512),[[l.F8,o.openType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Tt),[[l.F8,o.openType]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"put",o)),["stop"]),class:"fi fi-rr-edit"},null,8,Mt),[[l.F8,!o.openType]])]),(0,n.wy)(((0,n.wg)(),(0,n.iD)("ul",Et,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(o.childList,((a,r)=>((0,n.wg)(),(0,n.iD)("li",{class:"childrenItem_title setLabel_text",key:a.id},[(0,n.Wm)(c,{checked:a.checkAll,"onUpdate:checked":e=>a.checkAll=e,onChange:t=>e.onCheckAllchildrenItem(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,n.wy)((0,n._)("span",{title:a.classificationName},(0,i.zw)(a.classificationName),9,Nt),[[l.F8,!a.openType]]),(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.itemName=t)},null,512),[[l.F8,a.openType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"affirm",a)),["stop"]),class:"fi fi-br-check"},null,8,Dt),[[l.F8,a.openType]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"put",a)),["stop"]),class:"fi fi-rr-edit"},null,8,Ht),[[l.F8,!a.openType]])])))),128)),(0,n._)("li",Rt,[(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.itemName=t)},null,512),[[l.F8,o.addOpenType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:(0,l.iM)((t=>e.putName(-1,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Bt),[[l.F8,o.addOpenType]]),(0,n.wy)((0,n._)("div",{class:"addLabel",onClick:t=>e.newLabel(o,o.id)},"+",8,zt),[[l.F8,!o.addOpenType]])])])),[[d]])])))),128)),(0,n._)("li",$t,[(0,n._)("div",null,[(0,n.wy)((0,n._)("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.itemName=t)},null,512),[[l.F8,e.openType],[l.nr,e.itemName]]),(0,n.wy)((0,n._)("i",{onClick:t[4]||(t[4]=(0,l.iM)((t=>e.putName(-1,"affirm","")),["stop"])),class:"fi fi-br-check"},null,512),[[l.F8,e.openType]]),(0,n.wy)((0,n._)("div",{class:"addLabel",onClick:t[5]||(t[5]=t=>e.newLabel("",""))},"+",512),[[l.F8,!e.openType]])]),(0,n._)("div",{class:"started_btn",onClick:t[6]||(t[6]=t=>e.removeLabel(e.options))},"删除")])])])])),_:1},8,["visible","onCancel"])}var Vt=o(1446),Zt=(0,n.aZ)({components:{VueCropper:wt.AK},setup(){let e=(0,Te.iH)(!1),t=(0,Te.iH)(!0),o=(0,Te.iH)([]),i=(0,n.f3)("type"),l=(0,Te.iH)([]),a=(0,Te.iH)(!1),r=(0,Te.iH)(""),{t:s}=(0,xt.QT)();return{multiple:e,indeterminate:t,value:(0,Te.iH)([]),options:o,checkedList:l,openType:a,type:i,itemName:r,t:s}},data(){return{setLabelShow:!1}},mounted(){},watch:{},directives:{mousewheel:{mounted(e){let t=document.getElementsByClassName("setLabel_centent")[0];(0,n.Y3)().then((()=>{let o=document.getElementsByClassName("childrenItem"),n=e=>{e.stopPropagation(),t.classList.add("active")},i=e=>{e.stopPropagation(),t.classList.remove("active")};for(let e=0;e{let o=0;o=t.deltaY>0?25:-25,e.scrollBy(o,0)}),!0)}))}}},methods:{init(e,t){this.setLabelShow=!0,this.multiple="add"!==e,this.clearOpenType(),this.options=t},clearSetLabel(){this.clearOpenType();let e=this.$parent;e.getClass()},onCheckAllChange(e){e?.childList&&e?.childList.forEach((t=>{t.checkAll=e.checkAll}))},onCheckAllchildrenItem(e){let t=e?.childList.every((e=>e.checkAll));e.checkAll=!!t},clearOpenType(){this.options.forEach((e=>{e.openType=!1,e.addOpenType=!1,e?.childList&&e?.childList?.forEach((e=>{e.openType=!1}))})),this.openType=!1},putName(e,t,o){let n;if("put"==t)this.clearOpenType(),o.openType=!0,this.itemName=o.classificationName;else if("affirm"==t){if(-1==e){if(""==this.itemName)return void Vt.ZP.warning(this.t("Habit.jsContent2"));o?(o.addOpenType=!1,n={classificationName:this.itemName,parentId:o.id}):(this.openType=!1,n={classificationName:this.itemName,parentId:""})}else n={id:o.id,classificationName:this.itemName},o.classificationName=this.itemName,o.openType=!1;this.addLabel(n)}},newLabel(e,t){this.itemName="",this.clearOpenType(),e?e.addOpenType=!0:this.openType=!0},removeLabel(e){let t={classificationIdList:[],deleteConfirm:0},o=[];this.clearOpenType(),e.forEach((e=>{e.checkAll?o.push(e.id):e.childList&&e.childList.forEach((e=>{e.checkAll&&o.push(e.id)}))})),t.classificationIdList=o,this.deleteClass(t)},addLabel(e){let t=this.setLabelData();e.parentId&&(t.parentId=e.parentId),e.id&&(t.id=e.id),t.classificationName=e.classificationName,gt.V.axiosPost(gt.V.httpUrls.saveOrUpdate,t).then((e=>{this.getClass()})).catch((e=>{}))},deleteClass(e){gt.V.axiosPost(gt.V.httpUrls.classificationDelete,e).then((e=>{this.getClass()})).catch((t=>{if(1===t.errCode){let o=this;_t.Z.confirm({title:t.errMsg,icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.deleteConfirm=1,o.deleteClass(e)},onCancel(){}})}}))},getClass(){let e=this.setLabelData();gt.V.axiosPost(gt.V.httpUrls.queryClassification,e).then((e=>{this.options=e})).catch((e=>{}))},setLabelData(){let e={classificationIdList:[],classificationName:"123221",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.type?.selectCode._value,updateTime:"",userId:""};return e}}});const Yt=(0,Ot.Z)(Zt,[["render",At]]);var Wt=Yt;const qt=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),Kt=[qt],Gt={class:"models_placement_body"},Jt={class:"palcement_modal_header"},Xt={class:"models_placement_title"},Qt={class:"placement_operate_list"},eo=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),to={class:"operate_item_des"},oo=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),no={class:"operate_item_des"},io=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),lo={class:"operate_item_des"},ao=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),ro={class:"operate_item_des"},so={key:0,class:"plcaement_point_content"},co={class:"ponit_title"},uo={class:"point_list"},po=["onTouchstart"],mo={class:"placement_content_operate_list"},ho=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),fo=(0,n._)("div",{class:"placement_content_operate_des"},"Remove Point",-1),vo=[ho,fo],go=(0,n._)("div",{class:"placement_tip_content"},"Please change the pure white inside the mannequin for another color to enhance your experience",-1),bo={class:"img_preview_block"},yo={class:"perview_mark_loading"},wo={class:"img_content_block",ref:"imgbox"},So=["src"],_o=["onTouchstart"],ko={class:"icon iconfont icon-guanbi"};function xo(e,t,o,a,r,s){const c=(0,n.up)("a-spin"),u=(0,n.up)("a-modal");return(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(u,{class:"models_placement_mobile_component",visible:e.placementShow,"onUpdate:visible":t[8]||(t[8]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,centered:!0},{closeIcon:(0,n.w5)((()=>[(0,n._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},Kt)])),default:(0,n.w5)((()=>[(0,n._)("div",Gt,[(0,n._)("div",Jt,[(0,n._)("div",Xt,(0,i.zw)(e.$t("ModelPlacementMobile.Registration")),1),(0,n._)("div",Qt,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[eo,(0,n._)("div",to,(0,i.zw)(e.$t("ModelPlacementMobile.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[oo,(0,n._)("div",no,(0,i.zw)(e.$t("ModelPlacementMobile.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[io,(0,n._)("div",lo,(0,i.zw)(e.$t("ModelPlacementMobile.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,n._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[ao,(0,n._)("div",ro,(0,i.zw)(e.$t("ModelPlacementMobile.Restore")),1)])])]),(0,n._)("div",{class:"models_placement_content",onTouchmove:t[7]||(t[7]=t=>e.startMove(t))},[88==e.userInfo.userId||83==e.userInfo.userId?((0,n.wg)(),(0,n.iD)("div",so,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.pointList,((t,o)=>((0,n.wg)(),(0,n.iD)("div",{class:"placement_point_item",key:o},[(0,n._)("div",co,(0,i.zw)(t.title),1),(0,n._)("div",uo,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.pointList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"point_item",key:t.color,style:(0,i.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onTouchstart:o=>e.AddDian(t)},[(0,n._)("div",{class:"point_block",style:(0,i.j5)({background:t.color})},null,4)],44,po)))),128))])])))),128))])):(0,n.kq)("",!0),(0,n._)("div",mo,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[5]||(t[5]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},vo)]),go,(0,n._)("div",bo,[(0,n.wy)((0,n._)("div",yo,[(0,n.Wm)(c,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",wo,[(0,n._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,So),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.locationList,((o,a)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,i.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onTouchstart:t=>e.getMouseDown(t,o,a),onTouchmove:t[6]||(t[6]=t=>e.startMove(t))},[(0,n.wy)((0,n._)("div",{class:"placement_add_point_content",style:(0,i.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,n.wy)((0,n._)("div",ko,null,512),[[l.F8,e.isRemoveStatus]])],46,_o)))),128))],512)])],32)])])),_:1},8,["visible"])],512)),[[l.F8,e.placementShow]])}var Co=(0,n.aZ)({setup(){const e=(0,St.oR)();let t=(0,Te.iH)([]),o=(0,Te.iH)([]),n=(0,Te.iH)({}),i=(0,Te.iH)({}),l=(0,Te.iH)(null),a=(0,Te.iH)({}),r=(0,Te.iH)([]),s=(0,Te.iH)([]),c=(0,Te.iH)(!1),u=(0,Te.iH)(!1),d=(0,Te.iH)();return{store:e,oldLocationList:t,locationList:o,printObject:n,imgBox:i,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library",sex:"Male",sexList:[]}},mounted(){let e=(0,yt.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex()},methods:{formatter(e){return`${e}%`},showPlacementModal(e){this.placementShow=!0,this.printObject={...e},setTimeout((()=>{let e=this.$refs.imgbox,t=e.getBoundingClientRect();this.imgBox={width:e.clientWidth,height:e.scrollHeight,left:t.left,top:t.top,scrollTop:e.scrollTop||0},this.getDefaultPointList(this.imgBox)}),400)},getSex(){gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.sex=t[0].value,this.sexList=t}}))},getDefaultPointList(e){if(this.isSubmit=!1,this.pointList=[{title:"SHOULDER",pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:"WAISTBAND",pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:"HAND",pointList:[{type:"handLeft",color:"#CCFF7B",show:!0,field:"hand"},{type:"handRight",color:"#CCFF7B",show:!0,field:"hand"}]}],this.printObject.templateId){this.isSubmit=!0;for(let t of this.pointList)for(let o of t.pointList)if(this.printObject[o.type]?.length){o.show=!1;let t={left:this.printObject[o.type][0]*e.width-12,top:this.printObject[o.type][1]*e.height-12,color:o.color,type:o.type,field:o.field};this.locationList.push(t)}this.oldLocationList=JSON.parse(JSON.stringify(this.locationList))}this.oldPointList=JSON.parse(JSON.stringify(this.pointList))},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.scrollTop;e.targetTouches[0].pageX>this.imgBox.left&&(this.intObj?(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left-this.moveOriginal.posX,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top-this.moveOriginal.posY,document.addEventListener("touchend",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign()))},setBoundarySign(){let e=this.$refs.imgbox,t=e.offsetHeight+e.scrollTop,o=t-24,n=e.clientWidth-24;this.currentSign.top<=0?this.currentSign.top=0:this.currentSign.top>=o&&(this.currentSign.top=o),this.currentSign.left<=0?this.currentSign.left=0:this.currentSign.left>=n&&(this.currentSign.left=n)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.id==o.id){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=e.targetTouches[0].pageX-this.imgBox.left-this.currentSign.left,this.moveOriginal.posY=e.targetTouches[0].pageY-this.imgBox.top-this.currentSign.top,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("touchend",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1):_t.Z.confirm({title:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?",icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1}})},restoreLocationList(){this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){this.printObject.templateId?(this.printObject.id=this.printObject.libraryId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,checkMd5:1,level1Type:"Models",sex:this.sex,modelType:"",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return this.isShowMark=!0,88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType,e.sex=this.sex),new Promise(((t,o)=>{gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,i)=>{_t.Z.confirm({title:"This picture has been uploaded whether to continue uploading? ",icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{i(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},n={},i=JSON.parse(JSON.stringify(this.locationList));for(let l of i)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,i)=>{o.type=i?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),n[o.type]=[o.left,o.top]}));return n},sortBy(e){return function(t,o){return t[e]-o[e]}},printPreview(){},backPreview(){this.perviewUrl=""}}});const Oo=(0,Ot.Z)(Co,[["render",xo]]);var Lo=Oo,Po=o(3914),Uo=o(4873),jo=o(8652),Io=o(6409);var Fo;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const To="undefined"!==typeof window,Mo=(Object.prototype.toString,e=>"string"===typeof e),Eo=()=>{},No=To&&(null==(Fo=null==window?void 0:window.navigator)?void 0:Fo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Do(e){return"function"===typeof e?e():(0,Te.SU)(e)}function Ho(e){return e}function Ro(e){return!!(0,Te.nZ)()&&((0,Te.EB)(e),!0)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Bo(e,t=!0){(0,n.FN)()?(0,n.bv)(e):t?e():(0,n.Y3)(e)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function zo(e){var t;const o=Do(e);return null!=(t=null==o?void 0:o.$el)?t:o}const $o=To?window:void 0;To&&window.document,To&&window.navigator,To&&window.location;function Ao(...e){let t,o,i,l;if(Mo(e[0])||Array.isArray(e[0])?([o,i,l]=e,t=$o):[t,o,i,l]=e,!t)return Eo;Array.isArray(o)||(o=[o]),Array.isArray(i)||(i=[i]);const a=[],r=()=>{a.forEach((e=>e())),a.length=0},s=(e,t,o,n)=>(e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)),c=(0,n.YP)((()=>[zo(t),Do(l)]),(([e,t])=>{r(),e&&a.push(...o.flatMap((o=>i.map((n=>s(e,o,n,t))))))}),{immediate:!0,flush:"post"}),u=()=>{c(),r()};return Ro(u),u}let Vo=!1;function Zo(e,t,o={}){const{window:n=$o,ignore:i=[],capture:l=!0,detectIframe:a=!1}=o;if(!n)return;No&&!Vo&&(Vo=!0,Array.from(n.document.body.children).forEach((e=>e.addEventListener("click",Eo))));let r=!0;const s=e=>i.some((t=>{if("string"===typeof t)return Array.from(n.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const o=zo(t);return o&&(e.target===o||e.composedPath().includes(o))}})),c=o=>{const n=zo(e);n&&n!==o.target&&!o.composedPath().includes(n)&&(0===o.detail&&(r=!s(o)),r?t(o):r=!0)},u=[Ao(n,"click",c,{passive:!0,capture:l}),Ao(n,"pointerdown",(t=>{const o=zo(e);o&&(r=!t.composedPath().includes(o)&&!s(t))}),{passive:!0}),a&&Ao(n,"blur",(o=>{var i;const l=zo(e);"IFRAME"!==(null==(i=n.document.activeElement)?void 0:i.tagName)||(null==l?void 0:l.contains(n.document.activeElement))||t(o)}))].filter(Boolean),d=()=>u.forEach((e=>e()));return d}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Yo(e,t=!1){const o=(0,Te.iH)(),n=()=>o.value=Boolean(e());return n(),Bo(n,t),o}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Wo="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},qo="__vueuse_ssr_handlers__";Wo[qo]=Wo[qo]||{};Wo[qo];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Ko(e,t,{window:o=$o,initialValue:i=""}={}){const l=(0,Te.iH)(i),a=(0,n.Fl)((()=>{var e;return zo(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return(0,n.YP)([a,()=>Do(e)],(([e,t])=>{var n;if(e&&o){const a=null==(n=o.getComputedStyle(e).getPropertyValue(t))?void 0:n.trim();l.value=a||i}}),{immediate:!0}),(0,n.YP)(l,(t=>{var o;(null==(o=a.value)?void 0:o.style)&&a.value.style.setProperty(Do(e),t)})),l}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Go=Object.getOwnPropertySymbols,Jo=Object.prototype.hasOwnProperty,Xo=Object.prototype.propertyIsEnumerable,Qo=(e,t)=>{var o={};for(var n in e)Jo.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&Go)for(var n of Go(e))t.indexOf(n)<0&&Xo.call(e,n)&&(o[n]=e[n]);return o};function en(e,t,o={}){const i=o,{window:l=$o}=i,a=Qo(i,["window"]);let r;const s=Yo((()=>l&&"ResizeObserver"in l)),c=()=>{r&&(r.disconnect(),r=void 0)},u=(0,n.YP)((()=>zo(e)),(e=>{c(),s.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Ro(d),{isSupported:s,stop:d}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new Map;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var tn;(function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"})(tn||(tn={}));Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var on=Object.defineProperty,nn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,rn=(e,t,o)=>t in e?on(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,sn=(e,t)=>{for(var o in t||(t={}))ln.call(t,o)&&rn(e,o,t[o]);if(nn)for(var o of nn(t))an.call(t,o)&&rn(e,o,t[o]);return e};const cn={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};sn({linear:Ho},cn);var un=o(576),dn=o(626),pn=1/0;function mn(e){var t=null==e?0:e.length;return t?(0,dn.Z)(e,pn):[]}var hn=mn;const fn=4,vn={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},gn=({move:e,size:t,bar:o})=>({[o.size]:t,transform:`translate${o.axis}(${e}%)`}),bn=Symbol("scrollbarContextKey");var yn=o(5937);const wn="__epPropKey",Sn=e=>e,_n=e=>(0,i.Kn)(e)&&!!e[wn],kn=(e,t)=>{if(!(0,i.Kn)(e)||_n(e))return e;const{values:o,required:l,default:a,type:r,validator:s}=e,c=o||s?l=>{let r=!1,c=[];if(o&&(c=Array.from(o),(0,i.RI)(e,"default")&&c.push(a),r||(r=c.includes(l))),s&&(r||(r=s(l))),!r&&c.length>0){const e=[...new Set(c)].map((e=>JSON.stringify(e))).join(", ");(0,n.ZK)(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(l)}.`)}return r}:void 0,u={type:r,required:!!l,validator:c,[wn]:!0};return(0,i.RI)(e,"default")&&(u.default=a),u},xn=e=>(0,yn.Z)(Object.entries(e).map((([e,t])=>[e,kn(t,e)]))),Cn=xn({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var On=(e,t)=>{const o=e.__vccOpts||e;for(const[n,i]of t)o[n]=i;return o};const Ln="el",Pn="is-",Un=(e,t,o,n,i)=>{let l=`${e}-${t}`;return o&&(l+=`-${o}`),n&&(l+=`__${n}`),i&&(l+=`--${i}`),l},jn=Symbol("namespaceContextKey"),In=e=>{const t=e||((0,n.FN)()?(0,n.f3)(jn,(0,Te.iH)(Ln)):(0,Te.iH)(Ln)),o=(0,n.Fl)((()=>(0,Te.SU)(t)||Ln));return o},Fn=(e,t)=>{const o=In(t),n=(t="")=>Un(o.value,e,t,"",""),i=t=>t?Un(o.value,e,"",t,""):"",l=t=>t?Un(o.value,e,"","",t):"",a=(t,n)=>t&&n?Un(o.value,e,t,n,""):"",r=(t,n)=>t&&n?Un(o.value,e,"",t,n):"",s=(t,n)=>t&&n?Un(o.value,e,t,"",n):"",c=(t,n,i)=>t&&n&&i?Un(o.value,e,t,n,i):"",u=(e,...t)=>{const o=!(t.length>=1)||t[0];return e&&o?`${Pn}${e}`:""},d=e=>{const t={};for(const n in e)e[n]&&(t[`--${o.value}-${n}`]=e[n]);return t},p=t=>{const n={};for(const i in t)t[i]&&(n[`--${o.value}-${e}-${i}`]=t[i]);return n},m=e=>`--${o.value}-${e}`,h=t=>`--${o.value}-${e}-${t}`;return{namespace:o,b:n,e:i,m:l,be:a,em:r,bm:s,bem:c,is:u,cssVar:d,cssVarName:m,cssVarBlock:p,cssVarBlockName:h}};class Tn extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Mn(e,t){throw new Tn(`[${e}] ${t}`)}function En(e,t){0}const Nn="Thumb",Dn=(0,n.aZ)({__name:"thumb",props:Cn,setup(e){const t=e,o=(0,n.f3)(bn),a=Fn("scrollbar");o||Mn(Nn,"can not inject scrollbar context");const r=(0,Te.iH)(),s=(0,Te.iH)(),c=(0,Te.iH)({}),u=(0,Te.iH)(!1);let d=!1,p=!1,m=To?document.onselectstart:null;const h=(0,n.Fl)((()=>vn[t.vertical?"vertical":"horizontal"])),f=(0,n.Fl)((()=>gn({size:t.size,move:t.move,bar:h.value}))),v=(0,n.Fl)((()=>r.value[h.value.offset]**2/o.wrapElement[h.value.scrollSize]/t.ratio/s.value[h.value.offset])),g=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),y(e);const o=e.currentTarget;o&&(c.value[h.value.axis]=o[h.value.offset]-(e[h.value.client]-o.getBoundingClientRect()[h.value.direction]))},b=e=>{if(!s.value||!r.value||!o.wrapElement)return;const t=Math.abs(e.target.getBoundingClientRect()[h.value.direction]-e[h.value.client]),n=s.value[h.value.offset]/2,i=100*(t-n)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=i*o.wrapElement[h.value.scrollSize]/100},y=e=>{e.stopImmediatePropagation(),d=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),m=document.onselectstart,document.onselectstart=()=>!1},w=e=>{if(!r.value||!s.value)return;if(!1===d)return;const t=c.value[h.value.axis];if(!t)return;const n=-1*(r.value.getBoundingClientRect()[h.value.direction]-e[h.value.client]),i=s.value[h.value.offset]-t,l=100*(n-i)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=l*o.wrapElement[h.value.scrollSize]/100},S=()=>{d=!1,c.value[h.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S),x(),p&&(u.value=!1)},_=()=>{p=!1,u.value=!!t.size},k=()=>{p=!0,u.value=d};(0,n.Jd)((()=>{x(),document.removeEventListener("mouseup",S)}));const x=()=>{document.onselectstart!==m&&(document.onselectstart=m)};return Ao((0,Te.Vh)(o,"scrollbarElement"),"mousemove",_),Ao((0,Te.Vh)(o,"scrollbarElement"),"mouseleave",k),(e,t)=>((0,n.wg)(),(0,n.j4)(l.uT,{name:(0,Te.SU)(a).b("fade"),persisted:""},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",{ref_key:"instance",ref:r,class:(0,i.C_)([(0,Te.SU)(a).e("bar"),(0,Te.SU)(a).is((0,Te.SU)(h).key)]),onMousedown:b},[(0,n._)("div",{ref_key:"thumb",ref:s,class:(0,i.C_)((0,Te.SU)(a).e("thumb")),style:(0,i.j5)((0,Te.SU)(f)),onMousedown:g},null,38)],34),[[l.F8,e.always||u.value]])])),_:1},8,["name"]))}});var Hn=On(Dn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Rn=xn({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Bn=(0,n.aZ)({__name:"bar",props:Rn,setup(e,{expose:t}){const o=e,i=(0,Te.iH)(0),l=(0,Te.iH)(0),a=e=>{if(e){const t=e.offsetHeight-fn,n=e.offsetWidth-fn;l.value=100*e.scrollTop/t*o.ratioY,i.value=100*e.scrollLeft/n*o.ratioX}};return t({handleScroll:a}),(e,t)=>((0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(Hn,{move:i.value,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),(0,n.Wm)(Hn,{move:l.value,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var zn=On(Bn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const $n=e=>void 0===e,An=e=>"boolean"===typeof e,Vn=e=>"number"===typeof e,Zn=e=>!e&&0!==e||(0,i.kJ)(e)&&0===e.length||(0,i.Kn)(e)&&!Object.keys(e).length,Yn=e=>"undefined"!==typeof Element&&e instanceof Element,Wn=e=>!!(0,i.HD)(e)&&!Number.isNaN(Number(e)),qn=xn({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Sn([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),Kn={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Vn)},Gn="utils/dom/style";function Jn(e,t="px"){return e?Vn(e)||Wn(e)?`${e}${t}`:(0,i.HD)(e)?e:void En(Gn,"binding value must be a string or number"):""}const Xn="ElScrollbar",Qn=(0,n.aZ)({name:Xn}),ei=(0,n.aZ)({...Qn,props:qn,emits:Kn,setup(e,{expose:t,emit:o}){const l=e,a=Fn("scrollbar");let r,s;const c=(0,Te.iH)(),u=(0,Te.iH)(),d=(0,Te.iH)(),p=(0,Te.iH)("0"),m=(0,Te.iH)("0"),h=(0,Te.iH)(),f=(0,Te.iH)(1),v=(0,Te.iH)(1),g=(0,n.Fl)((()=>{const e={};return l.height&&(e.height=Jn(l.height)),l.maxHeight&&(e.maxHeight=Jn(l.maxHeight)),[l.wrapStyle,e]})),b=(0,n.Fl)((()=>[l.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!l.native}])),y=(0,n.Fl)((()=>[a.e("view"),l.viewClass])),w=()=>{var e;u.value&&(null==(e=h.value)||e.handleScroll(u.value),o("scroll",{scrollTop:u.value.scrollTop,scrollLeft:u.value.scrollLeft}))};function S(e,t){(0,i.Kn)(e)?u.value.scrollTo(e):Vn(e)&&Vn(t)&&u.value.scrollTo(e,t)}const _=e=>{Vn(e)?u.value.scrollTop=e:En(Xn,"value must be a number")},k=e=>{Vn(e)?u.value.scrollLeft=e:En(Xn,"value must be a number")},x=()=>{if(!u.value)return;const e=u.value.offsetHeight-fn,t=u.value.offsetWidth-fn,o=e**2/u.value.scrollHeight,n=t**2/u.value.scrollWidth,i=Math.max(o,l.minSize),a=Math.max(n,l.minSize);f.value=o/(e-o)/(i/(e-i)),v.value=n/(t-n)/(a/(t-a)),m.value=i+fnl.noresize),(e=>{e?(null==r||r(),null==s||s()):(({stop:r}=en(d,x)),s=Ao("resize",x))}),{immediate:!0}),(0,n.YP)((()=>[l.maxHeight,l.height]),(()=>{l.native||(0,n.Y3)((()=>{var e;x(),u.value&&(null==(e=h.value)||e.handleScroll(u.value))}))})),(0,n.JJ)(bn,(0,Te.qj)({scrollbarElement:c,wrapElement:u})),(0,n.bv)((()=>{l.native||(0,n.Y3)((()=>{x()}))})),(0,n.ic)((()=>x())),t({wrapRef:u,update:x,scrollTo:S,setScrollTop:_,setScrollLeft:k,handleScroll:w}),(e,t)=>((0,n.wg)(),(0,n.iD)("div",{ref_key:"scrollbarRef",ref:c,class:(0,i.C_)((0,Te.SU)(a).b())},[(0,n._)("div",{ref_key:"wrapRef",ref:u,class:(0,i.C_)((0,Te.SU)(b)),style:(0,i.j5)((0,Te.SU)(g)),onScroll:w},[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.tag),{id:e.id,ref_key:"resizeRef",ref:d,class:(0,i.C_)((0,Te.SU)(y)),style:(0,i.j5)(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),e.native?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.j4)(zn,{key:0,ref_key:"barRef",ref:h,height:m.value,width:p.value,always:e.always,"ratio-x":v.value,"ratio-y":f.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var ti=On(ei,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const oi=(e,t)=>{if(e.install=o=>{for(const n of[e,...Object.values(null!=t?t:{})])o.component(n.name,n)},t)for(const[o,n]of Object.entries(t))e[o]=n;return e},ni=e=>(e.install=i.dG,e),ii=oi(ti); /*! Element Plus Icons Vue v2.1.0 */ -var li=(e,t)=>{let o=e.__vccOpts||e;for(let[n,i]of t)o[n]=i;return o};var ai={name:"ArrowDown"},ri={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},si=(0,n._)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),ci=[si];function ui(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",ri,ci)}var di=li(ai,[["render",ui],["__file","arrow-down.vue"]]);var pi={name:"ArrowRight"},mi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},hi=(0,n._)("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),fi=[hi];function vi(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",mi,fi)}var gi=li(pi,[["render",vi],["__file","arrow-right.vue"]]);var bi={name:"Check"},yi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wi=(0,n._)("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),Si=[wi];function _i(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",yi,Si)}var ki=li(bi,[["render",_i],["__file","check.vue"]]);var xi={name:"CircleCheck"},Ci={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Oi=(0,n._)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Li=(0,n._)("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),Pi=[Oi,Li];function Ui(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Ci,Pi)}var ji=li(xi,[["render",Ui],["__file","circle-check.vue"]]);var Ii={name:"CircleClose"},Fi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ti=(0,n._)("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),Mi=(0,n._)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Ei=[Ti,Mi];function Ni(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Fi,Ei)}var Di=li(Ii,[["render",Ni],["__file","circle-close.vue"]]);var Hi={name:"Close"},Ri={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Bi=(0,n._)("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),zi=[Bi];function $i(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Ri,zi)}var Ai=li(Hi,[["render",$i],["__file","close.vue"]]);var Vi={name:"Hide"},Zi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Yi=(0,n._)("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),Wi=(0,n._)("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),qi=[Yi,Wi];function Ki(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Zi,qi)}var Gi=li(Vi,[["render",Ki],["__file","hide.vue"]]);var Ji={name:"Loading"},Xi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qi=(0,n._)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),el=[Qi];function tl(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Xi,el)}var ol=li(Ji,[["render",tl],["__file","loading.vue"]]);var nl={name:"View"},il={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ll=(0,n._)("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),al=[ll];function rl(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",il,al)}var sl=li(nl,[["render",rl],["__file","view.vue"]]);const cl=xn({size:{type:Sn([Number,String])},color:{type:String}}),ul=(0,n.aZ)({name:"ElIcon",inheritAttrs:!1}),dl=(0,n.aZ)({...ul,props:cl,setup(e){const t=e,o=Fn("icon"),i=(0,n.Fl)((()=>{const{size:e,color:o}=t;return e||o?{fontSize:$n(e)?void 0:Jn(e),"--color":o}:{}}));return(e,t)=>((0,n.wg)(),(0,n.iD)("i",(0,n.dG)({class:(0,Te.SU)(o).b(),style:(0,Te.SU)(i)},e.$attrs),[(0,n.WI)(e.$slots,"default")],16))}});var pl=On(dl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ml=oi(pl),hl=["","default","small","large"],fl=kn({type:String,values:hl,required:!1}),vl=Symbol("size"),gl=()=>{const e=(0,n.f3)(vl,{});return(0,n.Fl)((()=>(0,Te.SU)(e.size)||""))},bl="update:modelValue",yl="change",wl={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:fl,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},Sl={[bl]:e=>(0,i.HD)(e)||Vn(e)||An(e),change:e=>(0,i.HD)(e)||Vn(e)||An(e)},_l=Symbol("checkboxGroupContextKey"),kl=Symbol("formContextKey"),xl=Symbol("formItemContextKey"),Cl=e=>{const t=(0,n.FN)();return(0,n.Fl)((()=>{var o,n;return null==(n=null==(o=null==t?void 0:t.proxy)?void 0:o.$props)?void 0:n[e]}))},Ol=(e,t={})=>{const o=(0,Te.iH)(void 0),i=t.prop?o:Cl("size"),l=t.global?o:gl(),a=t.form?{size:void 0}:(0,n.f3)(kl,void 0),r=t.formItem?{size:void 0}:(0,n.f3)(xl,void 0);return(0,n.Fl)((()=>i.value||(0,Te.SU)(e)||(null==r?void 0:r.size)||(null==a?void 0:a.size)||l.value||""))},Ll=e=>{const t=Cl("disabled"),o=(0,n.f3)(kl,void 0);return(0,n.Fl)((()=>t.value||(0,Te.SU)(e)||(null==o?void 0:o.disabled)||!1))},Pl=({model:e,isChecked:t})=>{const o=(0,n.f3)(_l,void 0),i=(0,n.Fl)((()=>{var n,i;const l=null==(n=null==o?void 0:o.max)?void 0:n.value,a=null==(i=null==o?void 0:o.min)?void 0:i.value;return!$n(l)&&e.value.length>=l&&!t.value||!$n(a)&&e.value.length<=a&&t.value})),l=Ll((0,n.Fl)((()=>(null==o?void 0:o.disabled.value)||i.value)));return{isDisabled:l,isLimitDisabled:i}},Ul={prefix:Math.floor(1e4*Math.random()),current:0},jl=Symbol("elIdInjection"),Il=()=>(0,n.FN)()?(0,n.f3)(jl,Ul):Ul,Fl=e=>{const t=Il();To||t!==Ul||En("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const o=In(),i=(0,n.Fl)((()=>(0,Te.SU)(e)||`${o.value}-id-${t.prefix}-${t.current++}`));return i},Tl=()=>{const e=(0,n.f3)(kl,void 0),t=(0,n.f3)(xl,void 0);return{form:e,formItem:t}},Ml=(e,{formItemContext:t,disableIdGeneration:o,disableIdManagement:i})=>{o||(o=(0,Te.iH)(!1)),i||(i=(0,Te.iH)(!1));const l=(0,Te.iH)();let a;const r=(0,n.Fl)((()=>{var o;return!!(!e.label&&t&&t.inputIds&&(null==(o=t.inputIds)?void 0:o.length)<=1)}));return(0,n.bv)((()=>{a=(0,n.YP)([(0,Te.Vh)(e,"id"),o],(([e,o])=>{const n=null!=e?e:o?void 0:Fl().value;n!==l.value&&((null==t?void 0:t.removeInputId)&&(l.value&&t.removeInputId(l.value),(null==i?void 0:i.value)||o||!n||t.addInputId(n)),l.value=n)}),{immediate:!0})})),(0,n.Ah)((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&l.value&&t.removeInputId(l.value)})),{isLabeledByFormItem:r,inputId:l}},El=(e,{model:t,isLimitExceeded:o,hasOwnLabel:i,isDisabled:l,isLabeledByFormItem:a})=>{const r=(0,n.f3)(_l,void 0),{formItem:s}=Tl(),{emit:c}=(0,n.FN)();function u(t){var o,n;return t===e.trueLabel||!0===t?null==(o=e.trueLabel)||o:null!=(n=e.falseLabel)&&n}function d(e,t){c("change",u(e),t)}function p(e){if(o.value)return;const t=e.target;c("change",u(t.checked),e)}async function m(r){if(!o.value&&!i.value&&!l.value&&a.value){const o=r.composedPath(),i=o.some((e=>"LABEL"===e.tagName));i||(t.value=u([!1,e.falseLabel].includes(t.value)),await(0,n.Y3)(),d(t.value,r))}}const h=(0,n.Fl)((()=>(null==r?void 0:r.validateEvent)||e.validateEvent));return(0,n.YP)((()=>e.modelValue),(()=>{h.value&&(null==s||s.validate("change").catch((e=>En(e))))})),{handleChange:p,onClickRoot:m}},Nl=e=>{const t=(0,Te.iH)(!1),{emit:o}=(0,n.FN)(),l=(0,n.f3)(_l,void 0),a=(0,n.Fl)((()=>!1===$n(l))),r=(0,Te.iH)(!1),s=(0,n.Fl)({get(){var o,n;return a.value?null==(o=null==l?void 0:l.modelValue)?void 0:o.value:null!=(n=e.modelValue)?n:t.value},set(e){var n,s;a.value&&(0,i.kJ)(e)?(r.value=void 0!==(null==(n=null==l?void 0:l.max)?void 0:n.value)&&e.length>(null==l?void 0:l.max.value),!1===r.value&&(null==(s=null==l?void 0:l.changeEvent)||s.call(l,e))):(o(bl,e),t.value=e)}});return{model:s,isGroup:a,isLimitExceeded:r}};function Dl(e){return null==e}var Hl=Dl;const Rl=(e,t,{model:o})=>{const l=(0,n.f3)(_l,void 0),a=(0,Te.iH)(!1),r=(0,n.Fl)((()=>{const t=o.value;return An(t)?t:(0,i.kJ)(t)?(0,i.Kn)(e.label)?t.map(Te.IU).some((t=>(0,un.Z)(t,e.label))):t.map(Te.IU).includes(e.label):null!==t&&void 0!==t?t===e.trueLabel:!!t})),s=Ol((0,n.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value})),{prop:!0}),c=Ol((0,n.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value}))),u=(0,n.Fl)((()=>!!t.default||!Hl(e.label)));return{checkboxButtonSize:s,isChecked:r,isFocused:a,checkboxSize:c,hasOwnLabel:u}},Bl=(e,{model:t})=>{function o(){(0,i.kJ)(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&o()},zl=(e,t)=>{const{formItem:o}=Tl(),{model:n,isGroup:i,isLimitExceeded:l}=Nl(e),{isFocused:a,isChecked:r,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u}=Rl(e,t,{model:n}),{isDisabled:d}=Pl({model:n,isChecked:r}),{inputId:p,isLabeledByFormItem:m}=Ml(e,{formItemContext:o,disableIdGeneration:u,disableIdManagement:i}),{handleChange:h,onClickRoot:f}=El(e,{model:n,isLimitExceeded:l,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:m});return Bl(e,{model:n}),{inputId:p,isLabeledByFormItem:m,isChecked:r,isDisabled:d,isFocused:a,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u,model:n,handleChange:h,onClickRoot:f}},$l=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],Al=["id","indeterminate","disabled","value","name","tabindex"],Vl=(0,n.aZ)({name:"ElCheckbox"}),Zl=(0,n.aZ)({...Vl,props:wl,emits:Sl,setup(e){const t=e,o=(0,n.Rr)(),{inputId:a,isLabeledByFormItem:r,isChecked:s,isDisabled:c,isFocused:u,checkboxSize:d,hasOwnLabel:p,model:m,handleChange:h,onClickRoot:f}=zl(t,o),v=Fn("checkbox"),g=(0,n.Fl)((()=>[v.b(),v.m(d.value),v.is("disabled",c.value),v.is("bordered",t.border),v.is("checked",s.value)])),b=(0,n.Fl)((()=>[v.e("input"),v.is("disabled",c.value),v.is("checked",s.value),v.is("indeterminate",t.indeterminate),v.is("focus",u.value)]));return(e,t)=>((0,n.wg)(),(0,n.j4)((0,n.LL)(!(0,Te.SU)(p)&&(0,Te.SU)(r)?"span":"label"),{class:(0,i.C_)((0,Te.SU)(g)),"aria-controls":e.indeterminate?e.controls:null,onClick:(0,Te.SU)(f)},{default:(0,n.w5)((()=>[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b))},[e.trueLabel||e.falseLabel?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,id:(0,Te.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(m)?m.value=e:null),class:(0,i.C_)((0,Te.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:(0,Te.SU)(c),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,Te.SU)(h)&&(0,Te.SU)(h)(...e)),onFocus:t[2]||(t[2]=e=>u.value=!0),onBlur:t[3]||(t[3]=e=>u.value=!1),onClick:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},null,42,$l)),[[l.e8,(0,Te.SU)(m)]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,id:(0,Te.SU)(a),"onUpdate:modelValue":t[5]||(t[5]=e=>(0,Te.dq)(m)?m.value=e:null),class:(0,i.C_)((0,Te.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:(0,Te.SU)(c),value:e.label,name:e.name,tabindex:e.tabindex,onChange:t[6]||(t[6]=(...e)=>(0,Te.SU)(h)&&(0,Te.SU)(h)(...e)),onFocus:t[7]||(t[7]=e=>u.value=!0),onBlur:t[8]||(t[8]=e=>u.value=!1),onClick:t[9]||(t[9]=(0,l.iM)((()=>{}),["stop"]))},null,42,Al)),[[l.e8,(0,Te.SU)(m)]]),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(v).e("inner"))},null,2)],2),(0,Te.SU)(p)?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Te.SU)(v).e("label"))},[(0,n.WI)(e.$slots,"default"),e.$slots.default?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)((0,i.zw)(e.label),1)],64))],2)):(0,n.kq)("v-if",!0)])),_:3},8,["class","aria-controls","onClick"]))}});var Yl=On(Zl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const Wl=["name","tabindex","disabled","true-value","false-value"],ql=["name","tabindex","disabled","value"],Kl=(0,n.aZ)({name:"ElCheckboxButton"}),Gl=(0,n.aZ)({...Kl,props:wl,emits:Sl,setup(e){const t=e,o=(0,n.Rr)(),{isFocused:a,isChecked:r,isDisabled:s,checkboxButtonSize:c,model:u,handleChange:d}=zl(t,o),p=(0,n.f3)(_l,void 0),m=Fn("checkbox"),h=(0,n.Fl)((()=>{var e,t,o,n;const i=null!=(t=null==(e=null==p?void 0:p.fill)?void 0:e.value)?t:"";return{backgroundColor:i,borderColor:i,color:null!=(n=null==(o=null==p?void 0:p.textColor)?void 0:o.value)?n:"",boxShadow:i?`-1px 0 0 0 ${i}`:void 0}})),f=(0,n.Fl)((()=>[m.b("button"),m.bm("button",c.value),m.is("disabled",s.value),m.is("checked",r.value),m.is("focus",a.value)]));return(e,t)=>((0,n.wg)(),(0,n.iD)("label",{class:(0,i.C_)((0,Te.SU)(f))},[e.trueLabel||e.falseLabel?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Te.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,Te.SU)(s),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,Te.SU)(d)&&(0,Te.SU)(d)(...e)),onFocus:t[2]||(t[2]=e=>a.value=!0),onBlur:t[3]||(t[3]=e=>a.value=!1),onClick:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},null,42,Wl)),[[l.e8,(0,Te.SU)(u)]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,"onUpdate:modelValue":t[5]||(t[5]=e=>(0,Te.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Te.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,Te.SU)(s),value:e.label,onChange:t[6]||(t[6]=(...e)=>(0,Te.SU)(d)&&(0,Te.SU)(d)(...e)),onFocus:t[7]||(t[7]=e=>a.value=!0),onBlur:t[8]||(t[8]=e=>a.value=!1),onClick:t[9]||(t[9]=(0,l.iM)((()=>{}),["stop"]))},null,42,ql)),[[l.e8,(0,Te.SU)(u)]]),e.$slots.default||e.label?((0,n.wg)(),(0,n.iD)("span",{key:2,class:(0,i.C_)((0,Te.SU)(m).be("button","inner")),style:(0,i.j5)((0,Te.SU)(r)?(0,Te.SU)(h):void 0)},[(0,n.WI)(e.$slots,"default",{},(()=>[(0,n.Uk)((0,i.zw)(e.label),1)]))],6)):(0,n.kq)("v-if",!0)],2))}});var Jl=On(Gl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]),Xl=o(6636);const Ql=xn({modelValue:{type:Sn(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:fl,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),ea={[bl]:e=>(0,i.kJ)(e),change:e=>(0,i.kJ)(e)},ta=(0,n.aZ)({name:"ElCheckboxGroup"}),oa=(0,n.aZ)({...ta,props:Ql,emits:ea,setup(e,{emit:t}){const o=e,l=Fn("checkbox"),{formItem:a}=Tl(),{inputId:r,isLabeledByFormItem:s}=Ml(o,{formItemContext:a}),c=async e=>{t(bl,e),await(0,n.Y3)(),t("change",e)},u=(0,n.Fl)({get(){return o.modelValue},set(e){c(e)}});return(0,n.JJ)(_l,{...(0,Xl.Z)((0,Te.BK)(o),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:u,changeEvent:c}),(0,n.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==a||a.validate("change").catch((e=>En(e))))})),(e,t)=>{var o;return(0,n.wg)(),(0,n.j4)((0,n.LL)(e.tag),{id:(0,Te.SU)(r),class:(0,i.C_)((0,Te.SU)(l).b("group")),role:"group","aria-label":(0,Te.SU)(s)?void 0:e.label||"checkbox-group","aria-labelledby":(0,Te.SU)(s)?null==(o=(0,Te.SU)(a))?void 0:o.labelId:void 0},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var na=On(oa,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ia=oi(Yl,{CheckboxButton:Jl,CheckboxGroup:na}),la=(ni(Jl),ni(na),xn({size:fl,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}})),aa=xn({...la,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),ra={[bl]:e=>(0,i.HD)(e)||Vn(e)||An(e),[yl]:e=>(0,i.HD)(e)||Vn(e)||An(e)},sa=Symbol("radioGroupKey"),ca=(e,t)=>{const o=(0,Te.iH)(),i=(0,n.f3)(sa,void 0),l=(0,n.Fl)((()=>!!i)),a=(0,n.Fl)({get(){return l.value?i.modelValue:e.modelValue},set(n){l.value?i.changeEvent(n):t&&t(bl,n),o.value.checked=e.modelValue===e.label}}),r=Ol((0,n.Fl)((()=>null==i?void 0:i.size))),s=Ll((0,n.Fl)((()=>null==i?void 0:i.disabled))),c=(0,Te.iH)(!1),u=(0,n.Fl)((()=>s.value||l.value&&a.value!==e.label?-1:0));return{radioRef:o,isGroup:l,radioGroup:i,focus:c,size:r,disabled:s,tabIndex:u,modelValue:a}},ua=["value","name","disabled"],da=(0,n.aZ)({name:"ElRadio"}),pa=(0,n.aZ)({...da,props:aa,emits:ra,setup(e,{emit:t}){const o=e,a=Fn("radio"),{radioRef:r,radioGroup:s,focus:c,size:u,disabled:d,modelValue:p}=ca(o,t);function m(){(0,n.Y3)((()=>t("change",p.value)))}return(e,t)=>{var o;return(0,n.wg)(),(0,n.iD)("label",{class:(0,i.C_)([(0,Te.SU)(a).b(),(0,Te.SU)(a).is("disabled",(0,Te.SU)(d)),(0,Te.SU)(a).is("focus",(0,Te.SU)(c)),(0,Te.SU)(a).is("bordered",e.border),(0,Te.SU)(a).is("checked",(0,Te.SU)(p)===e.label),(0,Te.SU)(a).m((0,Te.SU)(u))])},[(0,n._)("span",{class:(0,i.C_)([(0,Te.SU)(a).e("input"),(0,Te.SU)(a).is("disabled",(0,Te.SU)(d)),(0,Te.SU)(a).is("checked",(0,Te.SU)(p)===e.label)])},[(0,n.wy)((0,n._)("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(p)?p.value=e:null),class:(0,i.C_)((0,Te.SU)(a).e("original")),value:e.label,name:e.name||(null==(o=(0,Te.SU)(s))?void 0:o.name),disabled:(0,Te.SU)(d),type:"radio",onFocus:t[1]||(t[1]=e=>c.value=!0),onBlur:t[2]||(t[2]=e=>c.value=!1),onChange:m,onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"]))},null,42,ua),[[l.G2,(0,Te.SU)(p)]]),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(a).e("inner"))},null,2)],2),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(a).e("label")),onKeydown:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},[(0,n.WI)(e.$slots,"default",{},(()=>[(0,n.Uk)((0,i.zw)(e.label),1)]))],34)],2)}}});var ma=On(pa,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const ha=xn({...la,name:{type:String,default:""}}),fa=["value","name","disabled"],va=(0,n.aZ)({name:"ElRadioButton"}),ga=(0,n.aZ)({...va,props:ha,setup(e){const t=e,o=Fn("radio"),{radioRef:a,focus:r,size:s,disabled:c,modelValue:u,radioGroup:d}=ca(t),p=(0,n.Fl)((()=>({backgroundColor:(null==d?void 0:d.fill)||"",borderColor:(null==d?void 0:d.fill)||"",boxShadow:(null==d?void 0:d.fill)?`-1px 0 0 0 ${d.fill}`:"",color:(null==d?void 0:d.textColor)||""})));return(e,t)=>{var m;return(0,n.wg)(),(0,n.iD)("label",{class:(0,i.C_)([(0,Te.SU)(o).b("button"),(0,Te.SU)(o).is("active",(0,Te.SU)(u)===e.label),(0,Te.SU)(o).is("disabled",(0,Te.SU)(c)),(0,Te.SU)(o).is("focus",(0,Te.SU)(r)),(0,Te.SU)(o).bm("button",(0,Te.SU)(s))])},[(0,n.wy)((0,n._)("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Te.SU)(o).be("button","original-radio")),value:e.label,type:"radio",name:e.name||(null==(m=(0,Te.SU)(d))?void 0:m.name),disabled:(0,Te.SU)(c),onFocus:t[1]||(t[1]=e=>r.value=!0),onBlur:t[2]||(t[2]=e=>r.value=!1),onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"]))},null,42,fa),[[l.G2,(0,Te.SU)(u)]]),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(o).be("button","inner")),style:(0,i.j5)((0,Te.SU)(u)===e.label?(0,Te.SU)(p):{}),onKeydown:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},[(0,n.WI)(e.$slots,"default",{},(()=>[(0,n.Uk)((0,i.zw)(e.label),1)]))],38)],2)}}});var ba=On(ga,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const ya=xn({id:{type:String,default:void 0},size:fl,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),wa=ra,Sa=["id","aria-label","aria-labelledby"],_a=(0,n.aZ)({name:"ElRadioGroup"}),ka=(0,n.aZ)({..._a,props:ya,emits:wa,setup(e,{emit:t}){const o=e,l=Fn("radio"),a=Fl(),r=(0,Te.iH)(),{formItem:s}=Tl(),{inputId:c,isLabeledByFormItem:u}=Ml(o,{formItemContext:s}),d=e=>{t(bl,e),(0,n.Y3)((()=>t("change",e)))};(0,n.bv)((()=>{const e=r.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some((e=>e.checked))&&t&&(t.tabIndex=0)}));const p=(0,n.Fl)((()=>o.name||a.value));return(0,n.JJ)(sa,(0,Te.qj)({...(0,Te.BK)(o),changeEvent:d,name:p})),(0,n.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==s||s.validate("change").catch((e=>En(e))))})),(e,t)=>((0,n.wg)(),(0,n.iD)("div",{id:(0,Te.SU)(c),ref_key:"radioGroupRef",ref:r,class:(0,i.C_)((0,Te.SU)(l).b("group")),role:"radiogroup","aria-label":(0,Te.SU)(u)?void 0:e.label||"radio-group","aria-labelledby":(0,Te.SU)(u)?(0,Te.SU)(s).labelId:void 0},[(0,n.WI)(e.$slots,"default")],10,Sa))}});var xa=On(ka,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const Ca=oi(ma,{RadioButton:ba,RadioGroup:xa});ni(xa),ni(ba);var Oa=(0,n.aZ)({name:"NodeContent",setup(){const e=Fn("cascader-node");return{ns:e}},render(){const{ns:e}=this,{node:t,panel:o}=this.$parent,{data:i,label:l}=t,{renderLabelFn:a}=o;return(0,n.h)("span",{class:e.e("label")},a?a({node:t,data:i}):l)}});const La=Symbol(),Pa=(0,n.aZ)({name:"ElCascaderNode",components:{ElCheckbox:ia,ElRadio:Ca,NodeContent:Oa,ElIcon:ml,Check:ki,Loading:ol,ArrowRight:gi},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const o=(0,n.f3)(La),i=Fn("cascader-node"),l=(0,n.Fl)((()=>o.isHoverMenu)),a=(0,n.Fl)((()=>o.config.multiple)),r=(0,n.Fl)((()=>o.config.checkStrictly)),s=(0,n.Fl)((()=>{var e;return null==(e=o.checkedNodes[0])?void 0:e.uid})),c=(0,n.Fl)((()=>e.node.isDisabled)),u=(0,n.Fl)((()=>e.node.isLeaf)),d=(0,n.Fl)((()=>r.value&&!u.value||!c.value)),p=(0,n.Fl)((()=>h(o.expandingNode))),m=(0,n.Fl)((()=>r.value&&o.checkedNodes.some(h))),h=t=>{var o;const{level:n,uid:i}=e.node;return(null==(o=null==t?void 0:t.pathNodes[n-1])?void 0:o.uid)===i},f=()=>{p.value||o.expandNode(e.node)},v=t=>{const{node:n}=e;t!==n.checked&&o.handleCheckChange(n,t)},g=()=>{o.lazyLoad(e.node,(()=>{u.value||f()}))},b=e=>{l.value&&(y(),!u.value&&t("expand",e))},y=()=>{const{node:t}=e;d.value&&!t.loading&&(t.loaded?f():g())},w=()=>{l.value&&!u.value||(!u.value||c.value||r.value||a.value?y():_(!0))},S=t=>{r.value?(v(t),e.node.loaded&&f()):_(t)},_=t=>{e.node.loaded?(v(t),!r.value&&f()):g()};return{panel:o,isHoverMenu:l,multiple:a,checkStrictly:r,checkedNodeId:s,isDisabled:c,isLeaf:u,expandable:d,inExpandingPath:p,inCheckedPath:m,ns:i,handleHoverExpand:b,handleExpand:y,handleClick:w,handleCheck:_,handleSelectCheck:S}}}),Ua=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],ja=(0,n._)("span",null,null,-1);function Ia(e,t,o,a,r,s){const c=(0,n.up)("el-checkbox"),u=(0,n.up)("el-radio"),d=(0,n.up)("check"),p=(0,n.up)("el-icon"),m=(0,n.up)("node-content"),h=(0,n.up)("loading"),f=(0,n.up)("arrow-right");return(0,n.wg)(),(0,n.iD)("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:(0,i.C_)([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onFocus:t[3]||(t[3]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[(0,n.kq)(" prefix "),e.multiple?((0,n.wg)(),(0,n.j4)(c,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?((0,n.wg)(),(0,n.j4)(u,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=(0,l.iM)((()=>{}),["stop"]))},{default:(0,n.w5)((()=>[(0,n.kq)("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),ja])),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?((0,n.wg)(),(0,n.j4)(p,{key:2,class:(0,i.C_)(e.ns.e("prefix"))},{default:(0,n.w5)((()=>[(0,n.Wm)(d)])),_:1},8,["class"])):(0,n.kq)("v-if",!0),(0,n.kq)(" content "),(0,n.Wm)(m),(0,n.kq)(" postfix "),e.isLeaf?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)(n.HY,{key:3},[e.node.loading?((0,n.wg)(),(0,n.j4)(p,{key:0,class:(0,i.C_)([e.ns.is("loading"),e.ns.e("postfix")])},{default:(0,n.w5)((()=>[(0,n.Wm)(h)])),_:1},8,["class"])):((0,n.wg)(),(0,n.j4)(p,{key:1,class:(0,i.C_)(["arrow-right",e.ns.e("postfix")])},{default:(0,n.w5)((()=>[(0,n.Wm)(f)])),_:1},8,["class"]))],64))],42,Ua)}var Fa=On(Pa,[["render",Ia],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]),Ta=o(6423),Ma={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Ea=e=>(t,o)=>Na(t,o,(0,Te.SU)(e)),Na=(e,t,o)=>(0,Ta.Z)(o,e,e).replace(/\{(\w+)\}/g,((e,o)=>{var n;return`${null!=(n=null==t?void 0:t[o])?n:`{${o}}`}`})),Da=e=>{const t=(0,n.Fl)((()=>(0,Te.SU)(e).name)),o=(0,Te.dq)(e)?e:(0,Te.iH)(e);return{lang:t,locale:o,t:Ea(e)}},Ha=Symbol("localeContextKey"),Ra=e=>{const t=e||(0,n.f3)(Ha,(0,Te.iH)());return Da((0,n.Fl)((()=>t.value||Ma)))},Ba=()=>Math.floor(1e4*Math.random()),za=(0,n.aZ)({name:"ElCascaderMenu",components:{Loading:ol,ElIcon:ml,ElScrollbar:ii,ElCascaderNode:Fa},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=(0,n.FN)(),o=Fn("cascader-menu"),{t:i}=Ra(),l=Ba();let a=null,r=null;const s=(0,n.f3)(La),c=(0,Te.iH)(null),u=(0,n.Fl)((()=>!e.nodes.length)),d=(0,n.Fl)((()=>!s.initialLoaded)),p=(0,n.Fl)((()=>`cascader-menu-${l}-${e.index}`)),m=e=>{a=e.target},h=e=>{if(s.isHoverMenu&&a&&c.value)if(a.contains(e.target)){f();const o=t.vnode.el,{left:n}=o.getBoundingClientRect(),{offsetWidth:i,offsetHeight:l}=o,r=e.clientX-n,s=a.offsetTop,u=s+a.offsetHeight;c.value.innerHTML=`\n \n \n `}else r||(r=window.setTimeout(v,s.config.hoverThreshold))},f=()=>{r&&(clearTimeout(r),r=null)},v=()=>{c.value&&(c.value.innerHTML="",f())};return{ns:o,panel:s,hoverZone:c,isEmpty:u,isLoading:d,menuId:p,t:i,handleExpand:m,handleMouseMove:h,clearHoverZone:v}}});function $a(e,t,o,l,a,r){const s=(0,n.up)("el-cascader-node"),c=(0,n.up)("loading"),u=(0,n.up)("el-icon"),d=(0,n.up)("el-scrollbar");return(0,n.wg)(),(0,n.j4)(d,{key:e.menuId,tag:"ul",role:"menu",class:(0,i.C_)(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:(0,n.w5)((()=>{var t;return[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.nodes,(t=>((0,n.wg)(),(0,n.j4)(s,{key:t.uid,node:t,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])))),128)),e.isLoading?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,i.C_)(e.ns.e("empty-text"))},[(0,n.Wm)(u,{size:"14",class:(0,i.C_)(e.ns.is("loading"))},{default:(0,n.w5)((()=>[(0,n.Wm)(c)])),_:1},8,["class"]),(0,n.Uk)(" "+(0,i.zw)(e.t("el.cascader.loading")),1)],2)):e.isEmpty?((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,i.C_)(e.ns.e("empty-text"))},(0,i.zw)(e.t("el.cascader.noData")),3)):(null==(t=e.panel)?void 0:t.isHoverMenu)?((0,n.wg)(),(0,n.iD)("svg",{key:2,ref:"hoverZone",class:(0,i.C_)(e.ns.e("hover-zone"))},null,2)):(0,n.kq)("v-if",!0)]})),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var Aa=On(za,[["render",$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);const Va=e=>(0,i.kC)(e);let Za=0;const Ya=e=>{const t=[e];let{parent:o}=e;while(o)t.unshift(o),o=o.parent;return t};class Wa{constructor(e,t,o,n=!1){this.data=e,this.config=t,this.parent=o,this.root=n,this.uid=Za++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:l,children:a}=t,r=e[a],s=Ya(this);this.level=n?0:o?o.level+1:1,this.value=e[i],this.label=e[l],this.pathNodes=s,this.pathValues=s.map((e=>e.value)),this.pathLabels=s.map((e=>e.label)),this.childrenData=r,this.children=(r||[]).map((e=>new Wa(e,t,this))),this.loaded=!t.lazy||this.isLeaf||!Zn(r)}get isDisabled(){const{data:e,parent:t,config:o}=this,{disabled:n,checkStrictly:l}=o,a=(0,i.mf)(n)?n(e,this):!!e[n];return a||!l&&(null==t?void 0:t.isDisabled)}get isLeaf(){const{data:e,config:t,childrenData:o,loaded:n}=this,{lazy:l,leaf:a}=t,r=(0,i.mf)(a)?a(e,this):e[a];return $n(r)?!(l&&!n)&&!(Array.isArray(o)&&o.length):!!r}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(e){const{childrenData:t,children:o}=this,n=new Wa(e,this.config,this);return Array.isArray(t)?t.push(e):this.childrenData=[e],o.push(n),n}calcText(e,t){const o=e?this.pathLabels.join(t):this.label;return this.text=o,o}broadcast(e,...t){const o=`onParent${Va(e)}`;this.children.forEach((n=>{n&&(n.broadcast(e,...t),n[o]&&n[o](...t))}))}emit(e,...t){const{parent:o}=this,n=`onChild${Va(e)}`;o&&(o[n]&&o[n](...t),o.emit(e,...t))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,t=e.filter((e=>!e.isDisabled)),o=!!t.length&&t.every((e=>e.checked));this.setCheckState(o)}setCheckState(e){const t=this.children.length,o=this.children.reduce(((e,t)=>{const o=t.checked?1:t.indeterminate?.5:0;return e+o}),0);this.checked=this.loaded&&this.children.filter((e=>!e.isDisabled)).every((e=>e.loaded&&e.checked))&&e,this.indeterminate=this.loaded&&o!==t&&o>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:t,multiple:o}=this.config;t||!o?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}const qa=(e,t)=>e.reduce(((e,o)=>(o.isLeaf?e.push(o):(!t&&e.push(o),e=e.concat(qa(o.children,t))),e)),[]);class Ka{constructor(e,t){this.config=t;const o=(e||[]).map((e=>new Wa(e,this.config)));this.nodes=o,this.allNodes=qa(o,!1),this.leafNodes=qa(o,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const o=t?t.appendChild(e):new Wa(e,this.config);t||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(e,t){e.forEach((e=>this.appendNode(e,t)))}getNodeByValue(e,t=!1){if(!e&&0!==e)return null;const o=this.getFlattedNodes(t).find((t=>(0,un.Z)(t.value,e)||(0,un.Z)(t.pathValues,e)));return o||null}getSameNode(e){if(!e)return null;const t=this.getFlattedNodes(!1).find((({value:t,level:o})=>(0,un.Z)(e.value,t)&&e.level===o));return t||null}}const Ga=xn({modelValue:{type:Sn([Number,String,Array])},options:{type:Sn(Array),default:()=>[]},props:{type:Sn(Object),default:()=>({})}}),Ja={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:i.dG,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Xa=e=>(0,n.Fl)((()=>({...Ja,...e.props}))),Qa=e=>!e.getAttribute("aria-owns"),er=(e,t,o)=>{const{parentNode:n}=e;if(!n)return null;const i=n.querySelectorAll(o),l=Array.prototype.indexOf.call(i,e);return i[l+t]||null},tr=e=>{e&&(e.focus(),!Qa(e)&&e.click())},or=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},nr=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():Qa(e)&&e.click()},ir=(e,t)=>{const o=t.slice(0),n=o.map((e=>e.uid)),i=e.reduce(((e,t)=>{const i=n.indexOf(t.uid);return i>-1&&(e.push(t),o.splice(i,1),n.splice(i,1)),e}),[]);return i.push(...o),i},lr=e=>[...new Set(e)],ar=e=>e||0===e?Array.isArray(e)?e:[e]:[];function rr(e,t){if(!To)return;if(!t)return void(e.scrollTop=0);const o=[];let n=t.offsetParent;while(null!==n&&e!==n&&e.contains(n))o.push(n),n=n.offsetParent;const i=t.offsetTop+o.reduce(((e,t)=>e+t.offsetTop),0),l=i+t.offsetHeight,a=e.scrollTop,r=a+e.clientHeight;ir&&(e.scrollTop=l-e.clientHeight)}const sr={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},cr=(0,n.aZ)({name:"ElCascaderPanel",components:{ElCascaderMenu:Aa},props:{...Ga,border:{type:Boolean,default:!0},renderLabel:Function},emits:[bl,yl,"close","expand-change"],setup(e,{emit:t,slots:o}){let i=!1;const l=Fn("cascader"),a=Xa(e);let r=null;const s=(0,Te.iH)(!0),c=(0,Te.iH)([]),u=(0,Te.iH)(null),d=(0,Te.iH)([]),p=(0,Te.iH)(null),m=(0,Te.iH)([]),h=(0,n.Fl)((()=>"hover"===a.value.expandTrigger)),f=(0,n.Fl)((()=>e.renderLabel||o.default)),v=()=>{const{options:t}=e,o=a.value;i=!1,r=new Ka(t,o),d.value=[r.getNodes()],o.lazy&&Zn(e.options)?(s.value=!1,g(void 0,(e=>{e&&(r=new Ka(e,o),d.value=[r.getNodes()]),s.value=!0,C(!1,!0)}))):C(!1,!0)},g=(e,t)=>{const o=a.value;e=e||new Wa({},o,void 0,!0),e.loading=!0;const n=o=>{const n=e,i=n.root?null:n;o&&(null==r||r.appendNodes(o,i)),n.loading=!1,n.loaded=!0,n.childrenData=n.childrenData||[],t&&t(o)};o.lazyLoad(e,n)},b=(e,o)=>{var n;const{level:i}=e,l=d.value.slice(0,i);let a;e.isLeaf?a=e.pathNodes[i-2]:(a=e,l.push(e.children)),(null==(n=p.value)?void 0:n.uid)!==(null==a?void 0:a.uid)&&(p.value=e,d.value=l,!o&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},y=(e,o,n=!0)=>{const{checkStrictly:l,multiple:r}=a.value,s=m.value[0];i=!0,!r&&(null==s||s.doCheck(!1)),e.doCheck(o),x(),n&&!r&&!l&&t("close"),!n&&!r&&!l&&w(e)},w=e=>{e&&(e=e.parent,w(e),e&&b(e))},S=e=>null==r?void 0:r.getFlattedNodes(e),_=e=>{var t;return null==(t=S(e))?void 0:t.filter((e=>!1!==e.checked))},k=()=>{m.value.forEach((e=>e.doCheck(!1))),x(),d.value=d.value.slice(0,1),p.value=null,t("expand-change",[])},x=()=>{var e;const{checkStrictly:t,multiple:o}=a.value,n=m.value,i=_(!t),l=ir(n,i),r=l.map((e=>e.valueByOption));m.value=l,u.value=o?r:null!=(e=r[0])?e:null},C=(t=!1,o=!1)=>{const{modelValue:n}=e,{lazy:l,multiple:c,checkStrictly:d}=a.value,p=!d;if(s.value&&!i&&(o||!(0,un.Z)(n,u.value)))if(l&&!t){const e=lr(hn(ar(n))),t=e.map((e=>null==r?void 0:r.getNodeByValue(e))).filter((e=>!!e&&!e.loaded&&!e.loading));t.length?t.forEach((e=>{g(e,(()=>C(!1,o)))})):C(!0,o)}else{const e=c?ar(n):[n],t=lr(e.map((e=>null==r?void 0:r.getNodeByValue(e,p))));O(t,o),u.value=(0,jo.Z)(n)}},O=(t,o=!0)=>{const{checkStrictly:i}=a.value,l=m.value,s=t.filter((e=>!!e&&(i||e.isLeaf))),c=null==r?void 0:r.getSameNode(p.value),u=o&&c||s[0];u?u.pathNodes.forEach((e=>b(e,!0))):p.value=null,l.forEach((e=>e.doCheck(!1))),e.props.multiple?(0,Te.qj)(s).forEach((e=>e.doCheck(!0))):s.forEach((e=>e.doCheck(!0))),m.value=s,(0,n.Y3)(L)},L=()=>{To&&c.value.forEach((e=>{const t=null==e?void 0:e.$el;if(t){const e=t.querySelector(`.${l.namespace.value}-scrollbar__wrap`),o=t.querySelector(`.${l.b("node")}.${l.is("active")}`)||t.querySelector(`.${l.b("node")}.in-active-path`);rr(e,o)}}))},P=e=>{const t=e.target,{code:o}=e;switch(o){case sr.up:case sr.down:{e.preventDefault();const n=o===sr.up?-1:1;tr(er(t,n,`.${l.b("node")}[tabindex="-1"]`));break}case sr.left:{e.preventDefault();const o=c.value[or(t)-1],n=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[aria-expanded="true"]`);tr(n);break}case sr.right:{e.preventDefault();const o=c.value[or(t)+1],n=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`);tr(n);break}case sr.enter:nr(t);break}};return(0,n.JJ)(La,(0,Te.qj)({config:a,expandingNode:p,checkedNodes:m,isHoverMenu:h,initialLoaded:s,renderLabelFn:f,lazyLoad:g,expandNode:b,handleCheckChange:y})),(0,n.YP)([a,()=>e.options],v,{deep:!0,immediate:!0}),(0,n.YP)((()=>e.modelValue),(()=>{i=!1,C()}),{deep:!0}),(0,n.YP)((()=>u.value),(o=>{(0,un.Z)(o,e.modelValue)||(t(bl,o),t(yl,o))})),(0,n.Xn)((()=>c.value=[])),(0,n.bv)((()=>!Zn(e.modelValue)&&C())),{ns:l,menuList:c,menus:d,checkedNodes:m,handleKeyDown:P,handleCheckChange:y,getFlattedNodes:S,getCheckedNodes:_,clearCheckedNodes:k,calculateCheckedValue:x,scrollToExpandingNode:L}}});function ur(e,t,o,l,a,r){const s=(0,n.up)("el-cascader-menu");return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...t)=>e.handleKeyDown&&e.handleKeyDown(...t))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.menus,((t,o)=>((0,n.wg)(),(0,n.j4)(s,{key:o,ref_for:!0,ref:t=>e.menuList[o]=t,index:o,nodes:[...t]},null,8,["index","nodes"])))),128))],34)}var dr=On(cr,[["render",ur],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);dr.install=e=>{e.component(dr.name,dr)};const pr=dr,mr=()=>To&&/firefox/i.test(window.navigator.userAgent);let hr;const fr=`\n height:0 !important;\n visibility:hidden !important;\n ${mr()?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,vr=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function gr(e){const t=window.getComputedStyle(e),o=t.getPropertyValue("box-sizing"),n=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),i=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width")),l=vr.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";");return{contextStyle:l,paddingSize:n,borderSize:i,boxSizing:o}}function br(e,t=1,o){var n;hr||(hr=document.createElement("textarea"),document.body.appendChild(hr));const{paddingSize:i,borderSize:l,boxSizing:a,contextStyle:r}=gr(e);hr.setAttribute("style",`${r};${fr}`),hr.value=e.value||e.placeholder||"";let s=hr.scrollHeight;const c={};"border-box"===a?s+=l:"content-box"===a&&(s-=i),hr.value="";const u=hr.scrollHeight-i;if(Vn(t)){let e=u*t;"border-box"===a&&(e=e+i+l),s=Math.max(e,s),c.minHeight=`${e}px`}if(Vn(o)){let e=u*o;"border-box"===a&&(e=e+i+l),s=Math.min(e,s)}return c.height=`${s}px`,null==(n=hr.parentNode)||n.removeChild(hr),hr=void 0,c}const yr=Sn([String,Object,Function]),wr={validating:ol,success:ji,error:Di},Sr=e=>e,_r=xn({id:{type:String,default:void 0},size:fl,disabled:Boolean,modelValue:{type:Sn([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Sn([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:yr},prefixIcon:{type:yr},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Sn([Object,Array,String]),default:()=>Sr({})},autofocus:{type:Boolean,default:!1}}),kr={[bl]:e=>(0,i.HD)(e),input:e=>(0,i.HD)(e),change:e=>(0,i.HD)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},xr=["class","style"],Cr=/^on[A-Z]/,Or=(e={})=>{const{excludeListeners:t=!1,excludeKeys:o}=e,i=(0,n.Fl)((()=>((null==o?void 0:o.value)||[]).concat(xr))),l=(0,n.FN)();return l?(0,n.Fl)((()=>{var e;return(0,yn.Z)(Object.entries(null==(e=l.proxy)?void 0:e.$attrs).filter((([e])=>!i.value.includes(e)&&!(t&&Cr.test(e)))))})):(En("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),(0,n.Fl)((()=>({}))))};function Lr(e,{afterFocus:t,beforeBlur:o,afterBlur:l}={}){const a=(0,n.FN)(),{emit:r}=a,s=(0,Te.XI)(),c=(0,Te.iH)(!1),u=e=>{c.value||(c.value=!0,r("focus",e),null==t||t())},d=e=>{var t;const n=!!(0,i.mf)(o)&&o(e);n||e.relatedTarget&&(null==(t=s.value)?void 0:t.contains(e.relatedTarget))||(c.value=!1,r("blur",e),null==l||l())},p=()=>{var t;null==(t=e.value)||t.focus()};return(0,n.YP)(s,(e=>{e&&e.setAttribute("tabindex","-1")})),Ao(s,"click",p),{wrapperRef:s,isFocused:c,handleFocus:u,handleBlur:d}}function Pr(e){const t=(0,Te.iH)();function o(){if(void 0==e.value)return;const{selectionStart:o,selectionEnd:n,value:i}=e.value;if(null==o||null==n)return;const l=i.slice(0,Math.max(0,o)),a=i.slice(Math.max(0,n));t.value={selectionStart:o,selectionEnd:n,value:i,beforeTxt:l,afterTxt:a}}function n(){if(void 0==e.value||void 0==t.value)return;const{value:o}=e.value,{beforeTxt:n,afterTxt:i,selectionStart:l}=t.value;if(void 0==n||void 0==i||void 0==l)return;let a=o.length;if(o.endsWith(i))a=o.length-i.length;else if(o.startsWith(n))a=n.length;else{const e=n[l-1],t=o.indexOf(e,l-1);-1!==t&&(a=t+1)}e.value.setSelectionRange(a,a)}return[o,n]}const Ur=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),jr=["role"],Ir=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Fr=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Tr=(0,n.aZ)({name:"ElInput",inheritAttrs:!1}),Mr=(0,n.aZ)({...Tr,props:_r,emits:kr,setup(e,{expose:t,emit:o}){const a=e,r=(0,n.l1)(),s=(0,n.Rr)(),c=(0,n.Fl)((()=>{const e={};return"combobox"===a.containerRole&&(e["aria-haspopup"]=r["aria-haspopup"],e["aria-owns"]=r["aria-owns"],e["aria-expanded"]=r["aria-expanded"]),e})),u=(0,n.Fl)((()=>["textarea"===a.type?y.b():b.b(),b.m(v.value),b.is("disabled",g.value),b.is("exceed",A.value),{[b.b("group")]:s.prepend||s.append,[b.bm("group","append")]:s.append,[b.bm("group","prepend")]:s.prepend,[b.m("prefix")]:s.prefix||a.prefixIcon,[b.m("suffix")]:s.suffix||a.suffixIcon||a.clearable||a.showPassword,[b.bm("suffix","password-clear")]:R.value&&B.value},r.class])),d=(0,n.Fl)((()=>[b.e("wrapper"),b.is("focus",U.value)])),p=Or({excludeKeys:(0,n.Fl)((()=>Object.keys(c.value)))}),{form:m,formItem:h}=Tl(),{inputId:f}=Ml(a,{formItemContext:h}),v=Ol(),g=Ll(),b=Fn("input"),y=Fn("textarea"),w=(0,Te.XI)(),S=(0,Te.XI)(),_=(0,Te.iH)(!1),k=(0,Te.iH)(!1),x=(0,Te.iH)(!1),C=(0,Te.iH)(),O=(0,Te.XI)(a.inputStyle),L=(0,n.Fl)((()=>w.value||S.value)),{wrapperRef:P,isFocused:U,handleFocus:j,handleBlur:I}=Lr(L,{afterBlur(){var e;a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"blur").catch((e=>En(e))))}}),F=(0,n.Fl)((()=>{var e;return null!=(e=null==m?void 0:m.statusIcon)&&e})),T=(0,n.Fl)((()=>(null==h?void 0:h.validateState)||"")),M=(0,n.Fl)((()=>T.value&&wr[T.value])),E=(0,n.Fl)((()=>x.value?sl:Gi)),N=(0,n.Fl)((()=>[r.style,a.inputStyle])),D=(0,n.Fl)((()=>[a.inputStyle,O.value,{resize:a.resize}])),H=(0,n.Fl)((()=>Hl(a.modelValue)?"":String(a.modelValue))),R=(0,n.Fl)((()=>a.clearable&&!g.value&&!a.readonly&&!!H.value&&(U.value||_.value))),B=(0,n.Fl)((()=>a.showPassword&&!g.value&&!a.readonly&&!!H.value&&(!!H.value||U.value))),z=(0,n.Fl)((()=>a.showWordLimit&&!!p.value.maxlength&&("text"===a.type||"textarea"===a.type)&&!g.value&&!a.readonly&&!a.showPassword)),$=(0,n.Fl)((()=>H.value.length)),A=(0,n.Fl)((()=>!!z.value&&$.value>Number(p.value.maxlength))),V=(0,n.Fl)((()=>!!s.suffix||!!a.suffixIcon||R.value||a.showPassword||z.value||!!T.value&&F.value)),[Z,Y]=Pr(w);en(S,(e=>{if(K(),!z.value||"both"!==a.resize)return;const t=e[0],{width:o}=t.contentRect;C.value={right:`calc(100% - ${o+15+6}px)`}}));const W=()=>{const{type:e,autosize:t}=a;if(To&&"textarea"===e&&S.value)if(t){const e=(0,i.Kn)(t)?t.minRows:void 0,o=(0,i.Kn)(t)?t.maxRows:void 0,l=br(S.value,e,o);O.value={overflowY:"hidden",...l},(0,n.Y3)((()=>{S.value.offsetHeight,O.value=l}))}else O.value={minHeight:br(S.value).minHeight}},q=e=>{let t=!1;return()=>{var o;if(t||!a.autosize)return;const n=null===(null==(o=S.value)?void 0:o.offsetParent);n||(e(),t=!0)}},K=q(W),G=()=>{const e=L.value,t=a.formatter?a.formatter(H.value):H.value;e&&e.value!==t&&(e.value=t)},J=async e=>{Z();let{value:t}=e.target;a.formatter&&(t=a.parser?a.parser(t):t),k.value||(t!==H.value?(o(bl,t),o("input",t),await(0,n.Y3)(),G(),Y()):G())},X=e=>{o("change",e.target.value)},Q=e=>{o("compositionstart",e),k.value=!0},ee=e=>{var t;o("compositionupdate",e);const n=null==(t=e.target)?void 0:t.value,i=n[n.length-1]||"";k.value=!Ur(i)},te=e=>{o("compositionend",e),k.value&&(k.value=!1,J(e))},oe=()=>{x.value=!x.value,ne()},ne=async()=>{var e;await(0,n.Y3)(),null==(e=L.value)||e.focus()},ie=()=>{var e;return null==(e=L.value)?void 0:e.blur()},le=e=>{_.value=!1,o("mouseleave",e)},ae=e=>{_.value=!0,o("mouseenter",e)},re=e=>{o("keydown",e)},se=()=>{var e;null==(e=L.value)||e.select()},ce=()=>{o(bl,""),o("change",""),o("clear"),o("input","")};return(0,n.YP)((()=>a.modelValue),(()=>{var e;(0,n.Y3)((()=>W())),a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"change").catch((e=>En(e))))})),(0,n.YP)(H,(()=>G())),(0,n.YP)((()=>a.type),(async()=>{await(0,n.Y3)(),G(),W()})),(0,n.bv)((()=>{!a.formatter&&a.parser&&En("ElInput","If you set the parser, you also need to set the formatter."),G(),(0,n.Y3)(W)})),t({input:w,textarea:S,ref:L,textareaStyle:D,autosize:(0,Te.Vh)(a,"autosize"),focus:ne,blur:ie,select:se,clear:ce,resizeTextarea:W}),(e,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",(0,n.dG)((0,Te.SU)(c),{class:(0,Te.SU)(u),style:(0,Te.SU)(N),role:e.containerRole,onMouseenter:ae,onMouseleave:le}),[(0,n.kq)(" input "),"textarea"!==e.type?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.kq)(" prepend slot "),e.$slots.prepend?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,i.C_)((0,Te.SU)(b).be("group","prepend"))},[(0,n.WI)(e.$slots,"prepend")],2)):(0,n.kq)("v-if",!0),(0,n._)("div",{ref_key:"wrapperRef",ref:P,class:(0,i.C_)((0,Te.SU)(d))},[(0,n.kq)(" prefix slot "),e.$slots.prefix||e.prefixIcon?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Te.SU)(b).e("prefix"))},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b).e("prefix-inner"))},[(0,n.WI)(e.$slots,"prefix"),e.prefixIcon?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(b).e("icon"))},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.prefixIcon)))])),_:1},8,["class"])):(0,n.kq)("v-if",!0)],2)],2)):(0,n.kq)("v-if",!0),(0,n._)("input",(0,n.dG)({id:(0,Te.SU)(f),ref_key:"input",ref:w,class:(0,Te.SU)(b).e("inner")},(0,Te.SU)(p),{type:e.showPassword?x.value?"text":"password":e.type,disabled:(0,Te.SU)(g),formatter:e.formatter,parser:e.parser,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,form:a.form,autofocus:a.autofocus,onCompositionstart:Q,onCompositionupdate:ee,onCompositionend:te,onInput:J,onFocus:t[0]||(t[0]=(...e)=>(0,Te.SU)(j)&&(0,Te.SU)(j)(...e)),onBlur:t[1]||(t[1]=(...e)=>(0,Te.SU)(I)&&(0,Te.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Ir),(0,n.kq)(" suffix slot "),(0,Te.SU)(V)?((0,n.wg)(),(0,n.iD)("span",{key:1,class:(0,i.C_)((0,Te.SU)(b).e("suffix"))},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b).e("suffix-inner"))},[(0,Te.SU)(R)&&(0,Te.SU)(B)&&(0,Te.SU)(z)?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.WI)(e.$slots,"suffix"),e.suffixIcon?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(b).e("icon"))},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.suffixIcon)))])),_:1},8,["class"])):(0,n.kq)("v-if",!0)],64)),(0,Te.SU)(R)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:1,class:(0,i.C_)([(0,Te.SU)(b).e("icon"),(0,Te.SU)(b).e("clear")]),onMousedown:(0,l.iM)((0,Te.SU)(i.dG),["prevent"]),onClick:ce},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Di))])),_:1},8,["class","onMousedown"])):(0,n.kq)("v-if",!0),(0,Te.SU)(B)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:2,class:(0,i.C_)([(0,Te.SU)(b).e("icon"),(0,Te.SU)(b).e("password")]),onClick:oe},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,Te.SU)(E))))])),_:1},8,["class"])):(0,n.kq)("v-if",!0),(0,Te.SU)(z)?((0,n.wg)(),(0,n.iD)("span",{key:3,class:(0,i.C_)((0,Te.SU)(b).e("count"))},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b).e("count-inner"))},(0,i.zw)((0,Te.SU)($))+" / "+(0,i.zw)((0,Te.SU)(p).maxlength),3)],2)):(0,n.kq)("v-if",!0),(0,Te.SU)(T)&&(0,Te.SU)(M)&&(0,Te.SU)(F)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:4,class:(0,i.C_)([(0,Te.SU)(b).e("icon"),(0,Te.SU)(b).e("validateIcon"),(0,Te.SU)(b).is("loading","validating"===(0,Te.SU)(T))])},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,Te.SU)(M))))])),_:1},8,["class"])):(0,n.kq)("v-if",!0)],2)],2)):(0,n.kq)("v-if",!0)],2),(0,n.kq)(" append slot "),e.$slots.append?((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,i.C_)((0,Te.SU)(b).be("group","append"))},[(0,n.WI)(e.$slots,"append")],2)):(0,n.kq)("v-if",!0)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.kq)(" textarea "),(0,n._)("textarea",(0,n.dG)({id:(0,Te.SU)(f),ref_key:"textarea",ref:S,class:(0,Te.SU)(y).e("inner")},(0,Te.SU)(p),{tabindex:e.tabindex,disabled:(0,Te.SU)(g),readonly:e.readonly,autocomplete:e.autocomplete,style:(0,Te.SU)(D),"aria-label":e.label,placeholder:e.placeholder,form:a.form,autofocus:a.autofocus,onCompositionstart:Q,onCompositionupdate:ee,onCompositionend:te,onInput:J,onFocus:t[2]||(t[2]=(...e)=>(0,Te.SU)(j)&&(0,Te.SU)(j)(...e)),onBlur:t[3]||(t[3]=(...e)=>(0,Te.SU)(I)&&(0,Te.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Fr),(0,Te.SU)(z)?((0,n.wg)(),(0,n.iD)("span",{key:0,style:(0,i.j5)(C.value),class:(0,i.C_)((0,Te.SU)(b).e("count"))},(0,i.zw)((0,Te.SU)($))+" / "+(0,i.zw)((0,Te.SU)(p).maxlength),7)):(0,n.kq)("v-if",!0)],64))],16,jr)),[[l.F8,"hidden"!==e.type]])}});var Er=On(Mr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Nr=oi(Er),Dr=Symbol("popper"),Hr=Symbol("popperContent"),Rr=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Br=xn({role:{type:String,values:Rr,default:"tooltip"}}),zr=(0,n.aZ)({name:"ElPopper",inheritAttrs:!1}),$r=(0,n.aZ)({...zr,props:Br,setup(e,{expose:t}){const o=e,i=(0,Te.iH)(),l=(0,Te.iH)(),a=(0,Te.iH)(),r=(0,Te.iH)(),s=(0,n.Fl)((()=>o.role)),c={triggerRef:i,popperInstanceRef:l,contentRef:a,referenceRef:r,role:s};return t(c),(0,n.JJ)(Dr,c),(e,t)=>(0,n.WI)(e.$slots,"default")}});var Ar=On($r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Vr=oi(Ar),Zr=Symbol("elTooltip");function Yr(){let e;const t=(t,n)=>{o(),e=window.setTimeout(t,n)},o=()=>window.clearTimeout(e);return Ro((()=>o())),{registerTimeout:t,cancelTimeout:o}}const Wr=xn({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),qr=({showAfter:e,hideAfter:t,autoClose:o,open:n,close:i})=>{const{registerTimeout:l}=Yr(),{registerTimeout:a,cancelTimeout:r}=Yr(),s=t=>{l((()=>{n(t);const e=(0,Te.SU)(o);Vn(e)&&e>0&&a((()=>{i(t)}),e)}),(0,Te.SU)(e))},c=e=>{r(),l((()=>{i(e)}),(0,Te.SU)(t))};return{onOpen:s,onClose:c}};var Kr="top",Gr="bottom",Jr="right",Xr="left",Qr="auto",es=[Kr,Gr,Jr,Xr],ts="start",os="end",ns="clippingParents",is="viewport",ls="popper",as="reference",rs=es.reduce((function(e,t){return e.concat([t+"-"+ts,t+"-"+os])}),[]),ss=[].concat(es,[Qr]).reduce((function(e,t){return e.concat([t,t+"-"+ts,t+"-"+os])}),[]),cs="beforeRead",us="read",ds="afterRead",ps="beforeMain",ms="main",hs="afterMain",fs="beforeWrite",vs="write",gs="afterWrite",bs=[cs,us,ds,ps,ms,hs,fs,vs,gs];function ys(e){return e?(e.nodeName||"").toLowerCase():null}function ws(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ss(e){var t=ws(e).Element;return e instanceof t||e instanceof Element}function _s(e){var t=ws(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ks(e){if("undefined"==typeof ShadowRoot)return!1;var t=ws(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xs(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];!_s(i)||!ys(i)||(Object.assign(i.style,o),Object.keys(n).forEach((function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))}function Cs(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],i=t.attributes[e]||{},l=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]),a=l.reduce((function(e,t){return e[t]="",e}),{});!_s(n)||!ys(n)||(Object.assign(n.style,a),Object.keys(i).forEach((function(e){n.removeAttribute(e)})))}))}}var Os={name:"applyStyles",enabled:!0,phase:"write",fn:xs,effect:Cs,requires:["computeStyles"]};function Ls(e){return e.split("-")[0]}var Ps=Math.max,Us=Math.min,js=Math.round;function Is(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),n=1,i=1;if(_s(e)&&t){var l=e.offsetHeight,a=e.offsetWidth;a>0&&(n=js(o.width)/a||1),l>0&&(i=js(o.height)/l||1)}return{width:o.width/n,height:o.height/i,top:o.top/i,right:o.right/n,bottom:o.bottom/i,left:o.left/n,x:o.left/n,y:o.top/i}}function Fs(e){var t=Is(e),o=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:n}}function Ts(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&ks(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ms(e){return ws(e).getComputedStyle(e)}function Es(e){return["table","td","th"].indexOf(ys(e))>=0}function Ns(e){return((Ss(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ds(e){return"html"===ys(e)?e:e.assignedSlot||e.parentNode||(ks(e)?e.host:null)||Ns(e)}function Hs(e){return _s(e)&&"fixed"!==Ms(e).position?e.offsetParent:null}function Rs(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),o=-1!==navigator.userAgent.indexOf("Trident");if(o&&_s(e)){var n=Ms(e);if("fixed"===n.position)return null}var i=Ds(e);for(ks(i)&&(i=i.host);_s(i)&&["html","body"].indexOf(ys(i))<0;){var l=Ms(i);if("none"!==l.transform||"none"!==l.perspective||"paint"===l.contain||-1!==["transform","perspective"].indexOf(l.willChange)||t&&"filter"===l.willChange||t&&l.filter&&"none"!==l.filter)return i;i=i.parentNode}return null}function Bs(e){for(var t=ws(e),o=Hs(e);o&&Es(o)&&"static"===Ms(o).position;)o=Hs(o);return o&&("html"===ys(o)||"body"===ys(o)&&"static"===Ms(o).position)?t:o||Rs(e)||t}function zs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $s(e,t,o){return Ps(e,Us(t,o))}function As(e,t,o){var n=$s(e,t,o);return n>o?o:n}function Vs(){return{top:0,right:0,bottom:0,left:0}}function Zs(e){return Object.assign({},Vs(),e)}function Ys(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}var Ws=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Zs("number"!=typeof e?e:Ys(e,es))};function qs(e){var t,o=e.state,n=e.name,i=e.options,l=o.elements.arrow,a=o.modifiersData.popperOffsets,r=Ls(o.placement),s=zs(r),c=[Xr,Jr].indexOf(r)>=0,u=c?"height":"width";if(l&&a){var d=Ws(i.padding,o),p=Fs(l),m="y"===s?Kr:Xr,h="y"===s?Gr:Jr,f=o.rects.reference[u]+o.rects.reference[s]-a[s]-o.rects.popper[u],v=a[s]-o.rects.reference[s],g=Bs(l),b=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=f/2-v/2,w=d[m],S=b-p[u]-d[h],_=b/2-p[u]/2+y,k=$s(w,_,S),x=s;o.modifiersData[n]=(t={},t[x]=k,t.centerOffset=k-_,t)}}function Ks(e){var t=e.state,o=e.options,n=o.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&(i=t.elements.popper.querySelector(i),!i)||!Ts(t.elements.popper,i)||(t.elements.arrow=i))}var Gs={name:"arrow",enabled:!0,phase:"main",fn:qs,effect:Ks,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Js(e){return e.split("-")[1]}var Xs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qs(e){var t=e.x,o=e.y,n=window,i=n.devicePixelRatio||1;return{x:js(t*i)/i||0,y:js(o*i)/i||0}}function ec(e){var t,o=e.popper,n=e.popperRect,i=e.placement,l=e.variation,a=e.offsets,r=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,m=void 0===p?0:p,h=a.y,f=void 0===h?0:h,v="function"==typeof u?u({x:m,y:f}):{x:m,y:f};m=v.x,f=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Xr,w=Kr,S=window;if(c){var _=Bs(o),k="clientHeight",x="clientWidth";if(_===ws(o)&&(_=Ns(o),"static"!==Ms(_).position&&"absolute"===r&&(k="scrollHeight",x="scrollWidth")),i===Kr||(i===Xr||i===Jr)&&l===os){w=Gr;var C=d&&_===S&&S.visualViewport?S.visualViewport.height:_[k];f-=C-n.height,f*=s?1:-1}if(i===Xr||(i===Kr||i===Gr)&&l===os){y=Jr;var O=d&&_===S&&S.visualViewport?S.visualViewport.width:_[x];m-=O-n.width,m*=s?1:-1}}var L,P=Object.assign({position:r},c&&Xs),U=!0===u?Qs({x:m,y:f}):{x:m,y:f};return m=U.x,f=U.y,s?Object.assign({},P,(L={},L[w]=b?"0":"",L[y]=g?"0":"",L.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+f+"px)":"translate3d("+m+"px, "+f+"px, 0)",L)):Object.assign({},P,(t={},t[w]=b?f+"px":"",t[y]=g?m+"px":"",t.transform="",t))}function tc(e){var t=e.state,o=e.options,n=o.gpuAcceleration,i=void 0===n||n,l=o.adaptive,a=void 0===l||l,r=o.roundOffsets,s=void 0===r||r,c={placement:Ls(t.placement),variation:Js(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ec(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ec(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var oc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tc,data:{}},nc={passive:!0};function ic(e){var t=e.state,o=e.instance,n=e.options,i=n.scroll,l=void 0===i||i,a=n.resize,r=void 0===a||a,s=ws(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&c.forEach((function(e){e.addEventListener("scroll",o.update,nc)})),r&&s.addEventListener("resize",o.update,nc),function(){l&&c.forEach((function(e){e.removeEventListener("scroll",o.update,nc)})),r&&s.removeEventListener("resize",o.update,nc)}}var lc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ic,data:{}},ac={left:"right",right:"left",bottom:"top",top:"bottom"};function rc(e){return e.replace(/left|right|bottom|top/g,(function(e){return ac[e]}))}var sc={start:"end",end:"start"};function cc(e){return e.replace(/start|end/g,(function(e){return sc[e]}))}function uc(e){var t=ws(e),o=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:o,scrollTop:n}}function dc(e){return Is(Ns(e)).left+uc(e).scrollLeft}function pc(e){var t=ws(e),o=Ns(e),n=t.visualViewport,i=o.clientWidth,l=o.clientHeight,a=0,r=0;return n&&(i=n.width,l=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,r=n.offsetTop)),{width:i,height:l,x:a+dc(e),y:r}}function mc(e){var t,o=Ns(e),n=uc(e),i=null==(t=e.ownerDocument)?void 0:t.body,l=Ps(o.scrollWidth,o.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ps(o.scrollHeight,o.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-n.scrollLeft+dc(e),s=-n.scrollTop;return"rtl"===Ms(i||o).direction&&(r+=Ps(o.clientWidth,i?i.clientWidth:0)-l),{width:l,height:a,x:r,y:s}}function hc(e){var t=Ms(e),o=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+i+n)}function fc(e){return["html","body","#document"].indexOf(ys(e))>=0?e.ownerDocument.body:_s(e)&&hc(e)?e:fc(Ds(e))}function vc(e,t){var o;void 0===t&&(t=[]);var n=fc(e),i=n===(null==(o=e.ownerDocument)?void 0:o.body),l=ws(n),a=i?[l].concat(l.visualViewport||[],hc(n)?n:[]):n,r=t.concat(a);return i?r:r.concat(vc(Ds(a)))}function gc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bc(e){var t=Is(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function yc(e,t){return t===is?gc(pc(e)):Ss(t)?bc(t):gc(mc(Ns(e)))}function wc(e){var t=vc(Ds(e)),o=["absolute","fixed"].indexOf(Ms(e).position)>=0,n=o&&_s(e)?Bs(e):e;return Ss(n)?t.filter((function(e){return Ss(e)&&Ts(e,n)&&"body"!==ys(e)})):[]}function Sc(e,t,o){var n="clippingParents"===t?wc(e):[].concat(t),i=[].concat(n,[o]),l=i[0],a=i.reduce((function(t,o){var n=yc(e,o);return t.top=Ps(n.top,t.top),t.right=Us(n.right,t.right),t.bottom=Us(n.bottom,t.bottom),t.left=Ps(n.left,t.left),t}),yc(e,l));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _c(e){var t,o=e.reference,n=e.element,i=e.placement,l=i?Ls(i):null,a=i?Js(i):null,r=o.x+o.width/2-n.width/2,s=o.y+o.height/2-n.height/2;switch(l){case Kr:t={x:r,y:o.y-n.height};break;case Gr:t={x:r,y:o.y+o.height};break;case Jr:t={x:o.x+o.width,y:s};break;case Xr:t={x:o.x-n.width,y:s};break;default:t={x:o.x,y:o.y}}var c=l?zs(l):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ts:t[c]=t[c]-(o[u]/2-n[u]/2);break;case os:t[c]=t[c]+(o[u]/2-n[u]/2);break}}return t}function kc(e,t){void 0===t&&(t={});var o=t,n=o.placement,i=void 0===n?e.placement:n,l=o.boundary,a=void 0===l?ns:l,r=o.rootBoundary,s=void 0===r?is:r,c=o.elementContext,u=void 0===c?ls:c,d=o.altBoundary,p=void 0!==d&&d,m=o.padding,h=void 0===m?0:m,f=Zs("number"!=typeof h?h:Ys(h,es)),v=u===ls?as:ls,g=e.rects.popper,b=e.elements[p?v:u],y=Sc(Ss(b)?b:b.contextElement||Ns(e.elements.popper),a,s),w=Is(e.elements.reference),S=_c({reference:w,element:g,strategy:"absolute",placement:i}),_=gc(Object.assign({},g,S)),k=u===ls?_:w,x={top:y.top-k.top+f.top,bottom:k.bottom-y.bottom+f.bottom,left:y.left-k.left+f.left,right:k.right-y.right+f.right},C=e.modifiersData.offset;if(u===ls&&C){var O=C[i];Object.keys(x).forEach((function(e){var t=[Jr,Gr].indexOf(e)>=0?1:-1,o=[Kr,Gr].indexOf(e)>=0?"y":"x";x[e]+=O[o]*t}))}return x}function xc(e,t){void 0===t&&(t={});var o=t,n=o.placement,i=o.boundary,l=o.rootBoundary,a=o.padding,r=o.flipVariations,s=o.allowedAutoPlacements,c=void 0===s?ss:s,u=Js(n),d=u?r?rs:rs.filter((function(e){return Js(e)===u})):es,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var m=p.reduce((function(t,o){return t[o]=kc(e,{placement:o,boundary:i,rootBoundary:l,padding:a})[Ls(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Cc(e){if(Ls(e)===Qr)return[];var t=rc(e);return[cc(e),t,cc(t)]}function Oc(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=o.mainAxis,l=void 0===i||i,a=o.altAxis,r=void 0===a||a,s=o.fallbackPlacements,c=o.padding,u=o.boundary,d=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,h=void 0===m||m,f=o.allowedAutoPlacements,v=t.options.placement,g=Ls(v),b=g===v,y=s||(b||!h?[rc(v)]:Cc(v)),w=[v].concat(y).reduce((function(e,o){return e.concat(Ls(o)===Qr?xc(t,{placement:o,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:f}):o)}),[]),S=t.rects.reference,_=t.rects.popper,k=new Map,x=!0,C=w[0],O=0;O=0,I=j?"width":"height",F=kc(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=j?U?Jr:Xr:U?Gr:Kr;S[I]>_[I]&&(T=rc(T));var M=rc(T),E=[];if(l&&E.push(F[P]<=0),r&&E.push(F[T]<=0,F[M]<=0),E.every((function(e){return e}))){C=L,x=!1;break}k.set(L,E)}if(x)for(var N=h?3:1,D=function(e){var t=w.find((function(t){var o=k.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},H=N;H>0;H--){var R=D(H);if("break"===R)break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}}var Lc={name:"flip",enabled:!0,phase:"main",fn:Oc,requiresIfExists:["offset"],data:{_skip:!1}};function Pc(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Uc(e){return[Kr,Jr,Gr,Xr].some((function(t){return e[t]>=0}))}function jc(e){var t=e.state,o=e.name,n=t.rects.reference,i=t.rects.popper,l=t.modifiersData.preventOverflow,a=kc(t,{elementContext:"reference"}),r=kc(t,{altBoundary:!0}),s=Pc(a,n),c=Pc(r,i,l),u=Uc(s),d=Uc(c);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Ic={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:jc};function Fc(e,t,o){var n=Ls(e),i=[Xr,Kr].indexOf(n)>=0?-1:1,l="function"==typeof o?o(Object.assign({},t,{placement:e})):o,a=l[0],r=l[1];return a=a||0,r=(r||0)*i,[Xr,Jr].indexOf(n)>=0?{x:r,y:a}:{x:a,y:r}}function Tc(e){var t=e.state,o=e.options,n=e.name,i=o.offset,l=void 0===i?[0,0]:i,a=ss.reduce((function(e,o){return e[o]=Fc(o,t.rects,l),e}),{}),r=a[t.placement],s=r.x,c=r.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}var Mc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Tc};function Ec(e){var t=e.state,o=e.name;t.modifiersData[o]=_c({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Nc={name:"popperOffsets",enabled:!0,phase:"read",fn:Ec,data:{}};function Dc(e){return"x"===e?"y":"x"}function Hc(e){var t=e.state,o=e.options,n=e.name,i=o.mainAxis,l=void 0===i||i,a=o.altAxis,r=void 0!==a&&a,s=o.boundary,c=o.rootBoundary,u=o.altBoundary,d=o.padding,p=o.tether,m=void 0===p||p,h=o.tetherOffset,f=void 0===h?0:h,v=kc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Ls(t.placement),b=Js(t.placement),y=!b,w=zs(g),S=Dc(w),_=t.modifiersData.popperOffsets,k=t.rects.reference,x=t.rects.popper,C="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(_){if(l){var U,j="y"===w?Kr:Xr,I="y"===w?Gr:Jr,F="y"===w?"height":"width",T=_[w],M=T+v[j],E=T-v[I],N=m?-x[F]/2:0,D=b===ts?k[F]:x[F],H=b===ts?-x[F]:-k[F],R=t.elements.arrow,B=m&&R?Fs(R):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Vs(),$=z[j],A=z[I],V=$s(0,k[F],B[F]),Z=y?k[F]/2-N-V-$-O.mainAxis:D-V-$-O.mainAxis,Y=y?-k[F]/2+N+V+A+O.mainAxis:H+V+A+O.mainAxis,W=t.elements.arrow&&Bs(t.elements.arrow),q=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,K=null!=(U=null==L?void 0:L[w])?U:0,G=T+Z-K-q,J=T+Y-K,X=$s(m?Us(M,G):M,T,m?Ps(E,J):E);_[w]=X,P[w]=X-T}if(r){var Q,ee="x"===w?Kr:Xr,te="x"===w?Gr:Jr,oe=_[S],ne="y"===S?"height":"width",ie=oe+v[ee],le=oe-v[te],ae=-1!==[Kr,Xr].indexOf(g),re=null!=(Q=null==L?void 0:L[S])?Q:0,se=ae?ie:oe-k[ne]-x[ne]-re+O.altAxis,ce=ae?oe+k[ne]+x[ne]-re-O.altAxis:le,ue=m&&ae?As(se,oe,ce):$s(m?se:ie,oe,m?ce:le);_[S]=ue,P[S]=ue-oe}t.modifiersData[n]=P}}var Rc={name:"preventOverflow",enabled:!0,phase:"main",fn:Hc,requiresIfExists:["offset"]};function Bc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zc(e){return e!==ws(e)&&_s(e)?Bc(e):uc(e)}function $c(e){var t=e.getBoundingClientRect(),o=js(t.width)/e.offsetWidth||1,n=js(t.height)/e.offsetHeight||1;return 1!==o||1!==n}function Ac(e,t,o){void 0===o&&(o=!1);var n=_s(t),i=_s(t)&&$c(t),l=Ns(t),a=Is(e,i),r={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!o)&&(("body"!==ys(t)||hc(l))&&(r=zc(t)),_s(t)?(s=Is(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=dc(l))),{x:a.left+r.scrollLeft-s.x,y:a.top+r.scrollTop-s.y,width:a.width,height:a.height}}function Vc(e){var t=new Map,o=new Set,n=[];function i(e){o.add(e.name);var l=[].concat(e.requires||[],e.requiresIfExists||[]);l.forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||i(e)})),n}function Zc(e){var t=Vc(e);return bs.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}function Yc(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}function Wc(e){var t=e.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var qc={placement:"bottom",modifiers:[],strategy:"absolute"};function Kc(){for(var e=arguments.length,t=new Array(e),o=0;o({})},strategy:{type:String,values:eu,default:"absolute"}}),ou=xn({...tu,id:String,style:{type:Sn([String,Array,Object])},className:{type:Sn([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Sn([String,Array,Object])},popperStyle:{type:Sn([String,Array,Object])},referenceEl:{type:Sn(Object)},triggerTargetEl:{type:Sn(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),nu={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},iu=xn({...Wr,...ou,appendTo:{type:Sn([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Sn(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),lu=xn({virtualRef:{type:Sn(Object)},virtualTriggering:Boolean,onMouseenter:{type:Sn(Function)},onMouseleave:{type:Sn(Function)},onClick:{type:Sn(Function)},onKeydown:{type:Sn(Function)},onFocus:{type:Sn(Function)},onBlur:{type:Sn(Function)},onContextmenu:{type:Sn(Function)},id:String,open:Boolean}),au=xn({...lu,disabled:Boolean,trigger:{type:Sn([String,Array]),default:"hover"},triggerKeys:{type:Sn(Array),default:()=>[sr.enter,sr.space]}}),ru=kn({type:Sn(Boolean),default:null}),su=kn({type:Sn(Function)}),cu=e=>{const t=`update:${e}`,o=`onUpdate:${e}`,l=[t],a={[e]:ru,[o]:su},r=({indicator:l,toggleReason:a,shouldHideWhenRouteChanges:r,shouldProceed:s,onShow:c,onHide:u})=>{const d=(0,n.FN)(),{emit:p}=d,m=d.props,h=(0,n.Fl)((()=>(0,i.mf)(m[o]))),f=(0,n.Fl)((()=>null===m[e])),v=e=>{!0!==l.value&&(l.value=!0,a&&(a.value=e),(0,i.mf)(c)&&c(e))},g=e=>{!1!==l.value&&(l.value=!1,a&&(a.value=e),(0,i.mf)(u)&&u(e))},b=e=>{if(!0===m.disabled||(0,i.mf)(s)&&!s())return;const o=h.value&&To;o&&p(t,!0),!f.value&&o||v(e)},y=e=>{if(!0===m.disabled||!To)return;const o=h.value&&To;o&&p(t,!1),!f.value&&o||g(e)},w=e=>{An(e)&&(m.disabled&&e?h.value&&p(t,!1):l.value!==e&&(e?v():g()))},S=()=>{l.value?y():b()};return(0,n.YP)((()=>m[e]),w),r&&void 0!==d.appContext.config.globalProperties.$route&&(0,n.YP)((()=>({...d.proxy.$route})),(()=>{r.value&&l.value&&y()})),(0,n.bv)((()=>{w(m[e])})),{hide:y,show:b,toggle:S,hasUpdateHandler:h}};return{useModelToggle:r,useModelToggleProps:a,useModelToggleEmits:l}},{useModelToggle:uu,useModelToggleProps:du,useModelToggleEmits:pu}=cu("modelValue"),mu=xn({arrowOffset:{type:Number,default:5}}),{useModelToggleProps:hu,useModelToggleEmits:fu,useModelToggle:vu}=cu("visible"),gu=xn({...Br,...hu,...iu,...au,...mu,showArrow:{type:Boolean,default:!0}}),bu=[...fu,"before-show","before-hide","show","hide","open","close"],yu=(e,t)=>(0,i.kJ)(e)?e.includes(t):e===t,wu=(e,t,o)=>n=>{yu((0,Te.SU)(e),t)&&o(n)},Su=(e,t,{checkForDefaultPrevented:o=!0}={})=>{const n=n=>{const i=null==e?void 0:e(n);if(!1===o||!i)return null==t?void 0:t(n)};return n},_u=Symbol("elForwardRef"),ku=e=>{const t=t=>{e.value=t};(0,n.JJ)(_u,{setForwardRef:t})},xu=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Cu="ElOnlyChild",Ou=(0,n.aZ)({name:Cu,setup(e,{slots:t,attrs:o}){var l;const a=(0,n.f3)(_u),r=xu(null!=(l=null==a?void 0:a.setForwardRef)?l:i.dG);return()=>{var e;const i=null==(e=t.default)?void 0:e.call(t,o);if(!i)return null;if(i.length>1)return En(Cu,"requires exact only one valid child."),null;const l=Lu(i);return l?(0,n.wy)((0,n.Ho)(l,o),[[r]]):(En(Cu,"no valid child node found"),null)}}});function Lu(e){if(!e)return null;const t=e;for(const o of t){if((0,i.Kn)(o))switch(o.type){case n.sv:continue;case n.xv:case"svg":return Pu(o);case n.HY:return Lu(o.children);default:return o}return Pu(o)}return null}function Pu(e){const t=Fn("only-child");return(0,n.Wm)("span",{class:t.e("content")},[e])}const Uu=(0,n.aZ)({name:"ElPopperTrigger",inheritAttrs:!1}),ju=(0,n.aZ)({...Uu,props:lu,setup(e,{expose:t}){const o=e,{role:i,triggerRef:l}=(0,n.f3)(Dr,void 0);ku(l);const a=(0,n.Fl)((()=>s.value?o.id:void 0)),r=(0,n.Fl)((()=>{if(i&&"tooltip"===i.value)return o.open&&o.id?o.id:void 0})),s=(0,n.Fl)((()=>{if(i&&"tooltip"!==i.value)return i.value})),c=(0,n.Fl)((()=>s.value?`${o.open}`:void 0));let u;return(0,n.bv)((()=>{(0,n.YP)((()=>o.virtualRef),(e=>{e&&(l.value=zo(e))}),{immediate:!0}),(0,n.YP)(l,((e,t)=>{null==u||u(),u=void 0,Yn(e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach((n=>{var i;const l=o[n];l&&(e.addEventListener(n.slice(2).toLowerCase(),l),null==(i=null==t?void 0:t.removeEventListener)||i.call(t,n.slice(2).toLowerCase(),l))})),u=(0,n.YP)([a,r,s,c],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((o,n)=>{Hl(t[n])?e.removeAttribute(o):e.setAttribute(o,t[n])}))}),{immediate:!0})),Yn(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),(0,n.Jd)((()=>{null==u||u(),u=void 0})),t({triggerRef:l}),(e,t)=>e.virtualTriggering?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.j4)((0,Te.SU)(Ou),(0,n.dG)({key:0},e.$attrs,{"aria-controls":(0,Te.SU)(a),"aria-describedby":(0,Te.SU)(r),"aria-expanded":(0,Te.SU)(c),"aria-haspopup":(0,Te.SU)(s)}),{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Iu=On(ju,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Fu=(0,n.aZ)({name:"ElTooltipTrigger"}),Tu=(0,n.aZ)({...Fu,props:au,setup(e,{expose:t}){const o=e,l=Fn("tooltip"),{controlled:a,id:r,open:s,onOpen:c,onClose:u,onToggle:d}=(0,n.f3)(Zr,void 0),p=(0,Te.iH)(null),m=()=>{if((0,Te.SU)(a)||o.disabled)return!0},h=(0,Te.Vh)(o,"trigger"),f=Su(m,wu(h,"hover",c)),v=Su(m,wu(h,"hover",u)),g=Su(m,wu(h,"click",(e=>{0===e.button&&d(e)}))),b=Su(m,wu(h,"focus",c)),y=Su(m,wu(h,"focus",u)),w=Su(m,wu(h,"contextmenu",(e=>{e.preventDefault(),d(e)}))),S=Su(m,(e=>{const{code:t}=e;o.triggerKeys.includes(t)&&(e.preventDefault(),d(e))}));return t({triggerRef:p}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(Iu),{id:(0,Te.SU)(r),"virtual-ref":e.virtualRef,open:(0,Te.SU)(s),"virtual-triggering":e.virtualTriggering,class:(0,i.C_)((0,Te.SU)(l).e("trigger")),onBlur:(0,Te.SU)(y),onClick:(0,Te.SU)(g),onContextmenu:(0,Te.SU)(w),onFocus:(0,Te.SU)(b),onMouseenter:(0,Te.SU)(f),onMouseleave:(0,Te.SU)(v),onKeydown:(0,Te.SU)(S)},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var Mu=On(Tu,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);let Eu;const Nu=()=>{const e=In(),t=Il(),o=(0,n.Fl)((()=>`${e.value}-popper-container-${t.prefix}`)),i=(0,n.Fl)((()=>`#${o.value}`));return{id:o,selector:i}},Du=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Hu=()=>{const{id:e,selector:t}=Nu();return(0,n.wF)((()=>{To&&(Eu||document.body.querySelector(t.value)||(Eu=Du(e.value)))})),{id:e,selector:t}},Ru=(e,t)=>{const o=(0,Te.iH)(!1),n=(0,Te.iH)(),i=()=>{t("focus")},l=e=>{var o;"pointer"!==(null==(o=e.detail)?void 0:o.focusReason)&&(n.value="first",t("blur"))},a=t=>{e.visible&&!o.value&&(t.target&&(n.value=t.target),o.value=!0)},r=t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),o.value=!1)},s=()=>{o.value=!1,t("close")};return{focusStartRef:n,trapped:o,onFocusAfterReleased:l,onFocusAfterTrapped:i,onFocusInTrap:a,onFocusoutPrevented:r,onReleaseRequested:s}};function Bu(e){return void 0===e}var zu=Bu;const $u=(e,t=[])=>{const{placement:o,strategy:n,popperOptions:i}=e,l={placement:o,strategy:n,...i,modifiers:[...Vu(e),...t]};return Zu(l,null==i?void 0:i.modifiers),l},Au=e=>{if(To)return zo(e)};function Vu(e){const{offset:t,gpuAcceleration:o,fallbackPlacements:n}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:n}},{name:"computeStyles",options:{gpuAcceleration:o}}]}function Zu(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}const Yu=(e,t,o={})=>{const i={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Wu(e);Object.assign(r.value,t)},requires:["computeStyles"]},l=(0,n.Fl)((()=>{const{onFirstUpdate:e,placement:t,strategy:n,modifiers:l}=(0,Te.SU)(o);return{onFirstUpdate:e,placement:t||"bottom",strategy:n||"absolute",modifiers:[...l||[],i,{name:"applyStyles",enabled:!1}]}})),a=(0,Te.XI)(),r=(0,Te.iH)({styles:{popper:{position:(0,Te.SU)(l).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return(0,n.YP)(l,(e=>{const t=(0,Te.SU)(a);t&&t.setOptions(e)}),{deep:!0}),(0,n.YP)([e,t],(([e,t])=>{s(),e&&t&&(a.value=Qc(e,t,(0,Te.SU)(l)))})),(0,n.Jd)((()=>{s()})),{state:(0,n.Fl)((()=>{var e;return{...(null==(e=(0,Te.SU)(a))?void 0:e.state)||{}}})),styles:(0,n.Fl)((()=>(0,Te.SU)(r).styles)),attributes:(0,n.Fl)((()=>(0,Te.SU)(r).attributes)),update:()=>{var e;return null==(e=(0,Te.SU)(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=(0,Te.SU)(a))?void 0:e.forceUpdate()},instanceRef:(0,n.Fl)((()=>(0,Te.SU)(a)))}};function Wu(e){const t=Object.keys(e.elements),o=(0,yn.Z)(t.map((t=>[t,e.styles[t]||{}]))),n=(0,yn.Z)(t.map((t=>[t,e.attributes[t]])));return{styles:o,attributes:n}}const qu=0,Ku=e=>{const{popperInstanceRef:t,contentRef:o,triggerRef:i,role:l}=(0,n.f3)(Dr,void 0),a=(0,Te.iH)(),r=(0,Te.iH)(),s=(0,n.Fl)((()=>({name:"eventListeners",enabled:!!e.visible}))),c=(0,n.Fl)((()=>{var e;const t=(0,Te.SU)(a),o=null!=(e=(0,Te.SU)(r))?e:qu;return{name:"arrow",enabled:!zu(t),options:{element:t,padding:o}}})),u=(0,n.Fl)((()=>({onFirstUpdate:()=>{f()},...$u(e,[(0,Te.SU)(c),(0,Te.SU)(s)])}))),d=(0,n.Fl)((()=>Au(e.referenceEl)||(0,Te.SU)(i))),{attributes:p,state:m,styles:h,update:f,forceUpdate:v,instanceRef:g}=Yu(d,o,u);return(0,n.YP)(g,(e=>t.value=e)),(0,n.bv)((()=>{(0,n.YP)((()=>{var e;return null==(e=(0,Te.SU)(d))?void 0:e.getBoundingClientRect()}),(()=>{f()}))})),{attributes:p,arrowRef:a,contentRef:o,instanceRef:g,state:m,styles:h,role:l,forceUpdate:v,update:f}},Gu=(0,Te.iH)(0),Ju=2e3,Xu=Symbol("zIndexContextKey"),Qu=e=>{const t=e||((0,n.FN)()?(0,n.f3)(Xu,void 0):void 0),o=(0,n.Fl)((()=>{const e=(0,Te.SU)(t);return Vn(e)?e:Ju})),i=(0,n.Fl)((()=>o.value+Gu.value)),l=()=>(Gu.value++,i.value);return{initialZIndex:o,currentZIndex:i,nextZIndex:l}},ed=(e,{attributes:t,styles:o,role:i})=>{const{nextZIndex:l}=Qu(),a=Fn("popper"),r=(0,n.Fl)((()=>(0,Te.SU)(t).popper)),s=(0,Te.iH)(Vn(e.zIndex)?e.zIndex:l()),c=(0,n.Fl)((()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass])),u=(0,n.Fl)((()=>[{zIndex:(0,Te.SU)(s)},(0,Te.SU)(o).popper,e.popperStyle||{}])),d=(0,n.Fl)((()=>"dialog"===i.value?"false":void 0)),p=(0,n.Fl)((()=>(0,Te.SU)(o).arrow||{})),m=()=>{s.value=Vn(e.zIndex)?e.zIndex:l()};return{ariaModal:d,arrowStyle:p,contentAttrs:r,contentClass:c,contentStyle:u,contentZIndex:s,updateZIndex:m}},td="focus-trap.focus-after-trapped",od="focus-trap.focus-after-released",nd="focus-trap.focusout-prevented",id={cancelable:!0,bubbles:!1},ld={cancelable:!0,bubbles:!1},ad="focusAfterTrapped",rd="focusAfterReleased",sd=Symbol("elFocusTrap"),cd=(0,Te.iH)(),ud=(0,Te.iH)(0),dd=(0,Te.iH)(0);let pd=0;const md=e=>{const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});while(o.nextNode())t.push(o.currentNode);return t},hd=(e,t)=>{for(const o of e)if(!fd(o,t))return o},fd=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;while(e){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},vd=e=>{const t=md(e),o=hd(t,e),n=hd(t.reverse(),e);return[o,n]},gd=e=>e instanceof HTMLInputElement&&"select"in e,bd=(e,t)=>{if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),dd.value=window.performance.now(),e!==o&&gd(e)&&t&&e.select()}};function yd(e,t){const o=[...e],n=e.indexOf(t);return-1!==n&&o.splice(n,1),o}const wd=()=>{let e=[];const t=t=>{const o=e[0];o&&t!==o&&o.pause(),e=yd(e,t),e.unshift(t)},o=t=>{var o,n;e=yd(e,t),null==(n=null==(o=e[0])?void 0:o.resume)||n.call(o)};return{push:t,remove:o}},Sd=(e,t=!1)=>{const o=document.activeElement;for(const n of e)if(bd(n,t),document.activeElement!==o)return},_d=wd(),kd=()=>ud.value>dd.value,xd=()=>{cd.value="pointer",ud.value=window.performance.now()},Cd=()=>{cd.value="keyboard",ud.value=window.performance.now()},Od=()=>((0,n.bv)((()=>{0===pd&&(document.addEventListener("mousedown",xd),document.addEventListener("touchstart",xd),document.addEventListener("keydown",Cd)),pd++})),(0,n.Jd)((()=>{pd--,pd<=0&&(document.removeEventListener("mousedown",xd),document.removeEventListener("touchstart",xd),document.removeEventListener("keydown",Cd))})),{focusReason:cd,lastUserFocusTimestamp:ud,lastAutomatedFocusTimestamp:dd}),Ld=e=>new CustomEvent(nd,{...ld,detail:e});let Pd=[];const Ud=e=>{const t=e;t.key===sr.esc&&Pd.forEach((e=>e(t)))},jd=e=>{(0,n.bv)((()=>{0===Pd.length&&document.addEventListener("keydown",Ud),To&&Pd.push(e)})),(0,n.Jd)((()=>{Pd=Pd.filter((t=>t!==e)),0===Pd.length&&To&&document.removeEventListener("keydown",Ud)}))},Id=(0,n.aZ)({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ad,rd,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const o=(0,Te.iH)();let l,a;const{focusReason:r}=Od();jd((o=>{e.trapped&&!s.paused&&t("release-requested",o)}));const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=o=>{if(!e.loop&&!e.trapped)return;if(s.paused)return;const{key:n,altKey:i,ctrlKey:l,metaKey:a,currentTarget:c,shiftKey:u}=o,{loop:d}=e,p=n===sr.tab&&!i&&!l&&!a,m=document.activeElement;if(p&&m){const e=c,[n,i]=vd(e),l=n&&i;if(l)if(u||m!==i){if(u&&[n,e].includes(m)){const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&bd(i,!0))}}else{const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&bd(n,!0))}else if(m===e){const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||o.preventDefault()}}};(0,n.JJ)(sd,{focusTrapRef:o,onKeydown:c}),(0,n.YP)((()=>e.focusTrapEl),(e=>{e&&(o.value=e)}),{immediate:!0}),(0,n.YP)([o],(([e],[t])=>{e&&(e.addEventListener("keydown",c),e.addEventListener("focusin",p),e.addEventListener("focusout",m)),t&&(t.removeEventListener("keydown",c),t.removeEventListener("focusin",p),t.removeEventListener("focusout",m))}));const u=e=>{t(ad,e)},d=e=>t(rd,e),p=n=>{const i=(0,Te.SU)(o);if(!i)return;const r=n.target,c=n.relatedTarget,u=r&&i.contains(r);if(!e.trapped){const e=c&&i.contains(c);e||(l=c)}u&&t("focusin",n),s.paused||e.trapped&&(u?a=r:bd(a,!0))},m=n=>{const i=(0,Te.SU)(o);if(!s.paused&&i)if(e.trapped){const o=n.relatedTarget;Hl(o)||i.contains(o)||setTimeout((()=>{if(!s.paused&&e.trapped){const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||bd(a,!0)}}),0)}else{const e=n.target,o=e&&i.contains(e);o||t("focusout",n)}};async function h(){await(0,n.Y3)();const t=(0,Te.SU)(o);if(t){_d.push(s);const o=t.contains(document.activeElement)?l:document.activeElement;l=o;const a=t.contains(o);if(!a){const l=new Event(td,id);t.addEventListener(td,u),t.dispatchEvent(l),l.defaultPrevented||(0,n.Y3)((()=>{let n=e.focusStartEl;(0,i.HD)(n)||(bd(n),document.activeElement!==n&&(n="first")),"first"===n&&Sd(md(t),!0),document.activeElement!==o&&"container"!==n||bd(t)}))}}}function f(){const e=(0,Te.SU)(o);if(e){e.removeEventListener(td,u);const t=new CustomEvent(od,{...id,detail:{focusReason:r.value}});e.addEventListener(od,d),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=r.value&&kd()&&!e.contains(document.activeElement)||bd(null!=l?l:document.body),e.removeEventListener(od,d),_d.remove(s)}}return(0,n.bv)((()=>{e.trapped&&h(),(0,n.YP)((()=>e.trapped),(e=>{e?h():f()}))})),(0,n.Jd)((()=>{e.trapped&&f()})),{onKeydown:c}}});function Fd(e,t,o,i,l,a){return(0,n.WI)(e.$slots,"default",{handleKeydown:e.onKeydown})}var Td=On(Id,[["render",Fd],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const Md=(0,n.aZ)({name:"ElPopperContent"}),Ed=(0,n.aZ)({...Md,props:ou,emits:nu,setup(e,{expose:t,emit:o}){const l=e,{focusStartRef:a,trapped:r,onFocusAfterReleased:s,onFocusAfterTrapped:c,onFocusInTrap:u,onFocusoutPrevented:d,onReleaseRequested:p}=Ru(l,o),{attributes:m,arrowRef:h,contentRef:f,styles:v,instanceRef:g,role:b,update:y}=Ku(l),{ariaModal:w,arrowStyle:S,contentAttrs:_,contentClass:k,contentStyle:x,updateZIndex:C}=ed(l,{styles:v,attributes:m,role:b}),O=(0,n.f3)(xl,void 0),L=(0,Te.iH)();let P;(0,n.JJ)(Hr,{arrowStyle:S,arrowRef:h,arrowOffset:L}),O&&(O.addInputId||O.removeInputId)&&(0,n.JJ)(xl,{...O,addInputId:i.dG,removeInputId:i.dG});const U=(e=!0)=>{y(),e&&C()},j=()=>{U(!1),l.visible&&l.focusOnShow?r.value=!0:!1===l.visible&&(r.value=!1)};return(0,n.bv)((()=>{(0,n.YP)((()=>l.triggerTargetEl),((e,t)=>{null==P||P(),P=void 0;const o=(0,Te.SU)(e||f.value),i=(0,Te.SU)(t||f.value);Yn(o)&&(P=(0,n.YP)([b,()=>l.ariaLabel,w,()=>l.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,n)=>{Hl(e[n])?o.removeAttribute(t):o.setAttribute(t,e[n])}))}),{immediate:!0})),i!==o&&Yn(i)&&["role","aria-label","aria-modal","id"].forEach((e=>{i.removeAttribute(e)}))}),{immediate:!0}),(0,n.YP)((()=>l.visible),j,{immediate:!0})})),(0,n.Jd)((()=>{null==P||P(),P=void 0})),t({popperContentRef:f,popperInstanceRef:g,updatePopper:U,contentStyle:x}),(e,t)=>((0,n.wg)(),(0,n.iD)("div",(0,n.dG)({ref_key:"contentRef",ref:f},(0,Te.SU)(_),{style:(0,Te.SU)(x),class:(0,Te.SU)(k),tabindex:"-1",onMouseenter:t[0]||(t[0]=t=>e.$emit("mouseenter",t)),onMouseleave:t[1]||(t[1]=t=>e.$emit("mouseleave",t))}),[(0,n.Wm)((0,Te.SU)(Td),{trapped:(0,Te.SU)(r),"trap-on-focus-in":!0,"focus-trap-el":(0,Te.SU)(f),"focus-start-el":(0,Te.SU)(a),onFocusAfterTrapped:(0,Te.SU)(c),onFocusAfterReleased:(0,Te.SU)(s),onFocusin:(0,Te.SU)(u),onFocusoutPrevented:(0,Te.SU)(d),onReleaseRequested:(0,Te.SU)(p)},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var Nd=On(Ed,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const Dd=(0,n.aZ)({name:"ElTooltipContent",inheritAttrs:!1}),Hd=(0,n.aZ)({...Dd,props:iu,setup(e,{expose:t}){const o=e,{selector:i}=Nu(),a=Fn("tooltip"),r=(0,Te.iH)(null),s=(0,Te.iH)(!1),{controlled:c,id:u,open:d,trigger:p,onClose:m,onOpen:h,onShow:f,onHide:v,onBeforeShow:g,onBeforeHide:b}=(0,n.f3)(Zr,void 0),y=(0,n.Fl)((()=>o.transition||`${a.namespace.value}-fade-in-linear`)),w=(0,n.Fl)((()=>o.persistent));(0,n.Jd)((()=>{s.value=!0}));const S=(0,n.Fl)((()=>!!(0,Te.SU)(w)||(0,Te.SU)(d))),_=(0,n.Fl)((()=>!o.disabled&&(0,Te.SU)(d))),k=(0,n.Fl)((()=>o.appendTo||i.value)),x=(0,n.Fl)((()=>{var e;return null!=(e=o.style)?e:{}})),C=(0,n.Fl)((()=>!(0,Te.SU)(d))),O=()=>{v()},L=()=>{if((0,Te.SU)(c))return!0},P=Su(L,(()=>{o.enterable&&"hover"===(0,Te.SU)(p)&&h()})),U=Su(L,(()=>{"hover"===(0,Te.SU)(p)&&m()})),j=()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.updatePopper)||t.call(e),null==g||g()},I=()=>{null==b||b()},F=()=>{f(),M=Zo((0,n.Fl)((()=>{var e;return null==(e=r.value)?void 0:e.popperContentRef})),(()=>{if((0,Te.SU)(c))return;const e=(0,Te.SU)(p);"hover"!==e&&m()}))},T=()=>{o.virtualTriggering||m()};let M;return(0,n.YP)((()=>(0,Te.SU)(d)),(e=>{e||null==M||M()}),{flush:"post"}),(0,n.YP)((()=>o.content),(()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:r}),(e,t)=>((0,n.wg)(),(0,n.j4)(n.lR,{disabled:!e.teleported,to:(0,Te.SU)(k)},[(0,n.Wm)(l.uT,{name:(0,Te.SU)(y),onAfterLeave:O,onBeforeEnter:j,onAfterEnter:F,onBeforeLeave:I},{default:(0,n.w5)((()=>[(0,Te.SU)(S)?(0,n.wy)(((0,n.wg)(),(0,n.j4)((0,Te.SU)(Nd),(0,n.dG)({key:0,id:(0,Te.SU)(u),ref_key:"contentRef",ref:r},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":(0,Te.SU)(C),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,(0,Te.SU)(x)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:(0,Te.SU)(_),"z-index":e.zIndex,onMouseenter:(0,Te.SU)(P),onMouseleave:(0,Te.SU)(U),onBlur:T,onClose:(0,Te.SU)(m)}),{default:(0,n.w5)((()=>[s.value?(0,n.kq)("v-if",!0):(0,n.WI)(e.$slots,"default",{key:0})])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[l.F8,(0,Te.SU)(_)]]):(0,n.kq)("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}});var Rd=On(Hd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const Bd=(0,n.aZ)({name:"ElPopperArrow",inheritAttrs:!1}),zd=(0,n.aZ)({...Bd,props:mu,setup(e,{expose:t}){const o=e,l=Fn("popper"),{arrowOffset:a,arrowRef:r,arrowStyle:s}=(0,n.f3)(Hr,void 0);return(0,n.YP)((()=>o.arrowOffset),(e=>{a.value=e})),(0,n.Jd)((()=>{r.value=void 0})),t({arrowRef:r}),(e,t)=>((0,n.wg)(),(0,n.iD)("span",{ref_key:"arrowRef",ref:r,class:(0,i.C_)((0,Te.SU)(l).e("arrow")),style:(0,i.j5)((0,Te.SU)(s)),"data-popper-arrow":""},null,6))}});var $d=On(zd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const Ad=["innerHTML"],Vd={key:1},Zd=(0,n.aZ)({name:"ElTooltip"}),Yd=(0,n.aZ)({...Zd,props:gu,emits:bu,setup(e,{expose:t,emit:o}){const l=e;Hu();const a=Fl(),r=(0,Te.iH)(),s=(0,Te.iH)(),c=()=>{var e;const t=(0,Te.SU)(r);t&&(null==(e=t.popperInstanceRef)||e.update())},u=(0,Te.iH)(!1),d=(0,Te.iH)(),{show:p,hide:m,hasUpdateHandler:h}=vu({indicator:u,toggleReason:d}),{onOpen:f,onClose:v}=qr({showAfter:(0,Te.Vh)(l,"showAfter"),hideAfter:(0,Te.Vh)(l,"hideAfter"),autoClose:(0,Te.Vh)(l,"autoClose"),open:p,close:m}),g=(0,n.Fl)((()=>An(l.visible)&&!h.value));(0,n.JJ)(Zr,{controlled:g,id:a,open:(0,Te.OT)(u),trigger:(0,Te.Vh)(l,"trigger"),onOpen:e=>{f(e)},onClose:e=>{v(e)},onToggle:e=>{(0,Te.SU)(u)?v(e):f(e)},onShow:()=>{o("show",d.value)},onHide:()=>{o("hide",d.value)},onBeforeShow:()=>{o("before-show",d.value)},onBeforeHide:()=>{o("before-hide",d.value)},updatePopper:c}),(0,n.YP)((()=>l.disabled),(e=>{e&&u.value&&(u.value=!1)}));const b=e=>{var t,o;const n=null==(o=null==(t=s.value)?void 0:t.contentRef)?void 0:o.popperContentRef,i=(null==e?void 0:e.relatedTarget)||document.activeElement;return n&&n.contains(i)};return(0,n.se)((()=>u.value&&m())),t({popperRef:r,contentRef:s,isFocusInsideContent:b,updatePopper:c,onOpen:f,onClose:v,hide:m}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(Vr),{ref_key:"popperRef",ref:r,role:e.role},{default:(0,n.w5)((()=>[(0,n.Wm)(Mu,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:(0,n.w5)((()=>[e.$slots.default?(0,n.WI)(e.$slots,"default",{key:0}):(0,n.kq)("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),(0,n.Wm)(Rd,{ref_key:"contentRef",ref:s,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"content",{},(()=>[e.rawContent?((0,n.wg)(),(0,n.iD)("span",{key:0,innerHTML:e.content},null,8,Ad)):((0,n.wg)(),(0,n.iD)("span",Vd,(0,i.zw)(e.content),1))])),e.showArrow?((0,n.wg)(),(0,n.j4)((0,Te.SU)($d),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):(0,n.kq)("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});var Wd=On(Yd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const qd=oi(Wd),Kd=xn({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:hl,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Gd={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Jd=(0,n.aZ)({name:"ElTag"}),Xd=(0,n.aZ)({...Jd,props:Kd,emits:Gd,setup(e,{emit:t}){const o=e,a=Ol(),r=Fn("tag"),s=(0,n.Fl)((()=>{const{type:e,hit:t,effect:n,closable:i,round:l}=o;return[r.b(),r.is("closable",i),r.m(e),r.m(a.value),r.m(n),r.is("hit",t),r.is("round",l)]})),c=e=>{t("close",e)},u=e=>{t("click",e)};return(e,t)=>e.disableTransitions?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Te.SU)(s)),style:(0,i.j5)({backgroundColor:e.color}),onClick:u},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(r).e("content"))},[(0,n.WI)(e.$slots,"default")],2),e.closable?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Ai))])),_:1},8,["class","onClick"])):(0,n.kq)("v-if",!0)],6)):((0,n.wg)(),(0,n.j4)(l.uT,{key:1,name:`${(0,Te.SU)(r).namespace.value}-zoom-in-center`,appear:""},{default:(0,n.w5)((()=>[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(s)),style:(0,i.j5)({backgroundColor:e.color}),onClick:u},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(r).e("content"))},[(0,n.WI)(e.$slots,"default")],2),e.closable?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Ai))])),_:1},8,["class","onClick"])):(0,n.kq)("v-if",!0)],6)])),_:3},8,["name"]))}});var Qd=On(Xd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ep=oi(Qd),tp=xn({...Ga,size:fl,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Sn(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:Sn(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:iu.teleported,tagType:{...Kd.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),op={[bl]:e=>!!e||null===e,[yl]:e=>!!e||null===e,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>An(e),expandChange:e=>!!e,removeTag:e=>!!e},np=new Map;let ip;function lp(e,t){let o=[];return Array.isArray(t.arg)?o=t.arg:Yn(t.arg)&&o.push(t.arg),function(n,i){const l=t.instance.popperRef,a=n.target,r=null==i?void 0:i.target,s=!t||!t.instance,c=!a||!r,u=e.contains(a)||e.contains(r),d=e===a,p=o.length&&o.some((e=>null==e?void 0:e.contains(a)))||o.length&&o.includes(r),m=l&&(l.contains(a)||l.contains(r));s||c||u||d||p||m||t.value(n,i)}}To&&(document.addEventListener("mousedown",(e=>ip=e)),document.addEventListener("mouseup",(e=>{for(const t of np.values())for(const{documentHandler:o}of t)o(e,ip)})));const ap={beforeMount(e,t){np.has(e)||np.set(e,[]),np.get(e).push({documentHandler:lp(e,t),bindingFn:t.value})},updated(e,t){np.has(e)||np.set(e,[]);const o=np.get(e),n=o.findIndex((e=>e.bindingFn===t.oldValue)),i={documentHandler:lp(e,t),bindingFn:t.value};n>=0?o.splice(n,1,i):o.push(i)},unmounted(e){np.delete(e)}},rp={key:0},sp=["placeholder","onKeydown"],cp=["onClick"],up="ElCascader",dp=(0,n.aZ)({name:up}),pp=(0,n.aZ)({...dp,props:tp,emits:op,setup(e,{expose:t,emit:o}){const a=e,r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:o}=e;["right","left","bottom","top"].includes(o)||(t.arrow.x=35)},requires:["arrow"]}]},s=(0,n.l1)();let c=0,u=0;const d=Fn("cascader"),p=Fn("input"),{t:m}=Ra(),{form:h,formItem:f}=Tl(),v=(0,Te.iH)(null),g=(0,Te.iH)(null),b=(0,Te.iH)(null),y=(0,Te.iH)(null),w=(0,Te.iH)(null),S=(0,Te.iH)(!1),_=(0,Te.iH)(!1),k=(0,Te.iH)(!1),x=(0,Te.iH)(!1),C=(0,Te.iH)(""),O=(0,Te.iH)(""),L=(0,Te.iH)([]),P=(0,Te.iH)([]),U=(0,Te.iH)([]),j=(0,Te.iH)(!1),I=(0,n.Fl)((()=>s.style)),F=(0,n.Fl)((()=>a.disabled||(null==h?void 0:h.disabled))),T=(0,n.Fl)((()=>a.placeholder||m("el.cascader.placeholder"))),M=(0,n.Fl)((()=>O.value||L.value.length>0||j.value?"":T.value)),E=Ol(),N=(0,n.Fl)((()=>["small"].includes(E.value)?"small":"default")),D=(0,n.Fl)((()=>!!a.props.multiple)),H=(0,n.Fl)((()=>!a.filterable||D.value)),R=(0,n.Fl)((()=>D.value?O.value:C.value)),B=(0,n.Fl)((()=>{var e;return(null==(e=y.value)?void 0:e.checkedNodes)||[]})),z=(0,n.Fl)((()=>!(!a.clearable||F.value||k.value||!_.value)&&!!B.value.length)),$=(0,n.Fl)((()=>{const{showAllLevels:e,separator:t}=a,o=B.value;return o.length?D.value?"":o[0].calcText(e,t):""})),A=(0,n.Fl)({get(){return(0,jo.Z)(a.modelValue)},set(e){o(bl,e),o(yl,e),a.validateEvent&&(null==f||f.validate("change").catch((e=>En(e))))}}),V=(0,n.Fl)((()=>[d.b(),d.m(E.value),d.is("disabled",F.value),s.class])),Z=(0,n.Fl)((()=>[p.e("icon"),"icon-arrow-down",d.is("reverse",S.value)])),Y=(0,n.Fl)((()=>d.is("focus",S.value||x.value))),W=(0,n.Fl)((()=>{var e,t;return null==(t=null==(e=v.value)?void 0:e.popperRef)?void 0:t.contentRef})),q=e=>{var t,i,l;F.value||(e=null!=e?e:!S.value,e!==S.value&&(S.value=e,null==(i=null==(t=g.value)?void 0:t.input)||i.setAttribute("aria-expanded",`${e}`),e?(K(),(0,n.Y3)(null==(l=y.value)?void 0:l.scrollToExpandingNode)):a.filterable&&se(),o("visibleChange",e)))},K=()=>{(0,n.Y3)((()=>{var e;null==(e=v.value)||e.updatePopper()}))},G=()=>{k.value=!1},J=e=>{const{showAllLevels:t,separator:o}=a;return{node:e,key:e.uid,text:e.calcText(t,o),hitState:!1,closable:!F.value&&!e.isDisabled,isCollapseTag:!1}},X=e=>{var t;const n=e.node;n.doCheck(!1),null==(t=y.value)||t.calculateCheckedValue(),o("removeTag",n.valueByOption)},Q=()=>{if(!D.value)return;const e=B.value,t=[],o=[];if(e.forEach((e=>o.push(J(e)))),P.value=o,e.length){e.slice(0,a.maxCollapseTags).forEach((e=>t.push(J(e))));const o=e.slice(a.maxCollapseTags),n=o.length;n&&(a.collapseTags?t.push({key:-1,text:`+ ${n}`,closable:!1,isCollapseTag:!0}):o.forEach((e=>t.push(J(e)))))}L.value=t},ee=()=>{var e,t;const{filterMethod:o,showAllLevels:n,separator:i}=a,l=null==(t=null==(e=y.value)?void 0:e.getFlattedNodes(!a.props.checkStrictly))?void 0:t.filter((e=>!e.isDisabled&&(e.calcText(n,i),o(e,R.value))));D.value&&(L.value.forEach((e=>{e.hitState=!1})),P.value.forEach((e=>{e.hitState=!1}))),k.value=!0,U.value=l,K()},te=()=>{var e;let t;t=k.value&&w.value?w.value.$el.querySelector(`.${d.e("suggestion-item")}`):null==(e=y.value)?void 0:e.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),t&&(t.focus(),!k.value&&t.click())},oe=()=>{var e,t;const o=null==(e=g.value)?void 0:e.input,n=b.value,i=null==(t=w.value)?void 0:t.$el;if(To&&o){if(i){const e=i.querySelector(`.${d.e("suggestion-list")}`);e.style.minWidth=`${o.offsetWidth}px`}if(n){const{offsetHeight:e}=n,t=L.value.length>0?`${Math.max(e+6,c)}px`:`${c}px`;o.style.height=t,K()}}},ne=e=>{var t;return null==(t=y.value)?void 0:t.getCheckedNodes(e)},ie=e=>{K(),o("expandChange",e)},le=e=>{var t;const o=null==(t=e.target)?void 0:t.value;if("compositionend"===e.type)j.value=!1,(0,n.Y3)((()=>fe(o)));else{const e=o[o.length-1]||"";j.value=!Ur(e)}},ae=e=>{if(!j.value)switch(e.code){case sr.enter:q();break;case sr.down:q(!0),(0,n.Y3)(te),e.preventDefault();break;case sr.esc:!0===S.value&&(e.preventDefault(),e.stopPropagation(),q(!1));break;case sr.tab:q(!1);break}},re=()=>{var e;null==(e=y.value)||e.clearCheckedNodes(),!S.value&&a.filterable&&se(),q(!1)},se=()=>{const{value:e}=$;C.value=e,O.value=e},ce=e=>{var t,o;const{checked:n}=e;D.value?null==(t=y.value)||t.handleCheckChange(e,!n,!1):(!n&&(null==(o=y.value)||o.handleCheckChange(e,!0,!1)),q(!1))},ue=e=>{const t=e.target,{code:o}=e;switch(o){case sr.up:case sr.down:{const e=o===sr.up?-1:1;tr(er(t,e,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case sr.enter:t.click();break}},de=()=>{const e=L.value,t=e[e.length-1];u=O.value?0:u+1,!t||!u||a.collapseTags&&e.length>1||(t.hitState?X(t):t.hitState=!0)},pe=e=>{const t=e.target,n=d.e("search-input");t.className===n&&(x.value=!0),o("focus",e)},me=e=>{x.value=!1,o("blur",e)},he=(0,Io.Z)((()=>{const{value:e}=R;if(!e)return;const t=a.beforeFilter(e);(0,i.tI)(t)?t.then(ee).catch((()=>{})):!1!==t?ee():G()}),a.debounce),fe=(e,t)=>{!S.value&&q(!0),(null==t?void 0:t.isComposing)||(e?he():G())},ve=e=>Number.parseFloat(Ko(p.cssVarName("input-height"),e).value)-2;return(0,n.YP)(k,K),(0,n.YP)([B,F],Q),(0,n.YP)(L,(()=>{(0,n.Y3)((()=>oe()))})),(0,n.YP)(E,(async()=>{await(0,n.Y3)();const e=g.value.input;c=ve(e)||c,oe()})),(0,n.YP)($,se,{immediate:!0}),(0,n.bv)((()=>{const e=g.value.input,t=ve(e);c=e.offsetHeight||t,en(e,oe)})),t({getCheckedNodes:ne,cascaderPanelRef:y,togglePopperVisible:q,contentRef:W}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(qd),{ref_key:"tooltipRef",ref:v,visible:S.value,teleported:e.teleported,"popper-class":[(0,Te.SU)(d).e("dropdown"),e.popperClass],"popper-options":r,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${(0,Te.SU)(d).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:G},{default:(0,n.w5)((()=>[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)((0,Te.SU)(V)),style:(0,i.j5)((0,Te.SU)(I)),onClick:t[5]||(t[5]=()=>q(!(0,Te.SU)(H)||void 0)),onKeydown:ae,onMouseenter:t[6]||(t[6]=e=>_.value=!0),onMouseleave:t[7]||(t[7]=e=>_.value=!1)},[(0,n.Wm)((0,Te.SU)(Nr),{ref_key:"input",ref:g,modelValue:C.value,"onUpdate:modelValue":t[1]||(t[1]=e=>C.value=e),placeholder:(0,Te.SU)(M),readonly:(0,Te.SU)(H),disabled:(0,Te.SU)(F),"validate-event":!1,size:(0,Te.SU)(E),class:(0,i.C_)((0,Te.SU)(Y)),tabindex:(0,Te.SU)(D)&&e.filterable&&!(0,Te.SU)(F)?-1:void 0,onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me,onInput:fe},{suffix:(0,n.w5)((()=>[(0,Te.SU)(z)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:"clear",class:(0,i.C_)([(0,Te.SU)(p).e("icon"),"icon-circle-close"]),onClick:(0,l.iM)(re,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Di))])),_:1},8,["class","onClick"])):((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:"arrow-down",class:(0,i.C_)((0,Te.SU)(Z)),onClick:t[0]||(t[0]=(0,l.iM)((e=>q()),["stop"]))},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(di))])),_:1},8,["class"]))])),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),(0,Te.SU)(D)?((0,n.wg)(),(0,n.iD)("div",{key:0,ref_key:"tagWrapper",ref:b,class:(0,i.C_)((0,Te.SU)(d).e("tags"))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(L.value,(t=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(ep),{key:t.key,type:e.tagType,size:(0,Te.SU)(N),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>X(t)},{default:(0,n.w5)((()=>[!1===t.isCollapseTag?((0,n.wg)(),(0,n.iD)("span",rp,(0,i.zw)(t.text),1)):((0,n.wg)(),(0,n.j4)((0,Te.SU)(qd),{key:1,disabled:S.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:(0,n.w5)((()=>[(0,n._)("span",null,(0,i.zw)(t.text),1)])),content:(0,n.w5)((()=>[(0,n._)("div",{class:(0,i.C_)((0,Te.SU)(d).e("collapse-tags"))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(P.value.slice(e.maxCollapseTags),((t,o)=>((0,n.wg)(),(0,n.iD)("div",{key:o,class:(0,i.C_)((0,Te.SU)(d).e("collapse-tag"))},[((0,n.wg)(),(0,n.j4)((0,Te.SU)(ep),{key:t.key,class:"in-tooltip",type:e.tagType,size:(0,Te.SU)(N),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>X(t)},{default:(0,n.w5)((()=>[(0,n._)("span",null,(0,i.zw)(t.text),1)])),_:2},1032,["type","size","hit","closable","onClose"]))],2)))),128))],2)])),_:2},1032,["disabled"]))])),_:2},1032,["type","size","hit","closable","onClose"])))),128)),e.filterable&&!(0,Te.SU)(F)?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[2]||(t[2]=e=>O.value=e),type:"text",class:(0,i.C_)((0,Te.SU)(d).e("search-input")),placeholder:(0,Te.SU)($)?"":(0,Te.SU)(T),onInput:t[3]||(t[3]=e=>fe(O.value,e)),onClick:t[4]||(t[4]=(0,l.iM)((e=>q(!0)),["stop"])),onKeydown:(0,l.D2)(de,["delete"]),onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me},null,42,sp)),[[l.nr,O.value]]):(0,n.kq)("v-if",!0)],2)):(0,n.kq)("v-if",!0)],38)),[[(0,Te.SU)(ap),()=>q(!1),(0,Te.SU)(W)]])])),content:(0,n.w5)((()=>[(0,n.wy)((0,n.Wm)((0,Te.SU)(pr),{ref_key:"cascaderPanelRef",ref:y,modelValue:(0,Te.SU)(A),"onUpdate:modelValue":t[8]||(t[8]=e=>(0,Te.dq)(A)?A.value=e:null),options:e.options,props:a.props,border:!1,"render-label":e.$slots.default,onExpandChange:ie,onClose:t[9]||(t[9]=t=>e.$nextTick((()=>q(!1))))},null,8,["modelValue","options","props","render-label"]),[[l.F8,!k.value]]),e.filterable?(0,n.wy)(((0,n.wg)(),(0,n.j4)((0,Te.SU)(ii),{key:0,ref_key:"suggestionPanel",ref:w,tag:"ul",class:(0,i.C_)((0,Te.SU)(d).e("suggestion-panel")),"view-class":(0,Te.SU)(d).e("suggestion-list"),onKeydown:ue},{default:(0,n.w5)((()=>[U.value.length?((0,n.wg)(!0),(0,n.iD)(n.HY,{key:0},(0,n.Ko)(U.value,(e=>((0,n.wg)(),(0,n.iD)("li",{key:e.uid,class:(0,i.C_)([(0,Te.SU)(d).e("suggestion-item"),(0,Te.SU)(d).is("checked",e.checked)]),tabindex:-1,onClick:t=>ce(e)},[(0,n._)("span",null,(0,i.zw)(e.text),1),e.checked?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(ki))])),_:1})):(0,n.kq)("v-if",!0)],10,cp)))),128)):(0,n.WI)(e.$slots,"empty",{key:1},(()=>[(0,n._)("li",{class:(0,i.C_)((0,Te.SU)(d).e("empty-text"))},(0,i.zw)((0,Te.SU)(m)("el.cascader.noMatch")),3)]))])),_:3},8,["class","view-class"])),[[l.F8,k.value]]):(0,n.kq)("v-if",!0)])),_:3},8,["visible","teleported","popper-class","transition"]))}});var mp=On(pp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);mp.install=e=>{e.component(mp.name,mp)};const hp=mp,fp=hp;var vp=(0,n.aZ)({components:{HeaderComponent:Me.Z,ModelPlacement:Pt,setLabel:Wt,ModelPlacementMobile:Lo,RobotAssist:Po.Z,ElCascader:fp},setup(){let e=(0,n.Fl)((()=>[{title:(0,xt.QT)().t("LibraryPage.Moodboard"),code:"Moodboard",icon:"fi fi-rr-grid",showChildren:!1,children:[]},{title:(0,xt.QT)().t("LibraryPage.Prints"),code:"Printboard",icon:"fi fi-rs-objects-column",showChildren:!1,children:[]},{title:(0,xt.QT)().t("LibraryPage.Sketches"),code:"Sketchboard",icon:"fi icon iconfont icon-a-waitao_changkuanwaitao11x",showChildren:!1,children:[]},{title:(0,xt.QT)().t("LibraryPage.Mannequins"),code:"Models",icon:"fi fi-rs-people",showChildren:!1,children:[]}])),t=(0,Te.iH)([]),o=(0,Te.iH)("Moodboard"),i=(0,Te.iH)(""),l=(0,Te.iH)("Outwear"),a=(0,Te.iH)("Meal"),r=[],s=[],c=(0,Te.iH)([]),u=(0,Te.iH)(1),d=(0,Te.iH)(18),p=(0,Te.iH)(20),m=(0,Te.iH)(!1),h=(0,Te.iH)("single"),f=(0,Te.iH)(""),v=(0,Te.iH)(""),g=(0,Te.iH)(0),b=(0,Te.iH)(!1),y=(0,Te.iH)({}),w=(0,St.oR)(),S=(0,Te.iH)("Upload"),_=(0,Te.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),k=(0,Te.iH)(!1),x=(0,Te.iH)(),C=(0,Te.iH)(),O=(0,Te.iH)(),L=(0,Te.iH)([]),P=(0,Te.iH)([]),U=(0,Te.iH)({num:1,optype:!1,name:(0,xt.QT)().t("LibraryPage.model")+"1"}),{t:j}=(0,xt.QT)();const I=(0,Te.iH)([]);let F={selectCode:o,designType:l};(0,n.JJ)("type",F);let T=(0,Te.iH)({labelValue:[],editLabelValue:[]}),M={multiple:!0,checkStrictly:!0,emitPath:!0,children:"childList",value:"id",label:"classificationName"},E=(0,Te.iH)();return{menuList:e,selectImgList:t,selectCode:o,searchPictureName:i,sexList:r,sex:a,disignTypeList:s,designType:l,imgList:c,currentPage:u,pageSize:d,total:p,renameVisivle:m,renameType:h,newPicName:f,uploadUrl:v,currentUploadFileNum:g,isShowMark:b,selectSingleImg:y,store:w,uploadGenerate:S,checkbox:_,inputShow:k,generateCheckbox:x,captionGeneration:C,inputTime:O,generateList:L,selectGenerateList:P,printModel:U,value:T,options:I,t:j,props:M,isTest:E}},data(e){return{userInfo:{},indicator:(0,n.h)(Fe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:e.selectCode,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:""}},async mounted(){let e=(0,yt.ej)("userInfo"),t=(0,yt.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),this.uploadUrl=(0,bt.M$)(),this.getLibraryList(),this.getClass(),this.getSex(),this.token=(0,yt.ej)("token")||""},methods:{getSex(){gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.sex=t[0].value,this.sexList=t,this.getPosition()}}))},async getPosition(){let e;e="Female"==this.sex?"FemalePosition":"MalePosition",await gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:e}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.designType=t[0].value,this.disignTypeList=t}}))},likeFile(e,t){let o="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType:"";if("like"==t){let t={generateDetailId:e.id,level1Type:this.selectCode,level2Type:o,gender:this.sex,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};gt.V.axiosPost(gt.V.httpUrls.generateLike,t).then((t=>{e.like=!0})).catch((e=>{}))}else{let t={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};gt.V.axiosGet(gt.V.httpUrls.generateDislike,{params:t}).then((t=>{e.like=!1})).catch((e=>{}))}},selectMenuItem(e,t){e.children?.length?e.showChildren=!e.showChildren:(e.code!=this.upload.level1Type&&(this.selectCode=e.code,this.currentPage=1,this.total=0,this.searchPictureName="",this.imgList=[],this.sex="Female",this.designType="Outwear",this.selectImgList=[],this.selectSingleImg={},this.getLibraryList(),this.getClass(),this.uploadGenerate="Upload",this.captionGeneration="",this.selectGenerateList=[],this.generateList=[]),this.upload.level1Type=e.code)},async sexChange(){await this.getPosition(),this.getLibraryList()},handleChange(){this.getLibraryList()},fileUploadChange(e){let t=e.file;if("Models"==this.selectCode){let e=new FileReader;if(this.imgList.length+this.currentUploadFileNum>10&&this.isTest)return void Vt.ZP.info(this.t("isTest.image"));e.onload=e=>{let o;o="object"===typeof e.target.result?window.URL.createObjectURL(new Blob([e.target.result])):e.target.result,this.placementClick({url:o,file:t.originFileObj})},e.readAsArrayBuffer(t.originFileObj)}},changePage(e,t){this.currentPage=e,this.pageSize=t,this.getLibraryList()},selectImgItem(e){if(-1===this.selectImgList.indexOf(e.id))this.selectImgList.push(e.id);else{let t=this.selectImgList.indexOf(e.id);this.selectImgList.splice(t,1)}},selectAllImg(){this.selectImgList.length==this.imgList.length?this.selectImgList=[]:this.selectImgList=this.imgList.map((e=>e.id))},closeRenameModal(){this.renameVisivle=!1,this.newPicName="",this.value.editLabelValue=[],this.value.labelValue=[]},confrimRename(){let e={libraryIds:"single"===this.renameType?[this.selectSingleImg.id]:this.selectImgList,libraryName:this.newPicName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},t=(("Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode)&&this.designType,[]);this.value.editLabelValue.forEach((e=>{t.push(e[e.length-1])}));let o={classificationIdList:t,classificationName:"",createTime:"",id:0,libraryIdList:"single"===this.renameType?[this.selectSingleImg.id]:this.selectImgList,type:this.selectCode,updateTime:"",userId:0};gt.V.axiosPost(gt.V.httpUrls.batchUpdateLibraryName,e).then((e=>{"batch"===this.renameType&&(this.selectImgList=[]),gt.V.axiosPost(gt.V.httpUrls.relationLibrary,o).then((e=>{this.getLibraryList(),this.closeRenameModal()})).catch((e=>{this.closeRenameModal()}))})).catch((e=>{this.closeRenameModal()}))},showRenameModal(e,t){if(this.newPicName="","batch"==t&&!this.selectImgList.length)return this.value.labelValue=[],void(this.newPicName="");let o={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:0,id:0,isDeleted:0,libraryIdList:[e.id],parentId:0,type:"",updateTime:"",userId:0};"single"===t&&(this.selectSingleImg=e,this.newPicName=e.name,gt.V.axiosPost(gt.V.httpUrls.getRelClassificationIdList,o).then((e=>{this.value.editLabelValue=e})).catch((e=>{}))),this.renameType=t,this.renameVisivle=!0},upLoad(){},uploadGenerateOpen(e){"Generate"==this.uploadGenerate&&"Generate"!=e&&this.getLibraryList(),this.uploadGenerate=e},deleteSinglePic(e,t){let o=this;_t.Z.confirm({title:this.t("LibraryPage.jsContent1"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){o.confirmDeletePic(e,t)}})},deleteBatchPic(){if(!this.selectImgList.length)return;let e=this;_t.Z.confirm({title:this.t("LibraryPage.jsContent2"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",onOk(){e.confirmDeletePic("",0)}})},confirmDeletePic(e,t){let o=e?[e.id]:this.selectImgList,i={libraryIds:o};gt.V.axiosPost(gt.V.httpUrls.batchDeleteLibrary,i).then((o=>{e&&e.id?this.imgList.splice(t,1):(this.selectImgList=[],this.getLibraryList())})).catch((o=>{if("Models"==e.level1Type&&1===o.errCode){let i=this;_t.Z.confirm({title:o.errMsg,icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.deleteModelConfirm=1,i.confirmDeletePic(e,t)},onCancel(){}})}}))},beforeUpload(e,t){const o="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;o||Vt.ZP.info(this.t("LibraryPage.jsContent3"));const n=e.size/1024/1024<2;if(n||Vt.ZP.info(this.t("LibraryPage.jsContent4")),!o||!n)return o&&n||Uo.Z.LIST_IGNORE;this.currentUploadFileNum=t.length},customRequest(e){if("Models"==this.selectCode)return;if(this.imgList.length+this.currentUploadFileNum>10&&this.isTest)return void Vt.ZP.info(this.t("isTest.image"));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType:"",o={file:e.file,level1Type:this.selectCode,level2Type:t,sex:"Sketchboard"==this.selectCode?this.sex:"",modelType:"",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,o,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{e.checkMd5?(this.currentUploadFileNum--,this.currentUploadFileNum||this.getLibraryList()):this.affirmCstomRequest(o)})).catch((e=>{this.currentUploadFileNum--,this.currentUploadFileNum||this.getLibraryList()}))},affirmCstomRequest(e){let t=this;_t.Z.confirm({title:this.t("LibraryPage.jsContent5"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.checkMd5=0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()})).catch((e=>{t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()}))},onCancel(){t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()}})},getLibraryList(){let e=[];this.value.labelValue.forEach((t=>{e.push(t[t.length-1])}));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType:"",o={classificationIdList:e,level1Type:this.selectCode,level2Type:t,page:this.currentPage,modelSex:this.sex?this.sex:"",pictureName:this.searchPictureName,size:this.pageSize};this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.queryLibraryPage,o).then((e=>{this.imgList=e.content,this.total=e.total,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1}))},editPlacementClick(e){let t={...e.libraryModelPoint,url:e.url};this.placementClick(t)},placementClick(e){let t=(0,bt.S0)()?this.$refs.ModelPlacementMobile:this.$refs.ModelPlacement;t.showPlacementModal(e)},setKeyword(e){this.checkbox.forEach((e=>{e.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[e].type=!0,this.checkbox[1].type&&this.selectGenerateList.forEach((e=>{e.checked=!1}))}))},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},generateFileUploadChange(e){let t=e.file;if("done"===t.status){let e=JSON.parse(t.xhr.response);t.id=e.data.id,t.imgUrl=e.data.url,t.resData=e.data,t.type_="upload"}else if("error"===t.status){let e=-1;this.selectGenerateList.forEach(((o,n)=>{t.uid===o.uid&&(e=n)})),e>-1&&this.selectGenerateList.splice(e,1),Vt.ZP.warning(t.name+this.t("LibraryPage.jsContent8"))}},deleteFile(e){this.selectGenerateList.splice(e,1)},setSketchboardItem(e){this.checkbox[1].type||(e.checked?e.checked=!1:(this.selectGenerateList.forEach((e=>{e.checked&&(e.checked=!1)})),e.checked=!0))},PrintModel(){this.printModel.optype||document.addEventListener("click",this.removePrintModel),this.printModel.optype=!this.printModel.optype},removePrintModel(){this.printModel.optype=!1,document.removeEventListener("click",this.removePrintModel)},setprintModel(e){this.printModel={num:e,optype:!1,name:this.t("LibraryPage.model")+e}},getgenerate(){if(this.isTest)return void Vt.ZP.info(this.t("isTest.available"));let e=this.checkbox.filter((e=>e.type))[0].name,t=this.selectGenerateList.filter((e=>e.checked))[0],o={generateType:e,designType:"",collectionElementId:t?.id,level1Type:this.selectCode,level2Type:"Sketchboard"==this.selectCode?this.designType:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:"Printboard"==this.selectCode?this.printModel.num:1,gender:"Sketchboard"==this.selectCode?this.sex:""};if("image"==e||"text-image"==e){if(!t?.id)return void Vt.ZP.warning(this.t("LibraryPage.jsContent9"))}else if("text"==e){if(o.collectionElementId="",o.level2Type="",!this.captionGeneration)return void Vt.ZP.info(this.t("LibraryPage.jsContent7"));{let e=this.captionGeneration.split(/\s+/).length;if(e>75)return void Vt.ZP.warning(this.t("LibraryPage.jsContent6"))}}this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.sketchAndPrintGenerate,o).then((e=>{if(e){let t;e.generatedCollectionItems.forEach(((e,o)=>{t={id:e.generateItemId,imgUrl:e.generateItemUrl,like:e.isLiked},this.generateList.push(t)})),this.isShowMark=!1}})).catch((e=>{this.isShowMark=!1}))},dropdownVisibleChange(){(0,n.Y3)().then((()=>{let e=document.getElementsByClassName("libraryPageCascader")[0],t=e;if(e.children.length>3);else{let e=document.createElement("span");e.classList.add("started_btn","cascader_btn1");let o=document.createElement("span");o.classList.add("started_btn","cascader_btn2");let n=document.createElement("div");n.classList.add("cascader_btn_max"),e.textContent="edit",e.addEventListener("click",this.removeLabel,!1),n.appendChild(e),t?.insertAdjacentElement("afterbegin",n)}}))},removeLabel(){let e=this.$refs.setLabel,t=this.$refs.cascader;t.togglePopperVisible();let o=new Event("click",{bubbles:!0,cancelable:!0});document.dispatchEvent(o),e.init("add",this.options)},labelSearch(){(0,n.Y3)().then((()=>{let e=document.getElementsByClassName("editLabel")[0];e.addEventListener("click",(e=>{e.stopPropagation()}))}))},getClass(){("Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode)&&this.designType;let e={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.selectCode,updateTime:"",userId:""};gt.V.axiosPost(gt.V.httpUrls.queryClassification,e).then((e=>{this.options=e,e.forEach(((e,t)=>{this.options[t].value=e.id,this.options[t].label=e.classificationName,e.childList.forEach(((e,o)=>{this.options[t].childList[o].value=e.id,this.options[t].childList[o].label=e.classificationName}))}))})).catch((e=>{}))}}});const gp=(0,Ot.Z)(vp,[["render",Ie]]);var bp=gp}}]); \ No newline at end of file +var li=(e,t)=>{let o=e.__vccOpts||e;for(let[n,i]of t)o[n]=i;return o};var ai={name:"ArrowDown"},ri={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},si=(0,n._)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),ci=[si];function ui(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",ri,ci)}var di=li(ai,[["render",ui],["__file","arrow-down.vue"]]);var pi={name:"ArrowRight"},mi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},hi=(0,n._)("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),fi=[hi];function vi(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",mi,fi)}var gi=li(pi,[["render",vi],["__file","arrow-right.vue"]]);var bi={name:"Check"},yi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wi=(0,n._)("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),Si=[wi];function _i(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",yi,Si)}var ki=li(bi,[["render",_i],["__file","check.vue"]]);var xi={name:"CircleCheck"},Ci={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Oi=(0,n._)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Li=(0,n._)("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),Pi=[Oi,Li];function Ui(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Ci,Pi)}var ji=li(xi,[["render",Ui],["__file","circle-check.vue"]]);var Ii={name:"CircleClose"},Fi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ti=(0,n._)("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),Mi=(0,n._)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Ei=[Ti,Mi];function Ni(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Fi,Ei)}var Di=li(Ii,[["render",Ni],["__file","circle-close.vue"]]);var Hi={name:"Close"},Ri={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Bi=(0,n._)("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),zi=[Bi];function $i(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Ri,zi)}var Ai=li(Hi,[["render",$i],["__file","close.vue"]]);var Vi={name:"Hide"},Zi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Yi=(0,n._)("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),Wi=(0,n._)("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),qi=[Yi,Wi];function Ki(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Zi,qi)}var Gi=li(Vi,[["render",Ki],["__file","hide.vue"]]);var Ji={name:"Loading"},Xi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qi=(0,n._)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),el=[Qi];function tl(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Xi,el)}var ol=li(Ji,[["render",tl],["__file","loading.vue"]]);var nl={name:"View"},il={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ll=(0,n._)("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),al=[ll];function rl(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",il,al)}var sl=li(nl,[["render",rl],["__file","view.vue"]]);const cl=xn({size:{type:Sn([Number,String])},color:{type:String}}),ul=(0,n.aZ)({name:"ElIcon",inheritAttrs:!1}),dl=(0,n.aZ)({...ul,props:cl,setup(e){const t=e,o=Fn("icon"),i=(0,n.Fl)((()=>{const{size:e,color:o}=t;return e||o?{fontSize:$n(e)?void 0:Jn(e),"--color":o}:{}}));return(e,t)=>((0,n.wg)(),(0,n.iD)("i",(0,n.dG)({class:(0,Te.SU)(o).b(),style:(0,Te.SU)(i)},e.$attrs),[(0,n.WI)(e.$slots,"default")],16))}});var pl=On(dl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ml=oi(pl),hl=["","default","small","large"],fl=kn({type:String,values:hl,required:!1}),vl=Symbol("size"),gl=()=>{const e=(0,n.f3)(vl,{});return(0,n.Fl)((()=>(0,Te.SU)(e.size)||""))},bl="update:modelValue",yl="change",wl={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:fl,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},Sl={[bl]:e=>(0,i.HD)(e)||Vn(e)||An(e),change:e=>(0,i.HD)(e)||Vn(e)||An(e)},_l=Symbol("checkboxGroupContextKey"),kl=Symbol("formContextKey"),xl=Symbol("formItemContextKey"),Cl=e=>{const t=(0,n.FN)();return(0,n.Fl)((()=>{var o,n;return null==(n=null==(o=null==t?void 0:t.proxy)?void 0:o.$props)?void 0:n[e]}))},Ol=(e,t={})=>{const o=(0,Te.iH)(void 0),i=t.prop?o:Cl("size"),l=t.global?o:gl(),a=t.form?{size:void 0}:(0,n.f3)(kl,void 0),r=t.formItem?{size:void 0}:(0,n.f3)(xl,void 0);return(0,n.Fl)((()=>i.value||(0,Te.SU)(e)||(null==r?void 0:r.size)||(null==a?void 0:a.size)||l.value||""))},Ll=e=>{const t=Cl("disabled"),o=(0,n.f3)(kl,void 0);return(0,n.Fl)((()=>t.value||(0,Te.SU)(e)||(null==o?void 0:o.disabled)||!1))},Pl=({model:e,isChecked:t})=>{const o=(0,n.f3)(_l,void 0),i=(0,n.Fl)((()=>{var n,i;const l=null==(n=null==o?void 0:o.max)?void 0:n.value,a=null==(i=null==o?void 0:o.min)?void 0:i.value;return!$n(l)&&e.value.length>=l&&!t.value||!$n(a)&&e.value.length<=a&&t.value})),l=Ll((0,n.Fl)((()=>(null==o?void 0:o.disabled.value)||i.value)));return{isDisabled:l,isLimitDisabled:i}},Ul={prefix:Math.floor(1e4*Math.random()),current:0},jl=Symbol("elIdInjection"),Il=()=>(0,n.FN)()?(0,n.f3)(jl,Ul):Ul,Fl=e=>{const t=Il();To||t!==Ul||En("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const o=In(),i=(0,n.Fl)((()=>(0,Te.SU)(e)||`${o.value}-id-${t.prefix}-${t.current++}`));return i},Tl=()=>{const e=(0,n.f3)(kl,void 0),t=(0,n.f3)(xl,void 0);return{form:e,formItem:t}},Ml=(e,{formItemContext:t,disableIdGeneration:o,disableIdManagement:i})=>{o||(o=(0,Te.iH)(!1)),i||(i=(0,Te.iH)(!1));const l=(0,Te.iH)();let a;const r=(0,n.Fl)((()=>{var o;return!!(!e.label&&t&&t.inputIds&&(null==(o=t.inputIds)?void 0:o.length)<=1)}));return(0,n.bv)((()=>{a=(0,n.YP)([(0,Te.Vh)(e,"id"),o],(([e,o])=>{const n=null!=e?e:o?void 0:Fl().value;n!==l.value&&((null==t?void 0:t.removeInputId)&&(l.value&&t.removeInputId(l.value),(null==i?void 0:i.value)||o||!n||t.addInputId(n)),l.value=n)}),{immediate:!0})})),(0,n.Ah)((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&l.value&&t.removeInputId(l.value)})),{isLabeledByFormItem:r,inputId:l}},El=(e,{model:t,isLimitExceeded:o,hasOwnLabel:i,isDisabled:l,isLabeledByFormItem:a})=>{const r=(0,n.f3)(_l,void 0),{formItem:s}=Tl(),{emit:c}=(0,n.FN)();function u(t){var o,n;return t===e.trueLabel||!0===t?null==(o=e.trueLabel)||o:null!=(n=e.falseLabel)&&n}function d(e,t){c("change",u(e),t)}function p(e){if(o.value)return;const t=e.target;c("change",u(t.checked),e)}async function m(r){if(!o.value&&!i.value&&!l.value&&a.value){const o=r.composedPath(),i=o.some((e=>"LABEL"===e.tagName));i||(t.value=u([!1,e.falseLabel].includes(t.value)),await(0,n.Y3)(),d(t.value,r))}}const h=(0,n.Fl)((()=>(null==r?void 0:r.validateEvent)||e.validateEvent));return(0,n.YP)((()=>e.modelValue),(()=>{h.value&&(null==s||s.validate("change").catch((e=>En(e))))})),{handleChange:p,onClickRoot:m}},Nl=e=>{const t=(0,Te.iH)(!1),{emit:o}=(0,n.FN)(),l=(0,n.f3)(_l,void 0),a=(0,n.Fl)((()=>!1===$n(l))),r=(0,Te.iH)(!1),s=(0,n.Fl)({get(){var o,n;return a.value?null==(o=null==l?void 0:l.modelValue)?void 0:o.value:null!=(n=e.modelValue)?n:t.value},set(e){var n,s;a.value&&(0,i.kJ)(e)?(r.value=void 0!==(null==(n=null==l?void 0:l.max)?void 0:n.value)&&e.length>(null==l?void 0:l.max.value),!1===r.value&&(null==(s=null==l?void 0:l.changeEvent)||s.call(l,e))):(o(bl,e),t.value=e)}});return{model:s,isGroup:a,isLimitExceeded:r}};function Dl(e){return null==e}var Hl=Dl;const Rl=(e,t,{model:o})=>{const l=(0,n.f3)(_l,void 0),a=(0,Te.iH)(!1),r=(0,n.Fl)((()=>{const t=o.value;return An(t)?t:(0,i.kJ)(t)?(0,i.Kn)(e.label)?t.map(Te.IU).some((t=>(0,un.Z)(t,e.label))):t.map(Te.IU).includes(e.label):null!==t&&void 0!==t?t===e.trueLabel:!!t})),s=Ol((0,n.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value})),{prop:!0}),c=Ol((0,n.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value}))),u=(0,n.Fl)((()=>!!t.default||!Hl(e.label)));return{checkboxButtonSize:s,isChecked:r,isFocused:a,checkboxSize:c,hasOwnLabel:u}},Bl=(e,{model:t})=>{function o(){(0,i.kJ)(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&o()},zl=(e,t)=>{const{formItem:o}=Tl(),{model:n,isGroup:i,isLimitExceeded:l}=Nl(e),{isFocused:a,isChecked:r,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u}=Rl(e,t,{model:n}),{isDisabled:d}=Pl({model:n,isChecked:r}),{inputId:p,isLabeledByFormItem:m}=Ml(e,{formItemContext:o,disableIdGeneration:u,disableIdManagement:i}),{handleChange:h,onClickRoot:f}=El(e,{model:n,isLimitExceeded:l,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:m});return Bl(e,{model:n}),{inputId:p,isLabeledByFormItem:m,isChecked:r,isDisabled:d,isFocused:a,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u,model:n,handleChange:h,onClickRoot:f}},$l=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],Al=["id","indeterminate","disabled","value","name","tabindex"],Vl=(0,n.aZ)({name:"ElCheckbox"}),Zl=(0,n.aZ)({...Vl,props:wl,emits:Sl,setup(e){const t=e,o=(0,n.Rr)(),{inputId:a,isLabeledByFormItem:r,isChecked:s,isDisabled:c,isFocused:u,checkboxSize:d,hasOwnLabel:p,model:m,handleChange:h,onClickRoot:f}=zl(t,o),v=Fn("checkbox"),g=(0,n.Fl)((()=>[v.b(),v.m(d.value),v.is("disabled",c.value),v.is("bordered",t.border),v.is("checked",s.value)])),b=(0,n.Fl)((()=>[v.e("input"),v.is("disabled",c.value),v.is("checked",s.value),v.is("indeterminate",t.indeterminate),v.is("focus",u.value)]));return(e,t)=>((0,n.wg)(),(0,n.j4)((0,n.LL)(!(0,Te.SU)(p)&&(0,Te.SU)(r)?"span":"label"),{class:(0,i.C_)((0,Te.SU)(g)),"aria-controls":e.indeterminate?e.controls:null,onClick:(0,Te.SU)(f)},{default:(0,n.w5)((()=>[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b))},[e.trueLabel||e.falseLabel?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,id:(0,Te.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(m)?m.value=e:null),class:(0,i.C_)((0,Te.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:(0,Te.SU)(c),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,Te.SU)(h)&&(0,Te.SU)(h)(...e)),onFocus:t[2]||(t[2]=e=>u.value=!0),onBlur:t[3]||(t[3]=e=>u.value=!1),onClick:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},null,42,$l)),[[l.e8,(0,Te.SU)(m)]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,id:(0,Te.SU)(a),"onUpdate:modelValue":t[5]||(t[5]=e=>(0,Te.dq)(m)?m.value=e:null),class:(0,i.C_)((0,Te.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:(0,Te.SU)(c),value:e.label,name:e.name,tabindex:e.tabindex,onChange:t[6]||(t[6]=(...e)=>(0,Te.SU)(h)&&(0,Te.SU)(h)(...e)),onFocus:t[7]||(t[7]=e=>u.value=!0),onBlur:t[8]||(t[8]=e=>u.value=!1),onClick:t[9]||(t[9]=(0,l.iM)((()=>{}),["stop"]))},null,42,Al)),[[l.e8,(0,Te.SU)(m)]]),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(v).e("inner"))},null,2)],2),(0,Te.SU)(p)?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Te.SU)(v).e("label"))},[(0,n.WI)(e.$slots,"default"),e.$slots.default?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)((0,i.zw)(e.label),1)],64))],2)):(0,n.kq)("v-if",!0)])),_:3},8,["class","aria-controls","onClick"]))}});var Yl=On(Zl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const Wl=["name","tabindex","disabled","true-value","false-value"],ql=["name","tabindex","disabled","value"],Kl=(0,n.aZ)({name:"ElCheckboxButton"}),Gl=(0,n.aZ)({...Kl,props:wl,emits:Sl,setup(e){const t=e,o=(0,n.Rr)(),{isFocused:a,isChecked:r,isDisabled:s,checkboxButtonSize:c,model:u,handleChange:d}=zl(t,o),p=(0,n.f3)(_l,void 0),m=Fn("checkbox"),h=(0,n.Fl)((()=>{var e,t,o,n;const i=null!=(t=null==(e=null==p?void 0:p.fill)?void 0:e.value)?t:"";return{backgroundColor:i,borderColor:i,color:null!=(n=null==(o=null==p?void 0:p.textColor)?void 0:o.value)?n:"",boxShadow:i?`-1px 0 0 0 ${i}`:void 0}})),f=(0,n.Fl)((()=>[m.b("button"),m.bm("button",c.value),m.is("disabled",s.value),m.is("checked",r.value),m.is("focus",a.value)]));return(e,t)=>((0,n.wg)(),(0,n.iD)("label",{class:(0,i.C_)((0,Te.SU)(f))},[e.trueLabel||e.falseLabel?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Te.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,Te.SU)(s),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,Te.SU)(d)&&(0,Te.SU)(d)(...e)),onFocus:t[2]||(t[2]=e=>a.value=!0),onBlur:t[3]||(t[3]=e=>a.value=!1),onClick:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},null,42,Wl)),[[l.e8,(0,Te.SU)(u)]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,"onUpdate:modelValue":t[5]||(t[5]=e=>(0,Te.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Te.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,Te.SU)(s),value:e.label,onChange:t[6]||(t[6]=(...e)=>(0,Te.SU)(d)&&(0,Te.SU)(d)(...e)),onFocus:t[7]||(t[7]=e=>a.value=!0),onBlur:t[8]||(t[8]=e=>a.value=!1),onClick:t[9]||(t[9]=(0,l.iM)((()=>{}),["stop"]))},null,42,ql)),[[l.e8,(0,Te.SU)(u)]]),e.$slots.default||e.label?((0,n.wg)(),(0,n.iD)("span",{key:2,class:(0,i.C_)((0,Te.SU)(m).be("button","inner")),style:(0,i.j5)((0,Te.SU)(r)?(0,Te.SU)(h):void 0)},[(0,n.WI)(e.$slots,"default",{},(()=>[(0,n.Uk)((0,i.zw)(e.label),1)]))],6)):(0,n.kq)("v-if",!0)],2))}});var Jl=On(Gl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]),Xl=o(6636);const Ql=xn({modelValue:{type:Sn(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:fl,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),ea={[bl]:e=>(0,i.kJ)(e),change:e=>(0,i.kJ)(e)},ta=(0,n.aZ)({name:"ElCheckboxGroup"}),oa=(0,n.aZ)({...ta,props:Ql,emits:ea,setup(e,{emit:t}){const o=e,l=Fn("checkbox"),{formItem:a}=Tl(),{inputId:r,isLabeledByFormItem:s}=Ml(o,{formItemContext:a}),c=async e=>{t(bl,e),await(0,n.Y3)(),t("change",e)},u=(0,n.Fl)({get(){return o.modelValue},set(e){c(e)}});return(0,n.JJ)(_l,{...(0,Xl.Z)((0,Te.BK)(o),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:u,changeEvent:c}),(0,n.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==a||a.validate("change").catch((e=>En(e))))})),(e,t)=>{var o;return(0,n.wg)(),(0,n.j4)((0,n.LL)(e.tag),{id:(0,Te.SU)(r),class:(0,i.C_)((0,Te.SU)(l).b("group")),role:"group","aria-label":(0,Te.SU)(s)?void 0:e.label||"checkbox-group","aria-labelledby":(0,Te.SU)(s)?null==(o=(0,Te.SU)(a))?void 0:o.labelId:void 0},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var na=On(oa,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ia=oi(Yl,{CheckboxButton:Jl,CheckboxGroup:na}),la=(ni(Jl),ni(na),xn({size:fl,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}})),aa=xn({...la,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),ra={[bl]:e=>(0,i.HD)(e)||Vn(e)||An(e),[yl]:e=>(0,i.HD)(e)||Vn(e)||An(e)},sa=Symbol("radioGroupKey"),ca=(e,t)=>{const o=(0,Te.iH)(),i=(0,n.f3)(sa,void 0),l=(0,n.Fl)((()=>!!i)),a=(0,n.Fl)({get(){return l.value?i.modelValue:e.modelValue},set(n){l.value?i.changeEvent(n):t&&t(bl,n),o.value.checked=e.modelValue===e.label}}),r=Ol((0,n.Fl)((()=>null==i?void 0:i.size))),s=Ll((0,n.Fl)((()=>null==i?void 0:i.disabled))),c=(0,Te.iH)(!1),u=(0,n.Fl)((()=>s.value||l.value&&a.value!==e.label?-1:0));return{radioRef:o,isGroup:l,radioGroup:i,focus:c,size:r,disabled:s,tabIndex:u,modelValue:a}},ua=["value","name","disabled"],da=(0,n.aZ)({name:"ElRadio"}),pa=(0,n.aZ)({...da,props:aa,emits:ra,setup(e,{emit:t}){const o=e,a=Fn("radio"),{radioRef:r,radioGroup:s,focus:c,size:u,disabled:d,modelValue:p}=ca(o,t);function m(){(0,n.Y3)((()=>t("change",p.value)))}return(e,t)=>{var o;return(0,n.wg)(),(0,n.iD)("label",{class:(0,i.C_)([(0,Te.SU)(a).b(),(0,Te.SU)(a).is("disabled",(0,Te.SU)(d)),(0,Te.SU)(a).is("focus",(0,Te.SU)(c)),(0,Te.SU)(a).is("bordered",e.border),(0,Te.SU)(a).is("checked",(0,Te.SU)(p)===e.label),(0,Te.SU)(a).m((0,Te.SU)(u))])},[(0,n._)("span",{class:(0,i.C_)([(0,Te.SU)(a).e("input"),(0,Te.SU)(a).is("disabled",(0,Te.SU)(d)),(0,Te.SU)(a).is("checked",(0,Te.SU)(p)===e.label)])},[(0,n.wy)((0,n._)("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(p)?p.value=e:null),class:(0,i.C_)((0,Te.SU)(a).e("original")),value:e.label,name:e.name||(null==(o=(0,Te.SU)(s))?void 0:o.name),disabled:(0,Te.SU)(d),type:"radio",onFocus:t[1]||(t[1]=e=>c.value=!0),onBlur:t[2]||(t[2]=e=>c.value=!1),onChange:m,onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"]))},null,42,ua),[[l.G2,(0,Te.SU)(p)]]),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(a).e("inner"))},null,2)],2),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(a).e("label")),onKeydown:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},[(0,n.WI)(e.$slots,"default",{},(()=>[(0,n.Uk)((0,i.zw)(e.label),1)]))],34)],2)}}});var ma=On(pa,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const ha=xn({...la,name:{type:String,default:""}}),fa=["value","name","disabled"],va=(0,n.aZ)({name:"ElRadioButton"}),ga=(0,n.aZ)({...va,props:ha,setup(e){const t=e,o=Fn("radio"),{radioRef:a,focus:r,size:s,disabled:c,modelValue:u,radioGroup:d}=ca(t),p=(0,n.Fl)((()=>({backgroundColor:(null==d?void 0:d.fill)||"",borderColor:(null==d?void 0:d.fill)||"",boxShadow:(null==d?void 0:d.fill)?`-1px 0 0 0 ${d.fill}`:"",color:(null==d?void 0:d.textColor)||""})));return(e,t)=>{var m;return(0,n.wg)(),(0,n.iD)("label",{class:(0,i.C_)([(0,Te.SU)(o).b("button"),(0,Te.SU)(o).is("active",(0,Te.SU)(u)===e.label),(0,Te.SU)(o).is("disabled",(0,Te.SU)(c)),(0,Te.SU)(o).is("focus",(0,Te.SU)(r)),(0,Te.SU)(o).bm("button",(0,Te.SU)(s))])},[(0,n.wy)((0,n._)("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Te.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Te.SU)(o).be("button","original-radio")),value:e.label,type:"radio",name:e.name||(null==(m=(0,Te.SU)(d))?void 0:m.name),disabled:(0,Te.SU)(c),onFocus:t[1]||(t[1]=e=>r.value=!0),onBlur:t[2]||(t[2]=e=>r.value=!1),onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"]))},null,42,fa),[[l.G2,(0,Te.SU)(u)]]),(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(o).be("button","inner")),style:(0,i.j5)((0,Te.SU)(u)===e.label?(0,Te.SU)(p):{}),onKeydown:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},[(0,n.WI)(e.$slots,"default",{},(()=>[(0,n.Uk)((0,i.zw)(e.label),1)]))],38)],2)}}});var ba=On(ga,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const ya=xn({id:{type:String,default:void 0},size:fl,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),wa=ra,Sa=["id","aria-label","aria-labelledby"],_a=(0,n.aZ)({name:"ElRadioGroup"}),ka=(0,n.aZ)({..._a,props:ya,emits:wa,setup(e,{emit:t}){const o=e,l=Fn("radio"),a=Fl(),r=(0,Te.iH)(),{formItem:s}=Tl(),{inputId:c,isLabeledByFormItem:u}=Ml(o,{formItemContext:s}),d=e=>{t(bl,e),(0,n.Y3)((()=>t("change",e)))};(0,n.bv)((()=>{const e=r.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some((e=>e.checked))&&t&&(t.tabIndex=0)}));const p=(0,n.Fl)((()=>o.name||a.value));return(0,n.JJ)(sa,(0,Te.qj)({...(0,Te.BK)(o),changeEvent:d,name:p})),(0,n.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==s||s.validate("change").catch((e=>En(e))))})),(e,t)=>((0,n.wg)(),(0,n.iD)("div",{id:(0,Te.SU)(c),ref_key:"radioGroupRef",ref:r,class:(0,i.C_)((0,Te.SU)(l).b("group")),role:"radiogroup","aria-label":(0,Te.SU)(u)?void 0:e.label||"radio-group","aria-labelledby":(0,Te.SU)(u)?(0,Te.SU)(s).labelId:void 0},[(0,n.WI)(e.$slots,"default")],10,Sa))}});var xa=On(ka,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const Ca=oi(ma,{RadioButton:ba,RadioGroup:xa});ni(xa),ni(ba);var Oa=(0,n.aZ)({name:"NodeContent",setup(){const e=Fn("cascader-node");return{ns:e}},render(){const{ns:e}=this,{node:t,panel:o}=this.$parent,{data:i,label:l}=t,{renderLabelFn:a}=o;return(0,n.h)("span",{class:e.e("label")},a?a({node:t,data:i}):l)}});const La=Symbol(),Pa=(0,n.aZ)({name:"ElCascaderNode",components:{ElCheckbox:ia,ElRadio:Ca,NodeContent:Oa,ElIcon:ml,Check:ki,Loading:ol,ArrowRight:gi},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const o=(0,n.f3)(La),i=Fn("cascader-node"),l=(0,n.Fl)((()=>o.isHoverMenu)),a=(0,n.Fl)((()=>o.config.multiple)),r=(0,n.Fl)((()=>o.config.checkStrictly)),s=(0,n.Fl)((()=>{var e;return null==(e=o.checkedNodes[0])?void 0:e.uid})),c=(0,n.Fl)((()=>e.node.isDisabled)),u=(0,n.Fl)((()=>e.node.isLeaf)),d=(0,n.Fl)((()=>r.value&&!u.value||!c.value)),p=(0,n.Fl)((()=>h(o.expandingNode))),m=(0,n.Fl)((()=>r.value&&o.checkedNodes.some(h))),h=t=>{var o;const{level:n,uid:i}=e.node;return(null==(o=null==t?void 0:t.pathNodes[n-1])?void 0:o.uid)===i},f=()=>{p.value||o.expandNode(e.node)},v=t=>{const{node:n}=e;t!==n.checked&&o.handleCheckChange(n,t)},g=()=>{o.lazyLoad(e.node,(()=>{u.value||f()}))},b=e=>{l.value&&(y(),!u.value&&t("expand",e))},y=()=>{const{node:t}=e;d.value&&!t.loading&&(t.loaded?f():g())},w=()=>{l.value&&!u.value||(!u.value||c.value||r.value||a.value?y():_(!0))},S=t=>{r.value?(v(t),e.node.loaded&&f()):_(t)},_=t=>{e.node.loaded?(v(t),!r.value&&f()):g()};return{panel:o,isHoverMenu:l,multiple:a,checkStrictly:r,checkedNodeId:s,isDisabled:c,isLeaf:u,expandable:d,inExpandingPath:p,inCheckedPath:m,ns:i,handleHoverExpand:b,handleExpand:y,handleClick:w,handleCheck:_,handleSelectCheck:S}}}),Ua=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],ja=(0,n._)("span",null,null,-1);function Ia(e,t,o,a,r,s){const c=(0,n.up)("el-checkbox"),u=(0,n.up)("el-radio"),d=(0,n.up)("check"),p=(0,n.up)("el-icon"),m=(0,n.up)("node-content"),h=(0,n.up)("loading"),f=(0,n.up)("arrow-right");return(0,n.wg)(),(0,n.iD)("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:(0,i.C_)([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onFocus:t[3]||(t[3]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[(0,n.kq)(" prefix "),e.multiple?((0,n.wg)(),(0,n.j4)(c,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?((0,n.wg)(),(0,n.j4)(u,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=(0,l.iM)((()=>{}),["stop"]))},{default:(0,n.w5)((()=>[(0,n.kq)("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),ja])),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?((0,n.wg)(),(0,n.j4)(p,{key:2,class:(0,i.C_)(e.ns.e("prefix"))},{default:(0,n.w5)((()=>[(0,n.Wm)(d)])),_:1},8,["class"])):(0,n.kq)("v-if",!0),(0,n.kq)(" content "),(0,n.Wm)(m),(0,n.kq)(" postfix "),e.isLeaf?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)(n.HY,{key:3},[e.node.loading?((0,n.wg)(),(0,n.j4)(p,{key:0,class:(0,i.C_)([e.ns.is("loading"),e.ns.e("postfix")])},{default:(0,n.w5)((()=>[(0,n.Wm)(h)])),_:1},8,["class"])):((0,n.wg)(),(0,n.j4)(p,{key:1,class:(0,i.C_)(["arrow-right",e.ns.e("postfix")])},{default:(0,n.w5)((()=>[(0,n.Wm)(f)])),_:1},8,["class"]))],64))],42,Ua)}var Fa=On(Pa,[["render",Ia],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]),Ta=o(6423),Ma={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Ea=e=>(t,o)=>Na(t,o,(0,Te.SU)(e)),Na=(e,t,o)=>(0,Ta.Z)(o,e,e).replace(/\{(\w+)\}/g,((e,o)=>{var n;return`${null!=(n=null==t?void 0:t[o])?n:`{${o}}`}`})),Da=e=>{const t=(0,n.Fl)((()=>(0,Te.SU)(e).name)),o=(0,Te.dq)(e)?e:(0,Te.iH)(e);return{lang:t,locale:o,t:Ea(e)}},Ha=Symbol("localeContextKey"),Ra=e=>{const t=e||(0,n.f3)(Ha,(0,Te.iH)());return Da((0,n.Fl)((()=>t.value||Ma)))},Ba=()=>Math.floor(1e4*Math.random()),za=(0,n.aZ)({name:"ElCascaderMenu",components:{Loading:ol,ElIcon:ml,ElScrollbar:ii,ElCascaderNode:Fa},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=(0,n.FN)(),o=Fn("cascader-menu"),{t:i}=Ra(),l=Ba();let a=null,r=null;const s=(0,n.f3)(La),c=(0,Te.iH)(null),u=(0,n.Fl)((()=>!e.nodes.length)),d=(0,n.Fl)((()=>!s.initialLoaded)),p=(0,n.Fl)((()=>`cascader-menu-${l}-${e.index}`)),m=e=>{a=e.target},h=e=>{if(s.isHoverMenu&&a&&c.value)if(a.contains(e.target)){f();const o=t.vnode.el,{left:n}=o.getBoundingClientRect(),{offsetWidth:i,offsetHeight:l}=o,r=e.clientX-n,s=a.offsetTop,u=s+a.offsetHeight;c.value.innerHTML=`\n \n \n `}else r||(r=window.setTimeout(v,s.config.hoverThreshold))},f=()=>{r&&(clearTimeout(r),r=null)},v=()=>{c.value&&(c.value.innerHTML="",f())};return{ns:o,panel:s,hoverZone:c,isEmpty:u,isLoading:d,menuId:p,t:i,handleExpand:m,handleMouseMove:h,clearHoverZone:v}}});function $a(e,t,o,l,a,r){const s=(0,n.up)("el-cascader-node"),c=(0,n.up)("loading"),u=(0,n.up)("el-icon"),d=(0,n.up)("el-scrollbar");return(0,n.wg)(),(0,n.j4)(d,{key:e.menuId,tag:"ul",role:"menu",class:(0,i.C_)(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:(0,n.w5)((()=>{var t;return[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.nodes,(t=>((0,n.wg)(),(0,n.j4)(s,{key:t.uid,node:t,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])))),128)),e.isLoading?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,i.C_)(e.ns.e("empty-text"))},[(0,n.Wm)(u,{size:"14",class:(0,i.C_)(e.ns.is("loading"))},{default:(0,n.w5)((()=>[(0,n.Wm)(c)])),_:1},8,["class"]),(0,n.Uk)(" "+(0,i.zw)(e.t("el.cascader.loading")),1)],2)):e.isEmpty?((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,i.C_)(e.ns.e("empty-text"))},(0,i.zw)(e.t("el.cascader.noData")),3)):(null==(t=e.panel)?void 0:t.isHoverMenu)?((0,n.wg)(),(0,n.iD)("svg",{key:2,ref:"hoverZone",class:(0,i.C_)(e.ns.e("hover-zone"))},null,2)):(0,n.kq)("v-if",!0)]})),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var Aa=On(za,[["render",$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);const Va=e=>(0,i.kC)(e);let Za=0;const Ya=e=>{const t=[e];let{parent:o}=e;while(o)t.unshift(o),o=o.parent;return t};class Wa{constructor(e,t,o,n=!1){this.data=e,this.config=t,this.parent=o,this.root=n,this.uid=Za++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:l,children:a}=t,r=e[a],s=Ya(this);this.level=n?0:o?o.level+1:1,this.value=e[i],this.label=e[l],this.pathNodes=s,this.pathValues=s.map((e=>e.value)),this.pathLabels=s.map((e=>e.label)),this.childrenData=r,this.children=(r||[]).map((e=>new Wa(e,t,this))),this.loaded=!t.lazy||this.isLeaf||!Zn(r)}get isDisabled(){const{data:e,parent:t,config:o}=this,{disabled:n,checkStrictly:l}=o,a=(0,i.mf)(n)?n(e,this):!!e[n];return a||!l&&(null==t?void 0:t.isDisabled)}get isLeaf(){const{data:e,config:t,childrenData:o,loaded:n}=this,{lazy:l,leaf:a}=t,r=(0,i.mf)(a)?a(e,this):e[a];return $n(r)?!(l&&!n)&&!(Array.isArray(o)&&o.length):!!r}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(e){const{childrenData:t,children:o}=this,n=new Wa(e,this.config,this);return Array.isArray(t)?t.push(e):this.childrenData=[e],o.push(n),n}calcText(e,t){const o=e?this.pathLabels.join(t):this.label;return this.text=o,o}broadcast(e,...t){const o=`onParent${Va(e)}`;this.children.forEach((n=>{n&&(n.broadcast(e,...t),n[o]&&n[o](...t))}))}emit(e,...t){const{parent:o}=this,n=`onChild${Va(e)}`;o&&(o[n]&&o[n](...t),o.emit(e,...t))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,t=e.filter((e=>!e.isDisabled)),o=!!t.length&&t.every((e=>e.checked));this.setCheckState(o)}setCheckState(e){const t=this.children.length,o=this.children.reduce(((e,t)=>{const o=t.checked?1:t.indeterminate?.5:0;return e+o}),0);this.checked=this.loaded&&this.children.filter((e=>!e.isDisabled)).every((e=>e.loaded&&e.checked))&&e,this.indeterminate=this.loaded&&o!==t&&o>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:t,multiple:o}=this.config;t||!o?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}const qa=(e,t)=>e.reduce(((e,o)=>(o.isLeaf?e.push(o):(!t&&e.push(o),e=e.concat(qa(o.children,t))),e)),[]);class Ka{constructor(e,t){this.config=t;const o=(e||[]).map((e=>new Wa(e,this.config)));this.nodes=o,this.allNodes=qa(o,!1),this.leafNodes=qa(o,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const o=t?t.appendChild(e):new Wa(e,this.config);t||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(e,t){e.forEach((e=>this.appendNode(e,t)))}getNodeByValue(e,t=!1){if(!e&&0!==e)return null;const o=this.getFlattedNodes(t).find((t=>(0,un.Z)(t.value,e)||(0,un.Z)(t.pathValues,e)));return o||null}getSameNode(e){if(!e)return null;const t=this.getFlattedNodes(!1).find((({value:t,level:o})=>(0,un.Z)(e.value,t)&&e.level===o));return t||null}}const Ga=xn({modelValue:{type:Sn([Number,String,Array])},options:{type:Sn(Array),default:()=>[]},props:{type:Sn(Object),default:()=>({})}}),Ja={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:i.dG,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Xa=e=>(0,n.Fl)((()=>({...Ja,...e.props}))),Qa=e=>!e.getAttribute("aria-owns"),er=(e,t,o)=>{const{parentNode:n}=e;if(!n)return null;const i=n.querySelectorAll(o),l=Array.prototype.indexOf.call(i,e);return i[l+t]||null},tr=e=>{e&&(e.focus(),!Qa(e)&&e.click())},or=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},nr=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():Qa(e)&&e.click()},ir=(e,t)=>{const o=t.slice(0),n=o.map((e=>e.uid)),i=e.reduce(((e,t)=>{const i=n.indexOf(t.uid);return i>-1&&(e.push(t),o.splice(i,1),n.splice(i,1)),e}),[]);return i.push(...o),i},lr=e=>[...new Set(e)],ar=e=>e||0===e?Array.isArray(e)?e:[e]:[];function rr(e,t){if(!To)return;if(!t)return void(e.scrollTop=0);const o=[];let n=t.offsetParent;while(null!==n&&e!==n&&e.contains(n))o.push(n),n=n.offsetParent;const i=t.offsetTop+o.reduce(((e,t)=>e+t.offsetTop),0),l=i+t.offsetHeight,a=e.scrollTop,r=a+e.clientHeight;ir&&(e.scrollTop=l-e.clientHeight)}const sr={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},cr=(0,n.aZ)({name:"ElCascaderPanel",components:{ElCascaderMenu:Aa},props:{...Ga,border:{type:Boolean,default:!0},renderLabel:Function},emits:[bl,yl,"close","expand-change"],setup(e,{emit:t,slots:o}){let i=!1;const l=Fn("cascader"),a=Xa(e);let r=null;const s=(0,Te.iH)(!0),c=(0,Te.iH)([]),u=(0,Te.iH)(null),d=(0,Te.iH)([]),p=(0,Te.iH)(null),m=(0,Te.iH)([]),h=(0,n.Fl)((()=>"hover"===a.value.expandTrigger)),f=(0,n.Fl)((()=>e.renderLabel||o.default)),v=()=>{const{options:t}=e,o=a.value;i=!1,r=new Ka(t,o),d.value=[r.getNodes()],o.lazy&&Zn(e.options)?(s.value=!1,g(void 0,(e=>{e&&(r=new Ka(e,o),d.value=[r.getNodes()]),s.value=!0,C(!1,!0)}))):C(!1,!0)},g=(e,t)=>{const o=a.value;e=e||new Wa({},o,void 0,!0),e.loading=!0;const n=o=>{const n=e,i=n.root?null:n;o&&(null==r||r.appendNodes(o,i)),n.loading=!1,n.loaded=!0,n.childrenData=n.childrenData||[],t&&t(o)};o.lazyLoad(e,n)},b=(e,o)=>{var n;const{level:i}=e,l=d.value.slice(0,i);let a;e.isLeaf?a=e.pathNodes[i-2]:(a=e,l.push(e.children)),(null==(n=p.value)?void 0:n.uid)!==(null==a?void 0:a.uid)&&(p.value=e,d.value=l,!o&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},y=(e,o,n=!0)=>{const{checkStrictly:l,multiple:r}=a.value,s=m.value[0];i=!0,!r&&(null==s||s.doCheck(!1)),e.doCheck(o),x(),n&&!r&&!l&&t("close"),!n&&!r&&!l&&w(e)},w=e=>{e&&(e=e.parent,w(e),e&&b(e))},S=e=>null==r?void 0:r.getFlattedNodes(e),_=e=>{var t;return null==(t=S(e))?void 0:t.filter((e=>!1!==e.checked))},k=()=>{m.value.forEach((e=>e.doCheck(!1))),x(),d.value=d.value.slice(0,1),p.value=null,t("expand-change",[])},x=()=>{var e;const{checkStrictly:t,multiple:o}=a.value,n=m.value,i=_(!t),l=ir(n,i),r=l.map((e=>e.valueByOption));m.value=l,u.value=o?r:null!=(e=r[0])?e:null},C=(t=!1,o=!1)=>{const{modelValue:n}=e,{lazy:l,multiple:c,checkStrictly:d}=a.value,p=!d;if(s.value&&!i&&(o||!(0,un.Z)(n,u.value)))if(l&&!t){const e=lr(hn(ar(n))),t=e.map((e=>null==r?void 0:r.getNodeByValue(e))).filter((e=>!!e&&!e.loaded&&!e.loading));t.length?t.forEach((e=>{g(e,(()=>C(!1,o)))})):C(!0,o)}else{const e=c?ar(n):[n],t=lr(e.map((e=>null==r?void 0:r.getNodeByValue(e,p))));O(t,o),u.value=(0,jo.Z)(n)}},O=(t,o=!0)=>{const{checkStrictly:i}=a.value,l=m.value,s=t.filter((e=>!!e&&(i||e.isLeaf))),c=null==r?void 0:r.getSameNode(p.value),u=o&&c||s[0];u?u.pathNodes.forEach((e=>b(e,!0))):p.value=null,l.forEach((e=>e.doCheck(!1))),e.props.multiple?(0,Te.qj)(s).forEach((e=>e.doCheck(!0))):s.forEach((e=>e.doCheck(!0))),m.value=s,(0,n.Y3)(L)},L=()=>{To&&c.value.forEach((e=>{const t=null==e?void 0:e.$el;if(t){const e=t.querySelector(`.${l.namespace.value}-scrollbar__wrap`),o=t.querySelector(`.${l.b("node")}.${l.is("active")}`)||t.querySelector(`.${l.b("node")}.in-active-path`);rr(e,o)}}))},P=e=>{const t=e.target,{code:o}=e;switch(o){case sr.up:case sr.down:{e.preventDefault();const n=o===sr.up?-1:1;tr(er(t,n,`.${l.b("node")}[tabindex="-1"]`));break}case sr.left:{e.preventDefault();const o=c.value[or(t)-1],n=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[aria-expanded="true"]`);tr(n);break}case sr.right:{e.preventDefault();const o=c.value[or(t)+1],n=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`);tr(n);break}case sr.enter:nr(t);break}};return(0,n.JJ)(La,(0,Te.qj)({config:a,expandingNode:p,checkedNodes:m,isHoverMenu:h,initialLoaded:s,renderLabelFn:f,lazyLoad:g,expandNode:b,handleCheckChange:y})),(0,n.YP)([a,()=>e.options],v,{deep:!0,immediate:!0}),(0,n.YP)((()=>e.modelValue),(()=>{i=!1,C()}),{deep:!0}),(0,n.YP)((()=>u.value),(o=>{(0,un.Z)(o,e.modelValue)||(t(bl,o),t(yl,o))})),(0,n.Xn)((()=>c.value=[])),(0,n.bv)((()=>!Zn(e.modelValue)&&C())),{ns:l,menuList:c,menus:d,checkedNodes:m,handleKeyDown:P,handleCheckChange:y,getFlattedNodes:S,getCheckedNodes:_,clearCheckedNodes:k,calculateCheckedValue:x,scrollToExpandingNode:L}}});function ur(e,t,o,l,a,r){const s=(0,n.up)("el-cascader-menu");return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...t)=>e.handleKeyDown&&e.handleKeyDown(...t))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.menus,((t,o)=>((0,n.wg)(),(0,n.j4)(s,{key:o,ref_for:!0,ref:t=>e.menuList[o]=t,index:o,nodes:[...t]},null,8,["index","nodes"])))),128))],34)}var dr=On(cr,[["render",ur],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);dr.install=e=>{e.component(dr.name,dr)};const pr=dr,mr=()=>To&&/firefox/i.test(window.navigator.userAgent);let hr;const fr=`\n height:0 !important;\n visibility:hidden !important;\n ${mr()?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,vr=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function gr(e){const t=window.getComputedStyle(e),o=t.getPropertyValue("box-sizing"),n=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),i=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width")),l=vr.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";");return{contextStyle:l,paddingSize:n,borderSize:i,boxSizing:o}}function br(e,t=1,o){var n;hr||(hr=document.createElement("textarea"),document.body.appendChild(hr));const{paddingSize:i,borderSize:l,boxSizing:a,contextStyle:r}=gr(e);hr.setAttribute("style",`${r};${fr}`),hr.value=e.value||e.placeholder||"";let s=hr.scrollHeight;const c={};"border-box"===a?s+=l:"content-box"===a&&(s-=i),hr.value="";const u=hr.scrollHeight-i;if(Vn(t)){let e=u*t;"border-box"===a&&(e=e+i+l),s=Math.max(e,s),c.minHeight=`${e}px`}if(Vn(o)){let e=u*o;"border-box"===a&&(e=e+i+l),s=Math.min(e,s)}return c.height=`${s}px`,null==(n=hr.parentNode)||n.removeChild(hr),hr=void 0,c}const yr=Sn([String,Object,Function]),wr={validating:ol,success:ji,error:Di},Sr=e=>e,_r=xn({id:{type:String,default:void 0},size:fl,disabled:Boolean,modelValue:{type:Sn([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Sn([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:yr},prefixIcon:{type:yr},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Sn([Object,Array,String]),default:()=>Sr({})},autofocus:{type:Boolean,default:!1}}),kr={[bl]:e=>(0,i.HD)(e),input:e=>(0,i.HD)(e),change:e=>(0,i.HD)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},xr=["class","style"],Cr=/^on[A-Z]/,Or=(e={})=>{const{excludeListeners:t=!1,excludeKeys:o}=e,i=(0,n.Fl)((()=>((null==o?void 0:o.value)||[]).concat(xr))),l=(0,n.FN)();return l?(0,n.Fl)((()=>{var e;return(0,yn.Z)(Object.entries(null==(e=l.proxy)?void 0:e.$attrs).filter((([e])=>!i.value.includes(e)&&!(t&&Cr.test(e)))))})):(En("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),(0,n.Fl)((()=>({}))))};function Lr(e,{afterFocus:t,beforeBlur:o,afterBlur:l}={}){const a=(0,n.FN)(),{emit:r}=a,s=(0,Te.XI)(),c=(0,Te.iH)(!1),u=e=>{c.value||(c.value=!0,r("focus",e),null==t||t())},d=e=>{var t;const n=!!(0,i.mf)(o)&&o(e);n||e.relatedTarget&&(null==(t=s.value)?void 0:t.contains(e.relatedTarget))||(c.value=!1,r("blur",e),null==l||l())},p=()=>{var t;null==(t=e.value)||t.focus()};return(0,n.YP)(s,(e=>{e&&e.setAttribute("tabindex","-1")})),Ao(s,"click",p),{wrapperRef:s,isFocused:c,handleFocus:u,handleBlur:d}}function Pr(e){const t=(0,Te.iH)();function o(){if(void 0==e.value)return;const{selectionStart:o,selectionEnd:n,value:i}=e.value;if(null==o||null==n)return;const l=i.slice(0,Math.max(0,o)),a=i.slice(Math.max(0,n));t.value={selectionStart:o,selectionEnd:n,value:i,beforeTxt:l,afterTxt:a}}function n(){if(void 0==e.value||void 0==t.value)return;const{value:o}=e.value,{beforeTxt:n,afterTxt:i,selectionStart:l}=t.value;if(void 0==n||void 0==i||void 0==l)return;let a=o.length;if(o.endsWith(i))a=o.length-i.length;else if(o.startsWith(n))a=n.length;else{const e=n[l-1],t=o.indexOf(e,l-1);-1!==t&&(a=t+1)}e.value.setSelectionRange(a,a)}return[o,n]}const Ur=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),jr=["role"],Ir=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Fr=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Tr=(0,n.aZ)({name:"ElInput",inheritAttrs:!1}),Mr=(0,n.aZ)({...Tr,props:_r,emits:kr,setup(e,{expose:t,emit:o}){const a=e,r=(0,n.l1)(),s=(0,n.Rr)(),c=(0,n.Fl)((()=>{const e={};return"combobox"===a.containerRole&&(e["aria-haspopup"]=r["aria-haspopup"],e["aria-owns"]=r["aria-owns"],e["aria-expanded"]=r["aria-expanded"]),e})),u=(0,n.Fl)((()=>["textarea"===a.type?y.b():b.b(),b.m(v.value),b.is("disabled",g.value),b.is("exceed",A.value),{[b.b("group")]:s.prepend||s.append,[b.bm("group","append")]:s.append,[b.bm("group","prepend")]:s.prepend,[b.m("prefix")]:s.prefix||a.prefixIcon,[b.m("suffix")]:s.suffix||a.suffixIcon||a.clearable||a.showPassword,[b.bm("suffix","password-clear")]:R.value&&B.value},r.class])),d=(0,n.Fl)((()=>[b.e("wrapper"),b.is("focus",U.value)])),p=Or({excludeKeys:(0,n.Fl)((()=>Object.keys(c.value)))}),{form:m,formItem:h}=Tl(),{inputId:f}=Ml(a,{formItemContext:h}),v=Ol(),g=Ll(),b=Fn("input"),y=Fn("textarea"),w=(0,Te.XI)(),S=(0,Te.XI)(),_=(0,Te.iH)(!1),k=(0,Te.iH)(!1),x=(0,Te.iH)(!1),C=(0,Te.iH)(),O=(0,Te.XI)(a.inputStyle),L=(0,n.Fl)((()=>w.value||S.value)),{wrapperRef:P,isFocused:U,handleFocus:j,handleBlur:I}=Lr(L,{afterBlur(){var e;a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"blur").catch((e=>En(e))))}}),F=(0,n.Fl)((()=>{var e;return null!=(e=null==m?void 0:m.statusIcon)&&e})),T=(0,n.Fl)((()=>(null==h?void 0:h.validateState)||"")),M=(0,n.Fl)((()=>T.value&&wr[T.value])),E=(0,n.Fl)((()=>x.value?sl:Gi)),N=(0,n.Fl)((()=>[r.style,a.inputStyle])),D=(0,n.Fl)((()=>[a.inputStyle,O.value,{resize:a.resize}])),H=(0,n.Fl)((()=>Hl(a.modelValue)?"":String(a.modelValue))),R=(0,n.Fl)((()=>a.clearable&&!g.value&&!a.readonly&&!!H.value&&(U.value||_.value))),B=(0,n.Fl)((()=>a.showPassword&&!g.value&&!a.readonly&&!!H.value&&(!!H.value||U.value))),z=(0,n.Fl)((()=>a.showWordLimit&&!!p.value.maxlength&&("text"===a.type||"textarea"===a.type)&&!g.value&&!a.readonly&&!a.showPassword)),$=(0,n.Fl)((()=>H.value.length)),A=(0,n.Fl)((()=>!!z.value&&$.value>Number(p.value.maxlength))),V=(0,n.Fl)((()=>!!s.suffix||!!a.suffixIcon||R.value||a.showPassword||z.value||!!T.value&&F.value)),[Z,Y]=Pr(w);en(S,(e=>{if(K(),!z.value||"both"!==a.resize)return;const t=e[0],{width:o}=t.contentRect;C.value={right:`calc(100% - ${o+15+6}px)`}}));const W=()=>{const{type:e,autosize:t}=a;if(To&&"textarea"===e&&S.value)if(t){const e=(0,i.Kn)(t)?t.minRows:void 0,o=(0,i.Kn)(t)?t.maxRows:void 0,l=br(S.value,e,o);O.value={overflowY:"hidden",...l},(0,n.Y3)((()=>{S.value.offsetHeight,O.value=l}))}else O.value={minHeight:br(S.value).minHeight}},q=e=>{let t=!1;return()=>{var o;if(t||!a.autosize)return;const n=null===(null==(o=S.value)?void 0:o.offsetParent);n||(e(),t=!0)}},K=q(W),G=()=>{const e=L.value,t=a.formatter?a.formatter(H.value):H.value;e&&e.value!==t&&(e.value=t)},J=async e=>{Z();let{value:t}=e.target;a.formatter&&(t=a.parser?a.parser(t):t),k.value||(t!==H.value?(o(bl,t),o("input",t),await(0,n.Y3)(),G(),Y()):G())},X=e=>{o("change",e.target.value)},Q=e=>{o("compositionstart",e),k.value=!0},ee=e=>{var t;o("compositionupdate",e);const n=null==(t=e.target)?void 0:t.value,i=n[n.length-1]||"";k.value=!Ur(i)},te=e=>{o("compositionend",e),k.value&&(k.value=!1,J(e))},oe=()=>{x.value=!x.value,ne()},ne=async()=>{var e;await(0,n.Y3)(),null==(e=L.value)||e.focus()},ie=()=>{var e;return null==(e=L.value)?void 0:e.blur()},le=e=>{_.value=!1,o("mouseleave",e)},ae=e=>{_.value=!0,o("mouseenter",e)},re=e=>{o("keydown",e)},se=()=>{var e;null==(e=L.value)||e.select()},ce=()=>{o(bl,""),o("change",""),o("clear"),o("input","")};return(0,n.YP)((()=>a.modelValue),(()=>{var e;(0,n.Y3)((()=>W())),a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"change").catch((e=>En(e))))})),(0,n.YP)(H,(()=>G())),(0,n.YP)((()=>a.type),(async()=>{await(0,n.Y3)(),G(),W()})),(0,n.bv)((()=>{!a.formatter&&a.parser&&En("ElInput","If you set the parser, you also need to set the formatter."),G(),(0,n.Y3)(W)})),t({input:w,textarea:S,ref:L,textareaStyle:D,autosize:(0,Te.Vh)(a,"autosize"),focus:ne,blur:ie,select:se,clear:ce,resizeTextarea:W}),(e,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",(0,n.dG)((0,Te.SU)(c),{class:(0,Te.SU)(u),style:(0,Te.SU)(N),role:e.containerRole,onMouseenter:ae,onMouseleave:le}),[(0,n.kq)(" input "),"textarea"!==e.type?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.kq)(" prepend slot "),e.$slots.prepend?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,i.C_)((0,Te.SU)(b).be("group","prepend"))},[(0,n.WI)(e.$slots,"prepend")],2)):(0,n.kq)("v-if",!0),(0,n._)("div",{ref_key:"wrapperRef",ref:P,class:(0,i.C_)((0,Te.SU)(d))},[(0,n.kq)(" prefix slot "),e.$slots.prefix||e.prefixIcon?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Te.SU)(b).e("prefix"))},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b).e("prefix-inner"))},[(0,n.WI)(e.$slots,"prefix"),e.prefixIcon?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(b).e("icon"))},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.prefixIcon)))])),_:1},8,["class"])):(0,n.kq)("v-if",!0)],2)],2)):(0,n.kq)("v-if",!0),(0,n._)("input",(0,n.dG)({id:(0,Te.SU)(f),ref_key:"input",ref:w,class:(0,Te.SU)(b).e("inner")},(0,Te.SU)(p),{type:e.showPassword?x.value?"text":"password":e.type,disabled:(0,Te.SU)(g),formatter:e.formatter,parser:e.parser,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,form:a.form,autofocus:a.autofocus,onCompositionstart:Q,onCompositionupdate:ee,onCompositionend:te,onInput:J,onFocus:t[0]||(t[0]=(...e)=>(0,Te.SU)(j)&&(0,Te.SU)(j)(...e)),onBlur:t[1]||(t[1]=(...e)=>(0,Te.SU)(I)&&(0,Te.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Ir),(0,n.kq)(" suffix slot "),(0,Te.SU)(V)?((0,n.wg)(),(0,n.iD)("span",{key:1,class:(0,i.C_)((0,Te.SU)(b).e("suffix"))},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b).e("suffix-inner"))},[(0,Te.SU)(R)&&(0,Te.SU)(B)&&(0,Te.SU)(z)?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.WI)(e.$slots,"suffix"),e.suffixIcon?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(b).e("icon"))},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)(e.suffixIcon)))])),_:1},8,["class"])):(0,n.kq)("v-if",!0)],64)),(0,Te.SU)(R)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:1,class:(0,i.C_)([(0,Te.SU)(b).e("icon"),(0,Te.SU)(b).e("clear")]),onMousedown:(0,l.iM)((0,Te.SU)(i.dG),["prevent"]),onClick:ce},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Di))])),_:1},8,["class","onMousedown"])):(0,n.kq)("v-if",!0),(0,Te.SU)(B)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:2,class:(0,i.C_)([(0,Te.SU)(b).e("icon"),(0,Te.SU)(b).e("password")]),onClick:oe},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,Te.SU)(E))))])),_:1},8,["class"])):(0,n.kq)("v-if",!0),(0,Te.SU)(z)?((0,n.wg)(),(0,n.iD)("span",{key:3,class:(0,i.C_)((0,Te.SU)(b).e("count"))},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(b).e("count-inner"))},(0,i.zw)((0,Te.SU)($))+" / "+(0,i.zw)((0,Te.SU)(p).maxlength),3)],2)):(0,n.kq)("v-if",!0),(0,Te.SU)(T)&&(0,Te.SU)(M)&&(0,Te.SU)(F)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:4,class:(0,i.C_)([(0,Te.SU)(b).e("icon"),(0,Te.SU)(b).e("validateIcon"),(0,Te.SU)(b).is("loading","validating"===(0,Te.SU)(T))])},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,Te.SU)(M))))])),_:1},8,["class"])):(0,n.kq)("v-if",!0)],2)],2)):(0,n.kq)("v-if",!0)],2),(0,n.kq)(" append slot "),e.$slots.append?((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,i.C_)((0,Te.SU)(b).be("group","append"))},[(0,n.WI)(e.$slots,"append")],2)):(0,n.kq)("v-if",!0)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.kq)(" textarea "),(0,n._)("textarea",(0,n.dG)({id:(0,Te.SU)(f),ref_key:"textarea",ref:S,class:(0,Te.SU)(y).e("inner")},(0,Te.SU)(p),{tabindex:e.tabindex,disabled:(0,Te.SU)(g),readonly:e.readonly,autocomplete:e.autocomplete,style:(0,Te.SU)(D),"aria-label":e.label,placeholder:e.placeholder,form:a.form,autofocus:a.autofocus,onCompositionstart:Q,onCompositionupdate:ee,onCompositionend:te,onInput:J,onFocus:t[2]||(t[2]=(...e)=>(0,Te.SU)(j)&&(0,Te.SU)(j)(...e)),onBlur:t[3]||(t[3]=(...e)=>(0,Te.SU)(I)&&(0,Te.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Fr),(0,Te.SU)(z)?((0,n.wg)(),(0,n.iD)("span",{key:0,style:(0,i.j5)(C.value),class:(0,i.C_)((0,Te.SU)(b).e("count"))},(0,i.zw)((0,Te.SU)($))+" / "+(0,i.zw)((0,Te.SU)(p).maxlength),7)):(0,n.kq)("v-if",!0)],64))],16,jr)),[[l.F8,"hidden"!==e.type]])}});var Er=On(Mr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Nr=oi(Er),Dr=Symbol("popper"),Hr=Symbol("popperContent"),Rr=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Br=xn({role:{type:String,values:Rr,default:"tooltip"}}),zr=(0,n.aZ)({name:"ElPopper",inheritAttrs:!1}),$r=(0,n.aZ)({...zr,props:Br,setup(e,{expose:t}){const o=e,i=(0,Te.iH)(),l=(0,Te.iH)(),a=(0,Te.iH)(),r=(0,Te.iH)(),s=(0,n.Fl)((()=>o.role)),c={triggerRef:i,popperInstanceRef:l,contentRef:a,referenceRef:r,role:s};return t(c),(0,n.JJ)(Dr,c),(e,t)=>(0,n.WI)(e.$slots,"default")}});var Ar=On($r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Vr=oi(Ar),Zr=Symbol("elTooltip");function Yr(){let e;const t=(t,n)=>{o(),e=window.setTimeout(t,n)},o=()=>window.clearTimeout(e);return Ro((()=>o())),{registerTimeout:t,cancelTimeout:o}}const Wr=xn({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),qr=({showAfter:e,hideAfter:t,autoClose:o,open:n,close:i})=>{const{registerTimeout:l}=Yr(),{registerTimeout:a,cancelTimeout:r}=Yr(),s=t=>{l((()=>{n(t);const e=(0,Te.SU)(o);Vn(e)&&e>0&&a((()=>{i(t)}),e)}),(0,Te.SU)(e))},c=e=>{r(),l((()=>{i(e)}),(0,Te.SU)(t))};return{onOpen:s,onClose:c}};var Kr="top",Gr="bottom",Jr="right",Xr="left",Qr="auto",es=[Kr,Gr,Jr,Xr],ts="start",os="end",ns="clippingParents",is="viewport",ls="popper",as="reference",rs=es.reduce((function(e,t){return e.concat([t+"-"+ts,t+"-"+os])}),[]),ss=[].concat(es,[Qr]).reduce((function(e,t){return e.concat([t,t+"-"+ts,t+"-"+os])}),[]),cs="beforeRead",us="read",ds="afterRead",ps="beforeMain",ms="main",hs="afterMain",fs="beforeWrite",vs="write",gs="afterWrite",bs=[cs,us,ds,ps,ms,hs,fs,vs,gs];function ys(e){return e?(e.nodeName||"").toLowerCase():null}function ws(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ss(e){var t=ws(e).Element;return e instanceof t||e instanceof Element}function _s(e){var t=ws(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ks(e){if("undefined"==typeof ShadowRoot)return!1;var t=ws(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xs(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];!_s(i)||!ys(i)||(Object.assign(i.style,o),Object.keys(n).forEach((function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))}function Cs(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],i=t.attributes[e]||{},l=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]),a=l.reduce((function(e,t){return e[t]="",e}),{});!_s(n)||!ys(n)||(Object.assign(n.style,a),Object.keys(i).forEach((function(e){n.removeAttribute(e)})))}))}}var Os={name:"applyStyles",enabled:!0,phase:"write",fn:xs,effect:Cs,requires:["computeStyles"]};function Ls(e){return e.split("-")[0]}var Ps=Math.max,Us=Math.min,js=Math.round;function Is(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),n=1,i=1;if(_s(e)&&t){var l=e.offsetHeight,a=e.offsetWidth;a>0&&(n=js(o.width)/a||1),l>0&&(i=js(o.height)/l||1)}return{width:o.width/n,height:o.height/i,top:o.top/i,right:o.right/n,bottom:o.bottom/i,left:o.left/n,x:o.left/n,y:o.top/i}}function Fs(e){var t=Is(e),o=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:n}}function Ts(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&ks(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ms(e){return ws(e).getComputedStyle(e)}function Es(e){return["table","td","th"].indexOf(ys(e))>=0}function Ns(e){return((Ss(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ds(e){return"html"===ys(e)?e:e.assignedSlot||e.parentNode||(ks(e)?e.host:null)||Ns(e)}function Hs(e){return _s(e)&&"fixed"!==Ms(e).position?e.offsetParent:null}function Rs(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),o=-1!==navigator.userAgent.indexOf("Trident");if(o&&_s(e)){var n=Ms(e);if("fixed"===n.position)return null}var i=Ds(e);for(ks(i)&&(i=i.host);_s(i)&&["html","body"].indexOf(ys(i))<0;){var l=Ms(i);if("none"!==l.transform||"none"!==l.perspective||"paint"===l.contain||-1!==["transform","perspective"].indexOf(l.willChange)||t&&"filter"===l.willChange||t&&l.filter&&"none"!==l.filter)return i;i=i.parentNode}return null}function Bs(e){for(var t=ws(e),o=Hs(e);o&&Es(o)&&"static"===Ms(o).position;)o=Hs(o);return o&&("html"===ys(o)||"body"===ys(o)&&"static"===Ms(o).position)?t:o||Rs(e)||t}function zs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $s(e,t,o){return Ps(e,Us(t,o))}function As(e,t,o){var n=$s(e,t,o);return n>o?o:n}function Vs(){return{top:0,right:0,bottom:0,left:0}}function Zs(e){return Object.assign({},Vs(),e)}function Ys(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}var Ws=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Zs("number"!=typeof e?e:Ys(e,es))};function qs(e){var t,o=e.state,n=e.name,i=e.options,l=o.elements.arrow,a=o.modifiersData.popperOffsets,r=Ls(o.placement),s=zs(r),c=[Xr,Jr].indexOf(r)>=0,u=c?"height":"width";if(l&&a){var d=Ws(i.padding,o),p=Fs(l),m="y"===s?Kr:Xr,h="y"===s?Gr:Jr,f=o.rects.reference[u]+o.rects.reference[s]-a[s]-o.rects.popper[u],v=a[s]-o.rects.reference[s],g=Bs(l),b=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=f/2-v/2,w=d[m],S=b-p[u]-d[h],_=b/2-p[u]/2+y,k=$s(w,_,S),x=s;o.modifiersData[n]=(t={},t[x]=k,t.centerOffset=k-_,t)}}function Ks(e){var t=e.state,o=e.options,n=o.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&(i=t.elements.popper.querySelector(i),!i)||!Ts(t.elements.popper,i)||(t.elements.arrow=i))}var Gs={name:"arrow",enabled:!0,phase:"main",fn:qs,effect:Ks,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Js(e){return e.split("-")[1]}var Xs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qs(e){var t=e.x,o=e.y,n=window,i=n.devicePixelRatio||1;return{x:js(t*i)/i||0,y:js(o*i)/i||0}}function ec(e){var t,o=e.popper,n=e.popperRect,i=e.placement,l=e.variation,a=e.offsets,r=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,m=void 0===p?0:p,h=a.y,f=void 0===h?0:h,v="function"==typeof u?u({x:m,y:f}):{x:m,y:f};m=v.x,f=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Xr,w=Kr,S=window;if(c){var _=Bs(o),k="clientHeight",x="clientWidth";if(_===ws(o)&&(_=Ns(o),"static"!==Ms(_).position&&"absolute"===r&&(k="scrollHeight",x="scrollWidth")),i===Kr||(i===Xr||i===Jr)&&l===os){w=Gr;var C=d&&_===S&&S.visualViewport?S.visualViewport.height:_[k];f-=C-n.height,f*=s?1:-1}if(i===Xr||(i===Kr||i===Gr)&&l===os){y=Jr;var O=d&&_===S&&S.visualViewport?S.visualViewport.width:_[x];m-=O-n.width,m*=s?1:-1}}var L,P=Object.assign({position:r},c&&Xs),U=!0===u?Qs({x:m,y:f}):{x:m,y:f};return m=U.x,f=U.y,s?Object.assign({},P,(L={},L[w]=b?"0":"",L[y]=g?"0":"",L.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+f+"px)":"translate3d("+m+"px, "+f+"px, 0)",L)):Object.assign({},P,(t={},t[w]=b?f+"px":"",t[y]=g?m+"px":"",t.transform="",t))}function tc(e){var t=e.state,o=e.options,n=o.gpuAcceleration,i=void 0===n||n,l=o.adaptive,a=void 0===l||l,r=o.roundOffsets,s=void 0===r||r,c={placement:Ls(t.placement),variation:Js(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ec(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ec(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var oc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tc,data:{}},nc={passive:!0};function ic(e){var t=e.state,o=e.instance,n=e.options,i=n.scroll,l=void 0===i||i,a=n.resize,r=void 0===a||a,s=ws(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&c.forEach((function(e){e.addEventListener("scroll",o.update,nc)})),r&&s.addEventListener("resize",o.update,nc),function(){l&&c.forEach((function(e){e.removeEventListener("scroll",o.update,nc)})),r&&s.removeEventListener("resize",o.update,nc)}}var lc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ic,data:{}},ac={left:"right",right:"left",bottom:"top",top:"bottom"};function rc(e){return e.replace(/left|right|bottom|top/g,(function(e){return ac[e]}))}var sc={start:"end",end:"start"};function cc(e){return e.replace(/start|end/g,(function(e){return sc[e]}))}function uc(e){var t=ws(e),o=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:o,scrollTop:n}}function dc(e){return Is(Ns(e)).left+uc(e).scrollLeft}function pc(e){var t=ws(e),o=Ns(e),n=t.visualViewport,i=o.clientWidth,l=o.clientHeight,a=0,r=0;return n&&(i=n.width,l=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,r=n.offsetTop)),{width:i,height:l,x:a+dc(e),y:r}}function mc(e){var t,o=Ns(e),n=uc(e),i=null==(t=e.ownerDocument)?void 0:t.body,l=Ps(o.scrollWidth,o.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ps(o.scrollHeight,o.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-n.scrollLeft+dc(e),s=-n.scrollTop;return"rtl"===Ms(i||o).direction&&(r+=Ps(o.clientWidth,i?i.clientWidth:0)-l),{width:l,height:a,x:r,y:s}}function hc(e){var t=Ms(e),o=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+i+n)}function fc(e){return["html","body","#document"].indexOf(ys(e))>=0?e.ownerDocument.body:_s(e)&&hc(e)?e:fc(Ds(e))}function vc(e,t){var o;void 0===t&&(t=[]);var n=fc(e),i=n===(null==(o=e.ownerDocument)?void 0:o.body),l=ws(n),a=i?[l].concat(l.visualViewport||[],hc(n)?n:[]):n,r=t.concat(a);return i?r:r.concat(vc(Ds(a)))}function gc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bc(e){var t=Is(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function yc(e,t){return t===is?gc(pc(e)):Ss(t)?bc(t):gc(mc(Ns(e)))}function wc(e){var t=vc(Ds(e)),o=["absolute","fixed"].indexOf(Ms(e).position)>=0,n=o&&_s(e)?Bs(e):e;return Ss(n)?t.filter((function(e){return Ss(e)&&Ts(e,n)&&"body"!==ys(e)})):[]}function Sc(e,t,o){var n="clippingParents"===t?wc(e):[].concat(t),i=[].concat(n,[o]),l=i[0],a=i.reduce((function(t,o){var n=yc(e,o);return t.top=Ps(n.top,t.top),t.right=Us(n.right,t.right),t.bottom=Us(n.bottom,t.bottom),t.left=Ps(n.left,t.left),t}),yc(e,l));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _c(e){var t,o=e.reference,n=e.element,i=e.placement,l=i?Ls(i):null,a=i?Js(i):null,r=o.x+o.width/2-n.width/2,s=o.y+o.height/2-n.height/2;switch(l){case Kr:t={x:r,y:o.y-n.height};break;case Gr:t={x:r,y:o.y+o.height};break;case Jr:t={x:o.x+o.width,y:s};break;case Xr:t={x:o.x-n.width,y:s};break;default:t={x:o.x,y:o.y}}var c=l?zs(l):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ts:t[c]=t[c]-(o[u]/2-n[u]/2);break;case os:t[c]=t[c]+(o[u]/2-n[u]/2);break}}return t}function kc(e,t){void 0===t&&(t={});var o=t,n=o.placement,i=void 0===n?e.placement:n,l=o.boundary,a=void 0===l?ns:l,r=o.rootBoundary,s=void 0===r?is:r,c=o.elementContext,u=void 0===c?ls:c,d=o.altBoundary,p=void 0!==d&&d,m=o.padding,h=void 0===m?0:m,f=Zs("number"!=typeof h?h:Ys(h,es)),v=u===ls?as:ls,g=e.rects.popper,b=e.elements[p?v:u],y=Sc(Ss(b)?b:b.contextElement||Ns(e.elements.popper),a,s),w=Is(e.elements.reference),S=_c({reference:w,element:g,strategy:"absolute",placement:i}),_=gc(Object.assign({},g,S)),k=u===ls?_:w,x={top:y.top-k.top+f.top,bottom:k.bottom-y.bottom+f.bottom,left:y.left-k.left+f.left,right:k.right-y.right+f.right},C=e.modifiersData.offset;if(u===ls&&C){var O=C[i];Object.keys(x).forEach((function(e){var t=[Jr,Gr].indexOf(e)>=0?1:-1,o=[Kr,Gr].indexOf(e)>=0?"y":"x";x[e]+=O[o]*t}))}return x}function xc(e,t){void 0===t&&(t={});var o=t,n=o.placement,i=o.boundary,l=o.rootBoundary,a=o.padding,r=o.flipVariations,s=o.allowedAutoPlacements,c=void 0===s?ss:s,u=Js(n),d=u?r?rs:rs.filter((function(e){return Js(e)===u})):es,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var m=p.reduce((function(t,o){return t[o]=kc(e,{placement:o,boundary:i,rootBoundary:l,padding:a})[Ls(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Cc(e){if(Ls(e)===Qr)return[];var t=rc(e);return[cc(e),t,cc(t)]}function Oc(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=o.mainAxis,l=void 0===i||i,a=o.altAxis,r=void 0===a||a,s=o.fallbackPlacements,c=o.padding,u=o.boundary,d=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,h=void 0===m||m,f=o.allowedAutoPlacements,v=t.options.placement,g=Ls(v),b=g===v,y=s||(b||!h?[rc(v)]:Cc(v)),w=[v].concat(y).reduce((function(e,o){return e.concat(Ls(o)===Qr?xc(t,{placement:o,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:f}):o)}),[]),S=t.rects.reference,_=t.rects.popper,k=new Map,x=!0,C=w[0],O=0;O=0,I=j?"width":"height",F=kc(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=j?U?Jr:Xr:U?Gr:Kr;S[I]>_[I]&&(T=rc(T));var M=rc(T),E=[];if(l&&E.push(F[P]<=0),r&&E.push(F[T]<=0,F[M]<=0),E.every((function(e){return e}))){C=L,x=!1;break}k.set(L,E)}if(x)for(var N=h?3:1,D=function(e){var t=w.find((function(t){var o=k.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},H=N;H>0;H--){var R=D(H);if("break"===R)break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}}var Lc={name:"flip",enabled:!0,phase:"main",fn:Oc,requiresIfExists:["offset"],data:{_skip:!1}};function Pc(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Uc(e){return[Kr,Jr,Gr,Xr].some((function(t){return e[t]>=0}))}function jc(e){var t=e.state,o=e.name,n=t.rects.reference,i=t.rects.popper,l=t.modifiersData.preventOverflow,a=kc(t,{elementContext:"reference"}),r=kc(t,{altBoundary:!0}),s=Pc(a,n),c=Pc(r,i,l),u=Uc(s),d=Uc(c);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Ic={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:jc};function Fc(e,t,o){var n=Ls(e),i=[Xr,Kr].indexOf(n)>=0?-1:1,l="function"==typeof o?o(Object.assign({},t,{placement:e})):o,a=l[0],r=l[1];return a=a||0,r=(r||0)*i,[Xr,Jr].indexOf(n)>=0?{x:r,y:a}:{x:a,y:r}}function Tc(e){var t=e.state,o=e.options,n=e.name,i=o.offset,l=void 0===i?[0,0]:i,a=ss.reduce((function(e,o){return e[o]=Fc(o,t.rects,l),e}),{}),r=a[t.placement],s=r.x,c=r.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}var Mc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Tc};function Ec(e){var t=e.state,o=e.name;t.modifiersData[o]=_c({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Nc={name:"popperOffsets",enabled:!0,phase:"read",fn:Ec,data:{}};function Dc(e){return"x"===e?"y":"x"}function Hc(e){var t=e.state,o=e.options,n=e.name,i=o.mainAxis,l=void 0===i||i,a=o.altAxis,r=void 0!==a&&a,s=o.boundary,c=o.rootBoundary,u=o.altBoundary,d=o.padding,p=o.tether,m=void 0===p||p,h=o.tetherOffset,f=void 0===h?0:h,v=kc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Ls(t.placement),b=Js(t.placement),y=!b,w=zs(g),S=Dc(w),_=t.modifiersData.popperOffsets,k=t.rects.reference,x=t.rects.popper,C="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(_){if(l){var U,j="y"===w?Kr:Xr,I="y"===w?Gr:Jr,F="y"===w?"height":"width",T=_[w],M=T+v[j],E=T-v[I],N=m?-x[F]/2:0,D=b===ts?k[F]:x[F],H=b===ts?-x[F]:-k[F],R=t.elements.arrow,B=m&&R?Fs(R):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Vs(),$=z[j],A=z[I],V=$s(0,k[F],B[F]),Z=y?k[F]/2-N-V-$-O.mainAxis:D-V-$-O.mainAxis,Y=y?-k[F]/2+N+V+A+O.mainAxis:H+V+A+O.mainAxis,W=t.elements.arrow&&Bs(t.elements.arrow),q=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,K=null!=(U=null==L?void 0:L[w])?U:0,G=T+Z-K-q,J=T+Y-K,X=$s(m?Us(M,G):M,T,m?Ps(E,J):E);_[w]=X,P[w]=X-T}if(r){var Q,ee="x"===w?Kr:Xr,te="x"===w?Gr:Jr,oe=_[S],ne="y"===S?"height":"width",ie=oe+v[ee],le=oe-v[te],ae=-1!==[Kr,Xr].indexOf(g),re=null!=(Q=null==L?void 0:L[S])?Q:0,se=ae?ie:oe-k[ne]-x[ne]-re+O.altAxis,ce=ae?oe+k[ne]+x[ne]-re-O.altAxis:le,ue=m&&ae?As(se,oe,ce):$s(m?se:ie,oe,m?ce:le);_[S]=ue,P[S]=ue-oe}t.modifiersData[n]=P}}var Rc={name:"preventOverflow",enabled:!0,phase:"main",fn:Hc,requiresIfExists:["offset"]};function Bc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function zc(e){return e!==ws(e)&&_s(e)?Bc(e):uc(e)}function $c(e){var t=e.getBoundingClientRect(),o=js(t.width)/e.offsetWidth||1,n=js(t.height)/e.offsetHeight||1;return 1!==o||1!==n}function Ac(e,t,o){void 0===o&&(o=!1);var n=_s(t),i=_s(t)&&$c(t),l=Ns(t),a=Is(e,i),r={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!o)&&(("body"!==ys(t)||hc(l))&&(r=zc(t)),_s(t)?(s=Is(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=dc(l))),{x:a.left+r.scrollLeft-s.x,y:a.top+r.scrollTop-s.y,width:a.width,height:a.height}}function Vc(e){var t=new Map,o=new Set,n=[];function i(e){o.add(e.name);var l=[].concat(e.requires||[],e.requiresIfExists||[]);l.forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||i(e)})),n}function Zc(e){var t=Vc(e);return bs.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}function Yc(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}function Wc(e){var t=e.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var qc={placement:"bottom",modifiers:[],strategy:"absolute"};function Kc(){for(var e=arguments.length,t=new Array(e),o=0;o({})},strategy:{type:String,values:eu,default:"absolute"}}),ou=xn({...tu,id:String,style:{type:Sn([String,Array,Object])},className:{type:Sn([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Sn([String,Array,Object])},popperStyle:{type:Sn([String,Array,Object])},referenceEl:{type:Sn(Object)},triggerTargetEl:{type:Sn(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),nu={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},iu=xn({...Wr,...ou,appendTo:{type:Sn([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Sn(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),lu=xn({virtualRef:{type:Sn(Object)},virtualTriggering:Boolean,onMouseenter:{type:Sn(Function)},onMouseleave:{type:Sn(Function)},onClick:{type:Sn(Function)},onKeydown:{type:Sn(Function)},onFocus:{type:Sn(Function)},onBlur:{type:Sn(Function)},onContextmenu:{type:Sn(Function)},id:String,open:Boolean}),au=xn({...lu,disabled:Boolean,trigger:{type:Sn([String,Array]),default:"hover"},triggerKeys:{type:Sn(Array),default:()=>[sr.enter,sr.space]}}),ru=kn({type:Sn(Boolean),default:null}),su=kn({type:Sn(Function)}),cu=e=>{const t=`update:${e}`,o=`onUpdate:${e}`,l=[t],a={[e]:ru,[o]:su},r=({indicator:l,toggleReason:a,shouldHideWhenRouteChanges:r,shouldProceed:s,onShow:c,onHide:u})=>{const d=(0,n.FN)(),{emit:p}=d,m=d.props,h=(0,n.Fl)((()=>(0,i.mf)(m[o]))),f=(0,n.Fl)((()=>null===m[e])),v=e=>{!0!==l.value&&(l.value=!0,a&&(a.value=e),(0,i.mf)(c)&&c(e))},g=e=>{!1!==l.value&&(l.value=!1,a&&(a.value=e),(0,i.mf)(u)&&u(e))},b=e=>{if(!0===m.disabled||(0,i.mf)(s)&&!s())return;const o=h.value&&To;o&&p(t,!0),!f.value&&o||v(e)},y=e=>{if(!0===m.disabled||!To)return;const o=h.value&&To;o&&p(t,!1),!f.value&&o||g(e)},w=e=>{An(e)&&(m.disabled&&e?h.value&&p(t,!1):l.value!==e&&(e?v():g()))},S=()=>{l.value?y():b()};return(0,n.YP)((()=>m[e]),w),r&&void 0!==d.appContext.config.globalProperties.$route&&(0,n.YP)((()=>({...d.proxy.$route})),(()=>{r.value&&l.value&&y()})),(0,n.bv)((()=>{w(m[e])})),{hide:y,show:b,toggle:S,hasUpdateHandler:h}};return{useModelToggle:r,useModelToggleProps:a,useModelToggleEmits:l}},{useModelToggle:uu,useModelToggleProps:du,useModelToggleEmits:pu}=cu("modelValue"),mu=xn({arrowOffset:{type:Number,default:5}}),{useModelToggleProps:hu,useModelToggleEmits:fu,useModelToggle:vu}=cu("visible"),gu=xn({...Br,...hu,...iu,...au,...mu,showArrow:{type:Boolean,default:!0}}),bu=[...fu,"before-show","before-hide","show","hide","open","close"],yu=(e,t)=>(0,i.kJ)(e)?e.includes(t):e===t,wu=(e,t,o)=>n=>{yu((0,Te.SU)(e),t)&&o(n)},Su=(e,t,{checkForDefaultPrevented:o=!0}={})=>{const n=n=>{const i=null==e?void 0:e(n);if(!1===o||!i)return null==t?void 0:t(n)};return n},_u=Symbol("elForwardRef"),ku=e=>{const t=t=>{e.value=t};(0,n.JJ)(_u,{setForwardRef:t})},xu=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Cu="ElOnlyChild",Ou=(0,n.aZ)({name:Cu,setup(e,{slots:t,attrs:o}){var l;const a=(0,n.f3)(_u),r=xu(null!=(l=null==a?void 0:a.setForwardRef)?l:i.dG);return()=>{var e;const i=null==(e=t.default)?void 0:e.call(t,o);if(!i)return null;if(i.length>1)return En(Cu,"requires exact only one valid child."),null;const l=Lu(i);return l?(0,n.wy)((0,n.Ho)(l,o),[[r]]):(En(Cu,"no valid child node found"),null)}}});function Lu(e){if(!e)return null;const t=e;for(const o of t){if((0,i.Kn)(o))switch(o.type){case n.sv:continue;case n.xv:case"svg":return Pu(o);case n.HY:return Lu(o.children);default:return o}return Pu(o)}return null}function Pu(e){const t=Fn("only-child");return(0,n.Wm)("span",{class:t.e("content")},[e])}const Uu=(0,n.aZ)({name:"ElPopperTrigger",inheritAttrs:!1}),ju=(0,n.aZ)({...Uu,props:lu,setup(e,{expose:t}){const o=e,{role:i,triggerRef:l}=(0,n.f3)(Dr,void 0);ku(l);const a=(0,n.Fl)((()=>s.value?o.id:void 0)),r=(0,n.Fl)((()=>{if(i&&"tooltip"===i.value)return o.open&&o.id?o.id:void 0})),s=(0,n.Fl)((()=>{if(i&&"tooltip"!==i.value)return i.value})),c=(0,n.Fl)((()=>s.value?`${o.open}`:void 0));let u;return(0,n.bv)((()=>{(0,n.YP)((()=>o.virtualRef),(e=>{e&&(l.value=zo(e))}),{immediate:!0}),(0,n.YP)(l,((e,t)=>{null==u||u(),u=void 0,Yn(e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach((n=>{var i;const l=o[n];l&&(e.addEventListener(n.slice(2).toLowerCase(),l),null==(i=null==t?void 0:t.removeEventListener)||i.call(t,n.slice(2).toLowerCase(),l))})),u=(0,n.YP)([a,r,s,c],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((o,n)=>{Hl(t[n])?e.removeAttribute(o):e.setAttribute(o,t[n])}))}),{immediate:!0})),Yn(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),(0,n.Jd)((()=>{null==u||u(),u=void 0})),t({triggerRef:l}),(e,t)=>e.virtualTriggering?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.j4)((0,Te.SU)(Ou),(0,n.dG)({key:0},e.$attrs,{"aria-controls":(0,Te.SU)(a),"aria-describedby":(0,Te.SU)(r),"aria-expanded":(0,Te.SU)(c),"aria-haspopup":(0,Te.SU)(s)}),{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Iu=On(ju,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Fu=(0,n.aZ)({name:"ElTooltipTrigger"}),Tu=(0,n.aZ)({...Fu,props:au,setup(e,{expose:t}){const o=e,l=Fn("tooltip"),{controlled:a,id:r,open:s,onOpen:c,onClose:u,onToggle:d}=(0,n.f3)(Zr,void 0),p=(0,Te.iH)(null),m=()=>{if((0,Te.SU)(a)||o.disabled)return!0},h=(0,Te.Vh)(o,"trigger"),f=Su(m,wu(h,"hover",c)),v=Su(m,wu(h,"hover",u)),g=Su(m,wu(h,"click",(e=>{0===e.button&&d(e)}))),b=Su(m,wu(h,"focus",c)),y=Su(m,wu(h,"focus",u)),w=Su(m,wu(h,"contextmenu",(e=>{e.preventDefault(),d(e)}))),S=Su(m,(e=>{const{code:t}=e;o.triggerKeys.includes(t)&&(e.preventDefault(),d(e))}));return t({triggerRef:p}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(Iu),{id:(0,Te.SU)(r),"virtual-ref":e.virtualRef,open:(0,Te.SU)(s),"virtual-triggering":e.virtualTriggering,class:(0,i.C_)((0,Te.SU)(l).e("trigger")),onBlur:(0,Te.SU)(y),onClick:(0,Te.SU)(g),onContextmenu:(0,Te.SU)(w),onFocus:(0,Te.SU)(b),onMouseenter:(0,Te.SU)(f),onMouseleave:(0,Te.SU)(v),onKeydown:(0,Te.SU)(S)},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var Mu=On(Tu,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);let Eu;const Nu=()=>{const e=In(),t=Il(),o=(0,n.Fl)((()=>`${e.value}-popper-container-${t.prefix}`)),i=(0,n.Fl)((()=>`#${o.value}`));return{id:o,selector:i}},Du=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Hu=()=>{const{id:e,selector:t}=Nu();return(0,n.wF)((()=>{To&&(Eu||document.body.querySelector(t.value)||(Eu=Du(e.value)))})),{id:e,selector:t}},Ru=(e,t)=>{const o=(0,Te.iH)(!1),n=(0,Te.iH)(),i=()=>{t("focus")},l=e=>{var o;"pointer"!==(null==(o=e.detail)?void 0:o.focusReason)&&(n.value="first",t("blur"))},a=t=>{e.visible&&!o.value&&(t.target&&(n.value=t.target),o.value=!0)},r=t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),o.value=!1)},s=()=>{o.value=!1,t("close")};return{focusStartRef:n,trapped:o,onFocusAfterReleased:l,onFocusAfterTrapped:i,onFocusInTrap:a,onFocusoutPrevented:r,onReleaseRequested:s}};function Bu(e){return void 0===e}var zu=Bu;const $u=(e,t=[])=>{const{placement:o,strategy:n,popperOptions:i}=e,l={placement:o,strategy:n,...i,modifiers:[...Vu(e),...t]};return Zu(l,null==i?void 0:i.modifiers),l},Au=e=>{if(To)return zo(e)};function Vu(e){const{offset:t,gpuAcceleration:o,fallbackPlacements:n}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:n}},{name:"computeStyles",options:{gpuAcceleration:o}}]}function Zu(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}const Yu=(e,t,o={})=>{const i={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=Wu(e);Object.assign(r.value,t)},requires:["computeStyles"]},l=(0,n.Fl)((()=>{const{onFirstUpdate:e,placement:t,strategy:n,modifiers:l}=(0,Te.SU)(o);return{onFirstUpdate:e,placement:t||"bottom",strategy:n||"absolute",modifiers:[...l||[],i,{name:"applyStyles",enabled:!1}]}})),a=(0,Te.XI)(),r=(0,Te.iH)({styles:{popper:{position:(0,Te.SU)(l).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return(0,n.YP)(l,(e=>{const t=(0,Te.SU)(a);t&&t.setOptions(e)}),{deep:!0}),(0,n.YP)([e,t],(([e,t])=>{s(),e&&t&&(a.value=Qc(e,t,(0,Te.SU)(l)))})),(0,n.Jd)((()=>{s()})),{state:(0,n.Fl)((()=>{var e;return{...(null==(e=(0,Te.SU)(a))?void 0:e.state)||{}}})),styles:(0,n.Fl)((()=>(0,Te.SU)(r).styles)),attributes:(0,n.Fl)((()=>(0,Te.SU)(r).attributes)),update:()=>{var e;return null==(e=(0,Te.SU)(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=(0,Te.SU)(a))?void 0:e.forceUpdate()},instanceRef:(0,n.Fl)((()=>(0,Te.SU)(a)))}};function Wu(e){const t=Object.keys(e.elements),o=(0,yn.Z)(t.map((t=>[t,e.styles[t]||{}]))),n=(0,yn.Z)(t.map((t=>[t,e.attributes[t]])));return{styles:o,attributes:n}}const qu=0,Ku=e=>{const{popperInstanceRef:t,contentRef:o,triggerRef:i,role:l}=(0,n.f3)(Dr,void 0),a=(0,Te.iH)(),r=(0,Te.iH)(),s=(0,n.Fl)((()=>({name:"eventListeners",enabled:!!e.visible}))),c=(0,n.Fl)((()=>{var e;const t=(0,Te.SU)(a),o=null!=(e=(0,Te.SU)(r))?e:qu;return{name:"arrow",enabled:!zu(t),options:{element:t,padding:o}}})),u=(0,n.Fl)((()=>({onFirstUpdate:()=>{f()},...$u(e,[(0,Te.SU)(c),(0,Te.SU)(s)])}))),d=(0,n.Fl)((()=>Au(e.referenceEl)||(0,Te.SU)(i))),{attributes:p,state:m,styles:h,update:f,forceUpdate:v,instanceRef:g}=Yu(d,o,u);return(0,n.YP)(g,(e=>t.value=e)),(0,n.bv)((()=>{(0,n.YP)((()=>{var e;return null==(e=(0,Te.SU)(d))?void 0:e.getBoundingClientRect()}),(()=>{f()}))})),{attributes:p,arrowRef:a,contentRef:o,instanceRef:g,state:m,styles:h,role:l,forceUpdate:v,update:f}},Gu=(0,Te.iH)(0),Ju=2e3,Xu=Symbol("zIndexContextKey"),Qu=e=>{const t=e||((0,n.FN)()?(0,n.f3)(Xu,void 0):void 0),o=(0,n.Fl)((()=>{const e=(0,Te.SU)(t);return Vn(e)?e:Ju})),i=(0,n.Fl)((()=>o.value+Gu.value)),l=()=>(Gu.value++,i.value);return{initialZIndex:o,currentZIndex:i,nextZIndex:l}},ed=(e,{attributes:t,styles:o,role:i})=>{const{nextZIndex:l}=Qu(),a=Fn("popper"),r=(0,n.Fl)((()=>(0,Te.SU)(t).popper)),s=(0,Te.iH)(Vn(e.zIndex)?e.zIndex:l()),c=(0,n.Fl)((()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass])),u=(0,n.Fl)((()=>[{zIndex:(0,Te.SU)(s)},(0,Te.SU)(o).popper,e.popperStyle||{}])),d=(0,n.Fl)((()=>"dialog"===i.value?"false":void 0)),p=(0,n.Fl)((()=>(0,Te.SU)(o).arrow||{})),m=()=>{s.value=Vn(e.zIndex)?e.zIndex:l()};return{ariaModal:d,arrowStyle:p,contentAttrs:r,contentClass:c,contentStyle:u,contentZIndex:s,updateZIndex:m}},td="focus-trap.focus-after-trapped",od="focus-trap.focus-after-released",nd="focus-trap.focusout-prevented",id={cancelable:!0,bubbles:!1},ld={cancelable:!0,bubbles:!1},ad="focusAfterTrapped",rd="focusAfterReleased",sd=Symbol("elFocusTrap"),cd=(0,Te.iH)(),ud=(0,Te.iH)(0),dd=(0,Te.iH)(0);let pd=0;const md=e=>{const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});while(o.nextNode())t.push(o.currentNode);return t},hd=(e,t)=>{for(const o of e)if(!fd(o,t))return o},fd=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;while(e){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},vd=e=>{const t=md(e),o=hd(t,e),n=hd(t.reverse(),e);return[o,n]},gd=e=>e instanceof HTMLInputElement&&"select"in e,bd=(e,t)=>{if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),dd.value=window.performance.now(),e!==o&&gd(e)&&t&&e.select()}};function yd(e,t){const o=[...e],n=e.indexOf(t);return-1!==n&&o.splice(n,1),o}const wd=()=>{let e=[];const t=t=>{const o=e[0];o&&t!==o&&o.pause(),e=yd(e,t),e.unshift(t)},o=t=>{var o,n;e=yd(e,t),null==(n=null==(o=e[0])?void 0:o.resume)||n.call(o)};return{push:t,remove:o}},Sd=(e,t=!1)=>{const o=document.activeElement;for(const n of e)if(bd(n,t),document.activeElement!==o)return},_d=wd(),kd=()=>ud.value>dd.value,xd=()=>{cd.value="pointer",ud.value=window.performance.now()},Cd=()=>{cd.value="keyboard",ud.value=window.performance.now()},Od=()=>((0,n.bv)((()=>{0===pd&&(document.addEventListener("mousedown",xd),document.addEventListener("touchstart",xd),document.addEventListener("keydown",Cd)),pd++})),(0,n.Jd)((()=>{pd--,pd<=0&&(document.removeEventListener("mousedown",xd),document.removeEventListener("touchstart",xd),document.removeEventListener("keydown",Cd))})),{focusReason:cd,lastUserFocusTimestamp:ud,lastAutomatedFocusTimestamp:dd}),Ld=e=>new CustomEvent(nd,{...ld,detail:e});let Pd=[];const Ud=e=>{const t=e;t.key===sr.esc&&Pd.forEach((e=>e(t)))},jd=e=>{(0,n.bv)((()=>{0===Pd.length&&document.addEventListener("keydown",Ud),To&&Pd.push(e)})),(0,n.Jd)((()=>{Pd=Pd.filter((t=>t!==e)),0===Pd.length&&To&&document.removeEventListener("keydown",Ud)}))},Id=(0,n.aZ)({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ad,rd,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const o=(0,Te.iH)();let l,a;const{focusReason:r}=Od();jd((o=>{e.trapped&&!s.paused&&t("release-requested",o)}));const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=o=>{if(!e.loop&&!e.trapped)return;if(s.paused)return;const{key:n,altKey:i,ctrlKey:l,metaKey:a,currentTarget:c,shiftKey:u}=o,{loop:d}=e,p=n===sr.tab&&!i&&!l&&!a,m=document.activeElement;if(p&&m){const e=c,[n,i]=vd(e),l=n&&i;if(l)if(u||m!==i){if(u&&[n,e].includes(m)){const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&bd(i,!0))}}else{const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&bd(n,!0))}else if(m===e){const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||o.preventDefault()}}};(0,n.JJ)(sd,{focusTrapRef:o,onKeydown:c}),(0,n.YP)((()=>e.focusTrapEl),(e=>{e&&(o.value=e)}),{immediate:!0}),(0,n.YP)([o],(([e],[t])=>{e&&(e.addEventListener("keydown",c),e.addEventListener("focusin",p),e.addEventListener("focusout",m)),t&&(t.removeEventListener("keydown",c),t.removeEventListener("focusin",p),t.removeEventListener("focusout",m))}));const u=e=>{t(ad,e)},d=e=>t(rd,e),p=n=>{const i=(0,Te.SU)(o);if(!i)return;const r=n.target,c=n.relatedTarget,u=r&&i.contains(r);if(!e.trapped){const e=c&&i.contains(c);e||(l=c)}u&&t("focusin",n),s.paused||e.trapped&&(u?a=r:bd(a,!0))},m=n=>{const i=(0,Te.SU)(o);if(!s.paused&&i)if(e.trapped){const o=n.relatedTarget;Hl(o)||i.contains(o)||setTimeout((()=>{if(!s.paused&&e.trapped){const e=Ld({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||bd(a,!0)}}),0)}else{const e=n.target,o=e&&i.contains(e);o||t("focusout",n)}};async function h(){await(0,n.Y3)();const t=(0,Te.SU)(o);if(t){_d.push(s);const o=t.contains(document.activeElement)?l:document.activeElement;l=o;const a=t.contains(o);if(!a){const l=new Event(td,id);t.addEventListener(td,u),t.dispatchEvent(l),l.defaultPrevented||(0,n.Y3)((()=>{let n=e.focusStartEl;(0,i.HD)(n)||(bd(n),document.activeElement!==n&&(n="first")),"first"===n&&Sd(md(t),!0),document.activeElement!==o&&"container"!==n||bd(t)}))}}}function f(){const e=(0,Te.SU)(o);if(e){e.removeEventListener(td,u);const t=new CustomEvent(od,{...id,detail:{focusReason:r.value}});e.addEventListener(od,d),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=r.value&&kd()&&!e.contains(document.activeElement)||bd(null!=l?l:document.body),e.removeEventListener(od,d),_d.remove(s)}}return(0,n.bv)((()=>{e.trapped&&h(),(0,n.YP)((()=>e.trapped),(e=>{e?h():f()}))})),(0,n.Jd)((()=>{e.trapped&&f()})),{onKeydown:c}}});function Fd(e,t,o,i,l,a){return(0,n.WI)(e.$slots,"default",{handleKeydown:e.onKeydown})}var Td=On(Id,[["render",Fd],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const Md=(0,n.aZ)({name:"ElPopperContent"}),Ed=(0,n.aZ)({...Md,props:ou,emits:nu,setup(e,{expose:t,emit:o}){const l=e,{focusStartRef:a,trapped:r,onFocusAfterReleased:s,onFocusAfterTrapped:c,onFocusInTrap:u,onFocusoutPrevented:d,onReleaseRequested:p}=Ru(l,o),{attributes:m,arrowRef:h,contentRef:f,styles:v,instanceRef:g,role:b,update:y}=Ku(l),{ariaModal:w,arrowStyle:S,contentAttrs:_,contentClass:k,contentStyle:x,updateZIndex:C}=ed(l,{styles:v,attributes:m,role:b}),O=(0,n.f3)(xl,void 0),L=(0,Te.iH)();let P;(0,n.JJ)(Hr,{arrowStyle:S,arrowRef:h,arrowOffset:L}),O&&(O.addInputId||O.removeInputId)&&(0,n.JJ)(xl,{...O,addInputId:i.dG,removeInputId:i.dG});const U=(e=!0)=>{y(),e&&C()},j=()=>{U(!1),l.visible&&l.focusOnShow?r.value=!0:!1===l.visible&&(r.value=!1)};return(0,n.bv)((()=>{(0,n.YP)((()=>l.triggerTargetEl),((e,t)=>{null==P||P(),P=void 0;const o=(0,Te.SU)(e||f.value),i=(0,Te.SU)(t||f.value);Yn(o)&&(P=(0,n.YP)([b,()=>l.ariaLabel,w,()=>l.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,n)=>{Hl(e[n])?o.removeAttribute(t):o.setAttribute(t,e[n])}))}),{immediate:!0})),i!==o&&Yn(i)&&["role","aria-label","aria-modal","id"].forEach((e=>{i.removeAttribute(e)}))}),{immediate:!0}),(0,n.YP)((()=>l.visible),j,{immediate:!0})})),(0,n.Jd)((()=>{null==P||P(),P=void 0})),t({popperContentRef:f,popperInstanceRef:g,updatePopper:U,contentStyle:x}),(e,t)=>((0,n.wg)(),(0,n.iD)("div",(0,n.dG)({ref_key:"contentRef",ref:f},(0,Te.SU)(_),{style:(0,Te.SU)(x),class:(0,Te.SU)(k),tabindex:"-1",onMouseenter:t[0]||(t[0]=t=>e.$emit("mouseenter",t)),onMouseleave:t[1]||(t[1]=t=>e.$emit("mouseleave",t))}),[(0,n.Wm)((0,Te.SU)(Td),{trapped:(0,Te.SU)(r),"trap-on-focus-in":!0,"focus-trap-el":(0,Te.SU)(f),"focus-start-el":(0,Te.SU)(a),onFocusAfterTrapped:(0,Te.SU)(c),onFocusAfterReleased:(0,Te.SU)(s),onFocusin:(0,Te.SU)(u),onFocusoutPrevented:(0,Te.SU)(d),onReleaseRequested:(0,Te.SU)(p)},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var Nd=On(Ed,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const Dd=(0,n.aZ)({name:"ElTooltipContent",inheritAttrs:!1}),Hd=(0,n.aZ)({...Dd,props:iu,setup(e,{expose:t}){const o=e,{selector:i}=Nu(),a=Fn("tooltip"),r=(0,Te.iH)(null),s=(0,Te.iH)(!1),{controlled:c,id:u,open:d,trigger:p,onClose:m,onOpen:h,onShow:f,onHide:v,onBeforeShow:g,onBeforeHide:b}=(0,n.f3)(Zr,void 0),y=(0,n.Fl)((()=>o.transition||`${a.namespace.value}-fade-in-linear`)),w=(0,n.Fl)((()=>o.persistent));(0,n.Jd)((()=>{s.value=!0}));const S=(0,n.Fl)((()=>!!(0,Te.SU)(w)||(0,Te.SU)(d))),_=(0,n.Fl)((()=>!o.disabled&&(0,Te.SU)(d))),k=(0,n.Fl)((()=>o.appendTo||i.value)),x=(0,n.Fl)((()=>{var e;return null!=(e=o.style)?e:{}})),C=(0,n.Fl)((()=>!(0,Te.SU)(d))),O=()=>{v()},L=()=>{if((0,Te.SU)(c))return!0},P=Su(L,(()=>{o.enterable&&"hover"===(0,Te.SU)(p)&&h()})),U=Su(L,(()=>{"hover"===(0,Te.SU)(p)&&m()})),j=()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.updatePopper)||t.call(e),null==g||g()},I=()=>{null==b||b()},F=()=>{f(),M=Zo((0,n.Fl)((()=>{var e;return null==(e=r.value)?void 0:e.popperContentRef})),(()=>{if((0,Te.SU)(c))return;const e=(0,Te.SU)(p);"hover"!==e&&m()}))},T=()=>{o.virtualTriggering||m()};let M;return(0,n.YP)((()=>(0,Te.SU)(d)),(e=>{e||null==M||M()}),{flush:"post"}),(0,n.YP)((()=>o.content),(()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:r}),(e,t)=>((0,n.wg)(),(0,n.j4)(n.lR,{disabled:!e.teleported,to:(0,Te.SU)(k)},[(0,n.Wm)(l.uT,{name:(0,Te.SU)(y),onAfterLeave:O,onBeforeEnter:j,onAfterEnter:F,onBeforeLeave:I},{default:(0,n.w5)((()=>[(0,Te.SU)(S)?(0,n.wy)(((0,n.wg)(),(0,n.j4)((0,Te.SU)(Nd),(0,n.dG)({key:0,id:(0,Te.SU)(u),ref_key:"contentRef",ref:r},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":(0,Te.SU)(C),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,(0,Te.SU)(x)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:(0,Te.SU)(_),"z-index":e.zIndex,onMouseenter:(0,Te.SU)(P),onMouseleave:(0,Te.SU)(U),onBlur:T,onClose:(0,Te.SU)(m)}),{default:(0,n.w5)((()=>[s.value?(0,n.kq)("v-if",!0):(0,n.WI)(e.$slots,"default",{key:0})])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[l.F8,(0,Te.SU)(_)]]):(0,n.kq)("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}});var Rd=On(Hd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const Bd=(0,n.aZ)({name:"ElPopperArrow",inheritAttrs:!1}),zd=(0,n.aZ)({...Bd,props:mu,setup(e,{expose:t}){const o=e,l=Fn("popper"),{arrowOffset:a,arrowRef:r,arrowStyle:s}=(0,n.f3)(Hr,void 0);return(0,n.YP)((()=>o.arrowOffset),(e=>{a.value=e})),(0,n.Jd)((()=>{r.value=void 0})),t({arrowRef:r}),(e,t)=>((0,n.wg)(),(0,n.iD)("span",{ref_key:"arrowRef",ref:r,class:(0,i.C_)((0,Te.SU)(l).e("arrow")),style:(0,i.j5)((0,Te.SU)(s)),"data-popper-arrow":""},null,6))}});var $d=On(zd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const Ad=["innerHTML"],Vd={key:1},Zd=(0,n.aZ)({name:"ElTooltip"}),Yd=(0,n.aZ)({...Zd,props:gu,emits:bu,setup(e,{expose:t,emit:o}){const l=e;Hu();const a=Fl(),r=(0,Te.iH)(),s=(0,Te.iH)(),c=()=>{var e;const t=(0,Te.SU)(r);t&&(null==(e=t.popperInstanceRef)||e.update())},u=(0,Te.iH)(!1),d=(0,Te.iH)(),{show:p,hide:m,hasUpdateHandler:h}=vu({indicator:u,toggleReason:d}),{onOpen:f,onClose:v}=qr({showAfter:(0,Te.Vh)(l,"showAfter"),hideAfter:(0,Te.Vh)(l,"hideAfter"),autoClose:(0,Te.Vh)(l,"autoClose"),open:p,close:m}),g=(0,n.Fl)((()=>An(l.visible)&&!h.value));(0,n.JJ)(Zr,{controlled:g,id:a,open:(0,Te.OT)(u),trigger:(0,Te.Vh)(l,"trigger"),onOpen:e=>{f(e)},onClose:e=>{v(e)},onToggle:e=>{(0,Te.SU)(u)?v(e):f(e)},onShow:()=>{o("show",d.value)},onHide:()=>{o("hide",d.value)},onBeforeShow:()=>{o("before-show",d.value)},onBeforeHide:()=>{o("before-hide",d.value)},updatePopper:c}),(0,n.YP)((()=>l.disabled),(e=>{e&&u.value&&(u.value=!1)}));const b=e=>{var t,o;const n=null==(o=null==(t=s.value)?void 0:t.contentRef)?void 0:o.popperContentRef,i=(null==e?void 0:e.relatedTarget)||document.activeElement;return n&&n.contains(i)};return(0,n.se)((()=>u.value&&m())),t({popperRef:r,contentRef:s,isFocusInsideContent:b,updatePopper:c,onOpen:f,onClose:v,hide:m}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(Vr),{ref_key:"popperRef",ref:r,role:e.role},{default:(0,n.w5)((()=>[(0,n.Wm)(Mu,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:(0,n.w5)((()=>[e.$slots.default?(0,n.WI)(e.$slots,"default",{key:0}):(0,n.kq)("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),(0,n.Wm)(Rd,{ref_key:"contentRef",ref:s,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"content",{},(()=>[e.rawContent?((0,n.wg)(),(0,n.iD)("span",{key:0,innerHTML:e.content},null,8,Ad)):((0,n.wg)(),(0,n.iD)("span",Vd,(0,i.zw)(e.content),1))])),e.showArrow?((0,n.wg)(),(0,n.j4)((0,Te.SU)($d),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):(0,n.kq)("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});var Wd=On(Yd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const qd=oi(Wd),Kd=xn({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:hl,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Gd={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Jd=(0,n.aZ)({name:"ElTag"}),Xd=(0,n.aZ)({...Jd,props:Kd,emits:Gd,setup(e,{emit:t}){const o=e,a=Ol(),r=Fn("tag"),s=(0,n.Fl)((()=>{const{type:e,hit:t,effect:n,closable:i,round:l}=o;return[r.b(),r.is("closable",i),r.m(e),r.m(a.value),r.m(n),r.is("hit",t),r.is("round",l)]})),c=e=>{t("close",e)},u=e=>{t("click",e)};return(e,t)=>e.disableTransitions?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Te.SU)(s)),style:(0,i.j5)({backgroundColor:e.color}),onClick:u},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(r).e("content"))},[(0,n.WI)(e.$slots,"default")],2),e.closable?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Ai))])),_:1},8,["class","onClick"])):(0,n.kq)("v-if",!0)],6)):((0,n.wg)(),(0,n.j4)(l.uT,{key:1,name:`${(0,Te.SU)(r).namespace.value}-zoom-in-center`,appear:""},{default:(0,n.w5)((()=>[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(s)),style:(0,i.j5)({backgroundColor:e.color}),onClick:u},[(0,n._)("span",{class:(0,i.C_)((0,Te.SU)(r).e("content"))},[(0,n.WI)(e.$slots,"default")],2),e.closable?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0,class:(0,i.C_)((0,Te.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Ai))])),_:1},8,["class","onClick"])):(0,n.kq)("v-if",!0)],6)])),_:3},8,["name"]))}});var Qd=On(Xd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ep=oi(Qd),tp=xn({...Ga,size:fl,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Sn(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:Sn(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:iu.teleported,tagType:{...Kd.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),op={[bl]:e=>!!e||null===e,[yl]:e=>!!e||null===e,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>An(e),expandChange:e=>!!e,removeTag:e=>!!e},np=new Map;let ip;function lp(e,t){let o=[];return Array.isArray(t.arg)?o=t.arg:Yn(t.arg)&&o.push(t.arg),function(n,i){const l=t.instance.popperRef,a=n.target,r=null==i?void 0:i.target,s=!t||!t.instance,c=!a||!r,u=e.contains(a)||e.contains(r),d=e===a,p=o.length&&o.some((e=>null==e?void 0:e.contains(a)))||o.length&&o.includes(r),m=l&&(l.contains(a)||l.contains(r));s||c||u||d||p||m||t.value(n,i)}}To&&(document.addEventListener("mousedown",(e=>ip=e)),document.addEventListener("mouseup",(e=>{for(const t of np.values())for(const{documentHandler:o}of t)o(e,ip)})));const ap={beforeMount(e,t){np.has(e)||np.set(e,[]),np.get(e).push({documentHandler:lp(e,t),bindingFn:t.value})},updated(e,t){np.has(e)||np.set(e,[]);const o=np.get(e),n=o.findIndex((e=>e.bindingFn===t.oldValue)),i={documentHandler:lp(e,t),bindingFn:t.value};n>=0?o.splice(n,1,i):o.push(i)},unmounted(e){np.delete(e)}},rp={key:0},sp=["placeholder","onKeydown"],cp=["onClick"],up="ElCascader",dp=(0,n.aZ)({name:up}),pp=(0,n.aZ)({...dp,props:tp,emits:op,setup(e,{expose:t,emit:o}){const a=e,r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:o}=e;["right","left","bottom","top"].includes(o)||(t.arrow.x=35)},requires:["arrow"]}]},s=(0,n.l1)();let c=0,u=0;const d=Fn("cascader"),p=Fn("input"),{t:m}=Ra(),{form:h,formItem:f}=Tl(),v=(0,Te.iH)(null),g=(0,Te.iH)(null),b=(0,Te.iH)(null),y=(0,Te.iH)(null),w=(0,Te.iH)(null),S=(0,Te.iH)(!1),_=(0,Te.iH)(!1),k=(0,Te.iH)(!1),x=(0,Te.iH)(!1),C=(0,Te.iH)(""),O=(0,Te.iH)(""),L=(0,Te.iH)([]),P=(0,Te.iH)([]),U=(0,Te.iH)([]),j=(0,Te.iH)(!1),I=(0,n.Fl)((()=>s.style)),F=(0,n.Fl)((()=>a.disabled||(null==h?void 0:h.disabled))),T=(0,n.Fl)((()=>a.placeholder||m("el.cascader.placeholder"))),M=(0,n.Fl)((()=>O.value||L.value.length>0||j.value?"":T.value)),E=Ol(),N=(0,n.Fl)((()=>["small"].includes(E.value)?"small":"default")),D=(0,n.Fl)((()=>!!a.props.multiple)),H=(0,n.Fl)((()=>!a.filterable||D.value)),R=(0,n.Fl)((()=>D.value?O.value:C.value)),B=(0,n.Fl)((()=>{var e;return(null==(e=y.value)?void 0:e.checkedNodes)||[]})),z=(0,n.Fl)((()=>!(!a.clearable||F.value||k.value||!_.value)&&!!B.value.length)),$=(0,n.Fl)((()=>{const{showAllLevels:e,separator:t}=a,o=B.value;return o.length?D.value?"":o[0].calcText(e,t):""})),A=(0,n.Fl)({get(){return(0,jo.Z)(a.modelValue)},set(e){o(bl,e),o(yl,e),a.validateEvent&&(null==f||f.validate("change").catch((e=>En(e))))}}),V=(0,n.Fl)((()=>[d.b(),d.m(E.value),d.is("disabled",F.value),s.class])),Z=(0,n.Fl)((()=>[p.e("icon"),"icon-arrow-down",d.is("reverse",S.value)])),Y=(0,n.Fl)((()=>d.is("focus",S.value||x.value))),W=(0,n.Fl)((()=>{var e,t;return null==(t=null==(e=v.value)?void 0:e.popperRef)?void 0:t.contentRef})),q=e=>{var t,i,l;F.value||(e=null!=e?e:!S.value,e!==S.value&&(S.value=e,null==(i=null==(t=g.value)?void 0:t.input)||i.setAttribute("aria-expanded",`${e}`),e?(K(),(0,n.Y3)(null==(l=y.value)?void 0:l.scrollToExpandingNode)):a.filterable&&se(),o("visibleChange",e)))},K=()=>{(0,n.Y3)((()=>{var e;null==(e=v.value)||e.updatePopper()}))},G=()=>{k.value=!1},J=e=>{const{showAllLevels:t,separator:o}=a;return{node:e,key:e.uid,text:e.calcText(t,o),hitState:!1,closable:!F.value&&!e.isDisabled,isCollapseTag:!1}},X=e=>{var t;const n=e.node;n.doCheck(!1),null==(t=y.value)||t.calculateCheckedValue(),o("removeTag",n.valueByOption)},Q=()=>{if(!D.value)return;const e=B.value,t=[],o=[];if(e.forEach((e=>o.push(J(e)))),P.value=o,e.length){e.slice(0,a.maxCollapseTags).forEach((e=>t.push(J(e))));const o=e.slice(a.maxCollapseTags),n=o.length;n&&(a.collapseTags?t.push({key:-1,text:`+ ${n}`,closable:!1,isCollapseTag:!0}):o.forEach((e=>t.push(J(e)))))}L.value=t},ee=()=>{var e,t;const{filterMethod:o,showAllLevels:n,separator:i}=a,l=null==(t=null==(e=y.value)?void 0:e.getFlattedNodes(!a.props.checkStrictly))?void 0:t.filter((e=>!e.isDisabled&&(e.calcText(n,i),o(e,R.value))));D.value&&(L.value.forEach((e=>{e.hitState=!1})),P.value.forEach((e=>{e.hitState=!1}))),k.value=!0,U.value=l,K()},te=()=>{var e;let t;t=k.value&&w.value?w.value.$el.querySelector(`.${d.e("suggestion-item")}`):null==(e=y.value)?void 0:e.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),t&&(t.focus(),!k.value&&t.click())},oe=()=>{var e,t;const o=null==(e=g.value)?void 0:e.input,n=b.value,i=null==(t=w.value)?void 0:t.$el;if(To&&o){if(i){const e=i.querySelector(`.${d.e("suggestion-list")}`);e.style.minWidth=`${o.offsetWidth}px`}if(n){const{offsetHeight:e}=n,t=L.value.length>0?`${Math.max(e+6,c)}px`:`${c}px`;o.style.height=t,K()}}},ne=e=>{var t;return null==(t=y.value)?void 0:t.getCheckedNodes(e)},ie=e=>{K(),o("expandChange",e)},le=e=>{var t;const o=null==(t=e.target)?void 0:t.value;if("compositionend"===e.type)j.value=!1,(0,n.Y3)((()=>fe(o)));else{const e=o[o.length-1]||"";j.value=!Ur(e)}},ae=e=>{if(!j.value)switch(e.code){case sr.enter:q();break;case sr.down:q(!0),(0,n.Y3)(te),e.preventDefault();break;case sr.esc:!0===S.value&&(e.preventDefault(),e.stopPropagation(),q(!1));break;case sr.tab:q(!1);break}},re=()=>{var e;null==(e=y.value)||e.clearCheckedNodes(),!S.value&&a.filterable&&se(),q(!1)},se=()=>{const{value:e}=$;C.value=e,O.value=e},ce=e=>{var t,o;const{checked:n}=e;D.value?null==(t=y.value)||t.handleCheckChange(e,!n,!1):(!n&&(null==(o=y.value)||o.handleCheckChange(e,!0,!1)),q(!1))},ue=e=>{const t=e.target,{code:o}=e;switch(o){case sr.up:case sr.down:{const e=o===sr.up?-1:1;tr(er(t,e,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case sr.enter:t.click();break}},de=()=>{const e=L.value,t=e[e.length-1];u=O.value?0:u+1,!t||!u||a.collapseTags&&e.length>1||(t.hitState?X(t):t.hitState=!0)},pe=e=>{const t=e.target,n=d.e("search-input");t.className===n&&(x.value=!0),o("focus",e)},me=e=>{x.value=!1,o("blur",e)},he=(0,Io.Z)((()=>{const{value:e}=R;if(!e)return;const t=a.beforeFilter(e);(0,i.tI)(t)?t.then(ee).catch((()=>{})):!1!==t?ee():G()}),a.debounce),fe=(e,t)=>{!S.value&&q(!0),(null==t?void 0:t.isComposing)||(e?he():G())},ve=e=>Number.parseFloat(Ko(p.cssVarName("input-height"),e).value)-2;return(0,n.YP)(k,K),(0,n.YP)([B,F],Q),(0,n.YP)(L,(()=>{(0,n.Y3)((()=>oe()))})),(0,n.YP)(E,(async()=>{await(0,n.Y3)();const e=g.value.input;c=ve(e)||c,oe()})),(0,n.YP)($,se,{immediate:!0}),(0,n.bv)((()=>{const e=g.value.input,t=ve(e);c=e.offsetHeight||t,en(e,oe)})),t({getCheckedNodes:ne,cascaderPanelRef:y,togglePopperVisible:q,contentRef:W}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(qd),{ref_key:"tooltipRef",ref:v,visible:S.value,teleported:e.teleported,"popper-class":[(0,Te.SU)(d).e("dropdown"),e.popperClass],"popper-options":r,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${(0,Te.SU)(d).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:G},{default:(0,n.w5)((()=>[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)((0,Te.SU)(V)),style:(0,i.j5)((0,Te.SU)(I)),onClick:t[5]||(t[5]=()=>q(!(0,Te.SU)(H)||void 0)),onKeydown:ae,onMouseenter:t[6]||(t[6]=e=>_.value=!0),onMouseleave:t[7]||(t[7]=e=>_.value=!1)},[(0,n.Wm)((0,Te.SU)(Nr),{ref_key:"input",ref:g,modelValue:C.value,"onUpdate:modelValue":t[1]||(t[1]=e=>C.value=e),placeholder:(0,Te.SU)(M),readonly:(0,Te.SU)(H),disabled:(0,Te.SU)(F),"validate-event":!1,size:(0,Te.SU)(E),class:(0,i.C_)((0,Te.SU)(Y)),tabindex:(0,Te.SU)(D)&&e.filterable&&!(0,Te.SU)(F)?-1:void 0,onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me,onInput:fe},{suffix:(0,n.w5)((()=>[(0,Te.SU)(z)?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:"clear",class:(0,i.C_)([(0,Te.SU)(p).e("icon"),"icon-circle-close"]),onClick:(0,l.iM)(re,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(Di))])),_:1},8,["class","onClick"])):((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:"arrow-down",class:(0,i.C_)((0,Te.SU)(Z)),onClick:t[0]||(t[0]=(0,l.iM)((e=>q()),["stop"]))},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(di))])),_:1},8,["class"]))])),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),(0,Te.SU)(D)?((0,n.wg)(),(0,n.iD)("div",{key:0,ref_key:"tagWrapper",ref:b,class:(0,i.C_)((0,Te.SU)(d).e("tags"))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(L.value,(t=>((0,n.wg)(),(0,n.j4)((0,Te.SU)(ep),{key:t.key,type:e.tagType,size:(0,Te.SU)(N),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>X(t)},{default:(0,n.w5)((()=>[!1===t.isCollapseTag?((0,n.wg)(),(0,n.iD)("span",rp,(0,i.zw)(t.text),1)):((0,n.wg)(),(0,n.j4)((0,Te.SU)(qd),{key:1,disabled:S.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:(0,n.w5)((()=>[(0,n._)("span",null,(0,i.zw)(t.text),1)])),content:(0,n.w5)((()=>[(0,n._)("div",{class:(0,i.C_)((0,Te.SU)(d).e("collapse-tags"))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(P.value.slice(e.maxCollapseTags),((t,o)=>((0,n.wg)(),(0,n.iD)("div",{key:o,class:(0,i.C_)((0,Te.SU)(d).e("collapse-tag"))},[((0,n.wg)(),(0,n.j4)((0,Te.SU)(ep),{key:t.key,class:"in-tooltip",type:e.tagType,size:(0,Te.SU)(N),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>X(t)},{default:(0,n.w5)((()=>[(0,n._)("span",null,(0,i.zw)(t.text),1)])),_:2},1032,["type","size","hit","closable","onClose"]))],2)))),128))],2)])),_:2},1032,["disabled"]))])),_:2},1032,["type","size","hit","closable","onClose"])))),128)),e.filterable&&!(0,Te.SU)(F)?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[2]||(t[2]=e=>O.value=e),type:"text",class:(0,i.C_)((0,Te.SU)(d).e("search-input")),placeholder:(0,Te.SU)($)?"":(0,Te.SU)(T),onInput:t[3]||(t[3]=e=>fe(O.value,e)),onClick:t[4]||(t[4]=(0,l.iM)((e=>q(!0)),["stop"])),onKeydown:(0,l.D2)(de,["delete"]),onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me},null,42,sp)),[[l.nr,O.value]]):(0,n.kq)("v-if",!0)],2)):(0,n.kq)("v-if",!0)],38)),[[(0,Te.SU)(ap),()=>q(!1),(0,Te.SU)(W)]])])),content:(0,n.w5)((()=>[(0,n.wy)((0,n.Wm)((0,Te.SU)(pr),{ref_key:"cascaderPanelRef",ref:y,modelValue:(0,Te.SU)(A),"onUpdate:modelValue":t[8]||(t[8]=e=>(0,Te.dq)(A)?A.value=e:null),options:e.options,props:a.props,border:!1,"render-label":e.$slots.default,onExpandChange:ie,onClose:t[9]||(t[9]=t=>e.$nextTick((()=>q(!1))))},null,8,["modelValue","options","props","render-label"]),[[l.F8,!k.value]]),e.filterable?(0,n.wy)(((0,n.wg)(),(0,n.j4)((0,Te.SU)(ii),{key:0,ref_key:"suggestionPanel",ref:w,tag:"ul",class:(0,i.C_)((0,Te.SU)(d).e("suggestion-panel")),"view-class":(0,Te.SU)(d).e("suggestion-list"),onKeydown:ue},{default:(0,n.w5)((()=>[U.value.length?((0,n.wg)(!0),(0,n.iD)(n.HY,{key:0},(0,n.Ko)(U.value,(e=>((0,n.wg)(),(0,n.iD)("li",{key:e.uid,class:(0,i.C_)([(0,Te.SU)(d).e("suggestion-item"),(0,Te.SU)(d).is("checked",e.checked)]),tabindex:-1,onClick:t=>ce(e)},[(0,n._)("span",null,(0,i.zw)(e.text),1),e.checked?((0,n.wg)(),(0,n.j4)((0,Te.SU)(ml),{key:0},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Te.SU)(ki))])),_:1})):(0,n.kq)("v-if",!0)],10,cp)))),128)):(0,n.WI)(e.$slots,"empty",{key:1},(()=>[(0,n._)("li",{class:(0,i.C_)((0,Te.SU)(d).e("empty-text"))},(0,i.zw)((0,Te.SU)(m)("el.cascader.noMatch")),3)]))])),_:3},8,["class","view-class"])),[[l.F8,k.value]]):(0,n.kq)("v-if",!0)])),_:3},8,["visible","teleported","popper-class","transition"]))}});var mp=On(pp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);mp.install=e=>{e.component(mp.name,mp)};const hp=mp,fp=hp;var vp=(0,n.aZ)({components:{HeaderComponent:Me.Z,ModelPlacement:Pt,setLabel:Wt,ModelPlacementMobile:Lo,RobotAssist:Po.Z,ElCascader:fp},setup(){let e=(0,n.Fl)((()=>[{title:(0,xt.QT)().t("LibraryPage.Moodboard"),code:"Moodboard",icon:"fi fi-rr-grid",showChildren:!1,children:[]},{title:(0,xt.QT)().t("LibraryPage.Prints"),code:"Printboard",icon:"fi fi-rs-objects-column",showChildren:!1,children:[]},{title:(0,xt.QT)().t("LibraryPage.Sketches"),code:"Sketchboard",icon:"fi icon iconfont icon-a-waitao_changkuanwaitao11x",showChildren:!1,children:[]},{title:(0,xt.QT)().t("LibraryPage.Mannequins"),code:"Models",icon:"fi fi-rs-people",showChildren:!1,children:[]}])),t=(0,Te.iH)([]),o=(0,Te.iH)("Moodboard"),i=(0,Te.iH)(""),l=(0,Te.iH)("Outwear"),a=(0,Te.iH)("Meal"),r=[],s=[],c=(0,Te.iH)([]),u=(0,Te.iH)(1),d=(0,Te.iH)(18),p=(0,Te.iH)(20),m=(0,Te.iH)(!1),h=(0,Te.iH)("single"),f=(0,Te.iH)(""),v=(0,Te.iH)(""),g=(0,Te.iH)(0),b=(0,Te.iH)(!1),y=(0,Te.iH)({}),w=(0,St.oR)(),S=(0,Te.iH)("Upload"),_=(0,Te.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),k=(0,Te.iH)(!1),x=(0,Te.iH)(),C=(0,Te.iH)(),O=(0,Te.iH)(),L=(0,Te.iH)([]),P=(0,Te.iH)([]),U=(0,Te.iH)({num:1,optype:!1,name:(0,xt.QT)().t("LibraryPage.model")+"1"}),{t:j}=(0,xt.QT)();const I=(0,Te.iH)([]);let F={selectCode:o,designType:l};(0,n.JJ)("type",F);let T=(0,Te.iH)({labelValue:[],editLabelValue:[]}),M={multiple:!0,checkStrictly:!0,emitPath:!0,children:"childList",value:"id",label:"classificationName"},E=(0,Te.iH)();return{menuList:e,selectImgList:t,selectCode:o,searchPictureName:i,sexList:r,sex:a,disignTypeList:s,designType:l,imgList:c,currentPage:u,pageSize:d,total:p,renameVisivle:m,renameType:h,newPicName:f,uploadUrl:v,currentUploadFileNum:g,isShowMark:b,selectSingleImg:y,store:w,uploadGenerate:S,checkbox:_,inputShow:k,generateCheckbox:x,captionGeneration:C,inputTime:O,generateList:L,selectGenerateList:P,printModel:U,value:T,options:I,t:j,props:M,isTest:E}},data(e){return{userInfo:{},indicator:(0,n.h)(Fe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:e.selectCode,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:""}},async mounted(){let e=(0,yt.ej)("userInfo"),t=(0,yt.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),this.uploadUrl=(0,bt.M$)(),this.getLibraryList(),this.getClass(),this.getSex(),this.token=(0,yt.ej)("token")||""},methods:{getSex(){gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.sex=t[0].value,this.sexList=t,this.getPosition()}}))},async getPosition(){let e;e="Female"==this.sex?"FemalePosition":"MalePosition",await gt.V.axiosGet(gt.V.httpUrls.workspaceenumValues,{params:{enumName:e}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.name};t.push(o)})),this.designType=t[0].value,this.disignTypeList=t}}))},likeFile(e,t){let o="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType:"";if("like"==t){let t={generateDetailId:e.id,level1Type:this.selectCode,level2Type:o,gender:this.sex,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};gt.V.axiosPost(gt.V.httpUrls.generateLike,t).then((t=>{e.like=!0})).catch((e=>{}))}else{let t={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};gt.V.axiosGet(gt.V.httpUrls.generateDislike,{params:t}).then((t=>{e.like=!1})).catch((e=>{}))}},selectMenuItem(e,t){e.children?.length?e.showChildren=!e.showChildren:(e.code!=this.upload.level1Type&&(this.selectCode=e.code,this.currentPage=1,this.total=0,this.searchPictureName="",this.imgList=[],this.sex="Female",this.designType="Outwear",this.selectImgList=[],this.selectSingleImg={},this.getLibraryList(),this.getClass(),this.uploadGenerate="Upload",this.captionGeneration="",this.selectGenerateList=[],this.generateList=[]),this.upload.level1Type=e.code)},async sexChange(){await this.getPosition(),this.getLibraryList()},handleChange(){this.getLibraryList()},fileUploadChange(e){let t=e.file;if("Models"==this.selectCode){let e=new FileReader;if(this.imgList.length+this.currentUploadFileNum>10&&this.isTest)return void Vt.ZP.info(this.t("isTest.image"));e.onload=e=>{let o;o="object"===typeof e.target.result?window.URL.createObjectURL(new Blob([e.target.result])):e.target.result,this.placementClick({url:o,file:t.originFileObj})},e.readAsArrayBuffer(t.originFileObj)}},changePage(e,t){this.currentPage=e,this.pageSize=t,this.getLibraryList()},selectImgItem(e){if(-1===this.selectImgList.indexOf(e.id))this.selectImgList.push(e.id);else{let t=this.selectImgList.indexOf(e.id);this.selectImgList.splice(t,1)}},selectAllImg(){this.selectImgList.length==this.imgList.length?this.selectImgList=[]:this.selectImgList=this.imgList.map((e=>e.id))},closeRenameModal(){this.renameVisivle=!1,this.newPicName="",this.value.editLabelValue=[],this.value.labelValue=[]},confrimRename(){let e={libraryIds:"single"===this.renameType?[this.selectSingleImg.id]:this.selectImgList,libraryName:this.newPicName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},t=(("Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode)&&this.designType,[]);this.value.editLabelValue.forEach((e=>{t.push(e[e.length-1])}));let o={classificationIdList:t,classificationName:"",createTime:"",id:0,libraryIdList:"single"===this.renameType?[this.selectSingleImg.id]:this.selectImgList,type:this.selectCode,updateTime:"",userId:0};gt.V.axiosPost(gt.V.httpUrls.batchUpdateLibraryName,e).then((e=>{"batch"===this.renameType&&(this.selectImgList=[]),gt.V.axiosPost(gt.V.httpUrls.relationLibrary,o).then((e=>{this.getLibraryList(),this.closeRenameModal()})).catch((e=>{}))})).catch((e=>{}))},showRenameModal(e,t){if(this.newPicName="","batch"==t&&!this.selectImgList.length)return this.value.labelValue=[],void(this.newPicName="");let o={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:0,id:0,isDeleted:0,libraryIdList:[e.id],parentId:0,type:"",updateTime:"",userId:0};"single"===t&&(this.selectSingleImg=e,this.newPicName=e.name,gt.V.axiosPost(gt.V.httpUrls.getRelClassificationIdList,o).then((e=>{this.value.editLabelValue=e})).catch((e=>{}))),this.renameType=t,this.renameVisivle=!0},upLoad(){},uploadGenerateOpen(e){"Generate"==this.uploadGenerate&&"Generate"!=e&&this.getLibraryList(),this.uploadGenerate=e},deleteSinglePic(e,t){let o=this;_t.Z.confirm({title:this.t("LibraryPage.jsContent1"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){o.confirmDeletePic(e,t)}})},deleteBatchPic(){if(!this.selectImgList.length)return;let e=this;_t.Z.confirm({title:this.t("LibraryPage.jsContent2"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",onOk(){e.confirmDeletePic("",0)}})},confirmDeletePic(e,t){let o=e?[e.id]:this.selectImgList,i={libraryIds:o};gt.V.axiosPost(gt.V.httpUrls.batchDeleteLibrary,i).then((o=>{e&&e.id?this.imgList.splice(t,1):(this.selectImgList=[],this.getLibraryList())})).catch((o=>{if("Models"==e.level1Type&&1===o.errCode){let i=this;_t.Z.confirm({title:o.errMsg,icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.deleteModelConfirm=1,i.confirmDeletePic(e,t)},onCancel(){}})}}))},beforeUpload(e,t){const o="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;o||Vt.ZP.info(this.t("LibraryPage.jsContent3"));const n=e.size/1024/1024<2;if(n||Vt.ZP.info(this.t("LibraryPage.jsContent4")),!o||!n)return o&&n||Uo.Z.LIST_IGNORE;this.currentUploadFileNum=t.length},customRequest(e){if("Models"==this.selectCode)return;if(this.imgList.length+this.currentUploadFileNum>10&&this.isTest)return void Vt.ZP.info(this.t("isTest.image"));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType:"",o={file:e.file,level1Type:this.selectCode,level2Type:t,sex:"Sketchboard"==this.selectCode?this.sex:"",modelType:"",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,o,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{e.checkMd5?(this.currentUploadFileNum--,this.currentUploadFileNum||this.getLibraryList()):this.affirmCstomRequest(o)})).catch((e=>{this.currentUploadFileNum--,this.currentUploadFileNum||this.getLibraryList()}))},affirmCstomRequest(e){let t=this;_t.Z.confirm({title:this.t("LibraryPage.jsContent5"),icon:(0,n.Wm)(kt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.checkMd5=0,gt.V.axiosPost(gt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()})).catch((e=>{t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()}))},onCancel(){t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()}})},getLibraryList(){let e=[];this.value.labelValue.forEach((t=>{e.push(t[t.length-1])}));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType:"",o={classificationIdList:e,level1Type:this.selectCode,level2Type:t,page:this.currentPage,modelSex:this.sex?this.sex:"",pictureName:this.searchPictureName,size:this.pageSize};this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.queryLibraryPage,o).then((e=>{this.imgList=e.content,this.total=e.total,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1}))},editPlacementClick(e){let t={...e.libraryModelPoint,url:e.url};this.placementClick(t)},placementClick(e){let t=(0,bt.S0)()?this.$refs.ModelPlacementMobile:this.$refs.ModelPlacement;t.showPlacementModal(e)},setKeyword(e){this.checkbox.forEach((e=>{e.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[e].type=!0,this.checkbox[1].type&&this.selectGenerateList.forEach((e=>{e.checked=!1}))}))},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},generateFileUploadChange(e){let t=e.file;if("done"===t.status){let e=JSON.parse(t.xhr.response);t.id=e.data.id,t.imgUrl=e.data.url,t.resData=e.data,t.type_="upload"}else if("error"===t.status){let e=-1;this.selectGenerateList.forEach(((o,n)=>{t.uid===o.uid&&(e=n)})),e>-1&&this.selectGenerateList.splice(e,1),Vt.ZP.warning(t.name+this.t("LibraryPage.jsContent8"))}},deleteFile(e){this.selectGenerateList.splice(e,1)},setSketchboardItem(e){this.checkbox[1].type||(e.checked?e.checked=!1:(this.selectGenerateList.forEach((e=>{e.checked&&(e.checked=!1)})),e.checked=!0))},PrintModel(){this.printModel.optype||document.addEventListener("click",this.removePrintModel),this.printModel.optype=!this.printModel.optype},removePrintModel(){this.printModel.optype=!1,document.removeEventListener("click",this.removePrintModel)},setprintModel(e){this.printModel={num:e,optype:!1,name:this.t("LibraryPage.model")+e}},getgenerate(){if(this.isTest)return void Vt.ZP.info(this.t("isTest.available"));let e=this.checkbox.filter((e=>e.type))[0].name,t=this.selectGenerateList.filter((e=>e.checked))[0],o={generateType:e,designType:"",collectionElementId:t?.id,level1Type:this.selectCode,level2Type:"Sketchboard"==this.selectCode?this.designType:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:"Printboard"==this.selectCode?this.printModel.num:1,gender:"Sketchboard"==this.selectCode?this.sex:""};if("image"==e||"text-image"==e){if(!t?.id)return void Vt.ZP.warning(this.t("LibraryPage.jsContent9"))}else if("text"==e){if(o.collectionElementId="",o.level2Type="",!this.captionGeneration)return void Vt.ZP.info(this.t("LibraryPage.jsContent7"));{let e=this.captionGeneration.split(/\s+/).length;if(e>75)return void Vt.ZP.warning(this.t("LibraryPage.jsContent6"))}}this.isShowMark=!0,gt.V.axiosPost(gt.V.httpUrls.sketchAndPrintGenerate,o).then((e=>{if(e){let t;e.generatedCollectionItems.forEach(((e,o)=>{t={id:e.generateItemId,imgUrl:e.generateItemUrl,like:e.isLiked},this.generateList.push(t)})),this.isShowMark=!1}})).catch((e=>{this.isShowMark=!1}))},dropdownVisibleChange(){(0,n.Y3)().then((()=>{let e=document.getElementsByClassName("libraryPageCascader")[0],t=e;if(e.children.length>3);else{let e=document.createElement("span");e.classList.add("started_btn","cascader_btn1");let o=document.createElement("span");o.classList.add("started_btn","cascader_btn2");let n=document.createElement("div");n.classList.add("cascader_btn_max"),e.textContent="edit",e.addEventListener("click",this.removeLabel,!1),n.appendChild(e),t?.insertAdjacentElement("afterbegin",n)}}))},removeLabel(){let e=this.$refs.setLabel,t=this.$refs.cascader;t.togglePopperVisible();let o=new Event("click",{bubbles:!0,cancelable:!0});document.dispatchEvent(o),e.init("add",this.options)},labelSearch(){(0,n.Y3)().then((()=>{let e=document.getElementsByClassName("editLabel")[0];e.addEventListener("click",(e=>{e.stopPropagation()}))}))},getClass(){("Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode)&&this.designType;let e={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.selectCode,updateTime:"",userId:""};gt.V.axiosPost(gt.V.httpUrls.queryClassification,e).then((e=>{this.options=e,e.forEach(((e,t)=>{this.options[t].value=e.id,this.options[t].label=e.classificationName,e.childList.forEach(((e,o)=>{this.options[t].childList[o].value=e.id,this.options[t].childList[o].label=e.classificationName}))}))})).catch((e=>{}))}}});const gp=(0,Ot.Z)(vp,[["render",Ie]]);var bp=gp}}]); \ No newline at end of file diff --git a/dist/js/app.1c8acb5a.js b/dist/js/app.bac71923.js similarity index 97% rename from dist/js/app.1c8acb5a.js rename to dist/js/app.bac71923.js index fdbcf904..d0a75358 100644 --- a/dist/js/app.1c8acb5a.js +++ b/dist/js/app.bac71923.js @@ -1 +1 @@ -(function(){var e={5318:function(e,t,n){"use strict";var o=n(9963),i=n(6252);function a(e,t){const n=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(n)}var l=n(3744);const r={},s=(0,l.Z)(r,[["render",a]]);var c=s,m=n(9913),u=n(3907),d=n(1446);const h={state:{moodboard:[],disposeMoodboard:[],moodboardFiles:[],moodboardGenerateFiles:[],moodboardMaterialFiles:[],sketchboard:[],sketchboardFiles:[],sketchGenerateFiles:[],sketchMaterialFiles:[],printboard:[],printboardFiles:[],printGenerateFiles:[],printMaterialFiles:[],colorBoards:[],marketingSketchFiles:[],allBoardData:{},moodTemplateId:""},mutations:{setMoodboardFile(e,t){e.moodboardFiles=t,e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles]},setDisposeMoodboard(e,t){e.disposeMoodboard=[t]},setMoodboardGenerateFiles(e,t){e.moodboardGenerateFiles=t,e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles]},setMoodboardMaterialFiles(e,t){e.moodboardMaterialFiles=t,e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles]},addGenerateMaterialFils(e,t){let n,o;if("generate"==t.type_.type1?(t.resData.designType="Generate","Moodboard"==t.type_.type2?n=e.moodboardGenerateFiles:"Sketchboard"==t.type_.type2?n=e.sketchGenerateFiles:"Printboard"==t.type_.type2&&(n=e.printGenerateFiles)):(t.resData.designType="Library","Moodboard"==t.type_.type2?n=e.moodboardMaterialFiles:"Sketchboard"==t.type_.type2?n=e.sketchMaterialFiles:"Printboard"==t.type_.type2&&(n=e.printMaterialFiles)),o="Moodboard"==t.type_.type2?e.moodboard:"Sketchboard"==t.type_.type2?e.sketchboard:e.printboard,0==n.length)o.length>=8?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t));else{let e=!0;for(let o=0;o=8?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t)):(t.checked=!1,n=n.filter((e=>e.id!=t.id)))}"generate"==t.type_.type1?"Moodboard"==t.type_.type2?e.moodboardGenerateFiles=n:"Sketchboard"==t.type_.type2?e.sketchGenerateFiles=n:"Printboard"==t.type_.type2&&(e.printGenerateFiles=n):"Moodboard"==t.type_.type2?e.moodboardMaterialFiles=n:"Sketchboard"==t.type_.type2?e.sketchMaterialFiles=n:"Printboard"==t.type_.type2&&(e.printMaterialFiles=n),e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles],e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles],e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setSketchboardFile(e,t){e.sketchboardFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardGenerateFiles(e,t){e.sketchGenerateFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardMaterialFiles(e,t){e.sketchMaterialFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setPrintboardFile(e,t){e.printboardFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardGenerateFiles(e,t){e.printGenerateFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardMaterialFiles(e,t){e.printMaterialFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setColorboardList(e,t){e.colorBoards=t},setMarketingSketchFile(e,t){e.marketingSketchFiles=t},setAllBoardData(e){e.allBoardData={moodboardFiles:e.moodboard,disposeMoodboard:e.disposeMoodboard,printboardFiles:e.printboard,colorBoards:e.colorBoards,sketchboardFiles:e.sketchboard,marketingSketchFiles:e.marketingSketchFiles,moodTemplateId:e.moodTemplateId}},setAllBoardDataChoose(e,t){e.allBoardData=t},clearAllData(e){e.moodboard=[],e.moodboardFiles=[],e.moodboardGenerateFiles=[],e.moodboardMaterialFiles=[],e.sketchboard=[],e.sketchboardFiles=[],e.sketchGenerateFiles=[],e.sketchMaterialFiles=[],e.printboard=[],e.printboardFiles=[],e.printGenerateFiles=[],e.printMaterialFiles=[],e.colorBoards=[],e.marketingSketchFiles=[],e.moodTemplateId="",e.disposeMoodboard=[]},clearAllId(e){e.moodboard.forEach((e=>{delete e.id_})),e.sketchboard.forEach((e=>{delete e.id_})),e.printboard.forEach((e=>{delete e.id_}))},setMoodTemplateId(e,t){e.moodTemplateId=t},clearMoodTemplateId(e){e.disposeMoodboard=[]}},actions:{}};var C=h;const p={state:{designItemDetail:{},designPreviewData:{}},mutations:{setDesignItemDetail(e,t){e.designItemDetail=t},setDesignItemColthes(e,t){e.designItemDetail.clothes[t.index]=t.clothes},setDesignItemOthers(e,t){e.designItemDetail.others[t.index]=t.others},setDesignPreviewData(e,t){e.designPreviewData=t}},actions:{}};var g=p;const b={state:{designCollectionList:[],likeDesignCollectionList:[],userGroupId:"",designCollectionId:"",templateId:"",templateImgUrl:"",designId:""},mutations:{setDesignCollectionList(e,t){e.designCollectionList=t},setLikeDesignCollectionList(e,t){e.likeDesignCollectionList=t},setSingleDesignCollectionList(e,t){e.designCollectionList[t.index]=t.design},setSingleLikeDesignCollectionList(e,t){e.likeDesignCollectionList[t.index]=t.design},addDesignCollectionList(e,t){e.designCollectionList.push(t)},addLikeDesignCollectionList(e,t){e.likeDesignCollectionList.push(t)},deleteDesignCollectionList(e,t){e.designCollectionList.splice(t,1)},deleteLikeDesignCollectionList(e,t){e.likeDesignCollectionList.splice(t,1)},setUserGroupId(e,t){e.userGroupId=t},deleteUserGroupId(e){e.userGroupId=""},setDesignCollectionId(e,t){e.designCollectionId=t},deleteDesignCollectionId(e,t){e.designCollectionId=""},setDesignId(e,t){e.designId=t},deleteDesignId(e){e.designId=""},clearAllCollection(e){e.designCollectionList=[],e.likeDesignCollectionList=[],e.designCollectionId=""},setTemplateData(e,t){e.templateId=t.id,e.templateImgUrl=t.url},clearTemplateData(e){e.templateId="",e.templateImgUrl=""}},actions:{}};var j=b;const v={state:{clothingType:[]},mutations:{res_clothingType(e,t){e.clothingType=t}},actions:{get_clothingType(e){var t=[{id:11,name:"nv"},{id:22,name:"nan"}];e.commit("res_clothingType",t)}}};var M=v;const y={state:{workspace:{}},mutations:{setWorkspace(e,t){e.workspace=t}},actions:{}};var S=y,f=(0,u.MT)({state:{},getters:{},mutations:{},actions:{},modules:{UploadFilesModule:C,DesignDetailModule:g,HomeStoreModule:j,UserHabit:M,Workspace:S}});n(6791);let P=(e,t,n)=>{var o,i=document,a=window,l=i.documentElement,r=document.createElement("style");function s(){var n=l.getBoundingClientRect().width;t=t||1920,n>t&&(n=t),n>t&&(n=t);var o=10*n/e;r.innerHTML="html{font-size:"+o+"px;}"}if(e=e||1920,t=t||2560,n=n||1440,l.firstElementChild)l.firstElementChild.appendChild(r);else{var c=i.createElement("div");c.appendChild(r),i.write(c.innerHTML),c=null}s(),a.addEventListener("resize",(function(){clearTimeout(o),o=setTimeout(s,300)}),!1),a.addEventListener("pageshow",(function(e){e.persisted&&(clearTimeout(o),o=setTimeout(s,300))}),!1),"complete"===i.readyState?i.body.style.fontSize="16px":i.addEventListener("DOMContentLoaded",(function(e){i.body.style.fontSize="16px"}),!1)};var D=P,L=(n(2467),n(6732)),z=n(7751),T=n(8552),x={Header:{hello:"hello",HOME:"HOME",LIBRARY:"LIBRARY",HISTORY:"HISTORY",bindEmail:"bind email",logOff:"log off",language:"language",skip:"skip",emailContent:"you have binded email",Email:"Email",NextStep:"Next step",verification:"Enter verification code",SentTo:"Sent to",Resend:"Resend",jsContent1:"The email format is incorrect",jsContent2:"Succeeded in binding the mailbox.",jsContent3:"You have not performed any operation for a long time. You must be active;otherwise, you will log out in {numTime} S"},Habit:{Workspace:"Workspace",WorkspaceSetting:"Workspace Setting",settingWorkspace:"adjust your workspace setting",Overall:"Overall",Single:"Single",System:"System",Designer:"Designer",Mannequin:"Mannequin",Current:"Current",User:"User",jsContent1:"Whether to delete the workspace?",jsContent2:"Please enter a workbench name"},RobotAssist:{inputContent1:"write a message~",jsContent1:"Please enter content"},HomeView:{GetStarted:"Get Started",Start:"Start",Edit:"Edit",Design:"Design",Redesign:"Redesign",GeneratedDesign:"Generated Design",SelectedDesign:"Selected Design",Export:"Export",moodboard:"moodboard",printboard:"printboard",colorboard:"colorboard",sketchboard:"sketchboard",mannequins:"mannequins",jsContent1:"You must choose one or more colors for further process.",jsContent2:"You must choose one or more colors for further process.",jsContent3:"Failed to export the file"},LibraryPage:{Upload:"Upload",Generate:"Generate",Delete:"Delete",Rename:"Rename",inputContent1:"Search by your style code",all:"all",ImageOnly:"Image Only",TextOnly:"Text Only",TextImage:"Text-Image",inputContent2:"Prompt input",maximumLength:"The entered content exceeds the maximum length.",Model1:"Model1",Model2:"Model2",inputContent3:"Prompt input",Cancel:"Cancel",Sure:"Sure",Moodboard:"Moodboard",Prints:"Prints",Sketches:"Sketches",Mannequins:"Mannequins",model:"model",jsContent1:"Are you sure to delete the picture?",jsContent2:"Are you sure to delete the picture?",jsContent3:"You can only upload Image file!",jsContent4:"Image must smaller than 2MB!",jsContent5:"This picture has been uploaded whether to continue uploading?",jsContent6:"The entered content exceeds the maximum length.",jsContent7:"Please enter content",jsContent8:"upload failed",jsContent9:"Please enter content"},HistoryPage:{History:"History",StartDate:"Start Date",EndDate:"End Date",inputContent1:"Search by collection name",Detail:"Detail",Rename:"Rename",Retrieve:"Retrieve",Delete:"Delete",inputContent2:"Enter a new name",Submit:"Submit",CollectionsName:"Collections Name",UptateTime:"Uptate Time",SketchCounts:"Sketch Counts",Operations:"Operations",jsContent1:"Deleted successfully",jsContent2:"Do you really want to delete this collection? ",jsContent3:"Change successfully"},ModelPlacement:{Registration:"Registration",Submit:"Submit",Preview:"Preview",Back:"Back",Restore:"Restore",System:"System",Library:"Library",Point:"Point",RemovePoint:"Remove Point",mannequinHint:"Please change the pure white inside the mannequin for another color to enhance your experience",SHOULDER:"SHOULDER",WAISTBAND:"WAISTBAND",HAND:"HAND",jsContent1:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?",jsContent2:"This picture has been uploaded whether to continue uploading?"},ModelPlacementMobile:{Registration:"Registration",Submit:"Submit",Preview:"Preview",Back:"Back",Restore:"Restore",System:"System",Library:"Library",Point:"Point",RemovePoint:"Remove Point",mannequinHint:"Please change the pure white inside the mannequin for another color to enhance your experience",SHOULDER:"SHOULDER",WAISTBAND:"WAISTBAND",HAND:"HAND",jsContent1:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?",jsContent2:"This picture has been uploaded whether to continue uploading?"},Upload:{Delete:"Delete",Maximum2M:"Maximum 8 images can be uploaded, Maximum 2M per image",jsContent1:"You can only upload Image file!",jsContent2:"Image must smaller than 2MB!",jsContent3:"upload failed"},SketchboardUpload:{Upload:"Upload",Library:"Library",Generate:"Generate",PIN:"PIN",Maximum:"Maximum 8 images can be uploaded, Maximum 2M per image",Thumbnail:"Thumbnail preview of selected sketchboard",inputContent1:"Caption generation",maximumLength:"The entered content exceeds the maximum length.",jsContent1:"upload failed",jsContent2:"You can only upload Image file!",jsContent3:"Image must smaller than 2MB!",jsContent4:"Maximum number of allowable file uploads has been exceeded",jsContent5:"Please select a picture",jsContent6:"The entered content exceeds the maximum length.",jsContent7:"Please enter content"},PrintboardUpload:{Upload:"Upload",Library:"Library",Generate:"Generate",PIN:"PIN",Maximum:"Maximum 8 images can be uploaded, Maximum 2M per image",Thumbnail:"Thumbnail preview of selected printboard",inputContent1:"Caption generation",maximumLength:"The entered content exceeds the maximum length.",jsContent1:"You can only upload Image file!",jsContent2:"Image must smaller than 2MB!",jsContent3:"Maximum number of allowable file uploads has been exceeded",jsContent4:"Please select a picture",jsContent5:"The entered content exceeds the maximum length.",jsContent6:"Please enter content"},ColorboardUpload:{Thumbnail:"Thumbnail preview of selected colorboard",Clear:"Clear",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Upload Image",ColorCode:"Color Code",ExtractColor:"Extract Color",jsContent1:"Your browser does not support it",jsContent2:"Can't find the TCX color",jsContent3:"You can only upload Image file!",jsContent4:"Image must smaller than 2MB!",jsContent5:"Please enter the correct TCX value"},MoodboardUpload:{Upload:"Upload",Library:"Library",Generate:"Generate",Delete:"Delete",Maximum:"Maximum 8 images can be uploaded, Maximum 2M per image",Thumbnail:"Thumbnail preview of selected moodboard",layout:"layout",jsContent1:"You can select up to 8 images",jsContent2:"upload failed",jsContent3:"You can only upload Image file!",jsContent4:"Image must smaller than 2MB!",jsContent5:"Please click Layout to sort randomly"},Cropper:{Cutpicture:"Cut picture",Finish:"Finish",Cancel:"Cancel",CropPreview:"Crop Preview"},Material:{inputContent1:"Please input",PIN:"PIN"},MarketingSketchUpload:{Upload:"Upload",MyLibrary:"My Library",maximumLength:"Maximum 15 images can be uploaded, Maximum 2M per image",jsContent1:"upload failed",jsContent2:"You can only upload Image file!",jsContent3:"Image must smaller than 2MB!",jsContent5:"Maximum number of allowable file uploads has been exceeded"},layout:{MoodBoardDesign:"MoodBoard Design",LayerOptions:"Layer Options",Submit:"Submit"},Generate:{ImageOnly:"Image Only",TextOnly:"Text Only",TextImage:"Text-Image",Model1:"Model1",Model2:"Model2",inputContent1:"Prompt input",Generate:"Generate",maximumLength:"The entered content exceeds the maximum length.",Model:"Model",jsContent1:"You can only upload Image file!",jsContent2:"Image must smaller than 2MB!",jsContent3:"Please enter content",jsContent4:"The entered content exceeds the maximum length.",jsContent5:"Please enter content",jsContent6:"You can select up to 8 images",jsContent7:"upload failed"},collectionModal:{Moodboard:"Moodboard",Printboard:"Printboard",Colorboard:"Colorboard",Sketchboard:"Sketchboard",MoodCollection:"select moodboard for your collection",PrinCollection:"select printboard for your collection",ColorCollection:"select colors for your collection",SketchCollection:"select sketchboard for your collection",jsContent1:"You need to design first and then move on to the next step.",jsContent2:"The uploaded files will not be saved, being sure to continue? ",jsContent3:"You must choose one or more colors for further process."},DesignDetail:{Details:"Details",EditDetails:"Edit the details of your design",Submit:"Submit",CurrentApparel:"Current Apparel",CurrentPrint:"Current Print",CurrentColor:"Current Color"},DesignDetailAlter:{Upload:"Upload",Library:"Library",inputContent1:"Please input",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Upload Image",Delete:"Delete",ColorCode:"Color Code",jsContent1:"Your browser does not support it",jsContent2:"You can select up to 8 images",jsContent3:"upload failed",jsContent4:"You can only upload Image file!",jsContent5:"Image must smaller than 5MB!",jsContent6:"Can't find the TCX color"},DesignDetailEnd:{NewApparel:"New Apparel",NewPrint:"New Print",Placement:"Placement",Overall:"Overall",Single:"Single",NewColor:"New Color",preview:"preview",Layout:"Layout",jsContent1:"Please select print"},DesignPrintOperation:{Placement:"Placement",Overall:"Overall",Single:"Single",Random:"Random",inputContent:"Please input",preview:"preview",jsContent1:"The above changes are not saved, being sure to continue? "},uploadFile:{jsContent1:"You can select up to 8 images"},isTest:{available:"This feature is not available to trial users",src:"This function is not open to trial users, if you need to subscribe, please click ->",userName:"Trial User",loginIsTest:"You are a trial user, Probation period until{date}. For the security of users' data, we do not save any personal data uploaded by trial users, and will erase personal data after each logout. if you need to subscribe, please click ->",image:"Because you are a trial user, you can only upload 10 images"}},B={Header:{hello:"你好",HOME:"首页",LIBRARY:"收藏",HISTORY:"历史",bindEmail:"绑定邮箱",logOff:"退出登录",language:"语言",skip:"跳过",emailContent:"你绑定了的邮箱",Email:"邮箱",NextStep:"下一步",verification:"输入验证码",SentTo:"发送",Resend:"重发",jsContent1:"邮箱格式不正确",jsContent2:"绑定邮箱成功",jsContent3:"已经长时间未操作,您必须活跃起来,否则将会在{numTime} S 后退出登录"},Habit:{Workspace:"工作空间",WorkspaceSetting:"设置工作空间",settingWorkspace:"调整您的工作空间",Overall:"整体",Single:"单件",System:"系统",Designer:"设计师",Mannequin:"模特",Current:"当前",User:"用户",jsContent1:"是否删除指定工作空间",jsContent2:"请输入当前工作空间的名字"},RobotAssist:{inputContent1:"问我什么都行~",jsContent1:"请输入生成内容~"},HomeView:{GetStarted:"开始设计",Start:"重新开始",Edit:"编辑",Design:"设计",Redesign:"重新设计",GeneratedDesign:"生成的设计",SelectedDesign:"喜欢的设计",Export:"导出",moodboard:"情绪板",printboard:"印刷板",colorboard:"调色板",sketchboard:"素描板",mannequins:"人体模型",jsContent1:"您必须选择一种或多种颜色进行下一步。",jsContent2:"您必须选择一种或多种颜色进行下一步。",jsContent3:"导出文件失败。"},LibraryPage:{Upload:"上传",Generate:"生成",Delete:"删除",Rename:"重命名",inputContent1:"输入名字进行搜索",all:"全选",ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",inputContent2:"输入生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",Model1:"模型1",Model2:"模型2",inputContent3:"输入生成图片的标题",Cancel:"取消",Sure:"确定",Moodboard:"情绪板",Prints:"印花",Sketches:"服装",Mannequins:"模特",model:"模型",jsContent1:"你确定要删除选中图片吗?",jsContent2:"你确定要删除选中图片吗?",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~",jsContent8:"上传失败",jsContent9:"请输入内容~"},HistoryPage:{History:"历史",StartDate:"开始日期",EndDate:"结束日期",inputContent1:"输入名字进行搜索",Detail:"细节",Rename:"重命名",Retrieve:"选择",Delete:"删除",inputContent2:"请输入新名称",Submit:"保存",CollectionsName:"名字",UptateTime:"修改时间",SketchCounts:"草图数量",Operations:"Operations",jsContent1:"删除成功",jsContent2:"您确定要删除这个收藏吗?",jsContent3:"修改成功",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},ModelPlacement:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",System:"系统",Library:"收藏",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},ModelPlacementMobile:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},Upload:{Delete:"删除",Maximum2M:"您最多可以上传10张照片,每张照片不能超过2MB",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"上传失败"},SketchboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的服装缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent4:"超过允许上传的最大图片数量",jsContent5:"请选择一张图片",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},PrintboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的印花缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"超过允许上传的最大图片数量",jsContent4:"请选择一张图片",jsContent5:"输入的内容超过允许输入的最大长度",jsContent6:"请输入内容~"},ColorboardUpload:{Thumbnail:"选择的颜色缩略图",Clear:"清除",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",ColorCode:"颜色代码",ExtractColor:"提取颜色",jsContent1:"您的浏览器不支持",jsContent2:"找不到这个TCX的颜色",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请输入正确的TCX值"},MoodboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",Delete:"删除",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的情绪板缩略图",layout:"布局",jsContent1:"您最多可以选择8张图片",jsContent2:"上传失败",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请点击布局进行随机排序"},Cropper:{Cutpicture:"切图",Finish:"完成",Cancel:"取消",CropPreview:"缩略图"},Material:{inputContent1:"输入名字进行搜索",PIN:"PIN"},MarketingSketchUpload:{Upload:"上传",MyLibrary:"我的收藏",maximumLength:"最多可以上传15张照片,每张照片不能超过2MB",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent5:"超过允许上传的最大图片数量"},layout:{MoodBoardDesign:"设计情绪板",LayerOptions:"图层选项",Submit:"保存"},Generate:{ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",Model1:"模型1",Model2:"模型2",inputContent1:"输入生成图片的标题",Generate:"生成",maximumLength:"输入的内容超过允许输入的最大长度",Model:"模型",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"请输入内容~",jsContent4:"输入的内容超过允许输入的最大长度",jsContent5:"请输入内容~",jsContent6:"您最多可以选择8张图片",jsContent7:"上传失败"},collectionModal:{Moodboard:"情绪板",Printboard:"印花板",Colorboard:"颜色板",Sketchboard:"服装板块",MoodCollection:"选择需要收藏的情绪板",PrinCollection:"选择需要收藏的印花板",ColorCollection:"选择需要收藏的颜色板",SketchCollection:"选择需要收藏的服装板",jsContent1:"您必须选择图片然后点击布局.",jsContent2:"上传的文件不会保存,是否继续? ",jsContent3:"您必须选择一种或多种颜色进行下一步。"},DesignDetail:{Details:"详情",EditDetails:"编辑设计的细节",Submit:"保存",CurrentApparel:"当前服装",CurrentPrint:"当前印花",CurrentColor:"当前颜色"},DesignDetailAlter:{Upload:"上传",Library:"收藏",inputContent1:"输入名字进行搜索",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",Delete:"删除",ColorCode:"颜色代码",jsContent1:"您的浏览器不支持",jsContent2:"您最多可以选择8张图片",jsContent3:"上传失败",jsContent4:"您只能上传图片文件!",jsContent5:"Image must smaller than 5MB!",jsContent6:"找不到这个TCX的颜色"},DesignDetailEnd:{NewApparel:"选择的服装",NewPrint:"选择的印花",Placement:"模式",Overall:"整体",Single:"单个",NewColor:"选择的颜色",preview:"预览",Layout:"布局",jsContent1:"请选择印个印花"},DesignPrintOperation:{Placement:"调整位置",Overall:"整体",Single:"单个",Random:"随机",inputContent:"输入名字进行搜索",preview:"预览",jsContent1:"以上操作没有保存,是否继续? "},uploadFile:{jsContent1:"您最多可以选择8张图片哦"}},H={Header:{hello:"안녕하세요",HOME:"집",LIBRARY:"도서관",HISTORY:"역사",bindEmail:"이메일 바인딩",logOff:"로그 오프",language:"언어",skip:"건너뛰다",emailContent:"당신은 이메일을 바인딩했습니다",Email:"이메일",NextStep:"다음 단계",verification:"인증코드를 입력하세요",SentTo:"전송",Resend:"재전송",jsContent1:"이메일 형식이 올바르지 않습니다.",jsContent2:"메일함 바인딩에 성공했습니다.",jsContent3:"오랫동안 어떤 작업도 수행하지 않았습니다. 활성 상태여야 합니다. 그렇지 않으면 {numTime}초 후에 로그아웃됩니다."},Habit:{Workspace:"작업공간",WorkspaceSetting:"작업공간 설정",settingWorkspace:"작업 공간 설정을 조정하세요",Overall:"전반적인",Single:"하나의",System:"체계",Designer:"디자이너",Mannequin:"마네킹",Current:"현재의",User:"사용자",jsContent1:"작업공간 삭제 여부?",jsContent2:"작업대 이름을 입력하세요."},RobotAssist:{inputContent1:"메시지를 쓰다~",jsContent1:"내용을 입력해주세요"},HomeView:{GetStarted:"시작하다",Start:"시작",Edit:"편집하다",Design:"설계",Redesign:"디자인재설계",GeneratedDesign:"생성된 디자인",SelectedDesign:"선택된 디자인",Export:"내보내다",moodboard:"무드보드",printboard:"인쇄판",colorboard:"컬러보드",sketchboard:"스케치보드",mannequins:"마네킹",jsContent1:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent2:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent3:"파일을 내보내지 못했습니다."},LibraryPage:{Upload:"업로드",Generate:"생성하다",Delete:"삭제",Rename:"이름 바꾸기",inputContent1:"스타일 코드로 검색",all:"모두",ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",inputContent2:"프롬프트 입력",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model1:"모델1",Model2:"모델2",inputContent3:"프롬프트 입력",Cancel:"취소",Sure:"확신하는",Moodboard:"무드보드",Prints:"인쇄물",Sketches:"스케치",Mannequins:"마네킹",model:"모델",jsContent1:"사진을 삭제하시겠습니까?",jsContent2:"사진을 삭제하시겠습니까?",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요",jsContent8:"업로드 실패",jsContent9:"내용을 입력해주세요"},HistoryPage:{History:"역사",StartDate:"시작일",EndDate:"종료일",inputContent1:"컬렉션 이름으로 검색",Detail:"세부 사항",Rename:"이름 바꾸기",Retrieve:"검색하다",Delete:"삭제",inputContent2:"새 이름을 입력하세요.",Submit:"제출하다",CollectionsName:"컬렉션 이름",UptateTime:"업데이트 시간",SketchCounts:"스케치 수",Operations:"운영",jsContent1:"삭제되었습니다.",jsContent2:"이 컬렉션을 삭제하시겠습니까?? ",jsContent3:"성공적으로 변경되었습니다.",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},ModelPlacement:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},ModelPlacementMobile:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},Upload:{Delete:"삭제",Maximum2M:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"업로드 실패"},SketchboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 스케치보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent4:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent5:"사진을 선택해주세요",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},PrintboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 프린트보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent4:"사진을 선택해주세요",jsContent5:"입력한 내용이 최대 길이를 초과했습니다.",jsContent6:"내용을 입력해주세요"},ColorboardUpload:{Thumbnail:"선택한 컬러보드의 썸네일 미리보기",Clear:"분명한",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",ColorCode:"색상 코드",ExtractColor:"색상 추출",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"TCX 색상을 찾을 수 없습니다",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:'올바른 TCX 값을 입력하세요"'},MoodboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",Delete:"삭제",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 무드보드의 썸네일 미리보기",layout:"정렬하려면",jsContent1:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent2:"업로드 실패",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"무작위로 정렬하려면 레이아웃을 클릭하세요."},Cropper:{Cutpicture:"컷 그림",Finish:"마치다",Cancel:"취소",CropPreview:"자르기 미리보기"},Material:{inputContent1:"입력해주세요",PIN:"PIN"},MarketingSketchUpload:{Upload:"업로드",MyLibrary:"나의 신문",maximumLength:"최대 15개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent5:"허용되는 최대 파일 업로드 수가 초과되었습니다."},layout:{MoodBoardDesign:"무드보드 디자인",LayerOptions:"레이어 옵션",Submit:"제출하다"},Generate:{ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",Model1:"모델1",Model2:"모델2",inputContent1:"프롬프트 입력",Generate:"생성하다",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model:"모델1",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"내용을 입력해주세요",jsContent4:"입력한 내용이 최대 길이를 초과했습니다.",jsContent5:"내용을 입력해주세요",jsContent6:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent7:"업로드 실패"},collectionModal:{Moodboard:"무드보드",Printboard:"프린트보드",Colorboard:"컬러보드",Sketchboard:"스케치보드",MoodCollection:"컬렉션에 대한 무드보드를 선택하세요",PrinCollection:"컬렉션을 위한 프린트보드를 선택하세요",ColorCollection:"컬렉션의 색상을 선택하세요",SketchCollection:"컬렉션에 사용할 스케치보드를 선택하세요",jsContent1:"이미지를 선택한 후 레이아웃을 사용해야 합니다.",jsContent2:"업로드한 파일은 저장되지 않습니다. 계속하시겠습니까? ",jsContent3:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다."},DesignDetail:{Details:"세부",EditDetails:"디자인의 세부 사항을 편집하세요",Submit:"제출하다",CurrentApparel:"현재 의류",CurrentPrint:"현재 인쇄",CurrentColor:"현재 색상"},DesignDetailAlter:{Upload:"업로드",Library:"도서관",inputContent1:"입력해주세요",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",Delete:"삭제",ColorCode:"색상 코드",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent3:"업로드 실패",jsContent4:"이미지 파일만 업로드할 수 있습니다!",jsContent5:"이미지는 5MB보다 작아야 합니다.!",jsContent6:"TCX 색상을 찾을 수 없습니다"},DesignDetailEnd:{NewApparel:"새로운 의류",NewPrint:"새 인쇄",Placement:"놓기",Overall:"전반적인",Single:"하나의",NewColor:"새로운 색상",preview:"시사",Layout:"정렬하려면",jsContent1:"인쇄를 선택해주세요"},DesignPrintOperation:{Placement:"놓기",Overall:"전반적인",Single:"하나의",Random:"무작위의",inputContent:"입력해주세요",preview:"시사",jsContent1:"위 변경사항이 저장되지 않았습니다. 계속하시겠습니까? "},uploadFile:{jsContent1:"최대 8개의 이미지를 선택할 수 있습니다."}},I={Header:{hello:"こんにちは",HOME:"ホームページ",LIBRARY:"集める",HISTORY:"歴史",bindEmail:"電子メールをバインドする",logOff:"ログオフ",language:"言語",skip:"スキップ",emailContent:"電子メールをバインドしました",Email:"Eメール",NextStep:"次のステップ",verification:"確認コードを入力してください",SentTo:"に送信された",Resend:"再送信",jsContent1:"メールの形式が間違っています",jsContent2:"メールボックスのバインドに成功しました。",jsContent3:"長期間操作を行っていません。アクティブである必要があります。そうでない場合は、{numTime} S でログアウトします。"},Habit:{Workspace:"ワークスペース",WorkspaceSetting:"ワークスペースの設定",settingWorkspace:"ワークスペース設定を調整する",Overall:"全体",Single:"シングル",System:"システム",Designer:"デザイナー",Mannequin:"マネキン",Current:"現在",User:"ユーザー",jsContent1:"ワークスペースを削除するかどうか?",jsContent2:"ワークベンチ名を入力してください"},RobotAssist:{inputContent1:"メッセージを書いてください~",jsContent1:"内容を入力してください"},HomeView:{GetStarted:"始めましょう",Start:"始める",Edit:"編集",Design:"デザイン",Redesign:"再設計",GeneratedDesign:"生成されたデザイン",SelectedDesign:"選択されたデザイン",Export:"輸出",moodboard:"ムードボード",printboard:"プリント基板",colorboard:"カラーボード",sketchboard:"スケッチボード",mannequins:"マネキン",jsContent1:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent2:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent3:"ファイルのエクスポートに失敗しました"},LibraryPage:{Upload:"アップロード",Generate:"生成する",Delete:"消去",Rename:"名前の変更",inputContent1:"スタイルコードで検索",all:"全て",ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",inputContent2:"プロンプト入力",maximumLength:"入力した内容が最大長を超えています.",Model1:"モデル1",Model2:"モデル2",inputContent3:"プロンプト入力",Cancel:"キャンセル",Sure:"もちろん",Moodboard:"ムードボード",Prints:"プリント",Sketches:"スケッチ",Mannequins:"マネキン",model:"モデル",jsContent1:"画像を削除してもよろしいですか?",jsContent2:"画像を削除してもよろしいですか?",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください",jsContent8:"アップロードに失敗しました",jsContent9:"内容を入力してください"},HistoryPage:{History:"歴史",StartDate:"開始日",EndDate:"終了日",inputContent1:"コレクション名で検索",Detail:"詳細",Rename:"名前の変更",Retrieve:"取得",Delete:"消去",inputContent2:"新しい名前を入力してください",Submit:"提出す",CollectionsName:"コレクション名",UptateTime:"更新時間",SketchCounts:"スケッチ数",Operations:"オペレーション",jsContent1:"正常に削除されました",jsContent2:"本当にこのコレクションを削除してもよろしいですか? ",jsContent3:"正常に変更されました",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},ModelPlacement:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},ModelPlacementMobile:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},Upload:{Delete:"消去",Maximum2M:"画像は最大8枚アップロード可能、1枚あたり最大2M",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"アップロードに失敗しました"},SketchboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したスケッチボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent4:"許可されるファイルアップロードの最大数を超えました",jsContent5:"写真を選択してください",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},PrintboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したプリントボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"許可されるファイルアップロードの最大数を超えました",jsContent4:"写真を選択してください",jsContent5:"入力した内容が最大長を超えています.",jsContent6:"内容を入力してください"},ColorboardUpload:{Thumbnail:"選択したカラーボードのサムネイル プレビュー",Clear:"クリア",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",ColorCode:"カラーコード",ExtractColor:"色の抽出",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"TCXの色が見つからない",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"正しい TCX 値を入力してください。」"},MoodboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",Delete:"消去",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したムードボードのサムネイル プレビュー",layout:"レイアウト",jsContent1:"最大8枚の画像を選択できます",jsContent2:"アップロードに失敗しました",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"ランダムに並べ替えるには、「レイアウト」をクリックしてください"},Cropper:{Cutpicture:"カット絵",Finish:"仕上げる",Cancel:"キャンセル",CropPreview:"クロッププレビュー"},Material:{inputContent1:"入力してください",PIN:"PIN"},MarketingSketchUpload:{Upload:"アップロード",MyLibrary:"私のライブラリ",maximumLength:"画像は最大15枚アップロード可能、1枚あたり最大2M",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent5:"許可されるファイルアップロードの最大数を超えました"},layout:{MoodBoardDesign:"ムードボードのデザイン",LayerOptions:"レイヤーオプション",Submit:"提出す"},Generate:{ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",Model1:"モデル1",Model2:"モデル2",inputContent1:"プロンプト入力",Generate:"生成する",Model:"モデル",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"内容を入力してください",jsContent4:"入力した内容が最大長を超えています.",jsContent5:"内容を入力してください",jsContent6:"最大8枚の画像を選択できます",jsContent7:"アップロードに失敗しました"},collectionModal:{Moodboard:"ムードボード",Printboard:"プリント基板",Colorboard:"カラーボード",Sketchboard:"スケッチボード",MoodCollection:"コレクション用のムードボードを選択してください",PrinCollection:"コレクションに合わせてプリントボードを選択してください",ColorCollection:"コレクションの色を選択してください",SketchCollection:"コレクション用のスケッチボードを選択してください",jsContent1:"画像を選択してからレイアウトを使用する必要があります.",jsContent2:"アップロードされたファイルは保存されません。続行しますか? ",jsContent3:"以降の処理には 1 つ以上の色を選択する必要があります。"},DesignDetail:{Details:"詳細",EditDetails:"デザインの詳細を編集する",Submit:"提出す",CurrentApparel:"現在のアパレル",CurrentPrint:"現在の印刷物",CurrentColor:"現在の色"},DesignDetailAlter:{Upload:"アップロード",Library:"集める",inputContent1:"入力してください",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",Delete:"消去",ColorCode:"カラーコード",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"最大8枚の画像を選択できます",jsContent3:"アップロードに失敗しました",jsContent4:"画像ファイルのみアップロードできます!",jsContent5:"画像は 5MB 未満である必要があります!",jsContent6:"TCXの色が見つからない"},DesignDetailEnd:{NewApparel:"新しいアパレル",NewPrint:"新しいプリント",Placement:"配置",Overall:"全体",Single:"シングル",NewColor:"新色",preview:"プレビュー",Layout:"レイアウト",jsContent1:"印刷を選択してください"},DesignPrintOperation:{Placement:"配置",Overall:"全体",Single:"シングル",Random:"ランダム",inputContent:"入力してください",preview:"プレビュー",jsContent1:"上記の変更は保存されません。続行しますか? "},uploadFile:{jsContent1:"最大8枚の画像を選択できます"}},k={Header:{hello:"привет",HOME:"ДОМ",LIBRARY:"БИБЛИОТЕКА",HISTORY:"ИСТОРИЯ",bindEmail:"привязать электронную почту",logOff:"выйти",language:"язык",skip:"пропускать",emailContent:"у вас привязана электронная почта",Email:"Электронная почта",NextStep:"Следующий шаг",verification:"введите код подтверждения",SentTo:"Отправлено в",Resend:"Отправить",jsContent1:"Формат электронной почты неправильный",jsContent2:"Удалось привязать почтовый ящик.",jsContent3:"Вы давно не выполняли никаких операций. Вы должны быть активны, иначе вы выйдете из системы через {numTime} S"},Habit:{Workspace:"Рабочая среда",WorkspaceSetting:"Настройка рабочего пространства",settingWorkspace:"отрегулируйте настройки вашего рабочего пространства",Overall:"Общий",Single:"Одинокий",System:"Система",Designer:"Дизайнер",Mannequin:"Манекен",Current:"Текущий",User:"Пользователь",jsContent1:"Удалять ли рабочую область?",jsContent2:"Пожалуйста, введите название рабочей среды"},RobotAssist:{inputContent1:"Напиши сообщение~",jsContent1:"Пожалуйста, введите содержание"},HomeView:{GetStarted:"Начать",Start:"Начинать",Edit:"Редактировать",Design:"Дизайн",Redesign:"Редизайн",GeneratedDesign:"Сгенерированный дизайн",SelectedDesign:"Выбранный дизайн",Export:"Экспорт",moodboard:"мудборд",printboard:"печатная плата",colorboard:"цветная доска",sketchboard:"доска для рисования",mannequins:"манекены",jsContent1:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent2:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent3:"Не удалось экспортировать файл"},LibraryPage:{Upload:"Загрузить",Generate:"Генерировать",Delete:"Удалить",Rename:"Переименовать",inputContent1:"Поиск по коду вашего стиля",all:"all",ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",inputContent2:"Быстрый ввод",maximumLength:"Введенный контент превышает максимальную длину.",Model1:"Модель1",Model2:"Модель2",inputContent3:"Быстрый ввод",Cancel:"Отмена",Sure:"Конечно",Moodboard:"Мудборд",Prints:"Принты",Sketches:"Эскизы",Mannequins:"Манекены",model:"mодель",jsContent1:"Вы уверены, что удалите картинку?",jsContent2:"Вы уверены, что удалите картинку?",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание",jsContent8:"Загрузка не удалась",jsContent9:"Пожалуйста, введите содержание"},HistoryPage:{History:"История",StartDate:"Дата начала",EndDate:"Дата окончания",inputContent1:"Поиск по названию коллекции",Detail:"Деталь",Rename:"Переименовать",Retrieve:"Забрать",Delete:"Удалить",inputContent2:"Введите новое имя",Submit:"Запись",CollectionsName:"Название коллекции",UptateTime:"Время обновления",SketchCounts:"Эскиз имеет значение",Operations:"Операции",jsContent1:"Удален успешно",jsContent2:"Вы действительно хотите удалить эту коллекцию?? ",jsContent3:"Изменение успешно",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},ModelPlacement:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},ModelPlacementMobile:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},Upload:{Delete:"Удалить",Maximum2M:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Загрузка не удалась"},SketchboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной эскизной панели",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent4:"Превышено максимально допустимое количество загрузок файлов.",jsContent5:"Пожалуйста, выберите изображение",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},PrintboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной печатной платы",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Превышено максимально допустимое количество загрузок файлов.",jsContent4:"Пожалуйста, выберите изображение",jsContent5:"Введенный контент превышает максимальную длину.",jsContent6:"Пожалуйста, введите содержание"},ColorboardUpload:{Thumbnail:"Предварительный просмотр миниатюр выбранной цветовой доски",Clear:"Ясно",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",ColorCode:"Цветовой код",ExtractColor:"Извлечь цвет",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Не могу найти цвет TCX",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, введите правильное значение TCX"},MoodboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",Delete:"Удалить",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранного мудборда",layout:"макет",jsContent1:"Вы можете выбрать до 8 изображений",jsContent2:"Загрузка не удалась",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, нажмите «Макет», чтобы отсортировать в случайном порядке."},Cropper:{Cutpicture:"Обрезать картинку",Finish:"Заканчивать",Cancel:"Отмена",CropPreview:"Crop Превью"},Material:{inputContent1:"Пожалуйста, введите",PIN:"PIN"},MarketingSketchUpload:{Upload:"Загрузить",MyLibrary:"Моя библиотека",maximumLength:"Можно загрузить максимум 15 изображений, максимум 2M на изображение.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent5:"Превышено максимально допустимое количество загрузок файлов."},layout:{MoodBoardDesign:"Дизайн Мудборда",LayerOptions:"Параметры слоя",Submit:"Запись"},Generate:{ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",Model1:"Модель1",Model2:"Модель2",inputContent1:"Быстрый ввод",Generate:"Генерировать",maximumLength:"Введенный контент превышает максимальную длину.",Model:"Модель",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Пожалуйста, введите содержание",jsContent4:"Введенный контент превышает максимальную длину.",jsContent5:"Пожалуйста, введите содержание",jsContent6:"Вы можете выбрать до 8 изображений",jsContent7:"Загрузка не удалась"},collectionModal:{Moodboard:"Мудборд",Printboard:"Печатная плата",Colorboard:"Цветная доска",Sketchboard:"Скетчборд",MoodCollection:"выберите мудборд для своей коллекции",PrinCollection:"выберите печатную плату для своей коллекции",ColorCollection:"выберите цвета для своей коллекции",SketchCollection:"выберите скетчборд для своей коллекции",jsContent1:"Вы должны выбрать изображение, а затем использовать макет.",jsContent2:"Загруженные файлы не сохранятся, обязательно продолжайте? ",jsContent3:"Вы должны выбрать один или несколько цветов для дальнейшей обработки.."},DesignDetail:{Details:"Подробности",EditDetails:"Отредактируйте детали вашего дизайна",Submit:"Запись",CurrentApparel:"Текущая одежда",CurrentPrint:"Текущая печать",CurrentColor:"Текущий цвет"},DesignDetailAlter:{Upload:"Загрузить",Library:"Библиотека",inputContent1:"Пожалуйста, введите",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",Delete:"Удалить",ColorCode:"Цветовой код",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Вы можете выбрать до 8 изображений",jsContent3:"Загрузка не удалась",jsContent4:"Вы можете загрузить только файл изображения!",jsContent5:"Изображение должно быть меньше 5 МБ!",jsContent6:"Не могу найти цвет TCX"},DesignDetailEnd:{NewApparel:"Новая одежда",NewPrint:"Новая печать",Placement:"Размещение",Overall:"Общий",Single:"Одинокий",NewColor:"Новый цвет",preview:"просмотр",Layout:"Макет",jsContent1:"Пожалуйста, выберите печать"},DesignPrintOperation:{Placement:"Размещение",Overall:"Общий",Single:"Одинокий",Random:"Случайный",inputContent:"Пожалуйста, введите",preview:"просмотр",jsContent1:"Вышеуказанные изменения не сохраняются, обязательно продолжайте? "},uploadFile:{jsContent1:"Вы можете выбрать до 8 изображений"}},A={Header:{hello:"Bonjour",HOME:"MAISON",LIBRARY:"BIBLIOTHÈQUE",HISTORY:"HISTOIRE",bindEmail:"lier un e-mail",logOff:"dérouler",language:"langue",skip:"sauter",emailContent:"vous avez un e-mail lié",Email:"E-mail",NextStep:"L'étape suivante",verification:"Entrez le code de vérification",SentTo:"Envoyé à",Resend:"Renvoyer",jsContent1:"Le format de l'e-mail est incorrect",jsContent2:"J'ai réussi à lier la boîte aux lettres.",jsContent3:"Vous n'avez effectué aucune opération depuis longtemps. Vous devez être actif, sinon vous vous déconnecterez dans {numTime} S"},Habit:{Workspace:"Espace de travail",WorkspaceSetting:"Paramètres de l'espace de travail",settingWorkspace:"ajustez les paramètres de votre espace de travail",Overall:"tous",Single:"Célibataire",System:"Système",Designer:"Designer",Mannequin:"Mannequin",Current:"Actuel",User:"Utilisateur",jsContent1:"S'il faut supprimer l'espace de travail?",jsContent2:"Veuillez saisir un nom d'atelier"},RobotAssist:{inputContent1:"écrire un message~",jsContent1:"Veuillez saisir le contenu"},HomeView:{GetStarted:"Commencer",Start:"Commencer",Edit:"Modifier",Design:"Conception",Redesign:"Refonte",GeneratedDesign:"Conception générée",SelectedDesign:"Conception sélectionnée",Export:"Exporter",moodboard:"Conseil d'humeur",printboard:"carton imprimé",colorboard:"tableau de couleurs",sketchboard:"planche à croquis",mannequins:"mannequins",jsContent1:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent2:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent3:"Échec de l'exportation du fichier"},LibraryPage:{Upload:"Télécharger",Generate:"Générer",Delete:"Supprimer",Rename:"Renommer",inputContent1:"Recherchez par votre code de style",all:"tout",ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",inputContent2:"Saisie rapide",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model1:"Modèle1",Model2:"Modèle2",inputContent3:"Saisie rapide",Cancel:"Annuler",Sure:"Bien sûr",Moodboard:"Conseil d'humeur",Prints:"Impressions",Sketches:"Croquis",Mannequins:"Mannequins",model:"modèle",jsContent1:"Êtes-vous sûr de supprimer l'image?",jsContent2:"Êtes-vous sûr de supprimer l'image?",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu",jsContent8:"échec du téléchargement",jsContent9:"Veuillez saisir le contenu"},HistoryPage:{History:"Histoire",StartDate:"Date de début",EndDate:"Date de fin",inputContent1:"Rechercher par nom de collection",Detail:"Détail",Rename:"Renommer",Retrieve:"Récupérer",Delete:"Supprimer",inputContent2:"Entrez un nouveau nom",Submit:"Soumettre",CollectionsName:"Nom de la collection",UptateTime:"Temps de mise à jour",SketchCounts:"Nombre d'esquisses",Operations:"Opérations",jsContent1:"Supprimé avec succès",jsContent2:"Voulez-vous vraiment supprimer cette collection? ",jsContent3:"Changer avec succès",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},ModelPlacement:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},ModelPlacementMobile:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},Upload:{Delete:"Sopprimere",Maximum2M:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"échec du téléchargement"},SketchboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du tableau de croquis sélectionné",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent4:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent5:"Veuillez sélectionner une image",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},PrintboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature de la carte d'impression sélectionnée",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent4:"Veuillez sélectionner une image",jsContent5:"Le contenu saisi dépasse la longueur maximale.",jsContent6:"Veuillez saisir le contenu"},ColorboardUpload:{Thumbnail:"Aperçu miniature du colorboard sélectionné",Clear:"Clair",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",ColorCode:"Code couleur",ExtractColor:"Extraire la couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Je ne trouve pas la couleur TCX",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez saisir la valeur TCX correcte"},MoodboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",Delete:"Supprimer",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du moodboard sélectionné",layout:"mise en page",jsContent1:"Vous pouvez sélectionner jusqu'à 8 images",jsContent2:"échec du téléchargement",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez cliquer sur Mise en page pour trier aléatoirement"},Cropper:{Cutpicture:"Couper l'image",Finish:"Finition",Cancel:"Annuler",CropPreview:"Aperçu du recadrage"},Material:{inputContent1:"Veuillez saisir",PIN:"PIN"},MarketingSketchUpload:{Upload:"Télécharger",MyLibrary:"Ma bibliothèque",maximumLength:"Un maximum de 15 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent5:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé"},layout:{MoodBoardDesign:"Conception du MoodBoard",LayerOptions:"Options de calque",Submit:"Soumettre"},Generate:{ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",Model1:"Modèle1",Model2:"Modèle2",inputContent1:"Saisie rapide",Generate:"Générer",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model:"Modèle",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Veuillez saisir le contenu",jsContent4:"Le contenu saisi dépasse la longueur maximale.",jsContent5:"Veuillez saisir le contenu",jsContent6:"Vous pouvez sélectionner jusqu'à 8 images",jsContent7:"échec du téléchargement"},collectionModal:{Moodboard:"Conseil d'humeur",Printboard:"Tableau imprimé",Colorboard:"Tableau de couleurs",Sketchboard:"Tableau à croquis",MoodCollection:"sélectionnez le moodboard pour votre collection",PrinCollection:"sélectionnez le carton imprimé pour votre collection",ColorCollection:"sélectionnez les couleurs pour votre collection",SketchCollection:"sélectionnez un tableau à croquis pour votre collection",jsContent1:"Vous devez sélectionner l'image puis utiliser la mise en page.",jsContent2:"Les fichiers téléchargés ne seront pas enregistrés, assurez-vous de continuer? ",jsContent3:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur."},DesignDetail:{Details:"Détails",EditDetails:"Modifiez les détails de votre conception",Submit:"Soumettre",CurrentApparel:"Vêtements actuels",CurrentPrint:"Impression actuelle",CurrentColor:"Couleur actuelle"},DesignDetailAlter:{Upload:"Télécharger",Library:"Bibliothèque",inputContent1:"Veuillez saisir",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",Delete:"Supprimer",ColorCode:"Code couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Vous pouvez sélectionner jusqu'à 8 images",jsContent3:"échec du téléchargement",jsContent4:"Vous pouvez uniquement télécharger un fichier image!",jsContent5:"L'image doit être inférieure à 5 Mo!",jsContent6:"La couleur de TXCX est introuvable"},DesignDetailEnd:{NewApparel:"Nouveaux vêtements",NewPrint:"Nouvelle impression",Placement:"Placement",Overall:"tous",Single:"Célibataire",NewColor:"Nouvelle couleur",preview:"Aperçu",Layout:"Mise en page",jsContent1:"Veuillez sélectionner imprimer"},DesignPrintOperation:{Placement:"Placement",Overall:"tous",Single:"Célibataire",Random:"Aléatoire",inputContent:"Veuillez saisir",preview:"Aperçu",jsContent1:"Les modifications ci-dessus ne sont pas enregistrées, assurez-vous de continuer? "},uploadFile:{jsContent1:"Vous pouvez sélectionner jusqu'à 8 images"}},R={Header:{hello:"สวัสดี",HOME:"หน้าแรก",LIBRARY:"ไลบรารี",HISTORY:"ประวัติความเป็นมา",bindEmail:"ผูกอีเมล",logOff:"ออกจากระบบ",language:"เปลี่ยนภาษา",skip:"ข้าม",emailContent:"ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ",Email:"อีเมล",NextStep:"ขั้นตอนต่อไป",verification:"ใส่รหัสยืนยัน",SentTo:"ส่งไปยัง",Resend:"ส่งอีกครั้ง",jsContent1:"รูปแบบอีเมลไม่ถูกต้อง",jsContent2:"ประสบความสำเร็จในการผูกกล่องจดหมาย.",jsContent3:"เป็นเวลานานแล้วที่คุณไม่ได้ทำอะไรเลย คุณต้องใช้งานอยู่ ไม่เช่นนั้นคุณจะออกจากระบบหลังจากผ่านไป {numTime} วินาที"},Habit:{Workspace:"พื้นที่ทำงาน",WorkspaceSetting:"การตั้งค่าพื้นที่ทำงาน",settingWorkspace:"ปรับการตั้งค่าพื้นที่ทำงานของคุณ",Overall:"โดยรวม",Single:"เดี่ยว",System:"ระบบ",Designer:"ดีไซเนอร์",Mannequin:"นางแบบ",Current:"ปัจจุบัน",User:"ผู้ใช้",jsContent1:"ไม่ว่าจะลบพื้นที่ทำงาน?",jsContent2:"โปรดป้อนชื่อเวิร์กเบนช์"},RobotAssist:{inputContent1:"เขียนข้อความ~",jsContent1:"กรุณากรอกเนื้อหา"},HomeView:{GetStarted:"เริ่มต้น",Start:"เริ่ม",Edit:"แก้ไข",Design:"ออกแบบ",Redesign:"ออกแบบใหม่",GeneratedDesign:"การออกแบบที่สร้างขึ้น",SelectedDesign:"การออกแบบที่เลือก",Export:"ส่งออก",moodboard:"มูดบอร์ด",printboard:"บอร์ดพิมพ์",colorboard:"กระดานสี",sketchboard:"กระดานสเก็ตช์",mannequins:"หุ่น",jsContent1:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent2:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent3:"ล้มเหลวในการส่งออกไฟล์"},LibraryPage:{Upload:"อัปโหลด",Generate:"กำเนิด",Delete:"ลบ",Rename:"เปลี่ยนชื่อ",inputContent1:"ค้นหาตามรหัสสไตล์ของคุณ",all:"ทั้งหมด",ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",inputContent2:"ป้อนข้อมูลทันที",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent3:"ป้อนข้อมูลทันที",Cancel:"ยกเลิก",Sure:"ได้เลย",Moodboard:"มูดบอร์ด",Prints:"พิมพ์",Sketches:"สเก็ตช์",Mannequins:"หุ่นจำลอง",model:"แบบอย่าง",jsContent1:"แน่ใจนะว่าจะลบรูปนี้?",jsContent2:"แน่ใจนะว่าจะลบรูปนี้?",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา",jsContent8:"การอัพโหลดล้มเหลว",jsContent9:"กรุณากรอกเนื้อหา"},HistoryPage:{History:"ประวัติความเป็นมา",StartDate:"วันที่เริ่มต้น",EndDate:"วันที่สิ้นสุด",inputContent1:"ค้นหาตามชื่อคอลเลกชัน",Detail:"รายละเอียด",Rename:"เปลี่ยนชื่อ",Retrieve:"ดึงข้อมูล",Delete:"ลบ",inputContent2:"ป้อนชื่อใหม่",Submit:"บันทึก",CollectionsName:"ชื่อคอลเลกชัน",UptateTime:"เวลาอัปเดต",SketchCounts:"จำนวนภาพร่าง",Operations:"การดำเนินงาน",jsContent1:"ลบ ประสบความสำเร็จ",jsContent2:"คุณต้องการลบคอลเล็กชันนี้จริงๆ หรือไม่? ",jsContent3:"เปลี่ยนสำเร็จ",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},ModelPlacement:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",System:"ระบบ",Library:"ห้องสมุด",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},ModelPlacementMobile:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},Upload:{Delete:"ลบ",Maximum2M:"สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"การอัพโหลดล้มเหลว"},SketchboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานร่างภาพที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent4:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent5:"กรุณาเลือกรูปภาพ",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},PrintboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของบอร์ดพิมพ์ที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent4:"กรุณาเลือกรูปภาพ",jsContent5:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent6:"กรุณากรอกเนื้อหา"},ColorboardUpload:{Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานสีที่เลือก",Clear:"ชัดเจน",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",ColorCode:"รหัสสี",ExtractColor:"สารสกัดจากสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"ไม่พบสี TCX",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"โปรดป้อนค่า TCX ที่ถูกต้อง"},MoodboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",Delete:"ลบ",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของมูดบอร์ดที่เลือก",layout:"เลย์เอาต์",jsContent1:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent2:"การอัพโหลดล้มเหลว",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"กรุณาคลิกเค้าโครงเพื่อเรียงลำดับแบบสุ่ม"},Cropper:{Cutpicture:"ตัดภาพ",Finish:"เสร็จ",Cancel:"ยกเลิก",CropPreview:"ครอบตัดตัวอย่าง"},Material:{inputContent1:"กรุณาป้อนข้อมูล",PIN:"PIN"},MarketingSketchUpload:{Upload:"อัปโหลด",MyLibrary:"ห้องสมุดของฉัน",maximumLength:"สามารถอัปโหลดได้สูงสุด 15 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว"},layout:{MoodBoardDesign:"MoodBoard Design",LayerOptions:"ตัวเลือกเลเยอร์",Submit:"บันทึก"},Generate:{ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent1:"ป้อนข้อมูลทันที",Generate:"กำเนิด",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model:"แบบอย่าง",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"กรุณากรอกเนื้อหา",jsContent4:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent5:"กรุณากรอกเนื้อหา",jsContent6:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent7:"การอัพโหลดล้มเหลว"},collectionModal:{Moodboard:"มูดบอร์ด",Printboard:"บอร์ดพิมพ์",Colorboard:"กระดานสี",Sketchboard:"กระดานสเก็ตช์",MoodCollection:"เลือกมูดบอร์ดสำหรับคอลเลกชันของคุณ",PrinCollection:"เลือกกระดานพิมพ์สำหรับคอลเลกชันของคุณ",ColorCollection:"เลือกสีสำหรับคอลเลกชันของคุณ",SketchCollection:"เลือกกระดานร่างสำหรับคอลเลกชันของคุณ",jsContent1:"คุณต้องเลือกรูปภาพแล้วใช้เค้าโครง.",jsContent2:"ไฟล์ที่อัพโหลดจะไม่ถูกบันทึก โปรดดำเนินการต่อ? ",jsContent3:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป."},DesignDetail:{Details:"รายละเอียด",EditDetails:"แก้ไขรายละเอียดการออกแบบของคุณ",Submit:"บันทึก",CurrentApparel:"เครื่องแต่งกายปัจจุบัน",CurrentPrint:"การพิมพ์ในปัจจุบัน",CurrentColor:"สีปัจจุบัน"},DesignDetailAlter:{Upload:"อัปโหลด",Library:"ห้องสมุด",inputContent1:"กรุณาป้อนข้อมูล",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",Delete:"ลบ",ColorCode:"รหัสสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent3:"การอัพโหลดล้มเหลว",jsContent4:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent5:"รูปภาพต้องมีขนาดเล็กกว่า 5MB!",jsContent6:"ไม่พบสี TCX"},DesignDetailEnd:{NewApparel:"เครื่องแต่งกายใหม่",NewPrint:"พิมพ์ใหม่",Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",NewColor:"สีใหม่",preview:"ดูตัวอย่าง",Layout:"เลย์เอาต์",jsContent1:"กรุณาเลือกพิมพ์"},DesignPrintOperation:{Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",Random:"สุ่ม",inputContent:"กรุณาป้อนข้อมูล",preview:"ดูตัวอย่าง",jsContent1:"การเปลี่ยนแปลงข้างต้นไม่ได้รับการบันทึก โปรดดำเนินการต่อ? "},uploadFile:{jsContent1:"คุณสามารถเลือกได้สูงสุด 8 ภาพ"}},E={Header:{hello:"Xin chào",HOME:"TRANG CHỦ",LIBRARY:"THƯ VIỆN",HISTORY:"LỊCH SỬ",bindEmail:"liên kết email",logOff:"đăng xuất",language:"ngữ",skip:"nhảy",emailContent:"bạn có email bị ràng buộc",Email:"E-mail",NextStep:"Bước tiếp theo",verification:"Nhập mã xác nhận",SentTo:"Gửi đến",Resend:"Gửi lại",jsContent1:"Định dạng email không chính xác",jsContent2:"Đã thành công trong việc ràng buộc hộp thư.",jsContent3:"Bạn đã không thực hiện bất kỳ thao tác nào trong một thời gian dài. Bạn phải hoạt động; nếu không, bạn sẽ đăng xuất khỏi {numTime} S"},Habit:{Workspace:"Không gian làm việc",WorkspaceSetting:"Cài đặt không gian làm việc",settingWorkspace:"điều chỉnh cài đặt không gian làm việc của bạn",Overall:"Tổng thể",Single:"Đơn",System:"Hệ thống",Designer:"Nhà thiết kế",Mannequin:"Ma nơ canh",Current:"Hiện hành",User:"Người dùng",jsContent1:"Có nên xóa không gian làm việc?",jsContent2:"Vui lòng nhập tên bàn làm việc"},RobotAssist:{inputContent1:"viết tin nhắn~",jsContent1:"Vui lòng nhập nội dung"},HomeView:{GetStarted:"Bắt đầu",Start:"Bắt đầu",Edit:"Biên tập",Design:"Thiết kế",Redesign:"Thiết kế lại",GeneratedDesign:"Thiết kế được tạo",SelectedDesign:"Thiết kế đã chọn",Export:"Xuất khẩu",moodboard:"bảng tâm trạng",printboard:"bảng in",colorboard:"bảng màu",sketchboard:"bảng phác thảo",mannequins:"ma-nơ-canh",jsContent1:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent2:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent3:"Không xuất được tệp"},LibraryPage:{Upload:"Tải lên",Generate:"Phát ra",Delete:"Xóa bỏ",Rename:"Đổi tên",inputContent1:"Tìm kiếm theo mã kiểu của bạn",all:"tất cả",ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",inputContent2:"Nhập liệu nhanh chóng",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent3:"Nhập liệu nhanh chóng",Cancel:"Hủy bỏ",Sure:"Chắc chắn",Moodboard:"Bảng tâm trạng",Prints:"Bản in",Sketches:"Bản phác thảo",Mannequins:"ma-nơ-canh",model:"người mẫu",jsContent1:"Bạn có chắc chắn xóa hình ảnh?",jsContent2:"Bạn có chắc chắn xóa hình ảnh?",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung",jsContent8:"Tải lên thất bại",jsContent9:"Vui lòng nhập nội dung"},HistoryPage:{History:"Lịch sử",StartDate:"Ngày bắt đầu",EndDate:"Ngày cuối",inputContent1:"Tìm kiếm theo tên bộ sưu tập",Detail:"Chi tiết",Rename:"Đổi tên",Retrieve:"Lấy lại",Delete:"Xóa bỏ",inputContent2:"Nhập tên mới",Submit:"Nộp",CollectionsName:"Tên bộ sưu tập",UptateTime:"Cập nhật thời gian",SketchCounts:"Số lượng phác thảo",Operations:"Hoạt động",jsContent1:"Đã xoá thành công",jsContent2:"Bạn có thực sự muốn xóa bộ sưu tập này? ",jsContent3:"Thay đổi thành công",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},ModelPlacement:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},ModelPlacementMobile:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},Upload:{Delete:"Xóa bỏ",Maximum2M:"Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Tải lên thất bại"},SketchboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng phác thảo đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent4:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent5:"Vui lòng chọn một hình ảnh",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},PrintboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng in đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent4:"Vui lòng chọn một hình ảnh",jsContent5:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent6:"Vui lòng nhập nội dung"},ColorboardUpload:{Thumbnail:"Xem trước hình thu nhỏ của bảng màu đã chọn",Clear:"Thông thoáng",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",ColorCode:"Mã màu",ExtractColor:"Trích xuất màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Không tìm thấy màu TCX",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Vui lòng nhập giá trị TCX chính xác"},MoodboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",Delete:"Xóa bỏ",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng tâm trạng đã chọn",layout:"cách trình bày",jsContent1:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent2:"Tải lên thất bại",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Hãy nhấn vào Bố cục để sắp xếp ngẫu nhiên"},Cropper:{Cutpicture:"Cắt ảnh",Finish:"Hoàn thành",Cancel:"Hủy bỏ",CropPreview:"Cắt xem trước"},Material:{inputContent1:"Xin vui lòng nhập",PIN:"PIN"},MarketingSketchUpload:{Upload:"Tải lên",MyLibrary:"Thư viện",maximumLength:"Có thể tải lên tối đa 15 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Đã vượt quá số lượng tệp tải lên tối đa cho phép"},layout:{MoodBoardDesign:"Thiết kế MoodBoard",LayerOptions:"Tùy chọn lớp",Submit:"Nộp"},Generate:{ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent1:"Nhập liệu nhanh chóng",Generate:"Phát ra",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model:"người mẫu",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Vui lòng nhập nội dung",jsContent4:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent5:"Vui lòng nhập nội dung",jsContent6:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent7:"Tải lên thất bại"},collectionModal:{Moodboard:"Bảng tâm trạng",Printboard:"Bảng in",Colorboard:"Bảng màu",Sketchboard:"Bảng phác thảo",MoodCollection:"chọn moodboard cho bộ sưu tập của bạn",PrinCollection:"chọn bảng in cho bộ sưu tập của bạn",ColorCollection:"chọn màu cho bộ sưu tập của bạn",SketchCollection:"chọn bảng phác thảo cho bộ sưu tập của bạn",jsContent1:"Bạn phải chọn hình ảnh rồi sử dụng bố cục.",jsContent2:"Các tập tin đã tải lên sẽ không được lưu, hãy nhớ tiếp tục? ",jsContent3:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp."},DesignDetail:{Details:"Chi tiết",EditDetails:"Chỉnh sửa chi tiết thiết kế của bạn",Submit:"Nộp",CurrentApparel:"Trang phục hiện tại",CurrentPrint:"Bản in hiện tại",CurrentColor:"Màu hiện tại"},DesignDetailAlter:{Upload:"Tải lên",Library:"Thư viện",inputContent1:"Xin vui lòng nhập",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",Delete:"Xóa bỏ",ColorCode:"Mã màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent3:"Tải lên thất bại",jsContent4:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent5:"Hình ảnh phải nhỏ hơn 5MB!",jsContent6:"Không tìm thấy màu TCX"},DesignDetailEnd:{NewApparel:"Trang phục mới",NewPrint:"Bản in mới",Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",NewColor:"Màu mới",preview:"xem trước",Layout:"Cách trình bày",jsContent1:"Vui lòng chọn in"},DesignPrintOperation:{Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",Random:"Ngẫu nhiên",inputContent:"Xin vui lòng nhập",preview:"xem trước",jsContent1:"Những thay đổi trên không được lưu, hãy chắc chắn để tiếp tục? "},uploadFile:{jsContent1:"Bạn có thể chọn tối đa 8 hình ảnh"}},N={Header:{hello:"Ciao",HOME:"CASA",LIBRARY:"BIBLIOTECA",HISTORY:"STORIA",bindEmail:"associare l'e-mail",logOff:"disconnettersi",language:"lingua",skip:"saltare",emailContent:"hai legato la posta elettronica",Email:"E-mail",NextStep:"Passo successivo",verification:"Inserisci il codice di verifica",SentTo:"Inviato a",Resend:"Invia nuovamente",jsContent1:"Il formato dell'e-mail non è corretto",jsContent2:"Impossibile vincolare la casella di posta.",jsContent3:"Non hai eseguito alcuna operazione per molto tempo. Devi essere attivo altrimenti ti disconnetterai in {numTime} S"},Habit:{Workspace:"Spazio di lavoro",WorkspaceSetting:"Impostazione dell'area di lavoro",settingWorkspace:"modificare l'impostazione dell'area di lavoro",Overall:"Tutto",Single:"Separare",System:"Sistema",Designer:"progettista",Mannequin:"Manichino",Current:"Attuale",User:"Utente",jsContent1:"Indica se eliminare l'area di lavoro?",jsContent2:"Inserisci un nome per l'ambiente di lavoro"},RobotAssist:{inputContent1:"Scrivi un messaggio~",jsContent1:"Inserisci il contenuto"},HomeView:{GetStarted:"Iniziare",Start:"Inizio",Edit:"Modificare",Design:"Progetto",Redesign:"Riprogettazione",GeneratedDesign:"Progettazione generata",SelectedDesign:"Disegno selezionato",Export:"Esportare",moodboard:"moodboard",printboard:"cartoncino",colorboard:"tavola da disegno",sketchboard:"tavola da disegno",mannequins:"manichini",jsContent1:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent2:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent3:"Impossibile esportare il file"},LibraryPage:{Upload:"Caricamento",Generate:"creare",Delete:"Eliminare",Rename:"Rinominare",inputContent1:"Search by your style code",all:"Tutto",ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",inputContent2:"Immissione rapida",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model1:"Modello1",Model2:"Modello2",inputContent3:"Immissione rapida",Cancel:"Annulla",Sure:"Sicuro",Moodboard:"Tavola d'atmosfera",Prints:"Stampe",Sketches:"Schizzi",Mannequins:"Manichino",model:"modello",jsContent1:"Sei sicuro di eliminare l'immagine?",jsContent2:"Sei sicuro di eliminare l'immagine?",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto",jsContent8:"caricamento fallito",jsContent9:"Inserisci il contenuto"},HistoryPage:{History:"Storia",StartDate:"Data d'inizio",EndDate:"Data di fine",inputContent1:"Cerca per nome della raccolta",Detail:"Dettaglio",Rename:"Rinominare",Retrieve:"Recuperare",Delete:"Eliminare",inputContent2:"Inserisci un nuovo nome",Submit:"Invia",CollectionsName:"Nome della raccolta",UptateTime:"Tempo di aggiornamento",SketchCounts:"Lo schizzo conta",Operations:"Operazioni",jsContent1:"Eliminato con successo",jsContent2:"Vuoi davvero eliminare questa raccolta?? ",jsContent3:"Modifica con successo",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},ModelPlacement:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},ModelPlacementMobile:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},Upload:{Delete:"Eliminare",Maximum2M:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"caricamento fallito"},SketchboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura dello sketchboard selezionato",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent4:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent5:"Seleziona un'immagine",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},PrintboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della scheda di stampa selezionata",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent4:"Seleziona un'immagine",jsContent5:"Il contenuto inserito supera la lunghezza massima.",jsContent6:"Inserisci il contenuto"},ColorboardUpload:{Thumbnail:"Anteprima in miniatura della tavola colorata selezionata",Clear:"Chiaro",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",ColorCode:"Codice colore",ExtractColor:"Estrai colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"Impossibile trovare il colore TCX",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Inserisci il valore TCX corretto"},MoodboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",Delete:"Eliminare",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della moodboard selezionata",layout:"disposizione",jsContent1:"È possibile selezionare fino a 8 immagini",jsContent2:"caricamento fallito",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Fare clic su Layout per ordinare in modo casuale"},Cropper:{Cutpicture:"Taglia l'immagine",Finish:"Fine",Cancel:"Annulla",CropPreview:"Anteprima del ritaglio"},Material:{inputContent1:"Per favore inserisci",PIN:"PIN"},MarketingSketchUpload:{Upload:"Caricamento",MyLibrary:"La mia biblioteca",maximumLength:"È possibile caricare un massimo di 15 immagini, massimo 2 milioni per immagine",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"È stato superato il numero massimo di caricamenti di file consentiti"},layout:{MoodBoardDesign:"Progettazione del moodboard",LayerOptions:"Opzioni del livello",Submit:"Invia"},Generate:{ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",Model1:"Modello1",Model2:"Modello2",inputContent1:"Immissione rapida",Generate:"creare",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model:"Modello",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"Inserisci il contenuto",jsContent4:"Il contenuto inserito supera la lunghezza massima.",jsContent5:"Inserisci il contenuto",jsContent6:"È possibile selezionare fino a 8 immagini",jsContent7:"caricamento fallito"},collectionModal:{Moodboard:"Tavola d'atmosfera",Printboard:"Cartoncino",Colorboard:"Tavola colorata",Sketchboard:"Tavola da disegno",MoodCollection:"seleziona la moodboard per la tua collezione",PrinCollection:"seleziona la scheda di stampa per la tua collezione",ColorCollection:"seleziona i colori per la tua collezione",SketchCollection:"seleziona lo sketchboard per la tua collezione",jsContent1:"È necessario selezionare l'immagine e quindi utilizzare il layout.",jsContent2:"I file caricati non verranno salvati, assicurandosi di continuare? ",jsContent3:"È necessario scegliere uno o più colori per l'ulteriore elaborazione."},DesignDetail:{Details:"Dettagli",EditDetails:"Modifica i dettagli del tuo progetto",Submit:"Invia",CurrentApparel:"Vestiti attuali",CurrentPrint:"Stampa Attuale",CurrentColor:"Colore Attuale"},DesignDetailAlter:{Upload:"Caricamento",Library:"Biblioteca",inputContent1:"Per favore inserisci",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",Delete:"Eliminare",ColorCode:"Codice colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"È possibile selezionare fino a 8 immagini",jsContent3:"caricamento fallito",jsContent4:"Puoi caricare solo il file immagine!",jsContent5:"L'immagine deve essere inferiore a 5 MB!",jsContent6:"Impossibile trovare il colore TCX"},DesignDetailEnd:{NewApparel:"Nuovo vestiti",NewPrint:"Nuova stampa",Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",NewColor:"Nuovo colore",preview:"anteprima",Layout:"Disposizione",jsContent1:"Seleziona stampa"},DesignPrintOperation:{Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",Random:"Casuale",inputContent:"Per favore inserisci",preview:"anteprima",jsContent1:"Le modifiche di cui sopra non vengono salvate, assicurandosi di continuare? "},uploadFile:{jsContent1:"È possibile selezionare fino a 8 immagini"}};const w={ENGLISH:{...x,...x},CHINESE_SIMPLIFIED:{...B,...B},KOREAN:{...H,...H},JAPANESE:{...I,...I},RUSSIAN:{...k,...k},FRENCH:{...A,...A},THAI:{...R,...R},VIETNAMESE:{...E,...E},ITALIAN:{...N,...N}},U=(0,T.o)({legacy:!1,globalInjection:!0,locale:"ENGLISH",messages:w});var O=U;D();let G={loading:n(5929),attempt:1};(0,o.ri)(c).use(f).use(m.Z).use(L.ZP).use(z.Z,G).use(O).mount("#app")},9913:function(e,t,n){"use strict";var o=n(2201),i=n(6252);const a=e=>(0,i.RC)((()=>n(2513)(`./${e}.vue`))),l=[{path:"/",redirect:"/login"},{path:"/login",name:"login",component:a("LoginPage")},{path:"/home",name:"home",component:a("HomeView")},{path:"/demo",name:"demo",component:a("Demo")},{path:"/history",name:"history",component:a("HistoryPage")},{path:"/library",name:"library",component:a("LibraryPage")}],r=(0,o.p7)({history:(0,o.PO)("/"),routes:l});t["Z"]=r},6791:function(){window._iconfont_svg_string_3608736='',function(e){var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss");t=t.getAttribute("data-disable-injectsvg");if(!t){var o,i,a,l,r,s=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}o=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_3608736,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?s(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),o()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=o,l=e.document,r=!1,m(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,c())})}function c(){r||(r=!0,a())}function m(){try{l.documentElement.doScroll("left")}catch(t){return void setTimeout(m,50)}c()}}(window)},2513:function(e,t,n){var o={"./Demo.vue":[1127,127],"./HistoryPage.vue":[8194,949,294,946],"./HomeView.vue":[8659,949,294,87,656],"./LibraryPage.vue":[3983,949,294,87,65],"./LoginPage.vue":[8177,949,826]};function i(e){if(!n.o(o,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(o)},i.id=2513,e.exports=i},5929:function(e,t,n){"use strict";e.exports=n.p+"img/loading.6b98b17d.gif"}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.m=e,function(){var e=[];n.O=function(t,o,i,a){if(!o){var l=1/0;for(m=0;m=a)&&Object.keys(n.O).every((function(e){return n.O[e](o[s])}))?o.splice(s--,1):(r=!1,a0&&e[m-1][2]>a;m--)e[m]=e[m-1];e[m]=[o,i,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{65:"f19eb5f0",87:"58385a6a",127:"b8add267",294:"7d275cf0",656:"c4120e81",826:"7d3d0b48",946:"c4d49203",949:"fafa687a"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{65:"8d396662",127:"bafe38b4",294:"a9a2d57d",656:"46e0e37c",826:"38b30adc",946:"4eeb351d",949:"8cb1937a"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="aida:";n.l=function(o,i,a,l){if(e[o])e[o].push(i);else{var r,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),m=0;m=8?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t));else{let e=!0;for(let o=0;o=8?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t)):(t.checked=!1,n=n.filter((e=>e.id!=t.id)))}"generate"==t.type_.type1?"Moodboard"==t.type_.type2?e.moodboardGenerateFiles=n:"Sketchboard"==t.type_.type2?e.sketchGenerateFiles=n:"Printboard"==t.type_.type2&&(e.printGenerateFiles=n):"Moodboard"==t.type_.type2?e.moodboardMaterialFiles=n:"Sketchboard"==t.type_.type2?e.sketchMaterialFiles=n:"Printboard"==t.type_.type2&&(e.printMaterialFiles=n),e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles],e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles],e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setSketchboardFile(e,t){e.sketchboardFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardGenerateFiles(e,t){e.sketchGenerateFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardMaterialFiles(e,t){e.sketchMaterialFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setPrintboardFile(e,t){e.printboardFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardGenerateFiles(e,t){e.printGenerateFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardMaterialFiles(e,t){e.printMaterialFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setColorboardList(e,t){e.colorBoards=t},setMarketingSketchFile(e,t){e.marketingSketchFiles=t},setAllBoardData(e){e.allBoardData={moodboardFiles:e.moodboard,disposeMoodboard:e.disposeMoodboard,printboardFiles:e.printboard,colorBoards:e.colorBoards,sketchboardFiles:e.sketchboard,marketingSketchFiles:e.marketingSketchFiles,moodTemplateId:e.moodTemplateId}},setAllBoardDataChoose(e,t){e.allBoardData=t},clearAllData(e){e.moodboard=[],e.moodboardFiles=[],e.moodboardGenerateFiles=[],e.moodboardMaterialFiles=[],e.sketchboard=[],e.sketchboardFiles=[],e.sketchGenerateFiles=[],e.sketchMaterialFiles=[],e.printboard=[],e.printboardFiles=[],e.printGenerateFiles=[],e.printMaterialFiles=[],e.colorBoards=[],e.marketingSketchFiles=[],e.moodTemplateId="",e.disposeMoodboard=[]},clearAllId(e){e.moodboard.forEach((e=>{delete e.id_})),e.sketchboard.forEach((e=>{delete e.id_})),e.printboard.forEach((e=>{delete e.id_}))},setMoodTemplateId(e,t){e.moodTemplateId=t},clearMoodTemplateId(e){e.disposeMoodboard=[]}},actions:{}};var C=h;const p={state:{designItemDetail:{},designPreviewData:{}},mutations:{setDesignItemDetail(e,t){e.designItemDetail=t},setDesignItemColthes(e,t){e.designItemDetail.clothes[t.index]=t.clothes},setDesignItemOthers(e,t){e.designItemDetail.others[t.index]=t.others},setDesignPreviewData(e,t){e.designPreviewData=t}},actions:{}};var g=p;const b={state:{designCollectionList:[],likeDesignCollectionList:[],userGroupId:"",designCollectionId:"",templateId:"",templateImgUrl:"",designId:""},mutations:{setDesignCollectionList(e,t){e.designCollectionList=t},setLikeDesignCollectionList(e,t){e.likeDesignCollectionList=t},setSingleDesignCollectionList(e,t){e.designCollectionList[t.index]=t.design},setSingleLikeDesignCollectionList(e,t){e.likeDesignCollectionList[t.index]=t.design},addDesignCollectionList(e,t){e.designCollectionList.push(t)},addLikeDesignCollectionList(e,t){e.likeDesignCollectionList.push(t)},deleteDesignCollectionList(e,t){e.designCollectionList.splice(t,1)},deleteLikeDesignCollectionList(e,t){e.likeDesignCollectionList.splice(t,1)},setUserGroupId(e,t){e.userGroupId=t},deleteUserGroupId(e){e.userGroupId=""},setDesignCollectionId(e,t){e.designCollectionId=t},deleteDesignCollectionId(e,t){e.designCollectionId=""},setDesignId(e,t){e.designId=t},deleteDesignId(e){e.designId=""},clearAllCollection(e){e.designCollectionList=[],e.likeDesignCollectionList=[],e.designCollectionId=""},setTemplateData(e,t){e.templateId=t.id,e.templateImgUrl=t.url},clearTemplateData(e){e.templateId="",e.templateImgUrl=""}},actions:{}};var j=b;const v={state:{clothingType:[]},mutations:{res_clothingType(e,t){e.clothingType=t}},actions:{get_clothingType(e){var t=[{id:11,name:"nv"},{id:22,name:"nan"}];e.commit("res_clothingType",t)}}};var M=v;const y={state:{workspace:{}},mutations:{setWorkspace(e,t){e.workspace=t}},actions:{}};var S=y,f=(0,u.MT)({state:{},getters:{},mutations:{},actions:{},modules:{UploadFilesModule:C,DesignDetailModule:g,HomeStoreModule:j,UserHabit:M,Workspace:S}});n(6791);let P=(e,t,n)=>{var o,i=document,a=window,l=i.documentElement,r=document.createElement("style");function s(){var n=l.getBoundingClientRect().width;t=t||1920,n>t&&(n=t),n>t&&(n=t);var o=10*n/e;r.innerHTML="html{font-size:"+o+"px;}"}if(e=e||1920,t=t||2560,n=n||1440,l.firstElementChild)l.firstElementChild.appendChild(r);else{var c=i.createElement("div");c.appendChild(r),i.write(c.innerHTML),c=null}s(),a.addEventListener("resize",(function(){clearTimeout(o),o=setTimeout(s,300)}),!1),a.addEventListener("pageshow",(function(e){e.persisted&&(clearTimeout(o),o=setTimeout(s,300))}),!1),"complete"===i.readyState?i.body.style.fontSize="16px":i.addEventListener("DOMContentLoaded",(function(e){i.body.style.fontSize="16px"}),!1)};var D=P,L=(n(2467),n(6732)),z=n(7751),T=n(8552),x={Header:{hello:"hello",HOME:"HOME",LIBRARY:"LIBRARY",HISTORY:"HISTORY",bindEmail:"bind email",logOff:"log off",language:"language",skip:"skip",emailContent:"you have binded email",Email:"Email",NextStep:"Next step",verification:"Enter verification code",SentTo:"Sent to",Resend:"Resend",jsContent1:"The email format is incorrect",jsContent2:"Succeeded in binding the mailbox.",jsContent3:"You have not performed any operation for a long time. You must be active;otherwise, you will log out in {numTime} S"},Habit:{Workspace:"Workspace",WorkspaceSetting:"Workspace Setting",settingWorkspace:"adjust your workspace setting",Overall:"Overall",Single:"Single",System:"System",Designer:"Designer",Mannequin:"Mannequin",Current:"Current",User:"User",jsContent1:"Whether to delete the workspace?",jsContent2:"Please enter a workbench name"},RobotAssist:{inputContent1:"write a message~",jsContent1:"Please enter content"},HomeView:{GetStarted:"Get Started",Start:"Start",Edit:"Edit",Design:"Design",Redesign:"Redesign",GeneratedDesign:"Generated Design",SelectedDesign:"Selected Design",Export:"Export",moodboard:"moodboard",printboard:"printboard",colorboard:"colorboard",sketchboard:"sketchboard",mannequins:"mannequins",jsContent1:"You must choose one or more colors for further process.",jsContent2:"You must choose one or more colors for further process.",jsContent3:"Failed to export the file"},LibraryPage:{Upload:"Upload",Generate:"Generate",Delete:"Delete",Rename:"Rename",inputContent1:"Search by your style code",all:"all",ImageOnly:"Image Only",TextOnly:"Text Only",TextImage:"Text-Image",inputContent2:"Prompt input",maximumLength:"The entered content exceeds the maximum length.",Model1:"Model1",Model2:"Model2",inputContent3:"Prompt input",Cancel:"Cancel",Sure:"Sure",Moodboard:"Moodboard",Prints:"Prints",Sketches:"Sketches",Mannequins:"Mannequins",model:"model",jsContent1:"Are you sure to delete the picture?",jsContent2:"Are you sure to delete the picture?",jsContent3:"You can only upload Image file!",jsContent4:"Image must smaller than 2MB!",jsContent5:"This picture has been uploaded whether to continue uploading?",jsContent6:"The entered content exceeds the maximum length.",jsContent7:"Please enter content",jsContent8:"upload failed",jsContent9:"Please enter content"},HistoryPage:{History:"History",StartDate:"Start Date",EndDate:"End Date",inputContent1:"Search by collection name",Detail:"Detail",Rename:"Rename",Retrieve:"Retrieve",Delete:"Delete",inputContent2:"Enter a new name",Submit:"Submit",CollectionsName:"Collections Name",UptateTime:"Uptate Time",SketchCounts:"Sketch Counts",Operations:"Operations",jsContent1:"Deleted successfully",jsContent2:"Do you really want to delete this collection? ",jsContent3:"Change successfully"},ModelPlacement:{Registration:"Registration",Submit:"Submit",Preview:"Preview",Back:"Back",Restore:"Restore",System:"System",Library:"Library",Point:"Point",RemovePoint:"Remove Point",mannequinHint:"Please change the pure white inside the mannequin for another color to enhance your experience",SHOULDER:"SHOULDER",WAISTBAND:"WAISTBAND",HAND:"HAND",jsContent1:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?",jsContent2:"This picture has been uploaded whether to continue uploading?"},ModelPlacementMobile:{Registration:"Registration",Submit:"Submit",Preview:"Preview",Back:"Back",Restore:"Restore",System:"System",Library:"Library",Point:"Point",RemovePoint:"Remove Point",mannequinHint:"Please change the pure white inside the mannequin for another color to enhance your experience",SHOULDER:"SHOULDER",WAISTBAND:"WAISTBAND",HAND:"HAND",jsContent1:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?",jsContent2:"This picture has been uploaded whether to continue uploading?"},Upload:{Delete:"Delete",Maximum2M:"Maximum 8 images can be uploaded, Maximum 2M per image",jsContent1:"You can only upload Image file!",jsContent2:"Image must smaller than 2MB!",jsContent3:"upload failed"},SketchboardUpload:{Upload:"Upload",Library:"Library",Generate:"Generate",PIN:"PIN",Maximum:"Maximum 8 images can be uploaded, Maximum 2M per image",Thumbnail:"Thumbnail preview of selected sketchboard",inputContent1:"Caption generation",maximumLength:"The entered content exceeds the maximum length.",jsContent1:"upload failed",jsContent2:"You can only upload Image file!",jsContent3:"Image must smaller than 2MB!",jsContent4:"Maximum number of allowable file uploads has been exceeded",jsContent5:"Please select a picture",jsContent6:"The entered content exceeds the maximum length.",jsContent7:"Please enter content"},PrintboardUpload:{Upload:"Upload",Library:"Library",Generate:"Generate",PIN:"PIN",Maximum:"Maximum 8 images can be uploaded, Maximum 2M per image",Thumbnail:"Thumbnail preview of selected printboard",inputContent1:"Caption generation",maximumLength:"The entered content exceeds the maximum length.",jsContent1:"You can only upload Image file!",jsContent2:"Image must smaller than 2MB!",jsContent3:"Maximum number of allowable file uploads has been exceeded",jsContent4:"Please select a picture",jsContent5:"The entered content exceeds the maximum length.",jsContent6:"Please enter content"},ColorboardUpload:{Thumbnail:"Thumbnail preview of selected colorboard",Clear:"Clear",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Upload Image",ColorCode:"Color Code",ExtractColor:"Extract Color",jsContent1:"Your browser does not support it",jsContent2:"Can't find the TCX color",jsContent3:"You can only upload Image file!",jsContent4:"Image must smaller than 2MB!",jsContent5:"Please enter the correct TCX value"},MoodboardUpload:{Upload:"Upload",Library:"Library",Generate:"Generate",Delete:"Delete",Maximum:"Maximum 8 images can be uploaded, Maximum 2M per image",Thumbnail:"Thumbnail preview of selected moodboard",layout:"layout",jsContent1:"You can select up to 8 images",jsContent2:"upload failed",jsContent3:"You can only upload Image file!",jsContent4:"Image must smaller than 2MB!",jsContent5:"Please click Layout to sort randomly"},Cropper:{Cutpicture:"Cut picture",Finish:"Finish",Cancel:"Cancel",CropPreview:"Crop Preview"},Material:{inputContent1:"Please input",PIN:"PIN"},MarketingSketchUpload:{Upload:"Upload",MyLibrary:"My Library",maximumLength:"Maximum 15 images can be uploaded, Maximum 2M per image",jsContent1:"upload failed",jsContent2:"You can only upload Image file!",jsContent3:"Image must smaller than 2MB!",jsContent5:"Maximum number of allowable file uploads has been exceeded"},layout:{MoodBoardDesign:"MoodBoard Design",LayerOptions:"Layer Options",Submit:"Submit"},Generate:{ImageOnly:"Image Only",TextOnly:"Text Only",TextImage:"Text-Image",Model1:"Model1",Model2:"Model2",inputContent1:"Prompt input",Generate:"Generate",maximumLength:"The entered content exceeds the maximum length.",Model:"Model",jsContent1:"You can only upload Image file!",jsContent2:"Image must smaller than 2MB!",jsContent3:"Please enter content",jsContent4:"The entered content exceeds the maximum length.",jsContent5:"Please enter content",jsContent6:"You can select up to 8 images",jsContent7:"upload failed"},collectionModal:{Moodboard:"Moodboard",Printboard:"Printboard",Colorboard:"Colorboard",Sketchboard:"Sketchboard",MoodCollection:"select moodboard for your collection",PrinCollection:"select printboard for your collection",ColorCollection:"select colors for your collection",SketchCollection:"select sketchboard for your collection",jsContent1:"You need to design first and then move on to the next step.",jsContent2:"The uploaded files will not be saved, being sure to continue? ",jsContent3:"You must choose one or more colors for further process."},DesignDetail:{Details:"Details",EditDetails:"Edit the details of your design",Submit:"Submit",CurrentApparel:"Current Apparel",CurrentPrint:"Current Print",CurrentColor:"Current Color"},DesignDetailAlter:{Upload:"Upload",Library:"Library",inputContent1:"Please input",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Upload Image",Delete:"Delete",ColorCode:"Color Code",jsContent1:"Your browser does not support it",jsContent2:"You can select up to 8 images",jsContent3:"upload failed",jsContent4:"You can only upload Image file!",jsContent5:"Image must smaller than 5MB!",jsContent6:"Can't find the TCX color"},DesignDetailEnd:{NewApparel:"New Apparel",NewPrint:"New Print",Placement:"Placement",Overall:"Overall",Single:"Single",NewColor:"New Color",preview:"preview",Layout:"Layout",jsContent1:"Please select print"},DesignPrintOperation:{Placement:"Placement",Overall:"Overall",Single:"Single",Random:"Random",inputContent:"Please input",preview:"preview",jsContent1:"The above changes are not saved, being sure to continue? "},uploadFile:{jsContent1:"You can select up to 8 images"},isTest:{available:"This feature is not available to trial users",src:"This function is not open to trial users, if you need to subscribe, please click ->",userName:"Trial User",loginIsTest:"You are a trial user, Probation period until{date}. For the security of users' data, we do not save any personal data uploaded by trial users, and will erase personal data after each logout. if you need to subscribe, please click ->",image:"Because you are a trial user, you can only upload 10 images"}},B={Header:{hello:"你好",HOME:"首页",LIBRARY:"收藏",HISTORY:"历史",bindEmail:"绑定邮箱",logOff:"退出登录",language:"语言",skip:"跳过",emailContent:"你绑定了的邮箱",Email:"邮箱",NextStep:"下一步",verification:"输入验证码",SentTo:"发送",Resend:"重发",jsContent1:"邮箱格式不正确",jsContent2:"绑定邮箱成功",jsContent3:"已经长时间未操作,您必须活跃起来,否则将会在{numTime} S 后退出登录"},Habit:{Workspace:"工作空间",WorkspaceSetting:"设置工作空间",settingWorkspace:"调整您的工作空间",Overall:"整体",Single:"单件",System:"系统",Designer:"设计师",Mannequin:"模特",Current:"当前",User:"用户",jsContent1:"是否删除指定工作空间",jsContent2:"请输入当前工作空间的名字"},RobotAssist:{inputContent1:"问我什么都行~",jsContent1:"请输入生成内容~"},HomeView:{GetStarted:"开始设计",Start:"重新开始",Edit:"编辑",Design:"设计",Redesign:"重新设计",GeneratedDesign:"生成的设计",SelectedDesign:"喜欢的设计",Export:"导出",moodboard:"情绪板",printboard:"印刷板",colorboard:"调色板",sketchboard:"素描板",mannequins:"人体模型",jsContent1:"您必须选择一种或多种颜色进行下一步。",jsContent2:"您必须选择一种或多种颜色进行下一步。",jsContent3:"导出文件失败。"},LibraryPage:{Upload:"上传",Generate:"生成",Delete:"删除",Rename:"重命名",inputContent1:"输入名字进行搜索",all:"全选",ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",inputContent2:"输入生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",Model1:"模型1",Model2:"模型2",inputContent3:"输入生成图片的标题",Cancel:"取消",Sure:"确定",Moodboard:"情绪板",Prints:"印花",Sketches:"服装",Mannequins:"模特",model:"模型",jsContent1:"你确定要删除选中图片吗?",jsContent2:"你确定要删除选中图片吗?",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~",jsContent8:"上传失败",jsContent9:"请输入内容~"},HistoryPage:{History:"历史",StartDate:"开始日期",EndDate:"结束日期",inputContent1:"输入名字进行搜索",Detail:"细节",Rename:"重命名",Retrieve:"选择",Delete:"删除",inputContent2:"请输入新名称",Submit:"保存",CollectionsName:"名字",UptateTime:"修改时间",SketchCounts:"草图数量",Operations:"Operations",jsContent1:"删除成功",jsContent2:"您确定要删除这个收藏吗?",jsContent3:"修改成功",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},ModelPlacement:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",System:"系统",Library:"收藏",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},ModelPlacementMobile:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},Upload:{Delete:"删除",Maximum2M:"您最多可以上传10张照片,每张照片不能超过2MB",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"上传失败"},SketchboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的服装缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent4:"超过允许上传的最大图片数量",jsContent5:"请选择一张图片",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},PrintboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的印花缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"超过允许上传的最大图片数量",jsContent4:"请选择一张图片",jsContent5:"输入的内容超过允许输入的最大长度",jsContent6:"请输入内容~"},ColorboardUpload:{Thumbnail:"选择的颜色缩略图",Clear:"清除",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",ColorCode:"颜色代码",ExtractColor:"提取颜色",jsContent1:"您的浏览器不支持",jsContent2:"找不到这个TCX的颜色",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请输入正确的TCX值"},MoodboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",Delete:"删除",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的情绪板缩略图",layout:"布局",jsContent1:"您最多可以选择8张图片",jsContent2:"上传失败",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请点击布局进行随机排序"},Cropper:{Cutpicture:"切图",Finish:"完成",Cancel:"取消",CropPreview:"缩略图"},Material:{inputContent1:"输入名字进行搜索",PIN:"PIN"},MarketingSketchUpload:{Upload:"上传",MyLibrary:"我的收藏",maximumLength:"最多可以上传15张照片,每张照片不能超过2MB",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent5:"超过允许上传的最大图片数量"},layout:{MoodBoardDesign:"设计情绪板",LayerOptions:"图层选项",Submit:"保存"},Generate:{ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",Model1:"模型1",Model2:"模型2",inputContent1:"输入生成图片的标题",Generate:"生成",maximumLength:"输入的内容超过允许输入的最大长度",Model:"模型",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"请输入内容~",jsContent4:"输入的内容超过允许输入的最大长度",jsContent5:"请输入内容~",jsContent6:"您最多可以选择8张图片",jsContent7:"上传失败"},collectionModal:{Moodboard:"情绪板",Printboard:"印花板",Colorboard:"颜色板",Sketchboard:"服装板块",MoodCollection:"选择需要收藏的情绪板",PrinCollection:"选择需要收藏的印花板",ColorCollection:"选择需要收藏的颜色板",SketchCollection:"选择需要收藏的服装板",jsContent1:"您必须选择图片然后点击布局.",jsContent2:"上传的文件不会保存,是否继续? ",jsContent3:"您必须选择一种或多种颜色进行下一步。"},DesignDetail:{Details:"详情",EditDetails:"编辑设计的细节",Submit:"保存",CurrentApparel:"当前服装",CurrentPrint:"当前印花",CurrentColor:"当前颜色"},DesignDetailAlter:{Upload:"上传",Library:"收藏",inputContent1:"输入名字进行搜索",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",Delete:"删除",ColorCode:"颜色代码",jsContent1:"您的浏览器不支持",jsContent2:"您最多可以选择8张图片",jsContent3:"上传失败",jsContent4:"您只能上传图片文件!",jsContent5:"Image must smaller than 5MB!",jsContent6:"找不到这个TCX的颜色"},DesignDetailEnd:{NewApparel:"选择的服装",NewPrint:"选择的印花",Placement:"模式",Overall:"整体",Single:"单个",NewColor:"选择的颜色",preview:"预览",Layout:"布局",jsContent1:"请选择印个印花"},DesignPrintOperation:{Placement:"调整位置",Overall:"整体",Single:"单个",Random:"随机",inputContent:"输入名字进行搜索",preview:"预览",jsContent1:"以上操作没有保存,是否继续? "},uploadFile:{jsContent1:"您最多可以选择8张图片哦"}},H={Header:{hello:"안녕하세요",HOME:"집",LIBRARY:"도서관",HISTORY:"역사",bindEmail:"이메일 바인딩",logOff:"로그 오프",language:"언어",skip:"건너뛰다",emailContent:"당신은 이메일을 바인딩했습니다",Email:"이메일",NextStep:"다음 단계",verification:"인증코드를 입력하세요",SentTo:"전송",Resend:"재전송",jsContent1:"이메일 형식이 올바르지 않습니다.",jsContent2:"메일함 바인딩에 성공했습니다.",jsContent3:"오랫동안 어떤 작업도 수행하지 않았습니다. 활성 상태여야 합니다. 그렇지 않으면 {numTime}초 후에 로그아웃됩니다."},Habit:{Workspace:"작업공간",WorkspaceSetting:"작업공간 설정",settingWorkspace:"작업 공간 설정을 조정하세요",Overall:"전반적인",Single:"하나의",System:"체계",Designer:"디자이너",Mannequin:"마네킹",Current:"현재의",User:"사용자",jsContent1:"작업공간 삭제 여부?",jsContent2:"작업대 이름을 입력하세요."},RobotAssist:{inputContent1:"메시지를 쓰다~",jsContent1:"내용을 입력해주세요"},HomeView:{GetStarted:"시작하다",Start:"시작",Edit:"편집하다",Design:"설계",Redesign:"디자인재설계",GeneratedDesign:"생성된 디자인",SelectedDesign:"선택된 디자인",Export:"내보내다",moodboard:"무드보드",printboard:"인쇄판",colorboard:"컬러보드",sketchboard:"스케치보드",mannequins:"마네킹",jsContent1:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent2:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent3:"파일을 내보내지 못했습니다."},LibraryPage:{Upload:"업로드",Generate:"생성하다",Delete:"삭제",Rename:"이름 바꾸기",inputContent1:"스타일 코드로 검색",all:"모두",ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",inputContent2:"프롬프트 입력",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model1:"모델1",Model2:"모델2",inputContent3:"프롬프트 입력",Cancel:"취소",Sure:"확신하는",Moodboard:"무드보드",Prints:"인쇄물",Sketches:"스케치",Mannequins:"마네킹",model:"모델",jsContent1:"사진을 삭제하시겠습니까?",jsContent2:"사진을 삭제하시겠습니까?",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요",jsContent8:"업로드 실패",jsContent9:"내용을 입력해주세요"},HistoryPage:{History:"역사",StartDate:"시작일",EndDate:"종료일",inputContent1:"컬렉션 이름으로 검색",Detail:"세부 사항",Rename:"이름 바꾸기",Retrieve:"검색하다",Delete:"삭제",inputContent2:"새 이름을 입력하세요.",Submit:"제출하다",CollectionsName:"컬렉션 이름",UptateTime:"업데이트 시간",SketchCounts:"스케치 수",Operations:"운영",jsContent1:"삭제되었습니다.",jsContent2:"이 컬렉션을 삭제하시겠습니까?? ",jsContent3:"성공적으로 변경되었습니다.",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},ModelPlacement:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},ModelPlacementMobile:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},Upload:{Delete:"삭제",Maximum2M:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"업로드 실패"},SketchboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 스케치보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent4:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent5:"사진을 선택해주세요",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},PrintboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 프린트보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent4:"사진을 선택해주세요",jsContent5:"입력한 내용이 최대 길이를 초과했습니다.",jsContent6:"내용을 입력해주세요"},ColorboardUpload:{Thumbnail:"선택한 컬러보드의 썸네일 미리보기",Clear:"분명한",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",ColorCode:"색상 코드",ExtractColor:"색상 추출",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"TCX 색상을 찾을 수 없습니다",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:'올바른 TCX 값을 입력하세요"'},MoodboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",Delete:"삭제",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 무드보드의 썸네일 미리보기",layout:"정렬하려면",jsContent1:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent2:"업로드 실패",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"무작위로 정렬하려면 레이아웃을 클릭하세요."},Cropper:{Cutpicture:"컷 그림",Finish:"마치다",Cancel:"취소",CropPreview:"자르기 미리보기"},Material:{inputContent1:"입력해주세요",PIN:"PIN"},MarketingSketchUpload:{Upload:"업로드",MyLibrary:"나의 신문",maximumLength:"최대 15개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent5:"허용되는 최대 파일 업로드 수가 초과되었습니다."},layout:{MoodBoardDesign:"무드보드 디자인",LayerOptions:"레이어 옵션",Submit:"제출하다"},Generate:{ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",Model1:"모델1",Model2:"모델2",inputContent1:"프롬프트 입력",Generate:"생성하다",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model:"모델1",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"내용을 입력해주세요",jsContent4:"입력한 내용이 최대 길이를 초과했습니다.",jsContent5:"내용을 입력해주세요",jsContent6:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent7:"업로드 실패"},collectionModal:{Moodboard:"무드보드",Printboard:"프린트보드",Colorboard:"컬러보드",Sketchboard:"스케치보드",MoodCollection:"컬렉션에 대한 무드보드를 선택하세요",PrinCollection:"컬렉션을 위한 프린트보드를 선택하세요",ColorCollection:"컬렉션의 색상을 선택하세요",SketchCollection:"컬렉션에 사용할 스케치보드를 선택하세요",jsContent1:"이미지를 선택한 후 레이아웃을 사용해야 합니다.",jsContent2:"업로드한 파일은 저장되지 않습니다. 계속하시겠습니까? ",jsContent3:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다."},DesignDetail:{Details:"세부",EditDetails:"디자인의 세부 사항을 편집하세요",Submit:"제출하다",CurrentApparel:"현재 의류",CurrentPrint:"현재 인쇄",CurrentColor:"현재 색상"},DesignDetailAlter:{Upload:"업로드",Library:"도서관",inputContent1:"입력해주세요",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",Delete:"삭제",ColorCode:"색상 코드",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent3:"업로드 실패",jsContent4:"이미지 파일만 업로드할 수 있습니다!",jsContent5:"이미지는 5MB보다 작아야 합니다.!",jsContent6:"TCX 색상을 찾을 수 없습니다"},DesignDetailEnd:{NewApparel:"새로운 의류",NewPrint:"새 인쇄",Placement:"놓기",Overall:"전반적인",Single:"하나의",NewColor:"새로운 색상",preview:"시사",Layout:"정렬하려면",jsContent1:"인쇄를 선택해주세요"},DesignPrintOperation:{Placement:"놓기",Overall:"전반적인",Single:"하나의",Random:"무작위의",inputContent:"입력해주세요",preview:"시사",jsContent1:"위 변경사항이 저장되지 않았습니다. 계속하시겠습니까? "},uploadFile:{jsContent1:"최대 8개의 이미지를 선택할 수 있습니다."}},I={Header:{hello:"こんにちは",HOME:"ホームページ",LIBRARY:"集める",HISTORY:"歴史",bindEmail:"電子メールをバインドする",logOff:"ログオフ",language:"言語",skip:"スキップ",emailContent:"電子メールをバインドしました",Email:"Eメール",NextStep:"次のステップ",verification:"確認コードを入力してください",SentTo:"に送信された",Resend:"再送信",jsContent1:"メールの形式が間違っています",jsContent2:"メールボックスのバインドに成功しました。",jsContent3:"長期間操作を行っていません。アクティブである必要があります。そうでない場合は、{numTime} S でログアウトします。"},Habit:{Workspace:"ワークスペース",WorkspaceSetting:"ワークスペースの設定",settingWorkspace:"ワークスペース設定を調整する",Overall:"全体",Single:"シングル",System:"システム",Designer:"デザイナー",Mannequin:"マネキン",Current:"現在",User:"ユーザー",jsContent1:"ワークスペースを削除するかどうか?",jsContent2:"ワークベンチ名を入力してください"},RobotAssist:{inputContent1:"メッセージを書いてください~",jsContent1:"内容を入力してください"},HomeView:{GetStarted:"始めましょう",Start:"始める",Edit:"編集",Design:"デザイン",Redesign:"再設計",GeneratedDesign:"生成されたデザイン",SelectedDesign:"選択されたデザイン",Export:"輸出",moodboard:"ムードボード",printboard:"プリント基板",colorboard:"カラーボード",sketchboard:"スケッチボード",mannequins:"マネキン",jsContent1:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent2:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent3:"ファイルのエクスポートに失敗しました"},LibraryPage:{Upload:"アップロード",Generate:"生成する",Delete:"消去",Rename:"名前の変更",inputContent1:"スタイルコードで検索",all:"全て",ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",inputContent2:"プロンプト入力",maximumLength:"入力した内容が最大長を超えています.",Model1:"モデル1",Model2:"モデル2",inputContent3:"プロンプト入力",Cancel:"キャンセル",Sure:"もちろん",Moodboard:"ムードボード",Prints:"プリント",Sketches:"スケッチ",Mannequins:"マネキン",model:"モデル",jsContent1:"画像を削除してもよろしいですか?",jsContent2:"画像を削除してもよろしいですか?",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください",jsContent8:"アップロードに失敗しました",jsContent9:"内容を入力してください"},HistoryPage:{History:"歴史",StartDate:"開始日",EndDate:"終了日",inputContent1:"コレクション名で検索",Detail:"詳細",Rename:"名前の変更",Retrieve:"取得",Delete:"消去",inputContent2:"新しい名前を入力してください",Submit:"提出す",CollectionsName:"コレクション名",UptateTime:"更新時間",SketchCounts:"スケッチ数",Operations:"オペレーション",jsContent1:"正常に削除されました",jsContent2:"本当にこのコレクションを削除してもよろしいですか? ",jsContent3:"正常に変更されました",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},ModelPlacement:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},ModelPlacementMobile:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},Upload:{Delete:"消去",Maximum2M:"画像は最大8枚アップロード可能、1枚あたり最大2M",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"アップロードに失敗しました"},SketchboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したスケッチボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent4:"許可されるファイルアップロードの最大数を超えました",jsContent5:"写真を選択してください",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},PrintboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したプリントボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"許可されるファイルアップロードの最大数を超えました",jsContent4:"写真を選択してください",jsContent5:"入力した内容が最大長を超えています.",jsContent6:"内容を入力してください"},ColorboardUpload:{Thumbnail:"選択したカラーボードのサムネイル プレビュー",Clear:"クリア",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",ColorCode:"カラーコード",ExtractColor:"色の抽出",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"TCXの色が見つからない",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"正しい TCX 値を入力してください。」"},MoodboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",Delete:"消去",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したムードボードのサムネイル プレビュー",layout:"レイアウト",jsContent1:"最大8枚の画像を選択できます",jsContent2:"アップロードに失敗しました",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"ランダムに並べ替えるには、「レイアウト」をクリックしてください"},Cropper:{Cutpicture:"カット絵",Finish:"仕上げる",Cancel:"キャンセル",CropPreview:"クロッププレビュー"},Material:{inputContent1:"入力してください",PIN:"PIN"},MarketingSketchUpload:{Upload:"アップロード",MyLibrary:"私のライブラリ",maximumLength:"画像は最大15枚アップロード可能、1枚あたり最大2M",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent5:"許可されるファイルアップロードの最大数を超えました"},layout:{MoodBoardDesign:"ムードボードのデザイン",LayerOptions:"レイヤーオプション",Submit:"提出す"},Generate:{ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",Model1:"モデル1",Model2:"モデル2",inputContent1:"プロンプト入力",Generate:"生成する",Model:"モデル",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"内容を入力してください",jsContent4:"入力した内容が最大長を超えています.",jsContent5:"内容を入力してください",jsContent6:"最大8枚の画像を選択できます",jsContent7:"アップロードに失敗しました"},collectionModal:{Moodboard:"ムードボード",Printboard:"プリント基板",Colorboard:"カラーボード",Sketchboard:"スケッチボード",MoodCollection:"コレクション用のムードボードを選択してください",PrinCollection:"コレクションに合わせてプリントボードを選択してください",ColorCollection:"コレクションの色を選択してください",SketchCollection:"コレクション用のスケッチボードを選択してください",jsContent1:"画像を選択してからレイアウトを使用する必要があります.",jsContent2:"アップロードされたファイルは保存されません。続行しますか? ",jsContent3:"以降の処理には 1 つ以上の色を選択する必要があります。"},DesignDetail:{Details:"詳細",EditDetails:"デザインの詳細を編集する",Submit:"提出す",CurrentApparel:"現在のアパレル",CurrentPrint:"現在の印刷物",CurrentColor:"現在の色"},DesignDetailAlter:{Upload:"アップロード",Library:"集める",inputContent1:"入力してください",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",Delete:"消去",ColorCode:"カラーコード",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"最大8枚の画像を選択できます",jsContent3:"アップロードに失敗しました",jsContent4:"画像ファイルのみアップロードできます!",jsContent5:"画像は 5MB 未満である必要があります!",jsContent6:"TCXの色が見つからない"},DesignDetailEnd:{NewApparel:"新しいアパレル",NewPrint:"新しいプリント",Placement:"配置",Overall:"全体",Single:"シングル",NewColor:"新色",preview:"プレビュー",Layout:"レイアウト",jsContent1:"印刷を選択してください"},DesignPrintOperation:{Placement:"配置",Overall:"全体",Single:"シングル",Random:"ランダム",inputContent:"入力してください",preview:"プレビュー",jsContent1:"上記の変更は保存されません。続行しますか? "},uploadFile:{jsContent1:"最大8枚の画像を選択できます"}},k={Header:{hello:"привет",HOME:"ДОМ",LIBRARY:"БИБЛИОТЕКА",HISTORY:"ИСТОРИЯ",bindEmail:"привязать электронную почту",logOff:"выйти",language:"язык",skip:"пропускать",emailContent:"у вас привязана электронная почта",Email:"Электронная почта",NextStep:"Следующий шаг",verification:"введите код подтверждения",SentTo:"Отправлено в",Resend:"Отправить",jsContent1:"Формат электронной почты неправильный",jsContent2:"Удалось привязать почтовый ящик.",jsContent3:"Вы давно не выполняли никаких операций. Вы должны быть активны, иначе вы выйдете из системы через {numTime} S"},Habit:{Workspace:"Рабочая среда",WorkspaceSetting:"Настройка рабочего пространства",settingWorkspace:"отрегулируйте настройки вашего рабочего пространства",Overall:"Общий",Single:"Одинокий",System:"Система",Designer:"Дизайнер",Mannequin:"Манекен",Current:"Текущий",User:"Пользователь",jsContent1:"Удалять ли рабочую область?",jsContent2:"Пожалуйста, введите название рабочей среды"},RobotAssist:{inputContent1:"Напиши сообщение~",jsContent1:"Пожалуйста, введите содержание"},HomeView:{GetStarted:"Начать",Start:"Начинать",Edit:"Редактировать",Design:"Дизайн",Redesign:"Редизайн",GeneratedDesign:"Сгенерированный дизайн",SelectedDesign:"Выбранный дизайн",Export:"Экспорт",moodboard:"мудборд",printboard:"печатная плата",colorboard:"цветная доска",sketchboard:"доска для рисования",mannequins:"манекены",jsContent1:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent2:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent3:"Не удалось экспортировать файл"},LibraryPage:{Upload:"Загрузить",Generate:"Генерировать",Delete:"Удалить",Rename:"Переименовать",inputContent1:"Поиск по коду вашего стиля",all:"all",ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",inputContent2:"Быстрый ввод",maximumLength:"Введенный контент превышает максимальную длину.",Model1:"Модель1",Model2:"Модель2",inputContent3:"Быстрый ввод",Cancel:"Отмена",Sure:"Конечно",Moodboard:"Мудборд",Prints:"Принты",Sketches:"Эскизы",Mannequins:"Манекены",model:"mодель",jsContent1:"Вы уверены, что удалите картинку?",jsContent2:"Вы уверены, что удалите картинку?",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание",jsContent8:"Загрузка не удалась",jsContent9:"Пожалуйста, введите содержание"},HistoryPage:{History:"История",StartDate:"Дата начала",EndDate:"Дата окончания",inputContent1:"Поиск по названию коллекции",Detail:"Деталь",Rename:"Переименовать",Retrieve:"Забрать",Delete:"Удалить",inputContent2:"Введите новое имя",Submit:"Запись",CollectionsName:"Название коллекции",UptateTime:"Время обновления",SketchCounts:"Эскиз имеет значение",Operations:"Операции",jsContent1:"Удален успешно",jsContent2:"Вы действительно хотите удалить эту коллекцию?? ",jsContent3:"Изменение успешно",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},ModelPlacement:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},ModelPlacementMobile:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},Upload:{Delete:"Удалить",Maximum2M:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Загрузка не удалась"},SketchboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной эскизной панели",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent4:"Превышено максимально допустимое количество загрузок файлов.",jsContent5:"Пожалуйста, выберите изображение",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},PrintboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной печатной платы",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Превышено максимально допустимое количество загрузок файлов.",jsContent4:"Пожалуйста, выберите изображение",jsContent5:"Введенный контент превышает максимальную длину.",jsContent6:"Пожалуйста, введите содержание"},ColorboardUpload:{Thumbnail:"Предварительный просмотр миниатюр выбранной цветовой доски",Clear:"Ясно",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",ColorCode:"Цветовой код",ExtractColor:"Извлечь цвет",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Не могу найти цвет TCX",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, введите правильное значение TCX"},MoodboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",Delete:"Удалить",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранного мудборда",layout:"макет",jsContent1:"Вы можете выбрать до 8 изображений",jsContent2:"Загрузка не удалась",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, нажмите «Макет», чтобы отсортировать в случайном порядке."},Cropper:{Cutpicture:"Обрезать картинку",Finish:"Заканчивать",Cancel:"Отмена",CropPreview:"Crop Превью"},Material:{inputContent1:"Пожалуйста, введите",PIN:"PIN"},MarketingSketchUpload:{Upload:"Загрузить",MyLibrary:"Моя библиотека",maximumLength:"Можно загрузить максимум 15 изображений, максимум 2M на изображение.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent5:"Превышено максимально допустимое количество загрузок файлов."},layout:{MoodBoardDesign:"Дизайн Мудборда",LayerOptions:"Параметры слоя",Submit:"Запись"},Generate:{ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",Model1:"Модель1",Model2:"Модель2",inputContent1:"Быстрый ввод",Generate:"Генерировать",maximumLength:"Введенный контент превышает максимальную длину.",Model:"Модель",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Пожалуйста, введите содержание",jsContent4:"Введенный контент превышает максимальную длину.",jsContent5:"Пожалуйста, введите содержание",jsContent6:"Вы можете выбрать до 8 изображений",jsContent7:"Загрузка не удалась"},collectionModal:{Moodboard:"Мудборд",Printboard:"Печатная плата",Colorboard:"Цветная доска",Sketchboard:"Скетчборд",MoodCollection:"выберите мудборд для своей коллекции",PrinCollection:"выберите печатную плату для своей коллекции",ColorCollection:"выберите цвета для своей коллекции",SketchCollection:"выберите скетчборд для своей коллекции",jsContent1:"Вы должны выбрать изображение, а затем использовать макет.",jsContent2:"Загруженные файлы не сохранятся, обязательно продолжайте? ",jsContent3:"Вы должны выбрать один или несколько цветов для дальнейшей обработки.."},DesignDetail:{Details:"Подробности",EditDetails:"Отредактируйте детали вашего дизайна",Submit:"Запись",CurrentApparel:"Текущая одежда",CurrentPrint:"Текущая печать",CurrentColor:"Текущий цвет"},DesignDetailAlter:{Upload:"Загрузить",Library:"Библиотека",inputContent1:"Пожалуйста, введите",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",Delete:"Удалить",ColorCode:"Цветовой код",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Вы можете выбрать до 8 изображений",jsContent3:"Загрузка не удалась",jsContent4:"Вы можете загрузить только файл изображения!",jsContent5:"Изображение должно быть меньше 5 МБ!",jsContent6:"Не могу найти цвет TCX"},DesignDetailEnd:{NewApparel:"Новая одежда",NewPrint:"Новая печать",Placement:"Размещение",Overall:"Общий",Single:"Одинокий",NewColor:"Новый цвет",preview:"просмотр",Layout:"Макет",jsContent1:"Пожалуйста, выберите печать"},DesignPrintOperation:{Placement:"Размещение",Overall:"Общий",Single:"Одинокий",Random:"Случайный",inputContent:"Пожалуйста, введите",preview:"просмотр",jsContent1:"Вышеуказанные изменения не сохраняются, обязательно продолжайте? "},uploadFile:{jsContent1:"Вы можете выбрать до 8 изображений"}},A={Header:{hello:"Bonjour",HOME:"MAISON",LIBRARY:"BIBLIOTHÈQUE",HISTORY:"HISTOIRE",bindEmail:"lier un e-mail",logOff:"dérouler",language:"langue",skip:"sauter",emailContent:"vous avez un e-mail lié",Email:"E-mail",NextStep:"L'étape suivante",verification:"Entrez le code de vérification",SentTo:"Envoyé à",Resend:"Renvoyer",jsContent1:"Le format de l'e-mail est incorrect",jsContent2:"J'ai réussi à lier la boîte aux lettres.",jsContent3:"Vous n'avez effectué aucune opération depuis longtemps. Vous devez être actif, sinon vous vous déconnecterez dans {numTime} S"},Habit:{Workspace:"Espace de travail",WorkspaceSetting:"Paramètres de l'espace de travail",settingWorkspace:"ajustez les paramètres de votre espace de travail",Overall:"tous",Single:"Célibataire",System:"Système",Designer:"Designer",Mannequin:"Mannequin",Current:"Actuel",User:"Utilisateur",jsContent1:"S'il faut supprimer l'espace de travail?",jsContent2:"Veuillez saisir un nom d'atelier"},RobotAssist:{inputContent1:"écrire un message~",jsContent1:"Veuillez saisir le contenu"},HomeView:{GetStarted:"Commencer",Start:"Commencer",Edit:"Modifier",Design:"Conception",Redesign:"Refonte",GeneratedDesign:"Conception générée",SelectedDesign:"Conception sélectionnée",Export:"Exporter",moodboard:"Conseil d'humeur",printboard:"carton imprimé",colorboard:"tableau de couleurs",sketchboard:"planche à croquis",mannequins:"mannequins",jsContent1:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent2:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent3:"Échec de l'exportation du fichier"},LibraryPage:{Upload:"Télécharger",Generate:"Générer",Delete:"Supprimer",Rename:"Renommer",inputContent1:"Recherchez par votre code de style",all:"tout",ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",inputContent2:"Saisie rapide",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model1:"Modèle1",Model2:"Modèle2",inputContent3:"Saisie rapide",Cancel:"Annuler",Sure:"Bien sûr",Moodboard:"Conseil d'humeur",Prints:"Impressions",Sketches:"Croquis",Mannequins:"Mannequins",model:"modèle",jsContent1:"Êtes-vous sûr de supprimer l'image?",jsContent2:"Êtes-vous sûr de supprimer l'image?",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu",jsContent8:"échec du téléchargement",jsContent9:"Veuillez saisir le contenu"},HistoryPage:{History:"Histoire",StartDate:"Date de début",EndDate:"Date de fin",inputContent1:"Rechercher par nom de collection",Detail:"Détail",Rename:"Renommer",Retrieve:"Récupérer",Delete:"Supprimer",inputContent2:"Entrez un nouveau nom",Submit:"Soumettre",CollectionsName:"Nom de la collection",UptateTime:"Temps de mise à jour",SketchCounts:"Nombre d'esquisses",Operations:"Opérations",jsContent1:"Supprimé avec succès",jsContent2:"Voulez-vous vraiment supprimer cette collection? ",jsContent3:"Changer avec succès",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},ModelPlacement:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},ModelPlacementMobile:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},Upload:{Delete:"Sopprimere",Maximum2M:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"échec du téléchargement"},SketchboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du tableau de croquis sélectionné",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent4:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent5:"Veuillez sélectionner une image",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},PrintboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature de la carte d'impression sélectionnée",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent4:"Veuillez sélectionner une image",jsContent5:"Le contenu saisi dépasse la longueur maximale.",jsContent6:"Veuillez saisir le contenu"},ColorboardUpload:{Thumbnail:"Aperçu miniature du colorboard sélectionné",Clear:"Clair",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",ColorCode:"Code couleur",ExtractColor:"Extraire la couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Je ne trouve pas la couleur TCX",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez saisir la valeur TCX correcte"},MoodboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",Delete:"Supprimer",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du moodboard sélectionné",layout:"mise en page",jsContent1:"Vous pouvez sélectionner jusqu'à 8 images",jsContent2:"échec du téléchargement",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez cliquer sur Mise en page pour trier aléatoirement"},Cropper:{Cutpicture:"Couper l'image",Finish:"Finition",Cancel:"Annuler",CropPreview:"Aperçu du recadrage"},Material:{inputContent1:"Veuillez saisir",PIN:"PIN"},MarketingSketchUpload:{Upload:"Télécharger",MyLibrary:"Ma bibliothèque",maximumLength:"Un maximum de 15 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent5:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé"},layout:{MoodBoardDesign:"Conception du MoodBoard",LayerOptions:"Options de calque",Submit:"Soumettre"},Generate:{ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",Model1:"Modèle1",Model2:"Modèle2",inputContent1:"Saisie rapide",Generate:"Générer",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model:"Modèle",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Veuillez saisir le contenu",jsContent4:"Le contenu saisi dépasse la longueur maximale.",jsContent5:"Veuillez saisir le contenu",jsContent6:"Vous pouvez sélectionner jusqu'à 8 images",jsContent7:"échec du téléchargement"},collectionModal:{Moodboard:"Conseil d'humeur",Printboard:"Tableau imprimé",Colorboard:"Tableau de couleurs",Sketchboard:"Tableau à croquis",MoodCollection:"sélectionnez le moodboard pour votre collection",PrinCollection:"sélectionnez le carton imprimé pour votre collection",ColorCollection:"sélectionnez les couleurs pour votre collection",SketchCollection:"sélectionnez un tableau à croquis pour votre collection",jsContent1:"Vous devez sélectionner l'image puis utiliser la mise en page.",jsContent2:"Les fichiers téléchargés ne seront pas enregistrés, assurez-vous de continuer? ",jsContent3:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur."},DesignDetail:{Details:"Détails",EditDetails:"Modifiez les détails de votre conception",Submit:"Soumettre",CurrentApparel:"Vêtements actuels",CurrentPrint:"Impression actuelle",CurrentColor:"Couleur actuelle"},DesignDetailAlter:{Upload:"Télécharger",Library:"Bibliothèque",inputContent1:"Veuillez saisir",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",Delete:"Supprimer",ColorCode:"Code couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Vous pouvez sélectionner jusqu'à 8 images",jsContent3:"échec du téléchargement",jsContent4:"Vous pouvez uniquement télécharger un fichier image!",jsContent5:"L'image doit être inférieure à 5 Mo!",jsContent6:"La couleur de TXCX est introuvable"},DesignDetailEnd:{NewApparel:"Nouveaux vêtements",NewPrint:"Nouvelle impression",Placement:"Placement",Overall:"tous",Single:"Célibataire",NewColor:"Nouvelle couleur",preview:"Aperçu",Layout:"Mise en page",jsContent1:"Veuillez sélectionner imprimer"},DesignPrintOperation:{Placement:"Placement",Overall:"tous",Single:"Célibataire",Random:"Aléatoire",inputContent:"Veuillez saisir",preview:"Aperçu",jsContent1:"Les modifications ci-dessus ne sont pas enregistrées, assurez-vous de continuer? "},uploadFile:{jsContent1:"Vous pouvez sélectionner jusqu'à 8 images"}},R={Header:{hello:"สวัสดี",HOME:"หน้าแรก",LIBRARY:"ไลบรารี",HISTORY:"ประวัติความเป็นมา",bindEmail:"ผูกอีเมล",logOff:"ออกจากระบบ",language:"เปลี่ยนภาษา",skip:"ข้าม",emailContent:"ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ",Email:"อีเมล",NextStep:"ขั้นตอนต่อไป",verification:"ใส่รหัสยืนยัน",SentTo:"ส่งไปยัง",Resend:"ส่งอีกครั้ง",jsContent1:"รูปแบบอีเมลไม่ถูกต้อง",jsContent2:"ประสบความสำเร็จในการผูกกล่องจดหมาย.",jsContent3:"เป็นเวลานานแล้วที่คุณไม่ได้ทำอะไรเลย คุณต้องใช้งานอยู่ ไม่เช่นนั้นคุณจะออกจากระบบหลังจากผ่านไป {numTime} วินาที"},Habit:{Workspace:"พื้นที่ทำงาน",WorkspaceSetting:"การตั้งค่าพื้นที่ทำงาน",settingWorkspace:"ปรับการตั้งค่าพื้นที่ทำงานของคุณ",Overall:"โดยรวม",Single:"เดี่ยว",System:"ระบบ",Designer:"ดีไซเนอร์",Mannequin:"นางแบบ",Current:"ปัจจุบัน",User:"ผู้ใช้",jsContent1:"ไม่ว่าจะลบพื้นที่ทำงาน?",jsContent2:"โปรดป้อนชื่อเวิร์กเบนช์"},RobotAssist:{inputContent1:"เขียนข้อความ~",jsContent1:"กรุณากรอกเนื้อหา"},HomeView:{GetStarted:"เริ่มต้น",Start:"เริ่ม",Edit:"แก้ไข",Design:"ออกแบบ",Redesign:"ออกแบบใหม่",GeneratedDesign:"การออกแบบที่สร้างขึ้น",SelectedDesign:"การออกแบบที่เลือก",Export:"ส่งออก",moodboard:"มูดบอร์ด",printboard:"บอร์ดพิมพ์",colorboard:"กระดานสี",sketchboard:"กระดานสเก็ตช์",mannequins:"หุ่น",jsContent1:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent2:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent3:"ล้มเหลวในการส่งออกไฟล์"},LibraryPage:{Upload:"อัปโหลด",Generate:"กำเนิด",Delete:"ลบ",Rename:"เปลี่ยนชื่อ",inputContent1:"ค้นหาตามรหัสสไตล์ของคุณ",all:"ทั้งหมด",ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",inputContent2:"ป้อนข้อมูลทันที",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent3:"ป้อนข้อมูลทันที",Cancel:"ยกเลิก",Sure:"ได้เลย",Moodboard:"มูดบอร์ด",Prints:"พิมพ์",Sketches:"สเก็ตช์",Mannequins:"หุ่นจำลอง",model:"แบบอย่าง",jsContent1:"แน่ใจนะว่าจะลบรูปนี้?",jsContent2:"แน่ใจนะว่าจะลบรูปนี้?",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา",jsContent8:"การอัพโหลดล้มเหลว",jsContent9:"กรุณากรอกเนื้อหา"},HistoryPage:{History:"ประวัติความเป็นมา",StartDate:"วันที่เริ่มต้น",EndDate:"วันที่สิ้นสุด",inputContent1:"ค้นหาตามชื่อคอลเลกชัน",Detail:"รายละเอียด",Rename:"เปลี่ยนชื่อ",Retrieve:"ดึงข้อมูล",Delete:"ลบ",inputContent2:"ป้อนชื่อใหม่",Submit:"บันทึก",CollectionsName:"ชื่อคอลเลกชัน",UptateTime:"เวลาอัปเดต",SketchCounts:"จำนวนภาพร่าง",Operations:"การดำเนินงาน",jsContent1:"ลบ ประสบความสำเร็จ",jsContent2:"คุณต้องการลบคอลเล็กชันนี้จริงๆ หรือไม่? ",jsContent3:"เปลี่ยนสำเร็จ",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},ModelPlacement:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",System:"ระบบ",Library:"ห้องสมุด",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},ModelPlacementMobile:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},Upload:{Delete:"ลบ",Maximum2M:"สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"การอัพโหลดล้มเหลว"},SketchboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานร่างภาพที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent4:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent5:"กรุณาเลือกรูปภาพ",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},PrintboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของบอร์ดพิมพ์ที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent4:"กรุณาเลือกรูปภาพ",jsContent5:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent6:"กรุณากรอกเนื้อหา"},ColorboardUpload:{Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานสีที่เลือก",Clear:"ชัดเจน",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",ColorCode:"รหัสสี",ExtractColor:"สารสกัดจากสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"ไม่พบสี TCX",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"โปรดป้อนค่า TCX ที่ถูกต้อง"},MoodboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",Delete:"ลบ",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของมูดบอร์ดที่เลือก",layout:"เลย์เอาต์",jsContent1:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent2:"การอัพโหลดล้มเหลว",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"กรุณาคลิกเค้าโครงเพื่อเรียงลำดับแบบสุ่ม"},Cropper:{Cutpicture:"ตัดภาพ",Finish:"เสร็จ",Cancel:"ยกเลิก",CropPreview:"ครอบตัดตัวอย่าง"},Material:{inputContent1:"กรุณาป้อนข้อมูล",PIN:"PIN"},MarketingSketchUpload:{Upload:"อัปโหลด",MyLibrary:"ห้องสมุดของฉัน",maximumLength:"สามารถอัปโหลดได้สูงสุด 15 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว"},layout:{MoodBoardDesign:"MoodBoard Design",LayerOptions:"ตัวเลือกเลเยอร์",Submit:"บันทึก"},Generate:{ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent1:"ป้อนข้อมูลทันที",Generate:"กำเนิด",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model:"แบบอย่าง",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"กรุณากรอกเนื้อหา",jsContent4:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent5:"กรุณากรอกเนื้อหา",jsContent6:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent7:"การอัพโหลดล้มเหลว"},collectionModal:{Moodboard:"มูดบอร์ด",Printboard:"บอร์ดพิมพ์",Colorboard:"กระดานสี",Sketchboard:"กระดานสเก็ตช์",MoodCollection:"เลือกมูดบอร์ดสำหรับคอลเลกชันของคุณ",PrinCollection:"เลือกกระดานพิมพ์สำหรับคอลเลกชันของคุณ",ColorCollection:"เลือกสีสำหรับคอลเลกชันของคุณ",SketchCollection:"เลือกกระดานร่างสำหรับคอลเลกชันของคุณ",jsContent1:"คุณต้องเลือกรูปภาพแล้วใช้เค้าโครง.",jsContent2:"ไฟล์ที่อัพโหลดจะไม่ถูกบันทึก โปรดดำเนินการต่อ? ",jsContent3:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป."},DesignDetail:{Details:"รายละเอียด",EditDetails:"แก้ไขรายละเอียดการออกแบบของคุณ",Submit:"บันทึก",CurrentApparel:"เครื่องแต่งกายปัจจุบัน",CurrentPrint:"การพิมพ์ในปัจจุบัน",CurrentColor:"สีปัจจุบัน"},DesignDetailAlter:{Upload:"อัปโหลด",Library:"ห้องสมุด",inputContent1:"กรุณาป้อนข้อมูล",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",Delete:"ลบ",ColorCode:"รหัสสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent3:"การอัพโหลดล้มเหลว",jsContent4:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent5:"รูปภาพต้องมีขนาดเล็กกว่า 5MB!",jsContent6:"ไม่พบสี TCX"},DesignDetailEnd:{NewApparel:"เครื่องแต่งกายใหม่",NewPrint:"พิมพ์ใหม่",Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",NewColor:"สีใหม่",preview:"ดูตัวอย่าง",Layout:"เลย์เอาต์",jsContent1:"กรุณาเลือกพิมพ์"},DesignPrintOperation:{Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",Random:"สุ่ม",inputContent:"กรุณาป้อนข้อมูล",preview:"ดูตัวอย่าง",jsContent1:"การเปลี่ยนแปลงข้างต้นไม่ได้รับการบันทึก โปรดดำเนินการต่อ? "},uploadFile:{jsContent1:"คุณสามารถเลือกได้สูงสุด 8 ภาพ"}},E={Header:{hello:"Xin chào",HOME:"TRANG CHỦ",LIBRARY:"THƯ VIỆN",HISTORY:"LỊCH SỬ",bindEmail:"liên kết email",logOff:"đăng xuất",language:"ngữ",skip:"nhảy",emailContent:"bạn có email bị ràng buộc",Email:"E-mail",NextStep:"Bước tiếp theo",verification:"Nhập mã xác nhận",SentTo:"Gửi đến",Resend:"Gửi lại",jsContent1:"Định dạng email không chính xác",jsContent2:"Đã thành công trong việc ràng buộc hộp thư.",jsContent3:"Bạn đã không thực hiện bất kỳ thao tác nào trong một thời gian dài. Bạn phải hoạt động; nếu không, bạn sẽ đăng xuất khỏi {numTime} S"},Habit:{Workspace:"Không gian làm việc",WorkspaceSetting:"Cài đặt không gian làm việc",settingWorkspace:"điều chỉnh cài đặt không gian làm việc của bạn",Overall:"Tổng thể",Single:"Đơn",System:"Hệ thống",Designer:"Nhà thiết kế",Mannequin:"Ma nơ canh",Current:"Hiện hành",User:"Người dùng",jsContent1:"Có nên xóa không gian làm việc?",jsContent2:"Vui lòng nhập tên bàn làm việc"},RobotAssist:{inputContent1:"viết tin nhắn~",jsContent1:"Vui lòng nhập nội dung"},HomeView:{GetStarted:"Bắt đầu",Start:"Bắt đầu",Edit:"Biên tập",Design:"Thiết kế",Redesign:"Thiết kế lại",GeneratedDesign:"Thiết kế được tạo",SelectedDesign:"Thiết kế đã chọn",Export:"Xuất khẩu",moodboard:"bảng tâm trạng",printboard:"bảng in",colorboard:"bảng màu",sketchboard:"bảng phác thảo",mannequins:"ma-nơ-canh",jsContent1:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent2:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent3:"Không xuất được tệp"},LibraryPage:{Upload:"Tải lên",Generate:"Phát ra",Delete:"Xóa bỏ",Rename:"Đổi tên",inputContent1:"Tìm kiếm theo mã kiểu của bạn",all:"tất cả",ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",inputContent2:"Nhập liệu nhanh chóng",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent3:"Nhập liệu nhanh chóng",Cancel:"Hủy bỏ",Sure:"Chắc chắn",Moodboard:"Bảng tâm trạng",Prints:"Bản in",Sketches:"Bản phác thảo",Mannequins:"ma-nơ-canh",model:"người mẫu",jsContent1:"Bạn có chắc chắn xóa hình ảnh?",jsContent2:"Bạn có chắc chắn xóa hình ảnh?",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung",jsContent8:"Tải lên thất bại",jsContent9:"Vui lòng nhập nội dung"},HistoryPage:{History:"Lịch sử",StartDate:"Ngày bắt đầu",EndDate:"Ngày cuối",inputContent1:"Tìm kiếm theo tên bộ sưu tập",Detail:"Chi tiết",Rename:"Đổi tên",Retrieve:"Lấy lại",Delete:"Xóa bỏ",inputContent2:"Nhập tên mới",Submit:"Nộp",CollectionsName:"Tên bộ sưu tập",UptateTime:"Cập nhật thời gian",SketchCounts:"Số lượng phác thảo",Operations:"Hoạt động",jsContent1:"Đã xoá thành công",jsContent2:"Bạn có thực sự muốn xóa bộ sưu tập này? ",jsContent3:"Thay đổi thành công",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},ModelPlacement:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},ModelPlacementMobile:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},Upload:{Delete:"Xóa bỏ",Maximum2M:"Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Tải lên thất bại"},SketchboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng phác thảo đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent4:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent5:"Vui lòng chọn một hình ảnh",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},PrintboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng in đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent4:"Vui lòng chọn một hình ảnh",jsContent5:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent6:"Vui lòng nhập nội dung"},ColorboardUpload:{Thumbnail:"Xem trước hình thu nhỏ của bảng màu đã chọn",Clear:"Thông thoáng",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",ColorCode:"Mã màu",ExtractColor:"Trích xuất màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Không tìm thấy màu TCX",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Vui lòng nhập giá trị TCX chính xác"},MoodboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",Delete:"Xóa bỏ",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng tâm trạng đã chọn",layout:"cách trình bày",jsContent1:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent2:"Tải lên thất bại",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Hãy nhấn vào Bố cục để sắp xếp ngẫu nhiên"},Cropper:{Cutpicture:"Cắt ảnh",Finish:"Hoàn thành",Cancel:"Hủy bỏ",CropPreview:"Cắt xem trước"},Material:{inputContent1:"Xin vui lòng nhập",PIN:"PIN"},MarketingSketchUpload:{Upload:"Tải lên",MyLibrary:"Thư viện",maximumLength:"Có thể tải lên tối đa 15 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Đã vượt quá số lượng tệp tải lên tối đa cho phép"},layout:{MoodBoardDesign:"Thiết kế MoodBoard",LayerOptions:"Tùy chọn lớp",Submit:"Nộp"},Generate:{ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent1:"Nhập liệu nhanh chóng",Generate:"Phát ra",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model:"người mẫu",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Vui lòng nhập nội dung",jsContent4:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent5:"Vui lòng nhập nội dung",jsContent6:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent7:"Tải lên thất bại"},collectionModal:{Moodboard:"Bảng tâm trạng",Printboard:"Bảng in",Colorboard:"Bảng màu",Sketchboard:"Bảng phác thảo",MoodCollection:"chọn moodboard cho bộ sưu tập của bạn",PrinCollection:"chọn bảng in cho bộ sưu tập của bạn",ColorCollection:"chọn màu cho bộ sưu tập của bạn",SketchCollection:"chọn bảng phác thảo cho bộ sưu tập của bạn",jsContent1:"Bạn phải chọn hình ảnh rồi sử dụng bố cục.",jsContent2:"Các tập tin đã tải lên sẽ không được lưu, hãy nhớ tiếp tục? ",jsContent3:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp."},DesignDetail:{Details:"Chi tiết",EditDetails:"Chỉnh sửa chi tiết thiết kế của bạn",Submit:"Nộp",CurrentApparel:"Trang phục hiện tại",CurrentPrint:"Bản in hiện tại",CurrentColor:"Màu hiện tại"},DesignDetailAlter:{Upload:"Tải lên",Library:"Thư viện",inputContent1:"Xin vui lòng nhập",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",Delete:"Xóa bỏ",ColorCode:"Mã màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent3:"Tải lên thất bại",jsContent4:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent5:"Hình ảnh phải nhỏ hơn 5MB!",jsContent6:"Không tìm thấy màu TCX"},DesignDetailEnd:{NewApparel:"Trang phục mới",NewPrint:"Bản in mới",Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",NewColor:"Màu mới",preview:"xem trước",Layout:"Cách trình bày",jsContent1:"Vui lòng chọn in"},DesignPrintOperation:{Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",Random:"Ngẫu nhiên",inputContent:"Xin vui lòng nhập",preview:"xem trước",jsContent1:"Những thay đổi trên không được lưu, hãy chắc chắn để tiếp tục? "},uploadFile:{jsContent1:"Bạn có thể chọn tối đa 8 hình ảnh"}},N={Header:{hello:"Ciao",HOME:"CASA",LIBRARY:"BIBLIOTECA",HISTORY:"STORIA",bindEmail:"associare l'e-mail",logOff:"disconnettersi",language:"lingua",skip:"saltare",emailContent:"hai legato la posta elettronica",Email:"E-mail",NextStep:"Passo successivo",verification:"Inserisci il codice di verifica",SentTo:"Inviato a",Resend:"Invia nuovamente",jsContent1:"Il formato dell'e-mail non è corretto",jsContent2:"Impossibile vincolare la casella di posta.",jsContent3:"Non hai eseguito alcuna operazione per molto tempo. Devi essere attivo altrimenti ti disconnetterai in {numTime} S"},Habit:{Workspace:"Spazio di lavoro",WorkspaceSetting:"Impostazione dell'area di lavoro",settingWorkspace:"modificare l'impostazione dell'area di lavoro",Overall:"Tutto",Single:"Separare",System:"Sistema",Designer:"progettista",Mannequin:"Manichino",Current:"Attuale",User:"Utente",jsContent1:"Indica se eliminare l'area di lavoro?",jsContent2:"Inserisci un nome per l'ambiente di lavoro"},RobotAssist:{inputContent1:"Scrivi un messaggio~",jsContent1:"Inserisci il contenuto"},HomeView:{GetStarted:"Iniziare",Start:"Inizio",Edit:"Modificare",Design:"Progetto",Redesign:"Riprogettazione",GeneratedDesign:"Progettazione generata",SelectedDesign:"Disegno selezionato",Export:"Esportare",moodboard:"moodboard",printboard:"cartoncino",colorboard:"tavola da disegno",sketchboard:"tavola da disegno",mannequins:"manichini",jsContent1:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent2:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent3:"Impossibile esportare il file"},LibraryPage:{Upload:"Caricamento",Generate:"creare",Delete:"Eliminare",Rename:"Rinominare",inputContent1:"Search by your style code",all:"Tutto",ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",inputContent2:"Immissione rapida",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model1:"Modello1",Model2:"Modello2",inputContent3:"Immissione rapida",Cancel:"Annulla",Sure:"Sicuro",Moodboard:"Tavola d'atmosfera",Prints:"Stampe",Sketches:"Schizzi",Mannequins:"Manichino",model:"modello",jsContent1:"Sei sicuro di eliminare l'immagine?",jsContent2:"Sei sicuro di eliminare l'immagine?",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto",jsContent8:"caricamento fallito",jsContent9:"Inserisci il contenuto"},HistoryPage:{History:"Storia",StartDate:"Data d'inizio",EndDate:"Data di fine",inputContent1:"Cerca per nome della raccolta",Detail:"Dettaglio",Rename:"Rinominare",Retrieve:"Recuperare",Delete:"Eliminare",inputContent2:"Inserisci un nuovo nome",Submit:"Invia",CollectionsName:"Nome della raccolta",UptateTime:"Tempo di aggiornamento",SketchCounts:"Lo schizzo conta",Operations:"Operazioni",jsContent1:"Eliminato con successo",jsContent2:"Vuoi davvero eliminare questa raccolta?? ",jsContent3:"Modifica con successo",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},ModelPlacement:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},ModelPlacementMobile:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},Upload:{Delete:"Eliminare",Maximum2M:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"caricamento fallito"},SketchboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura dello sketchboard selezionato",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent4:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent5:"Seleziona un'immagine",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},PrintboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della scheda di stampa selezionata",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent4:"Seleziona un'immagine",jsContent5:"Il contenuto inserito supera la lunghezza massima.",jsContent6:"Inserisci il contenuto"},ColorboardUpload:{Thumbnail:"Anteprima in miniatura della tavola colorata selezionata",Clear:"Chiaro",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",ColorCode:"Codice colore",ExtractColor:"Estrai colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"Impossibile trovare il colore TCX",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Inserisci il valore TCX corretto"},MoodboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",Delete:"Eliminare",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della moodboard selezionata",layout:"disposizione",jsContent1:"È possibile selezionare fino a 8 immagini",jsContent2:"caricamento fallito",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Fare clic su Layout per ordinare in modo casuale"},Cropper:{Cutpicture:"Taglia l'immagine",Finish:"Fine",Cancel:"Annulla",CropPreview:"Anteprima del ritaglio"},Material:{inputContent1:"Per favore inserisci",PIN:"PIN"},MarketingSketchUpload:{Upload:"Caricamento",MyLibrary:"La mia biblioteca",maximumLength:"È possibile caricare un massimo di 15 immagini, massimo 2 milioni per immagine",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"È stato superato il numero massimo di caricamenti di file consentiti"},layout:{MoodBoardDesign:"Progettazione del moodboard",LayerOptions:"Opzioni del livello",Submit:"Invia"},Generate:{ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",Model1:"Modello1",Model2:"Modello2",inputContent1:"Immissione rapida",Generate:"creare",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model:"Modello",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"Inserisci il contenuto",jsContent4:"Il contenuto inserito supera la lunghezza massima.",jsContent5:"Inserisci il contenuto",jsContent6:"È possibile selezionare fino a 8 immagini",jsContent7:"caricamento fallito"},collectionModal:{Moodboard:"Tavola d'atmosfera",Printboard:"Cartoncino",Colorboard:"Tavola colorata",Sketchboard:"Tavola da disegno",MoodCollection:"seleziona la moodboard per la tua collezione",PrinCollection:"seleziona la scheda di stampa per la tua collezione",ColorCollection:"seleziona i colori per la tua collezione",SketchCollection:"seleziona lo sketchboard per la tua collezione",jsContent1:"È necessario selezionare l'immagine e quindi utilizzare il layout.",jsContent2:"I file caricati non verranno salvati, assicurandosi di continuare? ",jsContent3:"È necessario scegliere uno o più colori per l'ulteriore elaborazione."},DesignDetail:{Details:"Dettagli",EditDetails:"Modifica i dettagli del tuo progetto",Submit:"Invia",CurrentApparel:"Vestiti attuali",CurrentPrint:"Stampa Attuale",CurrentColor:"Colore Attuale"},DesignDetailAlter:{Upload:"Caricamento",Library:"Biblioteca",inputContent1:"Per favore inserisci",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",Delete:"Eliminare",ColorCode:"Codice colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"È possibile selezionare fino a 8 immagini",jsContent3:"caricamento fallito",jsContent4:"Puoi caricare solo il file immagine!",jsContent5:"L'immagine deve essere inferiore a 5 MB!",jsContent6:"Impossibile trovare il colore TCX"},DesignDetailEnd:{NewApparel:"Nuovo vestiti",NewPrint:"Nuova stampa",Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",NewColor:"Nuovo colore",preview:"anteprima",Layout:"Disposizione",jsContent1:"Seleziona stampa"},DesignPrintOperation:{Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",Random:"Casuale",inputContent:"Per favore inserisci",preview:"anteprima",jsContent1:"Le modifiche di cui sopra non vengono salvate, assicurandosi di continuare? "},uploadFile:{jsContent1:"È possibile selezionare fino a 8 immagini"}};const w={ENGLISH:{...x,...x},CHINESE_SIMPLIFIED:{...B,...B},KOREAN:{...H,...H},JAPANESE:{...I,...I},RUSSIAN:{...k,...k},FRENCH:{...A,...A},THAI:{...R,...R},VIETNAMESE:{...E,...E},ITALIAN:{...N,...N}},U=(0,T.o)({legacy:!1,globalInjection:!0,locale:"ENGLISH",messages:w});var O=U;D();let G={loading:n(5929),attempt:1};(0,o.ri)(c).use(f).use(m.Z).use(L.ZP).use(z.Z,G).use(O).mount("#app")},9913:function(e,t,n){"use strict";var o=n(2201),i=n(6252);const a=e=>(0,i.RC)((()=>n(2513)(`./${e}.vue`))),l=[{path:"/",redirect:"/login"},{path:"/login",name:"login",component:a("LoginPage")},{path:"/home",name:"home",component:a("HomeView")},{path:"/demo",name:"demo",component:a("Demo")},{path:"/history",name:"history",component:a("HistoryPage")},{path:"/library",name:"library",component:a("LibraryPage")}],r=(0,o.p7)({history:(0,o.PO)("/"),routes:l});t["Z"]=r},6791:function(){window._iconfont_svg_string_3608736='',function(e){var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss");t=t.getAttribute("data-disable-injectsvg");if(!t){var o,i,a,l,r,s=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}o=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_3608736,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?s(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),o()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=o,l=e.document,r=!1,m(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,c())})}function c(){r||(r=!0,a())}function m(){try{l.documentElement.doScroll("left")}catch(t){return void setTimeout(m,50)}c()}}(window)},2513:function(e,t,n){var o={"./Demo.vue":[1127,127],"./HistoryPage.vue":[8194,949,294,946],"./HomeView.vue":[8659,949,294,87,656],"./LibraryPage.vue":[8656,949,294,87,492],"./LoginPage.vue":[8177,949,826]};function i(e){if(!n.o(o,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(o)},i.id=2513,e.exports=i},5929:function(e,t,n){"use strict";e.exports=n.p+"img/loading.6b98b17d.gif"}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.m=e,function(){var e=[];n.O=function(t,o,i,a){if(!o){var l=1/0;for(m=0;m=a)&&Object.keys(n.O).every((function(e){return n.O[e](o[s])}))?o.splice(s--,1):(r=!1,a0&&e[m-1][2]>a;m--)e[m]=e[m-1];e[m]=[o,i,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{87:"58385a6a",127:"b8add267",294:"7d275cf0",492:"977ba8ca",656:"c4120e81",826:"7d3d0b48",946:"c4d49203",949:"fafa687a"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{127:"bafe38b4",294:"a9a2d57d",492:"8d396662",656:"46e0e37c",826:"38b30adc",946:"4eeb351d",949:"8cb1937a"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="aida:";n.l=function(o,i,a,l){if(e[o])e[o].push(i);else{var r,s;if(void 0!==a)for(var c=document.getElementsByTagName("script"),m=0;m
  • - +
    +
    diff --git a/src/views/LibraryPage.vue b/src/views/LibraryPage.vue index 517ad6bd..b6901648 100644 --- a/src/views/LibraryPage.vue +++ b/src/views/LibraryPage.vue @@ -733,11 +733,11 @@ export default defineComponent({ } ).catch((res)=>{ - this.closeRenameModal() + // this.closeRenameModal() }); } ).catch((res)=>{ - this.closeRenameModal() + // this.closeRenameModal() });