Home > GPU > GPU Buyer's Guide

Best GPU for CS2 in 2024 – Top graphics cards for Counter-Strike 2

We're out in the field covering the best graphics cards for CS2

Reviewed By: Kevin Pocock

Last Updated on April 25, 2024
Asus tuf gaming geforce rtx graphics card, best GPU for CS2, on a pink background.
You can trust PC Guide: Our team of experts use a combination of independent consumer research, in-depth testing where appropriate - which will be flagged as such, and market analysis when recommending products, software and services. Find out how we test here.

In this article, we’ve rounded up the best GPU for CS2 to ensure your system is up to the task. CS2 took a shot at revolutionizing the gaming scene, so it’s crucial to equip your PC with a graphics card that can handle the game’s enhanced graphics and physics, providing you with seamless, immersive, and above all, competitive gameplay.

After years of stability, the world of Counter-Strike got a dramatic shift with the arrival of Counter-Strike 2. The refreshed version achieved its goal of outshining its predecessor, CSGO, with its significant enhancements in graphics and physics. What’s more, while CSGO could run smoothly on most systems, CS2 demands a bit more from your computer’s graphics card to maintain optimal performance. Without further ado, let’s jump into this graphics card lineup that we’ve cherry-picked to serve the dedicated players of Counter-Strike 2.

How we selected the best GPU for CS2

Picking the best GPU for CS2 is not a task taken lightly. We sift through an abundance of information, considering various aspects such as performance, compatibility, cooling efficiency, and build quality. While we also analyze publicly available benchmarks and reviews from trusted sources to gauge the real-world performance of the GPUs, it’s worth noting that this is a lineup we’ve exclusively reviewed. Yep, you heard it: we’ve reviewed the RX 7900 XT, the RTX 4090, the Intel Arc A770, and the RTX 4070 Super. What you’ve got is a lineup of stellar gaming graphics cards from across the price spectrum, with options from Team Red, Team Green, and Team Blue. So, we can pull on our hands-on experience and in-house benchmarks to authentically choose cards that will hold up in realistic CS2 gaming scenarios. Of course, if you’re interested in what goes on behind the curtain, you can read up on how we review cards right here.

As well as drawing on our topic knowledge and reviews, our selection process also takes into account the diverse needs and budgets of different gamers. We always want to make sure every audience is catered for, and Counter-Strike 2 has quite a diverse one: with around 1,525,000 peak concurrent players on Steam in March 2024 (via Steambase.com), CS2 attracts a mix of casual and competitive gamers. Of course, if you follow the game you’ll know that it’s recently had its first-ever Counter-Strike 2 Major, called PGL Copenhagen 2024 – a tournament sponsored by Valve where teams from across the world compete for a hefty cash prize.

So, whether you’re looking for a high-end GPU to push the graphical limits of CS2, or a budget-friendly option that still offers good performance without breaking the bank, our recommendations aim to cover a broad spectrum of requirements. If you want to broaden out from looking at the CS2-specific, we’ve also got guides to the best GPU for Warzone, and a more generalized one focusing on the best GPU for 4K gaming, too.

Best GPU for CS2

  • ASUS TUF Gaming Radeon RX 7900 XTX
  • ASUS TUF Gaming Radeon RX 7900 XTX heatsink
  • ASUS TUF Gaming Radeon RX 7900 XTX and packaging
  • ASUS TUF Gaming Radeon RX 7900 XTX fans
  • GPU: Navi 31
  • Stream Processors: 6,144
  • VRAM: 24GB GDDR6
  • Memory bus width: 384-bit
  • Bandwidth: 960 GB/s
  • Base clock speed: 1,929 MHz
  • Boost clock (OC mode): 2,615 MHz
Reasons to Buy
  • Strong value for money, similar performance to RTX 4090 and way cheaper
  • Reliable CS2 performance, as proved by our own benchmarks
  • It’s got the slightly slower GDDR6 memory
Reasons to Avoid
  • Nvidia cards offer stronger features overall, such as DLSS 3
  • You can’t change the RGB color on the fans

