Leases, Supplemental Cash Flow Information and Non-cash Activity Related to Operating Leases (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
---|---|---|---|---|
Aug. 04, 2020 |
Jul. 29, 2022 |
Jul. 30, 2021 |
Jul. 31, 2020 |
|
Operating cash flow information [Abstract] | ||||
Gain on sale and leaseback transactions | $ 217,722 | $ 0 | $ 217,722 | $ 69,954 |
Cash paid for amounts included in the measurement of lease liabilities | 92,600 | 89,264 | 80,265 | |
Noncash information [Abstract] | ||||
Right-of-use assets obtained in exchange for new operating lease liabilities | 19,143 | 316,563 | 267,266 | |
Lease modifications or reassessments increasing or decreasing right-of-use assets | 11,978 | 35,059 | 29,793 | |
Lease modifications removing right-of-use assets | $ (670) | $ (544) | $ (19,939) |