"use strict";var s=Object.create;var i=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var u=(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0})},d=(e,t,o,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of c(t))!m.call(e,a)&&a!==o&&i(e,a,{get:()=>t[a],enumerable:!(l=n(t,a))||l.enumerable});return e};var v=(e,t,o)=>(o=e!=null?s(p(e)):{},d(t||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e)),b=e=>d(i({},"__esModule",{value:!0}),e);var g={};u(g,{Modal:()=>M});module.exports=b(g);var r=v(require("react")),M=({isOpen:e,toggleModal:t,children:o,overlayProps:l,modalProps:a})=>e?r.default.createElement("div",{className:"fixed inset-0 flex items-center justify-center z-100 gap-3"},r.default.createElement("div",{className:"absolute inset-0 bg-black opacity-50",onClick:t,...l}),r.default.createElement("div",{className:"rounded-lg p-4 z-50 max-w-md w-full bg-background-secondary",...a},o)):null;0&&(module.exports={Modal});
//# sourceMappingURL=Modal.js.map