import{makeStyle as t,getSingleColorVariable as e,makeStyleResponsive as r,composeTypographyStyle as o,makeWidth as l}from"@gem-sdk/core";let c=({styles:o})=>{let{width:l,lineStyle:c,thickness:n,transform:a,customTransform:s,color:p}=o??{};return{...b(l??{}),...r("bs",c),...r("bbw",d(n)),...t({t:`gp-rotate(${i(a,s)}deg)`}),...t({bc:e(p)})}},n=({styles:r})=>{let{width:o,transform:l,customTransform:c,color:n}=r??{};return{...b(o??{}),...t({bc:e(n)}),...t({t:`gp-rotate(${i(l,c)}deg)`})}},a=({styles:o,setting:l})=>{let{position:c}=l??{},{iconSpacing:n,iconSize:a,iconColor:s,iconRotate:p}=o??{};return{...u(n,c),...r("w",a),...r("h",a),...t({t:`gp-rotate(${p})`}),...t({c:e(s)})}},s=({styles:r})=>{let{textColor:l,textSpacing:c,typo:n,typography:a}=r??{},s=o(n,a);return{...t({tt:r?.transform}),...s,...t({c:e(l)}),...u(c)}},p=({config:o})=>({...t({bc:e(o?.color)}),...r("bs",o?.lineStyle),...r("bbw",d(o?.thickness)),...r("minw",o?.width),...b(o?.width??{})}),i=(t,e)=>{switch(t){case"horizontal":default:return 0;case"vertical":return 90;case"custom":return e||0}},b=t=>(Object.keys(t).forEach(e=>{"default"===t[e]&&(t[e]="1200px")}),r("w",l(t))),d=t=>({desktop:t?.desktop?`${t.desktop}px`:"1px",tablet:t?.desktop?`${t.tablet}px`:"1px",mobile:t?.desktop?`${t.mobile}px`:"1px"}),u=(e,r)=>{switch(r){case"left":return t({mr:e});case"right":return t({ml:e});default:return t({mr:e,ml:e})}};export{p as getStyleContainerDivider,s as getStyleContainerText,a as getStyleIcon,n as getStyleWrapIcon,c as getStyleWrapNotIcon};
