PageSourceSearch

https://www.interlaken.swiss/dist/js/dates-CzQb5ceC.js

js interlaken.swiss collected 2026-09-25 00:14:43 UTC 743 bytes, 1 lines download raw bytes

1function e(e,i){e.querySelectorAll(`.js-blog-date`).forEach(e=>{let a=e.dataset.blogDate,o=e.dataset.labelDays,s=e.dataset.labelMonths,c=e.dataset.labelYears;if(a&&a!==``){let l=new Date(a),u=new Date,d=t(u,l);if(d>-32&&d<0?e.innerHTML=o.replace(`###DATE###`,``+t(u,l)*-1):d>-365&&d<-32?e.innerHTML=s.replace(`###DATE###`,``+n(u,l)):d<365&&(e.innerHTML=c.replace(`###DATE###`,``+r(u,l)*-1)),i){let t=e.nextSibling;t.innerHTML+=`<span class="tile__addon-icon-label">`+e.innerHTML+`</span>`}}})}function t(e,t){return Math.round((t.getTime()-e.getTime())/864e5)}function n(e,t){let n=Math.round((t.getTime()-e.getTime())/864e5)*-1;return Math.floor(n/30.44)%12}function r(e,t){return Math.floor((t.getTime()-e.getTime())/31536e6)}export{e as t};

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.