import{__assign as e}from"../../node_modules/tslib/tslib.es6.js";import t,{useEffect as o}from"react";import"../../node_modules/react-redux/es/index.js";import{Heading as r}from"../Typography/Heading.js";import m from"../common/Accordion/Accordion.js";import n from"../common/Loading/Loading.js";import{DEFAULT_BLOC_PROPERTIES as l}from"../Bloc/BlocProperties.js";import{useSelector as a}from"../../node_modules/react-redux/es/hooks/useSelector.js";import{useDispatch as i}from"../../node_modules/react-redux/es/hooks/useDispatch.js";var s=e(e({},l),{url:""});export default function(e){var l=e.url,s=e.loadTermDates,c=e.selectTermDates,d=a(c),u=i();return o((function(){u(s(l))}),[u]),null==d?t.createElement(n,null):t.createElement(t.Fragment,null,d.map((function(e){return t.createElement(t.Fragment,null,t.createElement("div",{className:"mb-5"},t.createElement(r,{text:e.title,align:"left",fontSize:30,lineHeight:40,letterSpacing:"1",fontFamily:"Avenir Next Bold",lumo:"secondary-base"}),t.createElement(m,{items:e.data,stripHTML:!0})))})))}export{s as DEFAULT_TERM_DATES};
//# sourceMappingURL=TermDates.js.map
