"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[13],{42:(e,a,s)=>{s.d(a,{a:()=>H});var r=s(0),n=(s(1),s(194)),t=s(4),i=s(2),c=s(20);const{wrapper:p}=c.a,l=({description:e})=>(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e},className:p});var d=s(21);const{wrapper:h,wrapperHeading:u,wrapperHeadingIcon:g,wrapperHeadingTitle:x,wrapperHeadingTitleOpened:j,wrapperHeadingSubtitle:o,wrapperItems:m,wrapperItemsExpand:b,horizontalLine:w}=d.a,H=({title:e,subtitle:a,description:s,activeParagraph:c,handleExpandParagraph:p})=>{const{ref:d}=((e,a)=>{const s=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(!s.current)return;const{scrollHeight:r,clientHeight:n}=s.current;e!==a&&0!==n?s.current.style.maxHeight="0px":e===a&&(s.current.style.maxHeight=`${r}px`)}),[e]),{ref:s}})(c,e),H=c===e;return(0,r.jsxs)("div",Object.assign({className:h},{children:[(0,r.jsxs)("div",Object.assign({onClick:()=>p(e),className:(0,n.a)(u,H&&j)},{children:[(0,r.jsx)("h2",Object.assign({className:x},{children:e})),(0,r.jsx)("span",Object.assign({className:g},{children:H?(0,r.jsx)(t.p,{}):(0,r.jsx)(t.u,{})}))]})),(0,r.jsxs)("div",Object.assign({ref:d,className:(0,n.a)(m,H&&b)},{children:[a&&(0,r.jsx)("h4",Object.assign({className:o},{children:a})),s.length>0&&s.map(((e,a)=>(0,r.jsx)(l,{description:e})))]})),(0,r.jsx)("span",{className:w})]}))}},26:(e,a,s)=>{s.d(a,{a:()=>n});var r=s(2);const n=()=>{const[e,a]=(0,r.useState)("");return{activeParagraph:e,handleExpandParagraph:(0,r.useCallback)((e=>{a((a=>a===e?"":e))}),[e])}}}}]);