PageSourceSearch

https://slottica-official.in.net/static/js/modules/date.min.js

js slottica-official.in.net collected 2026-10-09 23:28:26 UTC 989 bytes, 1 lines download raw bytes

1function getDiffOfDays(e,a){const t=new Date(e),o=new Date(a).getTime()-t.getTime();return Math.round(o/864e5)-1}function timeAgo(e){const a={pl:{today:"Dzisiaj",one:"1 dzień temu",days:e=>`${e} dni temu`,weeks:e=>`${e} tygodni temu`},en:{today:"Today",one:"1 day ago",days:e=>`${e} days ago`,weeks:e=>`${e} weeks ago`},pt:{today:"Hoje",one:"Há 1 dia",days:e=>`Há ${e} dias`,weeks:e=>`Há ${e} semanas`},es:{today:"Hoy",one:"Hace 1 día",days:e=>`Hace ${e} días`,weeks:e=>`Hace ${e} semanas`},de:{today:"Heute",one:"Vor 1 Tag",days:e=>`Vor ${e} Tagen`,weeks:e=>`Vor ${e} Wochen`},kz:{today:"Бүгін",one:"1 күн бұрын",days:e=>`${e} күн бұрын`,weeks:e=>`${e} апта бұрын`}},t=a[document.documentElement.lang||"en"]||a.en;return e<1?t.today:1===e?t.one:e<7?t.days(e):t.weeks(Math.floor(e/7))}const changeDate=e=>{document.querySelectorAll(e).forEach((e=>{e.textContent=timeAgo(getDiffOfDays(e.getAttribute("data-date"),new Date))}))};export default changeDate;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.