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