PageSourceSearch

https://www.julianhosp.com/_next/static/chunks/app/%5Blocale%5D/blog/layout-58b6589bc94ad470.js

js julianhosp.com collected 2026-09-24 20:22:24 UTC 5,651 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5169],{7476:function(e,t,n){var s={"./de.json":[87821,7821],"./en.json":[759,759]};function a(e){if(!n.o(s,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=s[e],a=t[0];return n.e(t[1]).then(function(){return n.t(a,19)})}a.keys=function(){return Object.keys(s)},a.id=7476,e.exports=a},68616:function(e,t,n){Promise.resolve().then(n.bind(n,30761)),Promise.resolve().then(n.bind(n,49910))},30761:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var s=n(64090);function a(e){var t;let{children:n,initial:a,inView:r,duration:o=.6,delay:i=0,once:c=!1}=e,l=(0,s.useRef)(null),u=(0,s.useRef)(!0),d=e=>{var t,n,s,o;let[i]=e;u.current&&(i.isIntersecting?(null===(t=l.current)||void 0===t||t.classList.add(...r.split(" ")),null===(n=l.current)||void 0===n||n.classList.remove(...a.split(" ")),c&&(u.current=!1)):(null===(s=l.current)||void 0===s||s.classList.add(...a.split(" ")),null===(o=l.current)||void 0===o||o.classList.remove(...r.split(" "))))};(0,s.useEffect)(()=>{let e=new IntersectionObserver(d,{rootMargin:"-10px",threshold:0});return l.current&&e.observe(l.current),()=>{l.current&&e.unobserve(l.current)}},[l]);let h="".concat(null!==(t=n.props.className)&&void 0!==t?t:""," ").concat(a),m={...n.props.style,transitionDuration:"".concat(o,"s"),transitionDelay:"".concat(i,"s"),transitionTimingFunction:"cubic-bezier(0.33, 1, 0.68, 1)",transitionProperty:"transform, opacity"};return s.cloneElement(n,{className:h,ref:l,style:m})}},49910:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var s=n(3827),a=n(17320),r=n(58192),o=n(92397),i=n(46990),c=n(69681),l=n(9227),u=n(23871),d=n(95820),h=n(64201),m=n(5785),f=n(54727),x=n(58378),p=n(71272),g=n(30982),v=n(64090),b=n(80654),j=n(90365),N=n(47907);let w=["de","en"];(0,j.cF)(async e=>{let{locale:t}=e;return w.includes(t)||(0,N.notFound)(),{messages:(await n(7476)("./".concat(t,".json"))).default}});let{Link:y,redirect:k,usePathname:O,useRouter:E}=(0,b.iV)({locales:w});function L(e){let{light:t,backgroundTransparent:n,buttonLight:f}=e,x=(0,g.useTranslations)("global.navigation"),p=(0,g.useLocale)(),[b,j]=(0,v.useState)(!1),N=O(),w=[{name:x("home"),pathname:"en"===p?"/en":"/"},{name:x("about"),pathname:"en"===p?"/en/about":"/about"},..."de"===p?[{name:x("blog"),pathname:"/blog"}]:[],{name:x("books"),pathname:"en"===p?"/en/books":"/books"},..."de"===p?[{name:x("portfolio"),pathname:"/portfolio"}]:[],{name:x("press"),pathname:"en"===p?"/en/press":"/press"},..."de"===p?[{name:x("shop"),pathname:"/shop"}]:[]];return(0,s.jsxs)(a.R,{maxWidth:"2xl",position:"sticky",onMenuOpenChange:j,shouldHideOnScroll:!0,classNames:{wrapper:"px-5 md:px-8",base:"z-50 ".concat(n?"bg-transparent backdrop-saturate-100":""," ").concat(b?"bg-foreground":""," transition-colors")},children:[n&&!b&&(0,s.jsx)(z,{}),(0,s.jsx)(r.H,{children:(0,s.jsx)(o.O,{href:"en"===p?"/en":"/",children:(0,s.jsx)(i.J,{src:"/assets/logo-dark.svg",width:48,height:48,alt:"Julian Hosp Logo",className:"".concat(t||b?"brightness-0 invert":""," transition-all")})})}),(0,s.jsx)(c.U,{justify:"center",className:"hidden gap-8 md:flex",children:w.map((e,n)=>{let a="/"===e.pathname?e.pathname===N:N.includes(e.pathname);return(0,s.jsx)(l.k,{isActive:a,className:"\n								font-medium opacity-60 \n								data-[active=true]:font-semibold\n								data-[active=true]:opacity-100\n								data-[active=true]:before:mr-3\n								data-[active=true]:before:content-['•']\n								".concat(t?"text-white":"","\n							"),children:(0,s.jsx)(o.O,{href:e.pathname,color:"foreground",className:t?"text-white":"",children:e.name})},n)})}),(0,s.jsxs)(c.U,{justify:"end",className:"hidden gap-8 md:flex",children:[(0,s.jsx)("div",{className:"flex gap-3",children:(0,s.jsx)(_,{light:t})}),(0,s.jsx)(l.k,{children:(0,s.jsx)(u.A,{as:o.O,href:"/contact",className:t||f?"bg-white":"gradient-button",children:x("contact")})})]}),(0,s.jsx)(c.U,{justify:"end",className:"md:hidden",children:(0,s.jsx)(d.L,{className:"".concat(t||b?"text-white":""," z-50 transition-colors")})}),(0,s.jsxs)(h.$,{className:"z-50 justify-between gap-5 bg-foreground pb-16 text-center",children:[(0,s.jsx)("div",{className:"flex flex-1 flex-col justify-center gap-5",children:w.map((e,t)=>(0,s.jsx)(m.h,{children:(0,s.jsx)(o.O,{href:e.pathname,className:"text-2xl text-white",children:e.name})},t))}),(0,s.jsx)("div",{className:"flex justify-center gap-10",children:(0,s.jsx)(_,{light:!0})})]})]})}function _(e){let{light:t}=e,n=(0,g.useLocale)(),a=O(),r=E();function o(e){r.replace(a,{locale:e})}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.A,{onPress:()=>o("de"),variant:"de"===n?"solid":"light",size:"sm",className:"\n					min-w-8 !px-0 data-[hover=true]:bg-white/80\n					".concat(t?"text-white/60 data-[hover=true]:text-foreground
1/80":"text-foreground/60","\n					").concat("de"===n?"bg-white text-foreground/80":"","\n				"),children:"DE"}),(0,s.jsx)(u.A,{onPress:()=>o("en"),variant:"en"===n?"solid":"light",size:"sm",className:"\n					min-w-8 !px-0 data-[hover=true]:bg-white/80\n					".concat(t?"text-white/60 data-[hover=true]:text-foreground/80":"text-foreground/60","\n					").concat("en"===n?"bg-white text-foreground/80":"","\n				"),children:"EN"})]})}function z(){let{scrollY:e}=(0,f.v)(),t=(0,x.H)(e,[0,200],[0,1]);return(0,s.jsx)(p.E.div,{style:{opacity:t},className:"absolute inset-0 inset-x-0 overflow-x-hidden bg-background/70 2xl:-inset-x-full"})}}},function(e){e.O(0,[6219,6032,982,8792,797,7748,2971,8069,1744],function(){return e(e.s=68616)}),_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.