It may be puzzling to some why we have chosen an AMD option as our best GPU for CS2 pick. Well, although Counter-Strike 2 is a demanding game, it does not require the complete power of a Nvidia GPU – meaning you will pay more when you needn’t have to.  The AMD Radeon RX 7900 XTX offers solid gaming performance at a significantly lower price. It might not be the Sapphire Pulse AMD Radeon RX 7900 XT we used in our review, but the design and performance of the PowerColor Hellhound AMD Radeon RX 7900 XTX are still standouts. With a silent boost clock speed of 2500 MHz, a whopping 24 GB of VRAM, and a 384-bit memory interface, you’re getting a 4K card that’s only overshadowed by the absolute beast that is the 4090. Of course, this comes at the steep price of $950, but for second-to-none visuals, speed, and responsiveness in Counter-Strike 2, this card is a perfect match.

Furthermore, the cooling abilities are top-notch thanks to the fan design and optimum heatpipe arrangement, while maintaining quieter operation even during demanding tasks. Prioritizing a quieter system over a few degrees difference in temperature is often the way to go, as competitive gaming is best left uninterrupted. Moreover, power consumption is commendable, aligning with that of the reference AMD card.

In our own benchmarking conducted by WePC’s Sebastian Kozolowski, the AMD Radeon RX 7900 XT averaged 313 FPS in CS:GO at 4K, and 555 FPS at 1440p – a truly commendable and super smooth performance.

In terms of cons, the AMD Radeon RX 7900 XTX  has demonstrated potential concerns with AMD drivers. A recent update for CS2 caused issues, resulting in Valve issuing VAC (anti-cheat) bans. While the situation is expected to improve with gradual rollbacks, such incidents can be frustrating for users. Make sure to bear this in mind. Check out our AMD RX 7900 XTX review.

  • RTX 4090
  • Close-up of an Nvidia RTX 4090 graphics card with a visible heatsink and brand logo, showcasing its worth it features.
  • Rear IO of RTX 4090
  • RTX 4090 backplate
4.5 /5
Editor’s Rating
How We Review
  • GPU: AD102
  • CUDA cores: 16,384
  • Memory bus: 384-bit
  • Bandwidth: 1,008 GB/sec
  • Base clock: 2235 MHz
  • Boost clock: 2610 MHz
Reasons to Buy
  • Top of the range Nvidia, unparalleled in the GPU market
  • DLSS 3 Frame Generation meaning you won’t miss out on a second of the action
  • Ultra-fast graphics card packing in 16,384 CUDA cores
Reasons to Avoid
  • High-end price point, one of the most premium graphics cards out there
  • Honestly, this might be an overkill GPU for Counter-Strike 2
  • Big specs means a big power draw, so you’ll need at least an 850W PSU

The MSI Gaming Trio RTX 4090 is an absolute beast of a graphics card, and if you don’t want to miss out on a single second of the in-game action, it’s bound to deliver in abundance. Equipped with the cutting-edge Nvidia Ada Lovelace architecture and a colossal 24GB of GDDR6X memory, it is a step up from most GPUs and handles modern demanding graphics with ease, and therefore less demanding titles, such as CS2, to extremely realistic levels. At Max Settings, our benchmarks saw the RTX 4090 delivering impressive heights of 596 FPS at 1440p, and 377 FPS at 4K.

Forget about frame drops and overheating – the triple-fan cooling system keeps things running smoothly, even during epic marathons on games such as Counter-Strike 2. To truly leave the competition in the dust, the MSI Gaming Trio RTX 4090 boasts features like Reflex and DLSS 3, minimizing lag and maximizing frame rates for the ultimate competitive edge. If you’re serious about gaming, this graphics card means business, and as the top of the range, you won’t need to worry about upgrading for a good few years.

The MSI Gaming Trio RTX 4090 is very much a premium option though, and as a serious upgrade, it’s worthy of being paired with the best CPU for the 4090 so you don’t encounter any overclocking and the like. It goes above and beyond most specifications required for CS2 – meaning it may be overkill for most gamers. Is it overkill for casual Counter-Strike 2 players? Well, potentially. On the flip side, it is one of the best GPUs that money can currently buy. To see more about this product, check our in-depth RTX 4090 review.

  • The Intel Arc A770 GPU
  • Close-up of a modern Intel Arc A770 graphics card with distinctive branding logo.
  • Close-up of an Intel Arc A770 graphics card cooling fan with the label 'aeroblade 3d fan'.
  • Rear I/O of the Arc A770
  • The fans of the Arc A770
  • The heatsink of the Arc A770
  • Close-up view of the worth-it Intel Arc A770 graphics card with a distinctive logo on its surface.
  • Close-up review of the Intel Arc A770 graphics card with an aeroblade 3d fan.
  • Close-up review of an Intel Arc A770 graphics card on a desk.
