PageSourceSearch

https://sekrd.com/_next/static/chunks/140~7fldvu.wh.js

js sekrd.com collected 2026-10-05 18:29:48 UTC 51,521 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,45605,e=>{"use strict";var t=e.i(43476),s=e.i(71645);e.s(["SekrdLogo",0,function({size:e=40}){let n=(0,s.useId)();return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 80 80",fill:"none",role:"img","aria-label":"Sekrd",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("mask",{id:n,children:[(0,t.jsx)("path",{d:"M40 6L12 16v20c0 16 12 28 28 34 16-6 28-18 28-34V16L40 6z",fill:"white"}),(0,t.jsx)("text",{x:"40",y:"51",textAnchor:"middle",fill:"black",fontSize:"44",fontWeight:"800",fontFamily:"SF Pro Display,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif",children:"S"})]})}),(0,t.jsx)("path",{d:"M40 6L12 16v20c0 16 12 28 28 34 16-6 28-18 28-34V16L40 6z",fill:"#1C1C1E",stroke:"#1C1C1E",strokeWidth:"4",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M40 6L12 16v20c0 16 12 28 28 34 16-6 28-18 28-34V16L40 6z",fill:"#30D158",mask:`url(#${n})`}),(0,t.jsx)("circle",{cx:"57.5",cy:"14",r:"10",fill:"#1C1C1E"}),(0,t.jsxs)("circle",{cx:"57.5",cy:"14",r:"5.5",fill:"#30D158",children:[(0,t.jsx)("animate",{attributeName:"r",values:"5.5;3.5;5.5",dur:"2.5s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.4 0 0.2 1;0.4 0 0.2 1"}),(0,t.jsx)("animate",{attributeName:"opacity",values:"1;0.45;1",dur:"2.5s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.4 0 0.2 1;0.4 0 0.2 1"})]})]})}])},3265,e=>{"use strict";var t=e.i(43476),s=e.i(22016),n=e.i(71645),r=e.i(26732),a=e.i(45605);let l=[{href:"/pricing",label:"Pricing"},{href:"/docs",label:"Docs"},{href:"/blog",label:"Blog"},{href:"/about",label:"About"}];e.s(["Navbar",0,function(){let[e,i]=(0,n.useState)(!1),{data:o}=(0,r.useSession)();return(0,t.jsxs)("nav",{className:"sticky top-0 z-50 backdrop-blur-xl bg-black/80 border-b border-white/5",children:[(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-6 h-16 flex items-center justify-between",children:[(0,t.jsxs)(s.default,{href:"/",className:"flex items-center gap-2.5 group",children:[(0,t.jsx)(a.SekrdLogo,{size:28}),(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-lg font-bold tracking-tight group-hover:text-[#30D158] transition-colors",children:"sekrd"})]}),(0,t.jsx)("div",{className:"hidden md:flex items-center gap-6",children:l.map(e=>(0,t.jsx)(s.default,{href:e.href,className:"text-sm text-[#86868B] hover:text-white transition-colors py-2 px-1",children:e.label},e.href))}),(0,t.jsx)("div",{className:"hidden md:flex items-center gap-3",children:o?.user?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{href:"/dashboard",className:"text-sm text-[#86868B] hover:text-white transition-colors px-3 py-2",children:"Dashboard"}),(0,t.jsx)("span",{className:"text-sm text-[#A1A1A6] px-2",children:o.user.name||o.user.email}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,r.signOut)(),className:"text-sm text-[#86868B] hover:text-white transition-colors px-3 py-2",children:"Sign Out"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{href:"/auth/signin",className:"text-sm text-[#86868B] hover:text-white transition-colors px-3 py-2",children:"Sign In"}),(0,t.jsx)(s.default,{href:"/scan",className:"px-4 py-2 bg-[#30D158] text-black text-sm font-semibold rounded-lg hover:bg-[#28B84C] transition-all hover:shadow-[0_0_20px_rgba(48,209,88,0.3)]",children:"Scan Now"})]})}),(0,t.jsx)("button",{type:"button",className:"md:hidden p-2.5 -mr-2.5",onClick:()=>i(!e),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,children:(0,t.jsx)("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e?(0,t.jsx)("path",{d:"M6 6l12 12M6 18L18 6"}):(0,t.jsx)("path",{d:"M4 6h16M4 12h16M4 18h16"})})})]}),e&&(0,t.jsx)("div",{className:"md:hidden border-t border-white/5 bg-black/95 backdrop-blur-xl",children:(0,t.jsxs)("div",{className:"px-6 py-3",children:[(0,t.jsx)("div",{className:"flex flex-wrap gap-x-5 gap-y-1",children:l.map(e=>(0,t.jsx)(s.default,{href:e.href,className:"text-sm text-[#86868B] hover:text-white py-1.5",onClick:()=>i(!1),children:e.label},e.href))}),(0,t.jsx)("div",{className:"mt-2 pt-2 border-t border-white/5 flex items-center gap-4",children:o?.user?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{href:"/dashboard",className:"text-sm font-bold text-white py-1.5",onClick:()=>i(!1),children:"Dashboard"}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,r.signOut)(),className:"text-sm text-[#86868B] py-1.5",children:"Sign Out"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{href:"/auth/signin",className:"text-sm text-[#86868B] py-1.5",children:"Sign In"}),(0,t.jsx)(s.default,{href:"/scan",className:"px-4 py-1.5 bg-[#30D158] text-black text-sm font-semibold rounded-lg",children:"Scan Now"})]})})]})})]})}])},58902,e=>{"use strict";e.i(47167);var t=e.i(43476),s=e.i(71645),n=(0,s.forwardRef)(({as:e="div",...s},n)=>(0,t.jsx)(e,{...s,ref:n}));let r="onloadTurnstileCallback",a={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},l="unloaded",i,o=new Promise((e,t)=>
1{i={resolve:e,reject:t},"ready"===l&&e(void 0)}),c=(e=r)=>("unloaded"===l&&(l="loading",window[e]=()=>{i.resolve(),l="ready",delete window[e]}),o),d=(0,s.forwardRef)((e,i)=>{let{scriptOptions:o,options:d={},siteKey:x,onWidgetLoad:u,onSuccess:m,onExpire:h,onError:p,onBeforeInteractive:b,onAfterInteractive:f,onUnsupported:g,onTimeout:v,onLoadScript:y,id:j,style:N,as:w="div",injectScript:k=!0,rerenderOnCallbackChange:F=!1,...S}=e,C=d.size,A=(0,s.useCallback)(()=>void 0===C?{}:"execute"===d.execution?a.invisible:"interaction-only"===d.appearance?a.interactionOnly:a[C],[d.execution,C,d.appearance]),[D,B]=(0,s.useState)(A()),E=(0,s.useRef)(null),[_,P]=(0,s.useState)(!1),T=(0,s.useRef)(void 0),I=(0,s.useRef)(!1),L=j||"cf-turnstile",R=(0,s.useRef)({onSuccess:m,onError:p,onExpire:h,onBeforeInteractive:b,onAfterInteractive:f,onUnsupported:g,onTimeout:v});(0,s.useEffect)(()=>{F||(R.current={onSuccess:m,onError:p,onExpire:h,onBeforeInteractive:b,onAfterInteractive:f,onUnsupported:g,onTimeout:v})});let M=o?.id||"cf-turnstile-script",$=function(e="cf-turnstile-script"){let[t,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let t=()=>{document.getElementById(e)&&n(!0)},s=new MutationObserver(t);return s.observe(document,{childList:!0,subtree:!0}),t(),()=>{s.disconnect()}},[e]),t}(M),O=o?.onLoadCallbackName||"onloadTurnstileCallback",z=d.appearance||"always",U=(0,s.useMemo)(()=>({sitekey:x,action:d.action,cData:d.cData,theme:d.theme||"auto",language:d.language||"auto",tabindex:d.tabIndex,"response-field":d.responseField,"response-field-name":d.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(C),retry:d.retry||"auto","retry-interval":d.retryInterval||8e3,"refresh-expired":d.refreshExpired||"auto","refresh-timeout":d.refreshTimeout||"auto",execution:d.execution||"render",appearance:d.appearance||"always","feedback-enabled":d.feedbackEnabled??!0,callback:e=>{I.current=!0,F?m?.(e):R.current.onSuccess?.(e)},"error-callback":F?p:(...e)=>R.current.onError?.(...e),"expired-callback":F?h:(...e)=>R.current.onExpire?.(...e),"before-interactive-callback":F?b:(...e)=>R.current.onBeforeInteractive?.(...e),"after-interactive-callback":F?f:(...e)=>R.current.onAfterInteractive?.(...e),"unsupported-callback":F?g:(...e)=>R.current.onUnsupported?.(...e),"timeout-callback":F?v:(...e)=>R.current.onTimeout?.(...e)}),[d.action,d.appearance,d.cData,d.execution,d.language,d.refreshExpired,d.responseField,d.responseFieldName,d.retry,d.retryInterval,d.tabIndex,d.theme,d.feedbackEnabled,d.refreshTimeout,x,C,F,F?m:null,F?p:null,F?h:null,F?b:null,F?f:null,F?g:null,F?v:null]),W=(0,s.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,s.useEffect)(function(){k&&!_&&(c(O),(({render:e="explicit",onLoadCallbackName:t=r,scriptOptions:{nonce:s="",defer:n=!0,async:a=!0,id:l="",appendTo:i,onError:o,crossOrigin:c=""}={}})=>{let d=l||"cf-turnstile-script";
1if(document.getElementById(d))return;let x=document.createElement("script");x.id=d,x.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${x.src}"]`)||(x.defer=!!n,x.async=!!a,s&&(x.nonce=s),c&&(x.crossOrigin=c),o&&(x.onerror=o,delete window[t]),("body"===i?document.body:document.getElementsByTagName("head")[0]).appendChild(x))})({onLoadCallbackName:O,scriptOptions:{...o,id:M}}))},[k,_,o,M,O]),(0,s.useEffect)(function(){"ready"!==l&&c(O).then(()=>P(!0)).catch(console.error)},[O]),(0,s.useEffect)(function(){if(!E.current||!_)return;let e=!1;return(async()=>{e||!E.current||(T.current=window.turnstile.render(E.current,U),T.current&&u?.(T.current))})(),()=>{e=!0,T.current&&(window.turnstile.remove(T.current),I.current=!1)}},[L,_,U]),(0,s.useImperativeHandle)(i,()=>{let{turnstile:e}=window;return{getResponse:()=>e?.getResponse&&T.current&&W()?e.getResponse(T.current):void console.warn("Turnstile has not been loaded"),getResponsePromise:async(e=3e4,t=100)=>new Promise((s,n)=>{let r,a=async()=>{if(I.current&&window.turnstile&&T.current)try{let e=window.turnstile.getResponse(T.current);return r&&clearTimeout(r),e?s(e):n(Error("No response received"))}catch(e){return r&&clearTimeout(r),console.warn("Failed to get response",e),n(Error("Failed to get response"))}r||=setTimeout(()=>{r&&clearTimeout(r),n(Error("Timeout"))},e),await new Promise(e=>setTimeout(e,t)),await a()};a()}),reset(){if(!e?.reset||!T.current||!W())return void console.warn("Turnstile has not been loaded");"execute"===d.execution&&B(a.invisible);try{I.current=!1,e.reset(T.current)}catch(e){console.warn(`Failed to reset Turnstile widget ${T.current}`,e)}},remove(){e?.remove&&T.current&&W()?(B(a.invisible),I.current=!1,e.remove(T.current),T.current=null):console.warn("Turnstile has not been loaded")},render(){if(!e?.render||!E.current||!W()||T.current)return void console.warn("Turnstile has not been loaded or container not found");let t=e.render(E.current,U);return T.current=t,T.current&&u?.(T.current),"execute"!==d.execution&&B(C?a[C]:{}),t},execute(){"execute"!==d.execution?console.warn('Execution mode is not set to "execute"'):e?.execute&&E.current&&T.current&&W()?(e.execute(E.current,U),B(C?a[C]:{})):console.warn("Turnstile has not been loaded or container not found")},isExpired:()=>e?.isExpired&&T.current&&W()?e.isExpired(T.current):(console.warn("Turnstile has not been loaded"),!1)}},[T,d.execution,C,U,E,W,_,u]),(0,s.useEffect)(()=>{if(_||!$)return;if(window.turnstile)return void P(!0);let e=setInterval(()=>{window.turnstile&&(P(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[_,$]),(0,s.useEffect)(()=>{B(A())},[d.execution,C,z]),(0,s.useEffect)(()=>{$&&"function"==typeof y&&y()},[$]),(0,t.jsx)(n,{ref:E,as:w,id:L,style:{...D,...N},...S})});d.displayName="Turnstile";let x=(0,s.forwardRef)(function({onToken:e,config:s},n){return s?s.turnstile_enabled?s.turnstile_site_key?(0,t.jsx)(d,{ref:n,siteKey:s.turnstile_site_key,onSuccess:e,onError:()=>e(""),onExpire:()=>e(""),options:{theme:"dark",size:"flexible",language:"en"}}):(0,t.jsxs)("p",{className:"text-xs text-[#FF453A]",children:["Human verification is not configured. The admin needs to set",(0,t.jsx)("code",{className:"mx-1",children:"turnstile_site_key"}),"in"," ",(0,t.jsx)("code",{children:"/admin/settings"}),"."]}):(0,t.jsx)("input",{type:"hidden","aria-label":"Turnstile disabled",ref:()=>e("dev-bypass")}):(0,t.jsx)("div",{className:"text-xs text-[#48484A]",children:"Loading security challenge…"})});e.s(["TurnstileGate",0,x,"usePublicConfig",0,function(){let[e,t]=(0,s.useState)(null),[n,r]=(0,s.useState)(!0),[a,l]=(0,s.useState)(null);return(0,s.useEffect)(()=>{fetch("https://api.sekrd.com/api/v1/public/config",{cache:"no-store"}).then(async e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return await e.json()}).then(t).catch(e=>l(e instanceof Error?e.message:"Failed to load config")).finally(()=>r(!1))},[]),{config:e,loading:n,error:a}}],58902)},95476,e=>{"use strict";var t=e.i(43476),s=e.i(71645);e.s(["SecurityGrid",0,function(){let e=(0,s.useRef)(null),n=(0,s.useRef)([]),r=(0,s.useRef)({x:-1e3,y:-1e3}),a=(0,s.useRef)(0),l=(0,s.useRef)({w:0,h:0}),i=(0,s.useRef)(0),o=(0,s.useCallback)((e,t)=>{let s=[];for(let n=0;n<70;n++)s.push({x:Math.random()*e,y:Math.random()*t,vx:(Math.random()-.5)*.15,vy:(Math.random()-.5)*.15,radius:1.2*Math.random()+.8,baseAlpha:.12*Math.random()+.06,alpha:0});n.current=s},[]);return(0,s.useEffect)(()=>{let t=e.current;if(!t)return;let s=t.getContext("2d");if(!s)return;let c=()=>{let e=window.devicePixelRatio||1,r=t.parentElement,a=r?.clientWidth||window.innerWidth,i=r?.clientHeight||window.innerHeight;t.width=a*e,t.height=i*e,t.style.width=`${a}px`,t.style.height=`${i}px`,s.setTransform(e,0,0,e,0,0),l.current={w:a,h:i},0===n.current.length&&o(a,i)};c();let d=()=>c(),x=e=>{let s=t.getBoundingClientRect();r.current={x:e.clientX-s.left,y:e.clientY-s.top}},u=()=>{r.current={x:-1e3,y:-1e3}},m=e=>{if(e.touches.length>0){let s=t.getBoundingClientRect();r.current={x:e.touches[0].clientX-s.left,y:e.touches[0].clientY-s.top}}},h=()=>{r.current={x:-1e3,y:-1e3}};window.addEventListener("resize",d);let p=t.parentElement;p&&(p.addEventListener("mousemove",x),p.addEventListener("mouseleave",u),p.addEventListener("touchmove",m,{passive:!0}),p.addEventListener("touchend",h));let b=()=>{let{w:e,h:t}=l.current;s.clearRect(0,0,e,t);let o=n.current,c=r.current;i.current+=1;let d=i.current,x=.5*Math.sin(.008*d)+.5;for(let s of o){s.x+=s.vx,s.y+=s.vy,s.x<-10&&(s.x=e+10),s.x>e+10&&(s.x=-10),s.y<-10&&(s.y=t+10),s.y>t+10&&(s.y=-10);let n=s.x-c.x,r=s.y-c.y,a=Math.sqrt(n*n+r*r);if(a<180&&a>0){let e=(1-a/180)*.1;
1s.vx+=n/a*e,s.vy+=r/a*e,s.alpha=Math.min(.4,s.alpha+(1-a/180)*.08)}s.vx*=.997,s.vy*=.997;let l=.5*Math.sin(.01*d+.005*s.x+.003*s.y)+.5,i=s.baseAlpha*(.6+.4*l+.3*x);s.alpha=.95*s.alpha+.05*i}for(let e=0;e<o.length;e++)for(let t=e+1;t<o.length;t++){let n=o[e].x-o[t].x,r=o[e].y-o[t].y,a=Math.sqrt(n*n+r*r);if(a<160){let n=1-a/160,r=.5*Math.sin(.006*((o[e].x+o[t].x)*.5)+.004*((o[e].y+o[t].y)*.5)-.03*d)+.5,l=n*Math.min(o[e].alpha,o[t].alpha)*(.3+.7*r);l>.003&&(s.beginPath(),s.moveTo(o[e].x,o[e].y),s.lineTo(o[t].x,o[t].y),s.strokeStyle=`rgba(48, 209, 88, ${l})`,s.lineWidth=.5,s.stroke())}}for(let e of o)s.beginPath(),s.arc(e.x,e.y,e.radius,0,2*Math.PI),s.fillStyle=`rgba(48, 209, 88, ${e.alpha})`,s.fill();if(c.x>0&&c.y>0){let e=s.createRadialGradient(c.x,c.y,0,c.x,c.y,180);e.addColorStop(0,"rgba(48, 209, 88, 0.05)"),e.addColorStop(1,"rgba(48, 209, 88, 0)"),s.fillStyle=e,s.fillRect(c.x-180,c.y-180,360,360)}a.current=requestAnimationFrame(b)};return a.current=requestAnimationFrame(b),()=>{cancelAnimationFrame(a.current),window.removeEventListener("resize",d),p&&(p.removeEventListener("mousemove",x),p.removeEventListener("mouseleave",u),p.removeEventListener("touchmove",m),p.removeEventListener("touchend",h))}},[o]),(0,t.jsx)("canvas",{ref:e,className:"absolute inset-0 pointer-events-none","aria-hidden":"true"})}])},40798,e=>{"use strict";var t=e.i(43476),s=e.i(71645);let n=[{text:"AI writes.",highlight:"We secure."},{text:"Ship or Block",highlight:"in seconds."},{text:"Stop $1k/day",highlight:"key leaks."},{text:"RLS enabled?",highlight:"DB still open."},{text:"15 checks.",highlight:"One score."},{text:"Compliance for",highlight:"AI-built apps."}];e.s(["RotatingHero",0,function(){let[e,r]=(0,s.useState)(0),[a,l]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let e=setInterval(()=>{l(!0),setTimeout(()=>{r(e=>(e+1)%n.length),l(!1)},300)},3e3);return()=>clearInterval(e)},[]);let i=n[e];return(0,t.jsx)("h1",{"aria-live":"polite","aria-atomic":"true",className:"font-[var(--font-heading)] text-4xl sm:text-6xl md:text-8xl font-bold tracking-tight leading-[1] sm:leading-[0.95] mb-6 sm:mb-8",children:(0,t.jsxs)("span",{className:`inline-block transition-all duration-300 ${a?"opacity-0 translate-y-3":"opacity-100 translate-y-0"}`,children:[i.text,(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"bg-gradient-to-r from-[#30D158] to-[#00C7BE] bg-clip-text text-transparent",children:i.highlight})]})})}])},21314,e=>{"use strict";var t=e.i(43476),s=e.i(71645);let n=[{key:"secrets",label:"Secrets",icon:"🔑"},{key:"dependencies",label:"Dependencies",icon:"📦"},{key:"dast",label:"DAST",icon:"🌐"},{key:"auth",label:"Auth",icon:"🔒"},{key:"payments",label:"Payments",icon:"💳"},{key:"costexposure",label:"Cost Exposure",icon:"💰"},{key:"compliance",label:"GDPR",icon:"📋"},{key:"jssecurity",label:"JS Security",icon:"⚙️"},{key:"iac",label:"IaC",icon:"📜"},{key:"infra",label:"Infrastructure",icon:"🏗️",deepOnly:!0},{key:"network",label:"Network Ports",icon:"🚪",deepOnly:!0},{key:"supabase",label:"Supabase",icon:"⚡",deepOnly:!0},{key:"firebase",label:"Firebase",icon:"🔥",deepOnly:!0},{key:"mcp",label:"MCP Security",icon:"🔌",deepOnly:!0},{key:"activedast",label:"Active DAST",icon:"🎯",deepOnly:!0}];e.s(["ScanProgress",0,function({progress:e,providerResults:r,scanType:a="free",startedAt:l,telegramConnected:i,signedIn:o=!0,scanId:c}){let{completed:d,total:x}=function(e){if(!e)return{completed:0,total:0};let t=e.match(/(\d+)\/(\d+)/);return t?{completed:parseInt(t[1],10),total:parseInt(t[2],10)}:{completed:0,total:0}}(e),u=x>0?Math.round(d/x*100):0,m="deep"===a,h=n.filter(e=>!e.deepOnly||m),[p,b]=(0,s.useState)(0);(0,s.useEffect)(()=>{if(!l)return;let e=setInterval(()=>{b(Date.now()-l)},1e3);return()=>clearInterval(e)},[l]);let[f,g]=(0,s.useState)("hidden"),[v,y]=(0,s.useState)(""),[j,N]=(0,s.useState)("");async function w(e){if(c){g("submitting");try{let t=await fetch(`https://api.sekrd.com/api/v1/scans/${c}/notify`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})});if(!t.ok){let e=await t.json().catch(()=>({}));N(e.error||"Could not save your email. Try again."),g("error");return}y(e),g("done")}catch{N("Network error. Try again."),g("error")}}}return(0,s.useEffect)(()=>{!o&&c&&"hidden"===f&&p>=5e3&&g("open")},[p,o,c,f]),(0,t.jsxs)("div",{className:"mb-8 p-5 bg-[#111113] border border-[#2C2C2E] rounded-xl",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-4 min-w-0",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-[#30D158] border-t-transparent roun
1ded-full animate-spin shrink-0"}),(0,t.jsx)("span",{className:"text-sm font-medium text-[#F5F5F7] truncate",children:0===d?"Connecting to target…":u<30?"Connecting to target… Scanning…":u<70?"Connecting to target… Scanning… Analyzing responses…":u<100?"Connecting to target… Scanning… Analyzing… Finishing…":"Connecting to target… Scanning… Analyzing… Compiling results…"}),(0,t.jsxs)("span",{className:"ml-auto flex items-center gap-3 shrink-0",children:[l&&p>0&&(0,t.jsx)("span",{className:"text-xs text-[#48484A] tabular-nums",children:function(e){let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`}(p)}),x>0&&(0,t.jsxs)("span",{className:"text-xs text-[#86868B] tabular-nums",children:[d,"/",x]})]})]}),(0,t.jsx)("div",{className:"w-full h-1.5 bg-[#2C2C2E] rounded-full mb-5 overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-[#30D158] rounded-full transition-all duration-500 ease-out",style:{width:`${u}%`}})}),m&&(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,t.jsx)("span",{className:"px-2 py-0.5 rounded text-[10px] font-bold uppercase tracking-wider bg-[#BF5AF2]/10 text-[#BF5AF2] border border-[#BF5AF2]/20",children:"Deep Scan"}),(0,t.jsx)("span",{className:"text-[10px] text-[#86868B]",children:"Active testing + JS analysis + infrastructure"})]}),o&&p>5e3&&(0,t.jsx)("div",{className:"flex items-center gap-2 mb-4 py-2 px-3 rounded-lg bg-[#1C1C1E]",children:(0,t.jsx)("span",{className:"text-xs text-[#86868B]",children:i?"You can close this page. We'll send the report to your Telegram.":(0,t.jsxs)(t.Fragment,{children:["You can close this page. Results will appear in your ",(0,t.jsx)("a",{href:"/dashboard",className:"text-[#30D158] hover:underline",children:"dashboard"}),". ",(0,t.jsx)("a",{href:"/dashboard/settings",className:"text-[#48484A] hover:text-[#86868B]",children:"Set up Telegram"})]})})}),!o&&p>5e3&&"done"!==f&&(0,t.jsx)("div",{className:"flex items-center gap-2 mb-4 py-2 px-3 rounded-lg bg-[#1C1C1E]",children:(0,t.jsx)("span",{className:"text-xs text-[#86868B]",children:"Keep this tab open — results will appear here when the scan finishes."})}),!o&&c&&("open"===f||"submitting"===f||"error"===f)&&(0,t.jsxs)("div",{className:"mb-4 p-4 rounded-xl border border-[#30D158]/30 bg-[#30D158]/5",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3 mb-3",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-[#30D158]/10 border border-[#30D158]/30 flex items-center justify-center shrink-0",children:(0,t.jsx)("span",{className:"text-[#30D158] text-sm",children:"✉"})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"text-sm font-semibold text-[#F5F5F7] mb-1",children:"Scan is taking a bit longer"}),(0,t.jsx)("div",{className:"text-xs text-[#86868B]",children:"Leave your email and we'll send you the report when it's ready. We'll create a free account tied to this address."})]})]}),(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=String(new FormData(e.currentTarget).get("email")||"").trim();t&&w(t)},className:"flex flex-col sm:flex-row gap-2",children:[(0,t.jsx)("input",{name:"email",type:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",disabled:"submitting"===f,className:"flex-1 min-w-0 px-3 py-2 bg-black/40 border border-[#2C2C2E] rounded-lg text-sm text-[#F5F5F7] placeholder:text-[#48484A] focus:outline-none focus:border-[#30D158]/50 disabled:opacity-50"}),(0,t.jsx)("button",{type:"submit",disabled:"submitting"===f,className:"px-4 py-2 bg-[#30D158] text-black font-semibold text-sm rounded-lg hover:bg-[#25A845] transition-colors disabled:opacity-50 disabled:cursor-not-allowed whitespace-nowrap",children:"submitting"===f?"Saving…":"Email me the report"}),(0,t.jsx)("button",{type:"button",onClick:()=>g("done"),className:"px-3 py-2 text-xs text-[#86868B] hover:text-[#F5F5F7] transition-colors whitespace-nowrap",children:"No thanks"})]}),"error"===f&&j&&(0,t.jsx)("div",{className:"mt-2 text-xs text-[#FF453A]",children:j})]}),!o&&c&&"done"===f&&v&&(0,t.jsx)("div",{className:"mb-4 py-2 px-3 rounded-lg bg-[#30D158]/10 border border-[#30D158]/20",children:(0,t.jsxs)("span",{className:"text-xs text-[#30D158]",children:["✓ We'll email ",(0,t.jsx)("span",{className:"font-semibold",children:v})," when the scan is ready."]})}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2.5",children:h.map(e=>{let s=r?.[e.key],n=!!s,a=n&&s.findings>0,l=!n&&d<x,i="border-[#2C2C2E]",o="bg-black/40",c=null;return n&&a?(i="border-[#FF9F0A]/30",o="bg-[#FF9F0A]/5",c=(0,t.jsxs)("span",{className:"text-[#FF9F0A] text-xs font-medium",children:[s.findings," issue",s.findings>1?"s":""]})):n?(i="border-[#30D158]/30",o="bg-[#30D158]/5",c=(0,t.jsx)("span",{className:"text-[#30D158] text-xs",children:"✓ Clean"})):c=l?(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[#30D158] animate-pulse"}),(0,t.jsx)("span",{className:"text-xs text-[#86868B]",children:"Scanning"})]}):(0,t.jsx)("span",{className:"text-xs text-[#48484A]",children:"Pending"}),(0,t.jsxs)("div",{className:`flex flex-col gap-1.5 p-3 rounded-lg border ${i} ${o} transition-all duration-300`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-base leading-none",children:e.icon}),(0,t.jsx)("span",{className:"text-xs font-medium text-[#F5F5F7] truncate",children:e.label}),e.deepOnly&&(0,t.jsx)("span",{className:"ml-auto text-[8px] text-[#BF5AF2] font-bold uppercase",children:"Deep"})]}),c]},e.key)})})]})}])},4771,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(22016),r=e.i(26732),a=e.i(9165),l=e.i(58902),i=e.i(67493),o=e.i(21314),c=e.i(75679);let d="sekrd_teaser_scan_id";e.s(["HeroScanForm",0,function(){let{status:e}=(0,r.useSession)(),x="authenticated"===e,{config:u}
1=(0,l.usePublicConfig)(),[m,h]=(0,s.useState)(""),[p,b]=(0,s.useState)(""),[f,g]=(0,s.useState)(""),v=(0,s.useRef)(null),[y,j]=(0,s.useState)(!1),[N,w]=(0,s.useState)("input"),[k,F]=(0,s.useState)(null),[S,C]=(0,s.useState)(null),[A,D]=(0,s.useState)(!1),B=()=>{g("");try{v.current?.reset()}catch{}},E=()=>{w("input"),C(null),B()};(0,s.useEffect)(()=>{if(!x)return;let e=localStorage.getItem(d);e&&(0,a.unlockScan)(e).then(e=>{F(e),w("results"),D(!0),localStorage.removeItem(d)}).catch(()=>{localStorage.removeItem(d)})},[x]);let _=async e=>{e.preventDefault(),b(""),C(null);let t=m.trim();if(!t)return;/^https?:\/\//i.test(t)||(t="https://"+t),h(t);let s=v.current?.getResponse(),n="string"==typeof s&&s.length>0?s:f;if(!x&&u?.turnstile_enabled&&!n)return void b("Please complete the human verification challenge first.");w("scanning"),(0,c.trackScanStarted)({url:t,source:x?"auth":"anon"});try{let e=await (0,a.submitScan)(t,{},x?void 0:n);x||B();try{localStorage.setItem(d,e.scan_id),e.view_token&&localStorage.setItem("sekrd_view_token_"+e.scan_id,e.view_token)}catch{}let s=await (0,a.pollScan)(e.scan_id,e=>F(e),2e3,120,e.view_token);F(s),"complete"===s.status?(w("results"),(0,c.trackScanCompleted)({scan_id:s.scan_id,score:"number"==typeof s.score?s.score:void 0,verdict:s.launch_verdict||void 0})):"failed"===s.status?(C({message:s.summary||"Scan couldn't finish. The target may have blocked us or timed out — try again or use Deep scan with authentication.",code:"scan_failed"}),w("error"),(0,c.trackScanFailed)({url:t,reason:"scan_failed"})):(C({message:"Scan is taking longer than expected. It's still running in the background — open the full report in a minute.",code:"scan_pending",sign_in_url:`/report/${s.scan_id}`}),w("error"),(0,c.trackScanFailed)({url:t,reason:"scan_pending_timeout"}))}catch(e){if("turnstile_required"===e.code)return void(x?(C({message:"Your session expired. Please sign in again, then re-run the scan.",code:"session_expired",sign_in_url:"/auth/signin"}),w("error")):(b("Please solve the human-verification challenge below, then click Scan free again."),B(),w("input")));C({message:e.message||"Scan failed",code:e.code,sign_in_url:e.sign_in_url,next_available_at:e.next_available_at}),w("error")}};if("input"===N)return(0,t.jsxs)("form",{onSubmit:_,className:"max-w-xl mx-auto mb-6 px-2 sm:px-0 space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,t.jsx)("input",{type:"text",value:m,onChange:e=>h(e.target.value),placeholder:"your-app.vercel.app",required:!0,className:"flex-1 px-4 sm:px-5 py-3.5 sm:py-4 bg-white/5 border border-white/10 rounded-xl sm:rounded-2xl text-[#F5F5F7] placeholder:text-[#86868B]/50 focus:outline-none focus:border-[#30D158] transition-colors text-base sm:text-lg"}),(0,t.jsx)("button",{type:"submit",className:"btn-press w-full sm:w-auto px-6 sm:px-8 py-3.5 sm:py-4 bg-[#30D158] text-black font-bold text-base sm:text-lg rounded-xl sm:rounded-2xl hover:bg-[#28B84C] transition-all hover:shadow-[0_0_40px_rgba(48,209,88,0.25)] whitespace-nowrap disabled:opacity-50",children:"Scan free"})]}),!x&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(l.TurnstileGate,{ref:v,onToken:g,config:u})}),p&&(0,t.jsx)("p",{className:"text-xs text-[#FF453A]",children:p})]});if("scanning"===N)return(0,t.jsxs)("div",{className:"max-w-2xl mx-auto mb-6",children:[(k?.url||m)&&(0,t.jsxs)("p",{className:"text-sm text-[#86868B] mb-2 text-center break-all",children:["Scanning ",(0,t.jsx)("span",{className:"text-[#F5F5F7] font-medium",children:k?.url||m})]}),(0,t.jsx)(o.ScanProgress,{progress:k?.progress,providerResults:k?.providers,scanType:"free",startedAt:k?.started_at?new Date(k.started_at).getTime():void 0,signedIn:x,scanId:k?.scan_id})]});if("error"===N){let e=S?.code==="anon_quota_exhausted",s=S?.code==="free_quota_exhausted",r=S?.code==="scan_pending",a=S?.code==="session_expired",l=r?"border-[#FFD60A]/30 bg-[#FFD60A]/5":"border-[#FF453A]/30 bg-[#FF453A]/5";return(0,t.jsx)("div",{className:"max-w-xl mx-auto mb-6 px-2 sm:px-0",children:(0,t.jsxs)("div",{className:`rounded-2xl border ${l} p-4 sm:p-5 space-y-3`,children:[(0,t.jsx)("p",{className:"text-sm text-[#F5F5F7]",children:S?.message||"Scan could not start. Try a different URL."}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(e||a)&&(0,t.jsx)(n.default,{href:S?.sign_in_url||"/auth/signin",className:"inline-block px-5 py-2.5 rounded-xl bg-[#30D158] text-black font-semibold text-sm hover:bg-[#28B84C] transition-colors",children:a?"Sign in again →":"Sign in free →"}),s&&(0,t.jsx)(n.default,{href:"/pricing",className:"inline-block px-5 py-2.5 rounded-xl bg-[#00D4AA] text-black font-semibold text-sm hover:bg-[#00F5C4] transition-colors",children:"See paid plans"}),r&&S?.sign_in_url&&(0,t.jsx)(n.default,{href:S.sign_in_url,className:"inline-block px-5 py-2.5 rounded-xl bg-[#FFD60A] text-black font-semibold text-sm hover:bg-[#
1E8C400] transition-colors",children:"Open full report →"}),(0,t.jsx)("button",{type:"button",onClick:E,className:"text-xs text-[#86868B] hover:text-[#A1A1A6] underline underline-offset-2",children:"Try a different URL"})]})]})})}let P=k?.findings??[],T=k?.findings_total??P.length,I=k?.score??0,L=k?.scan_id??"",R=L?`${window.location.origin}/report/${L}`:"",M=k?.duration_ms,$=(()=>{if(!M||M<=0)return null;let e=Math.round(M/1e3);if(e<60)return`${e}s`;let t=Math.floor(e/60);return`${t}m ${e%60}s`})();return 0===P.length?I>=80?(0,t.jsx)("div",{className:"max-w-2xl mx-auto mb-6 text-left",children:(0,t.jsxs)("div",{className:"rounded-2xl border border-[#30D158]/30 bg-[#30D158]/5 p-6 sm:p-8 text-center",children:[(0,t.jsx)("p",{className:"text-4xl sm:text-5xl mb-2",children:"✅"}),(0,t.jsx)("p",{className:"text-xl sm:text-2xl font-[var(--font-heading)] font-bold text-[#F5F5F7] mb-1",children:"No issues found"}),(0,t.jsxs)("p",{className:"text-sm text-[#86868B]",children:["Score ",I,"/100. Nothing critical showed up on the external surface we can reach anonymously."]})]})}):(0,t.jsx)("div",{className:"max-w-xl mx-auto mb-6 px-2 sm:px-0",children:(0,t.jsxs)("div",{className:"rounded-2xl border border-[#FFD60A]/30 bg-[#FFD60A]/5 p-4 sm:p-5 space-y-3",children:[(0,t.jsx)("p",{className:"text-sm text-[#F5F5F7]",children:"Scan returned no visible findings. The target may have a WAF or anti-bot layer blocking our probes — sign in + use Deep scan with authentication to look behind it."}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,t.jsx)(n.default,{href:"/scan/deep",className:"inline-block px-5 py-2.5 rounded-xl bg-[#00D4AA] text-black font-semibold text-sm hover:bg-[#00F5C4] transition-colors",children:"Try Deep scan →"}),(0,t.jsx)("button",{type:"button",onClick:E,className:"text-xs text-[#86868B] hover:text-[#A1A1A6] underline underline-offset-2",children:"Try a different URL"})]})]})}):(0,t.jsxs)("div",{className:"max-w-2xl mx-auto mb-6 text-left",children:[(k?.url||m)&&(0,t.jsxs)("p",{className:"text-sm text-[#86868B] mb-3 break-all",children:[(0,t.jsx)("span",{className:"uppercase tracking-wider text-[10px] mr-2",children:"Target"}),(0,t.jsx)("span",{className:"text-[#F5F5F7] font-medium",children:k?.url||m})]}),(0,t.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-white/[0.02] p-4 sm:p-6 mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-wider text-[#86868B]",children:"Score"}),(0,t.jsxs)("p",{className:"text-4xl sm:text-5xl font-[var(--font-heading)] font-bold text-[#F5F5F7]",children:[I,(0,t.jsx)("span",{className:"text-base text-[#86868B] ml-1",children:"/100"})]})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-wider text-[#86868B]",children:"Findings shown"}),(0,t.jsxs)("p",{className:"text-2xl font-semibold text-[#F5F5F7]",children:[P.length,T>P.length&&(0,t.jsxs)("span",{className:"text-sm text-[#86868B] ml-1",children:["of ",T]})]})]})]}),T>P.length&&(0,t.jsxs)("p",{className:"text-xs text-[#FFD60A]",children:["Showing the ",P.length," most relevant findings. Deep scan reveals all ",T,"."]}),$&&(0,t.jsxs)("p",{className:"text-[11px] text-[#48484A] mt-2",children:["Scan completed in ",$,"."]})]}),(0,t.jsx)("div",{className:"space-y-3",children:P.map(e=>(0,t.jsx)(i.FindingCard,{finding:e,scanId:k?.scan_id,locked:!x&&!A},e.id))}),!x&&R&&(0,t.jsxs)("div",{className:"mt-5 rounded-2xl border border-[#FFD60A]/30 bg-[#FFD60A]/5 p-4 sm:p-5",children:[(0,t.jsx)("p",{className:"text-xs uppercase tracking-wider text-[#FFD60A] font-semibold mb-2",children:"Save this scan link"}),(0,t.jsx)("p",{className:"text-xs text-[#86868B] mb-3",children:"Your scan lives at the URL below. Copy it before leaving the page — after you sign in you can paste it into the Claim box on your dashboard to attach this scan to your account (24-hour window)."}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,t.jsx)("input",{readOnly:!0,value:R,onFocus:e=>e.currentTarget.select(),className:"flex-1 px-3 py-2 bg-black/50 border border-[#2C2C2E] rounded-lg font-[var(--font-mono)] text-[11px] sm:text-xs text-[#F5F5F7] focus:outline-none focus:border-[#FFD60A]"}),(0,t.jsx)("button",{type:"button",onClick:()=>{navigator.clipboard.writeText(R).then(()=>{j(!0),setTimeout(()=>j(!1),1500)},()=>{})},className:"px-4 py-2 rounded-lg bg-[#FFD60A]/20 text-[#FFD60A] font-semibold text-sm hover:bg-[#FFD60A]/30",children:y?"Copied!":"Copy"})]})]}),!x&&(0,t.jsxs)("div",{className:"mt-4 rounded-2xl border border-[#30D158]/30 bg-[#30D158]/5 p-4 sm:p-5 text-center",children:[(0,t.jsx)("p",{className:"text-sm sm:text-base text-[#F5F5F7] font-semibold mb-2",children:"Sign in to unlock details + fix prompts"}),(0,t.jsx)("p",{className:"text-xs sm:text-sm text-[#86868B] mb-4",children:"Free account: evidence + impact + fix prompts for each finding above, more daily scans, and this scan saved to your history."}),(0,t.jsx)(n.default,{href:"/auth/signin",className:"inline-block px-6 py-2.5 rounded-xl bg-[#30D158] text-black font-semibold text-sm hover:bg-[#28B84C] transition-colors",children:"Sign in free →"})]}),(0,t.jsxs)("div",{className:"mt-4 rounded-2xl border border-[#00D4AA]/30 bg-[#00D4AA]/5 p-4 sm:p-5 text-center",children:[(0,t.jsx)("p",{className:"text-sm sm:text-base text-[#F5F5F7] font-semibold mb-2",children:"Need the full picture?"}),(0,t.jsx)("p",{className:"text-xs sm:text-sm text-[#86868B] mb-4",children:"Deep scan runs all 15 providers (including network port scan + Supabase/Firebase/MCP deep integrations), crawls every page, and exports PDF / SARIF reports."}),(0,t.jsx)(n.default,{href:"/scan/deep",className:"inline-block px-6 py-2.5 rounded-xl bg-[#00D4AA] text-black font-semibold text-sm hover:bg-[#00F5C4] transition-colors",children:"Run a Deep scan →"})]}),(0,t.jsx)("div",{className:"mt-4 text-center",children:(0,t.jsx)("button",{type:"button",onClick:E,className:"text-xs text-[#86868B] hover:text-[#A1A1A6] underline underline-offset-2",children:"Scan another URL"})})]})}])},48241,e=>{"use strict";var t=e.i(43476),s=e.i(71645);
1e.s(["ScanCounter",0,function(){let[e,n]=(0,s.useState)(null);return((0,s.useEffect)(()=>{fetch("https://api.sekrd.com/api/v1/stats").then(e=>e.ok?e.json():{total_scans:0}).then(e=>n(e.total_scans)).catch(()=>{})},[]),null===e||0===e)?null:(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 py-3 px-6 bg-[#30D158]/5 border border-[#30D158]/20 rounded-full",children:[(0,t.jsx)("div",{className:"w-2 h-2 bg-[#30D158] rounded-full animate-pulse"}),(0,t.jsxs)("span",{className:"text-sm text-[#30D158] font-semibold",children:[e.toLocaleString()," apps scanned"]})]})}])},80092,e=>{"use strict";var t=e.i(43476),s=e.i(71645),n=e.i(22016),r=e.i(26732),a=e.i(18566),l=e.i(63057),i=e.i(75679);e.s(["HomePricing",0,function(){let{data:e}=(0,r.useSession)(),o=(0,a.useRouter)(),[c,d]=(0,s.useState)(!0),[x,u]=(0,s.useState)(!1);(0,s.useEffect)(()=>{l.APPLE_PAY_EXPRESS_ENABLED&&(0,l.isApplePayCapable)()&&u(!0)},[]);let m=c?"checkout-pro-annual":"checkout-pro",h=async(t,s=!1)=>{if((0,i.trackCheckoutStarted)(t,{express:s,signed_in:!!e?.user}),e?.user){let n=e.user.id||e.user.email||"",r=e.user.email||"";if(await (0,l.openCheckoutForPlan)(t,n,r,s))return}await (0,l.openCheckoutForPlan)(t,"","",s)||((0,l.savePendingCheckout)(t),o.push("/auth/signin?callbackUrl=/dashboard"))};return(0,t.jsxs)("section",{className:"max-w-6xl mx-auto px-6 py-24",children:[(0,t.jsxs)("div",{className:"text-center mb-12",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-[#30D158] uppercase tracking-wider mb-3",children:"Pricing"}),(0,t.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold mb-4",children:"Don't ship until you're sekrd."}),(0,t.jsx)("p",{className:"text-[#86868B] mb-8",children:"Start free. Pay once for launch. Stay covered with continuous."}),(0,t.jsxs)("div",{className:"inline-flex items-center gap-1 bg-[#111113] border border-white/10 rounded-full p-1",children:[(0,t.jsx)("button",{type:"button",onClick:()=>d(!1),className:`px-4 py-2 text-sm font-medium rounded-full transition-colors ${!c?"bg-white/10 text-white":"text-[#86868B]"}`,children:"Monthly"}),(0,t.jsxs)("button",{type:"button",onClick:()=>d(!0),className:`px-4 py-2 text-sm font-medium rounded-full transition-colors ${c?"bg-[#30D158] text-black":"text-[#86868B]"}`,children:["Annual ",(0,t.jsx)("span",{className:"text-xs opacity-80",children:"save 17%"})]})]})]}),(0,t.jsxs)("div",{className:"grid md:grid-cols-3 gap-6",children:[(0,t.jsxs)("div",{className:"relative card-hover p-8 rounded-2xl border bg-[#111113] border-white/5 hover:border-white/10 transition-all",children:[(0,t.jsx)("h3",{className:"font-[var(--font-heading)] text-xl font-bold mb-1",children:"Free"}),(0,t.jsx)("p",{className:"text-sm text-[#86868B] mb-4",children:"Quick check before you ship"}),(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-4xl font-bold",children:"$0"})}),(0,t.jsx)("ul",{className:"space-y-2.5 mb-8",children:["5 scans/day signed in (90/mo) · 3/day anon","Security score (A–F) + Ship/Block verdict","Surface findings: which categories failed","Sekrd Verified badge if you pass","MCP server for Cursor / Claude Code","Telegram /scan command"].map((e,s)=>(0,t.jsxs)("li",{className:"text-sm text-[#A1A1A6] flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-[#30D158] mt-0.5",children:"✓"})," ",e]},s))}),(0,t.jsx)(n.default,{href:"/scan",className:"block btn-press text-center py-3 rounded-xl font-semibold text-sm bg-white/5 text-[#F5F5F7] hover:bg-white/10 transition-all",children:"Run free scan"})]}),(0,t.jsxs)("div",{className:"relative card-hover p-8 rounded-2xl border bg-[#111113] border-[#30D158] shadow-[0_0_40px_rgba(48,209,88,0.08)] transition-all",children:[(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-1 bg-[#30D158] text-black text-xs font-bold rounded-full",children:"Most popular"}),(0,t.jsx)("h3",{className:"font-[var(--font-heading)] text-xl font-bold mb-1",children:"Pre-Launch Audit"}),(0,t.jsx)("p",{className:"text-sm text-[#86868B] mb-4",children:"Ship with confidence"}),(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-4xl font-bold",children:"$39"}),(0,t.jsx)("span",{className:"text-[#86868B] text-sm ml-1",children:"one-time"})]}),(0,t.jsx)("ul",{className:"space-y-2.5 mb-8",children:["Everything in Free, plus:","Deep scan: all 15 checks (RLS, DAST, OSV CVE, secrets...)","Full findings with file paths + line numbers","AI fix prompts (paste into Cursor / Claude Code)","Compliance mapping: GDPR / CCPA / Apple Privacy Manifest / Google Data Safety / EU AI Act","Generated privacy policy + ToS templates","App Store + Google Play submission checklists","Site Crawler — full attack surface","PDF report (App Store, due diligence)","7 days of unlimited re-scans"].map((e,s)=>(0,t.jsxs)("li",{className:"text-sm text-[#A1A1A6] flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-[#30D158] mt-0.5",children:"✓"})," ",e]},s))}),(0,t.jsx)("button",{type:"button",onClick:()=>h("checkout-prelaunch"),className:"w-full btn-press text-center py-3 rounded-xl font-semibold text-sm bg-[#30D158] text-black hover:bg-[#28B84C] hover:shadow-[0_0_20px_rgba(48,209,88,0.3)] transition-all",children:"Get Pre-Launch Audit — $39"}),x&&(0,t.jsxs)("button",{type:"button",onClick:()=>h("checkout-prelaunch",!0),className:"w-full btn-press text-center py-3 mt-2 rounded-xl font-semibold text-sm bg-black text-white border border-white/20 hover:bg-white/5 transition-all inline-flex items-center justify-center gap-2","aria-label":"Buy with Apple Pay",children:[(0,t.jsx)("svg",{"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:(0,t.jsx)("path",{d:"M13.6 12.3c-.3.7-.5 1-.9 1.6-.6.8-1.4 1.8-2.4 1.8-.9 0-1.1-.6-2.3-.6-1.2 
10-1.5.6-2.3.6-1 0-1.8-.9-2.3-1.7-1.5-2.3-1.7-5-.7-6.5.7-1.1 1.7-1.7 2.7-1.7 1 0 1.7.6 2.6.6.9 0 1.4-.6 2.6-.6.9 0 1.9.5 2.6 1.4-2.3 1.2-1.9 4.5.4 5.1zM10 4.6c.4-.5.7-1.3.6-2-.7 0-1.5.5-1.9 1-.4.5-.7 1.2-.6 2 .8 0 1.5-.5 1.9-1z"})}),(0,t.jsx)("span",{children:"Pay"})]}),(0,t.jsx)("p",{className:"text-xs text-[#48484A] mt-3 text-center",children:"One-time. No subscription. Pay once, scan freely for 7 days."})]}),(0,t.jsxs)("div",{className:"relative card-hover p-8 rounded-2xl border bg-[#111113] border-white/5 hover:border-white/10 transition-all",children:[(0,t.jsx)("h3",{className:"font-[var(--font-heading)] text-xl font-bold mb-1",children:"Continuous Pro"}),(0,t.jsx)("p",{className:"text-sm text-[#86868B] mb-4",children:"Sleep at night"}),(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-4xl font-bold",children:c?"$24":"$29"}),(0,t.jsx)("span",{className:"text-[#86868B] text-sm ml-1",children:"/mo"}),c&&(0,t.jsx)("p",{className:"text-xs text-[#30D158] mt-1",children:"$288/year (save $60)"})]}),(0,t.jsx)("ul",{className:"space-y-2.5 mb-8",children:["Everything in Pre-Launch, plus:","Daily automated re-scans","Drift alerts: new CVE, new endpoint, TLS expiring","Compliance drift monitoring","Vercel Deploy Gate — auto-block bad deploys","GitHub Action included","Telegram + email alerts","Monthly compliance status PDF"].map((e,s)=>(0,t.jsxs)("li",{className:"text-sm text-[#A1A1A6] flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-[#30D158] mt-0.5",children:"✓"})," ",e]},s))}),(0,t.jsxs)("button",{type:"button",onClick:()=>h(m),className:"w-full btn-press text-center py-3 rounded-xl font-semibold text-sm bg-white/5 text-[#F5F5F7] hover:bg-white/10 transition-all",children:["Start Continuous",c?" — save 17%":""]}),x&&(0,t.jsxs)("button",{type:"button",onClick:()=>h(m,!0),className:"w-full btn-press text-center py-3 mt-2 rounded-xl font-semibold text-sm bg-black text-white border border-white/20 hover:bg-white/5 transition-all inline-flex items-center justify-center gap-2","aria-label":"Subscribe with Apple Pay",children:[(0,t.jsx)("svg",{"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:(0,t.jsx)("path",{d:"M13.6 12.3c-.3.7-.5 1-.9 1.6-.6.8-1.4 1.8-2.4 1.8-.9 0-1.1-.6-2.3-.6-1.2 0-1.5.6-2.3.6-1 0-1.8-.9-2.3-1.7-1.5-2.3-1.7-5-.7-6.5.7-1.1 1.7-1.7 2.7-1.7 1 0 1.7.6 2.6.6.9 0 1.4-.6 2.6-.6.9 0 1.9.5 2.6 1.4-2.3 1.2-1.9 4.5.4 5.1zM10 4.6c.4-.5.7-1.3.6-2-.7 0-1.5.5-1.9 1-.4.5-.7 1.2-.6 2 .8 0 1.5-.5 1.9-1z"})}),(0,t.jsx)("span",{children:"Pay"})]}),(0,t.jsx)("p",{className:"text-xs text-[#48484A] mt-3 text-center",children:"Cancel anytime."})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-8 text-sm text-[#86868B]",children:[(0,t.jsx)("span",{children:"Payments by"}),(0,t.jsx)("span",{className:"font-semibold text-[#A1A1A6]",children:"Paddle"}),(0,t.jsx)("span",{children:"— Cards, PayPal, Apple Pay, Google Pay"})]})]})}])},83156,e=>{"use strict";var t=e.i(43476),s=e.i(71645);let n=[{id:"verdict",label:"Ship / Block Verdict",content:(0,t.jsx)("div",{className:"p-4 sm:p-6",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex gap-6 sm:gap-8",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 sm:w-20 sm:h-20 rounded-full border-4 border-[#FF453A] flex items-center justify-center mx-auto",children:(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-lg sm:text-xl font-bold text-[#FF453A]",children:"34"})}),(0,t.jsx)("p",{className:"text-xs font-bold text-[#FF453A] mt-1.5",children:"BLOCK"}),(0,t.jsx)("p",{className:"text-[10px] text-[#86868B] mt-0.5",children:"3 critical issues"})]}),(0,t.jsx)("div",{className:"flex items-center text-[#86868B]",children:(0,t.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,t.jsx)("path",{d:"M5 12h14m-4-4l4 4-4 4",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 sm:w-20 sm:h-20 rounded-full border-4 border-[#30D158] flex items-center justify-center mx-auto",children:(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-lg sm:text-xl font-bold text-[#30D158]",children:"92"})}),(0,t.jsx)("p",{className:"text-xs font-bold text-[#30D158] mt-1.5",children:"SHIP"}),(0,t.jsx)("p",{className:"text-[10px] text-[#86868B] mt-0.5",children:"All issues fixed"})]})]}),(0,t.jsx)("div",{className:"flex-1 text-center sm:text-left mt-2 sm:mt-0",children:(0,t.jsx)("p",{className:"text-sm text-[#A1A1A6] leading-relaxed",children:"Binary verdict. Critical finding = BLOCK. Fix it, rescan, get SHIP."})})]})})},{id:"providers",label:"Provider Scores",content:(0,t.jsxs)("div",{className:"p-4 sm:p-6",children:[(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-2",children:[{name:"Secrets",score:"Clean",color:"text-[#30D158]"},{name:"Supabase RLS",score:"2 issues",color:"text-[#FF453A]"},{name:"Auth Flow",score:"1 issue",color:"text-[#FF9500]"},{name:"Payments",score:"1 issue",color:"text-[#FF453A]"},{name:"Blast Radius",score:"Uncapped",color:"text-[#FF453A]"},{name:"+10 more",score:"Clean",color:"text-[#30D158]"}].map(e=>(0,t.jsxs)("div",{className:"p-2 sm:p-2.5 rounded-lg bg-white/[0.03] border border-white/5",children:[(0,t.jsx)("p",{className:"text-[10px] sm:text-xs text-[#86868B] truncate",children:e.name}),(0,t.jsx)("p",{className:`text-xs sm:text-sm font-bold ${e.color}`,children:e.score})]},e.name))}),(0,t.jsx)("p",{className:"text-xs text-[#86868B] mt-3 text-center",children:"15 checks in parallel. Under 20 seconds."})]})},{id:"fix",label:"Fix Prompts",content:(0,t.jsxs)("div",{className:"p-4 sm:p-6",children:[(0,t.jsx)("div",{className:"flex flex-wrap gap-2 mb-3 items-center",children:(0,t.jsx)("span",{className:"px-3 py-1 text-xs font-semibold rounded-lg bg-[#30D158]/10 text-[#30D158] border border-[#30D158]/20",children:"One prompt · any AI tool"})}
1),(0,t.jsxs)("div",{className:"p-3 sm:p-4 rounded-xl bg-black border border-[#2C2C2E] font-[var(--font-mono)] text-xs leading-relaxed",children:[(0,t.jsx)("p",{className:"text-[#FF453A]",children:"// CRITICAL: RLS policy allows public access"}),(0,t.jsx)("p",{className:"text-[#86868B] mt-1.5",children:"Drop the USING(true) policy on the users table and replace with:"}),(0,t.jsx)("p",{className:"text-[#30D158] mt-1.5",children:"USING (auth.uid() = user_id)"}),(0,t.jsx)("p",{className:"text-[#86868B] mt-1.5",children:"Scopes read access to the authenticated user's own rows only."})]}),(0,t.jsx)("p",{className:"text-xs text-[#86868B] mt-3 text-center",children:"Copy. Paste into your IDE. Fixed in seconds."})]})},{id:"monitoring",label:"Monitoring",content:(0,t.jsxs)("div",{className:"p-4 sm:p-6",children:[(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 mb-3",children:[{label:"Uptime",value:"99.9%",color:"text-[#30D158]"},{label:"Last Scan",value:"2h ago",color:"text-[#A1A1A6]"},{label:"Score Trend",value:"+12",color:"text-[#30D158]"},{label:"Open Issues",value:"0",color:"text-[#30D158]"}].map(e=>(0,t.jsxs)("div",{className:"p-2.5 rounded-lg bg-white/[0.03] border border-white/5 text-center",children:[(0,t.jsx)("p",{className:"text-[10px] sm:text-xs text-[#86868B] mb-0.5",children:e.label}),(0,t.jsx)("p",{className:`text-base sm:text-lg font-bold ${e.color}`,children:e.value})]},e.label))}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[["Daily","Weekly","Monthly"].map((e,s)=>(0,t.jsx)("span",{className:`px-3 py-1 text-xs rounded-lg ${0===s?"bg-[#30D158]/10 text-[#30D158] border border-[#30D158]/20":"bg-white/5 text-[#86868B] border border-white/5"}`,children:e},e)),(0,t.jsx)("span",{className:"text-xs text-[#86868B] ml-auto",children:"Email + Telegram alerts"})]})]})}];e.s(["ProductCarousel",0,function(){let[e,r]=(0,s.useState)(0),[a,l]=(0,s.useState)(!1),i=(0,s.useCallback)(()=>{r(e=>(e+1)%n.length)},[]);return(0,s.useEffect)(()=>{if(a)return;let e=setInterval(i,4e3);return()=>clearInterval(e)},[a,i]),(0,t.jsx)("section",{className:"py-24",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto px-6",children:[(0,t.jsxs)("div",{className:"text-center mb-12",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-[#30D158] uppercase tracking-wider mb-3",children:"See it in action"}),(0,t.jsx)("h2",{className:"font-[var(--font-heading)] text-3xl sm:text-4xl font-bold mb-4",children:"What you get"})]}),(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mb-6",children:n.map((s,n)=>(0,t.jsx)("button",{type:"button",onClick:()=>{r(n),l(!0)},className:`px-3 sm:px-4 py-2 text-xs sm:text-sm font-medium rounded-full transition-all ${e===n?"bg-[#30D158] text-black":"bg-white/5 text-[#86868B] hover:bg-white/10"}`,children:s.label},s.id))}),(0,t.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-[#111113] overflow-hidden transition-all flex flex-col min-h-[320px] sm:min-h-[300px]",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3 bg-white/[0.03] border-b border-white/5 shrink-0",children:[(0,t.jsxs)("div",{className:"flex gap-1.5",children:[(0,t.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#FF5F57]"}),(0,t.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#FEBC2E]"}),(0,t.jsx)("span",{className:"w-3 h-3 rounded-full bg-[#28C840]"})]}),(0,t.jsx)("span",{className:"text-xs text-[#86868B] ml-2 font-[var(--font-mono)]",children:"sekrd.com"})]}),(0,t.jsx)("div",{className:"flex-1",children:n[e].content})]}),(0,t.jsx)("div",{className:"flex justify-center gap-2 mt-6",role:"tablist","aria-label":"Carousel slides",children:n.map((s,a)=>(0,t.jsx)("button",{type:"button",role:"tab","aria-label":`Slide ${a+1} of ${n.length}`,"aria-selected":e===a,onClick:()=>{r(a),l(!0)},className:`w-2 h-2 rounded-full transition-all ${e===a?"bg-[#30D158] w-6":"bg-white/20"}`},a))})]})})}])}]);

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.