XML 66 R54.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stockholders' Equity - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2019
Jan. 31, 2018
Jun. 19, 2018
Stock Based Compensation And Stockholders Equity [Line Items]          
Total compensation expenses $ 4,956 $ 4,413 $ 9,486 $ 8,731  
Withholding taxes payable     $ 4,418 7,657  
Stock repurchase program authorized amount         $ 250,000
Stock repurchase program expiration date     Jun. 19, 2020    
Regular dividend declared per common share     $ 0.39    
Dividends declared and paid     $ 41,189    
Restricted Stock Units (RSUs)          
Stock Based Compensation And Stockholders Equity [Line Items]          
Withholding taxes payable     $ 4,418 $ 7,657