Annual report [Section 13 and 15(d), not S-K Item 405]

SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Schedule of Revenue from External Customers (Details)

v3.26.1
SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Schedule of Revenue from External Customers (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Segment Reporting [Line Items]      
Revenues $ 13,579,476 $ 12,156,162 $ 9,812,247
Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 100.00% 100.00% 100.00%
China      
Segment Reporting [Line Items]      
Revenues $ 4,048,358 $ 4,042,567 $ 4,196,727
China | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 29.80% 33.30% 42.80%
Taiwan      
Segment Reporting [Line Items]      
Revenues $ 3,643,742 $ 3,205,392 $ 1,738,065
Taiwan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 26.80% 26.40% 17.70%
Korea      
Segment Reporting [Line Items]      
Revenues $ 1,833,836 $ 1,452,826 $ 906,924
Korea | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 13.50% 11.90% 9.20%
North America      
Segment Reporting [Line Items]      
Revenues $ 1,757,337 $ 1,362,311 $ 1,070,791
North America | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 13.00% 11.20% 10.90%
Japan      
Segment Reporting [Line Items]      
Revenues $ 915,111 $ 1,133,002 $ 963,203
Japan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 6.70% 9.30% 9.80%
Europe and Israel      
Segment Reporting [Line Items]      
Revenues $ 726,693 $ 574,197 $ 540,263
Europe and Israel | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 5.40% 4.70% 5.60%
Rest of Asia      
Segment Reporting [Line Items]      
Revenues $ 654,399 $ 385,867 $ 396,274
Rest of Asia | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting [Line Items]      
Concentration risk, percentage 4.80% 3.20% 4.00%