In my journey web mastering since the year 1997 I have watched the Internet developed from Web 1.0, Web 2.0 to become Web 3.0 and now reach the age of AI. I've noticed that since the millennial generation it has become an assumption that we should pull third-party repositories into our websites Ulting in a hodgepodge of mixed content which isn't ranked really very well with googles SEO rules even though they break those rules themselves.
JavaScript is one of the main culprit for slow loading hope your website and a reduced ranking, because of the time it takes to load, but using any external files which must be drawn from and which sometimes cannot be called upon because the external third-party website is down, it's going to slow down your website which is one of the reasons why Google fonts as an externally called piece of mixed content within your browser and within your website as a function to call the fonts from an external location is truly not a good idea because it can affect your search engine ranking, and your loading time of your website, which can truly affect the bounce rate of how long people stay up on the website. This podcast takes explains the nuances of the matter