Reasons to Buy
  • Impressive ray-tracing that leverages AI-enhanced upscaling
  • 16GB GDDR6, which is a lot considering its aggressive pricing
  • Funky RGB lighting makes this a really neat-looking little GPU
Reasons to Avoid
  • This model is priced $70 higher than the MSRP
  • Outperformed by the competition, including the 4060 Ti

So, while we’ve given both AMD and Nvidia options, it feels only right to offer Team Blue fans an option for a GPU. We’ve chosen the Predator BiFrost Intel Arc A770 as the best Intel GPU for CS2. Intel’s Arc graphics card lineup represents a refreshing addition to a market typically dominated by AMD and Nvidia, and this one is a commendable 1080p player that’s got a really aggressive price point of $399. Specs-wise, you’re looking at an OC Boost Clock of 2.4GHz, 16GB GDDR6 VRAM, and a 256-bit Memory that, although not as maxxed out as the 4090, will more than deliver performance for Counter-Strike 2. In terms of connectivity, you’ve got one HDMI 2.1 and three DisplayPort 2.0 inputs. In line with its humble hardware, this card is on the more compact side, but the wow-factor is still delivered from its unique RGB fan setup.

Built on the foundation of Intel’s Arc A770, this card shows promise and performs well under specific circumstances (while playing CS2). Our benchmarking was a testament to this, with demanding titles such as Cyberpunk 2077 reaching a moderate 77 FPS at 1080p and 54 FPS at 1440. This suggests that a less taxing game such as CS2 will be more than satisfactory. However, its performance may vary across different titles and software due to ongoing driver issues from Intel. While this visually appealing card holds potential for improvement as drivers mature, for gamers seeking consistent performance today, we suggest considering options like the Nvidia RTX 4060 Ti and AMD 7600 XT, which tend to be better and more reliable choices. For more, check out our Intel Arc A770 OC review.

  • Close up on RTX 4070 Super
  • RTX 4070 Super heatsink from side
  • The RTX 4070 Super
  • RTX 4070 Super heatsink
  • Nvidia GeForce RTX OC Edition graphics card from the TUF gaming series on a desk with a colorful, blurred background of bookshelves.
  • ASUS TUF 4070 Super and packaging
  • ASUS TUF 4070 Super
Highly Recommended
  • GPU: AD104
  • CUDA cores: 7,168
  • Bandwidth: 504.2 GB/sec
  • Memory bus width: 192-bit
  • Base clock speed: 1,980 MHz
  • Boost clock speed: 2,475 MHz
Reasons to Buy
  • One of the more affordable ways to get an Ada GPU
  • Good graphics performance at 1080p, more than enough for CS2
Reasons to Avoid
  • Strong, but not the best on market in terms of price-to-performance
  • Annoyingly, this card still uses the 16-pin adapter

Like its Nvidia counterparts, the Nvidia RTX 4070 Super OC is also a strong contender for the best GPU for CS2, and this ASUS RTX 4070 Super OC is no exception. However, we like to think of it as a solid option for those who are not too fussed about top-of-the-range, but instead just looking for a positive all-round performance without completely breaking the bank. Coming in at $599, this GPU is the way to go for pure middle-of-the-pack performance, and with its understated yet militaristic design, it’s definitely one of the best graphics cards for Counter-Strike. What’s more, this card has effectively removed any need to go out and buy the original 4070 model.

The RTX 4070 Super OC’s strong points include its overclocking abilities and price point. It’s got a neat AD104 die, boost clock speed of 2550 MHz, and 12 GB VRAM, bundled together with Nvidia DLSS3, ultra-efficient Ada Lovelace arch, and full ray tracing. Realistically, you’re getting an excellent well-rounded mid-range gaming GPU that will see you soaring through competitive playing in CS2, Warzone, and the like. Additionally, the GPU is also capable of 4K performance, while still getting the benefits of the new generation of hardware including the great efficiency, power, and Nvidia Reflex. For more, check out our RTX 4070 Super review.

