mikens-utils 1.0.0 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/favicon.svg CHANGED
@@ -1 +1,10 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="48" height="46" fill="none" viewBox="0 0 48 46"><path fill="#863bff" d="M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z" style="fill:#863bff;fill:color(display-p3 .5252 .23 1);fill-opacity:1"/><mask id="a" width="48" height="46" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z" style="fill:#000;fill-opacity:1"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#ede6ff" rx="5.508" ry="14.704" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -4.47 31.516)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#ede6ff" rx="10.399" ry="29.851" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -39.328 7.883)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#7e14ff" rx="5.508" ry="30.487" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -25.913 -14.639)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -32.644 -3.334)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -34.34 30.47)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#ede6ff" rx="14.072" ry="22.078" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="rotate(93.35 24.506 48.493)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx=".387" cy="8.972" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(39.51 .387 8.972)"/></g><g filter="url(#k)"><ellipse cx="47.523" cy="-6.092" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 47.523 -6.092)"/></g><g filter="url(#l)"><ellipse cx="41.412" cy="6.333" fill="#47bfff" rx="5.971" ry="9.665" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 41.412 6.333)"/></g><g filter="url(#m)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#n)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#o)"><ellipse cx="35.651" cy="29.907" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 35.651 29.907)"/></g><g filter="url(#p)"><ellipse cx="38.418" cy="32.4" fill="#47bfff" rx="5.971" ry="15.297" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 38.418 32.4)"/></g></g><defs><filter id="b" width="60.045" height="41.654" x="-19.77" y="16.149" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-54.613" y="-7.533" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-49.64" y="2.03" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-45.045" y="20.029" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-43.513" y="21.178" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="g" width="74.749" height="58.852" x="15.756" y="-17.901" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="h" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="i" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="j" width="56.045" height="63.649" x="-27.636" y="-22.853" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="k" width="54.814" height="64.646" x="20.116" y="-38.415" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="l" width="33.541" height="35.313" x="24.641" y="-11.323" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="m" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="n" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="o" width="54.814" height="64.646" x="8.244" y="-2.416" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="p" width="39.409" height="43.623" x="18.713" y="10.588" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter></defs></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
2
+ <defs>
3
+ <linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" style="stop-color:#38bdf8;stop-opacity:1" />
5
+ <stop offset="100%" style="stop-color:#8b5cf6;stop-opacity:1" />
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="100" height="100" rx="25" fill="url(#grad)" />
9
+ <text x="50" y="70" font-family="Arial, sans-serif" font-size="65" font-weight="bold" fill="white" text-anchor="middle">M</text>
10
+ </svg>
@@ -58,6 +58,26 @@ var e = (e) => !e || e.length === 0 ? 0 : e.reduce((e, t) => {
58
58
  if (e == null || isNaN(e)) return "0";
59
59
  let t = Number(e);
60
60
  return t >= 1e6 ? `${(t / 1e6).toFixed(1)}M` : t >= 1e3 ? `${(t / 1e3).toFixed(1)}K` : t.toString();
61
+ }, v = (e, t) => {
62
+ e && Array.isArray(e) && e.forEach(t);
63
+ }, y = (e) => Array.isArray(e), b = (e, t) => {
64
+ if (e && Array.isArray(e)) return e.find(t);
65
+ }, x = (e, t, n) => !e || !Array.isArray(e) ? n : e.reduce(t, n), S = (e) => {
66
+ if (!e) return "";
67
+ let t = new Date(e);
68
+ if (isNaN(t.getTime())) return "";
69
+ let n = Math.floor((/* @__PURE__ */ new Date() - t) / 1e3), r = n / 31536e3;
70
+ return r >= 1 ? `hace ${Math.floor(r)} años` : (r = n / 2592e3, r >= 1 ? `hace ${Math.floor(r)} meses` : (r = n / 86400, r >= 1 ? `hace ${Math.floor(r)} días` : (r = n / 3600, r >= 1 ? `hace ${Math.floor(r)} horas` : (r = n / 60, r >= 1 ? `hace ${Math.floor(r)} minutos` : "hace unos segundos"))));
71
+ }, C = (e) => {
72
+ if (!e) return "";
73
+ let t = new Date(e);
74
+ return isNaN(t.getTime()) ? "" : `${t.getDate().toString().padStart(2, "0")}/${(t.getMonth() + 1).toString().padStart(2, "0")}/${t.getFullYear()}`;
75
+ }, w = (e, t) => {
76
+ if (!e || !t) return 0;
77
+ let n = new Date(e), r = new Date(t);
78
+ if (isNaN(n.getTime()) || isNaN(r.getTime())) return 0;
79
+ let i = Math.abs(r - n);
80
+ return Math.ceil(i / 864e5);
61
81
  };
62
82
  //#endregion
63
- export { e as calculateTotalDuration, n as cleanForFirebase, d as clone, c as debounce, o as filter, _ as formatCount, t as formatSecondsToTime, p as generateId, r as get, i as getUniqueTracks, l as groupBy, s as intentar, u as isEmpty, a as map, m as shuffleArray, f as sleep, h as sortBy, g as truncateText };
83
+ export { e as calculateTotalDuration, n as cleanForFirebase, d as clone, w as daysBetween, c as debounce, o as filter, b as find, v as forEach, _ as formatCount, C as formatDate, t as formatSecondsToTime, p as generateId, r as get, i as getUniqueTracks, l as groupBy, s as intentar, u as isEmpty, a as map, y as mikArray, x as reduce, m as shuffleArray, f as sleep, h as sortBy, S as timeAgo, g as truncateText };
@@ -1 +1 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MikensUtils={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.calculateTotalDuration=e=>!e||e.length===0?0:e.reduce((e,t)=>{let n=t.duration||0;if(typeof n==`string`&&n.includes(`:`)){let[t,r]=n.split(`:`).map(Number);return e+(t*60+r)}return e+(typeof n==`number`?n:0)},0),e.cleanForFirebase=e=>{if(!e||typeof e!=`object`)return e;let t={...e};return Object.keys(t).forEach(e=>{let n=t[e];n&&typeof n==`object`&&!Array.isArray(n)&&!(n instanceof Date)&&(t[e]=JSON.stringify(n)),Array.isArray(n)&&(t[e]=n.map(e=>e&&typeof e==`object`&&!Array.isArray(e)&&!(e instanceof Date)?JSON.stringify(e):e))}),t},e.clone=e=>typeof e!=`object`||!e?e:typeof structuredClone==`function`?structuredClone(e):JSON.parse(JSON.stringify(e)),e.debounce=(e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)}},e.filter=(e,t)=>!e||!Array.isArray(e)?[]:e.filter(t),e.formatCount=e=>{if(e==null||isNaN(e))return`0`;let t=Number(e);return t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:t.toString()},e.formatSecondsToTime=e=>{if(!e||isNaN(e))return`0:00`;let t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${n<10?`0`:``}${n}`},e.generateId=(e=`id`)=>`${e}-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,e.get=(e,t,n=void 0)=>{if(!e)return n;let r=Array.isArray(t)?t:t.replace(/\[(\w+)\]/g,`.$1`).split(`.`),i=e;for(let e of r){if(i==null)return n;i=i[e]}return i===void 0?n:i},e.getUniqueTracks=(e,t)=>{if(!e||!Array.isArray(e))return[];let n=new Set;return e.filter(e=>{let r=t(e);return!n.has(r)&&(n.add(r),!0)})},e.groupBy=(e,t)=>!e||!Array.isArray(e)?{}:e.reduce((e,n)=>{let r=typeof t==`function`?t(n):n[t];return e[r]||(e[r]=[]),e[r].push(n),e},{}),e.intentar=async(e,...t)=>{try{return[null,await e(...t)]}catch(e){return[e,null]}},e.isEmpty=e=>e==null?!0:typeof e==`string`||Array.isArray(e)?e.length===0:typeof e==`object`&&Object.keys(e).length===0,e.map=(e,t)=>!e||!Array.isArray(e)?[]:e.map(t),e.shuffleArray=e=>{if(!e||!Array.isArray(e))return[];let t=[...e];for(let e=t.length-1;e>0;e--){let n=Math.floor(Math.random()*(e+1));[t[e],t[n]]=[t[n],t[e]]}return t},e.sleep=e=>new Promise(t=>setTimeout(t,e)),e.sortBy=(e,t,n=`asc`)=>!e||!Array.isArray(e)?[]:[...e].sort((e,r)=>e[t]<r[t]?n===`asc`?-1:1:e[t]>r[t]?n===`asc`?1:-1:0),e.truncateText=(e,t)=>!e||typeof e!=`string`?``:e.length<=t?e:`${e.substring(0,t).trim()}...`});
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MikensUtils={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.calculateTotalDuration=e=>!e||e.length===0?0:e.reduce((e,t)=>{let n=t.duration||0;if(typeof n==`string`&&n.includes(`:`)){let[t,r]=n.split(`:`).map(Number);return e+(t*60+r)}return e+(typeof n==`number`?n:0)},0),e.cleanForFirebase=e=>{if(!e||typeof e!=`object`)return e;let t={...e};return Object.keys(t).forEach(e=>{let n=t[e];n&&typeof n==`object`&&!Array.isArray(n)&&!(n instanceof Date)&&(t[e]=JSON.stringify(n)),Array.isArray(n)&&(t[e]=n.map(e=>e&&typeof e==`object`&&!Array.isArray(e)&&!(e instanceof Date)?JSON.stringify(e):e))}),t},e.clone=e=>typeof e!=`object`||!e?e:typeof structuredClone==`function`?structuredClone(e):JSON.parse(JSON.stringify(e)),e.daysBetween=(e,t)=>{if(!e||!t)return 0;let n=new Date(e),r=new Date(t);if(isNaN(n.getTime())||isNaN(r.getTime()))return 0;let i=Math.abs(r-n);return Math.ceil(i/864e5)},e.debounce=(e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)}},e.filter=(e,t)=>!e||!Array.isArray(e)?[]:e.filter(t),e.find=(e,t)=>{if(e&&Array.isArray(e))return e.find(t)},e.forEach=(e,t)=>{e&&Array.isArray(e)&&e.forEach(t)},e.formatCount=e=>{if(e==null||isNaN(e))return`0`;let t=Number(e);return t>=1e6?`${(t/1e6).toFixed(1)}M`:t>=1e3?`${(t/1e3).toFixed(1)}K`:t.toString()},e.formatDate=e=>{if(!e)return``;let t=new Date(e);return isNaN(t.getTime())?``:`${t.getDate().toString().padStart(2,`0`)}/${(t.getMonth()+1).toString().padStart(2,`0`)}/${t.getFullYear()}`},e.formatSecondsToTime=e=>{if(!e||isNaN(e))return`0:00`;let t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${n<10?`0`:``}${n}`},e.generateId=(e=`id`)=>`${e}-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,e.get=(e,t,n=void 0)=>{if(!e)return n;let r=Array.isArray(t)?t:t.replace(/\[(\w+)\]/g,`.$1`).split(`.`),i=e;for(let e of r){if(i==null)return n;i=i[e]}return i===void 0?n:i},e.getUniqueTracks=(e,t)=>{if(!e||!Array.isArray(e))return[];let n=new Set;return e.filter(e=>{let r=t(e);return!n.has(r)&&(n.add(r),!0)})},e.groupBy=(e,t)=>!e||!Array.isArray(e)?{}:e.reduce((e,n)=>{let r=typeof t==`function`?t(n):n[t];return e[r]||(e[r]=[]),e[r].push(n),e},{}),e.intentar=async(e,...t)=>{try{return[null,await e(...t)]}catch(e){return[e,null]}},e.isEmpty=e=>e==null?!0:typeof e==`string`||Array.isArray(e)?e.length===0:typeof e==`object`&&Object.keys(e).length===0,e.map=(e,t)=>!e||!Array.isArray(e)?[]:e.map(t),e.mikArray=e=>Array.isArray(e),e.reduce=(e,t,n)=>!e||!Array.isArray(e)?n:e.reduce(t,n),e.shuffleArray=e=>{if(!e||!Array.isArray(e))return[];let t=[...e];for(let e=t.length-1;e>0;e--){let n=Math.floor(Math.random()*(e+1));[t[e],t[n]]=[t[n],t[e]]}return t},e.sleep=e=>new Promise(t=>setTimeout(t,e)),e.sortBy=(e,t,n=`asc`)=>!e||!Array.isArray(e)?[]:[...e].sort((e,r)=>e[t]<r[t]?n===`asc`?-1:1:e[t]>r[t]?n===`asc`?1:-1:0),e.timeAgo=e=>{if(!e)return``;let t=new Date(e);if(isNaN(t.getTime()))return``;let n=Math.floor((new Date-t)/1e3),r=n/31536e3;return r>=1?`hace ${Math.floor(r)} años`:(r=n/2592e3,r>=1?`hace ${Math.floor(r)} meses`:(r=n/86400,r>=1?`hace ${Math.floor(r)} días`:(r=n/3600,r>=1?`hace ${Math.floor(r)} horas`:(r=n/60,r>=1?`hace ${Math.floor(r)} minutos`:`hace unos segundos`))))},e.truncateText=(e,t)=>!e||typeof e!=`string`?``:e.length<=t?e:`${e.substring(0,t).trim()}...`});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mikens-utils",
3
3
  "private": false,
4
- "version": "1.0.0",
4
+ "version": "1.0.3",
5
5
  "description": "Una librería de utilidades puras para JavaScript y React",
6
6
  "type": "module",
7
7
  "main": "./dist/mikens-utils.umd.js",