1import{q as a,ao as m,j as e,v as o,r as s,ap as p}from"./index-BXjvZjW6.js";import{c as g}from"./cockatoo-wings-up-_-Hd5Asx.js";import{i as u}from"./instructor-1-C6j-DRPM.js";const h="https://my.everdance.app/";function y(){const{t}=a(),r=m(h,"returning_user");return e.jsx("div",{className:"container-edge pt-4",children:e.jsxs("a",{href:r,target:"_blank",rel:"noopener","aria-label":`${t("home.returningUser.prompt")} ${t("home.returningUser.cta")}`,className:"group mx-auto flex w-full max-w-2xl cursor-pointer select-none items-center gap-3 rounded-2xl border border-primary/20 bg-primary/5 px-4 py-2.5 text-sm transition-colors hover:bg-primary/10 sm:rounded-full",children:[e.jsx("img",{src:g,alt:t("home.returningUser.cockatooAlt"),width:40,height:40,loading:"eager",decoding:"async",draggable:!1,className:"pointer-events-none h-10 w-10 shrink-0 object-contain transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:rotate-[-4deg]"}),e.jsx("span",{className:"pointer-events-none flex-1 text-foreground/80",children:t("home.returningUser.prompt")}),e.jsxs("span",{className:"pointer-events-none inline-flex items-center gap-1 font-medium text-primary",children:[t("home.returningUser.cta"),e.jsx(o,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]})]})})}function w(){const{t}=a(),[r,i]=s.useState(!1),[l,c]=s.useState(!1);if(s.useEffect(()=>{const n=()=>{i(window.scrollY>window.innerHeight*.5)};return n(),window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),l)return null;const d=()=>{window.location.href="/go/join"};return e.jsx("div",{className:`fixed bottom-4 left-1/2 z-40 -translate-x-1/2 transition-all duration-500 md:hidden ${r?"translate-y-0 opacity-100":"pointer-events-none translate-y-8 opacity-0"} w-[70vw]`,role:"complementary","aria-label":t("components.stickyChallenge.ariaLabel"),children:e.jsxs("div",{className:"relative overflow-hidden rounded-2xl bg-gradient-ember shadow-warm ring-2 ring-primary/40",children:[e.jsx("button",{"aria-label":t("components.stickyChallenge.dismiss"),onClick:n=>{n.stopPropagation(),c(!0)},className:"absolute right-2 top-2 z-10 grid h-7 w-7 place-items-center rounded-full bg-background/30 text-primary-foreground transition hover:bg-background/50",children:e.jsx(p,{className:"h-4 w-4"})}),e.jsxs("button",{type:"button","data-cta":"sticky_challenge_join",onClick:d,className:"flex w-full items-center gap-3 p-3 text-left text-primary-foreground",children:[e.jsx("img",{src:u,alt:t("components.stickyChallenge.instructorAlt"),className:"h-16 w-16 shrink-0 rounded-xl object-cover ring-2 ring-primary-foreground/60 md:h-20 md:w-20"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("div",{className:"text-[10px] font-semibold uppercase tracking-[0.18em] opacity-90",children:t("components.stickyChallenge.eyebrow")}),e.jsxs("div",{className:"mt-0.5 font-display text-base leading-tight md:text-lg",children:[t("components.stickyChallenge.titlePre")," ",e.jsx("span",{className:"font-bold",children:t("components.stickyChallenge.titleAccent")})]})]}),e.jsxs("span",{className:"hidden shrink-0 items-center gap-1 rounded-full bg-background px-3 py-2 text-sm font-medium text-foreground shadow sm:inline-flex",children:[t("components.stickyChallenge.cta")," ",e.jsx(o,{className:"h-4 w-4"})]})]})]})})}export{y as R,w as 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.