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