PageSourceSearch

https://deviontech.vercel.app/_next/static/chunks/pages/portfolio-55107e584b614057.js

js deviontech.vercel.app collected 2026-10-03 06:42:21 UTC 4,637 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[371],{4904:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/portfolio",function(){return r(862)}])},1951:function(e,t,r){"use strict";var i=r(5893),n=r(5480),s=r(8357);let a={hidden:{opacity:0},visible:{opacity:1,transition:{duration:.6,ease:"easeInOut"}}};t.Z=e=>{let{children:t,id:r,className:o}=e,[l,c]=(0,s.YD)({threshold:.2,triggerOnce:!0});return(0,i.jsx)(n.E.section,{ref:l,variants:a,initial:"hidden",animate:c?"visible":"hidden",id:r,className:o,children:t})}},1483:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var i=r(5893),n=r(7294),s=r(1951),a=r(5480),o=r(8357),l=r(1664),c=r.n(l);let d={hidden:{y:50,opacity:0},visible:{y:0,opacity:1,transition:{duration:.6,ease:"easeInOut"}}};var u=e=>{let{title:t,image:r,url:n,category:s}=e,[l,u]=(0,o.YD)({threshold:.2,triggerOnce:!0});return(0,i.jsx)(a.E.div,{ref:l,variants:d,initial:"hidden",animate:u?"visible":"hidden",className:"rounded-md",children:(0,i.jsx)(c(),{href:n,target:"_blank",children:(0,i.jsx)("div",{className:"w-full bg-white shadow-[0px_0px_15px_rgba(0,0,0,0.09)] rounded-md p-3 cursor-pointer transform transition-transform duration-300 hover:-translate-y-1",children:(0,i.jsx)("img",{className:"h-full w-full rounded-md",src:r})})})})},h=r(6878),f=()=>{let e=Array.from(new Set(h.cn.map(e=>e.category))),[t,r]=(0,n.useState)(e[0]);return(0,i.jsxs)(s.Z,{id:"projects",className:"md:mt-0 mx-4 md:mx-0",children:[(0,i.jsx)("div",{className:"mt-20",children:(0,i.jsxs)("div",{className:"text-3xl lg:text-4xl xl:text-5xl font-bold leading-tight text-heading text-center",children:["Explore Our ",(0,i.jsx)("span",{className:"bg-orange-100 px-2",children:"Portfolio"})," "]})}),(0,i.jsx)("div",{className:"md:w-1/2 overflow-x-auto scroll-hide lg:w-1/3 mx-auto mt-10 bg-white text-black p-2 flex justify-between items-center gap-3",children:e.map((e,n)=>(0,i.jsx)("span",{onClick:()=>r(e),className:"p-1.5 md:p-2 text-sm md:text-base w-full text-center cursor-pointer ".concat(t.toLowerCase()===e.toLowerCase()?"border-b-2 border-primary text-primary":"hover:bg-gray-100"," transition-all duration-200 capitalize"),children:e},n))}),(0,i.jsx)("div",{className:"max-w-screen-xl container mx-auto px-4 w-full pt-10",children:(0,i.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 w-full gap-5",children:h.cn.filter(e=>e.category.toLowerCase()===t.toLowerCase()).map((e,t)=>(0,i.jsx)(u,{...e}))})})]})}},862:function(e,t,r){"use strict";r.r(t);var i=r(5893),n=r(1483);r(7294),t.default=()=>(0,i.jsx)("div",{className:"xl:mt-20 pt-5",children:(0,i.jsx)(n.Z,{})})},8357:function(e,t,r){"use strict";r.d(t,{YD:function(){return c}});var i=r(7294),n=Object.defineProperty,s=new Map,a=new WeakMap,o=0,l=void 0;function c({threshold:e,delay:t,trackVisibility:r,rootMargin:n,root:c,triggerOnce:d,skip:u,initialInView:h,fallbackInView:f,onChange:m}={}){var x;let[g,p]=i.useState(null),v=i.useRef(),[w,b]=i.useState({inView:!!h,entry:void 0});v.current=m,i.useEffect(()=>{let i;if(!u&&g)return i=function(e,t,r={},i=l){if(void 0===window.IntersectionObserver&&void 0!==i){let n=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),()=>{}}let{id:n,observer:c,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(a.has(r)||(o+=1,a.set(r,o.toString())),a.get(r)):"0":e[t]}`}).toString(),r=s.get(t);if(!r){let i;let n=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var r;let s=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(r=n.get(t.target))||r.forEach(e=>{e(s,t)})})},e);i=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:n},s.set(t,r)}return r}(r),u=d.get(e)||[];return d.has(e)||d.set(e,u),u.push(t),c.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(d.delete(e),c.unobserve(e)),0===d.size&&(c.disconnect(),s.delete(n))}}(g,(e,t)=>{b({inView:e,entry:t}),v.current&&v.current(e,t),t.isIntersecting&&d&&i&&(i(),i=void 0)},{root:c,rootMargin:n,threshold:e,trackVisibility:r,delay:t},f),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,g,c,n,d,u,r,f,t]);let y=null==(x=w.entry)?void 0:x.target,j=i.useRef();g||!y||d||u||j.current===y||(j.current=y,b({inView:!!h,entry:void 0}));let N=[p,w.inView,w.entry];return N.ref=N[0],N.inView=N[1],N.entry=N[2],N}i.Component}},function(e){e.O(0,[480,888,774,179],function(){return e(e.s=4904)}),_N_E=e.O()}]);

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.