v3.25.2
Income Taxes - Reconciliation of Net Increase in Net Assets Resulting from Operations to Taxable Income (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Aug. 31, 2024
Jun. 30, 2024
Aug. 31, 2023
Jun. 30, 2023
Aug. 31, 2022
Income Tax Disclosure [Abstract]            
Net increase (decrease) in net assets resulting from operations $ (469,924) $ 234,119 $ 262,834 $ (88,043) $ (101,641) $ 735,337
Net realized losses on investments   434,238   40,795   22,375
Net unrealized (gains) losses on investments   (259,971)   480,916   (405,414)
Other temporary book-to-tax differences   (81,794)   (148,147)   (66,363)
Permanent differences   62   27   30
Taxable income before deductions for distributions   $ 326,654   $ 285,548   $ 285,965