return function(i,M)i=i or"\104\097\116\115"if M.type=="\085\073\095\067\065\084\065\071\079\082\089\095\083\069\084"then return M.catagory end return i end
return function(state,action)
    state = state or "hats"

    if action.type == "UI_CATAGORY_SET" then
        return action.catagory
    end

    return state
end