<commit_before>import { connect } from 'preact-redux'
import * as CarouselActions from '../../carousel/redux/action-creators'
import CarouselSelectors from '../../carousel/redux/selectors'
import FeaturedMemories from './featured-memories'

const mapStateToProps = state => {
  const carouselSelectors = CarouselSelectors(state)
  return {
    memories: [
      {
        name: 'Marina',
        birthYear: '1990',
        deathYear: '2015',
        description: 'Baleada em um assalto quando saía da faculdade.',
        url: '/memory/marina',
        image: 'http://static.quizur.com/i/b/581f5c66877f10.71342558581f5c66777f49.87913318.jpg',
        quote:
          `Minha filha sonhava em ser médica, em trabalhar com crianças. Pra gente aqui é tudo` +
          `muito difícil, mas ela trabalhava de dia e conseguia pagar a faculdade à noite. Sempre` +
          `foi muito batalhadora...`
      },
      {
        name: 'Isabela',
        birthYear: '1980',
        deathYear: '2005',
        description: 'Atropelada à caminho da academia.',
        url: '/memory/isabela',
        image: 'https://s-media-cache-ak0.pinimg.com/originals/07/57/cc/0757cc36efb16d5f459fd9538ec17132.jpg',
        quote:
          `Forgive my manners. I don't see many ladies these days. Lucky for the ladies. All men ` +
          `must die. A good act does not wash out the bad, nor a bad act the good. Each should ` +
          `have its own reward.`
      },
      {
        name: 'Flávia',
        birthYear: '1995',
        deathYear: '2016',
        description: 'Esfaqueada indo ao trabalho.',
        url: '/memory/flavia',
        image: 'http://www.polyvore.com/cgi/img-thing?.out=jpg&size=l&tid=108410121',
        quote:
          `The night is dark and full of terrors. What is dead may never die. A good act does ` +
          `not wash out the bad, nor a bad act the good. Each should have its own reward. The ` +
          `bear and the maiden fair.`
      }
    ],
    currentCarouselIndex: carouselSelectors.getCurrentIndex()
  }
}

const mapDispatchToProps = ({
  setListCarousel: CarouselActions.setList
})

export default connect(mapStateToProps, mapDispatchToProps)(FeaturedMemories)
<commit_msg>force https to remote images<commit_after>import { connect } from 'preact-redux'
import * as CarouselActions from '../../carousel/redux/action-creators'
import CarouselSelectors from '../../carousel/redux/selectors'
import FeaturedMemories from './featured-memories'

const mapStateToProps = state => {
  const carouselSelectors = CarouselSelectors(state)
  return {
    memories: [
      {
        name: 'Marina',
        birthYear: '1990',
        deathYear: '2015',
        description: 'Baleada em um assalto quando saía da faculdade.',
        url: '/memory/marina',
        image: 'https://static.quizur.com/i/b/581f5c66877f10.71342558581f5c66777f49.87913318.jpg',
        quote:
          `Minha filha sonhava em ser médica, em trabalhar com crianças. Pra gente aqui é tudo` +
          `muito difícil, mas ela trabalhava de dia e conseguia pagar a faculdade à noite. Sempre` +
          `foi muito batalhadora...`
      },
      {
        name: 'Isabela',
        birthYear: '1980',
        deathYear: '2005',
        description: 'Atropelada à caminho da academia.',
        url: '/memory/isabela',
        image: 'https://s-media-cache-ak0.pinimg.com/originals/07/57/cc/0757cc36efb16d5f459fd9538ec17132.jpg',
        quote:
          `Forgive my manners. I don't see many ladies these days. Lucky for the ladies. All men ` +
          `must die. A good act does not wash out the bad, nor a bad act the good. Each should ` +
          `have its own reward.`
      },
      {
        name: 'Flávia',
        birthYear: '1995',
        deathYear: '2016',
        description: 'Esfaqueada indo ao trabalho.',
        url: '/memory/flavia',
        image: 'https://www.polyvore.com/cgi/img-thing?.out=jpg&size=l&tid=108410121',
        quote:
          `The night is dark and full of terrors. What is dead may never die. A good act does ` +
          `not wash out the bad, nor a bad act the good. Each should have its own reward. The ` +
          `bear and the maiden fair.`
      }
    ],
    currentCarouselIndex: carouselSelectors.getCurrentIndex()
  }
}

const mapDispatchToProps = ({
  setListCarousel: CarouselActions.setList
})

export default connect(mapStateToProps, mapDispatchToProps)(FeaturedMemories)

{'fraction_non_alphanumeric': 0.10937853107344633, 'fraction_numerical': 0.04384180790960452, 'mean_word_length': 2.5099127676447264, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5210706', 'n_tokens_mistral': 1537, 'n_tokens_neox': 1408, 'n_words': 406}