try
```
var minlvl = getMinPortalLevel() > (portalLevelHiddenByRenderLimit + 1)
  ? getMinPortalLevel()
  : (portalLevelHiddenByRenderLimit
```
or some other method to break up that line