Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

detect-gpu

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-gpu - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

2

dist/detect-gpu.min.js

@@ -1,1 +0,1 @@

!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("DetectGPU",[],n):"object"==typeof exports?exports.DetectGPU=n():e.DetectGPU=n()}(window,function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=59)}([function(e,n,t){var r=t(25)("wks"),o=t(13),i=t(1).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,n,t){var r=t(11),o=t(20);e.exports=t(5)?function(e,n,t){return r.f(e,n,o(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n,t){var r=t(1),o=t(10),i=t(2),a=t(7),c=t(35),u=function(e,n,t){var s,l,d,M,f=e&u.F,D=e&u.G,A=e&u.S,p=e&u.P,I=e&u.B,R=D?r:A?r[n]||(r[n]={}):(r[n]||{}).prototype,h=D?o:o[n]||(o[n]={}),G=h.prototype||(h.prototype={});for(s in D&&(t=n),t)d=((l=!f&&R&&void 0!==R[s])?R:t)[s],M=I&&l?c(d,r):p&&"function"==typeof d?c(Function.call,d):d,R&&a(R,s,d,e&u.U),h[s]!=d&&i(h,s,M),p&&G[s]!=d&&(G[s]=d)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,t){e.exports=!t(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n,t){var r=t(1),o=t(2),i=t(8),a=t(13)("src"),c=Function.toString,u=(""+c).split("toString");t(10).inspectSource=function(e){return c.call(e)},(e.exports=function(e,n,t,c){var s="function"==typeof t;s&&(i(t,"name")||o(t,"name",n)),e[n]!==t&&(s&&(i(t,a)||o(t,a,e[n]?""+e[n]:u.join(String(n)))),e===r?e[n]=t:c?e[n]?e[n]=t:o(e,n,t):(delete e[n],o(e,n,t)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,n){var t=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},function(e,n,t){var r=t(12),o=t(33),i=t(34),a=Object.defineProperty;n.f=t(5)?Object.defineProperty:function(e,n,t){if(r(e),n=i(n,!0),r(t),o)try{return a(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},function(e,n,t){var r=t(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,n){var t=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+r).toString(36))}},function(e,n,t){var r=t(38),o=t(27);e.exports=Object.keys||function(e){return r(e,o)}},function(e,n,t){var r=t(21),o=t(9);e.exports=function(e){return r(o(e))}},function(e,n,t){var r=t(25)("keys"),o=t(13);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,n){e.exports={}},function(e,n,t){"use strict";var r=t(2),o=t(7),i=t(6),a=t(9),c=t(0);e.exports=function(e,n,t){var u=c(e),s=t(a,u,""[e]),l=s[0],d=s[1];i(function(){var n={};return n[u]=function(){return 7},7!=""[e](n)})&&(o(String.prototype,e,l),r(RegExp.prototype,u,2==n?function(e,n){return d.call(e,this,n)}:function(e){return d.call(e,this)}))}},function(e,n,t){var r=t(4),o=t(1).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){var r=t(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n,t){var r=t(15),o=t(39),i=t(40);e.exports=function(e){return function(n,t,a){var c,u=r(n),s=o(u.length),l=i(a,s);if(e&&t!=t){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===t)return e||l||0;return!e&&-1}}},function(e,n){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},function(e,n,t){var r=t(10),o=t(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,n){return i[e]||(i[e]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:t(26)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,n){e.exports=!1},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n,t){var r=t(9);e.exports=function(e){return Object(r(e))}},function(e,n,t){var r=t(0)("unscopables"),o=Array.prototype;void 0==o[r]&&t(2)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,n,t){var r=t(11).f,o=t(8),i=t(0)("toStringTag");e.exports=function(e,n,t){e&&!o(e=t?e:e.prototype,i)&&r(e,i,{configurable:!0,value:n})}},function(e,n,t){var r=t(4),o=t(22),i=t(0)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},function(e,n,t){var r=t(3);r(r.S+r.F,"Object",{assign:t(37)})},function(e,n,t){e.exports=!t(5)&&!t(6)(function(){return 7!=Object.defineProperty(t(19)("div"),"a",{get:function(){return 7}}).a})},function(e,n,t){var r=t(4);e.exports=function(e,n){if(!r(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!r(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,n,t){var r=t(36);e.exports=function(e,n,t){if(r(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,o){return e.call(n,t,r,o)}}return function(){return e.apply(n,arguments)}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,n,t){"use strict";var r=t(14),o=t(41),i=t(42),a=t(28),c=t(21),u=Object.assign;e.exports=!u||t(6)(function(){var e={},n={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach(function(e){n[e]=e}),7!=u({},e)[t]||Object.keys(u({},n)).join("")!=r})?function(e,n){for(var t=a(e),u=arguments.length,s=1,l=o.f,d=i.f;u>s;)for(var M,f=c(arguments[s++]),D=l?r(f).concat(l(f)):r(f),A=D.length,p=0;A>p;)d.call(f,M=D[p++])&&(t[M]=f[M]);return t}:u},function(e,n,t){var r=t(8),o=t(15),i=t(23)(!1),a=t(16)("IE_PROTO");e.exports=function(e,n){var t,c=o(e),u=0,s=[];for(t in c)t!=a&&r(c,t)&&s.push(t);for(;n.length>u;)r(c,t=n[u++])&&(~i(s,t)||s.push(t));return s}},function(e,n,t){var r=t(24),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,n,t){var r=t(24),o=Math.max,i=Math.min;e.exports=function(e,n){return(e=r(e))<0?o(e+n,0):i(e,n)}},function(e,n){n.f=Object.getOwnPropertySymbols},function(e,n){n.f={}.propertyIsEnumerable},function(e,n,t){for(var r=t(44),o=t(14),i=t(7),a=t(1),c=t(2),u=t(17),s=t(0),l=s("iterator"),d=s("toStringTag"),M=u.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},D=o(f),A=0;A<D.length;A++){var p,I=D[A],R=f[I],h=a[I],G=h&&h.prototype;if(G&&(G[l]||c(G,l,M),G[d]||c(G,d,I),u[I]=M,R))for(p in r)G[p]||i(G,p,r[p],!0)}},function(e,n,t){"use strict";var r=t(29),o=t(45),i=t(17),a=t(15);e.exports=t(46)(Array,"Array",function(e,n){this._t=a(e),this._i=0,this._k=n},function(){var e=this._t,n=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,o(1)):o(0,"keys"==n?t:"values"==n?e[t]:[t,e[t]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,n){e.exports=function(e,n){return{value:n,done:!!e}}},function(e,n,t){"use strict";var r=t(26),o=t(3),i=t(7),a=t(2),c=t(17),u=t(47),s=t(30),l=t(51),d=t(0)("iterator"),M=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,n,t,D,A,p,I){u(t,n,D);var R,h,G,v=function(e){if(!M&&e in V)return V[e];switch(e){case"keys":case"values":return function(){return new t(this,e)}}return function(){return new t(this,e)}},g=n+" Iterator",m="values"==A,P=!1,V=e.prototype,y=V[d]||V["@@iterator"]||A&&V[A],T=y||v(A),N=A?m?v("entries"):T:void 0,b="Array"==n&&V.entries||y;if(b&&(G=l(b.call(new e)))!==Object.prototype&&G.next&&(s(G,g,!0),r||"function"==typeof G[d]||a(G,d,f)),m&&y&&"values"!==y.name&&(P=!0,T=function(){return y.call(this)}),r&&!I||!M&&!P&&V[d]||a(V,d,T),c[n]=T,c[g]=f,A)if(R={values:m?T:v("values"),keys:p?T:v("keys"),entries:N},I)for(h in R)h in V||i(V,h,R[h]);else o(o.P+o.F*(M||P),n,R);return R}},function(e,n,t){"use strict";var r=t(48),o=t(20),i=t(30),a={};t(2)(a,t(0)("iterator"),function(){return this}),e.exports=function(e,n,t){e.prototype=r(a,{next:o(1,t)}),i(e,n+" Iterator")}},function(e,n,t){var r=t(12),o=t(49),i=t(27),a=t(16)("IE_PROTO"),c=function(){},u=function(){var e,n=t(19)("iframe"),r=i.length;for(n.style.display="none",t(50).appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,n){var t;return null!==e?(c.prototype=r(e),t=new c,c.prototype=null,t[a]=e):t=u(),void 0===n?t:o(t,n)}},function(e,n,t){var r=t(11),o=t(12),i=t(14);e.exports=t(5)?Object.defineProperties:function(e,n){o(e);for(var t,a=i(n),c=a.length,u=0;c>u;)r.f(e,t=a[u++],n[t]);return e}},function(e,n,t){var r=t(1).document;e.exports=r&&r.documentElement},function(e,n,t){var r=t(8),o=t(28),i=t(16)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,n,t){"use strict";var r=t(3),o=t(23)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),t(29)("includes")},function(e,n,t){"use strict";var r=t(3),o=t(54);r(r.P+r.F*t(55)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,n,t){var r=t(31),o=t(9);e.exports=function(e,n,t){if(r(n))throw TypeError("String#"+t+" doesn't accept regex!");return String(o(e))}},function(e,n,t){var r=t(0)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,!"/./"[e](n)}catch(e){}}return!0}},function(e,n,t){t(18)("replace",2,function(e,n,t){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[n];return void 0!==a?a.call(r,i,o):t.call(String(i),r,o)},t]})},function(e,n,t){t(18)("split",2,function(e,n,r){"use strict";var o=t(31),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var c=void 0===/()??/.exec("")[1];r=function(e,n){var t=String(this);if(void 0===e&&0===n)return[];if(!o(e))return i.call(t,e,n);var r,u,s,l,d,M=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),D=0,A=void 0===n?4294967295:n>>>0,p=new RegExp(e.source,f+"g");for(c||(r=new RegExp("^"+p.source+"$(?!\\s)",f));(u=p.exec(t))&&!((s=u.index+u[0].length)>D&&(M.push(t.slice(D,u.index)),!c&&u.length>1&&u[0].replace(r,function(){for(d=1;d<arguments.length-2;d++)void 0===arguments[d]&&(u[d]=void 0)}),u.length>1&&u.index<t.length&&a.apply(M,u.slice(1)),l=u[0].length,D=s,M.length>=A));)p.lastIndex===u.index&&p.lastIndex++;return D===t.length?!l&&p.test("")||M.push(""):M.push(t.slice(D)),M.length>A?M.slice(0,A):M}}else"0".split(void 0,0).length&&(r=function(e,n){return void 0===e&&0===n?[]:i.call(this,e,n)});return[function(t,o){var i=e(this),a=void 0==t?void 0:t[n];return void 0!==a?a.call(t,i,o):r.call(String(i),t,o)},r]})},function(e,n,t){t(18)("match",1,function(e,n,t){return[function(t){"use strict";var r=e(this),o=void 0==t?void 0:t[n];return void 0!==o?o.call(t,r):new RegExp(t)[n](String(r))},t]})},function(e,n,t){"use strict";t.r(n);t(32),t(43),t(52),t(53),t(56),t(57);var r=["705 - AMD Radeon HD 7290","695 - AMD Radeon HD 8180","693 - AMD Radeon HD 7310","691 - AMD Radeon HD 7340","687 - Intel HD Graphics (Bay Trail)","646 - Intel HD Graphics (Ivy Bridge)","642 - AMD Radeon HD 8210","618 - AMD Radeon HD 8250","617 - AMD Radeon R6 (Mullins)","616 - AMD Radeon HD 8240","608 - AMD Radeon HD 8280","606 - Intel HD Graphics (Cherry Trail)","605 - AMD Radeon R2 (Mullins/Beema/Carrizo-L)","585 - Intel HD Graphics (Haswell)","576 - Intel HD Graphics 400 (Braswell)","575 - Intel HD Graphics (Braswell)","574 - Intel HD Graphics 405 (Braswell)","554 - Intel HD Graphics 500","553 - Intel UHD Graphics 600","552 - AMD Radeon HD 8330","551 - AMD Radeon HD 8350G","538 - AMD Radeon HD 8400","534 - AMD Radeon HD 8450G","525 - Intel HD Graphics 4200","524 - AMD Radeon R2 (Stoney Ridge)","523 - AMD Radeon R3 (Mullins/Beema)","522 - AMD Radeon R4 (Beema)","521 - AMD Radeon R5 (Beema/Carrizo-L)","519 - Intel HD Graphics (Broadwell)","518 - AMD Radeon R4 (Kaveri)","517 - AMD Radeon R4 (Stoney Ridge)","513 - Intel HD Graphics 4000","512 - AMD Radeon HD 7480D","504 - Intel HD Graphics 505","503 - Intel UHD Graphics 605","502 - Intel HD Graphics 5300","473 - Intel HD Graphics 510","472 - Intel HD Graphics 610","471 - Intel HD Graphics 4400","470 - Intel HD Graphics 515","463 - AMD Radeon HD 8470D","454 - AMD Radeon HD 8550G","438 - Intel HD Graphics 5000","435 - AMD Radeon HD 7660G","434 - NVIDIA GeForce 710M","431 - AMD Radeon R5 (Kaveri)","430 - AMD Radeon R5 (Carrizo)","429 - Intel HD Graphics 615","428 - Intel UHD Graphics 615","421 - Intel HD Graphics 5500","419 - Intel HD Graphics 4600","416 - AMD Radeon HD 8610G","414 - Intel Iris Graphics 5100","412 - NVIDIA Quadro K610M","411 - Intel HD Graphics 6000","405 - AMD Radeon R5 M420","404 - AMD Radeon R5 M315","403 - AMD Radeon R5 M230","402 - AMD Radeon R5 M320","401 - AMD Radeon R5 M240","399 - AMD Radeon R5 (Stoney Ridge)","398 - NVIDIA GeForce GT 720M","397 - Intel Iris Graphics 6100","396 - Intel HD Graphics 520","395 - AMD Radeon RX Vega 3","394 - NVIDIA GeForce 820M","393 - NVIDIA GeForce 910M","391 - AMD Radeon R5 M255","390 - AMD Radeon R5 M430","389 - AMD Radeon R5 M330","388 - AMD Radeon R5 M335","386 - AMD Radeon HD 7560D","380 - AMD Radeon HD 8650G","364 - NVIDIA Quadro K1000M","362 - AMD Radeon HD 7660D","361 - AMD Radeon R6 M255DX","354 - Intel HD Graphics 5600","344 - AMD FirePro W2100","335 - AMD Radeon R6 (Kaveri)","323 - AMD Radeon R6 (Carrizo)","322 - Intel HD Graphics 620","321 - Intel UHD Graphics 620","320 - AMD Radeon R5 (Bristol Ridge)","318 - Intel HD Graphics P530","317 - Intel HD Graphics 530","316 - Intel HD Graphics P630","315 - Intel HD Graphics 630","314 - Intel UHD Graphics 630","313 - AMD Radeon RX Vega 6","312 - AMD Radeon R6 M340DX","311 - AMD Radeon 520","310 - AMD Radeon R7 M340","309 - AMD Radeon R7 M260","303 - AMD Radeon R7 M440","302 - AMD Radeon R8 M445DX","299 - NVIDIA GeForce 920M","297 - AMD Radeon R7 M360","294 - AMD Radeon R7 M460","293 - AMD Radeon R8 M365DX","292 - AMD Radeon R7 (Kaveri)","291 - AMD Radeon R7 (Carrizo)","290 - NVIDIA GeForce GT 640M","286 - AMD Radeon R7 M265","285 - AMD Radeon R7 M270","282 - AMD FirePro M4100","279 - NVIDIA GeForce GT 730M","276 - AMD Radeon R7 M260X","269 - AMD FirePro M4000","267 - NVIDIA GeForce 825M","265 - NVIDIA GeForce GT 735M","262 - NVIDIA Quadro K2000M","259 - Intel Iris Graphics 540","258 - NVIDIA GeForce 920MX","257 - Intel Iris Plus Graphics 640","256 - NVIDIA GeForce MX110","255 - NVIDIA GeForce 830M","254 - AMD Radeon 530","253 - Intel Iris Graphics 550","252 - NVIDIA GeForce 930M","251 - Intel Iris Plus Graphics 655","250 - Intel Iris Plus Graphics 650","249 - NVIDIA GeForce GT 740M","248 - AMD Radeon R7 384 Cores (Kaveri Desktop)","247 - Intel Iris Pro Graphics 5200","246 - AMD Radeon R7 512 Cores (Kaveri Desktop)","245 - AMD Radeon R7 (Bristol Ridge)","242 - NVIDIA GeForce GT 745M","241 - AMD Radeon R7 M275DX","240 - NVIDIA GeForce 840M","239 - NVIDIA Quadro M500M","236 - AMD Radeon R7 M370","234 - AMD Radeon R7 M445","233 - AMD Radeon R9 M375","232 - AMD FirePro W4190M","231 - NVIDIA Quadro M600M","230 - NVIDIA GeForce 930MX","229 - NVIDIA GeForce 940M","228 - AMD Radeon RX Vega 8","227 - NVIDIA Quadro K1100M","226 - NVIDIA GeForce 940MX","225 - NVIDIA GeForce MX130","224 - NVIDIA Quadro M520","223 - Intel Iris Pro Graphics 6200","222 - NVIDIA GeForce GT 750M","217 - AMD FirePro W4100","216 - AMD FirePro W4170M","214 - AMD Radeon R7 M465","212 - AMD Radeon R9 M265X","209 - NVIDIA GeForce 845M","207 - NVIDIA GeForce GT 755M","206 - AMD Radeon R7 250","201 - NVIDIA Quadro K2100M","200 - AMD FirePro M5100","199 - AMD FirePro M6000","197 - NVIDIA Quadro K3000M","191 - AMD FirePro W5130M","190 - NVIDIA Maxwell GPU Surface Book (940M, GDDR5)","188 - AMD Radeon R9 M275","187 - NVIDIA GeForce GTX 760M","184 - AMD Radeon R9 M370X","183 - AMD FirePro W5170M","182 - NVIDIA Quadro K3100M","173 - AMD Radeon R9 M380","171 - AMD Radeon R9 M470","166 - Intel Iris Pro Graphics 580","165 - Intel Iris Pro Graphics P580","164 - AMD Radeon RX Vega 10","163 - NVIDIA Quadro K4000M","159 - NVIDIA GeForce GTX 765M","158 - NVIDIA GeForce 945M","153 - AMD Radeon RX Vega 11","152 - AMD Radeon R9 M280X","151 - NVIDIA Quadro M620","150 - NVIDIA Quadro M1000M","149 - NVIDIA Quadro P1000","148 - NVIDIA GeForce GTX 850M","147 - AMD Radeon R9 M385X","146 - AMD Radeon R9 M470X","145 - AMD Radeon Pro 450","144 - NVIDIA GeForce GTX 950M","136 - NVIDIA GeForce GTX 860M","135 - AMD Radeon Pro WX 3100 Mobile","134 - AMD Radeon RX 540","133 - NVIDIA GeForce GTX 770M","132 - NVIDIA Quadro K4100M","131 - NVIDIA Quadro K5000M","130 - NVIDIA Quadro M2000M","129 - NVIDIA Quadro P500","128 - NVIDIA Quadro P600","127 - NVIDIA GeForce MX150","126 - NVIDIA GeForce GT 1030 (Desktop)","125 - AMD Radeon Pro 455","124 - AMD Radeon Pro 555","123 - NVIDIA Quadro M1200","119 - AMD Radeon RX 550 (Laptop)","118 - NVIDIA GeForce GTX 750 Ti","117 - NVIDIA GeForce GTX 960M","116 - AMD Radeon Pro WX 4130","115 - AMD Radeon Pro 460","114 - AMD Radeon Pro 560X","113 - AMD Radeon Pro 560","111 - AMD FirePro M6100","110 - AMD Radeon R9 M390","107 - AMD Radeon RX 460 (Laptop)","101 - AMD Radeon R9 M290X","100 - NVIDIA GeForce GTX 870M","99 - NVIDIA Quadro M2200","98 - NVIDIA GeForce GTX 965M","96 - AMD Radeon Pro WX 4150","95 - AMD Radeon RX 460 (Desktop)","93 - NVIDIA Quadro K5100M","92 - NVIDIA GeForce GTX 780M","91 - NVIDIA GeForce GTX 760","89 - AMD Radeon R9 270X","88 - AMD Radeon RX 560 (Laptop)","87 - AMD Radeon RX 560X (Laptop)","86 - NVIDIA GeForce GTX 950","85 - NVIDIA GeForce GTX 880M","83 - AMD Radeon R7 370","82 - AMD Radeon R9 M395","81 - AMD FirePro W7170M","80 - NVIDIA GeForce GTX 1050 Max-Q","79 - NVIDIA GeForce GTX 1050 (Notebook)","78 - NVIDIA GeForce GTX 1050 (Desktop)","77 - NVIDIA Quadro M3000M","76 - AMD Radeon R9 M390X","75 - AMD Radeon R9 M295X","74 - AMD Radeon R9 M485X","73 - AMD Radeon R9 M395X","68 - NVIDIA Quadro M4000M","67 - NVIDIA GeForce GTX 970M","66 - NVIDIA GeForce GTX 1050 Ti (Desktop)","65 - NVIDIA GeForce GTX 1050 Ti Max-Q","64 - NVIDIA GeForce GTX 1050 Ti (Notebook)","63 - NVIDIA GeForce GTX 960","62 - AMD Radeon R9 380","61 - AMD Radeon R9 280X","60 - AMD Radeon RX Vega M GL / 870","59 - NVIDIA Quadro M5000M","58 - NVIDIA GeForce GTX 980M","53 - NVIDIA GeForce GTX 965M SLI","51 - AMD Radeon R9 290X","49 - NVIDIA GeForce GTX 880M SLI","48 - AMD Radeon RX 470 (Laptop)","47 - AMD Radeon RX 570 (Laptop)","46 - AMD Radeon RX 470 (Desktop)","45 - AMD Radeon Pro WX 7100","43 - NVIDIA Quadro P3000 Max-Q","42 - NVIDIA GeForce GTX 1060 Max-Q","41 - NVIDIA GeForce GTX 970","40 - NVIDIA Quadro P3000","39 - AMD Radeon RX Vega M GH","38 - AMD Radeon RX Vega Mobile","37 - NVIDIA GeForce GTX 780 Ti","36 - AMD Radeon RX 580 (Laptop)","35 - NVIDIA Quadro P3200","34 - NVIDIA Quadro P4000 Max-Q","33 - NVIDIA GeForce GTX 1060 (Laptop)","32 - AMD Radeon RX 480 (Desktop)","31 - NVIDIA Quadro P4000","30 - NVIDIA GeForce GTX 1060 (Desktop)","29 - NVIDIA GeForce GTX 970M SLI","28 - AMD Radeon R9 390X","27 - NVIDIA Quadro M5500","26 - NVIDIA GeForce GTX 980 (Laptop)","25 - AMD Radeon RX 580 (Desktop)","24 - NVIDIA GeForce GTX 980","23 - AMD Radeon R9 Nano","22 - AMD Radeon R9 Fury","21 - NVIDIA GeForce GTX 980M SLI","20 - NVIDIA Quadro P5000 Max-Q","19 - NVIDIA GeForce GTX 1070 Max-Q","18 - NVIDIA GeForce GTX 980 Ti","17 - NVIDIA Quadro P5000","16 - NVIDIA Quadro P4200","15 - NVIDIA GeForce GTX 1070 (Laptop)","14 - NVIDIA GeForce GTX 1080 Max-Q","13 - NVIDIA GeForce GTX 1070 (Desktop)","12 - AMD Radeon Pro Vega 56","11 - NVIDIA Quadro P5200","10 - NVIDIA GeForce GTX 980 SLI (Laptop)","9 - NVIDIA GeForce GTX 1070 Ti (Desktop)","8 - NVIDIA GeForce GTX 1080 (Laptop)","7 - AMD Radeon RX Vega 64","6 - NVIDIA GeForce GTX 1080 (Desktop)","5 - NVIDIA GeForce GTX 1070 SLI (Laptop)","4 - NVIDIA GeForce GTX 1070 SLI (Desktop)","3 - NVIDIA GeForce GTX 1080 SLI (Laptop)","2 - NVIDIA Titan X Pascal","1 - NVIDIA GeForce GTX 1080 Ti (Desktop)"],o=["844 - ARM Mali-200","843 - Qualcomm Adreno 200","842 - PowerVR SGX530","841 - PowerVR SGX531","840 - PowerVR SGX535","839 - Vivante GC800","838 - Qualcomm Adreno 203","837 - Qualcomm Adreno 205","835 - PowerVR SGX540","833 - NVIDIA GeForce ULP (Tegra 2)","832 - ARM Mali-400 MP","831 - ARM Mali-400 MP2","830 - Vivante GC1000+ Dual-Core","829 - Qualcomm Adreno 220","828 - Broadcom VideoCore-IV","827 - NVIDIA GeForce ULP (Tegra 3)","826 - ARM Mali-400 MP4","825 - Vivante GC4000","824 - Qualcomm Adreno 225","816 - Qualcomm Adreno 302","815 - Vivante GC7000UL","814 - ARM Mali-T720","813 - Qualcomm Adreno 304","812 - Qualcomm Adreno 305","811 - Qualcomm Adreno 306","810 - Qualcomm Adreno 308","809 - PowerVR SGX544","808 - ARM Mali-T720 MP2","807 - PowerVR SGX544MP2","806 - PowerVR SGX545","803 - PowerVR SGX543MP2","793 - PowerVR SGX543MP3","785 - ARM Mali-T830 MP1","784 - ARM Mali-450 MP4","783 - ARM Mali-T720 MP4","782 - PowerVR GE8100","781 - ARM Mali-T760 MP2","780 - Qualcomm Adreno 320","779 - ARM Mali-T624","778 - PowerVR SGX543MP4","751 - ARM Mali-T830 MP2","750 - Qualcomm Adreno 405","749 - PowerVR G6200","748 - NVIDIA GeForce Tegra 4","743 - ARM Mali-T604 MP4","737 - ARM Mali-T830 MP3","736 - ARM Mali-T860 MP2","732 - Qualcomm Adreno 505","731 - Qualcomm Adreno 506","730 - Qualcomm Adreno 508","729 - Qualcomm Adreno 509","728 - ARM Mali-T628 MP4","727 - PowerVR SGX554MP4","689 - ARM Mali-T760 MP4","688 - ARM Mali-T628 MP6","687 - Intel HD Graphics (Bay Trail)","686 - PowerVR G6400","685 - PowerVR GX6250","684 - PowerVR G6430","683 - Qualcomm Adreno 330","682 - Qualcomm Adreno 510","681 - Qualcomm Adreno 512","606 - Intel HD Graphics (Cherry Trail)","604 - Qualcomm Adreno 418","584 - Qualcomm Adreno 420","583 - PowerVR GX6450","573 - ARM Mali-T880 MP2","572 - ARM Mali-T760 MP6","540 - ARM Mali-T880 MP4","539 - ARM Mali-G72 MP3","520 - Qualcomm Adreno 430","515 - ARM Mali-G71 MP2","514 - ARM Mali-T760 MP8","469 - ARM Mali-T880 MP12","468 - Apple A9 / PowerVR GT7600","467 - NVIDIA Tegra K1 Kepler GPU","466 - PowerVR GXA6850","465 - Qualcomm Adreno 530","427 - ARM Mali-G71 MP8","426 - ARM Mali-G72 MP12","425 - ARM Mali-G71 MP20","424 - ARM Mali-G72 MP18","423 - Qualcomm Adreno 540","422 - Qualcomm Adreno 630","406 - Apple A10 Fusion GPU / PowerVR","319 - NVIDIA Tegra X1 Maxwell GPU","296 - Apple A9X / PowerVR Series 7XT","261 - Apple A10X Fusion GPU / PowerVR","260 - Apple A11 Bionic GPU"];t(58);function i(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.setUserAgent(n)}return function(e,n,t){n&&i(e.prototype,n),t&&i(e,t)}(e,[{key:"match",value:function(e){return this.matchCache[e]||(this.matchCache[e]=this.userAgent.indexOf(e)>-1),this.matchCache[e]}},{key:"getUserAgent",value:function(){return"undefined"!=typeof document?window.navigator.userAgent:""}},{key:"setUserAgent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.userAgent=e||this.userAgent||this.getUserAgent(),this.userAgent&&(this.matchCache={},this.userAgent=this.userAgent.toLowerCase())}},{key:"iphone",get:function(){return!this.windows&&this.match("iphone")}},{key:"ipod",get:function(){return this.match("ipod")}},{key:"ipad",get:function(){return this.match("ipad")}},{key:"android",get:function(){return!this.windows&&this.match("android")}},{key:"androidPhone",get:function(){return this.android&&this.match("mobile")}},{key:"androidTablet",get:function(){return this.android&&!this.match("mobile")}},{key:"blackberry",get:function(){return this.match("blackberry")||this.match("bb10")||this.match("rim")}},{key:"blackberryPhone",get:function(){return this.blackberry&&!this.match("tablet")}},{key:"blackberryTablet",get:function(){return this.blackberry&&this.match("tablet")}},{key:"windows",get:function(){return this.match("windows")}},{key:"windowsPhone",get:function(){return this.windows&&this.match("phone")}},{key:"windowsTablet",get:function(){return this.windows&&this.match("touch")&&!this.windowsPhone}},{key:"firefoxOS",get:function(){return(this.match("(mobile;")||this.match("(tablet;"))&&this.match("; rv:")}},{key:"firefoxOSPhone",get:function(){return this.firefoxOS&&this.match("mobile")}},{key:"firefoxOSTablet",get:function(){return this.firefoxOS&&this.match("tablet")}},{key:"mobile",get:function(){return this.androidPhone||this.iphone||this.ipod||this.windowsPhone||this.blackberryPhone||this.firefoxOSPhone}},{key:"tablet",get:function(){return this.ipad||this.androidTablet||this.blackberryTablet||this.windowsTablet||this.firefoxOSTablet}}]),e}();function c(e,n){var t=0;return n.map(function(n){var r=Math.round(e.length/100*n),o=e.slice(t,t+r);return t+=r,o})}function u(){return(u=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}t.d(n,"getGPUTier",function(){return f});var s=new a;function l(e){return e.toLowerCase().split("- ")[1].split(" /")[0]}function d(e){return e.replace(/[\D]/g,"")}var M=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.mobileBenchmarkPercentages=[10,40,30,20],this.desktopBenchmarkPercentages=[10,40,30,20],this.forceRendererString=!1,this.forceMobile=!1,u(this,n);var t,i,a,M=s.mobile||s.tablet||this.forceMobile,f=!M;if(!(t=!1===this.forceRendererString?function(){var e={alpha:!1,stencil:!1,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:!0},n=document.createElement("canvas"),t=n.getContext("webgl",e)||n.getContext("experimental-webgl",e);if(!(t&&t instanceof WebGLRenderingContext))return!1;var r=t.getExtension("WEBGL_debug_renderer_info"),o=r&&t.getParameter(r.UNMASKED_RENDERER_WEBGL);return n=void 0,t=void 0,o}():this.forceRendererString))return M?{tier:"GPU_MOBILE_TIER_0",type:"WEBGL_UNSUPPORTED"}:{tier:"GPU_DESKTOP_TIER_0",type:"WEBGL_UNSUPPORTED"};var D=(t=function(e){return e.includes("angle (")&&e.includes("direct3d")&&(e=e.replace("angle (","").split(" direct3d")[0]),e.includes("nvidia")&&e.includes("gb")&&(e=e.split(/\dgb/)[0]),e.toLowerCase()}(t)).replace(/[\D]/g,"");if(/(radeon hd 6970m|radeon hd 6770m|radeon hd 6490m|radeon hd 6630m|radeon hd 6750m|radeon hd 5750|radeon hd 5670|radeon hd 4850|radeon hd 4870|radeon hd 4670|geforce 9400m|geforce 320m|geforce 330m|geforce gt 130|geforce gt 120|geforce gtx 285|geforce 8600|geforce 9600m|geforce 9400m|geforce 8800 gs|geforce 8800 gt|quadro fx 5|quadro fx 4|radeon hd 2600|radeon hd 2400|radeon hd 2600|mali-4|mali-3|mali-2)/.test(t))return M?{tier:"GPU_MOBILE_TIER_0",type:"BLACKLISTED"}:{tier:"GPU_DESKTOP_TIER_0",type:"BLACKLISTED"};if(M){var A=c(o,this.mobileBenchmarkPercentages),p=t.includes("adreno"),I=t.includes("apple"),R=t.includes("mali")&&!t.includes("mali-t"),h=t.includes("mali-t"),G=t.includes("nvidia"),v=t.includes("powervr");return A.forEach(function(e,n){return e.forEach(function(e){var t=l(e),r=d(t);(t.includes("adreno")&&p||t.includes("apple")&&I||t.includes("mali")&&!t.includes("mali-t")&&R||t.includes("mali-t")&&h||t.includes("nvidia")&&G||t.includes("powervr")&&v)&&r.includes(D)&&(i="GPU_MOBILE_TIER_".concat(n),a="BENCHMARK - ".concat(t))})}),i||(i="GPU_MOBILE_TIER_1",a="FALLBACK"),{tier:i,type:a}}if(f){var g=c(r,this.desktopBenchmarkPercentages),m=t.includes("intel"),P=t.includes("amd"),V=t.includes("nvidia");return g.forEach(function(e,n){return e.forEach(function(e){var t=l(e),r=d(t);(t.includes("intel")&&m||t.includes("amd")&&P||t.includes("nvidia")&&V)&&r.includes(D)&&(i="GPU_DESKTOP_TIER_".concat(n),a="BENCHMARK - ".concat(t))})}),i||(i="GPU_DESKTOP_TIER_1",a="FALLBACK"),{tier:i,type:a}}return{tier:i,type:a}};function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new M(e)}}])});
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define("DetectGPU",[],o):"object"==typeof exports?exports.DetectGPU=o():e.DetectGPU=o()}(window,function(){return function(e){var o={};function r(n){if(o[n])return o[n].exports;var a=o[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=o,r.d=function(e,o,n){r.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,o){if(1&o&&(e=r(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var a in e)r.d(n,a,function(o){return e[o]}.bind(null,a));return n},r.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(o,"a",o),o},r.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r.p="",r(r.s=0)}([function(e,o,r){"use strict";r.r(o);var n=["705 - AMD Radeon HD 7290","695 - AMD Radeon HD 8180","693 - AMD Radeon HD 7310","691 - AMD Radeon HD 7340","687 - Intel HD Graphics (Bay Trail)","646 - Intel HD Graphics (Ivy Bridge)","642 - AMD Radeon HD 8210","618 - AMD Radeon HD 8250","617 - AMD Radeon R6 (Mullins)","616 - AMD Radeon HD 8240","608 - AMD Radeon HD 8280","606 - Intel HD Graphics (Cherry Trail)","605 - AMD Radeon R2 (Mullins/Beema/Carrizo-L)","585 - Intel HD Graphics (Haswell)","576 - Intel HD Graphics 400 (Braswell)","575 - Intel HD Graphics (Braswell)","574 - Intel HD Graphics 405 (Braswell)","554 - Intel HD Graphics 500","553 - Intel UHD Graphics 600","552 - AMD Radeon HD 8330","551 - AMD Radeon HD 8350G","538 - AMD Radeon HD 8400","534 - AMD Radeon HD 8450G","525 - Intel HD Graphics 4200","524 - AMD Radeon R2 (Stoney Ridge)","523 - AMD Radeon R3 (Mullins/Beema)","522 - AMD Radeon R4 (Beema)","521 - AMD Radeon R5 (Beema/Carrizo-L)","519 - Intel HD Graphics (Broadwell)","518 - AMD Radeon R4 (Kaveri)","517 - AMD Radeon R4 (Stoney Ridge)","513 - Intel HD Graphics 4000","512 - AMD Radeon HD 7480D","504 - Intel HD Graphics 505","503 - Intel UHD Graphics 605","502 - Intel HD Graphics 5300","473 - Intel HD Graphics 510","472 - Intel HD Graphics 610","471 - Intel HD Graphics 4400","470 - Intel HD Graphics 515","463 - AMD Radeon HD 8470D","454 - AMD Radeon HD 8550G","438 - Intel HD Graphics 5000","435 - AMD Radeon HD 7660G","434 - NVIDIA GeForce 710M","431 - AMD Radeon R5 (Kaveri)","430 - AMD Radeon R5 (Carrizo)","429 - Intel HD Graphics 615","428 - Intel UHD Graphics 615","421 - Intel HD Graphics 5500","419 - Intel HD Graphics 4600","416 - AMD Radeon HD 8610G","414 - Intel Iris Graphics 5100","412 - NVIDIA Quadro K610M","411 - Intel HD Graphics 6000","405 - AMD Radeon R5 M420","404 - AMD Radeon R5 M315","403 - AMD Radeon R5 M230","402 - AMD Radeon R5 M320","401 - AMD Radeon R5 M240","399 - AMD Radeon R5 (Stoney Ridge)","398 - NVIDIA GeForce GT 720M","397 - Intel Iris Graphics 6100","396 - Intel HD Graphics 520","395 - AMD Radeon RX Vega 3","394 - NVIDIA GeForce 820M","393 - NVIDIA GeForce 910M","391 - AMD Radeon R5 M255","390 - AMD Radeon R5 M430","389 - AMD Radeon R5 M330","388 - AMD Radeon R5 M335","386 - AMD Radeon HD 7560D","380 - AMD Radeon HD 8650G","364 - NVIDIA Quadro K1000M","362 - AMD Radeon HD 7660D","361 - AMD Radeon R6 M255DX","354 - Intel HD Graphics 5600","344 - AMD FirePro W2100","335 - AMD Radeon R6 (Kaveri)","323 - AMD Radeon R6 (Carrizo)","322 - Intel HD Graphics 620","321 - Intel UHD Graphics 620","320 - AMD Radeon R5 (Bristol Ridge)","318 - Intel HD Graphics P530","317 - Intel HD Graphics 530","316 - Intel HD Graphics P630","315 - Intel HD Graphics 630","314 - Intel UHD Graphics 630","313 - AMD Radeon RX Vega 6","312 - AMD Radeon R6 M340DX","311 - AMD Radeon 520","310 - AMD Radeon R7 M340","309 - AMD Radeon R7 M260","303 - AMD Radeon R7 M440","302 - AMD Radeon R8 M445DX","299 - NVIDIA GeForce 920M","297 - AMD Radeon R7 M360","294 - AMD Radeon R7 M460","293 - AMD Radeon R8 M365DX","292 - AMD Radeon R7 (Kaveri)","291 - AMD Radeon R7 (Carrizo)","290 - NVIDIA GeForce GT 640M","286 - AMD Radeon R7 M265","285 - AMD Radeon R7 M270","282 - AMD FirePro M4100","279 - NVIDIA GeForce GT 730M","276 - AMD Radeon R7 M260X","269 - AMD FirePro M4000","267 - NVIDIA GeForce 825M","265 - NVIDIA GeForce GT 735M","262 - NVIDIA Quadro K2000M","259 - Intel Iris Graphics 540","258 - NVIDIA GeForce 920MX","257 - Intel Iris Plus Graphics 640","256 - NVIDIA GeForce MX110","255 - NVIDIA GeForce 830M","254 - AMD Radeon 530","253 - Intel Iris Graphics 550","252 - NVIDIA GeForce 930M","251 - Intel Iris Plus Graphics 655","250 - Intel Iris Plus Graphics 650","249 - NVIDIA GeForce GT 740M","248 - AMD Radeon R7 384 Cores (Kaveri Desktop)","247 - Intel Iris Pro Graphics 5200","246 - AMD Radeon R7 512 Cores (Kaveri Desktop)","245 - AMD Radeon R7 (Bristol Ridge)","242 - NVIDIA GeForce GT 745M","241 - AMD Radeon R7 M275DX","240 - NVIDIA GeForce 840M","239 - NVIDIA Quadro M500M","236 - AMD Radeon R7 M370","234 - AMD Radeon R7 M445","233 - AMD Radeon R9 M375","232 - AMD FirePro W4190M","231 - NVIDIA Quadro M600M","230 - NVIDIA GeForce 930MX","229 - NVIDIA GeForce 940M","228 - AMD Radeon RX Vega 8","227 - NVIDIA Quadro K1100M","226 - NVIDIA GeForce 940MX","225 - NVIDIA GeForce MX130","224 - NVIDIA Quadro M520","223 - Intel Iris Pro Graphics 6200","222 - NVIDIA GeForce GT 750M","217 - AMD FirePro W4100","216 - AMD FirePro W4170M","214 - AMD Radeon R7 M465","212 - AMD Radeon R9 M265X","209 - NVIDIA GeForce 845M","207 - NVIDIA GeForce GT 755M","206 - AMD Radeon R7 250","201 - NVIDIA Quadro K2100M","200 - AMD FirePro M5100","199 - AMD FirePro M6000","197 - NVIDIA Quadro K3000M","191 - AMD FirePro W5130M","190 - NVIDIA Maxwell GPU Surface Book (940M, GDDR5)","188 - AMD Radeon R9 M275","187 - NVIDIA GeForce GTX 760M","184 - AMD Radeon R9 M370X","183 - AMD FirePro W5170M","182 - NVIDIA Quadro K3100M","173 - AMD Radeon R9 M380","171 - AMD Radeon R9 M470","166 - Intel Iris Pro Graphics 580","165 - Intel Iris Pro Graphics P580","164 - AMD Radeon RX Vega 10","163 - NVIDIA Quadro K4000M","159 - NVIDIA GeForce GTX 765M","158 - NVIDIA GeForce 945M","153 - AMD Radeon RX Vega 11","152 - AMD Radeon R9 M280X","151 - NVIDIA Quadro M620","150 - NVIDIA Quadro M1000M","149 - NVIDIA Quadro P1000","148 - NVIDIA GeForce GTX 850M","147 - AMD Radeon R9 M385X","146 - AMD Radeon R9 M470X","145 - AMD Radeon Pro 450","144 - NVIDIA GeForce GTX 950M","136 - NVIDIA GeForce GTX 860M","135 - AMD Radeon Pro WX 3100 Mobile","134 - AMD Radeon RX 540","133 - NVIDIA GeForce GTX 770M","132 - NVIDIA Quadro K4100M","131 - NVIDIA Quadro K5000M","130 - NVIDIA Quadro M2000M","129 - NVIDIA Quadro P500","128 - NVIDIA Quadro P600","127 - NVIDIA GeForce MX150","126 - NVIDIA GeForce GT 1030 (Desktop)","125 - AMD Radeon Pro 455","124 - AMD Radeon Pro 555","123 - NVIDIA Quadro M1200","119 - AMD Radeon RX 550 (Laptop)","118 - NVIDIA GeForce GTX 750 Ti","117 - NVIDIA GeForce GTX 960M","116 - AMD Radeon Pro WX 4130","115 - AMD Radeon Pro 460","114 - AMD Radeon Pro 560X","113 - AMD Radeon Pro 560","111 - AMD FirePro M6100","110 - AMD Radeon R9 M390","107 - AMD Radeon RX 460 (Laptop)","101 - AMD Radeon R9 M290X","100 - NVIDIA GeForce GTX 870M","99 - NVIDIA Quadro M2200","98 - NVIDIA GeForce GTX 965M","96 - AMD Radeon Pro WX 4150","95 - AMD Radeon RX 460 (Desktop)","93 - NVIDIA Quadro K5100M","92 - NVIDIA GeForce GTX 780M","91 - NVIDIA GeForce GTX 760","89 - AMD Radeon R9 270X","88 - AMD Radeon RX 560 (Laptop)","87 - AMD Radeon RX 560X (Laptop)","86 - NVIDIA GeForce GTX 950","85 - NVIDIA GeForce GTX 880M","83 - AMD Radeon R7 370","82 - AMD Radeon R9 M395","81 - AMD FirePro W7170M","80 - NVIDIA GeForce GTX 1050 Max-Q","79 - NVIDIA GeForce GTX 1050 (Notebook)","78 - NVIDIA GeForce GTX 1050 (Desktop)","77 - NVIDIA Quadro M3000M","76 - AMD Radeon R9 M390X","75 - AMD Radeon R9 M295X","74 - AMD Radeon R9 M485X","73 - AMD Radeon R9 M395X","68 - NVIDIA Quadro M4000M","67 - NVIDIA GeForce GTX 970M","66 - NVIDIA GeForce GTX 1050 Ti (Desktop)","65 - NVIDIA GeForce GTX 1050 Ti Max-Q","64 - NVIDIA GeForce GTX 1050 Ti (Notebook)","63 - NVIDIA GeForce GTX 960","62 - AMD Radeon R9 380","61 - AMD Radeon R9 280X","60 - AMD Radeon RX Vega M GL / 870","59 - NVIDIA Quadro M5000M","58 - NVIDIA GeForce GTX 980M","53 - NVIDIA GeForce GTX 965M SLI","51 - AMD Radeon R9 290X","49 - NVIDIA GeForce GTX 880M SLI","48 - AMD Radeon RX 470 (Laptop)","47 - AMD Radeon RX 570 (Laptop)","46 - AMD Radeon RX 470 (Desktop)","45 - AMD Radeon Pro WX 7100","43 - NVIDIA Quadro P3000 Max-Q","42 - NVIDIA GeForce GTX 1060 Max-Q","41 - NVIDIA GeForce GTX 970","40 - NVIDIA Quadro P3000","39 - AMD Radeon RX Vega M GH","38 - AMD Radeon RX Vega Mobile","37 - NVIDIA GeForce GTX 780 Ti","36 - AMD Radeon RX 580 (Laptop)","35 - NVIDIA Quadro P3200","34 - NVIDIA Quadro P4000 Max-Q","33 - NVIDIA GeForce GTX 1060 (Laptop)","32 - AMD Radeon RX 480 (Desktop)","31 - NVIDIA Quadro P4000","30 - NVIDIA GeForce GTX 1060 (Desktop)","29 - NVIDIA GeForce GTX 970M SLI","28 - AMD Radeon R9 390X","27 - NVIDIA Quadro M5500","26 - NVIDIA GeForce GTX 980 (Laptop)","25 - AMD Radeon RX 580 (Desktop)","24 - NVIDIA GeForce GTX 980","23 - AMD Radeon R9 Nano","22 - AMD Radeon R9 Fury","21 - NVIDIA GeForce GTX 980M SLI","20 - NVIDIA Quadro P5000 Max-Q","19 - NVIDIA GeForce GTX 1070 Max-Q","18 - NVIDIA GeForce GTX 980 Ti","17 - NVIDIA Quadro P5000","16 - NVIDIA Quadro P4200","15 - NVIDIA GeForce GTX 1070 (Laptop)","14 - NVIDIA GeForce GTX 1080 Max-Q","13 - NVIDIA GeForce GTX 1070 (Desktop)","12 - AMD Radeon Pro Vega 56","11 - NVIDIA Quadro P5200","10 - NVIDIA GeForce GTX 980 SLI (Laptop)","9 - NVIDIA GeForce GTX 1070 Ti (Desktop)","8 - NVIDIA GeForce GTX 1080 (Laptop)","7 - AMD Radeon RX Vega 64","6 - NVIDIA GeForce GTX 1080 (Desktop)","5 - NVIDIA GeForce GTX 1070 SLI (Laptop)","4 - NVIDIA GeForce GTX 1070 SLI (Desktop)","3 - NVIDIA GeForce GTX 1080 SLI (Laptop)","2 - NVIDIA Titan X Pascal","1 - NVIDIA GeForce GTX 1080 Ti (Desktop)"],a=["844 - ARM Mali-200","843 - Qualcomm Adreno 200","842 - PowerVR SGX530","841 - PowerVR SGX531","840 - PowerVR SGX535","839 - Vivante GC800","838 - Qualcomm Adreno 203","837 - Qualcomm Adreno 205","835 - PowerVR SGX540","833 - NVIDIA GeForce ULP (Tegra 2)","832 - ARM Mali-400 MP","831 - ARM Mali-400 MP2","830 - Vivante GC1000+ Dual-Core","829 - Qualcomm Adreno 220","828 - Broadcom VideoCore-IV","827 - NVIDIA GeForce ULP (Tegra 3)","826 - ARM Mali-400 MP4","825 - Vivante GC4000","824 - Qualcomm Adreno 225","816 - Qualcomm Adreno 302","815 - Vivante GC7000UL","814 - ARM Mali-T720","813 - Qualcomm Adreno 304","812 - Qualcomm Adreno 305","811 - Qualcomm Adreno 306","810 - Qualcomm Adreno 308","809 - PowerVR SGX544","808 - ARM Mali-T720 MP2","807 - PowerVR SGX544MP2","806 - PowerVR SGX545","803 - PowerVR SGX543MP2","793 - PowerVR SGX543MP3","785 - ARM Mali-T830 MP1","784 - ARM Mali-450 MP4","783 - ARM Mali-T720 MP4","782 - PowerVR GE8100","781 - ARM Mali-T760 MP2","780 - Qualcomm Adreno 320","779 - ARM Mali-T624","778 - PowerVR SGX543MP4","751 - ARM Mali-T830 MP2","750 - Qualcomm Adreno 405","749 - PowerVR G6200","748 - NVIDIA GeForce Tegra 4","743 - ARM Mali-T604 MP4","737 - ARM Mali-T830 MP3","736 - ARM Mali-T860 MP2","732 - Qualcomm Adreno 505","731 - Qualcomm Adreno 506","730 - Qualcomm Adreno 508","729 - Qualcomm Adreno 509","728 - ARM Mali-T628 MP4","727 - PowerVR SGX554MP4","689 - ARM Mali-T760 MP4","688 - ARM Mali-T628 MP6","687 - Intel HD Graphics (Bay Trail)","686 - PowerVR G6400","685 - PowerVR GX6250","684 - PowerVR G6430","683 - Qualcomm Adreno 330","682 - Qualcomm Adreno 510","681 - Qualcomm Adreno 512","606 - Intel HD Graphics (Cherry Trail)","604 - Qualcomm Adreno 418","584 - Qualcomm Adreno 420","583 - PowerVR GX6450","573 - ARM Mali-T880 MP2","572 - ARM Mali-T760 MP6","540 - ARM Mali-T880 MP4","539 - ARM Mali-G72 MP3","520 - Qualcomm Adreno 430","515 - ARM Mali-G71 MP2","514 - ARM Mali-T760 MP8","469 - ARM Mali-T880 MP12","468 - Apple A9 / PowerVR GT7600","467 - NVIDIA Tegra K1 Kepler GPU","466 - PowerVR GXA6850","465 - Qualcomm Adreno 530","427 - ARM Mali-G71 MP8","426 - ARM Mali-G72 MP12","425 - ARM Mali-G71 MP20","424 - ARM Mali-G72 MP18","423 - Qualcomm Adreno 540","422 - Qualcomm Adreno 630","406 - Apple A10 Fusion GPU / PowerVR","319 - NVIDIA Tegra X1 Maxwell GPU","296 - Apple A9X / PowerVR Series 7XT","261 - Apple A10X Fusion GPU / PowerVR","260 - Apple A11 Bionic GPU"];function t(e,o){for(var r=0;r<o.length;r++){var n=o[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.setUserAgent(o)}return function(e,o,r){o&&t(e.prototype,o),r&&t(e,r)}(e,[{key:"match",value:function(e){return this.matchCache[e]||(this.matchCache[e]=this.userAgent.indexOf(e)>-1),this.matchCache[e]}},{key:"getUserAgent",value:function(){return"undefined"!=typeof document?window.navigator.userAgent:""}},{key:"setUserAgent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.userAgent=e||this.userAgent||this.getUserAgent(),this.userAgent&&(this.matchCache={},this.userAgent=this.userAgent.toLowerCase())}},{key:"iphone",get:function(){return!this.windows&&this.match("iphone")}},{key:"ipod",get:function(){return this.match("ipod")}},{key:"ipad",get:function(){return this.match("ipad")}},{key:"android",get:function(){return!this.windows&&this.match("android")}},{key:"androidPhone",get:function(){return this.android&&this.match("mobile")}},{key:"androidTablet",get:function(){return this.android&&!this.match("mobile")}},{key:"blackberry",get:function(){return this.match("blackberry")||this.match("bb10")||this.match("rim")}},{key:"blackberryPhone",get:function(){return this.blackberry&&!this.match("tablet")}},{key:"blackberryTablet",get:function(){return this.blackberry&&this.match("tablet")}},{key:"windows",get:function(){return this.match("windows")}},{key:"windowsPhone",get:function(){return this.windows&&this.match("phone")}},{key:"windowsTablet",get:function(){return this.windows&&this.match("touch")&&!this.windowsPhone}},{key:"firefoxOS",get:function(){return(this.match("(mobile;")||this.match("(tablet;"))&&this.match("; rv:")}},{key:"firefoxOSPhone",get:function(){return this.firefoxOS&&this.match("mobile")}},{key:"firefoxOSTablet",get:function(){return this.firefoxOS&&this.match("tablet")}},{key:"mobile",get:function(){return this.androidPhone||this.iphone||this.ipod||this.windowsPhone||this.blackberryPhone||this.firefoxOSPhone}},{key:"tablet",get:function(){return this.ipad||this.androidTablet||this.blackberryTablet||this.windowsTablet||this.firefoxOSTablet}}]),e}();function M(e,o){var r=0;return o.map(function(o){var n=Math.round(e.length/100*o),a=e.slice(r,r+n);return r+=n,a})}function c(){return(c=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var r=arguments[o];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(o,"getGPUTier",function(){return R});var D=new i;function d(e){return e.toLowerCase().split("- ")[1].split(" /")[0]}function A(e){return e.replace(/[\D]/g,"")}var I=function e(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.mobileBenchmarkPercentages=[10,40,30,20],this.desktopBenchmarkPercentages=[10,40,30,20],this.forceRendererString=!1,this.forceMobile=!1,c(this,o);var r,t,i,I=D.mobile||D.tablet||this.forceMobile,R=!I;if(!(r=!1===this.forceRendererString?function(){var e={alpha:!1,stencil:!1,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:!0},o=document.createElement("canvas"),r=o.getContext("webgl",e)||o.getContext("experimental-webgl",e);if(!(r&&r instanceof WebGLRenderingContext))return!1;var n=r.getExtension("WEBGL_debug_renderer_info"),a=n&&r.getParameter(n.UNMASKED_RENDERER_WEBGL);return o=void 0,r=void 0,a}():this.forceRendererString))return I?{tier:"GPU_MOBILE_TIER_0",type:"WEBGL_UNSUPPORTED"}:{tier:"GPU_DESKTOP_TIER_0",type:"WEBGL_UNSUPPORTED"};var l=(r=function(e){return e.includes("angle (")&&e.includes("direct3d")&&(e=e.replace("angle (","").split(" direct3d")[0]),e.includes("nvidia")&&e.includes("gb")&&(e=e.split(/\dgb/)[0]),e.toLowerCase()}(r)).replace(/[\D]/g,"");if(/(radeon hd 6970m|radeon hd 6770m|radeon hd 6490m|radeon hd 6630m|radeon hd 6750m|radeon hd 5750|radeon hd 5670|radeon hd 4850|radeon hd 4870|radeon hd 4670|geforce 9400m|geforce 320m|geforce 330m|geforce gt 130|geforce gt 120|geforce gtx 285|geforce 8600|geforce 9600m|geforce 9400m|geforce 8800 gs|geforce 8800 gt|quadro fx 5|quadro fx 4|radeon hd 2600|radeon hd 2400|radeon hd 2600|mali-4|mali-3|mali-2)/.test(r))return I?{tier:"GPU_MOBILE_TIER_0",type:"BLACKLISTED"}:{tier:"GPU_DESKTOP_TIER_0",type:"BLACKLISTED"};if(I){var s=M(a,this.mobileBenchmarkPercentages),u=r.includes("adreno"),G=r.includes("apple"),h=r.includes("mali")&&!r.includes("mali-t"),p=r.includes("mali-t"),V=r.includes("nvidia"),P=r.includes("powervr");return s.forEach(function(e,o){return e.forEach(function(e){var r=d(e),n=A(r);(r.includes("adreno")&&u||r.includes("apple")&&G||r.includes("mali")&&!r.includes("mali-t")&&h||r.includes("mali-t")&&p||r.includes("nvidia")&&V||r.includes("powervr")&&P)&&n.includes(l)&&(t="GPU_MOBILE_TIER_".concat(o),i="BENCHMARK - ".concat(r))})}),t||(t="GPU_MOBILE_TIER_1",i="FALLBACK"),{tier:t,type:i}}if(R){var f=M(n,this.desktopBenchmarkPercentages),m=r.includes("intel"),N=r.includes("amd"),T=r.includes("nvidia");return f.forEach(function(e,o){return e.forEach(function(e){var r=d(e),n=A(r);(r.includes("intel")&&m||r.includes("amd")&&N||r.includes("nvidia")&&T)&&n.includes(l)&&(t="GPU_DESKTOP_TIER_".concat(o),i="BENCHMARK - ".concat(r))})}),t||(t="GPU_DESKTOP_TIER_1",i="FALLBACK"),{tier:t,type:i}}return{tier:t,type:i}};function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new I(e)}}])});
{
"name": "detect-gpu",
"version": "0.0.30",
"version": "0.0.31",
"description": "Classify GPU's based on their benchmark score in order to provide an adaptive experience.",
"main": "dist/detect-gpu.js",
"main": "dist/detect-gpu.min.js",
"scripts": {

@@ -7,0 +7,0 @@ "start": "NODE_ENV=development concurrently \"webpack -d --progress --watch --display-modules\" \"http-server --cors -s -o\" ",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc