module.exports=[82331,a=>{"use strict";var b=a.i(87924),c=a.i(72131);function d({date:a,locale:d,options:e={year:"numeric",month:"long",day:"numeric"}}){let f=(0,c.useMemo)(()=>"string"==typeof a?new Date(a):a,["string"==typeof a?a:a.getTime()]),g=(0,c.useMemo)(()=>{let a=f.getFullYear(),b=f.getMonth()+1,c=f.getDate();return`${a}-${String(b).padStart(2,"0")}-${String(c).padStart(2,"0")}`},[f.getFullYear(),f.getMonth(),f.getDate()]),[h,i]=(0,c.useState)(g),[j,k]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{k(!0);try{let a=f.toLocaleDateString(d,e);i(a)}catch(a){i(g)}},[f,d,e,g]),(0,b.jsx)("span",{suppressHydrationWarning:!0,children:h})}a.s(["FormattedDate",()=>d])}];

//# sourceMappingURL=src_components_FormattedDate_tsx_090af374._.js.map