INCOME TAXES - Schedule of Valuation Allowance (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Aug. 01, 2026 |
Aug. 02, 2025 |
|
| Income Taxes Valuation Allowance [Roll Forward] | ||
| Valuation allowance at the beginning of the year | $ 179,564 | $ 176,732 |
| Valuation allowance charged to expense | 4,518 | 5,632 |
| Valuation allowance credited to other accounts | (1,807) | (2,800) |
| Valuation allowance at the end of the year | $ 182,275 | $ 179,564 |