"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("../../style/index.js"),a=require("../../style/motion/collapse.js");require("../../_util/cssinjs/StyleContext.js");require("vue");require("../../_util/cssinjs/transformers/legacyLogicalProperties.js");require("../../theme/internal.js");const d=require("./dragger.js"),p=require("./list.js"),g=require("./motion.js"),i=require("./picture.js"),f=require("./rtl.js"),q=require("../../theme/util/genComponentStyleHook.js"),S=require("../../theme/util/statistic.js"),m=r=>{const{componentCls:t,colorTextDisabled:o}=r;return{[`${t}-wrapper`]:{...c.resetComponent(r),[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:o,cursor:"not-allowed"}}}},y=q.default("Upload",r=>{const{fontSizeHeading3:t,fontSize:o,lineHeight:l,lineWidth:n,controlHeightLG:u}=r,s=Math.round(o*l),e=S.merge(r,{uploadThumbnailSize:t*2,uploadProgressOffset:s/2+n,uploadPicCardSize:u*2.55});return[m(e),d.default(e),i.genPictureStyle(e),i.genPictureCardStyle(e),p.default(e),g.default(e),f.default(e),a.default(e)]});exports.default=y;
