@{account.get('acct')} }} />,\n          confirm: intl.formatMessage(messages.unfollowConfirm),\n          onConfirm: () => dispatch(unfollowAccount(account.get('id'))),\n        }));\n      } else {\n        dispatch(unfollowAccount(account.get('id')));\n      }\n    } else {\n      dispatch(followAccount(account.get('id')));\n    }\n  },\n\n  onBlock (account) {\n    if (account.getIn(['relationship', 'blocking'])) {\n      dispatch(unblockAccount(account.get('id')));\n    } else {\n      dispatch(blockAccount(account.get('id')));\n    }\n  },\n\n  onMute (account) {\n    if (account.getIn(['relationship', 'muting'])) {\n      dispatch(unmuteAccount(account.get('id')));\n    } else {\n      dispatch(muteAccount(account.get('id')));\n    }\n  },\n\n});\n\nexport default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Account));\n\n\n\n// WEBPACK FOOTER //\n// ./app/javascript/mastodon/containers/account_container.js","import React from 'react';\nimport ImmutablePropTypes from 'react-immutable-proptypes';\nimport PropTypes from 'prop-types';\nimport Avatar from './avatar';\nimport DisplayName from './display_name';\nimport Permalink from './permalink';\nimport IconButton from './icon_button';\nimport { defineMessages, injectIntl } from 'react-intl';\nimport ImmutablePureComponent from 'react-immutable-pure-component';\nimport { me } from '../initial_state';\n\nconst messages = defineMessages({\n  follow: { id: 'account.follow', defaultMessage: 'Follow' },\n  unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },\n  requested: { id: 'account.requested', defaultMessage: 'Awaiting approval' },\n  unblock: { id: 'account.unblock', defaultMessage: 'Unblock @{name}' },\n  unmute: { id: 'account.unmute', defaultMessage: 'Unmute @{name}' },\n});\n\n@injectIntl\nexport default class Account extends ImmutablePureComponent {\n\n  static propTypes = {\n    account: ImmutablePropTypes.map.isRequired,\n    onFollow: PropTypes.func.isRequired,\n    onBlock: PropTypes.func.isRequired,\n    onMute: PropTypes.func.isRequired,\n    intl: PropTypes.object.isRequired,\n    hidden: PropTypes.bool,\n  };\n\n  handleFollow = () => {\n    this.props.onFollow(this.props.account);\n  }\n\n  handleBlock = () => {\n    this.props.onBlock(this.props.account);\n  }\n\n  handleMute = () => {\n    this.props.onMute(this.props.account);\n  }\n\n  render () {\n    const { account, intl, hidden } = this.props;\n\n    if (!account) {\n      return ;\n    }\n\n    if (hidden) {\n      return (\n        \n          {account.get('display_name')}\n          {account.get('username')}\n        
\n      );\n    }\n\n    let buttons;\n\n    if (account.get('id') !== me && account.get('relationship', null) !== null) {\n      const following = account.getIn(['relationship', 'following']);\n      const requested = account.getIn(['relationship', 'requested']);\n      const blocking  = account.getIn(['relationship', 'blocking']);\n      const muting  = account.getIn(['relationship', 'muting']);\n\n      if (requested) {\n        buttons = ;\n      } else if (blocking) {\n        buttons = ;\n      } else if (muting) {\n        buttons = ;\n      } else {\n        buttons = ;\n      }\n    }\n\n    return (\n      \n        
\n          
\n            \n            \n          \n\n          
\n            {buttons}\n          
\n        
\n      
\n        
\n          {this.props.account.get('acct')}\n          \n        \n\n        
\n          
\n            @{this.props.account.get('acct')}\n          \n\n          
\n        
\n\n        
\n      
\n        
\n          {({ opacity, scaleX, scaleY }) => (\n            \n              
\n\n              
\n                - #example \n
- @username@domain \n
- URL \n
- URL \n
\n\n              
\n            
\n      
\n        
\n\n        
\n          \n          \n        
\n\n        
\n          \n        \n      
\n          {results.get('accounts').map(accountId => 
)}\n        
\n          {results.get('statuses').map(statusId => )}\n        
\n      );\n    }\n\n    if (results.get('hashtags') && results.get('hashtags').size > 0) {\n      count += results.get('hashtags').size;\n      hashtags = (\n        \n          {results.get('hashtags').map(hashtag =>\n            \n              #{hashtag}\n            \n          )}\n        
\n      );\n    }\n\n    return (\n      \n        
\n          \n        
\n\n        {accounts}\n        {statuses}\n        {hashtags}\n