v3.8.0.1
Share-Based Compensation Expense Recorded in Unaudited Condensed Consolidated Statements of Operations and Comprehensive Income (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 29, 2017
Dec. 30, 2016
Dec. 29, 2017
Dec. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Share-based compensation expense $ 5,458 $ 8,597 $ 12,378 $ 14,208
Cost of Revenue        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Share-based compensation expense 1,812 1,514 3,713 2,528
Selling, General and Administrative Expenses        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Share-based compensation expense $ 3,646 $ 7,083 $ 8,665 $ 11,680