import { T } from 'Components'
import Controls from 'Components/Controls'
import Conversation from 'Components/conversation/Conversation'
import ResultReliability from 'Components/conversation/ResultReliability'
import SeeAnswersButton from 'Components/conversation/SeeAnswersButton'
import PageFeedback from 'Components/Feedback/PageFeedback'
import TargetSelection from 'Components/TargetSelection'
import React from 'react'
import { connect } from 'react-redux'
import { firstStepCompletedSelector } from 'Selectors/analyseSelectors'
import { simulationProgressSelector } from 'Selectors/progressSelectors'
import * as Animate from 'Ui/animate'
import Progress from 'Ui/Progress'
import SearchButton from 'Components/SearchButton'
export default connect(state => ({
firstStepCompleted: firstStepCompletedSelector(state),
progress: simulationProgressSelector(state)
}))(function Simulation({
firstStepCompleted,
explanations,
customEndMessages,
progress
}) {
return (
<>
{firstStepCompleted && (
<>
{progress < 1 && (
)}
Êtes-vous satisfait de ce simulateur ?
}
customEventName="rate simulator"
/>{' '}
{explanations}
>
)}
>
)
})