function EventCardMediaSection({ type, episodes, availability, isMobile }) {
  return (
    <>
      <div style={style.headerContainer}>
        <div style={style.header}>
          { type }
        </div>
        &nbsp;&nbsp;
        {
          type === "Series/OVA" &&
          <div style={style.subheader}>
            { episodes.length + " episodes" }
          </div>
        }
      </div>
      {
        type === "Series/OVA" &&
        <div style={style.episodesContainer}>
          {
            episodes.map((episode, i) => (
              <Episode
                key={episode.name}
                episode={episode}
                index={i}
                isMobile={isMobile}
              />
            ))
          }
        </div>
      }
      {
        type === "Movie" &&
        <div style={style.movieContainer}>
          {/* TODO: */}
        </div>
      }
    </>
  );
}
/**
 * @param type Required. Could be series, OVA, movie.
 * @param episodes Optional. Information regarding the series/OVA.
 * @param availability Required. Indicates which platform the media is available
 * to view on.
 */
@param type Required. Could be series, OVA, movie.
@param episodes Optional. Information regarding the series/OVA.
@param availability Required. Indicates which platform the media is available
to view on.
@param type Required . Could be series OVA movie . @param episodes Optional . Information regarding the series / OVA . @param availability Required . Indicates which platform the media is available to view on .
function EventCardMediaSection({ type, episodes, availability, isMobile }) {
  return (
    <>
      <div style={style.headerContainer}>
        <div style={style.header}>
          { type }
        </div>
        &nbsp;&nbsp;
        {
          type === "Series/OVA" &&
          <div style={style.subheader}>
            { episodes.length + " episodes" }
          </div>
        }
      </div>
      {
        type === "Series/OVA" &&
        <div style={style.episodesContainer}>
          {
            episodes.map((episode, i) => (
              <Episode
                key={episode.name}
                episode={episode}
                index={i}
                isMobile={isMobile}
              />
            ))
          }
        </div>
      }
      {
        type === "Movie" &&
        <div style={style.movieContainer}>
          {}
        </div>
      }
    </>
  );
}
function EventCardMediaSection ( { type , episodes , availability , isMobile } ) { return ( < > < div style = { style . headerContainer } > < div style = { style . header } > { type } < / div > 
        &nbsp;&nbsp;
         { type === "Series/OVA" && < div style = { style . subheader } > { episodes . length + " episodes" } < / div > } < / div > { type === "Series/OVA" && < div style = { style . episodesContainer } > { episodes . map ( ( episode , i ) => ( < Episode key = { episode . name } episode = { episode } index = { i } isMobile = { isMobile } / > ) ) } < / div > } { type === "Movie" && < div style = { style . movieContainer } > { } < / div > } < / > ) ; }
@param type Required.
@param type Required .
/* TODO: */