1import{j as e,r as a}from"./vendor-react-aOLDZyDv.js";import{C as d,u as c}from"./extends-CAPnjQPt.js";import{s as x}from"./HeroTechStack-C5Xl7UKF.js";import{u as j}from"./reduced-motion-C0Xs7zLp.js";import{T as h}from"./shapes-CiBwZrGh.js";import{R as f}from"./RoundedBox-h9P_UADB.js";import"./three.module-BlTpHyz9.js";import"./index-Chuj7B4f.js";import"./vendor-motion-osyQtPDP.js";function g({hovered:r}){const t=a.useRef(null),i=a.useRef(null),s=a.useRef(null),n=a.useRef(null);return c(({clock:o})=>{const l=o.getElapsedTime();if(t.current&&(t.current.rotation.y=l*.3),s.current&&(s.current.rotation.z=l*.8),n.current&&(n.current.rotation.x=l*.5),i.current){const u=i.current.material;u.emissiveIntensity=.8+Math.sin(l*2)*.3}}),e.jsxs("group",{ref:t,scale:r?1.05:1,children:[e.jsxs("mesh",{ref:i,children:[e.jsx("icosahedronGeometry",{args:[.6,2]}),e.jsx("meshStandardMaterial",{color:"#0a1628",emissive:"#22D3EE",emissiveIntensity:.8,metalness:.9,roughness:.1})]}),e.jsxs("mesh",{ref:s,children:[e.jsx(h,{args:[1.1,.025,8,64]}),e.jsx("meshStandardMaterial",{color:"#22D3EE",emissive:"#22D3EE",emissiveIntensity:1.5,toneMapped:!1})]}),e.jsxs("mesh",{ref:n,rotation:[Math.PI/3,0,Math.PI/6],children:[e.jsx(h,{args:[1.4,.018,8,64]}),e.jsx("meshStandardMaterial",{color:"#34D399",emissive:"#34D399",emissiveIntensity:1.2,toneMapped:!1})]}),[0,1,2,3,4,5].map(o=>{const l=o/6*Math.PI*2,u=Math.cos(l)*1.1,m=Math.sin(l)*1.1;return e.jsx(y,{position:[u,0,m],index:o},o)})]})}function y({position:r,index:t}){const i=a.useRef(null),s=["#22D3EE","#34D399","#A78BFA","#F97316","#FBBF24","#F472B6"];return c(({clock:n})=>{if(i.current){i.current.rotation.y=n.getElapsedTime()*.5;const o=i.current.material;o.emissiveIntensity=.8+Math.sin(n.getElapsedTime()*1.5+t)*.4}}),e.jsxs("mesh",{ref:i,position:r,children:[e.jsx("boxGeometry",{args:[.18,.18,.18]}),e.jsx("meshStandardMaterial",{color:s[t],emissive:s[t],emissiveIntensity:.8,toneMapped:!1})]})}function E({hovered:r}){const t=a.useRef(null);c(({clock:s})=>{t.current&&(t.current.rotation.y=s.getElapsedTime()*.25)});const i=[{y:-1.2,color:"#6B7280",label:"ROM"},{y:-.4,color:"#FBBF24",label:"eBoot"},{y:.4,color:"#34D399",label:"EoS"},{y:1.2,color:"#22D3EE",label:"Apps"}];return e.jsxs("group",{ref:t,scale:r?1.05:1,children:[i.map((s,n)=>e.jsx(M,{y:s.y,color:s.color,index:n},n)),[0,1,2].map(s=>e.jsxs("mesh",{position:[0,-.8+s*.8,0],children:[e.jsx("cylinderGeometry",{args:[.015,.015,.4,8]}),e.jsx("meshStandardMaterial",{color:"#374151"})]},s))]})}function M({y:r,color:t,index:i}){const s=a.useRef(null);return c(({clock:n})=>{if(s.current){const o=s.current.material;o.emissiveIntensity=.5+Math.sin(n.getElapsedTime()*1.5+i*.8)*.3}}),e.jsx("group",{position:[0,r,0],children:e.jsxs("mesh",{ref:s,children:[e.jsx(f,{args:[1.4,.5,.3],radius:.08,smoothness:4}),e.jsx("meshStandardMaterial",{color:t,emissive:t,emissiveIntensity:.5,metalness:.7,roughness:.2})]})})}function v({hovered:r}){const t=a.useRef(null),i=a.useMemo(()=>{const n=[];return[3,5,5,3].forEach((l,u)=>{for(let m=0;m<l;m++)n.push({pos:[(u-1.5)*.9,(m-(l-1)/2)*.55,0],layer:u})}),n},[]);c(({clock:n})=>{t.current&&(t.current.rotation.y=Math.sin(n.getElapsedTime()*.3)*.4,t.current.rotation.x=Math.sin(n.getElapsedTime()*.2)*.15)});const s=["#6B7280","#A78BFA","#22D3EE","#34D399"];return e.jsx("group",{ref:t,scale:r?1.05:1,children:i.map((n,o)=>e.jsx(B,{position:n.pos,color:s[n.layer],index:o},o))})}function B({position:r,color:t,index:i}){const s=a.useRef(null);return c(({clock:n})=>{if(s.current){const o=s.current.material;o.emissiveIntensity=.6+Math.sin(n.getElapsedTime()*2+i*.5)*.4}}),e.jsxs("mesh",{ref:s,position:r,children:[e.jsx("sphereGeometry",{args:[.12,16,16]}),e.jsx("meshStandardMaterial",{color:t,emissive:t,emissiveIntensity:.6,toneMapped:!1})]})}function F({hovered:r}){const t=a.useRef(null);c(({clock:s})=>{t.current&&(t.current.rotation.y=s.getElapsedTime()*.2)});const i=[{color:"#22D3EE",label:"eDocs"},{color:"#34D399",label:"eSheets"},{color:"#F97316",label:"eSlides"},{color:"#A78BFA",label:"eMail"},{color:"#FBBF24",label:"eDrive"},{color:"#F472B6",label:"eChat"}];return e.jsxs("group",{ref:t,scale:r?1.05:1,children:[i.map((s,n)=>{const o=n/i.length*Math.PI*2,l=Math.cos(o)*1.1,u=Math.sin(o)*1.1;return e.jsx(R,{position:[l,0,u],color:s.color,index:n},n)}),e.jsxs("mesh",{children:[e.jsx("sphereGeometry",{args:[.35,32,32]}),e.jsx("meshStandardMaterial",{color:"#0a1628",emissive:"#F97316",emissiveIntensity:.5,metalness:.9,roughness:.1})]})]})}function R({position:r,color:t,index:i}){const s=a.useRef(null);return c(({clock:n})=>{if(s.current){s.current.rotation.y=n.getElapsedTime()*.8+i;const o=s.current.material;o.emissiveIntensity=.7+Math.sin(n.getElapsedTime()*1.5+i*.7)*.3}}),e.jsxs("mesh",{ref:s,position:r,children:[e.jsx(f,{args:[.35,.35,.1],radius:.06,smoothness:4}),e.jsx("meshStandardMaterial",{color:t,emissive:t,emissiveIntensity:.7,toneMapped:!1})]})}function A({hovered:r}){const t=a.useRef(null);c(({clock:s})=>{t.current&&(t.current.rotation.y=s.getElapsedTime()*.15,t.current.rotation.x=Math.sin(s.getElapsedTime()*.2)*.1)});const i=["#22D3EE","#34D399","#A78BFA","#F97316","#FBBF24","#F472B6","#60A5FA","#10B981","#EF4444","#8B5CF6","#06B6D4","#FBBF24"];return e.jsx("group",{ref:t,scale:r?1.05:1,children:i.map((s,n)=>{const o=Math.floor(n/4),l=n%4;return e.jsx(D,{position:[(l-1.5)*.55,(o-1)*.55,0],color:s,index:n},n)})})}function D({position:r,color:t,index:i}){const s=a.useRef(null);return c(({clock:n})=>{if(s.current){const o=s.current.material;o.emissiveIntensity=.4+Math.sin(n.getElapsedTime()*1.2+i*.4)*.3}}),e.jsxs("mesh",{ref:s,position:r,children:[e.jsx(f,{args:[.42,.42,.08],radius:.07,smoothness:4}),e.jsx("meshStandardMaterial",{color:t,emissive:t,emissiveIntensity:.4,toneMapped:!1})]})}function p({children:r,...t}){const[i,s]=a.useState(!1),n=j();return a.useEffect(()=>{s(x())},[]),i?e.jsx(d,{frameloop:n?"demand":"always",...t,children:r}):null}function P({hovered:r}){return e.jsxs(p,{camera:{position:[0,0,4],fov:50},gl:{antialias:!0,alpha:!0},children:[e.jsx("ambientLight",{intensity:.3}),e.jsx("pointLight",{position:[3,3,3],intensity:1.5,color:"#22D3EE"}),e.jsx("pointLight",{position:[-3,-2,-2],intensity:.8,color:"#34D399"}),e.jsx(g,{hovered:r})]})}function z({hovered:r}){return e.jsxs(p,{camera:{position:[0,0,5],fov:45},gl:{antialias:!0,alpha:!0},children:[e.jsx("ambientLight",{intensity:.3}),e.jsx("pointLight",{position:[3,3,3],intensity:1.5,color:"#FBBF24"}),e.jsx("pointLight",{position:[-3,-2,-2],intensity:.8,color:"#34D399"}),e.jsx(E,{hovered:r})]})}function O({hovered:r}){return e.jsxs(p,{camera:{position:[0,0,4.5],fov:50},gl:{antialias:!0,alpha:!0},children:[e.jsx("ambientLight",{intensity:.3}),e.jsx("pointLight",{position:[3,3,3],intensity:1.5,color:"#A78BFA"}),e.jsx("pointLight",{position:[-3,-2,-2],intensity:.8,color:"#22D3EE"}),e.jsx(v,{hovered:r})]})}function K({hovered:r}){return e.jsxs(p,{camera:{position:[0,0,4],fov:50},gl:{antialias:!0,alpha:!0},children:[e.jsx("ambientLight",{intensity:.3}),e.jsx("pointLight",{position:[3,3,3],intensity:1.5,color:"#F97316"}),e.jsx("pointLight",{position:[-3,-2,-2],intensity:.8,color:"#A78BFA"}),e.jsx(F,{hovered:r})]})}function W({hovered:r}){return e.jsxs(p,{camera:{position:[0,0,4.5],fov:50},gl:{antialias:!0,alpha:!0},children:[e.jsx("ambientLight",{intensity:.3}),e.jsx("pointLight",{position:[3,3,3],intensity:1.5,color:"#22D3EE"}),e.jsx("pointLight",{position:[-3,-2,-2],intensity:.8,color:"#F97316"}),e.jsx(A,{hovered:r})]})}
1export{O as EAINetworkCanvas,W as EAppsCanvas,z as EBootCanvas,K as EOfficeCanvas,P as EoSKernelCanvas};
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.