"use strict";var e=require("../../../../helpers.js"),t=require("../settings/configs/translate.js");const r=e=>e?.includes("$max_size")?e?.replace("$max_size","20MB"):e;exports.getDisplayText=(s,i)=>{let{setting:n,styles:o,uid:a,pageContext:l}=i;return"Liquid"===s?e.getDynamicSourceLocales({val:n?.textContent,uid:a,settingId:e.createSettingId({id:t.FileUpload?.textContent?.id}),pageContext:l??{},isCapitalize:o?.typo?.attrs?.transform==="capitalize"}):r(n?.textContent)},exports.getTextDropContent=r,exports.removeHoverStyles=(e,t)=>{if(!1===t){let t={};return Object.keys(e).forEach(r=>{r.includes("--hvr")||r.includes("--text-hover-color")||(t[r]=e[r])}),t}return e};
