..F....... [ZBX-7957] minor code refactoring