1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5018],{5018:(e,t,i)=>{i.r(t),i.d(t,{default:()=>v});var n=i(95155),o=i(35599),r=i(81068),l=i(90310),s=i(97377),a=i(56695),c=i(7684),u=i(60760),d=i(76408),h=i(66766),p=i(64315),x=i(12115);let g=i(86860).enum(["next","previous"]);function v(e){var t;let{imageFiles:i}=e,{current:v,handleChange:b}=function(e){let[t,i]=(0,x.useState)(0);return{current:t,handleChange:function(n){if(n===g.enum.next){if(t===e.length-1)return void i(0);i(e=>e+1)}else if(n===g.enum.previous){if(0===t)return void i(e.length-1);i(e=>e-1)}}}}(i),f=i[v],j=null==f?void 0:f.imageSrc,w=null==f||null==(t=f.credit)?void 0:t.author,m=null==f?void 0:f.description,k=null==f?void 0:f.focalPoint,y=k?"".concat(100*k.x,"% ").concat(100*k.y,"%"):"50% 50%";return(0,n.jsx)(o.VStack,{as:"figure",m:"0",w:"100%",position:"relative",children:(0,n.jsxs)(r.Box,{w:"100%",position:"relative",overflow:"hidden",children:[(0,n.jsx)(r.Box,{w:"100%",aspectRatio:1.5,position:"relative",bgColor:"#222",children:(0,n.jsx)(u.N,{children:j&&(0,n.jsxs)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:.8},transition:{duration:.8,ease:"easeInOut"},style:{position:"absolute",width:"100%",height:"100%"},children:[(0,n.jsx)(h.default,{fill:!0,src:j,style:{objectFit:"cover",objectPosition:y},alt:null!=m?m:"Image ".concat(v+1),unoptimized:!0}),(m||w)&&(0,n.jsx)(r.Box,{as:"figcaption",position:"absolute",bottom:0,left:0,w:"100%",bg:"rgba(0,0,0,0.7)",color:"white",py:2,px:4,children:(0,n.jsxs)(l.Text,{fontSize:".95rem",lineHeight:"1.2",w:"100%",textAlign:"center",children:[null!=m?m:"",w?" (".concat(w,")"):""]})})]},j)})}),(0,n.jsxs)(s.HStack,{top:"0",left:"0",w:"100%",h:"100%",position:"absolute",pointerEvents:"none",alignItems:"center",justifyContent:"space-between",children:[(0,n.jsx)(a.Button,{w:"7%",h:{base:"40px",md:"80px"},borderRadius:0,size:"lg",variant:"ghost",pointerEvents:"auto",bg:"rgba(0,0,0,0.3)",_hover:{bg:"rgba(0,0,0,0.5)",cursor:"pointer"},onClick:()=>b(g.enum.previous),children:(0,n.jsx)(c.Icon,{color:"white",children:(0,n.jsx)(p._Jj,{})})}),(0,n.jsx)(a.Button,{w:"7%",h:{base:"40px",md:"80px"},borderRadius:0,size:"lg",variant:"ghost",bg:"rgba(0,0,0,0.3)",pointerEvents:"auto",_hover:{bg:"rgba(0,0,0,0.5)",cursor:"pointer"},onClick:()=>b(g.enum.next),children:(0,n.jsx)(c.Icon,{color:"white",children:(0,n.jsx)(p.X6T,{})})})]})]})})}}}]);
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.