1var e=(e,t)=>new Intl.DateTimeFormat(t,{month:`long`,year:`numeric`}).format(e),t=(e,t)=>new Intl.DateTimeFormat(t,{day:`2-digit`,month:`2-digit`,year:`numeric`}).format(e),n=/^\d{4}-\d{2}-\d{2}$/,r=e=>n.test(e),i=new Map,a=e=>{let t=i.get(e);if(t)return t;let n={day:`numeric`,month:`long`,timeZone:`UTC`},r={long:new Intl.DateTimeFormat(e,{...n,weekday:`long`}),short:new Intl.DateTimeFormat(e,{...n,weekday:`short`}),standaloneWeekday:new Intl.DateTimeFormat(e,{timeZone:`UTC`,weekday:`short`})};return i.set(e,r),r},o=`\xA0`,s=(e,t)=>[e[t-1]?.type,e[t+1]?.type].every(e=>e===`day`||e===`month`),c=(e,t,n=`short`)=>{if(!e)return;let r=new Date(`${e}T00:00:00Z`);if(Number.isNaN(r.getTime()))return;let i=a(t);if(n===`long`)return i.long.format(r);let c=i.standaloneWeekday.format(r),l=i.short.formatToParts(r);return l.map((e,t)=>e.type===`weekday`?c:e.type===`literal`&&s(l,t)?e.value.replaceAll(` `,o):e.value).join(``)},l=(e,t)=>{let n=c(e,t);return n?{date:n,spokenDate:c(e,t,`long`)}:void 0};export{l as a,r as i,t as n,e as r,c 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.