"use strict";const M=require("react/jsx-runtime"),b=require("react"),o=require("../tools/tools.cjs"),d=function(i){const{as:m="div",centered:s,className:a,dropOldClass:t,fullscreen:l,scrollable:n,size:e,style:r,variables:c,...u}=i,y=b.useMemo(()=>{const f=o.classx(!t&&"modal-dialog",n&&"modal-dialog-scrollable",s&&"modal-dialog-centered",e&&`modal-${e}`,l&&(typeof l=="boolean"?"modal-fullscreen":`modal-fullscreen-${l}-down`),a),g=o.stylex((D,p)=>({tKey:o.convertBsKeyToVar(p)}),c,r);return{className:f,style:g}},[s,a,t,l,n,e,r,c]);return M.jsx(m,{...u,...y})};d.displayName="BRL.ModalDialog";exports.ModalDialog=d;
//# sourceMappingURL=modal-dialog.cjs.map
