v3.26.1
Goodwill and Other Intangible Assets - Additional Information (Details)
$ in Thousands
12 Months Ended
Jun. 30, 2026
USD ($)
segment
Jun. 30, 2025
USD ($)
segment
Jun. 30, 2024
USD ($)
Intangible Asset, Finite-Lived [Line Items]      
Number of reporting segments | segment 2 3  
Depreciation $ 280,000 $ 303,000 $ 288,000
Impairment charges 0 17,000 0
Goodwill 4,375,597 4,471,084 $ 4,464,329
Trade Names      
Intangible Asset, Finite-Lived [Line Items]      
Intangible Asset, Excluding Goodwill, Indefinite-Lived $ 430,000    
Networking      
Intangible Asset, Finite-Lived [Line Items]      
Goodwill   1,038,000  
Materials      
Intangible Asset, Finite-Lived [Line Items]      
Goodwill   241,000  
Lasers      
Intangible Asset, Finite-Lived [Line Items]      
Goodwill   3,191,000  
Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold      
Intangible Asset, Finite-Lived [Line Items]      
Impairment charges   $ 14,000  
Intangible Asset, Finite-Lived, Impairment Loss, Statement of Income or Comprehensive Income [Extensible Enumeration]   Cost of goods sold  
Location, Statement of Income, Balance [Axis]: us-gaap:ResearchAndDevelopmentExpense      
Intangible Asset, Finite-Lived [Line Items]      
Impairment charges   $ 3,000  
Intangible Asset, Finite-Lived, Impairment Loss, Statement of Income or Comprehensive Income [Extensible Enumeration]   Research and development  
Technology      
Intangible Asset, Finite-Lived [Line Items]      
Weighted-average remaining life of intangible assets 109 months    
Customer Lists      
Intangible Asset, Finite-Lived [Line Items]      
Weighted-average remaining life of intangible assets 127 months    
Minimum      
Intangible Asset, Finite-Lived [Line Items]      
Amortization period of intangible assets 1 year    
Minimum | Technology      
Intangible Asset, Finite-Lived [Line Items]      
Amortization period of intangible assets 60 months    
Minimum | Customer Lists      
Intangible Asset, Finite-Lived [Line Items]      
Amortization period of intangible assets 60 months    
Maximum      
Intangible Asset, Finite-Lived [Line Items]      
Amortization period of intangible assets 20 years    
Maximum | Technology      
Intangible Asset, Finite-Lived [Line Items]      
Amortization period of intangible assets 240 months    
Maximum | Customer Lists      
Intangible Asset, Finite-Lived [Line Items]      
Amortization period of intangible assets 192 months