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:`738f9327306d258a296bbb03cea86d386e5f7c98`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1bebed07-5c4d-4c2c-9f9f-91b996a31a5c`,e._sentryDebugIdIdentifier=`sentry-dbid-1bebed07-5c4d-4c2c-9f9f-91b996a31a5c`)}catch{}})();import{o as e}from"./rolldown-runtime-91I_V7PK.js";import{t}from"./react-C9pA0G0A.js";import{t as n}from"./jsx-runtime-BYG1zCFg.js";import{f as r,i}from"./Layout-Coo2nwZP.js";import{G as a,W as o}from"./constants-SMuREwGp.js";import{c as s,n as c,r as l,s as u,t as d}from"./dialog-Bam7OFdd.js";import{t as f}from"./useHeroLoop-DuisuQYO.js";var p=e(t(),1),m=1920,h=1080,g=3.4,_=Math.PI*2,v=(e,t,n,r)=>r*Math.sin(e/12*_*t+n),y=(e,t,n)=>{let r=e/12*t+n;return r-Math.floor(r)},b=e=>Math.sin(Math.PI*e)**.6;function x([e,t,n,r],i){let a=1-i,o=a*a*a,s=3*a*a*i,c=3*a*i*i,l=i*i*i;return{x:o*e.x+s*t.x+c*n.x+l*r.x,y:o*e.y+s*t.y+c*n.y+l*r.y}}var S=[{share:.68,spread:22,width:1.3,alpha:1,base:[{x:-120,y:740},{x:520,y:1020},{x:1280,y:260},{x:2040,y:560}],fan:[1.1,.5,2.1,1.3]},{share:.32,spread:30,width:1,alpha:.8,base:[{x:560,y:1180},{x:900,y:120},{x:1520,y:-40},{x:2100,y:820}],fan:[.8,1.6,1.2,.9]}];function C(e){let t=[];return S.forEach((n,r)=>{let i=Math.max(2,Math.round(20*n.share));for(let a=0;a<i;a++){let o=(a-(i-1)/2)*n.spread,s=a*.42+r*1.7,[c,l,u,d]=n.base,[f,p,m,h]=n.fan;t.push({p:[{x:c.x,y:c.y+o*f},{x:l.x+v(e,1,s+2.1,40),y:l.y+o*p+v(e,1,s,70)},{x:u.x+v(e,1,s*.7+4,60),y:u.y+o*m+v(e,2,s*1.3+.8,55)},{x:d.x,y:d.y+o*h}],width:n.width,alpha:n.alpha*(.55+.45*Math.abs(Math.sin(a*1.3+r)))})}}),t}function w(e,t){let n=[];e.forEach((e,r)=>{let i=0;r%3==0?i=2:r%2==0&&(i=1);for(let a=0;a<i;a++){let i=[1,2,3][(r*7+a*5)%3],o=y(t,i,(r*.618+a*.5)%1),s=x(e.p,o);n.push({line:r,x:s.x,y:s.y,opacity:b(o),r:2+(r+a)%3*.7,warm:!1})}});let r=Math.floor(e.length*.45),i=y(t,1,.3),a=x(e[r].p,i);return n.push({line:r,x:a.x,y:a.y,opacity:b(i),r:3.6,warm:!0}),n}var T=e=>e.toFixed(1);function E({p:e}){return`M${T(e[0].x)} ${T(e[0].y)}C${T(e[1].x)} ${T(e[1].y)} ${T(e[2].x)} ${T(e[2].y)} ${T(e[3].x)} ${T(e[3].y)}`}function D(e){return`translate(${T(e.x)} ${T(e.y)})`}function O(e){return e.opacity.toFixed(2)}function k(e){return{x:v(e,1,.4,6),y:v(e,1,2.2,5)}}var A=n(),j=.4,M=.42,N=C(g),P=w(N,g),F=e=>e%2==1?`max-sm:hidden`:``,I=e=>{let{x:t,y:n}=k(e);return`translate3d(${(t-50).toFixed(2)}%, ${(n-50).toFixed(2)}%, 0)`};function L({className:e=``}){let t=(0,p.useId)(),n=(0,p.useRef)(null),r=(0,p.useRef)(null),i=(0,p.useRef)([]),a=(0,p.useRef)([]),o=(0,p.useRef)(0),s=(0,p.useRef)(null),c=e=>{s.current??=globalThis.matchMedia(`(max-width: 639px)`);let t=s.current.matches,n=C(e);n.forEach((e,n)=>{t&&n%2==1||i.current[n]?.setAttribute(`d`,E(e))}),w(n,e).forEach((e,n)=>{if(t&&e.line%2==1)return;let r=a.current[n];r&&(r.setAttribute(`transform`,D(e)),r.setAttribute(`opacity`,O(e)))}),r.current&&(r.current.style.transform=I(e))};f(n,e=>{o.current+=e*j,c((g+o.current)%12)});let l=`${t}-line`,u=`${t}-glow`,d=`${t}-warm`;return(0,A.jsxs)(`div`,{ref:n,"aria-hidden":`true`,className:`pointer-events-none absolute inset-0 overflow-hidden ${e}`,children:[(0,A.jsx)(`div`,{ref:r,className:`absolute top-[58%] left-[66%] h-[104%] w-[92%] bg-radial-[closest-side] from-ru-glow/16 to-transparent to-70%`,style:{transform:I(g)}}),(0,A.jsxs)(`svg`,{viewBox:`0 0 ${m} ${h}`,preserveAspectRatio:`xMidYMid slice`,className:`absolute inset-0 size-full text-ru-blue-400`,children:[(0,A.jsxs)(`defs`,{children:[(0,A.jsxs)(`linearGradient`,{id:l,x1:`0`,y1:`0`,x2:`1`,y2:`0`,children:[(0,A.jsx)(`stop`,{offset:`0`,stopColor:`currentColor`,stopOpacity:`0`}),(0,A.jsx)(`stop`,{offset:`0.18`,stopColor:`currentColor`}),(0,A.jsx)(`stop`,{offset:`0.82`,stopColor:`currentColor`}),(0,A.jsx)(`stop`,{offset:`1`,stopColor:`currentColor`,stopOpacity:`0`})]}),(0,A.jsxs)(`radialGradient`,{id:u,children:[(0,A.jsx)(`stop`,{offset:`0`,stopOpacity:`0.55`,className:`[stop-color:var(--color-ru-glow)]`}),(0,A.jsx)(`stop`,{offset:`1`,stopOpacity:`0`,className:`[stop-color:var(--color-ru-glow)]`})]}),(0,A.jsxs)(`radialGradient`,{id:d,children:[(0,A.jsx)(`stop`,{offset:`0`,stopOpacity:`0.55`,className:`[stop-color:var(--color-ru-amber-500)]`}),(0,A.jsx)(`stop`,{offset:`1`,stopOpacity:`0`,className:`[stop-color:var(--color-ru-amber-500)]`})]})]}),(0,A.jsx)(`g`,{fill:`none`,stroke:`url(#${l})`,strokeLinecap:`round`,children:N.map((e,t)=>(0,A.jsx)(`path`,{ref:e=>{i.current[t]=e},d:E(e),strokeWidth:e.width,opacity:(M*e.alpha).toFixed(3),className:`[vector-effect:non-scaling-stroke] ${F(t)}`,suppressHydrationWarning:!0},t))}),P.map((e,t)=>(0,A.jsxs)(`g`,{ref:e=>{a.current[t]=e},transform:D(e),opacity:O(e),className:F(e.line),suppressHydrationWarning:!0,children:[(0,A.jsx)(`circle`,{r:e.r*6,fill:`url(#${e.warm?d:u})`}),(0,A.jsx)(`circle`,{r:e.r,className:e.warm?`fill-ru-amber-500`:`fill-ru-glow`}),(0,A.jsx)(`circle`,{r:e.r*.5,className:e.warm?`fill-ru-star-top`:`fill-white`})]},t))]})]})}function R({src:e=o,cover:t=a,className:n=``}){let[r,i]=(0,p.useState)(!1);return e?(0,A.jsxs)(d,{open:r,onOpenChange:i,children:[(0,A.jsxs)(s,{className:`group inline-flex h-11.5 cursor-pointer items-center gap-2.75 rounded-full bg-white pr-5 pl-1.75 text-[15px] font-semibold tracking-[-0.005em] text-ru-blue-900 shadow-[0_12px_32px_rgba(4,12,24,0.35)] transition-transform hover:-translate-y-
1px motion-reduce:transition-none ${n}`,children:[(0,A.jsxs)(`span`,{className:`relative inline-flex size-8 flex-none items-center justify-center rounded-full bg-ru-star-cta`,children:[(0,A.jsx)(`span`,{className:`absolute inset-0 animate-ru-pulse rounded-full border-2 border-ru-star-top/70 motion-reduce:animate-none`}),(0,A.jsx)(`span`,{className:`ml-0.5 size-0 border-y-[5.5px] border-l-[9px] border-y-transparent border-l-ru-blue-900`})]}),`See how RateUp works`,(0,A.jsx)(`span`,{className:`text-[13.5px] font-medium text-ru-n-500`,children:`90 sec`})]}),(0,A.jsxs)(l,{showCloseButton:!1,overlayClassName:`z-60 bg-ru-blue-950/85`,className:`z-60 w-[min(1100px,calc(100vw-2rem))] max-w-none gap-0 rounded-none bg-transparent p-0 ring-0 sm:max-w-none`,children:[(0,A.jsx)(u,{className:`sr-only`,children:`RateUp product tour`}),(0,A.jsx)(`div`,{className:`relative aspect-video overflow-hidden rounded-2xl bg-black shadow-[0_32px_80px_rgba(0,0,0,0.5)]`,children:r&&(0,A.jsx)(`video`,{src:e,poster:t,title:`RateUp product tour`,autoPlay:!0,controls:!0,playsInline:!0,preload:`none`,className:`absolute inset-0 size-full object-contain`})}),(0,A.jsx)(c,{"aria-label":`Close the video`,className:`absolute -top-12 right-0 inline-flex size-9.5 cursor-pointer items-center justify-center rounded-full border border-white/20 bg-white/10 text-white transition-colors hover:bg-white/20`,children:(0,A.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,className:`size-4.5`,"aria-hidden":`true`,children:(0,A.jsx)(`path`,{d:`M6 6l12 12M18 6 6 18`})})})]})]}):null}var z=`mb-5.5 font-display text-[clamp(2.5rem,7.2vw,5.25rem)]/[1.05] font-bold tracking-[-0.035em] text-balance text-white`,B=`mx-auto mb-8 font-display text-[clamp(1.3125rem,2.9vw,1.8125rem)]/[1.35] font-semibold tracking-[-0.02em] text-white/72 sm:mb-10`;function V({children:e,background:t=(0,A.jsx)(L,{className:`-z-10`})}){return(0,A.jsxs)(`section`,{className:`relative isolate -mt-20 flex min-h-[min(92svh,52rem)] flex-col justify-center overflow-hidden bg-[linear-gradient(160deg,var(--color-ru-blue-800)_0%,var(--color-ru-blue-900)_46%,var(--color-ru-blue-950)_100%)] px-5 pt-27 pb-20 sm:-mt-25.5 sm:pt-37.5 sm:pb-28`,children:[t,(0,A.jsx)(`div`,{className:`mx-auto max-w-230 text-center`,children:e})]})}function H(){return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(R,{}),(0,A.jsxs)(`div`,{className:`mx-auto mt-5 grid w-full max-w-104 grid-cols-2 gap-3 sm:mt-6`,children:[(0,A.jsx)(i,{onDark:!0,className:`w-full justify-center rounded-full! px-0! max-sm:gap-1.5 max-sm:text-[15.5px]`}),(0,A.jsx)(r,{onDark:!0,className:`w-full justify-center rounded-full! px-0! max-sm:gap-2 max-sm:text-[15.5px]`,children:`Chat with us`})]})]})}export{L as a,V as i,B as n,H as r,z 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.