PageSourceSearch

https://megatool.ai/_next/static/chunks/0do4t9m9esc3v.js

js megatool.ai collected 2026-10-05 12:15:32 UTC 4,085 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,643957,e=>{"use strict";var s=e.i(956702),t=e.i(853522),i=e.i(910421),a=e.i(59274),r=e.i(420025),n=e.i(39575),l=e.i(162423);e.s(["SponsorPlacement",0,function({items:e,placement:c,copy:o,banner:d=!1}){let[m,u]=(0,n.useState)(!1),h=`directory-ad-dismissed:${c}`;return((0,n.useEffect)(()=>{if(d)try{u("1"===sessionStorage.getItem(h))}catch{}},[d,h]),!e.length||m)?null:d?(0,s.jsx)("aside",{"aria-label":o.label,className:"w-full rounded-xl border border-accent/15 bg-accent/5",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2",children:[e.map(e=>(0,s.jsx)("div",{className:"min-w-0 flex-1",children:(0,s.jsxs)(l.ToolWebsiteLink,{slug:e.slug,href:e.href,affiliate:e.affiliate,placement:c,className:"flex min-h-11 min-w-0 items-center gap-3",children:[(0,s.jsx)("span",{className:"shrink-0 rounded-md bg-background px-2 py-1 text-xs font-medium text-muted",children:o.label}),(0,s.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"block truncate text-base font-semibold text-foreground",children:e.name}),e.description&&(0,s.jsx)("span",{className:"line-clamp-1 text-sm leading-6 text-muted",children:e.description})]}),(0,s.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-1 text-sm font-medium text-accent",children:[(0,s.jsx)("span",{className:"hidden sm:inline",children:o.visit}),(0,s.jsx)(i.ArrowUpRight,{"aria-hidden":"true",className:"size-4"})]})]})},e.id)),(0,s.jsx)(t.Button,{"aria-label":o.close,isIconOnly:!0,variant:"tertiary",className:"min-h-11 min-w-11 shrink-0",onPress:()=>{u(!0);try{sessionStorage.setItem(h,"1")}catch{}},children:(0,s.jsx)(a.X,{className:"size-4"})})]})}):(0,s.jsx)("aside",{"aria-label":o.label,className:"@container grid gap-3 @lg:grid-cols-2",children:e.map(e=>(0,s.jsxs)(l.ToolWebsiteLink,{slug:e.slug,href:e.href,affiliate:e.affiliate,placement:c,className:"group relative flex min-w-0 flex-col gap-2 overflow-hidden rounded-xl border border-border/70 bg-surface p-4 transition-colors hover:border-accent/40 hover:bg-surface-secondary/40 focus-visible:outline-2 focus-visible:outline-focus focus-visible:outline-offset-2",children:[(0,s.jsx)("span",{className:"absolute top-0 right-0 rounded-tr-xl rounded-bl-lg bg-accent px-2.5 py-1 text-xs font-semibold text-accent-foreground",children:o.label}),(0,s.jsxs)("span",{className:"flex items-center gap-3 pr-20",children:[e.iconUrl?(0,s.jsx)(r.default,{src:e.iconUrl,alt:"",width:32,height:32,className:"size-8 shrink-0 rounded-md object-cover"}):(0,s.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-md bg-surface-secondary text-base font-semibold text-foreground",children:e.name.charAt(0).toUpperCase()}),(0,s.jsx)("span",{className:"truncate text-base font-semibold text-foreground",children:e.name})]}),e.description&&(0,s.jsx)("span",{className:"line-clamp-2 text-sm leading-5 text-muted",children:e.description}),(0,s.jsx)("span",{className:"flex items-center justify-end",children:(0,s.jsx)(i.ArrowUpRight,{"aria-hidden":"true",className:"size-4 text-muted transition-colors group-hover:text-accent"})})]},e.id))})}])},162423,e=>{"use strict";var s=e.i(956702);e.s(["ToolWebsiteLink",0,function({slug:e,href:t,affiliate:i,className:a,children:r,placement:n}){let l=()=>{fetch("/api/directory/tools/click",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({slug:e,...n?{placement:n}:{}}),keepalive:!0}).catch(()=>void 0)};return(0,s.jsx)("a",{href:t,target:"_blank",rel:i||n?"noopener noreferrer sponsored":"noopener noreferrer",className:a,onClick:l,onAuxClick:e=>{1===e.button&&l()},children:r})}])},910421,e=>{"use strict";let s=(0,e.i(967022).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,s],910421)},59274,e=>{"use strict";let s=(0,e.i(967022).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,s],59274)}]);

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.