View model for or gate