v3.8.0.1
Fair Value of Financial Instruments - Additional Information (Detail)
6 Months Ended
Dec. 29, 2017
USD ($)
Contract
Dec. 30, 2016
USD ($)
Dec. 29, 2017
CAD
Contract
Jun. 30, 2017
USD ($)
Dec. 30, 2016
CAD
Contract
Foreign Currency Fair Value Hedge Derivative [Line Items]          
Unrealized gain (loss) on derivatives $ (1,740,000) $ 3,033,000      
Foreign currency forward contracts          
Foreign Currency Fair Value Hedge Derivative [Line Items]          
Derivative assets $ 100,000     $ 20,000  
Foreign currency forward contracts | Non designated          
Foreign Currency Fair Value Hedge Derivative [Line Items]          
Number of forward contracts outstanding | Contract 17   17   1
Derivative notional amount $ 31,500,000   CAD 300,000   CAD 200,000
Derivative maturity period   2017-03      
Unrealized gain (loss) on derivatives $ (100,000) $ (1,000)      
Foreign currency forward contracts | Non designated | Minimum          
Foreign Currency Fair Value Hedge Derivative [Line Items]          
Derivative maturity period 2018-01        
Foreign currency forward contracts | Non designated | Maximum          
Foreign Currency Fair Value Hedge Derivative [Line Items]          
Derivative maturity period 2018-03