Quarterly report pursuant to Section 13 or 15(d)

Comprehensive Income (Loss) - Changes in Each Component of Accumulated Other Comprehensive Loss (Detail)

v3.21.2
Comprehensive Income (Loss) - Changes in Each Component of Accumulated Other Comprehensive Loss (Detail) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Accumulated Other Comprehensive Income Loss [Line Items]    
Beginning balance $ 1,366,389  
Ending balance 1,417,186  
Foreign Currency Translation    
Accumulated Other Comprehensive Income Loss [Line Items]    
Beginning balance (33,666) $ (83,652)
Unrealized (losses) gains arising during the period (8,368) 24,947
Ending balance (42,034) (58,705)
Deferred Compensation and Pension Plan    
Accumulated Other Comprehensive Income Loss [Line Items]    
Beginning balance (18,135) [1] (23,554) [2]
Reclassification of realized net losses to net income 341 [1] 642 [2]
Ending balance (17,794) [1] (22,912) [2]
Unrealized Gains (Losses) on Marketable Securities    
Accumulated Other Comprehensive Income Loss [Line Items]    
Beginning balance (19) 34
Unrealized (losses) gains arising during the period 3 (9)
Reclassification of realized net losses to net income 1  
Ending balance (15) 25
Accumulated Other Comprehensive Loss    
Accumulated Other Comprehensive Income Loss [Line Items]    
Beginning balance (51,820) (107,172)
Unrealized (losses) gains arising during the period (8,365) 24,938
Reclassification of realized net losses to net income 342 642
Ending balance $ (59,843) $ (81,592)
[1] The tax effect on the reclassifications of realized net losses was $0.1 million for the three months ended July 31, 2021
[2] The tax effect on the reclassifications of realized net losses was $0.2 million for the three months ended July 31, 2020.