1import{j as l}from"./vendor-ui-x7D0iLe8.js";import{j as m,r as i}from"./vendor-react-aMKJrssV.js";import{d as p,e as f,u as g,S as d}from"./index-DQ5XgqgM.js";import{c as S}from"./upgrade-nudge-gate-B9RzBxKm.js";import"./vendor-data-LOeL2b27.js";const j=()=>{const{tier:e,monthsActive:t,subscribed:s,isTrial:a}=p(),o=m(),[n,u]=i.useState(!1);return i.useEffect(()=>{if(n||!s||a||!e||e==="free"||e==="enterprise"||t<3)return;const r=`eqiqs_annual_nudge_${e}`;if(sessionStorage.getItem(r)||!S("annual_plan"))return;sessionStorage.setItem(r,"1"),u(!0);const c=f[e];g(`Save ~17% by switching to annual billing on ${c.name}!`,{description:"Lock in your rate and save over 2 months free.",icon:l.jsx(d,{className:"h-4 w-4 text-primary"}),action:{label:"View Plans",onClick:()=>o("/pricing")},duration:1e4})},[s,e,t,a,n]),null};export{j 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.