"use strict";const b=require("react/jsx-runtime"),C=require("react"),o=require("../tools/tools.cjs"),l=function(i){const{as:d="div",className:s,dropOldClass:n,placement:t,position:e,style:a,variables:r,...m}=i,c=C.useMemo(()=>{const p=o.classx(!n&&"toast-container",e&&`position-${e}`,t&&{"bottom-0 end-0":t==="bottom-end","bottom-0 start-0":t==="bottom-start","bottom-0 start-50 translate-middle-x":t==="bottom-center","top-0 end-0":t==="top-end","top-0 start-0":t==="top-start","top-0 start-50 translate-middle-x":t==="top-center","top-50 end-0 translate-middle-y":t==="middle-right","top-50 start-0 translate-middle-y":t==="middle-left","top-50 start-50 translate-middle":t==="middle-center"},s),u=o.stylex((T,y)=>({tKey:o.convertBsKeyToVar(y)}),r,a);return{className:p,style:u}},[s,n,t,e,a,r]);return b.jsx(d,{...m,...c})};l.displayName="BRL.ToastContainer";exports.ToastContainer=l;
//# sourceMappingURL=toast-container.cjs.map
