1import{cd as e,pd as t,xd as n}from"./composables.js";import{et as r}from"./vendor.js";var i=r(),a=class{constructor(){this.calendar=new i.Calendar(1)}buildYear(e,t){let n=[];for(let r=1;r<=12;r++)n.push(this.buildMonth(e,r,t));return n}buildMonth(r,i,a){return{month:i,weeks:this.calendar.monthDates(r,i-1,t=>{let r=n(t,typeof a.startDate==`string`?e(a.startDate):a.startDate);return{date:t,absences:[],holiday:void 0,isWeekend:!a.workingDays[r],prebook:!1}},e=>({week:t(e[0].date),days:e}))}}};export{a as t}; 2//# sourceMappingURL=calendar.js.map
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.