import{_ as i}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c197.js";import{j as e}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c195.js";import{r as o}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c19.js";const c=o.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1965.js")),[]));function d({status:s,days:t=NaN}){return e.jsx(o.Suspense,{fallback:e.jsx(e.Fragment,{}),children:e.jsx(c,{days:t,status:s})})}const p=s=>{const t=new Date(s+"T00:00:00");t.setFullYear(t.getFullYear()+1);const a=new Date;a.setHours(0,0,0,0);const r=t.getTime()-a.getTime(),n=1440*60*1e3;return Math.ceil(r/n)};export{d as S,p as d};
