import{DEVICES as t,composePositionLineHeight as e}from"@gem-sdk/core";import{getStaticLocale as o,getDynamicSourceLocales as i,createSettingId as n}from"../../helpers.js";import{IconListV2 as s}from"../settings/configs/translate.js";let l=t=>({...t,desktop:t?.desktop??0,tablet:t?.tablet??t?.desktop??0,mobile:t?.mobile??t?.tablet??t?.desktop??0}),r=t=>"react"===t?"Icons not found":o("IconList","icons_not_found"),d=({setting:t,builderProps:e,pageContext:o,key:l,type:r})=>{let{childItem:d}=t??{};return"react"===r?d?.[l]:i({val:d?.[l],uid:e?.uid,settingId:n({id:s?.childItem?.id,index:l}),pageContext:o??{},isReplaceLocationOrigin:!0})},a=({setting:t})=>{let{childConfig:e,iconType:o,iconSvg:i}=t??{};return o&&"matching"!==o?"different"===o?e:void 0:Array(e?.length).fill(i)},c=(o,i,n)=>{let s={...n,desktop:n?.desktop??0,tablet:n?.tablet??n?.desktop??0,mobile:n?.mobile??n?.tablet??n?.desktop??0},l={};return t.forEach(t=>{e({compose:l,lineHeight:o,device:t,position:i,iconWidth:s})}),l};export{l as composeIconWith,c as composePostionIconList,r as getTextIconNotFound,d as getTextIconTranslations,a as getvalueMap};
