PageSourceSearch

https://forgetful.vercel.app/_next/static/chunks/414-0b7cab2c211c3f15.js

js forgetful.vercel.app collected 2026-10-03 06:57:52 UTC 6,430 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[414],{8033:(e,t,a)=>{a.d(t,{A:()=>f});var r=a(95155),s=a(31112),o=a(70071),n=a(28475),l=a(12115),i=a(55267),c=a(5772),g=a(98500),d=a.n(g);function m({items:e,pathname:t}){return(0,r.jsx)(r.Fragment,{children:e.map((a,s)=>(0,r.jsx)("div",{style:{marginRight:s<e.length-1?"12px":"0"},children:(0,r.jsx)(d(),{href:a.path,children:(0,r.jsx)(i.A,{content:a.name,placement:"top",children:(0,r.jsx)("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"transparent",border:"1px solid rgba(255,255,255,0.05)",borderRadius:"35%",height:"30px",width:"30px",transition:"opacity 0.25s ease-in-out, transform 0.25s ease-in-out, border-color 0.25s ease-in-out"},className:`dot ${a.class} ${t===a.path?`${a.class}High`:""}`,onMouseEnter:e=>{t!==a.path&&(e.currentTarget.className=`dot ${a.class} ${a.class}High`)},onMouseLeave:e=>{t!==a.path&&(e.currentTarget.className=`dot ${a.class}`)},children:(0,r.jsx)(c.default,{style:{opacity:.8},src:`${a.src}.svg`,width:17,height:17,draggable:!1,alt:a.src})})})})},a.src))})}var h=a(73321),p=a(79652),u=a(64319),x=a(47647);function y({items:e,pathname:t}){return(0,r.jsx)(r.Fragment,{children:e.map((a,s)=>(0,r.jsx)("div",{style:{marginBottom:s<e.length-1?"12px":"0"},children:(0,r.jsx)(d(),{href:a.path,children:(0,r.jsx)(i.A,{content:a.name,placement:"top",children:(0,r.jsx)("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"transparent",border:"1px solid rgba(255,255,255,0.05)",borderRadius:"35%",height:"30px",width:"30px",transition:"opacity 0.25s ease-in-out, transform 0.25s ease-in-out, border-color 0.25s ease-in-out"},className:`dot ${a.class} ${t===a.path?`${a.class}High`:""}`,onMouseEnter:e=>{t!==a.path&&(e.currentTarget.className=`dot ${a.class} ${a.class}High`)},onMouseLeave:e=>{t!==a.path&&(e.currentTarget.className=`dot ${a.class}`)},children:(0,r.jsx)(c.default,{style:{opacity:.8,marginRight:"0.02px",marginBottom:"0.3px"},src:`${a.src}.svg`,width:17,height:17,draggable:!1,alt:a.src})})})})},a.src))})}function f({children:e}){let t=new x.A,[a,g]=(0,l.useState)(null),[d,f]=(0,l.useState)(!1),b=(0,h.usePathname)(),j=(0,l.useCallback)(()=>{f(!1)},[]),[C,v]=(0,l.useState)(()=>localStorage.getItem("language")||"en_EN"),[k,S]=(0,l.useState)(()=>localStorage.getItem("customColor")||"#131314"),[w,I]=(0,l.useState)(()=>(function(){let e=localStorage.getItem("themePreference"),t=localStorage.getItem("themeName");if("custom"===e){let e=localStorage.getItem("customColor"),t=localStorage.getItem("customColorRGB");if(e&&t)return{name:"custom",primary:e,color:t}}if(t){let e=o.Z.find(e=>e.name===t);if(e)return e}return o.Z[0]})()),N=e=>{if("key"in e){if("Enter"!==e.key&&" "!==e.key)return;" "===e.key&&e.preventDefault()}g(t=>t?null:e.currentTarget)},$=e=>{try{let t=document.documentElement;if(getComputedStyle(t).getPropertyValue("--card-rgb").trim()===e)return;t.style.setProperty("--card-rgb",e),localStorage.setItem("theme",e)}catch(e){console.error("Error changing theme:",e)}},E=[{name:t.get(C,"Comps.page.home"),class:"home",src:"House",path:"/"},{name:t.get(C,"Comps.page.projects"),class:"projects",src:"Folder",path:"/projects"},{name:t.get(C,"Comps.page.artwork"),class:"artwork",src:"Palette",path:"/artwork"},{name:t.get(C,"Comps.page.info"),class:"info",src:"Info",path:"/info"}];return(0,r.jsxs)(s.A,{children:[(0,r.jsx)(p.A,{}),(0,r.jsx)("div",{className:"parent center",children:(0,r.jsxs)("div",{className:"card boxes",id:"confetti-wrapper",children:[(0,r.jsxs)("div",{className:"sliderSide",children:[(0,r.jsx)(i.A,{content:t.get(C,"Comps.page.settings"),placement:"top",children:(0,r.jsx)("button",{type:"button","aria-describedby":"settings","aria-haspopup":"true","aria-expanded":!!a,onClick:N,onKeyDown:N,className:`navIconButton ${a?"dot settings settingsHigh":"dot settings"}`,children:(0,r.jsx)(c.default,{style:{opacity:.8},src:"/Gear.svg",width:17,height:17,draggable:!1,alt:"Gear settings",priority:!0})})}),(0,r.jsx)("div",{style:{display:"inline-block",width:"60%",height:"1px",backgroundColor:"rgba(255,255,255,0.05)",margin:"15px 0"}}),(0,r.jsx)(y,{items:E,pathname:b}),(0,r.jsx)(u.Ay,{id:"settings",open:!!a,anchorEl:a,onClose:()=>g(null),anchorOrigin:{vertical:"top",horizontal:"right"},PaperProps:{sx:{backgroundColor:"transparent",boxShadow:"none",backgroundImage:"none",overflow:"visible"}},children:(0,r.jsx)(o.A,{language:C,setLanguage:v,currentTheme:w,setCurrentTheme:I,customColor:k,setCustomColor:S})})]}),(0,r.jsxs)("div",{className:"hiding flexGrid center",children:[(0,r.jsx)("div",{className:"description",children:e}),(0,r.jsx)("div",{className:"hiding",style:{position:"fixed",bottom:20,left
1:"50%",transform:"translateX(-50%)",zIndex:"var(--z-nav)",isolation:"isolate"},children:(0,r.jsxs)("div",{className:"mobileSliderSide",children:[(0,r.jsx)(i.A,{content:t.get(C,"Comps.page.settings"),placement:"top",children:(0,r.jsx)("button",{type:"button","aria-describedby":"settingsM","aria-expanded":d,onClick:()=>{f(!0)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(" "===e.key&&e.preventDefault(),f(!0))},className:`navIconButton ${d?"dot settings settingsHigh":"dot settings"}`,children:(0,r.jsx)(c.default,{style:{opacity:.8},src:"/Gear.svg",width:17,height:17,draggable:!1,alt:"Gear settings",priority:!0})})}),(0,r.jsx)("div",{style:{display:"inline-block",width:"1px",height:"60%",backgroundColor:"rgba(255,255,255,0.05)",margin:"0 15px"}}),(0,r.jsx)(m,{items:E,pathname:b})]})})]})]})}),(0,r.jsx)(n.A,{open:d,onClose:j,language:C,onLanguageSwitch:(e,t)=>()=>{try{v(e),localStorage.setItem("language",e),window.dispatchEvent(new Event("storage")),t.close()}catch(e){console.error("Error switching language:",e)}},themes:o.Z,currentTheme:w,customColor:k,onThemeClick:e=>{I(e),$(e.color||"19, 19, 20"),localStorage.setItem("themePreference","default"),localStorage.setItem("themeName",e.name)},onCustomColorChange:()=>{try{var e;let t,a=(e=k,(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null);if(a){let e=`${a.r}, ${a.g}, ${a.b}`;I({name:"custom",primary:k,color:e}),$(e),localStorage.setItem("customColor",k),localStorage.setItem("customColorRGB",e),localStorage.setItem("themePreference","custom"),localStorage.removeItem("themeName")}}catch(e){console.error("Error saving custom color:",e)}}})]})}}}]);

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.