Quarterly report pursuant to Section 13 or 15(d)

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

v3.23.2
Comprehensive Income - Changes in Each Component of Accumulated Other Comprehensive Loss (Detail) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2023
Jul. 31, 2022
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance $ 1,648,071  
Unrealized gains (losses) arising during the period 2,266 $ (16,310)
Reclassification of realized net losses to net income 27 51
Ending balance 1,686,681  
Accumulated Other Comprehensive Loss    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance (92,764) (92,185)
Ending balance (90,471) (108,444)
Foreign Currency Translation    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance (96,860) (92,717)
Unrealized gains (losses) arising during the period 2,131 (16,257)
Reclassification of realized net losses to net income 0 0
Ending balance (94,729) (108,974)
Deferred Compensation and Pension Plan    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance 4,381 961
Unrealized gains (losses) arising during the period 0 0
Reclassification of realized net losses to net income 27 51
Ending balance 4,408 1,012
Unrealized Losses on Marketable Securities    
AOCI Attributable to Parent, Net of Tax [Roll Forward]    
Beginning balance (285) (429)
Unrealized gains (losses) arising during the period 135 (53)
Reclassification of realized net losses to net income 0 0
Ending balance $ (150) $ (482)