PageSourceSearch

https://ganeshjoshi.dev/_next/static/chunks/6891.891becd0e278b3a6.js

js ganeshjoshi.dev collected 2026-10-02 01:54:51 UTC 7,010 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6891],{51508:(e,t,a)=>{a.d(t,{Q:()=>r});let r=(0,a(12115).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},55206:(e,t,a)=>{a.d(t,{GJLogoLoader:()=>l});var r=a(95155),n=a(12115),o=a(90086),i=a(98525),s=a(93419);function l(e){let{variant:t,animationDuration:a=2e3}=e,l=(0,i.I)(),c="preloader"===t,d=c?.9:.6,[u,f]=(0,n.useState)("draw");(0,n.useEffect)(()=>{if(l)return void f("glow");let e=setTimeout(()=>f("glow"),1e3*d+80);return()=>clearTimeout(e)},[d,l]);let g=c?72:44;return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-5",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(o.P.div,{initial:{opacity:0,scale:.6},animate:"glow"===u?{opacity:[0,.8,.4,.8],scale:[.8,1.1,1,1.1]}:{},transition:"glow"===u?{duration:2.4,repeat:1/0,ease:"easeInOut"}:{duration:.4},className:"absolute inset-0 -m-5 rounded-full pointer-events-none",style:{background:"radial-gradient(circle, rgba(var(--accent-rgb),0.18) 0%, transparent 70%)",filter:"blur(10px)"}}),(0,r.jsxs)("svg",{width:g,height:g,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative z-10",children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"gj-loader-grad-".concat(t),x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:"var(--accent)"}),(0,r.jsx)("stop",{offset:"100%",stopColor:"var(--accent-secondary)"})]}),(0,r.jsxs)("filter",{id:"gj-loader-glow-".concat(t),children:[(0,r.jsx)("feGaussianBlur",{stdDeviation:"1.5",result:"blur"}),(0,r.jsxs)("feMerge",{children:[(0,r.jsx)("feMergeNode",{in:"blur"}),(0,r.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})]}),(0,r.jsx)("path",{d:"M 25.8 9.6 H 11.4 C 7.4 9.6 4.2 12.8 4.2 16.8 V 31.2 C 4.2 35.2 7.4 38.4 11.4 38.4 H 25.8 C 29.8 38.4 33 35.2 33 31.2 V 24 H 18.6",stroke:"url(#gj-loader-grad-".concat(t,")"),strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",filter:"glow"===u?"url(#gj-loader-glow-".concat(t,")"):void 0,style:{strokeDasharray:130,strokeDashoffset:130*!l,animation:l?void 0:"preloaderDrawG ".concat(d,"s cubic-bezier(0.65, 0, 0.35, 1) forwards")}}),(0,r.jsx)("path",{d:"M 43.8 9.6 V 31.2 C 43.8 35.2 40.6 38.4 36.6 38.4 H 34.8",stroke:"url(#gj-loader-grad-".concat(t,")"),strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",filter:"glow"===u?"url(#gj-loader-glow-".concat(t,")"):void 0,style:{strokeDasharray:52,strokeDashoffset:52*!l,animation:l?void 0:"preloaderDrawJ ".concat(.5*d,"s cubic-bezier(0.65, 0, 0.35, 1) ").concat(.35*d,"s forwards")}})]})]}),c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.P.div,{initial:{opacity:0,y:10},animate:"glow"===u?{opacity:1,y:0}:{},transition:{duration:.4*!l,ease:s.l.easeOutExpo},className:"text-center",children:(0,r.jsxs)("span",{className:"text-lg font-bold text-white tracking-tight",children:[(0,r.jsx)("span",{className:"bg-gradient-to-r from-accent to-accent-secondary bg-clip-text text-transparent",children:"Ganesh"})," ",(0,r.jsx)("span",{className:"text-white/90",children:"Joshi"})]})}),(0,r.jsx)("div",{className:"flex flex-col items-center gap-2.5",children:(0,r.jsx)("div",{className:"relative w-40 h-[2px] bg-slate-800/80 rounded-full overflow-hidden",children:(0,r.jsx)(o.P.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:l?0:a/1e3,ease:[.4,0,.2,1]},className:"h-full origin-left rounded-full",style:{background:"linear-gradient(90deg, var(--accent), var(--accent-secondary))"}})})})]}),!c&&(0,r.jsx)("div",{className:"w-12 h-0.5 rounded-full bg-slate-700/50 overflow-hidden",children:(0,r.jsx)("div",{className:"h-full w-1/2 roun
1ded-full",style:{background:"linear-gradient(90deg, transparent, var(--accent), transparent)",animation:"transitionShimmer 1.2s ease-in-out infinite"}})})]})}},82885:(e,t,a)=>{a.d(t,{M:()=>n});var r=a(12115);function n(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},90651:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var r=a(95155),n=a(12115),o=a(90086),i=a(55206),s=a(93419);function l(e){let{stage:t}=e,[a,l]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(l(!1),"cover"===t){let e=setTimeout(()=>l(!0),400);return()=>clearTimeout(e)}},[t]);let c="cover"===t;return(0,r.jsxs)("div",{className:"fixed inset-0 z-[9999] pointer-events-auto w-screen h-screen overflow-hidden","aria-hidden":"true",children:[(0,r.jsx)(o.P.div,{initial:{opacity:0},animate:{opacity:.95*!!c},transition:{duration:.4,delay:.2},className:"absolute inset-0 bg-slate-950/95 backdrop-blur-sm"}),[{top:"20%",from:"left",delay:0},{top:"50%",from:"right",delay:.1},{top:"80%",from:"left",delay:.2}].map((e,t)=>{let a="left"===e.from;return(0,r.jsx)(o.P.div,{initial:{scaleX:0},animate:{scaleX:+!!c},style:{top:e.top,transformOrigin:a?"left":"right",background:"linear-gradient(90deg, var(--accent), var(--accent-secondary))",boxShadow:"0 0 20px var(--accent)"},transition:{duration:.5,delay:c?e.delay:.25-e.delay,ease:s.l.easeOutExpo},className:"absolute left-0 right-0 h-4 md:h-6 z-10"},"horiz-".concat(t))}),[{left:"20%",from:"top",delay:.05},{left:"50%",from:"bottom",delay:.15},{left:"80%",from:"top",delay:.25}].map((e,t)=>{let a="top"===e.from;return(0,r.jsx)(o.P.div,{initial:{scaleY:0},animate:{scaleY:+!!c},style:{left:e.left,transformOrigin:a?"top":"bottom",background:"linear-gradient(180deg, var(--accent), var(--accent-secondary))",boxShadow:"0 0 20px var(--accent-secondary)"},transition:{duration:.5,delay:c?e.delay:.25-e.delay,ease:s.l.easeOutExpo},className:"absolute top-0 bottom-0 w-4 md:w-6 z-10"},"vert-".concat(t))}),c&&(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center z-20 transition-opacity duration-300",style:{opacity:+!!a},children:(0,r.jsx)(i.GJLogoLoader,{variant:"transition"})})]})}},93419:(e,t,a)=>{a.d(t,{l:()=>r});let r={smooth:[.25,.1,.25,1],bounce:[.68,-.55,.265,1.55],snappy:[.77,0,.175,1],easeOutExpo:[.16,1,.3,1],easeInOutCubic:[.65,0,.35,1],easeOutQuart:[.25,1,.5,1]}},95500:(e,t,a)=>{a.d(t,{J:()=>s,D:()=>i});let r=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function n(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r.has(e)}let o=e=>!n(e);function i(e){"function"==typeof e&&(o=t=>t.startsWith("on")?!n(t):e(t))}try{i(require("@emotion/is-prop-valid").default)}catch(e){}function s(e,t,a){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(o(i)||!0===a&&n(i)||!t&&!n(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}}}]);

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.