PageSourceSearch

https://agamya.dev/_next/static/chunks/234w3b7apw80r.js

js agamya.dev collected 2026-10-03 22:51:52 UTC 4,650 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64659,e=>{"use strict";let r=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,r],64659)},77364,e=>{"use strict";var r=e.i(43476),t=e.i(71645),o=e.i(75157),s=e.i(64659);e.s(["default",0,function({headings:e}){let[l,n]=t.default.useState(""),[d,a]=t.default.useState(!1);return(t.default.useEffect(()=>{if(!d)return;let r=new IntersectionObserver(e=>{for(let r of e)r.isIntersecting&&n(r.target.id)},{rootMargin:"-80px 0px -80% 0px",threshold:0});for(let t of e){let e=document.getElementById(t.id);e&&r.observe(e)}return()=>r.disconnect()},[e,d]),0===e.length)?null:(0,r.jsxs)("nav",{className:"border rounded-2xl px-4 py-3 mb-8",children:[(0,r.jsxs)("button",{onClick:()=>a(!d),className:"flex items-center justify-between w-full text-sm font-bold text-foreground/80 hover:text-foreground transition-colors",children:["On this page",(0,r.jsx)(s.ChevronDown,{className:(0,o.cn)("h-4 w-4 text-foreground/50 transition-transform",d&&"rotate-180")})]}),d&&(0,r.jsx)("ul",{className:"mt-3 space-y-1.5 border-t border-border pt-3 list-none pl-0",children:e.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:`#${e.id}`,className:(0,o.cn)("block text-xs text-foreground/50 hover:text-foreground transition-colors py-0.5",2===e.level&&"pl-0",3===e.level&&"pl-4",4===e.level&&"pl-8",l===e.id&&"text-foreground font-medium"),children:e.text})},e.id))})]})}])},87386,e=>{"use strict";var r=e.i(43476),t=e.i(71645),o=e.i(57688),s=e.i(75157);function l({text:e}){let[o,s]=t.default.useState(!1),n=async()=>{try{await navigator.clipboard.writeText(e),s(!0),setTimeout(()=>s(!1),2e3)}catch{}};return(0,r.jsx)("button",{onClick:n,className:"absolute top-2 right-2 text-xs px-2 py-1 rounded-md bg-foreground
1/10 hover:bg-foreground/20 text-foreground/60 hover:text-foreground/80 transition-colors",children:o?"Copied!":"Copy"})}e.s(["mdxComponents",0,{h1:({children:e,...t})=>(0,r.jsx)("h1",{...t,children:e}),h2:({children:e,...t})=>(0,r.jsx)("h2",{...t,children:e}),h3:({children:e,...t})=>(0,r.jsx)("h3",{...t,children:e}),h4:({children:e,...t})=>(0,r.jsx)("h4",{...t,children:e}),p:({children:e,...t})=>(0,r.jsx)("p",{className:"text-base leading-7 mb-4 text-foreground",...t,children:e}),a:({href:e,children:t,...o})=>{let s=e?.startsWith("http");return(0,r.jsx)("a",{href:e,className:"underline underline-offset-2 text-foreground hover:text-foreground/70 transition-colors",target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0,...o,children:t})},pre:({children:e,...t})=>{let o="object"==typeof e&&null!==e&&"props"in e&&e.props&&e.props.children||"";return(0,r.jsxs)("div",{className:"relative group my-6",children:[(0,r.jsx)("pre",{className:"overflow-x-auto rounded-2xl border border-border bg-card p-4 text-sm leading-6 font-mono",...t,children:e}),o&&(0,r.jsx)(l,{text:o})]})},code:({children:e,...t})=>t.className?(0,r.jsx)("code",{className:(0,s.cn)("font-mono text-sm",t.className),...t,children:e}
1):(0,r.jsx)("code",{className:"bg-foreground/10 text-foreground px-1.5 py-0.5 rounded-md text-sm font-mono",...t,children:e}),blockquote:({children:e,...t})=>(0,r.jsx)("blockquote",{className:"border-l-4 border-foreground/30 pl-4 my-6 italic text-foreground",...t,children:e}),img:({src:e,alt:t})=>(0,r.jsxs)("figure",{className:"my-6",children:[(0,r.jsx)("div",{className:"relative w-full aspect-video bg-muted rounded-2xl overflow-hidden",children:(0,r.jsx)(o.default,{src:String(e||""),alt:t||"",fill:!0,className:"rounded-2xl object-cover",loading:"lazy",sizes:"(max-width: 768px) 100vw, 768px"})}),t&&(0,r.jsx)("figcaption",{className:"text-center text-sm text-foreground/60 mt-2",children:t})]}),ul:({children:e,...t})=>(0,r.jsx)("ul",{...t,children:e}),ol:({children:e,...t})=>(0,r.jsx)("ol",{...t,children:e}),li:({children:e,...t})=>(0,r.jsx)("li",{...t,children:e}),table:({children:e,...t})=>(0,r.jsx)("div",{className:"overflow-x-auto my-6 rounded-2xl border border-border",children:(0,r.jsx)("table",{className:"w-full text-sm",...t,children:e})}),thead:({children:e,...t})=>(0,r.jsx)("thead",{className:"bg-card",...t,children:e}),th:({children:e,...t})=>(0,r.jsx)("th",{className:"px-4 py-2 text-left font-medium text-foreground border-b border-border",...t,children:e}),td:({children:e,...t})=>(0,r.jsx)("td",{className:"px-4 py-2 border-b border-border text-foreground",...t,children:e}),hr:({...e})=>(0,r.jsx)("hr",{className:"my-8 border-border",...e}),strong:({children:e,...t})=>(0,r.jsx)("strong",{className:"font-bold text-foreground",...t,children: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.