1import{a as d,b as g,e as u,f as s,g as D,h as l}from"./chunk-7E67MTAQ.js";import{a as O,b as p}from"./chunk-E5QWB6YB.js";var y={};function k(){return y}function S(o,t){let e=k(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??e.weekStartsOn??e.locale?.options?.weekStartsOn??0,n=s(o,t?.in),f=n.getDay(),a=(f<r?7:0)+f-r;return n.setDate(n.getDate()-a),n.setHours(0,0,0,0),n}function i(o,t){return S(o,p(O({},t),{weekStartsOn:1}))}function x(o,t){let e=s(o,t?.in),r=e.getFullYear(),n=u(e,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let f=i(n),a=u(e,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let m=i(a);return e.getTime()>=f.getTime()?r+1:e.getTime()>=m.getTime()?r:r-1}function Y(o,t){let e=x(o,t),r=u(t?.in||o,0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),i(r)}function E(o,t){let e=s(o,t?.in),r=+i(e)-+Y(e);return Math.round(r/d)+1}function c(o){let t=s(o),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+o-+e}function X(o,t,e){let[r,n]=D(e?.in,o,t),f=l(r),a=l(n),m=+f-c(f),I=+a-c(a);return Math.round((m-I)/g)}export{k as a,S as b,x as c,X as d,E as e};
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.