PageSourceSearch

https://www.yung.studio/_next/static/chunks/app/layout-9c62636b223…?dpl=dpl_i8GmwKGv5tBDf5whk7n96rLYKYcx

js yung.studio collected 2026-10-04 13:30:44 UTC 12,665 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{33383:function(e,t,n){Promise.resolve().then(n.bind(n,70272)),Promise.resolve().then(n.bind(n,16063)),Promise.resolve().then(n.bind(n,33350)),Promise.resolve().then(n.bind(n,95082)),Promise.resolve().then(n.t.bind(n,72625,23)),Promise.resolve().then(n.bind(n,66671)),Promise.resolve().then(n.bind(n,45801)),Promise.resolve().then(n.bind(n,60803)),Promise.resolve().then(n.bind(n,60575)),Promise.resolve().then(n.bind(n,48050)),Promise.resolve().then(n.bind(n,34582)),Promise.resolve().then(n.bind(n,74267)),Promise.resolve().then(n.bind(n,85515)),Promise.resolve().then(n.bind(n,35544)),Promise.resolve().then(n.bind(n,20185)),Promise.resolve().then(n.bind(n,11367)),Promise.resolve().then(n.bind(n,56357)),Promise.resolve().then(n.bind(n,55846)),Promise.resolve().then(n.bind(n,68700)),Promise.resolve().then(n.bind(n,96645)),Promise.resolve().then(n.bind(n,7434)),Promise.resolve().then(n.bind(n,18094)),Promise.resolve().then(n.bind(n,36857)),Promise.resolve().then(n.t.bind(n,83950,23)),Promise.resolve().then(n.t.bind(n,22147,23)),Promise.resolve().then(n.t.bind(n,30402,23)),Promise.resolve().then(n.t.bind(n,97503,23))},66671:function(e,t,n){"use strict";n.d(t,{Header:function(){return p}});var r=n(27573),i=n(36857),l=n(81695),a=n(7653),s=n(53528),o=n(98882),u=n(13918),c=n(45801),d=n(50294);function h(e){let{links:t}=e;return t&&0!==t.length?(0,r.jsx)("ul",{"aria-label":"Social links",className:"flex items-center gap-2.5",children:t.map((e,t)=>{var n,l,a,s,o,u,c,h,m,f;let v=null===(l=e.icon)||void 0===l?void 0:null===(n=l.asset)||void 0===n?void 0:n.url,b=(null===(u=e.icon)||void 0===u?void 0:null===(o=u.asset)||void 0===o?void 0:null===(s=o.metadata)||void 0===s?void 0:null===(a=s.dimensions)||void 0===a?void 0:a.width)||24,g=(null===(f=e.icon)||void 0===f?void 0:null===(m=f.asset)||void 0===m?void 0:null===(h=m.metadata)||void 0===h?void 0:null===(c=h.dimensions)||void 0===c?void 0:c.height)||24;if(!v)return null;let p=!!e.email,x=p?"mailto:".concat(e.email):e.url;return x?(0,r.jsx)("li",{children:(0,r.jsx)(i.Link,{href:x,target:p?void 0:"_blank",rel:p?void 0:"noreferrer","aria-label":e.label,className:"flex items-center justify-center w-12.5 h-12.5 border border-theme-fg rounded-full transition-colors can-hover:hover:bg-theme-fg can-hover:hover:text-theme-bg theme-light:[&_img]:invert theme-water:[&_img]:invert can-hover:[&:hover_img]:invert can-hover:theme-light:[&:hover_img]:invert-0 can-hover:theme-water:[&:hover_img]:invert-0",children:(0,r.jsx)(d.default,{src:v,width:b,height:g,alt:"","aria-hidden":"true",className:"w-3.5 h-3.5 object-contain"})})},"".concat(e.label,"-").concat(x,"-").concat(t)):null})}):null}var m=n(33160),f=n(72676),v=n(91617),b=n(10607),g=n(28764);function p(e){let{primaryLinks:t=[],secondaryLinks:n=[],allNavItems:d=[],socialLinks:p=[]}=e,x=(0,l.usePathname)(),w=(0,l.useRouter)(),{pageTheme:y,sectionOverride:j}=function(e){let[t,n]=(0,a.useState)(null),[r,i]=(0,a.useState)(()=>(0,g.q)(e));return(0,a.useEffect)(()=>{let e=document.documentElement,t=()=>{let t=e.dataset.theme;("dark"===t||"light"===t||"water"===t)&&i(t)};t();let n=new MutationObserver(t);return n.observe(e,{attributes:!0,attributeFilter:["data-theme"]}),()=>n.disconnect()},[e]),(0,a.useEffect)(()=>{let e=new Set,t=()=>{let e=.08*window.innerHeight,t=document.querySelectorAll('[data-header-theme="light"]'),r=!1;t.forEach(t=>{let n=t.getBoundingClientRect();n.top<e&&n.bottom>0&&(r=!0)}),n(r?"light":null)},r=()=>{e.clear();let t=document.querySelectorAll('[data-header-theme="light"]');if(!t.length)return n(null),null;let r=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting?e.add(t.target):e.delete(t.target)}),n(e.size>0?"light":null)},{rootMargin:"0px 0px -92% 0px",threshold:0});return t.forEach(e=>r.observe(e)),r},i=r(),l=new MutationObserver(()=>{t(),null==i||i.disconnect(),i=r()});return l.observe(document.body,{childList:!0,subtree:!0}),()=>{null==i||i.disconnect(),l.disconnect()}},[]),{pageTheme:r,sectionOverride:t}}(x),{setHovered:N,pulse:k}=(0,v.Vh)(),E=(0,a.useRef)(),P=(0,a.useCallback)(()=>{window.matchMedia("(hover: none)").matches||(clearTimeout(E.current),E.current=setTimeout(()=>N(!0),150))},[N]),L=(0,a.useCallback)(()=>{window.matchMedia("(hover: none)").matches||(clearTimeout(E.current),N(!1))},[N]);(0,a.useEffect)(()=>()=>clearTimeout(E.current),[]);let[T,F]=(0,a.useState)("top"),C=(0,a.useRef)("top"),[M,S]=(0,a.useState)(!1),_=(0,a.useRef)(),R=(0,a.useRef)(!1),O=(0,a.useCallback)((e,t)=>{clearTimeout(_.current),_.current=setTimeout(()=>{"/"===e&&(R.current=!0),(null==t?void 0:t.external)?S(!1):w.push(e)},350)},[w]),Z=(0,a.useCallback)(()=>{R.current&&(R.current=!1,k(2e3))},[k]),z=(0,a.useCallback)(()=>{window.matchMedia("(hover: none)").matches&&(M?(R.current=!0,S(!1)):k(2e3))},[M,k]),I=M?y:null!=j?j:y,q=(0,a.useRef)(null),[A,H]=(0,a.useState)(!1),[W,B]=(0,a.useState)(""),D=(0,a.useRef)(x),V=(0,a.useMemo)(()=>{let e=d.map(e=>"internal"===e.type?(0,m.c)(e.internalPage):e.url||"/"),t=(0,f.o)(e,x);return -1===t?void 0:d[t]},[d,x]),Y=(null==V?void 0:V.text)||"LATEST";(0,a.useEffect)(()=>
1{if(D.current!==x){D.current=x,H(!1);let e=setTimeout(()=>{B(Y),requestAnimationFrame(()=>H(!0))},650);return()=>clearTimeout(e)}{B(Y);let e=setTimeout(()=>H(!0),100);return()=>clearTimeout(e)}},[x,Y]),(0,u.LZ)((0,a.useCallback)(e=>{let t;let{scroll:n,direction:r}=e;(t=n<50?"top":1===r?"hidden":"visible")!==C.current&&(C.current=t,F(t))},[]));let G=(0,a.useRef)(!0);(0,a.useEffect)(()=>{if(G.current){G.current=!1;return}if(!M)return;let e=setTimeout(()=>S(!1),500);return()=>clearTimeout(e)},[x]);let J=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&M&&S(!1)};if(M)document.addEventListener("keydown",e),document.body.style.overflow="hidden";else if(J.current){var t;null===(t=q.current)||void 0===t||t.focus()}return J.current=M,()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[M]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.E.header,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,ease:"easeOut",delay:.1},className:(0,b.Z)("fixed top-0 left-0 right-0 z-60 text-theme-fg","transition-transform duration-300 ease-in-out","hidden"===T&&!M&&"-translate-y-full"),style:"dark"===I?{"--theme-bg":"#000000","--theme-fg":"#FFFFFF"}:{"--theme-bg":"water"===y?"#E2E9FF":"#FFFFFF","--theme-fg":"#000000"},children:(0,r.jsxs)("div",{className:"site-px py-4 lg:py-9 flex items-center justify-between",children:[(0,r.jsx)(s.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5,ease:"easeOut",delay:.3},children:(0,r.jsx)(i.Link,{href:"/",className:"text-lg lg:text-2xl leading-none font-semibold",onMouseEnter:P,onMouseLeave:L,onFocus:P,onBlur:L,onClick:z,children:"Yung Studio"})}),(0,r.jsx)(s.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,ease:"easeOut",delay:.5},className:"hidden lg:block",children:(0,r.jsx)(c.PrimaryNav,{primaryLinks:t,secondaryLinks:n,variant:"blur","aria-label":"Main navigation"})}),(0,r.jsx)(s.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,ease:"easeOut",delay:.5},className:"lg:hidden",children:(0,r.jsxs)("button",{ref:q,onClick:()=>{S(e=>!e)},className:(0,b.Z)("relative text-xs leading-none flex h-9 border border-theme-fg rounded-md py-2.25 font-semibold items-center",M?"bg-theme-fg text-theme-bg":"bg-theme-bg"),"aria-label":M?"Close menu":"Open menu","aria-expanded":M,"aria-controls":"mobile-menu",children:[(0,r.jsx)(s.E.span,{animate:{width:!M&&A?"auto":0,opacity:!M&&A?1:0},initial:!1,transition:{width:{duration:.3,ease:[.16,1,.3,1]},opacity:{duration:.2,delay:!M&&A?.1:0}},className:"inline-flex items-center self-stretch overflow-hidden",children:(0,r.jsx)("span",{className:"uppercase pl-4 pr-2 whitespace-nowrap",children:(0,r.jsx)("span",{className:"capsize",children:W})})}),(0,r.jsx)("div",{className:"w-9 h-full flex items-center justify-center shrink-0",children:(0,r.jsxs)("span",{className:(0,b.Z)("relative w-4 h-4 flex items-center justify-center transition-transform duration-300",M&&"rotate-45"),children:[(0,r.jsx)("span",{className:(0,b.Z)("block w-full h-0.5 transition-colors",M?"bg-theme-bg":"bg-theme-fg")}),(0,r.jsx)("span",{className:(0,b.Z)("block w-0.5 h-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 transition-colors",M?"bg-theme-bg":"bg-theme-fg")})]})})]})})]})}),(0,r.jsx)(o.M,{onExitComplete:Z,children:M&&(0,r.jsxs)(s.E.div,{id:"mobile-menu",className:"fixed inset-0 z-50 lg:hidden",role:"dialog","aria-modal":"true","aria-label":"Navigation menu",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-theme-bg",onClick:()=>S(!1),"aria-hidden":"true"}),(0,r.jsx)("div",{className:"relative h-full flex flex-col pt-19 px-5 pb-5",children:(0,r.jsxs)("div",{className:"w-full flex flex-col gap-6",children:[(0,r.jsx)(c.PrimaryNav,{primaryLinks:t,secondaryLinks:n,"aria-label":"Main navigation",onNavigate:O}),p.length>0&&(0,r.jsx)(h,{links:p})]})})]})})]})}},45801:function(e,t,n){"use strict";n.r(t),n.d(t,{PrimaryNav:function(){return m}});var r=n(27573),i=n(36857),l=n(81695),a=n(7653),s=n(53528),o=n(10607),u=n(33160),c=n(72676),d=n(91617);let h={type:"spring",stiffness:500,damping:35};function m(e){let{primaryLinks:t=[],secondaryLinks:n=[],className:m="",variant:f="plain","aria-label":v,onNavigate:b}=e,g=(0,l.usePathname)(),{playNavClick:p,playNavHover:x}=(0,d.cT)(),w="blur"===f,y=(0,a.useRef)(null),j=(0,a.useRef)([]),[N,k]=(0,a.useState)(null),[E,P]=(0,a.useState)(null),[L,T]=(0,a.useState)(0),F=t.map(e=>{let t=(0,u.g)(e);return"#"===t?"/":t}),C=(0,c.o)(F,g),M=null!=E?E:C,S=(0,a.useCallback)(e=>{let t=j.current[e];return t?{left:t.offsetLeft,width:t.offsetWidth,top:t.offsetTop,height:t.offsetHeight}:null},[]);return(0,a.useLayoutEffect)(()=>{if(M<0){k(null);return}let e=S(M);e&&k(e)},[M,S]),(0,a.useLayoutEffect)(()=>{let e=()=>{if(M>=0){let e=S(M);e&&(k(e),T(e=>e+1))}};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[M,S]),(0,r.jsxs)("nav",{"aria-label":v,className:(0,o.Z)("w-full lg:w-auto flex flex-col lg:flex-row items-center gap-6 lg:gap-3",m),children:[t.length>0&&(0,r.jsxs)("div",{ref:y,onMouseLeave:()=>P(null),className:(0,o.Z)("relative w-full lg:w-auto flex flex-col lg:flex-row items-center gap-2 lg:gap-1 border border-theme-fg rounded-2.5 p-2.5 lg:p-1.75",w&&"bg-theme-bg"),children:[N&&(0,r.jsx)(s.E.div,{"aria-hidden":!0,className:"absolute bg-theme-fg rounded-md pointer-events-none",initial:{left:N.left,top:N.top,width:N.width,height:N.height},animate:{left:N.left,top:N.top,width:N.width,height:N.height},transition:h},L),t.map((e,t)=>{let n=F[t],l=t===M,a=t===C,s="external"===e.type,u="internal"===e.type;return(0,r.jsx)("div",{ref:e=>{j.current[t]=e},onMouseEnter:()=>{P(t),x(t)},className:"w-full lg:w-auto",children:(0,r.jsx)(i.Link,{href:n,target:s&&e.openInNewTab?"_blank":void 0,rel:s&&e.openInNewTab?"noreferrer":void 0,"aria-current":a?"page":void 0,className:(0,o.Z)("relative z-10 block text-base lg:text-xs font-semibold uppercase text-center px-2.5 py-5 lg:py-3.15 w-full lg:w-auto rounded-md transition-colors",l&&"text-theme-bg"),onClick:b&&u?e=>{e.preventDefault(),p(t),P(t),b(n)}:()=>p(t),children:(0,r.jsx)("span",{className:"capsize",children:e.text})})},"primary-".concat(t,"-").concat(n))})]}),n.map((e,n)=>{let l=(0,u.g)(e),a="#"===l?"/":l,s=0===(0,c.o)([a],g),d="external"===e.type,h=t.length+n,m="internal"===e.type;return(0,r.jsx)(i.Link,{href:a,target:d&&e.openInNewTab?"_blank":void 0,rel:d&&e.openInNewTab?"noreferrer":void 0,"aria-current":s?"page":void 0,onMouseEnter:()=>x(h),onClick:b?e=>{p(h),m?(e.preventDefault(),b(a)):b(a,{external:!0})}:()=>p(h),className:(0,o.Z)("w-full lg:w-auto border border-theme-fg rounded-2.5 px-5 py-4.75 lg:py-4.9 text-base lg:text-xs font-semibold text-center uppercase transition-colors",w&&!s&&"bg-theme-bg",s?"bg-theme-fg text-theme-bg":"can-hover:hover:bg-theme-fg can-hover:hover:text-theme-bg"),children:(0,r.jsx)("span",{className:"capsize",children:e.text})},"secondary-".concat(n,"-").concat(a))})]})}},72676:function(e,t,n){"use strict";function r(e,t){let n=e.findIndex(e=>e===t);if(-1!==n)return n;let r=-1,i=0;return e.forEach((e,n)=>{"/"!==e&&e.startsWith("/")&&(t===e||t.startsWith(e+"/"))&&e.length>i&&(r=n,i=e.length)}),r}n.d(t,{o:function(){return r}})},72625:function(){}},function(e){e.O(0,[9387,9911,7929,7238,8590,5526,2580,6857,3423,6245,4913,7699,4070,8134,1293,1528,1744],function(){return e(e.s=33383)}),_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.