PageSourceSearch

https://portfolio-eshan-2z6t.vercel.app/_next/static/chunks/2f7faa5b4e2dea88.js

js portfolio-eshan-2z6t.vercel.app collected 2026-10-03 07:31:09 UTC 14,479 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72520,e=>{"use strict";let t=(0,e.i(75254).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],72520)},88653,e=>{"use strict";e.i(47167);var t=e.i(43476),n=e.i(71645),r=e.i(31178),i=e.i(47414),o=e.i(74008),s=e.i(21476),l=e.i(72846),a=n,u=e.i(37806);function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class c extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,r=(0,l.isHTMLElement)(e)&&e.offsetHeight||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:e,isPresent:r,anchorX:i,anchorY:o,root:s}){let l=(0,a.useId)(),h=(0,a.useRef)(null),d=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=(0,a.useContext)(u.MotionConfigContext),g=function(...e){return n.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=f(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():f(e[t],null)}}}}(...e),e)}(h,e.props?.ref??e?.ref);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:a,right:u,bottom:f}=d.current;if(r||!h.current||!e||!t)return;let c="left"===i?`left: ${a}`:`right: ${u}`,g="bottom"===o?`bottom: ${f}`:`top: ${n}`;h.current.dataset.motionPopId=l;let m=document.createElement("style");p&&(m.nonce=p);let v=s??document.head;return v.appendChild(m),m.sheet&&m.sheet.insertRule(`
2          [data-motion-pop-id="${l}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${c}px !important;
7            ${g}px !important;
8          }
9        `),()=>{v.contains(m)&&v.removeChild(m)}},[r]),(0,t.jsx)(c,{isPresent:r,childRef:h,sizeRef:d,children:a.cloneElement(e,{ref:g})})}let d=({children:e,initial:r,isPresent:o,onExitComplete:l,custom:a,presenceAffectsLayout:u,mode:f,anchorX:c,anchorY:d,root:g})=>{let m=(0,i.useConstant)(p),v=(0,n.useId)(),y=!0,w=(0,n.useMemo)(()=>(y=!1,{id:v,initial:r,isPresent:o,custom:a,onExitComplete:e=>
9{for(let t of(m.set(e,!0),m.values()))if(!t)return;l&&l()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[o,m,l]);return u&&y&&(w={...w}),(0,n.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[o]),n.useEffect(()=>{o||m.size||!l||l()},[o]),"popLayout"===f&&(e=(0,t.jsx)(h,{isPresent:o,anchorX:c,anchorY:d,root:g,children:e})),(0,t.jsx)(s.PresenceContext.Provider,{value:w,children:e})};function p(){return new Map}var g=e.i(64978);let m=e=>e.key||"";function v(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}let y=({children:e,custom:s,initial:l=!0,onExitComplete:a,presenceAffectsLayout:u=!0,mode:f="sync",propagate:c=!1,anchorX:h="left",anchorY:p="top",root:y})=>{let[w,x]=(0,g.usePresence)(c),E=(0,n.useMemo)(()=>v(e),[e]),C=c&&!w?[]:E.map(m),b=(0,n.useRef)(!0),L=(0,n.useRef)(E),M=(0,i.useConstant)(()=>new Map),P=(0,n.useRef)(new Set),[W,k]=(0,n.useState)(E),[R,S]=(0,n.useState)(E);(0,o.useIsomorphicLayoutEffect)(()=>{b.current=!1,L.current=E;for(let e=0;e<R.length;e++){let t=m(R[e]);C.includes(t)?(M.delete(t),P.current.delete(t)):!0!==M.get(t)&&M.set(t,!1)}},[R,C.length,C.join("-")]);let j=[];if(E!==W){let e=[...E];for(let t=0;t<R.length;t++){let n=R[t],r=m(n);C.includes(r)||(e.splice(t,0,n),j.push(n))}return"wait"===f&&j.length&&(e=j),S(v(e)),k(E),null}let{forceRender:H}=(0,n.useContext)(r.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:R.map(e=>{let n=m(e),r=(!c||!!w)&&(E===R||C.includes(n));return(0,t.jsx)(d,{isPresent:r,initial:(!b.current||!!l)&&void 0,custom:s,presenceAffectsLayout:u,mode:f,root:y,onExitComplete:r?void 0:()=>{if(P.current.has(n)||(P.current.add(n),!M.has(n)))return;M.set(n,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(H?.(),S(L.current),c&&x?.(),a&&a())},anchorX:h,anchorY:p,children:e},n)})})};e.s(["AnimatePresence",()=>y],88653)},10542,e=>{"use strict";let t,n;var r=e.i(86427),i=e.i(65566),o=e.i(71645),s=e.i(60830),l=e.i(87022);function a(e,t){let n,r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return l.frame.preUpdate(r,!0),()=>(0,l.cancelFrame)(r)}var u=e.i(30551),f=e.i(89026),c=e.i(49652);let h=new WeakMap,d=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:(0,f.isSVGElement)(r)&&"getBBox"in r?r.getBBox()[t]:r[n],p=d("inline","width","offsetWidth"),g=d("block","height","offsetHeight");function m({target:e,borderBoxSize:t}){h.get(e)?.forEach(n=>{n(e,{get width(){return p(e,t)},get height(){return g(e,t)}})})}function v(e){e.forEach(m)}let y=new Set;var w=e.i(83920),x=e.i(25791);let E=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),C={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function b(e,t,n,r){let i=n[t],{length:o,position:s}=C[t],l=i.current,a=n.time;i.current=e[`scroll${s}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,w.progress)(0,i.scrollLength,i.current);let u=r-a;i.velocity=u>50?0:(0,x.velocityPerSecond)(i.current-l,u)}e.i(47167);var L=e.i(44230),M=e.i(15923),P=e.i(76959),W=e.i(72846);let k={start:0,center:.5,end:1};function R(e,t,n=0){let r=0;if(e in k&&(e=k[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let S=[0,0],j=[[0,0],[1,1]],H={x:0,y:0},T=new WeakMap,V=new WeakMap,A=new WeakMap,B=new WeakMap,O=new WeakMap,z=e=>e===document.scrollingElement?window:e;function $(e,{container:r=document.scrollingElement,trackContentSize:i=!1,...o}={}){if(!r)return s.noop;let a=A.get(r);a||(a=new Set,A.set(r,a));let u=function(e,t,n,r={}){return{measure:t=>{!function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,r.target,n),b(e,"x",n,t),b(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=j}=n,{target:i=e,axis:o="y"}=n,s="y"===o?"height":"width",l=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if((0,W.isHTMLElement)(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,o=r.parentNode;for(;!i;)"svg"===o.tagName&&(i=o),o=r.parentNode;r=i}else break;return n}(i,e):H,a=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight}
9,u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let f=!t[o].interpolate,c=r.length;for(let e=0;e<c;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:S,o=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,k[e]?e:"0"]),(o=R(i[0],n,r))-R(i[1],t)}(r[e],u[s],a[s],l[o]);f||n===t[o].interpolatorOffsets[e]||(f=!0),t[o].offset[e]=n}f&&(t[o].interpolate=(0,L.interpolate)(t[o].offset,(0,M.defaultOffset)(r),{clamp:!1}),t[o].interpolatorOffsets=[...t[o].offset]),t[o].progress=(0,P.clamp)(0,1,t[o].interpolate(t[o].current))}(e,n,r)},notify:()=>t(n)}}(r,e,{time:0,x:E(),y:E()},o);if(a.add(u),!T.has(r)){let e,i=()=>{for(let e of a)e.measure(l.frameData.timestamp);l.frame.preUpdate(o)},o=()=>{for(let e of a)e.notify()},s=()=>l.frame.read(i);T.set(r,s);let u=z(r);window.addEventListener("resize",s,{passive:!0}),r!==document.documentElement&&V.set(r,"function"==typeof r?(y.add(r),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};y.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{y.delete(r),y.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(v)),(e=(0,c.resolveElements)(r)).forEach(e=>{let n=h.get(e);n||(n=new Set,h.set(e,n)),n.add(s),t?.observe(e)}),()=>{e.forEach(e=>{let n=h.get(e);n?.delete(s),n?.size||t?.unobserve(e)})})),u.addEventListener("scroll",s,{passive:!0}),s()}if(i&&!O.has(r)){let e=T.get(r),t={width:r.scrollWidth,height:r.scrollHeight};B.set(r,t);let n=l.frame.read(()=>{let n=r.scrollWidth,i=r.scrollHeight;(t.width!==n||t.height!==i)&&(e(),t.width=n,t.height=i)},!0);O.set(r,n)}let f=T.get(r);return l.frame.read(f,!1,!0),()=>{(0,l.cancelFrame)(f);let e=A.get(r);if(!e||(e.delete(u),e.size))return;let t=T.get(r);T.delete(r),t&&(z(r).removeEventListener("scroll",t),V.get(r)?.(),window.removeEventListener("resize",t));let n=O.get(r);n&&((0,l.cancelFrame)(n),O.delete(r)),B.delete(r)}}let F=new Map;function I({source:e,container:t,...n}){var r;let i,o,{axis:s}=n;e&&(t=e);let l=F.get(t)??new Map;F.set(t,l);let a=n.target??"self",f=l.get(a)??{},c=s+(n.offset??[]).join(",");return f[c]||(f[c]=!n.target&&(0,u.supportsScrollTimeline)()?new ScrollTimeline({source:t,axis:s}):(r={container:t,...n},i={value:0},o=$(e=>{i.value=100*e[r.axis].progress},r),{currentTime:i,cancel:o})),f[c]}var N=e.i(47414),U=e.i(74008);let X=()=>({scrollX:(0,r.motionValue)(0),scrollY:(0,r.motionValue)(0),scrollXProgress:(0,r.motionValue)(0),scrollYProgress:(0,r.motionValue)(0)}),Y=e=>!!e&&!e.current;function D({container:e,target:t,...n}={}){let r=(0,N.useConstant)(X),l=(0,o.useRef)(null),u=(0,o.useRef)(!1),f=(0,o.useCallback)(()=>(l.current=function(e,{axis:t="y",container:n=document.scrollingElement,...r}={}){var i,o;let l;if(!n)return s.noop;let u={axis:t,container:n,...r};return"function"==typeof e?(i=e,o=u,2===i.length?$(e=>{i(e[o.axis].progress,e)},o):a(i,I(o))):(l=I(u),e.attachTimeline({timeline:u.target?void 0:l,observe:e=>(e.pause(),a(t=>{e.time=e.iterationDuration*t},l))}))}((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{l.current?.()}),[e,t,JSON.stringify(n.offset)]);return(0,U.useIsomorphicLayoutEffect)(()=>{if(u.current=!1,!(Y(e)||Y(t)))return f();u.current=!0},[f]),(0,o.useEffect)(()=>u.current?((0,i.invariant)(!Y(e),"Container ref is defined but not hydrated","use-scroll-ref"),(0,i.invariant)(!Y(t),"Target ref is defined but not hydrated","use-scroll-ref"),f()):void 0,[f]),r}e.s(["useScroll",()=>D],10542)},58866,e=>{"use strict";var t=e.i(44230);function n(...e){let r=!Array.isArray(e[0]),i=r?0:-1,o=e[0+i],s=e[1+i],l=e[2+i],a=e[3+i],u=(0,t.interpolate)(s,l,a);return r?u(o):u}e.s(["transform",()=>n])},87652,e=>{"use strict";var t=e.i(86427),n=e.i(71645),r=e.i(37806),i=e.i(47414);function o(e){let o=(0,i.useConstant)(()=>(0,t.motionValue)(e)),{isStatic:s}=(0,n.useContext)(r.MotionConfigContext);
9if(s){let[,t]=(0,n.useState)(e);(0,n.useEffect)(()=>o.on("change",t),[])}return o}e.s(["useMotionValue",()=>o])},95420,e=>{"use strict";var t=e.i(58866),n=e.i(47414),r=e.i(87022),i=e.i(74008),o=e.i(87652);function s(e,t){let n=(0,o.useMotionValue)(t()),s=()=>n.set(t());return s(),(0,i.useIsomorphicLayoutEffect)(()=>{let t=()=>r.frame.preRender(s,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,r.cancelFrame)(s)}}),n}var l=e.i(86427);function a(e,t){let r=(0,n.useConstant)(()=>[]);return s(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}e.s(["useTransform",()=>function e(r,i,o,u){if("function"==typeof r){let e;return l.collectMotionValues.current=[],r(),e=s(l.collectMotionValues.current,r),l.collectMotionValues.current=void 0,e}if(void 0!==o&&!Array.isArray(o)&&"function"!=typeof i){var f=r,c=i,h=o,d=u;let t=(0,n.useConstant)(()=>Object.keys(h)),s=(0,n.useConstant)(()=>({}));for(let n of t)s[n]=e(f,c,h[n],d);return s}let p="function"==typeof i?i:(0,t.transform)(i,o,u);return Array.isArray(r)?a(r,p):a([r],([e])=>p(e))}],95420)},30485,e=>{"use strict";e.i(86427);var t=e.i(83352),n=e.i(83411),r=e.i(87022);function i(e,s,l={}){let a,u=e.get(),f=null,c=u,h="string"==typeof u?u.replace(/[\d.-]/g,""):void 0,d=()=>{f&&(f.stop(),f=null)};if(e.attach((n,i)=>{c=n,a=e=>{var t,n;return i((t=e,(n=h)?t+n:t))},r.frame.postRender(()=>{let n,r;d(),n=o(e.get()),n!==(r=o(c))&&(f=new t.JSAnimation({keyframes:[n,r],velocity:e.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...l,onUpdate:a})),e.events.animationStart?.notify(),f?.then(()=>{e.events.animationComplete?.notify()})})},d),(0,n.isMotionValue)(s)){let t=s.on("change",t=>{var n,r;return e.set((n=t,(r=h)?n+r:n))}),n=e.on("destroy",t);return()=>{t(),n()}}return d}function o(e){return"number"==typeof e?e:parseFloat(e)}e.s(["attachFollow",()=>i])},91994,e=>{"use strict";var t=e.i(30485),n=e.i(83411),r=e.i(71645),i=e.i(37806),o=e.i(87652),s=e.i(95420);function l(e,a={}){return function(e,l={}){let{isStatic:a}=(0,r.useContext)(i.MotionConfigContext),u=()=>(0,n.isMotionValue)(e)?e.get():e;if(a)return(0,s.useTransform)(u);let f=(0,o.useMotionValue)(u());return(0,r.useInsertionEffect)(()=>(0,t.attachFollow)(f,e,l),[f,JSON.stringify(l)]),f}(e,{type:"spring",...a})}e.s(["useSpring",()=>l],91994)},74037,e=>{e.v(t=>Promise.all(["static/chunks/ded51142a09014a8.js"].map(t=>e.l(t))).then(()=>t(46666)))},86684,e=>{e.v(t=>Promise.all(["static/chunks/49532e9453539afe.js"].map(t=>e.l(t))).then(()=>t(99609)))},84423,e=>{e.v(t=>Promise.all(["static/chunks/03f4569ba78edab9.js","static/chunks/5baa6749ba57f38b.js"].map(t=>e.l(t))).then(()=>t(3007)))},53497,e=>{e.v(t=>Promise.all(["static/chunks/1e2fab6c372a452e.js"].map(t=>e.l(t))).then(()=>t(80328)))},66069,e=>{e.v(t=>Promise.all(["static/chunks/79d19895a03e7d4f.js"].map(t=>e.l(t))).then(()=>t(97628)))},41654,e=>{e.v(t=>Promise.all(["static/chunks/03f4569ba78edab9.js","static/chunks/0c5ebd07202a6608.js"].map(t=>e.l(t))).then(()=>t(1672)))}]);

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.