diff --git a/dist/css/370.bfa04ac5.css b/dist/css/155.39b85627.css similarity index 78% rename from dist/css/370.bfa04ac5.css rename to dist/css/155.39b85627.css index aa66f1e5..b82d66e9 100644 --- a/dist/css/370.bfa04ac5.css +++ b/dist/css/155.39b85627.css @@ -1 +1 @@ -#app[data-v-7a8e15b8],body[data-v-7a8e15b8],html[data-v-7a8e15b8]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden}input[data-v-7a8e15b8]{outline:none}li[data-v-7a8e15b8],ul[data-v-7a8e15b8]{list-style:none;padding:0}.page_content[data-v-7a8e15b8]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-7a8e15b8],.button_second[data-v-7a8e15b8]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-7a8e15b8]{width:100%}.system_silder .ant-slider[data-v-7a8e15b8]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-7a8e15b8]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-7a8e15b8]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-7a8e15b8]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-7a8e15b8]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-7a8e15b8]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7a8e15b8]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-7a8e15b8],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-7a8e15b8]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-7a8e15b8]{padding:0 1rem}.started_btn[data-v-7a8e15b8]{padding:.5rem 2rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:.9}.el-cascader[data-v-7a8e15b8]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-7a8e15b8]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-7a8e15b8]{height:80%!important;font-size:1.2rem}.el-popper[data-v-7a8e15b8]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-7a8e15b8],.el-cascader__tags[data-v-7a8e15b8]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-7a8e15b8],.el-cascader__tags .el-tag--light[data-v-7a8e15b8]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-7a8e15b8],.el-cascader__tags .el-tag--light .el-tag__content[data-v-7a8e15b8]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-7a8e15b8],.el-cascader__tags .el-cascader__search-input[data-v-7a8e15b8]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-7a8e15b8]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-7a8e15b8]{display:flex!important}.hideEvents [data-v-7a8e15b8]{pointer-events:none!important}.hideEvents .Guide_[data-v-7a8e15b8]{pointer-events:auto!important}.delete_like_file_block[data-v-7a8e15b8]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-7a8e15b8]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-7a8e15b8]{color:red}.el-popper .el-cascader-panel[data-v-7a8e15b8]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-7a8e15b8]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-7a8e15b8]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-7a8e15b8]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-7a8e15b8]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-7a8e15b8]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-7a8e15b8]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-7a8e15b8],.ant-select-allow-clear .ant-select-selector[data-v-7a8e15b8]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-7a8e15b8]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-7a8e15b8]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-7a8e15b8]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-7a8e15b8]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-7a8e15b8]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7a8e15b8]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-7a8e15b8]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-7a8e15b8]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-7a8e15b8]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-7a8e15b8]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-7a8e15b8]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7a8e15b8]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7a8e15b8]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-7a8e15b8]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-7a8e15b8]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-7a8e15b8],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-7a8e15b8],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-7a8e15b8]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-7a8e15b8]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7a8e15b8]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7a8e15b8]:after{border-color:#eee}.ant-modal-mask[data-v-7a8e15b8]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.modal_component.ant-modal[data-v-7a8e15b8]{top:0}.modal_component .ant-modal-content[data-v-7a8e15b8]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-7a8e15b8]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-7a8e15b8]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-7a8e15b8]{padding:0}.ant-modal-body[data-v-7a8e15b8]{font-size:1.4rem}.operate_file_block[data-v-7a8e15b8]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-7a8e15b8]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative}.operate_file_block .select_img_type .select_category[data-v-7a8e15b8]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-7a8e15b8]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-7a8e15b8]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-7a8e15b8]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-7a8e15b8]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-7a8e15b8]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-7a8e15b8],.operate_file_block .select_img_type .category_list .category_item[data-v-7a8e15b8]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.habit[data-v-7a8e15b8] .ant-btn:hover,[data-v-7a8e15b8] .ant-btn:active,[data-v-7a8e15b8] .ant-btn:after,[data-v-7a8e15b8] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-7a8e15b8] .ant-switch-checked{background-color:#000}[data-v-7a8e15b8] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-7a8e15b8] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-7a8e15b8] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-7a8e15b8]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-7a8e15b8]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7a8e15b8]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7a8e15b8]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-7a8e15b8]{background-color:#543087}.ant-spin[data-v-7a8e15b8]{color:#000}.pin_block[data-v-7a8e15b8]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-7a8e15b8]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-7a8e15b8]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-7a8e15b8]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-7a8e15b8]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-7a8e15b8]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-7a8e15b8]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-7a8e15b8],.ant-checkbox-wrapper[data-v-7a8e15b8]{font-size:1.4rem}.ant-checkbox-checked[data-v-7a8e15b8]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-7a8e15b8],.ant-select-multiple .ant-select-selection-search[data-v-7a8e15b8]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-7a8e15b8]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-7a8e15b8],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-7a8e15b8],.ant-checkbox:hover .ant-checkbox-inner[data-v-7a8e15b8]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-7a8e15b8]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-7a8e15b8]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-7a8e15b8]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-7a8e15b8]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-7a8e15b8],.designOpenrtion_modal .ant-modal-body[data-v-7a8e15b8],.design_detail_modal_component .ant-modal-body[data-v-7a8e15b8],.library_page .ant-modal-body[data-v-7a8e15b8]{overflow-y:hidden}.collection_modal .design_title_text[data-v-7a8e15b8],.designOpenrtion_modal .design_title_text[data-v-7a8e15b8],.design_detail_modal_component .design_title_text[data-v-7a8e15b8],.library_page .design_title_text[data-v-7a8e15b8]{font-size:1.8rem;font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-7a8e15b8],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-7a8e15b8],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-7a8e15b8],.library_page .design_title_text .design_title_text_intro[data-v-7a8e15b8]{font-size:1.2rem;font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-7a8e15b8],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-7a8e15b8],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-7a8e15b8],.library_page .ant-upload.ant-upload-select-picture-card[data-v-7a8e15b8]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7a8e15b8],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7a8e15b8],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7a8e15b8],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7a8e15b8]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7a8e15b8],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7a8e15b8],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7a8e15b8],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7a8e15b8]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-7a8e15b8],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7a8e15b8],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7a8e15b8],.library_page .ant-upload-list-picture-card-container[data-v-7a8e15b8]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-7a8e15b8],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7a8e15b8],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7a8e15b8],.library_page .ant-upload-picture-card-wrapper[data-v-7a8e15b8]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-7a8e15b8],.design_detail_modal_component .design_closeIcon[data-v-7a8e15b8]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-7a8e15b8]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-7a8e15b8]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7a8e15b8]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7a8e15b8]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7a8e15b8],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7a8e15b8]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7a8e15b8],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7a8e15b8]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-7a8e15b8],.design_detail_modal_component .subitOkPreviewBtn[data-v-7a8e15b8]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-7a8e15b8],i[data-v-7a8e15b8]{font-size:1.4rem}.collection_modal_body .input_box[data-v-7a8e15b8],.design_detail_modal_component .input_box[data-v-7a8e15b8],.library_page .input_box[data-v-7a8e15b8]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-7a8e15b8],.design_detail_modal_component .input_box input[data-v-7a8e15b8],.library_page .input_box input[data-v-7a8e15b8]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-7a8e15b8]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7a8e15b8]:-moz-placeholder,.library_page .input_box inputinput[data-v-7a8e15b8]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7a8e15b8]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7a8e15b8]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-7a8e15b8]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7a8e15b8]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7a8e15b8]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-7a8e15b8]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-7a8e15b8],.design_detail_modal_component .input_box span[data-v-7a8e15b8],.library_page .input_box span[data-v-7a8e15b8]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-7a8e15b8],.design_detail_modal_component .input_box.active input[data-v-7a8e15b8],.library_page .input_box.active input[data-v-7a8e15b8]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-7a8e15b8],.design_detail_modal_component .input_box.active span[data-v-7a8e15b8],.library_page .input_box.active span[data-v-7a8e15b8]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-7a8e15b8],.design_detail_modal_component .input_box .generage_btn[data-v-7a8e15b8],.library_page .input_box .generage_btn[data-v-7a8e15b8]{margin:0 auto}.collection_modal_body .upload_item[data-v-7a8e15b8],.design_detail_modal_component .upload_item[data-v-7a8e15b8],.library_page .upload_item[data-v-7a8e15b8]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item[data-v-7a8e15b8],.library_page .upload_item .upload_file_item[data-v-7a8e15b8]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-7a8e15b8],.library_page .upload_item .upload_file_item.active[data-v-7a8e15b8]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-7a8e15b8],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-7a8e15b8],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-7a8e15b8],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-7a8e15b8]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-7a8e15b8],.library_page .upload_item .upload_file_item.upload_component[data-v-7a8e15b8]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-7a8e15b8] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-7a8e15b8] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-7a8e15b8] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-7a8e15b8] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-7a8e15b8] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-7a8e15b8] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-7a8e15b8]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7a8e15b8]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7a8e15b8]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7a8e15b8]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7a8e15b8]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7a8e15b8]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-7a8e15b8],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-7a8e15b8],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-7a8e15b8]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-7a8e15b8]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-7a8e15b8]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-7a8e15b8]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-7a8e15b8]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.habit[data-v-7a8e15b8]{position:relative}.habit .habit_button[data-v-7a8e15b8]{background-color:#fff;border:2px solid #000;padding:0 2rem;box-sizing:initial;font-weight:600;height:3.2rem;line-height:3.2rem;padding:.4rem 1.5rem;font-size:1.2rem;cursor:pointer;position:relative}.habit .habit_button .fi-bs-angle-down[data-v-7a8e15b8]{margin-left:1rem;display:inline-block;transform:translateY(2px)}.habit .habit_mask[data-v-7a8e15b8]{position:absolute;top:-20px;left:auto;right:-30px;bottom:0;opacity:0;width:100vw;height:100vh}.habit .habit_content[data-v-7a8e15b8]{border:2px solid #000;border-radius:1rem;padding:2rem;font-size:1.6rem;transform-origin:top right;position:absolute;right:-.3rem;top:110%;background:#fff;width:30rem;opacity:0;transition:all .3s;transform:scale(.75) translateY(10%);display:none}.habit .habit_content.active[data-v-7a8e15b8]{opacity:1;transform:scale(.75) translateY(0)}.habit .habit_content .habit_title h3[data-v-7a8e15b8]{font-size:1.6rem;font-weight:600;color:#000;margin:0}.habit .habit_content .habit_title .habit_intro[data-v-7a8e15b8]{font-size:1.2rem;color:rgba(0,0,0,.5);font-weight:500}.habit .habit_content .habit_type[data-v-7a8e15b8]{margin-top:1.5rem;cursor:pointer;position:relative}.habit .habit_content .habit_type .habit_workspace_show[data-v-7a8e15b8]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_type .habit_workspace_show.active[data-v-7a8e15b8]{transform:translateY(0)}.habit .habit_content .habit_Overal_Single[data-v-7a8e15b8]{display:flex;align-items:center;justify-content:center;margin:3rem 0;position:relative}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text[data-v-7a8e15b8]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text.active[data-v-7a8e15b8]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_Overal_Single[data-v-7a8e15b8] .ant-switch{margin:0 1rem}.habit .habit_content .habit_Overal_Single .habit_sex_show[data-v-7a8e15b8]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_Overal_Single .habit_sex_show.active[data-v-7a8e15b8]{transform:translateY(0)}.habit .habit_content .habit_habit_singleton[data-v-7a8e15b8]{margin-bottom:3rem;position:relative}.habit .habit_content .habit_habit_singleton .habit_singleton_show[data-v-7a8e15b8]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_habit_singleton .habit_singleton_show.active[data-v-7a8e15b8]{transform:translateY(0)}.habit .habit_content .habit_System_Designer[data-v-7a8e15b8]{margin-top:8rem}.habit .habit_content .habit_System_Designer[data-v-7a8e15b8] .ant-slider-rail,.habit .habit_content .habit_System_Designer[data-v-7a8e15b8] .ant-slider-track{height:.6rem;background-color:#e1e1e1;border-radius:.5rem}.habit .habit_content .habit_System_Designer[data-v-7a8e15b8] .ant-slider .ant-slider-handle:not(.ant-tooltip-open),.habit .habit_content .habit_System_Designer[data-v-7a8e15b8] .ant-slider-handle{background-color:#2d2e76!important;border:none!important}.habit .habit_content .habit_System_Designer[data-v-7a8e15b8] .ant-slider-handle:hover{box-shadow:0 0 0 5px rgba(45,46,118,.2)}.habit .habit_content .habit_System_Designer .habit_System_Designer_text_max[data-v-7a8e15b8]{display:flex;justify-content:space-between}.habit .habit_content .habit_model[data-v-7a8e15b8]{margin-top:2rem}.habit .habit_content .habit_model_show[data-v-7a8e15b8]{position:absolute;background-color:#fff;border:2px solid #000;border-radius:1rem;padding:2rem;bottom:-.5rem;transform:translateY(110%);right:-.2rem;width:40rem;opacity:0;transition:all .3s;display:none}.habit .habit_content .habit_model_show.active[data-v-7a8e15b8]{opacity:1;transform:translateY(100%)}.habit .habit_content .habit_model_show .habit_btn[data-v-7a8e15b8]{display:flex;justify-content:space-between}.habit .habit_content .habit_model_show .habit_btn .model_current[data-v-7a8e15b8]{margin-right:3rem}.habit .habit_content .habit_model_show .habit_btn .model_current .model_text[data-v-7a8e15b8]{text-align:center}.habit .habit_content .habit_model_show .habit_model_list[data-v-7a8e15b8]{margin:0}.habit .habit_content .habit_model_show .habit_model_list li[data-v-7a8e15b8]{padding:.5rem 0;display:flex}.habit .habit_content .habit_model_show .habit_model_list li input[data-v-7a8e15b8]{border:0;width:80%;background:transparent}.habit .habit_content .habit_model_show .habit_model_list li>div[data-v-7a8e15b8]{cursor:pointer;width:80%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace[data-v-7a8e15b8]{text-align:center;justify-content:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace div[data-v-7a8e15b8]{border-radius:50%;border:1px solid #000;display:inline-block;width:2rem;height:2rem;line-height:2rem;text-align:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace i[data-v-7a8e15b8]{flex:1}.habit .habit_content .habit_model_show .habit_model_list li i[data-v-7a8e15b8]{cursor:pointer}.habit .habit_content .habit_model_show .habit_model_list li .fi-rr-trash[data-v-7a8e15b8]{margin-left:1rem}.habit .habit_content .habit_model_show .habit_model_list li[data-v-7a8e15b8]:hover{background:rgba(0,0,0,.1)}.habit .habit_content .habit_model_show .model_Designer[data-v-7a8e15b8]{flex:1;overflow:hidden;display:flex;flex-direction:column}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-7a8e15b8]{display:flex;justify-content:center}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-7a8e15b8] .ant-switch{margin:0 1rem}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-7a8e15b8]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text.active[data-v-7a8e15b8]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-7a8e15b8] .ant-switch-checked{background-color:#000}.habit .habit_content .habit_model_show .model_img[data-v-7a8e15b8]{display:flex;flex:1;align-items:center;overflow-x:auto}.habit .habit_content .habit_model_show .model_img.model_img[data-v-7a8e15b8]::-webkit-scrollbar{width:1rem;height:1rem;-webkit-transition:all .3s;transition:all .3s}.habit .habit_content .habit_model_show .model_img.model_img[data-v-7a8e15b8]::-webkit-scrollbar-thumb,.habit .habit_content .habit_model_show .model_img.model_img[data-v-7a8e15b8]::-webkit-scrollbar-track{border-radius:1rem;background:rgba(238,238,244,0)}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-7a8e15b8]::-webkit-scrollbar-thumb{background:#543087}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-7a8e15b8]::-webkit-scrollbar-track{background:rgba(84,48,135,.2)}.habit .habit_content .habit_model_show .model_img>div[data-v-7a8e15b8]{display:flex}.habit .habit_content .habit_model_show .model_img div[data-v-7a8e15b8]{width:auto;margin-right:1rem}.habit .habit_content .habit_model_show .model_img img[data-v-7a8e15b8]{width:10rem;cursor:pointer}.habit[data-v-7a8e15b8] .ant-dropdown-button{margin-right:8px;margin-bottom:8px}.habit[data-v-7a8e15b8] .ant-btn{box-shadow:none!important;color:rgba(0,0,0,.5);box-shadow:none;border:none;background:#f6f6f6;width:100%;font-weight:600;display:flex;align-items:center;justify-content:space-between;font-size:1.4rem}.ant-tooltip{z-index:1049!important}.habit :deep(.ant-tooltip .ant-tooltip-inner),:deep(.ant-tooltip-arrow-content){background:#000!important}.habit_mod{background-color:#000!important}.ant-tooltip .ant-tooltip-inner,.ant-tooltip-arrow-content{background:#000!important}#app[data-v-7c2d967a],body[data-v-7c2d967a],html[data-v-7c2d967a]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden}input[data-v-7c2d967a]{outline:none}li[data-v-7c2d967a],ul[data-v-7c2d967a]{list-style:none;padding:0}.page_content[data-v-7c2d967a]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-7c2d967a],.button_second[data-v-7c2d967a]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-7c2d967a]{width:100%}.system_silder .ant-slider[data-v-7c2d967a]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-7c2d967a]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-7c2d967a]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-7c2d967a]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-7c2d967a]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-7c2d967a]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7c2d967a]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-7c2d967a],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-7c2d967a]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-7c2d967a]{padding:0 1rem}.started_btn[data-v-7c2d967a]{padding:.5rem 2rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:.9}.el-cascader[data-v-7c2d967a]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-7c2d967a]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-7c2d967a]{height:80%!important;font-size:1.2rem}.el-popper[data-v-7c2d967a]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-7c2d967a],.el-cascader__tags[data-v-7c2d967a]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-7c2d967a],.el-cascader__tags .el-tag--light[data-v-7c2d967a]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-7c2d967a],.el-cascader__tags .el-tag--light .el-tag__content[data-v-7c2d967a]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-7c2d967a],.el-cascader__tags .el-cascader__search-input[data-v-7c2d967a]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-7c2d967a]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-7c2d967a]{display:flex!important}.hideEvents [data-v-7c2d967a]{pointer-events:none!important}.hideEvents .Guide_[data-v-7c2d967a]{pointer-events:auto!important}.delete_like_file_block[data-v-7c2d967a]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-7c2d967a]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-7c2d967a]{color:red}.el-popper .el-cascader-panel[data-v-7c2d967a]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-7c2d967a]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-7c2d967a]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-7c2d967a]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-7c2d967a]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-7c2d967a]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-7c2d967a]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-7c2d967a],.ant-select-allow-clear .ant-select-selector[data-v-7c2d967a]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-7c2d967a]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-7c2d967a]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-7c2d967a]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-7c2d967a]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-7c2d967a]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7c2d967a]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-7c2d967a]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-7c2d967a]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-7c2d967a]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-7c2d967a]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-7c2d967a]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7c2d967a]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7c2d967a]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-7c2d967a]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-7c2d967a]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-7c2d967a],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-7c2d967a],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-7c2d967a]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-7c2d967a]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7c2d967a]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7c2d967a]:after{border-color:#eee}.ant-modal-mask[data-v-7c2d967a]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.modal_component.ant-modal[data-v-7c2d967a]{top:0}.modal_component .ant-modal-content[data-v-7c2d967a]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-7c2d967a]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-7c2d967a]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-7c2d967a]{padding:0}.ant-modal-body[data-v-7c2d967a]{font-size:1.4rem}.operate_file_block[data-v-7c2d967a]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-7c2d967a]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative}.operate_file_block .select_img_type .select_category[data-v-7c2d967a]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-7c2d967a]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-7c2d967a]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-7c2d967a]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-7c2d967a]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-7c2d967a]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-7c2d967a],.operate_file_block .select_img_type .category_list .category_item[data-v-7c2d967a]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.habit[data-v-7c2d967a] .ant-btn:hover,[data-v-7c2d967a] .ant-btn:active,[data-v-7c2d967a] .ant-btn:after,[data-v-7c2d967a] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-7c2d967a] .ant-switch-checked{background-color:#000}[data-v-7c2d967a] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-7c2d967a] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-7c2d967a] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-7c2d967a]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-7c2d967a]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7c2d967a]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7c2d967a]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-7c2d967a]{background-color:#543087}.ant-spin[data-v-7c2d967a]{color:#000}.pin_block[data-v-7c2d967a]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-7c2d967a]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-7c2d967a]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-7c2d967a]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-7c2d967a]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-7c2d967a]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-7c2d967a]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-7c2d967a],.ant-checkbox-wrapper[data-v-7c2d967a]{font-size:1.4rem}.ant-checkbox-checked[data-v-7c2d967a]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-7c2d967a],.ant-select-multiple .ant-select-selection-search[data-v-7c2d967a]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-7c2d967a]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-7c2d967a],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-7c2d967a],.ant-checkbox:hover .ant-checkbox-inner[data-v-7c2d967a]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-7c2d967a]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-7c2d967a]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-7c2d967a]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-7c2d967a]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-7c2d967a],.designOpenrtion_modal .ant-modal-body[data-v-7c2d967a],.design_detail_modal_component .ant-modal-body[data-v-7c2d967a],.library_page .ant-modal-body[data-v-7c2d967a]{overflow-y:hidden}.collection_modal .design_title_text[data-v-7c2d967a],.designOpenrtion_modal .design_title_text[data-v-7c2d967a],.design_detail_modal_component .design_title_text[data-v-7c2d967a],.library_page .design_title_text[data-v-7c2d967a]{font-size:1.8rem;font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-7c2d967a],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-7c2d967a],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-7c2d967a],.library_page .design_title_text .design_title_text_intro[data-v-7c2d967a]{font-size:1.2rem;font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a],.library_page .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-7c2d967a],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7c2d967a],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7c2d967a],.library_page .ant-upload-list-picture-card-container[data-v-7c2d967a]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-7c2d967a],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7c2d967a],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7c2d967a],.library_page .ant-upload-picture-card-wrapper[data-v-7c2d967a]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-7c2d967a],.design_detail_modal_component .design_closeIcon[data-v-7c2d967a]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-7c2d967a]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-7c2d967a]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7c2d967a]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7c2d967a]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7c2d967a],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7c2d967a]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7c2d967a],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7c2d967a]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-7c2d967a],.design_detail_modal_component .subitOkPreviewBtn[data-v-7c2d967a]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-7c2d967a],i[data-v-7c2d967a]{font-size:1.4rem}.collection_modal_body .input_box[data-v-7c2d967a],.design_detail_modal_component .input_box[data-v-7c2d967a],.library_page .input_box[data-v-7c2d967a]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-7c2d967a],.design_detail_modal_component .input_box input[data-v-7c2d967a],.library_page .input_box input[data-v-7c2d967a]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-7c2d967a]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7c2d967a]:-moz-placeholder,.library_page .input_box inputinput[data-v-7c2d967a]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7c2d967a]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7c2d967a]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-7c2d967a]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7c2d967a]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7c2d967a]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-7c2d967a]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-7c2d967a],.design_detail_modal_component .input_box span[data-v-7c2d967a],.library_page .input_box span[data-v-7c2d967a]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-7c2d967a],.design_detail_modal_component .input_box.active input[data-v-7c2d967a],.library_page .input_box.active input[data-v-7c2d967a]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-7c2d967a],.design_detail_modal_component .input_box.active span[data-v-7c2d967a],.library_page .input_box.active span[data-v-7c2d967a]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-7c2d967a],.design_detail_modal_component .input_box .generage_btn[data-v-7c2d967a],.library_page .input_box .generage_btn[data-v-7c2d967a]{margin:0 auto}.collection_modal_body .upload_item[data-v-7c2d967a],.design_detail_modal_component .upload_item[data-v-7c2d967a],.library_page .upload_item[data-v-7c2d967a]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item[data-v-7c2d967a],.library_page .upload_item .upload_file_item[data-v-7c2d967a]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-7c2d967a],.library_page .upload_item .upload_file_item.active[data-v-7c2d967a]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-7c2d967a],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-7c2d967a]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-7c2d967a],.library_page .upload_item .upload_file_item.upload_component[data-v-7c2d967a]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-7c2d967a]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7c2d967a]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7c2d967a]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7c2d967a]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7c2d967a]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7c2d967a]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-7c2d967a]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-7c2d967a]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-7c2d967a]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-7c2d967a]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.header_max[data-v-7c2d967a]{position:relative}.header_component[data-v-7c2d967a]{display:flex;justify-content:space-between;padding-left:0;width:100%;height:7rem;background:hsla(0,0%,100%,.2);position:relative;align-items:center;z-index:1049;background-color:#fff}.header_component .header_right[data-v-7c2d967a]{width:33%;display:flex;justify-content:flex-end;align-items:center}.header_component .header_logo[data-v-7c2d967a]{width:14.4rem;height:3.2rem;margin:2.1rem 2.8rem 0;margin-top:0}.header_component .header_nav_content[data-v-7c2d967a]{display:flex;align-items:center}.header_component .header_nav_content .nav_item[data-v-7c2d967a]{padding:1.1rem 1rem;border-bottom:.1rem solid transparent;margin-right:3.4rem;font-size:1.6rem;line-height:1.3rem;color:#000;cursor:pointer;font-weight:900}.header_component .header_nav_content .nav_item.nav_item[data-v-7c2d967a]:nth-child(3){margin:0}.header_component .header_nav_content .nav_item.nav_item[data-v-7c2d967a]:before{position:absolute;content:"";display:block;background:#000;height:.3rem;left:50%;transform:translateX(-50%);bottom:.3rem;width:0;transition:all .3s}.header_component .header_nav_content .nav_item.select_nav[data-v-7c2d967a]{color:#000;transform:scale(1.15)}.header_component .header_nav_content .nav_item.select_nav[data-v-7c2d967a]:before{width:80%}.header_component .header_right_content[data-v-7c2d967a]{top:0;left:0;display:flex;width:33%;height:100%;align-items:center;overflow:hidden}.header_component .header_right_content .header_icon[data-v-7c2d967a]{font-size:3.6rem;position:relative;top:.3rem}.header_component .header_right_content .header_user_icon[data-v-7c2d967a]{height:4rem;width:4rem;background-color:#000;border-radius:50%;transform:translateX(-40%) scale(1.3)}.header_component .header_right_content .header_user_content[data-v-7c2d967a]{display:flex;align-items:center;position:relative;height:3.7rem}.header_component .header_right_content .header_user_content .username[data-v-7c2d967a]{font-size:1.8rem;color:#1a1a1a;margin:0 .8rem;font-weight:900}.header_component .header_right_content .header_user_content .username span[data-v-7c2d967a]{margin:.7rem}.header_component .header_right_content .header_user_content .icon-xiala[data-v-7c2d967a]{font-size:1.4rem;cursor:pointer;transition:all .3s}.header_component .header_right_content .header_user_content .icon_rotate[data-v-7c2d967a]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.select_block[data-v-7c2d967a]{z-index:1050;position:absolute;left:6.5rem;top:4.7rem;width:11.4rem;background:#fff;box-shadow:0 .4rem .4rem 0 rgba(0,0,0,.1);overflow:hidden;border:1px solid #000}.select_block.select_list[data-v-7c2d967a]{transform:translateX(105%)}.select_block .select_item[data-v-7c2d967a]{padding-left:1.5rem;height:4.1rem;color:#4d4d4d;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select_block .select_item[data-v-7c2d967a]:hover{background:#f7f7f7}.select_block .select_item .iconfont[data-v-7c2d967a]{font-size:1.4rem}.select_block .select_item .select_item_des[data-v-7c2d967a]{font-size:1.3rem;margin-left:.8rem}.modal_component .skip_content[data-v-7c2d967a]{width:6rem;height:3rem;line-height:2.8rem;border:.1rem solid #343579;font-size:1.4rem;color:#343579;position:absolute;top:1.8rem;right:1.8rem;cursor:pointer}.modal_component .bind_email_content[data-v-7c2d967a]{padding:4.8rem 9.2rem 6rem}.modal_component .bind_email_content .bind_email_tip[data-v-7c2d967a]{font-size:1.8rem;color:#a5b0c2;line-height:1.9rem;text-align:center}.modal_component .bind_email_content .bind_email[data-v-7c2d967a]{margin-top:2rem;font-size:2.2rem;font-weight:400;color:#030303;text-align:center}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_title[data-v-7c2d967a]{font-size:2.2rem;font-weight:700;color:#030303;line-height:2.4rem}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-7c2d967a]{width:100%;height:4.6rem;margin-top:1rem;border:.1rem solid #b4bed7;padding-left:2.1rem;line-height:4.6rem;font-size:1.8rem;box-sizing:border-box}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-7c2d967a]::-moz-placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-7c2d967a]::placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_submit_button[data-v-7c2d967a]{height:4.6rem;line-height:4.6rem;background:#343579;font-size:1.6rem;font-weight:500;color:#fff;width:12.8rem;text-align:center;cursor:pointer;margin:3rem auto 0}.modal_component .bind_email_content .icon--shangyibu[data-v-7c2d967a]{font-size:2.5rem;font-weight:700;color:#030303}.modal_component .bind_email_content .email_last_step_content[data-v-7c2d967a]{margin-left:1rem;font-size:2.2rem;font-family:PingFang SC;font-weight:700;color:#030303}.modal_component .bind_email_content .tip_content[data-v-7c2d967a]{font-size:1.3rem;font-weight:700;color:#343579;cursor:pointer}.modal_component .bind_email_content .email_last_step_des[data-v-7c2d967a]{display:flex;align-items:center;justify-content:space-between;margin-top:2.5rem;margin-bottom:1.5rem}.modal_component .bind_email_content .email_last_step_des .sent_email_content[data-v-7c2d967a]{font-size:1.8rem;font-weight:700;color:#a5b0c2}#app[data-v-60dd6514],body[data-v-60dd6514],html[data-v-60dd6514]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden}input[data-v-60dd6514]{outline:none}li[data-v-60dd6514],ul[data-v-60dd6514]{list-style:none;padding:0}.page_content[data-v-60dd6514]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-60dd6514],.button_second[data-v-60dd6514]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-60dd6514]{width:100%}.system_silder .ant-slider[data-v-60dd6514]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-60dd6514]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-60dd6514]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-60dd6514]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-60dd6514]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-60dd6514]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-60dd6514]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-60dd6514],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-60dd6514]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-60dd6514]{padding:0 1rem}.started_btn[data-v-60dd6514]{padding:.5rem 2rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:.9}.el-cascader[data-v-60dd6514]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-60dd6514]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-60dd6514]{height:80%!important;font-size:1.2rem}.el-popper[data-v-60dd6514]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-60dd6514],.el-cascader__tags[data-v-60dd6514]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-60dd6514],.el-cascader__tags .el-tag--light[data-v-60dd6514]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-60dd6514],.el-cascader__tags .el-tag--light .el-tag__content[data-v-60dd6514]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-60dd6514],.el-cascader__tags .el-cascader__search-input[data-v-60dd6514]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-60dd6514]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-60dd6514]{display:flex!important}.hideEvents [data-v-60dd6514]{pointer-events:none!important}.hideEvents .Guide_[data-v-60dd6514]{pointer-events:auto!important}.delete_like_file_block[data-v-60dd6514]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-60dd6514]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-60dd6514]{color:red}.el-popper .el-cascader-panel[data-v-60dd6514]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-60dd6514]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-60dd6514]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-60dd6514]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-60dd6514]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-60dd6514]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-60dd6514]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-60dd6514],.ant-select-allow-clear .ant-select-selector[data-v-60dd6514]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-60dd6514]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-60dd6514]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-60dd6514]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-60dd6514]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-60dd6514]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-60dd6514]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-60dd6514]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-60dd6514]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-60dd6514]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-60dd6514]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-60dd6514]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-60dd6514]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-60dd6514]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-60dd6514]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-60dd6514]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-60dd6514],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-60dd6514],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-60dd6514]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-60dd6514]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-60dd6514]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-60dd6514]:after{border-color:#eee}.ant-modal-mask[data-v-60dd6514]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.modal_component.ant-modal[data-v-60dd6514]{top:0}.modal_component .ant-modal-content[data-v-60dd6514]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-60dd6514]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-60dd6514]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-60dd6514]{padding:0}.ant-modal-body[data-v-60dd6514]{font-size:1.4rem}.operate_file_block[data-v-60dd6514]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-60dd6514]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative}.operate_file_block .select_img_type .select_category[data-v-60dd6514]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-60dd6514]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-60dd6514]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-60dd6514]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-60dd6514]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-60dd6514]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-60dd6514],.operate_file_block .select_img_type .category_list .category_item[data-v-60dd6514]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.habit[data-v-60dd6514] .ant-btn:hover,[data-v-60dd6514] .ant-btn:active,[data-v-60dd6514] .ant-btn:after,[data-v-60dd6514] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-60dd6514] .ant-switch-checked{background-color:#000}[data-v-60dd6514] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-60dd6514] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-60dd6514] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-60dd6514]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-60dd6514]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-60dd6514]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-60dd6514]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-60dd6514]{background-color:#543087}.ant-spin[data-v-60dd6514]{color:#000}.pin_block[data-v-60dd6514]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-60dd6514]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-60dd6514]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-60dd6514]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-60dd6514]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-60dd6514]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-60dd6514]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-60dd6514],.ant-checkbox-wrapper[data-v-60dd6514]{font-size:1.4rem}.ant-checkbox-checked[data-v-60dd6514]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-60dd6514],.ant-select-multiple .ant-select-selection-search[data-v-60dd6514]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-60dd6514]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-60dd6514],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-60dd6514],.ant-checkbox:hover .ant-checkbox-inner[data-v-60dd6514]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-60dd6514]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-60dd6514]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-60dd6514]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-60dd6514]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-60dd6514],.designOpenrtion_modal .ant-modal-body[data-v-60dd6514],.design_detail_modal_component .ant-modal-body[data-v-60dd6514],.library_page .ant-modal-body[data-v-60dd6514]{overflow-y:hidden}.collection_modal .design_title_text[data-v-60dd6514],.designOpenrtion_modal .design_title_text[data-v-60dd6514],.design_detail_modal_component .design_title_text[data-v-60dd6514],.library_page .design_title_text[data-v-60dd6514]{font-size:1.8rem;font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-60dd6514],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-60dd6514],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-60dd6514],.library_page .design_title_text .design_title_text_intro[data-v-60dd6514]{font-size:1.2rem;font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-60dd6514],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-60dd6514],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-60dd6514],.library_page .ant-upload.ant-upload-select-picture-card[data-v-60dd6514]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-60dd6514],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-60dd6514],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-60dd6514],.library_page .ant-upload-list-picture-card-container[data-v-60dd6514]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-60dd6514],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-60dd6514],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-60dd6514],.library_page .ant-upload-picture-card-wrapper[data-v-60dd6514]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-60dd6514],.design_detail_modal_component .design_closeIcon[data-v-60dd6514]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-60dd6514]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-60dd6514]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-60dd6514]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-60dd6514]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-60dd6514],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-60dd6514]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-60dd6514],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-60dd6514]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-60dd6514],.design_detail_modal_component .subitOkPreviewBtn[data-v-60dd6514]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-60dd6514],i[data-v-60dd6514]{font-size:1.4rem}.collection_modal_body .input_box[data-v-60dd6514],.design_detail_modal_component .input_box[data-v-60dd6514],.library_page .input_box[data-v-60dd6514]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-60dd6514],.design_detail_modal_component .input_box input[data-v-60dd6514],.library_page .input_box input[data-v-60dd6514]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-60dd6514]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-60dd6514]:-moz-placeholder,.library_page .input_box inputinput[data-v-60dd6514]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-60dd6514]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-60dd6514]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-60dd6514]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-60dd6514]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-60dd6514]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-60dd6514]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-60dd6514],.design_detail_modal_component .input_box span[data-v-60dd6514],.library_page .input_box span[data-v-60dd6514]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-60dd6514],.design_detail_modal_component .input_box.active input[data-v-60dd6514],.library_page .input_box.active input[data-v-60dd6514]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-60dd6514],.design_detail_modal_component .input_box.active span[data-v-60dd6514],.library_page .input_box.active span[data-v-60dd6514]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-60dd6514],.design_detail_modal_component .input_box .generage_btn[data-v-60dd6514],.library_page .input_box .generage_btn[data-v-60dd6514]{margin:0 auto}.collection_modal_body .upload_item[data-v-60dd6514],.design_detail_modal_component .upload_item[data-v-60dd6514],.library_page .upload_item[data-v-60dd6514]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item[data-v-60dd6514],.library_page .upload_item .upload_file_item[data-v-60dd6514]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-60dd6514],.library_page .upload_item .upload_file_item.active[data-v-60dd6514]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-60dd6514],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-60dd6514]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-60dd6514],.library_page .upload_item .upload_file_item.upload_component[data-v-60dd6514]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-60dd6514]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-60dd6514]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-60dd6514]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-60dd6514]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-60dd6514]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-60dd6514]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-60dd6514]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-60dd6514]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-60dd6514]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-60dd6514]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.robot[data-v-60dd6514]{position:absolute;bottom:.5rem;right:2.5rem;z-index:10003}.robot .robot_top[data-v-60dd6514]{width:30rem;margin-left:auto;overflow-x:hidden;transition:all .3s;opacity:0;height:auto;max-height:30rem;display:none}.robot .robot_top.active[data-v-60dd6514]{opacity:1}.robot .robot_top.robot_top[data-v-60dd6514]::-webkit-scrollbar{display:none}.robot .robot_top .robot_text[data-v-60dd6514]{font-size:1.4rem;padding:1rem 1.5rem;display:inline-block;border-radius:2rem;max-width:80%}.robot .robot_top .robot_text .robot_img[data-v-60dd6514]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.robot .robot_top .robot_text .robot_img.img[data-v-60dd6514]{width:18rem}.robot .robot_top .robot_text .robot_img .robot_img_item[data-v-60dd6514]{max-height:100%;position:relative;width:40%;overflow:hidden;margin:0 5%;margin-bottom:5%}.robot .robot_top .robot_text .robot_img .robot_img_item:hover .delete_like_file_block[data-v-60dd6514]{display:block}.robot .robot_top .robot_text .robot_img img[data-v-60dd6514]{width:100%;height:8rem;-o-object-fit:contain;object-fit:contain;cursor:auto}.robot .robot_top .text_left[data-v-60dd6514],.robot .robot_top .text_right[data-v-60dd6514]{margin:2rem 0;font-size:1.2rem}.robot .robot_top .text_left[data-v-60dd6514]{display:flex;justify-content:flex-start}.robot .robot_top .text_left>div[data-v-60dd6514]{background-color:#e8e8ea;color:#000}.robot .robot_top .text_right[data-v-60dd6514]{display:flex;justify-content:flex-end}.robot .robot_top .text_right>div[data-v-60dd6514]{background-color:#835ff7;color:#fff}.robot .robot_top .text_right.white>div[data-v-60dd6514]{background-color:#fff}.robot .robot_content[data-v-60dd6514]{opacity:0;width:8rem;height:1.1rem;border-radius:2rem;overflow:hidden;border:.2rem solid;background:#341e57;display:flex;justify-content:flex-end;margin-left:auto;transition:all .3s}.robot .robot_content>div[data-v-60dd6514]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);height:100%;width:80%;border-radius:2rem}.robot.robot:hover .robot_content[data-v-60dd6514]{opacity:1}.robot .robot_bottom[data-v-60dd6514]{display:flex;align-items:center}.robot .robot_input[data-v-60dd6514]{border:1px solid #d5d5d7;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:#fff;border-radius:5px;transition:all .3s;opacity:0;display:none;margin-right:4rem}.robot .robot_input.active[data-v-60dd6514]{opacity:1}.robot .robot_input input[data-v-60dd6514]{border:none;font-size:1.2rem;width:25rem}.robot .robot_input .robot_btn[data-v-60dd6514]{display:flex;height:100%;cursor:pointer}.robot .robot_input .fi-ss-paper-plane-top[data-v-60dd6514]{display:flex;align-items:center}.robot .robot_input .fi-ss-paper-plane-top[data-v-60dd6514]:before{color:#835df8}.robot .robot_img[data-v-60dd6514]{margin-left:auto}.robot .robot_img img[data-v-60dd6514]{width:8rem;cursor:pointer} \ No newline at end of file +#app[data-v-adc2c6e6],body[data-v-adc2c6e6],html[data-v-adc2c6e6]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden}input[data-v-adc2c6e6]{outline:none}li[data-v-adc2c6e6],ul[data-v-adc2c6e6]{list-style:none;padding:0}.page_content[data-v-adc2c6e6]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-adc2c6e6],.button_second[data-v-adc2c6e6]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-adc2c6e6]{width:100%}.system_silder .ant-slider[data-v-adc2c6e6]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-adc2c6e6]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-adc2c6e6]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-adc2c6e6]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-adc2c6e6]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-adc2c6e6]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-adc2c6e6]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-adc2c6e6],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-adc2c6e6]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-adc2c6e6]{padding:0 1rem}.started_btn[data-v-adc2c6e6]{padding:.5rem 2rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:.9}.el-cascader[data-v-adc2c6e6]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-adc2c6e6]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-adc2c6e6]{height:80%!important;font-size:1.2rem}.el-popper[data-v-adc2c6e6]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-adc2c6e6],.el-cascader__tags[data-v-adc2c6e6]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-adc2c6e6],.el-cascader__tags .el-tag--light[data-v-adc2c6e6]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-adc2c6e6],.el-cascader__tags .el-tag--light .el-tag__content[data-v-adc2c6e6]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-adc2c6e6],.el-cascader__tags .el-cascader__search-input[data-v-adc2c6e6]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-adc2c6e6]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-adc2c6e6]{display:flex!important}.hideEvents [data-v-adc2c6e6]{pointer-events:none!important}.hideEvents .Guide_[data-v-adc2c6e6]{pointer-events:auto!important}.delete_like_file_block[data-v-adc2c6e6]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-adc2c6e6]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-adc2c6e6]{color:red}.el-popper .el-cascader-panel[data-v-adc2c6e6]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-adc2c6e6]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-adc2c6e6]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-adc2c6e6]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-adc2c6e6]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-adc2c6e6]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-adc2c6e6]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-adc2c6e6],.ant-select-allow-clear .ant-select-selector[data-v-adc2c6e6]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-adc2c6e6]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-adc2c6e6]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-adc2c6e6]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-adc2c6e6]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-adc2c6e6]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-adc2c6e6]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-adc2c6e6]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-adc2c6e6]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-adc2c6e6]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-adc2c6e6]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-adc2c6e6]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-adc2c6e6]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-adc2c6e6]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-adc2c6e6]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-adc2c6e6]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-adc2c6e6],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-adc2c6e6],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-adc2c6e6]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-adc2c6e6]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-adc2c6e6]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-adc2c6e6]:after{border-color:#eee}.ant-modal-mask[data-v-adc2c6e6]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.modal_component.ant-modal[data-v-adc2c6e6]{top:0}.modal_component .ant-modal-content[data-v-adc2c6e6]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-adc2c6e6]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-adc2c6e6]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-adc2c6e6]{padding:0}.ant-modal-body[data-v-adc2c6e6]{font-size:1.4rem}.operate_file_block[data-v-adc2c6e6]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-adc2c6e6]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative}.operate_file_block .select_img_type .select_category[data-v-adc2c6e6]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-adc2c6e6]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-adc2c6e6]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-adc2c6e6]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-adc2c6e6]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-adc2c6e6]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-adc2c6e6],.operate_file_block .select_img_type .category_list .category_item[data-v-adc2c6e6]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.habit[data-v-adc2c6e6] .ant-btn:hover,[data-v-adc2c6e6] .ant-btn:active,[data-v-adc2c6e6] .ant-btn:after,[data-v-adc2c6e6] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-adc2c6e6] .ant-switch-checked{background-color:#000}[data-v-adc2c6e6] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-adc2c6e6] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-adc2c6e6] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-adc2c6e6]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-adc2c6e6]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-adc2c6e6]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-adc2c6e6]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-adc2c6e6]{background-color:#543087}.ant-spin[data-v-adc2c6e6]{color:#000}.pin_block[data-v-adc2c6e6]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-adc2c6e6]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-adc2c6e6]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-adc2c6e6]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-adc2c6e6]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-adc2c6e6]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-adc2c6e6]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-adc2c6e6],.ant-checkbox-wrapper[data-v-adc2c6e6]{font-size:1.4rem}.ant-checkbox-checked[data-v-adc2c6e6]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-adc2c6e6],.ant-select-multiple .ant-select-selection-search[data-v-adc2c6e6]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-adc2c6e6]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-adc2c6e6],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-adc2c6e6],.ant-checkbox:hover .ant-checkbox-inner[data-v-adc2c6e6]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-adc2c6e6]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-adc2c6e6]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-adc2c6e6]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-adc2c6e6]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-adc2c6e6],.designOpenrtion_modal .ant-modal-body[data-v-adc2c6e6],.design_detail_modal_component .ant-modal-body[data-v-adc2c6e6],.library_page .ant-modal-body[data-v-adc2c6e6]{overflow-y:hidden}.collection_modal .design_title_text[data-v-adc2c6e6],.designOpenrtion_modal .design_title_text[data-v-adc2c6e6],.design_detail_modal_component .design_title_text[data-v-adc2c6e6],.library_page .design_title_text[data-v-adc2c6e6]{font-size:1.8rem;font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-adc2c6e6],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-adc2c6e6],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-adc2c6e6],.library_page .design_title_text .design_title_text_intro[data-v-adc2c6e6]{font-size:1.2rem;font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-adc2c6e6],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-adc2c6e6],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-adc2c6e6],.library_page .ant-upload.ant-upload-select-picture-card[data-v-adc2c6e6]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-adc2c6e6],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-adc2c6e6],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-adc2c6e6],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-adc2c6e6]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-adc2c6e6],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-adc2c6e6],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-adc2c6e6],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-adc2c6e6]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-adc2c6e6],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-adc2c6e6],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-adc2c6e6],.library_page .ant-upload-list-picture-card-container[data-v-adc2c6e6]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-adc2c6e6],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-adc2c6e6],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-adc2c6e6],.library_page .ant-upload-picture-card-wrapper[data-v-adc2c6e6]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-adc2c6e6],.design_detail_modal_component .design_closeIcon[data-v-adc2c6e6]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-adc2c6e6]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-adc2c6e6]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-adc2c6e6]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-adc2c6e6]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-adc2c6e6],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-adc2c6e6]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-adc2c6e6],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-adc2c6e6]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-adc2c6e6],.design_detail_modal_component .subitOkPreviewBtn[data-v-adc2c6e6]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-adc2c6e6],i[data-v-adc2c6e6]{font-size:1.4rem}.collection_modal_body .input_box[data-v-adc2c6e6],.design_detail_modal_component .input_box[data-v-adc2c6e6],.library_page .input_box[data-v-adc2c6e6]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-adc2c6e6],.design_detail_modal_component .input_box input[data-v-adc2c6e6],.library_page .input_box input[data-v-adc2c6e6]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-adc2c6e6]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-adc2c6e6]:-moz-placeholder,.library_page .input_box inputinput[data-v-adc2c6e6]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-adc2c6e6]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-adc2c6e6]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-adc2c6e6]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-adc2c6e6]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-adc2c6e6]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-adc2c6e6]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-adc2c6e6],.design_detail_modal_component .input_box span[data-v-adc2c6e6],.library_page .input_box span[data-v-adc2c6e6]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-adc2c6e6],.design_detail_modal_component .input_box.active input[data-v-adc2c6e6],.library_page .input_box.active input[data-v-adc2c6e6]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-adc2c6e6],.design_detail_modal_component .input_box.active span[data-v-adc2c6e6],.library_page .input_box.active span[data-v-adc2c6e6]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-adc2c6e6],.design_detail_modal_component .input_box .generage_btn[data-v-adc2c6e6],.library_page .input_box .generage_btn[data-v-adc2c6e6]{margin:0 auto}.collection_modal_body .upload_item[data-v-adc2c6e6],.design_detail_modal_component .upload_item[data-v-adc2c6e6],.library_page .upload_item[data-v-adc2c6e6]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item[data-v-adc2c6e6],.library_page .upload_item .upload_file_item[data-v-adc2c6e6]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-adc2c6e6],.library_page .upload_item .upload_file_item.active[data-v-adc2c6e6]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-adc2c6e6],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-adc2c6e6],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-adc2c6e6],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-adc2c6e6]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-adc2c6e6],.library_page .upload_item .upload_file_item.upload_component[data-v-adc2c6e6]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-adc2c6e6] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-adc2c6e6] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-adc2c6e6] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-adc2c6e6] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-adc2c6e6] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-adc2c6e6] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-adc2c6e6]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-adc2c6e6]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-adc2c6e6]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-adc2c6e6]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-adc2c6e6]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-adc2c6e6]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-adc2c6e6],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-adc2c6e6],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-adc2c6e6]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-adc2c6e6]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-adc2c6e6]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-adc2c6e6]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-adc2c6e6]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.habit[data-v-adc2c6e6]{position:relative}.habit .habit_button[data-v-adc2c6e6]{background-color:#fff;border:2px solid #000;padding:0 2rem;box-sizing:initial;font-weight:600;height:3.2rem;line-height:3.2rem;padding:.4rem 1.5rem;font-size:1.2rem;cursor:pointer;position:relative}.habit .habit_button .fi-bs-angle-down[data-v-adc2c6e6]{margin-left:1rem;display:inline-block;transform:translateY(2px)}.habit .habit_mask[data-v-adc2c6e6]{position:absolute;top:-20px;left:auto;right:-30px;bottom:0;opacity:0;width:100vw;height:100vh}.habit .habit_content[data-v-adc2c6e6]{border:2px solid #000;border-radius:1rem;padding:2rem;font-size:1.6rem;transform-origin:top right;position:absolute;right:-.3rem;top:110%;background:#fff;width:30rem;opacity:0;transition:all .3s;transform:scale(.75) translateY(10%);display:none}.habit .habit_content.active[data-v-adc2c6e6]{opacity:1;transform:scale(.75) translateY(0)}.habit .habit_content .habit_title h3[data-v-adc2c6e6]{font-size:1.6rem;font-weight:600;color:#000;margin:0}.habit .habit_content .habit_title .habit_intro[data-v-adc2c6e6]{font-size:1.2rem;color:rgba(0,0,0,.5);font-weight:500}.habit .habit_content .habit_type[data-v-adc2c6e6]{margin-top:1.5rem;cursor:pointer;position:relative}.habit .habit_content .habit_type .habit_workspace_show[data-v-adc2c6e6]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_type .habit_workspace_show.active[data-v-adc2c6e6]{transform:translateY(0)}.habit .habit_content .habit_Overal_Single[data-v-adc2c6e6]{display:flex;align-items:center;justify-content:center;margin:3rem 0;position:relative}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text[data-v-adc2c6e6]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text.active[data-v-adc2c6e6]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_Overal_Single[data-v-adc2c6e6] .ant-switch{margin:0 1rem}.habit .habit_content .habit_Overal_Single .habit_sex_show[data-v-adc2c6e6]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_Overal_Single .habit_sex_show.active[data-v-adc2c6e6]{transform:translateY(0)}.habit .habit_content .habit_habit_singleton[data-v-adc2c6e6]{margin-bottom:3rem;position:relative}.habit .habit_content .habit_habit_singleton .habit_singleton_show[data-v-adc2c6e6]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_habit_singleton .habit_singleton_show.active[data-v-adc2c6e6]{transform:translateY(0)}.habit .habit_content .habit_System_Designer[data-v-adc2c6e6]{margin-top:8rem}.habit .habit_content .habit_System_Designer[data-v-adc2c6e6] .ant-slider-rail,.habit .habit_content .habit_System_Designer[data-v-adc2c6e6] .ant-slider-track{height:.6rem;background-color:#e1e1e1;border-radius:.5rem}.habit .habit_content .habit_System_Designer[data-v-adc2c6e6] .ant-slider .ant-slider-handle:not(.ant-tooltip-open),.habit .habit_content .habit_System_Designer[data-v-adc2c6e6] .ant-slider-handle{background-color:#2d2e76!important;border:none!important}.habit .habit_content .habit_System_Designer[data-v-adc2c6e6] .ant-slider-handle:hover{box-shadow:0 0 0 5px rgba(45,46,118,.2)}.habit .habit_content .habit_System_Designer .habit_System_Designer_text_max[data-v-adc2c6e6]{display:flex;justify-content:space-between}.habit .habit_content .habit_model[data-v-adc2c6e6]{margin-top:2rem}.habit .habit_content .habit_model_show[data-v-adc2c6e6]{position:absolute;background-color:#fff;border:2px solid #000;border-radius:1rem;padding:2rem;bottom:-.5rem;transform:translateY(110%);right:-.2rem;width:40rem;opacity:0;transition:all .3s;display:none}.habit .habit_content .habit_model_show.active[data-v-adc2c6e6]{opacity:1;transform:translateY(100%)}.habit .habit_content .habit_model_show .habit_btn[data-v-adc2c6e6]{display:flex;justify-content:space-between}.habit .habit_content .habit_model_show .habit_btn .model_current[data-v-adc2c6e6]{margin-right:3rem}.habit .habit_content .habit_model_show .habit_btn .model_current .model_text[data-v-adc2c6e6]{text-align:center}.habit .habit_content .habit_model_show .habit_model_list[data-v-adc2c6e6]{margin:0}.habit .habit_content .habit_model_show .habit_model_list li[data-v-adc2c6e6]{padding:.5rem 0;display:flex}.habit .habit_content .habit_model_show .habit_model_list li input[data-v-adc2c6e6]{border:0;width:80%;background:transparent}.habit .habit_content .habit_model_show .habit_model_list li>div[data-v-adc2c6e6]{cursor:pointer;width:80%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace[data-v-adc2c6e6]{text-align:center;justify-content:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace div[data-v-adc2c6e6]{border-radius:50%;border:1px solid #000;display:inline-block;width:2rem;height:2rem;line-height:2rem;text-align:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace i[data-v-adc2c6e6]{flex:1}.habit .habit_content .habit_model_show .habit_model_list li i[data-v-adc2c6e6]{cursor:pointer}.habit .habit_content .habit_model_show .habit_model_list li .fi-rr-trash[data-v-adc2c6e6]{margin-left:1rem}.habit .habit_content .habit_model_show .habit_model_list li[data-v-adc2c6e6]:hover{background:rgba(0,0,0,.1)}.habit .habit_content .habit_model_show .model_Designer[data-v-adc2c6e6]{flex:1;overflow:hidden;display:flex;flex-direction:column}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-adc2c6e6]{display:flex;justify-content:center}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-adc2c6e6] .ant-switch{margin:0 1rem}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-adc2c6e6]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text.active[data-v-adc2c6e6]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-adc2c6e6] .ant-switch-checked{background-color:#000}.habit .habit_content .habit_model_show .model_img[data-v-adc2c6e6]{display:flex;flex:1;align-items:center;overflow-x:auto}.habit .habit_content .habit_model_show .model_img.model_img[data-v-adc2c6e6]::-webkit-scrollbar{width:1rem;height:1rem;-webkit-transition:all .3s;transition:all .3s}.habit .habit_content .habit_model_show .model_img.model_img[data-v-adc2c6e6]::-webkit-scrollbar-thumb,.habit .habit_content .habit_model_show .model_img.model_img[data-v-adc2c6e6]::-webkit-scrollbar-track{border-radius:1rem;background:rgba(238,238,244,0)}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-adc2c6e6]::-webkit-scrollbar-thumb{background:#543087}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-adc2c6e6]::-webkit-scrollbar-track{background:rgba(84,48,135,.2)}.habit .habit_content .habit_model_show .model_img>div[data-v-adc2c6e6]{display:flex}.habit .habit_content .habit_model_show .model_img div[data-v-adc2c6e6]{width:auto;margin-right:1rem}.habit .habit_content .habit_model_show .model_img img[data-v-adc2c6e6]{width:10rem;cursor:pointer}.habit[data-v-adc2c6e6] .ant-dropdown-button{margin-right:8px;margin-bottom:8px}.habit[data-v-adc2c6e6] .ant-btn{box-shadow:none!important;color:rgba(0,0,0,.5);box-shadow:none;border:none;background:#f6f6f6;width:100%;font-weight:600;display:flex;align-items:center;justify-content:space-between;font-size:1.4rem}.ant-tooltip{z-index:1049!important}.habit :deep(.ant-tooltip .ant-tooltip-inner),:deep(.ant-tooltip-arrow-content){background:#000!important}.habit_mod{background-color:#000!important}.ant-tooltip .ant-tooltip-inner,.ant-tooltip-arrow-content{background:#000!important}#app[data-v-7c2d967a],body[data-v-7c2d967a],html[data-v-7c2d967a]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden}input[data-v-7c2d967a]{outline:none}li[data-v-7c2d967a],ul[data-v-7c2d967a]{list-style:none;padding:0}.page_content[data-v-7c2d967a]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-7c2d967a],.button_second[data-v-7c2d967a]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-7c2d967a]{width:100%}.system_silder .ant-slider[data-v-7c2d967a]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-7c2d967a]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-7c2d967a]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-7c2d967a]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-7c2d967a]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-7c2d967a]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7c2d967a]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-7c2d967a],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-7c2d967a]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-7c2d967a]{padding:0 1rem}.started_btn[data-v-7c2d967a]{padding:.5rem 2rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:.9}.el-cascader[data-v-7c2d967a]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-7c2d967a]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-7c2d967a]{height:80%!important;font-size:1.2rem}.el-popper[data-v-7c2d967a]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-7c2d967a],.el-cascader__tags[data-v-7c2d967a]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-7c2d967a],.el-cascader__tags .el-tag--light[data-v-7c2d967a]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-7c2d967a],.el-cascader__tags .el-tag--light .el-tag__content[data-v-7c2d967a]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-7c2d967a],.el-cascader__tags .el-cascader__search-input[data-v-7c2d967a]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-7c2d967a]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-7c2d967a]{display:flex!important}.hideEvents [data-v-7c2d967a]{pointer-events:none!important}.hideEvents .Guide_[data-v-7c2d967a]{pointer-events:auto!important}.delete_like_file_block[data-v-7c2d967a]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-7c2d967a]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-7c2d967a]{color:red}.el-popper .el-cascader-panel[data-v-7c2d967a]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-7c2d967a]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-7c2d967a]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-7c2d967a]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-7c2d967a]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-7c2d967a]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-7c2d967a]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-7c2d967a],.ant-select-allow-clear .ant-select-selector[data-v-7c2d967a]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-7c2d967a]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-7c2d967a]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-7c2d967a]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-7c2d967a]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-7c2d967a]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7c2d967a]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-7c2d967a]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-7c2d967a]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-7c2d967a]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-7c2d967a]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-7c2d967a]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7c2d967a]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7c2d967a]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-7c2d967a]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-7c2d967a]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-7c2d967a],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-7c2d967a],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-7c2d967a]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-7c2d967a]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7c2d967a]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7c2d967a]:after{border-color:#eee}.ant-modal-mask[data-v-7c2d967a]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.modal_component.ant-modal[data-v-7c2d967a]{top:0}.modal_component .ant-modal-content[data-v-7c2d967a]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-7c2d967a]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-7c2d967a]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-7c2d967a]{padding:0}.ant-modal-body[data-v-7c2d967a]{font-size:1.4rem}.operate_file_block[data-v-7c2d967a]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-7c2d967a]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative}.operate_file_block .select_img_type .select_category[data-v-7c2d967a]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-7c2d967a]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-7c2d967a]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-7c2d967a]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-7c2d967a]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-7c2d967a]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-7c2d967a],.operate_file_block .select_img_type .category_list .category_item[data-v-7c2d967a]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.habit[data-v-7c2d967a] .ant-btn:hover,[data-v-7c2d967a] .ant-btn:active,[data-v-7c2d967a] .ant-btn:after,[data-v-7c2d967a] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-7c2d967a] .ant-switch-checked{background-color:#000}[data-v-7c2d967a] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-7c2d967a] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-7c2d967a] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-7c2d967a]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-7c2d967a]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7c2d967a]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7c2d967a]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-7c2d967a]{background-color:#543087}.ant-spin[data-v-7c2d967a]{color:#000}.pin_block[data-v-7c2d967a]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-7c2d967a]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-7c2d967a]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-7c2d967a]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-7c2d967a]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-7c2d967a]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-7c2d967a]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-7c2d967a],.ant-checkbox-wrapper[data-v-7c2d967a]{font-size:1.4rem}.ant-checkbox-checked[data-v-7c2d967a]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-7c2d967a],.ant-select-multiple .ant-select-selection-search[data-v-7c2d967a]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-7c2d967a]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-7c2d967a],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-7c2d967a],.ant-checkbox:hover .ant-checkbox-inner[data-v-7c2d967a]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-7c2d967a]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-7c2d967a]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-7c2d967a]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-7c2d967a]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-7c2d967a],.designOpenrtion_modal .ant-modal-body[data-v-7c2d967a],.design_detail_modal_component .ant-modal-body[data-v-7c2d967a],.library_page .ant-modal-body[data-v-7c2d967a]{overflow-y:hidden}.collection_modal .design_title_text[data-v-7c2d967a],.designOpenrtion_modal .design_title_text[data-v-7c2d967a],.design_detail_modal_component .design_title_text[data-v-7c2d967a],.library_page .design_title_text[data-v-7c2d967a]{font-size:1.8rem;font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-7c2d967a],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-7c2d967a],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-7c2d967a],.library_page .design_title_text .design_title_text_intro[data-v-7c2d967a]{font-size:1.2rem;font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a],.library_page .ant-upload.ant-upload-select-picture-card[data-v-7c2d967a]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7c2d967a]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7c2d967a]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-7c2d967a],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7c2d967a],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7c2d967a],.library_page .ant-upload-list-picture-card-container[data-v-7c2d967a]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-7c2d967a],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7c2d967a],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7c2d967a],.library_page .ant-upload-picture-card-wrapper[data-v-7c2d967a]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-7c2d967a],.design_detail_modal_component .design_closeIcon[data-v-7c2d967a]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-7c2d967a]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-7c2d967a]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7c2d967a]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7c2d967a]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7c2d967a],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7c2d967a]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7c2d967a],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7c2d967a]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-7c2d967a],.design_detail_modal_component .subitOkPreviewBtn[data-v-7c2d967a]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-7c2d967a],i[data-v-7c2d967a]{font-size:1.4rem}.collection_modal_body .input_box[data-v-7c2d967a],.design_detail_modal_component .input_box[data-v-7c2d967a],.library_page .input_box[data-v-7c2d967a]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-7c2d967a],.design_detail_modal_component .input_box input[data-v-7c2d967a],.library_page .input_box input[data-v-7c2d967a]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-7c2d967a]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7c2d967a]:-moz-placeholder,.library_page .input_box inputinput[data-v-7c2d967a]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7c2d967a]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7c2d967a]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-7c2d967a]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7c2d967a]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7c2d967a]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-7c2d967a]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-7c2d967a],.design_detail_modal_component .input_box span[data-v-7c2d967a],.library_page .input_box span[data-v-7c2d967a]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-7c2d967a],.design_detail_modal_component .input_box.active input[data-v-7c2d967a],.library_page .input_box.active input[data-v-7c2d967a]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-7c2d967a],.design_detail_modal_component .input_box.active span[data-v-7c2d967a],.library_page .input_box.active span[data-v-7c2d967a]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-7c2d967a],.design_detail_modal_component .input_box .generage_btn[data-v-7c2d967a],.library_page .input_box .generage_btn[data-v-7c2d967a]{margin:0 auto}.collection_modal_body .upload_item[data-v-7c2d967a],.design_detail_modal_component .upload_item[data-v-7c2d967a],.library_page .upload_item[data-v-7c2d967a]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item[data-v-7c2d967a],.library_page .upload_item .upload_file_item[data-v-7c2d967a]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-7c2d967a],.library_page .upload_item .upload_file_item.active[data-v-7c2d967a]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-7c2d967a],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-7c2d967a]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-7c2d967a],.library_page .upload_item .upload_file_item.upload_component[data-v-7c2d967a]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-7c2d967a] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-7c2d967a]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7c2d967a]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7c2d967a]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7c2d967a]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7c2d967a]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7c2d967a]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-7c2d967a],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-7c2d967a],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-7c2d967a]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-7c2d967a]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-7c2d967a]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-7c2d967a]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-7c2d967a]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.header_max[data-v-7c2d967a]{position:relative}.header_component[data-v-7c2d967a]{display:flex;justify-content:space-between;padding-left:0;width:100%;height:7rem;background:hsla(0,0%,100%,.2);position:relative;align-items:center;z-index:1049;background-color:#fff}.header_component .header_right[data-v-7c2d967a]{width:33%;display:flex;justify-content:flex-end;align-items:center}.header_component .header_logo[data-v-7c2d967a]{width:14.4rem;height:3.2rem;margin:2.1rem 2.8rem 0;margin-top:0}.header_component .header_nav_content[data-v-7c2d967a]{display:flex;align-items:center}.header_component .header_nav_content .nav_item[data-v-7c2d967a]{padding:1.1rem 1rem;border-bottom:.1rem solid transparent;margin-right:3.4rem;font-size:1.6rem;line-height:1.3rem;color:#000;cursor:pointer;font-weight:900}.header_component .header_nav_content .nav_item.nav_item[data-v-7c2d967a]:nth-child(3){margin:0}.header_component .header_nav_content .nav_item.nav_item[data-v-7c2d967a]:before{position:absolute;content:"";display:block;background:#000;height:.3rem;left:50%;transform:translateX(-50%);bottom:.3rem;width:0;transition:all .3s}.header_component .header_nav_content .nav_item.select_nav[data-v-7c2d967a]{color:#000;transform:scale(1.15)}.header_component .header_nav_content .nav_item.select_nav[data-v-7c2d967a]:before{width:80%}.header_component .header_right_content[data-v-7c2d967a]{top:0;left:0;display:flex;width:33%;height:100%;align-items:center;overflow:hidden}.header_component .header_right_content .header_icon[data-v-7c2d967a]{font-size:3.6rem;position:relative;top:.3rem}.header_component .header_right_content .header_user_icon[data-v-7c2d967a]{height:4rem;width:4rem;background-color:#000;border-radius:50%;transform:translateX(-40%) scale(1.3)}.header_component .header_right_content .header_user_content[data-v-7c2d967a]{display:flex;align-items:center;position:relative;height:3.7rem}.header_component .header_right_content .header_user_content .username[data-v-7c2d967a]{font-size:1.8rem;color:#1a1a1a;margin:0 .8rem;font-weight:900}.header_component .header_right_content .header_user_content .username span[data-v-7c2d967a]{margin:.7rem}.header_component .header_right_content .header_user_content .icon-xiala[data-v-7c2d967a]{font-size:1.4rem;cursor:pointer;transition:all .3s}.header_component .header_right_content .header_user_content .icon_rotate[data-v-7c2d967a]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.select_block[data-v-7c2d967a]{z-index:1050;position:absolute;left:6.5rem;top:4.7rem;width:11.4rem;background:#fff;box-shadow:0 .4rem .4rem 0 rgba(0,0,0,.1);overflow:hidden;border:1px solid #000}.select_block.select_list[data-v-7c2d967a]{transform:translateX(105%)}.select_block .select_item[data-v-7c2d967a]{padding-left:1.5rem;height:4.1rem;color:#4d4d4d;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select_block .select_item[data-v-7c2d967a]:hover{background:#f7f7f7}.select_block .select_item .iconfont[data-v-7c2d967a]{font-size:1.4rem}.select_block .select_item .select_item_des[data-v-7c2d967a]{font-size:1.3rem;margin-left:.8rem}.modal_component .skip_content[data-v-7c2d967a]{width:6rem;height:3rem;line-height:2.8rem;border:.1rem solid #343579;font-size:1.4rem;color:#343579;position:absolute;top:1.8rem;right:1.8rem;cursor:pointer}.modal_component .bind_email_content[data-v-7c2d967a]{padding:4.8rem 9.2rem 6rem}.modal_component .bind_email_content .bind_email_tip[data-v-7c2d967a]{font-size:1.8rem;color:#a5b0c2;line-height:1.9rem;text-align:center}.modal_component .bind_email_content .bind_email[data-v-7c2d967a]{margin-top:2rem;font-size:2.2rem;font-weight:400;color:#030303;text-align:center}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_title[data-v-7c2d967a]{font-size:2.2rem;font-weight:700;color:#030303;line-height:2.4rem}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-7c2d967a]{width:100%;height:4.6rem;margin-top:1rem;border:.1rem solid #b4bed7;padding-left:2.1rem;line-height:4.6rem;font-size:1.8rem;box-sizing:border-box}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-7c2d967a]::-moz-placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-7c2d967a]::placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_submit_button[data-v-7c2d967a]{height:4.6rem;line-height:4.6rem;background:#343579;font-size:1.6rem;font-weight:500;color:#fff;width:12.8rem;text-align:center;cursor:pointer;margin:3rem auto 0}.modal_component .bind_email_content .icon--shangyibu[data-v-7c2d967a]{font-size:2.5rem;font-weight:700;color:#030303}.modal_component .bind_email_content .email_last_step_content[data-v-7c2d967a]{margin-left:1rem;font-size:2.2rem;font-family:PingFang SC;font-weight:700;color:#030303}.modal_component .bind_email_content .tip_content[data-v-7c2d967a]{font-size:1.3rem;font-weight:700;color:#343579;cursor:pointer}.modal_component .bind_email_content .email_last_step_des[data-v-7c2d967a]{display:flex;align-items:center;justify-content:space-between;margin-top:2.5rem;margin-bottom:1.5rem}.modal_component .bind_email_content .email_last_step_des .sent_email_content[data-v-7c2d967a]{font-size:1.8rem;font-weight:700;color:#a5b0c2}#app[data-v-60dd6514],body[data-v-60dd6514],html[data-v-60dd6514]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden}input[data-v-60dd6514]{outline:none}li[data-v-60dd6514],ul[data-v-60dd6514]{list-style:none;padding:0}.page_content[data-v-60dd6514]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-60dd6514],.button_second[data-v-60dd6514]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-60dd6514]{width:100%}.system_silder .ant-slider[data-v-60dd6514]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-60dd6514]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-60dd6514]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-60dd6514]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-60dd6514]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-60dd6514]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-60dd6514]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-60dd6514],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-60dd6514]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-60dd6514]{padding:0 1rem}.started_btn[data-v-60dd6514]{padding:.5rem 2rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:.9}.el-cascader[data-v-60dd6514]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-60dd6514]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-60dd6514]{height:80%!important;font-size:1.2rem}.el-popper[data-v-60dd6514]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-60dd6514],.el-cascader__tags[data-v-60dd6514]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-60dd6514],.el-cascader__tags .el-tag--light[data-v-60dd6514]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-60dd6514],.el-cascader__tags .el-tag--light .el-tag__content[data-v-60dd6514]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-60dd6514],.el-cascader__tags .el-cascader__search-input[data-v-60dd6514]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-60dd6514]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-60dd6514]{display:flex!important}.hideEvents [data-v-60dd6514]{pointer-events:none!important}.hideEvents .Guide_[data-v-60dd6514]{pointer-events:auto!important}.delete_like_file_block[data-v-60dd6514]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-60dd6514]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-60dd6514]{color:red}.el-popper .el-cascader-panel[data-v-60dd6514]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-60dd6514]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-60dd6514]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-60dd6514]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-60dd6514]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-60dd6514]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-60dd6514]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-60dd6514],.ant-select-allow-clear .ant-select-selector[data-v-60dd6514]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-60dd6514]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-60dd6514]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-60dd6514]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-60dd6514]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-60dd6514]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-60dd6514]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-60dd6514]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-60dd6514]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-60dd6514]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-60dd6514]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-60dd6514]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-60dd6514]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-60dd6514]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-60dd6514]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-60dd6514]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-60dd6514],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-60dd6514],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-60dd6514]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-60dd6514]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-60dd6514]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-60dd6514]:after{border-color:#eee}.ant-modal-mask[data-v-60dd6514]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.modal_component.ant-modal[data-v-60dd6514]{top:0}.modal_component .ant-modal-content[data-v-60dd6514]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-60dd6514]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-60dd6514]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-60dd6514]{padding:0}.ant-modal-body[data-v-60dd6514]{font-size:1.4rem}.operate_file_block[data-v-60dd6514]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-60dd6514]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative}.operate_file_block .select_img_type .select_category[data-v-60dd6514]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-60dd6514]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-60dd6514]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-60dd6514]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-60dd6514]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-60dd6514]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-60dd6514],.operate_file_block .select_img_type .category_list .category_item[data-v-60dd6514]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.habit[data-v-60dd6514] .ant-btn:hover,[data-v-60dd6514] .ant-btn:active,[data-v-60dd6514] .ant-btn:after,[data-v-60dd6514] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-60dd6514] .ant-switch-checked{background-color:#000}[data-v-60dd6514] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-60dd6514] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-60dd6514] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-60dd6514]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-60dd6514]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-60dd6514]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-60dd6514]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-60dd6514]{background-color:#543087}.ant-spin[data-v-60dd6514]{color:#000}.pin_block[data-v-60dd6514]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-60dd6514]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-60dd6514]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-60dd6514]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-60dd6514]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-60dd6514]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-60dd6514]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-60dd6514],.ant-checkbox-wrapper[data-v-60dd6514]{font-size:1.4rem}.ant-checkbox-checked[data-v-60dd6514]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-60dd6514],.ant-select-multiple .ant-select-selection-search[data-v-60dd6514]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-60dd6514]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-60dd6514],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-60dd6514],.ant-checkbox:hover .ant-checkbox-inner[data-v-60dd6514]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-60dd6514]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-60dd6514]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-60dd6514]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-60dd6514]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-60dd6514],.designOpenrtion_modal .ant-modal-body[data-v-60dd6514],.design_detail_modal_component .ant-modal-body[data-v-60dd6514],.library_page .ant-modal-body[data-v-60dd6514]{overflow-y:hidden}.collection_modal .design_title_text[data-v-60dd6514],.designOpenrtion_modal .design_title_text[data-v-60dd6514],.design_detail_modal_component .design_title_text[data-v-60dd6514],.library_page .design_title_text[data-v-60dd6514]{font-size:1.8rem;font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-60dd6514],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-60dd6514],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-60dd6514],.library_page .design_title_text .design_title_text_intro[data-v-60dd6514]{font-size:1.2rem;font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-60dd6514],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-60dd6514],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-60dd6514],.library_page .ant-upload.ant-upload-select-picture-card[data-v-60dd6514]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-60dd6514]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-60dd6514]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-60dd6514],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-60dd6514],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-60dd6514],.library_page .ant-upload-list-picture-card-container[data-v-60dd6514]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-60dd6514],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-60dd6514],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-60dd6514],.library_page .ant-upload-picture-card-wrapper[data-v-60dd6514]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-60dd6514],.design_detail_modal_component .design_closeIcon[data-v-60dd6514]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-60dd6514]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-60dd6514]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-60dd6514]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-60dd6514]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-60dd6514],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-60dd6514]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-60dd6514],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-60dd6514]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-60dd6514],.design_detail_modal_component .subitOkPreviewBtn[data-v-60dd6514]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-60dd6514],i[data-v-60dd6514]{font-size:1.4rem}.collection_modal_body .input_box[data-v-60dd6514],.design_detail_modal_component .input_box[data-v-60dd6514],.library_page .input_box[data-v-60dd6514]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-60dd6514],.design_detail_modal_component .input_box input[data-v-60dd6514],.library_page .input_box input[data-v-60dd6514]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-60dd6514]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-60dd6514]:-moz-placeholder,.library_page .input_box inputinput[data-v-60dd6514]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-60dd6514]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-60dd6514]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-60dd6514]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-60dd6514]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-60dd6514]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-60dd6514]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-60dd6514],.design_detail_modal_component .input_box span[data-v-60dd6514],.library_page .input_box span[data-v-60dd6514]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-60dd6514],.design_detail_modal_component .input_box.active input[data-v-60dd6514],.library_page .input_box.active input[data-v-60dd6514]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-60dd6514],.design_detail_modal_component .input_box.active span[data-v-60dd6514],.library_page .input_box.active span[data-v-60dd6514]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-60dd6514],.design_detail_modal_component .input_box .generage_btn[data-v-60dd6514],.library_page .input_box .generage_btn[data-v-60dd6514]{margin:0 auto}.collection_modal_body .upload_item[data-v-60dd6514],.design_detail_modal_component .upload_item[data-v-60dd6514],.library_page .upload_item[data-v-60dd6514]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item[data-v-60dd6514],.library_page .upload_item .upload_file_item[data-v-60dd6514]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-60dd6514],.library_page .upload_item .upload_file_item.active[data-v-60dd6514]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-60dd6514],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-60dd6514]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-60dd6514],.library_page .upload_item .upload_file_item.upload_component[data-v-60dd6514]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-60dd6514] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-60dd6514]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-60dd6514]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-60dd6514]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-60dd6514]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-60dd6514]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-60dd6514]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-60dd6514],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-60dd6514],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-60dd6514]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-60dd6514]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-60dd6514]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-60dd6514]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-60dd6514]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-60dd6514]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.robot[data-v-60dd6514]{position:absolute;bottom:.5rem;right:2.5rem;z-index:10003}.robot .robot_top[data-v-60dd6514]{width:30rem;margin-left:auto;overflow-x:hidden;transition:all .3s;opacity:0;height:auto;max-height:30rem;display:none}.robot .robot_top.active[data-v-60dd6514]{opacity:1}.robot .robot_top.robot_top[data-v-60dd6514]::-webkit-scrollbar{display:none}.robot .robot_top .robot_text[data-v-60dd6514]{font-size:1.4rem;padding:1rem 1.5rem;display:inline-block;border-radius:2rem;max-width:80%}.robot .robot_top .robot_text .robot_img[data-v-60dd6514]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.robot .robot_top .robot_text .robot_img.img[data-v-60dd6514]{width:18rem}.robot .robot_top .robot_text .robot_img .robot_img_item[data-v-60dd6514]{max-height:100%;position:relative;width:40%;overflow:hidden;margin:0 5%;margin-bottom:5%}.robot .robot_top .robot_text .robot_img .robot_img_item:hover .delete_like_file_block[data-v-60dd6514]{display:block}.robot .robot_top .robot_text .robot_img img[data-v-60dd6514]{width:100%;height:8rem;-o-object-fit:contain;object-fit:contain;cursor:auto}.robot .robot_top .text_left[data-v-60dd6514],.robot .robot_top .text_right[data-v-60dd6514]{margin:2rem 0;font-size:1.2rem}.robot .robot_top .text_left[data-v-60dd6514]{display:flex;justify-content:flex-start}.robot .robot_top .text_left>div[data-v-60dd6514]{background-color:#e8e8ea;color:#000}.robot .robot_top .text_right[data-v-60dd6514]{display:flex;justify-content:flex-end}.robot .robot_top .text_right>div[data-v-60dd6514]{background-color:#835ff7;color:#fff}.robot .robot_top .text_right.white>div[data-v-60dd6514]{background-color:#fff}.robot .robot_content[data-v-60dd6514]{opacity:0;width:8rem;height:1.1rem;border-radius:2rem;overflow:hidden;border:.2rem solid;background:#341e57;display:flex;justify-content:flex-end;margin-left:auto;transition:all .3s}.robot .robot_content>div[data-v-60dd6514]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);height:100%;width:80%;border-radius:2rem}.robot.robot:hover .robot_content[data-v-60dd6514]{opacity:1}.robot .robot_bottom[data-v-60dd6514]{display:flex;align-items:center}.robot .robot_input[data-v-60dd6514]{border:1px solid #d5d5d7;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:#fff;border-radius:5px;transition:all .3s;opacity:0;display:none;margin-right:4rem}.robot .robot_input.active[data-v-60dd6514]{opacity:1}.robot .robot_input input[data-v-60dd6514]{border:none;font-size:1.2rem;width:25rem}.robot .robot_input .robot_btn[data-v-60dd6514]{display:flex;height:100%;cursor:pointer}.robot .robot_input .fi-ss-paper-plane-top[data-v-60dd6514]{display:flex;align-items:center}.robot .robot_input .fi-ss-paper-plane-top[data-v-60dd6514]:before{color:#835df8}.robot .robot_img[data-v-60dd6514]{margin-left:auto}.robot .robot_img img[data-v-60dd6514]{width:8rem;cursor:pointer} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index d38b68ce..9f3aa343 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/370.25e7abdb.js b/dist/js/155.976173ad.js similarity index 53% rename from dist/js/370.25e7abdb.js rename to dist/js/155.976173ad.js index cfbac085..e640c686 100644 --- a/dist/js/370.25e7abdb.js +++ b/dist/js/155.976173ad.js @@ -1 +1 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[370],{4924:function(e,t,s){s.d(t,{Z:function(){return m}});var i=s(6252),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},n=a,o=s(2130);function l(e){for(var t=1;t((0,i.dD)("data-v-7c2d967a"),e=e(),(0,i.Cn)(),e),r={class:"header_max"},c={class:"header_component"},m={class:"header_right_content"},p=l((()=>(0,i._)("div",{class:"header_user_icon"},null,-1))),h={class:"header_user_content"},d={key:0,class:"username"},u=l((()=>(0,i._)("span",null,"/",-1))),w={key:1,class:"username"},k=l((()=>(0,i._)("span",null,"/",-1))),_={class:"header_nav_content"},g={class:"header_right"},v={class:"select_block"},b=l((()=>(0,i._)("span",{class:"icon iconfont icon-yuyan"},null,-1))),y={class:"select_item_des"},I=l((()=>(0,i._)("span",{class:"icon iconfont icon-tuichu"},null,-1))),f={class:"select_item_des"},T={class:"select_block select_list"},S=["onClick"],C={class:"select_item_des"},x={class:"skip_content"},D={key:0,class:"bind_email_content"},L={class:"bind_email_tip"},N={class:"bind_email"},H={key:1,class:"bind_email_content"},E={class:"bind_email_form_content"},O={class:"bind_email_form_title"},U=l((()=>(0,i._)("span",{class:"icon iconfont icon--shangyibu"},null,-1))),W={class:"email_last_step_content"},V={class:"email_last_step_des"},M={class:"sent_email_content"},z={class:"tip_content"};function P(e,t,s,l,P,$){const q=(0,i.up)("Habit"),F=(0,i.up)("VerificationCodeInput"),B=(0,i.up)("a-modal");return(0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("header",c,[(0,i._)("div",m,[p,(0,i._)("div",h,[e.isTest?((0,i.wg)(),(0,i.iD)("div",d,[u,(0,i.Uk)(" "+(0,a.zw)(e.$t("Header.hello"))+"@"+(0,a.zw)(e.$t("isTest.userName")),1)])):((0,i.wg)(),(0,i.iD)("div",w,[k,(0,i.Uk)(" "+(0,a.zw)(e.$t("Header.hello"))+"@"+(0,a.zw)(e.userInfo?.userName),1)])),(0,i._)("div",{class:(0,a.C_)(["icon","iconfont","icon-xiala",e.isShowOperate?"icon_rotate":""]),onClick:t[0]||(t[0]=(0,n.iM)((t=>e.changeShowOperateContent()),["stop"]))},null,2)])]),(0,i._)("nav",_,[(0,i._)("div",{class:(0,a.C_)(["nav_item","home"===e.$route.name?"select_nav":""]),onClick:t[1]||(t[1]=t=>e.turnToPage("home"))},(0,a.zw)(e.$t("Header.HOME")),3),(0,i._)("div",{class:(0,a.C_)(["nav_item","library"===e.$route.name?"select_nav":""]),onClick:t[2]||(t[2]=t=>e.turnToPage("library"))},(0,a.zw)(e.$t("Header.LIBRARY")),3),(0,i._)("div",{class:(0,a.C_)(["nav_item","history"===e.$route.name?"select_nav":""]),onClick:t[3]||(t[3]=t=>e.turnToPage("history"))},(0,a.zw)(e.$t("Header.HISTORY")),3)]),(0,i._)("div",g,[(0,i._)("img",{class:"header_logo",onClick:t[4]||(t[4]=t=>e.turnToNewPage("https://www.aidlab.hk/en/")),src:o}),(0,i.Wm)(q)])]),(0,i.wy)((0,i._)("nav",v,[(0,i._)("div",{class:"select_item",onClick:t[5]||(t[5]=(0,n.iM)((t=>e.isLanguage=!e.isLanguage),["stop"]))},[b,(0,i._)("span",y,(0,a.zw)(e.$t("Header.language")),1)]),(0,i._)("div",{class:"select_item",onClick:t[6]||(t[6]=t=>e.logout())},[I,(0,i._)("span",f,(0,a.zw)(e.$t("Header.logOff")),1)])],512),[[n.F8,e.isShowOperate]]),(0,i.wy)((0,i._)("ul",T,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.language,(t=>((0,i.wg)(),(0,i.iD)("li",{class:"select_item",onClick:s=>e.setLocale(t.value)},[(0,i._)("span",C,(0,a.zw)(t.name),1)],8,S)))),256))],512),[[n.F8,e.isLanguage&&e.isShowOperate]]),(0,i.Wm)(B,{class:"modal_component",visible:e.bindEmailVisible,"onUpdate:visible":t[13]||(t[13]=t=>e.bindEmailVisible=t),footer:null,title:"Mailbox binding",width:"56rem",maskClosable:!1,centered:!0},(0,i.Nv)({default:(0,i.w5)((()=>[e.isHaveBindEmail?((0,i.wg)(),(0,i.iD)("div",D,[(0,i._)("div",L,(0,a.zw)(e.$t("Header.emailContent")),1),(0,i._)("div",N,(0,a.zw)(e.userInfo.email),1)])):((0,i.wg)(),(0,i.iD)("div",H,[(0,i.wy)((0,i._)("div",null,[(0,i._)("div",E,[(0,i._)("div",O,(0,a.zw)(e.$t("Header.Email")),1),(0,i.wy)((0,i._)("input",{class:"bind_email_form_input",placeholder:"Enter a new email","onUpdate:modelValue":t[7]||(t[7]=t=>e.email=t),onKeydown:t[8]||(t[8]=(0,n.D2)((t=>e.emailNextStepFun()),["enter"]))},null,544),[[n.nr,e.email]])]),(0,i._)("div",{class:"bind_email_submit_button",onClick:t[9]||(t[9]=t=>e.emailNextStepFun())},(0,a.zw)(e.$t("Header.NextStep")),1)],512),[[n.F8,1===e.bindEmailStep]]),(0,i.wy)((0,i._)("div",null,[(0,i._)("div",{onClick:t[10]||(t[10]=t=>e.emailLastStepFun())},[U,(0,i._)("span",W,(0,a.zw)(e.$t("Header.verification")),1)]),(0,i._)("div",V,[(0,i._)("div",M,(0,a.zw)(e.$t("Header.SentTo"))+" "+(0,a.zw)(e.email),1),(0,i._)("div",z,[(0,i.wy)((0,i._)("span",null,(0,a.zw)(e.time)+"s",513),[[n.F8,e.time]]),(0,i.wy)((0,i._)("span",{onClick:t[11]||(t[11]=t=>e.emailNextStepFun())},(0,a.zw)(e.$t("Header.Resend"))+"Resend",513),[[n.F8,!e.time]])])]),(0,i.Wm)(F,{ct:e.emailCode,onSendCaptcha:t[12]||(t[12]=t=>e.submitBindEmail(t))},null,8,["ct"])],512),[[n.F8,2===e.bindEmailStep]])]))])),_:2},[e.isHaveBindEmail||1!==e.bindEmailStep?void 0:{name:"closeIcon",fn:(0,i.w5)((()=>[(0,i._)("div",x,(0,a.zw)(e.$t("Header.skip")),1)]))}]),1032,["visible"])])}var $=s(2262),q=s(7332),F=s(2339),B=s(9632);const Z=e=>((0,i.dD)("data-v-7a8e15b8"),e=e(),(0,i.Cn)(),e),j={class:"habit"},R={class:"habit_mask"},A=Z((()=>(0,i._)("i",{class:"fi fi-bs-angle-down"},null,-1))),Y={class:"habit_content"},J={class:"habit_title"},K={class:"habit_intro"},G={class:"habit_type",trigger:"['click']"},Q={class:"habit_model_show habit_workspace_show"},X={class:"habit_model_list"},ee=["onClick"],te=["onClick"],se=["onClick"],ie=["onClick"],ae={class:"habit_Overal_Single"},ne={class:"habit_model_show habit_sex_show"},oe={class:"habit_model_list"},le=["onClick"],re={class:"habit_Overal_Single"},ce={class:"habit_habit_singleton"},me={class:"habit_model_show habit_singleton_show"},pe={class:"habit_model_list"},he=["onClick"],de={class:"habit_System_Designer"},ue={class:"habit_System_Designer_text_max"},we={class:"habit_System_Designer_text"},ke={class:"habit_System_Designer_text"},_e={class:"habit_model"},ge={id:"modelShow",class:"habit_model_show"},ve={class:"habit_btn"},be={class:"model_current"},ye={class:"model_text"},Ie={class:"model_img"},fe=["src"],Te={class:"model_Designer"},Se={class:"model_text"},Ce={class:"model_img"},xe={class:"model_img_item"},De=["src","onClick"],Le={class:"model_img"},Ne={class:"model_img_item"},He=["src","onClick"];function Ee(e,t,s,o,l,r){const c=(0,i.up)("UserOutlined"),m=(0,i.up)("DownOutlined"),p=(0,i.up)("a-button"),h=(0,i.up)("a-dropdown"),d=(0,i.up)("a-switch"),u=(0,i.up)("a-slider"),w=(0,i.Q2)("fade"),k=(0,i.Q2)("mousewheel");return(0,i.wg)(),(0,i.iD)("div",j,[(0,i.wy)((0,i._)("div",R,null,512),[[n.F8,e.openType.habit]]),(0,i._)("div",{class:"habit_button",onClick:t[0]||(t[0]=(0,n.iM)((t=>e.setOpenType("habit")),["stop"]))},[(0,i.Uk)((0,a.zw)(e.$t("Habit.Workspace"))+" ",1),A]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Y,[(0,i._)("div",J,[(0,i._)("h3",null,(0,a.zw)(e.$t("Habit.WorkspaceSetting")),1),(0,i._)("div",K,(0,a.zw)(e.$t("Habit.settingWorkspace")),1)]),(0,i._)("div",G,[(0,i.Wm)(h,{placement:"bottomRight",onClick:t[1]||(t[1]=(0,n.iM)((t=>e.setOpenType("workspace")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.workspaceItem.workSpaceName)+" ",1),(0,i.Wm)(m)])),_:1})])),_:1}),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Q,[(0,i._)("ul",X,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.workspace.workspaceList,((s,o)=>((0,i.wg)(),(0,i.iD)("li",null,[(0,i.wy)((0,i._)("div",{onClick:(0,n.iM)((t=>e.setWorkspace(s.id)),["stop"])},(0,a.zw)(s.workSpaceName),9,ee),[[n.F8,!s.putName]]),(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.workspaceItemName=t)},null,512),[[n.F8,s.putName],[n.nr,e.workspaceItemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,n.iM)((t=>e.putName(o,"put")),["stop"]),class:"fi fi-rr-edit"},null,8,te),[[n.F8,!s.putName]]),(0,i.wy)((0,i._)("i",{onClick:(0,n.iM)((t=>e.putName(o,"affirm")),["stop"]),class:"fi fi-br-check"},null,8,se),[[n.F8,s.putName]]),(0,i._)("i",{onClick:(0,n.iM)((t=>e.putName(o,"delete")),["stop"]),class:"fi fi-rr-trash"},null,8,ie)])))),256)),(0,i._)("li",{onClick:t[5]||(t[5]=(...t)=>e.newWorkspace&&e.newWorkspace(...t)),class:"newWorkspace"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.workspaceItemName=t)},null,512),[[n.F8,e.openType.addWorkspace],[n.nr,e.workspaceItemName]]),(0,i.wy)((0,i._)("i",{onClick:t[4]||(t[4]=(0,n.iM)((t=>e.putName(-1,"affirm")),["stop"])),class:"fi fi-br-check"},null,512),[[n.F8,e.openType.addWorkspace]]),(0,i.wy)((0,i._)("div",null,"+",512),[[n.F8,!e.openType.addWorkspace]])])])])),[[w,e.openType.workspace]])]),(0,i._)("div",ae,[(0,i.Wm)(h,{onClick:t[6]||(t[6]=(0,n.iM)((t=>e.setOpenType("sex")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.workspaceItem?.sexEnum?.value),1),(0,i.Wm)(m)])),_:1})])),_:1}),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",ne,[(0,i._)("ul",oe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.sex,((t,s)=>((0,i.wg)(),(0,i.iD)("li",null,[(0,i._)("div",{onClick:(0,n.iM)((s=>e.setSex(t)),["stop"])},(0,a.zw)(t.value),9,le)])))),256))])])),[[w,e.openType.sex]])]),(0,i._)("div",re,[(0,i._)("div",{class:(0,a.C_)(["habit_Overal_Single_text",{active:!e.workspaceItem.overallSingle}])},(0,a.zw)(e.$t("Habit.Overall")),3),(0,i.Wm)(d,{onClick:e.setOverallSingle,checked:e.workspaceItem.overallSingle,"onUpdate:checked":t[7]||(t[7]=t=>e.workspaceItem.overallSingle=t)},null,8,["onClick","checked"]),(0,i._)("div",{class:(0,a.C_)(["habit_Overal_Single_text",{active:e.workspaceItem.overallSingle}])},(0,a.zw)(e.$t("Habit.Single")),3)]),(0,i.wy)((0,i._)("div",ce,[(0,i.Wm)(h,{onClick:t[8]||(t[8]=(0,n.iM)((t=>e.setOpenType("singleton")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.workspaceItem?.positionEnum?.value)+" ",1),(0,i.Wm)(m)])),_:1})])),_:1}),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",me,[(0,i._)("ul",pe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.singleTypeList,((t,s)=>((0,i.wg)(),(0,i.iD)("li",null,[(0,i._)("div",{onClick:(0,n.iM)((s=>e.setSingle(t)),["stop"])},(0,a.zw)(t.value),9,he)])))),256))])])),[[w,e.openType.singleton]])],512),[[n.F8,e.workspaceItem.overallSingle]]),(0,i._)("div",de,[(0,i.Wm)(u,{id:"system_silder",value:e.workspaceItem.systemDesignerPercentage,"onUpdate:value":t[9]||(t[9]=t=>e.workspaceItem.systemDesignerPercentage=t),onAfterChange:e.systemDesigner,"tip-formatter":e.formatter},null,8,["value","onAfterChange","tip-formatter"]),(0,i._)("div",ue,[(0,i._)("div",we,(0,a.zw)(e.$t("Habit.System")),1),(0,i._)("div",ke,(0,a.zw)(e.$t("Habit.Designer")),1)])]),(0,i._)("div",_e,[(0,i.Wm)(h,{placement:"bottomRight",trigger:"['click']",onClick:t[10]||(t[10]=(0,n.iM)((t=>e.setOpenType("model")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.$t("Habit.Mannequin"))+" ",1),(0,i.Wm)(m)])),_:1})])),_:1})]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",ge,[(0,i._)("div",ve,[(0,i._)("div",be,[(0,i._)("div",ye,(0,a.zw)(e.$t("Habit.Current")),1),(0,i._)("div",Ie,[(0,i._)("img",{src:e.workspaceItem.mannequinUrl,alt:""},null,8,fe)])]),(0,i._)("div",Te,[(0,i._)("div",Se,[(0,i._)("div",{class:(0,a.C_)(["habit_System_Seleves_text",{active:!e.systemSeleves}])},(0,a.zw)(e.$t("Habit.System")),3),(0,i.Wm)(d,{disabled:null==e.mannequins?.[0],checked:e.systemSeleves,"onUpdate:checked":t[11]||(t[11]=t=>e.systemSeleves=t)},null,8,["disabled","checked"]),(0,i._)("div",{class:(0,a.C_)(["habit_System_Seleves_text",{active:e.systemSeleves}])},(0,a.zw)(e.$t("Habit.User")),3)]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Ce,[(0,i._)("div",xe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.mannequins?.[0]?.modelList,((t,s)=>((0,i.wg)(),(0,i.iD)("div",{key:t.id},[(0,i._)("img",{src:t?.presignedUrl,alt:"",onClick:s=>e.setMannequins(t,"Library")},null,8,De)])))),128))])])),[[n.F8,e.systemSeleves],[k]]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Le,[(0,i._)("div",Ne,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.mannequins?.[1]?.modelList,((t,s)=>((0,i.wg)(),(0,i.iD)("div",{key:t.id},[(0,i._)("img",{src:t?.presignedUrl,alt:"",onClick:s=>e.setMannequins(t,"System")},null,8,He)])))),128))])])),[[n.F8,!e.systemSeleves],[k]])])])])),[[w,e.openType.model]])])),[[w,e.openType.habit]])])}var Oe=s(3907),Ue=s(7849),We=s(4924),Ve=s(6214),Me=s(327),ze=s(1446),Pe=s(8302),$e=s(8552),qe=(0,i.aZ)({components:{DownOutlined:Ue.Z,UserOutlined:We.Z},setup(){let e=(0,$.iH)({id:1,id_:1,workSpaceName:"工作台1",putName:!1,systemDesignerPercentage:30,position:"",sex:"",overallSingle:!1,mannequinUrl:"",mannequinType:"",mannequinId:""}),t=(0,$.iH)([{},{}]),s=(0,$.iH)(!1),i=(0,$.iH)({workspace:!1,singleton:!1,habit:!1,model:!1,addWorkspace:!1,sex:!1}),a=(0,$.iH)({}),n=(0,$.iH)(""),o=(0,$.iH)([]),l=(0,$.iH)([]);const{t:r}=(0,$e.QT)();return{systemSeleves:s,mannequins:t,openType:i,workspace:a,workspaceItem:e,workspaceItemName:n,singleTypeList:o,sex:l,t:r}},watch:{"openType.habit":{handler(e,t){if(!e){this.workspaceItem.overallSingle||(this.workspaceItem.position="Overall");let e=this.workspaceItem;delete e.isLastIndex,this.putWorkspace(e,""),this.store.commit("setWorkspace",this.workspaceItem)}}},"workspaceItem.id_":{handler(e,t){this.workspace.workspaceList.forEach((s=>{s.id==this.workspaceItem.id_&&(this.workspaceItem=s,this.workspaceItem.id_=s.id),s.id==t&&(delete s.isLastIndex,this.putWorkspace(s,e))})),this.getMannequins()}},"openType.workspace":{handler(e,t){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))}},workspaceItem:{handler(e,t){this.store.commit("setWorkspace",this.workspaceItem)}}},data(){return{store:(0,Oe.oR)()}},mounted(){this.getworkspace()},directives:{fade:{mounted(e,t){e.addEventListener("click",(()=>{}))},updated(e,t){t.value?(e.style.display="block",setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}},mousewheel:{mounted(e){e.addEventListener("wheel",(t=>{let s=0;s=t.deltaY>0?25:-25,e.scrollBy(s,0)}))}}},methods:{async getSex(){await Ve.V.axiosGet(Ve.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{e&&(this.sex=e)})),this.getPosition("")},async getPosition(e){let t;t="Female"==this.workspaceItem.sexEnum.name?"FemalePosition":"MalePosition",await Ve.V.axiosGet(Ve.V.httpUrls.workspaceenumValues,{params:{enumName:t}}).then((t=>{t&&(this.singleTypeList=t,"sex"==e&&(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]))}))},setPosition(){this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]},getworkspace(){let e={page:1,size:10};Ve.V.axiosPost(Ve.V.httpUrls.workspaceList,e).then((e=>{e&&(e.page.content.forEach((t=>{t.id_=t.id,"Overall"==t.position?t.overallSingle=!1:t.overallSingle=!0,t.putName=!1,t.id==e.id&&(this.workspaceItem=t,this.setMannequinsSex())})),this.workspace.id=e.id,this.workspace.workspaceList=e.page.content,this.getSex())}))},getDetail(e){Ve.V.axiosGet(Ve.V.httpUrls.workspaceDetail,{params:{id:e}}).then((e=>{e&&this.getworkspace()}))},getMannequins(){Ve.V.axiosGet(Ve.V.httpUrls.getMannequins,{params:{sex:this.workspaceItem.sex}}).then((e=>{if(e){if("System"==e[0].type){let t=e[0];e[0]=e[1],e[1]=t}this.mannequins=e,null==this.mannequins?.[0]&&(this.systemSeleves=!1)}}))},putWorkspace(e,t){e.workSpaceName=this.workspaceItemName,Ve.V.axiosPost(Ve.V.httpUrls.workspacesaveOrUpdate,e).then((e=>{e&&(t?this.getDetail(t):this.getworkspace(),this.workspace.workspaceList[t].workSpaceName=this.workspaceItemName,this.workspace.workspaceList[t].putName=!1,this.openType.addWorkspace=!1,console.log(123))})).catch((e=>{console.log(321)}))},deleteWorkspace(e){Ve.V.axiosDelete(Ve.V.httpUrls.workspaceRemove,e).then((e=>{e&&this.getworkspace()}))},setOverallSingle(){this.workspaceItem.overallSingle?(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]):this.workspaceItem.position="Overall"},cancelDsign(e){let t=this;Me.Z.confirm({title:t.t("Habit.jsContent1"),icon:(0,i.Wm)(Pe.Z),okText:"Yes",cancelText:"No",mask:!1,wrapClassName:"habit",zIndex:999999999,onOk(){let s=[{id:t.workspace.workspaceList[e].id}];t.workspace.workspaceList[e].id;t.deleteWorkspace(s)}})},putName(e,t){if(this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.openType.addWorkspace=!1,"put"==t)this.workspaceItemName=this.workspace.workspaceList[e].workSpaceName,this.workspace.workspaceList[e].putName=!0;else if("delete"==t)this.cancelDsign(e);else if(""==this.workspaceItemName)ze.ZP.info(this.t("Habit.jsContent2"));else if(-1==e){let e={workSpaceName:this.workspaceItemName};this.putWorkspace(e,"")}else{let t;this.workspace.workspaceList.forEach((s=>{this.workspace.workspaceList[e].id==s.id&&(t=s)})),this.putWorkspace(t,"")}},systemDesigner(e){this.workspaceItem.systemDesignerPercentage=e},formatter(e){return`${e}%`},setWorkspace(e){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.workspaceItem.id_=e,this.openType.workspace=!1},newWorkspace(){this.workspaceItemName="",this.openType.addWorkspace=!0,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))},setSex(e){this.workspaceItem.sexEnum=e,this.openType.sex=!1,this.workspaceItem.sex=e.name,this.getMannequins(),this.setMannequinsSex(),this.getPosition("sex")},setSingle(e){this.openType.singleton=!1,this.workspaceItem.position=e.name,this.workspaceItem.positionEnum=e},setMannequins(e,t){"Female"==this.workspaceItem.sexEnum.name?(this.workspaceItem.femalePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinFemaleType=t,this.workspaceItem.mannequinFemaleId=e.id):"Male"==this.workspaceItem.sexEnum.name&&(this.workspaceItem.malePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinMaleType=t,this.workspaceItem.mannequinMaleId=e.id),this.workspaceItem.mannequinUrl=e.presignedUrl,this.workspaceItem.mannequinType=t,this.workspaceItem.mannequinId=e.id},setMannequinsSex(){"Female"==this.workspaceItem.sexEnum.name?(this.workspaceItem.mannequinUrl=this.workspaceItem.femalePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinFemaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinFemaleId):"Male"==this.workspaceItem.sexEnum.name&&(this.workspaceItem.mannequinUrl=this.workspaceItem.malePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinMaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinMaleId)},setOpenType(e){"habit"==e?this.openType.habit=!this.openType.habit:"workspace"==e?(this.openType.singleton=!1,this.openType.sex=!1,this.openType.workspace=!this.openType.workspace):"model"==e?(this.openType.singleton=!1,this.openType.workspace=!1,this.openType.sex=!1,this.openType.model=!this.openType.model,this.getMannequins()):"singleton"==e?(this.openType.singleton=!this.openType.singleton,this.openType.workspace=!1,this.openType.sex=!1):"sex"==e&&(this.openType.sex=!this.openType.sex,this.openType.workspace=!1,this.openType.singleton=!1);let t=document.getElementsByClassName("habit_mask")[0];t.addEventListener("click",this.documentClick,!0)},documentClick(){let e=document.getElementsByClassName("habit_mask")[0];e.removeEventListener("click",this.documentClick),this.openType.habit=!1,this.openType.workspace=!1,this.openType.model=!1,this.openType.singleton=!1,this.openType.sex=!1}}}),Fe=s(3744);const Be=(0,Fe.Z)(qe,[["render",Ee],["__scopeId","data-v-7a8e15b8"]]);var Ze=Be,je=(0,i.aZ)({components:{VerificationCodeInput:B.Z,Habit:Ze},setup(){const e=(0,Oe.oR)(),{t:t}=(0,$e.QT)(),{locale:s}=(0,$e.QT)();let i=(0,$.iH)();return{store:e,t:t,locale:s,isTest:i}},data(){return{isShowOperate:!1,bindEmailVisible:!1,isHaveBindEmail:!1,bindEmailStep:1,email:"",emailCode:["","","","","",""],time:60,timer:0,userInfo:{},timerOperate:null,numTime:30,timerSec:null,modalWarning:null,isLanguage:!1,language:[{name:"English",value:"ENGLISH"},{name:"中文",value:"CHINESE_SIMPLIFIED"},{name:"한국인",value:"KOREAN"},{name:"にほんご",value:"JAPANESE"},{name:"Русский",value:"RUSSIAN"},{name:"Français",value:"FRENCH"},{name:"แบบไทย",value:"THAI"},{name:"Tiếng Việt",value:"VIETNAMESE"},{name:"Italiano",value:"ITALIAN"}]}},mounted(){let e=(0,F.ej)("isTest");this.isTest=JSON.parse(e)||"",this.userInfo=JSON.parse((0,F.ej)("userInfo")),this.userInfo?this.accountIsLogin(this.userInfo):this.$router.replace("/login"),this.isHaveBindEmail=!!this.userInfo?.email,this.operateClick(),document.addEventListener("click",this.operateClick),this.getLang("")},methods:{turnToNewPage(e){window.open(e)},turnToPage(e){let t="home"===e;this.$router.push({name:e,params:{noRefresh:t}})},changeShowOperateContent(){this.isShowOperate=!this.isShowOperate,document.addEventListener("click",this.closeShowOperateContent,!1)},closeShowOperateContent(){this.isShowOperate=!1,this.isLanguage=!1,document.removeEventListener("click",this.closeShowOperateContent)},showBindEmailModal(){this.bindEmailVisible=!0},emailNextStepFun(){if(!(0,q.Jh)(this.email))return void ze.ZP.info(this.t("Header.jsContent1"));let e={email:this.email,operationType:"BIND_MAILBOX"};const t=ze.ZP.loading("loading",0);Ve.V.axiosPost(Ve.V.httpUrls.accountSendEmail,e).then((e=>{e&&(this.bindEmailStep=2,this.emailCode=["","","","","",""],this.createTimer(),t(),ze.ZP.success(this.t("Header.jsContent2")))})).catch((e=>{t()}))},emailLastStepFun(){this.bindEmailStep=1,this.email="",this.emailCode=["","","","","",""],this.clearTimer()},createTimer(){this.timer=setInterval((()=>{this.time--,this.time||clearInterval(this.timer)}),1e3)},clearTimer(){this.time=60,this.timer&&clearInterval(this.timer)},async logout(){let e={userId:this.userInfo.userId},t=(0,F.ej)("isTest");console.log((0,F.ej)("token")),JSON.parse(t)?Ve.V.axiosGet(Ve.V.httpUrls.trialUserLogout).then((t=>{Ve.V.axiosPost(Ve.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,F.$m)("token")}))})):Ve.V.axiosPost(Ve.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,F.$m)("token")}))},submitBindEmail(e){let t={userEmail:this.email,userId:this.userInfo.userId,emailVerifyCode:e};Ve.V.axiosPost(Ve.V.httpUrls.accountBindEmail,t).then((e=>{e&&(this.userInfo.email=this.email,(0,F.d8)("userInfo",JSON.stringify(this.userInfo)),this.bindEmailVisible=!1,this.bindEmailStep=1,this.clearTimer(),this.emailCode=["","","","","",""])}))},accountIsLogin(e){let t={userId:e.userId};Ve.V.axiosPost(Ve.V.httpUrls.accountIsLogin,t).then((e=>{e||this.$router.replace("/login")}))},operateClick(){this.timer&&clearTimeout(this.timer);let e=this,t=72e5;this.timer=setTimeout((()=>{this.modalWarning=Me.Z.warning({title:()=>this.t("Header.jsContent3",{numTime:e.numTime}),icon:(0,i.Wm)(Pe.Z),okText:"Ok",onOk(){e.numTime=30,clearInterval(e.timerSec)}}),e.numCounter()}),t)},numCounter(){this.timerSec=setInterval((()=>{this.numTime>0?this.numTime=this.numTime-1:(clearTimeout(this.timer),clearInterval(this.timerSec),this.logout(),this.modalWarning.destroy())}),1e3)},getLang(e){let t;Ve.V.axiosPost(Ve.V.httpUrls.getUserLanguage,t).then((e=>{e&&(this.locale=e)}))},setLang(e){Ve.V.axiosGet(Ve.V.httpUrls.changeUserLanguage,{params:{language:e}}).then((e=>{if(e&&e){let t=e;(0,F.d8)("token",t),this.getLang(""),this.store.commit("clearAllData"),window.location.reload()}}))},setLocale(e){this.setLang(e)}}});const Re=(0,Fe.Z)(je,[["render",P],["__scopeId","data-v-7c2d967a"]]);var Ae=Re},9206:function(e,t,s){s.d(t,{Z:function(){return V}});var i=s(6252),a=s(3577),n=s(9963),o=s.p+"img/robot.6fd62bbc.png";const l=e=>((0,i.dD)("data-v-60dd6514"),e=e(),(0,i.Cn)(),e),r={class:"robot_top",ref:"robotDom"},c={class:"robot_text"},m=["href"],p=l((()=>(0,i._)("i",{class:"fi fi-br-link-alt"},null,-1))),h=[p],d={class:"robot_img_item"},u=["src"],w={class:"delete_like_file_block"},k=["onClick"],_=["onClick"],g={class:"robot_content"},v={class:"robot_bottom"},b={class:"robot_input"},y=["placeholder"],I={class:"robot_btn"},f={class:"robot_img"};function T(e,t,s,l,p,T){const S=(0,i.Q2)("fade");return(0,i.wg)(),(0,i.iD)("div",{class:"robot",onMousemove:t[5]||(t[5]=(...t)=>e.robotmax&&e.robotmax(...t))},[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",r,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.record,((t,s)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)([1==t.state?"text_right":"text_left",t.img?"white":""]),ref_for:!0,ref:"robotChildDom"},[(0,i._)("div",c,[(0,i._)("span",null,[(0,i.Uk)((0,a.zw)(t.str)+" ",1),t.src?((0,i.wg)(),(0,i.iD)("a",{key:0,href:t.src,target:"_blank"},h,8,m)):(0,i.kq)("",!0)]),(0,i._)("div",{class:(0,a.C_)(["robot_img",[t.img?"img":""]])},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.img,((t,a)=>((0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("img",{src:t.presignedUrl,alt:""},null,8,u),(0,i._)("div",w,[null==t.id?((0,i.wg)(),(0,i.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,n.iM)((i=>e.likeFile(t,a,s)),["stop"])},null,8,k)):((0,i.wg)(),(0,i.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,n.iM)((i=>e.likeFile(t,a,s)),["stop"])},null,8,_))])])))),256))],2)])],2)))),256))])),[[S,e.robotTop,"block"]]),(0,i._)("div",g,[(0,i._)("div",{style:(0,a.j5)("width:"+e.bloodBars+"%;")},null,4)]),(0,i._)("div",v,[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",b,[(0,i.wy)((0,i._)("input",{placeholder:e.$t("RobotAssist.inputContent1"),"onUpdate:modelValue":t[0]||(t[0]=t=>e.chatCentent=t),onKeydown:t[1]||(t[1]=(0,n.D2)((t=>e.roborSend()),["enter"])),onInput:t[2]||(t[2]=(...t)=>e.robotmax&&e.robotmax(...t))},null,40,y),[[n.nr,e.chatCentent]]),(0,i._)("div",I,[(0,i._)("i",{class:"fi fi-ss-paper-plane-top",onClick:t[3]||(t[3]=(...t)=>e.roborSend&&e.roborSend(...t))})])])),[[S,e.robotInput,"flex"]]),(0,i._)("div",f,[(0,i._)("img",{src:o,onClick:t[4]||(t[4]=(...t)=>e.robotBtn&&e.robotBtn(...t))})])])],32)}var S=s(2262),C=s(7849),x=s(4924),D=s(6214),L=s(2339),N=s(3907),H=s(1446),E=s(8552),O=(0,i.aZ)({components:{DownOutlined:C.Z,UserOutlined:x.Z},setup(){const e=(0,S.iH)(null),t=(0,S.iH)(null);let s=(0,S.iH)("");const i=(0,S.iH)(!1),a=(0,S.iH)(!1);let n=0,o=0,l=(0,S.iH)([]);const r={};let c=(0,S.iH)(0),{t:m}=(0,E.QT)(),p=(0,S.iH)(),h=(0,N.oR)(),d=(0,S.iH)({});return{robotTop:i,robotInput:a,chatCentent:s,record:l,robotDom:e,robotChildDom:t,timeTop:n,timeInput:o,userInfo:r,bloodBars:c,t:m,isTest:p,store:h,workspace:d}},data(){return{}},mounted(){this.textScroll();let e=(0,L.ej)("userInfo"),t=(0,L.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),null==sessionStorage.getItem("record")?this.record=[]:this.record=JSON.parse(sessionStorage.getItem("record")),this.getBloodBars(),this.workspace=(0,i.Fl)((()=>this.store?.state?.Workspace?.workspace))},directives:{fade:{updated(e,t){t.value?(e.style.display=t.arg,setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}}},methods:{robotBtn(){this.robotTop&&this.robotInput?(this.robotTop=!1,this.robotInput=!1):(this.robotTop=!0,this.robotInput=!0),this.textScroll(),this.createTimer()},getBloodBars(){D.V.axiosGet(D.V.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((e=>{e&&(this.bloodBars=100*e)}))},textScroll(){this.$nextTick((()=>{if(this.robotDom&&this.robotChildDom){let e=0;for(let t=0;t{e&&(null!=e.chatRobotLibraryList?this.record.push({state:1,img:e.chatRobotLibraryList}):this.record.push({state:1,str:e.output}),sessionStorage.setItem("record",JSON.stringify(this.record)),this.createTimer(),this.textScroll(),this.getBloodBars())})).catch((e=>{})),this.chatCentent=""},likeFile(e,t,s){let i={...e,userId:this.userInfo?.userId};D.V.axiosPost(D.V.httpUrls.pictureLikeOrUnLike,i).then((e=>{null==this.record[s].img[t].id?this.record[s].img[t].id=e.id:this.record[s].img[t].id=null,sessionStorage.setItem("record",JSON.stringify(this.record))})).catch((e=>{}))},createTimer(){(this.robotTop||this.robotInput)&&(this.clearTimer(),this.timeTop=setInterval((()=>{this.robotTop=!1}),15e3),this.timeInput=setInterval((()=>{this.robotInput=!1}),1e4))},clearTimer(){clearInterval(this.timeTop),clearInterval(this.timeInput)}}}),U=s(3744);const W=(0,U.Z)(O,[["render",T],["__scopeId","data-v-60dd6514"]]);var V=W}}]); \ No newline at end of file +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[155],{4924:function(e,t,s){s.d(t,{Z:function(){return m}});var i=s(6252),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},n=a,o=s(2130);function l(e){for(var t=1;t((0,i.dD)("data-v-7c2d967a"),e=e(),(0,i.Cn)(),e),r={class:"header_max"},c={class:"header_component"},m={class:"header_right_content"},p=l((()=>(0,i._)("div",{class:"header_user_icon"},null,-1))),h={class:"header_user_content"},d={key:0,class:"username"},u=l((()=>(0,i._)("span",null,"/",-1))),w={key:1,class:"username"},k=l((()=>(0,i._)("span",null,"/",-1))),_={class:"header_nav_content"},g={class:"header_right"},v={class:"select_block"},b=l((()=>(0,i._)("span",{class:"icon iconfont icon-yuyan"},null,-1))),y={class:"select_item_des"},I=l((()=>(0,i._)("span",{class:"icon iconfont icon-tuichu"},null,-1))),f={class:"select_item_des"},T={class:"select_block select_list"},S=["onClick"],C={class:"select_item_des"},x={class:"skip_content"},D={key:0,class:"bind_email_content"},L={class:"bind_email_tip"},N={class:"bind_email"},H={key:1,class:"bind_email_content"},E={class:"bind_email_form_content"},O={class:"bind_email_form_title"},U=l((()=>(0,i._)("span",{class:"icon iconfont icon--shangyibu"},null,-1))),W={class:"email_last_step_content"},V={class:"email_last_step_des"},M={class:"sent_email_content"},z={class:"tip_content"};function P(e,t,s,l,P,$){const q=(0,i.up)("Habit"),F=(0,i.up)("VerificationCodeInput"),B=(0,i.up)("a-modal");return(0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("header",c,[(0,i._)("div",m,[p,(0,i._)("div",h,[e.isTest?((0,i.wg)(),(0,i.iD)("div",d,[u,(0,i.Uk)(" "+(0,a.zw)(e.$t("Header.hello"))+"@"+(0,a.zw)(e.$t("isTest.userName")),1)])):((0,i.wg)(),(0,i.iD)("div",w,[k,(0,i.Uk)(" "+(0,a.zw)(e.$t("Header.hello"))+"@"+(0,a.zw)(e.userInfo?.userName),1)])),(0,i._)("div",{class:(0,a.C_)(["icon","iconfont","icon-xiala",e.isShowOperate?"icon_rotate":""]),onClick:t[0]||(t[0]=(0,n.iM)((t=>e.changeShowOperateContent()),["stop"]))},null,2)])]),(0,i._)("nav",_,[(0,i._)("div",{class:(0,a.C_)(["nav_item","home"===e.$route.name?"select_nav":""]),onClick:t[1]||(t[1]=t=>e.turnToPage("home"))},(0,a.zw)(e.$t("Header.HOME")),3),(0,i._)("div",{class:(0,a.C_)(["nav_item","library"===e.$route.name?"select_nav":""]),onClick:t[2]||(t[2]=t=>e.turnToPage("library"))},(0,a.zw)(e.$t("Header.LIBRARY")),3),(0,i._)("div",{class:(0,a.C_)(["nav_item","history"===e.$route.name?"select_nav":""]),onClick:t[3]||(t[3]=t=>e.turnToPage("history"))},(0,a.zw)(e.$t("Header.HISTORY")),3)]),(0,i._)("div",g,[(0,i._)("img",{class:"header_logo",onClick:t[4]||(t[4]=t=>e.turnToNewPage("https://www.aidlab.hk/en/")),src:o}),(0,i.Wm)(q)])]),(0,i.wy)((0,i._)("nav",v,[(0,i._)("div",{class:"select_item",onClick:t[5]||(t[5]=(0,n.iM)((t=>e.isLanguage=!e.isLanguage),["stop"]))},[b,(0,i._)("span",y,(0,a.zw)(e.$t("Header.language")),1)]),(0,i._)("div",{class:"select_item",onClick:t[6]||(t[6]=t=>e.logout())},[I,(0,i._)("span",f,(0,a.zw)(e.$t("Header.logOff")),1)])],512),[[n.F8,e.isShowOperate]]),(0,i.wy)((0,i._)("ul",T,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.language,(t=>((0,i.wg)(),(0,i.iD)("li",{class:"select_item",onClick:s=>e.setLocale(t.value)},[(0,i._)("span",C,(0,a.zw)(t.name),1)],8,S)))),256))],512),[[n.F8,e.isLanguage&&e.isShowOperate]]),(0,i.Wm)(B,{class:"modal_component",visible:e.bindEmailVisible,"onUpdate:visible":t[13]||(t[13]=t=>e.bindEmailVisible=t),footer:null,title:"Mailbox binding",width:"56rem",maskClosable:!1,centered:!0},(0,i.Nv)({default:(0,i.w5)((()=>[e.isHaveBindEmail?((0,i.wg)(),(0,i.iD)("div",D,[(0,i._)("div",L,(0,a.zw)(e.$t("Header.emailContent")),1),(0,i._)("div",N,(0,a.zw)(e.userInfo.email),1)])):((0,i.wg)(),(0,i.iD)("div",H,[(0,i.wy)((0,i._)("div",null,[(0,i._)("div",E,[(0,i._)("div",O,(0,a.zw)(e.$t("Header.Email")),1),(0,i.wy)((0,i._)("input",{class:"bind_email_form_input",placeholder:"Enter a new email","onUpdate:modelValue":t[7]||(t[7]=t=>e.email=t),onKeydown:t[8]||(t[8]=(0,n.D2)((t=>e.emailNextStepFun()),["enter"]))},null,544),[[n.nr,e.email]])]),(0,i._)("div",{class:"bind_email_submit_button",onClick:t[9]||(t[9]=t=>e.emailNextStepFun())},(0,a.zw)(e.$t("Header.NextStep")),1)],512),[[n.F8,1===e.bindEmailStep]]),(0,i.wy)((0,i._)("div",null,[(0,i._)("div",{onClick:t[10]||(t[10]=t=>e.emailLastStepFun())},[U,(0,i._)("span",W,(0,a.zw)(e.$t("Header.verification")),1)]),(0,i._)("div",V,[(0,i._)("div",M,(0,a.zw)(e.$t("Header.SentTo"))+" "+(0,a.zw)(e.email),1),(0,i._)("div",z,[(0,i.wy)((0,i._)("span",null,(0,a.zw)(e.time)+"s",513),[[n.F8,e.time]]),(0,i.wy)((0,i._)("span",{onClick:t[11]||(t[11]=t=>e.emailNextStepFun())},(0,a.zw)(e.$t("Header.Resend"))+"Resend",513),[[n.F8,!e.time]])])]),(0,i.Wm)(F,{ct:e.emailCode,onSendCaptcha:t[12]||(t[12]=t=>e.submitBindEmail(t))},null,8,["ct"])],512),[[n.F8,2===e.bindEmailStep]])]))])),_:2},[e.isHaveBindEmail||1!==e.bindEmailStep?void 0:{name:"closeIcon",fn:(0,i.w5)((()=>[(0,i._)("div",x,(0,a.zw)(e.$t("Header.skip")),1)]))}]),1032,["visible"])])}var $=s(2262),q=s(7332),F=s(2339),B=s(9632);const Z=e=>((0,i.dD)("data-v-adc2c6e6"),e=e(),(0,i.Cn)(),e),j={class:"habit"},R={class:"habit_mask"},A=Z((()=>(0,i._)("i",{class:"fi fi-bs-angle-down"},null,-1))),Y={class:"habit_content"},J={class:"habit_title"},K={class:"habit_intro"},G={class:"habit_type",trigger:"['click']"},Q={class:"habit_model_show habit_workspace_show"},X={class:"habit_model_list"},ee=["onClick"],te=["onClick"],se=["onClick"],ie=["onClick"],ae={class:"habit_Overal_Single"},ne={class:"habit_model_show habit_sex_show"},oe={class:"habit_model_list"},le=["onClick"],re={class:"habit_Overal_Single"},ce={class:"habit_habit_singleton"},me={class:"habit_model_show habit_singleton_show"},pe={class:"habit_model_list"},he=["onClick"],de={class:"habit_System_Designer"},ue={class:"habit_System_Designer_text_max"},we={class:"habit_System_Designer_text"},ke={class:"habit_System_Designer_text"},_e={class:"habit_model"},ge={id:"modelShow",class:"habit_model_show"},ve={class:"habit_btn"},be={class:"model_current"},ye={class:"model_text"},Ie={class:"model_img"},fe=["src"],Te={class:"model_Designer"},Se={class:"model_text"},Ce={class:"model_img"},xe={class:"model_img_item"},De=["src","onClick"],Le={class:"model_img"},Ne={class:"model_img_item"},He=["src","onClick"];function Ee(e,t,s,o,l,r){const c=(0,i.up)("UserOutlined"),m=(0,i.up)("DownOutlined"),p=(0,i.up)("a-button"),h=(0,i.up)("a-dropdown"),d=(0,i.up)("a-switch"),u=(0,i.up)("a-slider"),w=(0,i.Q2)("fade"),k=(0,i.Q2)("mousewheel");return(0,i.wg)(),(0,i.iD)("div",j,[(0,i.wy)((0,i._)("div",R,null,512),[[n.F8,e.openType.habit]]),(0,i._)("div",{class:"habit_button",onClick:t[0]||(t[0]=(0,n.iM)((t=>e.setOpenType("habit")),["stop"]))},[(0,i.Uk)((0,a.zw)(e.$t("Habit.Workspace"))+" ",1),A]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Y,[(0,i._)("div",J,[(0,i._)("h3",null,(0,a.zw)(e.$t("Habit.WorkspaceSetting")),1),(0,i._)("div",K,(0,a.zw)(e.$t("Habit.settingWorkspace")),1)]),(0,i._)("div",G,[(0,i.Wm)(h,{placement:"bottomRight",onClick:t[1]||(t[1]=(0,n.iM)((t=>e.setOpenType("workspace")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.workspaceItem.workSpaceName)+" ",1),(0,i.Wm)(m)])),_:1})])),_:1}),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Q,[(0,i._)("ul",X,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.workspace.workspaceList,((s,o)=>((0,i.wg)(),(0,i.iD)("li",null,[(0,i.wy)((0,i._)("div",{onClick:(0,n.iM)((t=>e.setWorkspace(s.id)),["stop"])},(0,a.zw)(s.workSpaceName),9,ee),[[n.F8,!s.putName]]),(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.workspaceItemName=t)},null,512),[[n.F8,s.putName],[n.nr,e.workspaceItemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,n.iM)((t=>e.putName(o,"put")),["stop"]),class:"fi fi-rr-edit"},null,8,te),[[n.F8,!s.putName]]),(0,i.wy)((0,i._)("i",{onClick:(0,n.iM)((t=>e.putName(o,"affirm")),["stop"]),class:"fi fi-br-check"},null,8,se),[[n.F8,s.putName]]),(0,i._)("i",{onClick:(0,n.iM)((t=>e.putName(o,"delete")),["stop"]),class:"fi fi-rr-trash"},null,8,ie)])))),256)),(0,i._)("li",{onClick:t[5]||(t[5]=(...t)=>e.newWorkspace&&e.newWorkspace(...t)),class:"newWorkspace"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.workspaceItemName=t)},null,512),[[n.F8,e.openType.addWorkspace],[n.nr,e.workspaceItemName]]),(0,i.wy)((0,i._)("i",{onClick:t[4]||(t[4]=(0,n.iM)((t=>e.putName(-1,"affirm")),["stop"])),class:"fi fi-br-check"},null,512),[[n.F8,e.openType.addWorkspace]]),(0,i.wy)((0,i._)("div",null,"+",512),[[n.F8,!e.openType.addWorkspace]])])])])),[[w,e.openType.workspace]])]),(0,i._)("div",ae,[(0,i.Wm)(h,{onClick:t[6]||(t[6]=(0,n.iM)((t=>e.setOpenType("sex")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.workspaceItem?.sexEnum?.value),1),(0,i.Wm)(m)])),_:1})])),_:1}),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",ne,[(0,i._)("ul",oe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.sex,((t,s)=>((0,i.wg)(),(0,i.iD)("li",null,[(0,i._)("div",{onClick:(0,n.iM)((s=>e.setSex(t)),["stop"])},(0,a.zw)(t.value),9,le)])))),256))])])),[[w,e.openType.sex]])]),(0,i._)("div",re,[(0,i._)("div",{class:(0,a.C_)(["habit_Overal_Single_text",{active:!e.workspaceItem.overallSingle}])},(0,a.zw)(e.$t("Habit.Overall")),3),(0,i.Wm)(d,{onClick:e.setOverallSingle,checked:e.workspaceItem.overallSingle,"onUpdate:checked":t[7]||(t[7]=t=>e.workspaceItem.overallSingle=t)},null,8,["onClick","checked"]),(0,i._)("div",{class:(0,a.C_)(["habit_Overal_Single_text",{active:e.workspaceItem.overallSingle}])},(0,a.zw)(e.$t("Habit.Single")),3)]),(0,i.wy)((0,i._)("div",ce,[(0,i.Wm)(h,{onClick:t[8]||(t[8]=(0,n.iM)((t=>e.setOpenType("singleton")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.workspaceItem?.positionEnum?.value)+" ",1),(0,i.Wm)(m)])),_:1})])),_:1}),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",me,[(0,i._)("ul",pe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.singleTypeList,((t,s)=>((0,i.wg)(),(0,i.iD)("li",null,[(0,i._)("div",{onClick:(0,n.iM)((s=>e.setSingle(t)),["stop"])},(0,a.zw)(t.value),9,he)])))),256))])])),[[w,e.openType.singleton]])],512),[[n.F8,e.workspaceItem.overallSingle]]),(0,i._)("div",de,[(0,i.Wm)(u,{id:"system_silder",value:e.workspaceItem.systemDesignerPercentage,"onUpdate:value":t[9]||(t[9]=t=>e.workspaceItem.systemDesignerPercentage=t),onAfterChange:e.systemDesigner,"tip-formatter":e.formatter},null,8,["value","onAfterChange","tip-formatter"]),(0,i._)("div",ue,[(0,i._)("div",we,(0,a.zw)(e.$t("Habit.System")),1),(0,i._)("div",ke,(0,a.zw)(e.$t("Habit.Designer")),1)])]),(0,i._)("div",_e,[(0,i.Wm)(h,{placement:"bottomRight",trigger:"['click']",onClick:t[10]||(t[10]=(0,n.iM)((t=>e.setOpenType("model")),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c),(0,i.Uk)(" "+(0,a.zw)(e.$t("Habit.Mannequin"))+" ",1),(0,i.Wm)(m)])),_:1})])),_:1})]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",ge,[(0,i._)("div",ve,[(0,i._)("div",be,[(0,i._)("div",ye,(0,a.zw)(e.$t("Habit.Current")),1),(0,i._)("div",Ie,[(0,i._)("img",{src:e.workspaceItem.mannequinUrl,alt:""},null,8,fe)])]),(0,i._)("div",Te,[(0,i._)("div",Se,[(0,i._)("div",{class:(0,a.C_)(["habit_System_Seleves_text",{active:!e.systemSeleves}])},(0,a.zw)(e.$t("Habit.System")),3),(0,i.Wm)(d,{disabled:null==e.mannequins?.[0],checked:e.systemSeleves,"onUpdate:checked":t[11]||(t[11]=t=>e.systemSeleves=t)},null,8,["disabled","checked"]),(0,i._)("div",{class:(0,a.C_)(["habit_System_Seleves_text",{active:e.systemSeleves}])},(0,a.zw)(e.$t("Habit.User")),3)]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Ce,[(0,i._)("div",xe,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.mannequins?.[0]?.modelList,((t,s)=>((0,i.wg)(),(0,i.iD)("div",{key:t.id},[(0,i._)("img",{src:t?.presignedUrl,alt:"",onClick:s=>e.setMannequins(t,"Library")},null,8,De)])))),128))])])),[[n.F8,e.systemSeleves],[k]]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",Le,[(0,i._)("div",Ne,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.mannequins?.[1]?.modelList,((t,s)=>((0,i.wg)(),(0,i.iD)("div",{key:t.id},[(0,i._)("img",{src:t?.presignedUrl,alt:"",onClick:s=>e.setMannequins(t,"System")},null,8,He)])))),128))])])),[[n.F8,!e.systemSeleves],[k]])])])])),[[w,e.openType.model]])])),[[w,e.openType.habit]])])}var Oe=s(3907),Ue=s(7849),We=s(4924),Ve=s(6214),Me=s(327),ze=s(1446),Pe=s(8302),$e=s(8552),qe=(0,i.aZ)({components:{DownOutlined:Ue.Z,UserOutlined:We.Z},setup(){let e=(0,$.iH)({id:1,id_:1,workSpaceName:"工作台1",putName:!1,systemDesignerPercentage:30,position:"",sex:"",overallSingle:!1,mannequinUrl:"",mannequinType:"",mannequinId:""}),t=(0,$.iH)([{},{}]),s=(0,$.iH)(!1),i=(0,$.iH)({workspace:!1,singleton:!1,habit:!1,model:!1,addWorkspace:!1,sex:!1}),a=(0,$.iH)({}),n=(0,$.iH)(""),o=(0,$.iH)([]),l=(0,$.iH)([]);const{t:r}=(0,$e.QT)();return{systemSeleves:s,mannequins:t,openType:i,workspace:a,workspaceItem:e,workspaceItemName:n,singleTypeList:o,sex:l,t:r}},watch:{"openType.habit":{handler(e,t){if(!e){this.workspaceItem.overallSingle||(this.workspaceItem.position="Overall");let e=this.workspaceItem;delete e.isLastIndex,this.putWorkspace(e,""),this.store.commit("setWorkspace",this.workspaceItem)}}},"workspaceItem.id_":{handler(e,t){this.workspace.workspaceList.forEach((s=>{s.id==this.workspaceItem.id_&&(this.workspaceItem=s,this.workspaceItem.id_=s.id),s.id==t&&(delete s.isLastIndex,this.putWorkspace(s,e))})),this.getMannequins()}},"openType.workspace":{handler(e,t){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))}},workspaceItem:{handler(e,t){this.store.commit("setWorkspace",this.workspaceItem)}}},data(){return{store:(0,Oe.oR)()}},mounted(){this.getworkspace()},directives:{fade:{mounted(e,t){e.addEventListener("click",(()=>{}))},updated(e,t){t.value?(e.style.display="block",setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}},mousewheel:{mounted(e){e.addEventListener("wheel",(t=>{let s=0;s=t.deltaY>0?25:-25,e.scrollBy(s,0)}))}}},methods:{async getSex(){await Ve.V.axiosGet(Ve.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{e&&(this.sex=e)})),this.getPosition("")},async getPosition(e){let t;t="Female"==this.workspaceItem.sexEnum.name?"FemalePosition":"MalePosition",await Ve.V.axiosGet(Ve.V.httpUrls.workspaceenumValues,{params:{enumName:t}}).then((t=>{t&&(this.singleTypeList=t,"sex"==e&&(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]))}))},setPosition(){this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]},getworkspace(){let e={page:1,size:10};Ve.V.axiosPost(Ve.V.httpUrls.workspaceList,e).then((e=>{e&&(e.page.content.forEach((t=>{t.id_=t.id,"Overall"==t.position?t.overallSingle=!1:t.overallSingle=!0,t.putName=!1,t.id==e.id&&(this.workspaceItem=t,console.log(this.workspaceItem),this.setMannequinsSex())})),this.workspace.id=e.id,this.workspace.workspaceList=e.page.content,this.getSex())}))},getDetail(e){Ve.V.axiosGet(Ve.V.httpUrls.workspaceDetail,{params:{id:e}}).then((e=>{e&&this.getworkspace()}))},getMannequins(){Ve.V.axiosGet(Ve.V.httpUrls.getMannequins,{params:{sex:this.workspaceItem.sex}}).then((e=>{if(e){if("System"==e[0].type){let t=e[0];e[0]=e[1],e[1]=t}this.mannequins=e,null==this.mannequins?.[0]&&(this.systemSeleves=!1)}}))},putWorkspace(e,t){Ve.V.axiosPost(Ve.V.httpUrls.workspacesaveOrUpdate,e).then((e=>{e&&(t?this.getDetail(t):this.getworkspace(),this.workspace.workspaceList[t].workSpaceName=this.workspaceItemName,this.workspace.workspaceList[t].putName=!1,this.openType.addWorkspace=!1)})).catch((e=>{this.getworkspace()}))},deleteWorkspace(e){Ve.V.axiosDelete(Ve.V.httpUrls.workspaceRemove,e).then((e=>{e&&this.getworkspace()}))},setOverallSingle(){this.workspaceItem.overallSingle?(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]):this.workspaceItem.position="Overall"},cancelDsign(e){let t=this;Me.Z.confirm({title:t.t("Habit.jsContent1"),icon:(0,i.Wm)(Pe.Z),okText:"Yes",cancelText:"No",mask:!1,wrapClassName:"habit",zIndex:999999999,onOk(){let s=[{id:t.workspace.workspaceList[e].id}];t.workspace.workspaceList[e].id;t.deleteWorkspace(s)}})},putName(e,t){if(this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.openType.addWorkspace=!1,"put"==t)this.workspaceItemName=this.workspace.workspaceList[e].workSpaceName,this.workspace.workspaceList[e].putName=!0;else if("delete"==t)this.cancelDsign(e);else if(""==this.workspaceItemName)ze.ZP.info(this.t("Habit.jsContent2"));else if(-1==e){let e={workSpaceName:this.workspaceItemName};this.putWorkspace(e,"")}else{let t;this.workspace.workspaceList.forEach((s=>{this.workspace.workspaceList[e].id==s.id&&(t=s)})),t.workSpaceName=this.workspaceItemName,this.putWorkspace(t,"")}},systemDesigner(e){this.workspaceItem.systemDesignerPercentage=e},formatter(e){return`${e}%`},setWorkspace(e){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.workspaceItem.id_=e,this.openType.workspace=!1},newWorkspace(){this.workspaceItemName="",this.openType.addWorkspace=!0,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))},setSex(e){this.workspaceItem.sexEnum=e,this.openType.sex=!1,this.workspaceItem.sex=e.name,this.getMannequins(),this.setMannequinsSex(),this.getPosition("sex")},setSingle(e){this.openType.singleton=!1,this.workspaceItem.position=e.name,this.workspaceItem.positionEnum=e},setMannequins(e,t){"Female"==this.workspaceItem.sexEnum.name?(this.workspaceItem.femalePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinFemaleType=t,this.workspaceItem.mannequinFemaleId=e.id):"Male"==this.workspaceItem.sexEnum.name&&(this.workspaceItem.malePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinMaleType=t,this.workspaceItem.mannequinMaleId=e.id),this.workspaceItem.mannequinUrl=e.presignedUrl,this.workspaceItem.mannequinType=t,this.workspaceItem.mannequinId=e.id},setMannequinsSex(){"Female"==this.workspaceItem.sexEnum.name?(this.workspaceItem.mannequinUrl=this.workspaceItem.femalePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinFemaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinFemaleId):"Male"==this.workspaceItem.sexEnum.name&&(this.workspaceItem.mannequinUrl=this.workspaceItem.malePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinMaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinMaleId)},setOpenType(e){"habit"==e?this.openType.habit=!this.openType.habit:"workspace"==e?(this.openType.singleton=!1,this.openType.sex=!1,this.openType.workspace=!this.openType.workspace):"model"==e?(this.openType.singleton=!1,this.openType.workspace=!1,this.openType.sex=!1,this.openType.model=!this.openType.model,this.getMannequins()):"singleton"==e?(this.openType.singleton=!this.openType.singleton,this.openType.workspace=!1,this.openType.sex=!1):"sex"==e&&(this.openType.sex=!this.openType.sex,this.openType.workspace=!1,this.openType.singleton=!1);let t=document.getElementsByClassName("habit_mask")[0];t.addEventListener("click",this.documentClick,!0)},documentClick(){let e=document.getElementsByClassName("habit_mask")[0];e.removeEventListener("click",this.documentClick),this.openType.habit=!1,this.openType.workspace=!1,this.openType.model=!1,this.openType.singleton=!1,this.openType.sex=!1}}}),Fe=s(3744);const Be=(0,Fe.Z)(qe,[["render",Ee],["__scopeId","data-v-adc2c6e6"]]);var Ze=Be,je=(0,i.aZ)({components:{VerificationCodeInput:B.Z,Habit:Ze},setup(){const e=(0,Oe.oR)(),{t:t}=(0,$e.QT)(),{locale:s}=(0,$e.QT)();let i=(0,$.iH)();return{store:e,t:t,locale:s,isTest:i}},data(){return{isShowOperate:!1,bindEmailVisible:!1,isHaveBindEmail:!1,bindEmailStep:1,email:"",emailCode:["","","","","",""],time:60,timer:0,userInfo:{},timerOperate:null,numTime:30,timerSec:null,modalWarning:null,isLanguage:!1,language:[{name:"English",value:"ENGLISH"},{name:"中文",value:"CHINESE_SIMPLIFIED"},{name:"한국인",value:"KOREAN"},{name:"にほんご",value:"JAPANESE"},{name:"Русский",value:"RUSSIAN"},{name:"Français",value:"FRENCH"},{name:"แบบไทย",value:"THAI"},{name:"Tiếng Việt",value:"VIETNAMESE"},{name:"Italiano",value:"ITALIAN"}]}},mounted(){let e=(0,F.ej)("isTest");this.isTest=JSON.parse(e)||"",this.userInfo=JSON.parse((0,F.ej)("userInfo")),this.userInfo?this.accountIsLogin(this.userInfo):this.$router.replace("/login"),this.isHaveBindEmail=!!this.userInfo?.email,this.operateClick(),document.addEventListener("click",this.operateClick),this.getLang("")},methods:{turnToNewPage(e){window.open(e)},turnToPage(e){let t="home"===e;this.$router.push({name:e,params:{noRefresh:t}})},changeShowOperateContent(){this.isShowOperate=!this.isShowOperate,document.addEventListener("click",this.closeShowOperateContent,!1)},closeShowOperateContent(){this.isShowOperate=!1,this.isLanguage=!1,document.removeEventListener("click",this.closeShowOperateContent)},showBindEmailModal(){this.bindEmailVisible=!0},emailNextStepFun(){if(!(0,q.Jh)(this.email))return void ze.ZP.info(this.t("Header.jsContent1"));let e={email:this.email,operationType:"BIND_MAILBOX"};const t=ze.ZP.loading("loading",0);Ve.V.axiosPost(Ve.V.httpUrls.accountSendEmail,e).then((e=>{e&&(this.bindEmailStep=2,this.emailCode=["","","","","",""],this.createTimer(),t(),ze.ZP.success(this.t("Header.jsContent2")))})).catch((e=>{t()}))},emailLastStepFun(){this.bindEmailStep=1,this.email="",this.emailCode=["","","","","",""],this.clearTimer()},createTimer(){this.timer=setInterval((()=>{this.time--,this.time||clearInterval(this.timer)}),1e3)},clearTimer(){this.time=60,this.timer&&clearInterval(this.timer)},async logout(){let e={userId:this.userInfo.userId},t=(0,F.ej)("isTest");console.log((0,F.ej)("token")),JSON.parse(t)?Ve.V.axiosGet(Ve.V.httpUrls.trialUserLogout).then((t=>{Ve.V.axiosPost(Ve.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,F.$m)("token")}))})):Ve.V.axiosPost(Ve.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,F.$m)("token")}))},submitBindEmail(e){let t={userEmail:this.email,userId:this.userInfo.userId,emailVerifyCode:e};Ve.V.axiosPost(Ve.V.httpUrls.accountBindEmail,t).then((e=>{e&&(this.userInfo.email=this.email,(0,F.d8)("userInfo",JSON.stringify(this.userInfo)),this.bindEmailVisible=!1,this.bindEmailStep=1,this.clearTimer(),this.emailCode=["","","","","",""])}))},accountIsLogin(e){let t={userId:e.userId};Ve.V.axiosPost(Ve.V.httpUrls.accountIsLogin,t).then((e=>{e||this.$router.replace("/login")}))},operateClick(){this.timer&&clearTimeout(this.timer);let e=this,t=72e5;this.timer=setTimeout((()=>{this.modalWarning=Me.Z.warning({title:()=>this.t("Header.jsContent3",{numTime:e.numTime}),icon:(0,i.Wm)(Pe.Z),okText:"Ok",onOk(){e.numTime=30,clearInterval(e.timerSec)}}),e.numCounter()}),t)},numCounter(){this.timerSec=setInterval((()=>{this.numTime>0?this.numTime=this.numTime-1:(clearTimeout(this.timer),clearInterval(this.timerSec),this.logout(),this.modalWarning.destroy())}),1e3)},getLang(e){let t;Ve.V.axiosPost(Ve.V.httpUrls.getUserLanguage,t).then((e=>{e&&(this.locale=e)}))},setLang(e){Ve.V.axiosGet(Ve.V.httpUrls.changeUserLanguage,{params:{language:e}}).then((e=>{if(e&&e){let t=e;(0,F.d8)("token",t),this.getLang(""),this.store.commit("clearAllData"),window.location.reload()}}))},setLocale(e){this.setLang(e)}}});const Re=(0,Fe.Z)(je,[["render",P],["__scopeId","data-v-7c2d967a"]]);var Ae=Re},9206:function(e,t,s){s.d(t,{Z:function(){return V}});var i=s(6252),a=s(3577),n=s(9963),o=s.p+"img/robot.6fd62bbc.png";const l=e=>((0,i.dD)("data-v-60dd6514"),e=e(),(0,i.Cn)(),e),r={class:"robot_top",ref:"robotDom"},c={class:"robot_text"},m=["href"],p=l((()=>(0,i._)("i",{class:"fi fi-br-link-alt"},null,-1))),h=[p],d={class:"robot_img_item"},u=["src"],w={class:"delete_like_file_block"},k=["onClick"],_=["onClick"],g={class:"robot_content"},v={class:"robot_bottom"},b={class:"robot_input"},y=["placeholder"],I={class:"robot_btn"},f={class:"robot_img"};function T(e,t,s,l,p,T){const S=(0,i.Q2)("fade");return(0,i.wg)(),(0,i.iD)("div",{class:"robot",onMousemove:t[5]||(t[5]=(...t)=>e.robotmax&&e.robotmax(...t))},[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",r,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.record,((t,s)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)([1==t.state?"text_right":"text_left",t.img?"white":""]),ref_for:!0,ref:"robotChildDom"},[(0,i._)("div",c,[(0,i._)("span",null,[(0,i.Uk)((0,a.zw)(t.str)+" ",1),t.src?((0,i.wg)(),(0,i.iD)("a",{key:0,href:t.src,target:"_blank"},h,8,m)):(0,i.kq)("",!0)]),(0,i._)("div",{class:(0,a.C_)(["robot_img",[t.img?"img":""]])},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.img,((t,a)=>((0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("img",{src:t.presignedUrl,alt:""},null,8,u),(0,i._)("div",w,[null==t.id?((0,i.wg)(),(0,i.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,n.iM)((i=>e.likeFile(t,a,s)),["stop"])},null,8,k)):((0,i.wg)(),(0,i.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,n.iM)((i=>e.likeFile(t,a,s)),["stop"])},null,8,_))])])))),256))],2)])],2)))),256))])),[[S,e.robotTop,"block"]]),(0,i._)("div",g,[(0,i._)("div",{style:(0,a.j5)("width:"+e.bloodBars+"%;")},null,4)]),(0,i._)("div",v,[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",b,[(0,i.wy)((0,i._)("input",{placeholder:e.$t("RobotAssist.inputContent1"),"onUpdate:modelValue":t[0]||(t[0]=t=>e.chatCentent=t),onKeydown:t[1]||(t[1]=(0,n.D2)((t=>e.roborSend()),["enter"])),onInput:t[2]||(t[2]=(...t)=>e.robotmax&&e.robotmax(...t))},null,40,y),[[n.nr,e.chatCentent]]),(0,i._)("div",I,[(0,i._)("i",{class:"fi fi-ss-paper-plane-top",onClick:t[3]||(t[3]=(...t)=>e.roborSend&&e.roborSend(...t))})])])),[[S,e.robotInput,"flex"]]),(0,i._)("div",f,[(0,i._)("img",{src:o,onClick:t[4]||(t[4]=(...t)=>e.robotBtn&&e.robotBtn(...t))})])])],32)}var S=s(2262),C=s(7849),x=s(4924),D=s(6214),L=s(2339),N=s(3907),H=s(1446),E=s(8552),O=(0,i.aZ)({components:{DownOutlined:C.Z,UserOutlined:x.Z},setup(){const e=(0,S.iH)(null),t=(0,S.iH)(null);let s=(0,S.iH)("");const i=(0,S.iH)(!1),a=(0,S.iH)(!1);let n=0,o=0,l=(0,S.iH)([]);const r={};let c=(0,S.iH)(0),{t:m}=(0,E.QT)(),p=(0,S.iH)(),h=(0,N.oR)(),d=(0,S.iH)({});return{robotTop:i,robotInput:a,chatCentent:s,record:l,robotDom:e,robotChildDom:t,timeTop:n,timeInput:o,userInfo:r,bloodBars:c,t:m,isTest:p,store:h,workspace:d}},data(){return{}},mounted(){this.textScroll();let e=(0,L.ej)("userInfo"),t=(0,L.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),null==sessionStorage.getItem("record")?this.record=[]:this.record=JSON.parse(sessionStorage.getItem("record")),this.getBloodBars(),this.workspace=(0,i.Fl)((()=>this.store?.state?.Workspace?.workspace))},directives:{fade:{updated(e,t){t.value?(e.style.display=t.arg,setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}}},methods:{robotBtn(){this.robotTop&&this.robotInput?(this.robotTop=!1,this.robotInput=!1):(this.robotTop=!0,this.robotInput=!0),this.textScroll(),this.createTimer()},getBloodBars(){D.V.axiosGet(D.V.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((e=>{e&&(this.bloodBars=100*e)}))},textScroll(){this.$nextTick((()=>{if(this.robotDom&&this.robotChildDom){let e=0;for(let t=0;t{e&&(null!=e.chatRobotLibraryList?this.record.push({state:1,img:e.chatRobotLibraryList}):this.record.push({state:1,str:e.output}),sessionStorage.setItem("record",JSON.stringify(this.record)),this.createTimer(),this.textScroll(),this.getBloodBars())})).catch((e=>{})),this.chatCentent=""},likeFile(e,t,s){let i={...e,userId:this.userInfo?.userId};D.V.axiosPost(D.V.httpUrls.pictureLikeOrUnLike,i).then((e=>{null==this.record[s].img[t].id?this.record[s].img[t].id=e.id:this.record[s].img[t].id=null,sessionStorage.setItem("record",JSON.stringify(this.record))})).catch((e=>{}))},createTimer(){(this.robotTop||this.robotInput)&&(this.clearTimer(),this.timeTop=setInterval((()=>{this.robotTop=!1}),15e3),this.timeInput=setInterval((()=>{this.robotInput=!1}),1e4))},clearTimer(){clearInterval(this.timeTop),clearInterval(this.timeInput)}}}),U=s(3744);const W=(0,U.Z)(O,[["render",T],["__scopeId","data-v-60dd6514"]]);var V=W}}]); \ No newline at end of file diff --git a/dist/js/750.145f395a.js b/dist/js/750.b87c9606.js similarity index 99% rename from dist/js/750.145f395a.js rename to dist/js/750.b87c9606.js index b42e6970..84514465 100644 --- a/dist/js/750.145f395a.js +++ b/dist/js/750.b87c9606.js @@ -1,3 +1,3 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[750],{9658:function(e,t,o){o.r(t),o.d(t,{default:function(){return Cp}});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:(0,i.C_)(["header_operate_item","fontSize","active"])},P={class:"content_search_block"},U=["placeholder"],j={class:"search_cascader"},I=(0,n._)("div",null," No Label ",-1),F={class:"intersection"},T=["title"],M=["title"],E=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),N=[E],D={class:"check_block"},H={class:"check_block_body"},R={class:"content_body_table scroll_style"},B=["onClick"],z={class:"img_item_hover"},$={class:"img_operate_content"},V=["onClick"],A=(0,n._)("span",{class:"icon iconfont icon-tianxie operate_icon"},null,-1),Z=[A],Y=["onClick"],W=(0,n._)("span",{class:"icon iconfont icon-biaoqian operate_icon"},null,-1),q=[W],K=["onClick"],G=(0,n._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1),J=[G],X={class:"content_img_name"},Q={class:"no_data_block"},ee=(0,n._)("img",{src:a},null,-1),te=[ee],oe={class:"table_pagination"},ne={class:"right_content_body"},ie={class:"content_body_header content_body_header_generate"},le={class:"content_body_header_right"},ae={class:"content_body_header_right"},re={class:"checkboxItem"},se={class:"checkboxItem"},ce={class:"checkboxItem"},ue=["maxlength","readonly","placeholder"],de={class:"printModel"},pe={class:"upload_item"},me={class:"upload_file_item_content"},he=["onClick"],fe=["src"],ve=["onClick"],ge=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),be=[ge],ye={class:"upload_component upload_file_item"},we=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-br-upload"})],-1),Se={class:"content_body_table scroll_style"},_e={class:"img_item_hover"},ke={class:"img_operate_content"},xe={class:"img_operate_block"},Ce=["onClick"],Oe=["onClick"],Le=(0,n._)("div",{class:"content_img_name"},null,-1),Pe={class:"no_data_block"},Ue=(0,n._)("img",{src:a},null,-1),je=[Ue],Ie={class:"table_pagination"},Fe={class:"collection_rename_content"},Te={class:"rename_form_content"},Me=["placeholder"],Ee=(0,n._)("div",null," No Label ",-1),Ne={class:"rename_button_list"},De={class:"mark_loading"};function He(e,t,o,a,E,A){const W=(0,n.up)("HeaderComponent"),G=(0,n.up)("a-select"),ee=(0,n.up)("a-upload"),ge=(0,n.up)("el-cascader"),Ue=(0,n.up)("a-pagination"),He=(0,n.up)("a-spin"),Re=(0,n.up)("a-modal"),Be=(0,n.up)("ModelPlacement"),ze=(0,n.up)("ModelPlacementMobile"),$e=(0,n.up)("setLabel"),Ve=(0,n.up)("RobotAssist"),Ae=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",r,[(0,n._)("div",s,[(0,n._)("div",c,[(0,n.Wm)(W),(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._)("div",null,(0,i.zw)(e.$t("LibraryPage.Organize")),1)],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)(G,{ref:"select",value:e.sex.value,"onUpdate:value":t[2]||(t[2]=t=>e.sex.value=t),options:e.sexList,onChange:e.sexChange},{suffixIcon:(0,n.w5)((()=>[w])),_:1},8,["value","options","onChange"]),(0,n.Wm)(G,{ref:"select",value:e.designType.value,"onUpdate:value":t[3]||(t[3]=t=>e.designType.value=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",L,[(0,n.wy)((0,n.Wm)(ee,{"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._)("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",P,[(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,U),[[l.nr,e.searchPictureName]]),(0,n._)("div",j,[(0,n.Wm)(ge,{options:e.options,filterable:"",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},{empty:(0,n.w5)((()=>[I])),_:1},8,["options","modelValue","props","onVisibleChange"])]),(0,n._)("div",F,[(0,n.wy)((0,n._)("div",{title:e.$t("LibraryPage.unionSet"),onClick:t[9]||(t[9]=()=>e.intersection=1),class:(0,i.C_)(["icon","iconfont","icon-bingji"])},null,8,T),[[l.F8,0==e.intersection]]),(0,n.wy)((0,n._)("div",{title:e.$t("LibraryPage.intersection"),onClick:t[10]||(t[10]=()=>e.intersection=0),class:(0,i.C_)(["icon","iconfont","icon-bingji1"])},null,8,M),[[l.F8,1==e.intersection]])]),(0,n._)("div",{class:"generage_btn search_icon_block",onClick:t[11]||(t[11]=t=>e.getLibraryList())},N)])]),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["check_all_block",e.selectImgList.length==e.imgList.length?"check_all":""]),onClick:t[12]||(t[12]=t=>e.selectAllImg())},[(0,n._)("div",D,[(0,n.wy)((0,n._)("div",H,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",R,[((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)),[[Ae,t.url]]),(0,n._)("div",z,[(0,n._)("div",$,[(0,n.wy)((0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.editPlacementClick(t)),["stop"])},Z,8,V),[[l.F8,"Models"===e.selectCode]]),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.showRenameModal(t,"single")),["stop"])},q,8,Y),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((n=>e.deleteSinglePic(t,o)),["stop"])},J,8,K)])])],2),(0,n._)("div",X,(0,i.zw)(t.name),1)],8,B)))),128)),(0,n.wy)((0,n._)("div",Q,te,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",oe,[(0,n.Wm)(Ue,{current:e.currentPage,"onUpdate:current":t[13]||(t[13]=t=>e.currentPage=t),pageSize:e.pageSize,"onUpdate:pageSize":t[14]||(t[14]=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",ne,[(0,n._)("div",ie,[(0,n._)("div",le,[(0,n.wy)((0,n._)("div",ae,[(0,n._)("div",re,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=t=>e.checkbox[0].type=t),onClick:t[16]||(t[16]=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",se,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[17]||(t[17]=t=>e.checkbox[1].type=t),onClick:t[18]||(t[18]=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",ce,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[19]||(t[19]=t=>e.checkbox[2].type=t),onClick:t[20]||(t[20]=t=>e.setKeyword(2))},null,512),[[l.e8,e.checkbox[2].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.TextImage")),1)])])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(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[21]||(t[21]=(...t)=>e.ifMaximumLength&&e.ifMaximumLength(...t)),maxlength:e.inputShow?0:9999,onKeydown:t[22]||(t[22]=(0,l.D2)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["enter"])),readonly:e.checkbox[0].type,placeholder:e.$t("LibraryPage.inputContent2"),"onUpdate:modelValue":t[23]||(t[23]=t=>e.captionGeneration=t)},null,42,ue),[[l.nr,e.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:t[24]||(t[24]=(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",de,[(0,n._)("div",{onClick:t[25]||(t[25]=(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[26]||(t[26]=t=>e.setprintModel(1))},(0,i.zw)(e.$t("LibraryPage.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:t[27]||(t[27]=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.wy)((0,n._)("div",pe,[((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",me,[(0,n.Wm)(He,{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,fe),(0,n._)("div",{class:"delete_file_block rightTop",onClick:t=>e.deleteFile(o)},be,8,ve)],8,he),[[l.F8,"done"===t?.status]])],2)))),128)),(0,n.wy)((0,n._)("div",ye,[(0,n.Wm)(ee,{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[28]||(t[28]=t=>e.selectGenerateList=t),multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:e.generateFileUploadChange},{default:(0,n.w5)((()=>[we])),_:1},8,["action","before-upload","disabled","data","headers","file-list","onChange"])],512),[[l.F8,e.selectGenerateList.length<=3]])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(0,n._)("div",Se,[((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)),[[Ae,t.imgUrl]]),(0,n._)("div",_e,[(0,n._)("div",ke,[(0,n._)("div",xe,[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,Oe)):((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,Ce))])])])],2),Le])))),128)),(0,n.wy)((0,n._)("div",Pe,je,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",Ie,null,512),[[l.F8,e.generateList.length]])],512),[[l.F8,"Upload"!=e.uploadGenerate]])])])])])]),(0,n.Wm)(Re,{class:"library_rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[34]||(t[34]=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",Fe,[(0,n._)("div",Te,[(0,n.wy)((0,n._)("input",{class:"rename_form_input",placeholder:e.$t("LibraryPage.inputContent3"),"onUpdate:modelValue":t[29]||(t[29]=t=>e.newPicName=t),onKeydown:t[30]||(t[30]=(0,l.D2)((t=>e.confrimRename()),["enter"]))},null,40,Me),[[l.nr,e.newPicName]])]),(0,n.Wm)(ge,{options:e.options,filterable:!0,modelValue:e.value.editLabelValue,"onUpdate:modelValue":t[31]||(t[31]=t=>e.value.editLabelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,"max-collapse-tags":6,props:e.props,ref:"cascader1","collapse-tags-tooltip":!0,onVisibleChange:e.dropdownVisibleChange1},{empty:(0,n.w5)((()=>[Ee])),_:1},8,["options","modelValue","props","onVisibleChange"]),(0,n._)("div",Ne,[(0,n._)("div",{class:"rename_button_item rename_cancel_button",onClick:t[32]||(t[32]=t=>e.closeRenameModal())},(0,i.zw)(e.$t("LibraryPage.Cancel")),1),(0,n._)("div",{class:"rename_button_item rename_submit_button",onClick:t[33]||(t[33]=t=>e.confrimRename())},(0,i.zw)(e.$t("LibraryPage.Sure")),1)])])])),_:1},8,["visible","onOnCancel"]),(0,n.Wm)(Be,{ref:"ModelPlacement",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,n.Wm)(ze,{ref:"ModelPlacementMobile"},null,512),(0,n.Wm)($e,{ref:"setLabel"},null,512),(0,n.wy)((0,n._)("div",De,[(0,n.Wm)(He,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n.Wm)(Ve)])}var Re=o(320),Be=o(2262),ze=o(6736);const $e=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),Ve=[$e],Ae={class:"models_placement_body"},Ze={class:"palcement_modal_header"},Ye={class:"models_placement_title"},We={class:"placement_operate_list"},qe=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),Ke={class:"operate_item_des"},Ge=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),Je={class:"operate_item_des"},Xe=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),Qe={class:"operate_item_des"},et=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),tt={class:"operate_item_des"},ot={key:0,class:"plcaement_point_content"},nt={style:{display:"flex","align-items":"center"}},it={style:{display:"flex","align-items":"center"}},lt={style:{display:"flex","align-items":"center"}},at={class:"models_placement_content"},rt={class:"plcaement_point_content"},st={class:"select_block"},ct=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),ut={class:"ponit_title"},dt={class:"point_list"},pt=["onMousedown"],mt={class:"placement_point_item placement_point_item_btn"},ht={class:"placement_content_operate_list"},ft=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),vt={class:"placement_content_operate_des"},gt={class:"placement_tip_content"},bt={class:"img_preview_block"},yt={class:"perview_mark_loading"},wt={class:"img_content_block",ref:"imgbox"},St=["onMousedown"],_t={class:"icon iconfont icon-guanbi"};function kt(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"]))},Ve)])),default:(0,n.w5)((()=>[(0,n._)("div",Ae,[(0,n._)("div",Ze,[(0,n._)("div",Ye,(0,i.zw)(e.$t("ModelPlacement.Registration")),1),(0,n._)("div",We,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[qe,(0,n._)("div",Ke,(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))},[Ge,(0,n._)("div",Je,(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))},[Xe,(0,n._)("div",Qe,(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))},[et,(0,n._)("div",tt,(0,i.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,n.wg)(),(0,n.iD)("div",ot,[(0,n._)("div",nt,[(0,n._)("div",it,[(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",lt,[(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",at,[(0,n._)("div",rt,[(0,n._)("div",st,[(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)((()=>[ct])),_: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",ut,(0,i.zw)(t.title),1),(0,n._)("div",dt,[((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,pt)))),128))])])))),128)),(0,n._)("div",mt,[(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",ht,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[9]||(t[9]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[ft,(0,n._)("div",vt,(0,i.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,n._)("div",gt,(0,i.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,n._)("div",bt,[(0,n.wy)((0,n._)("div",yt,[(0,n.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",wt,[(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",_t,null,512),[[l.F8,e.isRemoveStatus]])],46,St)),[[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 xt=o(6214),Ct=o(7332),Ot=o(2339),Lt=o(2323),Pt=o(3907),Ut=o(327),jt=o(8302),It=o(8552),Ft=(0,n.aZ)({components:{VueCropper:Lt.AK},setup(){const e=(0,Pt.oR)();let t=(0,Be.iH)([]),o=(0,Be.iH)([]),n=(0,Be.iH)({}),i=(0,Be.iH)({}),l=(0,Be.iH)(null),a=(0,Be.iH)({}),r=(0,Be.iH)([]),s=(0,Be.iH)([]),c=(0,Be.iH)(!1),u=(0,Be.iH)(!1),d=(0,Be.iH)(),p=(0,Be.iH)(),{t:m}=(0,It.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,Ot.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(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),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=""):Ut.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,n.Wm)(jt.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,Ct._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,xt.V.axiosPost(xt.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)=>{xt.V.axiosPost(xt.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)=>{Ut.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.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,xt.V.axiosPost(xt.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=""}}}),Tt=o(3744);const Mt=(0,Tt.Z)(Ft,[["render",kt]]);var Et=Mt;const Nt={class:"setLabel_centent"},Dt={class:"optionsItem"},Ht={class:"setLabel_text"},Rt=["title"],Bt=["onClick"],zt=["onClick"],$t={class:"childrenItem active"},Vt=["title"],At=["onClick"],Zt=["onClick"],Yt={class:"newLabel setLabel_text"},Wt=["onClick"],qt=["onClick"],Kt={class:"newLabel setLabel_text optionsItem_title"};function Gt(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",Nt,[(0,n._)("ul",Dt,[((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",Ht,[(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,Rt),[[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,Bt),[[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,zt),[[l.F8,!o.openType]])]),(0,n.wy)(((0,n.wg)(),(0,n.iD)("ul",$t,[((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,Vt),[[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,At),[[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,Zt),[[l.F8,!a.openType]])])))),128)),(0,n._)("li",Yt,[(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,Wt),[[l.F8,o.addOpenType]]),(0,n.wy)((0,n._)("div",{class:"addLabel",onClick:t=>e.newLabel(o,o.id)},"+",8,qt),[[l.F8,!o.addOpenType]])])])),[[d]])])))),128)),(0,n._)("li",Kt,[(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))},"Delete")])])])])),_:1},8,["visible","onCancel"])}var Jt=o(1446),Xt=(0,n.aZ)({components:{VueCropper:Lt.AK},setup(){let e=(0,Be.iH)(!1),t=(0,Be.iH)(!0),o=(0,Be.iH)([]),i=(0,n.f3)("type"),l=(0,Be.iH)([]),a=(0,Be.iH)(!1),r=(0,Be.iH)(""),{t:s}=(0,It.QT)();return{multiple:e,indeterminate:t,value:(0,Be.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 Jt.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,xt.V.axiosPost(xt.V.httpUrls.saveOrUpdate,t).then((e=>{this.getClass()})).catch((e=>{}))},deleteClass(e){xt.V.axiosPost(xt.V.httpUrls.classificationDelete,e).then((e=>{this.getClass()})).catch((t=>{if(2===t.errCode){let o=this;Ut.Z.confirm({title:t.errMsg,icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.deleteConfirm=1,o.deleteClass(e)},onCancel(){}})}}))},getClass(){let e=this.setLabelData();xt.V.axiosPost(xt.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 Qt=(0,Tt.Z)(Xt,[["render",Gt]]);var eo=Qt;const to=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),oo=[to],no={class:"models_placement_body"},io={class:"palcement_modal_header"},lo={class:"models_placement_title"},ao={class:"placement_operate_list"},ro=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),so={class:"operate_item_des"},co=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),uo={class:"operate_item_des"},po=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),mo={class:"operate_item_des"},ho=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),fo={class:"operate_item_des"},vo={key:0,class:"plcaement_point_content"},go={class:"ponit_title"},bo={class:"point_list"},yo=["onTouchstart"],wo={class:"placement_content_operate_list"},So=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),_o=(0,n._)("div",{class:"placement_content_operate_des"},"Remove Point",-1),ko=[So,_o],xo=(0,n._)("div",{class:"placement_tip_content"},"Please change the pure white inside the mannequin for another color to enhance your experience",-1),Co={class:"img_preview_block"},Oo={class:"perview_mark_loading"},Lo={class:"img_content_block",ref:"imgbox"},Po=["src"],Uo=["onTouchstart"],jo={class:"icon iconfont icon-guanbi"};function Io(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"]))},oo)])),default:(0,n.w5)((()=>[(0,n._)("div",no,[(0,n._)("div",io,[(0,n._)("div",lo,(0,i.zw)(e.$t("ModelPlacementMobile.Registration")),1),(0,n._)("div",ao,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[ro,(0,n._)("div",so,(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))},[co,(0,n._)("div",uo,(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))},[po,(0,n._)("div",mo,(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))},[ho,(0,n._)("div",fo,(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",vo,[((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",go,(0,i.zw)(t.title),1),(0,n._)("div",bo,[((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,yo)))),128))])])))),128))])):(0,n.kq)("",!0),(0,n._)("div",wo,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[5]||(t[5]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},ko)]),xo,(0,n._)("div",Co,[(0,n.wy)((0,n._)("div",Oo,[(0,n.Wm)(c,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",Lo,[(0,n._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,Po),((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",jo,null,512),[[l.F8,e.isRemoveStatus]])],46,Uo)))),128))],512)])],32)])])),_:1},8,["visible"])],512)),[[l.F8,e.placementShow]])}var Fo=(0,n.aZ)({setup(){const e=(0,Pt.oR)();let t=(0,Be.iH)([]),o=(0,Be.iH)([]),n=(0,Be.iH)({}),i=(0,Be.iH)({}),l=(0,Be.iH)(null),a=(0,Be.iH)({}),r=(0,Be.iH)([]),s=(0,Be.iH)([]),c=(0,Be.iH)(!1),u=(0,Be.iH)(!1),d=(0,Be.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,Ot.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(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.value};t.push(o)})),this.sex=t[0].value,this.sexList=t,console.log(this.sexList)}}))},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):Ut.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)(jt.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,xt.V.axiosPost(xt.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)=>{xt.V.axiosPost(xt.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)=>{Ut.Z.confirm({title:"This picture has been uploaded whether to continue uploading? ",icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.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 To=(0,Tt.Z)(Fo,[["render",Io]]);var Mo=To,Eo=o(9206),No=o(4873),Do=o(8652),Ho=o(6409);var Ro;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Bo="undefined"!==typeof window,zo=(Object.prototype.toString,e=>"string"===typeof e),$o=()=>{},Vo=Bo&&(null==(Ro=null==window?void 0:window.navigator)?void 0:Ro.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ao(e){return"function"===typeof e?e():(0,Be.SU)(e)}function Zo(e){return e}function Yo(e){return!!(0,Be.nZ)()&&((0,Be.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 Wo(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 qo(e){var t;const o=Ao(e);return null!=(t=null==o?void 0:o.$el)?t:o}const Ko=Bo?window:void 0;Bo&&window.document,Bo&&window.navigator,Bo&&window.location;function Go(...e){let t,o,i,l;if(zo(e[0])||Array.isArray(e[0])?([o,i,l]=e,t=Ko):[t,o,i,l]=e,!t)return $o;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)((()=>[qo(t),Ao(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 Yo(u),u}let Jo=!1;function Xo(e,t,o={}){const{window:n=Ko,ignore:i=[],capture:l=!0,detectIframe:a=!1}=o;if(!n)return;Vo&&!Jo&&(Jo=!0,Array.from(n.document.body.children).forEach((e=>e.addEventListener("click",$o))));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=qo(t);return o&&(e.target===o||e.composedPath().includes(o))}})),c=o=>{const n=qo(e);n&&n!==o.target&&!o.composedPath().includes(n)&&(0===o.detail&&(r=!s(o)),r?t(o):r=!0)},u=[Go(n,"click",c,{passive:!0,capture:l}),Go(n,"pointerdown",(t=>{const o=qo(e);o&&(r=!t.composedPath().includes(o)&&!s(t))}),{passive:!0}),a&&Go(n,"blur",(o=>{var i;const l=qo(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 Qo(e,t=!1){const o=(0,Be.iH)(),n=()=>o.value=Boolean(e());return n(),Wo(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 en="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},tn="__vueuse_ssr_handlers__";en[tn]=en[tn]||{};en[tn];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function on(e,t,{window:o=Ko,initialValue:i=""}={}){const l=(0,Be.iH)(i),a=(0,n.Fl)((()=>{var e;return qo(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return(0,n.YP)([a,()=>Ao(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(Ao(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 nn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,rn=(e,t)=>{var o={};for(var n in e)ln.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&nn)for(var n of nn(e))t.indexOf(n)<0&&an.call(e,n)&&(o[n]=e[n]);return o};function sn(e,t,o={}){const i=o,{window:l=Ko}=i,a=rn(i,["window"]);let r;const s=Qo((()=>l&&"ResizeObserver"in l)),c=()=>{r&&(r.disconnect(),r=void 0)},u=(0,n.YP)((()=>qo(e)),(e=>{c(),s.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Yo(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 cn;(function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"})(cn||(cn={}));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 un=Object.defineProperty,dn=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,hn=(e,t,o)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,fn=(e,t)=>{for(var o in t||(t={}))pn.call(t,o)&&hn(e,o,t[o]);if(dn)for(var o of dn(t))mn.call(t,o)&&hn(e,o,t[o]);return e};const vn={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]};fn({linear:Zo},vn);var gn=o(576),bn=o(626),yn=1/0;function wn(e){var t=null==e?0:e.length;return t?(0,bn.Z)(e,yn):[]}var Sn=wn;const _n=4,kn={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"}},xn=({move:e,size:t,bar:o})=>({[o.size]:t,transform:`translate${o.axis}(${e}%)`}),Cn=Symbol("scrollbarContextKey");var On=o(5937);const Ln="__epPropKey",Pn=e=>e,Un=e=>(0,i.Kn)(e)&&!!e[Ln],jn=(e,t)=>{if(!(0,i.Kn)(e)||Un(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,[Ln]:!0};return(0,i.RI)(e,"default")&&(u.default=a),u},In=e=>(0,On.Z)(Object.entries(e).map((([e,t])=>[e,jn(t,e)]))),Fn=In({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var Tn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,i]of t)o[n]=i;return o};const Mn="el",En="is-",Nn=(e,t,o,n,i)=>{let l=`${e}-${t}`;return o&&(l+=`-${o}`),n&&(l+=`__${n}`),i&&(l+=`--${i}`),l},Dn=Symbol("namespaceContextKey"),Hn=e=>{const t=e||((0,n.FN)()?(0,n.f3)(Dn,(0,Be.iH)(Mn)):(0,Be.iH)(Mn)),o=(0,n.Fl)((()=>(0,Be.SU)(t)||Mn));return o},Rn=(e,t)=>{const o=Hn(t),n=(t="")=>Nn(o.value,e,t,"",""),i=t=>t?Nn(o.value,e,"",t,""):"",l=t=>t?Nn(o.value,e,"","",t):"",a=(t,n)=>t&&n?Nn(o.value,e,t,n,""):"",r=(t,n)=>t&&n?Nn(o.value,e,"",t,n):"",s=(t,n)=>t&&n?Nn(o.value,e,t,"",n):"",c=(t,n,i)=>t&&n&&i?Nn(o.value,e,t,n,i):"",u=(e,...t)=>{const o=!(t.length>=1)||t[0];return e&&o?`${En}${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 Bn extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function zn(e,t){throw new Bn(`[${e}] ${t}`)}function $n(e,t){0}const Vn="Thumb",An=(0,n.aZ)({__name:"thumb",props:Fn,setup(e){const t=e,o=(0,n.f3)(Cn),a=Rn("scrollbar");o||zn(Vn,"can not inject scrollbar context");const r=(0,Be.iH)(),s=(0,Be.iH)(),c=(0,Be.iH)({}),u=(0,Be.iH)(!1);let d=!1,p=!1,m=Bo?document.onselectstart:null;const h=(0,n.Fl)((()=>kn[t.vertical?"vertical":"horizontal"])),f=(0,n.Fl)((()=>xn({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 Go((0,Be.Vh)(o,"scrollbarElement"),"mousemove",_),Go((0,Be.Vh)(o,"scrollbarElement"),"mouseleave",k),(e,t)=>((0,n.wg)(),(0,n.j4)(l.uT,{name:(0,Be.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,Be.SU)(a).e("bar"),(0,Be.SU)(a).is((0,Be.SU)(h).key)]),onMousedown:b},[(0,n._)("div",{ref_key:"thumb",ref:s,class:(0,i.C_)((0,Be.SU)(a).e("thumb")),style:(0,i.j5)((0,Be.SU)(f)),onMousedown:g},null,38)],34),[[l.F8,e.always||u.value]])])),_:1},8,["name"]))}});var Zn=Tn(An,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Yn=In({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Wn=(0,n.aZ)({__name:"bar",props:Yn,setup(e,{expose:t}){const o=e,i=(0,Be.iH)(0),l=(0,Be.iH)(0),a=e=>{if(e){const t=e.offsetHeight-_n,n=e.offsetWidth-_n;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)(Zn,{move:i.value,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),(0,n.Wm)(Zn,{move:l.value,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var qn=Tn(Wn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const Kn=e=>void 0===e,Gn=e=>"boolean"===typeof e,Jn=e=>"number"===typeof e,Xn=e=>!e&&0!==e||(0,i.kJ)(e)&&0===e.length||(0,i.Kn)(e)&&!Object.keys(e).length,Qn=e=>"undefined"!==typeof Element&&e instanceof Element,ei=e=>!!(0,i.HD)(e)&&!Number.isNaN(Number(e)),ti=In({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Pn([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"]}}),oi={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Jn)},ni="utils/dom/style";function ii(e,t="px"){return e?Jn(e)||ei(e)?`${e}${t}`:(0,i.HD)(e)?e:void $n(ni,"binding value must be a string or number"):""}const li="ElScrollbar",ai=(0,n.aZ)({name:li}),ri=(0,n.aZ)({...ai,props:ti,emits:oi,setup(e,{expose:t,emit:o}){const l=e,a=Rn("scrollbar");let r,s;const c=(0,Be.iH)(),u=(0,Be.iH)(),d=(0,Be.iH)(),p=(0,Be.iH)("0"),m=(0,Be.iH)("0"),h=(0,Be.iH)(),f=(0,Be.iH)(1),v=(0,Be.iH)(1),g=(0,n.Fl)((()=>{const e={};return l.height&&(e.height=ii(l.height)),l.maxHeight&&(e.maxHeight=ii(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):Jn(e)&&Jn(t)&&u.value.scrollTo(e,t)}const _=e=>{Jn(e)?u.value.scrollTop=e:$n(li,"value must be a number")},k=e=>{Jn(e)?u.value.scrollLeft=e:$n(li,"value must be a number")},x=()=>{if(!u.value)return;const e=u.value.offsetHeight-_n,t=u.value.offsetWidth-_n,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+_nl.noresize),(e=>{e?(null==r||r(),null==s||s()):(({stop:r}=sn(d,x)),s=Go("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)(Cn,(0,Be.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,Be.SU)(a).b())},[(0,n._)("div",{ref_key:"wrapRef",ref:u,class:(0,i.C_)((0,Be.SU)(b)),style:(0,i.j5)((0,Be.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,Be.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)(qn,{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 si=Tn(ri,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ci=(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},ui=e=>(e.install=i.dG,e),di=ci(si); +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[750],{9658:function(e,t,o){o.r(t),o.d(t,{default:function(){return Cp}});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:(0,i.C_)(["header_operate_item","fontSize","active"])},P={class:"content_search_block"},U=["placeholder"],j={class:"search_cascader"},I=(0,n._)("div",null," No Label ",-1),F={class:"intersection"},T=["title"],M=["title"],E=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),N=[E],D={class:"check_block"},H={class:"check_block_body"},R={class:"content_body_table scroll_style"},B=["onClick"],z={class:"img_item_hover"},$={class:"img_operate_content"},V=["onClick"],A=(0,n._)("span",{class:"icon iconfont icon-tianxie operate_icon"},null,-1),Z=[A],Y=["onClick"],W=(0,n._)("span",{class:"icon iconfont icon-biaoqian operate_icon"},null,-1),q=[W],K=["onClick"],G=(0,n._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1),J=[G],X={class:"content_img_name"},Q={class:"no_data_block"},ee=(0,n._)("img",{src:a},null,-1),te=[ee],oe={class:"table_pagination"},ne={class:"right_content_body"},ie={class:"content_body_header content_body_header_generate"},le={class:"content_body_header_right"},ae={class:"content_body_header_right"},re={class:"checkboxItem"},se={class:"checkboxItem"},ce={class:"checkboxItem"},ue=["maxlength","readonly","placeholder"],de={class:"printModel"},pe={class:"upload_item"},me={class:"upload_file_item_content"},he=["onClick"],fe=["src"],ve=["onClick"],ge=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),be=[ge],ye={class:"upload_component upload_file_item"},we=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-br-upload"})],-1),Se={class:"content_body_table scroll_style"},_e={class:"img_item_hover"},ke={class:"img_operate_content"},xe={class:"img_operate_block"},Ce=["onClick"],Oe=["onClick"],Le=(0,n._)("div",{class:"content_img_name"},null,-1),Pe={class:"no_data_block"},Ue=(0,n._)("img",{src:a},null,-1),je=[Ue],Ie={class:"table_pagination"},Fe={class:"collection_rename_content"},Te={class:"rename_form_content"},Me=["placeholder"],Ee=(0,n._)("div",null," No Label ",-1),Ne={class:"rename_button_list"},De={class:"mark_loading"};function He(e,t,o,a,E,A){const W=(0,n.up)("HeaderComponent"),G=(0,n.up)("a-select"),ee=(0,n.up)("a-upload"),ge=(0,n.up)("el-cascader"),Ue=(0,n.up)("a-pagination"),He=(0,n.up)("a-spin"),Re=(0,n.up)("a-modal"),Be=(0,n.up)("ModelPlacement"),ze=(0,n.up)("ModelPlacementMobile"),$e=(0,n.up)("setLabel"),Ve=(0,n.up)("RobotAssist"),Ae=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",r,[(0,n._)("div",s,[(0,n._)("div",c,[(0,n.Wm)(W),(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._)("div",null,(0,i.zw)(e.$t("LibraryPage.Organize")),1)],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)(G,{ref:"select",value:e.sex.value,"onUpdate:value":t[2]||(t[2]=t=>e.sex.value=t),options:e.sexList,onChange:e.sexChange},{suffixIcon:(0,n.w5)((()=>[w])),_:1},8,["value","options","onChange"]),(0,n.Wm)(G,{ref:"select",value:e.designType.value,"onUpdate:value":t[3]||(t[3]=t=>e.designType.value=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",L,[(0,n.wy)((0,n.Wm)(ee,{"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._)("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",P,[(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,U),[[l.nr,e.searchPictureName]]),(0,n._)("div",j,[(0,n.Wm)(ge,{options:e.options,filterable:"",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},{empty:(0,n.w5)((()=>[I])),_:1},8,["options","modelValue","props","onVisibleChange"])]),(0,n._)("div",F,[(0,n.wy)((0,n._)("div",{title:e.$t("LibraryPage.unionSet"),onClick:t[9]||(t[9]=()=>e.intersection=1),class:(0,i.C_)(["icon","iconfont","icon-bingji"])},null,8,T),[[l.F8,0==e.intersection]]),(0,n.wy)((0,n._)("div",{title:e.$t("LibraryPage.intersection"),onClick:t[10]||(t[10]=()=>e.intersection=0),class:(0,i.C_)(["icon","iconfont","icon-bingji1"])},null,8,M),[[l.F8,1==e.intersection]])]),(0,n._)("div",{class:"generage_btn search_icon_block",onClick:t[11]||(t[11]=t=>e.getLibraryList())},N)])]),(0,n.wy)((0,n._)("div",{class:(0,i.C_)(["check_all_block",e.selectImgList.length==e.imgList.length?"check_all":""]),onClick:t[12]||(t[12]=t=>e.selectAllImg())},[(0,n._)("div",D,[(0,n.wy)((0,n._)("div",H,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",R,[((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)),[[Ae,t.url]]),(0,n._)("div",z,[(0,n._)("div",$,[(0,n.wy)((0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.editPlacementClick(t)),["stop"])},Z,8,V),[[l.F8,"Models"===e.selectCode]]),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((o=>e.showRenameModal(t,"single")),["stop"])},q,8,Y),(0,n._)("div",{class:"img_operate_block",onClick:(0,l.iM)((n=>e.deleteSinglePic(t,o)),["stop"])},J,8,K)])])],2),(0,n._)("div",X,(0,i.zw)(t.name),1)],8,B)))),128)),(0,n.wy)((0,n._)("div",Q,te,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",oe,[(0,n.Wm)(Ue,{current:e.currentPage,"onUpdate:current":t[13]||(t[13]=t=>e.currentPage=t),pageSize:e.pageSize,"onUpdate:pageSize":t[14]||(t[14]=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",ne,[(0,n._)("div",ie,[(0,n._)("div",le,[(0,n.wy)((0,n._)("div",ae,[(0,n._)("div",re,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=t=>e.checkbox[0].type=t),onClick:t[16]||(t[16]=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",se,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[17]||(t[17]=t=>e.checkbox[1].type=t),onClick:t[18]||(t[18]=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",ce,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[19]||(t[19]=t=>e.checkbox[2].type=t),onClick:t[20]||(t[20]=t=>e.setKeyword(2))},null,512),[[l.e8,e.checkbox[2].type]]),(0,n._)("span",null,(0,i.zw)(e.$t("LibraryPage.TextImage")),1)])])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(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[21]||(t[21]=(...t)=>e.ifMaximumLength&&e.ifMaximumLength(...t)),maxlength:e.inputShow?0:9999,onKeydown:t[22]||(t[22]=(0,l.D2)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["enter"])),readonly:e.checkbox[0].type,placeholder:e.$t("LibraryPage.inputContent2"),"onUpdate:modelValue":t[23]||(t[23]=t=>e.captionGeneration=t)},null,42,ue),[[l.nr,e.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:t[24]||(t[24]=(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",de,[(0,n._)("div",{onClick:t[25]||(t[25]=(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[26]||(t[26]=t=>e.setprintModel(1))},(0,i.zw)(e.$t("LibraryPage.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:t[27]||(t[27]=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.wy)((0,n._)("div",pe,[((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",me,[(0,n.Wm)(He,{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,fe),(0,n._)("div",{class:"delete_file_block rightTop",onClick:t=>e.deleteFile(o)},be,8,ve)],8,he),[[l.F8,"done"===t?.status]])],2)))),128)),(0,n.wy)((0,n._)("div",ye,[(0,n.Wm)(ee,{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[28]||(t[28]=t=>e.selectGenerateList=t),multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:e.generateFileUploadChange},{default:(0,n.w5)((()=>[we])),_:1},8,["action","before-upload","disabled","data","headers","file-list","onChange"])],512),[[l.F8,e.selectGenerateList.length<=3]])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(0,n._)("div",Se,[((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)),[[Ae,t.imgUrl]]),(0,n._)("div",_e,[(0,n._)("div",ke,[(0,n._)("div",xe,[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,Oe)):((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,Ce))])])])],2),Le])))),128)),(0,n.wy)((0,n._)("div",Pe,je,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,n.wy)((0,n._)("div",Ie,null,512),[[l.F8,e.generateList.length]])],512),[[l.F8,"Upload"!=e.uploadGenerate]])])])])])]),(0,n.Wm)(Re,{class:"library_rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[34]||(t[34]=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",Fe,[(0,n._)("div",Te,[(0,n.wy)((0,n._)("input",{class:"rename_form_input",placeholder:e.$t("LibraryPage.inputContent3"),"onUpdate:modelValue":t[29]||(t[29]=t=>e.newPicName=t),onKeydown:t[30]||(t[30]=(0,l.D2)((t=>e.confrimRename()),["enter"]))},null,40,Me),[[l.nr,e.newPicName]])]),(0,n.Wm)(ge,{options:e.options,filterable:!0,modelValue:e.value.editLabelValue,"onUpdate:modelValue":t[31]||(t[31]=t=>e.value.editLabelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,"max-collapse-tags":6,props:e.props,ref:"cascader1","collapse-tags-tooltip":!0,onVisibleChange:e.dropdownVisibleChange1},{empty:(0,n.w5)((()=>[Ee])),_:1},8,["options","modelValue","props","onVisibleChange"]),(0,n._)("div",Ne,[(0,n._)("div",{class:"rename_button_item rename_cancel_button",onClick:t[32]||(t[32]=t=>e.closeRenameModal())},(0,i.zw)(e.$t("LibraryPage.Cancel")),1),(0,n._)("div",{class:"rename_button_item rename_submit_button",onClick:t[33]||(t[33]=t=>e.confrimRename())},(0,i.zw)(e.$t("LibraryPage.Sure")),1)])])])),_:1},8,["visible","onOnCancel"]),(0,n.Wm)(Be,{ref:"ModelPlacement",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,n.Wm)(ze,{ref:"ModelPlacementMobile"},null,512),(0,n.Wm)($e,{ref:"setLabel"},null,512),(0,n.wy)((0,n._)("div",De,[(0,n.Wm)(He,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n.Wm)(Ve)])}var Re=o(320),Be=o(2262),ze=o(5154);const $e=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),Ve=[$e],Ae={class:"models_placement_body"},Ze={class:"palcement_modal_header"},Ye={class:"models_placement_title"},We={class:"placement_operate_list"},qe=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),Ke={class:"operate_item_des"},Ge=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),Je={class:"operate_item_des"},Xe=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),Qe={class:"operate_item_des"},et=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),tt={class:"operate_item_des"},ot={key:0,class:"plcaement_point_content"},nt={style:{display:"flex","align-items":"center"}},it={style:{display:"flex","align-items":"center"}},lt={style:{display:"flex","align-items":"center"}},at={class:"models_placement_content"},rt={class:"plcaement_point_content"},st={class:"select_block"},ct=(0,n._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),ut={class:"ponit_title"},dt={class:"point_list"},pt=["onMousedown"],mt={class:"placement_point_item placement_point_item_btn"},ht={class:"placement_content_operate_list"},ft=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),vt={class:"placement_content_operate_des"},gt={class:"placement_tip_content"},bt={class:"img_preview_block"},yt={class:"perview_mark_loading"},wt={class:"img_content_block",ref:"imgbox"},St=["onMousedown"],_t={class:"icon iconfont icon-guanbi"};function kt(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"]))},Ve)])),default:(0,n.w5)((()=>[(0,n._)("div",Ae,[(0,n._)("div",Ze,[(0,n._)("div",Ye,(0,i.zw)(e.$t("ModelPlacement.Registration")),1),(0,n._)("div",We,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[qe,(0,n._)("div",Ke,(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))},[Ge,(0,n._)("div",Je,(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))},[Xe,(0,n._)("div",Qe,(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))},[et,(0,n._)("div",tt,(0,i.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,n.wg)(),(0,n.iD)("div",ot,[(0,n._)("div",nt,[(0,n._)("div",it,[(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",lt,[(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",at,[(0,n._)("div",rt,[(0,n._)("div",st,[(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)((()=>[ct])),_: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",ut,(0,i.zw)(t.title),1),(0,n._)("div",dt,[((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,pt)))),128))])])))),128)),(0,n._)("div",mt,[(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",ht,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[9]||(t[9]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[ft,(0,n._)("div",vt,(0,i.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,n._)("div",gt,(0,i.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,n._)("div",bt,[(0,n.wy)((0,n._)("div",yt,[(0,n.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",wt,[(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",_t,null,512),[[l.F8,e.isRemoveStatus]])],46,St)),[[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 xt=o(6214),Ct=o(7332),Ot=o(2339),Lt=o(2323),Pt=o(3907),Ut=o(327),jt=o(8302),It=o(8552),Ft=(0,n.aZ)({components:{VueCropper:Lt.AK},setup(){const e=(0,Pt.oR)();let t=(0,Be.iH)([]),o=(0,Be.iH)([]),n=(0,Be.iH)({}),i=(0,Be.iH)({}),l=(0,Be.iH)(null),a=(0,Be.iH)({}),r=(0,Be.iH)([]),s=(0,Be.iH)([]),c=(0,Be.iH)(!1),u=(0,Be.iH)(!1),d=(0,Be.iH)(),p=(0,Be.iH)(),{t:m}=(0,It.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,Ot.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(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),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=""):Ut.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,n.Wm)(jt.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,Ct._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,xt.V.axiosPost(xt.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)=>{xt.V.axiosPost(xt.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)=>{Ut.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.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,xt.V.axiosPost(xt.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=""}}}),Tt=o(3744);const Mt=(0,Tt.Z)(Ft,[["render",kt]]);var Et=Mt;const Nt={class:"setLabel_centent"},Dt={class:"optionsItem"},Ht={class:"setLabel_text"},Rt=["title"],Bt=["onClick"],zt=["onClick"],$t={class:"childrenItem active"},Vt=["title"],At=["onClick"],Zt=["onClick"],Yt={class:"newLabel setLabel_text"},Wt=["onClick"],qt=["onClick"],Kt={class:"newLabel setLabel_text optionsItem_title"};function Gt(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",Nt,[(0,n._)("ul",Dt,[((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",Ht,[(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,Rt),[[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,Bt),[[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,zt),[[l.F8,!o.openType]])]),(0,n.wy)(((0,n.wg)(),(0,n.iD)("ul",$t,[((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,Vt),[[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,At),[[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,Zt),[[l.F8,!a.openType]])])))),128)),(0,n._)("li",Yt,[(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,Wt),[[l.F8,o.addOpenType]]),(0,n.wy)((0,n._)("div",{class:"addLabel",onClick:t=>e.newLabel(o,o.id)},"+",8,qt),[[l.F8,!o.addOpenType]])])])),[[d]])])))),128)),(0,n._)("li",Kt,[(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))},"Delete")])])])])),_:1},8,["visible","onCancel"])}var Jt=o(1446),Xt=(0,n.aZ)({components:{VueCropper:Lt.AK},setup(){let e=(0,Be.iH)(!1),t=(0,Be.iH)(!0),o=(0,Be.iH)([]),i=(0,n.f3)("type"),l=(0,Be.iH)([]),a=(0,Be.iH)(!1),r=(0,Be.iH)(""),{t:s}=(0,It.QT)();return{multiple:e,indeterminate:t,value:(0,Be.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 Jt.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,xt.V.axiosPost(xt.V.httpUrls.saveOrUpdate,t).then((e=>{this.getClass()})).catch((e=>{}))},deleteClass(e){xt.V.axiosPost(xt.V.httpUrls.classificationDelete,e).then((e=>{this.getClass()})).catch((t=>{if(2===t.errCode){let o=this;Ut.Z.confirm({title:t.errMsg,icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.deleteConfirm=1,o.deleteClass(e)},onCancel(){}})}}))},getClass(){let e=this.setLabelData();xt.V.axiosPost(xt.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 Qt=(0,Tt.Z)(Xt,[["render",Gt]]);var eo=Qt;const to=(0,n._)("span",{class:"icon iconfont icon-guanbi"},null,-1),oo=[to],no={class:"models_placement_body"},io={class:"palcement_modal_header"},lo={class:"models_placement_title"},ao={class:"placement_operate_list"},ro=(0,n._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),so={class:"operate_item_des"},co=(0,n._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),uo={class:"operate_item_des"},po=(0,n._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),mo={class:"operate_item_des"},ho=(0,n._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),fo={class:"operate_item_des"},vo={key:0,class:"plcaement_point_content"},go={class:"ponit_title"},bo={class:"point_list"},yo=["onTouchstart"],wo={class:"placement_content_operate_list"},So=(0,n._)("div",{class:"placement_remove_point_block"},null,-1),_o=(0,n._)("div",{class:"placement_content_operate_des"},"Remove Point",-1),ko=[So,_o],xo=(0,n._)("div",{class:"placement_tip_content"},"Please change the pure white inside the mannequin for another color to enhance your experience",-1),Co={class:"img_preview_block"},Oo={class:"perview_mark_loading"},Lo={class:"img_content_block",ref:"imgbox"},Po=["src"],Uo=["onTouchstart"],jo={class:"icon iconfont icon-guanbi"};function Io(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"]))},oo)])),default:(0,n.w5)((()=>[(0,n._)("div",no,[(0,n._)("div",io,[(0,n._)("div",lo,(0,i.zw)(e.$t("ModelPlacementMobile.Registration")),1),(0,n._)("div",ao,[(0,n.wy)((0,n._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[ro,(0,n._)("div",so,(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))},[co,(0,n._)("div",uo,(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))},[po,(0,n._)("div",mo,(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))},[ho,(0,n._)("div",fo,(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",vo,[((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",go,(0,i.zw)(t.title),1),(0,n._)("div",bo,[((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,yo)))),128))])])))),128))])):(0,n.kq)("",!0),(0,n._)("div",wo,[(0,n._)("div",{class:"placement_content_operate_item",onClick:t[5]||(t[5]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},ko)]),xo,(0,n._)("div",Co,[(0,n.wy)((0,n._)("div",Oo,[(0,n.Wm)(c,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,n._)("div",Lo,[(0,n._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,Po),((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",jo,null,512),[[l.F8,e.isRemoveStatus]])],46,Uo)))),128))],512)])],32)])])),_:1},8,["visible"])],512)),[[l.F8,e.placementShow]])}var Fo=(0,n.aZ)({setup(){const e=(0,Pt.oR)();let t=(0,Be.iH)([]),o=(0,Be.iH)([]),n=(0,Be.iH)({}),i=(0,Be.iH)({}),l=(0,Be.iH)(null),a=(0,Be.iH)({}),r=(0,Be.iH)([]),s=(0,Be.iH)([]),c=(0,Be.iH)(!1),u=(0,Be.iH)(!1),d=(0,Be.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,Ot.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(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{let o={value:e.name,label:e.value};t.push(o)})),this.sex=t[0].value,this.sexList=t,console.log(this.sexList)}}))},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):Ut.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)(jt.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,xt.V.axiosPost(xt.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)=>{xt.V.axiosPost(xt.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)=>{Ut.Z.confirm({title:"This picture has been uploaded whether to continue uploading? ",icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.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 To=(0,Tt.Z)(Fo,[["render",Io]]);var Mo=To,Eo=o(9206),No=o(4873),Do=o(8652),Ho=o(6409);var Ro;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Bo="undefined"!==typeof window,zo=(Object.prototype.toString,e=>"string"===typeof e),$o=()=>{},Vo=Bo&&(null==(Ro=null==window?void 0:window.navigator)?void 0:Ro.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ao(e){return"function"===typeof e?e():(0,Be.SU)(e)}function Zo(e){return e}function Yo(e){return!!(0,Be.nZ)()&&((0,Be.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 Wo(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 qo(e){var t;const o=Ao(e);return null!=(t=null==o?void 0:o.$el)?t:o}const Ko=Bo?window:void 0;Bo&&window.document,Bo&&window.navigator,Bo&&window.location;function Go(...e){let t,o,i,l;if(zo(e[0])||Array.isArray(e[0])?([o,i,l]=e,t=Ko):[t,o,i,l]=e,!t)return $o;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)((()=>[qo(t),Ao(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 Yo(u),u}let Jo=!1;function Xo(e,t,o={}){const{window:n=Ko,ignore:i=[],capture:l=!0,detectIframe:a=!1}=o;if(!n)return;Vo&&!Jo&&(Jo=!0,Array.from(n.document.body.children).forEach((e=>e.addEventListener("click",$o))));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=qo(t);return o&&(e.target===o||e.composedPath().includes(o))}})),c=o=>{const n=qo(e);n&&n!==o.target&&!o.composedPath().includes(n)&&(0===o.detail&&(r=!s(o)),r?t(o):r=!0)},u=[Go(n,"click",c,{passive:!0,capture:l}),Go(n,"pointerdown",(t=>{const o=qo(e);o&&(r=!t.composedPath().includes(o)&&!s(t))}),{passive:!0}),a&&Go(n,"blur",(o=>{var i;const l=qo(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 Qo(e,t=!1){const o=(0,Be.iH)(),n=()=>o.value=Boolean(e());return n(),Wo(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 en="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},tn="__vueuse_ssr_handlers__";en[tn]=en[tn]||{};en[tn];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function on(e,t,{window:o=Ko,initialValue:i=""}={}){const l=(0,Be.iH)(i),a=(0,n.Fl)((()=>{var e;return qo(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return(0,n.YP)([a,()=>Ao(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(Ao(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 nn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,rn=(e,t)=>{var o={};for(var n in e)ln.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&nn)for(var n of nn(e))t.indexOf(n)<0&&an.call(e,n)&&(o[n]=e[n]);return o};function sn(e,t,o={}){const i=o,{window:l=Ko}=i,a=rn(i,["window"]);let r;const s=Qo((()=>l&&"ResizeObserver"in l)),c=()=>{r&&(r.disconnect(),r=void 0)},u=(0,n.YP)((()=>qo(e)),(e=>{c(),s.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Yo(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 cn;(function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"})(cn||(cn={}));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 un=Object.defineProperty,dn=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,hn=(e,t,o)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,fn=(e,t)=>{for(var o in t||(t={}))pn.call(t,o)&&hn(e,o,t[o]);if(dn)for(var o of dn(t))mn.call(t,o)&&hn(e,o,t[o]);return e};const vn={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]};fn({linear:Zo},vn);var gn=o(576),bn=o(626),yn=1/0;function wn(e){var t=null==e?0:e.length;return t?(0,bn.Z)(e,yn):[]}var Sn=wn;const _n=4,kn={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"}},xn=({move:e,size:t,bar:o})=>({[o.size]:t,transform:`translate${o.axis}(${e}%)`}),Cn=Symbol("scrollbarContextKey");var On=o(5937);const Ln="__epPropKey",Pn=e=>e,Un=e=>(0,i.Kn)(e)&&!!e[Ln],jn=(e,t)=>{if(!(0,i.Kn)(e)||Un(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,[Ln]:!0};return(0,i.RI)(e,"default")&&(u.default=a),u},In=e=>(0,On.Z)(Object.entries(e).map((([e,t])=>[e,jn(t,e)]))),Fn=In({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var Tn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,i]of t)o[n]=i;return o};const Mn="el",En="is-",Nn=(e,t,o,n,i)=>{let l=`${e}-${t}`;return o&&(l+=`-${o}`),n&&(l+=`__${n}`),i&&(l+=`--${i}`),l},Dn=Symbol("namespaceContextKey"),Hn=e=>{const t=e||((0,n.FN)()?(0,n.f3)(Dn,(0,Be.iH)(Mn)):(0,Be.iH)(Mn)),o=(0,n.Fl)((()=>(0,Be.SU)(t)||Mn));return o},Rn=(e,t)=>{const o=Hn(t),n=(t="")=>Nn(o.value,e,t,"",""),i=t=>t?Nn(o.value,e,"",t,""):"",l=t=>t?Nn(o.value,e,"","",t):"",a=(t,n)=>t&&n?Nn(o.value,e,t,n,""):"",r=(t,n)=>t&&n?Nn(o.value,e,"",t,n):"",s=(t,n)=>t&&n?Nn(o.value,e,t,"",n):"",c=(t,n,i)=>t&&n&&i?Nn(o.value,e,t,n,i):"",u=(e,...t)=>{const o=!(t.length>=1)||t[0];return e&&o?`${En}${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 Bn extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function zn(e,t){throw new Bn(`[${e}] ${t}`)}function $n(e,t){0}const Vn="Thumb",An=(0,n.aZ)({__name:"thumb",props:Fn,setup(e){const t=e,o=(0,n.f3)(Cn),a=Rn("scrollbar");o||zn(Vn,"can not inject scrollbar context");const r=(0,Be.iH)(),s=(0,Be.iH)(),c=(0,Be.iH)({}),u=(0,Be.iH)(!1);let d=!1,p=!1,m=Bo?document.onselectstart:null;const h=(0,n.Fl)((()=>kn[t.vertical?"vertical":"horizontal"])),f=(0,n.Fl)((()=>xn({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 Go((0,Be.Vh)(o,"scrollbarElement"),"mousemove",_),Go((0,Be.Vh)(o,"scrollbarElement"),"mouseleave",k),(e,t)=>((0,n.wg)(),(0,n.j4)(l.uT,{name:(0,Be.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,Be.SU)(a).e("bar"),(0,Be.SU)(a).is((0,Be.SU)(h).key)]),onMousedown:b},[(0,n._)("div",{ref_key:"thumb",ref:s,class:(0,i.C_)((0,Be.SU)(a).e("thumb")),style:(0,i.j5)((0,Be.SU)(f)),onMousedown:g},null,38)],34),[[l.F8,e.always||u.value]])])),_:1},8,["name"]))}});var Zn=Tn(An,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Yn=In({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Wn=(0,n.aZ)({__name:"bar",props:Yn,setup(e,{expose:t}){const o=e,i=(0,Be.iH)(0),l=(0,Be.iH)(0),a=e=>{if(e){const t=e.offsetHeight-_n,n=e.offsetWidth-_n;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)(Zn,{move:i.value,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),(0,n.Wm)(Zn,{move:l.value,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var qn=Tn(Wn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const Kn=e=>void 0===e,Gn=e=>"boolean"===typeof e,Jn=e=>"number"===typeof e,Xn=e=>!e&&0!==e||(0,i.kJ)(e)&&0===e.length||(0,i.Kn)(e)&&!Object.keys(e).length,Qn=e=>"undefined"!==typeof Element&&e instanceof Element,ei=e=>!!(0,i.HD)(e)&&!Number.isNaN(Number(e)),ti=In({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Pn([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"]}}),oi={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Jn)},ni="utils/dom/style";function ii(e,t="px"){return e?Jn(e)||ei(e)?`${e}${t}`:(0,i.HD)(e)?e:void $n(ni,"binding value must be a string or number"):""}const li="ElScrollbar",ai=(0,n.aZ)({name:li}),ri=(0,n.aZ)({...ai,props:ti,emits:oi,setup(e,{expose:t,emit:o}){const l=e,a=Rn("scrollbar");let r,s;const c=(0,Be.iH)(),u=(0,Be.iH)(),d=(0,Be.iH)(),p=(0,Be.iH)("0"),m=(0,Be.iH)("0"),h=(0,Be.iH)(),f=(0,Be.iH)(1),v=(0,Be.iH)(1),g=(0,n.Fl)((()=>{const e={};return l.height&&(e.height=ii(l.height)),l.maxHeight&&(e.maxHeight=ii(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):Jn(e)&&Jn(t)&&u.value.scrollTo(e,t)}const _=e=>{Jn(e)?u.value.scrollTop=e:$n(li,"value must be a number")},k=e=>{Jn(e)?u.value.scrollLeft=e:$n(li,"value must be a number")},x=()=>{if(!u.value)return;const e=u.value.offsetHeight-_n,t=u.value.offsetWidth-_n,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+_nl.noresize),(e=>{e?(null==r||r(),null==s||s()):(({stop:r}=sn(d,x)),s=Go("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)(Cn,(0,Be.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,Be.SU)(a).b())},[(0,n._)("div",{ref_key:"wrapRef",ref:u,class:(0,i.C_)((0,Be.SU)(b)),style:(0,i.j5)((0,Be.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,Be.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)(qn,{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 si=Tn(ri,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ci=(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},ui=e=>(e.install=i.dG,e),di=ci(si); /*! Element Plus Icons Vue v2.1.0 */ var pi=(e,t)=>{let o=e.__vccOpts||e;for(let[n,i]of t)o[n]=i;return o};var mi={name:"ArrowDown"},hi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fi=(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),vi=[fi];function gi(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",hi,vi)}var bi=pi(mi,[["render",gi],["__file","arrow-down.vue"]]);var yi={name:"ArrowRight"},wi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Si=(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),_i=[Si];function ki(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",wi,_i)}var xi=pi(yi,[["render",ki],["__file","arrow-right.vue"]]);var Ci={name:"Check"},Oi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Li=(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),Pi=[Li];function Ui(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Oi,Pi)}var ji=pi(Ci,[["render",Ui],["__file","check.vue"]]);var Ii={name:"CircleCheck"},Fi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ti=(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),Mi=(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),Ei=[Ti,Mi];function Ni(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Fi,Ei)}var Di=pi(Ii,[["render",Ni],["__file","circle-check.vue"]]);var Hi={name:"CircleClose"},Ri={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Bi=(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),zi=(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),$i=[Bi,zi];function Vi(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Ri,$i)}var Ai=pi(Hi,[["render",Vi],["__file","circle-close.vue"]]);var Zi={name:"Close"},Yi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Wi=(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),qi=[Wi];function Ki(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Yi,qi)}var Gi=pi(Zi,[["render",Ki],["__file","close.vue"]]);var Ji={name:"Hide"},Xi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qi=(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),el=(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),tl=[Qi,el];function ol(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",Xi,tl)}var nl=pi(Ji,[["render",ol],["__file","hide.vue"]]);var il={name:"Loading"},ll={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},al=(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),rl=[al];function sl(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",ll,rl)}var cl=pi(il,[["render",sl],["__file","loading.vue"]]);var ul={name:"View"},dl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pl=(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),ml=[pl];function hl(e,t,o,i,l,a){return(0,n.wg)(),(0,n.iD)("svg",dl,ml)}var fl=pi(ul,[["render",hl],["__file","view.vue"]]);const vl=In({size:{type:Pn([Number,String])},color:{type:String}}),gl=(0,n.aZ)({name:"ElIcon",inheritAttrs:!1}),bl=(0,n.aZ)({...gl,props:vl,setup(e){const t=e,o=Rn("icon"),i=(0,n.Fl)((()=>{const{size:e,color:o}=t;return e||o?{fontSize:Kn(e)?void 0:ii(e),"--color":o}:{}}));return(e,t)=>((0,n.wg)(),(0,n.iD)("i",(0,n.dG)({class:(0,Be.SU)(o).b(),style:(0,Be.SU)(i)},e.$attrs),[(0,n.WI)(e.$slots,"default")],16))}});var yl=Tn(bl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const wl=ci(yl),Sl=["","default","small","large"],_l=jn({type:String,values:Sl,required:!1}),kl=Symbol("size"),xl=()=>{const e=(0,n.f3)(kl,{});return(0,n.Fl)((()=>(0,Be.SU)(e.size)||""))},Cl="update:modelValue",Ol="change",Ll={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:_l,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},Pl={[Cl]:e=>(0,i.HD)(e)||Jn(e)||Gn(e),change:e=>(0,i.HD)(e)||Jn(e)||Gn(e)},Ul=Symbol("checkboxGroupContextKey"),jl=Symbol("formContextKey"),Il=Symbol("formItemContextKey"),Fl=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]}))},Tl=(e,t={})=>{const o=(0,Be.iH)(void 0),i=t.prop?o:Fl("size"),l=t.global?o:xl(),a=t.form?{size:void 0}:(0,n.f3)(jl,void 0),r=t.formItem?{size:void 0}:(0,n.f3)(Il,void 0);return(0,n.Fl)((()=>i.value||(0,Be.SU)(e)||(null==r?void 0:r.size)||(null==a?void 0:a.size)||l.value||""))},Ml=e=>{const t=Fl("disabled"),o=(0,n.f3)(jl,void 0);return(0,n.Fl)((()=>t.value||(0,Be.SU)(e)||(null==o?void 0:o.disabled)||!1))},El=({model:e,isChecked:t})=>{const o=(0,n.f3)(Ul,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!Kn(l)&&e.value.length>=l&&!t.value||!Kn(a)&&e.value.length<=a&&t.value})),l=Ml((0,n.Fl)((()=>(null==o?void 0:o.disabled.value)||i.value)));return{isDisabled:l,isLimitDisabled:i}},Nl={prefix:Math.floor(1e4*Math.random()),current:0},Dl=Symbol("elIdInjection"),Hl=()=>(0,n.FN)()?(0,n.f3)(Dl,Nl):Nl,Rl=e=>{const t=Hl();Bo||t!==Nl||$n("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=Hn(),i=(0,n.Fl)((()=>(0,Be.SU)(e)||`${o.value}-id-${t.prefix}-${t.current++}`));return i},Bl=()=>{const e=(0,n.f3)(jl,void 0),t=(0,n.f3)(Il,void 0);return{form:e,formItem:t}},zl=(e,{formItemContext:t,disableIdGeneration:o,disableIdManagement:i})=>{o||(o=(0,Be.iH)(!1)),i||(i=(0,Be.iH)(!1));const l=(0,Be.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,Be.Vh)(e,"id"),o],(([e,o])=>{const n=null!=e?e:o?void 0:Rl().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}},$l=(e,{model:t,isLimitExceeded:o,hasOwnLabel:i,isDisabled:l,isLabeledByFormItem:a})=>{const r=(0,n.f3)(Ul,void 0),{formItem:s}=Bl(),{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=>$n(e))))})),{handleChange:p,onClickRoot:m}},Vl=e=>{const t=(0,Be.iH)(!1),{emit:o}=(0,n.FN)(),l=(0,n.f3)(Ul,void 0),a=(0,n.Fl)((()=>!1===Kn(l))),r=(0,Be.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(Cl,e),t.value=e)}});return{model:s,isGroup:a,isLimitExceeded:r}};function Al(e){return null==e}var Zl=Al;const Yl=(e,t,{model:o})=>{const l=(0,n.f3)(Ul,void 0),a=(0,Be.iH)(!1),r=(0,n.Fl)((()=>{const t=o.value;return Gn(t)?t:(0,i.kJ)(t)?(0,i.Kn)(e.label)?t.map(Be.IU).some((t=>(0,gn.Z)(t,e.label))):t.map(Be.IU).includes(e.label):null!==t&&void 0!==t?t===e.trueLabel:!!t})),s=Tl((0,n.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value})),{prop:!0}),c=Tl((0,n.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value}))),u=(0,n.Fl)((()=>!!t.default||!Zl(e.label)));return{checkboxButtonSize:s,isChecked:r,isFocused:a,checkboxSize:c,hasOwnLabel:u}},Wl=(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()},ql=(e,t)=>{const{formItem:o}=Bl(),{model:n,isGroup:i,isLimitExceeded:l}=Vl(e),{isFocused:a,isChecked:r,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u}=Yl(e,t,{model:n}),{isDisabled:d}=El({model:n,isChecked:r}),{inputId:p,isLabeledByFormItem:m}=zl(e,{formItemContext:o,disableIdGeneration:u,disableIdManagement:i}),{handleChange:h,onClickRoot:f}=$l(e,{model:n,isLimitExceeded:l,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:m});return Wl(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}},Kl=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],Gl=["id","indeterminate","disabled","value","name","tabindex"],Jl=(0,n.aZ)({name:"ElCheckbox"}),Xl=(0,n.aZ)({...Jl,props:Ll,emits:Pl,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}=ql(t,o),v=Rn("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,Be.SU)(p)&&(0,Be.SU)(r)?"span":"label"),{class:(0,i.C_)((0,Be.SU)(g)),"aria-controls":e.indeterminate?e.controls:null,onClick:(0,Be.SU)(f)},{default:(0,n.w5)((()=>[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(b))},[e.trueLabel||e.falseLabel?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,id:(0,Be.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Be.dq)(m)?m.value=e:null),class:(0,i.C_)((0,Be.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:(0,Be.SU)(c),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,Be.SU)(h)&&(0,Be.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,Kl)),[[l.e8,(0,Be.SU)(m)]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,id:(0,Be.SU)(a),"onUpdate:modelValue":t[5]||(t[5]=e=>(0,Be.dq)(m)?m.value=e:null),class:(0,i.C_)((0,Be.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:(0,Be.SU)(c),value:e.label,name:e.name,tabindex:e.tabindex,onChange:t[6]||(t[6]=(...e)=>(0,Be.SU)(h)&&(0,Be.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,Gl)),[[l.e8,(0,Be.SU)(m)]]),(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(v).e("inner"))},null,2)],2),(0,Be.SU)(p)?((0,n.wg)(),(0,n.iD)("span",{key:0,class:(0,i.C_)((0,Be.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 Ql=Tn(Xl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const ea=["name","tabindex","disabled","true-value","false-value"],ta=["name","tabindex","disabled","value"],oa=(0,n.aZ)({name:"ElCheckboxButton"}),na=(0,n.aZ)({...oa,props:Ll,emits:Pl,setup(e){const t=e,o=(0,n.Rr)(),{isFocused:a,isChecked:r,isDisabled:s,checkboxButtonSize:c,model:u,handleChange:d}=ql(t,o),p=(0,n.f3)(Ul,void 0),m=Rn("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,Be.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,Be.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Be.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,Be.SU)(s),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,Be.SU)(d)&&(0,Be.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,ea)),[[l.e8,(0,Be.SU)(u)]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,"onUpdate:modelValue":t[5]||(t[5]=e=>(0,Be.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Be.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,Be.SU)(s),value:e.label,onChange:t[6]||(t[6]=(...e)=>(0,Be.SU)(d)&&(0,Be.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,ta)),[[l.e8,(0,Be.SU)(u)]]),e.$slots.default||e.label?((0,n.wg)(),(0,n.iD)("span",{key:2,class:(0,i.C_)((0,Be.SU)(m).be("button","inner")),style:(0,i.j5)((0,Be.SU)(r)?(0,Be.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 ia=Tn(na,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]),la=o(6636);const aa=In({modelValue:{type:Pn(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:_l,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),ra={[Cl]:e=>(0,i.kJ)(e),change:e=>(0,i.kJ)(e)},sa=(0,n.aZ)({name:"ElCheckboxGroup"}),ca=(0,n.aZ)({...sa,props:aa,emits:ra,setup(e,{emit:t}){const o=e,l=Rn("checkbox"),{formItem:a}=Bl(),{inputId:r,isLabeledByFormItem:s}=zl(o,{formItemContext:a}),c=async e=>{t(Cl,e),await(0,n.Y3)(),t("change",e)},u=(0,n.Fl)({get(){return o.modelValue},set(e){c(e)}});return(0,n.JJ)(Ul,{...(0,la.Z)((0,Be.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=>$n(e))))})),(e,t)=>{var o;return(0,n.wg)(),(0,n.j4)((0,n.LL)(e.tag),{id:(0,Be.SU)(r),class:(0,i.C_)((0,Be.SU)(l).b("group")),role:"group","aria-label":(0,Be.SU)(s)?void 0:e.label||"checkbox-group","aria-labelledby":(0,Be.SU)(s)?null==(o=(0,Be.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 ua=Tn(ca,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const da=ci(Ql,{CheckboxButton:ia,CheckboxGroup:ua}),pa=(ui(ia),ui(ua),In({size:_l,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}})),ma=In({...pa,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),ha={[Cl]:e=>(0,i.HD)(e)||Jn(e)||Gn(e),[Ol]:e=>(0,i.HD)(e)||Jn(e)||Gn(e)},fa=Symbol("radioGroupKey"),va=(e,t)=>{const o=(0,Be.iH)(),i=(0,n.f3)(fa,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(Cl,n),o.value.checked=e.modelValue===e.label}}),r=Tl((0,n.Fl)((()=>null==i?void 0:i.size))),s=Ml((0,n.Fl)((()=>null==i?void 0:i.disabled))),c=(0,Be.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}},ga=["value","name","disabled"],ba=(0,n.aZ)({name:"ElRadio"}),ya=(0,n.aZ)({...ba,props:ma,emits:ha,setup(e,{emit:t}){const o=e,a=Rn("radio"),{radioRef:r,radioGroup:s,focus:c,size:u,disabled:d,modelValue:p}=va(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,Be.SU)(a).b(),(0,Be.SU)(a).is("disabled",(0,Be.SU)(d)),(0,Be.SU)(a).is("focus",(0,Be.SU)(c)),(0,Be.SU)(a).is("bordered",e.border),(0,Be.SU)(a).is("checked",(0,Be.SU)(p)===e.label),(0,Be.SU)(a).m((0,Be.SU)(u))])},[(0,n._)("span",{class:(0,i.C_)([(0,Be.SU)(a).e("input"),(0,Be.SU)(a).is("disabled",(0,Be.SU)(d)),(0,Be.SU)(a).is("checked",(0,Be.SU)(p)===e.label)])},[(0,n.wy)((0,n._)("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Be.dq)(p)?p.value=e:null),class:(0,i.C_)((0,Be.SU)(a).e("original")),value:e.label,name:e.name||(null==(o=(0,Be.SU)(s))?void 0:o.name),disabled:(0,Be.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,ga),[[l.G2,(0,Be.SU)(p)]]),(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(a).e("inner"))},null,2)],2),(0,n._)("span",{class:(0,i.C_)((0,Be.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 wa=Tn(ya,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const Sa=In({...pa,name:{type:String,default:""}}),_a=["value","name","disabled"],ka=(0,n.aZ)({name:"ElRadioButton"}),xa=(0,n.aZ)({...ka,props:Sa,setup(e){const t=e,o=Rn("radio"),{radioRef:a,focus:r,size:s,disabled:c,modelValue:u,radioGroup:d}=va(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,Be.SU)(o).b("button"),(0,Be.SU)(o).is("active",(0,Be.SU)(u)===e.label),(0,Be.SU)(o).is("disabled",(0,Be.SU)(c)),(0,Be.SU)(o).is("focus",(0,Be.SU)(r)),(0,Be.SU)(o).bm("button",(0,Be.SU)(s))])},[(0,n.wy)((0,n._)("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,Be.dq)(u)?u.value=e:null),class:(0,i.C_)((0,Be.SU)(o).be("button","original-radio")),value:e.label,type:"radio",name:e.name||(null==(m=(0,Be.SU)(d))?void 0:m.name),disabled:(0,Be.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,_a),[[l.G2,(0,Be.SU)(u)]]),(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(o).be("button","inner")),style:(0,i.j5)((0,Be.SU)(u)===e.label?(0,Be.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 Ca=Tn(xa,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const Oa=In({id:{type:String,default:void 0},size:_l,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}}),La=ha,Pa=["id","aria-label","aria-labelledby"],Ua=(0,n.aZ)({name:"ElRadioGroup"}),ja=(0,n.aZ)({...Ua,props:Oa,emits:La,setup(e,{emit:t}){const o=e,l=Rn("radio"),a=Rl(),r=(0,Be.iH)(),{formItem:s}=Bl(),{inputId:c,isLabeledByFormItem:u}=zl(o,{formItemContext:s}),d=e=>{t(Cl,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)(fa,(0,Be.qj)({...(0,Be.BK)(o),changeEvent:d,name:p})),(0,n.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==s||s.validate("change").catch((e=>$n(e))))})),(e,t)=>((0,n.wg)(),(0,n.iD)("div",{id:(0,Be.SU)(c),ref_key:"radioGroupRef",ref:r,class:(0,i.C_)((0,Be.SU)(l).b("group")),role:"radiogroup","aria-label":(0,Be.SU)(u)?void 0:e.label||"radio-group","aria-labelledby":(0,Be.SU)(u)?(0,Be.SU)(s).labelId:void 0},[(0,n.WI)(e.$slots,"default")],10,Pa))}});var Ia=Tn(ja,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const Fa=ci(wa,{RadioButton:Ca,RadioGroup:Ia});ui(Ia),ui(Ca);var Ta=(0,n.aZ)({name:"NodeContent",setup(){const e=Rn("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 Ma=Symbol(),Ea=(0,n.aZ)({name:"ElCascaderNode",components:{ElCheckbox:da,ElRadio:Fa,NodeContent:Ta,ElIcon:wl,Check:ji,Loading:cl,ArrowRight:xi},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const o=(0,n.f3)(Ma),i=Rn("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}}}),Na=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],Da=(0,n._)("span",null,null,-1);function Ha(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 "),Da])),_: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,Na)}var Ra=Tn(Ea,[["render",Ha],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]),Ba=o(6423),za={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 $a=e=>(t,o)=>Va(t,o,(0,Be.SU)(e)),Va=(e,t,o)=>(0,Ba.Z)(o,e,e).replace(/\{(\w+)\}/g,((e,o)=>{var n;return`${null!=(n=null==t?void 0:t[o])?n:`{${o}}`}`})),Aa=e=>{const t=(0,n.Fl)((()=>(0,Be.SU)(e).name)),o=(0,Be.dq)(e)?e:(0,Be.iH)(e);return{lang:t,locale:o,t:$a(e)}},Za=Symbol("localeContextKey"),Ya=e=>{const t=e||(0,n.f3)(Za,(0,Be.iH)());return Aa((0,n.Fl)((()=>t.value||za)))},Wa=()=>Math.floor(1e4*Math.random()),qa=(0,n.aZ)({name:"ElCascaderMenu",components:{Loading:cl,ElIcon:wl,ElScrollbar:di,ElCascaderNode:Ra},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=(0,n.FN)(),o=Rn("cascader-menu"),{t:i}=Ya(),l=Wa();let a=null,r=null;const s=(0,n.f3)(Ma),c=(0,Be.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 Ka(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 Ga=Tn(qa,[["render",Ka],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);const Ja=e=>(0,i.kC)(e);let Xa=0;const Qa=e=>{const t=[e];let{parent:o}=e;while(o)t.unshift(o),o=o.parent;return t};class er{constructor(e,t,o,n=!1){this.data=e,this.config=t,this.parent=o,this.root=n,this.uid=Xa++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:l,children:a}=t,r=e[a],s=Qa(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 er(e,t,this))),this.loaded=!t.lazy||this.isLeaf||!Xn(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 Kn(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 er(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${Ja(e)}`;this.children.forEach((n=>{n&&(n.broadcast(e,...t),n[o]&&n[o](...t))}))}emit(e,...t){const{parent:o}=this,n=`onChild${Ja(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 tr=(e,t)=>e.reduce(((e,o)=>(o.isLeaf?e.push(o):(!t&&e.push(o),e=e.concat(tr(o.children,t))),e)),[]);class or{constructor(e,t){this.config=t;const o=(e||[]).map((e=>new er(e,this.config)));this.nodes=o,this.allNodes=tr(o,!1),this.leafNodes=tr(o,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const o=t?t.appendChild(e):new er(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,gn.Z)(t.value,e)||(0,gn.Z)(t.pathValues,e)));return o||null}getSameNode(e){if(!e)return null;const t=this.getFlattedNodes(!1).find((({value:t,level:o})=>(0,gn.Z)(e.value,t)&&e.level===o));return t||null}}const nr=In({modelValue:{type:Pn([Number,String,Array])},options:{type:Pn(Array),default:()=>[]},props:{type:Pn(Object),default:()=>({})}}),ir={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},lr=e=>(0,n.Fl)((()=>({...ir,...e.props}))),ar=e=>!e.getAttribute("aria-owns"),rr=(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},sr=e=>{e&&(e.focus(),!ar(e)&&e.click())},cr=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},ur=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():ar(e)&&e.click()},dr=(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},pr=e=>[...new Set(e)],mr=e=>e||0===e?Array.isArray(e)?e:[e]:[];function hr(e,t){if(!Bo)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 fr={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"},vr=(0,n.aZ)({name:"ElCascaderPanel",components:{ElCascaderMenu:Ga},props:{...nr,border:{type:Boolean,default:!0},renderLabel:Function},emits:[Cl,Ol,"close","expand-change"],setup(e,{emit:t,slots:o}){let i=!1;const l=Rn("cascader"),a=lr(e);let r=null;const s=(0,Be.iH)(!0),c=(0,Be.iH)([]),u=(0,Be.iH)(null),d=(0,Be.iH)([]),p=(0,Be.iH)(null),m=(0,Be.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 or(t,o),d.value=[r.getNodes()],o.lazy&&Xn(e.options)?(s.value=!1,g(void 0,(e=>{e&&(r=new or(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 er({},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=dr(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,gn.Z)(n,u.value)))if(l&&!t){const e=pr(Sn(mr(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?mr(n):[n],t=pr(e.map((e=>null==r?void 0:r.getNodeByValue(e,p))));O(t,o),u.value=(0,Do.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,Be.qj)(s).forEach((e=>e.doCheck(!0))):s.forEach((e=>e.doCheck(!0))),m.value=s,(0,n.Y3)(L)},L=()=>{Bo&&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`);hr(e,o)}}))},P=e=>{const t=e.target,{code:o}=e;switch(o){case fr.up:case fr.down:{e.preventDefault();const n=o===fr.up?-1:1;sr(rr(t,n,`.${l.b("node")}[tabindex="-1"]`));break}case fr.left:{e.preventDefault();const o=c.value[cr(t)-1],n=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[aria-expanded="true"]`);sr(n);break}case fr.right:{e.preventDefault();const o=c.value[cr(t)+1],n=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`);sr(n);break}case fr.enter:ur(t);break}};return(0,n.JJ)(Ma,(0,Be.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,gn.Z)(o,e.modelValue)||(t(Cl,o),t(Ol,o))})),(0,n.Xn)((()=>c.value=[])),(0,n.bv)((()=>!Xn(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 gr(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 br=Tn(vr,[["render",gr],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);br.install=e=>{e.component(br.name,br)};const yr=br,wr=()=>Bo&&/firefox/i.test(window.navigator.userAgent);let Sr;const _r=`\n height:0 !important;\n visibility:hidden !important;\n ${wr()?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,kr=["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 xr(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=kr.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";");return{contextStyle:l,paddingSize:n,borderSize:i,boxSizing:o}}function Cr(e,t=1,o){var n;Sr||(Sr=document.createElement("textarea"),document.body.appendChild(Sr));const{paddingSize:i,borderSize:l,boxSizing:a,contextStyle:r}=xr(e);Sr.setAttribute("style",`${r};${_r}`),Sr.value=e.value||e.placeholder||"";let s=Sr.scrollHeight;const c={};"border-box"===a?s+=l:"content-box"===a&&(s-=i),Sr.value="";const u=Sr.scrollHeight-i;if(Jn(t)){let e=u*t;"border-box"===a&&(e=e+i+l),s=Math.max(e,s),c.minHeight=`${e}px`}if(Jn(o)){let e=u*o;"border-box"===a&&(e=e+i+l),s=Math.min(e,s)}return c.height=`${s}px`,null==(n=Sr.parentNode)||n.removeChild(Sr),Sr=void 0,c}const Or=Pn([String,Object,Function]),Lr={validating:cl,success:Di,error:Ai},Pr=e=>e,Ur=In({id:{type:String,default:void 0},size:_l,disabled:Boolean,modelValue:{type:Pn([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Pn([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:Or},prefixIcon:{type:Or},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:Pn([Object,Array,String]),default:()=>Pr({})},autofocus:{type:Boolean,default:!1}}),jr={[Cl]: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},Ir=["class","style"],Fr=/^on[A-Z]/,Tr=(e={})=>{const{excludeListeners:t=!1,excludeKeys:o}=e,i=(0,n.Fl)((()=>((null==o?void 0:o.value)||[]).concat(Ir))),l=(0,n.FN)();return l?(0,n.Fl)((()=>{var e;return(0,On.Z)(Object.entries(null==(e=l.proxy)?void 0:e.$attrs).filter((([e])=>!i.value.includes(e)&&!(t&&Fr.test(e)))))})):($n("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),(0,n.Fl)((()=>({}))))};function Mr(e,{afterFocus:t,beforeBlur:o,afterBlur:l}={}){const a=(0,n.FN)(),{emit:r}=a,s=(0,Be.XI)(),c=(0,Be.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")})),Go(s,"click",p),{wrapperRef:s,isFocused:c,handleFocus:u,handleBlur:d}}function Er(e){const t=(0,Be.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 Nr=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Dr=["role"],Hr=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Rr=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Br=(0,n.aZ)({name:"ElInput",inheritAttrs:!1}),zr=(0,n.aZ)({...Br,props:Ur,emits:jr,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",V.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=Tr({excludeKeys:(0,n.Fl)((()=>Object.keys(c.value)))}),{form:m,formItem:h}=Bl(),{inputId:f}=zl(a,{formItemContext:h}),v=Tl(),g=Ml(),b=Rn("input"),y=Rn("textarea"),w=(0,Be.XI)(),S=(0,Be.XI)(),_=(0,Be.iH)(!1),k=(0,Be.iH)(!1),x=(0,Be.iH)(!1),C=(0,Be.iH)(),O=(0,Be.XI)(a.inputStyle),L=(0,n.Fl)((()=>w.value||S.value)),{wrapperRef:P,isFocused:U,handleFocus:j,handleBlur:I}=Mr(L,{afterBlur(){var e;a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"blur").catch((e=>$n(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&&Lr[T.value])),E=(0,n.Fl)((()=>x.value?fl:nl)),N=(0,n.Fl)((()=>[r.style,a.inputStyle])),D=(0,n.Fl)((()=>[a.inputStyle,O.value,{resize:a.resize}])),H=(0,n.Fl)((()=>Zl(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)),V=(0,n.Fl)((()=>!!z.value&&$.value>Number(p.value.maxlength))),A=(0,n.Fl)((()=>!!s.suffix||!!a.suffixIcon||R.value||a.showPassword||z.value||!!T.value&&F.value)),[Z,Y]=Er(w);sn(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(Bo&&"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=Cr(S.value,e,o);O.value={overflowY:"hidden",...l},(0,n.Y3)((()=>{S.value.offsetHeight,O.value=l}))}else O.value={minHeight:Cr(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(Cl,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=!Nr(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(Cl,""),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=>$n(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&&$n("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,Be.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,Be.SU)(c),{class:(0,Be.SU)(u),style:(0,Be.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,Be.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,Be.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,Be.SU)(b).e("prefix"))},[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(b).e("prefix-inner"))},[(0,n.WI)(e.$slots,"prefix"),e.prefixIcon?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:0,class:(0,i.C_)((0,Be.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,Be.SU)(f),ref_key:"input",ref:w,class:(0,Be.SU)(b).e("inner")},(0,Be.SU)(p),{type:e.showPassword?x.value?"text":"password":e.type,disabled:(0,Be.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,Be.SU)(j)&&(0,Be.SU)(j)(...e)),onBlur:t[1]||(t[1]=(...e)=>(0,Be.SU)(I)&&(0,Be.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Hr),(0,n.kq)(" suffix slot "),(0,Be.SU)(A)?((0,n.wg)(),(0,n.iD)("span",{key:1,class:(0,i.C_)((0,Be.SU)(b).e("suffix"))},[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(b).e("suffix-inner"))},[(0,Be.SU)(R)&&(0,Be.SU)(B)&&(0,Be.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,Be.SU)(wl),{key:0,class:(0,i.C_)((0,Be.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,Be.SU)(R)?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:1,class:(0,i.C_)([(0,Be.SU)(b).e("icon"),(0,Be.SU)(b).e("clear")]),onMousedown:(0,l.iM)((0,Be.SU)(i.dG),["prevent"]),onClick:ce},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Be.SU)(Ai))])),_:1},8,["class","onMousedown"])):(0,n.kq)("v-if",!0),(0,Be.SU)(B)?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:2,class:(0,i.C_)([(0,Be.SU)(b).e("icon"),(0,Be.SU)(b).e("password")]),onClick:oe},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,Be.SU)(E))))])),_:1},8,["class"])):(0,n.kq)("v-if",!0),(0,Be.SU)(z)?((0,n.wg)(),(0,n.iD)("span",{key:3,class:(0,i.C_)((0,Be.SU)(b).e("count"))},[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(b).e("count-inner"))},(0,i.zw)((0,Be.SU)($))+" / "+(0,i.zw)((0,Be.SU)(p).maxlength),3)],2)):(0,n.kq)("v-if",!0),(0,Be.SU)(T)&&(0,Be.SU)(M)&&(0,Be.SU)(F)?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:4,class:(0,i.C_)([(0,Be.SU)(b).e("icon"),(0,Be.SU)(b).e("validateIcon"),(0,Be.SU)(b).is("loading","validating"===(0,Be.SU)(T))])},{default:(0,n.w5)((()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,Be.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,Be.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,Be.SU)(f),ref_key:"textarea",ref:S,class:(0,Be.SU)(y).e("inner")},(0,Be.SU)(p),{tabindex:e.tabindex,disabled:(0,Be.SU)(g),readonly:e.readonly,autocomplete:e.autocomplete,style:(0,Be.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,Be.SU)(j)&&(0,Be.SU)(j)(...e)),onBlur:t[3]||(t[3]=(...e)=>(0,Be.SU)(I)&&(0,Be.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Rr),(0,Be.SU)(z)?((0,n.wg)(),(0,n.iD)("span",{key:0,style:(0,i.j5)(C.value),class:(0,i.C_)((0,Be.SU)(b).e("count"))},(0,i.zw)((0,Be.SU)($))+" / "+(0,i.zw)((0,Be.SU)(p).maxlength),7)):(0,n.kq)("v-if",!0)],64))],16,Dr)),[[l.F8,"hidden"!==e.type]])}});var $r=Tn(zr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Vr=ci($r),Ar=Symbol("popper"),Zr=Symbol("popperContent"),Yr=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Wr=In({role:{type:String,values:Yr,default:"tooltip"}}),qr=(0,n.aZ)({name:"ElPopper",inheritAttrs:!1}),Kr=(0,n.aZ)({...qr,props:Wr,setup(e,{expose:t}){const o=e,i=(0,Be.iH)(),l=(0,Be.iH)(),a=(0,Be.iH)(),r=(0,Be.iH)(),s=(0,n.Fl)((()=>o.role)),c={triggerRef:i,popperInstanceRef:l,contentRef:a,referenceRef:r,role:s};return t(c),(0,n.JJ)(Ar,c),(e,t)=>(0,n.WI)(e.$slots,"default")}});var Gr=Tn(Kr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Jr=ci(Gr),Xr=Symbol("elTooltip");function Qr(){let e;const t=(t,n)=>{o(),e=window.setTimeout(t,n)},o=()=>window.clearTimeout(e);return Yo((()=>o())),{registerTimeout:t,cancelTimeout:o}}const es=In({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ts=({showAfter:e,hideAfter:t,autoClose:o,open:n,close:i})=>{const{registerTimeout:l}=Qr(),{registerTimeout:a,cancelTimeout:r}=Qr(),s=t=>{l((()=>{n(t);const e=(0,Be.SU)(o);Jn(e)&&e>0&&a((()=>{i(t)}),e)}),(0,Be.SU)(e))},c=e=>{r(),l((()=>{i(e)}),(0,Be.SU)(t))};return{onOpen:s,onClose:c}};var os="top",ns="bottom",is="right",ls="left",as="auto",rs=[os,ns,is,ls],ss="start",cs="end",us="clippingParents",ds="viewport",ps="popper",ms="reference",hs=rs.reduce((function(e,t){return e.concat([t+"-"+ss,t+"-"+cs])}),[]),fs=[].concat(rs,[as]).reduce((function(e,t){return e.concat([t,t+"-"+ss,t+"-"+cs])}),[]),vs="beforeRead",gs="read",bs="afterRead",ys="beforeMain",ws="main",Ss="afterMain",_s="beforeWrite",ks="write",xs="afterWrite",Cs=[vs,gs,bs,ys,ws,Ss,_s,ks,xs];function Os(e){return e?(e.nodeName||"").toLowerCase():null}function Ls(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ps(e){var t=Ls(e).Element;return e instanceof t||e instanceof Element}function Us(e){var t=Ls(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function js(e){if("undefined"==typeof ShadowRoot)return!1;var t=Ls(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Is(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];!Us(i)||!Os(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 Fs(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}),{});!Us(n)||!Os(n)||(Object.assign(n.style,a),Object.keys(i).forEach((function(e){n.removeAttribute(e)})))}))}}var Ts={name:"applyStyles",enabled:!0,phase:"write",fn:Is,effect:Fs,requires:["computeStyles"]};function Ms(e){return e.split("-")[0]}var Es=Math.max,Ns=Math.min,Ds=Math.round;function Hs(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),n=1,i=1;if(Us(e)&&t){var l=e.offsetHeight,a=e.offsetWidth;a>0&&(n=Ds(o.width)/a||1),l>0&&(i=Ds(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 Rs(e){var t=Hs(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 Bs(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&js(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function zs(e){return Ls(e).getComputedStyle(e)}function $s(e){return["table","td","th"].indexOf(Os(e))>=0}function Vs(e){return((Ps(e)?e.ownerDocument:e.document)||window.document).documentElement}function As(e){return"html"===Os(e)?e:e.assignedSlot||e.parentNode||(js(e)?e.host:null)||Vs(e)}function Zs(e){return Us(e)&&"fixed"!==zs(e).position?e.offsetParent:null}function Ys(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),o=-1!==navigator.userAgent.indexOf("Trident");if(o&&Us(e)){var n=zs(e);if("fixed"===n.position)return null}var i=As(e);for(js(i)&&(i=i.host);Us(i)&&["html","body"].indexOf(Os(i))<0;){var l=zs(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 Ws(e){for(var t=Ls(e),o=Zs(e);o&&$s(o)&&"static"===zs(o).position;)o=Zs(o);return o&&("html"===Os(o)||"body"===Os(o)&&"static"===zs(o).position)?t:o||Ys(e)||t}function qs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ks(e,t,o){return Es(e,Ns(t,o))}function Gs(e,t,o){var n=Ks(e,t,o);return n>o?o:n}function Js(){return{top:0,right:0,bottom:0,left:0}}function Xs(e){return Object.assign({},Js(),e)}function Qs(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}var ec=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Xs("number"!=typeof e?e:Qs(e,rs))};function tc(e){var t,o=e.state,n=e.name,i=e.options,l=o.elements.arrow,a=o.modifiersData.popperOffsets,r=Ms(o.placement),s=qs(r),c=[ls,is].indexOf(r)>=0,u=c?"height":"width";if(l&&a){var d=ec(i.padding,o),p=Rs(l),m="y"===s?os:ls,h="y"===s?ns:is,f=o.rects.reference[u]+o.rects.reference[s]-a[s]-o.rects.popper[u],v=a[s]-o.rects.reference[s],g=Ws(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=Ks(w,_,S),x=s;o.modifiersData[n]=(t={},t[x]=k,t.centerOffset=k-_,t)}}function oc(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)||!Bs(t.elements.popper,i)||(t.elements.arrow=i))}var nc={name:"arrow",enabled:!0,phase:"main",fn:tc,effect:oc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ic(e){return e.split("-")[1]}var lc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ac(e){var t=e.x,o=e.y,n=window,i=n.devicePixelRatio||1;return{x:Ds(t*i)/i||0,y:Ds(o*i)/i||0}}function rc(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=ls,w=os,S=window;if(c){var _=Ws(o),k="clientHeight",x="clientWidth";if(_===Ls(o)&&(_=Vs(o),"static"!==zs(_).position&&"absolute"===r&&(k="scrollHeight",x="scrollWidth")),i===os||(i===ls||i===is)&&l===cs){w=ns;var C=d&&_===S&&S.visualViewport?S.visualViewport.height:_[k];f-=C-n.height,f*=s?1:-1}if(i===ls||(i===os||i===ns)&&l===cs){y=is;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&&lc),U=!0===u?ac({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 sc(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:Ms(t.placement),variation:ic(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,rc(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,rc(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 cc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:sc,data:{}},uc={passive:!0};function dc(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=Ls(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&c.forEach((function(e){e.addEventListener("scroll",o.update,uc)})),r&&s.addEventListener("resize",o.update,uc),function(){l&&c.forEach((function(e){e.removeEventListener("scroll",o.update,uc)})),r&&s.removeEventListener("resize",o.update,uc)}}var pc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dc,data:{}},mc={left:"right",right:"left",bottom:"top",top:"bottom"};function hc(e){return e.replace(/left|right|bottom|top/g,(function(e){return mc[e]}))}var fc={start:"end",end:"start"};function vc(e){return e.replace(/start|end/g,(function(e){return fc[e]}))}function gc(e){var t=Ls(e),o=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:o,scrollTop:n}}function bc(e){return Hs(Vs(e)).left+gc(e).scrollLeft}function yc(e){var t=Ls(e),o=Vs(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+bc(e),y:r}}function wc(e){var t,o=Vs(e),n=gc(e),i=null==(t=e.ownerDocument)?void 0:t.body,l=Es(o.scrollWidth,o.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Es(o.scrollHeight,o.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-n.scrollLeft+bc(e),s=-n.scrollTop;return"rtl"===zs(i||o).direction&&(r+=Es(o.clientWidth,i?i.clientWidth:0)-l),{width:l,height:a,x:r,y:s}}function Sc(e){var t=zs(e),o=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+i+n)}function _c(e){return["html","body","#document"].indexOf(Os(e))>=0?e.ownerDocument.body:Us(e)&&Sc(e)?e:_c(As(e))}function kc(e,t){var o;void 0===t&&(t=[]);var n=_c(e),i=n===(null==(o=e.ownerDocument)?void 0:o.body),l=Ls(n),a=i?[l].concat(l.visualViewport||[],Sc(n)?n:[]):n,r=t.concat(a);return i?r:r.concat(kc(As(a)))}function xc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Cc(e){var t=Hs(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 Oc(e,t){return t===ds?xc(yc(e)):Ps(t)?Cc(t):xc(wc(Vs(e)))}function Lc(e){var t=kc(As(e)),o=["absolute","fixed"].indexOf(zs(e).position)>=0,n=o&&Us(e)?Ws(e):e;return Ps(n)?t.filter((function(e){return Ps(e)&&Bs(e,n)&&"body"!==Os(e)})):[]}function Pc(e,t,o){var n="clippingParents"===t?Lc(e):[].concat(t),i=[].concat(n,[o]),l=i[0],a=i.reduce((function(t,o){var n=Oc(e,o);return t.top=Es(n.top,t.top),t.right=Ns(n.right,t.right),t.bottom=Ns(n.bottom,t.bottom),t.left=Es(n.left,t.left),t}),Oc(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 Uc(e){var t,o=e.reference,n=e.element,i=e.placement,l=i?Ms(i):null,a=i?ic(i):null,r=o.x+o.width/2-n.width/2,s=o.y+o.height/2-n.height/2;switch(l){case os:t={x:r,y:o.y-n.height};break;case ns:t={x:r,y:o.y+o.height};break;case is:t={x:o.x+o.width,y:s};break;case ls:t={x:o.x-n.width,y:s};break;default:t={x:o.x,y:o.y}}var c=l?qs(l):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ss:t[c]=t[c]-(o[u]/2-n[u]/2);break;case cs:t[c]=t[c]+(o[u]/2-n[u]/2);break}}return t}function jc(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?us:l,r=o.rootBoundary,s=void 0===r?ds:r,c=o.elementContext,u=void 0===c?ps:c,d=o.altBoundary,p=void 0!==d&&d,m=o.padding,h=void 0===m?0:m,f=Xs("number"!=typeof h?h:Qs(h,rs)),v=u===ps?ms:ps,g=e.rects.popper,b=e.elements[p?v:u],y=Pc(Ps(b)?b:b.contextElement||Vs(e.elements.popper),a,s),w=Hs(e.elements.reference),S=Uc({reference:w,element:g,strategy:"absolute",placement:i}),_=xc(Object.assign({},g,S)),k=u===ps?_: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===ps&&C){var O=C[i];Object.keys(x).forEach((function(e){var t=[is,ns].indexOf(e)>=0?1:-1,o=[os,ns].indexOf(e)>=0?"y":"x";x[e]+=O[o]*t}))}return x}function Ic(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?fs:s,u=ic(n),d=u?r?hs:hs.filter((function(e){return ic(e)===u})):rs,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]=jc(e,{placement:o,boundary:i,rootBoundary:l,padding:a})[Ms(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Fc(e){if(Ms(e)===as)return[];var t=hc(e);return[vc(e),t,vc(t)]}function Tc(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=Ms(v),b=g===v,y=s||(b||!h?[hc(v)]:Fc(v)),w=[v].concat(y).reduce((function(e,o){return e.concat(Ms(o)===as?Ic(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=jc(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=j?U?is:ls:U?ns:os;S[I]>_[I]&&(T=hc(T));var M=hc(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 Mc={name:"flip",enabled:!0,phase:"main",fn:Tc,requiresIfExists:["offset"],data:{_skip:!1}};function Ec(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 Nc(e){return[os,is,ns,ls].some((function(t){return e[t]>=0}))}function Dc(e){var t=e.state,o=e.name,n=t.rects.reference,i=t.rects.popper,l=t.modifiersData.preventOverflow,a=jc(t,{elementContext:"reference"}),r=jc(t,{altBoundary:!0}),s=Ec(a,n),c=Ec(r,i,l),u=Nc(s),d=Nc(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 Hc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Dc};function Rc(e,t,o){var n=Ms(e),i=[ls,os].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,[ls,is].indexOf(n)>=0?{x:r,y:a}:{x:a,y:r}}function Bc(e){var t=e.state,o=e.options,n=e.name,i=o.offset,l=void 0===i?[0,0]:i,a=fs.reduce((function(e,o){return e[o]=Rc(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 zc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bc};function $c(e){var t=e.state,o=e.name;t.modifiersData[o]=Uc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Vc={name:"popperOffsets",enabled:!0,phase:"read",fn:$c,data:{}};function Ac(e){return"x"===e?"y":"x"}function Zc(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=jc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Ms(t.placement),b=ic(t.placement),y=!b,w=qs(g),S=Ac(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?os:ls,I="y"===w?ns:is,F="y"===w?"height":"width",T=_[w],M=T+v[j],E=T-v[I],N=m?-x[F]/2:0,D=b===ss?k[F]:x[F],H=b===ss?-x[F]:-k[F],R=t.elements.arrow,B=m&&R?Rs(R):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Js(),$=z[j],V=z[I],A=Ks(0,k[F],B[F]),Z=y?k[F]/2-N-A-$-O.mainAxis:D-A-$-O.mainAxis,Y=y?-k[F]/2+N+A+V+O.mainAxis:H+A+V+O.mainAxis,W=t.elements.arrow&&Ws(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=Ks(m?Ns(M,G):M,T,m?Es(E,J):E);_[w]=X,P[w]=X-T}if(r){var Q,ee="x"===w?os:ls,te="x"===w?ns:is,oe=_[S],ne="y"===S?"height":"width",ie=oe+v[ee],le=oe-v[te],ae=-1!==[os,ls].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?Gs(se,oe,ce):Ks(m?se:ie,oe,m?ce:le);_[S]=ue,P[S]=ue-oe}t.modifiersData[n]=P}}var Yc={name:"preventOverflow",enabled:!0,phase:"main",fn:Zc,requiresIfExists:["offset"]};function Wc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function qc(e){return e!==Ls(e)&&Us(e)?Wc(e):gc(e)}function Kc(e){var t=e.getBoundingClientRect(),o=Ds(t.width)/e.offsetWidth||1,n=Ds(t.height)/e.offsetHeight||1;return 1!==o||1!==n}function Gc(e,t,o){void 0===o&&(o=!1);var n=Us(t),i=Us(t)&&Kc(t),l=Vs(t),a=Hs(e,i),r={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!o)&&(("body"!==Os(t)||Sc(l))&&(r=qc(t)),Us(t)?(s=Hs(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=bc(l))),{x:a.left+r.scrollLeft-s.x,y:a.top+r.scrollTop-s.y,width:a.width,height:a.height}}function Jc(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 Xc(e){var t=Jc(e);return Cs.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}function Qc(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}function eu(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 tu={placement:"bottom",modifiers:[],strategy:"absolute"};function ou(){for(var e=arguments.length,t=new Array(e),o=0;o({})},strategy:{type:String,values:ru,default:"absolute"}}),cu=In({...su,id:String,style:{type:Pn([String,Array,Object])},className:{type:Pn([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:Pn([String,Array,Object])},popperStyle:{type:Pn([String,Array,Object])},referenceEl:{type:Pn(Object)},triggerTargetEl:{type:Pn(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),uu={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},du=In({...es,...cu,appendTo:{type:Pn([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Pn(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),pu=In({virtualRef:{type:Pn(Object)},virtualTriggering:Boolean,onMouseenter:{type:Pn(Function)},onMouseleave:{type:Pn(Function)},onClick:{type:Pn(Function)},onKeydown:{type:Pn(Function)},onFocus:{type:Pn(Function)},onBlur:{type:Pn(Function)},onContextmenu:{type:Pn(Function)},id:String,open:Boolean}),mu=In({...pu,disabled:Boolean,trigger:{type:Pn([String,Array]),default:"hover"},triggerKeys:{type:Pn(Array),default:()=>[fr.enter,fr.space]}}),hu=jn({type:Pn(Boolean),default:null}),fu=jn({type:Pn(Function)}),vu=e=>{const t=`update:${e}`,o=`onUpdate:${e}`,l=[t],a={[e]:hu,[o]:fu},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&&Bo;o&&p(t,!0),!f.value&&o||v(e)},y=e=>{if(!0===m.disabled||!Bo)return;const o=h.value&&Bo;o&&p(t,!1),!f.value&&o||g(e)},w=e=>{Gn(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:gu,useModelToggleProps:bu,useModelToggleEmits:yu}=vu("modelValue"),wu=In({arrowOffset:{type:Number,default:5}}),{useModelToggleProps:Su,useModelToggleEmits:_u,useModelToggle:ku}=vu("visible"),xu=In({...Wr,...Su,...du,...mu,...wu,showArrow:{type:Boolean,default:!0}}),Cu=[..._u,"before-show","before-hide","show","hide","open","close"],Ou=(e,t)=>(0,i.kJ)(e)?e.includes(t):e===t,Lu=(e,t,o)=>n=>{Ou((0,Be.SU)(e),t)&&o(n)},Pu=(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},Uu=Symbol("elForwardRef"),ju=e=>{const t=t=>{e.value=t};(0,n.JJ)(Uu,{setForwardRef:t})},Iu=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Fu="ElOnlyChild",Tu=(0,n.aZ)({name:Fu,setup(e,{slots:t,attrs:o}){var l;const a=(0,n.f3)(Uu),r=Iu(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 $n(Fu,"requires exact only one valid child."),null;const l=Mu(i);return l?(0,n.wy)((0,n.Ho)(l,o),[[r]]):($n(Fu,"no valid child node found"),null)}}});function Mu(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 Eu(o);case n.HY:return Mu(o.children);default:return o}return Eu(o)}return null}function Eu(e){const t=Rn("only-child");return(0,n.Wm)("span",{class:t.e("content")},[e])}const Nu=(0,n.aZ)({name:"ElPopperTrigger",inheritAttrs:!1}),Du=(0,n.aZ)({...Nu,props:pu,setup(e,{expose:t}){const o=e,{role:i,triggerRef:l}=(0,n.f3)(Ar,void 0);ju(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=qo(e))}),{immediate:!0}),(0,n.YP)(l,((e,t)=>{null==u||u(),u=void 0,Qn(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)=>{Zl(t[n])?e.removeAttribute(o):e.setAttribute(o,t[n])}))}),{immediate:!0})),Qn(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,Be.SU)(Tu),(0,n.dG)({key:0},e.$attrs,{"aria-controls":(0,Be.SU)(a),"aria-describedby":(0,Be.SU)(r),"aria-expanded":(0,Be.SU)(c),"aria-haspopup":(0,Be.SU)(s)}),{default:(0,n.w5)((()=>[(0,n.WI)(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Hu=Tn(Du,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Ru=(0,n.aZ)({name:"ElTooltipTrigger"}),Bu=(0,n.aZ)({...Ru,props:mu,setup(e,{expose:t}){const o=e,l=Rn("tooltip"),{controlled:a,id:r,open:s,onOpen:c,onClose:u,onToggle:d}=(0,n.f3)(Xr,void 0),p=(0,Be.iH)(null),m=()=>{if((0,Be.SU)(a)||o.disabled)return!0},h=(0,Be.Vh)(o,"trigger"),f=Pu(m,Lu(h,"hover",c)),v=Pu(m,Lu(h,"hover",u)),g=Pu(m,Lu(h,"click",(e=>{0===e.button&&d(e)}))),b=Pu(m,Lu(h,"focus",c)),y=Pu(m,Lu(h,"focus",u)),w=Pu(m,Lu(h,"contextmenu",(e=>{e.preventDefault(),d(e)}))),S=Pu(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,Be.SU)(Hu),{id:(0,Be.SU)(r),"virtual-ref":e.virtualRef,open:(0,Be.SU)(s),"virtual-triggering":e.virtualTriggering,class:(0,i.C_)((0,Be.SU)(l).e("trigger")),onBlur:(0,Be.SU)(y),onClick:(0,Be.SU)(g),onContextmenu:(0,Be.SU)(w),onFocus:(0,Be.SU)(b),onMouseenter:(0,Be.SU)(f),onMouseleave:(0,Be.SU)(v),onKeydown:(0,Be.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 zu=Tn(Bu,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);let $u;const Vu=()=>{const e=Hn(),t=Hl(),o=(0,n.Fl)((()=>`${e.value}-popper-container-${t.prefix}`)),i=(0,n.Fl)((()=>`#${o.value}`));return{id:o,selector:i}},Au=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Zu=()=>{const{id:e,selector:t}=Vu();return(0,n.wF)((()=>{Bo&&($u||document.body.querySelector(t.value)||($u=Au(e.value)))})),{id:e,selector:t}},Yu=(e,t)=>{const o=(0,Be.iH)(!1),n=(0,Be.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 Wu(e){return void 0===e}var qu=Wu;const Ku=(e,t=[])=>{const{placement:o,strategy:n,popperOptions:i}=e,l={placement:o,strategy:n,...i,modifiers:[...Ju(e),...t]};return Xu(l,null==i?void 0:i.modifiers),l},Gu=e=>{if(Bo)return qo(e)};function Ju(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 Xu(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}const Qu=(e,t,o={})=>{const i={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=ed(e);Object.assign(r.value,t)},requires:["computeStyles"]},l=(0,n.Fl)((()=>{const{onFirstUpdate:e,placement:t,strategy:n,modifiers:l}=(0,Be.SU)(o);return{onFirstUpdate:e,placement:t||"bottom",strategy:n||"absolute",modifiers:[...l||[],i,{name:"applyStyles",enabled:!1}]}})),a=(0,Be.XI)(),r=(0,Be.iH)({styles:{popper:{position:(0,Be.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,Be.SU)(a);t&&t.setOptions(e)}),{deep:!0}),(0,n.YP)([e,t],(([e,t])=>{s(),e&&t&&(a.value=au(e,t,(0,Be.SU)(l)))})),(0,n.Jd)((()=>{s()})),{state:(0,n.Fl)((()=>{var e;return{...(null==(e=(0,Be.SU)(a))?void 0:e.state)||{}}})),styles:(0,n.Fl)((()=>(0,Be.SU)(r).styles)),attributes:(0,n.Fl)((()=>(0,Be.SU)(r).attributes)),update:()=>{var e;return null==(e=(0,Be.SU)(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=(0,Be.SU)(a))?void 0:e.forceUpdate()},instanceRef:(0,n.Fl)((()=>(0,Be.SU)(a)))}};function ed(e){const t=Object.keys(e.elements),o=(0,On.Z)(t.map((t=>[t,e.styles[t]||{}]))),n=(0,On.Z)(t.map((t=>[t,e.attributes[t]])));return{styles:o,attributes:n}}const td=0,od=e=>{const{popperInstanceRef:t,contentRef:o,triggerRef:i,role:l}=(0,n.f3)(Ar,void 0),a=(0,Be.iH)(),r=(0,Be.iH)(),s=(0,n.Fl)((()=>({name:"eventListeners",enabled:!!e.visible}))),c=(0,n.Fl)((()=>{var e;const t=(0,Be.SU)(a),o=null!=(e=(0,Be.SU)(r))?e:td;return{name:"arrow",enabled:!qu(t),options:{element:t,padding:o}}})),u=(0,n.Fl)((()=>({onFirstUpdate:()=>{f()},...Ku(e,[(0,Be.SU)(c),(0,Be.SU)(s)])}))),d=(0,n.Fl)((()=>Gu(e.referenceEl)||(0,Be.SU)(i))),{attributes:p,state:m,styles:h,update:f,forceUpdate:v,instanceRef:g}=Qu(d,o,u);return(0,n.YP)(g,(e=>t.value=e)),(0,n.bv)((()=>{(0,n.YP)((()=>{var e;return null==(e=(0,Be.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}},nd=(0,Be.iH)(0),id=2e3,ld=Symbol("zIndexContextKey"),ad=e=>{const t=e||((0,n.FN)()?(0,n.f3)(ld,void 0):void 0),o=(0,n.Fl)((()=>{const e=(0,Be.SU)(t);return Jn(e)?e:id})),i=(0,n.Fl)((()=>o.value+nd.value)),l=()=>(nd.value++,i.value);return{initialZIndex:o,currentZIndex:i,nextZIndex:l}},rd=(e,{attributes:t,styles:o,role:i})=>{const{nextZIndex:l}=ad(),a=Rn("popper"),r=(0,n.Fl)((()=>(0,Be.SU)(t).popper)),s=(0,Be.iH)(Jn(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,Be.SU)(s)},(0,Be.SU)(o).popper,e.popperStyle||{}])),d=(0,n.Fl)((()=>"dialog"===i.value?"false":void 0)),p=(0,n.Fl)((()=>(0,Be.SU)(o).arrow||{})),m=()=>{s.value=Jn(e.zIndex)?e.zIndex:l()};return{ariaModal:d,arrowStyle:p,contentAttrs:r,contentClass:c,contentStyle:u,contentZIndex:s,updateZIndex:m}},sd="focus-trap.focus-after-trapped",cd="focus-trap.focus-after-released",ud="focus-trap.focusout-prevented",dd={cancelable:!0,bubbles:!1},pd={cancelable:!0,bubbles:!1},md="focusAfterTrapped",hd="focusAfterReleased",fd=Symbol("elFocusTrap"),vd=(0,Be.iH)(),gd=(0,Be.iH)(0),bd=(0,Be.iH)(0);let yd=0;const wd=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},Sd=(e,t)=>{for(const o of e)if(!_d(o,t))return o},_d=(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},kd=e=>{const t=wd(e),o=Sd(t,e),n=Sd(t.reverse(),e);return[o,n]},xd=e=>e instanceof HTMLInputElement&&"select"in e,Cd=(e,t)=>{if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),bd.value=window.performance.now(),e!==o&&xd(e)&&t&&e.select()}};function Od(e,t){const o=[...e],n=e.indexOf(t);return-1!==n&&o.splice(n,1),o}const Ld=()=>{let e=[];const t=t=>{const o=e[0];o&&t!==o&&o.pause(),e=Od(e,t),e.unshift(t)},o=t=>{var o,n;e=Od(e,t),null==(n=null==(o=e[0])?void 0:o.resume)||n.call(o)};return{push:t,remove:o}},Pd=(e,t=!1)=>{const o=document.activeElement;for(const n of e)if(Cd(n,t),document.activeElement!==o)return},Ud=Ld(),jd=()=>gd.value>bd.value,Id=()=>{vd.value="pointer",gd.value=window.performance.now()},Fd=()=>{vd.value="keyboard",gd.value=window.performance.now()},Td=()=>((0,n.bv)((()=>{0===yd&&(document.addEventListener("mousedown",Id),document.addEventListener("touchstart",Id),document.addEventListener("keydown",Fd)),yd++})),(0,n.Jd)((()=>{yd--,yd<=0&&(document.removeEventListener("mousedown",Id),document.removeEventListener("touchstart",Id),document.removeEventListener("keydown",Fd))})),{focusReason:vd,lastUserFocusTimestamp:gd,lastAutomatedFocusTimestamp:bd}),Md=e=>new CustomEvent(ud,{...pd,detail:e});let Ed=[];const Nd=e=>{const t=e;t.key===fr.esc&&Ed.forEach((e=>e(t)))},Dd=e=>{(0,n.bv)((()=>{0===Ed.length&&document.addEventListener("keydown",Nd),Bo&&Ed.push(e)})),(0,n.Jd)((()=>{Ed=Ed.filter((t=>t!==e)),0===Ed.length&&Bo&&document.removeEventListener("keydown",Nd)}))},Hd=(0,n.aZ)({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[md,hd,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const o=(0,Be.iH)();let l,a;const{focusReason:r}=Td();Dd((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===fr.tab&&!i&&!l&&!a,m=document.activeElement;if(p&&m){const e=c,[n,i]=kd(e),l=n&&i;if(l)if(u||m!==i){if(u&&[n,e].includes(m)){const e=Md({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&Cd(i,!0))}}else{const e=Md({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&Cd(n,!0))}else if(m===e){const e=Md({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||o.preventDefault()}}};(0,n.JJ)(fd,{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(md,e)},d=e=>t(hd,e),p=n=>{const i=(0,Be.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:Cd(a,!0))},m=n=>{const i=(0,Be.SU)(o);if(!s.paused&&i)if(e.trapped){const o=n.relatedTarget;Zl(o)||i.contains(o)||setTimeout((()=>{if(!s.paused&&e.trapped){const e=Md({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||Cd(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,Be.SU)(o);if(t){Ud.push(s);const o=t.contains(document.activeElement)?l:document.activeElement;l=o;const a=t.contains(o);if(!a){const l=new Event(sd,dd);t.addEventListener(sd,u),t.dispatchEvent(l),l.defaultPrevented||(0,n.Y3)((()=>{let n=e.focusStartEl;(0,i.HD)(n)||(Cd(n),document.activeElement!==n&&(n="first")),"first"===n&&Pd(wd(t),!0),document.activeElement!==o&&"container"!==n||Cd(t)}))}}}function f(){const e=(0,Be.SU)(o);if(e){e.removeEventListener(sd,u);const t=new CustomEvent(cd,{...dd,detail:{focusReason:r.value}});e.addEventListener(cd,d),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=r.value&&jd()&&!e.contains(document.activeElement)||Cd(null!=l?l:document.body),e.removeEventListener(cd,d),Ud.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 Rd(e,t,o,i,l,a){return(0,n.WI)(e.$slots,"default",{handleKeydown:e.onKeydown})}var Bd=Tn(Hd,[["render",Rd],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const zd=(0,n.aZ)({name:"ElPopperContent"}),$d=(0,n.aZ)({...zd,props:cu,emits:uu,setup(e,{expose:t,emit:o}){const l=e,{focusStartRef:a,trapped:r,onFocusAfterReleased:s,onFocusAfterTrapped:c,onFocusInTrap:u,onFocusoutPrevented:d,onReleaseRequested:p}=Yu(l,o),{attributes:m,arrowRef:h,contentRef:f,styles:v,instanceRef:g,role:b,update:y}=od(l),{ariaModal:w,arrowStyle:S,contentAttrs:_,contentClass:k,contentStyle:x,updateZIndex:C}=rd(l,{styles:v,attributes:m,role:b}),O=(0,n.f3)(Il,void 0),L=(0,Be.iH)();let P;(0,n.JJ)(Zr,{arrowStyle:S,arrowRef:h,arrowOffset:L}),O&&(O.addInputId||O.removeInputId)&&(0,n.JJ)(Il,{...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,Be.SU)(e||f.value),i=(0,Be.SU)(t||f.value);Qn(o)&&(P=(0,n.YP)([b,()=>l.ariaLabel,w,()=>l.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,n)=>{Zl(e[n])?o.removeAttribute(t):o.setAttribute(t,e[n])}))}),{immediate:!0})),i!==o&&Qn(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,Be.SU)(_),{style:(0,Be.SU)(x),class:(0,Be.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,Be.SU)(Bd),{trapped:(0,Be.SU)(r),"trap-on-focus-in":!0,"focus-trap-el":(0,Be.SU)(f),"focus-start-el":(0,Be.SU)(a),onFocusAfterTrapped:(0,Be.SU)(c),onFocusAfterReleased:(0,Be.SU)(s),onFocusin:(0,Be.SU)(u),onFocusoutPrevented:(0,Be.SU)(d),onReleaseRequested:(0,Be.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 Vd=Tn($d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const Ad=(0,n.aZ)({name:"ElTooltipContent",inheritAttrs:!1}),Zd=(0,n.aZ)({...Ad,props:du,setup(e,{expose:t}){const o=e,{selector:i}=Vu(),a=Rn("tooltip"),r=(0,Be.iH)(null),s=(0,Be.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)(Xr,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,Be.SU)(w)||(0,Be.SU)(d))),_=(0,n.Fl)((()=>!o.disabled&&(0,Be.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,Be.SU)(d))),O=()=>{v()},L=()=>{if((0,Be.SU)(c))return!0},P=Pu(L,(()=>{o.enterable&&"hover"===(0,Be.SU)(p)&&h()})),U=Pu(L,(()=>{"hover"===(0,Be.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=Xo((0,n.Fl)((()=>{var e;return null==(e=r.value)?void 0:e.popperContentRef})),(()=>{if((0,Be.SU)(c))return;const e=(0,Be.SU)(p);"hover"!==e&&m()}))},T=()=>{o.virtualTriggering||m()};let M;return(0,n.YP)((()=>(0,Be.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,Be.SU)(k)},[(0,n.Wm)(l.uT,{name:(0,Be.SU)(y),onAfterLeave:O,onBeforeEnter:j,onAfterEnter:F,onBeforeLeave:I},{default:(0,n.w5)((()=>[(0,Be.SU)(S)?(0,n.wy)(((0,n.wg)(),(0,n.j4)((0,Be.SU)(Vd),(0,n.dG)({key:0,id:(0,Be.SU)(u),ref_key:"contentRef",ref:r},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":(0,Be.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,Be.SU)(x)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:(0,Be.SU)(_),"z-index":e.zIndex,onMouseenter:(0,Be.SU)(P),onMouseleave:(0,Be.SU)(U),onBlur:T,onClose:(0,Be.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,Be.SU)(_)]]):(0,n.kq)("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}});var Yd=Tn(Zd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const Wd=(0,n.aZ)({name:"ElPopperArrow",inheritAttrs:!1}),qd=(0,n.aZ)({...Wd,props:wu,setup(e,{expose:t}){const o=e,l=Rn("popper"),{arrowOffset:a,arrowRef:r,arrowStyle:s}=(0,n.f3)(Zr,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,Be.SU)(l).e("arrow")),style:(0,i.j5)((0,Be.SU)(s)),"data-popper-arrow":""},null,6))}});var Kd=Tn(qd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const Gd=["innerHTML"],Jd={key:1},Xd=(0,n.aZ)({name:"ElTooltip"}),Qd=(0,n.aZ)({...Xd,props:xu,emits:Cu,setup(e,{expose:t,emit:o}){const l=e;Zu();const a=Rl(),r=(0,Be.iH)(),s=(0,Be.iH)(),c=()=>{var e;const t=(0,Be.SU)(r);t&&(null==(e=t.popperInstanceRef)||e.update())},u=(0,Be.iH)(!1),d=(0,Be.iH)(),{show:p,hide:m,hasUpdateHandler:h}=ku({indicator:u,toggleReason:d}),{onOpen:f,onClose:v}=ts({showAfter:(0,Be.Vh)(l,"showAfter"),hideAfter:(0,Be.Vh)(l,"hideAfter"),autoClose:(0,Be.Vh)(l,"autoClose"),open:p,close:m}),g=(0,n.Fl)((()=>Gn(l.visible)&&!h.value));(0,n.JJ)(Xr,{controlled:g,id:a,open:(0,Be.OT)(u),trigger:(0,Be.Vh)(l,"trigger"),onOpen:e=>{f(e)},onClose:e=>{v(e)},onToggle:e=>{(0,Be.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,Be.SU)(Jr),{ref_key:"popperRef",ref:r,role:e.role},{default:(0,n.w5)((()=>[(0,n.Wm)(zu,{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)(Yd,{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,Gd)):((0,n.wg)(),(0,n.iD)("span",Jd,(0,i.zw)(e.content),1))])),e.showArrow?((0,n.wg)(),(0,n.j4)((0,Be.SU)(Kd),{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 ep=Tn(Qd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const tp=ci(ep),op=In({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:Sl,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),np={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},ip=(0,n.aZ)({name:"ElTag"}),lp=(0,n.aZ)({...ip,props:op,emits:np,setup(e,{emit:t}){const o=e,a=Tl(),r=Rn("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,Be.SU)(s)),style:(0,i.j5)({backgroundColor:e.color}),onClick:u},[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(r).e("content"))},[(0,n.WI)(e.$slots,"default")],2),e.closable?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:0,class:(0,i.C_)((0,Be.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Be.SU)(Gi))])),_:1},8,["class","onClick"])):(0,n.kq)("v-if",!0)],6)):((0,n.wg)(),(0,n.j4)(l.uT,{key:1,name:`${(0,Be.SU)(r).namespace.value}-zoom-in-center`,appear:""},{default:(0,n.w5)((()=>[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(s)),style:(0,i.j5)({backgroundColor:e.color}),onClick:u},[(0,n._)("span",{class:(0,i.C_)((0,Be.SU)(r).e("content"))},[(0,n.WI)(e.$slots,"default")],2),e.closable?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:0,class:(0,i.C_)((0,Be.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Be.SU)(Gi))])),_:1},8,["class","onClick"])):(0,n.kq)("v-if",!0)],6)])),_:3},8,["name"]))}});var ap=Tn(lp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const rp=ci(ap),sp=In({...nr,size:_l,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Pn(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:Pn(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:du.teleported,tagType:{...op.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),cp={[Cl]:e=>!!e||null===e,[Ol]:e=>!!e||null===e,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>Gn(e),expandChange:e=>!!e,removeTag:e=>!!e},up=new Map;let dp;function pp(e,t){let o=[];return Array.isArray(t.arg)?o=t.arg:Qn(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)}}Bo&&(document.addEventListener("mousedown",(e=>dp=e)),document.addEventListener("mouseup",(e=>{for(const t of up.values())for(const{documentHandler:o}of t)o(e,dp)})));const mp={beforeMount(e,t){up.has(e)||up.set(e,[]),up.get(e).push({documentHandler:pp(e,t),bindingFn:t.value})},updated(e,t){up.has(e)||up.set(e,[]);const o=up.get(e),n=o.findIndex((e=>e.bindingFn===t.oldValue)),i={documentHandler:pp(e,t),bindingFn:t.value};n>=0?o.splice(n,1,i):o.push(i)},unmounted(e){up.delete(e)}},hp={key:0},fp=["placeholder","onKeydown"],vp=["onClick"],gp="ElCascader",bp=(0,n.aZ)({name:gp}),yp=(0,n.aZ)({...bp,props:sp,emits:cp,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=Rn("cascader"),p=Rn("input"),{t:m}=Ya(),{form:h,formItem:f}=Bl(),v=(0,Be.iH)(null),g=(0,Be.iH)(null),b=(0,Be.iH)(null),y=(0,Be.iH)(null),w=(0,Be.iH)(null),S=(0,Be.iH)(!1),_=(0,Be.iH)(!1),k=(0,Be.iH)(!1),x=(0,Be.iH)(!1),C=(0,Be.iH)(""),O=(0,Be.iH)(""),L=(0,Be.iH)([]),P=(0,Be.iH)([]),U=(0,Be.iH)([]),j=(0,Be.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=Tl(),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):""})),V=(0,n.Fl)({get(){return(0,Do.Z)(a.modelValue)},set(e){o(Cl,e),o(Ol,e),a.validateEvent&&(null==f||f.validate("change").catch((e=>$n(e))))}}),A=(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(Bo&&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=!Nr(e)}},ae=e=>{if(!j.value)switch(e.code){case fr.enter:q();break;case fr.down:q(!0),(0,n.Y3)(te),e.preventDefault();break;case fr.esc:!0===S.value&&(e.preventDefault(),e.stopPropagation(),q(!1));break;case fr.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 fr.up:case fr.down:{const e=o===fr.up?-1:1;sr(rr(t,e,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case fr.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,Ho.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(on(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,sn(e,oe)})),t({getCheckedNodes:ne,cascaderPanelRef:y,togglePopperVisible:q,contentRef:W}),(e,t)=>((0,n.wg)(),(0,n.j4)((0,Be.SU)(tp),{ref_key:"tooltipRef",ref:v,visible:S.value,teleported:e.teleported,"popper-class":[(0,Be.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,Be.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,Be.SU)(A)),style:(0,i.j5)((0,Be.SU)(I)),onClick:t[5]||(t[5]=()=>q(!(0,Be.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,Be.SU)(Vr),{ref_key:"input",ref:g,modelValue:C.value,"onUpdate:modelValue":t[1]||(t[1]=e=>C.value=e),placeholder:(0,Be.SU)(M),readonly:(0,Be.SU)(H),disabled:(0,Be.SU)(F),"validate-event":!1,size:(0,Be.SU)(E),class:(0,i.C_)((0,Be.SU)(Y)),tabindex:(0,Be.SU)(D)&&e.filterable&&!(0,Be.SU)(F)?-1:void 0,onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me,onInput:fe},{suffix:(0,n.w5)((()=>[(0,Be.SU)(z)?((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:"clear",class:(0,i.C_)([(0,Be.SU)(p).e("icon"),"icon-circle-close"]),onClick:(0,l.iM)(re,["stop"])},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Be.SU)(Ai))])),_:1},8,["class","onClick"])):((0,n.wg)(),(0,n.j4)((0,Be.SU)(wl),{key:"arrow-down",class:(0,i.C_)((0,Be.SU)(Z)),onClick:t[0]||(t[0]=(0,l.iM)((e=>q()),["stop"]))},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Be.SU)(bi))])),_:1},8,["class"]))])),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),(0,Be.SU)(D)?((0,n.wg)(),(0,n.iD)("div",{key:0,ref_key:"tagWrapper",ref:b,class:(0,i.C_)((0,Be.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,Be.SU)(rp),{key:t.key,type:e.tagType,size:(0,Be.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",hp,(0,i.zw)(t.text),1)):((0,n.wg)(),(0,n.j4)((0,Be.SU)(tp),{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,Be.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,Be.SU)(d).e("collapse-tag"))},[((0,n.wg)(),(0,n.j4)((0,Be.SU)(rp),{key:t.key,class:"in-tooltip",type:e.tagType,size:(0,Be.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,Be.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,Be.SU)(d).e("search-input")),placeholder:(0,Be.SU)($)?"":(0,Be.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,fp)),[[l.nr,O.value]]):(0,n.kq)("v-if",!0)],2)):(0,n.kq)("v-if",!0)],38)),[[(0,Be.SU)(mp),()=>q(!1),(0,Be.SU)(W)]])])),content:(0,n.w5)((()=>[(0,n.wy)((0,n.Wm)((0,Be.SU)(yr),{ref_key:"cascaderPanelRef",ref:y,modelValue:(0,Be.SU)(V),"onUpdate:modelValue":t[8]||(t[8]=e=>(0,Be.dq)(V)?V.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,Be.SU)(di),{key:0,ref_key:"suggestionPanel",ref:w,tag:"ul",class:(0,i.C_)((0,Be.SU)(d).e("suggestion-panel")),"view-class":(0,Be.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,Be.SU)(d).e("suggestion-item"),(0,Be.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,Be.SU)(wl),{key:0},{default:(0,n.w5)((()=>[(0,n.Wm)((0,Be.SU)(ji))])),_:1})):(0,n.kq)("v-if",!0)],10,vp)))),128)):(0,n.WI)(e.$slots,"empty",{key:1},(()=>[(0,n._)("li",{class:(0,i.C_)((0,Be.SU)(d).e("empty-text"))},(0,i.zw)((0,Be.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 wp=Tn(yp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);wp.install=e=>{e.component(wp.name,wp)};const Sp=wp,_p=Sp;var kp=(0,n.aZ)({components:{HeaderComponent:ze.Z,ModelPlacement:Et,setLabel:eo,ModelPlacementMobile:Mo,RobotAssist:Eo.Z,ElCascader:_p},setup(){let e=(0,n.Fl)((()=>[{title:(0,It.QT)().t("LibraryPage.Moodboard"),code:"Moodboard",icon:"fi fi-rr-grid",showChildren:!1,children:[]},{title:(0,It.QT)().t("LibraryPage.Prints"),code:"Printboard",icon:"fi fi-rs-objects-column",showChildren:!1,children:[]},{title:(0,It.QT)().t("LibraryPage.Sketches"),code:"Sketchboard",icon:"fi icon iconfont icon-a-waitao_changkuanwaitao11x",showChildren:!1,children:[]},{title:(0,It.QT)().t("LibraryPage.Mannequins"),code:"Models",icon:"fi fi-rs-people",showChildren:!1,children:[]}])),t=(0,Be.iH)([]),o=(0,Be.iH)("Moodboard"),i=(0,Be.iH)(""),l=(0,Be.iH)("Outwear"),a=(0,Be.iH)("Meal"),r=[],s=[],c=(0,Be.iH)([]),u=(0,Be.iH)(1),d=(0,Be.iH)(18),p=(0,Be.iH)(20),m=(0,Be.iH)(!1),h=(0,Be.iH)("single"),f=(0,Be.iH)(""),v=(0,Be.iH)(""),g=(0,Be.iH)(0),b=(0,Be.iH)(!1),y=(0,Be.iH)({}),w=(0,Pt.oR)(),S=(0,Be.iH)("Upload"),_=(0,Be.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),k=(0,Be.iH)(!1),x=(0,Be.iH)(),C=(0,Be.iH)(),O=(0,Be.iH)(),L=(0,Be.iH)([]),P=(0,Be.iH)([]),U=(0,Be.iH)({num:1,optype:!1,name:(0,It.QT)().t("LibraryPage.model")+"1"}),{t:j}=(0,It.QT)();const I=(0,Be.iH)([]);let F={selectCode:o,designType:l};(0,n.JJ)("type",F);let T=(0,Be.iH)({labelValue:[],editLabelValue:[]}),M={multiple:!0,checkStrictly:!0,emitPath:!0,children:"childList",value:"id",label:"classificationName"},E=(0,Be.iH)(1),N=(0,Be.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,intersection:E,isTest:N}},data(e){return{userInfo:{},indicator:(0,n.h)(Re.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:e.selectCode,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:""}},async mounted(){let e=(0,Ot.ej)("userInfo"),t=(0,Ot.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),this.uploadUrl=(0,Ct.M$)(),this.getLibraryList(),this.getClass(),this.getSex(),this.token=(0,Ot.ej)("token")||""},methods:{getSex(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.sex=t[0],this.sexList=t,this.getPosition()}}))},async getPosition(){let e;e="Female"==this.sex.value?"FemalePosition":"MalePosition",await xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:e}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.designType=t[0],this.disignTypeList=t}}))},likeFile(e,t){let o="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType.value:"";if("like"==t){let t={generateDetailId:e.id,level1Type:this.selectCode,level2Type:o,gender:this.sex.value,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};xt.V.axiosPost(xt.V.httpUrls.generateLike,t).then((t=>{e.like=!0})).catch((e=>{}))}else{let t={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};xt.V.axiosGet(xt.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.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 Jt.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.value,[]);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};xt.V.axiosPost(xt.V.httpUrls.batchUpdateLibraryName,e).then((e=>{"batch"===this.renameType&&(this.selectImgList=[]),xt.V.axiosPost(xt.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,xt.V.axiosPost(xt.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;Ut.Z.confirm({title:this.t("LibraryPage.jsContent1"),icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){o.confirmDeletePic(e,t)}})},deleteBatchPic(){if(!this.selectImgList.length)return;let e=this;Ut.Z.confirm({title:this.t("LibraryPage.jsContent2"),icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",onOk(){e.confirmDeletePic("",0)}})},confirmDeletePic(e,t){let o=e?[e.id]:this.selectImgList,i={libraryIds:o,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};xt.V.axiosPost(xt.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;Ut.Z.confirm({title:o.errMsg,icon:(0,n.Wm)(jt.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||Jt.ZP.info(this.t("LibraryPage.jsContent3"));const n=e.size/1024/1024<2;if(n||Jt.ZP.info(this.t("LibraryPage.jsContent4")),!o||!n)return o&&n||No.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 Jt.ZP.info(this.t("isTest.image"));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType.value:"",o={file:e.file,level1Type:this.selectCode,level2Type:t,sex:"Sketchboard"==this.selectCode?this.sex.value:"",modelType:"",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.isShowMark=!0,xt.V.axiosPost(xt.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;Ut.Z.confirm({title:this.t("LibraryPage.jsContent5"),icon:(0,n.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.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.value:"",o={classificationIdList:e,level1Type:this.selectCode,level2Type:t,page:this.currentPage,modelSex:this.sex.value?this.sex.value:"",pictureName:this.searchPictureName,size:this.pageSize,intersection:this.intersection};this.isShowMark=!0,xt.V.axiosPost(xt.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,Ct.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),Jt.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 Jt.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.value:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:"Printboard"==this.selectCode?this.printModel.num:1,gender:"Sketchboard"==this.selectCode?this.sex.value:""};if("image"==e||"text-image"==e){if(!t?.id)return void Jt.ZP.warning(this.t("LibraryPage.jsContent9"))}else if("text"==e){if(o.collectionElementId="",o.level2Type="",!this.captionGeneration)return void Jt.ZP.info(this.t("LibraryPage.jsContent7"));{let e=this.captionGeneration.split(/\s+/).length;if(e>75)return void Jt.ZP.warning(this.t("LibraryPage.jsContent6"))}}this.isShowMark=!0,xt.V.axiosPost(xt.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}))},dropdownVisibleChange1(){let e=this.$refs.cascader1;(0,n.Y3)().then((()=>{let t=e.contentRef?.getElementsByClassName("el-cascader-menu__empty-text")?.[0]?.innerHTML;t="No Label"}))},dropdownVisibleChange(){(0,n.Y3)().then((()=>{let e=document.getElementsByClassName("libraryPageCascader")[0],t=e,o=this.$refs.cascader;if(e.children.length>3);else{let e=document.createElement("span");e.classList.add("started_btn","cascader_btn1");let i=document.createElement("span");i.classList.add("started_btn","cascader_btn2");let l=document.createElement("div");l.classList.add("cascader_btn_max"),e.textContent="Edit",e.addEventListener("click",this.removeLabel,!1),l.appendChild(e),t?.insertAdjacentElement("afterbegin",l),(0,n.Y3)().then((()=>{let e=o.contentRef?.getElementsByClassName("el-cascader-menu__empty-text")?.[0]?.innerHTML;e="No Label"}))}}))},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.value;let e={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.selectCode,updateTime:"",userId:""};xt.V.axiosPost(xt.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 xp=(0,Tt.Z)(kp,[["render",He]]);var Cp=xp}}]); \ No newline at end of file diff --git a/dist/js/946.fae91dca.js b/dist/js/946.6edbdb79.js similarity index 99% rename from dist/js/946.fae91dca.js rename to dist/js/946.6edbdb79.js index 29a2f2be..de2419d1 100644 --- a/dist/js/946.fae91dca.js +++ b/dist/js/946.6edbdb79.js @@ -1 +1 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[946],{8194:function(e,t,i){i.r(t),i.d(t,{default:function(){return E}});var a=i(6252),o=i(3577),s=i(9963),l=i.p+"img/bg.5af7d92c.png";const n={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:l},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],w={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},k=["onClick"],C=["onClick"],H=["onClick"],P=["onClick"],b={class:"collection_rename_content"},f={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,l,y,V){const T=(0,a.up)("HeaderComponent"),S=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),z=(0,a.up)("HistoryDetail"),L=(0,a.up)("a-modal"),$=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",n,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(T),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(S,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",w,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:l})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,k),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,l)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,l)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,P)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionName"]),(0,a.Wm)(L,{class:"rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[7]||(t[7]=t=>e.renameVisivle=t),footer:null,title:e.renameData?.name,width:"56rem",maskClosable:!1,centered:!0},{default:(0,a.w5)((()=>[(0,a._)("div",b,[(0,a._)("div",f,[(0,a.wy)((0,a._)("input",{class:"rename_form_input",placeholder:e.$t("HistoryPage.inputContent2"),"onUpdate:modelValue":t[4]||(t[4]=t=>e.newCollectionName=t),onKeydown:t[5]||(t[5]=(0,s.D2)((t=>e.confrimRename()),["enter"]))},null,40,N),[[s.nr,e.newCollectionName]])]),(0,a._)("div",{class:"rename_submit_button",onClick:t[6]||(t[6]=t=>e.confrimRename())},(0,o.zw)(e.$t("HistoryPage.Submit")),1)])])),_:1},8,["visible","title"]),(0,a.Wm)($)])}var T=i(2262),S=i(6736);const x=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),z=[x],L={class:"history_detail_content scroll_style"},$={class:"history_img_item"},U=["src"];function Z(e,t,i,o,l,n){const r=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(r,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,s.iM)((t=>e.changeDetailShow()),["stop"]))},z)])),default:(0,a.w5)((()=>[(0,a._)("div",L,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",$,[(0,a._)("img",{class:"element_img",src:e.url},null,8,U)])])))),128))])])),_:1},8,["visible","title"])}var Y=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),G=i(3744);const I=(0,G.Z)(Y,[["render",Z]]);var R=I,W=i(6214),Q=i(7332),M=i(1446),O=i(327),j=i(9206),F=i(8302),K=i(8552),q=(0,a.aZ)({components:{HeaderComponent:S.Z,HistoryDetail:R,RobotAssist:j.Z},setup(){let e=(0,T.iH)([]),t=(0,T.iH)({});const i=(0,a.Fl)((()=>[{title:(0,K.QT)().t("HistoryPage.CollectionsName"),align:"center",ellipsis:!0,width:150,dataIndex:"name",key:"collectionName"},{title:(0,K.QT)().t("HistoryPage.UptateTime"),align:"center",ellipsis:!0,width:150,dataIndex:"updateDate",key:"updateTime",customRender:e=>{let t=(0,Q.mr)(e.text/1e3,"YYYY-MM-DD hh:mm:ss");return t}},{title:(0,K.QT)().t("HistoryPage.SketchCounts"),align:"center",ellipsis:!0,width:150,dataIndex:"sketchCount",key:"sketchCounts"},{title:(0,K.QT)().t("HistoryPage.Operations"),key:"operation",align:"center",fixed:"right",width:150,Operations:!0}]));let o=(0,T.iH)([]),{t:s}=(0,K.QT)();return{rangePickerValue:e,columns:i,collectionList:o,renameData:t,t:s}},data(){return{currentPage:1,pageSize:10,total:0,historyTableHeight:0,newCollectionName:"",renameVisivle:!1,groupDetails:{},collectionName:"",searchCollectionName:""}},mounted(){let e=this.$refs.historyTable;this.historyTableHeight=e.clientHeight-130,this.getHistoryList()},methods:{turnToDetail(e){this.groupDetails=e.groupDetails;let t=this.$refs.historyDetail;this.collectionName=e.name,t.changeDetailShow()},changePage(e){this.currentPage=e.current,this.pageSize=e.pageSize,this.getHistoryList()},searchHistoryList(){this.currentPage=1,this.getHistoryList()},getHistoryList(){let e=this.rangePickerValue?new Date(this.rangePickerValue[0]).getTime():"",t=this.rangePickerValue?new Date(this.rangePickerValue[1]).getTime():"",i={page:this.currentPage,size:this.pageSize,collectionName:this.searchCollectionName,startDate:e,endDate:t};W.V.axiosPost(W.V.httpUrls.queryUserGroup,i).then((e=>{this.collectionList=e.content,this.total=e.total}))},deleteGroup(e,t){let i=(e,t)=>{let i={userGroupId:e};W.V.axiosPost(W.V.httpUrls.deleteUserGroup,i).then((e=>{M.ZP.success(this.t("HistoryPage.jsContent1")),this.collectionList.splice(t,1)}))};O.Z.confirm({title:this.t("HistoryPage.jsContent2"),icon:(0,a.Wm)(F.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){i(e.id,t)}})},renameCollection(e,t){this.renameVisivle=!0,this.renameData={...e,index:t}},confrimRename(){let e={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userGroupId:this.renameData.id,userGroupName:this.newCollectionName};W.V.axiosPost(W.V.httpUrls.updateUserGroupName,e).then((e=>{M.ZP.success(this.t("HistoryPage.jsContent3")),this.collectionList[this.renameData.index].name=this.newCollectionName,this.collectionList[this.renameData.index].updateDate=e.updateDate,this.renameVisivle=!1,this.newCollectionName="",this.renameData={}}))},retrieveHome(e){this.$router.push({name:"home",params:{id:e.id}})}}});const A=(0,G.Z)(q,[["render",V]]);var E=A}}]); \ No newline at end of file +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[946],{8194:function(e,t,i){i.r(t),i.d(t,{default:function(){return E}});var a=i(6252),o=i(3577),s=i(9963),l=i.p+"img/bg.5af7d92c.png";const n={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:l},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],w={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},k=["onClick"],C=["onClick"],H=["onClick"],P=["onClick"],b={class:"collection_rename_content"},f={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,l,y,V){const T=(0,a.up)("HeaderComponent"),S=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),z=(0,a.up)("HistoryDetail"),L=(0,a.up)("a-modal"),$=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",n,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(T),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(S,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",w,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:l})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,k),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,l)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,l)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,P)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionName"]),(0,a.Wm)(L,{class:"rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[7]||(t[7]=t=>e.renameVisivle=t),footer:null,title:e.renameData?.name,width:"56rem",maskClosable:!1,centered:!0},{default:(0,a.w5)((()=>[(0,a._)("div",b,[(0,a._)("div",f,[(0,a.wy)((0,a._)("input",{class:"rename_form_input",placeholder:e.$t("HistoryPage.inputContent2"),"onUpdate:modelValue":t[4]||(t[4]=t=>e.newCollectionName=t),onKeydown:t[5]||(t[5]=(0,s.D2)((t=>e.confrimRename()),["enter"]))},null,40,N),[[s.nr,e.newCollectionName]])]),(0,a._)("div",{class:"rename_submit_button",onClick:t[6]||(t[6]=t=>e.confrimRename())},(0,o.zw)(e.$t("HistoryPage.Submit")),1)])])),_:1},8,["visible","title"]),(0,a.Wm)($)])}var T=i(2262),S=i(5154);const x=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),z=[x],L={class:"history_detail_content scroll_style"},$={class:"history_img_item"},U=["src"];function Z(e,t,i,o,l,n){const r=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(r,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,s.iM)((t=>e.changeDetailShow()),["stop"]))},z)])),default:(0,a.w5)((()=>[(0,a._)("div",L,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",$,[(0,a._)("img",{class:"element_img",src:e.url},null,8,U)])])))),128))])])),_:1},8,["visible","title"])}var Y=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),G=i(3744);const I=(0,G.Z)(Y,[["render",Z]]);var R=I,W=i(6214),Q=i(7332),M=i(1446),O=i(327),j=i(9206),F=i(8302),K=i(8552),q=(0,a.aZ)({components:{HeaderComponent:S.Z,HistoryDetail:R,RobotAssist:j.Z},setup(){let e=(0,T.iH)([]),t=(0,T.iH)({});const i=(0,a.Fl)((()=>[{title:(0,K.QT)().t("HistoryPage.CollectionsName"),align:"center",ellipsis:!0,width:150,dataIndex:"name",key:"collectionName"},{title:(0,K.QT)().t("HistoryPage.UptateTime"),align:"center",ellipsis:!0,width:150,dataIndex:"updateDate",key:"updateTime",customRender:e=>{let t=(0,Q.mr)(e.text/1e3,"YYYY-MM-DD hh:mm:ss");return t}},{title:(0,K.QT)().t("HistoryPage.SketchCounts"),align:"center",ellipsis:!0,width:150,dataIndex:"sketchCount",key:"sketchCounts"},{title:(0,K.QT)().t("HistoryPage.Operations"),key:"operation",align:"center",fixed:"right",width:150,Operations:!0}]));let o=(0,T.iH)([]),{t:s}=(0,K.QT)();return{rangePickerValue:e,columns:i,collectionList:o,renameData:t,t:s}},data(){return{currentPage:1,pageSize:10,total:0,historyTableHeight:0,newCollectionName:"",renameVisivle:!1,groupDetails:{},collectionName:"",searchCollectionName:""}},mounted(){let e=this.$refs.historyTable;this.historyTableHeight=e.clientHeight-130,this.getHistoryList()},methods:{turnToDetail(e){this.groupDetails=e.groupDetails;let t=this.$refs.historyDetail;this.collectionName=e.name,t.changeDetailShow()},changePage(e){this.currentPage=e.current,this.pageSize=e.pageSize,this.getHistoryList()},searchHistoryList(){this.currentPage=1,this.getHistoryList()},getHistoryList(){let e=this.rangePickerValue?new Date(this.rangePickerValue[0]).getTime():"",t=this.rangePickerValue?new Date(this.rangePickerValue[1]).getTime():"",i={page:this.currentPage,size:this.pageSize,collectionName:this.searchCollectionName,startDate:e,endDate:t};W.V.axiosPost(W.V.httpUrls.queryUserGroup,i).then((e=>{this.collectionList=e.content,this.total=e.total}))},deleteGroup(e,t){let i=(e,t)=>{let i={userGroupId:e};W.V.axiosPost(W.V.httpUrls.deleteUserGroup,i).then((e=>{M.ZP.success(this.t("HistoryPage.jsContent1")),this.collectionList.splice(t,1)}))};O.Z.confirm({title:this.t("HistoryPage.jsContent2"),icon:(0,a.Wm)(F.Z),okText:"Yes",cancelText:"No",mask:!1,onOk(){i(e.id,t)}})},renameCollection(e,t){this.renameVisivle=!0,this.renameData={...e,index:t}},confrimRename(){let e={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userGroupId:this.renameData.id,userGroupName:this.newCollectionName};W.V.axiosPost(W.V.httpUrls.updateUserGroupName,e).then((e=>{M.ZP.success(this.t("HistoryPage.jsContent3")),this.collectionList[this.renameData.index].name=this.newCollectionName,this.collectionList[this.renameData.index].updateDate=e.updateDate,this.renameVisivle=!1,this.newCollectionName="",this.renameData={}}))},retrieveHome(e){this.$router.push({name:"home",params:{id:e.id}})}}});const A=(0,G.Z)(q,[["render",V]]);var E=A}}]); \ No newline at end of file diff --git a/dist/js/989.ac58c133.js b/dist/js/989.0f354989.js similarity index 99% rename from dist/js/989.ac58c133.js rename to dist/js/989.0f354989.js index 7d97887d..d092c3ed 100644 --- a/dist/js/989.ac58c133.js +++ b/dist/js/989.0f354989.js @@ -30,7 +30,7 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE */ -!function(e){A.exports=e()}((function(){return function A(e,t,i){function n(o,s){if(!t[o]){if(!e[o]){var a=void 0;if(!s&&a)return require(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=t[o]={exports:{}};e[o][0].call(c.exports,(function(A){var t=e[o][1][A];return n(t||A)}),c,c.exports,A,e,t,i)}return t[o].exports}for(var r=void 0,o=0;o>2,s=(3&e)<<4|t>>4,a=1>6:64,l=2>4,t=(15&o)<<4|(s=r.indexOf(A.charAt(l++)))>>2,i=(3&s)<<6|(a=r.indexOf(A.charAt(l++))),u[c++]=e,64!==s&&(u[c++]=t),64!==a&&(u[c++]=i);return u}},{"./support":30,"./utils":32}],2:[function(A,e,t){"use strict";var i=A("./external"),n=A("./stream/DataWorker"),r=A("./stream/Crc32Probe"),o=A("./stream/DataLengthProbe");function s(A,e,t,i,n){this.compressedSize=A,this.uncompressedSize=e,this.crc32=t,this.compression=i,this.compressedContent=n}s.prototype={getContentWorker:function(){var A=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return A.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),A},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(A,e,t){return A.pipe(new r).pipe(new o("uncompressedSize")).pipe(e.compressWorker(t)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(A,e,t){"use strict";var i=A("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},t.DEFLATE=A("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(A,e,t){"use strict";var i=A("./utils"),n=function(){for(var A,e=[],t=0;t<256;t++){A=t;for(var i=0;i<8;i++)A=1&A?3988292384^A>>>1:A>>>1;e[t]=A}return e}();e.exports=function(A,e){return void 0!==A&&A.length?"string"!==i.getTypeOf(A)?function(A,e,t,i){var r=n,o=i+t;A^=-1;for(var s=i;s>>8^r[255&(A^e[s])];return-1^A}(0|e,A,A.length,0):function(A,e,t,i){var r=n,o=i+t;A^=-1;for(var s=i;s>>8^r[255&(A^e.charCodeAt(s))];return-1^A}(0|e,A,A.length,0):0}},{"./utils":32}],5:[function(A,e,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(A,e,t){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:A("lie"),e.exports={Promise:i}},{lie:37}],7:[function(A,e,t){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=A("pako"),r=A("./utils"),o=A("./stream/GenericWorker"),s=i?"uint8array":"array";function a(A,e){o.call(this,"FlateWorker/"+A),this._pako=null,this._pakoAction=A,this._pakoOptions=e,this.meta={}}t.magic="\b\0",r.inherits(a,o),a.prototype.processChunk=function(A){this.meta=A.meta,null===this._pako&&this._createPako(),this._pako.push(r.transformTo(s,A.data),!1)},a.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var A=this;this._pako.onData=function(e){A.push({data:e,meta:A.meta})}},t.compressWorker=function(A){return new a("Deflate",A)},t.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(A,e,t){"use strict";function i(A,e){var t,i="";for(t=0;t>>=8;return i}function n(A,e,t,n,o,c){var d,u,h=A.file,g=A.compression,p=c!==s.utf8encode,f=r.transformTo("string",c(h.name)),m=r.transformTo("string",s.utf8encode(h.name)),B=h.comment,w=r.transformTo("string",c(B)),v=r.transformTo("string",s.utf8encode(B)),C=m.length!==h.name.length,b=v.length!==B.length,y="",_="",Q="",U=h.dir,F=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!t||(x.crc32=A.crc32,x.compressedSize=A.compressedSize,x.uncompressedSize=A.uncompressedSize);var E=0;e&&(E|=8),p||!C&&!b||(E|=2048);var k=0,I=0;U&&(k|=16),"UNIX"===o?(I=798,k|=function(A,e){var t=A;return A||(t=e?16893:33204),(65535&t)<<16}(h.unixPermissions,U)):(I=20,k|=function(A){return 63&(A||0)}(h.dosPermissions)),d=F.getUTCHours(),d<<=6,d|=F.getUTCMinutes(),d<<=5,d|=F.getUTCSeconds()/2,u=F.getUTCFullYear()-1980,u<<=4,u|=F.getUTCMonth()+1,u<<=5,u|=F.getUTCDate(),C&&(_=i(1,1)+i(a(f),4)+m,y+="up"+i(_.length,2)+_),b&&(Q=i(1,1)+i(a(w),4)+v,y+="uc"+i(Q.length,2)+Q);var S="";return S+="\n\0",S+=i(E,2),S+=g.magic,S+=i(d,2),S+=i(u,2),S+=i(x.crc32,4),S+=i(x.compressedSize,4),S+=i(x.uncompressedSize,4),S+=i(f.length,2),S+=i(y.length,2),{fileRecord:l.LOCAL_FILE_HEADER+S+f+y,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+S+i(w.length,2)+"\0\0\0\0"+i(k,4)+i(n,4)+f+y+w}}var r=A("../utils"),o=A("../stream/GenericWorker"),s=A("../utf8"),a=A("../crc32"),l=A("../signature");function c(A,e,t,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=t,this.encodeFileName=i,this.streamFiles=A,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(c,o),c.prototype.push=function(A){var e=A.meta.percent||0,t=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(A):(this.bytesWritten+=A.data.length,o.prototype.push.call(this,{data:A.data,meta:{currentFile:this.currentFile,percent:t?(e+100*(t-i-1))/t:100}}))},c.prototype.openedSource=function(A){this.currentSourceOffset=this.bytesWritten,this.currentFile=A.file.name;var e=this.streamFiles&&!A.file.dir;if(e){var t=n(A,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(A){this.accumulate=!1;var e=this.streamFiles&&!A.file.dir,t=n(A,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(t.dirRecord),e)this.push({data:function(A){return l.DATA_DESCRIPTOR+i(A.crc32,4)+i(A.compressedSize,4)+i(A.uncompressedSize,4)}(A),meta:{percent:100}});else for(this.push({data:t.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var A=this.bytesWritten,e=0;e=this.index;e--)t=(t<<8)+this.byteAt(e);return this.index+=A,t},readString:function(A){return i.transformTo("string",this.readData(A))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var A=this.readInt(4);return new Date(Date.UTC(1980+(A>>25&127),(A>>21&15)-1,A>>16&31,A>>11&31,A>>5&63,(31&A)<<1))}},e.exports=n},{"../utils":32}],19:[function(A,e,t){"use strict";var i=A("./Uint8ArrayReader");function n(A){i.call(this,A)}A("../utils").inherits(n,i),n.prototype.readData=function(A){this.checkOffset(A);var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(A,e,t){"use strict";var i=A("./DataReader");function n(A){i.call(this,A)}A("../utils").inherits(n,i),n.prototype.byteAt=function(A){return this.data.charCodeAt(this.zero+A)},n.prototype.lastIndexOfSignature=function(A){return this.data.lastIndexOf(A)-this.zero},n.prototype.readAndCheckSignature=function(A){return A===this.readData(4)},n.prototype.readData=function(A){this.checkOffset(A);var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(A,e,t){"use strict";var i=A("./ArrayReader");function n(A){i.call(this,A)}A("../utils").inherits(n,i),n.prototype.readData=function(A){if(this.checkOffset(A),0===A)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(A,e,t){"use strict";var i=A("../utils"),n=A("../support"),r=A("./ArrayReader"),o=A("./StringReader"),s=A("./NodeBufferReader"),a=A("./Uint8ArrayReader");e.exports=function(A){var e=i.getTypeOf(A);return i.checkSupport(e),"string"!==e||n.uint8array?"nodebuffer"===e?new s(A):n.uint8array?new a(i.transformTo("uint8array",A)):new r(i.transformTo("array",A)):new o(A)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(A,e,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(A,e,t){"use strict";var i=A("./GenericWorker"),n=A("../utils");function r(A){i.call(this,"ConvertWorker to "+A),this.destType=A}n.inherits(r,i),r.prototype.processChunk=function(A){this.push({data:n.transformTo(this.destType,A.data),meta:A.meta})},e.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(A,e,t){"use strict";var i=A("./GenericWorker"),n=A("../crc32");function r(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}A("../utils").inherits(r,i),r.prototype.processChunk=function(A){this.streamInfo.crc32=n(A.data,this.streamInfo.crc32||0),this.push(A)},e.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(A,e,t){"use strict";var i=A("../utils"),n=A("./GenericWorker");function r(A){n.call(this,"DataLengthProbe for "+A),this.propName=A,this.withStreamInfo(A,0)}i.inherits(r,n),r.prototype.processChunk=function(A){if(A){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+A.data.length}n.prototype.processChunk.call(this,A)},e.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(A,e,t){"use strict";var i=A("../utils"),n=A("./GenericWorker");function r(A){n.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,A.then((function(A){e.dataIsReady=!0,e.data=A,e.max=A&&A.length||0,e.type=i.getTypeOf(A),e.isPaused||e._tickAndRepeat()}),(function(A){e.error(A)}))}i.inherits(r,n),r.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var A=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":A=this.data.substring(this.index,e);break;case"uint8array":A=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":A=this.data.slice(this.index,e)}return this.index=e,this.push({data:A,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(A,e,t){"use strict";function i(A){this.name=A||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(A){this.emit("data",A)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(A){this.emit("error",A)}return!0},error:function(A){return!this.isFinished&&(this.isPaused?this.generatedError=A:(this.isFinished=!0,this.emit("error",A),this.previous&&this.previous.error(A),this.cleanUp()),!0)},on:function(A,e){return this._listeners[A].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(A,e){if(this._listeners[A])for(var t=0;t "+A:A}},e.exports=i},{}],29:[function(A,e,t){"use strict";var i=A("../utils"),n=A("./ConvertWorker"),r=A("./GenericWorker"),o=A("../base64"),s=A("../support"),a=A("../external"),l=null;if(s.nodestream)try{l=A("../nodejs/NodejsStreamOutputAdapter")}catch(A){}function c(A,e){return new a.Promise((function(t,n){var r=[],s=A._internalType,a=A._outputType,l=A._mimeType;A.on("data",(function(A,t){r.push(A),e&&e(t)})).on("error",(function(A){r=[],n(A)})).on("end",(function(){try{var A=function(A,e,t){switch(A){case"blob":return i.newBlob(i.transformTo("arraybuffer",e),t);case"base64":return o.encode(e);default:return i.transformTo(A,e)}}(a,function(A,e){var t,i=0,n=null,r=0;for(t=0;t>>6:(t<65536?e[o++]=224|t>>>12:(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63),e[o++]=128|t>>>6&63),e[o++]=128|63&t);return e}(A)},t.utf8decode=function(A){return n.nodebuffer?i.transformTo("nodebuffer",A).toString("utf-8"):function(A){var e,t,n,r,o=A.length,a=new Array(2*o);for(e=t=0;e>10&1023,a[t++]=56320|1023&n)}return a.length!==t&&(a.subarray?a=a.subarray(0,t):a.length=t),i.applyFromCharCode(a)}(A=i.transformTo(n.uint8array?"uint8array":"array",A))},i.inherits(l,o),l.prototype.processChunk=function(A){var e=i.transformTo(n.uint8array?"uint8array":"array",A.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var o=function(A,e){var t;for((e=e||A.length)>A.length&&(e=A.length),t=e-1;0<=t&&128==(192&A[t]);)t--;return t<0||0===t?e:t+s[A[t]]>e?t:e}(e),a=e;o!==e.length&&(n.uint8array?(a=e.subarray(0,o),this.leftOver=e.subarray(o,e.length)):(a=e.slice(0,o),this.leftOver=e.slice(o,e.length))),this.push({data:t.utf8decode(a),meta:A.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,i.inherits(c,o),c.prototype.processChunk=function(A){this.push({data:t.utf8encode(A.data),meta:A.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(A,e,t){"use strict";var i=A("./support"),n=A("./base64"),r=A("./nodejsUtils"),o=A("./external");function s(A){return A}function a(A,e){for(var t=0;t>8;this.dir=!!(16&this.externalFileAttributes),0==A&&(this.dosPermissions=63&this.externalFileAttributes),3==A&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var A=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=A.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=A.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=A.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=A.readInt(4))}},readExtraFields:function(A){var e,t,i,n=A.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});A.index+4>>6:(t<65536?e[o++]=224|t>>>12:(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63),e[o++]=128|t>>>6&63),e[o++]=128|63&t);return e},t.buf2binstring=function(A){return a(A,A.length)},t.binstring2buf=function(A){for(var e=new i.Buf8(A.length),t=0,n=e.length;t>10&1023,l[i++]=56320|1023&n)}return a(l,i)},t.utf8border=function(A,e){var t;for((e=e||A.length)>A.length&&(e=A.length),t=e-1;0<=t&&128==(192&A[t]);)t--;return t<0||0===t?e:t+o[A[t]]>e?t:e}},{"./common":41}],43:[function(A,e,t){"use strict";e.exports=function(A,e,t,i){for(var n=65535&A|0,r=A>>>16&65535|0,o=0;0!==t;){for(t-=o=2e3>>1:A>>>1;e[t]=A}return e}();e.exports=function(A,e,t,n){var r=i,o=n+t;A^=-1;for(var s=n;s>>8^r[255&(A^e[s])];return-1^A}},{}],46:[function(A,e,t){"use strict";var i,n=A("../utils/common"),r=A("./trees"),o=A("./adler32"),s=A("./crc32"),a=A("./messages"),l=0,c=4,d=0,u=-2,h=-1,g=4,p=2,f=8,m=9,B=286,w=30,v=19,C=2*B+1,b=15,y=3,_=258,Q=_+y+1,U=42,F=113,x=1,E=2,k=3,I=4;function S(A,e){return A.msg=a[e],e}function D(A){return(A<<1)-(4A.avail_out&&(t=A.avail_out),0!==t&&(n.arraySet(A.output,e.pending_buf,e.pending_out,t,A.next_out),A.next_out+=t,e.pending_out+=t,A.total_out+=t,A.avail_out-=t,e.pending-=t,0===e.pending&&(e.pending_out=0))}function O(A,e){r._tr_flush_block(A,0<=A.block_start?A.block_start:-1,A.strstart-A.block_start,e),A.block_start=A.strstart,L(A.strm)}function M(A,e){A.pending_buf[A.pending++]=e}function T(A,e){A.pending_buf[A.pending++]=e>>>8&255,A.pending_buf[A.pending++]=255&e}function K(A,e){var t,i,n=A.max_chain_length,r=A.strstart,o=A.prev_length,s=A.nice_match,a=A.strstart>A.w_size-Q?A.strstart-(A.w_size-Q):0,l=A.window,c=A.w_mask,d=A.prev,u=A.strstart+_,h=l[r+o-1],g=l[r+o];A.prev_length>=A.good_match&&(n>>=2),s>A.lookahead&&(s=A.lookahead);do{if(l[(t=e)+o]===g&&l[t+o-1]===h&&l[t]===l[r]&&l[++t]===l[r+1]){r+=2,t++;do{}while(l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&ra&&0!=--n);return o<=A.lookahead?o:A.lookahead}function N(A){var e,t,i,r,a,l,c,d,u,h,g=A.w_size;do{if(r=A.window_size-A.lookahead-A.strstart,A.strstart>=g+(g-Q)){for(n.arraySet(A.window,A.window,g,g,0),A.match_start-=g,A.strstart-=g,A.block_start-=g,e=t=A.hash_size;i=A.head[--e],A.head[e]=g<=i?i-g:0,--t;);for(e=t=g;i=A.prev[--e],A.prev[e]=g<=i?i-g:0,--t;);r+=g}if(0===A.strm.avail_in)break;if(l=A.strm,c=A.window,d=A.strstart+A.lookahead,u=r,h=void 0,h=l.avail_in,u=y)for(a=A.strstart-A.insert,A.ins_h=A.window[a],A.ins_h=(A.ins_h<=y&&(A.ins_h=(A.ins_h<=y)if(i=r._tr_tally(A,A.strstart-A.match_start,A.match_length-y),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=y){for(A.match_length--;A.strstart++,A.ins_h=(A.ins_h<=y&&(A.ins_h=(A.ins_h<=y&&A.match_length<=A.prev_length){for(n=A.strstart+A.lookahead-y,i=r._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-y),A.lookahead-=A.prev_length-1,A.prev_length-=2;++A.strstart<=n&&(A.ins_h=(A.ins_h<A.pending_buf_size-5&&(t=A.pending_buf_size-5);;){if(A.lookahead<=1){if(N(A),0===A.lookahead&&e===l)return x;if(0===A.lookahead)break}A.strstart+=A.lookahead,A.lookahead=0;var i=A.block_start+t;if((0===A.strstart||A.strstart>=i)&&(A.lookahead=A.strstart-i,A.strstart=i,O(A,!1),0===A.strm.avail_out))return x;if(A.strstart-A.block_start>=A.w_size-Q&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):(A.strstart>A.block_start&&(O(A,!1),A.strm.avail_out),x)})),new V(4,4,8,4,P),new V(4,5,16,8,P),new V(4,6,32,32,P),new V(4,4,16,16,R),new V(8,16,32,32,R),new V(8,16,128,128,R),new V(8,32,128,256,R),new V(32,128,258,1024,R),new V(32,258,258,4096,R)],t.deflateInit=function(A,e){return Z(A,e,f,15,8,0)},t.deflateInit2=Z,t.deflateReset=z,t.deflateResetKeep=j,t.deflateSetHeader=function(A,e){return A&&A.state?2!==A.state.wrap?u:(A.state.gzhead=e,d):u},t.deflate=function(A,e){var t,n,o,a;if(!A||!A.state||5>8&255),M(n,n.gzhead.time>>16&255),M(n,n.gzhead.time>>24&255),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(M(n,255&n.gzhead.extra.length),M(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(A.adler=s(A.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(M(n,0),M(n,0),M(n,0),M(n,0),M(n,0),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,3),n.status=F);else{var h=f+(n.w_bits-8<<4)<<8;h|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(h|=32),h+=31-h%31,n.status=F,T(n,h),0!==n.strstart&&(T(n,A.adler>>>16),T(n,65535&A.adler)),A.adler=1}if(69===n.status)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),L(A),o=n.pending,n.pending!==n.pending_buf_size));)M(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),L(A),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),L(A),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(A),n.pending+2<=n.pending_buf_size&&(M(n,255&A.adler),M(n,A.adler>>8&255),A.adler=0,n.status=F)):n.status=F),0!==n.pending){if(L(A),0===A.avail_out)return n.last_flush=-1,d}else if(0===A.avail_in&&D(e)<=D(t)&&e!==c)return S(A,-5);if(666===n.status&&0!==A.avail_in)return S(A,-5);if(0!==A.avail_in||0!==n.lookahead||e!==l&&666!==n.status){var g=2===n.strategy?function(A,e){for(var t;;){if(0===A.lookahead&&(N(A),0===A.lookahead)){if(e===l)return x;break}if(A.match_length=0,t=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,t&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}(n,e):3===n.strategy?function(A,e){for(var t,i,n,o,s=A.window;;){if(A.lookahead<=_){if(N(A),A.lookahead<=_&&e===l)return x;if(0===A.lookahead)break}if(A.match_length=0,A.lookahead>=y&&0A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=y?(t=r._tr_tally(A,1,A.match_length-y),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(t=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),t&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}(n,e):i[n.level].func(n,e);if(g!==k&&g!==I||(n.status=666),g===x||g===k)return 0===A.avail_out&&(n.last_flush=-1),d;if(g===E&&(1===e?r._tr_align(n):5!==e&&(r._tr_stored_block(n,0,0,!1),3===e&&(H(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(A),0===A.avail_out))return n.last_flush=-1,d}return e!==c?d:n.wrap<=0?1:(2===n.wrap?(M(n,255&A.adler),M(n,A.adler>>8&255),M(n,A.adler>>16&255),M(n,A.adler>>24&255),M(n,255&A.total_in),M(n,A.total_in>>8&255),M(n,A.total_in>>16&255),M(n,A.total_in>>24&255)):(T(n,A.adler>>>16),T(n,65535&A.adler)),L(A),0=t.w_size&&(0===s&&(H(t.head),t.strstart=0,t.block_start=0,t.insert=0),h=new n.Buf8(t.w_size),n.arraySet(h,e,g-t.w_size,t.w_size,0),e=h,g=t.w_size),a=A.avail_in,l=A.next_in,c=A.input,A.avail_in=g,A.next_in=0,A.input=e,N(t);t.lookahead>=y;){for(i=t.strstart,r=t.lookahead-(y-1);t.ins_h=(t.ins_h<>>=v=w>>>24,g-=v,0===(v=w>>>16&255))U[r++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=p[(65535&w)+(h&(1<>>=v,g-=v),g<15&&(h+=Q[i++]<>>=v=w>>>24,g-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=f[(65535&w)+(h&(1<>>=v,g-=v,(v=r-o)>3,h&=(1<<(g-=C<<3))-1,A.next_in=i,A.next_out=r,A.avail_in=i>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(A){var e;return A&&A.state?(e=A.state,A.total_in=A.total_out=e.total=0,A.msg="",e.wrap&&(A.adler=1&e.wrap),e.mode=u,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new i.Buf32(h),e.distcode=e.distdyn=new i.Buf32(g),e.sane=1,e.back=-1,c):d}function B(A){var e;return A&&A.state?((e=A.state).wsize=0,e.whave=0,e.wnext=0,m(A)):d}function w(A,e){var t,i;return A&&A.state?(i=A.state,e<0?(t=0,e=-e):(t=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(i.arraySet(o.window,e,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(r=o.wsize-o.wnext)&&(r=n),i.arraySet(o.window,e,t-n,r,o.wnext),(n-=r)?(i.arraySet(o.window,e,t-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,t.check=r(t.check,N,2,0),C=v=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&v)<<8)+(v>>8))%31){A.msg="incorrect header check",t.mode=30;break}if(8!=(15&v)){A.msg="unknown compression method",t.mode=30;break}if(C-=4,L=8+(15&(v>>>=4)),0===t.wbits)t.wbits=L;else if(L>t.wbits){A.msg="invalid window size",t.mode=30;break}t.dmax=1<>8&1),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0,t.mode=3;case 3:for(;C<32;){if(0===B)break A;B--,v+=h[f++]<>>8&255,N[2]=v>>>16&255,N[3]=v>>>24&255,t.check=r(t.check,N,4,0)),C=v=0,t.mode=4;case 4:for(;C<16;){if(0===B)break A;B--,v+=h[f++]<>8),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0,t.mode=5;case 5:if(1024&t.flags){for(;C<16;){if(0===B)break A;B--,v+=h[f++]<>>8&255,t.check=r(t.check,N,2,0)),C=v=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(B<(U=t.length)&&(U=B),U&&(t.head&&(L=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),i.arraySet(t.head.extra,h,f,U,L)),512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,t.length-=U),t.length))break A;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===B)break A;for(U=0;L=h[f+U++],t.head&&L&&t.length<65536&&(t.head.name+=String.fromCharCode(L)),L&&U>9&1,t.head.done=!0),A.adler=t.check=0,t.mode=12;break;case 10:for(;C<32;){if(0===B)break A;B--,v+=h[f++]<>>=7&C,C-=7&C,t.mode=27;break}for(;C<3;){if(0===B)break A;B--,v+=h[f++]<>>=1)){case 0:t.mode=14;break;case 1:if(_(t),t.mode=20,6!==e)break;v>>>=2,C-=2;break A;case 2:t.mode=17;break;case 3:A.msg="invalid block type",t.mode=30}v>>>=2,C-=2;break;case 14:for(v>>>=7&C,C-=7&C;C<32;){if(0===B)break A;B--,v+=h[f++]<>>16^65535)){A.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&v,C=v=0,t.mode=15,6===e)break A;case 15:t.mode=16;case 16:if(U=t.length){if(B>>=5,C-=5,t.ndist=1+(31&v),v>>>=5,C-=5,t.ncode=4+(15&v),v>>>=4,C-=4,286>>=3,C-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,M={bits:t.lenbits},O=s(0,t.lens,0,19,t.lencode,0,t.work,M),t.lenbits=M.bits,O){A.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>>=E,C-=E,t.lens[t.have++]=I;else{if(16===I){for(T=E+2;C>>=E,C-=E,0===t.have){A.msg="invalid bit length repeat",t.mode=30;break}L=t.lens[t.have-1],U=3+(3&v),v>>>=2,C-=2}else if(17===I){for(T=E+3;C>>=E)),v>>>=3,C-=3}else{for(T=E+7;C>>=E)),v>>>=7,C-=7}if(t.have+U>t.nlen+t.ndist){A.msg="invalid bit length repeat",t.mode=30;break}for(;U--;)t.lens[t.have++]=L}}if(30===t.mode)break;if(0===t.lens[256]){A.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,M={bits:t.lenbits},O=s(a,t.lens,0,t.nlen,t.lencode,0,t.work,M),t.lenbits=M.bits,O){A.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,M={bits:t.distbits},O=s(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,M),t.distbits=M.bits,O){A.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===e)break A;case 20:t.mode=21;case 21:if(6<=B&&258<=w){A.next_out=m,A.avail_out=w,A.next_in=f,A.avail_in=B,t.hold=v,t.bits=C,o(A,y),m=A.next_out,g=A.output,w=A.avail_out,f=A.next_in,h=A.input,B=A.avail_in,v=t.hold,C=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(K=t.lencode[v&(1<>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>S)])>>>16&255,I=65535&K,!(S+(E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>>=S,C-=S,t.back+=S}if(v>>>=E,C-=E,t.back+=E,t.length=I,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){A.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(T=t.extra;C>>=t.extra,C-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(K=t.distcode[v&(1<>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>S)])>>>16&255,I=65535&K,!(S+(E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>>=S,C-=S,t.back+=S}if(v>>>=E,C-=E,t.back+=E,64&k){A.msg="invalid distance code",t.mode=30;break}t.offset=I,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(T=t.extra;C>>=t.extra,C-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){A.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===w)break A;if(U=y-w,t.offset>U){if((U=t.offset-U)>t.whave&&t.sane){A.msg="invalid distance too far back",t.mode=30;break}F=U>t.wnext?(U-=t.wnext,t.wsize-U):t.wnext-U,U>t.length&&(U=t.length),x=t.window}else x=g,F=m-t.offset,U=t.length;for(wB?(v=M[T+d[_]],D[H+d[_]]):(v=96,0),h=1<>E)+(g-=h)]=w<<24|v<<16|C|0,0!==g;);for(h=1<>=1;if(0!==h?(S&=h-1,S+=h):S=0,_++,0==--L[y]){if(y===U)break;y=e[t+d[_]]}if(F>>7)]}function M(A,e){A.pending_buf[A.pending++]=255&e,A.pending_buf[A.pending++]=e>>>8&255}function T(A,e,t){A.bi_valid>p-t?(A.bi_buf|=e<>p-A.bi_valid,A.bi_valid+=t-p):(A.bi_buf|=e<>>=1,t<<=1,0<--e;);return t>>>1}function P(A,e,t){var i,n,r=new Array(g+1),o=0;for(i=1;i<=g;i++)r[i]=o=o+t[i-1]<<1;for(n=0;n<=e;n++){var s=A[2*n+1];0!==s&&(A[2*n]=N(r[s]++,s))}}function R(A){var e;for(e=0;e>1;1<=t;t--)j(A,r,t);for(n=a;t=A.heap[1],A.heap[1]=A.heap[A.heap_len--],j(A,r,1),i=A.heap[1],A.heap[--A.heap_max]=t,A.heap[--A.heap_max]=i,r[2*n]=r[2*t]+r[2*i],A.depth[n]=(A.depth[t]>=A.depth[i]?A.depth[t]:A.depth[i])+1,r[2*t+1]=r[2*i+1]=n,A.heap[1]=n++,j(A,r,1),2<=A.heap_len;);A.heap[--A.heap_max]=A.heap[1],function(A,e){var t,i,n,r,o,s,a=e.dyn_tree,l=e.max_code,c=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,f=e.stat_desc.max_length,m=0;for(r=0;r<=g;r++)A.bl_count[r]=0;for(a[2*A.heap[A.heap_max]+1]=0,t=A.heap_max+1;t>=7;i>>=1)if(1&t&&0!==A.dyn_ltree[2*e])return n;if(0!==A.dyn_ltree[18]||0!==A.dyn_ltree[20]||0!==A.dyn_ltree[26])return r;for(e=32;e>>3,(s=A.static_len+3+7>>>3)<=o&&(o=s)):o=s=t+5,t+4<=o&&-1!==e?J(A,e,t,i):4===A.strategy||s===o?(T(A,2+(i?1:0),3),z(A,Q,U)):(T(A,4+(i?1:0),3),function(A,e,t,i){var n;for(T(A,e-257,5),T(A,t-1,5),T(A,i-4,4),n=0;n>>8&255,A.pending_buf[A.d_buf+2*A.last_lit+1]=255&e,A.pending_buf[A.l_buf+A.last_lit]=255&t,A.last_lit++,0===e?A.dyn_ltree[2*t]++:(A.matches++,e--,A.dyn_ltree[2*(x[t]+l+1)]++,A.dyn_dtree[2*O(e)]++),A.last_lit===A.lit_bufsize-1},t._tr_align=function(A){T(A,2,3),K(A,m,Q),function(A){16===A.bi_valid?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(A)}},{"../utils/common":41}],53:[function(A,e,t){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(A,e,i){(function(A){!function(A,e){"use strict";if(!A.setImmediate){var t,i,n,r,o=1,s={},a=!1,l=A.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(A);c=c&&c.setTimeout?c:A,t="[object process]"==={}.toString.call(A.process)?function(A){process.nextTick((function(){u(A)}))}:function(){if(A.postMessage&&!A.importScripts){var e=!0,t=A.onmessage;return A.onmessage=function(){e=!1},A.postMessage("","*"),A.onmessage=t,e}}()?(r="setImmediate$"+Math.random()+"$",A.addEventListener?A.addEventListener("message",h,!1):A.attachEvent("onmessage",h),function(e){A.postMessage(r+e,"*")}):A.MessageChannel?((n=new MessageChannel).port1.onmessage=function(A){u(A.data)},function(A){n.port2.postMessage(A)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,function(A){var e=l.createElement("script");e.onreadystatechange=function(){u(A),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):function(A){setTimeout(u,0,A)},c.setImmediate=function(A){"function"!=typeof A&&(A=new Function(""+A));for(var e=new Array(arguments.length-1),i=0;ie?1:0},sum:function(A,e){var t={};return A.reduce(e?function(A,i,n){return t.index=n,A+e.call(t,i)}:function(A,e){return A+e},0)},max:function(A,t){return Math.max.apply(null,t?e.map(A,t):A)}};var t=function(){var A=5,t=8-A,i=1e3,n=.75;function r(e,t,i){return(e<<2*A)+(t<>t,o=A[1]>>t,s=A[2]>>t,i=r(n,o,s),l[i]=(l[i]||0)+1})),l}function c(A,e){var i,n,r,o=1e6,a=0,l=1e6,c=0,d=1e6,u=0;return A.forEach((function(A){i=A[0]>>t,n=A[1]>>t,r=A[2]>>t,ia&&(a=i),nc&&(c=n),ru&&(u=r)})),new s(o,a,l,c,d,u,e)}function d(A,t){if(t.count()){var i=t.r2-t.r1+1,n=t.g2-t.g1+1,o=t.b2-t.b1+1,s=e.max([i,n,o]);if(1==t.count())return[t.copy()];var a,l,c,d,u,h=0,g=[],p=[];if(s==i)for(a=t.r1;a<=t.r2;a++){for(d=0,l=t.g1;l<=t.g2;l++)for(c=t.b1;c<=t.b2;c++)u=r(a,l,c),d+=A[u]||0;h+=d,g[a]=h}else if(s==n)for(a=t.g1;a<=t.g2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.b1;c<=t.b2;c++)u=r(l,a,c),d+=A[u]||0;h+=d,g[a]=h}else for(a=t.b1;a<=t.b2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.g1;c<=t.g2;c++)u=r(l,c,a),d+=A[u]||0;h+=d,g[a]=h}return g.forEach((function(A,e){p[e]=h-A})),f(s==i?"r":s==n?"g":"b")}function f(A){var e,i,n,r,o,s=A+"1",l=A+"2",c=0;for(a=t[s];a<=t[l];a++)if(g[a]>h/2){n=t.copy(),r=t.copy(),e=a-t[s],i=t[l]-a,o=e<=i?Math.min(t[l]-1,~~(a+i/2)):Math.max(t[s],~~(a-1-e/2));while(!g[o])o++;c=p[o];while(!c&&g[o-1])c=p[--o];return n[l]=o,r[s]=n[l]+1,[n,r]}}}function u(A,t){if(!A.length||t<2||t>256)return!1;var r=l(A);r.forEach((function(){0}));var s=c(A,r),u=new o((function(A,t){return e.naturalOrder(A.count(),t.count())}));function h(A,e){var t,n=1,o=0;while(o=e)return;if(o++>i)return}else A.push(t),o++}u.push(s),h(u,n*t);var g=new o((function(A,t){return e.naturalOrder(A.count()*A.volume(),t.count()*t.volume())}));while(u.size())g.push(u.pop());h(g,t-g.size());var p=new a;while(g.size())p.push(g.pop());return p}return s.prototype={volume:function(A){var e=this;return e._volume&&!A||(e._volume=(e.r2-e.r1+1)*(e.g2-e.g1+1)*(e.b2-e.b1+1)),e._volume},count:function(A){var e=this,t=e.histo;if(!e._count_set||A){var i,n,o,s,a=0;for(i=e.r1;i<=e.r2;i++)for(n=e.g1;n<=e.g2;n++)for(o=e.b1;o<=e.b2;o++)s=r(i,n,o),a+=t[s]||0;e._count=a,e._count_set=!0}return e._count},copy:function(){var A=this;return new s(A.r1,A.r2,A.g1,A.g2,A.b1,A.b2,A.histo)},avg:function(e){var t=this,i=t.histo;if(!t._avg||e){var n,o,s,a,l,c=0,d=1<<8-A,u=0,h=0,g=0;for(o=t.r1;o<=t.r2;o++)for(s=t.g1;s<=t.g2;s++)for(a=t.b1;a<=t.b2;a++)l=r(o,s,a),n=i[l]||0,c+=n,u+=n*(o+.5)*d,h+=n*(s+.5)*d,g+=n*(a+.5)*d;t._avg=c?[~~(u/c),~~(h/c),~~(g/c)]:[~~(d*(t.r1+t.r2+1)/2),~~(d*(t.g1+t.g2+1)/2),~~(d*(t.b1+t.b2+1)/2)]}return t._avg},contains:function(A){var e=this,i=A[0]>>t;return gval=A[1]>>t,bval=A[2]>>t,i>=e.r1&&i<=e.r2&&gval>=e.g1&&gval<=e.g2&&bval>=e.b1&&bval<=e.b2}},a.prototype={push:function(A){this.vboxes.push({vbox:A,color:A.avg()})},palette:function(){return this.vboxes.map((function(A){return A.color}))},size:function(){return this.vboxes.size()},map:function(A){for(var e=this.vboxes,t=0;t251&&n[1]>251&&n[2]>251&&(A[i].color=[255,255,255])}},{quantize:u}}();A.exports=t.quantize},989:function(A,e,t){"use strict";t.r(e),t.d(e,{default:function(){return Hu}});var n=t(6252),r=t(3577),o=t(9963);const s=A=>((0,n.dD)("data-v-28c8a5e1"),A=A(),(0,n.Cn)(),A),a={class:"home_page .Guide_1_16"},l={class:"page_content"},c={class:"page_content_body"},d={class:"home_page_body"},u={class:"home_page_left"},h={class:"home_page_left_content"},g={class:"home_left_null"},p={class:"is_finish_loading"},f={class:"home_left_info"},m={class:"left_info_top"},B={class:"left_info_content scroll_style"},w={class:"left_info_content_body",ref:"collection_canvas"},v={class:"home_page_right"},C={class:"right_top"},b={class:"right_top_left"},y={class:"right_content_block"},_={class:"right_content_header"},Q={class:"content_header_left"},U=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),F={class:"content_header_des"},x={class:"right_content_body"},E={class:"right_content_img_item"},k=["onClick"],I={class:"content_img_flex"},S=["src"],D=["onClick"],H={class:"right_content_header"},L={class:"content_header_left"},O=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),M={class:"content_header_des"},T={class:"right_content_export"},K={class:"right_content_body"},N={class:"right_content_img_item",id:"right_content_img_block"},P=["onClick","onDragstart","onDrop"],R={class:"content_img_flex"},V=["src"],G=["onClick"],j={class:"mark_loading"},z={class:"progress_mark"},Z={class:"mark_content"};function W(A,e,t,i,s,W){const Y=(0,n.up)("HeaderComponent"),X=(0,n.up)("a-spin"),J=(0,n.up)("NewCollectionReview"),$=(0,n.up)("a-checkbox"),q=(0,n.up)("CollectionModal"),AA=(0,n.up)("DesignDetail"),eA=(0,n.up)("ExportNewCoolection"),tA=(0,n.up)("a-progress"),iA=(0,n.up)("RobotAssist"),nA=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(Y),(0,n._)("div",l,[(0,n._)("div",c,[(0,n._)("div",d,[(0,n._)("div",u,[(0,n._)("div",h,[(0,n.wy)((0,n._)("div",g,[(0,n._)("div",null,[(0,n._)("div",{id:"Guide_1_1",class:"new_collection_button",onClick:e[0]||(e[0]=e=>A.startNewCollection())},(0,r.zw)(A.$t("HomeView.GetStarted")),1)]),(0,n.wy)((0,n._)("div",p,[(0,n.Wm)(X,{size:"large"})],512),[[o.F8,A.isFinishLoading]])],512),[[o.F8,!A.isHaveReviewCollection]]),(0,n.wy)((0,n._)("div",f,[(0,n._)("div",m,[(0,n._)("div",{class:"button_second",onClick:e[1]||(e[1]=e=>A.startNewCollection())},(0,r.zw)(A.$t("HomeView.Start")),1),(0,n._)("div",{class:"button_first button_margin",onClick:e[2]||(e[2]=e=>A.recollection())},(0,r.zw)(A.$t("HomeView.Edit")),1)]),(0,n._)("div",B,[(0,n._)("div",w,[(0,n.Wm)(J,{id:"collectionReview"})],512)])],512),[[o.F8,A.isHaveReviewCollection]])])]),(0,n._)("div",v,[(0,n._)("div",C,[(0,n._)("div",b,[(0,n._)("div",{class:"button_second Guide_1_15",onClick:e[3]||(e[3]=e=>A.designNewCollection())},(0,r.zw)(A.$t("HomeView.Design")),1),(0,n.wy)((0,n._)("div",{class:"button_first button_margin_14",onClick:e[4]||(e[4]=e=>A.resDesignCollection())},(0,r.zw)(A.$t("HomeView.Redesign")),513),[[o.F8,A.designCollectionId]])])]),(0,n._)("div",y,[(0,n._)("div",_,[(0,n._)("div",Q,[U,(0,n._)("span",F,(0,r.zw)(A.$t("HomeView.GeneratedDesign")),1)])]),(0,n._)("div",x,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style Guide_1_17",{active:0!=A.designCollectionList.length}])},[(0,n._)("div",E,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.designCollectionList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block hideEvents",key:e?.designItemId,onClick:i=>A.designDetail(e,t,A.designCollectionList,"dislike")},[(0,n._)("div",I,[(0,n._)("img",{class:"content_img",src:e.designOutfitUrl},null,8,S)]),(0,n._)("div",{class:"icon iconfont icon-jushoucang icon_like",onClick:(0,o.iM)((i=>A.likeDesignCollection(e,t)),["stop"])},null,8,D)],8,k)))),128))])],2)),[[nA]])]),(0,n._)("div",H,[(0,n._)("div",L,[O,(0,n._)("span",M,(0,r.zw)(A.$t("HomeView.SelectedDesign")),1)]),(0,n.wy)((0,n._)("div",T,[(0,n._)("div",{class:"button_second",onClick:e[5]||(e[5]=e=>A.exportCanvas())},(0,r.zw)(A.$t("HomeView.Export")),1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A.isShowOperate?"icon_rotate":""]),onClick:e[6]||(e[6]=(0,o.iM)((e=>A.changeShowOperateContent()),["stop"]))},null,2),(0,n.wy)((0,n._)("div",{class:"export_nav",onClick:e[7]||(e[7]=(0,o.iM)((()=>{}),["stop"]))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.exportNav,(A=>((0,n.wg)(),(0,n.j4)($,{checked:A.change,"onUpdate:checked":e=>A.change=e,disabled:A.noChange},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.name),1)])),_:2},1032,["checked","onUpdate:checked","disabled"])))),256))],512),[[o.F8,A.isShowOperate]])],512),[[o.F8,A.likeDesignCollectionList.length]])]),(0,n._)("div",K,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style",{active:0!=A.likeDesignCollectionList.length}])},[(0,n._)("div",N,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.likeDesignCollectionList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",draggable:"",key:t.id,onClick:e=>A.designDetail(t,i,A.likeDesignCollectionList,"like"),onDragstart:e=>A.dragstart(e,i),onDragover:e[8]||(e[8]=(0,o.iM)((()=>{}),["prevent"])),onDrop:e=>A.dragDrop(e,i)},[(0,n._)("div",R,[((0,n.wg)(),(0,n.iD)("img",{class:"content_img",src:t.designOutfitUrl,key:t.designOutfitUrl},null,8,V))]),(0,n._)("div",{class:"icon iconfont icon-jushoucanggift icon_like",onClick:(0,o.iM)((e=>A.dislikeDesignCollection(t,i)),["stop"])},null,8,G)],40,P)))),128))])],2)),[[nA]])])])])])])]),(0,n.Wm)(q,{ref:"collectionModal",onFinishCollection:e[9]||(e[9]=e=>A.finishCollection())},null,512),(0,n.Wm)(AA,{ref:"designDetail",onFinishRedesign:A.finishRedesign},null,8,["onFinishRedesign"]),(0,n.Wm)(eA,{id:"exportNewCoolection"}),(0,n.wy)((0,n._)("div",j,[(0,n.Wm)(X,{size:"large"})],512),[[o.F8,A.isShowMark]]),(0,n.wy)((0,n._)("div",z,[(0,n._)("div",Z,[(0,n.Wm)(tA,{type:"circle",percent:A.designProgress,strokeColor:"#341e57",width:200},null,8,["percent"]),(0,n._)("div",null,[(0,n.Wm)(X,{indicator:A.indicator},null,8,["indicator"])])])],512),[[o.F8,A.showDesignMark]]),(0,n.Wm)(iA)])}var Y=t(2262),X=t(6736);const J={key:0},$={class:"collection_title"},q={class:"collection_title_text"},AA={class:"collection_progress"},eA={class:"collection_modal_body"},tA={class:"mark_loading"};function iA(A,e,t,i,s,a){const l=(0,n.up)("a-progress"),c=(0,n.up)("MoodboardUpload"),d=(0,n.up)("PrintboardUpload"),u=(0,n.up)("ColorboardUpload"),h=(0,n.up)("SketchboardUpload"),g=(0,n.up)("a-spin"),p=(0,n.up)("a-modal");return A.showCollectionModal?((0,n.wg)(),(0,n.iD)("div",J,[(0,n.Wm)(p,{class:"modal_component collection_modal Guide_1_2",visible:A.showCollectionModal,"onUpdate:visible":e[4]||(e[4]=e=>A.showCollectionModal=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,wrapClassName:"#app"},{default:(0,n.w5)((()=>[(0,n._)("div",$,[(0,n._)("div",q,[(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Moodboard")),513),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Printboard")),513),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Colorboard")),513),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Sketchboard")),513),[[o.F8,4===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.MoodCollection")),513),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.PrinCollection")),513),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.ColorCollection")),513),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.SketchCollection")),513),[[o.F8,4===A.collectionStep]])]),(0,n._)("div",AA,[(0,n.Wm)(l,{strokeWidth:13,strokeColor:"#341e57",type:"circle",percent:25*A.collectionStep,format:e=>`${A.collectionStep}/4`},null,8,["percent","format"])])]),(0,n._)("div",{class:(0,r.C_)(["collection_closeIcon",[A.driver__.driver?"hideEvents":""]])},[(0,n._)("i",{class:"fi fi-rr-cross-small",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))})],2),(0,n._)("div",{class:(0,r.C_)(["collection_page",[A.driver__.driver?"hideEvents":""]])},[(0,n.wy)((0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:e[1]||(e[1]=e=>A.lastStep())},null,512),[[o.F8,A.collectionStep>1]]),A.collectionStep<4?((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-arrow-small-right Guide_1_8",onClick:e[2]||(e[2]=(0,o.iM)((e=>A.nextStep()),["stop"]))})):((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-rr-check Guide_1_14",onClick:e[3]||(e[3]=(0,o.iM)((e=>A.finishCollection()),["stop"]))}))],2),(0,n._)("div",eA,[(0,n.wy)((0,n.Wm)(c,{ref:"MoodboardUpload"},null,512),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n.Wm)(d,{ref:"PrintboardUpload"},null,512),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n.Wm)(u,{ref:"ColorboardUpload"},null,512),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n.Wm)(h,{ref:"SketchboardUpload"},null,512),[[o.F8,4===A.collectionStep]])]),(0,n.wy)((0,n._)("div",tA,[(0,n.Wm)(g,{size:"large"})],512),[[o.F8,A.isShowMark]])])),_:1},8,["visible"])])):(0,n.kq)("",!0)}const nA={class:"generate Guide_1_6"},rA={key:0,class:"generate_checkbox"},oA={key:0,class:"printModel"},sA=["placeholder","maxlength"],aA={key:2,class:"generage_img"},lA={class:"upload_item"},cA=["onClick"],dA={class:"upload_file_item_content"},uA={class:"upload_file_item_content"},hA=["src"],gA={key:0,class:"operate_file_block"},pA={class:"select_img_type"},fA=["onClick"],mA={class:"category_list"},BA=["onClick"],wA=["onClick"],vA=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),CA=[vA],bA={class:"upload_file_item upload_component"},yA={class:"upload_tip_block"},_A=(0,n._)("i",{class:"fi fi-br-upload"},null,-1),QA=[_A],UA={key:3,class:"generage_img"},FA=["onClick"],xA={alt:""},EA={class:"delete_like_file_block"},kA=["onClick"],IA=["onClick"],SA={class:"delete_like_file_block left"},DA={class:"mark_loading"};function HA(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("scaleImage"),u=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",nA,["Sketchboard"==A.type_.type2||"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",rA,[(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=e=>A.checkbox[0].type=e),onClick:e[1]||(e[1]=e=>A.setKeyword(0))},null,512),[[o.e8,A.checkbox[0].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.ImageOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=e=>A.checkbox[1].type=e),onClick:e[3]||(e[3]=e=>A.setKeyword(1))},null,512),[[o.e8,A.checkbox[1].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.TextOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=e=>A.checkbox[2].type=e),onClick:e[5]||(e[5]=e=>A.setKeyword(2))},null,512),[[o.e8,A.checkbox[2].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.TextImage")),1)])]),"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",oA,[(0,n._)("div",{onClick:e[6]||(e[6]=(0,o.iM)(((...e)=>A.PrintModel&&A.PrintModel(...e)),["stop"]))},(0,r.zw)(A.printModel.name),1),(0,n.wy)((0,n._)("ul",null,[(0,n._)("li",{class:"printModel_item",onClick:e[7]||(e[7]=e=>A.setprintModel(1))},(0,r.zw)(A.$t("Generate.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:e[8]||(e[8]=e=>A.setprintModel(2))},(0,r.zw)(A.$t("Generate.Model2")),1),(0,n.wy)((0,n._)("li",{class:"printModel_item",onClick:e[9]||(e[9]=e=>A.setprintModel(3))},(0,r.zw)(A.$t("Generate.Generate")),513),[[o.F8,A.printBoards.length>=1]])],512),[[o.F8,A.printModel.optype]])])):(0,n.kq)("",!0)])):((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,r.C_)(["input_box Guide_1_5",[A.inputShow?"active":""]])},[(0,n.wy)((0,n._)("input",{class:"search_input",onInput:e[10]||(e[10]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),placeholder:A.$t("Generate.inputContent1"),maxlength:A.inputShow?0:9999,"onUpdate:modelValue":e[11]||(e[11]=e=>A.searchPictureName=e),onKeydown:e[12]||(e[12]=(0,o.D2)((e=>A.getgenerate()),["enter"]))},null,40,sA),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[13]||(e[13]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},(0,r.zw)(A.$t("Generate.Generate")),1),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.maximumLength")),1)],2)),"Sketchboard"==A.type_.type2||"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",aA,[(0,n._)("div",lA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item",[e?.checked?"active":"",A.checkboxImage?"forbidden":""]]),key:e,onClick:(0,o.iM)((t=>A.setSketchboardItem(e)),["stop"])},[(0,n.wy)((0,n._)("div",dA,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",uA,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,hA),"Sketchboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",gA,[(0,n._)("div",pA,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.categoryShow?"icon_rotate":""])},null,2)],8,fA),(0,n.wy)((0,n._)("div",mA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.value),11,BA)))),128))],512),[[o.F8,e.categoryShow]])])])):(0,n.kq)("",!0),(0,n._)("div",{class:"delete_file_block",onClick:e=>A.deleteFile(t)},CA,8,wA)],512),[[o.F8,"done"===e?.status]])],10,cA)))),128)),(0,n.wy)((0,n._)("div",bA,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},disabled:A.checkbox[1].type,headers:{Authorization:A.token},"file-list":A.sketchboardList,"onUpdate:file-list":e[14]||(e[14]=e=>A.sketchboardList=e),"before-upload":A.beforeUpload,multiple:"",maxCount:8-A.sketchboardList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[15]||(e[15]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",yA,QA,512),[[o.F8,8!=A.sketchboardList.length]])])),_:1},8,["action","data","disabled","headers","file-list","before-upload","maxCount"])],512),[[o.F8,8!=A.sketchboardList.length]])])])):((0,n.wg)(),(0,n.iD)("div",UA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["generage_img_item",[t?.checked?"active":"",A.driver__.driver?"hideEvents":""]]),key:t.imgUrl,onClick:e=>A.generageAdd(t)},[(0,n.wy)((0,n._)("img",xA,null,512),[[u,t.imgUrl]]),(0,n._)("div",EA,[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((e=>A.likeFile(t,"noLike")),["stop"])},null,8,IA)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((e=>A.likeFile(t,"like")),["stop"])},null,8,kA))]),(0,n._)("div",SA,[(0,n._)("i",{class:"fi fi-bs-expand-arrows-alt",onClick:e[16]||(e[16]=(0,o.iM)((e=>A.scaleImage()),["stop"]))})])],10,FA)))),128))])),(0,n.Wm)(d,{ref:"scaleImage"},null,512),(0,n.wy)((0,n._)("div",DA,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])])}var LA=t(320),OA=t(1446),MA=t(4873),TA=t(6214),KA=t(3907),NA={id:1,testUrl:"http://192.168.1.5:10086",zIndex:2,setColor:(A,e,t)=>new Promise((i=>{var n=void 0==t?.min?5:t.min,r=void 0==t?.max?5:t.max,o=new Image;o.src=e;o.onload=()=>{const e=o.width,t=o.height,s=document.createElement("canvas");s.width=e,s.height=t;var a=s.getContext("2d");a.drawImage(o,0,0);var l=a.getImageData(0,0,e,t),c=[];for(let i=0;iA[i][0]&&h-nA[i][1]&&g-nA[i][2]&&d++}let o={rgb:A[i],ratio:parseInt(String((d/(e*t)*100).toFixed(6)))};c.push(o)}i({width:e,height:t,ratio:c})}}))},PA=t(2339),RA=t(7332);const VA={class:"scaleImage_btn"},GA=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),jA=[GA],zA=(0,n._)("i",{class:"fi fi-rr-down-to-line"},null,-1),ZA=[zA],WA={class:"scaleImage_content"},YA=["src"],XA={class:"scaleImage_nav"},JA={class:"nav_left"},$A={class:"nav_list"},qA=["onClick","src"],Ae={class:"nav_right"};function ee(A,e,t,i,s,a){const l=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(l,{class:"scaleImage_modal",visible:A.scaleImage,"onUpdate:visible":e[4]||(e[4]=e=>A.scaleImage=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",VA,[(0,n._)("div",{class:"collection_closeIcon left",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},jA),(0,n._)("div",{class:"collection_closeIcon",onClick:e[1]||(e[1]=(0,o.iM)((e=>A.download()),["stop"]))},ZA)]),(0,n._)("div",WA,[(0,n._)("img",{src:A.scaleImageList[A.scaleImageIndex]?.imgUrl},null,8,YA)]),(0,n._)("div",XA,[(0,n._)("div",JA,[(0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:e[2]||(e[2]=e=>A.lastStep())})]),(0,n._)("div",$A,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.scaleImageList,((e,t)=>((0,n.wg)(),(0,n.iD)("img",{onClick:e=>A.setScaleImageIndex(t),class:(0,r.C_)({active:t==A.scaleImageIndex}),src:e?.imgUrl,key:e.id},null,10,qA)))),128))]),(0,n._)("div",Ae,[(0,n._)("i",{class:"fi fi-rr-arrow-small-right",onClick:e[3]||(e[3]=(0,o.iM)((e=>A.nextStep()),["stop"]))})])])])),_:1},8,["visible"])}var te=(0,n.aZ)({setup(){let A=(0,Y.iH)(!1),e=(0,Y.iH)(!1);const t=(0,Y.iH)(!1),i=A=>{t.value=A};let n=(0,Y.iH)([]),r=(0,Y.iH)(0);return{scaleImage:A,loadingShow:e,visible:t,setVisible:i,scaleImageList:n,scaleImageIndex:r}},data(){return{}},mounted(){},methods:{init(A){this.scaleImage=!0,this.scaleImageList=A},cancelDsign(){this.scaleImage=!1,this.scaleImageList=[],this.scaleImageIndex=0},lastStep(){this.scaleImageIndex<=0||(this.scaleImageIndex-=1)},nextStep(){this.scaleImageIndex>=this.scaleImageList.length-1||(this.scaleImageIndex+=1)},download(){(0,RA.W$)(this.scaleImageList[this.scaleImageIndex].imgUrl)},setScaleImageIndex(A){this.scaleImageIndex=A}}}),ie=t(3744);const ne=(0,ie.Z)(te,[["render",ee]]);var re=ne;let oe={};function se(A={}){oe={animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000",...A}}function ae(A){return A?oe[A]:oe}function le(A,e,t,i){return(A/=i/2)<1?t/2*A*A+e:-t/2*(--A*(A-2)-1)+e}function ce(A){const e='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return A.flatMap((A=>{const t=A.matches(e),i=Array.from(A.querySelectorAll(e));return[...t?[A]:[],...i]})).filter((A=>"none"!==getComputedStyle(A).pointerEvents&&ge(A)))}function de(A){if(!A||he(A))return;const e=ae("smoothScroll");A.scrollIntoView({behavior:!e||ue(A)?"auto":"smooth",inline:"center",block:"center"})}function ue(A){if(!A||!A.parentElement)return;const e=A.parentElement;return e.scrollHeight>e.clientHeight}function he(A){const e=A.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function ge(A){return!!(A.offsetWidth||A.offsetHeight||A.getClientRects().length)}let pe={};function fe(A,e){pe[A]=e}function me(A){return A?pe[A]:pe}function Be(){pe={}}let we={};function ve(A,e){we[A]=e}function Ce(A){var e;null==(e=we[A])||e.call(we)}function be(){we={}}function ye(A,e,t,i){let n=me("__activeStagePosition");const r=n||t.getBoundingClientRect(),o=i.getBoundingClientRect(),s=le(A,r.x,o.x-r.x,e),a=le(A,r.y,o.y-r.y,e),l=le(A,r.width,o.width-r.width,e),c=le(A,r.height,o.height-r.height,e);n={x:s,y:a,width:l,height:c},Fe(n),fe("__activeStagePosition",n)}function _e(A){if(!A)return;const e=A.getBoundingClientRect(),t={x:e.x,y:e.y,width:e.width,height:e.height};fe("__activeStagePosition",t),Fe(t)}function Qe(){const A=me("__activeStagePosition"),e=me("__overlaySvg");if(!A)return;if(!e)return void console.warn("No stage svg found.");const t=window.innerWidth,i=window.innerHeight;e.setAttribute("viewBox",`0 0 ${t} ${i}`)}function Ue(A){const e=xe(A);document.body.appendChild(e),Ke(e,(A=>{"path"===A.target.tagName&&Ce("overlayClick")})),fe("__overlaySvg",e)}function Fe(A){const e=me("__overlaySvg");if(!e)return void Ue(A);const t=e.firstElementChild;if("path"!==(null==t?void 0:t.tagName))throw new Error("no path element found in stage svg");t.setAttribute("d",Ee(A))}function xe(A){const e=window.innerWidth,t=window.innerHeight,i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.classList.add("driver-overlay","driver-overlay-animated"),i.setAttribute("viewBox",`0 0 ${e} ${t}`),i.setAttribute("xmlSpace","preserve"),i.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),i.setAttribute("preserveAspectRatio","xMinYMin slice"),i.style.fillRule="evenodd",i.style.clipRule="evenodd",i.style.strokeLinejoin="round",i.style.strokeMiterlimit="2",i.style.zIndex="10000",i.style.position="fixed",i.style.top="0",i.style.left="0",i.style.width="100%",i.style.height="100%";const n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",Ee(A)),n.style.fill=ae("overlayColor")||"rgb(0,0,0)",n.style.opacity=`${ae("overlayOpacity")}`,n.style.pointerEvents="auto",n.style.cursor="auto",i.appendChild(n),i}function Ee(A){const e=window.innerWidth,t=window.innerHeight,i=ae("stagePadding")||0,n=ae("stageRadius")||0,r=A.width+2*i,o=A.height+2*i,s=Math.min(n,r/2,o/2),a=Math.floor(Math.max(s,0)),l=A.x-i+a,c=A.y-i,d=r-2*a,u=o-2*a;return`M${e},0L0,0L0,${t}L${e},${t}L${e},0Z\n M${l},${c} h${d} a${a},${a} 0 0 1 ${a},${a} v${u} a${a},${a} 0 0 1 -${a},${a} h-${d} a${a},${a} 0 0 1 -${a},-${a} v-${u} a${a},${a} 0 0 1 ${a},-${a} z`}function ke(){const A=me("__overlaySvg");A&&A.remove()}function Ie(){const A=document.getElementById("driver-dummy-element");if(A)return A;let e=document.createElement("div");return e.id="driver-dummy-element",e.style.width="0",e.style.height="0",e.style.pointerEvents="none",e.style.opacity="0",e.style.position="fixed",e.style.top="50%",e.style.left="50%",document.body.appendChild(e),e}function Se(A){const{element:e}=A;let t="string"==typeof e?document.querySelector(e):e;t||(t=Ie()),He(t,A)}function De(){const A=me("__activeElement"),e=me("__activeStep");A&&(_e(A),Qe(),Ze(A,e))}function He(A,e){const t=Date.now(),i=me("__activeStep"),n=me("__activeElement")||A,r=!n||n===A,o="driver-dummy-element"===A.id,s="driver-dummy-element"===n.id,a=ae("animate"),l=e.onHighlightStarted||ae("onHighlightStarted"),c=(null==e?void 0:e.onHighlighted)||ae("onHighlighted"),d=(null==i?void 0:i.onDeselected)||ae("onDeselected"),u=ae(),h=me();!r&&d&&d(s?void 0:n,i,{config:u,state:h}),l&&l(o?void 0:A,e,{config:u,state:h});const g=!r&&a;let p=!1;Re(),fe("previousStep",i),fe("previousElement",n),fe("activeStep",e),fe("activeElement",A);const f=()=>{if(me("__transitionCallback")!==f)return;const r=Date.now()-t,s=400-r<=200;e.popover&&s&&!p&&g&&(Ve(A,e),p=!0),ae("animate")&&r<400?ye(r,400,n,A):(_e(A),c&&c(o?void 0:A,e,{config:ae(),state:me()}),fe("__transitionCallback",void 0),fe("__previousStep",i),fe("__previousElement",n),fe("__activeStep",e),fe("__activeElement",A)),window.requestAnimationFrame(f)};fe("__transitionCallback",f),window.requestAnimationFrame(f),de(A),!g&&e.popover&&Ve(A,e),n.classList.remove("driver-active-element","driver-no-interaction"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("aria-controls"),ae("disableActiveInteraction")&&A.classList.add("driver-no-interaction"),A.classList.add("driver-active-element"),A.setAttribute("aria-haspopup","dialog"),A.setAttribute("aria-expanded","true"),A.setAttribute("aria-controls","driver-popover-content")}function Le(){var A;null==(A=document.getElementById("driver-dummy-element"))||A.remove(),document.querySelectorAll(".driver-active-element").forEach((A=>{A.classList.remove("driver-active-element","driver-no-interaction"),A.removeAttribute("aria-haspopup"),A.removeAttribute("aria-expanded"),A.removeAttribute("aria-controls")}))}function Oe(){const A=me("__resizeTimeout");A&&window.cancelAnimationFrame(A),fe("__resizeTimeout",window.requestAnimationFrame(De))}function Me(A){var e;if(!me("isInitialized")||"Tab"!==A.key&&9!==A.keyCode)return;const t=me("__activeElement"),i=null==(e=me("popover"))?void 0:e.wrapper,n=ce([...i?[i]:[],...t?[t]:[]]),r=n[0],o=n[n.length-1];if(A.preventDefault(),A.shiftKey){const A=n[n.indexOf(document.activeElement)-1]||o;null==A||A.focus()}else{const A=n[n.indexOf(document.activeElement)+1]||r;null==A||A.focus()}}function Te(A){var e;(null==(e=ae("allowKeyboardControl"))||e)&&("Escape"===A.key?Ce("escapePress"):"ArrowRight"===A.key?Ce("arrowRightPress"):"ArrowLeft"===A.key&&Ce("arrowLeftPress"))}function Ke(A,e,t){const i=(e,i)=>{const n=e.target;A.contains(n)&&((!t||t(n))&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),null==i||i(e))};document.addEventListener("pointerdown",i,!0),document.addEventListener("mousedown",i,!0),document.addEventListener("pointerup",i,!0),document.addEventListener("mouseup",i,!0),document.addEventListener("click",(A=>{i(A,e)}),!0)}function Ne(){window.addEventListener("keyup",Te,!1),window.addEventListener("keydown",Me,!1),window.addEventListener("resize",Oe),window.addEventListener("scroll",Oe)}function Pe(){window.removeEventListener("keyup",Te),window.removeEventListener("resize",Oe),window.removeEventListener("scroll",Oe)}function Re(){const A=me("popover");A&&(A.wrapper.style.display="none")}function Ve(A,e){var t,i;let n=me("popover");n&&document.body.removeChild(n.wrapper),n=Ye(),document.body.appendChild(n.wrapper);const{title:r,description:o,showButtons:s,disableButtons:a,showProgress:l,nextBtnText:c=ae("nextBtnText")||"Next →",prevBtnText:d=ae("prevBtnText")||"← Previous",progressText:u=ae("progressText")||"{current} of {total}"}=e.popover||{};n.nextButton.innerHTML=c,n.previousButton.innerHTML=d,n.progress.innerHTML=u,r?(n.title.innerHTML=r,n.title.style.display="block"):n.title.style.display="none",o?(n.description.innerHTML=o,n.description.style.display="block"):n.description.style.display="none";const h=s||ae("showButtons"),g=l||ae("showProgress")||!1,p=(null==h?void 0:h.includes("next"))||(null==h?void 0:h.includes("previous"))||g;n.closeButton.style.display=h.includes("close")?"block":"none",p?(n.footer.style.display="flex",n.progress.style.display=g?"block":"none",n.nextButton.style.display=h.includes("next")?"block":"none",n.previousButton.style.display=h.includes("previous")?"block":"none"):n.footer.style.display="none";const f=a||ae("disableButtons")||[];null!=f&&f.includes("next")&&(n.nextButton.disabled=!0,n.nextButton.classList.add("driver-popover-btn-disabled")),null!=f&&f.includes("previous")&&(n.previousButton.disabled=!0,n.previousButton.classList.add("driver-popover-btn-disabled")),null!=f&&f.includes("close")&&(n.closeButton.disabled=!0,n.closeButton.classList.add("driver-popover-btn-disabled"));const m=n.wrapper;m.style.display="block",m.style.left="",m.style.top="",m.style.bottom="",m.style.right="",m.id="driver-popover-content",m.setAttribute("role","dialog"),m.setAttribute("aria-labelledby","driver-popover-title"),m.setAttribute("aria-describedby","driver-popover-description");const B=n.arrow;B.className="driver-popover-arrow";const w=(null==(t=e.popover)?void 0:t.popoverClass)||ae("popoverClass")||"";m.className=`driver-popover ${w}`.trim(),Ke(n.wrapper,(t=>{var i,n,r;const o=t.target,s=(null==(i=e.popover)?void 0:i.onNextClick)||ae("onNextClick"),a=(null==(n=e.popover)?void 0:n.onPrevClick)||ae("onPrevClick"),l=(null==(r=e.popover)?void 0:r.onCloseClick)||ae("onCloseClick");return o.classList.contains("driver-popover-next-btn")?s?s(A,e,{config:ae(),state:me()}):Ce("nextClick"):o.classList.contains("driver-popover-prev-btn")?a?a(A,e,{config:ae(),state:me()}):Ce("prevClick"):o.classList.contains("driver-popover-close-btn")?l?l(A,e,{config:ae(),state:me()}):Ce("closeClick"):void 0}),(A=>!(null!=n&&n.description.contains(A))&&!(null!=n&&n.title.contains(A))&&"string"==typeof A.className&&A.className.includes("driver-popover"))),fe("popover",n);const v=(null==(i=e.popover)?void 0:i.onPopoverRender)||ae("onPopoverRender");v&&v(n,{config:ae(),state:me()}),Ze(A,e),de(m);const C=A.classList.contains("driver-dummy-element"),b=ce([m,...C?[]:[A]]);b.length>0&&b[0].focus()}function Ge(){const A=me("popover");if(null==A||!A.wrapper)return;const e=A.wrapper.getBoundingClientRect(),t=ae("stagePadding")||0,i=ae("popoverOffset")||0;return{width:e.width+t+i,height:e.height+t+i,realWidth:e.width,realHeight:e.height}}function je(A,e){const{elementDimensions:t,popoverDimensions:i,popoverPadding:n,popoverArrowDimensions:r}=e;return"start"===A?Math.max(Math.min(t.top-n,window.innerHeight-i.realHeight-r.width),r.width):"end"===A?Math.max(Math.min(t.top-(null==i?void 0:i.realHeight)+t.height+n,window.innerHeight-(null==i?void 0:i.realHeight)-r.width),r.width):"center"===A?Math.max(Math.min(t.top+t.height/2-(null==i?void 0:i.realHeight)/2,window.innerHeight-(null==i?void 0:i.realHeight)-r.width),r.width):0}function ze(A,e){const{elementDimensions:t,popoverDimensions:i,popoverPadding:n,popoverArrowDimensions:r}=e;return"start"===A?Math.max(Math.min(t.left-n,window.innerWidth-i.realWidth-r.width),r.width):"end"===A?Math.max(Math.min(t.left-(null==i?void 0:i.realWidth)+t.width+n,window.innerWidth-(null==i?void 0:i.realWidth)-r.width),r.width):"center"===A?Math.max(Math.min(t.left+t.width/2-(null==i?void 0:i.realWidth)/2,window.innerWidth-(null==i?void 0:i.realWidth)-r.width),r.width):0}function Ze(A,e){const t=me("popover");if(!t)return;const{align:i="start",side:n="left"}=(null==e?void 0:e.popover)||{},r=i,o="driver-dummy-element"===A.id?"over":n,s=ae("stagePadding")||0,a=Ge(),l=t.arrow.getBoundingClientRect(),c=A.getBoundingClientRect(),d=c.top-a.height;let u=d>=0;const h=window.innerHeight-(c.bottom+a.height);let g=h>=0;const p=c.left-a.width;let f=p>=0;const m=window.innerWidth-(c.right+a.width);let B=m>=0;const w=!u&&!g&&!f&&!B;let v=o;if("top"===o&&u?B=f=g=!1:"bottom"===o&&g?B=f=u=!1:"left"===o&&f?B=u=g=!1:"right"===o&&B&&(f=u=g=!1),"over"===o){const A=window.innerWidth/2-a.realWidth/2,e=window.innerHeight/2-a.realHeight/2;t.wrapper.style.left=`${A}px`,t.wrapper.style.right="auto",t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto"}else if(w){const A=window.innerWidth/2-(null==a?void 0:a.realWidth)/2,e=10;t.wrapper.style.left=`${A}px`,t.wrapper.style.right="auto",t.wrapper.style.bottom=`${e}px`,t.wrapper.style.top="auto"}else if(f){const A=Math.min(p,window.innerWidth-(null==a?void 0:a.realWidth)-l.width),e=je(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.left=`${A}px`,t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.right="auto",v="left"}else if(B){const A=Math.min(m,window.innerWidth-(null==a?void 0:a.realWidth)-l.width),e=je(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.right=`${A}px`,t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.left="auto",v="right"}else if(u){const A=Math.min(d,window.innerHeight-a.realHeight-l.width);let e=ze(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.top=`${A}px`,t.wrapper.style.left=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.right="auto",v="top"}else if(g){const A=Math.min(h,window.innerHeight-(null==a?void 0:a.realHeight)-l.width);let e=ze(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.left=`${e}px`,t.wrapper.style.bottom=`${A}px`,t.wrapper.style.top="auto",t.wrapper.style.right="auto",v="bottom"}w?t.arrow.classList.add("driver-popover-arrow-none"):We(r,v,A)}function We(A,e,t){const i=me("popover");if(!i)return;const n=t.getBoundingClientRect(),r=Ge(),o=i.arrow,s=r.width,a=window.innerWidth,l=n.width,c=n.left,d=r.height,u=window.innerHeight,h=n.top,g=n.height;o.className="driver-popover-arrow";let p=e,f=A;"top"===e?(c+l<=0?(p="right",f="end"):c+l-s<=0&&(p="top",f="start"),c>=a?(p="left",f="end"):c+s>=a&&(p="top",f="end")):"bottom"===e?(c+l<=0?(p="right",f="start"):c+l-s<=0&&(p="bottom",f="start"),c>=a?(p="left",f="start"):c+s>=a&&(p="bottom",f="end")):"left"===e?(h+g<=0?(p="bottom",f="end"):h+g-d<=0&&(p="left",f="start"),h>=u?(p="top",f="end"):h+d>=u&&(p="left",f="end")):"right"===e&&(h+g<=0?(p="bottom",f="start"):h+g-d<=0&&(p="right",f="start"),h>=u?(p="top",f="start"):h+d>=u&&(p="right",f="end")),p?(o.classList.add(`driver-popover-arrow-side-${p}`),o.classList.add(`driver-popover-arrow-align-${f}`)):o.classList.add("driver-popover-arrow-none")}function Ye(){const A=document.createElement("div");A.classList.add("driver-popover");const e=document.createElement("div");e.classList.add("driver-popover-arrow");const t=document.createElement("header");t.id="driver-popover-title",t.classList.add("driver-popover-title"),t.style.display="none",t.innerText="Popover Title";const i=document.createElement("div");i.id="driver-popover-description",i.classList.add("driver-popover-description"),i.style.display="none",i.innerText="Popover description is here";const n=document.createElement("button");n.type="button",n.classList.add("driver-popover-close-btn"),n.setAttribute("aria-label","Close"),n.innerHTML="×";const r=document.createElement("footer");r.classList.add("driver-popover-footer");const o=document.createElement("span");o.classList.add("driver-popover-progress-text"),o.innerText="";const s=document.createElement("span");s.classList.add("driver-popover-navigation-btns");const a=document.createElement("button");a.type="button",a.classList.add("driver-popover-prev-btn"),a.innerHTML="← Previous";const l=document.createElement("button");return l.type="button",l.classList.add("driver-popover-next-btn"),l.innerHTML="Next →",s.appendChild(a),s.appendChild(l),r.appendChild(o),r.appendChild(s),A.appendChild(n),A.appendChild(e),A.appendChild(t),A.appendChild(i),A.appendChild(r),{wrapper:A,arrow:e,title:t,description:i,footer:r,previousButton:a,nextButton:l,closeButton:n,footerButtons:s,progress:o}}function Xe(){var A;const e=me("popover");e&&(null==(A=e.wrapper.parentElement)||A.removeChild(e.wrapper))}function Je(A={}){function e(){ae("allowClose")&&l()}function t(){const A=me("activeIndex"),e=ae("steps")||[];if("undefined"==typeof A)return;const t=A+1;e[t]?a(t):l()}function i(){const A=me("activeIndex"),e=ae("steps")||[];if("undefined"==typeof A)return;const t=A-1;e[t]?a(t):l()}function n(A){(ae("steps")||[])[A]?a(A):l()}function r(){var A;if(me("__transitionCallback"))return;const e=me("activeIndex"),t=me("__activeStep"),n=me("__activeElement");if("undefined"==typeof e||"undefined"==typeof t||"undefined"==typeof me("activeIndex"))return;const r=(null==(A=t.popover)?void 0:A.onPrevClick)||ae("onPrevClick");if(r)return r(n,t,{config:ae(),state:me()});i()}function o(){var A;if(me("__transitionCallback"))return;const e=me("activeIndex"),i=me("__activeStep"),n=me("__activeElement");if("undefined"==typeof e||"undefined"==typeof i)return;const r=(null==(A=i.popover)?void 0:A.onNextClick)||ae("onNextClick");if(r)return r(n,i,{config:ae(),state:me()});t()}function s(){me("isInitialized")||(fe("isInitialized",!0),document.body.classList.add("driver-active",ae("animate")?"driver-fade":"driver-simple"),Ne(),ve("overlayClick",e),ve("escapePress",e),ve("arrowLeftPress",r),ve("arrowRightPress",o))}function a(A=0){var e,t,i,n,r,o,s,c;const d=ae("steps");if(!d)return console.error("No steps to drive through"),void l();if(!d[A])return void l();fe("__activeOnDestroyed",document.activeElement),fe("activeIndex",A);const u=d[A],h=d[A+1],g=d[A-1],p=(null==(e=u.popover)?void 0:e.doneBtnText)||ae("doneBtnText")||"Done",f=ae("allowClose"),m="undefined"!=typeof(null==(t=u.popover)?void 0:t.showProgress)?null==(i=u.popover)?void 0:i.showProgress:ae("showProgress"),B=((null==(n=u.popover)?void 0:n.progressText)||ae("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${A+1}`).replace("{{total}}",`${d.length}`),w=(null==(r=u.popover)?void 0:r.showButtons)||ae("showButtons"),v=["next","previous",...f?["close"]:[]].filter((A=>!(null!=w&&w.length)||w.includes(A))),C=(null==(o=u.popover)?void 0:o.onNextClick)||ae("onNextClick"),b=(null==(s=u.popover)?void 0:s.onPrevClick)||ae("onPrevClick"),y=(null==(c=u.popover)?void 0:c.onCloseClick)||ae("onCloseClick");Se({...u,popover:{showButtons:v,nextBtnText:h?void 0:p,disableButtons:[...g?[]:["previous"]],showProgress:m,progressText:B,onNextClick:C||(()=>{h?a(A+1):l()}),onPrevClick:b||(()=>{a(A-1)}),onCloseClick:y||(()=>{l()}),...(null==u?void 0:u.popover)||{}}})}function l(A=!0){const e=me("__activeElement"),t=me("__activeStep"),i=me("__activeOnDestroyed"),n=ae("onDestroyStarted");if(A&&n){const A=!e||"driver-dummy-element"===(null==e?void 0:e.id);return void n(A?void 0:e,t,{config:ae(),state:me()})}const r=(null==t?void 0:t.onDeselected)||ae("onDeselected"),o=ae("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),Pe(),Xe(),Le(),ke(),be(),Be(),e&&t){const A="driver-dummy-element"===e.id;r&&r(A?void 0:e,t,{config:ae(),state:me()}),o&&o(A?void 0:e,t,{config:ae(),state:me()})}i&&i.focus()}return se(A),{isActive:()=>me("isInitialized")||!1,refresh:Oe,drive:(A=0)=>{s(),a(A)},setConfig:se,setSteps:A=>{Be(),se({...ae(),steps:A})},getConfig:ae,getState:me,getActiveIndex:()=>me("activeIndex"),isFirstStep:()=>0===me("activeIndex"),isLastStep:()=>{const A=ae("steps")||[],e=me("activeIndex");return void 0!==e&&e===A.length-1},getActiveStep:()=>me("activeStep"),getActiveElement:()=>me("activeElement"),getPreviousElement:()=>me("previousElement"),getPreviousStep:()=>me("previousStep"),moveNext:t,movePrevious:i,moveTo:n,hasNextStep:()=>{const A=ae("steps")||[],e=me("activeIndex");return void 0!==e&&A[e+1]},hasPreviousStep:()=>{const A=ae("steps")||[],e=me("activeIndex");return void 0!==e&&A[e-1]},highlight:A=>{s(),Se({...A,popover:A.popover?{showButtons:[],showProgress:!1,progressText:"",...A.popover}:void 0})},destroy:()=>{l(!1)}}}let $e,qe,At=0,et={index:At,driver:!0};const tt=Je({steps:[{element:"#Guide_1_1",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_4",popover:{title:"Title",description:"Description"}},{element:".Guide_1_5",popover:{title:"Title",description:"Description"}},{element:".Guide_1_6",popover:{title:"Title",description:"Description"}},{element:".Guide_1_7",popover:{title:"Title",description:"Description"}},{element:".Guide_1_8",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_8",popover:{title:"Title",description:"Description"}},{element:".Guide_1_10",popover:{title:"Title",description:"Description"}},{element:".Guide_1_11",popover:{title:"Title",description:"Description"}},{element:".Guide_1_8",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_14",popover:{title:"Title",description:"Description"}},{element:".Guide_1_15",popover:{title:"Title",description:"Description"}},{element:".Guide_1_16",popover:{title:"Title",description:"Description"}},{element:".Guide_1_17",popover:{title:"Title",description:"Description"}},{element:".Guide_1_18",popover:{title:"Title",description:"Description"}},{element:".Guide_1_19",popover:{title:"Title",description:"Description"}}],allowClose:!1,showButtons:!1,stagePadding:10,stageRadius:5,allowKeyboardControl:!0,disableActiveInteraction:!1,overlayOpacity:.4,overlay:!0,onPopoverRender:(A,e)=>{console.log(A,e),qe&&qe.classList.remove("Guide_"),A.previousButton.style.display="none",e.state.activeIndex>=1&&e.state.activeIndex<=2||e.state.activeIndex>=18&&e.state.activeIndex<=19?(A.footer.style.display="block",it(e.state.activeElement)):(A.footer.style.display="none",nt(e.state.activeElement)),At=tt.getState().activeIndex,et.index=At,$e?.commit("setGuide",et),qe=e.state.activeElement,qe.classList.add("Guide_")},onDestroyStarted:()=>{$e?.commit("setGuide",et),tt.destroy()},onDestroyed:()=>{}});function it(A){A.style.posiiton="relative";const e=document.getElementsByClassName("driver-mask__")?.[0];if(e);else{const e=document.createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.backgroundColor="rgba(0, 0, 0, 0)",e.style.zIndex="9999",e.classList.add("driver-mask__"),A.appendChild(e)}}function nt(A){const e=document.getElementsByClassName("driver-mask__")?.[0];e&&e.remove()}const rt=()=>{$e=(0,KA.oR)();let A={index:At};$e?.commit("setGuide",A)};var ot=t(8552),st=(0,n.aZ)({components:{scaleImage:re},props:["msg","sketchCatecoryList"],setup(){let A=(0,Y.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),e=(0,Y.iH)(),t=(0,Y.iH)([]),i=(0,Y.iH)([]),r=(0,Y.iH)([]),o=(0,Y.iH)(!1),s=(0,Y.iH)(""),a=(0,Y.iH)(1),l=(0,Y.iH)(""),c=(0,Y.iH)(20),d=(0,Y.iH)(0),u=(0,Y.iH)(""),h=(0,Y.iH)(null),g=(0,KA.oR)(),p=(0,Y.iH)([]),f=(0,Y.iH)([]),m=(0,Y.iH)(),B=(0,Y.iH)(""),w=(0,Y.iH)({num:"",optype:!1,name:(0,ot.QT)().t("Generate.Model")+"1"}),v=(0,n.Fl)((()=>g.state.UploadFilesModule.printboard)),C=(0,Y.iH)({}),b=(0,Y.iH)(!1),y=(0,Y.iH)(!1),_=(0,Y.iH)(),Q=(0,n.f3)("driver__"),{t:U}=(0,ot.QT)(),F=(0,Y.iH)();return{imgList:t,selectImgList:i,selectImgListIds:r,isShowLoading:o,selectCode:s,currentPage:a,searchPictureName:l,pageSize:c,total:d,searcMaterialhName:u,designType:h,checkbox:A,store:g,fileList:p,sketchboardList:f,collectionElementid:m,level2Type:B,checkboxImage:e,printModel:w,loadingShow:b,printBoards:v,workspace:C,inputShow:y,inputTime:_,driver__:Q,t:U,isTest:F}},data(A){return{indicator:(0,n.h)(LA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:A.msg,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodboarList:(0,n.Fl)((()=>(0,KA.oR)().state.UploadFilesModule.moodboard)),type_:{type1:"generate",type2:A.msg}}},mounted(){this.token=(0,PA.ej)("token")||"";let A=(0,PA.ej)("isTest");this.isTest=JSON.parse(A)||"",this.uploadUrl=(0,RA.M$)(),this.workspace=this.store.state.Workspace.workspace},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.sketchCatecoryList)if(t.value===A){e=t.label;break}return e}}},methods:{generageAdd(A){A.type_=this.type_,A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A),console.log(this.fileList);let e=this.store.state.UploadFilesModule.moodboard;e.length>=2&&this.driver__.driver&&tt.moveNext()},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||OA.ZP.info(this.t("Generate.jsContent1"));const t=A.size/1024/1024<2;return t||OA.ZP.info(this.t("Generate.jsContent2")),e&&t||MA.Z.LIST_IGNORE},setKeyword(A){this.checkbox.forEach((A=>{A.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[A].type=!0,this.$emit("generateCheckbox",this.checkbox[0].type),this.checkboxImage=this.checkbox[1].type,this.checkboxImage&&this.sketchboardList.forEach((A=>{A.checked=!1}))}))},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(A){this.printModel=3==A?{num:"Generate",optype:!1,name:this.t("Generate.Generate")}:{num:A,optype:!1,name:this.t("Generate.Model")+A}},getgenerate(){if(this.isTest)return void OA.ZP.info(this.t("isTest.available"));if(!this.searchPictureName)return void OA.ZP.info(this.t("Generate.jsContent5"));{let A=this.searchPictureName.split(/\s+/).length;if(A>75)return void OA.ZP.info(this.t("Generate.jsContent4"))}let A={generateType:"text",designType:"",collectionElementId:"",level1Type:this.upload.level1Type,level2Type:"",text:this.searchPictureName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:1,gender:""};this.loadingShow=!0,TA.V.axiosPost(TA.V.httpUrls.sketchAndPrintGenerate,A).then((A=>{if(A){let e;this.fileList=[],A.generatedCollectionItems.forEach(((t,i)=>{e={id:A.generatedCollectionItems[i].generateItemId,imgUrl:A.generatedCollectionItems[i].generateItemUrl,like:A.generatedCollectionItems[i].isLiked},this.fileList.push(e),this.loadingShow=!1})),this.driver__.driver&&tt.moveTo(5)}})).catch((A=>{this.loadingShow=!1}))},ifMaximumLength(){clearTimeout(this.inputTime);let A=document.getElementsByClassName("generate")[0].getElementsByClassName("input_box")[0];A.getElementsByClassName("search_input")[0];this.inputTime=setTimeout((()=>{this.searchPictureName?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.id=A.data.id,e.imgUrl=A.data.url,e.resData=A.data,e.type_="upload",e.id_=NA.id++,e.category=this.sketchCatecoryList?.[0]?.name,e.categoryValue=this.sketchCatecoryList?.[0]?.value;let t=this.sketchboardList.filter((A=>"done"===A.status)),i=this.store.state.UploadFilesModule.sketchboard;i.length>=8?OA.ZP.info(this.t("Generate.jsContent6")):this.sketchboardList=t}else if("error"===e.status){let A=-1;this.sketchboardList.forEach(((t,i)=>{e.uid===t.uid&&(A=i)})),A>-1&&this.sketchboardList.splice(A,1),OA.ZP.warning(e.name+this.t("Generate.jsContent7"))}},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.category=e.name,A.categoryShow=!1},hiddenFileCategory(){for(let A of this.sketchboardList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchboardItem(A){this.checkboxImage||(A.checked?A.checked=!1:(this.sketchboardList.forEach((A=>{A.checked&&(A.checked=!1)})),A.checked=!0),this.collectionElementid=A.id,this.level2Type=A.category)},deleteFile(A){if("generate"==A.type_||"material"==A.type_)this.store.commit("addGenerateMaterialFils",A);else{let e;this.sketchboardList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,i)=>{t.id_==A.id_&&(e=i)})),this.sketchboardList.splice(e,1),this.store.commit("setSketchboardFile",this.sketchboardList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Moodboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosPost(TA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosGet(TA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},scaleImage(){let A=this.$refs.scaleImage;A.init(this.fileList)},closeModal(){this.searchPictureName="",this.designType=null,this.selectImgList=[],this.selectImgListIds=[],this.imgList=[],this.currentPage=1,this.total=0}}});const at=(0,ie.Z)(st,[["render",HA]]);var lt=at;const ct=A=>((0,n.dD)("data-v-ddb5499e"),A=A(),(0,n.Cn)(),A),dt={class:"collection_modal_item"},ut={class:"modal_left"},ht={class:"switch_type_list"},gt={class:"moodboard_body"},pt={class:"upload_img_body scroll_style"},ft={class:"upload_item"},mt={class:"upload_file_item_content"},Bt={class:"upload_file_item_content"},wt=["src"],vt=["onClick"],Ct={class:"upload_file_item upload_component"},bt={class:"upload_tip_block"},yt=ct((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),_t=[yt],Qt={class:"upload_max_tip"},Ut=ct((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),Ft={class:"modal_right"},xt={class:"modal_layout Guide_1_7"},Et={class:"modal_text"},kt=["onClick"],It=ct((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),St={class:"modal_accomplish"},Dt={class:"modal_text"},Ht=ct((()=>(0,n._)("div",null,"Layout of selected moodboard",-1))),Lt={class:"modal_img_max"},Ot=["src"],Mt={key:1,class:"modal_img"},Tt=["src"],Kt={class:"mark_loading"};function Nt(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Material"),u=(0,n.up)("Generate"),h=(0,n.up)("layout"),g=(0,n.Q2)("lazy"),p=(0,n.Q2)("modelImg");return(0,n.wg)(),(0,n.iD)("div",dt,[(0,n._)("div",ut,[(0,n._)("div",ht,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_4",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Generate")),1)],2)]),(0,n.wy)((0,n._)("div",gt,[(0,n._)("div",pt,[(0,n._)("div",ft,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:e},[(0,n.wy)((0,n._)("div",mt,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",Bt,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,wt),(0,n._)("div",{class:"delete_file_block",onClick:t=>A.deleteFile(e)},(0,r.zw)(A.$t("MoodboardUpload.Delete")),9,vt)],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",Ct,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"before-upload":A.beforeUpload,"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),multiple:"",maxCount:8-A.moodboarList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[4]||(e[4]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",bt,_t,512),[[o.F8,A.moodboarList.length<8]])])),_:1},8,["action","data","headers","before-upload","file-list","maxCount"])],512),[[o.F8,A.moodboarList.length<8]])])]),(0,n._)("div",Qt,[Ut,(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(d,{ref:"Material",msg:"Moodboard"},null,512),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Generate",msg:"Moodboard"},null,512),[[o.F8,3==A.openClick]])]),(0,n.wy)((0,n._)("div",Ft,[(0,n._)("div",xt,[(0,n._)("div",Et,[(0,n._)("div",null,(0,r.zw)(A.$t("MoodboardUpload.Thumbnail")),1),(0,n._)("div",{class:"modal_btn started_btn",onClick:e[5]||(e[5]=e=>A.layout())},(0,r.zw)(A.$t("MoodboardUpload.layout")),1)]),(0,n._)("div",{class:(0,r.C_)(["modal_img",[A.driver__.driver?"hideEvents":""]])},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.moodboarList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:t=>A.deleteFile(e)},[(0,n.wy)((0,n._)("img",null,null,512),[[g,e.imgUrl]]),It],8,kt)))),128))],2)]),(0,n.wy)((0,n._)("div",St,[(0,n._)("div",Dt,[Ht,(0,n._)("div",{class:"modal_btn started_btn",onClick:e[6]||(e[6]=(0,o.iM)((e=>A.changeTemplateModal()),["stop"]))},"Edit")]),(0,n._)("div",Lt,[A.modalImg[0]?.id?((0,n.wg)(),(0,n.iD)("div",Mt,[(0,n._)("img",{src:A.modalImg[0].imgUrl},null,8,Tt)])):((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["modal_img",{active:A.flex_direction}]),id:"modal_img"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([[A.moodb_className[t]],"modal_imgItem"])},[(0,n.wy)((0,n._)("img",{src:e.imgUrl},null,8,Ot),[[p]])],2)))),256))],2)),(0,n.wy)((0,n._)("div",Kt,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])])],512),[[o.F8,A.moodboarList.length>1||A.edieShow]])],512),[[o.F8,A.moodboarList.length]]),(0,n.Wm)(h,{ref:"layout",moodb_className:A.moodb_className,flex_direction:A.flex_direction,onSetmoodbClass:A.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"])])}var Pt=t(5929);const Rt={class:"my_material_modal"},Vt={class:"my_material_header"},Gt={class:"my_material_header_right"},jt={class:"content_search_block"},zt=["placeholder"],Zt=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),Wt=[Zt],Yt={class:"my_material_content"},Xt={class:"material_content_body scroll_style"},Jt=["src","onClick"],$t={key:0,class:"operate_file_block"},qt={class:"select_img_type"},Ai=["onClick"],ei={class:"category_list"},ti=["onClick"],ii={key:1,class:"pin_block"},ni={class:"material_content_list_loding"},ri=(0,n._)("img",{src:Pt,alt:""},null,-1),oi=[ri],si={class:"no_data_block loading_block"};function ai(A,e,t,i,s,a){const l=(0,n.up)("a-checkbox"),c=(0,n.up)("a-spin"),d=(0,n.Q2)("observe");return(0,n.wg)(),(0,n.iD)("div",Rt,[(0,n._)("div",Vt,[(0,n._)("div",Gt,[(0,n._)("div",jt,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:A.$t("Material.inputContent1"),"onUpdate:modelValue":e[0]||(e[0]=e=>A.searchPictureName=e),onKeydown:e[1]||(e[1]=(0,o.D2)((e=>A.getLibraryList("")),["enter"]))},null,40,zt),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"search_icon_block",onClick:e[2]||(e[2]=(0,o.iM)((e=>A.getLibraryList("")),["stop"]))},Wt)])])]),(0,n._)("div",Yt,[(0,n._)("div",Xt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.imgList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)(["content_img_item",[e?.checked?"active":"","Moodboard"==A.selectCode?"moodb":""]])},[(0,n._)("img",{src:e?.imgUrl,onClick:(0,o.iM)((t=>A.selectImgItem(e)),["stop"])},null,8,Jt),"Sketchboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",$t,[(0,n._)("div",qt,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e?.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e?.categoryShow?"icon_rotate":""])},null,2)],8,Ai),(0,n.wy)((0,n._)("div",ei,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.disignTypeList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e?.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.value),11,ti)))),128))],512),[[o.F8,e?.categoryShow]])])])):(0,n.kq)("",!0),"Sketchboard"==A.selectCode||"Printboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",ii,[(0,n.Wm)(l,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("Material.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])):(0,n.kq)("",!0)],2)))),128)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",ni,oi)),[[o.F8,A.total>A.imgList?.length],[d]])]),(0,n.wy)((0,n._)("div",si,[(0,n.Wm)(c,{size:"large"})],512),[[o.F8,A.isShowLoading]])])])}var li=(0,n.aZ)({props:["msg","disignTypeList"],setup(A){let e=(0,Y.iH)(!1),t=(0,Y.iH)([]),i=(0,Y.iH)(!1),n=(0,Y.iH)(""),r=(0,Y.iH)(1),o=(0,Y.iH)(""),s=(0,Y.iH)(12),a=(0,Y.iH)(0),l=(0,Y.iH)(""),c=(0,Y.iH)(null),d=(0,Y.iH)({}),{t:u}=(0,ot.QT)();return{myMaterialModalShow:e,imgList:t,isShowLoading:i,selectCode:n,currentPage:r,searchPictureName:o,pageSize:s,total:a,searcMaterialhName:l,designType:c,workspace:d,t:u}},data(A){return{type_:{type1:"material",type2:A.msg},store:(0,KA.oR)()}},directives:{observe:{mounted(A,e){const t=new IntersectionObserver(n,{root:null,threshold:[.1]});t.observe(A);let i=e.instance;function n(A,e){A.forEach((A=>{A.isIntersecting&&i.getLibraryList("di")}))}}}},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.disignTypeList)if(t.value===A){e=t.label;break}return e}},sketchboardList(){return this.store.state.UploadFilesModule.sketchMaterialFiles},moodboardList(){return this.store.state.UploadFilesModule.moodboardMaterialFiles},printboardList(){return this.store.state.UploadFilesModule.printMaterialFiles}},mounted(){},watch:{sketchboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}},moodboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}},printboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}}},methods:{init(A){this.selectCode=A,this.getLibraryList("")},selectImgItem(A){A.type_=this.type_,A.resData=JSON.parse(JSON.stringify(A)),this.imgList.forEach((A=>{A.categoryShow=!1})),A.jsContent1=this.t("uploadFile.jsContent1"),this.store.commit("addGenerateMaterialFils",A)},changePage(A,e){this.currentPage=A,this.pageSize=e,this.getLibraryList("")},handleChange(){this.getLibraryList("")},getLibraryList(A){let e=this.store.state.Workspace.workspace;"di"==A&&(this.currentPage=void 0!=this.imgList?.[0]?.id?this.imgList?.length/this.pageSize+1:1);let t={level1Type:this.selectCode,modelSex:e?.sex,page:this.currentPage,pictureName:this.searchPictureName,size:this.pageSize};this.isShowLoading=!0,TA.V.axiosPost(TA.V.httpUrls.queryLibraryPage,t).then((A=>{let e=[];A.content.forEach(((A,t)=>{let i;"Sketchboard"==this.type_.type2?(i=this.store.state.UploadFilesModule.sketchMaterialFiles,A.categoryValue=A.level2TypeEnum.value,A.category=A.level2Type,A.categoryShow=!1):"Moodboard"==this.type_.type2?i=this.store.state.UploadFilesModule.moodboardMaterialFiles:"Printboard"==this.type_.type2&&(i=this.store.state.UploadFilesModule.printMaterialFiles),A.imgUrl=A.url,A.id_||(A.id_=NA.id++,i.forEach((e=>{A.id==e.id&&(A.id_=e.id_?e.id_:NA.id++,A.checked=!0,A.pin=e.pin)}))),e.push(A)})),e[e.length-1].id==this.imgList[this.imgList.length-1]?.id||this.imgList.push(...e),this.total=A.total,this.isShowLoading=!1})).catch((A=>{this.isShowLoading=!1}))},closeModal(){this.myMaterialModalShow=!1,this.searchPictureName="",this.designType=null,this.imgList=[],this.currentPage=1,this.pageSize=10,this.total=0},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.categoryValue=e.value,A.category=e.name;for(let t of this.imgList)t.categoryShow=!1;this.setSketchLibrary(A)},hiddenFileCategory(){for(let A of this.imgList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchLibrary(A){let e={libraryId:A.id,level2Type:A.category};TA.V.axiosPost(TA.V.httpUrls.setSketchLibrary,e).then((A=>{})).catch((A=>{}))}}});const ci=(0,ie.Z)(li,[["render",ai]]);var di=ci;const ui={class:"mood_template_component"},hi={class:"mood_template_item template_three"},gi={class:"mood_template_item template_four"},pi={class:"mood_template_item template_five"},fi={class:"mood_template_item template_six"},mi={class:"mood_template_item template_seven"},Bi={class:"mood_template_item template_eight"},wi={class:"mood_template_item template_nine"},vi={class:"mood_template_item template_ten"};function Ci(A,e,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",ui,[(0,n.wy)((0,n._)("div",hi,[(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4)],512),[[o.F8,3==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",gi,[(0,n._)("div",{class:"img_template four_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4)],512),[[o.F8,4==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",pi,[(0,n._)("div",{class:"img_template five_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4)],512),[[o.F8,5==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",fi,[(0,n._)("div",{class:"img_template six_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4)],512),[[o.F8,6==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",mi,[(0,n._)("div",{class:"img_template seven_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4)],512),[[o.F8,7==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",Bi,[(0,n._)("div",{class:"img_template eight_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4)],512),[[o.F8,8==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",wi,[(0,n._)("div",{class:"img_template nine_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_9",style:(0,r.j5)({backgroundImage:`url(${A.fileList[8]?.imgUrl})`})},null,4)],512),[[o.F8,9==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",vi,[(0,n._)("div",{class:"img_template ten_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_9",style:(0,r.j5)({backgroundImage:`url(${A.fileList[8]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_10",style:(0,r.j5)({backgroundImage:`url(${A.fileList[9]?.imgUrl})`})},null,4)],512),[[o.F8,10==A.moodTemplateId]])])}var bi=(0,n.aZ)({props:["fileList","moodTemplateId"],setup(){}});const yi=(0,ie.Z)(bi,[["render",Ci],["__scopeId","data-v-3174c5e2"]]);var _i=yi;const Qi={class:"layout_content"},Ui={class:"collection_title"},Fi={class:"collection_title_text"},xi={class:"layout_title"},Ei=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),ki=[Ei],Ii={class:"layout_nav"},Si=["onClick"],Di=["src"],Hi=["onClick"],Li=["src"],Oi={class:"layout_btn"},Mi={class:"layout_btn_top"},Ti={class:"layout_btn_bottom"},Ki={class:"layout_btn_left"},Ni={class:"layout_btn_right"},Pi={class:"layout_rotote"},Ri={class:"layout_translate"},Vi={class:"layout_angle_tr"},Gi={class:"layout_angle_tl"},ji={class:"layout_angle_br"},zi={class:"layout_angle_bl"},Zi={class:"layout_left"},Wi={class:"layout_left_text"},Yi=["onClick"],Xi={class:"mark_loading"};function Ji(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:A.layout,"onUpdate:visible":e[2]||(e[2]=e=>A.layout=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",Qi,[(0,n._)("div",Ui,[(0,n._)("div",Fi,[(0,n._)("div",xi,(0,r.zw)(A.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},ki),(0,n._)("div",Ii,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)({active:e.setPitch}),onClick:i=>A.setpitch(e,t)},[(0,n._)("img",{src:e.imgUrl},null,8,Di)],10,Si)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:A.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)([A.moodbClassName[t],"modal_imgItem"]),onClick:i=>A.setpitch(e,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:e.imgUrl,draggable:"false"},null,8,Li),[[u]]),(0,n.wy)((0,n._)("ul",Oi,[(0,n.wy)((0,n._)("li",Mi,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ti,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ki,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ni,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Pi,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ri,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Vi,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Gi,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",ji,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",zi,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,e.setPitch]])],10,Hi)),[[m,t]]))),128))],2),(0,n._)("div",Zi,[(0,n._)("div",Wi,(0,r.zw)(A.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.moodbList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>A.setmoodb(e)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e,((A,e)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([A,"layout_left_item"])},null,2)))),256))],8,Yi)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:e[1]||(e[1]=e=>A.submitTemplate())},(0,r.zw)(A.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",Xi,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]]),(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"before-upload":A.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var $i={moodb_:[[["wh4"]],[["wh4","wh4"],["wh8","wh8"]],[["wh4","w1h2","w1h2"],["w1h2","w1h2","wh4"],["w2h1","w2h1","wh4"],["wh4","w2h1","w2h1"]],[["wh1","wh1","w1h2","wh4"],["w1h2","wh1","wh1","wh4"],["wh4","wh1","wh1","w1h2"],["w1h2","w1h2","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","wh4"],["wh1","wh1","wh4","wh1","wh1"],["wh4","wh1","wh1","wh1","wh1"],["w1h2","w1h2","w1h2","wh1","wh1"],["wh1","wh1","w1h2","w1h2","w1h2"],["w1h2","w1h2","wh1","wh1","w1h2"],["w1h2","wh1","wh1","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","w1h2","w1h2"],["wh1","wh1","w1h2","wh1","wh1","w1h2"],["w1h2","w1h2","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","w2h1","w2h1"],["wh1","wh1","w2h1","w2h1","wh1","wh1"],["w2h1","w2h1","wh1","wh1","wh1","wh1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","w1h2"],["wh1","wh1","wh1","wh1","w1h2","wh1","wh1"],["wh1","wh1","w1h2","wh1","wh1","wh1","wh1"],["w1h2","wh1","wh1","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","wh1","wh1","w2h1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","wh1","wh1"]]]},qi=t(9980),An=t.n(qi),en=(t(2801),t(8675),t(7380),t(1118),t(1120)),tn=t.n(en);const nn=A=>new Promise((e=>{tn()(A,{useCORS:!0}).then((A=>{let t,i,n,r=A.toDataURL("image/jpeg",.9),o=.9,s=new Image;s.src=r,s.setAttribute("crossOrigin","Anonymous"),s.onload=function(){n=1*this.width,t=this.width,i=this.height;let A=document.createElement("canvas"),r=A.getContext("2d");Math.max(t,i)>n?t>i?(A.width=n,A.height=n*(i/t)):(A.height=n,A.width=n*(t/i)):(A.width=t,A.height=i,o=.6),r.clearRect(0,0,A.width,A.height),r.drawImage(this,0,0,A.width,A.height);let s=A.toDataURL("image/jpeg",o),a=rn(s),l=new File([a],new Date+".jpg");e(l)}}))}));function rn(A,e){let t=atob(A.split(",")[1]),i=[];for(let n=0;n{e.stopPropagation(),A.parentElement.children.forEach((A=>{A.style.left=A.offsetLeft+"px",A.style.top=A.offsetTop+"px"})),A.parentElement.children.forEach((A=>{A.classList.add("active")})),A.style.zIndex=NA.zIndex++;let t=A.style.left?A.style.left.replace(/px/g,""):0,i=A.style.top?A.style.top.replace(/px/g,""):0,n=e.offsetX,r=e.offsetY,o=e.clientX-e.offsetX-Number(t),s=e.clientY-e.offsetY-Number(i),a=!0;document.onmousemove=function(e){a&&(A.style.left=e.x-n-o+"px",A.style.top=e.y-r-s+"px",A.offsetLeft<=0&&(A.style.left="0px"),A.offsetTop<=0&&(A.style.top="0px"),A.offsetLeft+A.offsetWidth>=A.parentNode.offsetWidth&&(A.style.left=A.parentNode.offsetWidth-A.offsetWidth+"px"),A.offsetTop+A.offsetHeight>=A.parentNode.offsetHeight&&(A.style.top=A.parentNode.offsetHeight-A.offsetHeight+"px"))},document.onmouseup=function(){a=!1}}))},updated(A,e){}},compile:{mounted(A,e){A.addEventListener("mousedown",(t=>{t.stopPropagation();let i,n,r=A.parentNode.parentNode;A.parentElement.parentNode.parentNode.children.forEach((A=>{A.style.left=A.offsetLeft+"px",A.style.top=A.offsetTop+"px"})),A.parentElement.parentNode.parentNode.children.forEach((A=>{A.classList.add("active")})),"right"==e.value||("left"==e.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==e.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):e.value),"left"==e.value||"right"==e.value?(i=t.x,n=r.offsetWidth):(n=r.offsetHeight,i=t.y);let o=!0;document.onmousemove=function(A){o&&("left"==e.value?r.style.width=n+i-A.x+"px":"right"==e.value?r.style.width=n+A.x-i+"px":"top"==e.value?r.style.height=n+i-A.y+"px":"bottom"==e.value&&(r.style.height=n+A.y-i+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},document.onmouseup=function(){o=!1}}))}},rotote:{mounted(A){let e,t=!0,i=0,n=A.parentNode.parentNode;if(document.defaultView){let A=document.defaultView.getComputedStyle(n.firstElementChild,null).transform.split("(")[1].split(",");e=Number(A[3])}A.addEventListener("mousedown",(r=>{r.stopPropagation(),t=!0;var o=A.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("mousemove",(r=>{if(t){let t=s,o=a,l=r.clientX-t,c=o-r.clientY;i=Math.atan2(l,c)*(180/Math.PI),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+e+") rotateZ("+i+"deg)",A.style.transform="translate(-50%,-50%) rotateZ("+i+"deg)"}})),document.addEventListener("mouseup",(()=>{t=!1}))}));let r=!0;A.parentNode.addEventListener("mousemove",(t=>{A.parentNode.addEventListener("mousewheel",(A=>{r&&(r=!1,A.deltaY>0?e-=e<=1?.05:.1:e+=e<=1?.05:.1,e>=3?e=3:e<.2&&(e=.2),setTimeout((()=>{r=!0}),100),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+e+") rotateZ("+i+"deg)")}))}))}},angle:{mounted(A,e){let t=!1;A.addEventListener("mousedown",(i=>{i.stopPropagation(),A.parentNode.children.forEach((A=>{A.classList.add("eventNode")})),t=!0;let n,r,o=A.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2);A.parentNode.addEventListener("mousemove",(i=>{if(t){"right"==e.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY):"top"==e.value?(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY):"left"==e.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY-o.offsetHeight):"bottom"==e.value&&(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY-o.offsetHeight);let t=Math.sqrt(n*n+r*+r)/2;100-100*t/s<=50?"right"==e.value?(A.parentNode.style.borderTopLeftRadius=100-100*t/s+"%",o.style.borderTopLeftRadius=100-100*t/s+"%",A.style.left=(100-100*t/s)/3.33-1+"%",A.style.top=(100-100*t/s)/3.33-1+"%"):"top"==e.value?(A.parentNode.style.borderTopRightRadius=100-100*t/s+"%",o.style.borderTopRightRadius=100-100*t/s+"%",A.style.right=(100-100*t/s)/3.33-1+"%",A.style.left="auto",A.style.top=(100-100*t/s)/3.33-1+"%"):"bottom"==e.value?(A.parentNode.style.borderBottomRightRadius=100-100*t/s+"%",o.style.borderBottomRightRadius=100-100*t/s+"%",A.style.right=(100-100*t/s)/3.33-1+"%",A.style.top="auto",A.style.left="auto",A.style.bottom=(100-100*t/s)/3.33-1+"%"):"left"==e.value&&(A.parentNode.style.borderBottomLeftRadius=100-100*t/s+"%",o.style.borderBottomLeftRadius=100-100*t/s+"%",A.style.left=(100-100*t/s)/3.33-1+"%",A.style.top="auto",A.style.bottom=(100-100*t/s)/3.33-1+"%"):"right"==e.value?(A.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==e.value?(A.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==e.value?(A.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==e.value&&(A.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}})),document.addEventListener("mouseup",(()=>{t=!1,A.parentNode.children.forEach((A=>{A.classList.remove("eventNode")}))}))}))}},translate:{mounted(A,e,t){A.addEventListener("mousedown",(e=>{e.stopPropagation();let t=A.parentNode.parentNode;A.style.left=(A.offsetLeft+2)/t.offsetWidth*100+"%",A.style.top=(A.offsetTop+2)/t.offsetHeight*100+"%";A.style.left&&A.style.left.replace(/%/g,""),A.style.top&&A.style.top.replace(/%/g,"");let i=e.offsetX,n=e.offsetY,r=e.clientX-e.offsetX-A.offsetLeft,o=e.clientY-e.offsetY-A.offsetTop,s=!0;document.onmousemove=function(e){if(s){let s=(e.x-i+2-r)/t.offsetWidth*100+"%",a=(e.y-n+2-o)/t.offsetHeight*100+"%";A.style.left=s,A.style.top=a,A.previousSibling.style.top=a,A.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,A.offsetLeft<=0&&(A.style.left="0%",A.previousSibling.style.left="0%",t.firstChild.style.left="0%"),A.offsetTop<=0&&(A.style.top="0%",A.previousSibling.style.top="0%",t.firstChild.style.top="0%"),A.style.left.replace(/%/g,"")>=100&&(A.style.left="100%",A.previousSibling.style.left="100%",t.firstChild.style.left="100%"),A.style.top.replace(/%/g,"")>=100&&(A.style.top="100%",A.previousSibling.style.top="100%",t.firstChild.style.top="100%")}},document.onmouseup=function(){s=!1}}))}},modelImg:{mounted(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")},updated(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")}}},methods:{init(){let A=this.$parent;A=A.layoutList,this.layout=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),this.layoutList=A,this.moodbList=this.moodb[A.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(A,e){this.layoutList.forEach((A=>{A.setPitch=!1})),A.setPitch=!0,this.content&&(this.content[e].style.zIndex=NA.zIndex++)},setmoodb(A){if(this.moodbClassName=A,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(A of this.content)A.classList.remove("active"),A.style.top="",A.style.left="",A.style.right="",A.style.bottom="",A.style.width="",A.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),(0,n.Y3)().then((async()=>{let A=document.getElementById("layoutCentent"),e=await on(A),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",e);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};TA.V.axiosPost(TA.V.httpUrls.elementUpload,t,i).then((A=>{A.imgUrl=A.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",A)})).catch((A=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const an=(0,ie.Z)(sn,[["render",Ji]]);var ln=an,cn=(0,n.aZ)({components:{Material:di,MoodTemplate:_i,Generate:lt,layout:ln},setup(){const A=(0,KA.oR)();let e=(0,Y.iH)([]),t=(0,Y.iH)([]),i=(0,Y.iH)([]),r=(0,Y.iH)(!1),o=(0,Y.iH)([]),s=(0,Y.iH)(1),a=(0,Y.iH)([]),l=(0,Y.iH)(!1),c=[],d=(0,Y.iH)(!1),u=(0,Y.iH)(!1),h=(0,n.Fl)((()=>A.state.UploadFilesModule.disposeMoodboard)),g=(0,n.f3)("driver__"),p=(0,Y.iH)([]),f=(0,Y.iH)(),{t:m}=(0,ot.QT)();return{fileList:t,showFileList:i,lessenList:e,templateModal:r,templateFileList:o,openClick:s,moodb_className:a,flex_direction:l,layoutList:c,layoutOpen:d,loadingShow:u,modalImg:h,driver__:g,uploading:p,edieShow:f,t:m}},data(){return{indicator:(0,n.h)(LA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodTemplateId:"",store:(0,KA.oR)(),moodb_:$i.moodb_,moodboarList:(0,n.Fl)((()=>(0,KA.oR)().state.UploadFilesModule.moodboard))}},mounted(){this.token=(0,PA.ej)("token")||"",this.uploadUrl=(0,RA.M$)()},watch:{fileList:{handler(A,e){}},driver__:{handler(A,e){A.index>=1&&A.index<=2&&this.open(A.index)}}},directives:{modelImg:{mounted(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")},updated(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")}}},methods:{open(A){if(this.openClick=A,2==A){let A=this.$refs.Material;A.init("Moodboard")}else 3==A&&this.driver__.driver&&tt.moveNext()},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.imgUrl=A.data.url,e.resData=A.data,e.type_={type1:"upload",type2:"Moodboard"},e.id_=NA.id++;let t=this.fileList.filter((A=>"done"===A.status)),i=this.store.state.UploadFilesModule.moodboard;i.length>=8?OA.ZP.info(this.t("MoodboardUpload.jsContent1")):this.store.commit("setMoodboardFile",t)}else if("error"===e.status){let A=-1;this.fileList.forEach(((t,i)=>{e.uid===t.uid&&(A=i)})),A>-1&&this.fileList.splice(A,1),OA.ZP.warning(e.name+this.t("MoodboardUpload.jsContent2"))}},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||OA.ZP.info(this.t("MoodboardUpload.jsContent3"));const t=A.size/1024/1024<2;return t||OA.ZP.info(this.t("MoodboardUpload.jsContent4")),e&&t||MA.Z.LIST_IGNORE},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,i)=>{t.id_==A.id_&&(e=i)})),this.fileList.splice(e,1),this.store.commit("setMoodboardFile",this.fileList)}0==this.store.state.UploadFilesModule.moodboard.length&&(this.store.commit("clearMoodTemplateId"),this.layoutList=[],this.edieShow=!1)},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.moodboardFiles)),e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.disposeMoodboard)),t={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?t.generate.push(A):"material"==A.type_.type1?t.material.push(A):t.moodboard.push(A)})),this.store.commit("setMoodboardGenerateFiles",t.generate),this.store.commit("setMoodboardMaterialFiles",t.material),this.store.commit("setMoodboardFile",t.moodboard),this.store.commit("setDisposeMoodboard",e[0]),this.fileList=t.moodboard},changeTemplateModal(){if(this.modalImg[0]?.id){let A=this.$refs.layout;A.init()}else OA.ZP.info(this.t("MoodboardUpload.jsContent5"))},layout(){this.loadingShow=!0,this.edieShow=!0,this.store.commit("setDisposeMoodboard",[]);let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.moodboard));this.layoutList=A;var e=Math.round(Math.random()*(this.moodb_[A.length-1].length-1));let t=this.moodb_[A.length-1][e];0!=t.filter(((A,e)=>"w2h1"==A)).length&&A.length>4?this.flex_direction=!0:this.flex_direction=!1,1==this.moodb_[A.length-1].length||JSON.stringify(this.moodb_className)!=JSON.stringify(this.moodb_[A.length-1][e])?(2==this.moodb_[A.length-1].length?this.moodb_className=this.moodb_[A.length-1][0]:this.moodb_className=this.moodb_[A.length-1][e],this.layoutOpen=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),(0,n.Y3)().then((async()=>{let A=document.getElementById("modal_img"),e=await on(A),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",e);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};TA.V.axiosPost(TA.V.httpUrls.elementUpload,t,i).then((A=>{let e=A;e.imgUrl=A.url,e.resData=JSON.parse(JSON.stringify(e)),this.store.commit("setDisposeMoodboard",e),this.loadingShow=!1})).catch((A=>{this.loadingShow=!1})),this.driver__.driver&&tt.moveNext()}))):this.layout()},setmoodbClass(A){this.moodb_className=A}}});const dn=(0,ie.Z)(cn,[["render",Nt],["__scopeId","data-v-ddb5499e"]]);var un=dn;const hn=A=>((0,n.dD)("data-v-5f834903"),A=A(),(0,n.Cn)(),A),gn={class:"printboard_upload_modal"},pn={class:"printboard_left_upload"},fn={class:"left_upload_header"},mn={class:"upload_header_item"},Bn={class:"switch_type_list"},wn={class:"printboard_body"},vn={class:"upload_img_body"},Cn={class:"upload_item"},bn={class:"upload_file_img_block"},yn={class:"upload_file_item_content"},_n={class:"upload_file_item_content"},Qn=["onClick"],Un=hn((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),Fn=[Un],xn={class:"pin_block"},En={class:"upload_file_item upload_component"},kn={class:"upload_tip_block"},In=hn((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),Sn=[In],Dn={class:"upload_max_tip"},Hn=hn((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),Ln={class:"modal_right"},On={class:"modal_layout"},Mn={class:"modal_text"},Tn={class:"modal_img"},Kn=["onClick"],Nn=hn((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),Pn={class:"modal_accomplish"},Rn=["maxlength","readonly","placeholder"],Vn={class:"modal_img"},Gn=["src","onClick"],jn={class:"delete_like_file_block"},zn=["onClick"],Zn=["onClick"],Wn={class:"pin_block"},Yn={class:"mark_loading"};function Xn(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-checkbox"),d=(0,n.up)("a-upload"),u=(0,n.up)("Material"),h=(0,n.up)("Generate"),g=(0,n.up)("Cropper"),p=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",gn,[(0,n._)("div",pn,[(0,n._)("div",fn,[(0,n._)("div",mn,[(0,n._)("div",Bn,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Generate")),1)],2)])])]),(0,n.wy)((0,n._)("div",wn,[(0,n._)("div",vn,[(0,n._)("div",Cn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item"]),key:e},[(0,n._)("div",bn,[(0,n.wy)((0,n._)("div",yn,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",_n,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:"upload_img",key:e.imgUrl})),[[p,e.imgUrl]]),(0,n._)("div",{class:"delete_like_file_block",onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},Fn,8,Qn)],512),[[o.F8,"done"===e?.status]])]),(0,n.wy)((0,n._)("div",xn,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",En,[(0,n.Wm)(d,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":A.beforeUpload,data:{...A.upload},headers:{Authorization:A.token},"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),customRequest:function(){},multiple:"",maxCount:8-A.printboardList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:A.fileUploadChange},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",kn,Sn,512),[[o.F8,A.printboardList.length<8]])])),_:1},8,["action","before-upload","data","headers","file-list","customRequest","maxCount","onChange"])],512),[[o.F8,A.printboardList.length<8]])])]),(0,n._)("div",Dn,[Hn,(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Material",msg:"Printboard",onConfirmSelect:A.confirmSelect},null,8,["onConfirmSelect"]),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(h,{ref:"Generate",msg:"Printboard",onGenerateCheckbox:A.getgenerateCheckbox},null,8,["onGenerateCheckbox"]),[[o.F8,3==A.openClick]])]),(0,n._)("div",Ln,[(0,n._)("div",On,[(0,n._)("div",Mn,[(0,n._)("div",null,(0,r.zw)(A.$t("PrintboardUpload.Thumbnail")),1)]),(0,n._)("div",Tn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.printboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},[(0,n.wy)((0,n._)("img",null,null,512),[[p,e.imgUrl]]),Nn],8,Kn)))),128))])]),(0,n.wy)((0,n._)("div",Pn,[(0,n._)("div",{class:(0,r.C_)(["input_box",{active:A.inputShow}])},[(0,n.wy)((0,n._)("input",{class:(0,r.C_)(["search_input",{forbidden:A.generateCheckbox}]),onInput:e[4]||(e[4]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),onKeydown:e[5]||(e[5]=(0,o.D2)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["enter"])),maxlength:A.inputShow?0:9999,readonly:A.generateCheckbox,placeholder:A.$t("PrintboardUpload.inputContent1"),"onUpdate:modelValue":e[6]||(e[6]=e=>A.captionGeneration=e)},null,42,Rn),[[o.nr,A.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[7]||(e[7]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},(0,r.zw)(A.$t("PrintboardUpload.Generate")),1),(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.maximumLength")),1)],2),(0,n._)("div",Vn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.generateList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_imgItem",{active:e?.checked}])},[(0,n._)("img",{src:e.imgUrl,onClick:(0,o.iM)((t=>A.generageAdd(e)),["stop"])},null,8,Gn),(0,n._)("div",jn,[e.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"noLike")),["stop"])},null,8,Zn)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"like")),["stop"])},null,8,zn))]),(0,n._)("div",Wn,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])],2)))),256))]),(0,n.wy)((0,n._)("div",Yn,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])],512),[[o.F8,3==A.openClick]])]),(0,n.Wm)(g,{ref:"Cropper",onHandleCropperSuccess:A.handleCropperSuccess,onCloseCropper:e[8]||(e[8]=e=>A.deletUploadFile()),cropperFileData:A.cropperFileData,isUpload:A.isUpload},null,8,["onHandleCropperSuccess","cropperFileData","isUpload"])])}const Jn=A=>((0,n.dD)("data-v-1a8bf2f0"),A=A(),(0,n.Cn)(),A),$n={class:"collection_title"},qn={class:"collection_title_text"},Ar={class:"collection_modal_body"},er={class:"cut_picture_left"},tr={class:"cut_picture_body"},ir={class:"cur_picture_opterate"},nr=Jn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon"},null,-1))),rr=[nr],or=Jn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon icon_chexiao_sec"},null,-1))),sr=[or],ar=Jn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"-",-1))),lr=[ar],cr=Jn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"+",-1))),dr=[cr],ur=Jn((()=>(0,n._)("span",{class:"icon iconfont icon-shuaxin operate_icon"},null,-1))),hr=[ur],gr={class:"cut_picture_right"},pr={class:"cur_picture_right_header"},fr=Jn((()=>(0,n._)("div",{class:"review_logo icon iconfont icon-yulan"},null,-1))),mr={class:"cut_picture_review_block"},Br={class:"cut_picture_review_item"},wr=["src"];function vr(A,e,t,i,s,a){const l=(0,n.up)("VueCropper"),c=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(c,{class:"modal_component cut_pricture_modal",visible:A.cutPicuterModal,"onUpdate:visible":e[8]||(e[8]=e=>A.cutPicuterModal=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,zIndex:999999,mask:!1},{default:(0,n.w5)((()=>[(0,n._)("div",$n,[(0,n._)("div",qn,[(0,n._)("div",null,(0,r.zw)(A.$t("Cropper.Cutpicture")),1)]),(0,n._)("div",{class:"header_right_block",onClick:e[2]||(e[2]=(0,o.iM)((()=>{}),["stop"]))},[(0,n._)("div",{class:"next_step_button",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.finishCropper()),["stop"]))},(0,r.zw)(A.$t("Cropper.Finish")),1),(0,n._)("div",{class:"header_cancel_button",onClick:e[1]||(e[1]=(0,o.iM)((e=>A.cancleCropper()),["stop"]))},(0,r.zw)(A.$t("Cropper.Cancel")),1)])]),(0,n._)("div",Ar,[(0,n._)("div",er,[(0,n._)("div",tr,[(0,n.Wm)(l,{ref:"cropper",original:A.option.original,img:A.option.img,outputSize:A.option.size,outputType:A.option.outputType,"auto-crop":A.option.autoCrop,"auto-crop-width":A.option.autoCropWidth,"auto-crop-height":A.option.autoCropHeight,"center-box":A.option.centerBox,"can-move":A.option.canMove,"can-move-box":A.option.canMoveBox,onRealTime:A.realTime},null,8,["original","img","outputSize","outputType","auto-crop","auto-crop-width","auto-crop-height","center-box","can-move","can-move-box","onRealTime"])]),(0,n._)("div",ir,[(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[3]||(e[3]=e=>A.rotateLeft())},rr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[4]||(e[4]=e=>A.rotateRight())},sr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[5]||(e[5]=e=>A.changeScale(-1))},lr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[6]||(e[6]=e=>A.changeScale(1))},dr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[7]||(e[7]=e=>A.refreshCrop())},hr)])]),(0,n._)("div",gr,[(0,n._)("div",pr,[fr,(0,n._)("div",null,(0,r.zw)(A.$t("Cropper.CropPreview")),1)]),(0,n._)("div",mr,[(0,n._)("div",Br,[(0,n._)("div",{class:"cut_picture_review_content",style:(0,r.j5)({width:A.previews.w+"px",height:A.previews.h+"px",overflow:"hidden"})},[(0,n._)("div",{style:(0,r.j5)(A.previews.div)},[(0,n._)("img",{class:"previews_image",style:(0,r.j5)(A.previews.img),src:A.previews.url},null,12,wr)],4)],4)])])])])])),_:1},8,["visible"])}var Cr=t(2323),br=(0,n.aZ)({props:["cropperFileData","isUpload"],components:{VueCropper:Cr.AK},data(){return{cutPicuterModal:!1,option:{original:!1,img:"",size:1,full:!1,outputType:"png",autoCrop:!0,autoCropWidth:360,autoCropHeight:360,max:99999,centerBox:!0,canMove:!0,canMoveBox:!0},previews:{}}},methods:{rotateLeft(){let A=this.$refs.cropper;A.rotateLeft()},rotateRight(){let A=this.$refs.cropper;A.rotateRight()},refreshCrop(){let A=this.$refs.cropper;A.refresh()},changeScale(A){A=A||1;let e=this.$refs.cropper;e.changeScale(A)},realTime(A){this.previews=A},getOptionImg(A){this.option.img=A},changeShowModal(A){this.cutPicuterModal=A},finishCropper(){let A=this.$refs.cropper;A.getCropData((A=>{let e=(0,RA._x)(A,this.cropperFileData.name);this.$emit("handleCropperSuccess",{file:e,fileData:this.cropperFileData})}))},closeCropper(){this.cutPicuterModal=!1,this.option.img=""},cancleCropper(){this.cutPicuterModal=!1,this.option.img="",this.$emit("closeCropper")}}});const yr=(0,ie.Z)(br,[["render",vr],["__scopeId","data-v-1a8bf2f0"]]);var _r=yr,Qr=(0,n.aZ)({components:{Cropper:_r,Material:di,Generate:lt},setup(){let A=(0,KA.oR)(),e=(0,Y.iH)([]),t=(0,Y.iH)([]),i=(0,n.Fl)((()=>A.state.UploadFilesModule.moodboard)),r=(0,n.Fl)((()=>A.state.UploadFilesModule.printboard)),o=(0,Y.iH)(1),s=(0,Y.iH)(),a=(0,Y.iH)([]),l=(0,Y.iH)(!1),c=(0,Y.iH)(!1),d=(0,Y.iH)(),u=(0,n.f3)("driver__"),{t:h}=(0,ot.QT)(),g=(0,Y.iH)();return{fileList:e,printImgList:t,moodBoards:i,printBoards:r,openClick:o,generateCheckbox:s,generateList:a,loadingShow:l,inputShow:c,inputTime:d,driver__:u,t:h,isTest:g}},computed:{getPinLength(){let A=0;for(let e of this.printBoards)e.pin&&A++;return A}},watch:{printBoards:{handler(A,e){A.length>=2&&this.driver__.driver&&tt.moveTo(9)}}},data(){return{swtich_type:"upload",indicator:(0,n.h)(LA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Printboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,KA.oR)(),cropperFileData:{name:"",uid:""},currentFileNum:0,isUpload:!1,captionGeneration:"",printboardList:(0,n.Fl)((()=>(0,KA.oR)().state.UploadFilesModule.printboard))}},mounted(){this.token=(0,PA.ej)("token")||"";let A=(0,PA.ej)("isTest");this.isTest=JSON.parse(A)||"",this.uploadUrl=(0,RA.M$)()},methods:{open(A){this.openClick=A;let e=this.$refs.Material;2==A&&e.init("Printboard")},fileUploadChange(A){let e=A.file;e.id_=NA.id++,e.type_={type1:"upload",type2:"Printboard"},e.pin=!1;let t=this.$refs.Cropper;if(1===this.currentFileNum){var i=new FileReader;i.onload=A=>{let e;e="object"===typeof A.target.result?window.URL.createObjectURL(new Blob([A.target.result])):A.target.result,t.getOptionImg(e)},i.readAsArrayBuffer(e.originFileObj),this.cropperFileData=e,t.changeShowModal(!0)}else this.customRequest(e)},beforeUpload(A,e){const t="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;t||OA.ZP.info(this.t("PrintboardUpload.jsContent1"));const i=A.size/1024/1024<2;if(i||OA.ZP.info(this.t("PrintboardUpload.jsContent2")),!t||!i)return t&&i||MA.Z.LIST_IGNORE;this.currentFileNum=e.length},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.printboardFiles,this.store.state.UploadFilesModule.printboardFiles.forEach(((t,i)=>{t.id_==A.id_&&(e=i)})),this.fileList.splice(e,1),this.store.commit("setPrintboardFile",this.fileList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Printboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosPost(TA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosGet(TA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},customRequest(A){let e={...this.upload,file:A.originFileObj},t=A.uid;TA.V.axiosPost("/api/element/upload",e,{headers:{"Content-Type":"multipart/form-data"}}).then((A=>{if(A){for(let i of this.fileList)t===i.uid&&(i.status="done",i.imgUrl=A.url,i.pin=!1,i.id=A.id,i.resData=A);let e=this.fileList.filter((A=>"done"===A.status));this.store.commit("setPrintboardFile",e)}})).catch((A=>{let e=-1;this.fileList.forEach(((A,i)=>{t===A.uid&&(e=i)})),e>-1&&this.fileList.splice(e,1)}))},closeCropper(A){if(this.isUpload)return;if("error"==A){let A=-1;this.fileList.forEach(((e,t)=>{this.cropperFileData.uid===e.uid&&(A=t)})),A>-1&&this.fileList.splice(A,1)}let e=this.$refs.Cropper;e.closeCropper()},deletUploadFile(){let A=-1;this.fileList.forEach(((e,t)=>{this.cropperFileData.uid===e.uid&&(A=t)})),A>-1&&this.fileList.splice(A,1)},handleCropperSuccess(A){let{file:e,fileData:t}=A,i={...this.upload,file:e};if(this.isUpload)return;this.isUpload=!0;const n=OA.ZP.loading("loading",0);TA.V.axiosPost("/api/element/upload",i,{headers:{"Content-Type":"multipart/form-data"}}).then((A=>{for(let i of this.fileList)t.uid===i.uid&&(i.status="done",i.imgUrl=A.url,i.id=A.id,i.resData=A);let e=this.fileList.filter((A=>"done"===A.status));this.isUpload=!1,this.closeCropper("success"),this.cropperFileData={name:"",uid:""},this.store.commit("setPrintboardFile",e),n()})).catch((A=>{let e=-1;this.fileList.forEach(((A,i)=>{t.uid===A.uid&&(e=i)})),e>-1&&this.fileList.splice(e,1),this.cropperFileData={name:"",uid:""},this.isUpload=!1,this.closeCropper("error"),n()}))},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.printboardFiles)),e={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?e.generate.push(A):"material"==A.type_.type1?e.material.push(A):e.moodboard.push(A)})),this.store.commit("setPrintboardGenerateFiles",e.generate),this.store.commit("setPrintboardMaterialFiles",e.material),this.store.commit("setPrintboardFile",e.moodboard),this.fileList=e.moodboard,this.store.commit("setPrintboardFile",this.fileList)},confirmSelect(A){for(let e of A){let A={imgUrl:e.url,resData:e,pin:!1,id:e.id,status:"done"};if(15==this.fileList.length){OA.ZP.warning(this.t("PrintboardUpload.jsContent3"));break}this.fileList.push(A)}this.store.commit("setPrintboardFile",this.fileList)},getgenerateCheckbox(A){this.generateCheckbox=A},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},getgenerate(){if(this.isTest)return void OA.ZP.warning(this.t("isTest.available"));let A=this.$refs.Generate,e=A.checkbox.filter((A=>A.type))[0].name;if("Generate"==A.printModel.num)return void this.generatePrint();let t={generateType:e,designType:"",collectionElementId:A?.collectionElementid,level1Type:A.upload.level1Type,level2Type:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:A.printModel.num,gender:""};if("image"==e||"text-image"==e){if(!A?.collectionElementid)return void OA.ZP.info(this.t("PrintboardUpload.jsContent4"))}else if("text"==e){if(t.collectionElementId="",t.level2Type="",!this.captionGeneration)return void OA.ZP.info(this.t("PrintboardUpload.jsContent6"));{let A=this.captionGeneration.split(/\s+/).length;if(A>75)return void OA.ZP.info(this.t("PrintboardUpload.jsContent5"))}}this.loadingShow=!0,TA.V.axiosPost(TA.V.httpUrls.sketchAndPrintGenerate,t).then((A=>{if(A){let e;this.generateList=[],A.generatedCollectionItems.forEach(((t,i)=>{e={id:t.generateItemId,imgUrl:t.generateItemUrl,id_:NA.id++,like:A.generatedCollectionItems[i].isLiked},this.generateList.push(e),this.loadingShow=!1}))}})).catch((A=>{this.loadingShow=!1}))},randomRange(A,e,t){let i=Math.floor(Math.random()*(e-A))+A;while(i===t)i=Math.floor(Math.random()*(e-A))+A;return i},generatePrint(){let A={};if(this.moodBoards.length){let e=this.randomRange(0,this.moodBoards.length,-1),t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((A,e)=>{A.pin&&(t=e)}));else{let A=[];this.printBoards.forEach(((e,t)=>{e.pin&&A.push(t)})),t=this.randomRange(0,A.length,-1)}else t=this.randomRange(0,this.printBoards.length,-1);A={select1Id:this.moodBoards[e].resData.id,select2Id:this.printBoards[t].id}}else{let e=-1,t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((A,t)=>{A.pin&&(e=t)})),t=this.randomRange(0,this.printBoards.length,e);else{let A=[];this.printBoards.forEach(((e,t)=>{e.pin&&A.push(t)})),e=this.randomRange(0,A.length,-1),t=this.randomRange(0,this.printBoards.length,A[e])}else e=this.randomRange(0,this.printBoards.length,-1),t=this.randomRange(0,this.printBoards.length,e);A={select1Id:this.printBoards[e].id,select2Id:this.printBoards[t].id}}A.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,TA.V.axiosPost(TA.V.httpUrls.elementGeneratePrint,A).then((A=>{if(A){this.generateList=[];let e={id:A.generateItemId,imgUrl:A.generateItemUrl,id_:NA.id++,like:A.isLiked};this.generateList.push(e),this.loadingShow=!1}})).catch((A=>{this.loadingShow=!1}))},generageAdd(A){A.type_={type1:"generate",type2:"Printboard"},A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A)}}});const Ur=(0,ie.Z)(Qr,[["render",Xn],["__scopeId","data-v-5f834903"]]);var Fr=Ur;const xr={class:"colorboard_upload_modal"},Er={class:"modal_layout"},kr={class:"modal_text"},Ir={class:"modal_img"},Sr=["onClick"],Dr={class:"colorboard_upload_right"},Hr={class:"upload_right_content"},Lr={class:"right_content_line"},Or={class:"upload_right_header"},Mr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Tr={class:"color_setting_block"},Kr={class:"right_content_line right_content_line_upload"},Nr={class:"upload_right_header"},Pr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Rr={class:"upload_centetn"},Vr={class:"upload_item Guide_1_10"},Gr={class:"upload_file_item_content"},jr={class:"upload_file_item_content"},zr=["src"],Zr=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-rr-picture"})],-1),Wr={class:"upload_color Guide_1_11"},Yr=["onClick"],Xr=["title"],Jr={class:"right_content_line"},$r={class:"upload_right_header"},qr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Ao={class:"get_color_block"},eo=(0,n._)("span",{class:"icon iconfont icon-huoquduixiang"},null,-1),to={class:"get_color_des"},io=["title"];function no(A,e,t,i,s,a){const l=(0,n.up)("Chrome"),c=(0,n.up)("a-spin"),d=(0,n.up)("a-upload");return(0,n.wg)(),(0,n.iD)("div",xr,[(0,n._)("div",Er,[(0,n._)("div",kr,[(0,n._)("div",null,(0,r.zw)(A.$t("ColorboardUpload.Thumbnail")),1)]),(0,n._)("div",Ir,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.colorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e},[(0,n._)("div",{onClick:i=>A.selectColorItem(t,e),class:(0,r.C_)(["upload_color",A.selectIndex===t?"select_upload_color":""]),style:(0,r.j5)({background:`rgba(${e?.r},${e?.g},${e?.b},${e?.a})`})},null,14,Sr)])))),128)),(0,n._)("div",null,[(0,n._)("span",{class:"started_btn",onClick:e[0]||(e[0]=(...e)=>A.clearCurrentColor&&A.clearCurrentColor(...e))},(0,r.zw)(A.$t("ColorboardUpload.Clear")),1)])])]),(0,n._)("div",Dr,[(0,n._)("div",Hr,[(0,n._)("div",Lr,[(0,n._)("div",Or,[Mr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.Palette")),1)]),(0,n._)("div",Tr,[(0,n.Wm)(l,{class:"chrome_color",modelValue:A.selectColor,"onUpdate:modelValue":e[1]||(e[1]=e=>A.selectColor=e)},null,8,["modelValue"])])]),(0,n._)("div",Kr,[(0,n._)("div",Nr,[Pr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.UploadImage")),1)]),(0,n._)("div",Rr,[(0,n._)("div",Vr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:t},[(0,n.wy)((0,n._)("div",Gr,[(0,n.Wm)(c,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"done"!==t.status]]),(0,n.wy)((0,n._)("div",jr,[(0,n._)("img",{src:t?.imgUrl,class:"upload_img",ref_for:!0,ref:"colorImage"},null,8,zr),(0,n._)("div",{class:"delete_file_block",onClick:e[2]||(e[2]=e=>A.deleteFile(A.index))},"Delete")],512),[[o.F8,"done"===t.status]])])))),128)),(0,n.wy)((0,n.Wm)(d,{"list-type":"picture-card",customRequest:function(){},onChange:A.fileUploadChange,"before-upload":A.beforeUpload,accept:".jpg,.png,.jpeg,.bmp"},{default:(0,n.w5)((()=>[Zr])),_:1},8,["customRequest","onChange","before-upload"]),[[o.F8,A.fileList.length<1]])]),(0,n._)("div",Wr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.selectColorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,onClick:t=>A.setUplpadColor(e),class:"upload_color_item"},[(0,n._)("div",{class:"upload_color_item_bg",style:(0,r.j5)({"background-color":`rgba(${e.rgba.r},${e.rgba.g},${e.rgba.b},${e.rgba.a})`})},null,4),(0,n._)("img",{src:"#",title:A.pantongNameList[t]},null,8,Xr)],8,Yr)))),128))])])]),(0,n._)("div",Jr,[(0,n._)("div",$r,[qr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.ColorCode")),1)]),(0,n._)("div",Ao,[(0,n.wy)((0,n._)("input",{class:"get_color_input",placeholder:"tcx value (e.g.: 19-4052)","onUpdate:modelValue":e[3]||(e[3]=e=>A.tcxColor=e),onKeydown:e[4]||(e[4]=(0,o.D2)((e=>A.getTcxColor()),["enter"]))},null,544),[[o.nr,A.tcxColor]]),(0,n._)("div",{class:"get_color_button",onClick:e[5]||(e[5]=e=>A.getTcxColor())},[eo,(0,n._)("span",to,(0,r.zw)(A.$t("ColorboardUpload.ExtractColor")),1)]),(0,n.wy)((0,n._)("div",{class:"get_color_bg",onClick:e[6]||(e[6]=e=>A.setUplpadColor(A.reviewColor)),style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.reviewColor).r},${A.getSelectRGB(A.reviewColor).g},${A.getSelectRGB(A.reviewColor).b},${A.getSelectRGB(A.reviewColor).a})`})},[(0,n._)("img",{src:"#",title:A.pantongName},null,8,io)],4),[[o.F8,A.getColorBg]])])])])])])}var ro=t(1125),oo=t(6243),so=t.n(oo);t(1703);function ao(A,e,t){const i=A,n=[];for(let r,o,s,a,l,c=0;c=125)&&(o>250&&s>250&&a>250||n.push([o,s,a]));return n}function lo(A){let{colorCount:e,quality:t}=A;if("undefined"!==typeof e&&Number.isInteger(e)){if(1===e)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");e=Math.max(e,2),e=Math.min(e,20)}else e=10;return("undefined"===typeof t||!Number.isInteger(t)||t<1)&&(t=10),{colorCount:e,quality:t}}var co={createPixelArray:ao,validateOptions:lo}; +!function(e){A.exports=e()}((function(){return function A(e,t,i){function n(o,s){if(!t[o]){if(!e[o]){var a=void 0;if(!s&&a)return require(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=t[o]={exports:{}};e[o][0].call(c.exports,(function(A){var t=e[o][1][A];return n(t||A)}),c,c.exports,A,e,t,i)}return t[o].exports}for(var r=void 0,o=0;o>2,s=(3&e)<<4|t>>4,a=1>6:64,l=2>4,t=(15&o)<<4|(s=r.indexOf(A.charAt(l++)))>>2,i=(3&s)<<6|(a=r.indexOf(A.charAt(l++))),u[c++]=e,64!==s&&(u[c++]=t),64!==a&&(u[c++]=i);return u}},{"./support":30,"./utils":32}],2:[function(A,e,t){"use strict";var i=A("./external"),n=A("./stream/DataWorker"),r=A("./stream/Crc32Probe"),o=A("./stream/DataLengthProbe");function s(A,e,t,i,n){this.compressedSize=A,this.uncompressedSize=e,this.crc32=t,this.compression=i,this.compressedContent=n}s.prototype={getContentWorker:function(){var A=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return A.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),A},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(A,e,t){return A.pipe(new r).pipe(new o("uncompressedSize")).pipe(e.compressWorker(t)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(A,e,t){"use strict";var i=A("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},t.DEFLATE=A("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(A,e,t){"use strict";var i=A("./utils"),n=function(){for(var A,e=[],t=0;t<256;t++){A=t;for(var i=0;i<8;i++)A=1&A?3988292384^A>>>1:A>>>1;e[t]=A}return e}();e.exports=function(A,e){return void 0!==A&&A.length?"string"!==i.getTypeOf(A)?function(A,e,t,i){var r=n,o=i+t;A^=-1;for(var s=i;s>>8^r[255&(A^e[s])];return-1^A}(0|e,A,A.length,0):function(A,e,t,i){var r=n,o=i+t;A^=-1;for(var s=i;s>>8^r[255&(A^e.charCodeAt(s))];return-1^A}(0|e,A,A.length,0):0}},{"./utils":32}],5:[function(A,e,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(A,e,t){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:A("lie"),e.exports={Promise:i}},{lie:37}],7:[function(A,e,t){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=A("pako"),r=A("./utils"),o=A("./stream/GenericWorker"),s=i?"uint8array":"array";function a(A,e){o.call(this,"FlateWorker/"+A),this._pako=null,this._pakoAction=A,this._pakoOptions=e,this.meta={}}t.magic="\b\0",r.inherits(a,o),a.prototype.processChunk=function(A){this.meta=A.meta,null===this._pako&&this._createPako(),this._pako.push(r.transformTo(s,A.data),!1)},a.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var A=this;this._pako.onData=function(e){A.push({data:e,meta:A.meta})}},t.compressWorker=function(A){return new a("Deflate",A)},t.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(A,e,t){"use strict";function i(A,e){var t,i="";for(t=0;t>>=8;return i}function n(A,e,t,n,o,c){var d,u,h=A.file,g=A.compression,p=c!==s.utf8encode,f=r.transformTo("string",c(h.name)),m=r.transformTo("string",s.utf8encode(h.name)),B=h.comment,w=r.transformTo("string",c(B)),v=r.transformTo("string",s.utf8encode(B)),C=m.length!==h.name.length,b=v.length!==B.length,y="",_="",Q="",U=h.dir,F=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!t||(x.crc32=A.crc32,x.compressedSize=A.compressedSize,x.uncompressedSize=A.uncompressedSize);var E=0;e&&(E|=8),p||!C&&!b||(E|=2048);var k=0,I=0;U&&(k|=16),"UNIX"===o?(I=798,k|=function(A,e){var t=A;return A||(t=e?16893:33204),(65535&t)<<16}(h.unixPermissions,U)):(I=20,k|=function(A){return 63&(A||0)}(h.dosPermissions)),d=F.getUTCHours(),d<<=6,d|=F.getUTCMinutes(),d<<=5,d|=F.getUTCSeconds()/2,u=F.getUTCFullYear()-1980,u<<=4,u|=F.getUTCMonth()+1,u<<=5,u|=F.getUTCDate(),C&&(_=i(1,1)+i(a(f),4)+m,y+="up"+i(_.length,2)+_),b&&(Q=i(1,1)+i(a(w),4)+v,y+="uc"+i(Q.length,2)+Q);var S="";return S+="\n\0",S+=i(E,2),S+=g.magic,S+=i(d,2),S+=i(u,2),S+=i(x.crc32,4),S+=i(x.compressedSize,4),S+=i(x.uncompressedSize,4),S+=i(f.length,2),S+=i(y.length,2),{fileRecord:l.LOCAL_FILE_HEADER+S+f+y,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+S+i(w.length,2)+"\0\0\0\0"+i(k,4)+i(n,4)+f+y+w}}var r=A("../utils"),o=A("../stream/GenericWorker"),s=A("../utf8"),a=A("../crc32"),l=A("../signature");function c(A,e,t,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=t,this.encodeFileName=i,this.streamFiles=A,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(c,o),c.prototype.push=function(A){var e=A.meta.percent||0,t=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(A):(this.bytesWritten+=A.data.length,o.prototype.push.call(this,{data:A.data,meta:{currentFile:this.currentFile,percent:t?(e+100*(t-i-1))/t:100}}))},c.prototype.openedSource=function(A){this.currentSourceOffset=this.bytesWritten,this.currentFile=A.file.name;var e=this.streamFiles&&!A.file.dir;if(e){var t=n(A,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(A){this.accumulate=!1;var e=this.streamFiles&&!A.file.dir,t=n(A,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(t.dirRecord),e)this.push({data:function(A){return l.DATA_DESCRIPTOR+i(A.crc32,4)+i(A.compressedSize,4)+i(A.uncompressedSize,4)}(A),meta:{percent:100}});else for(this.push({data:t.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var A=this.bytesWritten,e=0;e=this.index;e--)t=(t<<8)+this.byteAt(e);return this.index+=A,t},readString:function(A){return i.transformTo("string",this.readData(A))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var A=this.readInt(4);return new Date(Date.UTC(1980+(A>>25&127),(A>>21&15)-1,A>>16&31,A>>11&31,A>>5&63,(31&A)<<1))}},e.exports=n},{"../utils":32}],19:[function(A,e,t){"use strict";var i=A("./Uint8ArrayReader");function n(A){i.call(this,A)}A("../utils").inherits(n,i),n.prototype.readData=function(A){this.checkOffset(A);var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(A,e,t){"use strict";var i=A("./DataReader");function n(A){i.call(this,A)}A("../utils").inherits(n,i),n.prototype.byteAt=function(A){return this.data.charCodeAt(this.zero+A)},n.prototype.lastIndexOfSignature=function(A){return this.data.lastIndexOf(A)-this.zero},n.prototype.readAndCheckSignature=function(A){return A===this.readData(4)},n.prototype.readData=function(A){this.checkOffset(A);var e=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(A,e,t){"use strict";var i=A("./ArrayReader");function n(A){i.call(this,A)}A("../utils").inherits(n,i),n.prototype.readData=function(A){if(this.checkOffset(A),0===A)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+A);return this.index+=A,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(A,e,t){"use strict";var i=A("../utils"),n=A("../support"),r=A("./ArrayReader"),o=A("./StringReader"),s=A("./NodeBufferReader"),a=A("./Uint8ArrayReader");e.exports=function(A){var e=i.getTypeOf(A);return i.checkSupport(e),"string"!==e||n.uint8array?"nodebuffer"===e?new s(A):n.uint8array?new a(i.transformTo("uint8array",A)):new r(i.transformTo("array",A)):new o(A)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(A,e,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(A,e,t){"use strict";var i=A("./GenericWorker"),n=A("../utils");function r(A){i.call(this,"ConvertWorker to "+A),this.destType=A}n.inherits(r,i),r.prototype.processChunk=function(A){this.push({data:n.transformTo(this.destType,A.data),meta:A.meta})},e.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(A,e,t){"use strict";var i=A("./GenericWorker"),n=A("../crc32");function r(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}A("../utils").inherits(r,i),r.prototype.processChunk=function(A){this.streamInfo.crc32=n(A.data,this.streamInfo.crc32||0),this.push(A)},e.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(A,e,t){"use strict";var i=A("../utils"),n=A("./GenericWorker");function r(A){n.call(this,"DataLengthProbe for "+A),this.propName=A,this.withStreamInfo(A,0)}i.inherits(r,n),r.prototype.processChunk=function(A){if(A){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+A.data.length}n.prototype.processChunk.call(this,A)},e.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(A,e,t){"use strict";var i=A("../utils"),n=A("./GenericWorker");function r(A){n.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,A.then((function(A){e.dataIsReady=!0,e.data=A,e.max=A&&A.length||0,e.type=i.getTypeOf(A),e.isPaused||e._tickAndRepeat()}),(function(A){e.error(A)}))}i.inherits(r,n),r.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var A=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":A=this.data.substring(this.index,e);break;case"uint8array":A=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":A=this.data.slice(this.index,e)}return this.index=e,this.push({data:A,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(A,e,t){"use strict";function i(A){this.name=A||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(A){this.emit("data",A)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(A){this.emit("error",A)}return!0},error:function(A){return!this.isFinished&&(this.isPaused?this.generatedError=A:(this.isFinished=!0,this.emit("error",A),this.previous&&this.previous.error(A),this.cleanUp()),!0)},on:function(A,e){return this._listeners[A].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(A,e){if(this._listeners[A])for(var t=0;t "+A:A}},e.exports=i},{}],29:[function(A,e,t){"use strict";var i=A("../utils"),n=A("./ConvertWorker"),r=A("./GenericWorker"),o=A("../base64"),s=A("../support"),a=A("../external"),l=null;if(s.nodestream)try{l=A("../nodejs/NodejsStreamOutputAdapter")}catch(A){}function c(A,e){return new a.Promise((function(t,n){var r=[],s=A._internalType,a=A._outputType,l=A._mimeType;A.on("data",(function(A,t){r.push(A),e&&e(t)})).on("error",(function(A){r=[],n(A)})).on("end",(function(){try{var A=function(A,e,t){switch(A){case"blob":return i.newBlob(i.transformTo("arraybuffer",e),t);case"base64":return o.encode(e);default:return i.transformTo(A,e)}}(a,function(A,e){var t,i=0,n=null,r=0;for(t=0;t>>6:(t<65536?e[o++]=224|t>>>12:(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63),e[o++]=128|t>>>6&63),e[o++]=128|63&t);return e}(A)},t.utf8decode=function(A){return n.nodebuffer?i.transformTo("nodebuffer",A).toString("utf-8"):function(A){var e,t,n,r,o=A.length,a=new Array(2*o);for(e=t=0;e>10&1023,a[t++]=56320|1023&n)}return a.length!==t&&(a.subarray?a=a.subarray(0,t):a.length=t),i.applyFromCharCode(a)}(A=i.transformTo(n.uint8array?"uint8array":"array",A))},i.inherits(l,o),l.prototype.processChunk=function(A){var e=i.transformTo(n.uint8array?"uint8array":"array",A.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var o=function(A,e){var t;for((e=e||A.length)>A.length&&(e=A.length),t=e-1;0<=t&&128==(192&A[t]);)t--;return t<0||0===t?e:t+s[A[t]]>e?t:e}(e),a=e;o!==e.length&&(n.uint8array?(a=e.subarray(0,o),this.leftOver=e.subarray(o,e.length)):(a=e.slice(0,o),this.leftOver=e.slice(o,e.length))),this.push({data:t.utf8decode(a),meta:A.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,i.inherits(c,o),c.prototype.processChunk=function(A){this.push({data:t.utf8encode(A.data),meta:A.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(A,e,t){"use strict";var i=A("./support"),n=A("./base64"),r=A("./nodejsUtils"),o=A("./external");function s(A){return A}function a(A,e){for(var t=0;t>8;this.dir=!!(16&this.externalFileAttributes),0==A&&(this.dosPermissions=63&this.externalFileAttributes),3==A&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var A=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=A.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=A.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=A.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=A.readInt(4))}},readExtraFields:function(A){var e,t,i,n=A.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});A.index+4>>6:(t<65536?e[o++]=224|t>>>12:(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63),e[o++]=128|t>>>6&63),e[o++]=128|63&t);return e},t.buf2binstring=function(A){return a(A,A.length)},t.binstring2buf=function(A){for(var e=new i.Buf8(A.length),t=0,n=e.length;t>10&1023,l[i++]=56320|1023&n)}return a(l,i)},t.utf8border=function(A,e){var t;for((e=e||A.length)>A.length&&(e=A.length),t=e-1;0<=t&&128==(192&A[t]);)t--;return t<0||0===t?e:t+o[A[t]]>e?t:e}},{"./common":41}],43:[function(A,e,t){"use strict";e.exports=function(A,e,t,i){for(var n=65535&A|0,r=A>>>16&65535|0,o=0;0!==t;){for(t-=o=2e3>>1:A>>>1;e[t]=A}return e}();e.exports=function(A,e,t,n){var r=i,o=n+t;A^=-1;for(var s=n;s>>8^r[255&(A^e[s])];return-1^A}},{}],46:[function(A,e,t){"use strict";var i,n=A("../utils/common"),r=A("./trees"),o=A("./adler32"),s=A("./crc32"),a=A("./messages"),l=0,c=4,d=0,u=-2,h=-1,g=4,p=2,f=8,m=9,B=286,w=30,v=19,C=2*B+1,b=15,y=3,_=258,Q=_+y+1,U=42,F=113,x=1,E=2,k=3,I=4;function S(A,e){return A.msg=a[e],e}function D(A){return(A<<1)-(4A.avail_out&&(t=A.avail_out),0!==t&&(n.arraySet(A.output,e.pending_buf,e.pending_out,t,A.next_out),A.next_out+=t,e.pending_out+=t,A.total_out+=t,A.avail_out-=t,e.pending-=t,0===e.pending&&(e.pending_out=0))}function O(A,e){r._tr_flush_block(A,0<=A.block_start?A.block_start:-1,A.strstart-A.block_start,e),A.block_start=A.strstart,L(A.strm)}function M(A,e){A.pending_buf[A.pending++]=e}function T(A,e){A.pending_buf[A.pending++]=e>>>8&255,A.pending_buf[A.pending++]=255&e}function K(A,e){var t,i,n=A.max_chain_length,r=A.strstart,o=A.prev_length,s=A.nice_match,a=A.strstart>A.w_size-Q?A.strstart-(A.w_size-Q):0,l=A.window,c=A.w_mask,d=A.prev,u=A.strstart+_,h=l[r+o-1],g=l[r+o];A.prev_length>=A.good_match&&(n>>=2),s>A.lookahead&&(s=A.lookahead);do{if(l[(t=e)+o]===g&&l[t+o-1]===h&&l[t]===l[r]&&l[++t]===l[r+1]){r+=2,t++;do{}while(l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&ra&&0!=--n);return o<=A.lookahead?o:A.lookahead}function N(A){var e,t,i,r,a,l,c,d,u,h,g=A.w_size;do{if(r=A.window_size-A.lookahead-A.strstart,A.strstart>=g+(g-Q)){for(n.arraySet(A.window,A.window,g,g,0),A.match_start-=g,A.strstart-=g,A.block_start-=g,e=t=A.hash_size;i=A.head[--e],A.head[e]=g<=i?i-g:0,--t;);for(e=t=g;i=A.prev[--e],A.prev[e]=g<=i?i-g:0,--t;);r+=g}if(0===A.strm.avail_in)break;if(l=A.strm,c=A.window,d=A.strstart+A.lookahead,u=r,h=void 0,h=l.avail_in,u=y)for(a=A.strstart-A.insert,A.ins_h=A.window[a],A.ins_h=(A.ins_h<=y&&(A.ins_h=(A.ins_h<=y)if(i=r._tr_tally(A,A.strstart-A.match_start,A.match_length-y),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=y){for(A.match_length--;A.strstart++,A.ins_h=(A.ins_h<=y&&(A.ins_h=(A.ins_h<=y&&A.match_length<=A.prev_length){for(n=A.strstart+A.lookahead-y,i=r._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-y),A.lookahead-=A.prev_length-1,A.prev_length-=2;++A.strstart<=n&&(A.ins_h=(A.ins_h<A.pending_buf_size-5&&(t=A.pending_buf_size-5);;){if(A.lookahead<=1){if(N(A),0===A.lookahead&&e===l)return x;if(0===A.lookahead)break}A.strstart+=A.lookahead,A.lookahead=0;var i=A.block_start+t;if((0===A.strstart||A.strstart>=i)&&(A.lookahead=A.strstart-i,A.strstart=i,O(A,!1),0===A.strm.avail_out))return x;if(A.strstart-A.block_start>=A.w_size-Q&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):(A.strstart>A.block_start&&(O(A,!1),A.strm.avail_out),x)})),new V(4,4,8,4,P),new V(4,5,16,8,P),new V(4,6,32,32,P),new V(4,4,16,16,R),new V(8,16,32,32,R),new V(8,16,128,128,R),new V(8,32,128,256,R),new V(32,128,258,1024,R),new V(32,258,258,4096,R)],t.deflateInit=function(A,e){return Z(A,e,f,15,8,0)},t.deflateInit2=Z,t.deflateReset=z,t.deflateResetKeep=j,t.deflateSetHeader=function(A,e){return A&&A.state?2!==A.state.wrap?u:(A.state.gzhead=e,d):u},t.deflate=function(A,e){var t,n,o,a;if(!A||!A.state||5>8&255),M(n,n.gzhead.time>>16&255),M(n,n.gzhead.time>>24&255),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(M(n,255&n.gzhead.extra.length),M(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(A.adler=s(A.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(M(n,0),M(n,0),M(n,0),M(n,0),M(n,0),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,3),n.status=F);else{var h=f+(n.w_bits-8<<4)<<8;h|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(h|=32),h+=31-h%31,n.status=F,T(n,h),0!==n.strstart&&(T(n,A.adler>>>16),T(n,65535&A.adler)),A.adler=1}if(69===n.status)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),L(A),o=n.pending,n.pending!==n.pending_buf_size));)M(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),L(A),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),L(A),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(A.adler=s(A.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(A),n.pending+2<=n.pending_buf_size&&(M(n,255&A.adler),M(n,A.adler>>8&255),A.adler=0,n.status=F)):n.status=F),0!==n.pending){if(L(A),0===A.avail_out)return n.last_flush=-1,d}else if(0===A.avail_in&&D(e)<=D(t)&&e!==c)return S(A,-5);if(666===n.status&&0!==A.avail_in)return S(A,-5);if(0!==A.avail_in||0!==n.lookahead||e!==l&&666!==n.status){var g=2===n.strategy?function(A,e){for(var t;;){if(0===A.lookahead&&(N(A),0===A.lookahead)){if(e===l)return x;break}if(A.match_length=0,t=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,t&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}(n,e):3===n.strategy?function(A,e){for(var t,i,n,o,s=A.window;;){if(A.lookahead<=_){if(N(A),A.lookahead<=_&&e===l)return x;if(0===A.lookahead)break}if(A.match_length=0,A.lookahead>=y&&0A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=y?(t=r._tr_tally(A,1,A.match_length-y),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(t=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),t&&(O(A,!1),0===A.strm.avail_out))return x}return A.insert=0,e===c?(O(A,!0),0===A.strm.avail_out?k:I):A.last_lit&&(O(A,!1),0===A.strm.avail_out)?x:E}(n,e):i[n.level].func(n,e);if(g!==k&&g!==I||(n.status=666),g===x||g===k)return 0===A.avail_out&&(n.last_flush=-1),d;if(g===E&&(1===e?r._tr_align(n):5!==e&&(r._tr_stored_block(n,0,0,!1),3===e&&(H(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(A),0===A.avail_out))return n.last_flush=-1,d}return e!==c?d:n.wrap<=0?1:(2===n.wrap?(M(n,255&A.adler),M(n,A.adler>>8&255),M(n,A.adler>>16&255),M(n,A.adler>>24&255),M(n,255&A.total_in),M(n,A.total_in>>8&255),M(n,A.total_in>>16&255),M(n,A.total_in>>24&255)):(T(n,A.adler>>>16),T(n,65535&A.adler)),L(A),0=t.w_size&&(0===s&&(H(t.head),t.strstart=0,t.block_start=0,t.insert=0),h=new n.Buf8(t.w_size),n.arraySet(h,e,g-t.w_size,t.w_size,0),e=h,g=t.w_size),a=A.avail_in,l=A.next_in,c=A.input,A.avail_in=g,A.next_in=0,A.input=e,N(t);t.lookahead>=y;){for(i=t.strstart,r=t.lookahead-(y-1);t.ins_h=(t.ins_h<>>=v=w>>>24,g-=v,0===(v=w>>>16&255))U[r++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=p[(65535&w)+(h&(1<>>=v,g-=v),g<15&&(h+=Q[i++]<>>=v=w>>>24,g-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=f[(65535&w)+(h&(1<>>=v,g-=v,(v=r-o)>3,h&=(1<<(g-=C<<3))-1,A.next_in=i,A.next_out=r,A.avail_in=i>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(A){var e;return A&&A.state?(e=A.state,A.total_in=A.total_out=e.total=0,A.msg="",e.wrap&&(A.adler=1&e.wrap),e.mode=u,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new i.Buf32(h),e.distcode=e.distdyn=new i.Buf32(g),e.sane=1,e.back=-1,c):d}function B(A){var e;return A&&A.state?((e=A.state).wsize=0,e.whave=0,e.wnext=0,m(A)):d}function w(A,e){var t,i;return A&&A.state?(i=A.state,e<0?(t=0,e=-e):(t=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(i.arraySet(o.window,e,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(r=o.wsize-o.wnext)&&(r=n),i.arraySet(o.window,e,t-n,r,o.wnext),(n-=r)?(i.arraySet(o.window,e,t-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,t.check=r(t.check,N,2,0),C=v=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&v)<<8)+(v>>8))%31){A.msg="incorrect header check",t.mode=30;break}if(8!=(15&v)){A.msg="unknown compression method",t.mode=30;break}if(C-=4,L=8+(15&(v>>>=4)),0===t.wbits)t.wbits=L;else if(L>t.wbits){A.msg="invalid window size",t.mode=30;break}t.dmax=1<>8&1),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0,t.mode=3;case 3:for(;C<32;){if(0===B)break A;B--,v+=h[f++]<>>8&255,N[2]=v>>>16&255,N[3]=v>>>24&255,t.check=r(t.check,N,4,0)),C=v=0,t.mode=4;case 4:for(;C<16;){if(0===B)break A;B--,v+=h[f++]<>8),512&t.flags&&(N[0]=255&v,N[1]=v>>>8&255,t.check=r(t.check,N,2,0)),C=v=0,t.mode=5;case 5:if(1024&t.flags){for(;C<16;){if(0===B)break A;B--,v+=h[f++]<>>8&255,t.check=r(t.check,N,2,0)),C=v=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(B<(U=t.length)&&(U=B),U&&(t.head&&(L=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),i.arraySet(t.head.extra,h,f,U,L)),512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,t.length-=U),t.length))break A;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===B)break A;for(U=0;L=h[f+U++],t.head&&L&&t.length<65536&&(t.head.name+=String.fromCharCode(L)),L&&U>9&1,t.head.done=!0),A.adler=t.check=0,t.mode=12;break;case 10:for(;C<32;){if(0===B)break A;B--,v+=h[f++]<>>=7&C,C-=7&C,t.mode=27;break}for(;C<3;){if(0===B)break A;B--,v+=h[f++]<>>=1)){case 0:t.mode=14;break;case 1:if(_(t),t.mode=20,6!==e)break;v>>>=2,C-=2;break A;case 2:t.mode=17;break;case 3:A.msg="invalid block type",t.mode=30}v>>>=2,C-=2;break;case 14:for(v>>>=7&C,C-=7&C;C<32;){if(0===B)break A;B--,v+=h[f++]<>>16^65535)){A.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&v,C=v=0,t.mode=15,6===e)break A;case 15:t.mode=16;case 16:if(U=t.length){if(B>>=5,C-=5,t.ndist=1+(31&v),v>>>=5,C-=5,t.ncode=4+(15&v),v>>>=4,C-=4,286>>=3,C-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,M={bits:t.lenbits},O=s(0,t.lens,0,19,t.lencode,0,t.work,M),t.lenbits=M.bits,O){A.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>>=E,C-=E,t.lens[t.have++]=I;else{if(16===I){for(T=E+2;C>>=E,C-=E,0===t.have){A.msg="invalid bit length repeat",t.mode=30;break}L=t.lens[t.have-1],U=3+(3&v),v>>>=2,C-=2}else if(17===I){for(T=E+3;C>>=E)),v>>>=3,C-=3}else{for(T=E+7;C>>=E)),v>>>=7,C-=7}if(t.have+U>t.nlen+t.ndist){A.msg="invalid bit length repeat",t.mode=30;break}for(;U--;)t.lens[t.have++]=L}}if(30===t.mode)break;if(0===t.lens[256]){A.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,M={bits:t.lenbits},O=s(a,t.lens,0,t.nlen,t.lencode,0,t.work,M),t.lenbits=M.bits,O){A.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,M={bits:t.distbits},O=s(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,M),t.distbits=M.bits,O){A.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===e)break A;case 20:t.mode=21;case 21:if(6<=B&&258<=w){A.next_out=m,A.avail_out=w,A.next_in=f,A.avail_in=B,t.hold=v,t.bits=C,o(A,y),m=A.next_out,g=A.output,w=A.avail_out,f=A.next_in,h=A.input,B=A.avail_in,v=t.hold,C=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(K=t.lencode[v&(1<>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>S)])>>>16&255,I=65535&K,!(S+(E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>>=S,C-=S,t.back+=S}if(v>>>=E,C-=E,t.back+=E,t.length=I,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){A.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(T=t.extra;C>>=t.extra,C-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(K=t.distcode[v&(1<>>16&255,I=65535&K,!((E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>S)])>>>16&255,I=65535&K,!(S+(E=K>>>24)<=C);){if(0===B)break A;B--,v+=h[f++]<>>=S,C-=S,t.back+=S}if(v>>>=E,C-=E,t.back+=E,64&k){A.msg="invalid distance code",t.mode=30;break}t.offset=I,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(T=t.extra;C>>=t.extra,C-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){A.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===w)break A;if(U=y-w,t.offset>U){if((U=t.offset-U)>t.whave&&t.sane){A.msg="invalid distance too far back",t.mode=30;break}F=U>t.wnext?(U-=t.wnext,t.wsize-U):t.wnext-U,U>t.length&&(U=t.length),x=t.window}else x=g,F=m-t.offset,U=t.length;for(wB?(v=M[T+d[_]],D[H+d[_]]):(v=96,0),h=1<>E)+(g-=h)]=w<<24|v<<16|C|0,0!==g;);for(h=1<>=1;if(0!==h?(S&=h-1,S+=h):S=0,_++,0==--L[y]){if(y===U)break;y=e[t+d[_]]}if(F>>7)]}function M(A,e){A.pending_buf[A.pending++]=255&e,A.pending_buf[A.pending++]=e>>>8&255}function T(A,e,t){A.bi_valid>p-t?(A.bi_buf|=e<>p-A.bi_valid,A.bi_valid+=t-p):(A.bi_buf|=e<>>=1,t<<=1,0<--e;);return t>>>1}function P(A,e,t){var i,n,r=new Array(g+1),o=0;for(i=1;i<=g;i++)r[i]=o=o+t[i-1]<<1;for(n=0;n<=e;n++){var s=A[2*n+1];0!==s&&(A[2*n]=N(r[s]++,s))}}function R(A){var e;for(e=0;e>1;1<=t;t--)j(A,r,t);for(n=a;t=A.heap[1],A.heap[1]=A.heap[A.heap_len--],j(A,r,1),i=A.heap[1],A.heap[--A.heap_max]=t,A.heap[--A.heap_max]=i,r[2*n]=r[2*t]+r[2*i],A.depth[n]=(A.depth[t]>=A.depth[i]?A.depth[t]:A.depth[i])+1,r[2*t+1]=r[2*i+1]=n,A.heap[1]=n++,j(A,r,1),2<=A.heap_len;);A.heap[--A.heap_max]=A.heap[1],function(A,e){var t,i,n,r,o,s,a=e.dyn_tree,l=e.max_code,c=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,f=e.stat_desc.max_length,m=0;for(r=0;r<=g;r++)A.bl_count[r]=0;for(a[2*A.heap[A.heap_max]+1]=0,t=A.heap_max+1;t>=7;i>>=1)if(1&t&&0!==A.dyn_ltree[2*e])return n;if(0!==A.dyn_ltree[18]||0!==A.dyn_ltree[20]||0!==A.dyn_ltree[26])return r;for(e=32;e>>3,(s=A.static_len+3+7>>>3)<=o&&(o=s)):o=s=t+5,t+4<=o&&-1!==e?J(A,e,t,i):4===A.strategy||s===o?(T(A,2+(i?1:0),3),z(A,Q,U)):(T(A,4+(i?1:0),3),function(A,e,t,i){var n;for(T(A,e-257,5),T(A,t-1,5),T(A,i-4,4),n=0;n>>8&255,A.pending_buf[A.d_buf+2*A.last_lit+1]=255&e,A.pending_buf[A.l_buf+A.last_lit]=255&t,A.last_lit++,0===e?A.dyn_ltree[2*t]++:(A.matches++,e--,A.dyn_ltree[2*(x[t]+l+1)]++,A.dyn_dtree[2*O(e)]++),A.last_lit===A.lit_bufsize-1},t._tr_align=function(A){T(A,2,3),K(A,m,Q),function(A){16===A.bi_valid?(M(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(A)}},{"../utils/common":41}],53:[function(A,e,t){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(A,e,i){(function(A){!function(A,e){"use strict";if(!A.setImmediate){var t,i,n,r,o=1,s={},a=!1,l=A.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(A);c=c&&c.setTimeout?c:A,t="[object process]"==={}.toString.call(A.process)?function(A){process.nextTick((function(){u(A)}))}:function(){if(A.postMessage&&!A.importScripts){var e=!0,t=A.onmessage;return A.onmessage=function(){e=!1},A.postMessage("","*"),A.onmessage=t,e}}()?(r="setImmediate$"+Math.random()+"$",A.addEventListener?A.addEventListener("message",h,!1):A.attachEvent("onmessage",h),function(e){A.postMessage(r+e,"*")}):A.MessageChannel?((n=new MessageChannel).port1.onmessage=function(A){u(A.data)},function(A){n.port2.postMessage(A)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,function(A){var e=l.createElement("script");e.onreadystatechange=function(){u(A),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):function(A){setTimeout(u,0,A)},c.setImmediate=function(A){"function"!=typeof A&&(A=new Function(""+A));for(var e=new Array(arguments.length-1),i=0;ie?1:0},sum:function(A,e){var t={};return A.reduce(e?function(A,i,n){return t.index=n,A+e.call(t,i)}:function(A,e){return A+e},0)},max:function(A,t){return Math.max.apply(null,t?e.map(A,t):A)}};var t=function(){var A=5,t=8-A,i=1e3,n=.75;function r(e,t,i){return(e<<2*A)+(t<>t,o=A[1]>>t,s=A[2]>>t,i=r(n,o,s),l[i]=(l[i]||0)+1})),l}function c(A,e){var i,n,r,o=1e6,a=0,l=1e6,c=0,d=1e6,u=0;return A.forEach((function(A){i=A[0]>>t,n=A[1]>>t,r=A[2]>>t,ia&&(a=i),nc&&(c=n),ru&&(u=r)})),new s(o,a,l,c,d,u,e)}function d(A,t){if(t.count()){var i=t.r2-t.r1+1,n=t.g2-t.g1+1,o=t.b2-t.b1+1,s=e.max([i,n,o]);if(1==t.count())return[t.copy()];var a,l,c,d,u,h=0,g=[],p=[];if(s==i)for(a=t.r1;a<=t.r2;a++){for(d=0,l=t.g1;l<=t.g2;l++)for(c=t.b1;c<=t.b2;c++)u=r(a,l,c),d+=A[u]||0;h+=d,g[a]=h}else if(s==n)for(a=t.g1;a<=t.g2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.b1;c<=t.b2;c++)u=r(l,a,c),d+=A[u]||0;h+=d,g[a]=h}else for(a=t.b1;a<=t.b2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.g1;c<=t.g2;c++)u=r(l,c,a),d+=A[u]||0;h+=d,g[a]=h}return g.forEach((function(A,e){p[e]=h-A})),f(s==i?"r":s==n?"g":"b")}function f(A){var e,i,n,r,o,s=A+"1",l=A+"2",c=0;for(a=t[s];a<=t[l];a++)if(g[a]>h/2){n=t.copy(),r=t.copy(),e=a-t[s],i=t[l]-a,o=e<=i?Math.min(t[l]-1,~~(a+i/2)):Math.max(t[s],~~(a-1-e/2));while(!g[o])o++;c=p[o];while(!c&&g[o-1])c=p[--o];return n[l]=o,r[s]=n[l]+1,[n,r]}}}function u(A,t){if(!A.length||t<2||t>256)return!1;var r=l(A);r.forEach((function(){0}));var s=c(A,r),u=new o((function(A,t){return e.naturalOrder(A.count(),t.count())}));function h(A,e){var t,n=1,o=0;while(o=e)return;if(o++>i)return}else A.push(t),o++}u.push(s),h(u,n*t);var g=new o((function(A,t){return e.naturalOrder(A.count()*A.volume(),t.count()*t.volume())}));while(u.size())g.push(u.pop());h(g,t-g.size());var p=new a;while(g.size())p.push(g.pop());return p}return s.prototype={volume:function(A){var e=this;return e._volume&&!A||(e._volume=(e.r2-e.r1+1)*(e.g2-e.g1+1)*(e.b2-e.b1+1)),e._volume},count:function(A){var e=this,t=e.histo;if(!e._count_set||A){var i,n,o,s,a=0;for(i=e.r1;i<=e.r2;i++)for(n=e.g1;n<=e.g2;n++)for(o=e.b1;o<=e.b2;o++)s=r(i,n,o),a+=t[s]||0;e._count=a,e._count_set=!0}return e._count},copy:function(){var A=this;return new s(A.r1,A.r2,A.g1,A.g2,A.b1,A.b2,A.histo)},avg:function(e){var t=this,i=t.histo;if(!t._avg||e){var n,o,s,a,l,c=0,d=1<<8-A,u=0,h=0,g=0;for(o=t.r1;o<=t.r2;o++)for(s=t.g1;s<=t.g2;s++)for(a=t.b1;a<=t.b2;a++)l=r(o,s,a),n=i[l]||0,c+=n,u+=n*(o+.5)*d,h+=n*(s+.5)*d,g+=n*(a+.5)*d;t._avg=c?[~~(u/c),~~(h/c),~~(g/c)]:[~~(d*(t.r1+t.r2+1)/2),~~(d*(t.g1+t.g2+1)/2),~~(d*(t.b1+t.b2+1)/2)]}return t._avg},contains:function(A){var e=this,i=A[0]>>t;return gval=A[1]>>t,bval=A[2]>>t,i>=e.r1&&i<=e.r2&&gval>=e.g1&&gval<=e.g2&&bval>=e.b1&&bval<=e.b2}},a.prototype={push:function(A){this.vboxes.push({vbox:A,color:A.avg()})},palette:function(){return this.vboxes.map((function(A){return A.color}))},size:function(){return this.vboxes.size()},map:function(A){for(var e=this.vboxes,t=0;t251&&n[1]>251&&n[2]>251&&(A[i].color=[255,255,255])}},{quantize:u}}();A.exports=t.quantize},989:function(A,e,t){"use strict";t.r(e),t.d(e,{default:function(){return Hu}});var n=t(6252),r=t(3577),o=t(9963);const s=A=>((0,n.dD)("data-v-28c8a5e1"),A=A(),(0,n.Cn)(),A),a={class:"home_page .Guide_1_16"},l={class:"page_content"},c={class:"page_content_body"},d={class:"home_page_body"},u={class:"home_page_left"},h={class:"home_page_left_content"},g={class:"home_left_null"},p={class:"is_finish_loading"},f={class:"home_left_info"},m={class:"left_info_top"},B={class:"left_info_content scroll_style"},w={class:"left_info_content_body",ref:"collection_canvas"},v={class:"home_page_right"},C={class:"right_top"},b={class:"right_top_left"},y={class:"right_content_block"},_={class:"right_content_header"},Q={class:"content_header_left"},U=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),F={class:"content_header_des"},x={class:"right_content_body"},E={class:"right_content_img_item"},k=["onClick"],I={class:"content_img_flex"},S=["src"],D=["onClick"],H={class:"right_content_header"},L={class:"content_header_left"},O=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),M={class:"content_header_des"},T={class:"right_content_export"},K={class:"right_content_body"},N={class:"right_content_img_item",id:"right_content_img_block"},P=["onClick","onDragstart","onDrop"],R={class:"content_img_flex"},V=["src"],G=["onClick"],j={class:"mark_loading"},z={class:"progress_mark"},Z={class:"mark_content"};function W(A,e,t,i,s,W){const Y=(0,n.up)("HeaderComponent"),X=(0,n.up)("a-spin"),J=(0,n.up)("NewCollectionReview"),$=(0,n.up)("a-checkbox"),q=(0,n.up)("CollectionModal"),AA=(0,n.up)("DesignDetail"),eA=(0,n.up)("ExportNewCoolection"),tA=(0,n.up)("a-progress"),iA=(0,n.up)("RobotAssist"),nA=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(Y),(0,n._)("div",l,[(0,n._)("div",c,[(0,n._)("div",d,[(0,n._)("div",u,[(0,n._)("div",h,[(0,n.wy)((0,n._)("div",g,[(0,n._)("div",null,[(0,n._)("div",{id:"Guide_1_1",class:"new_collection_button",onClick:e[0]||(e[0]=e=>A.startNewCollection())},(0,r.zw)(A.$t("HomeView.GetStarted")),1)]),(0,n.wy)((0,n._)("div",p,[(0,n.Wm)(X,{size:"large"})],512),[[o.F8,A.isFinishLoading]])],512),[[o.F8,!A.isHaveReviewCollection]]),(0,n.wy)((0,n._)("div",f,[(0,n._)("div",m,[(0,n._)("div",{class:"button_second",onClick:e[1]||(e[1]=e=>A.startNewCollection())},(0,r.zw)(A.$t("HomeView.Start")),1),(0,n._)("div",{class:"button_first button_margin",onClick:e[2]||(e[2]=e=>A.recollection())},(0,r.zw)(A.$t("HomeView.Edit")),1)]),(0,n._)("div",B,[(0,n._)("div",w,[(0,n.Wm)(J,{id:"collectionReview"})],512)])],512),[[o.F8,A.isHaveReviewCollection]])])]),(0,n._)("div",v,[(0,n._)("div",C,[(0,n._)("div",b,[(0,n._)("div",{class:"button_second Guide_1_15",onClick:e[3]||(e[3]=e=>A.designNewCollection())},(0,r.zw)(A.$t("HomeView.Design")),1),(0,n.wy)((0,n._)("div",{class:"button_first button_margin_14",onClick:e[4]||(e[4]=e=>A.resDesignCollection())},(0,r.zw)(A.$t("HomeView.Redesign")),513),[[o.F8,A.designCollectionId]])])]),(0,n._)("div",y,[(0,n._)("div",_,[(0,n._)("div",Q,[U,(0,n._)("span",F,(0,r.zw)(A.$t("HomeView.GeneratedDesign")),1)])]),(0,n._)("div",x,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style Guide_1_17",{active:0!=A.designCollectionList.length}])},[(0,n._)("div",E,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.designCollectionList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block hideEvents",key:e?.designItemId,onClick:i=>A.designDetail(e,t,A.designCollectionList,"dislike")},[(0,n._)("div",I,[(0,n._)("img",{class:"content_img",src:e.designOutfitUrl},null,8,S)]),(0,n._)("div",{class:"icon iconfont icon-jushoucang icon_like",onClick:(0,o.iM)((i=>A.likeDesignCollection(e,t)),["stop"])},null,8,D)],8,k)))),128))])],2)),[[nA]])]),(0,n._)("div",H,[(0,n._)("div",L,[O,(0,n._)("span",M,(0,r.zw)(A.$t("HomeView.SelectedDesign")),1)]),(0,n.wy)((0,n._)("div",T,[(0,n._)("div",{class:"button_second",onClick:e[5]||(e[5]=e=>A.exportCanvas())},(0,r.zw)(A.$t("HomeView.Export")),1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A.isShowOperate?"icon_rotate":""]),onClick:e[6]||(e[6]=(0,o.iM)((e=>A.changeShowOperateContent()),["stop"]))},null,2),(0,n.wy)((0,n._)("div",{class:"export_nav",onClick:e[7]||(e[7]=(0,o.iM)((()=>{}),["stop"]))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.exportNav,(A=>((0,n.wg)(),(0,n.j4)($,{checked:A.change,"onUpdate:checked":e=>A.change=e,disabled:A.noChange},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.name),1)])),_:2},1032,["checked","onUpdate:checked","disabled"])))),256))],512),[[o.F8,A.isShowOperate]])],512),[[o.F8,A.likeDesignCollectionList.length]])]),(0,n._)("div",K,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style",{active:0!=A.likeDesignCollectionList.length}])},[(0,n._)("div",N,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.likeDesignCollectionList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",draggable:"",key:t.id,onClick:e=>A.designDetail(t,i,A.likeDesignCollectionList,"like"),onDragstart:e=>A.dragstart(e,i),onDragover:e[8]||(e[8]=(0,o.iM)((()=>{}),["prevent"])),onDrop:e=>A.dragDrop(e,i)},[(0,n._)("div",R,[((0,n.wg)(),(0,n.iD)("img",{class:"content_img",src:t.designOutfitUrl,key:t.designOutfitUrl},null,8,V))]),(0,n._)("div",{class:"icon iconfont icon-jushoucanggift icon_like",onClick:(0,o.iM)((e=>A.dislikeDesignCollection(t,i)),["stop"])},null,8,G)],40,P)))),128))])],2)),[[nA]])])])])])])]),(0,n.Wm)(q,{ref:"collectionModal",onFinishCollection:e[9]||(e[9]=e=>A.finishCollection())},null,512),(0,n.Wm)(AA,{ref:"designDetail",onFinishRedesign:A.finishRedesign},null,8,["onFinishRedesign"]),(0,n.Wm)(eA,{id:"exportNewCoolection"}),(0,n.wy)((0,n._)("div",j,[(0,n.Wm)(X,{size:"large"})],512),[[o.F8,A.isShowMark]]),(0,n.wy)((0,n._)("div",z,[(0,n._)("div",Z,[(0,n.Wm)(tA,{type:"circle",percent:A.designProgress,strokeColor:"#341e57",width:200},null,8,["percent"]),(0,n._)("div",null,[(0,n.Wm)(X,{indicator:A.indicator},null,8,["indicator"])])])],512),[[o.F8,A.showDesignMark]]),(0,n.Wm)(iA)])}var Y=t(2262),X=t(5154);const J={key:0},$={class:"collection_title"},q={class:"collection_title_text"},AA={class:"collection_progress"},eA={class:"collection_modal_body"},tA={class:"mark_loading"};function iA(A,e,t,i,s,a){const l=(0,n.up)("a-progress"),c=(0,n.up)("MoodboardUpload"),d=(0,n.up)("PrintboardUpload"),u=(0,n.up)("ColorboardUpload"),h=(0,n.up)("SketchboardUpload"),g=(0,n.up)("a-spin"),p=(0,n.up)("a-modal");return A.showCollectionModal?((0,n.wg)(),(0,n.iD)("div",J,[(0,n.Wm)(p,{class:"modal_component collection_modal Guide_1_2",visible:A.showCollectionModal,"onUpdate:visible":e[4]||(e[4]=e=>A.showCollectionModal=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,wrapClassName:"#app"},{default:(0,n.w5)((()=>[(0,n._)("div",$,[(0,n._)("div",q,[(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Moodboard")),513),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Printboard")),513),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Colorboard")),513),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(A.$t("collectionModal.Sketchboard")),513),[[o.F8,4===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.MoodCollection")),513),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.PrinCollection")),513),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.ColorCollection")),513),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(A.$t("collectionModal.SketchCollection")),513),[[o.F8,4===A.collectionStep]])]),(0,n._)("div",AA,[(0,n.Wm)(l,{strokeWidth:13,strokeColor:"#341e57",type:"circle",percent:25*A.collectionStep,format:e=>`${A.collectionStep}/4`},null,8,["percent","format"])])]),(0,n._)("div",{class:(0,r.C_)(["collection_closeIcon",[A.driver__.driver?"hideEvents":""]])},[(0,n._)("i",{class:"fi fi-rr-cross-small",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))})],2),(0,n._)("div",{class:(0,r.C_)(["collection_page",[A.driver__.driver?"hideEvents":""]])},[(0,n.wy)((0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:e[1]||(e[1]=e=>A.lastStep())},null,512),[[o.F8,A.collectionStep>1]]),A.collectionStep<4?((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-arrow-small-right Guide_1_8",onClick:e[2]||(e[2]=(0,o.iM)((e=>A.nextStep()),["stop"]))})):((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-rr-check Guide_1_14",onClick:e[3]||(e[3]=(0,o.iM)((e=>A.finishCollection()),["stop"]))}))],2),(0,n._)("div",eA,[(0,n.wy)((0,n.Wm)(c,{ref:"MoodboardUpload"},null,512),[[o.F8,1===A.collectionStep]]),(0,n.wy)((0,n.Wm)(d,{ref:"PrintboardUpload"},null,512),[[o.F8,2===A.collectionStep]]),(0,n.wy)((0,n.Wm)(u,{ref:"ColorboardUpload"},null,512),[[o.F8,3===A.collectionStep]]),(0,n.wy)((0,n.Wm)(h,{ref:"SketchboardUpload"},null,512),[[o.F8,4===A.collectionStep]])]),(0,n.wy)((0,n._)("div",tA,[(0,n.Wm)(g,{size:"large"})],512),[[o.F8,A.isShowMark]])])),_:1},8,["visible"])])):(0,n.kq)("",!0)}const nA={class:"generate Guide_1_6"},rA={key:0,class:"generate_checkbox"},oA={key:0,class:"printModel"},sA=["placeholder","maxlength"],aA={key:2,class:"generage_img"},lA={class:"upload_item"},cA=["onClick"],dA={class:"upload_file_item_content"},uA={class:"upload_file_item_content"},hA=["src"],gA={key:0,class:"operate_file_block"},pA={class:"select_img_type"},fA=["onClick"],mA={class:"category_list"},BA=["onClick"],wA=["onClick"],vA=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),CA=[vA],bA={class:"upload_file_item upload_component"},yA={class:"upload_tip_block"},_A=(0,n._)("i",{class:"fi fi-br-upload"},null,-1),QA=[_A],UA={key:3,class:"generage_img"},FA=["onClick"],xA={alt:""},EA={class:"delete_like_file_block"},kA=["onClick"],IA=["onClick"],SA={class:"delete_like_file_block left"},DA={class:"mark_loading"};function HA(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("scaleImage"),u=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",nA,["Sketchboard"==A.type_.type2||"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",rA,[(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=e=>A.checkbox[0].type=e),onClick:e[1]||(e[1]=e=>A.setKeyword(0))},null,512),[[o.e8,A.checkbox[0].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.ImageOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[2]||(e[2]=e=>A.checkbox[1].type=e),onClick:e[3]||(e[3]=e=>A.setKeyword(1))},null,512),[[o.e8,A.checkbox[1].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.TextOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":e[4]||(e[4]=e=>A.checkbox[2].type=e),onClick:e[5]||(e[5]=e=>A.setKeyword(2))},null,512),[[o.e8,A.checkbox[2].type]]),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.TextImage")),1)])]),"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",oA,[(0,n._)("div",{onClick:e[6]||(e[6]=(0,o.iM)(((...e)=>A.PrintModel&&A.PrintModel(...e)),["stop"]))},(0,r.zw)(A.printModel.name),1),(0,n.wy)((0,n._)("ul",null,[(0,n._)("li",{class:"printModel_item",onClick:e[7]||(e[7]=e=>A.setprintModel(1))},(0,r.zw)(A.$t("Generate.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:e[8]||(e[8]=e=>A.setprintModel(2))},(0,r.zw)(A.$t("Generate.Model2")),1),(0,n.wy)((0,n._)("li",{class:"printModel_item",onClick:e[9]||(e[9]=e=>A.setprintModel(3))},(0,r.zw)(A.$t("Generate.Generate")),513),[[o.F8,A.printBoards.length>=1]])],512),[[o.F8,A.printModel.optype]])])):(0,n.kq)("",!0)])):((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,r.C_)(["input_box Guide_1_5",[A.inputShow?"active":""]])},[(0,n.wy)((0,n._)("input",{class:"search_input",onInput:e[10]||(e[10]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),placeholder:A.$t("Generate.inputContent1"),maxlength:A.inputShow?0:9999,"onUpdate:modelValue":e[11]||(e[11]=e=>A.searchPictureName=e),onKeydown:e[12]||(e[12]=(0,o.D2)((e=>A.getgenerate()),["enter"]))},null,40,sA),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[13]||(e[13]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},(0,r.zw)(A.$t("Generate.Generate")),1),(0,n._)("span",null,(0,r.zw)(A.$t("Generate.maximumLength")),1)],2)),"Sketchboard"==A.type_.type2||"Printboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",aA,[(0,n._)("div",lA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item",[e?.checked?"active":"",A.checkboxImage?"forbidden":""]]),key:e,onClick:(0,o.iM)((t=>A.setSketchboardItem(e)),["stop"])},[(0,n.wy)((0,n._)("div",dA,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",uA,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,hA),"Sketchboard"==A.type_.type2?((0,n.wg)(),(0,n.iD)("div",gA,[(0,n._)("div",pA,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.categoryShow?"icon_rotate":""])},null,2)],8,fA),(0,n.wy)((0,n._)("div",mA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.value),11,BA)))),128))],512),[[o.F8,e.categoryShow]])])])):(0,n.kq)("",!0),(0,n._)("div",{class:"delete_file_block",onClick:e=>A.deleteFile(t)},CA,8,wA)],512),[[o.F8,"done"===e?.status]])],10,cA)))),128)),(0,n.wy)((0,n._)("div",bA,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},disabled:A.checkbox[1].type,headers:{Authorization:A.token},"file-list":A.sketchboardList,"onUpdate:file-list":e[14]||(e[14]=e=>A.sketchboardList=e),"before-upload":A.beforeUpload,multiple:"",maxCount:8-A.sketchboardList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[15]||(e[15]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",yA,QA,512),[[o.F8,8!=A.sketchboardList.length]])])),_:1},8,["action","data","disabled","headers","file-list","before-upload","maxCount"])],512),[[o.F8,8!=A.sketchboardList.length]])])])):((0,n.wg)(),(0,n.iD)("div",UA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["generage_img_item",[t?.checked?"active":"",A.driver__.driver?"hideEvents":""]]),key:t.imgUrl,onClick:e=>A.generageAdd(t)},[(0,n.wy)((0,n._)("img",xA,null,512),[[u,t.imgUrl]]),(0,n._)("div",EA,[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((e=>A.likeFile(t,"noLike")),["stop"])},null,8,IA)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((e=>A.likeFile(t,"like")),["stop"])},null,8,kA))]),(0,n._)("div",SA,[(0,n._)("i",{class:"fi fi-bs-expand-arrows-alt",onClick:e[16]||(e[16]=(0,o.iM)((e=>A.scaleImage()),["stop"]))})])],10,FA)))),128))])),(0,n.Wm)(d,{ref:"scaleImage"},null,512),(0,n.wy)((0,n._)("div",DA,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])])}var LA=t(320),OA=t(1446),MA=t(4873),TA=t(6214),KA=t(3907),NA={id:1,testUrl:"http://192.168.1.5:10086",zIndex:2,setColor:(A,e,t)=>new Promise((i=>{var n=void 0==t?.min?5:t.min,r=void 0==t?.max?5:t.max,o=new Image;o.src=e;o.onload=()=>{const e=o.width,t=o.height,s=document.createElement("canvas");s.width=e,s.height=t;var a=s.getContext("2d");a.drawImage(o,0,0);var l=a.getImageData(0,0,e,t),c=[];for(let i=0;iA[i][0]&&h-nA[i][1]&&g-nA[i][2]&&d++}let o={rgb:A[i],ratio:parseInt(String((d/(e*t)*100).toFixed(6)))};c.push(o)}i({width:e,height:t,ratio:c})}}))},PA=t(2339),RA=t(7332);const VA={class:"scaleImage_btn"},GA=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),jA=[GA],zA=(0,n._)("i",{class:"fi fi-rr-down-to-line"},null,-1),ZA=[zA],WA={class:"scaleImage_content"},YA=["src"],XA={class:"scaleImage_nav"},JA={class:"nav_left"},$A={class:"nav_list"},qA=["onClick","src"],Ae={class:"nav_right"};function ee(A,e,t,i,s,a){const l=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(l,{class:"scaleImage_modal",visible:A.scaleImage,"onUpdate:visible":e[4]||(e[4]=e=>A.scaleImage=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",VA,[(0,n._)("div",{class:"collection_closeIcon left",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},jA),(0,n._)("div",{class:"collection_closeIcon",onClick:e[1]||(e[1]=(0,o.iM)((e=>A.download()),["stop"]))},ZA)]),(0,n._)("div",WA,[(0,n._)("img",{src:A.scaleImageList[A.scaleImageIndex]?.imgUrl},null,8,YA)]),(0,n._)("div",XA,[(0,n._)("div",JA,[(0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:e[2]||(e[2]=e=>A.lastStep())})]),(0,n._)("div",$A,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.scaleImageList,((e,t)=>((0,n.wg)(),(0,n.iD)("img",{onClick:e=>A.setScaleImageIndex(t),class:(0,r.C_)({active:t==A.scaleImageIndex}),src:e?.imgUrl,key:e.id},null,10,qA)))),128))]),(0,n._)("div",Ae,[(0,n._)("i",{class:"fi fi-rr-arrow-small-right",onClick:e[3]||(e[3]=(0,o.iM)((e=>A.nextStep()),["stop"]))})])])])),_:1},8,["visible"])}var te=(0,n.aZ)({setup(){let A=(0,Y.iH)(!1),e=(0,Y.iH)(!1);const t=(0,Y.iH)(!1),i=A=>{t.value=A};let n=(0,Y.iH)([]),r=(0,Y.iH)(0);return{scaleImage:A,loadingShow:e,visible:t,setVisible:i,scaleImageList:n,scaleImageIndex:r}},data(){return{}},mounted(){},methods:{init(A){this.scaleImage=!0,this.scaleImageList=A},cancelDsign(){this.scaleImage=!1,this.scaleImageList=[],this.scaleImageIndex=0},lastStep(){this.scaleImageIndex<=0||(this.scaleImageIndex-=1)},nextStep(){this.scaleImageIndex>=this.scaleImageList.length-1||(this.scaleImageIndex+=1)},download(){(0,RA.W$)(this.scaleImageList[this.scaleImageIndex].imgUrl)},setScaleImageIndex(A){this.scaleImageIndex=A}}}),ie=t(3744);const ne=(0,ie.Z)(te,[["render",ee]]);var re=ne;let oe={};function se(A={}){oe={animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000",...A}}function ae(A){return A?oe[A]:oe}function le(A,e,t,i){return(A/=i/2)<1?t/2*A*A+e:-t/2*(--A*(A-2)-1)+e}function ce(A){const e='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return A.flatMap((A=>{const t=A.matches(e),i=Array.from(A.querySelectorAll(e));return[...t?[A]:[],...i]})).filter((A=>"none"!==getComputedStyle(A).pointerEvents&&ge(A)))}function de(A){if(!A||he(A))return;const e=ae("smoothScroll");A.scrollIntoView({behavior:!e||ue(A)?"auto":"smooth",inline:"center",block:"center"})}function ue(A){if(!A||!A.parentElement)return;const e=A.parentElement;return e.scrollHeight>e.clientHeight}function he(A){const e=A.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}function ge(A){return!!(A.offsetWidth||A.offsetHeight||A.getClientRects().length)}let pe={};function fe(A,e){pe[A]=e}function me(A){return A?pe[A]:pe}function Be(){pe={}}let we={};function ve(A,e){we[A]=e}function Ce(A){var e;null==(e=we[A])||e.call(we)}function be(){we={}}function ye(A,e,t,i){let n=me("__activeStagePosition");const r=n||t.getBoundingClientRect(),o=i.getBoundingClientRect(),s=le(A,r.x,o.x-r.x,e),a=le(A,r.y,o.y-r.y,e),l=le(A,r.width,o.width-r.width,e),c=le(A,r.height,o.height-r.height,e);n={x:s,y:a,width:l,height:c},Fe(n),fe("__activeStagePosition",n)}function _e(A){if(!A)return;const e=A.getBoundingClientRect(),t={x:e.x,y:e.y,width:e.width,height:e.height};fe("__activeStagePosition",t),Fe(t)}function Qe(){const A=me("__activeStagePosition"),e=me("__overlaySvg");if(!A)return;if(!e)return void console.warn("No stage svg found.");const t=window.innerWidth,i=window.innerHeight;e.setAttribute("viewBox",`0 0 ${t} ${i}`)}function Ue(A){const e=xe(A);document.body.appendChild(e),Ke(e,(A=>{"path"===A.target.tagName&&Ce("overlayClick")})),fe("__overlaySvg",e)}function Fe(A){const e=me("__overlaySvg");if(!e)return void Ue(A);const t=e.firstElementChild;if("path"!==(null==t?void 0:t.tagName))throw new Error("no path element found in stage svg");t.setAttribute("d",Ee(A))}function xe(A){const e=window.innerWidth,t=window.innerHeight,i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.classList.add("driver-overlay","driver-overlay-animated"),i.setAttribute("viewBox",`0 0 ${e} ${t}`),i.setAttribute("xmlSpace","preserve"),i.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),i.setAttribute("preserveAspectRatio","xMinYMin slice"),i.style.fillRule="evenodd",i.style.clipRule="evenodd",i.style.strokeLinejoin="round",i.style.strokeMiterlimit="2",i.style.zIndex="10000",i.style.position="fixed",i.style.top="0",i.style.left="0",i.style.width="100%",i.style.height="100%";const n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",Ee(A)),n.style.fill=ae("overlayColor")||"rgb(0,0,0)",n.style.opacity=`${ae("overlayOpacity")}`,n.style.pointerEvents="auto",n.style.cursor="auto",i.appendChild(n),i}function Ee(A){const e=window.innerWidth,t=window.innerHeight,i=ae("stagePadding")||0,n=ae("stageRadius")||0,r=A.width+2*i,o=A.height+2*i,s=Math.min(n,r/2,o/2),a=Math.floor(Math.max(s,0)),l=A.x-i+a,c=A.y-i,d=r-2*a,u=o-2*a;return`M${e},0L0,0L0,${t}L${e},${t}L${e},0Z\n M${l},${c} h${d} a${a},${a} 0 0 1 ${a},${a} v${u} a${a},${a} 0 0 1 -${a},${a} h-${d} a${a},${a} 0 0 1 -${a},-${a} v-${u} a${a},${a} 0 0 1 ${a},-${a} z`}function ke(){const A=me("__overlaySvg");A&&A.remove()}function Ie(){const A=document.getElementById("driver-dummy-element");if(A)return A;let e=document.createElement("div");return e.id="driver-dummy-element",e.style.width="0",e.style.height="0",e.style.pointerEvents="none",e.style.opacity="0",e.style.position="fixed",e.style.top="50%",e.style.left="50%",document.body.appendChild(e),e}function Se(A){const{element:e}=A;let t="string"==typeof e?document.querySelector(e):e;t||(t=Ie()),He(t,A)}function De(){const A=me("__activeElement"),e=me("__activeStep");A&&(_e(A),Qe(),Ze(A,e))}function He(A,e){const t=Date.now(),i=me("__activeStep"),n=me("__activeElement")||A,r=!n||n===A,o="driver-dummy-element"===A.id,s="driver-dummy-element"===n.id,a=ae("animate"),l=e.onHighlightStarted||ae("onHighlightStarted"),c=(null==e?void 0:e.onHighlighted)||ae("onHighlighted"),d=(null==i?void 0:i.onDeselected)||ae("onDeselected"),u=ae(),h=me();!r&&d&&d(s?void 0:n,i,{config:u,state:h}),l&&l(o?void 0:A,e,{config:u,state:h});const g=!r&&a;let p=!1;Re(),fe("previousStep",i),fe("previousElement",n),fe("activeStep",e),fe("activeElement",A);const f=()=>{if(me("__transitionCallback")!==f)return;const r=Date.now()-t,s=400-r<=200;e.popover&&s&&!p&&g&&(Ve(A,e),p=!0),ae("animate")&&r<400?ye(r,400,n,A):(_e(A),c&&c(o?void 0:A,e,{config:ae(),state:me()}),fe("__transitionCallback",void 0),fe("__previousStep",i),fe("__previousElement",n),fe("__activeStep",e),fe("__activeElement",A)),window.requestAnimationFrame(f)};fe("__transitionCallback",f),window.requestAnimationFrame(f),de(A),!g&&e.popover&&Ve(A,e),n.classList.remove("driver-active-element","driver-no-interaction"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("aria-controls"),ae("disableActiveInteraction")&&A.classList.add("driver-no-interaction"),A.classList.add("driver-active-element"),A.setAttribute("aria-haspopup","dialog"),A.setAttribute("aria-expanded","true"),A.setAttribute("aria-controls","driver-popover-content")}function Le(){var A;null==(A=document.getElementById("driver-dummy-element"))||A.remove(),document.querySelectorAll(".driver-active-element").forEach((A=>{A.classList.remove("driver-active-element","driver-no-interaction"),A.removeAttribute("aria-haspopup"),A.removeAttribute("aria-expanded"),A.removeAttribute("aria-controls")}))}function Oe(){const A=me("__resizeTimeout");A&&window.cancelAnimationFrame(A),fe("__resizeTimeout",window.requestAnimationFrame(De))}function Me(A){var e;if(!me("isInitialized")||"Tab"!==A.key&&9!==A.keyCode)return;const t=me("__activeElement"),i=null==(e=me("popover"))?void 0:e.wrapper,n=ce([...i?[i]:[],...t?[t]:[]]),r=n[0],o=n[n.length-1];if(A.preventDefault(),A.shiftKey){const A=n[n.indexOf(document.activeElement)-1]||o;null==A||A.focus()}else{const A=n[n.indexOf(document.activeElement)+1]||r;null==A||A.focus()}}function Te(A){var e;(null==(e=ae("allowKeyboardControl"))||e)&&("Escape"===A.key?Ce("escapePress"):"ArrowRight"===A.key?Ce("arrowRightPress"):"ArrowLeft"===A.key&&Ce("arrowLeftPress"))}function Ke(A,e,t){const i=(e,i)=>{const n=e.target;A.contains(n)&&((!t||t(n))&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),null==i||i(e))};document.addEventListener("pointerdown",i,!0),document.addEventListener("mousedown",i,!0),document.addEventListener("pointerup",i,!0),document.addEventListener("mouseup",i,!0),document.addEventListener("click",(A=>{i(A,e)}),!0)}function Ne(){window.addEventListener("keyup",Te,!1),window.addEventListener("keydown",Me,!1),window.addEventListener("resize",Oe),window.addEventListener("scroll",Oe)}function Pe(){window.removeEventListener("keyup",Te),window.removeEventListener("resize",Oe),window.removeEventListener("scroll",Oe)}function Re(){const A=me("popover");A&&(A.wrapper.style.display="none")}function Ve(A,e){var t,i;let n=me("popover");n&&document.body.removeChild(n.wrapper),n=Ye(),document.body.appendChild(n.wrapper);const{title:r,description:o,showButtons:s,disableButtons:a,showProgress:l,nextBtnText:c=ae("nextBtnText")||"Next →",prevBtnText:d=ae("prevBtnText")||"← Previous",progressText:u=ae("progressText")||"{current} of {total}"}=e.popover||{};n.nextButton.innerHTML=c,n.previousButton.innerHTML=d,n.progress.innerHTML=u,r?(n.title.innerHTML=r,n.title.style.display="block"):n.title.style.display="none",o?(n.description.innerHTML=o,n.description.style.display="block"):n.description.style.display="none";const h=s||ae("showButtons"),g=l||ae("showProgress")||!1,p=(null==h?void 0:h.includes("next"))||(null==h?void 0:h.includes("previous"))||g;n.closeButton.style.display=h.includes("close")?"block":"none",p?(n.footer.style.display="flex",n.progress.style.display=g?"block":"none",n.nextButton.style.display=h.includes("next")?"block":"none",n.previousButton.style.display=h.includes("previous")?"block":"none"):n.footer.style.display="none";const f=a||ae("disableButtons")||[];null!=f&&f.includes("next")&&(n.nextButton.disabled=!0,n.nextButton.classList.add("driver-popover-btn-disabled")),null!=f&&f.includes("previous")&&(n.previousButton.disabled=!0,n.previousButton.classList.add("driver-popover-btn-disabled")),null!=f&&f.includes("close")&&(n.closeButton.disabled=!0,n.closeButton.classList.add("driver-popover-btn-disabled"));const m=n.wrapper;m.style.display="block",m.style.left="",m.style.top="",m.style.bottom="",m.style.right="",m.id="driver-popover-content",m.setAttribute("role","dialog"),m.setAttribute("aria-labelledby","driver-popover-title"),m.setAttribute("aria-describedby","driver-popover-description");const B=n.arrow;B.className="driver-popover-arrow";const w=(null==(t=e.popover)?void 0:t.popoverClass)||ae("popoverClass")||"";m.className=`driver-popover ${w}`.trim(),Ke(n.wrapper,(t=>{var i,n,r;const o=t.target,s=(null==(i=e.popover)?void 0:i.onNextClick)||ae("onNextClick"),a=(null==(n=e.popover)?void 0:n.onPrevClick)||ae("onPrevClick"),l=(null==(r=e.popover)?void 0:r.onCloseClick)||ae("onCloseClick");return o.classList.contains("driver-popover-next-btn")?s?s(A,e,{config:ae(),state:me()}):Ce("nextClick"):o.classList.contains("driver-popover-prev-btn")?a?a(A,e,{config:ae(),state:me()}):Ce("prevClick"):o.classList.contains("driver-popover-close-btn")?l?l(A,e,{config:ae(),state:me()}):Ce("closeClick"):void 0}),(A=>!(null!=n&&n.description.contains(A))&&!(null!=n&&n.title.contains(A))&&"string"==typeof A.className&&A.className.includes("driver-popover"))),fe("popover",n);const v=(null==(i=e.popover)?void 0:i.onPopoverRender)||ae("onPopoverRender");v&&v(n,{config:ae(),state:me()}),Ze(A,e),de(m);const C=A.classList.contains("driver-dummy-element"),b=ce([m,...C?[]:[A]]);b.length>0&&b[0].focus()}function Ge(){const A=me("popover");if(null==A||!A.wrapper)return;const e=A.wrapper.getBoundingClientRect(),t=ae("stagePadding")||0,i=ae("popoverOffset")||0;return{width:e.width+t+i,height:e.height+t+i,realWidth:e.width,realHeight:e.height}}function je(A,e){const{elementDimensions:t,popoverDimensions:i,popoverPadding:n,popoverArrowDimensions:r}=e;return"start"===A?Math.max(Math.min(t.top-n,window.innerHeight-i.realHeight-r.width),r.width):"end"===A?Math.max(Math.min(t.top-(null==i?void 0:i.realHeight)+t.height+n,window.innerHeight-(null==i?void 0:i.realHeight)-r.width),r.width):"center"===A?Math.max(Math.min(t.top+t.height/2-(null==i?void 0:i.realHeight)/2,window.innerHeight-(null==i?void 0:i.realHeight)-r.width),r.width):0}function ze(A,e){const{elementDimensions:t,popoverDimensions:i,popoverPadding:n,popoverArrowDimensions:r}=e;return"start"===A?Math.max(Math.min(t.left-n,window.innerWidth-i.realWidth-r.width),r.width):"end"===A?Math.max(Math.min(t.left-(null==i?void 0:i.realWidth)+t.width+n,window.innerWidth-(null==i?void 0:i.realWidth)-r.width),r.width):"center"===A?Math.max(Math.min(t.left+t.width/2-(null==i?void 0:i.realWidth)/2,window.innerWidth-(null==i?void 0:i.realWidth)-r.width),r.width):0}function Ze(A,e){const t=me("popover");if(!t)return;const{align:i="start",side:n="left"}=(null==e?void 0:e.popover)||{},r=i,o="driver-dummy-element"===A.id?"over":n,s=ae("stagePadding")||0,a=Ge(),l=t.arrow.getBoundingClientRect(),c=A.getBoundingClientRect(),d=c.top-a.height;let u=d>=0;const h=window.innerHeight-(c.bottom+a.height);let g=h>=0;const p=c.left-a.width;let f=p>=0;const m=window.innerWidth-(c.right+a.width);let B=m>=0;const w=!u&&!g&&!f&&!B;let v=o;if("top"===o&&u?B=f=g=!1:"bottom"===o&&g?B=f=u=!1:"left"===o&&f?B=u=g=!1:"right"===o&&B&&(f=u=g=!1),"over"===o){const A=window.innerWidth/2-a.realWidth/2,e=window.innerHeight/2-a.realHeight/2;t.wrapper.style.left=`${A}px`,t.wrapper.style.right="auto",t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto"}else if(w){const A=window.innerWidth/2-(null==a?void 0:a.realWidth)/2,e=10;t.wrapper.style.left=`${A}px`,t.wrapper.style.right="auto",t.wrapper.style.bottom=`${e}px`,t.wrapper.style.top="auto"}else if(f){const A=Math.min(p,window.innerWidth-(null==a?void 0:a.realWidth)-l.width),e=je(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.left=`${A}px`,t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.right="auto",v="left"}else if(B){const A=Math.min(m,window.innerWidth-(null==a?void 0:a.realWidth)-l.width),e=je(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.right=`${A}px`,t.wrapper.style.top=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.left="auto",v="right"}else if(u){const A=Math.min(d,window.innerHeight-a.realHeight-l.width);let e=ze(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.top=`${A}px`,t.wrapper.style.left=`${e}px`,t.wrapper.style.bottom="auto",t.wrapper.style.right="auto",v="top"}else if(g){const A=Math.min(h,window.innerHeight-(null==a?void 0:a.realHeight)-l.width);let e=ze(r,{elementDimensions:c,popoverDimensions:a,popoverPadding:s,popoverArrowDimensions:l});t.wrapper.style.left=`${e}px`,t.wrapper.style.bottom=`${A}px`,t.wrapper.style.top="auto",t.wrapper.style.right="auto",v="bottom"}w?t.arrow.classList.add("driver-popover-arrow-none"):We(r,v,A)}function We(A,e,t){const i=me("popover");if(!i)return;const n=t.getBoundingClientRect(),r=Ge(),o=i.arrow,s=r.width,a=window.innerWidth,l=n.width,c=n.left,d=r.height,u=window.innerHeight,h=n.top,g=n.height;o.className="driver-popover-arrow";let p=e,f=A;"top"===e?(c+l<=0?(p="right",f="end"):c+l-s<=0&&(p="top",f="start"),c>=a?(p="left",f="end"):c+s>=a&&(p="top",f="end")):"bottom"===e?(c+l<=0?(p="right",f="start"):c+l-s<=0&&(p="bottom",f="start"),c>=a?(p="left",f="start"):c+s>=a&&(p="bottom",f="end")):"left"===e?(h+g<=0?(p="bottom",f="end"):h+g-d<=0&&(p="left",f="start"),h>=u?(p="top",f="end"):h+d>=u&&(p="left",f="end")):"right"===e&&(h+g<=0?(p="bottom",f="start"):h+g-d<=0&&(p="right",f="start"),h>=u?(p="top",f="start"):h+d>=u&&(p="right",f="end")),p?(o.classList.add(`driver-popover-arrow-side-${p}`),o.classList.add(`driver-popover-arrow-align-${f}`)):o.classList.add("driver-popover-arrow-none")}function Ye(){const A=document.createElement("div");A.classList.add("driver-popover");const e=document.createElement("div");e.classList.add("driver-popover-arrow");const t=document.createElement("header");t.id="driver-popover-title",t.classList.add("driver-popover-title"),t.style.display="none",t.innerText="Popover Title";const i=document.createElement("div");i.id="driver-popover-description",i.classList.add("driver-popover-description"),i.style.display="none",i.innerText="Popover description is here";const n=document.createElement("button");n.type="button",n.classList.add("driver-popover-close-btn"),n.setAttribute("aria-label","Close"),n.innerHTML="×";const r=document.createElement("footer");r.classList.add("driver-popover-footer");const o=document.createElement("span");o.classList.add("driver-popover-progress-text"),o.innerText="";const s=document.createElement("span");s.classList.add("driver-popover-navigation-btns");const a=document.createElement("button");a.type="button",a.classList.add("driver-popover-prev-btn"),a.innerHTML="← Previous";const l=document.createElement("button");return l.type="button",l.classList.add("driver-popover-next-btn"),l.innerHTML="Next →",s.appendChild(a),s.appendChild(l),r.appendChild(o),r.appendChild(s),A.appendChild(n),A.appendChild(e),A.appendChild(t),A.appendChild(i),A.appendChild(r),{wrapper:A,arrow:e,title:t,description:i,footer:r,previousButton:a,nextButton:l,closeButton:n,footerButtons:s,progress:o}}function Xe(){var A;const e=me("popover");e&&(null==(A=e.wrapper.parentElement)||A.removeChild(e.wrapper))}function Je(A={}){function e(){ae("allowClose")&&l()}function t(){const A=me("activeIndex"),e=ae("steps")||[];if("undefined"==typeof A)return;const t=A+1;e[t]?a(t):l()}function i(){const A=me("activeIndex"),e=ae("steps")||[];if("undefined"==typeof A)return;const t=A-1;e[t]?a(t):l()}function n(A){(ae("steps")||[])[A]?a(A):l()}function r(){var A;if(me("__transitionCallback"))return;const e=me("activeIndex"),t=me("__activeStep"),n=me("__activeElement");if("undefined"==typeof e||"undefined"==typeof t||"undefined"==typeof me("activeIndex"))return;const r=(null==(A=t.popover)?void 0:A.onPrevClick)||ae("onPrevClick");if(r)return r(n,t,{config:ae(),state:me()});i()}function o(){var A;if(me("__transitionCallback"))return;const e=me("activeIndex"),i=me("__activeStep"),n=me("__activeElement");if("undefined"==typeof e||"undefined"==typeof i)return;const r=(null==(A=i.popover)?void 0:A.onNextClick)||ae("onNextClick");if(r)return r(n,i,{config:ae(),state:me()});t()}function s(){me("isInitialized")||(fe("isInitialized",!0),document.body.classList.add("driver-active",ae("animate")?"driver-fade":"driver-simple"),Ne(),ve("overlayClick",e),ve("escapePress",e),ve("arrowLeftPress",r),ve("arrowRightPress",o))}function a(A=0){var e,t,i,n,r,o,s,c;const d=ae("steps");if(!d)return console.error("No steps to drive through"),void l();if(!d[A])return void l();fe("__activeOnDestroyed",document.activeElement),fe("activeIndex",A);const u=d[A],h=d[A+1],g=d[A-1],p=(null==(e=u.popover)?void 0:e.doneBtnText)||ae("doneBtnText")||"Done",f=ae("allowClose"),m="undefined"!=typeof(null==(t=u.popover)?void 0:t.showProgress)?null==(i=u.popover)?void 0:i.showProgress:ae("showProgress"),B=((null==(n=u.popover)?void 0:n.progressText)||ae("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${A+1}`).replace("{{total}}",`${d.length}`),w=(null==(r=u.popover)?void 0:r.showButtons)||ae("showButtons"),v=["next","previous",...f?["close"]:[]].filter((A=>!(null!=w&&w.length)||w.includes(A))),C=(null==(o=u.popover)?void 0:o.onNextClick)||ae("onNextClick"),b=(null==(s=u.popover)?void 0:s.onPrevClick)||ae("onPrevClick"),y=(null==(c=u.popover)?void 0:c.onCloseClick)||ae("onCloseClick");Se({...u,popover:{showButtons:v,nextBtnText:h?void 0:p,disableButtons:[...g?[]:["previous"]],showProgress:m,progressText:B,onNextClick:C||(()=>{h?a(A+1):l()}),onPrevClick:b||(()=>{a(A-1)}),onCloseClick:y||(()=>{l()}),...(null==u?void 0:u.popover)||{}}})}function l(A=!0){const e=me("__activeElement"),t=me("__activeStep"),i=me("__activeOnDestroyed"),n=ae("onDestroyStarted");if(A&&n){const A=!e||"driver-dummy-element"===(null==e?void 0:e.id);return void n(A?void 0:e,t,{config:ae(),state:me()})}const r=(null==t?void 0:t.onDeselected)||ae("onDeselected"),o=ae("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),Pe(),Xe(),Le(),ke(),be(),Be(),e&&t){const A="driver-dummy-element"===e.id;r&&r(A?void 0:e,t,{config:ae(),state:me()}),o&&o(A?void 0:e,t,{config:ae(),state:me()})}i&&i.focus()}return se(A),{isActive:()=>me("isInitialized")||!1,refresh:Oe,drive:(A=0)=>{s(),a(A)},setConfig:se,setSteps:A=>{Be(),se({...ae(),steps:A})},getConfig:ae,getState:me,getActiveIndex:()=>me("activeIndex"),isFirstStep:()=>0===me("activeIndex"),isLastStep:()=>{const A=ae("steps")||[],e=me("activeIndex");return void 0!==e&&e===A.length-1},getActiveStep:()=>me("activeStep"),getActiveElement:()=>me("activeElement"),getPreviousElement:()=>me("previousElement"),getPreviousStep:()=>me("previousStep"),moveNext:t,movePrevious:i,moveTo:n,hasNextStep:()=>{const A=ae("steps")||[],e=me("activeIndex");return void 0!==e&&A[e+1]},hasPreviousStep:()=>{const A=ae("steps")||[],e=me("activeIndex");return void 0!==e&&A[e-1]},highlight:A=>{s(),Se({...A,popover:A.popover?{showButtons:[],showProgress:!1,progressText:"",...A.popover}:void 0})},destroy:()=>{l(!1)}}}let $e,qe,At=0,et={index:At,driver:!0};const tt=Je({steps:[{element:"#Guide_1_1",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_4",popover:{title:"Title",description:"Description"}},{element:".Guide_1_5",popover:{title:"Title",description:"Description"}},{element:".Guide_1_6",popover:{title:"Title",description:"Description"}},{element:".Guide_1_7",popover:{title:"Title",description:"Description"}},{element:".Guide_1_8",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_8",popover:{title:"Title",description:"Description"}},{element:".Guide_1_10",popover:{title:"Title",description:"Description"}},{element:".Guide_1_11",popover:{title:"Title",description:"Description"}},{element:".Guide_1_8",popover:{title:"Title",description:"Description"}},{element:".Guide_1_2",popover:{title:"Title",description:"Description"}},{element:".Guide_1_14",popover:{title:"Title",description:"Description"}},{element:".Guide_1_15",popover:{title:"Title",description:"Description"}},{element:".Guide_1_16",popover:{title:"Title",description:"Description"}},{element:".Guide_1_17",popover:{title:"Title",description:"Description"}},{element:".Guide_1_18",popover:{title:"Title",description:"Description"}},{element:".Guide_1_19",popover:{title:"Title",description:"Description"}}],allowClose:!1,showButtons:!1,stagePadding:10,stageRadius:5,allowKeyboardControl:!0,disableActiveInteraction:!1,overlayOpacity:.4,overlay:!0,onPopoverRender:(A,e)=>{console.log(A,e),qe&&qe.classList.remove("Guide_"),A.previousButton.style.display="none",e.state.activeIndex>=1&&e.state.activeIndex<=2||e.state.activeIndex>=18&&e.state.activeIndex<=19?(A.footer.style.display="block",it(e.state.activeElement)):(A.footer.style.display="none",nt(e.state.activeElement)),At=tt.getState().activeIndex,et.index=At,$e?.commit("setGuide",et),qe=e.state.activeElement,qe.classList.add("Guide_")},onDestroyStarted:()=>{$e?.commit("setGuide",et),tt.destroy()},onDestroyed:()=>{}});function it(A){A.style.posiiton="relative";const e=document.getElementsByClassName("driver-mask__")?.[0];if(e);else{const e=document.createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",e.style.height="100%",e.style.backgroundColor="rgba(0, 0, 0, 0)",e.style.zIndex="9999",e.classList.add("driver-mask__"),A.appendChild(e)}}function nt(A){const e=document.getElementsByClassName("driver-mask__")?.[0];e&&e.remove()}const rt=()=>{$e=(0,KA.oR)();let A={index:At};$e?.commit("setGuide",A)};var ot=t(8552),st=(0,n.aZ)({components:{scaleImage:re},props:["msg","sketchCatecoryList"],setup(){let A=(0,Y.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),e=(0,Y.iH)(),t=(0,Y.iH)([]),i=(0,Y.iH)([]),r=(0,Y.iH)([]),o=(0,Y.iH)(!1),s=(0,Y.iH)(""),a=(0,Y.iH)(1),l=(0,Y.iH)(""),c=(0,Y.iH)(20),d=(0,Y.iH)(0),u=(0,Y.iH)(""),h=(0,Y.iH)(null),g=(0,KA.oR)(),p=(0,Y.iH)([]),f=(0,Y.iH)([]),m=(0,Y.iH)(),B=(0,Y.iH)(""),w=(0,Y.iH)({num:"",optype:!1,name:(0,ot.QT)().t("Generate.Model")+"1"}),v=(0,n.Fl)((()=>g.state.UploadFilesModule.printboard)),C=(0,Y.iH)({}),b=(0,Y.iH)(!1),y=(0,Y.iH)(!1),_=(0,Y.iH)(),Q=(0,n.f3)("driver__"),{t:U}=(0,ot.QT)(),F=(0,Y.iH)();return{imgList:t,selectImgList:i,selectImgListIds:r,isShowLoading:o,selectCode:s,currentPage:a,searchPictureName:l,pageSize:c,total:d,searcMaterialhName:u,designType:h,checkbox:A,store:g,fileList:p,sketchboardList:f,collectionElementid:m,level2Type:B,checkboxImage:e,printModel:w,loadingShow:b,printBoards:v,workspace:C,inputShow:y,inputTime:_,driver__:Q,t:U,isTest:F}},data(A){return{indicator:(0,n.h)(LA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:A.msg,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodboarList:(0,n.Fl)((()=>(0,KA.oR)().state.UploadFilesModule.moodboard)),type_:{type1:"generate",type2:A.msg}}},mounted(){this.token=(0,PA.ej)("token")||"";let A=(0,PA.ej)("isTest");this.isTest=JSON.parse(A)||"",this.uploadUrl=(0,RA.M$)(),this.workspace=this.store.state.Workspace.workspace},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.sketchCatecoryList)if(t.value===A){e=t.label;break}return e}}},methods:{generageAdd(A){A.type_=this.type_,A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A),console.log(this.fileList);let e=this.store.state.UploadFilesModule.moodboard;e.length>=2&&this.driver__.driver&&tt.moveNext()},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||OA.ZP.info(this.t("Generate.jsContent1"));const t=A.size/1024/1024<2;return t||OA.ZP.info(this.t("Generate.jsContent2")),e&&t||MA.Z.LIST_IGNORE},setKeyword(A){this.checkbox.forEach((A=>{A.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[A].type=!0,this.$emit("generateCheckbox",this.checkbox[0].type),this.checkboxImage=this.checkbox[1].type,this.checkboxImage&&this.sketchboardList.forEach((A=>{A.checked=!1}))}))},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(A){this.printModel=3==A?{num:"Generate",optype:!1,name:this.t("Generate.Generate")}:{num:A,optype:!1,name:this.t("Generate.Model")+A}},getgenerate(){if(this.isTest)return void OA.ZP.info(this.t("isTest.available"));if(!this.searchPictureName)return void OA.ZP.info(this.t("Generate.jsContent5"));{let A=this.searchPictureName.split(/\s+/).length;if(A>75)return void OA.ZP.info(this.t("Generate.jsContent4"))}let A={generateType:"text",designType:"",collectionElementId:"",level1Type:this.upload.level1Type,level2Type:"",text:this.searchPictureName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:1,gender:""};this.loadingShow=!0,TA.V.axiosPost(TA.V.httpUrls.sketchAndPrintGenerate,A).then((A=>{if(A){let e;this.fileList=[],A.generatedCollectionItems.forEach(((t,i)=>{e={id:A.generatedCollectionItems[i].generateItemId,imgUrl:A.generatedCollectionItems[i].generateItemUrl,like:A.generatedCollectionItems[i].isLiked},this.fileList.push(e),this.loadingShow=!1})),this.driver__.driver&&tt.moveTo(5)}})).catch((A=>{this.loadingShow=!1}))},ifMaximumLength(){clearTimeout(this.inputTime);let A=document.getElementsByClassName("generate")[0].getElementsByClassName("input_box")[0];A.getElementsByClassName("search_input")[0];this.inputTime=setTimeout((()=>{this.searchPictureName?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.id=A.data.id,e.imgUrl=A.data.url,e.resData=A.data,e.type_="upload",e.id_=NA.id++,e.category=this.sketchCatecoryList?.[0]?.name,e.categoryValue=this.sketchCatecoryList?.[0]?.value;let t=this.sketchboardList.filter((A=>"done"===A.status)),i=this.store.state.UploadFilesModule.sketchboard;i.length>=8?OA.ZP.info(this.t("Generate.jsContent6")):this.sketchboardList=t}else if("error"===e.status){let A=-1;this.sketchboardList.forEach(((t,i)=>{e.uid===t.uid&&(A=i)})),A>-1&&this.sketchboardList.splice(A,1),OA.ZP.warning(e.name+this.t("Generate.jsContent7"))}},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.category=e.name,A.categoryShow=!1},hiddenFileCategory(){for(let A of this.sketchboardList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchboardItem(A){this.checkboxImage||(A.checked?A.checked=!1:(this.sketchboardList.forEach((A=>{A.checked&&(A.checked=!1)})),A.checked=!0),this.collectionElementid=A.id,this.level2Type=A.category)},deleteFile(A){if("generate"==A.type_||"material"==A.type_)this.store.commit("addGenerateMaterialFils",A);else{let e;this.sketchboardList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,i)=>{t.id_==A.id_&&(e=i)})),this.sketchboardList.splice(e,1),this.store.commit("setSketchboardFile",this.sketchboardList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Moodboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosPost(TA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosGet(TA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},scaleImage(){let A=this.$refs.scaleImage;A.init(this.fileList)},closeModal(){this.searchPictureName="",this.designType=null,this.selectImgList=[],this.selectImgListIds=[],this.imgList=[],this.currentPage=1,this.total=0}}});const at=(0,ie.Z)(st,[["render",HA]]);var lt=at;const ct=A=>((0,n.dD)("data-v-ddb5499e"),A=A(),(0,n.Cn)(),A),dt={class:"collection_modal_item"},ut={class:"modal_left"},ht={class:"switch_type_list"},gt={class:"moodboard_body"},pt={class:"upload_img_body scroll_style"},ft={class:"upload_item"},mt={class:"upload_file_item_content"},Bt={class:"upload_file_item_content"},wt=["src"],vt=["onClick"],Ct={class:"upload_file_item upload_component"},bt={class:"upload_tip_block"},yt=ct((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),_t=[yt],Qt={class:"upload_max_tip"},Ut=ct((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),Ft={class:"modal_right"},xt={class:"modal_layout Guide_1_7"},Et={class:"modal_text"},kt=["onClick"],It=ct((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),St={class:"modal_accomplish"},Dt={class:"modal_text"},Ht=ct((()=>(0,n._)("div",null,"Layout of selected moodboard",-1))),Lt={class:"modal_img_max"},Ot=["src"],Mt={key:1,class:"modal_img"},Tt=["src"],Kt={class:"mark_loading"};function Nt(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Material"),u=(0,n.up)("Generate"),h=(0,n.up)("layout"),g=(0,n.Q2)("lazy"),p=(0,n.Q2)("modelImg");return(0,n.wg)(),(0,n.iD)("div",dt,[(0,n._)("div",ut,[(0,n._)("div",ht,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_4",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Generate")),1)],2)]),(0,n.wy)((0,n._)("div",gt,[(0,n._)("div",pt,[(0,n._)("div",ft,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:e},[(0,n.wy)((0,n._)("div",mt,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",Bt,[(0,n._)("img",{src:e?.imgUrl,class:"upload_img"},null,8,wt),(0,n._)("div",{class:"delete_file_block",onClick:t=>A.deleteFile(e)},(0,r.zw)(A.$t("MoodboardUpload.Delete")),9,vt)],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",Ct,[(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"before-upload":A.beforeUpload,"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),multiple:"",maxCount:8-A.moodboarList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e[4]||(e[4]=e=>A.fileUploadChange(e))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",bt,_t,512),[[o.F8,A.moodboarList.length<8]])])),_:1},8,["action","data","headers","before-upload","file-list","maxCount"])],512),[[o.F8,A.moodboarList.length<8]])])]),(0,n._)("div",Qt,[Ut,(0,n._)("span",null,(0,r.zw)(A.$t("MoodboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(d,{ref:"Material",msg:"Moodboard"},null,512),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Generate",msg:"Moodboard"},null,512),[[o.F8,3==A.openClick]])]),(0,n.wy)((0,n._)("div",Ft,[(0,n._)("div",xt,[(0,n._)("div",Et,[(0,n._)("div",null,(0,r.zw)(A.$t("MoodboardUpload.Thumbnail")),1),(0,n._)("div",{class:"modal_btn started_btn",onClick:e[5]||(e[5]=e=>A.layout())},(0,r.zw)(A.$t("MoodboardUpload.layout")),1)]),(0,n._)("div",{class:(0,r.C_)(["modal_img",[A.driver__.driver?"hideEvents":""]])},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.moodboarList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:t=>A.deleteFile(e)},[(0,n.wy)((0,n._)("img",null,null,512),[[g,e.imgUrl]]),It],8,kt)))),128))],2)]),(0,n.wy)((0,n._)("div",St,[(0,n._)("div",Dt,[Ht,(0,n._)("div",{class:"modal_btn started_btn",onClick:e[6]||(e[6]=(0,o.iM)((e=>A.changeTemplateModal()),["stop"]))},"Edit")]),(0,n._)("div",Lt,[A.modalImg[0]?.id?((0,n.wg)(),(0,n.iD)("div",Mt,[(0,n._)("img",{src:A.modalImg[0].imgUrl},null,8,Tt)])):((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["modal_img",{active:A.flex_direction}]),id:"modal_img"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([[A.moodb_className[t]],"modal_imgItem"])},[(0,n.wy)((0,n._)("img",{src:e.imgUrl},null,8,Ot),[[p]])],2)))),256))],2)),(0,n.wy)((0,n._)("div",Kt,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])])],512),[[o.F8,A.moodboarList.length>1||A.edieShow]])],512),[[o.F8,A.moodboarList.length]]),(0,n.Wm)(h,{ref:"layout",moodb_className:A.moodb_className,flex_direction:A.flex_direction,onSetmoodbClass:A.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"])])}var Pt=t(5929);const Rt={class:"my_material_modal"},Vt={class:"my_material_header"},Gt={class:"my_material_header_right"},jt={class:"content_search_block"},zt=["placeholder"],Zt=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),Wt=[Zt],Yt={class:"my_material_content"},Xt={class:"material_content_body scroll_style"},Jt=["src","onClick"],$t={key:0,class:"operate_file_block"},qt={class:"select_img_type"},Ai=["onClick"],ei={class:"category_list"},ti=["onClick"],ii={key:1,class:"pin_block"},ni={class:"material_content_list_loding"},ri=(0,n._)("img",{src:Pt,alt:""},null,-1),oi=[ri],si={class:"no_data_block loading_block"};function ai(A,e,t,i,s,a){const l=(0,n.up)("a-checkbox"),c=(0,n.up)("a-spin"),d=(0,n.Q2)("observe");return(0,n.wg)(),(0,n.iD)("div",Rt,[(0,n._)("div",Vt,[(0,n._)("div",Gt,[(0,n._)("div",jt,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:A.$t("Material.inputContent1"),"onUpdate:modelValue":e[0]||(e[0]=e=>A.searchPictureName=e),onKeydown:e[1]||(e[1]=(0,o.D2)((e=>A.getLibraryList("")),["enter"]))},null,40,zt),[[o.nr,A.searchPictureName]]),(0,n._)("div",{class:"search_icon_block",onClick:e[2]||(e[2]=(0,o.iM)((e=>A.getLibraryList("")),["stop"]))},Wt)])])]),(0,n._)("div",Yt,[(0,n._)("div",Xt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.imgList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)(["content_img_item",[e?.checked?"active":"","Moodboard"==A.selectCode?"moodb":""]])},[(0,n._)("img",{src:e?.imgUrl,onClick:(0,o.iM)((t=>A.selectImgItem(e)),["stop"])},null,8,Jt),"Sketchboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",$t,[(0,n._)("div",qt,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>A.showFileCategory(e)),["stop"])},[(0,n.Uk)((0,r.zw)(e?.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e?.categoryShow?"icon_rotate":""])},null,2)],8,Ai),(0,n.wy)((0,n._)("div",ei,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.disignTypeList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",e?.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>A.selectFileCategory(e,t)),["stop"])},(0,r.zw)(t.value),11,ti)))),128))],512),[[o.F8,e?.categoryShow]])])])):(0,n.kq)("",!0),"Sketchboard"==A.selectCode||"Printboard"==A.selectCode?((0,n.wg)(),(0,n.iD)("div",ii,[(0,n.Wm)(l,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("Material.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])):(0,n.kq)("",!0)],2)))),128)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",ni,oi)),[[o.F8,A.total>A.imgList?.length],[d]])]),(0,n.wy)((0,n._)("div",si,[(0,n.Wm)(c,{size:"large"})],512),[[o.F8,A.isShowLoading]])])])}var li=(0,n.aZ)({props:["msg","disignTypeList"],setup(A){let e=(0,Y.iH)(!1),t=(0,Y.iH)([]),i=(0,Y.iH)(!1),n=(0,Y.iH)(""),r=(0,Y.iH)(1),o=(0,Y.iH)(""),s=(0,Y.iH)(12),a=(0,Y.iH)(0),l=(0,Y.iH)(""),c=(0,Y.iH)(null),d=(0,Y.iH)({}),{t:u}=(0,ot.QT)();return{myMaterialModalShow:e,imgList:t,isShowLoading:i,selectCode:n,currentPage:r,searchPictureName:o,pageSize:s,total:a,searcMaterialhName:l,designType:c,workspace:d,t:u}},data(A){return{type_:{type1:"material",type2:A.msg},store:(0,KA.oR)()}},directives:{observe:{mounted(A,e){const t=new IntersectionObserver(n,{root:null,threshold:[.1]});t.observe(A);let i=e.instance;function n(A,e){A.forEach((A=>{A.isIntersecting&&i.getLibraryList("di")}))}}}},computed:{getSketchLabel(A){return A=>{let e="";for(let t of this.disignTypeList)if(t.value===A){e=t.label;break}return e}},sketchboardList(){return this.store.state.UploadFilesModule.sketchMaterialFiles},moodboardList(){return this.store.state.UploadFilesModule.moodboardMaterialFiles},printboardList(){return this.store.state.UploadFilesModule.printMaterialFiles}},mounted(){},watch:{sketchboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}},moodboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}},printboardList:{handler(A,e){e.forEach((e=>{-1==A.findIndex((A=>A.id==e.id))&&this.imgList.forEach((A=>{A.id==e.id&&(A.checked=!1)}))}))}}},methods:{init(A){this.selectCode=A,this.getLibraryList("")},selectImgItem(A){A.type_=this.type_,A.resData=JSON.parse(JSON.stringify(A)),this.imgList.forEach((A=>{A.categoryShow=!1})),A.jsContent1=this.t("uploadFile.jsContent1"),this.store.commit("addGenerateMaterialFils",A)},changePage(A,e){this.currentPage=A,this.pageSize=e,this.getLibraryList("")},handleChange(){this.getLibraryList("")},getLibraryList(A){let e=this.store.state.Workspace.workspace;"di"==A&&(this.currentPage=void 0!=this.imgList?.[0]?.id?this.imgList?.length/this.pageSize+1:1);let t={level1Type:this.selectCode,modelSex:e?.sex,page:this.currentPage,pictureName:this.searchPictureName,size:this.pageSize};this.isShowLoading=!0,TA.V.axiosPost(TA.V.httpUrls.queryLibraryPage,t).then((A=>{let e=[];A.content.forEach(((A,t)=>{let i;"Sketchboard"==this.type_.type2?(i=this.store.state.UploadFilesModule.sketchMaterialFiles,A.categoryValue=A.level2TypeEnum.value,A.category=A.level2Type,A.categoryShow=!1):"Moodboard"==this.type_.type2?i=this.store.state.UploadFilesModule.moodboardMaterialFiles:"Printboard"==this.type_.type2&&(i=this.store.state.UploadFilesModule.printMaterialFiles),A.imgUrl=A.url,A.id_||(A.id_=NA.id++,i.forEach((e=>{A.id==e.id&&(A.id_=e.id_?e.id_:NA.id++,A.checked=!0,A.pin=e.pin)}))),e.push(A)})),e[e.length-1].id==this.imgList[this.imgList.length-1]?.id||this.imgList.push(...e),this.total=A.total,this.isShowLoading=!1})).catch((A=>{this.isShowLoading=!1}))},closeModal(){this.myMaterialModalShow=!1,this.searchPictureName="",this.designType=null,this.imgList=[],this.currentPage=1,this.pageSize=10,this.total=0},showFileCategory(A){A.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(A,e){A.categoryValue=e.value,A.category=e.name;for(let t of this.imgList)t.categoryShow=!1;this.setSketchLibrary(A)},hiddenFileCategory(){for(let A of this.imgList)A.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchLibrary(A){let e={libraryId:A.id,level2Type:A.category};TA.V.axiosPost(TA.V.httpUrls.setSketchLibrary,e).then((A=>{})).catch((A=>{}))}}});const ci=(0,ie.Z)(li,[["render",ai]]);var di=ci;const ui={class:"mood_template_component"},hi={class:"mood_template_item template_three"},gi={class:"mood_template_item template_four"},pi={class:"mood_template_item template_five"},fi={class:"mood_template_item template_six"},mi={class:"mood_template_item template_seven"},Bi={class:"mood_template_item template_eight"},wi={class:"mood_template_item template_nine"},vi={class:"mood_template_item template_ten"};function Ci(A,e,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",ui,[(0,n.wy)((0,n._)("div",hi,[(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4)],512),[[o.F8,3==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",gi,[(0,n._)("div",{class:"img_template four_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4)],512),[[o.F8,4==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",pi,[(0,n._)("div",{class:"img_template five_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4)],512),[[o.F8,5==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",fi,[(0,n._)("div",{class:"img_template six_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4)],512),[[o.F8,6==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",mi,[(0,n._)("div",{class:"img_template seven_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4)],512),[[o.F8,7==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",Bi,[(0,n._)("div",{class:"img_template eight_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4)],512),[[o.F8,8==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",wi,[(0,n._)("div",{class:"img_template nine_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_9",style:(0,r.j5)({backgroundImage:`url(${A.fileList[8]?.imgUrl})`})},null,4)],512),[[o.F8,9==A.moodTemplateId]]),(0,n.wy)((0,n._)("div",vi,[(0,n._)("div",{class:"img_template ten_1",style:(0,r.j5)({backgroundImage:`url(${A.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_2",style:(0,r.j5)({backgroundImage:`url(${A.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_3",style:(0,r.j5)({backgroundImage:`url(${A.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_4",style:(0,r.j5)({backgroundImage:`url(${A.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_5",style:(0,r.j5)({backgroundImage:`url(${A.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_6",style:(0,r.j5)({backgroundImage:`url(${A.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_7",style:(0,r.j5)({backgroundImage:`url(${A.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_8",style:(0,r.j5)({backgroundImage:`url(${A.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_9",style:(0,r.j5)({backgroundImage:`url(${A.fileList[8]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_10",style:(0,r.j5)({backgroundImage:`url(${A.fileList[9]?.imgUrl})`})},null,4)],512),[[o.F8,10==A.moodTemplateId]])])}var bi=(0,n.aZ)({props:["fileList","moodTemplateId"],setup(){}});const yi=(0,ie.Z)(bi,[["render",Ci],["__scopeId","data-v-3174c5e2"]]);var _i=yi;const Qi={class:"layout_content"},Ui={class:"collection_title"},Fi={class:"collection_title_text"},xi={class:"layout_title"},Ei=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),ki=[Ei],Ii={class:"layout_nav"},Si=["onClick"],Di=["src"],Hi=["onClick"],Li=["src"],Oi={class:"layout_btn"},Mi={class:"layout_btn_top"},Ti={class:"layout_btn_bottom"},Ki={class:"layout_btn_left"},Ni={class:"layout_btn_right"},Pi={class:"layout_rotote"},Ri={class:"layout_translate"},Vi={class:"layout_angle_tr"},Gi={class:"layout_angle_tl"},ji={class:"layout_angle_br"},zi={class:"layout_angle_bl"},Zi={class:"layout_left"},Wi={class:"layout_left_text"},Yi=["onClick"],Xi={class:"mark_loading"};function Ji(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:A.layout,"onUpdate:visible":e[2]||(e[2]=e=>A.layout=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",Qi,[(0,n._)("div",Ui,[(0,n._)("div",Fi,[(0,n._)("div",xi,(0,r.zw)(A.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.cancelDsign()),["stop"]))},ki),(0,n._)("div",Ii,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)({active:e.setPitch}),onClick:i=>A.setpitch(e,t)},[(0,n._)("img",{src:e.imgUrl},null,8,Di)],10,Si)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:A.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.layoutList,((e,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,r.C_)([A.moodbClassName[t],"modal_imgItem"]),onClick:i=>A.setpitch(e,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:e.imgUrl,draggable:"false"},null,8,Li),[[u]]),(0,n.wy)((0,n._)("ul",Oi,[(0,n.wy)((0,n._)("li",Mi,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ti,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ki,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ni,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Pi,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ri,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Vi,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Gi,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",ji,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",zi,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,e.setPitch]])],10,Hi)),[[m,t]]))),128))],2),(0,n._)("div",Zi,[(0,n._)("div",Wi,(0,r.zw)(A.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.moodbList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>A.setmoodb(e)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e,((A,e)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([A,"layout_left_item"])},null,2)))),256))],8,Yi)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:e[1]||(e[1]=e=>A.submitTemplate())},(0,r.zw)(A.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",Xi,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]]),(0,n.Wm)(c,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...A.upload},headers:{Authorization:A.token},"before-upload":A.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var $i={moodb_:[[["wh4"]],[["wh4","wh4"],["wh8","wh8"]],[["wh4","w1h2","w1h2"],["w1h2","w1h2","wh4"],["w2h1","w2h1","wh4"],["wh4","w2h1","w2h1"]],[["wh1","wh1","w1h2","wh4"],["w1h2","wh1","wh1","wh4"],["wh4","wh1","wh1","w1h2"],["w1h2","w1h2","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","wh4"],["wh1","wh1","wh4","wh1","wh1"],["wh4","wh1","wh1","wh1","wh1"],["w1h2","w1h2","w1h2","wh1","wh1"],["wh1","wh1","w1h2","w1h2","w1h2"],["w1h2","w1h2","wh1","wh1","w1h2"],["w1h2","wh1","wh1","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","w1h2","w1h2"],["wh1","wh1","w1h2","wh1","wh1","w1h2"],["w1h2","w1h2","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","w2h1","w2h1"],["wh1","wh1","w2h1","w2h1","wh1","wh1"],["w2h1","w2h1","wh1","wh1","wh1","wh1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","w1h2"],["wh1","wh1","wh1","wh1","w1h2","wh1","wh1"],["wh1","wh1","w1h2","wh1","wh1","wh1","wh1"],["w1h2","wh1","wh1","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","wh1","wh1","w2h1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","wh1","wh1"]]]},qi=t(9980),An=t.n(qi),en=(t(2801),t(8675),t(7380),t(1118),t(1120)),tn=t.n(en);const nn=A=>new Promise((e=>{tn()(A,{useCORS:!0}).then((A=>{let t,i,n,r=A.toDataURL("image/jpeg",.9),o=.9,s=new Image;s.src=r,s.setAttribute("crossOrigin","Anonymous"),s.onload=function(){n=1*this.width,t=this.width,i=this.height;let A=document.createElement("canvas"),r=A.getContext("2d");Math.max(t,i)>n?t>i?(A.width=n,A.height=n*(i/t)):(A.height=n,A.width=n*(t/i)):(A.width=t,A.height=i,o=.6),r.clearRect(0,0,A.width,A.height),r.drawImage(this,0,0,A.width,A.height);let s=A.toDataURL("image/jpeg",o),a=rn(s),l=new File([a],new Date+".jpg");e(l)}}))}));function rn(A,e){let t=atob(A.split(",")[1]),i=[];for(let n=0;n{e.stopPropagation(),A.parentElement.children.forEach((A=>{A.style.left=A.offsetLeft+"px",A.style.top=A.offsetTop+"px"})),A.parentElement.children.forEach((A=>{A.classList.add("active")})),A.style.zIndex=NA.zIndex++;let t=A.style.left?A.style.left.replace(/px/g,""):0,i=A.style.top?A.style.top.replace(/px/g,""):0,n=e.offsetX,r=e.offsetY,o=e.clientX-e.offsetX-Number(t),s=e.clientY-e.offsetY-Number(i),a=!0;document.onmousemove=function(e){a&&(A.style.left=e.x-n-o+"px",A.style.top=e.y-r-s+"px",A.offsetLeft<=0&&(A.style.left="0px"),A.offsetTop<=0&&(A.style.top="0px"),A.offsetLeft+A.offsetWidth>=A.parentNode.offsetWidth&&(A.style.left=A.parentNode.offsetWidth-A.offsetWidth+"px"),A.offsetTop+A.offsetHeight>=A.parentNode.offsetHeight&&(A.style.top=A.parentNode.offsetHeight-A.offsetHeight+"px"))},document.onmouseup=function(){a=!1}}))},updated(A,e){}},compile:{mounted(A,e){A.addEventListener("mousedown",(t=>{t.stopPropagation();let i,n,r=A.parentNode.parentNode;A.parentElement.parentNode.parentNode.children.forEach((A=>{A.style.left=A.offsetLeft+"px",A.style.top=A.offsetTop+"px"})),A.parentElement.parentNode.parentNode.children.forEach((A=>{A.classList.add("active")})),"right"==e.value||("left"==e.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==e.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):e.value),"left"==e.value||"right"==e.value?(i=t.x,n=r.offsetWidth):(n=r.offsetHeight,i=t.y);let o=!0;document.onmousemove=function(A){o&&("left"==e.value?r.style.width=n+i-A.x+"px":"right"==e.value?r.style.width=n+A.x-i+"px":"top"==e.value?r.style.height=n+i-A.y+"px":"bottom"==e.value&&(r.style.height=n+A.y-i+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},document.onmouseup=function(){o=!1}}))}},rotote:{mounted(A){let e,t=!0,i=0,n=A.parentNode.parentNode;if(document.defaultView){let A=document.defaultView.getComputedStyle(n.firstElementChild,null).transform.split("(")[1].split(",");e=Number(A[3])}A.addEventListener("mousedown",(r=>{r.stopPropagation(),t=!0;var o=A.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("mousemove",(r=>{if(t){let t=s,o=a,l=r.clientX-t,c=o-r.clientY;i=Math.atan2(l,c)*(180/Math.PI),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+e+") rotateZ("+i+"deg)",A.style.transform="translate(-50%,-50%) rotateZ("+i+"deg)"}})),document.addEventListener("mouseup",(()=>{t=!1}))}));let r=!0;A.parentNode.addEventListener("mousemove",(t=>{A.parentNode.addEventListener("mousewheel",(A=>{r&&(r=!1,A.deltaY>0?e-=e<=1?.05:.1:e+=e<=1?.05:.1,e>=3?e=3:e<.2&&(e=.2),setTimeout((()=>{r=!0}),100),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+e+") rotateZ("+i+"deg)")}))}))}},angle:{mounted(A,e){let t=!1;A.addEventListener("mousedown",(i=>{i.stopPropagation(),A.parentNode.children.forEach((A=>{A.classList.add("eventNode")})),t=!0;let n,r,o=A.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2);A.parentNode.addEventListener("mousemove",(i=>{if(t){"right"==e.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY):"top"==e.value?(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY):"left"==e.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY-o.offsetHeight):"bottom"==e.value&&(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY-o.offsetHeight);let t=Math.sqrt(n*n+r*+r)/2;100-100*t/s<=50?"right"==e.value?(A.parentNode.style.borderTopLeftRadius=100-100*t/s+"%",o.style.borderTopLeftRadius=100-100*t/s+"%",A.style.left=(100-100*t/s)/3.33-1+"%",A.style.top=(100-100*t/s)/3.33-1+"%"):"top"==e.value?(A.parentNode.style.borderTopRightRadius=100-100*t/s+"%",o.style.borderTopRightRadius=100-100*t/s+"%",A.style.right=(100-100*t/s)/3.33-1+"%",A.style.left="auto",A.style.top=(100-100*t/s)/3.33-1+"%"):"bottom"==e.value?(A.parentNode.style.borderBottomRightRadius=100-100*t/s+"%",o.style.borderBottomRightRadius=100-100*t/s+"%",A.style.right=(100-100*t/s)/3.33-1+"%",A.style.top="auto",A.style.left="auto",A.style.bottom=(100-100*t/s)/3.33-1+"%"):"left"==e.value&&(A.parentNode.style.borderBottomLeftRadius=100-100*t/s+"%",o.style.borderBottomLeftRadius=100-100*t/s+"%",A.style.left=(100-100*t/s)/3.33-1+"%",A.style.top="auto",A.style.bottom=(100-100*t/s)/3.33-1+"%"):"right"==e.value?(A.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==e.value?(A.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==e.value?(A.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==e.value&&(A.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}})),document.addEventListener("mouseup",(()=>{t=!1,A.parentNode.children.forEach((A=>{A.classList.remove("eventNode")}))}))}))}},translate:{mounted(A,e,t){A.addEventListener("mousedown",(e=>{e.stopPropagation();let t=A.parentNode.parentNode;A.style.left=(A.offsetLeft+2)/t.offsetWidth*100+"%",A.style.top=(A.offsetTop+2)/t.offsetHeight*100+"%";A.style.left&&A.style.left.replace(/%/g,""),A.style.top&&A.style.top.replace(/%/g,"");let i=e.offsetX,n=e.offsetY,r=e.clientX-e.offsetX-A.offsetLeft,o=e.clientY-e.offsetY-A.offsetTop,s=!0;document.onmousemove=function(e){if(s){let s=(e.x-i+2-r)/t.offsetWidth*100+"%",a=(e.y-n+2-o)/t.offsetHeight*100+"%";A.style.left=s,A.style.top=a,A.previousSibling.style.top=a,A.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,A.offsetLeft<=0&&(A.style.left="0%",A.previousSibling.style.left="0%",t.firstChild.style.left="0%"),A.offsetTop<=0&&(A.style.top="0%",A.previousSibling.style.top="0%",t.firstChild.style.top="0%"),A.style.left.replace(/%/g,"")>=100&&(A.style.left="100%",A.previousSibling.style.left="100%",t.firstChild.style.left="100%"),A.style.top.replace(/%/g,"")>=100&&(A.style.top="100%",A.previousSibling.style.top="100%",t.firstChild.style.top="100%")}},document.onmouseup=function(){s=!1}}))}},modelImg:{mounted(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")},updated(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")}}},methods:{init(){let A=this.$parent;A=A.layoutList,this.layout=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),this.layoutList=A,this.moodbList=this.moodb[A.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(A,e){this.layoutList.forEach((A=>{A.setPitch=!1})),A.setPitch=!0,this.content&&(this.content[e].style.zIndex=NA.zIndex++)},setmoodb(A){if(this.moodbClassName=A,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(A of this.content)A.classList.remove("active"),A.style.top="",A.style.left="",A.style.right="",A.style.bottom="",A.style.width="",A.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),(0,n.Y3)().then((async()=>{let A=document.getElementById("layoutCentent"),e=await on(A),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",e);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};TA.V.axiosPost(TA.V.httpUrls.elementUpload,t,i).then((A=>{A.imgUrl=A.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",A)})).catch((A=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const an=(0,ie.Z)(sn,[["render",Ji]]);var ln=an,cn=(0,n.aZ)({components:{Material:di,MoodTemplate:_i,Generate:lt,layout:ln},setup(){const A=(0,KA.oR)();let e=(0,Y.iH)([]),t=(0,Y.iH)([]),i=(0,Y.iH)([]),r=(0,Y.iH)(!1),o=(0,Y.iH)([]),s=(0,Y.iH)(1),a=(0,Y.iH)([]),l=(0,Y.iH)(!1),c=[],d=(0,Y.iH)(!1),u=(0,Y.iH)(!1),h=(0,n.Fl)((()=>A.state.UploadFilesModule.disposeMoodboard)),g=(0,n.f3)("driver__"),p=(0,Y.iH)([]),f=(0,Y.iH)(),{t:m}=(0,ot.QT)();return{fileList:t,showFileList:i,lessenList:e,templateModal:r,templateFileList:o,openClick:s,moodb_className:a,flex_direction:l,layoutList:c,layoutOpen:d,loadingShow:u,modalImg:h,driver__:g,uploading:p,edieShow:f,t:m}},data(){return{indicator:(0,n.h)(LA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodTemplateId:"",store:(0,KA.oR)(),moodb_:$i.moodb_,moodboarList:(0,n.Fl)((()=>(0,KA.oR)().state.UploadFilesModule.moodboard))}},mounted(){this.token=(0,PA.ej)("token")||"",this.uploadUrl=(0,RA.M$)()},watch:{fileList:{handler(A,e){}},driver__:{handler(A,e){A.index>=1&&A.index<=2&&this.open(A.index)}}},directives:{modelImg:{mounted(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")},updated(A){let e=A.parentNode;e.offsetHeight>e.offsetWidth?(A.style.height="100%",A.style.width="auto"):(A.style.width="100%",A.style.height="auto")}}},methods:{open(A){if(this.openClick=A,2==A){let A=this.$refs.Material;A.init("Moodboard")}else 3==A&&this.driver__.driver&&tt.moveNext()},fileUploadChange(A){let e=A.file;if("done"===e.status){let A=JSON.parse(e.xhr.response);e.imgUrl=A.data.url,e.resData=A.data,e.type_={type1:"upload",type2:"Moodboard"},e.id_=NA.id++;let t=this.fileList.filter((A=>"done"===A.status)),i=this.store.state.UploadFilesModule.moodboard;i.length>=8?OA.ZP.info(this.t("MoodboardUpload.jsContent1")):this.store.commit("setMoodboardFile",t)}else if("error"===e.status){let A=-1;this.fileList.forEach(((t,i)=>{e.uid===t.uid&&(A=i)})),A>-1&&this.fileList.splice(A,1),OA.ZP.warning(e.name+this.t("MoodboardUpload.jsContent2"))}},beforeUpload(A){const e="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;e||OA.ZP.info(this.t("MoodboardUpload.jsContent3"));const t=A.size/1024/1024<2;return t||OA.ZP.info(this.t("MoodboardUpload.jsContent4")),e&&t||MA.Z.LIST_IGNORE},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,i)=>{t.id_==A.id_&&(e=i)})),this.fileList.splice(e,1),this.store.commit("setMoodboardFile",this.fileList)}0==this.store.state.UploadFilesModule.moodboard.length&&(this.store.commit("clearMoodTemplateId"),this.layoutList=[],this.edieShow=!1)},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.moodboardFiles)),e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.disposeMoodboard)),t={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?t.generate.push(A):"material"==A.type_.type1?t.material.push(A):t.moodboard.push(A)})),this.store.commit("setMoodboardGenerateFiles",t.generate),this.store.commit("setMoodboardMaterialFiles",t.material),this.store.commit("setMoodboardFile",t.moodboard),this.store.commit("setDisposeMoodboard",e[0]),this.fileList=t.moodboard},changeTemplateModal(){if(this.modalImg[0]?.id){let A=this.$refs.layout;A.init()}else OA.ZP.info(this.t("MoodboardUpload.jsContent5"))},layout(){this.loadingShow=!0,this.edieShow=!0,this.store.commit("setDisposeMoodboard",[]);let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.moodboard));this.layoutList=A;var e=Math.round(Math.random()*(this.moodb_[A.length-1].length-1));let t=this.moodb_[A.length-1][e];0!=t.filter(((A,e)=>"w2h1"==A)).length&&A.length>4?this.flex_direction=!0:this.flex_direction=!1,1==this.moodb_[A.length-1].length||JSON.stringify(this.moodb_className)!=JSON.stringify(this.moodb_[A.length-1][e])?(2==this.moodb_[A.length-1].length?this.moodb_className=this.moodb_[A.length-1][0]:this.moodb_className=this.moodb_[A.length-1][e],this.layoutOpen=!0,this.layoutList.forEach((A=>{A.setPitch=!1})),(0,n.Y3)().then((async()=>{let A=document.getElementById("modal_img"),e=await on(A),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",e);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};TA.V.axiosPost(TA.V.httpUrls.elementUpload,t,i).then((A=>{let e=A;e.imgUrl=A.url,e.resData=JSON.parse(JSON.stringify(e)),this.store.commit("setDisposeMoodboard",e),this.loadingShow=!1})).catch((A=>{this.loadingShow=!1})),this.driver__.driver&&tt.moveNext()}))):this.layout()},setmoodbClass(A){this.moodb_className=A}}});const dn=(0,ie.Z)(cn,[["render",Nt],["__scopeId","data-v-ddb5499e"]]);var un=dn;const hn=A=>((0,n.dD)("data-v-5f834903"),A=A(),(0,n.Cn)(),A),gn={class:"printboard_upload_modal"},pn={class:"printboard_left_upload"},fn={class:"left_upload_header"},mn={class:"upload_header_item"},Bn={class:"switch_type_list"},wn={class:"printboard_body"},vn={class:"upload_img_body"},Cn={class:"upload_item"},bn={class:"upload_file_img_block"},yn={class:"upload_file_item_content"},_n={class:"upload_file_item_content"},Qn=["onClick"],Un=hn((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),Fn=[Un],xn={class:"pin_block"},En={class:"upload_file_item upload_component"},kn={class:"upload_tip_block"},In=hn((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),Sn=[In],Dn={class:"upload_max_tip"},Hn=hn((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),Ln={class:"modal_right"},On={class:"modal_layout"},Mn={class:"modal_text"},Tn={class:"modal_img"},Kn=["onClick"],Nn=hn((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),Pn={class:"modal_accomplish"},Rn=["maxlength","readonly","placeholder"],Vn={class:"modal_img"},Gn=["src","onClick"],jn={class:"delete_like_file_block"},zn=["onClick"],Zn=["onClick"],Wn={class:"pin_block"},Yn={class:"mark_loading"};function Xn(A,e,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-checkbox"),d=(0,n.up)("a-upload"),u=(0,n.up)("Material"),h=(0,n.up)("Generate"),g=(0,n.up)("Cropper"),p=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",gn,[(0,n._)("div",pn,[(0,n._)("div",fn,[(0,n._)("div",mn,[(0,n._)("div",Bn,[(0,n._)("div",{onClick:e[0]||(e[0]=(0,o.iM)((e=>A.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:e[1]||(e[1]=(0,o.iM)((e=>A.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Library")),1)],2),(0,n._)("div",{onClick:e[2]||(e[2]=(0,o.iM)((e=>A.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item",[3==A.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Generate")),1)],2)])])]),(0,n.wy)((0,n._)("div",wn,[(0,n._)("div",vn,[(0,n._)("div",Cn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item"]),key:e},[(0,n._)("div",bn,[(0,n.wy)((0,n._)("div",yn,[(0,n.Wm)(l,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===e?.status]]),(0,n.wy)((0,n._)("div",_n,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:"upload_img",key:e.imgUrl})),[[p,e.imgUrl]]),(0,n._)("div",{class:"delete_like_file_block",onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},Fn,8,Qn)],512),[[o.F8,"done"===e?.status]])]),(0,n.wy)((0,n._)("div",xn,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])],512),[[o.F8,"done"===e?.status]])])))),128)),(0,n.wy)((0,n._)("div",En,[(0,n.Wm)(d,{action:A.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":A.beforeUpload,data:{...A.upload},headers:{Authorization:A.token},"file-list":A.fileList,"onUpdate:file-list":e[3]||(e[3]=e=>A.fileList=e),customRequest:function(){},multiple:"",maxCount:8-A.printboardList.length+A.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:A.fileUploadChange},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",kn,Sn,512),[[o.F8,A.printboardList.length<8]])])),_:1},8,["action","before-upload","data","headers","file-list","customRequest","maxCount","onChange"])],512),[[o.F8,A.printboardList.length<8]])])]),(0,n._)("div",Dn,[Hn,(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.Maximum")),1)])],512),[[o.F8,1==A.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Material",msg:"Printboard",onConfirmSelect:A.confirmSelect},null,8,["onConfirmSelect"]),[[o.F8,2==A.openClick]]),(0,n.wy)((0,n.Wm)(h,{ref:"Generate",msg:"Printboard",onGenerateCheckbox:A.getgenerateCheckbox},null,8,["onGenerateCheckbox"]),[[o.F8,3==A.openClick]])]),(0,n._)("div",Ln,[(0,n._)("div",On,[(0,n._)("div",Mn,[(0,n._)("div",null,(0,r.zw)(A.$t("PrintboardUpload.Thumbnail")),1)]),(0,n._)("div",Tn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.printboardList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e,onClick:(0,o.iM)((t=>A.deleteFile(e)),["stop"])},[(0,n.wy)((0,n._)("img",null,null,512),[[p,e.imgUrl]]),Nn],8,Kn)))),128))])]),(0,n.wy)((0,n._)("div",Pn,[(0,n._)("div",{class:(0,r.C_)(["input_box",{active:A.inputShow}])},[(0,n.wy)((0,n._)("input",{class:(0,r.C_)(["search_input",{forbidden:A.generateCheckbox}]),onInput:e[4]||(e[4]=(...e)=>A.ifMaximumLength&&A.ifMaximumLength(...e)),onKeydown:e[5]||(e[5]=(0,o.D2)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["enter"])),maxlength:A.inputShow?0:9999,readonly:A.generateCheckbox,placeholder:A.$t("PrintboardUpload.inputContent1"),"onUpdate:modelValue":e[6]||(e[6]=e=>A.captionGeneration=e)},null,42,Rn),[[o.nr,A.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:e[7]||(e[7]=(0,o.iM)(((...e)=>A.getgenerate&&A.getgenerate(...e)),["stop"]))},(0,r.zw)(A.$t("PrintboardUpload.Generate")),1),(0,n._)("span",null,(0,r.zw)(A.$t("PrintboardUpload.maximumLength")),1)],2),(0,n._)("div",Vn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.generateList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_imgItem",{active:e?.checked}])},[(0,n._)("img",{src:e.imgUrl,onClick:(0,o.iM)((t=>A.generageAdd(e)),["stop"])},null,8,Gn),(0,n._)("div",jn,[e.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"noLike")),["stop"])},null,8,Zn)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((t=>A.likeFile(e,"like")),["stop"])},null,8,zn))]),(0,n._)("div",Wn,[(0,n.Wm)(c,{checked:e.pin,"onUpdate:checked":A=>e.pin=A},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(A.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])],2)))),256))]),(0,n.wy)((0,n._)("div",Yn,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,A.loadingShow]])],512),[[o.F8,3==A.openClick]])]),(0,n.Wm)(g,{ref:"Cropper",onHandleCropperSuccess:A.handleCropperSuccess,onCloseCropper:e[8]||(e[8]=e=>A.deletUploadFile()),cropperFileData:A.cropperFileData,isUpload:A.isUpload},null,8,["onHandleCropperSuccess","cropperFileData","isUpload"])])}const Jn=A=>((0,n.dD)("data-v-1a8bf2f0"),A=A(),(0,n.Cn)(),A),$n={class:"collection_title"},qn={class:"collection_title_text"},Ar={class:"collection_modal_body"},er={class:"cut_picture_left"},tr={class:"cut_picture_body"},ir={class:"cur_picture_opterate"},nr=Jn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon"},null,-1))),rr=[nr],or=Jn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon icon_chexiao_sec"},null,-1))),sr=[or],ar=Jn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"-",-1))),lr=[ar],cr=Jn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"+",-1))),dr=[cr],ur=Jn((()=>(0,n._)("span",{class:"icon iconfont icon-shuaxin operate_icon"},null,-1))),hr=[ur],gr={class:"cut_picture_right"},pr={class:"cur_picture_right_header"},fr=Jn((()=>(0,n._)("div",{class:"review_logo icon iconfont icon-yulan"},null,-1))),mr={class:"cut_picture_review_block"},Br={class:"cut_picture_review_item"},wr=["src"];function vr(A,e,t,i,s,a){const l=(0,n.up)("VueCropper"),c=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(c,{class:"modal_component cut_pricture_modal",visible:A.cutPicuterModal,"onUpdate:visible":e[8]||(e[8]=e=>A.cutPicuterModal=e),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,zIndex:999999,mask:!1},{default:(0,n.w5)((()=>[(0,n._)("div",$n,[(0,n._)("div",qn,[(0,n._)("div",null,(0,r.zw)(A.$t("Cropper.Cutpicture")),1)]),(0,n._)("div",{class:"header_right_block",onClick:e[2]||(e[2]=(0,o.iM)((()=>{}),["stop"]))},[(0,n._)("div",{class:"next_step_button",onClick:e[0]||(e[0]=(0,o.iM)((e=>A.finishCropper()),["stop"]))},(0,r.zw)(A.$t("Cropper.Finish")),1),(0,n._)("div",{class:"header_cancel_button",onClick:e[1]||(e[1]=(0,o.iM)((e=>A.cancleCropper()),["stop"]))},(0,r.zw)(A.$t("Cropper.Cancel")),1)])]),(0,n._)("div",Ar,[(0,n._)("div",er,[(0,n._)("div",tr,[(0,n.Wm)(l,{ref:"cropper",original:A.option.original,img:A.option.img,outputSize:A.option.size,outputType:A.option.outputType,"auto-crop":A.option.autoCrop,"auto-crop-width":A.option.autoCropWidth,"auto-crop-height":A.option.autoCropHeight,"center-box":A.option.centerBox,"can-move":A.option.canMove,"can-move-box":A.option.canMoveBox,onRealTime:A.realTime},null,8,["original","img","outputSize","outputType","auto-crop","auto-crop-width","auto-crop-height","center-box","can-move","can-move-box","onRealTime"])]),(0,n._)("div",ir,[(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[3]||(e[3]=e=>A.rotateLeft())},rr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[4]||(e[4]=e=>A.rotateRight())},sr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[5]||(e[5]=e=>A.changeScale(-1))},lr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[6]||(e[6]=e=>A.changeScale(1))},dr),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:e[7]||(e[7]=e=>A.refreshCrop())},hr)])]),(0,n._)("div",gr,[(0,n._)("div",pr,[fr,(0,n._)("div",null,(0,r.zw)(A.$t("Cropper.CropPreview")),1)]),(0,n._)("div",mr,[(0,n._)("div",Br,[(0,n._)("div",{class:"cut_picture_review_content",style:(0,r.j5)({width:A.previews.w+"px",height:A.previews.h+"px",overflow:"hidden"})},[(0,n._)("div",{style:(0,r.j5)(A.previews.div)},[(0,n._)("img",{class:"previews_image",style:(0,r.j5)(A.previews.img),src:A.previews.url},null,12,wr)],4)],4)])])])])])),_:1},8,["visible"])}var Cr=t(2323),br=(0,n.aZ)({props:["cropperFileData","isUpload"],components:{VueCropper:Cr.AK},data(){return{cutPicuterModal:!1,option:{original:!1,img:"",size:1,full:!1,outputType:"png",autoCrop:!0,autoCropWidth:360,autoCropHeight:360,max:99999,centerBox:!0,canMove:!0,canMoveBox:!0},previews:{}}},methods:{rotateLeft(){let A=this.$refs.cropper;A.rotateLeft()},rotateRight(){let A=this.$refs.cropper;A.rotateRight()},refreshCrop(){let A=this.$refs.cropper;A.refresh()},changeScale(A){A=A||1;let e=this.$refs.cropper;e.changeScale(A)},realTime(A){this.previews=A},getOptionImg(A){this.option.img=A},changeShowModal(A){this.cutPicuterModal=A},finishCropper(){let A=this.$refs.cropper;A.getCropData((A=>{let e=(0,RA._x)(A,this.cropperFileData.name);this.$emit("handleCropperSuccess",{file:e,fileData:this.cropperFileData})}))},closeCropper(){this.cutPicuterModal=!1,this.option.img=""},cancleCropper(){this.cutPicuterModal=!1,this.option.img="",this.$emit("closeCropper")}}});const yr=(0,ie.Z)(br,[["render",vr],["__scopeId","data-v-1a8bf2f0"]]);var _r=yr,Qr=(0,n.aZ)({components:{Cropper:_r,Material:di,Generate:lt},setup(){let A=(0,KA.oR)(),e=(0,Y.iH)([]),t=(0,Y.iH)([]),i=(0,n.Fl)((()=>A.state.UploadFilesModule.moodboard)),r=(0,n.Fl)((()=>A.state.UploadFilesModule.printboard)),o=(0,Y.iH)(1),s=(0,Y.iH)(),a=(0,Y.iH)([]),l=(0,Y.iH)(!1),c=(0,Y.iH)(!1),d=(0,Y.iH)(),u=(0,n.f3)("driver__"),{t:h}=(0,ot.QT)(),g=(0,Y.iH)();return{fileList:e,printImgList:t,moodBoards:i,printBoards:r,openClick:o,generateCheckbox:s,generateList:a,loadingShow:l,inputShow:c,inputTime:d,driver__:u,t:h,isTest:g}},computed:{getPinLength(){let A=0;for(let e of this.printBoards)e.pin&&A++;return A}},watch:{printBoards:{handler(A,e){A.length>=2&&this.driver__.driver&&tt.moveTo(9)}}},data(){return{swtich_type:"upload",indicator:(0,n.h)(LA.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,level1Type:"Printboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,KA.oR)(),cropperFileData:{name:"",uid:""},currentFileNum:0,isUpload:!1,captionGeneration:"",printboardList:(0,n.Fl)((()=>(0,KA.oR)().state.UploadFilesModule.printboard))}},mounted(){this.token=(0,PA.ej)("token")||"";let A=(0,PA.ej)("isTest");this.isTest=JSON.parse(A)||"",this.uploadUrl=(0,RA.M$)()},methods:{open(A){this.openClick=A;let e=this.$refs.Material;2==A&&e.init("Printboard")},fileUploadChange(A){let e=A.file;e.id_=NA.id++,e.type_={type1:"upload",type2:"Printboard"},e.pin=!1;let t=this.$refs.Cropper;if(1===this.currentFileNum){var i=new FileReader;i.onload=A=>{let e;e="object"===typeof A.target.result?window.URL.createObjectURL(new Blob([A.target.result])):A.target.result,t.getOptionImg(e)},i.readAsArrayBuffer(e.originFileObj),this.cropperFileData=e,t.changeShowModal(!0)}else this.customRequest(e)},beforeUpload(A,e){const t="image/jpeg"===A.type||"image/png"===A.type||"image/jpg"===A.type||"image/bmp"===A.type;t||OA.ZP.info(this.t("PrintboardUpload.jsContent1"));const i=A.size/1024/1024<2;if(i||OA.ZP.info(this.t("PrintboardUpload.jsContent2")),!t||!i)return t&&i||MA.Z.LIST_IGNORE;this.currentFileNum=e.length},deleteFile(A){if("generate"==A.type_.type1||"material"==A.type_.type1)this.store.commit("addGenerateMaterialFils",A);else{let e;this.fileList=this.store.state.UploadFilesModule.printboardFiles,this.store.state.UploadFilesModule.printboardFiles.forEach(((t,i)=>{t.id_==A.id_&&(e=i)})),this.fileList.splice(e,1),this.store.commit("setPrintboardFile",this.fileList)}},likeFile(A,e){if("like"==e){let e={generateDetailId:A.id,level1Type:"Printboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosPost(TA.V.httpUrls.generateLike,e).then((e=>{A.like=!0})).catch((A=>{}))}else{let e={generateDetailId:A.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};TA.V.axiosGet(TA.V.httpUrls.generateDislike,{params:e}).then((e=>{A.like=!1})).catch((A=>{}))}},customRequest(A){let e={...this.upload,file:A.originFileObj},t=A.uid;TA.V.axiosPost("/api/element/upload",e,{headers:{"Content-Type":"multipart/form-data"}}).then((A=>{if(A){for(let i of this.fileList)t===i.uid&&(i.status="done",i.imgUrl=A.url,i.pin=!1,i.id=A.id,i.resData=A);let e=this.fileList.filter((A=>"done"===A.status));this.store.commit("setPrintboardFile",e)}})).catch((A=>{let e=-1;this.fileList.forEach(((A,i)=>{t===A.uid&&(e=i)})),e>-1&&this.fileList.splice(e,1)}))},closeCropper(A){if(this.isUpload)return;if("error"==A){let A=-1;this.fileList.forEach(((e,t)=>{this.cropperFileData.uid===e.uid&&(A=t)})),A>-1&&this.fileList.splice(A,1)}let e=this.$refs.Cropper;e.closeCropper()},deletUploadFile(){let A=-1;this.fileList.forEach(((e,t)=>{this.cropperFileData.uid===e.uid&&(A=t)})),A>-1&&this.fileList.splice(A,1)},handleCropperSuccess(A){let{file:e,fileData:t}=A,i={...this.upload,file:e};if(this.isUpload)return;this.isUpload=!0;const n=OA.ZP.loading("loading",0);TA.V.axiosPost("/api/element/upload",i,{headers:{"Content-Type":"multipart/form-data"}}).then((A=>{for(let i of this.fileList)t.uid===i.uid&&(i.status="done",i.imgUrl=A.url,i.id=A.id,i.resData=A);let e=this.fileList.filter((A=>"done"===A.status));this.isUpload=!1,this.closeCropper("success"),this.cropperFileData={name:"",uid:""},this.store.commit("setPrintboardFile",e),n()})).catch((A=>{let e=-1;this.fileList.forEach(((A,i)=>{t.uid===A.uid&&(e=i)})),e>-1&&this.fileList.splice(e,1),this.cropperFileData={name:"",uid:""},this.isUpload=!1,this.closeCropper("error"),n()}))},recollection(){let A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.printboardFiles)),e={generate:[],material:[],moodboard:[]};A.forEach((A=>{"generate"==A.type_.type1?e.generate.push(A):"material"==A.type_.type1?e.material.push(A):e.moodboard.push(A)})),this.store.commit("setPrintboardGenerateFiles",e.generate),this.store.commit("setPrintboardMaterialFiles",e.material),this.store.commit("setPrintboardFile",e.moodboard),this.fileList=e.moodboard,this.store.commit("setPrintboardFile",this.fileList)},confirmSelect(A){for(let e of A){let A={imgUrl:e.url,resData:e,pin:!1,id:e.id,status:"done"};if(15==this.fileList.length){OA.ZP.warning(this.t("PrintboardUpload.jsContent3"));break}this.fileList.push(A)}this.store.commit("setPrintboardFile",this.fileList)},getgenerateCheckbox(A){this.generateCheckbox=A},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},getgenerate(){if(this.isTest)return void OA.ZP.warning(this.t("isTest.available"));let A=this.$refs.Generate,e=A.checkbox.filter((A=>A.type))[0].name;if("Generate"==A.printModel.num)return void this.generatePrint();let t={generateType:e,designType:"",collectionElementId:A?.collectionElementid,level1Type:A.upload.level1Type,level2Type:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:A.printModel.num,gender:""};if("image"==e||"text-image"==e){if(!A?.collectionElementid)return void OA.ZP.info(this.t("PrintboardUpload.jsContent4"))}else if("text"==e){if(t.collectionElementId="",t.level2Type="",!this.captionGeneration)return void OA.ZP.info(this.t("PrintboardUpload.jsContent6"));{let A=this.captionGeneration.split(/\s+/).length;if(A>75)return void OA.ZP.info(this.t("PrintboardUpload.jsContent5"))}}this.loadingShow=!0,TA.V.axiosPost(TA.V.httpUrls.sketchAndPrintGenerate,t).then((A=>{if(A){let e;this.generateList=[],A.generatedCollectionItems.forEach(((t,i)=>{e={id:t.generateItemId,imgUrl:t.generateItemUrl,id_:NA.id++,like:A.generatedCollectionItems[i].isLiked},this.generateList.push(e),this.loadingShow=!1}))}})).catch((A=>{this.loadingShow=!1}))},randomRange(A,e,t){let i=Math.floor(Math.random()*(e-A))+A;while(i===t)i=Math.floor(Math.random()*(e-A))+A;return i},generatePrint(){let A={};if(this.moodBoards.length){let e=this.randomRange(0,this.moodBoards.length,-1),t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((A,e)=>{A.pin&&(t=e)}));else{let A=[];this.printBoards.forEach(((e,t)=>{e.pin&&A.push(t)})),t=this.randomRange(0,A.length,-1)}else t=this.randomRange(0,this.printBoards.length,-1);A={select1Id:this.moodBoards[e].resData.id,select2Id:this.printBoards[t].id}}else{let e=-1,t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((A,t)=>{A.pin&&(e=t)})),t=this.randomRange(0,this.printBoards.length,e);else{let A=[];this.printBoards.forEach(((e,t)=>{e.pin&&A.push(t)})),e=this.randomRange(0,A.length,-1),t=this.randomRange(0,this.printBoards.length,A[e])}else e=this.randomRange(0,this.printBoards.length,-1),t=this.randomRange(0,this.printBoards.length,e);A={select1Id:this.printBoards[e].id,select2Id:this.printBoards[t].id}}A.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,TA.V.axiosPost(TA.V.httpUrls.elementGeneratePrint,A).then((A=>{if(A){this.generateList=[];let e={id:A.generateItemId,imgUrl:A.generateItemUrl,id_:NA.id++,like:A.isLiked};this.generateList.push(e),this.loadingShow=!1}})).catch((A=>{this.loadingShow=!1}))},generageAdd(A){A.type_={type1:"generate",type2:"Printboard"},A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("addGenerateMaterialFils",A)}}});const Ur=(0,ie.Z)(Qr,[["render",Xn],["__scopeId","data-v-5f834903"]]);var Fr=Ur;const xr={class:"colorboard_upload_modal"},Er={class:"modal_layout"},kr={class:"modal_text"},Ir={class:"modal_img"},Sr=["onClick"],Dr={class:"colorboard_upload_right"},Hr={class:"upload_right_content"},Lr={class:"right_content_line"},Or={class:"upload_right_header"},Mr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Tr={class:"color_setting_block"},Kr={class:"right_content_line right_content_line_upload"},Nr={class:"upload_right_header"},Pr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Rr={class:"upload_centetn"},Vr={class:"upload_item Guide_1_10"},Gr={class:"upload_file_item_content"},jr={class:"upload_file_item_content"},zr=["src"],Zr=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-rr-picture"})],-1),Wr={class:"upload_color Guide_1_11"},Yr=["onClick"],Xr=["title"],Jr={class:"right_content_line"},$r={class:"upload_right_header"},qr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),Ao={class:"get_color_block"},eo=(0,n._)("span",{class:"icon iconfont icon-huoquduixiang"},null,-1),to={class:"get_color_des"},io=["title"];function no(A,e,t,i,s,a){const l=(0,n.up)("Chrome"),c=(0,n.up)("a-spin"),d=(0,n.up)("a-upload");return(0,n.wg)(),(0,n.iD)("div",xr,[(0,n._)("div",Er,[(0,n._)("div",kr,[(0,n._)("div",null,(0,r.zw)(A.$t("ColorboardUpload.Thumbnail")),1)]),(0,n._)("div",Ir,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.colorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:e},[(0,n._)("div",{onClick:i=>A.selectColorItem(t,e),class:(0,r.C_)(["upload_color",A.selectIndex===t?"select_upload_color":""]),style:(0,r.j5)({background:`rgba(${e?.r},${e?.g},${e?.b},${e?.a})`})},null,14,Sr)])))),128)),(0,n._)("div",null,[(0,n._)("span",{class:"started_btn",onClick:e[0]||(e[0]=(...e)=>A.clearCurrentColor&&A.clearCurrentColor(...e))},(0,r.zw)(A.$t("ColorboardUpload.Clear")),1)])])]),(0,n._)("div",Dr,[(0,n._)("div",Hr,[(0,n._)("div",Lr,[(0,n._)("div",Or,[Mr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.Palette")),1)]),(0,n._)("div",Tr,[(0,n.Wm)(l,{class:"chrome_color",modelValue:A.selectColor,"onUpdate:modelValue":e[1]||(e[1]=e=>A.selectColor=e)},null,8,["modelValue"])])]),(0,n._)("div",Kr,[(0,n._)("div",Nr,[Pr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.UploadImage")),1)]),(0,n._)("div",Rr,[(0,n._)("div",Vr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.fileList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:t},[(0,n.wy)((0,n._)("div",Gr,[(0,n.Wm)(c,{indicator:A.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"done"!==t.status]]),(0,n.wy)((0,n._)("div",jr,[(0,n._)("img",{src:t?.imgUrl,class:"upload_img",ref_for:!0,ref:"colorImage"},null,8,zr),(0,n._)("div",{class:"delete_file_block",onClick:e[2]||(e[2]=e=>A.deleteFile(A.index))},"Delete")],512),[[o.F8,"done"===t.status]])])))),128)),(0,n.wy)((0,n.Wm)(d,{"list-type":"picture-card",customRequest:function(){},onChange:A.fileUploadChange,"before-upload":A.beforeUpload,accept:".jpg,.png,.jpeg,.bmp"},{default:(0,n.w5)((()=>[Zr])),_:1},8,["customRequest","onChange","before-upload"]),[[o.F8,A.fileList.length<1]])]),(0,n._)("div",Wr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A.selectColorList,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,onClick:t=>A.setUplpadColor(e),class:"upload_color_item"},[(0,n._)("div",{class:"upload_color_item_bg",style:(0,r.j5)({"background-color":`rgba(${e.rgba.r},${e.rgba.g},${e.rgba.b},${e.rgba.a})`})},null,4),(0,n._)("img",{src:"#",title:A.pantongNameList[t]},null,8,Xr)],8,Yr)))),128))])])]),(0,n._)("div",Jr,[(0,n._)("div",$r,[qr,(0,n._)("span",null,(0,r.zw)(A.$t("ColorboardUpload.ColorCode")),1)]),(0,n._)("div",Ao,[(0,n.wy)((0,n._)("input",{class:"get_color_input",placeholder:"tcx value (e.g.: 19-4052)","onUpdate:modelValue":e[3]||(e[3]=e=>A.tcxColor=e),onKeydown:e[4]||(e[4]=(0,o.D2)((e=>A.getTcxColor()),["enter"]))},null,544),[[o.nr,A.tcxColor]]),(0,n._)("div",{class:"get_color_button",onClick:e[5]||(e[5]=e=>A.getTcxColor())},[eo,(0,n._)("span",to,(0,r.zw)(A.$t("ColorboardUpload.ExtractColor")),1)]),(0,n.wy)((0,n._)("div",{class:"get_color_bg",onClick:e[6]||(e[6]=e=>A.setUplpadColor(A.reviewColor)),style:(0,r.j5)({"background-color":`rgba(${A.getSelectRGB(A.reviewColor).r},${A.getSelectRGB(A.reviewColor).g},${A.getSelectRGB(A.reviewColor).b},${A.getSelectRGB(A.reviewColor).a})`})},[(0,n._)("img",{src:"#",title:A.pantongName},null,8,io)],4),[[o.F8,A.getColorBg]])])])])])])}var ro=t(1125),oo=t(6243),so=t.n(oo);t(1703);function ao(A,e,t){const i=A,n=[];for(let r,o,s,a,l,c=0;c=125)&&(o>250&&s>250&&a>250||n.push([o,s,a]));return n}function lo(A){let{colorCount:e,quality:t}=A;if("undefined"!==typeof e&&Number.isInteger(e)){if(1===e)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");e=Math.max(e,2),e=Math.min(e,20)}else e=10;return("undefined"===typeof t||!Number.isInteger(t)||t<1)&&(t=10),{colorCount:e,quality:t}}var co={createPixelArray:ao,validateOptions:lo}; /* * Color Thief v2.3.2 * by Lokesh Dhakar - http://www.lokeshdhakar.com diff --git a/dist/js/app.d81f707c.js b/dist/js/app.18a503c3.js similarity index 99% rename from dist/js/app.d81f707c.js rename to dist/js/app.18a503c3.js index 5047e317..8be057d3 100644 --- a/dist/js/app.d81f707c.js +++ b/dist/js/app.18a503c3.js @@ -1 +1 @@ -(function(){var e={2450: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;const f={state:{guide:0},mutations:{setGuide(e,t){e.guide=t}},actions:{}};var P=f,D=(0,u.MT)({state:{},getters:{},mutations:{},actions:{},modules:{UploadFilesModule:C,DesignDetailModule:g,HomeStoreModule:j,UserHabit:M,Workspace:S,Guide:P}});n(6791);let L=(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 z=L,T=(n(2467),n(6732)),x=n(7751),B=n(8552),H={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:{Organize:"Organize",Upload:"Upload",Generate:"Generate",Delete:"Delete",Rename:"Rename",inputContent1:"Search by your style code",intersection:"intersection",unionSet:"union set",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:"Since you have selected multiple images, please click 'Layout' to proceed.",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"}},I={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:{Organize:"喜欢",Upload:"上传",Generate:"生成",Delete:"删除",Rename:"重命名",inputContent1:"输入名字进行搜索",intersection:"交集",unionSet:"并集",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张图片哦"}},k={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:{Organize:"구성",Upload:"업로드",Generate:"생성하다",Delete:"삭제",Rename:"이름 바꾸기",inputContent1:"스타일 코드로 검색",intersection:"교차로",unionSet:"결합 세트",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개의 이미지를 선택할 수 있습니다."}},A={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:{Organize:"編成",Upload:"アップロード",Generate:"生成する",Delete:"消去",Rename:"名前の変更",inputContent1:"スタイルコードで検索",intersection:"交差点",unionSet:"ユニオンセット",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枚の画像を選択できます"}},R={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:{Organize:"Организовать",Upload:"Загрузить",Generate:"Генерировать",Delete:"Удалить",Rename:"Переименовать",inputContent1:"Поиск по коду вашего стиля",intersection:"пересечение",unionSet:"набор объединений",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 изображений"}},E={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:{Organize:"Organiser",Upload:"Télécharger",Generate:"Générer",Delete:"Supprimer",Rename:"Renommer",inputContent1:"Recherchez par votre code de style",intersection:"intersection",unionSet:"ensemble d'unions",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:"Puisque vous avez sélectionné plusieurs images, veuillez cliquer sur « Mise en page » pour continuer.",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"}},N={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:{Organize:"จัดระเบียบ",Upload:"อัปโหลด",Generate:"กำเนิด",Delete:"ลบ",Rename:"เปลี่ยนชื่อ",inputContent1:"ค้นหาตามรหัสสไตล์ของคุณ",intersection:"แยก",unionSet:"ชุดยูเนี่ยน",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 ภาพ"}},w={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:{Organize:"Tổ chức",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",intersection:"ngã tư",unionSet:"bộ đoà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:"Vì bạn đã chọn nhiều hình ảnh, vui lòng nhấp vào 'Bố cục' để tiếp tụ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"}},U={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:{Organize:"Organizzare",Upload:"Caricamento",Generate:"creare",Delete:"Eliminare",Rename:"Rinominare",inputContent1:"Search by your style code",intersection:"intersezione",unionSet:"insieme di unione",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:'Poiché hai selezionato più immagini, fai clic su "Layout" per procedere',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 O={ENGLISH:{...H,...H},CHINESE_SIMPLIFIED:{...I,...I},KOREAN:{...k,...k},JAPANESE:{...A,...A},RUSSIAN:{...R,...R},FRENCH:{...E,...E},THAI:{...N,...N},VIETNAMESE:{...w,...w},ITALIAN:{...U,...U}},G=(0,B.o)({legacy:!1,globalInjection:!0,locale:"ENGLISH",messages:O});var V=G;z();let F={loading:n(5929),attempt:1};(0,o.ri)(c).use(D).use(m.Z).use(T.ZP).use(x.Z,F).use(V).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,370,946],"./HomeView.vue":[989,949,370,87,989],"./LibraryPage.vue":[9658,949,370,87,750],"./LoginPage.vue":[8177,949,826],"./versions1Guide.vue":[1148,148]};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",148:"0dd92788",370:"25e7abdb",750:"145f395a",826:"7d3d0b48",946:"fae91dca",949:"19361b7a",989:"ac58c133"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{127:"bafe38b4",148:"64209616",370:"bfa04ac5",750:"a043698b",826:"020f1a67",946:"dfa9f0f0",949:"5d90d842",989:"0439aec9"}[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;const f={state:{guide:0},mutations:{setGuide(e,t){e.guide=t}},actions:{}};var P=f,D=(0,u.MT)({state:{},getters:{},mutations:{},actions:{},modules:{UploadFilesModule:C,DesignDetailModule:g,HomeStoreModule:j,UserHabit:M,Workspace:S,Guide:P}});n(6791);let L=(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 z=L,T=(n(2467),n(6732)),x=n(7751),B=n(8552),H={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:{Organize:"Organize",Upload:"Upload",Generate:"Generate",Delete:"Delete",Rename:"Rename",inputContent1:"Search by your style code",intersection:"intersection",unionSet:"union set",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:"Since you have selected multiple images, please click 'Layout' to proceed.",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"}},I={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:{Organize:"喜欢",Upload:"上传",Generate:"生成",Delete:"删除",Rename:"重命名",inputContent1:"输入名字进行搜索",intersection:"交集",unionSet:"并集",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张图片哦"}},k={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:{Organize:"구성",Upload:"업로드",Generate:"생성하다",Delete:"삭제",Rename:"이름 바꾸기",inputContent1:"스타일 코드로 검색",intersection:"교차로",unionSet:"결합 세트",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개의 이미지를 선택할 수 있습니다."}},A={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:{Organize:"編成",Upload:"アップロード",Generate:"生成する",Delete:"消去",Rename:"名前の変更",inputContent1:"スタイルコードで検索",intersection:"交差点",unionSet:"ユニオンセット",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枚の画像を選択できます"}},R={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:{Organize:"Организовать",Upload:"Загрузить",Generate:"Генерировать",Delete:"Удалить",Rename:"Переименовать",inputContent1:"Поиск по коду вашего стиля",intersection:"пересечение",unionSet:"набор объединений",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 изображений"}},E={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:{Organize:"Organiser",Upload:"Télécharger",Generate:"Générer",Delete:"Supprimer",Rename:"Renommer",inputContent1:"Recherchez par votre code de style",intersection:"intersection",unionSet:"ensemble d'unions",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:"Puisque vous avez sélectionné plusieurs images, veuillez cliquer sur « Mise en page » pour continuer.",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"}},N={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:{Organize:"จัดระเบียบ",Upload:"อัปโหลด",Generate:"กำเนิด",Delete:"ลบ",Rename:"เปลี่ยนชื่อ",inputContent1:"ค้นหาตามรหัสสไตล์ของคุณ",intersection:"แยก",unionSet:"ชุดยูเนี่ยน",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 ภาพ"}},w={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:{Organize:"Tổ chức",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",intersection:"ngã tư",unionSet:"bộ đoà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:"Vì bạn đã chọn nhiều hình ảnh, vui lòng nhấp vào 'Bố cục' để tiếp tụ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"}},U={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:{Organize:"Organizzare",Upload:"Caricamento",Generate:"creare",Delete:"Eliminare",Rename:"Rinominare",inputContent1:"Search by your style code",intersection:"intersezione",unionSet:"insieme di unione",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:'Poiché hai selezionato più immagini, fai clic su "Layout" per procedere',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 O={ENGLISH:{...H,...H},CHINESE_SIMPLIFIED:{...I,...I},KOREAN:{...k,...k},JAPANESE:{...A,...A},RUSSIAN:{...R,...R},FRENCH:{...E,...E},THAI:{...N,...N},VIETNAMESE:{...w,...w},ITALIAN:{...U,...U}},G=(0,B.o)({legacy:!1,globalInjection:!0,locale:"ENGLISH",messages:O});var V=G;z();let F={loading:n(5929),attempt:1};(0,o.ri)(c).use(D).use(m.Z).use(T.ZP).use(x.Z,F).use(V).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,155,946],"./HomeView.vue":[989,949,155,87,989],"./LibraryPage.vue":[9658,949,155,87,750],"./LoginPage.vue":[8177,949,826],"./versions1Guide.vue":[1148,148]};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",148:"0dd92788",155:"976173ad",750:"b87c9606",826:"7d3d0b48",946:"6edbdb79",949:"19361b7a",989:"0f354989"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{127:"bafe38b4",148:"64209616",155:"39b85627",750:"a043698b",826:"020f1a67",946:"dfa9f0f0",949:"5d90d842",989:"0439aec9"}[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 { if (rv) { if(index){ @@ -429,11 +429,9 @@ export default defineComponent({ this.workspace.workspaceList[index].workSpaceName = this.workspaceItemName this.workspace.workspaceList[index].putName = false this.openType.addWorkspace = false - console.log(123); - } }).catch((res)=>{ - console.log(321); + this.getworkspace() }); }, deleteWorkspace(data:any){ @@ -502,9 +500,11 @@ export default defineComponent({ let data:any this.workspace.workspaceList.forEach((item:any)=>{ if(this.workspace.workspaceList[index].id == item.id){ + // item.putName = true data = item } }) + data.workSpaceName = this.workspaceItemName this.putWorkspace(data,'') }