1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`v5.20260924.1202-production.4880d64`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8f473d74-f6a2-4556-9f70-b42a833b6d48`,e._sentryDebugIdIdentifier=`sentry-dbid-8f473d74-f6a2-4556-9f70-b42a833b6d48`)}catch{}})();import{a as e}from"./rolldown-runtime-kRBrHsR4.js";import{t}from"./react-Du8R2vNm.js";import{t as n}from"./link-94cF4E02.js";import{t as r}from"./jsx-runtime-Dgr2IFzZ.js";import{t as i}from"./compiler-runtime-BerNLI5p.js";import{n as a}from"./button-zY5WQSwJ.js";import{t as o}from"./utils-SGDdDKov.js";import{t as s}from"./sparkles-CPEJGH-4.js";import{t as c}from"./briefcase-business-BNlyw9CP.js";import{t as l}from"./building-2-DSwWtvMy.js";import{t as u}from"./info-BV5832W4.js";import{t as d}from"./react-CkxKRHz7.js";import{a as f,o as p,r as m,s as h}from"./motion-D8Rp7RoL.js";import{i as g,n as _,s as v}from"./plans-CrpIs8zR.js";import{a as y,n as b,r as x}from"./tooltip-G6nUi9Qk.js";import{t as S}from"./secondary-hero-bg-1920w-WDOVxorG.js";import{Zi as C}from"./index-BGY0Ij9o.js";import{t as w}from"./segmented-tabs-DTKrCgkZ.js";import{t as T}from"./support-blob-CgpbXii9.js";import{t as E}from"./faq-section-V2n0ouh1.js";var D=e(t(),1),O=i(),k=r(),A=[{value:`annual`,label:`Annual`},{value:`quarterly`,label:`Quarterly`},{value:`monthly`,label:`Monthly`}];function j(e){let t=(0,O.c)(6),{value:n,onChange:r,savingsPercent:i}=e,a;t[0]===i?a=t[1]:(a=A.map(e=>{let t=i(e.value);return t<=0?e:{...e,badge:(0,k.jsxs)(`span`,{className:`rounded-md border border-emerald-200 bg-emerald-50 px-2 py-0.5 text-[11px] font-semibold leading-none text-emerald-700`,children:[t,`% off`]})}}),t[0]=i,t[1]=a);let o=a,s;return t[2]!==o||t[3]!==r||t[4]!==n?(s=(0,k.jsx)(w,{items:o,active:n,onChange:r,layoutId:`billing-tab-pill`,ariaLabel:`Billing cycle`,tabClassName:`h-8`}),t[2]=o,t[3]=r,t[4]=n,t[5]=s):s=t[5],s}var M={monthly:`/ month`,quarterly:`/ month`,annual:`/ month`};function N(e){let t=(0,O.c)(43),{Icon:r,name:i,prices:s,cycle:c,features:l,featureInfo:m,ctaLabel:g,ctaHref:_,highlighted:v,delay:S,decoration:w}=e,E=_===void 0?`/preboard`:_,D=v===void 0?!1:v,A=S===void 0?0:S,j;t[0]===D?j=t[1]:(j=o(a({variant:D?`default`:`outline`,size:`lg`}),`mt-8 h-12 w-full rounded-lg font-normal`,!D&&`text-neutral-700`),t[0]=D,t[1]=j);let N=j,P;t[2]===A?P=t[3]:(P=h(A),t[2]=A,t[3]=P);let I;t[4]===w?I=t[5]:(I=w===`top-right`?(0,k.jsx)(`img`,{src:T,alt:``,"aria-hidden":`true`,className:`pointer-events-none absolute -top-[100px] -right-[140px] w-[440px] max-w-none select-none`}):null,t[4]=w,t[5]=I);let L;t[6]===w?L=t[7]:(L=w===`bottom-left`?(0,k.jsx)(`img`,{src:T,alt:``,"aria-hidden":`true`,className:`pointer-events-none absolute -bottom-[150px] -left-[130px] w-[440px] max-w-none select-none`}):null,t[6]=w,t[7]=L);let R=D?`text-primary`:`text-olive-500`,z;t[8]===R?z=t[9]:(z=o(`size-6`,R),t[8]=R,t[9]=z);let B;t[10]!==r||t[11]!==z?(B=(0,k.jsx)(r,{className:z,strokeWidth:1.5}),t[10]=r,t[11]=z,t[12]=B):B=t[12];let V;t[13]===i?V=t[14]:(V=(0,k.jsx)(`h3`,{className:`font-display mt-4 text-[30px] font-semibold leading-9 tracking-[-0.02em] text-foreground`,children:i}),t[13]=i,t[14]=V);let H;t[15]!==c||t[16]!==s?(H=s?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`div`,{className:`flex items-start text-foreground`,children:[(0,k.jsx)(`span`,{className:`mt-2 text-xl font-light tracking-tight`,children:`$`}),(0,k.jsx)(F,{value:s[c]})]}),(0,k.jsx)(`span`,{className:`pb-2 text-xs text-neutral-500`,children:M[c]})]}):null,t[15]=c,t[16]=s,t[17]=H):H=t[17];let U;t[18]===H?U=t[19]:(U=(0,k.jsx)(`div`,{className:`mt-3 flex min-h-11 items-end gap-2`,children:H}),t[18]=H,t[19]=U);let W;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(W=(0,k.jsx)(`p`,{className:`text-xs text-foreground`,children:`Includes:`}),t[20]=W):W=t[20];let G;if(t[21]!==m||t[22]!==l){let e;t[24]===m?e=t[25]:(e=e=>{let t=m?.[e];return(0,k.jsxs)(`li`,{className:`flex items-center gap-2 text-base text-neutral-700`,children:[(0,k.jsx)(C,{className:`size-5 shrink-0 text-blue-300`,strokeWidth:2}),(0,k.jsx)(`span`,{children:e}),t?(0,k.jsxs)(b,{children:[(0,k.jsx)(y,{"aria-label":`More about ${e}
1`,className:`cursor-default text-neutral-400 transition-colors hover:text-neutral-600`,children:(0,k.jsx)(u,{className:`size-4`,strokeWidth:2})}),(0,k.jsx)(x,{className:`max-w-60`,children:t})]}):null]},e)},t[24]=m,t[25]=e),G=l.map(e),t[21]=m,t[22]=l,t[23]=G}else G=t[23];let K;t[26]===G?K=t[27]:(K=(0,k.jsxs)(`div`,{className:`mt-6 flex-1`,children:[W,(0,k.jsx)(`ul`,{className:`mt-2 flex flex-col gap-2`,children:G})]}),t[26]=G,t[27]=K);let q;t[28]!==N||t[29]!==E||t[30]!==g?(q=E.startsWith(`mailto:`)?(0,k.jsx)(`a`,{href:E,className:N,children:g}):(0,k.jsx)(n,{to:E,className:N,children:g}),t[28]=N,t[29]=E,t[30]=g,t[31]=q):q=t[31];let J;t[32]!==B||t[33]!==V||t[34]!==U||t[35]!==K||t[36]!==q?(J=(0,k.jsx)(`div`,{className:`relative flex w-full flex-col rounded-[22px] border border-border bg-background p-1.5`,children:(0,k.jsxs)(`div`,{className:`relative flex h-full flex-1 flex-col rounded-[17px] bg-card p-6 shadow-[0_2px_12px_rgba(0,0,0,0.06),0_1px_3px_rgba(0,0,0,0.04)]`,children:[B,V,U,K,q]})}),t[32]=B,t[33]=V,t[34]=U,t[35]=K,t[36]=q,t[37]=J):J=t[37];let Y;return t[38]!==J||t[39]!==P||t[40]!==I||t[41]!==L?(Y=(0,k.jsxs)(d.div,{className:`relative flex h-full w-full`,initial:p,animate:f,transition:P,children:[I,L,J]}),t[38]=J,t[39]=P,t[40]=I,t[41]=L,t[42]=Y):Y=t[42],Y}var P={initial:{y:12,opacity:0}
1,animate:{y:0,opacity:1},exit:{y:-12,opacity:0}};function F(e){let t=(0,O.c)(3),{value:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={duration:.25,ease:[.22,1,.36,1]},t[0]=r):r=t[0];let i;return t[1]===n?i=t[2]:(i=(0,k.jsx)(d.span,{variants:P,initial:`initial`,animate:`animate`,exit:`exit`,transition:r,className:`text-[40px] font-semibold leading-[1.1] tracking-tight tabular-nums`,children:n},n),t[1]=n,t[2]=i),i}var I={premium:{Icon:s,highlighted:!1,ctaLabel:`Get started for free`},professional:{Icon:c,highlighted:!0,ctaLabel:`Get started for free`},enterprise:{Icon:l,highlighted:!1,ctaLabel:`Talk to us`,ctaHref:_,featureInfo:{"Team billing & invoicing":`Pay for multiple Dex accounts for your company on a single invoice.`}}};function L(){let e=(0,O.c)(15),[t,n]=(0,D.useState)(`annual`),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,k.jsx)(R,{}),e[0]=r):r=e[0];let i;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i={animationDelay:`50ms`},e[1]=i):i=e[1];let a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,k.jsxs)(`h1`,{className:`rise-in text-display-md sm:text-display-lg lg:text-display-xl text-foreground`,style:i,children:[`There's no better investment`,` `,(0,k.jsx)(`span`,{className:`block`,children:`than your relationships`})]}),e[2]=a):a=e[2];let o;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,k.jsx)(`p`,{className:`rise-in mt-4 text-lg leading-normal text-neutral-700`,style:{animationDelay:`120ms`},children:`Start a 7-day free trial today.`}),e[3]=o):o=e[3];let s;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,k.jsxs)(`div`,{className:`mx-auto max-w-[760px] text-center`,children:[a,o,(0,k.jsx)(`p`,{className:`rise-in mt-3 text-xs text-neutral-500`,style:{animationDelay:`190ms`},children:`30,000+ people use Dex to improve relationships`})]}),e[4]=s):s=e[4];let c;e[5]===t?c=e[6]:(c=(0,k.jsx)(`div`,{className:`mt-10 flex flex-wrap items-center justify-center gap-3`,children:(0,k.jsx)(j,{value:t,onChange:n,savingsPercent:v})}),e[5]=t,e[6]=c);let l;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,k.jsx)(`h2`,{className:`sr-only`,children:`Plans and pricing`}),e[7]=l):l=e[7];let u;e[8]===t?u=e[9]:(u=g.map((e,n)=>{let r=I[e.slug];return(0,k.jsx)(N,{Icon:r.Icon,name:e.name,prices:e.prices,cycle:t,features:e.features,featureInfo:r.featureInfo,ctaLabel:r.ctaLabel,ctaHref:r.ctaHref,highlighted:r.highlighted,delay:.26+n*m,decoration:n===0?`bottom-left`:n===1?`top-right`:void 0},e.slug)}),e[8]=t,e[9]=u);let d;e[10]===u?d=e[11]:(d=(0,k.jsx)(`div`,{className:`mx-auto mt-10 grid max-w-[824px] gap-6 sm:grid-cols-2 sm:justify-items-stretch lg:max-w-none lg:grid-cols-3`,children:u}),e[10]=u,e[11]=d);let f;return e[12]!==c||e[13]!==d?(f=(0,k.jsxs)(`section`,{className:`relative overflow-hidden bg-background`,children:[r,(0,k.jsxs)(`div`,{className:`relative mx-auto max-w-[1200px] px-6 pt-32 pb-24 sm:pt-36 sm:pb-28`,children:[s,c,l,d]})]}),e[12]=c,e[13]=d,e[14]=f):f=e[14],f}function R(){let e=(0,O.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,k.jsx)(`img`,{src:S,alt:``,"aria-hidden":`true`,className:`block w-full select-none`}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,k.jsxs)(`div`,{className:`pointer-events-none absolute inset-x-0 top-[-60px] z-0 overflow-hidden`,children:[t,(0,k.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-[55%]`,style:{background:`linear-gradient(0deg, var(--color-neutral-50) 0%, var(--color-neutral-50) 35%, rgba(250,249,247,0) 100%)`}})]}),e[1]=n):n=e[1],n}function z(){let e=(0,O.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(L,{}),(0,k.jsx)(E,{})]}),e[0]=t):t=e[0],t}export{z as component};
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.