1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72520,e=>{"use strict";let t=(0,e.i(75254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],72520)},43531,e=>{"use strict";let t=(0,e.i(75254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],43531)},31278,e=>{"use strict";let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],31278)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},45953,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(66027),n=e.i(7233),s=e.i(22016),i=e.i(75157);function l({className:e}){return(0,t.jsxs)("div",{"aria-hidden":!0,className:(0,i.cn)("pointer-events-none absolute inset-0 -z-10",e),children:[(0,t.jsx)("div",{className:"absolute inset-0 dark:hidden",style:{background:"radial-gradient(ellipse 62% 140% at 50% -6%, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.015) 40%, transparent 72%)"}}),(0,t.jsx)("div",{className:"absolute inset-0 hidden dark:block",style:{background:"radial-gradient(ellipse 58% 130% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 72%)"}}),(0,t.jsx)("div",{className:"absolute inset-0 text-neutral-400/55 dark:text-neutral-500/25",style:{backgroundImage:"radial-gradient(currentColor 0.5px, transparent 0.5px)",backgroundSize:"13px 13px",maskImage:"radial-gradient(ellipse 68% 108% at 50% 22%, #000 0%, transparent 76%)",WebkitMaskImage:"radial-gradient(ellipse 68% 108% at 50% 22%, #000 0%, transparent 76%)"}}),(0,t.jsx)("div",{className:"absolute inset-x-6 top-0 h-px bg-gradient-to-r from-transparent via-white to-transparent dark:hidden"})]})}function o({className:e}){return(0,t.jsx)("span",{className:(0,i.cn)("rounded px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-wide backdrop-blur-sm",e),children:"Ad"})}function d({ad:e,className:a,children:r}){return e.external?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer sponsored",className:a,children:r}):(0,t.jsx)(s.default,{href:e.href,className:a,children:r})}function c({ad:e}){let[r,n]=(0,a.useState)(!e.hero),[s,u]=(0,a.useState)(!e.logo);return(0,t.jsxs)(d,{ad:e,className:(0,i.cn)("relative isolate overflow-hidden rounded-2xl border border-neutral-200/80 bg-white/80 dark:border-neutral-800 dark:bg-neutral-950/50","group/partner block transition-[box-shadow,border-color] duration-200 hover:border-[var(--brand)]/30 hover:shadow-[0_16px_40px_-24px_rgba(15,23,42,0.35)] dark:hover:border-[var(--brand)]/35"),children:[(0,t.jsx)(l,{}),(0,t.jsxs)("div",{className:"relative aspect-[16/10] w-full overflow-hidden",children:[e.sponsored?(0,t.jsx)("span",{className:"absolute right-2.5 top-2.5 z-10",children:(0,t.jsx)(o,{className:"bg-black/60 text-white"})}):null,!r&&e.hero?(0,t.jsx)("img",{src:e.hero,alt:"",width:800,height:500,className:"h-full w-full object-cover object-top transition-transform duration-300 group-hover/partner:scale-[1.02]",loading:"lazy",onError:()=>n(!0)}):(0,t.jsx)("div",{className:"flex h-full min-h-[7rem] items-center justify-center bg-gradient-to-br from-neutral-100 to-neutral-200/80 dark:from-neutral-900 dark:to-neutral-800",children:!s&&e.logo?(0,t.jsx)("img",{src:e.logo,alt:"",className:"h-14 w-14 object-contain",onError:()=>u(!0)}):(0,t.jsx)("span",{className:"text-[14px] font-bold text-neutral-600 dar
1k:text-neutral-400",children:e.name})}),r||!e.logo||s?null:(0,t.jsx)("span",{className:"absolute bottom-3 left-3 flex h-10 w-10 items-center justify-center overflow-hidden rounded-xl border border-white/90 bg-white p-1 shadow-md ring-1 ring-black/5 dark:border-white/15",children:(0,t.jsx)("img",{src:e.logo,alt:"",className:"h-full w-full object-contain",loading:"lazy",onError:()=>u(!0)})})]}),(0,t.jsxs)("div",{className:"border-t border-neutral-200/80 px-4 py-3.5 dark:border-neutral-800",children:[(0,t.jsx)("p",{className:"text-[14px] font-bold tracking-tight text-neutral-900 transition-colors group-hover/partner:text-[var(--brand)] dark:text-white",children:e.name}),(0,t.jsx)("p",{className:"mt-1 text-[12px] leading-snug text-neutral-500 dark:text-neutral-400",children:e.tagline})]})]})}function u({ad:e}){let[r,n]=(0,a.useState)(!e.logo);return(0,t.jsxs)(d,{ad:e,className:"group/partner relative block rounded-[20px] border border-line bg-surface p-4 transition-colors hover:border-line-strong hover:bg-surface-sunken",children:[(0,t.jsxs)("span",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center overflow-hidden rounded-[11px] border border-black/[0.06] bg-white dark:border-white/[0.08]",children:!r&&e.logo?(0,t.jsx)("img",{src:e.logo,alt:"",loading:"lazy",className:"h-full w-full object-cover",onError:()=>n(!0)}):(0,t.jsx)("span",{className:"text-[12px] font-semibold text-ink-3",children:e.name.slice(0,2)})}),e.sponsored?(0,t.jsx)("span",{className:"text-[11.5px] font-medium text-ink-4",children:"Ad"}):null]}),(0,t.jsx)("span",{className:"mt-3 block text-[16px] leading-6 font-semibold tracking-[-0.01em] text-ink decoration-ink/20 underline-offset-4 group-hover/partner:underline",children:e.name}),(0,t.jsx)("span",{className:"mt-0.5 block text-[14px] leading-5 text-ink-3",children:e.tagline})]})}function m({ad:e}){return"banner"===e.variant?(0,t.jsx)(c,{ad:e}):(0,t.jsx)(u,{ad:e})}var x=e.i(29040),p=e.i(71110);function h(e){return{name:e.name,tagline:e.tagline??"",href:e.url,external:!0,sponsored:!0,variant:"compact",logo:e.image_url??void 0}}function g({onClaim:e}){return(0,t.jsxs)("button",{type:"button",onClick:e,className:"group flex w-full items-center gap-3 rounded-[20px] border border-dashed border-line-strong bg-surface/60 p-4 text-left transition-colors hover:border-ink-4 hover:bg-surface",children:[(0,t.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-[11px] border border-dashed border-line-strong text-ink-4 transition-colors group-hover:text-ink",children:(0,t.jsx)(n.Plus,{className:"h-4 w-4",strokeWidth:1.8,"aria-hidden":!0})}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"block text-[14.5px] leading-5 font-medium text-ink",children:"This spot is open"}),(0,t.jsx)("span",{className:"block text-[13px] leading-5 text-ink-4",children:"$39/mo · your product here"})]})]})}e.s(["PartnerRail",0,function({embedded:e=!1}={}){let{data:n,isPending:s}=(0,r.useQuery)({queryKey:["sidebar-sponsors"],queryFn:async()=>(function(e){let t=[...e];for(let e=t.length-1;e>0;e--){let a=Math.floor(Math.random()*(e+1));[t[e],t[a]]=[t[a],t[e]]}return t})(await (0,p.fetchActiveSponsors)(p.SIDEBAR_AD_SLOTS)),staleTime:3e5}),i=(0,a.useMemo)(()=>(n??[]).map(h).slice(0,p.SIDEBAR_AD_SLOTS),[n]),l=s?0:Math.max(0,p.SIDEBAR_AD_SLOTS-i.length),[o,d]=(0,a.useState)(!1),c=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,t.jsx)("p",{className:"text-[16px] leading-6 font-semibold tracking-[-0.01em] text-ink",children:"Our partners"}),(0,t.jsx)("button",{type:"button",onClick:()=>d(!0),className:"text-[13px] font-medium text-ink-3 transition-colors hover:text-brand",children:"advertise here"})]}),s?Array.from({length:2},(e,a)=>(0,t.jsx)("div",{className:"h-[132px] animate-pulse rounded-[20px] border border-line bg-surface-sunken","aria-hidden":!0},`sk-${a}`)):i.map((e,a)=>(0,t.jsx)(m,{ad:e},`${e.name}-${a}`)),Array.from({length:l},(e,a)=>(0,t.jsx)(g,{onClaim:()=>d(!0)},`open-${a}`)),(0,t.jsx)(x.SponsorClaimDialog,{open:o,onClose:()=>d(!1)})]});return e?(0,t.jsx)("section",{className:"[&>*+*]:mt-2.5 [&>*:nth-child(2)]:mt-3",children:c}):(0,t.jsx)("aside",{className:"hidden w-[300px] shrink-0 px-5 py-6 md:block",children:(0,t.jsx)("div",{className:"sticky top-20 space-y-3",children:c})})}],45953)},82420,e=>{e.v(t=>Promise.all(["static/chunks/2s-2eyk8-f20d.js"].map(t=>e.l(t))).then(()=>t(18396)))},83294,e=>{e.v(t=>Promise.all(["static/chunks/149bpjdlw9q59.js"].map(t=>e.l(t))).then(()=>t(97863)))},29040,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(31278),n=e.i(37727),s=e.i(46696),i=e.i(75157),l=e.i(71110);let o="h-11 w-full rounded-[12px] border border-line-strong bg-surface px-3.5 text-[15px] text-ink outline-none transition-[border-color,box-shadow] placeholder:text-ink-4 hover:border-ink-4 focus-visible:border-brand focus-visible:ring-4 focus-visible:ring-brand-ring/40";function d({open:e,onClose:i}){let[c,u]=(0,a.useState)(!1),[m,x]=(0,a.useState)({name:"",tagline:"",url:"",image_url:"",userEmail:""});if(!e)return null;let p=async e=>{if(e.preventDefault(),c)return;if(!m.name.trim()||!/^https?:\/\/.+/.test(m.url.trim()))return void s.toast.error("Add a product name and a valid website URL.");u(!0);let t=s.toast.loading("Preparing checkoutâ¦");try{let e=await fetch("/api/sponsor/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(m)}),a=await e.json();e.ok&&a.url?(s.toast.success("Redirectingâ¦",{id:t}),window.location.href=a.url):(s.toast.error(a.error||"Could not start checkout.",{id:t}),u(!1))}catch{s.toast.error("Could not start checkout.",{id:t}),u(!1)}};return(0,t.jsx)("div",{className:"fixed inset-0 z-[100] flex items-end justify-center bg-black/40 backdrop-blur-[2px] sm:items-center sm:p-6",onClick:()=>!c&&i(),children:(0,t.jsxs)("form",{onClick:e=>e.stopPropagation(),onSubmit:p,className:"w-full max-w-[420px] rounded-t-[24px] border border-line bg-surface-raised p-5 shadow-e4 sm:rounded-[24px] sm:p-6",children:[(0,t.jsxs)("div",{className:"mb-4 flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[19px] leading-6 tracking-[-0.02em] text-ink",children:"Claim the sidebar spot"}),(0,t.jsxs)("p",{className:"mt-0.5 text-[13px] leading-[18px] text-ink-3",children:[l.SPONSOR_PRICE_LABEL," · ",l.SPONSOR_PERIOD_DAYS," days ·
1sitewide ad. Live right after payment."]})]}),(0,t.jsx)("button",{type:"button",onClick:i,className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-ink-3 transition-colors hover:bg-canvas hover:text-ink","aria-label":"Close",children:(0,t.jsx)(n.X,{className:"h-[18px] w-[18px]"})})]}),(0,t.jsxs)("div",{className:"space-y-2.5",children:[(0,t.jsx)("input",{type:"text",placeholder:"Product name",maxLength:60,value:m.name,onChange:e=>x(t=>({...t,name:e.target.value})),className:o}),(0,t.jsx)("input",{type:"text",placeholder:"Tagline (optional)",maxLength:80,value:m.tagline,onChange:e=>x(t=>({...t,tagline:e.target.value})),className:o}),(0,t.jsx)("input",{type:"url",placeholder:"https://yourproduct.com",value:m.url,onChange:e=>x(t=>({...t,url:e.target.value})),className:o}),(0,t.jsx)("input",{type:"url",placeholder:"Image URL (banner/logo)",value:m.image_url,onChange:e=>x(t=>({...t,image_url:e.target.value})),className:o}),(0,t.jsx)("input",{type:"email",placeholder:"Your email (for the receipt)",value:m.userEmail,onChange:e=>x(t=>({...t,userEmail:e.target.value})),className:o})]}),(0,t.jsx)("button",{type:"submit",disabled:c,className:"mt-4 flex h-11 w-full items-center justify-center gap-2 rounded-full bg-brand text-[15px] font-semibold text-on-brand transition-colors hover:bg-brand-hover disabled:opacity-60",children:c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Loa
1der2,{className:"h-4 w-4 animate-spin","aria-hidden":!0})," Processingâ¦"]}):`Continue to payment â ${l.SPONSOR_PRICE_LABEL}`}),(0,t.jsx)("p",{className:"mt-2.5 text-center text-[12px] text-ink-4",children:"Secure checkout via DodoPayments."})]})})}e.s(["SponsorClaimDialog",0,d,"SponsorClaimTrigger",0,function({className:e,children:r}){let[n,s]=(0,a.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:()=>s(!0),className:(0,i.cn)(e),children:r}),(0,t.jsx)(d,{open:n,onClose:()=>s(!1)})]})}])},63017,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016),n=e.i(72520),s=e.i(43531),i=e.i(45953);e.s(["OffersRail",0,function(){let[e,l]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return fetch("/api/domain-rating?targets=marketingdb.live").then(e=>e.ok?e.json():{}).then(t=>{e||l(t["marketingdb.live"]??null)}).catch(()=>{}),()=>{e=!0}},[]),(0,t.jsxs)("div",{className:"space-y-8 pt-[21px] pr-6 pb-10 pl-8",children:[(0,t.jsxs)("section",{className:"rounded-[20px] border border-line bg-surface p-5",children:[(0,t.jsx)("p",{className:"text-[18px] leading-6 font-semibold tracking-[-0.02em] text-ink",children:"What you get when you launch"}),(0,t.jsxs)("div",{className:"mt-4 flex items-center gap-3.5 rounded-[14px] bg-[#fdf6f1] px-4 py-3 dark:bg-brand-wash",children:[null!=e?(0,t.jsx)("span",{className:"font-wordmark text-[32px] leading-none font-bold tracking-[-0.04em] text-brand tabular-nums",children:e}):(0,t.jsx)("span",{className:"h-8 w-10 animate-pulse rounded-md bg-brand-edge/40","aria-label":"Loading domain rating"}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"block text-[14px] leading-[18px] font-semibold text-ink",children:"DR dofollow backlink"}),(0,t.jsx)("span",{className:"block text-[12.5px] leading-[17px] text-ink-3",children:"From marketingdb.live"})]})]}),(0,t.jsx)("ul",{className:"mt-3.5 space-y-2.5",children:[["Newsletter feature","2,000+ founders"],["Review article","On our blog"],["Indexed on Google","And AI search"],["Shared on X","To our followers"]].map(([e,a])=>(0,t.jsxs)("li",{className:"flex items-start gap-2.5 text-[14px] leading-5",children:[(0,t.jsx)(s.Check,{className:"mt-0.5 h-4 w-4 shrink-0 text-brand",strokeWidth:2.6,"aria-hidden":!0}),(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"font-medium text-ink",children:e}),(0,t.jsxs)("span",{className:"text-ink-3",children:[" · ",a]})]})]},e))}),(0,t.jsxs)(r.default,{href:"/submit",className:"mt-5 flex h-10 items-center justify-center gap-2 rounded-full bg-brand text-[14.5px] font-semibold text-on-brand transition-colors hover:bg-brand-hover",children:["Launch your product ",(0,t.jsx)(n.ArrowRight,{className:"h-4 w-4","aria-hidden":!0})]})]}),(0,t.jsx)(i.PartnerRail,{embedded:!0})]})}])},71110,e=>{"use strict";var t=e.i(47167),a=e.i(84515);let r=t.default.env.NEXT_PUBLIC_SIDEBAR_PRICE||"$39";function n(e,t=Date.now()){if(!e)return null;let a=new Date(e).getTime();return Number.isNaN(a)?null:Math.ceil((a-t)/864e5)}function s(e,t=Date.now()){if("active"!==e.status)return"pending";let a=n(e.active_until,t);return null===a||a<=0?"expired":a<=5?"expiring":"active"}let i={expiring:0,active:0,pending:1,expired:2};async function l(e=4){let{data:t,error:r}=await a.supabase.from("sidebar_sponsors").select("id, name, tagline, url, image_url, active_until").eq("status","active").order("created_at",{ascending:!1}).limit(e);if(r)throw Error(r.message);return(t??[]).map(e=>({id:String(e.id),name:String(e.name),tagline:e.tagline?String(e.tagline):null,url:String(e.url),image_url:e.image_url?String(e.image_url):null,active_until:e.active_until?String(e.active_until):null}))}e.s(["SIDEBAR_AD_SLOTS",0,4,"SPONSOR_PERIOD_DAYS",0,31,"SPONSOR_PRICE_LABEL",0,r,"daysRemaining",0,n,"fetchActiveSponsors",0,l,"isLiveSponsor",0,function(e,t=Date.now()){let a=s(e,t);return"active"===a||"expiring"===a},"sortSponsors",0,function(e,t=Date.now()){return[...e].sort((e,a)=>{let r=i[s(e,t)],n=i[s(a,t)];if(r!==n)return r-n;if(0===r){let t=e.active_until?new Date(e.active_until).getTime():Number.MAX_SAFE_INTEGER,r=a.active_until?new Date(a.active_until).getTime():Number.MAX_SAFE_INTEGER;if(t!==r)return t-r}return new Date(a.created_at).getTime()-new Date(e.created_at).getTime()})},"sponsorState",0,s])}]);
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.