import{getDynamicSourceLocales as t}from"../../../../helpers.js";let getTextDropContent=t=>t?.includes("$max_size")?t?.replace("$max_size","20MB"):t,getDisplayText=(e,r)=>{let{setting:n,styles:o,uid:l,pageContext:s}=r;return"Liquid"===e?t({val:n?.textContent,uid:l,settingId:"textContent",pageContext:s,isCapitalize:o?.typo?.attrs?.transform==="capitalize",translate:n?.translate}):getTextDropContent(n?.textContent)},removeHoverStyles=(t,e)=>{if(!1===e){let e={};return Object.keys(t).forEach(r=>{r.includes("--hvr")||r.includes("--text-hover-color")||(e[r]=t[r])}),e}return t};export{getDisplayText,getTextDropContent,removeHoverStyles};
