import{by as i}from"./index-Cziemgsu.js";const o=(t,e)=>`${t}T${e}`,u=()=>["valid","Invalid date format",(t,e)=>t?new Date(t).toString()!=="Invalid Date":!e.parent.expirationTime],d=()=>["future","The date must be in the future",t=>{if(!t)return!0;const e=new Date(t).getTime(),r=new Date(i()).getTime();return e>=r}],f=()=>["valid","Invalid time format",(t,e)=>{if(!t)return!e.parent.expirationDate;const[r,s]=t.split(":"),n=new Date;return n.setHours(+r),n.setMinutes(+s),n.toString()!=="Invalid Date"}],c=t=>t?t.config.restricted==="true"&&(!t.config["restricted.snapshots"]||t.config["restricted.snapshots"]==="block"):!1;export{d as a,f as b,o as g,c as i,u as t};
