PageSourceSearch

https://hypercerts.org/_next/static/chunks/app/layout-286fb8519c63e9c9.js

js hypercerts.org collected 2026-10-03 19:38:10 UTC 4,992 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{72:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var a=n(5338),r=n(6698),i=n(3174),s=n.n(i),o=n(979),l=n(6754);let d=[{label:"About",href:"/about"},{label:"Blog",href:"/blog"},{label:"Docs ↗",href:"https://docs.hypercerts.org",external:!0}];function c(){let[e,t]=(0,l.useState)(!1),n=(0,l.useRef)(null),i=(0,o.usePathname)();return(0,a.jsxs)("header",{className:"fixed inset-x-0 top-0 z-50 flex h-[50px] items-center border-b border-ui-separator bg-white",onKeyDown:a=>{if("Escape"===a.key&&e){var r;t(!1),null==(r=n.current)||r.focus()}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||t(!1)},children:[(0,a.jsxs)("div",{className:"landing-container flex items-center justify-between gap-6",children:[(0,a.jsx)(s(),{href:"/",className:"flex shrink-0 items-center","aria-current":"/"===i?"page":void 0,onClick:()=>t(!1),children:(0,a.jsx)(r.default,{src:"/img/hypercerts_logo_horizontal.svg",alt:"Hypercerts",width:140,height:28,className:"h-7 w-auto",priority:!0})}),(0,a.jsx)("nav",{className:"hidden items-center gap-6 md:flex","aria-label":"Main navigation",children:d.map(e=>(0,a.jsx)(s(),{href:e.href,className:"py-2 text-body-sm text-brand-black transition-colors hover:text-brand-accent","aria-current":i===e.href?"page":void 0,children:e.label},e.label))}),(0,a.jsxs)("button",{ref:n,type:"button",className:"relative h-11 w-11 shrink-0 md:hidden",onClick:()=>t(e=>!e),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,"aria-controls":"mobile-navigation",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:"absolute left-3 top-[15px] h-px w-5 bg-brand-black transition-transform ".concat(e?"translate-y-[6px] rotate-45":"")}),(0,a.jsx)("span",{"aria-hidden":"true",className:"absolute left-3 top-[21px] h-px w-5 bg-brand-black ".concat(e?"opacity-0":"")}),(0,a.jsx)("span",{"aria-hidden":"true",className:"absolute left-3 top-[27px] h-px w-5 bg-brand-black transition-transform ".concat(e?"-translate-y-[6px] -rotate-45":"")})]})]}),(0,a.jsx)("nav",{id:"mobile-navigation",hidden:!e,className:"".concat(e?"flex":"hidden"," absolute inset-x-0 top-[50px] max-h-[calc(100dvh-50px)] flex-col overflow-y-auto border-b border-ui-separator bg-white py-4 md:hidden"),"aria-label":"Mobile navigation",children:d.map(e=>(0,a.jsx)(s(),{href:e.href,className:"py-3 text-body-lg text-brand-black transition-colors hover:text-brand-accent","aria-current":i===e.href?"page":void 0,onClick:()=>t(!1),children:e.label},e.label))})]})}},1009:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var a=n(5338),r=n(6754);function i(e){let{bannerId:t}=e;return(0,r.useEffect)(()=>{let e=e=>{e.key==="banner-dismissed-".concat(t)&&"true"===e.newValue&&document.documentElement.setAttribute("data-banner-hidden","dismissed")};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[t]),(0,a.jsx)("button",{type:"button",onClick:()=>{var e,n;try{document.cookie="banner-dismissed-".concat(t,"=true; path=/; max-age=31536000; SameSite=Lax; Secure")}catch(e){}try{localStorage.setItem("banner-dismissed-".concat(t),"true")}catch(e){}let a=document.getElementById("banner-status");a&&(a.textContent="");let r=document.getElementById("main-content"),i=null!=(n=null!=r?r:document.querySelector("main"))?n:document.body;null==i||null==(e=i.focus)||e.call(i,{preventScroll:!0}),requestAnimationFrame(()=>{a&&(a.textContent="Banner dismissed"),requestAnimationFrame(()=>{document.documentElement.setAttribute("data-banner-hidden","dismissed")})})},"aria-label":"Dismiss announcement",className:"w-8 h-8 -m-1 inline-flex items-center justify-center rounded text-brand-navy hover:bg-brand-navy/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-navy/40 transition-colors motion-reduce:transition-none",children:(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4 4l8 8M12 4l-8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})}},2164:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,6866,23)),Promise.resolve().then(n.bind(n,1009)),Promise.resolve().then(n.bind(n,72)),Promise.resolve().then(n.t.bind(n,3174,23))},4921:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return o}});let a=n(9438),r=n(9695),i=n(1867),s=a._(n(7053));function o(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=i.Image},6698:(e,t,n)=>{"use strict";n.d(t,{default:()=>r.a});var a=n(4921),r=n.n(a)},6866:()=>{}},e=>{e.O(0,[141,867,174,225,736,358],()=>e(e.s=2164)),_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.