1import{n as e,r as t}from"./rolldown-runtime-QTnfLwEv.js";import{i as n,r}from"./framework-DJH1pfSr.js";import{t as i}from"./react-client-CAjdHkmk.js";import{t as a}from"./navigation-DK41M7fL.js";import{t as o}from"./utils-DXalBF5w.js";import{t as s}from"./gift-B52uoTNh.js";import{t as c}from"./sparkles-DoLysNxV.js";import{t as l}from"./x-ChR1JV_j.js";import{d as u,h as d,n as f}from"./promo-D7H9JO13.js";import{t as p}from"./use-promo-countdown-Jjc7A-Gz.js";import{a as m}from"./track-BUg7VPxk.js";var h=e({PromoBanner:()=>v}),g=t(n(),1),_=r();function v(){let e=i(`landing.promo`),[t,n]=(0,g.useState)(!1),r=p(!t);if((0,g.useEffect)(()=>{n(d())},[]),t)return null;let h=[r.minutes,r.seconds,r.ms];return(0,_.jsx)(`div`,{className:o(`promo-banner relative w-full border-b-[3px] border-[var(--amt-ink)]`,`bg-[var(--amt-accent)] text-white`),"data-promo-key":f,children:(0,_.jsxs)(`div`,{className:`relative mx-auto flex h-auto max-w-7xl flex-wrap items-center justify-center gap-1.5 px-2.5 py-2 md:h-11 md:gap-3 md:px-4 md:py-0`,children:[(0,_.jsx)(`div`,{className:`flex items-center gap-0.5 md:gap-1`,children:h.map((e,t)=>(0,_.jsxs)(`span`,{className:`flex items-center gap-0.5 md:gap-1`,children:[t>0&&(0,_.jsx)(`span`,{className:`text-xs font-bold text-white/90 md:text-sm`,children:`:`}),(0,_.jsx)(`span`,{className:`inline-flex min-w-[30px] items-center justify-center border border-white/40 bg-black/25 px-1.5 py-0.5 text-center md:min-w-[34px]`,children:(0,_.jsx)(`span`,{className:`text-xs font-bold text-white tabular-nums md:text-sm`,children:e})})]},t))}),(0,_.jsx)(s,{className:`hidden size-4 shrink-0 text-white sm:block md:size-[18px]`}),(0,_.jsxs)(`div`,{className:`flex items-center gap-1 border border-white/35 bg-white/15 px-2 py-1 md:px-2.5`,children:[(0,_.jsx)(c,{className:`size-3 shrink-0 text-white md:size-3.5`}),(0,_.jsx)(`span`,{className:`text-[10px] font-semibold whitespace-nowrap text-white md:text-xs`,children:e(`banner_limited`)})]}),(0,_.jsx)(`span`,{className:`inline-flex items-center border-2 border-[var(--amt-ink)] bg-white px-2 py-0.5 text-[11px] font-black tracking-wide text-[var(--amt-accent)] uppercase shadow-[2px_2px_0_0_var(--amt-ink)]`,children:e(`banner_badge`)}),(0,_.jsx)(`p`,{className:`px-0.5 text-center text-xs font-semibold whitespace-nowrap text-white md:text-sm`,children:e(`banner_text`)}),(0,_.jsx)(a,{href:`/pricing`,onClick:()=>m(`cta_click`,{location:`promo_banner`,target:`pricing`}),className:`inline-flex h-7 items-center justify-center border-2 border-[var(--amt-ink)] bg-white px-3.5 text-xs font-bold whitespace-nowrap text-[var(--amt-ink)] shadow-[2px_2px_0_0_var(--amt-ink)] transition hover:bg-[var(--amt-bg-elevated)] md:h-8 md:px-4 md:text-sm`,children:e(`banner_cta`)}),(0,_.jsx)(`button`,{type:`button`,onClick:()=>{u(),n(!0)},className:`border border-white/30 p-1 text-white/85 transition hover:bg-white/15 hover:text-white`,"aria-label":e(`banner_close`),children:(0,_.jsx)(l,{className:`size-4 md:size-[18px]`,strokeWidth:2})})]})})}export{h as n,v as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.