PageSourceSearch

https://arpansarkar.tech/_next/static/chunks/0489650781245288.js

js arpansarkar.tech collected 2026-10-09 22:04:55 UTC 35,005 bytes, 288 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92296,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},91762,e=>{"use strict";var t=e.i(33966);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:l="",children:s,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...a,width:n,height:n,stroke:e,strokeWidth:o?24*Number(i)/Number(n):i,className:r("lucide",l),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(s)?s:[s]])),o=(e,a)=>{let o=(0,t.forwardRef)(({className:o,...l},s)=>(0,t.createElement)(i,{ref:s,iconNode:a,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...l}));return o.displayName=n(e),o};e.s(["default",()=>o],91762)},94237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>a=>{var i;if((null==t?void 0:t.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:o,defaultVariants:l}=t,s=Object.keys(o).map(e=>{let t=null==a?void 0:a[e],n=null==l?void 0:l[e];if(null===t)return null;let i=r(t)||r(n);return o[e][i]}),c=a&&Object.entries(a).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,s,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...c}[t]):({...l,...c})[t]===r})?[...e,r,n]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}])},67443,(e,t,r)=>{t.exports=e.r(25669)},92936,e=>{"use strict";var t=e.i(73614),r=e.i(33966),n=e.i(67443);function a(){return"u">typeof window}function i(){return"production"}function o(){return"development"===((a()?window.vam:i())||"production")}function l(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function s(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function c(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0},t){var r;if(!a())return;let{beforeSend:n,src:l,dataset:c}=function(e,t){var r,n;let a=e;if(t)try{a={...null==(r=JSON.parse(t))?void 0:r.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=i();return}window.vam=e}(a.mode);let l={sdkn:"@vercel/analytics"+(a.framework?`/${a.framework}`:""),sdkv:"2.0.1"};return a.disableAutoTrack&&(l.disableAutoTrack="1"),a.viewEndpoint&&(l.viewEndpoint=s(a.viewEndpoint)),a.eventEndpoint&&(l.eventEndpoint=s(a.eventEndpoint)),a.sessionEndpoint&&(l.sessionEndpoint=s(a.sessionEndpoint)),o()&&!1===a.debug&&(l.debug="false"),a.dsn&&(l.dsn=a.dsn),a.endpoint?l.endpoint=a.endpoint:a.basePath&&(l.endpoint=s(`${a.basePath}/insights`)),{beforeSend:a.beforeSend,src:(n=a).scriptSrc?s(n.scriptSrc):o()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?s(`${n.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:l}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(r=window.va)||r.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${l}"]`))return;let u=document.createElement("script");for(let[e,t]of(u.src=l,Object.entries(c)))u.dataset[e]=t;u.defer=!0,u.onerror=()=>{let e=o()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${l}. ${e}`)},document.head.appendChild(u)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e}
1,e.configString??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function u(e){let a,i,o,{route:s,path:u}=(a=(0,n.useParams)(),i=(0,n.useSearchParams)(),o=(0,n.usePathname)(),a?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=l(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=l(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch{return e}}(o,Object.keys(a).length?a:Object.fromEntries(i.entries())),path:o}:{route:null,path:o});return r.default.createElement(c,{path:u,route:s,...e,basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),configString:function(){if(void 0!==t.default&&void 0!==t.default.env)return'{"analytics":{"scriptSrc":"cde8ef74f1ae256a/script.js","viewEndpoint":"cde8ef74f1ae256a/view","eventEndpoint":"cde8ef74f1ae256a/event","sessionEndpoint":"cde8ef74f1ae256a/session"},"speedInsights":{"scriptSrc":"801bddbd353e18d9/script.js","endpoint":"801bddbd353e18d9/vitals"}}'}(),framework:"next"})}function d(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(u,{...e}))}e.s(["Analytics",()=>d])},42092,e=>{"use strict";var t=e.i(33966),r=(e,t,r,n,a,i,o,l)=>{let s=document.documentElement,c=["light","dark"];function u(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&i?a.map(e=>i[e]||e):a;r?(s.classList.remove(...n),s.classList.add(i&&i[t]?i[t]:t)):s.setAttribute(e,t)}),r=t,l&&c.includes(r)&&(s.style.colorScheme=r)}if(n)u(n);else try{let e=localStorage.getItem(t)||r,n=o&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(n)}catch(e){}},n=["light","dark"],a="(prefers-color-scheme: dark)",i="u"<typeof window,o=t.createContext(void 0),l={setTheme:e=>{},themes:[]},s=()=>{var e;return null!=(e=t.useContext(o))?e:l},c=e=>t.useContext(o)?t.createElement(t.Fragment,null,e.children):t.createElement(d,{...e}),u=["light","dark"],d=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:i=!0,enableColorScheme:l=!0,storageKey:s="theme",themes:c=u,defaultTheme:d=i?"system":"light",attribute:v="data-theme",value:b,children:g,nonce:x,scriptProps:w})=>{let[k,y]=t.useState(()=>f(s,d)),[$,j]=t.useState(()=>"system"===k?h():k),E=b?Object.values(b):c,T=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&i&&(t=h());let a=b?b[t]:t,o=r?p(x):null,s=document.documentElement,c=e=>{"class"===e?(s.classList.remove(...E),a&&s.classList.add(a)):e.startsWith("data-")&&(a?s.setAttribute(e,a):s.removeAttribute(e))};if(Array.isArray(v)?v.forEach(c):c(v),l){let e=n.includes(d)?d:null,r=n.includes(t)?t:e;s.style.colorScheme=r}null==o||o()},[x]),C=t.useCallback(e=>{let t="function"==typeof e?e(k):e;y(t);try{localStorage.setItem(s,t)}catch(e){}},[k]),A=t.useCallback(t=>{j(h(t)),"system"===k&&i&&!e&&T("system")},[k,e]);t.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),t.useEffect(()=>{let e=e=>{e.key===s&&(e.newValue?y(e.newValue):C(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),t.useEffect(()=>{T(null!=e?e:k)},[e,k]);let z=t.useMemo(()=>({theme:k,setTheme:C,forcedTheme:e,resolvedTheme:"system"===k?$:k,themes:i?[...c,"system"]:c,systemTheme:i?$:void 0}),[k,C,e,$,i,c]);return t.createElement(o.Provider,{value:z},t.createElement(m,{forcedTheme:e,storageKey:s,attribute:v,enableSystem:i,enableColorScheme:l,defaultTheme:d,value:b,themes:c,nonce:x,scriptProps:w}),g)},m=t.memo(({forcedTheme:e,storageKey:n,attribute:a,enableSystem:i,enableColorScheme:o,defaultTheme:l,value:s,themes:c,nonce:u,scriptProps:d})=>{let m=JSON.stringify([a,n,l,e,c,s,i,o]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?u:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${m})`}})}),f=(e,t)=>{let r;if(!i){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},p=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},h=e=>
1(e||(e=window.matchMedia(a)),e.matches?"dark":"light");e.s(["ThemeProvider",()=>c,"useTheme",()=>s])},83813,e=>{"use strict";var t=e.i(71427),r=e.i(42092);function n({children:e,...n}){return(0,t.jsx)(r.ThemeProvider,{...n,children:e})}e.s(["ThemeProvider",()=>n])},71664,e=>{"use strict";var t=e.i(71427),r=e.i(33966),n=e.i(76089),a=e.i(67443),i=e.i(91762);let o=(0,i.default)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),l=(0,i.default)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);var s=e.i(69332);let c=(0,i.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),u=(0,i.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var d=e.i(97450),m=e.i(49638);let f=(0,i.default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]),p=(0,i.default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),h=(0,i.default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]),v=(0,i.default)("folder-git-2",[["path",{d:"M18 19a5 5 0 0 1-5-5v8",key:"sz5oeg"}],["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]),b=(0,i.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var g=e.i(75157);function x({children:e,onClick:r,disabled:n=!1,icon:a,isActive:i=!1,className:o}){return(0,t.jsx)("button",{className:(0,g.cn)("relative block w-full h-10 rounded-full text-center group transition-all duration-300 border-none outline-none focus:outline-none text-foreground/70 hover:text-foreground hover:bg-foreground
1/5",n&&"text-foreground/20 cursor-not-allowed hover:text-foreground/20 hover:bg-transparent",i&&"bg-foreground/10 text-[#d4a574]",o),role:"menuitem",onClick:r,disabled:n,children:(0,t.jsxs)("span",{className:"flex items-center justify-center h-full",children:[a&&(0,t.jsx)("span",{className:"h-5 w-5 transition-transform duration-300 group-hover:scale-110 group-active:scale-95",children:a}),e]})})}function w({children:e}){let[n,a]=(0,r.useState)(!1),i=r.default.Children.toArray(e);return(0,t.jsxs)("div",{className:"relative w-10","data-expanded":n,children:[(0,t.jsxs)("div",{className:"relative flex flex-col-reverse items-center",children:[(0,t.jsx)("div",{className:`relative z-50 flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border-none outline-none transition-all duration-300 will-change-transform focus:outline-none
2            bg-background shadow-sm
3            ${n?"text-foreground shadow-lg scale-105":"text-foreground/60 hover:text-foreground hover:bg-foreground/5"}`,onClick:()=>{a(!n)},children:(0,t.jsx)("div",{className:`transition-transform duration-500 ${n?"rotate-90 scale-110":"rotate-0"}`,children:i[0]})}),i.slice(1).map((e,r)=>(0,t.jsx)("div",{className:"absolute bottom-0 left-0 flex h-10 w-10 items-center justify-center rounded-full border-none bg-background shadow-md outline-none transition-all duration-300 will-change-transform hover:-translate-y-0.5 hover:bg-foreground
3/5 focus:outline-none",style:{transform:`translateY(${n?-(46*(r+1)):0}px)`,opacity:+!!n,zIndex:40-r,transition:`transform ${n?"500ms":"300ms"} cubic-bezier(0.4, 0, 0.2, 1),
4                         opacity ${n?"300ms":"350ms"}`,backfaceVisibility:"hidden"},children:e},r))]}),n&&(0,t.jsx)("div",{className:"fixed inset-0 z-30",onClick:()=>a(!1)})]})}var k=e.i(42092);e.i(59544);let y=e=>{switch(e){case"top-left":return{cx:"0",cy:"0"};case"top-right":return{cx:"40",cy:"0"};case"bottom-left":return{cx:"0",cy:"40"};case"bottom-right":return{cx:"40",cy:"40"};case"top-center":return{cx:"20",cy:"0"};case"bottom-center":return{cx:"20",cy:"40"};case"bottom-up":case"top-down":case"left-right":case"right-left":return{cx:"20",cy:"20"}}};function $(e,t="center",r=!1,n){let a=((e,t)=>{if("circle-blur"===e){if("center"===t)return'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><filter id="blur"><feGaussianBlur stdDeviation="2"/></filter></defs><circle cx="20" cy="20" r="18" fill="white" filter="url
4(%23blur)"/></svg>';let e=y(t);if(!e)throw Error(`Invalid start position: ${t}`);let{cx:r,cy:n}=e;return`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><defs><filter id="blur"><feGaussianBlur stdDeviation="2"/></filter></defs><circle cx="${r}" cy="${n}" r="18" fill="white" filter="url(%23blur)"/></svg>`}if("center"===t)return;if("rectangle"===e)return"";let r=y(t);if(!r)throw Error(`Invalid start position: ${t}`);let{cx:n,cy:a}=r;return"circle"===e?`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><circle cx="${n}" cy="${a}" r="20" fill="white"/></svg>`:""})(e,t),i=(e=>{switch(e){case"top-left":return"top left";case"top-right":return"top right";case"bottom-left":return"bottom left";case"bottom-right":return"bottom right";case"top-center":return"top center";case"bottom-center":return"bottom center";case"bottom-up":case"top-down":case"left-right":case"right-left":return"center"}})(t);if("rectangle"===e){let n=(e=>{switch(e){case"bottom-up":default:return{from:"polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"top-down":return{from:"polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"left-right":return{from:"polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"right-left":return{from:"polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"top-left":return{from:"polygon(0% 0%, 0% 0%, 0% 0%, 0% 0%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"top-right":return{from:"polygon(100% 0%, 100% 0%, 100% 0%, 100% 0%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"bottom-left":return{from:"polygon(0% 100%, 0% 100%, 0% 100%, 0% 100%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"};case"bottom-right":return{from:"polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%)",to:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"}}})(t);return{name:`${e}-${t}${r?"-blur":""}`,css:`
5       ::view-transition-group(root) {
6        animation-duration: 0.45s;
7        animation-timing-function: var(--expo-out);
8      }
9            
10      ::view-transition-new(root) {
11        animation-name: reveal-light-${t}${r?"-blur":""};
12        ${r?"filter: blur(2px);":""}
13      }
14
15      ::view-transition-old(root),
16      .dark::view-transition-old(root) {
17        animation: none;
18        z-index: -1;
19      }
20      .dark::view-transition-new(root) {
21        animation-name: reveal-dark-${t}${r?"-blur":""};
22        ${r?"filter: blur(2px);":""}
23      }
24
25      @keyframes reveal-dark-${t}${r?"-blur":""} {
26        from {
27          clip-path: ${n.from};
28          ${r?"filter: blur(8px);":""}
29        }
30        ${r?"50% { filter: blur(4px); }":""}
31        to {
32          clip-path: ${n.to};
33          ${r?"filter: blur(0px);":""}
34        }
35      }
36
37      @keyframes reveal-light-${t}${r?"-blur":""} {
38        from {
39          clip-path: ${n.from};
40          ${r?"filter: blur(8px);":""}
41        }
42        ${r?"50% { filter: blur(4px); }":""}
43        to {
44          clip-path: ${n.to};
45          ${r?"filter: blur(0px);":""}
46        }
47      }
48      `}}if("circle"===e&&"center"==t)return{name:`${e}-${t}${r?"-blur":""}`,css:`
49       ::view-transition-group(root) {
50        animation-duration: 0.45s;
51        animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
52      }
53            
54      ::view-transition-new(root) {
55        animation-name: reveal-light${r?"-blur":""};
56        ${r?"filter: blur(2px);":""}
57      }
58
59      ::view-transition-old(root),
60      .dark::view-transition-old(root) {
61        animation: none;
62        z-index: -1;
63      }
64      .dark::view-transition-new(root) {
65        animation-name: reveal-dark${r?"-blur":""};
66        ${r?"filter: blur(2px);":""}
67      }
68
69      @keyframes reveal-dark${r?"-blur":""} {
70        from {
71          clip-path: circle(0% at 50% 50%);
72          ${r?"filter: blur(8px);":""}
73        }
74        ${r?"50% { filter: blur(4px); }":""}
75        to {
76          clip-path: circle(100.0% at 50% 50%);
77          ${r?"filter: blur(0px);":""}
78        }
79      }
80
81      @keyframes reveal-light${r?"-blur":""} {
82        from {
83           clip-path: circle(0% at 50% 50%);
84           ${r?"filter: blur(8px);":""}
85        }
86        ${r?"50% { filter: blur(4px); }":""}
87        to {
88          clip-path: circle(100.0% at 50% 50%);
89          ${r?"filter: blur(0px);":""}
90        }
91      }
92      `};if("gif"===e)return{name:`${e}-${t}`,css:`
93      ::view-transition-group(root) {
94  animation-timing-function: var(--expo-in);
95}
96
97::view-transition-new(root) {
98  mask: url('${n}') center / 0 no-repeat;
99  animation: scale 3s;
100}
101
102::view-transition-old(root),
103.dark::view-transition-old(root) {
104  animation: scale 3s;
105}
106
107@keyframes scale {
108  0% {
109    mask-size: 0;
110  }
111  10% {
112    mask-size: 50vmax;
113  }
114  90% {
115    mask-size: 50vmax;
116  }
117  100% {
118    mask-size: 2000vmax;
119  }
120}`};if("circle-blur"===e)return"center"===t?{name:`${e}-${t}`,css:`
121        ::view-transition-group(root) {
122          animation-timing-function: var(--expo-out);
123        }
124
125        ::view-transition-new(root) {
126          mask: url('${a}') center / 0 no-repeat;
127          mask-origin: content-box;
128          animation: scale 0.6s;
129          transform-origin: center;
130        }
131
132        ::view-transition-old(root),
133        .dark::view-transition-old(root) {
134          animation: scale 0.6s;
135          transform-origin: center;
136          z-index: -1;
137        }
138
139        @keyframes scale {
140          to {
141            mask-size: 350vmax;
142          }
143        }
144        `}:{name:`${e}-${t}`,css:`
145      ::view-transition-group(root) {
146        animation-timing-function: var(--expo-out);
147      }
148
149      ::view-transition-new(root) {
150        mask: url('${a}') ${t.replace("-"," ")} / 0 no-repeat;
151        mask-origin: content-box;
152        animation: scale 0.6s;
153        transform-origin: ${i};
154      }
155
156      ::view-transition-old(root),
157      .dark::view-transition-old(root) {
158        animation: scale 0.6s;
159        transform-origin: ${i};
160        z-index: -1;
161      }
162
163      @keyframes scale {
164        to {
165          mask-size: 350vmax;
166        }
167      }
168      `};if("polygon"===e){let n=(e=>{switch(e){case"top-left":default:return{darkFrom:"polygon(50% -71%, -50% 71%, -50% 71%, 50% -71%)",darkTo:"polygon(50% -71%, -50% 71%, 50% 171%, 171% 50%)",lightFrom:"polygon(171% 50%, 50% 171%, 50% 171%, 171% 50%)",lightTo:"polygon(171% 50%, 50% 171%, -50% 71%, 50% -71%)"};case"top-right":return{darkFrom:"polygon(150% -71%, 250% 71%, 250% 71%, 150% -71%)",darkTo:"polygon(150% -71%, 250% 71%, 50% 171%, -71% 50%)",lightFrom:"polygon(-71% 50%, 50% 171%, 50% 171%, -71% 50%)",lightTo:"polygon(-71% 50%, 50% 171%, 250% 71%, 150% -71%)"}}})(t);return{name:`${e}-${t}${r?"-blur":""}`,css:`
169      ::view-transition-group(root) {
170        animation-duration: 0.45s;
171        animation-timing-function: var(--expo-out);
172      }
173            
174      ::view-transition-new(root) {
175        animation-name: reveal-light-${t}${r?"-blur":""};
176        ${r?"filter: blur(2px);":""}
177      }
178
179      ::view-transition-old(root),
180      .dark::view-transition-old(root) {
181        animation: none;
182        z-index: -1;
183      }
184      .dark::view-transition-new(root) {
185        animation-name: reveal-dark-${t}${r?"-blur":""};
186        ${r?"filter: blur(2px);":""}
187      }
188
189      @keyframes reveal-dark-${t}${r?"-blur":""} {
190        from {
191          clip-path: ${n.darkFrom};
192          ${r?"filter: blur(8px);":""}
193        }
194        ${r?"50% { filter: blur(4px); }":""}
195        to {
196          clip-path: ${n.darkTo};
197          ${r?"filter: blur(0px);":""}
198        }
199      }
200
201      @keyframes reveal-light-${t}${r?"-blur":""} {
202        from {
203          clip-path: ${n.lightFrom};
204          ${r?"filter: blur(8px);":""}
205        }
206        ${r?"50% { filter: blur(4px); }":""}
207        to {
208          clip-path: ${n.lightTo};
209          ${r?"filter: blur(0px);":""}
210        }
211      }
212      `}}if("circle"===e&&"center"!==t){let n=(e=>{switch(e){case"top-left":return"0% 0%";case"top-right":return"100% 0%";case"bottom-left":return"0% 100%";case"bottom-right":return"100% 100%";case"top-center":return"50% 0%";case"bottom-center":return"50% 100%";default:return"50% 50%"}})(t);return{name:`${e}-${t}${r?"-blur":""}`,css:`
213       ::view-transition-group(root) {
214        animation-duration: 0.6s;
215        animation-timing-function: var(--expo-out);
216      }
217            
218      ::view-transition-new(root) {
219        animation-name: reveal-light-${t}${r?"-blur":""};
220        ${r?"filter: blur(2px);":""}
221      }
222
223      ::view-transition-old(root),
224      .dark::view-transition-old(root) {
225        animation: none;
226        z-index: -1;
227      }
228      .dark::view-transition-new(root) {
229        animation-name: reveal-dark-${t}${r?"-blur":""};
230        ${r?"filter: blur(2px);":""}
231      }
232
233      @keyframes reveal-dark-${t}${r?"-blur":""} {
234        from {
235          clip-path: circle(0% at ${n});
236          ${r?"filter: blur(8px);":""}
237        }
238        ${r?"50% { filter: blur(4px); }":""}
239        to {
240          clip-path: circle(150.0% at ${n});
241          ${r?"filter: blur(0px);":""}
242        }
243      }
244
245      @keyframes reveal-light-${t}${r?"-blur":""} {
246        from {
247           clip-path: circle(0% at ${n});
248           ${r?"filter: blur(8px);":""}
249        }
250        ${r?"50% { filter: blur(4px); }":""}
251        to {
252          clip-path: circle(150.0% at ${n});
253          ${r?"filter: blur(0px);":""}
254        }
255      }
256      `}}return{name:`${e}-${t}${r?"-blur":""}`,css:`
257      ::view-transition-group(root) {
258        animation-timing-function: var(--expo-in);
259      }
260      ::view-transition-new(root) {
261        mask: url('${a}') ${t.replace("-"," ")} / 0 no-repeat;
262        mask-origin: content-box;
263        animation: scale-${t}${r?"-blur":""} 0.6s;
264        transform-origin: ${i};
265        ${r?"filter: blur(2px);":""}
266      }
267      ::view-transition-old(root),
268      .dark::view-transition-old(root) {
269        animation: scale-${t}${r?"-blur":""} 0.6s;
270        transform-origin: ${i};
271        z-index: -1;
272      }
273      @keyframes scale-${t}${r?"-blur":""} {
274        from {
275          ${r?"filter: blur(8px);":""}
276        }
277        ${r?"50% { filter: blur(4px); }":""}
278        to {
279          mask-size: 2000vmax;
280          ${r?"filter: blur(0px);":""}
281        }
282      }
283    `}}var j=e.i(21168),E=e.i(84053);function T(){return(0,t.jsx)("div",{className:"hidden h-5 w-px shrink-0 rounded-full bg-border-subtle/60 sm:block"})}let C=r.default.memo(({id:e,label:r,href:a,external:i,onClick:o,isActive:l,isHovered:s,onHover:c,children:u})=>{let d=`
284    relative flex items-center justify-center h-10 w-10 transition-all duration-300 ease-out
285    cursor-pointer select-none border-none outline-none focus:outline-none
286    ${l?"bg-[#f8ede0] dark:bg-accent/15 rounded-[14px]":s?"bg-foreground
286/5 hover:bg-foreground/5 rounded-full -translate-y-0.5":"bg-transparent rounded-full"}
287    ${l?"text-accent-ink":s?"text-foreground":"text-muted"}
288  `,m=(0,t.jsxs)("div",{className:`absolute -top-10 left-1/2 -translate-x-1/2 px-2.5 py-1 rounded-lg bg-surface/95 backdrop-blur-md border border-border-subtle text-foreground text-[10px] font-semibold whitespace-nowrap pointer-events-none shadow-xl transition-all duration-200 ${s?"opacity-100 translate-y-0":"opacity-0 translate-y-1"}`,children:[r,(0,t.jsx)("div",{className:"absolute top-full left-1/2 -translate-x-1/2 -mt-px",children:(0,t.jsx)("div",{className:"w-2 h-2 bg-surface/95 rotate-45 border-r border-b border-border-subtle"})})]}),f=l&&(0,t.jsx)("span",{className:"absolute -bottom-1.5 left-1/2 -translate-x-1/2 w-1 h-1 rounded-full bg-accent"}),p=(0,t.jsxs)(t.Fragment,{children:[m,f,(0,t.jsx)("span",{className:`transition-all duration-300 ${s?"scale-105":""}`,children:u})]}),h={onMouseEnter:()=>c(e),onMouseLeave:()=>c(null),onFocus:()=>c(e),onBlur:()=>c(null)},v="focus-visible:ring-2 focus-visible:ring-accent/60";return a?(0,t.jsx)(n.default,{href:a,"aria-label":r,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,className:`rounded-full outline-none ${v}`,...h,children:(0,t.jsx)("div",{className:d,onClick:o,children:p})}):(0,t.jsx)("button",{type:"button","aria-label":r,className:`${d} ${v}`,onClick:o,...h,children:p})});C.displayName="DockBtn";let A=[{id:"home",label:"Home",href:"/",icon:(0,t.jsx)(f,{size:17,strokeWidth:2})},{id:"projects",label:"Projects",href:"/projects",icon:(0,t.jsx)(v,{size:17,strokeWidth:2})},{id:"blog",label:"Blog",href:"/blog",icon:(0,t.jsx)(p,{size:17,strokeWidth:2})},{id:"contact",label:"Let's Talk",href:"/#contact",icon:(0,t.jsx)(h,{size:17,strokeWidth:2})}],z=[{id:"github",label:"GitHub",href:"https://github.com/arpan7sarkar",icon:(0,t.jsx)(o,{size:18,strokeWidth:1.8})},{id:"linkedin",label:"LinkedIn",href:"https://linkedin.com/in/arpan7sarkar",icon:(0,t.jsx)(l,{size:18,strokeWidth:1.8})},{id:"twitter",label:"Twitter / X",href:"https://twitter.com/arpan7sarkar",icon:(0,t.jsx)("svg",{className:"w-[18px] h-[18px]",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{id:"email",label:"Email",href:"mailto:[email protected]",icon:(0,t.jsx)(d.Mail,{size:18,strokeWidth:1.8})}];function N(){let e=(0,a.usePathname)(),{isDark:n,toggleTheme:i}=(({variant:e="circle",start:t="center",blur:n=!1,gifUrl:a=""}={})=>{let{theme:i,setTheme:o,resolvedTheme:l}=(0,k.useTheme)(),s="theme-transition-styles",c=(0,r.useCallback)(e=>{let t=document.getElementById(s);t||((t=document.createElement("style")).id=s,document.head.appendChild(t)),t.textContent=e},[]),u=(0,r.useCallback)(r=>{r?.stopPropagation(),c($(e,t,n,a).css);let l=()=>{o("light"===i?"dark":"light")};document.startViewTransition?document.startViewTransition(l):l()},[i,o,e,t,n,a,c]);return{isDark:"dark"===l,toggleTheme:u,setCrazyLightTheme:(0,r.useCallback)(()=>{c($(e,t,n,a).css);let r=()=>{o("light")};document.startViewTransition?document.startViewTransition(r):r()},[o,e,t,n,a,c]),setCrazyDarkTheme:(0,r.useCallback)(()=>{c($(e,t,n,a).css);let r=()=>{o("dark")};document.startViewTransition?document.startViewTransition(r):r()},[o,e,t,n,a,c])}})({variant:"circle",start:"bottom-right"}),[o,l]=(0,r.useState)(null),[d,f]=(0,r.useState)(!1),[p,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=requestAnimationFrame(()=>h(!0));return()=>cancelAnimationFrame(e)},[]);let v=(0,r.useCallback)(e=>l(e),[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none fixed inset-x-0 bottom-0 z-40 h-28 bg-gradient-to-t from-background via-background/80 to-transparent sm:hidden"}),(0,t.jsx)("div",{className:"fixed bottom-4 left-1/2 z-50 w-full max-w-[calc(100vw-1rem)] -translate-x-1/2 px-2 sm:bottom-5 sm:max-w-fit sm:px-0",children:(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)("div",{className:`mx-auto flex w-fit max-w-full items-center gap-1 rounded-full border border-border-subtle bg-background/90 px-2.5 py-2 shadow-2xl shadow-black/15 backdrop-blur-xl transition-all duration-300 ease-out sm:px-3 ${o?"sm:scale-[1.02]":"scale-100"}`,children:[A.map(r=>(0,t.jsx)(C,{id:r.id,label:r.label,href:r.href,isActive:"contact"!==r.id&&("/"===r.href?"/"===e:e?.startsWith(r.href)),isHovered:o===r.id,onHover:v,onClick:"contact"===r.id&&"/"===e?e=>{e.preventDefault();let t=document.getElementById("contact");t&&t.scrollIntoView({behavior:"smooth"})}:void 0,children:r.icon},r.id)),(0,t.jsx)(T,{}),(0,t.jsx)(C,{id:"resume",label:"Resume",onClick:()=>f(!0),isHovered:"resume"===o,onHover:v,children:(0,t.jsx)(s.FileText,{size:17,strokeWidth:2})}),(0,t.jsx)(T,{}),(0,t.jsx)(C,{id:"theme",label:p?n?"Light Mode":"Dark Mode":"Toggle Theme",onClick:i,isHovered:"theme"===o,onHover:v,children:p&&n?(0,t.jsx)(u,{size:17,strokeWidth:2}):(0,t.jsx)(c,{size:17,strokeWidth:2})}),(0,t.jsx)(T,{}),(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsxs)(w,{children:[(0,t.jsxs)("div",{className:"relative w-5 h-5 flex items-center justify-center",children:[(0,t.jsx)("div",{className:"absolute inset-0 transition-all duration-300 ease-in-out origin-center [div[data-expanded=true]_&]:opacity-0 [div[data-expanded=true]_&]:scale-0 [div[data-expanded=true]_&]:rotate-180",children:(0,t.jsx)(b,{size:20,strokeWidth:2.2})}),(0,t.jsx)("div",{className:"absolute inset-0 transition-all duration-300 ease-in-out origin-center opacity-0 scale-0 -rotate-180 [div[data-expanded=true]_&]:opacity-100 [div[data-expanded=true]_&]:scale-100 [div[data-expanded=true]_&]:rotate-0",children:(0,t.jsx)(m.X,{size:20,strokeWidth:2.2})})]}),z.map(e=>(0,t.jsx)(x,{icon:e.icon,onClick:()=>window.open(e.href,"_blank")},e.id))]})})]})})}),(0,t.jsx)(E.ResumeModal,{isOpen:d,onClose:()=>f(!1),resumeUrl:j.heroConfig.resumeLink})]})}function S(){return(0,t.jsx)(N,{})}e.s(["Navbar",()=>S],71664)},69220,e=>{"use strict";var t=e.i(71427),r=e.i(33966),n=e.i(42092);e.s(["default",0,({sparkColor:e,sparkSize:a=8,sparkRadius:i=15,sparkCount:o=10,duration:l=500,easing:s="ease-
288out",extraScale:c=1,children:u})=>{let{resolvedTheme:d}=(0,n.useTheme)(),m=(0,r.useRef)(null),f=(0,r.useRef)([]),p=(0,r.useMemo)(()=>e||("dark"===d?"#dadada":"#000"),[e,d]);(0,r.useEffect)(()=>{let e,t=m.current;if(!t)return;let r=t.parentElement;if(!r)return;let n=()=>{let{width:e,height:n}=r.getBoundingClientRect();(t.width!==e||t.height!==n)&&(t.width=e,t.height=n)},a=new ResizeObserver(()=>{clearTimeout(e),e=setTimeout(n,100)});return a.observe(r),n(),()=>{a.disconnect(),clearTimeout(e)}},[]);let h=(0,r.useRef)(!1),v=(0,r.useRef)(0),b=(0,r.useRef)(()=>{}),g=(0,r.useCallback)(e=>{switch(s){case"linear":return e;case"ease-in":return e*e;case"ease-in-out":return e<.5?2*e*e:-1+(4-2*e)*e;default:return e*(2-e)}},[s]),x=(0,r.useCallback)(e=>{let t=m.current;if(!t)return;let r=t.getContext("2d");r&&(r.clearRect(0,0,t.width,t.height),f.current=f.current.filter(t=>{let n=e-t.startTime;if(n>=l)return!1;let o=g(n/l),s=o*i*c,u=a*(1-o),d=t.x+s*Math.cos(t.angle),m=t.y+s*Math.sin(t.angle),f=t.x+(s+u)*Math.cos(t.angle),h=t.y+(s+u)*Math.sin(t.angle);return r.strokeStyle=p,r.lineWidth=1.5,r.beginPath(),r.moveTo(d,m),r.lineTo(f,h),r.stroke(),!0}),f.current.length>0?v.current=requestAnimationFrame(e=>b.current(e)):h.current=!1)},[p,a,i,l,g,c]);(0,r.useEffect)(()=>{b.current=x},[x]);let w=(0,r.useCallback)(e=>{let t=m.current;if(!t)return;let r=t.getBoundingClientRect(),n=e.clientX-r.left,a=e.clientY-r.top,i=performance.now(),l=Array.from({length:o},(e,t)=>({x:n,y:a,angle:2*Math.PI*t/o,startTime:i}));f.current.push(...l),h.current||(h.current=!0,v.current=requestAnimationFrame(e=>b.current(e)))},[o]);return(0,r.useEffect)(()=>()=>{cancelAnimationFrame(v.current)},[]),(0,t.jsxs)("div",{className:"relative min-h-screen w-full",onClick:w,children:[(0,t.jsx)("canvas",{ref:m,className:"pointer-events-none absolute inset-0 z-[9999] h-full w-full"}),u]})}])},10176,e=>{"use strict";var t=e.i(33966),r=e.i(67443);function n(){let n=(0,r.usePathname)(),a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{if(window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches)return;let t=!1;return(async()=>{let{default:r}=await e.A(9582);t||(a.current?.destroy(),a.current=new r)})(),()=>{t=!0,a.current?.destroy(),a.current=null}},[]),(0,t.useEffect)(()=>{a.current?.resize()},[n]),null}e.s(["LocomotiveScrollInit",()=>n])},31209,e=>{"use strict";var t=e.i(71427);function r({side:e,className:r="",topOffset:n="0"}){return(0,t.jsx)("div",{className:`absolute ${"left"===e?"left-0":"right-0"} hidden h-full w-[60px] overflow-hidden sm:block ${r}`,style:{top:n},children:(0,t.jsx)("div",{className:"absolute inset-0 h-full w-[60px] border border-[#000]/70 opacity-[0.06] dark:border-[#eee] dark:opacity-[0.04]",style:{backgroundImage:"repeating-linear-gradient(-45deg, transparent, transparent 2px, currentcolor 2px, currentcolor 3px, transparent 3px, transparent 6px)"}})})}e.s(["default",()=>r])},9582,e=>{e.v(t=>Promise.all(["static/chunks/c7b1762267c74678.js"].map(t=>e.l(t))).then(()=>t(30492)))}]);

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.