PageSourceSearch

https://www.geogiant.ai/assets/AIScanningSection-xq8AH-8-.js

js geogiant.ai collected 2026-10-05 14:31:54 UTC 20,385 bytes, 14 lines download raw bytes

1import{r as g,j as c,a as I,m as M}from"./index-E-bOleFu.js";var F=["x","y","z"],v=function(e){Object.assign(this,{uniforms:{},geometry:{vertices:[{x:0,y:0,z:0}]},mode:0,modifiers:{},attributes:[],multiplier:1,buffers:[]}),Object.assign(this,e),this.prepareProgram(),this.prepareUniforms(),this.prepareAttributes()};v.prototype.compileShader=function(e,t){var a=this.gl.createShader(e);return this.gl.shaderSource(a,t),this.gl.compileShader(a),a},v.prototype.prepareProgram=function(){var e=this.gl,t=this.vertex,a=this.fragment,o=e.createProgram();e.attachShader(o,this.compileShader(35633,t)),e.attachShader(o,this.compileShader(35632,a)),e.linkProgram(o),e.useProgram(o),this.program=o},v.prototype.prepareUniforms=function(){for(var e=Object.keys(this.uniforms),t=0;t<e.length;t+=1){var a=this.gl.getUniformLocation(this.program,e[t]);this.uniforms[e[t]].location=a}},v.prototype.prepareAttributes=function(){this.geometry.vertices!==void 0&&this.attributes.push({name:"aPosition",size:3}),this.geometry.normal!==void 0&&this.attributes.push({name:"aNormal",size:3}),this.attributeKeys=[];for(var e=0;e<this.attributes.length;e+=1)this.attributeKeys.push(this.attributes[e].name),this.prepareAttribute(this.attributes[e])},v.prototype.prepareAttribute=function(e){for(var t=this.geometry,a=this.multiplier,o=t.vertices,n=t.normal,i=new Float32Array(a*o.length*e.size),r=0;r<a;r+=1)for(var s=e.data&&e.data(r,a),l=r*o.length*e.size,f=0;f<o.length;f+=1)for(var u=0;u<e.size;u+=1){var d=this.modifiers[e.name];i[l]=d!==void 0?d(s,f,u,this):e.name==="aPosition"?o[f][F[u]]:e.name==="aNormal"?n[f][F[u]]:s[u],l+=1}this.attributes[this.attributeKeys.indexOf(e.name)].data=i,this.prepareBuffer(this.attributes[this.attributeKeys.indexOf(e.name)])},v.prototype.prepareBuffer=function(e){var t=e.data,a=e.name,o=e.size,n=this.gl.createBuffer();this.gl.bindBuffer(34962,n),this.gl.bufferData(34962,t,35044);var i=this.gl.getAttribLocation(this.program,a);this.gl.enableVertexAttribArray(i),this.gl.vertexAttribPointer(i,o,5126,!1,0,0),this.buffers[this.attributeKeys.indexOf(e.name)]={buffer:n,location:i,size:o}},v.prototype.render=function(e){var t=this,a=this.uniforms,o=this.multiplier,n=this.gl;n.useProgram(this.program);for(var i=0;i<this.buffers.length;i+=1){var r=this.buffers[i],s=r.location,l=r.buffer,f=r.size;n.enableVertexAttribArray(s),n.bindBuffer(34962,l),n.vertexAttribPointer(s,f,5126,!1,0,0)}Object.keys(e).forEach(function(u){a[u].value=e[u].value}),Object.keys(a).forEach(function(u){var d=a[u];t.uniformMap[d.type](d.location,d.value)}),n.drawArrays(this.mode,0,o*this.geometry.vertices.length),this.onRender&&this.onRender(this)},v.prototype.destroy=function(){for(var e=0;e<this.buffers.length;e+=1)this.gl.deleteBuffer(this.buffers[e].buffer);this.gl.deleteProgram(this.program),this.gl=null};var y=function(e){var t=this,a=e||{},o=a.canvas;o===void 0&&(o=document.querySelector("canvas"));var n=a.context;n===void 0&&(n={});var i=a.contextType;i===void 0&&(i="experimental-webgl");var r=a.settings;r===void 0&&(r={});var s=o.getContext(i,Object.assign({alpha:!1,antialias:!1},n));Object.assign(this,{gl:s,canvas:o,uniforms:{},instances:new Map,shouldRender:!0}),Object.assign(this,{devicePixelRatio:1,clearColor:[1,1,1,1],position:{x:0,y:0,z:2},clip:[.001,100]}),Object.assign(this,r),this.uniformMap={float:function(l,f){return s.uniform1f(l,f)},vec2:function(l,f){return s.uniform2fv(l,f)},vec3:function(l,f){return s.uniform3fv(l,f)},vec4:function(l,f){return s.uniform4fv(l,f)},mat2:function(l,f){return s.uniformMatrix2fv(l,!1,f)},mat3:function(l,f){return s.uniformMatrix3fv(l,!1,f)},mat4:function(l,f){return s.uniformMatrix4fv(l,!1,f)}},s.enable(s.DEPTH_TEST),s.depthFunc(s.LEQUAL),s.getContextAttributes().alpha===!1&&(s.clearColor.apply(s,this.clearColor),s.clearDepth(1)),this.onSetup&&this.onSetup(s),window.addEventListener("resize",function(){return t.resize()}),this.resize(),this.render()};y.prototype.resize=function(){var e=this.gl,t=this.canvas,a=this.devicePixelRatio,o=this.position;t.width=t.clientWidth*a,t.height=t.clientHeight*a;var n=e.drawingBufferWidth,i=e.drawingBufferHeight,r=n/i;e.viewport(0,0,n,i);var s=Math.tan(Math.PI/180*22.5),l=[1,0,0,0,0,1,0,0,0,0,1,0,o.x,o.y,(r<1?1:r)*-o.z,1];this.uniforms.uProjectionMatrix={type:"mat4",value:[.5/s,0,0,0,0,r/s*.5,0,0,0,0,-(this.clip[1]+this.clip[0])/(this.clip[1]-this.clip[0]),-1,0,0,-2*this.clip[1]*(this.clip[0]/(this.clip[1]-this.clip[0])),0]}
1,this.uniforms.uViewMatrix={type:"mat4",value:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},this.uniforms.uModelMatrix={type:"mat4",value:l}},y.prototype.toggle=function(e){e!==this.shouldRender&&(this.shouldRender=e!==void 0?e:!this.shouldRender,this.shouldRender&&this.render())},y.prototype.render=function(){var e=this;this.gl.clear(16640),this.instances.forEach(function(t){t.render(e.uniforms)}),this.onRender&&this.onRender(this),this.shouldRender&&requestAnimationFrame(function(){return e.render()})},y.prototype.add=function(e,t){t===void 0&&(t={uniforms:{}}),t.uniforms===void 0&&(t.uniforms={}),Object.assign(t.uniforms,JSON.parse(JSON.stringify(this.uniforms))),Object.assign(t,{gl:this.gl,uniformMap:this.uniformMap});var a=new v(t);return this.instances.set(e,a),a},y.prototype.remove=function(e){var t=this.instances.get(e);t!==void 0&&(t.destroy(),this.instances.delete(e))},y.prototype.destroy=function(){var e=this;this.instances.forEach(function(t,a){t.destroy(),e.instances.delete(a)}),this.toggle(!1)};var V="phi",q="theta",b="mapSamples",K="mapBrightness",J="baseColor",H="markerColor",W="glowColor",x="markers",$="diffuse",O="devicePixelRatio",_="dark",Z="offset",ee="scale",te="opacity",ae="mapBaseBrightness",U={[V]:"z",[q]:"A",[b]:"k",[K]:"D",[J]:"S",[H]:"T",[W]:"y",[$]:"E",[_]:"F",[Z]:"x",[ee]:"B",[te]:"U",[ae]:"G"},{PI:z,sin:P,cos:T,sqrt:X,atan2:ie,floor:A,max:re,pow:se,log2:oe}=Math,Y=2.23606797749979,G=1.618033988749895,ne=.7202100452062783,R=6.283185307179586,Q=3.8832220774509327,S=.618033988749895,le=(e,t)=>
1{let a=[e[0],e[2],e[1]],o=1/t,n=re(2,A(oe(Y*t*z*(1-a[2]*a[2]))*ne)),i=se(G,n)/Y,r=[A(i+.5),A(i*G+.5)],s=[(r[0]+1)*S%1*R-Q,(r[1]+1)*S%1*R-Q],l=[-2*r[0],-2*r[1]],f=[ie(a[1],a[0]),a[2]-1],u=s[0]*l[1]-l[0]*s[1],d=[A((l[1]*f[0]-s[1]*(f[1]*t+1))/u),A((-l[0]*f[0]+s[0]*(f[1]*t+1))/u)],m=z,h=[0,0,0];for(let p=0;p<4;p++){let w=r[0]*(d[0]+p%2)+r[1]*(d[1]+A(p*.5));if(w>t)continue;let C=w*S%1*R,j=1-2*w*o,L=X(1-j*j),E=[T(C)*L,P(C)*L,j],D=X((a[0]-E[0])**2+(a[1]-E[1])**2+(a[2]-E[2])**2);D<m&&(m=D,h=E)}return[h[0],h[2],h[1]]},N=(e,t)=>[].concat(...e.map(a=>{let[o,n]=a.location;o=o*z/180,n=n*z/180-z;let i=T(o),r=[-i*T(n),P(o),i*P(n)];return[...le(r,t),a.size,...a.color?[...a.color,1]:[0,0,0,0]]}),[0,0,0,0,0,0,0,0]),ce=(e,t)=>{let a=(i,r,s)=>({type:i,value:typeof t[r]>"u"?s:t[r]}),o=e.getContext("webgl2")?"webgl2":e.getContext("webgl")?"webgl":"experimental-webgl",n=new y({canvas:e,contextType:o,context:{alpha:!0,stencil:!1,antialias:!0,depth:!1,preserveDrawingBuffer:!1,...t.context},settings:{[O]:t[O]||1,onSetup:i=>{let r=i.RGB,s=i.UNSIGNED_BYTE,l=i.TEXTURE_2D,f=i.createTexture();i.bindTexture(l,f),i.texImage2D(l,0,r,1,1,0,r,s,new Uint8Array([0,0,0,0]));let u=new Image;u.onload=()=>{i.bindTexture(l,f),i.texImage2D(l,0,r,r,s,u),i.generateMipmap(l);let d=i.getParameter(i.CURRENT_PROGRAM),m=i.getUniformLocation(d,"H");i.texParameteri(l,i.TEXTURE_MIN_FILTER,i.NEAREST),i.texParameteri(l,i.TEXTURE_MAG_FILTER,i.NEAREST),i.uniform1i(m,0)},u.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACAAQAAAADMzoqnAAAAAXNSR0IArs4c6QAABA5JREFUeNrV179uHEUAx/Hf3JpbF+E2VASBsmVKTBcpKJs3SMEDcDwBiVJAAewYEBUivIHT0uUBIt0YCovKD0CRjUC4QfHYh8hYXu+P25vZ2Zm9c66gMd/GJ/tz82d3bk8GN4SrByYF2366FNTACIAkivVAAazQdnf3MvAlbNUQfOPAdQDvSAimMWhwy4I2g4SU+Kp04ISLpPBAKLxPyic3O/CCi+Y7rUJbio
1dcpDOFY7CgxCEXmdYD2EYK2s5lApOx5pEDDYCUwM1XdJUwBV11QQMg59kePSCaPAASQMEL2hwo6TJFgxpg+TgC2ymXPbuvc40awr3D1QCFfbH9kcoqAOkZozpQo0aqAGQRKCog/+tjkgbNFEtg2FffBvBGlSxHoAaAa1u6X4PBAwDiR8FFsrQgeUhfJTSALaB9jy5NCybJPn1SVFiWk7ywN+KzhH1aKAuydhGkbEF4lWohLXDXavlyFgHY7LBnLRdlAP6BS5Cc8RfVDXbkwN/oIvmY+6obbNeBP0JwTuMGu9gTzy1Q4RS/cWpfzszeYwd+CAFrtBW/Hur0gLbJGlD+/OjVwe/drfBxkbbg63dndEDfiEBlAd7ac0BPe1D6Jd8dfbLH+RI0OzseFB5s01/M+gMdAeluLOCAuaUA9Lezo/vSgXoCX9rtEiXnp7Q1W/CNyWcd8DXoS6jH/YZ5vAJEWY2dXFQe2TUgaFaNejCzJ98g6HnlVrsE58sDcYqg+9XY75fPqdoh/kRQWiXKg8MWlJQxUFMPjqnyujhFBE7UxIMjyszk0QwQlFsezImsyvUYYYVED2pk6m0Tg8T04Fwjk2kdAwSACqlM6gRRt3vQYAFGX0Ah7Ebx1H+MDRI5ui0QldH4j7FGcm90XdxD2Jg1AOEAVAKhEFXSn4cKUELurIAKwJ3MArypPscQaLhJFICJ0ohjDySAdH8AhDtCiTuMycH8CXzhH9jUACAO5uMhoAwA5i+T6WAKmmAqnLy80wxHqIPFYpqCwxGaYLt4Dyievg5kEoVEUAhs6pqKgFtDQYOuaXypaWKQfIuwwoGSZgfLsu/XAtI8cGN+h7Cc1A5oLOMhwlIPXuhu48AIvsSBkvtV9wsJRKCyYLfq5lTrQMFd1a262oqBck9K1V0YjQg0iEYYgpS1A9GlXQV5cykwm4A7BzVsxQqo7E+zCegO7Ma7yKgsuOcfKbMBwLC8wvVNYDsANYalEpOAa6zpWjTeMKGwEwC1CiQewJc5EKfgy7GmRAZA4vUVGwE2dPM/g0xuAInE/yG5aZ8ISxWGfYigUVbdyBElTHh2uCwGdfCkOLGgQVBh3Ewp+/QK4CDlR5Ws/Zf7yhCf8pH7vinWAvoVCQ6zz0NX5V/6GkAVV+2/5qsJ/gU8bsxpM8IeAQAAAABJRU5ErkJggg=="}}});return n.add("",{vertex:"attribute vec3 aPosition;uniform mat4 uProjectionMatrix;uniform mat4 uModelMatrix;uniform mat4 uViewMatrix;void main(){gl_Position=uProjectionMatrix*uModelMatrix*uViewMatrix*vec4(aPosition,1.);}",fragment:"precision highp float;uniform vec2 w,x;uniform vec3 S,T,y;uniform vec4 u[64*2];uniform float z,A,k,B,C,D,E,F,U,G;uniform sampler2D H;float I=1./k;mat3 J(float a,float b){float c=cos(a),d=cos(b),e=sin(a),f=sin(b);return mat3(d,f*e,-f*c,0.,c,e,f,d*-e,d*c);}vec3 K(vec3 c,out float v){c=c.xzy;float p=max(2.,floor(log2(2.236068*k*3.141593*(1.-c.z*c.z))*.72021));vec2 g=floor(pow(1.618034,p)/2.236068*vec2(1,1.618034)+.5),d=fract((g+1.)*.618034)*6.283185-3.883222,e=-2.*g,f=vec2(atan(c.y,c.x),c.z-1.),q=floor(vec2(e.y*f.x-d.y*(f.y*k+1.),-e.x*f.x+d.x*(f.y*k+1.))/(d.x*e.y-e.x*d.y));float n=3.141593;vec3 r;for(float h=0.;h<4.;h+=1.){vec2 s=vec2(mod(h,2.),floor(h*.5));float j=dot(g,q+s);if(j>k)continue;float a=j,b=0.;if(a>=524288.)a-=524288.,b+=.803894;if(a>=262144.)a-=262144.,b+=.901947;if(a>=131072.)a-=131072.,b+=.950973;if(a>=65536.)a-=65536.,b+=.475487;if(a>=32768.)a-=32768.,b+=.737743;if(a>=16384.)a-=16384.,b+=.868872;if(a>=8192.)a-=8192.,b+=.934436;if(a>=4096.)a-=4096.,b+=.467218;if(a>=2048.)a-=2048.,b+=.733609;if(a>=1024.)a-=1024.,b+=.866804;if(a>=512.)a-=512.,b+=.433402;if(a>=256.)a-=256.,b+=.216701;if(a>=128.)a-=128.,b+=.108351;if(a>=64.)a-=64.,b+=.554175;if(a>=32.)a-=32.,b+=.777088;if(a>=16.)a-=16.,b+=.888544;if(a>=8.)a-=8.,b+=.944272;if(a>=4.)a-=4.,b+=.472136;if(a>=2.)a-=2.,b+=.236068;if(a>=1.)a-=1.,b+=.618034;float l=fract(b)*6.283185,i=1.-2.*j*I,m=sqrt(1.-i*i);vec3 o=vec3(cos(l)*m,sin(l)*m,i);float t=length(c-o);if(t<n)n=t,r=o;}v=n;return r.xzy;}void main(){vec2 f=1./w,a=(gl_FragCoord.xy*f*2.-1.)/B-x*vec2(1,-1)*f;a.x*=w.x*f.y;float c=dot(a,a);vec4 t=vec4(0);float j=0.;int V=int(C);if(c<=.64){float b;vec4 e=vec4(0);vec3 v=vec3(0,0,1),l=normalize(vec3(a,sqrt(.64-c)));mat3 L=J(A,z);float g=dot(l,v);vec3 m=l*L,h=K(m,b);float n=asin(h.y),i=acos(-h.x/cos(n));i=h.z<0.?-i:i;float M=max(texture2D(H,vec2(i*.5/3.141593,-(n/3.141593+.5))).x,G),N=smoothstep(8e-3,0.,b),o=pow(g,E)*D,p=M*N*o,W=mix((1.-p)*pow(g,.4),p,F)+.1;e+=vec4(S*W,1.);float X=0.;for(int d=0;d<128;d+=2){if(d>=V)break;vec4 q=u[d],O=u[d+1];vec3 P=q.xyz;float r=q.w;vec3 Y=P-m;b=length(Y);if(b<r){float Q=r*.5,s=smoothstep(Q,0.,b);X+=s,e.xyz=O.w>.5?mix(e.xyz,O.xyz,s*o):mix(e.xyz,T,s*o);}}e.xyz+=pow(1.-g,4.)*y,t+=e*(1.+U)*.5,j=pow(dot(normalize(vec3(-a,sqrt(1.-c))),vec3(0,0,1)),4.)*smoothstep(0.,1.,.2/(c-.64));}else{float R=sqrt(.2/(c-.64));j=smoothstep(.5,1.,R/(R+1.));}gl_FragColor=t+vec4(j*y,j);}",uniforms:{w:{type:"vec2",value:[t.width,t.height]},z:a("float",V),A:a("float",q),k:a("float",b),D:a("float",K),G:a("float",ae),S:a("vec3",J),T:a("vec3",H),E:a("float",$),y:a("vec3",W),F:a("float",_),u:{type:"vec4",value:N(t[x],t[b])},C:{type:"float",value:t[x].length*2},x:a("vec2",Z,[0,0]),B:a("float",ee,1),U:a("float",te,1)},mode:4,geometry:{vertices:[{x:-100,y:100,z:0},{x:-100,y:-100,z:0},{x:100,y:100,z:0},{x:100,y:-100,z:0},{x:-100,y:-100,z:0},{x:100,y:100,z:0}]},onRender:({uniforms:i})=>{let r={};if(t.onRender){r=t.onRender(r)||r;for(let s in U)r[s]!==void 0&&(i[U[s]].value=r[s]);if(r[x]!==void 0){let s=r[b]!==void 0?r[b]:i.k.value;i.u.value=N(r[x],s),i.C.value=r[x].length}r.width&&r.height&&(i.w.value=[r.width,r.height]),r[b]!==void 0&&(i.u.value=N(r[x]||t[x],r[b]))}}}),n};const fe={width:800,height:800,onRender:()=>{},devicePixelRatio:2,phi:0,theta:.3,dark:1,diffuse:1.2,mapSamples:16e3,mapBrightness:6,baseColor:[.3,.3,.3],markerColor:[0,194/255,255/255],glowColor:[0,120/255,180/255],markers:[{location:[40.7128,-74.006],size:.1},{location:[40.4168,-3.7038],size:.08},{location:[52.52,13.405],size:.08},{location:[-14.235,-51.9253],size:.07},{location:[51.5074,-.1278],size:.08},{location:[35.6762,139.6503],size:.08},{location:[-25.2744,133.7751],size:.06},{location:[20.5937,78.9629],size:.09}]};function ue({className:e,config:t=fe}){let a=0,o=0;const n=g.useRef(null),i=g.useRef(null),r=g.useRef(0),[s,l]=g.useState(0),f=h=>{i.current=h,n.current&&(n.current.style.cursor=h?"grabbing":"grab")},u=h=>{if(i.current!==null){const p=h-i.current;r.current=p,l(p/200)}},d=g.useCallback(h=>{i.current||(a+=.005),h.phi=a+s,h.width=o*2,h.height=o*2},[s]),m=()=>{n.current&&(o=n.current.offsetWidth)};return g.useEffect(()=>{window.addEventListener("resize",m),m();const h=ce(n.current,{...t,width:o*2,height:o*2,onRender:d});return setTimeout(()=>n.current.style.opacity="1"),()=>h.destroy()},[]),c.jsx("div",{className:I("absolute inset-0 mx-auto aspect-[1/1] w-full max-w-[600px]",e),children:c.jsx("canvas",{className:I("size-full opacity-0 transition-opacity duration-500 [contain:layout_paint_size]"),ref:n,onPointerDown:h=>f(h.clientX-r.current),onPointerUp:()=>f(null),onPointerOut:()=>f(null),onMouseMove:h=>u(h.clientX),onTouchMove:h=>h.touches[0]&&u(h.touches[0].clientX)})})}const k=[{x:72,y:35},{x:80,y:45},{x:75,y:55},{x:68,y:48},{x:78,y:60}
1],he=({index:e,totalMetrics:t})=>{const a=g.useMemo(()=>{const i=(e+.5)/t*100,r=k[e%k.length],s=r.x,l=r.y,f=5+Math.floor(Math.random()*3);let u=`M 38 ${i}`;for(let d=1;d<f;d++){const m=d/f,h=38+(s-38)*m,p=i+(l-i)*m,w=12*(1-m*.7),C=(Math.random()-.5)*w,j=p+C;u+=` L ${h} ${j}`}return u+=` L ${s} ${l}`,u},[e,t]),o=g.useMemo(()=>{const i=(e+.5)/t*100,r=k[e%k.length],s=.4+Math.random()*.2,l=38+(r.x-38)*s,f=i+(r.y-i)*s;let u=`M ${l} ${f+(Math.random()-.5)*5}`;const d=8+Math.random()*6;for(let m=1;m<=3;m++){const h=l+d/3*m,p=f+(Math.random()-.5)*8+m*2;u+=` L ${h} ${p}`}return u},[e,t]);return c.jsxs("svg",{className:"absolute inset-0 w-full h-full pointer-events-none hidden lg:block overflow-visible",viewBox:"0 0 100 100",preserveAspectRatio:"none",children:[c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:`bolt-gradient-${e}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[c.jsx("stop",{offset:"0%",stopColor:"rgba(0, 194, 255, 0.9)"}),c.jsx("stop",{offset:"60%",stopColor:"rgba(120, 220, 255, 1)"}),c.jsx("stop",{offset:"100%",stopColor:"rgba(0, 194, 255, 0.4)"})]}),c.jsxs("filter",{id:`bolt-glow-${e}`,children:[c.jsx("feGaussianBlur",{stdDeviation:"1.2",result:"blur"}),c.jsxs("feMerge",{children:[c.jsx("feMergeNode",{in:"blur"}),c.jsx("feMergeNode",{in:"blur"}),c.jsx("feMergeNode",{in:"SourceGraphic"})]})]})]}),c.jsx(M.path,{d:a,fill:"none",stroke:`url(#bolt-gradient-${e})`,strokeWidth:"0.35",strokeLinecap:"round",strokeLinejoin:"round",filter:`url(#bolt-glow-${e})`,initial:{pathLength:0,opacity:0},animate:{pathLength:[0,1,1,0],opacity:[0,.85,.75,0]},transition:{duration:1.1,delay:e*.6,repeat:1/0,repeatDelay:4.5+e*.4,ease:[.4,0,.2,1]}}),c.jsx(M.path,{d:a,fill:"none",stroke:"rgba(255, 255, 255, 0.95)",strokeWidth:"0.12",strokeLinecap:"round",initial:{pathLength:0,opacity:0},animate:{pathLength:[0,1],opacity:[1,0]},transition:{duration:.25,delay:e*.6+.1,repeat:1/0,repeatDelay:5.35+e*.4,ease:"easeOut"}}),c.jsx(M.path,{d:o,fill:"none",stroke:"rgba(0, 194, 255, 0.5)",strokeWidth:"0.18",strokeLinecap:"round",filter:`url(#bolt-glow-${e})`,initial:{pathLength:0,opacity:0},animate:{pathLength:[0,1,0],opacity:[0,.5,0]},transition:{duration:.7,delay:e*.6+.15,repeat:1/0,repeatDelay:4.95+e*.4,ease:"easeOut"}})]})},de=`
2  @keyframes word-appear {
3    0% { opacity: 0; transform: translateY(30px) scale(0.8); }
4    50% { opacity: 0.8; transform: translateY(10px) scale(0.95); }
5    100% { opacity: 1; transform: translateY(0) scale(1); }
6  }
7  .word-animate {
8    display: inline-block;
9    opacity: 0;
10    margin: 0 0.15em;
11    will-change: transform, opacity;
12    transform: translateZ(0);
13  }
14`,me=()=>{const e=["One","small","step","for","mankind,"],t=["one","Giant","leap","for","your","visibility."];return g.useEffect(()=>{const a=[],o=setTimeout(()=>{document.querySelectorAll(".word-animate").forEach(i=>{const r=parseInt(i.getAttribute("data-delay")||"0"),s=setTimeout(()=>{i&&(i.style.animation="word-appear 0.8s ease-out forwards")},r);a.push(s)})},300);return()=>{clearTimeout(o),a.forEach(n=>clearTimeout(n))}},[]),c.jsxs("div",{className:"flex flex-col gap-2 lg:gap-4 items-center",children:[c.jsx("h2",{className:"font-display text-2xl sm:text-3xl lg:text-4xl xl:text-5xl font-bold text-white text-center",children:e.map((a,o)=>c.jsx("span",{className:"word-animate","data-delay":o*120,children:a},o))}),c.jsx("h2",{className:"font-display text-3xl lg:text-4xl xl:text-5xl font-bold text-white text-center",children:t.map((a,o)=>c.jsx("span",{className:`word-animate ${a==="Giant"?"text-yellow-400":""}`,"data-delay":(e.length+o)*120,children:a},o))})]})},pe=(e,t=2e3,a="",o=0)=>{const[n,i]=g.useState(0),[r,s]=g.useState(!1);g.useEffect(()=>{if(r)return;const f=Date.now(),u=()=>{const m=Date.now()-f,h=Math.min(m/t,1),p=1-Math.pow(1-h,3);i(e*p),h<1?requestAnimationFrame(u):s(!0)},d=setTimeout(u,500);return()=>clearTimeout(d)},[e,t,r]);const l=o>0?n.toFixed(o):Math.floor(n).toLocaleString();return a?`${l}${a}`:l},B=[{label:"Daily AI queries across major LLMs",value:8.6,suffix:"B+",decimals:1},{label:"Brand-related questions answered monthly",value:1.5,suffix:"B+",decimals:1},{label:"Consumers trust AI answers like search",value:70,suffix:"%",decimals:0},{label:"Buying journeys starting inside AI assistants",value:40,suffix:"%",decimals:0},{label:"Users discovering new brands for the first time through AI answers",value:62,
14suffix:"%",decimals:0}],ge=({label:e,value:t,suffix:a,decimals:o,delay:n})=>{const i=pe(t,2e3,a,o);return c.jsxs(M.div,{className:"flex items-start gap-4",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:n},style:{willChange:"transform, opacity",transform:"translateZ(0)"},children:[c.jsx("div",{className:"w-1 h-12 bg-[#00C2FF] rounded-full mt-1"}),c.jsxs("div",{children:[c.jsx("div",{className:"text-3xl lg:text-4xl font-bold text-white font-display tracking-tight",children:i}),c.jsx("div",{className:"text-sm text-[#A0A0A0] mt-1 max-w-[280px]",children:e})]})]})},xe=()=>c.jsxs("section",{className:"py-24 lg:pt-16 lg:pb-32 relative overflow-hidden",children:[c.jsx("style",{children:de}),c.jsx("div",{className:"absolute inset-0 bg-black"}),c.jsx("div",{className:"absolute inset-0 dot-pattern opacity-30 z-[1] pointer-events-none"}),c.jsxs("div",{className:"section-container relative z-10",children:[c.jsxs(M.div,{className:"text-center mb-16 lg:mb-20",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[c.jsx(me,{}),c.jsx("p",{className:"text-lg text-[#A0A0A0] max-w-3xl mx-auto mt-6",children:"A new era of discovery has begun. The question is whether your brand is part of it."})]}),c.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-12 lg:gap-16 relative",children:[c.jsx("div",{className:"flex-1 space-y-8 lg:space-y-10 relative z-10",children:B.map((e,t)=>c.jsx(ge,{...e,delay:t*.1},e.label))}),c.jsx("div",{className:"absolute inset-0 z-0 hidden md:block",children:B.map((e,t)=>c.jsx(he,{index:t,totalMetrics:B.length},t))}),c.jsxs("div",{className:"hidden md:flex flex-1 relative w-full aspect-square max-w-[400px] lg:max-w-[500px] mx-auto z-10",children:[c.jsx(ue,{className:"top-0"}),c.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[80%] h-[80%] rounded-full pointer-events-none",style:{background:"radial-gradient(circle, rgba(0,194,255,0.08) 0%, transparent 70%)"}})]})]})]})]});export{xe as AIScanningSection};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.