PageSourceSearch

https://getdex.com/assets/feature-section-BgzbbO2x.js

js getdex.com collected 2026-09-24 09:06:23 UTC 7,058 bytes, 1 lines download raw bytes

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]=`ec3ea0b9-2002-4a9c-b685-4b3a520642c2`,e._sentryDebugIdIdentifier=`sentry-dbid-ec3ea0b9-2002-4a9c-b685-4b3a520642c2`)}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"./index-BGY0Ij9o.js";import{t as s}from"./dist-CJUT-hnQ.js";import{t as c}from"./support-blob-CgpbXii9.js";var l=i(),u=e(t(),1),d=r();function f(e){let t=(0,l.c)(7),n=(0,u.useRef)(null),[r,i]=(0,u.useState)(!1),a,o;if(t[0]===r?(a=t[1],o=t[2]):(a=()=>{if(r)return;let e=n.current;if(!e)return;if(typeof IntersectionObserver>`u`){i(!0);return}let t=new IntersectionObserver(e=>{e.some(p)&&(i(!0),t.disconnect())},{rootMargin:`600px 0px`});return t.observe(e),()=>t.disconnect()},o=[r],t[0]=r,t[1]=a,t[2]=o),(0,u.useEffect)(a,o),!r){let r;return t[3]===e.className?r=t[4]:(r=(0,d.jsx)(`div`,{ref:n,className:e.className}),t[3]=e.className,t[4]=r),r}let c;return t[5]===e?c=t[6]:(c=(0,d.jsx)(s,{...e}),t[5]=e,t[6]=c),c}function p(e){return e.isIntersecting}function m(e){let t=(0,l.c)(37),{id:n,eyebrow:r,title:i,body:a,cta:o,ctaHref:s,ctaClassName:u,backdropWidth:f,backdropRotateDeg:p,backdropOpacity:m,backdropOffsetX:_,backdropOffsetY:v,backdropContainerSize:y,backdropLeft:b,backdropTop:x,backdropHidden:S}=e,C=f===void 0?752:f,w=p===void 0?105:p,T=_===void 0?0:_,E=v===void 0?0:v,D=b===void 0?0:b,O=x===void 0?0:x,k=S===void 0?!1:S,A=m??(y===void 0?.7:1),j=n?`${n}-heading`:void 0,M;t[0]===r?M=t[1]:(M=r?(0,d.jsx)(`p`,{className:`text-label-sm mb-4 tracking-wide text-muted-foreground uppercase`,children:r}):null,t[0]=r,t[1]=M);let N;t[2]!==j||t[3]!==i?(N=(0,d.jsx)(`h2`,{id:j,className:`text-display-md text-foreground`,children:i}),t[2]=j,t[3]=i,t[4]=N):N=t[4];let P;t[5]===a?P=t[6]:(P=(0,d.jsx)(`div`,{className:`mt-6 space-y-5 text-sm text-neutral-700`,children:a}),t[5]=a,t[6]=P);let F;t[7]!==o||t[8]!==u||t[9]!==s?(F=o&&s?(0,d.jsx)(h,{href:s,className:u,children:o}):null,t[7]=o,t[8]=u,t[9]=s,t[10]=F):F=t[10];let I;t[11]!==F||t[12]!==M||t[13]!==N||t[14]!==P?(I=(0,d.jsx)(`div`,{className:`lg:w-[488px] lg:shrink-0`,children:(0,d.jsxs)(`div`,{className:`lg:pr-20`,children:[M,N,P,F]})}),t[11]=F,t[12]=M,t[13]=N,t[14]=P,t[15]=I):I=t[15];let L;t[16]!==y||t[17]!==k||t[18]!==D||t[19]!==T||t[20]!==E||t[21]!==A||t[22]!==w||t[23]!==O||t[24]!==C?(L=!k&&y?(0,d.jsx)(`div`,{className:`pointer-events-none absolute -z-10 flex items-center justify-center`,style:{width:`${y}px`,height:`${y}px`,left:`${D}px`,top:`${O}px`},children:(0,d.jsx)(`img`,{src:c,alt:``,"aria-hidden":`true`,width:849,height:849,loading:`lazy`,decoding:`async`,className:`select-none`,style:{width:`${C}px`,height:`${C}px`,transform:`rotate(${w}deg)`,opacity:A}})}):k?null:(0,d.jsx)(`img`,{src:c,alt:``,"aria-hidden":`true`,width:849,height:849,loading:`lazy`,decoding:`async`,className:`pointer-events-none absolute left-1/2 top-1/2 -z-10 aspect-square max-w-[110%] select-none`,style:{width:`${C}px`,opacity:A,transform:`translate(calc(-50% + ${T}px), calc(-50% + ${E}px)) rotate(${w}deg)`,filter:`blur(6px)`}}),t[16]=y,t[17]=k,t[18]=D,t[19]=T,t[20]=E,t[21]=A,t[22]=w,t[23]=O,t[24]=C,t[25]=L):L=t[25];let R;t[26]===e?R=t[27]:(R=`media`in e&&e.media?e.media:`lottieSrc`in e&&e.lottieSrc?(0,d.jsx)(g,{src:e.lottieSrc,alt:e.lottieAlt,loop:e.lottieLoop??!1,playDelayMs:e.lottiePlayDelayMs??0,scale:e.lottieScale??1,scaleDesktop:e.lottieScaleDesktop}):(0,d.jsx)(`img`,{src:e.imageSrc,alt:e.imageAlt,width:e.imageWidth,height:e.imageHeight,className:`mx-auto block h-auto w-full max-w-[692px]`,loading:`lazy`,decoding:`async`}),t[26]=e,t[27]=R);let z;t[28]!==L||t[29]!==R?(z=(0,d.jsxs)(`div`,{className:`relative isolate overflow-x-clip lg:h-[640px] lg:w-[692px] lg:overflow-clip`,children:[L,R]}),t[28]=L,t[29]=R,t[30]=z):z=t[30];let B;t[31]!==I||t[32]!==z?(B=(0,d.jsxs)(`div`,{className:`mx-auto flex w-full max-w-[1200px] flex-col gap-12 px-6 py-8 lg:flex-row lg:items-center lg:gap-5 lg:px-0 lg:py-10`,children:[I,z]}),t[31]=I,t[32]=z,t[33]=B):B=t[33];let V;return t[34]!==j||t[35]!==B?(V=(0,d.jsx)(`section`,{"aria-labelledby":j,children:B}),t[34]=j,t[35]=B,t[36]=V):V=t[36],V}function h(e){let t=(0,l.c)(14),{href:r,className:i,children:s}=e,c;t[0]===i?c=t[1]:(c=o(a({variant:`outline`,size:`lg`}),`mt-6 w-fit font-normal text-neutral-700`,i),t[0]=i,t[1]=c);let u=c;if(!r.startsWith(`/`)){let e;return t[2]!==s||t[3]!==u||t[4]!==r?(e=(0,d.jsx)(`a`,{href:r,target:`_blank`,rel:`noopener noreferrer`,className:u,children:s}
1),t[2]=s,t[3]=u,t[4]=r,t[5]=e):e=t[5],e}let f,p;if(t[6]!==r){let[e,n]=r.split(`?`);f=e,p=n?Object.fromEntries(new URLSearchParams(n).entries()):void 0,t[6]=r,t[7]=f,t[8]=p}else f=t[7],p=t[8];let m=p,h;return t[9]!==s||t[10]!==u||t[11]!==f||t[12]!==m?(h=(0,d.jsx)(n,{to:f,search:m,className:u,children:s}),t[9]=s,t[10]=u,t[11]=f,t[12]=m,t[13]=h):h=t[13],h}function g(e){let t=(0,l.c)(21),{src:n,alt:r,loop:i,playDelayMs:a,scale:o,scaleDesktop:s}=e,c=(0,u.useRef)(null),[p,m]=(0,u.useState)(null),h=(0,u.useRef)(null),[g,_]=(0,u.useState)(!1),[v,y]=(0,u.useState)(!1),b,x;t[0]!==g||t[1]!==i||t[2]!==a?(b=()=>{let e=c.current;if(!e||typeof IntersectionObserver>`u`)return;let t=new IntersectionObserver(e=>{for(let t of e)if(t.isIntersecting){if(i){y(!0);return}if(g||h.current!=null)return;h.current=window.setTimeout(()=>{h.current=null,_(!0),y(!0)},a)}},{threshold:.35});return t.observe(e),()=>{t.disconnect(),h.current!=null&&(window.clearTimeout(h.current),h.current=null)}},x=[i,a,g],t[0]=g,t[1]=i,t[2]=a,t[3]=b,t[4]=x):(b=t[3],x=t[4]),(0,u.useEffect)(b,x);let S,C;t[5]!==p||t[6]!==i||t[7]!==v?(S=()=>{if(!v||!p)return;let e=()=>{i||p.setFrame(0),p.play()};if(p.isLoaded){e();return}return p.addEventListener(`load`,e),()=>p.removeEventListener(`load`,e)},C=[v,p,i],t[5]=p,t[6]=i,t[7]=v,t[8]=S,t[9]=C):(S=t[8],C=t[9]),(0,u.useEffect)(S,C);let w=o===1?void 0:o,T;t[10]!==s||t[11]!==w?(T={"--lottie-scale":w,"--lottie-scale-lg":s},t[10]=s,t[11]=w,t[12]=T):T=t[12];let E=T,D;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>{m(e??null)},t[13]=D):D=t[13];let O;t[14]!==i||t[15]!==n?(O=(0,d.jsx)(f,{src:n,autoplay:!1,loop:i,className:`block h-full w-full [transform:scale(var(--lottie-scale,1))] lg:[transform:scale(var(--lottie-scale-lg,var(--lottie-scale,1)))]`,dotLottieRefCallback:D}),t[14]=i,t[15]=n,t[16]=O):O=t[16];let k;return t[17]!==r||t[18]!==E||t[19]!==O?(k=(0,d.jsx)(`div`,{ref:c,"aria-label":r,role:`img`,className:`mx-auto flex aspect-[692/640] w-full max-w-[692px] items-center justify-center overflow-visible lg:aspect-auto lg:h-full`,style:E,children:O}),t[17]=r,t[18]=E,t[19]=O,t[20]=k):k=t[20],k}export{f as n,m 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.