const e=require("../../style/index.js"),t=require("../../theme/util/genComponentStyleHook.js"),n=require("../../theme/util/statistic.js"),r=require("../../style/motion/collapse.js"),i=require("./dragger.js"),a=require("./list.js"),o=require("./motion.js"),s=require("./picture.js"),c=require("./rtl.js");var l=t=>{let{componentCls:n,colorTextDisabled:r}=t;return{[`${n}-wrapper`]:{...e.resetComponent(t),[n]:{outline:0,"input[type='file']":{cursor:`pointer`}},[`${n}-select`]:{display:`inline-block`},[`${n}-disabled`]:{color:r,cursor:`not-allowed`}}}},u=t.default(`Upload`,e=>{let{fontSizeHeading3:t,fontSize:u,lineHeight:d,lineWidth:f,controlHeightLG:p}=e,m=Math.round(u*d),h=n.merge(e,{uploadThumbnailSize:t*2,uploadProgressOffset:m/2+f,uploadPicCardSize:p*2.55});return[l(h),i.default(h),s.genPictureStyle(h),s.genPictureCardStyle(h),a.default(h),o.default(h),c.default(h),r.default(h)]});exports.default=u;