const e=require("../../theme/util/genComponentStyleHook.js"),t=require("../../theme/util/statistic.js"),n=require("../utils.js");var r=e=>{let{componentCls:t}=e;return{[t]:{display:`flex`,"&-vertical":{flexDirection:`column`},"&-rtl":{direction:`rtl`},"&:empty":{display:`none`}}}},i=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},a=e=>{let{componentCls:t}=e,r={};return n.flexWrapValues.forEach(e=>{r[`${t}-wrap-${e}`]={flexWrap:e}}),r},o=e=>{let{componentCls:t}=e,r={};return n.alignItemsValues.forEach(e=>{r[`${t}-align-${e}`]={alignItems:e}}),r},s=e=>{let{componentCls:t}=e,r={};return n.justifyContentValues.forEach(e=>{r[`${t}-justify-${e}`]={justifyContent:e}}),r},c=e.default(`Flex`,e=>{let n=t.merge(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[r(n),i(n),a(n),o(n),s(n)]});exports.default=c;