v3.26.1
Income Taxes - Schedule of Reconciliation of Net Increase in Net Assets Resulting from Operations to Taxable Income (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Aug. 31, 2025
Jun. 30, 2025
Aug. 31, 2024
Jun. 30, 2024
Aug. 31, 2023
Income Tax Disclosure [Abstract]            
Net increase (decrease) in net assets resulting from operations $ 153,662 $ (490,501) $ (469,924) $ 234,119 $ 262,834 $ (88,043)
Net realized (gains) losses on investments   539,089   434,238   40,795
Net unrealized (gains) losses on investments   289,399   (259,971)   480,916
Other temporary book-to-tax differences   (42,450)   (81,794)   (148,147)
Permanent differences   96   62   27
Taxable income before deductions for distributions   $ 295,633   $ 326,654   $ 285,548