import{g as O}from"./secp256k1-DaeOdK4W.js";(function(){const d=document.createElement("link").relList;if(d&&d.supports&&d.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))l(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&l(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function l(e){if(e.ep)return;e.ep=!0;const r=s(e);fetch(e.href,r)}})();const S="modulepreload",$=function(m){return"/"+m},x={},B=function(d,s,l){let e=Promise.resolve();if(s&&s.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=o?.nonce||o?.getAttribute("nonce");e=Promise.allSettled(s.map(u=>{if(u=$(u),u in x)return;x[u]=!0;const t=u.endsWith(".css"),a=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${a}`))return;const n=document.createElement("link");if(n.rel=t?"stylesheet":S,t||(n.as="script"),n.crossOrigin="",n.href=u,i&&n.setAttribute("nonce",i),document.head.appendChild(n),t)return new Promise((h,v)=>{n.addEventListener("load",h),n.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(o){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o}return e.then(o=>{for(const i of o||[])i.status==="rejected"&&r(i.reason);return d().catch(r)})};var g={exports:{}},q=g.exports,L;function R(){return L||(L=1,function(m,d){(function(s,l){m.exports=l()})(q,function(){return function(s,l,e){s=s||{};var r=l.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(t,a,n,h){return r.fromToBase(t,a,n,h)}e.en.relativeTime=o,r.fromToBase=function(t,a,n,h,v){for(var E,y,M,T=n.$locale().relativeTime||o,w=s.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],N=w.length,p=0;p<N;p+=1){var c=w[p];c.d&&(E=h?e(t).diff(n,c.d,!0):n.diff(t,c.d,!0));var f=(s.rounding||Math.round)(Math.abs(E));if(M=E>0,f<=c.r||!c.r){f<=1&&p>0&&(c=w[p-1]);var P=T[c.l];v&&(f=v(""+f)),y=typeof P=="string"?P.replace("%d",f):P(f,a,c.l,M);break}}if(a)return y;var b=M?T.future:T.past;return typeof b=="function"?b(y):b.replace("%s",y)},r.to=function(t,a){return i(t,a,this,!0)},r.from=function(t,a){return i(t,a,this)};var u=function(t){return t.$u?e.utc():e()};r.toNow=function(t){return this.to(u(this),t)},r.fromNow=function(t){return this.from(u(this),t)}}})}(g)),g.exports}var C=R();const U=O(C);export{B as _,U as r};
//# sourceMappingURL=relativeTime-B9tlMMn3.js.map
