   return eveIconUrl(STYLES[key].iconId, width)
 
 styleIconId = (key) ->
-  return STYLES[key].iconId
+  return STYLES[key]?.iconId
 
 eveIconUrl = (id, width = 32) ->
   return "https://image.eveonline.com/Type/#{id}_#{width}.png"

        sortFn = (a, b) -> return HP_BAR_ORDER.indexOf(a.key) - HP_BAR_ORDER.indexOf(b.key)
    data = @deriveData(sortFn)

    chart = React.createElement(chartElementType, {data: data, total: @total})
    table = React.createElement(PieDataTable,{data: data, total: @total})

    if @props.layout is 'horizontal'
      return dom.div {className: 'row'},

  render: ->
    dom.div {className: 'row'},
      dom.h3 null, 'Remote Reps Given'
        React.createElement(PieDataPanel,{data: @chartData(), chartType: 'shipHp', layout: 'vertical', showZero: true})
)

RepsReceivedPanel = React.createClass(