Considerations for the best GPU for CS2

Counterstrike 2 system requirements

Valve has established relatively simple system prerequisites for CS2, requiring GPUs with at least 1 GB of RAM and Shader Model 5.0 support. While numerous contemporary GPUs are likely to meet these specifications, for an enhanced gaming experience, we’ve outlined a comprehensive selection of the finest GPUs available in the modern market space, accommodating gamers of all wants and needs. Other system requirements to keep in mind are the minimum OS of Windows 10, a processor of Intel Core i5 750 or higher, and  8 GB RAM of memory.

Optimizing your setup

It’s all well and good choosing you want a new GPU for playing Counter-Strike, but what makes the real difference in gaming performance is optimizing your PC by pairing your graphics card with a complimentary processor and PSU to get things running in harmony from the inside out. Essentially, you need to find a good balance that’s optimal for gaming; to prevent bottlenecking, you need to pair a midrange GPU with a midrange CPU, and so on and so forth. Of course, we’ve covered some ground with our picks of the best CPU for CS2 , but that’s only part of the process. Your setup obviously includes your peripherals as well as your hardware, as keyboards optimized for gaming will give you a faster response time for in-game accuracy. You’ll be unsurprised to hear we’ve covered the best keyboard and best gaming mouse for CS2.

What is the best GPU for Counter-Strike 2?

The best GPU for Counter-Strike 2 is the MSI Gaming X Trio RTX 4090 from Nvidia. It is a top-of-the-range, high-end graphics card that delivers unparalleled performance. With that being said, its performance capabilities are above and beyond the minimum specs required for CS2. Users may find more comfort in the AMD Radeon RX 7900 XTX with its more modest price and strong overall performance across CS2 platforms.

As a tech and AI writer for PC Guide, Gloria is interested in what new technology means for the future of consumer electronics and digital and broadcast journalism.

