import{makeStyleResponsive as e,getGradientBgrStyleByDevice as t,getResponsiveStylePadding as l,getStyleBackgroundByDevice as o,composeRadiusResponsive as r,getResponsiveStyleShadowWithoutState as b,composeBorderResponsive as i,getSingleColorVariable as a,makeGlobalSize as n,makeStyle as s}from"@gem-sdk/core";import{getBackgroundTranslated as p}from"../../helpers.js";import{IconListV2 as d}from"../settings/configs/translate.js";let m=e=>(["--mb","--mb-mobile","--mb-tablet"].forEach(t=>{delete e?.[t]}),e),c=({styles:t,style:l,type:o,advanced:r})=>{let{align:b}=t??{};return{...l="react"===o?m(l):l,...e("jc",b),...e("d",{desktop:r?.d?.desktop?"flex":"none",tablet:r?.d?.tablet?"flex":"none",mobile:r?.d?.mobile?"flex":"none"})}},g=({styles:a,uid:n,pageContext:s,type:m="React"})=>{let{panelAlign:c,contentBoxPadding:g,contentBoxWidth:k,background:u,contentBoxBorder:x,contentBoxRounded:y,contentBoxShadow:f}=a??{},I="Liquid"===m?p({background:u,uid:n,enableTranslate:!!d?.background?.id,pageContext:s??{},isTranslateVideo:!1}):u;return{...i(x),...b(f,"box-shadow",f),...r(y),...o(I),...l(g),...e("w",k),...e("jc",c),...t(I,{desktop:!0,tablet:!0,mobile:!0})}},k=({styles:t})=>{let{verticalSpacing:l}=t??{};return{...e("rg",l)}},u=({styles:t})=>{let{horizontalSpacing:l,position:o}=t??{};return{...e("cg",l),...e("ai",{...o,mobile:o?.mobile=="baseline"?"flex-start":o?.mobile})}},x=({styles:t,setting:l})=>{let{iconBorder:o,backgroundColor:r,iconRounded:b}=t??{},{globalSize:i}=l??{},p=n(i);return{...p.padding,...s({bs:o?.border,bw:o?.width,bc:a(o?.color),bg:a(r),bblr:b?.bblr,bbrr:b?.bbrr,btlr:b?.btlr,btrr:b?.btrr}),...e("top",{desktop:"unset",tablet:"unset",mobile:"unset"}),...e("pos",{desktop:"relative",tablet:"relative",mobile:"relative"})}},y=({styles:e,setting:t})=>{let{iconColor:l}=e||{},{iconWidth:o}=t??{};return{"--c":a(l),"--w":"100%","--h":"100%","--size-desktop":`${o?.desktop}px`,"--size-tablet":`${o?.tablet||o?.desktop}px`,"--size-mobile":`${o?.mobile||o?.tablet||o?.desktop}px`}},f=({setting:e})=>({typo:e?.textTypo});export{k as getStyleColListIcon,c as getStyleContainerIconlistMain,y as getStyleIcon,f as getStyleTypoText,x as getStyleWrapIcon,u as getStyleWrapItemIcon,g as getStyleWraplistIcon};
