PageSourceSearch

https://www.greptile.com/_next/static/chunks/08699e5cdfd731c5.js

js greptile.com collected 2026-09-24 18:37:05 UTC 60,522 bytes, 65 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,717222,e=>{"use strict";var t=e.i(843476),s=e.i(657688),a=e.i(425246),r=e.i(846932),l=e.i(975157),i=e.i(519455);function n({title:e,subtitle:n,image:o,primaryButtonText:d="get started",primaryButtonLink:c="https://app.greptile.com/signup",secondaryButtonText:x="contact sales",secondaryButtonLink:h="/contact",bgClassName:m="bg-slate",headingClassName:f="text-lime",bodyClassName:u="text-lime",buttonPrimaryClassName:p="!bg-lime !text-slate",buttonOutlineClassName:b="btn-hex-notch !bg-lime !text-lime [&::after]:!bg-slate",labelClassName:g="!text-lime/60",trialLabel:v="no credit card required • 14-day free trial",imageCornerSquares:j=!1,imageCornerSquareColor:y="bg-neon",beforeImage:N,media:w,frameClassName:k,paddingClassName:C="py-12 md:py-20"}){return(0,t.jsx)("section",{className:(0,l.cn)("relative overflow-hidden px-4 md:px-8",m),children:(0,t.jsxs)("div",{className:(0,l.cn)("section-wrapper",C),children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center max-w-4xl mx-auto",children:[(0,t.jsx)(r.motion.h1,{className:(0,l.cn)("hero-secondary",f),initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},children:e}),n&&(0,t.jsx)(r.motion.p,{className:(0,l.cn)("text-lg md:text-xl lg:text-2xl font-sans mt-4 max-w-3xl",u),initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1,duration:.5,ease:"easeOut"},children:n}),(0,t.jsxs)(r.motion.div,{className:"inner-default mt-8 items-center",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2,duration:.5,ease:"easeOut"},children:[(0,t.jsxs)("div",{className:"btn-hex-group",children:[(0,t.jsx)(i.Button,{variant:"outline",className:b,size:"sm",asChild:!0,children:(0,t.jsx)(a.default,{href:h,children:x})}),(0,t.jsx)(i.Button,{variant:"primary",className:p,size:"sm",asChild:!0,children:(0,t.jsx)(a.default,{href:c,children:d})})]}),v&&(0,t.jsx)("p",{className:(0,l.cn)("label-xs",g),children:v})]})]}),(0,t.jsxs)(r.motion.div,{className:(0,l.cn)("relative",w?"mb-0":"mb-[-25%]",N?"mt-8 md:mt-10":"mt-12 md:mt-16",k),initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{delay:.3,duration:.6,ease:"easeOut"},children:[j&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,l.cn)("absolute -top-1.5 -left-1.5 z-20 size-3 md:-top-2 md:-left-2 md:size-4",y),"aria-hidden":"true"}),(0,t.jsx)("span",{className:(0,l.cn)("absolute -top-1.5 -right-1.5 z-20 size-3 md:-top-2 md:-right-2 md:size-4",y),"aria-hidden":"true"})]}),N,w?(0,t.jsx)("div",{className:"img-frame aspect-video",children:w}):o&&(0,t.jsx)("div",{className:"img-frame img-frame-landscape",children:(0,t.jsx)(s.default,{src:o.src,alt:o.alt,fill:!0,className:"object-contain object-top"})})]})]})})}e.s(["default",()=>n])},740010,e=>{"use strict";var t=e.i(843476),s=e.i(770703),a=e.i(271645);let r=(0,s.default)(()=>e.A(139481).then(e=>({default:e.DotLottieWorkerReact})),{loadableGenerated:{modules:[578208]},ssr:!1});function l({src:e,autoplay:s,loop:l,style:i,className:n,onLoad:o,defer:d,lazy:c}){let x=(0,a.useRef)(null),[h,m]=(0,a.useState)(!d&&!c);if((0,a.useEffect)(()=>{if(!h){if(c){let e=x.current;if(!e)return;if("u"<typeof IntersectionObserver)return void m(!0);let t=new IntersectionObserver(e=>{for(let s of e)if(s.isIntersecting){m(!0),t.disconnect();break}},{rootMargin:"200px"});return t.observe(e),()=>t.disconnect()}if(d){let e=window;if("function"==typeof e.requestIdleCallback){let t=e.requestIdleCallback(()=>m(!0),{timeout:2e3});return()=>e.cancelIdleCallback?.(t)}let t=window.setTimeout(()=>m(!0),300);return()=>window.clearTimeout(t)}}},[d,c,h]),(0,a.useEffect)(()=>{h&&o?.()},[h,o]),!h)return(0,t.jsx)("div",{ref:x,style:i,className:n,"aria-hidden":"true"});let f=e.startsWith("/")?new URL(e,window.location.origin).toString():e;return(0,t.jsx)(r,{src:f,autoplay:s,loop:l,style:i,className:n})}e.s(["default",()=>l])},313501,e=>{"use strict";var t=e.i(843476),s=e.i(657688),a=e.i(425246),r=e.i(271645),l=e.i(846932),i=e.i(975157),n=e.i(519455),o=e.i(740010),d=e.i(904417);let c={"slate-sage":{bg:"bg-slate",heading:"text-sage",body:"text-sage",label:"!text-sage/60",buttonPrimary:"!bg-sage !text-slate",buttonOutline:"btn-hex-notch !bg-sage !text-sage [&::after]:!bg-slate"},green:{bg:"",heading:"text-greptile-green",body:"text-primary",label:"!text-tertiary",buttonPrimary:"",buttonOutline:"btn-hex-notch"},sky:{bg:"bg-slate",heading:"text-ice",body:"text-ice",label:"!text-ice/60",buttonPrimary:"!bg-ice !text-slate",buttonOutline:"btn-hex-notch !bg-ice !text-ice [&::after]:!bg-slate"},magenta:{bg:"bg-slate",heading:"text-lavender",body:"text-lavender",label:"!text-lavender/60",buttonPrimary:"!bg-lavender !text-slate",buttonOutline:"btn-hex-notch !bg-lavender !text-lavender [&::after]:!bg-slate"}};function x({title:e,description:x,buttonText:h="get started",buttonLink:m="https://app.greptile.com/signup",imageSrc:f="/placeholder.svg",imageAlt:u="Feature illustration",lottieSrc:p,figureLabel:b="fig 1.",colorVariant:g="slate-sage",backgroundClass:v="",children:j,hideDivider:y=!1,hideCTA:N=!1,swapCtas:w=!1,badge:k}){let C=c[g],[F,M]=(0,r.useState)(!1);return(0,t.jsx)("section",{className:`relative overflow-hidden px-4 md:px-8 ${C.bg} ${v}`,children:(0,t.jsxs)("div",{className:(0,i.cn)("section-grid items-stretch relative",!N&&"md:min-
1h-[60vh]"),children:[(0,t.jsxs)("div",{className:(0,i.cn)("col-two-thirds flex flex-col text-center md:text-left py-6 md:py-16 relative",N?"justify-start":"justify-between"),children:[!y&&(0,t.jsx)("div",{className:"hidden md:block absolute right-0 top-0 bottom-0 divider-hatch-vertical text-sage/30 w-[10px] translate-x-1/2"}),(0,t.jsxs)("div",{children:[k&&(0,t.jsx)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut"},className:"mb-3",children:(0,t.jsx)(d.AsciiText,{text:!1!==k.withBrackets?`[ ${k.text} ]`:k.text,className:(0,i.cn)("label uppercase",k.className||C.label)})}),(0,t.jsx)(l.motion.h1,{className:`hero-secondary ${C.heading}`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*!!k,duration:.5,ease:"easeOut"},children:e}),(0,t.jsx)(l.motion.p,{className:`text-lg md:text-xl lg:text-2xl font-sans ${C.body} mt-4`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.15,duration:.5,ease:"easeOut"},children:x})]}),(j||!N)&&(0,t.jsx)(l.motion.div,{className:"inner-default mt-8 md:mt-auto items-center md:items-start",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3,duration:.5,ease:"easeOut"},children:j||(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"btn-hex-group",children:[(0,t.jsx)(n.Button,{variant:"outline",className:C.buttonOutline,size:"sm",asChild:!0,children:(0,t.jsx)(a.default,{href:w?"/contact":m,children:w?"contact sales":h})}),(0,t.jsx)(n.Button,{variant:"primary",className:C.buttonPrimary,size:"sm",asChild:!0,children:(0,t.jsx)(a.default,{href:w?m:"/contact",children:w?h:"contact sales"})})]}),(0,t.jsx)("p",{className:`label-xs ${C.label}`,children:"no credit card required • 14-day free trial"})]})})]}),(0,t.jsxs)(l.motion.div,{className:"col-third relative flex flex-col items-center justify-center bg-grid-pattern -mt-4 md:mt-0 py-0 md:py-16",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.2,duration:.6,ease:"easeOut"},children:[(0,t.jsxs)("div",{className:(0,i.cn)("img-frame img-frame-landscape md:img-frame-square w-full",N&&"md:max-w-[70%]"),children:[(0,t.jsx)(s.default,{src:f,alt:u,fill:!0,className:`object-contain transition-opacity duration-300 ${p&&F?"opacity-0":"opacity-100"}`}),p&&(0,t.jsx)(o.default,{src:p,autoplay:!0,loop:!0,className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-300 ${F?"opacity-100":"opacity-0"}`,onLoad:()=>M(!0)})]}),b&&(0,t.jsx)("p",{className:`label-xs ${C.label} mt-3 hidden md:block`,children:b})]})]})})}e.s(["default",()=>x])},413814,e=>{"use strict";var t=e.i(843476),s=e.i(657688),a=e.i(425246),r=e.i(846932),l=e.i(519455),i=e.i(153453),n=e.i(427234),o=e.i(740010),d=e.i(494881);function c(){return(0,t.jsxs)("div",{className:"relative overflow-hidden bg-background",children:[(0,t.jsx)("link",{rel:"preload",href:"/greptile-lizard.lottie",as:"fetch",crossOrigin:"anonymous"}),(0,t.jsx)("style",{children:`
2				@keyframes lizard-glow {
3					0%, 100% { filter: invert(1) drop-shadow(0 0 2px rgba(236,255,163,0.9)) drop-shadow(0 0 6px rgba(236,255,163,0.6)) drop-shadow(0 0 10px rgba(236,255,163,0.3)); }
4					50%      { filter: invert(1) drop-shadow(0 0 2px rgba(197,255,214,0.9)) drop-shadow(0 0 6px rgba(197,255,214,0.6)) drop-shadow(0 0 10px rgba(197,255,214,0.3)); }
5				}
6				.lizard-glow {
7					animation: lizard-glow 6s infinite ease-in-out;
8					will-change: filter;
9				}
10				`}),(0,t.jsxs)(i.default,{compact:!0,bordered:!0,borderColor:"text-border",children:[(0,t.jsx)("div",{className:"absolute bottom-0 right-0 pointer-events-none h-auto aspect-square lizard-glow hidden md:block w-[max(500px,min(55vw,100vh))]",children:(0,t.jsx)(o.default,{src:"/greptile-lizard.lottie",className:"w-full h-full",loop:!0,autoplay:!0})}),(0,t.jsxs)("div",{className:"content-shell relative min-h-[85vh] flex flex-col justify-between px-6 md:px-14 lg:px-16",children:[(0,t.jsx)("div",{className:"absolute bottom-0 right-0 pointer-events-none aspect-square w-[80vw] max-w-[500px] opacity-30 md:hidden",children:(0,t.jsx)(s.default,{src:"/lizard-mobile.png",alt:"",fill:!0,className:"object-contain object-right-bottom",priority:!0})}),(0,t.jsx)("div",{className:"relative z-10 pt-12 md:pt-20 lg:pt-24",children:(0,t.jsxs)(r.motion.h1,{className:"text-slate text-6xl sm:text-7xl lg:text-8xl 3xl:text-9xl font-anybody font-bold tracking-tight leading-[0.9]",initial:{opacity:0,filter:"blur(8px)"},animate:{opacity:1,filter:"blur(0px)"},transition:{duration:.7,ease:"easeOut"},children:["The AI Code",(0,t.jsx)("br",{}),"Reviewer"]})}),(0,t.jsx)("div",{className:"relative z-10 pb-12 md:pb-20 lg:pb-24",children:(0,t.jsxs)(r.motion.div,{className:"inner-default max-w-lg 2xl:max-w-2xl 3xl:max-w-3xl",initial:{opacity:0,filter:"blur(6px)"},animate:{opacity:1,filter:"blur(0px)"},transition:{delay:.2,duration:.6,ease:"easeOut"},children:[(0,t.jsx)("p",{className:"text-xl md:text-2xl 2xl:text-3xl 3xl:text-4xl text-slate",children:"AI agents that review and test pull requests with full context of the codebase."}),(0,t.jsxs)("div",{className:"btn-hex-group",children:[(0,t.jsx)(l.Button,{variant:"outline",className:"btn-hex-notch !border-slate !bg-slate !text-fog 2xl:btn-hex-lg",size:"md",asChild:!0,children:(0,t.jsx)(a.default,{href:"/contact",children:"Contact Sales"})}),(0,t.jsx)(l.Button,{variant:"default",className:"!border-greptile-green !bg-greptile-green !text-black 2xl:btn-hex-lg",size:"md",asChild:!0,children:(0,t.jsx)(a.default,{href:"https://app.greptile.com/signup",children:"Start now"})})]}),(0,t.jsxs)(a.default,{href:d.SITE.docsCliOnboarding,className:"group inline-flex w-fit items-center gap-1 label-xs text-slate transition-colors hover:text-black",children:[(0,t.jsx)("span",{className:"underline underline-offset-2",children:"onboard with your agent"}),(0,t.jsx)(n.Icon,{name:"ArrowRight",size:"xs",className:"transition-transform group-hover:translate-x-0.5"})]})]})})]})]})]})}e.s(["default",()=>c])},11566,e=>{"use strict";var t=e.i(843476);let s=(0,e.i(770703).default)(()=>e.A(932412).then(e=>({default:e.Dithering})),{loadableGenerated:{modules:[4456]},ssr:!1});
10function a({title:e,subtitle:a,customContent:r,ditheringColors:l=["#ECFFA3","#C5FFD6"],ditheringShape:i="ripple",ditheringSpeed:n=0,hideDithering:o=!1}){return(0,t.jsxs)("section",{className:"overflow-hidden relative w-full border-b border-border",children:[(0,t.jsx)("div",{className:"divider-hatch text-border absolute top-0 left-0 right-0 z-2"}),(0,t.jsx)("div",{className:"divider-hatch text-border absolute bottom-0 left-0 right-0 z-2"}),(0,t.jsx)("div",{className:"divider-hatch-vertical absolute inset-y-0 text-border z-2 hidden md:block",style:{left:192}}),(0,t.jsx)("div",{className:"divider-hatch-vertical absolute inset-y-0 text-border z-2 hidden md:block",style:{right:192}}),(0,t.jsx)("div",{className:"absolute left-0 inset-y-0 pointer-events-none z-1 hidden md:flex",style:{gap:32},"aria-hidden":"true",children:Array.from({length:6},(e,t)=>({key:`range-6-${t}`,index:t})).map(({key:e})=>(0,t.jsx)("div",{className:"h-full border-l border-dashed border-slate/10"},e))}),!o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute pointer-events-none z-0 overflow-hidden inset-[10px] md:hidden",children:(0,t.jsx)(s,{style:{width:"100%",height:"100%"},colorBack:`${l[1]}00`,colorFront:l[1],shape:i,type:"4x4",size:4,speed:n,scale:.8})}),(0,t.jsx)("div",{className:"absolute pointer-events-none z-0 overflow-hidden hidden md:block",style:{to
10p:10,bottom:10,left:202,right:202},children:(0,t.jsx)(s,{style:{width:"100%",height:"100%"},colorBack:`${l[1]}00`,colorFront:l[1],shape:i,type:"8x8",size:7,speed:n,scale:1.2})})]}),(0,t.jsx)("div",{className:"absolute right-0 inset-y-0 pointer-events-none z-1 hidden md:flex flex-row-reverse",style:{gap:32},"aria-hidden":"true",children:Array.from({length:6},(e,t)=>({key:`range-6-${t}`,index:t})).map(({key:e})=>(0,t.jsx)("div",{className:"h-full border-l border-dashed border-slate/10"},e))}),(0,t.jsx)("div",{className:"relative z-10 section-wrapper text-center text-slate !px-6 md:!px-[208px]",children:(0,t.jsxs)("div",{className:"inner-tight",children:[(0,t.jsx)("h1",{className:"text-slate",children:Array.isArray(e)?e.map(e=>(0,t.jsx)("span",{className:"block",children:e},e)):e}),a&&(0,t.jsx)("p",{className:"p-lg text-slate",children:a}),r]})})]})}e.s(["default",()=>a])},380396,e=>{"use strict";var t=e.i(843476),s=e.i(904417),a=e.i(271645);let r=`
11@keyframes subtle-glitch {
12    0%, 95% { transform: translate(0); opacity: 1; }
13    96% { transform: translate(-2px, 1px); opacity: 0.9; }
14    97% { transform: translate(2px, -1px); opacity: 0.95; }
15    98% { transform: translate(-1px, 0); opacity: 0.9; }
16    99% { transform: translate(1px, 1px); opacity: 0.95; }
17    100% { transform: translate(0); opacity: 1; }
18}
19.glitch-title {
20    animation: subtle-glitch 4s infinite;
21}
22.glitch-title::before,
23.glitch-title::after {
24    content: attr(data-text);
25    position: absolute;
26    top: 0;
27    left: 0;
28    width: 100%;
29    height: 100%;
30    opacity: 0;
31}
32.glitch-title::before {
33    color: #5882FF;
34    animation: subtle-glitch-before 4s infinite;
35}
36.glitch-title::after {
37    color: #3D5ECC;
38    animation: subtle-glitch-after 4s infinite;
39}
40@keyframes subtle-glitch-before {
41    0%, 95% { opacity: 0; transform: translate(0); }
42    96% { opacity: 0.3; transform: translate(-2px, 0); }
43    97% { opacity: 0; transform: translate(0); }
44    98% { opacity: 0.2; transform: translate(1px, 0); }
45    100% { opacity: 0; transform: translate(0); }
46}
47@keyframes subtle-glitch-after {
48    0%, 95% { opacity: 0; transform: translate(0); }
49    96.5% { opacity: 0.2; transform: translate(2px, 0); }
50    97.5% { opacity: 0; transform: translate(0); }
51    98.5% { opacity: 0.3; transform: translate(-1px, 0); }
52    100% { opacity: 0; transform: translate(0); }
53}
54`,l=({type:e})=>{let s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t=s.current;if(!t)return;let a=t.getContext("2d");if(!a)return;t.width=t.offsetWidth,t.height=200;let r=t.width,l=t.height;if("scatter"===e){for(let e=0;e<150;e++){let e=Math.random()*r,t=Math.random()*l,s=1+2*Math.random();a.beginPath(),a.arc(e,t,s,0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.2+.3*Math.random()})`,a.fill()}for(let e=0;e<20;e++){let e=Math.random()*r,t=Math.random()*l,s=2+3*Math.random();a.fillStyle=`rgba(88, 130, 255, ${.15+.15*Math.random()})`,a.fillRect(e,t,s,s)}}else if("clusters"===e){let e=[{cx:.2*r,cy:.3*l},{cx:.5*r,cy:.6*l},{cx:.8*r,cy:.4*l}];e.forEach(e=>{for(let t=0;t<80;t++){let t=Math.random()*Math.PI*2,s=50*Math.random(),r=e.cx+Math.cos(t)*s,l=e.cy+Math.sin(t)*s,i=1+2*Math.random();a.beginPath(),a.arc(r,l,i,0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.25+.25*Math.random()})`,a.fill()}}),a.strokeStyle="rgba(88, 130, 255, 0.1)",a.lineWidth=.5;for(let t=0;t<e.length;t++)for(let s=t+1;
54s<e.length;s++)a.beginPath(),a.moveTo(e[t].cx,e[t].cy),a.lineTo(e[s].cx,e[s].cy),a.stroke()}else if("grid"===e){a.strokeStyle="rgba(88, 130, 255, 0.2)",a.lineWidth=.5;for(let e=0;e<r;e+=20)a.beginPath(),a.moveTo(e,0),a.lineTo(e,l),a.stroke();for(let e=0;e<l;e+=20)a.beginPath(),a.moveTo(0,e),a.lineTo(r,e),a.stroke();for(let e=0;e<r;e+=20)for(let t=0;t<l;t+=20).7>Math.random()&&(a.beginPath(),a.arc(e,t,2.5+Math.random(),0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.35+.25*Math.random()})`,a.fill());for(let e=0;e<80;e++)a.beginPath(),a.arc(Math.random()*r,Math.random()*l,1+1.5*Math.random(),0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.2+.2*Math.random()})`,a.fill()}else if("network"===e){let e=[];for(let t=0;t<20;t++)e.push({x:30+Math.random()*(r-60),y:30+Math.random()*(l-60)});a.strokeStyle="rgba(88, 130, 255, 0.15)",a.lineWidth=.5,e.forEach((t,s)=>{e.slice(s+1).forEach(e=>{80>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)&&(a.beginPath(),a.moveTo(t.x,t.y),a.lineTo(e.x,e.y),a.stroke())})}),e.forEach(e=>{a.beginPath(),a.arc(e.x,e.y,3+2*Math.random(),0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.4+.2*Math.random()})`,a.fill()})}else if("streams"===e)for(let e=0;e<6;e++){let t=l/7*(e+1);for(let s=0;s<40;s++){let l=r/40*s,i=t+20*Math.sin(l/30+e);a.beginPath(),a.arc(l,i,1.5,0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.3+.2*Math.random()})`,a.fill()}}else if("noise"===e)for(let e=0;e<r;e+=12)for(let t=0;t<l;t+=12){let s=Math.sin(.05*e)*Math.cos(.05*t);s>.1&&(a.beginPath(),a.arc(e,t,1+2*s,0,2*Math.PI),a.fillStyle=`rgba(88, 130, 255, ${.25+.2*s})`,a.fill())}else if("radial"===e){let e=r/2,t=l/2;for(let s=20;s<120;s+=25)a.beginPath(),a.arc(e,t,s,0,2*Math.PI),a.strokeStyle="rgba(88, 130, 255, 0.1)",a.lineWidth=.5,a.stroke();for(let s=0;s<50;s++){let r=.4*s,l=2*s,i=e+Math.cos(r)*l,n=t+Math.sin(r)*l;a.beginPath(),a.arc(i,n,1.5,0,2*Math.PI),a.fillStyle="rgba(88, 130, 255, 0.3)",a.fill()}}a.font="bold 10px monospace",a.fillStyle="rgba(70, 100, 200, 0.7)","scatter"===e?(a.fillText("2.1M repos analyzed",.55*r,.2*l),a.fillText("45% faster PR reviews",.05*r,.7*l)):"clusters"===e?(a.fillText("67% use CLAUDE.md",.05*r,.2*l),a.fillText("48% use Cursor IDE",.35*r,.5*l),a.fillText("34% use AI agents",.62*r,.8*l)):"grid"===e?(a.fillText("Vector DB share:",.05*r,.18*l),a.fillText("59% mem0",.28*r,.38*l),a.fillText("25% Weaviate",.5*r,.58*l),a.fillText("18% Pinecone",.7*r,.8*l)):"network"===e?(a.fillText("1,547x Claude growth",.55*r,.2*l),a.fillText("OpenAI:Anthropic 4.2:1",.05*r,.75*l)):"streams"===e?(a.fillText("8x Anthropic YoY",8,.25*l),a.fillText("43M SDK installs",r-120,.75*l)):"noise"===e&&(a.fillText("LLMOps downloads:",.05*r,.15*l),a.fillText("110M LangSmith",.3*r,.4*l),a.fillText("86M LangChain",.5*r,.62*l),a.fillText("3.7x YoY growth",.68*r,.84*l))},[e]),(0,t.jsx)("div",{className:"w-full h-full",children:(0,t.jsx)("canvas",{ref:s,className:"w-full h-full"})})};function i({title:e,subtitle:a,description:i,sideContent:n,customContent:o}){return(0,t.jsx)("section",{className:"overflow-hidden relative w-full border-b border-border",children:(0,t.jsxs)("div",{className:"content-shell min-h-[400px] md:min-h-[600px] relative grid grid-cols-1 md:grid-cols-3 md:grid-rows-3",children:[(0,t.jsxs)("div",{className:"md:col-span-2 md:row-span-2 px-8 sm:px-12 py-8 sm:py-12 relative overflow-hidden border-b md:border-r md:border-b border-dashed border-border",children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:`
55                            linear-gradient(rgba(156, 163, 175, 0.15) 1px, transparent 1px),
56                            linear-gradient(90deg, rgba(156, 163, 175, 0.15) 1px, transparent 1px)
57                        `,backgroundSize:"20px 20px"}}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col items-start justify-center h-full",children:[n&&(0,t.jsx)("div",{className:"mb-6 text-label text-slate",children:Array.isArray(n)?n.map(e=>"string"==typeof e?(0,t.jsx)(s.AsciiText,{text:e,className:"cursor-default"},e):(0,t.jsx)("div",{children:e},String(e))):n}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:r}}),(0,t.jsx)("h1",{className:"hero-primary text-slate glitch-title relative","data-text":Array.isArray(e)?e.join(" "):e,children:e}),(a||i)&&(0,t.jsx)("div",{className:"mt-6",children:a&&(0,t.jsx)("p",{className:"font-mono text-primary text-sm md:text-base max-w-2xl whitespace-pre-line",children:a})}),o]})]}),(0,t.jsx)("div",{className:"relative border-b border-dashed border-border min-h-[200px] hidden md:block",children:(0,t.jsx)(l,{type:"network"})}),(0,t.jsx)("div",{className:"relative border-b border-dashed border-border min-h-[200px] hidden md:block",children:(0,t.jsx)(l,{type:"grid"})}),(0,t.jsx)("div",{className:"relative border-b md:border-b-0 md:border-r border-dashed border-border min-h-[200px] hidden md:block",children:(0,t.jsx)(l,{type:"cluster
57s"})}),(0,t.jsx)("div",{className:"relative border-b md:border-b-0 md:border-r border-dashed border-border min-h-[200px] hidden md:block",children:(0,t.jsx)(l,{type:"noise"})}),(0,t.jsx)("div",{className:"relative min-h-[200px] hidden md:block",children:(0,t.jsx)(l,{type:"streams"})})]})})}e.s(["default",()=>i])},573171,e=>{"use strict";var t=e.i(843476);let s=(0,e.i(770703).default)(()=>e.A(932412).then(e=>({default:e.Dithering})),{loadableGenerated:{modules:[4456]},ssr:!1});function a({waveColors:e=["#ECFFA3","#C5FFD6"]}){return(0,t.jsxs)("div",{className:"relative w-full overflow-hidden bg-slate",children:[(0,t.jsx)("div",{className:"bg-paper-dot-light absolute inset-0 pointer-events-none z-0"}),(0,t.jsxs)("div",{className:"pointer-events-none relative z-10 h-16 w-full md:h-20 lg:h-24",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(s,{style:{width:"100%",height:"100%"},colorBack:"#3D3B4F00",colorFront:e[0],shape:"wave",type:"8x8",size:5,speed:.15,scale:1.2})}),(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(s,{style:{width:"100%",height:"100%"},colorBack:"#3D3B4F00",colorFront:e[1],shape:"wave",type:"4x4",size:4,speed:.1,scale:1.5})})]})]})}function r({title:e,subtitle:a,customContent:r,titleClassName:l="text-lime",subtitleClassName:i="text-sage",waveColors:n=["#ECFFA3","#C5FFD6"],size:o="lg",hideWave:d=!1}){return(0,t.jsxs)("section",{className:"relative flex w-full flex-col overflow-hidden bg-slate",children:[(0,t.jsx)("div",{className:"bg-paper-dot-light absolute inset-0 pointer-events-none z-0"}),(0,t.jsx)("div",{className:`${"lg"===o?"section-wrapper-lg":"section-wrapper-md"} relative z-10 text-center ${d?"":"!pb-4 md:!pb-6"}`,children:(0,t.jsxs)("div",{className:"inner-tight",children:[e&&(0,t.jsx)("h1",{className:l,children:Array.isArray(e)?e.join(" "):e}),a&&(0,t.jsx)("p",{className:`p-lg ${i}`,children:a}),r]})}),!d&&(0,t.jsxs)("div",{className:"pointer-events-none relative z-10 h-16 w-full md:h-20 lg:h-24",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(s,{style:{width:"100%",height:"100%"},colorBack:"#3D3B4F00",colorFront:n[0],shape:"wave",type:"8x8",size:5,speed:.15,scale:1.2})}),(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(s,{style:{width:"100%",height:"100%"},colorBack:"#3D3B4F00",colorFront:n[1],shape:"wave",type:"4x4",size:4,speed:.1,scale:1.5})})]})]})}e.s(["DarkWaveBand",()=>a,"default",()=>r])},695755,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(425246),r=e.i(427234),l=e.i(975157);function i({items:e,type:a="single",defaultOpen:r,className:i,dividerClassName:o}){let[d,c]=s.useState(()=>r?Array.isArray(r)?r:[r]:[]);return(0,t.jsx)("div",{className:(0,l.cn)("",i),children:e.map((e,r)=>{let i=e.id||`item-${r}`,x=d.includes(i);return(0,t.jsxs)(s.Fragment,{children:[r>0&&(0,t.jsx)("hr",{className:(0,l.cn)("border-t",o||"border-border")}),(0,t.jsx)(n,{trigger:e.trigger,content:e.content,isOpen:x,onToggle:()=>{"single"===a?c(e=>e.includes(i)?[]:[i]):c(e=>e.includes(i)?e.filter(e=>e!==i):[...e,i])}})]},i)})})}function n({trigger:e,content:s,isOpen:a,onToggle:i}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"m-0",children:(0,t.jsxs)("button",{className:"w-full py-4 text-left flex items-center justify-between hover:text-primary transition-colors group",onClick:i,children:[(0,t.jsx)("span",{className:"text-sm md:text-base lg:text-base font-sans text-primary block text-left tracking-normal",children:e}),(0,t.jsx)(r.Icon,{name:"CaretDown",size:"sm",className:(0,l.cn)("text-secondary transition-transform duration-200",a&&"rotate-180")})]})}),(0,t.jsx)("div",{className:(0,l.cn)("grid transition-all duration-300 ease-in-out",a?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"pb-4",children:"string"==typeof s?(0,t.jsx)("p",{className:"text-secondary",children:s}):(0,t.jsx)("div",{className:"text-secondary [&>p]:text-secondary",children:s})})})})]})}var o=e.i(153453),d=e.i(24842);function c({faqItems:e,buttonText:r="Get in touch",buttonHref:n="/contact",colorClassName:c,dark:x=!1}
57){let h=(0,s.useRef)(null),[m,f]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=h.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&f(!0)},{threshold:.2});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("section",{ref:h,className:(0,l.cn)("relative w-full overflow-hidden",x?"bg-slate":"bg-background"),children:(0,t.jsxs)(o.default,{children:[(0,t.jsx)(d.default,{side:"left",squareColor:x?"bg-seafoam":"bg-lime",lineColor:x?"border-lavender/20":void 0,visible:m}),(0,t.jsx)(d.default,{side:"right",squareColor:x?"bg-seafoam":"bg-lime",lineColor:x?"border-lavender/20":void 0,visible:m}),(0,t.jsx)("div",{className:"text-center mb-8",children:(0,t.jsx)("h2",{className:x?"text-sage":"text-slate",children:"FAQ"})}),(0,t.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,t.jsx)(i,{items:e.map((e,t)=>({id:`faq-${t}`,trigger:e.question,content:e.answer})),type:"single",className:(0,l.cn)(x?"[&_span]:!text-sage [&_.text-secondary]:!text-sage/60":"[&_span]:!text-slate [&_.text-secondary]:!text-slate",c),dividerClassName:x?"border-dashed border-lavender/20":"border-dashed border-slate"})}),(0,t.jsx)("div",{className:"text-center mt-8",children:(0,t.jsxs)("p",{className:x?"text-sage/60":"text-secondary",children:["Can't find your answer here?"," ",n.startsWith("/")?(0,t.jsx)(a.default,{href:n,scroll:!0,className:(0,l.cn)("underline",x?"text-sage hover:text-seafoam":"hover:text-primary"),children:r}):(0,t.jsx)("a",{href:n,className:(0,l.cn)("underline",x?"text-sage hover:text-seafoam":"hover:text-primary"),children:r}),"."]})})]})})}e.s(["default",()=>c],695755)},933544,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(153453);
57function r(){let[e,a]=(0,s.useState)(0xec59a10);(0,s.useEffect)(()=>{let e=setInterval(()=>{a(e=>e+Math.floor(30*Math.random())+10)},200);return()=>clearInterval(e)},[]);let r=e.toString().padStart(9,"0").split("").map((e,t)=>({key:`digit-${t}`,digit:e}));return(0,t.jsx)("div",{className:"flex gap-1.5 flex-wrap",children:r.map(({key:e,digit:s})=>(0,t.jsx)("div",{className:"w-[clamp(28px,4vw,48px)] h-[clamp(40px,5.5vw,64px)] flex items-center justify-center font-mono text-[clamp(16px,2.5vw,28px)] font-bold bg-fog border border-greptile-green",style:{color:"#756CF5",textShadow:"0 0 6px #756CF5, 0 0 14px #756CF580"},children:s},e))})}function l(){return(0,t.jsx)(a.default,{bordered:!0,compact:!0,children:(0,t.jsx)("div",{className:"section-wrapper",children:(0,t.jsxs)("div",{className:"section-grid items-center",children:[(0,t.jsx)("div",{className:"col-third",children:(0,t.jsx)("h3",{className:"text-onyx",children:"Issues Caught by Greptile"})}),(0,t.jsx)("div",{className:"col-two-thirds flex justify-end",children:(0,t.jsx)(r,{})})]})})})}e.s(["default",()=>l])},24842,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(975157);let r=[[18,52,84],[10,40,72],[25,60,90],[15,48,78],[30,65,88],[8,45,70],[22,55,82],[12,38,75]];function l({side:e,squareColor:l="bg-lime",lineColor:i="border-border",visible:n}){let o=(0,s.useRef)(null),[d,c]=(0,s.useState)(!1),x=n??d;return(0,s.useEffect)(()=>{if(void 0!==n)return;let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&c(!0)},{threshold:.2});return t.observe(e),()=>t.disconnect()},[n]),(0,t.jsx)("div",{ref:o,className:(0,a.cn)("absolute inset-y-0 pointer-events-none z-[1] hidden xl:flex","left"===e?"left-1":"right-1 flex-row-reverse"),style:{gap:32},"aria-hidden":"true",children:r.map((e,s)=>(0,t.jsx)("div",{className:(0,a.cn)("relative h-full border-l border-dashed transition-all duration-700 ease-out",i),style:{transform:x?"scaleY(1)":"scaleY(0)",transformOrigin:"top",transitionDelay:`${80*s}ms`},children:e.map(e=>(0,t.jsx)("div",{className:(0,a.cn)("absolute w-2 h-2 -left-[4px]",l),style:{top:`${e}%`}},e))},`line-${e.join("-")}`))})}e.s(["default",()=>l])},566124,e=>{"use strict";var t=e.i(843476),s=e.i(657688),a=e.i(271645),r=e.i(846932),l=e.i(88653),i=e.i(770703),n=e.i(975157),o=e.i(153453),d=e.i(916233),c=e.i(84469);let x=(0,i.default)(()=>e.A(932412).then(e=>({default:e.Dithering})),{loadableGenerated:{modules:[4456]},ssr:!1}),h=[{src:"/logos/home/color/nvidia.svg",alt:"NVIDIA",width:120},{src:"/logos/home/vanta.svg",alt:"Vanta",width:96},{src:"/logos/home/scale.svg",alt:"Scale",width:82},{src:"/logos/customers/posthog-color.webp",alt:"PostHog",width:120},{src:"/logos/home/color/substack.svg",alt:"Substack",width:120},{src:"/logos/customers/workos-color-wide.webp",alt:"WorkOS",width:112},{src:"/logos/customers/brex-color-wide.webp",alt:"Brex",width:88},{src:"/logos/home/klaviyo.svg",alt:"Klaviyo",width:90},{src:"/logos/home/retool.svg",alt:"Retool",width:112},{src:"/logos/home/color/mintlify.svg",alt:"Mintlify",width:108},{src:"/logos/home/color/zapier.svg",alt:"Zapier",width:90},{src:"/logos/home/joby.svg",alt:"Joby",width:96},{src:"/logos/home/compass.svg",alt:"Compass",width:128},{src:"/logos/home/bilt.svg",alt:"Bilt",width:112},{src:"/logos/home/color/crossmint.svg",alt:"Crossmint",width:116},{src:"/logos/home/material-security.svg",alt:"Material Security",width:90}];function m({dark:e}){return(0,t.jsx)("div",{className:(0,n.cn)("content-shell grid grid-cols-4 lg:grid-cols-8 border-t border-dashed [--logo-scale:0.6] sm:[--logo-scale:1]",e?"border-sage/10":"border-silver"),children:h.map(a=>(0,t.jsx)("div",{className:(0,n.cn)("group flex min-w-0 items-center justify-center h-16 md:h-20 px-3 border-r border-b border-dashed transition-colors duration-200",e?"border-sage/10 bg-slate/50 hover:bg-fog":"border-silver bg-fog/50 hover:bg-white"),children:(0,t.jsx)(s.default,{src:a.src,alt:a.alt,width:120,height:40,className:(0,n.cn)("h-auto max-h-8 max-w-full object-contain transition-[filter,opacity] duration-200 motion-reduce:transition-none group-hover:filter-none group-hover:opacity-100",e?"brightness-0 invert opacity-80":"brightness-0 opacity-60"),style:{width:`calc(${a.width}px * var(--logo-scale))`}})},a.alt))})}function f({value:e,label:s,className:a,dark:r}){return(0,t.jsxs)("div",{className:(0,n.cn)("flex flex-col",r?"text-lime/30":"text-slate/20",a),children:[(0,t.jsx)("div",{className:"divider-bars"}),(0,t.jsxs)("div",{className:"flex flex-1",children:[(0,t.jsx)("div",{className:"divider-bars-vertical shrink-0 self-stretch"}),(0,t.jsxs)("div",{className:"flex-1 min-w-0 p-8 md:p-12 flex flex-col items-center justify-center text-center",children:[(0,t.jsx)("h2",{className:(0,n.cn)("mb-1 tabular-nums",r?"text-lime":"text-slate"),children:e}),(0,t.jsx)("span",{className:(0,n.cn)("label-sm uppercase",r?"!text-sage":"text-slate"),children:s})]}),(0,t.jsx)("div",{className:"divider-bars-vertical shrink-0 self-stretch"})]}),(0,t.jsx)("div",{className:"divider-bars"})]})}function u({catches:e,dark:s}){let i=e.slice(0,60),o=i.slice(0,6).map((e,t)=>({catch_:e,key:t})),[d,c]=(0,a.useState)(o),x=(0,a.useRef)(6),h=(0,a.useRef)(6);return(0,a.useEffect)(()=>
57{if(0===i.length)return;let e=setInterval(()=>{let e=i[x.current%i.length];x.current++,h.current++,c(t=>[{catch_:e,key:h.current},...t].slice(0,6))},2500);return()=>clearInterval(e)},[i]),(0,t.jsxs)("div",{className:(0,n.cn)("col-third flex flex-col",s?"text-lime/30":"text-slate/20"),children:[(0,t.jsx)("div",{className:"divider-bars"}),(0,t.jsxs)("div",{className:"flex flex-1",children:[(0,t.jsx)("div",{className:"divider-bars-vertical shrink-0 self-stretch"}),(0,t.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden relative",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-10 pointer-events-none",style:{background:s?"linear-gradient(to bottom, var(--color-slate) 0%, transparent 15%, transparent 85%, var(--color-slate) 100%)":"linear-gradient(to bottom, var(--color-silver) 0%, transparent 15%, transparent 85%, var(--color-silver) 100%)"}}),(0,t.jsx)("div",{className:"absolute inset-0 flex flex-col justify-between py-2 font-space-mono",children:(0,t.jsx)(l.AnimatePresence,{initial:!1,children:d.map(({catch_:e,key:a})=>{let l=["text-coral","text-pink","text-sky","text-magenta","text-neon"],i=l[a%l.length];return(0,t.jsxs)(r.motion.a,{href:e.pr_url,target:"_blank",rel:"noopener noreferrer",className:(0,n.cn)("block px-3 py-2 border border-dashed shrink-0 group transition-colors",s?"bg-sage/5 border-sage/15 hover:border-seafoam hover:bg-seafoam/10":"bg-fog/40 border-border/50 hover:border-lime hover:bg-lime/20"),layout:!0,initial:{opacity:0,y:-20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.95},transition:{layout:{type:"spring",stiffness:500,damping:35},opacity:{duration:.3},y:{type:"spring",stiffness:500,damping:30},scale:{duration:.3}},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("span",{className:(0,n.cn)("text-[11px] font-bold shrink-0",i),children:["PR #",e.pr_number]}),(0,t.jsx)("p",{className:(0,n.cn)("text-xs tracking-wider truncate uppercase font-bold",s?"text-sage":"text-slate"),children:e.repo}),(0,t.jsx)("span",{className:(0,n.cn)("text-[9px] ml-auto shrink-0 uppercase",i),children:e.bug_category||"BUG"})]}),(0,t.jsx)("p",{className:(0,n.cn)("text-xs truncate mt-0.5",s?"text-sage/80":"text-slate/80"),children:e.title})]},a)})})})]}),(0,t.jsx)("div",{className:"divider-bars-vertical shrink-0 self-stretch"})]}),(0,t.jsx)("div",{className:"divider-bars"})]})}function p({dark:e=!1,highlightColor:s}){return(0,t.jsxs)("div",{className:(0,n.cn)("relative",e?"bg-slate":"bg-background"),children:[(0,t.jsx)(c.default,{label:"Over 22,000+ teams use Greptile",dividerClassName:"divider-plus-sm",lineClassName:e?"!border-sage/10":"!border-border/15",labelClassName:e?"text-fog":void 0,highlightOnView:!0,highlightColor:s||(e?"#ECFFA3":"#C5FFD6")}),(0,t.jsx)(m,{dark:e})]})}function b({catches:e,stats:s={},badge:a="LIVE FROM OS REPOS",title:r="See what Greptile can catch.",actionButton:l={text:"See examples",href:"/examples"},className:i,dark:c=!1}){let{repos:h="3B",prsReviewed:m="1M",companies:p="22,000+",developers:b="500k"}=s;return(0,t.jsxs)("div",{className:(0,n.cn)("relative",c?"bg-slate":"bg-background bg-grid-pattern"),children:[(0,t.jsx)("div",{className:(0,n.cn)("divider-hatch",c?"text-sage/10":"text-border")}),(0,t.jsxs)("div",{className:"relative h-[120px] pointer-events-none",style:{transform:"scaleY(-1)"},children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(x,{style:{width:"100%",height:"100%"},colorBack:c?"#3D3B4F00":"#D6D6D600",colorFront:"#C5FFD6",shape:"wave",type:"4x4",size:5,speed:0,scale:1.2})}),(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(x,{style:{width:"100%",height:"100%"},colorBack:c?"#3D3B4F00":"#D6D6D600",colorFront:"#ECFFA3",shape:"wave",type:"4x4",size:5,speed:0,scale:1.4})})]}),(0,t.jsx)("div",{className:(0,n.cn)("border-t border-dashed",c?"border-sage/10":"border-fog")}),(0,t.jsx)(o.default,{size:"sm",className:i,children:(0,t.jsx)(d.default,{badge:{text:a,withBrackets:!0,className:"text-sage"},title:r,actionButton:{...l,className:c?"!bg-sage !text-slate":"!bg-slate !text-fog"},layout:{alignment:"center",padding:""},containerClassName:c?"text-sage":"text-slate"})}),(0,t.jsx)(o.default,{size:"sm",className:i,children:(0,t.jsxs)("div",{className:"section-grid lg:items-stretch",children:[(0,t.jsxs)("div",{className:"col-third inner-default flex flex-col",children:[(0,t.jsx)(f,{value:h,label:"Lines of Code Reviewed / Month",dark:c,className:"flex-1"}),(0,t.jsx)(f,{value:m,label:"PRs Reviewed / Month",dark:c,className:"flex-1"})]}),(0,t.jsx)(u,{catches:e,dark:c}),(0,t.jsxs)("div",{className:"col-third inner-default flex flex-col",children:[(0,t.jsx)(f,{value:p,label:"Teams 
57Use Greptile",dark:c,className:"flex-1"}),(0,t.jsx)(f,{value:b,label:"Addressed Issues / Month",dark:c,className:"flex-1"})]})]})})]})}e.s(["LogoSection",()=>p,"default",()=>b])},153453,e=>{"use strict";var t=e.i(843476),s=e.i(975157);let a={sm:"section-wrapper-sm",md:"section-wrapper-md",lg:"section-wrapper-lg",xl:"section-wrapper-xl"};function r({position:e,side:a}){return(0,t.jsx)("svg",{width:"10",height:"12",viewBox:"0 0 10 12",className:(0,s.cn)("absolute","top"===e?"-top-[6px]":"-bottom-[6px]","left"===a?"-left-[5px]":"-right-[5px]"),children:(0,t.jsx)("polygon",{points:"5,0 10,3 10,9 5,12 0,9 0,3",fill:"currentColor",stroke:"currentColor",strokeWidth:"1"})})}function l({side:e,className:a}){return(0,t.jsxs)("div",{className:(0,s.cn)("absolute top-0 bottom-0","left"===e?"left-8 border-l":"right-8 border-r","border-dashed border-current",a),children:[(0,t.jsx)(r,{position:"top",side:e}),(0,t.jsx)(r,{position:"bottom",side:e})]})}function i({side:e,className:a}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,s.cn)("absolute top-0 bottom-0","left"===e?"left-8 border-l":"right-8 border-r","border-dashed border-current",a),children:[(0,t.jsx)(r,{position:"top",side:e}),(0,t.jsx)(r,{position:"bottom",side:e})]}),(0,t.jsxs)("svg",{className:(0,s.cn)("absolute top-0 bottom-0 h-full","left"===e?"left-0 w-8":"r
57ight-0 w-8"),xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",children:[(0,t.jsx)("defs",{children:(0,t.jsx)("pattern",{id:`grid-${e}`,width:"6",height:"6",patternUnits:"userSpaceOnUse",children:(0,t.jsx)("path",{d:"M 6 0 L 0 0 0 6",fill:"none",stroke:"currentColor",strokeWidth:"0.5",opacity:"0.3"})})}),(0,t.jsx)("rect",{width:"100%",height:"100%",fill:`url(#grid-${e})`})]})]})}function n({children:e,size:r="md",bordered:l=!1,compact:n=!1,borderColor:o="text-border",className:d}){return(0,t.jsxs)("section",{className:(0,s.cn)("relative",n?"section-wrapper-compact":a[r],d),children:[l&&(0,t.jsxs)("div",{className:(0,s.cn)("absolute inset-0 pointer-events-none hidden md:block",o),children:[(0,t.jsx)(i,{side:"left"}),(0,t.jsx)(i,{side:"right"})]}),e]})}e.s(["DashedBorderLine",()=>l,"default",()=>n])},566306,e=>{"use strict";var t=e.i(843476),s=e.i(770703),a=e.i(975157),r=e.i(153453);let l=(0,s.default)(()=>e.A(932412).then(e=>({default:e.Dithering})),{loadableGenerated:{modules:[4456]},ssr:!1}),i={slate:"#3D3B4F",fog:"#EEEEEE",silver:"#D6D6D6",violet:"#756CF5",blue:"#5882FF",sky:"#71ADFF",steel:"#A1C1DA",lavender:"#FFCFFE",coral:"#FF7F59",magenta:"#FFACFE",seafoam:"#C5FFD6",background:"#E0E0E0",dark:"#2a2a2a"},n={sm:40,md:80,lg:120};function o({variant:e="line",size:s="lg",withBorderLines:o=!1,borderColor:d="text-silver",color:c="slate",waveBg:x="bg-background",bg:h,className:m}){let f=n[s],u=i[c];if("line"===e)return(0,t.jsx)("hr",{className:(0,a.cn)("border-border w-full",m)});if("double-dashed"===e)return(0,t.jsxs)("div",{className:(0,a.cn)("py-4",m),children:[(0,t.jsx)("div",{className:"border-t border-dashed border-border"}),(0,t.jsx)("div",{className:"border-t border-dashed border-border mt-8"})]});if("wave"===e)return(0,t.jsxs)("div",{className:(0,a.cn)("relative border-t border-dashed border-b -mt-px",x,m),style:{borderTopColor:u,borderBottomColor:u},children:[(0,t.jsx)("div",{className:"relative pointer-events-none",style:{height:f,transform:"scaleY(-1)"},children:(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(l,{style:{width:"100%",height:"100%"},colorBack:`${u}00`,colorFront:u,shape:"wave",type:"4x4",size:5,speed:0,scale:1.2})})}),o&&(0,t.jsxs)("div",{className:(0,a.cn)("absolute inset-0 pointer-events-none",d),children:[(0,t.jsx)(r.DashedBorderLine,{side:"left"}),(0,t.jsx)(r.DashedBorderLine,{side:"right"})]})]});if("diagonal"===e){let e=u+"26";return(0,t.jsxs)("div",{className:(0,a.cn)("relative border-t border-b border-silver",h||"bg-fog",m),children:[(0,t.jsx)("div",{style:{height:f,background:`repeating-linear-gradient(-55deg, transparent 0px, transparent 7px, ${e} 7px, ${e} 8px)`}}),o&&(0,t.jsxs)("div",{className:(0,a.cn)("absolute inset-0 pointer-events-none",d),children:[(0,t.jsx)(r.DashedBorderLine,{side:"left"}),(0,t.jsx)(r.DashedBorderLine,{side:"right"})]})]})}return["cross","tick","ruler","plus","bars","hatch","pixel"].includes(e)?(0,t.jsx)("div",{className:(0,a.cn)(`divider-${e}`,m),style:{height:f}}):["section-grid","section-diagonal","section-gradient","section-converge"].includes(e)?(0,t.jsx)("div",{className:(0,a.cn)(`section-${e.replace("section-","divider-")}`,m),style:{height:f}}):(0,t.jsx)("hr",{className:(0,a.cn)("border-border w-full",m)})}e.s(["default",()=>o])},904417,e=>{"use strict";var t=e.i(843476),s=e.i(271645);let a="!@#$%^&*()_+-=[]{}|;:,.<>?/~`";function r({text:e,className:r="",style:l}){let[i,n]=(0,s.useState)(e||""),[o,d]=(0,s.useState)(!0),[c,x]=(0,s.useState)(!1),[h,m]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let t,s=e||"";return(o||c)&&(t=setInterval(()=>{n(e=>(e||"").split("").map((e,t)=>" "===e?" ":"\n"===e?"\n":!c&&t<h?s[t]:a[Math.floor(Math.random()*a.length)]).join("")),c||m(e=>{let a=e+1;return a>s.length&&(d(!1),clearInterval(t)),a})},100)),()=>clearInterval(t)},[e,o,c,h]),(0,t.jsx)("div",{className:r,style:l,onMouseEnter:()=>x(!0),onMouseLeave:()=>{x(!1),d(!0),m(0)},children:(0,t.jsx)("span",{className:"font-mono",children:i})})}e.s(["AsciiText",()=>r])},916233,e=>{"use strict";var t=e.i(843476),s=e.i(425246),a=e.i(846932),r=e.i(975157),l=e.i(519455),i=e.i(904417);function n({badge:e,title:n,subtitle:o,actionButton:d,secondaryButton:c,layout:x={alignment:"center",padding:"section-wrapper"},containerClassName:h="text-slate",contentClassName:m="",borders:f={top:!1,bottom:!1,className:"border-border"}}){let u={left:"text-left",center:"text-center",right:"text-right"}[x.alignment||"center"],p=!!d,b=x.buttonPlacement||"side",g=p&&"left"===x.alignment&&"side"===b,v=p&&"left"===x.alignment&&"title"===b,j=p&&("left"!==x.alignment||"below"===b)&&!v,y=d&&c?(0,t.jsxs)("div",{className:"btn-hex-group",children:[(0,t.jsx)(l.Button,{variant:"outline",className:(0,r.cn)("btn-hex-notch",c.className),asChild:!0,children:(0,t.jsx)(s.default,{href:c.href,children:c.text})}),(0,t.jsx)(l.Button,{variant:"default",className:d.className,asChild:!0,children:(0,t.jsx)(s.default,{href:d.href,children:d.text})})]}):d?(0,t.jsx)(l.Button,{variant:"default",className:d.className,asChild:!0,children:(0,t.jsx)(s.default,{href:d.href,children:d.text})}):null;return(0,t.jsx)("section",{className:(0,r.cn)("w-full",f.top&&`border-t ${f.className}`,f.bottom&&`border-b ${f.className}`,h),children:(0,t.jsxs)("div",{className:(0,r.cn)(x.padding,g?"flex flex-col md:flex-row md:justify-between md:items-start gap-4":"",m),children:[(0,t.jsxs)(a.motion.div,{className:(0,r.cn)("inner-tight",g?"flex-1":"",u),initial:{opacity:0,filter:"blur(6px)",scale:.98},whileInView:{opacity:1,filter:"blur(0px)",scale:1},viewport:{once:!0,margin:"-80px"},transition:{duration:.5,ease:"easeOut"},children:[e&&(0,t.jsx)(i.AsciiText,{text:e.withBrackets?`[ ${e.text} ]`:e.text,className:(0,r.cn)("label uppercase",e.className||"text-greptile-green"),style:e.style}),v&&y?(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:["string"==typeof n?(0,t.jsx)("h2",{className:"min-w-0 md:flex-1",children:n}):(0,t.jsx)("div",{className:"min-w-0 md:flex-1",children:n}),(0,t.jsx)("div",{className:"flex shrink-0 justify-start md:justify-end",children:y})]}):"string"==typeof n?n?(0,t.jsx)("h2",{children:n}):null:(0,t.jsx)("div",{children:n}),o&&("string"==typeof o?(0,t.jsx)("p",{className:"p-lg text-slate",children:o}):(0,t.jsx)("div",{children:o})),j&&y&&(0,t.jsx)("div",{className:(0,r.cn)("center"===x.alignment?"flex justify-center":"flex justify-start"),children:y})]}),g&&y&&(0,t.jsx)("div",{className:"flex justify-start",children:y})]})})}e.s(["default",()=>n])},84469,e=>{"use strict";var t=e.i(843476),s=e.i(975157),a=e.i(846932),r=e.i(566306);function l({label:e,dividerClassName:l="divider-pixel-sm",labelClassName:i="text-slate",lineClassName:n="border-border/50",highlightOnView:o=!1,highlightColor:d="#DAFF01",className:c}){return(0,t.jsxs)("div",{className:(0,s.cn)(c),children:[(0,t.jsx)(r.default,{variant:"line",className:n}),(0,t.jsxs)("div",{className:"content-shell flex items-center gap-6 px-6 md:px-12 lg:px-16 py-1.5",children:[(0,t.jsx)("div",{className:(0,s.cn)(l,"flex-1")}),(0,t.jsxs)("span",{className:(0,s.cn)("font-space-mono text-[11px] md:text-xs 2xl:text-sm 3xl:text-base tracking-widest uppercase shrink-0 relative",i),children:[o&&(0,t.jsx)(a.motion.span,{className:"absolute inset-0 -mx-1 -my-0.5 rounded-sm origin-left opacity-25",style:{backgroundColor:d},initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0,margin:"-40px"},transition:{duration:.6,ease:[.22,1,.36,1]}}),(0,t.jsx)("span",{className:"relative",children:e})]}),(0,t.jsx)("div",{className:(0,s.cn)(l,"flex-1")})]}),(0,t.jsx)(r.default,{variant:"line",className:n})]})}e.s(["default",()=>l])},88653,e=>{"use strict";e.i(247167);var t=e.i(843476),s=e.i(271645),a=e.i(231178),r=e.i(947414),l=e.i(674008),i=e.i(821476),n=e.i(772846),o=s,d=e.i(737806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class x extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,s=(0,n.isHTMLElement)(e)&&e.offsetWidth||0,a=this.props.sizeRef.current;a.height=t.offsetHeight||0,a.width=t.offsetWidth||0,a.top=t.offsetTop,a.left=t.offsetLeft,a.right=s-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:e,isPresent:a,anchorX:r,root:l}){let i=(0,o.useId)(),n=(0,o.useRef)(null),h=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:m}=(0,o.useContext)(d.MotionConfigContext),f=function(...e){return s.useCallback(function(...e){return t=>{let s=!1,a=e.map(e=>{let a=c(e,t);return s||"function"!=typeof a||(s=!0),a});if(s)return()=>{for(let t=0;t<a.length;t++){let s=a[t];"function"==typeof s?s():c(e[t],null)}}}}(...e),e)}(n,e?.ref);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:s,left:o,right:d}=h.current;if(a||!n.current||!e||!t)return;let c="left"===r?`left: ${o}`:`right: ${d}`;n.current.dataset.motionPopId=i;let x=document.createElement("style");m&&(x.nonce=m);let f=l??document.head;return f.appendChild(x),x.sheet&&x.sheet.insertRule(`
58          [data-motion-pop-id="${i}"] {
59            position: absolute !important;
60            width: ${e}px !important;
61            height: ${t}px !important;
62            ${c}px !important;
63            top: ${s}px !important;
64          }
65        `),()=>{f.contains(x)&&f.removeChild(x)}},[a]),(0,t.jsx)(x,{isPresent:a,childRef:n,sizeRef:h,children:o.cloneElement(e,{ref:f})})}let m=({children:e,initial:a,isPresent:l,onExitComplete:n,custom:o,presenceAffectsLayout:d,mode:c,anch
65orX:x,root:m})=>{let u=(0,r.useConstant)(f),p=(0,s.useId)(),b=!0,g=(0,s.useMemo)(()=>(b=!1,{id:p,initial:a,isPresent:l,custom:o,onExitComplete:e=>{for(let t of(u.set(e,!0),u.values()))if(!t)return;n&&n()},register:e=>(u.set(e,!1),()=>u.delete(e))}),[l,u,n]);return d&&b&&(g={...g}),(0,s.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[l]),s.useEffect(()=>{l||u.size||!n||n()},[l]),"popLayout"===c&&(e=(0,t.jsx)(h,{isPresent:l,anchorX:x,root:m,children:e})),(0,t.jsx)(i.PresenceContext.Provider,{value:g,children:e})};function f(){return new Map}var u=e.i(464978);let p=e=>e.key||"";function b(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}let g=({children:e,custom:i,initial:n=!0,onExitComplete:o,presenceAffectsLayout:d=!0,mode:c="sync",propagate:x=!1,anchorX:h="left",root:f})=>{let[g,v]=(0,u.usePresence)(x),j=(0,s.useMemo)(()=>b(e),[e]),y=x&&!g?[]:j.map(p),N=(0,s.useRef)(!0),w=(0,s.useRef)(j),k=(0,r.useConstant)(()=>new Map),[C,F]=(0,s.useState)(j),[M,S]=(0,s.useState)(j);(0,l.useIsomorphicLayoutEffect)(()=>{N.current=!1,w.current=j;for(let e=0;e<M.length;e++){let t=p(M[e]);y.includes(t)?k.delete(t):!0!==k.get(t)&&k.set(t,!1)}},[M,y.length,y.join("-")]);let z=[];if(j!==C){let e=[...j];for(let t=0;t<M.length;t++){let s=M[t],a=p(s);y.includes(a)||(e.splice(t,0,s),z.push(s))}return"wait"===c&&z.length&&(e=z),S(b(e)),F(j),null}let{forceRender:T}=(0,s.useContext)(a.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:M.map(e=>{let s=p(e),a=(!x||!!g)&&(j===M||y.includes(s));return(0,t.jsx)(m,{isPresent:a,initial:(!N.current||!!n)&&void 0,custom:i,presenceAffectsLayout:d,mode:c,root:f,onExitComplete:a?void 0:()=>{if(!k.has(s))return;k.set(s,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(T?.(),S(w.current),x&&v?.(),o&&o())},anchorX:h,children:e},s)})})};e.s(["AnimatePresence",()=>g],88653)},362411,358133,412409,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(975157);function r({children:e,cols:r=3,split:l,className:i,dividerColor:n="text-border",hideHorizontalDividers:o=!1,flat:d=!1}){let c=s.default.Children.toArray(e).map((e,t)=>({key:s.default.isValidElement(e)&&null!==e.key?String(e.key):`divider-item-${t}`,item:e})),x=[];for(let e=0;e<c.length;e+=r)x.push(c.slice(e,e+r));let h="1-2"===l?["col-third","col-two-thirds"]:"2-1"===l?["col-two-thirds","col-third"]:null,m=1===r?"col-full":2===r?"col-half":4===r?"col-quarter":"col-third",f=r-1;return(0,t.jsxs)("div",{className:(0,a.cn)("content-shell relative flex",n,i),children:[(0,t.jsx)("div",{className:"divider-double-solid-vertical shrink-0 self-stretch hidden md:block"}),(0,t.jsxs)("div",{className:"relative flex-1 min-w-0",children:[f>0&&(0,t.jsx)("div",{className:(0,a.cn)("absolute inset-0 pointer-events-none hidden md:flex",h?"":"justify-evenly"),"aria-hidden":"true",children:h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{flex:"1-2"===l?"1":"2"}}),(0,t.jsx)("div",{className:"divider-double-solid-vertical self-stretch"}),(0,t.jsx)("div",{style:{flex:"1-2"===l?"2":"1"}})]}):Array.from({length:f},(e,t)=>`divider-${t}`).map(e=>(0,t.jsx)("div",{className:"divider-double-solid-vertical self-stretch"},e))}),d?(0,t.jsxs)(t.Fragment,{children:[!o&&(0,t.jsx)("div",{className:"divider-double-dashed"}),(0,t.jsx)("div",{className:"section-grid",children:c.map(({key:e,item:s})=>(0,t.jsx)("div",{className:m,children:s},e))}),!o&&(0,t.jsx)("div",{className:"divider-double-dashed"})]}):(0,t.jsxs)(t.Fragment,{children:[x.map(e=>(0,t.jsxs)(s.Fragment,{children:[!o&&(0,t.jsx)("div",{className:"divider-double-dashed"}),(0,t.jsx)("div",{className:"section-grid",children:e.map(({key:e,item:s},a)=>(0,t.jsx)("div",{className:h?h[a]:m,children:s},e))})]},e.map(({key:e})=>e).join("|"))),!o&&(0,t.jsx)("div",{className:"divider-double-dashed"})]})]}),(0,t.jsx)("div",{className:"divider-double-solid-vertical shrink-0 self-stretch hidden md:block"})]})}e.s(["default",()=>r],358133),e.s([],362411),e.s(["DividerGrid",()=>r],412409)},626787,e=>{"use strict";var t=e.i(843476),s=e.i(425246),a=e.i(519455),r=e.i(427234),l=e.i(746798);e.i(362411);var i=e.i(412409),n=e.i(494881),o=e.i(975157);let d=[{name:"Standard review",description:"Reviews your PR for bugs, style, and codebase context.",credits:1,href:n.SITE.featureAgent},{name:"TREX review",description:"Writes and runs targeted tests in a sandbox to catch missed edge c
65ases.",credits:3,href:n.SITE.featureTrex}];function c({name:e,description:s}){return(0,t.jsx)(l.TooltipProvider,{delayDuration:0,children:(0,t.jsxs)(l.Tooltip,{children:[(0,t.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:"md:hidden inline-flex items-center","aria-label":`What a ${e} does`,children:(0,t.jsx)(r.Icon,{name:"Info",size:"sm"})})}),(0,t.jsx)(l.TooltipContent,{className:"bg-fog border-silver text-slate max-w-xs",children:(0,t.jsx)("p",{className:"text-sm font-mono !text-slate",children:s})})]})})}function x({name:e,description:a,credits:r,href:l}){return(0,t.jsxs)("tr",{className:"border-t border-dashed border-slate/20",children:[(0,t.jsx)("td",{className:"py-4 pr-4 align-top",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[l?(0,t.jsx)(s.default,{href:l,className:"text-sm text-slate underline",children:e}):(0,t.jsx)("span",{className:"text-sm text-slate",children:e}),(0,t.jsx)(c,{name:e,description:a})]})}),(0,t.jsx)("td",{className:"py-4 pr-4 align-top text-right md:text-left",children:(0,t.jsx)("span",{className:"text-sm text-slate",children:r})}),(0,t.jsx)("td",{className:"py-4 align-top hidden md:table-cell",children:(0,t.jsx)("p",{className:"text-sm text-slate",children:a})})]})}function h(){return(0,t.jsxs)("div",{className:"py-6 px-4 text-slate",children:[(0,t.jsx)("h3",{className:"m-0 mb-3",children:(0,t.jsx)("span",{className:"text-sm md:text-base font-anybody text-slate block text-left tracking-normal",children:"How credits work"})}),(0,t.jsxs)("table",{className:"w-full table-fixed text-left",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"w-1/2 md:w-1/4 text-sm font-bold text-slate pb-3 pr-4",children:"Review"}),(0,t.jsx)("th",{className:"w-1/2 md:w-1/4 text-sm font-bold text-slate pb-3 pr-4 text-right md:text-left",children:"Credits"}),(0,t.jsx)("th",{className:"text-sm font-bold text-slate pb-3 hidden md:table-cell",children:"What it does"})]})}),(0,t.jsx)("tbody",{children:d.map(e=>(0,t.jsx)(x,{...e},e.name))})]}),(0,t.jsx)("p",{className:"text-sm md:text-base text-slate mt-4",children:"Credits reset monthly and don't roll over."})]})}let m="#how-credits-work",f=[{id:"starter",name:"Starter",tagline:"Best for individual developers",price:"Free",cta:{label:"Get started for free",href:n.SITE.signup,external:!0},featuresLabel:"What's included",features:[{text:"50 credits per month",linkText:"credits",href:m},"1 active developer","Unlimited repositories"]},{id:"pro",name:"Pro",tagline:"Best for teams",price:"$30",perSeat:!0,recommended:!0,cta:{label:"Start 14 day free trial",href:n.SITE.signup,external:!0},featuresLabel:"What's included",features:[{text:"50 credits per seat per month",linkText:"credits",href:m},"Extra credits at $1 each","Custom review rules","Unlimited seats","Unlimited repositories","Unlimited integrations"]},{id:"enterprise",name:"Enterprise",tagline:"Best for organizations at scale",price:"Custom pricing",cta:{label:"Talk to sales",href:n.SITE.demo},featuresLabel:"Everything in Pro, plus",features:["Self-host in your own infrastructure","SSO and SAML","GitHub Enterprise Server and Enterprise Cloud with data residency","GitLab Self-Managed, Bitbucket Data Center, and Gitea","Perforce with P4 Code Review for on-premises deployments","Security and compliance reviews","Dedicated Slack support channel","Custom invoicing and payment terms","Custom DPA and terms of service"]}];function u({feature:e}){if("string"==typeof e)return(0,t.jsx)(t.Fragment,{children:e});let s=e.text.indexOf(e.linkText);if(-1===s)return(0,t.jsx)(t.Fragment,{children:e.text});let a=e.text.slice(0,s),r=e.text.slice(s+e.linkText.length);return(0,t.jsxs)(t.Fragment,{children:[a,(0,t.jsx)("a",{href:e.href,className:"underline",onClick:t=>{var s;let a;return s=e.href,void((a=document.getElementById(s.slice(1)))&&(t.preventDefault(),a.scrollIntoView({behavior:"smooth",block:"start"})))},children:e.linkText}),r]})}function p({feature:e}){return(0,t.jsxs)("div",{className:"flex items-center gap-2 py-0.5",children:[(0,t.jsx)(r.Icon,{name:"Check",size:"sm",className:"text-slate shrink-0"}),(0,t.jsx)("span",{className:"text-sm text-slate",children:(0,t.jsx)(u,{feature:e})})]})}function b({plan:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h4",{className:"m-0 mb-3",children:(0,t.jsx)("span",{className:"text-sm md:text-base font-anybody text-slate block text-left tracking-normal",children:e.featuresLabel})}),(0,t.jsx)("div",{className:"space-y-0.5",children:e.features.map(e=>{let s="string"==typeof e?e:e.text;return(0,t.jsx)(p,{feature:e},s)})})]})}function g(){return(0,t.jsx)("span",{className:"block font-space-mono text-[10px] tracking-widest uppercase bg-greptile-green text-black text-center px-2 py-1",children:"Recommended"})}function v(){return(0,t.jsx)(l.TooltipProvider,{delayDuration:0,
65children:(0,t.jsxs)(l.Tooltip,{children:[(0,t.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:"text-sm md:text-base font-bold cursor-help flex items-center gap-1","aria-label":"What counts as a seat",children:["/seat/month",(0,t.jsx)(r.Icon,{name:"Info",size:"sm"})]})}),(0,t.jsx)(l.TooltipContent,{className:"bg-fog border-silver text-slate",children:(0,t.jsx)("p",{className:"text-sm font-mono !text-slate",children:"A seat is any developer who has gotten a review done by Greptile in that billing period."})})]})})}function j({plan:e}){return(0,t.jsxs)("div",{className:"relative py-8 px-4 text-center text-slate",children:[e.recommended&&(0,t.jsx)("div",{className:"absolute top-0 left-0 right-0 z-[1]",children:(0,t.jsx)(g,{})}),(0,t.jsx)("h3",{children:e.name}),(0,t.jsx)("p",{className:"p-sm text-slate mt-2",children:e.tagline}),e.perSeat?(0,t.jsxs)("div",{className:"flex items-baseline justify-center gap-1 mt-4",children:[(0,t.jsx)("span",{className:"text-sm md:text-base font-bold text-slate",children:e.price}),(0,t.jsx)(v,{})]}):(0,t.jsx)("p",{className:"text-sm md:text-base font-bold text-slate mt-4",children:e.price})]})}function y({plan:e}){let r=e.recommended?{variant:"primary",size:"sm"}:{variant:"secondary"};return(0,t.jsx)(a.Button,{...r,asChild:!0,children:(0,t.jsx)(s.default,{href:e.cta.href,target:e.cta.external?"_blank":void 0,children:e.cta.label})})}let N=Array.from({length:6},(e,t)=>`dashed-line-${t}`);function w({side:e}){return(0,t.jsx)("div",{className:(0,o.cn)("absolute inset-y-0 pointer-events-none z-[1] hidden md:flex gap-8","left"===e?"left-0":"right-0 flex-row-reverse"),"aria-hidden":"true",children:N.map(e=>(0,t.jsx)("div",{className:"h-full border-l border-dashed border-slate/10"},e))})}function k(){return(0,t.jsxs)("section",{className:"relative text-slate",children:[(0,t.jsx)(w,{side:"left"}),(0,t.jsx)(w,{side:"right"}),(0,t.jsx)("div",{className:"relative z-[2] mx-4 md:hidden flex flex-col gap-6",children:f.map(e=>(0,t.jsxs)("div",{className:"border border-dashed border-slate/20",children:[(0,t.jsx)(j,{plan:e}),(0,t.jsx)("div",{className:"border-t border-dashed border-slate/20 py-6 px-4 flex justify-center text-slate",children:(0,t.jsx)(y,{plan:e})}),(0,t.jsx)("div",{className:"border-t border-dashed border-slate/20 py-6 px-4 text-slate",children:(0,t.jsx)(b,{plan:e})})]},e.id))}),(0,t.jsx)("div",{className:"relative z-[2] hidden md:block mx-4 lg:mx-24 xl:mx-[192px]",children:(0,t.jsxs)(i.DividerGrid,{cols:3,dividerColor:"text-slate/20",children:[f.map(e=>(0,t.jsx)(j,{plan:e},`${e.id}-header`)),f.map(e=>(0,t.jsx)("div",{className:"py-6 px-4 flex justify-center text-slate",children:(0,t.jsx)(y,{plan:e})},`${e.id}-cta`)),f.map(e=>(0,t.jsx)("div",{className:"py-6 px-4 text-slate",children:(0,t.jsx)(b,{plan:e})},`${e.id}-features`))]})}),(0,t.jsx)("div",{id:"how-credits-work",className:"relative z-[2] mx-4 lg:mx-24 xl:mx-[192px] mt-6 md:mt-0 scroll-mt-20 border border-dashed border-slate/20 md:border-0",children:(0,t.jsx)(i.DividerGrid,{cols:1,dividerColor:"text-slate/20",hideHorizontalDividers:!0,children:(0,t.jsx)(h,{})})})]})}e.s(["default",()=>k],626787)},932412,e=>{e.v(t=>Promise.all(["static/chunks/e7dc024b5e5f34f2.js","static/chunks/23df76be974b1348.js"].map(t=>e.l(t))).then(()=>t(4456)))},139481,e=>{e.v(t=>Promise.all(["static/chunks/d16f9a1849a9b189.js"].map(t=>e.l(t))).then(()=>t(578208)))}]);

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.