PageSourceSearch

https://app.flash-research.com/assets/SignUpElite20dPromo-CAM5JNeQ.js

js flash-research.com collected 2026-10-04 07:24:34 UTC 2,782 bytes, 1 lines download raw bytes

1import{em as a,O as i,eb as e,f as E,aQ as M}from"./index-NSyJWIAB.js";import{E as x}from"./elitePlanLogo-324cx57N.js";import{S as w}from"./SignUpPartnerContainer-vdxY224y.js";import"./premiumPlanLogo-DBexUW0O.js";const u="2026-08-20",N="Sign up now and get 30 days of Elite access for free!",d=t=>{const s=i.now();return s>=t?null:t.diff(s,["days","hours","minutes","seconds"]).toObject()},c=t=>String(Math.floor(t)).padStart(2,"0"),y=({targetDate:t,onExpire:s})=>{const r=a.useMemo(()=>i.fromISO(t).endOf("day"),[t]),[l,f]=a.useState(()=>d(r)),m=a.useRef(s);if(a.useEffect(()=>{m.current=s}),a.useEffect(()=>{const o=setInterval(()=>{const n=d(r);f(n),n===null&&(m.current?.(),clearInterval(o))},1e3);return()=>clearInterval(o)},[r]),l===null)return null;const h=Math.max(0,Math.floor(l.days??0)),p=Math.max(0,Math.floor(l.hours??0)),g=Math.max(0,Math.floor(l.minutes??0)),j=Math.max(0,Math.floor(l.seconds??0)),v=[{value:h,label:"Days"},{value:c(p),label:"Hours"},{value:c(g),label:"Minutes"},{value:c(j),label:"Seconds"}];return e.jsx("div",{className:"flex flex-col",children:e.jsx("div",{className:"flex justify-center gap-3",children:v.map(({value:o,label:n})=>e.jsxs("div",{className:"max-w-[5rem] flex flex-col items-center justify-center p-3 shadow-md",children:[e.jsx("p",{className:"text-3xl text-white font-medium tabular-nums",children:o}),e.jsx("p",{className:"text-sm text-white/70 uppercase tracking-wide",children:n})]},n))})})},P=()=>{const t=a.useMemo(()=>i.fromISO(u).endOf("day"),[]),[s,r]=a.useState(()=>i.now()>t);return s?e.jsx(E,{children:e.jsxs("div",{className:"flex flex-col items-center gap-6 text-center",children:[e.jsx("img",{className:"size-16",src:x,alt:"Flash Research Elite logo"}),e.jsx("p",{className:"text-4xl text-white font-medium",children:"This promotion has ended"}),e.jsx("p",{className:"text-xl text-white/70 max-w-xl",children:"The 30-day Elite free trial offer is no longer available. You can still create a regular Flash Research account."}),e.jsx(M,{to:"/signup",className:"mt-4 text-2xl font-medium rounded-lg bg-custom-sixth/80 hover:bg-custom-sixth/70 text-white py-3 px-6",children:"Go to sign up"})]})}):e.jsx(w,{extraMsg:"Limited-time offer. This offer is subject to change. We reserve the right to revoke Elite access at any time.",signupRef:"elite_trial_promo",customOfferMsg:!0,children:e.jsxs("div",{className:"mt-4 flex flex-col gap-4",children:[e.jsx("div",{className:"flex flex-col bg-custom-sixth/20 rounded-xl shadow-md",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("img",{className:"size-10 my-4 ml-4",src:x,alt:"Flash Research Elite logo"}),e.jsx("p",{className:"text-xl text-white font-medium",children:N})]})}),e.jsx(y,{targetDate:u,onExpire:()=>r(!0)})]})})};export{P as default};

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.