JavascriptHardwareProfile |
var profileIds = []
/*!
* Copyright 51 Degrees Mobile Experts Limited. This product is the subject of
* Patent Application Nos. GB1905888.2 and EP19192975.1.
*/
"use strict";function getProfileId(u){
/*! VERSION = 1.620211 */
var v=[{m:function(e){return window.screen.height*window.devicePixelRatio},n:[2,8,9,10,13,1,12,4,5,6,7,11,3]},{x:79480,m:function(e){return a()},n:[15,14],v:[960]},{x:50720,v:[480]},{m:function(e){return i()},n:[17,16],v:[1136]},{x:37878,m:function(e){return i()},n:[18,19],v:[2001]},{x:37878,m:function(e){return i()},n:[20,21],v:[2208]},{m:function(e){return i()},n:[22,23],v:[1334]},{x:116512,m:function(e){return a()},n:[25,26,24],v:[2436]},{x:99613,m:function(e){return a()},n:[28,27],v:[2688]},{x:99612,m:function(e){return a()},n:[30,29],v:[1624]},{x:99612,m:function(e){return a()},n:[30,29],v:[1792]},{x:116516,m:function(e){return a()},n:[25,32,31],v:[2079]},{x:116508,m:function(e){return n()},n:[35,33,34],v:[2532]},{x:116511,m:function(e){return n()},n:[36,37],v:[2778]},{x:50732,v:["PowerVR SGX 543"]},{x:50728,v:[""]},{x:99606,m:function(e){return a()},n:[40,42,38,41,39],v:["srgb"]},{x:118945,m:function(e){return a()},n:[44,45,43],v:["p3"]},{x:98238,m:function(e){return a()},n:[47,48,46],v:["srgb"]},{x:98240,m:function(e){return a()},n:[50,51,49],v:["p3"]},{x:98238,m:function(e){return a()},n:[47,48,52],v:["srgb"]},{x:98240,m:function(e){return a()},n:[50,51,53],v:["p3"]},{x:98237,m:function(e){return a()},n:[42,55,54],v:["srgb"]},{x:118945,m:function(e){return a()},n:[44,45,56],v:["p3"]},{x:116512,m:function(e){return n()},n:[58,59,60,61,57,62],v:["Apple GPU"]},{x:81104,v:["Apple A11 GPU"]},{x:96282,v:["Apple A12 GPU"]},{x:99613,m:function(e){return n()},n:[64,63],v:["Apple GPU"]},{x:92498,v:["Apple A12 GPU"]},{x:99612,m:function(e){return n()},n:[66,65],v:["Apple GPU"]},{x:92486,v:["Apple A12 GPU"]},{x:116516,m:function(e){return n()},n:[70,73,67,68,72,69,71],v:["Apple GPU"]},{x:92493,v:["Apple A12 GPU"]},{x:108616,v:[105985484]},{x:108616,m:function(e){return r()},n:[74],v:[3403189785]},{x:115461,v:[679860869]},{x:107555,v:[105985484]},{x:115469,v:[1407135659]},{x:85788,v:["PowerVR SGX 543"]},{x:99315,m:function(e){return r()},n:[75,78,77,76,79,80],v:["Apple GPU"]},{x:50755,v:["Apple A7 GPU"]},{x:85790,m:function(e){return n()},n:[81,82],v:["Apple A9 GPU"]},{x:50762,v:["Apple A8 GPU"]},{x:118945,m:function(e){return n()},n:[83,84,85,87,86],v:["Apple GPU"]},{x:69949,v:["Apple A10 GPU"]},{x:81100,v:["Apple A11 GPU"]},{x:98238,m:function(e){return r()},n:[88,89],v:["Apple GPU"]},{x:50764,v:["Apple A8 GPU"]},{x:57693,v:["Apple A9 GPU"]},{x:98240,m:function(e){return r()},n:[90,91],v:["Apple GPU"]},{x:69950,v:["Apple A10 GPU"]},{x:81101,v:["Apple A11 GPU"]},{x:98238,m:function(e){return r()},n:[92,93],v:["Apple GPU"]},{x:98240,m:function(e){return r()},n:[90,94],v:["Apple GPU"]},{x:98237,m:function(e){return r()},n:[95,96],v:["Apple GPU"]},{x:57691,v:["Apple A9 GPU"]},{x:118945,m:function(e){return n()},n:[83,84,85,87,86],v:["Apple GPU"]},{x:96282,v:[958581112,2301174800,4085158452]},{x:81104,v:[367695777,411650080,1220644697]},{x:99603,v:[4193218782]},{x:108677,v:[105985484]},{x:108677,m:function(e){return r()},n:[97],v:[3403189785]},{x:117357,v:[2364051618]},{x:92498,v:[958581112,2301174800,4085158452]},{x:99455,v:[352823931,4193218782]},{x:92486,v:[958581112,2301174800,3403189785,4085158452]},{x:99442,v:[352823931,3335845976,4193218782]},{x:81104,v:[367695777,411650080]},{x:92493,v:[958581112,2301174800,4085158452]},{x:108704,v:[105985484]},{x:99441,v:[352823931]},{x:117892,v:[2364051618]},{x:108616,v:[3403189785]},{x:107549,v:[679860869]},{x:107548,v:[1444462398]},{x:50755,v:[857422828,1915583345]},{x:85790,v:[3129316290]},{x:62734,v:[46663968]},{x:50762,v:[839732043,3816812018,4125234388]},{x:85790,m:function(e){return n()},n:[81],v:[2114570256]},{x:85790,m:function(e){return n()},n:[82],v:[63583436]},{x:57691,v:[3458129248]},{x:62734,v:[3403189785]},{x:69949,v:[583354101,3458129248,3928876783]},{x:81100,v:[367695777,411650080,1220644697]},{x:103758,v:[352823931,3335845976,4193218782]},{x:118934,m:function(e){return r()},n:[98,99],v:[3403189785]},{x:118711,v:[2364051618]},{x:50764,v:[1411440593,1924197914,4125234388]},{x:57693,v:[2114570256,3129316290]},{x:69950,v:[63583436,2114570256,3129316290]},{x:81101,v:[1349146759,2917249763]},{x:50764,v:[1411440593,1913250432,3074367344,4125234388]},{x:57693,v:[46663968,2114570256,3129316290]},{x:81101,v:[2917249763,3237505312]},{x:50762,v:[3128296539,3816812018,4125234388]},{x:57691,v:[46663968,63583436,2114570256,3129316290]},{x:107549,v:[1349146759]},{x:103758,v:[1349146759]},{x:118711,v:[1444462398]}];function n(){var c,E,x,R={create:function(){for(var e=new Array(16),n=0;n<16;n++)e[n]=n%5==0?1:0;return e},perspective:function(e,n,r,t,a){var i,o=1/Math.tan(n/2);return e[0]=o/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=o,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=a&&a!==1/0?(i=1/(t-a),e[10]=(a+t)*i,e[14]=2*a*t*i):(e[10]=-1,e[14]=-2*t),e},lookAt:function(e,n,r,t){var a,i,o,u,v,f,l,c,x,p,m=n[0],h=n[1],A=n[2],s=t[0],d=t[1],g=t[2],P=r[0],U=r[1],b=r[2];return Math.abs(m-P)<1e-6&&Math.abs(h-U)<1e-6&&Math.abs(A-b)<1e-6?R.identity(e):(l=m-P,c=h-U,x=A-b,a=d*(x*=p=1/Math.hypot(l,c,x))-g*(c*=p),i=g*(l*=p)-s*x,o=s*c-d*l,(p=Math.hypot(a,i,o))?(a*=p=1/p,i*=p,o*=p):o=i=a=0,u=c*o-x*i,v=x*a-l*o,f=l*i-c*a,(p=Math.hypot(u,v,f))?(u*=p=1/p,v*=p,f*=p):f=v=u=0,e[0]=a,e[1]=u,e[2]=l,e[3]=0,e[4]=i,e[5]=v,e[6]=c,e[7]=0,e[8]=o,e[9]=f,e[10]=x,e[11]=0,e[12]=-(a*m+i*h+o*A),e[13]=-(u*m+v*h+f*A),e[14]=-(l*m+c*h+x*A),e[15]=1,e)},multiply:function(e,n,r){var t=n[0],a=n[1],i=n[2],o=n[3],u=n[4],v=n[5],f=n[6],l=n[7],c=n[8],x=n[9],p=n[10],m=n[11],h=n[12],A=n[13],s=n[14],d=n[15],g=r[0],P=r[1],U=r[2],b=r[3];return e[0]=g*t+P*u+U*c+b*h,e[1]=g*a+P*v+U*x+b*A,e[2]=g*i+P*f+U*p+b*s,e[3]=g*o+P*l+U*m+b*d,g=r[4],P=r[5],U=r[6],b=r[7],e[4]=g*t+P*u+U*c+b*h,e[5]=g*a+P*v+U*x+b*A,e[6]=g*i+P*f+U*p+b*s,e[7]=g*o+P*l+U*m+b*d,g=r[8],P=r[9],U=r[10],b=r[11],e[8]=g*t+P*u+U*c+b*h,e[9]=g*a+P*v+U*x+b*A,e[10]=g*i+P*f+U*p+b*s,e[11]=g*o+P*l+U*m+b*d,g=r[12],P=r[13],U=r[14],b=r[15],e[12]=g*t+P*u+U*c+b*h,e[13]=g*a+P*v+U*x+b*A,e[14]=g*i+P*f+U*p+b*s,e[15]=g*o+P*l+U*m+b*d,e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}};var e=0;if(null!=(x=document.createElement("canvas"))){var n=function(){if(c=function(){x.width=67,x.height=67;var e=x.getContext("webgl")||x.getContext("experimental-webgl");return e&&(e.viewport(0,0,67,67),e.clearColor(0,0,0,1),e.clear(e.COLOR_BUFFER_BIT)),e}()){var e=c.createShader(c.VERTEX_SHADER);c.shaderSource(e,"attribute vec3 c,d; uniform vec4 e; uniform vec3 f,g;uniform mat4 h,i;varying vec3 j;void main(){vec3 a=normalize(d);vec4 b=h*vec4(c,1.);vec3 k=normalize(vec3(e-b));j=g*f*max(dot(k,a),0.),gl_Position=i*vec4(c,1.);}"),c.compileShader(e);var n=c.createShader(c.FRAGMENT_SHADER);c.shaderSource(n,"#ifdef GL_ES\nprecision mediump float;\n#endif\nvarying vec3 j;void main(){gl_FragColor = vec4(j, 1.0);}"),c.compileShader(n),E=c.createProgram(),c.attachShader(E,e),c.attachShader(E,n),c.linkProgram(E),c.detachShader(E,e),c.detachShader(E,n),c.deleteShader(e),c.deleteShader(n),c.useProgram(E);var r=function(e){var n,r,t=[],a=[],i=[],o=[];for(n=0;n<=50;++n){var u=n*Math.PI/50,v=Math.sin(u),f=Math.cos(u);for(r=0;r<=50;++r){var l=2*r*Math.PI/50,c=Math.sin(l),x=Math.cos(l)*v,p=f,m=c*v,h=1-r/50,A=1-n/50;t.push(2*x),t.push(2*p),t.push(2*m),a.push(x),a.push(p),a.push(m),i.push(h),i.push(A)}}for(n=0;n<50;++n)for(r=0;r<50;++r){var s=51*n+r,d=s+50+1;o.push(s),o.push(d),o.push(s+1),o.push(d),o.push(d+1),o.push(s+1)}t=new Float32Array(t),a=new Float32Array(a),i=new Float32Array(i),o=new Uint16Array(o);var g=e.createBuffer(),P=e.createBuffer(),U=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,g),e.bufferData(e.ARRAY_BUFFER,t,e.STATIC_DRAW);var b=e.getAttribLocation(E,"c");e.vertexAttribPointer(b,3,e.FLOAT,!1,0,0),e.enableVertexAttribArray(b),e.bindBuffer(e.ARRAY_BUFFER,P),e.bufferData(e.ARRAY_BUFFER,a,e.STATIC_DRAW);var R=e.getAttribLocation(E,"d");return e.vertexAttribPointer(R,3,e.FLOAT,!1,0,0),e.enableVertexAttribArray(R),e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,U),e.bufferData(e.ELEMENT_ARRAY_BUFFER,o,e.STATIC_DRAW),o.length}(c);c.clearColor(0,0,0,1),c.enable(c.DEPTH_TEST);var t=R.create();R.perspective(t,Math.PI/6,1,.1,100);var a=R.create();R.lookAt(a,[0,0,10],[0,0,0],[0,1,0]);var i=R.create();R.multiply(i,t,a);var o=c.getUniformLocation(E,"h");c.uniformMatrix4fv(o,!1,a);var u=c.getUniformLocation(E,"i");c.uniformMatrix4fv(u,!1,i);var v=c.getUniformLocation(E,"e");c.uniform4fv(v,[10,10,10,1]);var f=c.getUniformLocation(E,"f");c.uniform3fv(f,[.9,.5,.3]);var l=c.getUniformLocation(E,"g");return c.uniform3fv(l,[1,1,1]),c.clear(c.COLOR_BUFFER_BIT|c.DEPTH_BUFFER_BIT),c.drawElements(c.TRIANGLES,r,c.UNSIGNED_SHORT,0),c.useProgram(null),E&&c.deleteProgram(E),x.toDataURL()}}();n&&(e=t(n))}return e}function t(e){for(var n=2166136261,r=0;r<e.length;++r)n^=e.charCodeAt(r),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return n>>>0}function r(){var e=0,n=document.createElement("canvas");if(null!=n){var r=function(e){e.width=67,e.height=67;var n=e.getContext("2d",{alpha:!0});if(null!=n)return n.imageSmoothingQuality="low",n.imageSmoothingEnabled=!0,n.globalCompositeOperation="source-over",n.globalAlpha=1,n.miterLimit=1/0,n.filter="none",n.lineCap="butt",n.lineDashOffset=0,n.lineJoin="miter",n.font="10pt Arial",n.lineWidth=2,void 0!==n.setLineDash&&n.setLineDash([10,20]),n.shadowColor="black",n.shadowOffsetX=-3,n.shadowOffsetY=-5,n.translate(e.width/2,e.height/2),n.rotate(.8901179),n.fillStyle="green",n.textAlign="center",n.textBaseline="middle",n.fillText("*51Degrees*",0,0),n.beginPath(),n.shadowColor="yellow",n.shadowBlur=1,n.shadowOffsetX=1,n.shadowOffsetY=1,n.strokeStyle="red",n.fillStyle="rgba(0, 0, 255, 0.6)",void 0===n.ellipse?n.arc(0,0,25,0,2*Math.PI):n.ellipse(0,0,25,15,Math.PI/4,0,2*Math.PI),n.fill(),n.stroke(),e.toDataURL()}(n);r&&(e=t(r))}return e}function a(){var e=document.createElement("canvas");if(null!=e){var n=e.getContext("webgl")||e.getContext("experimental-webgl");if(n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return n.getParameter(r.UNMASKED_RENDERER_WEBGL)}}return""}function i(){return function(e,n){for(var r=0;r<n.length;r++)if(t="("+e+": "+n[r]+")",window.matchMedia(t).matches)return n[r];var t;return"n/a"}("color-gamut",["p3","srgb"])}function f(e,n){if(e.m){var r=e.m(e);r||""===r?r.then||function(e,n,r){for(var t=0;t<e.n.length;t++){var a=v[e.n[t]];if(a.r)for(var i=0;i<a.r.length;i++){var o=a.r[i];if((null===o.a||n>=o.a)&&(null===o.b||n<=o.b))return f(a,0)}else if(a.v&&-1!=a.v.indexOf(n))return f(a,0)}0<e.n.length&&r<10&&setTimeout(function(){f(e,r+1)},10),u(e.x)}(e,r,n):e.x&&u(e.x)}else u(e.x)}f(v[0],0)}getProfileId(function(e){profileIds.push(e)});
document.cookie = "51D_ProfileIds=" + profileIds.join("|") |