PageSourceSearch

https://cdn.holded.com/frontend-next-gen/app-utils-dates-range-dates.bvkWpBdh.js

js holded.com collected 2026-09-24 09:12:59 UTC 1,338 bytes, 1 lines download raw bytes

1import{Ft as e,Rt as t,S as n,Vt as r,_t as i,b as a,bt as o,ft as s,mt as c,pt as l,s as u,t as d,xt as f}from"./vendor-datefns.D54m-q0k.js";var p=e=>{if(e<=0)throw Error(`Invalid days argument`);let t=f(new Date);return{start:r(n(t,e-1)),end:t}},m={last12Months:()=>{let e=new Date;return{start:c(u(e,11)),end:o(e)}},currentYear:()=>{let e=new Date;return{start:s(e),end:l(e)}},lastYear:()=>{let e=d(new Date,1);return{start:s(e),end:l(e)}},nextYear:()=>{let t=e(new Date,1);return{start:s(t),end:l(t)}},last7Months:()=>{let e=new Date;return{start:c(u(e,7)),end:o(e)}},currentMonth:()=>{let e=new Date;return{start:c(e),end:o(e)}},lastMonth:()=>{let e=c(u(new Date,1));return{start:e,end:o(e)}},last7Days:()=>p(7),last30Days:()=>p(30),last60Days:()=>p(60),last90Days:()=>p(90),last150Days:()=>p(150),last180Days:()=>p(180),"1quarter":()=>{let e=s(new Date);return{start:e,end:a(e)}},"2quarter":()=>{let e=t(s(new Date),1);return{start:e,end:a(e)}},"3quarter":()=>{let e=t(s(new Date),2);return{start:e,end:a(e)}},"4quarter":()=>{let e=t(s(new Date),3);return{start:e,end:a(e)}},sinceEver:()=>({start:null,end:null})},h=()=>m.last12Months(),g=e=>{if(!e.start||!e.end)return[];let t=i({start:e.start,end:e.end}),n=new Set;return t.forEach(e=>{n.add(e.getDay())}),[...n].sort((e,t)=>(e===0?7:e)-(t===0?7:t))};export{h as n,g as r,m 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.