import{_ as i}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1167.js";import{j as e}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1165.js";import{r as o}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116.js";const c=o.lazy(() => __vitePreload(()=>import(chrome.runtime.getURL("content/assets/js/v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11665.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};
