"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client";
var _chunkVAPCFP6Kcjs = require('./chunk-VAPCFP6K.cjs');var _chunkMNDBZIH4cjs = require('./chunk-MNDBZIH4.cjs');var _chunkW5TOJT6Bcjs = require('./chunk-W5TOJT6B.cjs');var _chunkX26E67JFcjs = require('./chunk-X26E67JF.cjs');var _chunkQLDZ7HKUcjs = require('./chunk-QLDZ7HKU.cjs');var _chunk5NXYDZPPcjs = require('./chunk-5NXYDZPP.cjs');var _react = require('react');var _freesolidsvgicons = require('@fortawesome/free-solid-svg-icons');var _faClose = require('@fortawesome/free-solid-svg-icons/faClose');var _reactfontawesome = require('@fortawesome/react-fontawesome');var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);var P=_chunkQLDZ7HKUcjs.a.call(void 0, "EulCollapsable",["closeBtn","content","disabled","header","open","root","title"]),u=o=>_chunkX26E67JFcjs.e.call(void 0, "EulCollapsable",{closeBtn:["closeBtn"],content:["content"],header:["header"],root:["root",o.open&&"open",o.disabled&&"disabled"],title:["title"]}),W= exports.a =P;var C=_chunkQLDZ7HKUcjs.m.call(void 0, "div")(({theme:o})=>_chunk5NXYDZPPcjs.p`
    display: flex;
    flex-direction: column;
    background: ${o.palette.background[400]};
    border: 1px solid ${o.palette.background[500]};
    border-radius: ${o.spacing(3)};
  `),x=_chunkQLDZ7HKUcjs.m.call(void 0, "div")(({theme:o})=>_chunk5NXYDZPPcjs.p`
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: ${o.spacing(3)} ${o.spacing(6)};
    cursor: pointer;
  `);var _jsxruntime = require('react/jsx-runtime');function y({children:o,className:B,defaultOpen:h=!1,disabled:p=!1,openIcon:S=_freesolidsvgicons.faPlus,closeIcon:$=_faClose.faClose,onEnter:k,onExit:N,title:v}){let[t,E]=_react.useReducer.call(void 0, H=>!H,h),T=_chunkQLDZ7HKUcjs.n.call(void 0, ),e=u({disabled:p,open:t});return _jsxruntime.jsxs.call(void 0, C,{className:_clsx2.default.call(void 0, B,e.root),children:[_jsxruntime.jsxs.call(void 0, x,{className:_clsx2.default.call(void 0, e.header),onClick:p?void 0:E,children:[_jsxruntime.jsx.call(void 0, _chunkW5TOJT6Bcjs.b,{className:_clsx2.default.call(void 0, e.title),variant:"subtitle1",children:v}),_jsxruntime.jsx.call(void 0, _chunkVAPCFP6Kcjs.b,{className:_clsx2.default.call(void 0, e.closeBtn),startIcon:_jsxruntime.jsx.call(void 0, _reactfontawesome.FontAwesomeIcon,{icon:t?$:S}),variant:"ghost"})]}),_jsxruntime.jsx.call(void 0, _chunkMNDBZIH4cjs.a,{in:t,onEnter:k,onExit:N,children:_jsxruntime.jsx.call(void 0, _chunk5NXYDZPPcjs.s,{borderTop:`1px solid ${T.palette.background[500]}`,className:_clsx2.default.call(void 0, e.content),pb:6,px:6,children:o})})]})}exports.a = W; exports.b = y;
