"use strict";var o=require("../../../common/helpers.js");const r=r=>o.filterTruthy(r);exports.composeFormStyles=(o,t)=>{let{errorColor:e,successColor:s}=t??{};return"success"===o?r({"background-color":"#F2FFEC",left:"50%",transform:"translateX(-50%)",color:s}):r({"background-color":"#FFE9E9",left:"50%",transform:"translateX(-50%)",color:e})},exports.popoverStyles=o=>`
    #my-popover-${o?.uid}::backdrop {
      width: fit-content;
      height: fit-content;
    }
  `;
