1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12139],{12139:function(e,s,t){t.r(s);var a=t(57437),l=t(74291),n=t(14795),i=t(77088),c=t(99376),x=t(2265),d=t(97687),r=t(63573),o=t(73542);let p=[{title:"Welcome to the full picture.",subtitle:"Every detection modality is now unlocked: images, video, audio, and text.",type:"modalities"},{title:"Your models. Your rules.",subtitle:"Choose exactly which AI detection models run on every scan.",type:"gif",src:"/png/upgrade-model-selector.gif"},{title:"Build with the full API.",subtitle:"Five endpoints. Every modality. Automate AI detection at scale and integrate it anywhere â your code, your pipeline, your terms.",type:"api"},{title:"Trust your eyes and ears. Again.",subtitle:"You've unlocked the most powerful AI detection toolkit on the planet. Know what is AI or Not.",type:"finale"}],m={enter:e=>({x:e>0?300:-300,opacity:0}),center:{x:0,opacity:1},exit:e=>({x:e>0?-300:300,opacity:0})},h=()=>(0,a.jsx)("div",{className:"w-full h-full bg-[#0b1112] flex items-center justify-center p-[24px]",children:(0,a.jsx)("div",{className:"grid grid-cols-2 gap-[12px] w-full max-w-[560px]",children:[{icon:"/assets/icons/image-icon.svg",label:"Image",endpoint:"/v2/image/sync",formats:"jpg, png, webp, bmp, avif, tiff, heic"},{icon:"/assets/icons/video-icon.svg",label:"Video",endpoint:"/v2/video/sync",formats:"mp4, mov, avi, mkv, webm"},{icon:"/assets/icons/white-music-icon.svg",label:"Audio",endpoint:"/v1/reports/voice",formats:"mp3, wav, flac, ogg"},{icon:"/assets/icons/text-detect-icon.svg",label:"Text",endpoint:"/v2/text/sync",formats:"Paste or .doc, .docx, .txt"}].map(e=>(0,a.jsxs)("div",{className:"border border-[#303030] bg-[#1d1d1d] p-[16px] flex flex-col gap-[10px]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[10px]",children:[(0,a.jsx)("img",{src:e.icon,alt:e.label,className:"w-[20px] h-[20px] opacity-80"}),(0,a.jsx)("span",{className:"text-white font-medium text-[14px]",children:e.label}),(0,a.jsx)("span",{className:"ml-auto text-[10px] text-[#8eff4e] font-mono bg-[#8eff4e]/10 px-[6px] py-[2px] rounded-sm",children:"UNLOCKED"})]}),(0,a.jsxs)("div",{className:"text-[11px] text-[#8f8f8f] font-mono leading-[1.5]",children:[(0,a.jsx)("span",{className:"text-[#505050]",children:"endpoint:"})," ",e.endpoint]}),(0,a.jsx)("div",{className:"text-[11px] text-[#505050] leading-[1.4]",children:e.formats})]},e.label))})}),f=()=>(0,a.jsxs)("div",{className:"w-full h-full bg-[#0b1112] overflow-hidden flex",children:[(0,a.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[6px] px-[16px] py-[10px] border-b border-[#303030]",children:[(0,a.jsx)("div",{className:"w-[10px] h-[10px] rounded-full bg-[#ff5f57]"}),(0,a.jsx)("div",{className:"w-[10px] h-[10px] rounded-full bg-[#febc2e]"}),(0,a.jsx)("div",{className:"w-[10px] h-[10px] rounded-full bg-[#28c840]"}),(0,a.jsx)("span",{className:"ml-[8px] text-[11px] text-[#8f8f8f] font-mono",children:"endpoints"})]}),(0,a.jsxs)("div",{className:"flex-1 px-[16px] py-[12px] flex flex-col gap-[8px] overflow-hidden",children:[[{method:"POST",path:"/v2/image/sync",label:"Image Detection"},{method:"POST",path:"/v2/video/sync",label:"Video Detection"},{method:"POST",path:"/v1/reports/voice",label:"Voice Detection"},{method:"POST",path:"/v1/reports/music",label:"Music Detection"},{method:"POST",path:"/v2/text/sync",label:"Text Detection"}].map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-[8px] font-mono text-[11px]",children:[(0,a.jsx)("span",{className:"text-[#8eff4e] font-medium w-[36px]",children:e.method}),(0,a.jsx)("span",{className:"text-white",children:e.path}),(0,a.jsx)("span",{className:"ml-auto text-[#505050] text-[10px] hidden md:block",children:e.label})]},e.path)),(0,a.jsx)("div",{className:"border-t border-[#303030] my-[4px]"}),(0,a.jsxs)("pre",{className:"text-[10px] md:text-[11px] leading-[1.6] font-mono text-[#8f8f8f]",children:[(0,a.jsx)("span",{className:"text-[#505050]",children:"# Example: detect AI in image"}),"\n",(0,a.jsx)("span",{className:"text-[#c678dd]",children:"import"}),(0,a.jsx)("span",{className:"text-[#e5c07b]",children:" requests"}),"\n\n",(0,a.jsx)("span",{className:"text-white",children:"resp = requests."}),(0,a.jsx)("span",{className:"text-[#61afef]",children:"post"}),(0,a.jsx)("span",{className:"text-white",children:"("}),"\n",(0,a.jsx)("span",{className:"text-white",children:" "}),(0,a.jsx)("span",{className:"text-[#98c379]",children:'"https://api.aiornot.com/v2/image/sync"'}),(0,a.jsx)("span",{className:"text-white",children:","}),"\n",(0,a.jsxs)("span",{className:"text-white",children:[" ","headers=","{"]}),(0,a.jsx)("span",{className:"text-[#98c379]",children:'"Authorization"'}),(0,a.jsx)("span",{className:"text-white",children:": "}),(0,a.jsx)("span",{className:"text-[#c678dd]",children:"f"}),(0,a.jsx)("span",{className:"text-[#98c379]",children:'"Bearer {API_KEY}"'}),(0,a.jsxs)("span",{className:"text-white",children:["}",","]}),"\n",(0,a.jsxs)("span",{className:"text-white",children:[" ","files=","{"]}),(0,a.jsx)("span",{className:"text-[#98c379]",children:'"image"'}),(0,a.jsx)("span",{className:"text-white",children:": open("}),(0,a.jsx)("span",{className:"text-[#98c379]",children:'"file.jpg"'}),(0,a.jsx)("span",{className:"text-white",children:", "}),(0,a.jsx)("span",{className:"text-[#98c379]",children:'"rb"'}),(0,a.jsxs)("span",{className:"text-white",children:[")","}"]}),"\n",(0,a.jsx)("span",{className:"text-white",children:")"})]})]})]}),(0,a.jsx)("div",{className:"w-[1px] bg-[#303030]"}),(0,a.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col",children:[(0,a.jsx)("div",{className:"flex items-center px-[16px] py-[10px] border-b border-[#303030]",children:(0,a.jsx)("span",{className:"text-[11px] text-[#8f8f8f] font-mono",children:"response.json"})}),(0,a.jsx)("pre",{className:"flex-1 overflow-hidden px-[16px] py-[12px] text-[10px] md:text-[11px] leading-[1.6] font-mono",children:(0,a.jsxs)("code",{children:[(0,a.jsx)("span",{className:"text-white",children:"{"}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "verdict"'}),(0,a.jsx)("span",{className:"text-white",children:": "}),(0,a.jsx)("span",{className:"text-[#e5c07b]",children:'"ai"'}),(0,a.jsx)("span",{className:"text-white",children:","}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "ai"'}),(0,a.jsxs)("span",{className:"text-white",children:[": ","{"]}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "is_detected"'}),(0,a.jsx)("span",{className:"text-white",children:": "}),(0,a.jsx)("span",{className:"text-[#d19a66]",children:"true"}),(0,a.jsx)("span",{className:"text-white",children:","}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "confidence"'}),(0,a.jsx)("span",{className:"text-white",children:": "}),(0,a.jsx)("span",{className:"text-[#d19a66]",children:"0.9448"}),"\n",(0,a.jsx)("span",{className:"text-white",children:" }"}),(0,a.jsx)("span",{className:"text-white",children:","}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "generator"'}),(0,a.jsxs)("span",{className:"text-white",children:[": ","{"]}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "flux"'}),(0,a.jsxs)("span",{className:"text-white",children:[": ","{"]}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "confidence"'}),(0,a.jsx)("span",{className:"text-white",children:": "}),(0,a.jsx)("span",{className:"text-[#d19a66]",children:"0.922"}),"\n",(0,a.jsx)("span",{className:"text-white",children:" }"}),"\n",(0,a.jsx)("span",{className:"text-white",children:" }"}),(0,a.jsx)("span",{className:"text-white",children:","}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "deepfake"'}),(0,a.jsxs)("span",{className:"text-white",children:[": ","{"]}),"\n",(0,a.jsx)("span",{className:"text-[#98c379]",children:' "is_detected"'}),(0,a.jsx)("span",{className:"text-white",children:": "}),(0,a.jsx)("span",{className:"text-[#d19a66]",children:"false"}),"\n",(0,a.jsx)("span",{className:"text-white",children:" }"}),"\n",(0,a.jsx)("span",{className:"text-white",children:"}"})]})})]})]}),j=()=>(0,a.jsxs)("div",{className:"w-full h-full bg-[#0b1112] flex flex-col overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-[16px] py-[8px] border-b border-[#303030]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[8px]",children:[(0,a.jsx)("img",{src:"/svg/ai-blocker-logo.svg",alt:"AI Blocker",className:"w-[14px] h-[16px] invert"}),(0,a.jsx)("span",{className:"text-[12px] text-white font-medium",children:"AI Blocker"})]}),(0,a.jsx)("span",{className:"text-[10px] text-[#8eff4e] font-medium bg-[#8eff4e]/10 px-[8px] py-[3px] uppercase tracking-wider",children:"Included â No Extra Charge"})]}),(0,a.jsx)("div",{className:"flex-1 relative",children:(0,a.jsx)(i.default,{})})]});s.default=()=>{let e=(0,c.usePathname)(),[s,t]=(0,x.useState)(0),[i,N]=(0,x.useState)(1),w=s===p.length-1,[g,v]=(0,x.useState)(!1);(0,x.useEffect)(()=>{let e=()=>{window.localStorage&&"true"===localStorage.getItem("show-upgrade-modal")&&(v(!0),(0,d.track)({name:"upgrade_modal_shown",properties:{}}))};return e(),window.addEventListener("show-upgrade-modal",e),()=>window.removeEventListener("show-upgrade-modal",e)},[e]);let b=()=>{localStorage.setItem("show-upgrade-modal","false"),v(!1)},y=p[s];return(0,a.jsx)(l.Vq,{open:g,onOpenChange:()=>{},children:(0,a.jsx)(l.cZ,{showCloseIconOnMobile:!1,onPointerDownOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),className:"md:w-[90%] md:max-w-[673px] lg:w-[673px] lg:!max-w-none sm:max-w-auto md:h-[589px] !border-[#303030] md:!rounded-[24px] !p-0 outline-none ring-0 z-[1001] !bg-[#1d1d1d]",children:(0,a.jsxs)("div",{className:"w-full h-full bg-[#1d1d1d] md:!rounded-[24px] flex flex-col items-center justify-between overflow-hidden",children:[(0,a.jsx)(r.M,{mode:"wait",custom:i,children:(0,a.jsxs)(o.E.div,{custom:i,variants:m,initial:"enter",animate:"center",exit:"exit",transition:{duration:.3,ease:"easeInOut"},className:"w-full flex flex-col flex-1 min-h-0",children:[(0,a.jsx)("div",{className:"w-full h-[250px] md:h-[385px] relative bg-[#0b1112] overflow-hidden",children:"modalities"===y.type?(0,a.jsx)(h,{}):"api"===y.type?(0,a.jsx)(f,{}):"blocker"===y.type?(0,a.jsx)(j,{}):"finale"===y.type?(0,a.jsxs)("div",{className:"w-full h-full relative bg-black overflow-hidden",children:[(0,a.jsx)(n.Z,{glitchColors:["#ffffff","#d0d0d0","#8eff4e"],glitchSpeed:30,smooth:!0,className:"w-full h-full",children:(0,a.jsx)("img",{src:"/svg/aiornot-icon.svg",alt:"AI or Not",className:"w-[60px] md:w-[80px] h-auto"})}),(0,a.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 60%)"}})]}):(0,a.jsx)("img",{src:y.src,alt:y.title,className:"w-full h-full object-contain"})}),(0,a.jsx)("div",{className:"text-center w-full h-auto flex-1 bg-[#1d1d1d] border-t border-[#303030] flex flex-col items-center justify-center gap-1 p-[24px] pb-[16px]",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-[12px] items-center justify-between",children:[(0,a.jsx)("h2",{className:"font-sans font-medium text-[28px] md:text-[32px] leading-[140%] text-white max-w-[420px]",children:y.title}),(0,a.jsx)("span",{className:"font-sans font-normal text-[14px] leading-[160%] text-[#8f8f8f] max-w-[420px] text-center",children:y.subtitle}),"blocker"===y.type&&(0,a.jsx)("a",{href:"https://chromewebstore.google.com/detail/ai-blocker/jhigdcjaokfemfaofdiibcohjpgnmidc?authuser=3&hl=en",target:"_blank",rel:"noopener noreferrer",className:"mt-[4px] text-white font-medium text-[13px] border border-[#505050] px-[16px] py-[8px] hover:bg-[#303030] transition-colors uppercase tracking-wider",children:"Get Chrome Extension"})]})})]},s)}),(0,a.jsxs)("div",{className:"grid grid-cols-3 w-full items-center bg-[#1d1d1d] px-[24px] py-[16px]",children:[(0,a.jsx)("div",{}),(0,a.jsx)(u,{currentSlide:s,totalSlides:p.length,onDotClick:e=>{e!==s&&(N(e>s?1:-1),(0,d.track)({name:"upgrade_modal_step_completed",properties:{step:s,step_name:p[s].title}}),t(e))}}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)("div",{className:"text-white font-sans font-medium text-[14px] text-end leading-[150%] tracking-[-0.28px] curs
1or-pointer hover:text-[#8f8f8f] transition-colors","data-testid":"upgrade-next-button",onClick:()=>{w?((0,d.track)({name:"upgrade_modal_completed",properties:{steps_completed:p.length}}),b()):(N(1),(0,d.track)({name:"upgrade_modal_step_completed",properties:{step:s,step_name:p[s].title}}),t(e=>e+1))},children:w?"Start Detecting":"Next"})})]})]})})})};let u=e=>{let{currentSlide:s,totalSlides:t,onDotClick:l}=e;return(0,a.jsx)("div",{className:"mx-auto flex justify-between items-center w-fit h-[24px] gap-[6px] border border-[#303030] rounded-[100px] px-[10px] py-[8px]",children:Array.from({length:t}).map((e,t)=>(0,a.jsx)("div",{onClick:()=>l(t),className:"w-[8px] h-[8px] rounded-full cursor-pointer transition-colors ".concat(t===s?"bg-white":"bg-[#505050] hover:bg-[#8f8f8f]")},t))})}}}]);
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.