'),b.insertAdjacentHTML(d,e));return document.getElementById(a)};c.prototype._repeatDynamicAds=function(b){var a= [],d=this._removeRecipeCapExperiment.result&&"Recipe"===b.location?99:this.locationMaxLazySequence.get(b.location),e=b.lazy?u(d,0):0;d=b.max;var f=b.lazyMax;e=Math.max(d,0===e&&b.lazy?d+f:Math.min(Math.max(e-b.sequence+1,0),d+f));for(f=0;f=d;a.push(y(y({},b),{sequence:g,lazy:h}))}return a};c.prototype._locationEnabled=function(b){b=this._clsOptions.enabledLocations.includes(b.location);var a=this._clsOptions.disableAds&&this._clsOptions.disableAds.all|| document.body.classList.contains("adthrive-disable-all"),d=!document.body.classList.contains("adthrive-disable-content")&&!this._clsOptions.disableAds.reasons.has("content_plugin");return b&&!a&&d};return c}(),Za=function(c){function b(a,d){var e=c.call(this,a,"ClsVideoInsertion")||this;e._videoConfig=a;e._clsOptions=d;e._IN_POST_SELECTOR=".adthrive-video-player";e._WRAPPER_BAR_HEIGHT=36;e._playersAddedFromPlugin=[];d.removeVideoTitleWrapper&&(e._WRAPPER_BAR_HEIGHT=0);return e}v(b,c);b.prototype.init= function(){this._initializePlayers()};b.prototype._wrapJWPlayerWithCLS=function(a,d,e){void 0===e&&(e=0);return a.parentNode?(d=this._createGenericCLSWrapper(.5625*a.offsetWidth,d,e),a.parentNode.insertBefore(d,a),d.appendChild(a),d):null};b.prototype._createGenericCLSWrapper=function(a,d,e){var f=document.createElement("div");f.id="cls-video-container-".concat(d);f.className="adthrive";f.style.minHeight="".concat(a+e,"px");return f};b.prototype._getTitleHeight=function(a){a.innerText="Title";a.style.visibility= "hidden";document.body.appendChild(a);var d=window.getComputedStyle(a),e=parseInt(d.height,10),f=parseInt(d.marginTop,10);d=parseInt(d.marginBottom,10);document.body.removeChild(a);return Math.min(e+d+f,50)};b.prototype._initializePlayers=function(){var a=document.querySelectorAll(this._IN_POST_SELECTOR);a.length&&this._initializeRelatedPlayers(a);this._shouldRunAutoplayPlayers()&&this._determineAutoplayPlayers()};b.prototype._createStationaryRelatedPlayer=function(a,d,e){var f="mobile"===this._device? [400,225]:[640,360],g=G.Video_In_Post_ClicktoPlay_SoundOn;d&&a.mediaOrPlaylistId&&(e="".concat(a.mediaOrPlaylistId,"_").concat(e),d=this._wrapJWPlayerWithCLS(d,e),this._playersAddedFromPlugin.push(a.mediaOrPlaylistId),d&&this._clsOptions.setInjectedVideoSlots({playerId:a.playerId,playerName:g,playerSize:f,element:d,type:"stationaryRelated"}))};b.prototype._createStickyRelatedPlayer=function(a,d){var e="mobile"===this._device?[400,225]:[640,360],f=G.Video_Individual_Autoplay_SOff;this._stickyRelatedOnPage= !0;this._videoConfig.mobileStickyPlayerOnPage="mobile"===this._device;if(d&&a.position&&a.mediaId){var g=document.createElement("div");d.insertAdjacentElement(a.position,g);d=document.createElement("h3");d.style.margin="10px 0";d=this._getTitleHeight(d);d=this._wrapJWPlayerWithCLS(g,a.mediaId,this._WRAPPER_BAR_HEIGHT+d);this._playersAddedFromPlugin.push(a.mediaId);d&&this._clsOptions.setInjectedVideoSlots({playlistId:a.playlistId,playerId:a.playerId,playerSize:e,playerName:f,element:g,type:"stickyRelated"})}}; b.prototype._createPlaylistPlayer=function(a,d){var e=a.playlistId,f="mobile"===this._device?G.Video_Coll_SOff_Smartphone:G.Video_Collapse_Autoplay_SoundOff,g="mobile"===this._device?[400,225]:[640,360];this._videoConfig.mobileStickyPlayerOnPage=!0;var h=document.createElement("div");d.insertAdjacentElement(a.position,h);d=this._wrapJWPlayerWithCLS(h,e,this._WRAPPER_BAR_HEIGHT);this._playersAddedFromPlugin.push("playlist-".concat(e));d&&this._clsOptions.setInjectedVideoSlots({playlistId:a.playlistId, playerId:a.playerId,playerSize:g,playerName:f,element:h,type:"stickyPlaylist"})};b.prototype._isVideoAllowedOnPage=function(){var a=this._clsOptions.disableAds;if(a&&a.video){var d="";a.reasons.has("video_tag")?d="video tag":a.reasons.has("video_plugin")?d="video plugin":a.reasons.has("video_page")&&(d="command queue");q.error(d?"ClsVideoInsertionMigrated":"ClsVideoInsertion","isVideoAllowedOnPage",Error("DBP: Disabled by publisher via ".concat(d||"other")));return!1}return this._clsOptions.videoDisabledFromPlugin? !1:!0};return b}(function(c){function b(a,d){var e=c.call(this)||this;e._videoConfig=a;e._component=d;e._stickyRelatedOnPage=!1;e._relatedMediaIds=[];a=void 0;void 0===a&&(a=navigator.userAgent);a=/Windows NT|Macintosh/i.test(a);e._device=a?"desktop":"mobile";e._potentialPlayerMap=e.setPotentialPlayersMap();return e}v(b,c);b.prototype.setPotentialPlayersMap=function(){var a=this._videoConfig.players||[],d=this._filterPlayerMap();a=a.filter(function(e){return"stationaryRelated"===e.type&&e.enabled}); d.stationaryRelated=a;return this._potentialPlayerMap=d};b.prototype._filterPlayerMap=function(){var a=this,d=this._videoConfig.players,e={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return d&&d.length?d.filter(function(f){var g;return null===(g=f.devices)||void 0===g?void 0:g.includes(a._device)}).reduce(function(f,g){f[g.type]||(q.event(a._component,"constructor","Unknown Video Player Type detected",g.type),f[g.type]=[]);g.enabled&&f[g.type].push(g);return f},e):e};b.prototype._checkPlayerSelectorOnPage= function(a){var d=this;a=this._potentialPlayerMap[a].map(function(e){return{player:e,playerElement:d._getPlacementElement(e)}});return a.length?a[0]:{player:null,playerElement:null}};b.prototype._getOverrideElement=function(a,d,e){a&&d?(e=document.createElement("div"),d.insertAdjacentElement(a.position,e)):(d=this._checkPlayerSelectorOnPage("stickyPlaylist"),a=d.player,d=d.playerElement,a&&d&&(e=document.createElement("div"),d.insertAdjacentElement(a.position,e)));return e};b.prototype._shouldOverrideElement= function(a){a=a.getAttribute("override-embed");return"true"===a||"false"===a?"true"===a:this._videoConfig.relatedSettings?this._videoConfig.relatedSettings.overrideEmbedLocation:!1};b.prototype._checkPageSelector=function(a,d,e){void 0===e&&(e=[]);return a&&d&&0===e.length?("/"!==window.location.pathname&&q.event("VideoUtils","getPlacementElement",Error("PSNF: ".concat(a," does not exist on the page"))),!1):!0};b.prototype._getElementSelector=function(a,d,e){if(d&&d.length>e)return d[e];q.event("VideoUtils", "getPlacementElement",Error("ESNF: ".concat(a," does not exist on the page")));return null};b.prototype._getPlacementElement=function(a){var d=a.pageSelector,e=a.elementSelector;a=a.skip;var f=da(d),g=f.valid,h=f.elements;f=S(f,["valid","elements"]);var k=ca(e),l=k.valid,p=k.elements;k=S(k,["valid","elements"]);return""===d||g?l?this._checkPageSelector(d,g,h)?this._getElementSelector(e,p,a)||null:null:(q.error("VideoUtils","getPlacementElement",Error("".concat(e," is not a valid selector")),k),null): (q.error("VideoUtils","getPlacementElement",Error("".concat(d," is not a valid selector")),f),null)};b.prototype._getEmbeddedPlayerType=function(a){(a=a.getAttribute("data-player-type"))&&"default"!==a||(a=this._videoConfig.relatedSettings?this._videoConfig.relatedSettings.defaultPlayerType:"static");this._stickyRelatedOnPage&&(a="static");return a};b.prototype._getMediaId=function(a){return(a=a.getAttribute("data-video-id"))?(this._relatedMediaIds.push(a),a):!1};b.prototype._createRelatedPlayer= function(a,d,e,f){"collapse"===d?this._createCollapsePlayer(a,e):"static"===d&&this._createStaticPlayer(a,e,f)};b.prototype._createCollapsePlayer=function(a,d){var e=this._checkPlayerSelectorOnPage("stickyRelated"),f=e.player;e=e.playerElement;var g=f?f:this._potentialPlayerMap.stationaryRelated[0];g&&g.playerId?(this._shouldOverrideElement(d)&&(d=this._getOverrideElement(f,e,d)),d=document.querySelector("#cls-video-container-".concat(a," > div"))||d,this._createStickyRelatedPlayer(y(y({},g),{mediaId:a}), d)):q.error(this._component,"_createCollapsePlayer","No video player found")};b.prototype._createStaticPlayer=function(a,d,e){this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId?this._createStationaryRelatedPlayer(y(y({},this._potentialPlayerMap.stationaryRelated[0]),{mediaOrPlaylistId:a}),d,e):q.error(this._component,"_createStaticPlayer","No video player found")};b.prototype._shouldRunAutoplayPlayers=function(){return this._isVideoAllowedOnPage()&& (this._potentialPlayerMap.stickyRelated.length||this._potentialPlayerMap.stickyPlaylist.length)?!0:!1};b.prototype._determineAutoplayPlayers=function(){var a=this._component,d="VideoManagerComponent"===a,e=this._config;if(this._stickyRelatedOnPage)q.event(a,"stickyRelatedOnPage",d&&{device:e&&e.context.device,isDesktop:this._device}||{});else{var f=this._checkPlayerSelectorOnPage("stickyPlaylist"),g=f.player;f=f.playerElement;g&&g.playerId&&g.playlistId&&f?this._createPlaylistPlayer(g,f):q.event(a, "noStickyPlaylist",d&&{vendor:"none",device:e&&e.context.device,isDesktop:this._device}||{})}};b.prototype._initializeRelatedPlayers=function(a){for(var d=new Map,e=0;e