1import{a as k}from"./chunk-CAE4ICO3.js";import{a as _,b as Y}from"./chunk-YUG2JL6U.js";import{a as O,b as S,d as H,e as N}from"./chunk-3GU4C4FQ.js";import{c as h,d as y,e as a,f as n,g as F,h as I}from"./chunk-7E67MTAQ.js";import{l as x}from"./chunk-VOZAGDK7.js";function u(t,e,o){let r=n(t,o?.in);return isNaN(e)?a(o?.in||t,NaN):(e&&r.setDate(r.getDate()+e),r)}function d(t,e,o){let r=n(t,o?.in);if(isNaN(e))return a(o?.in||t,NaN);if(!e)return r;let i=r.getDate(),s=a(o?.in||t,r.getTime());s.setMonth(r.getMonth()+e+1,0);let f=s.getDate();return i>=f?s:(r.setFullYear(s.getFullYear(),s.getMonth(),i),r)}function c(t,e,o){return a(o?.in||t,+n(t)+e)}function b(t,e,o){return c(t,e*y,o)}function W(t,e,o){return c(t,e*1e3,o)}function m(t,e,o){return u(t,e*7,o)}function w(t,e){let o,r=e?.in;return t.forEach(i=>{!r&&typeof i=="object"&&(r=a.bind(null,i));let s=n(i,r);(!o||o<s||isNaN(+s))&&(o=s)}),a(r,o||NaN)}function T(t,e,o){let[r,i]=F(o?.in,t,e),s=z(r,i),f=Math.abs(H(r,i));r.setDate(r.getDate()-s*f);let M=+(z(r,i)===-s),D=s*(f-M);return D===0?0:D}function z(t,e){let o=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return o<0?-1:o>0?1:o}function p(t){return e=>{let r=(t?Math[t]:Math.trunc)(e);return r===0?0:r}}function l(t,e){return+n(t)-+n(e)}function R(t,e,o){let r=l(t,e)/h;return p(o?.roundingMethod)(r)}function A(t,e){let o=n(t,e?.in);return o.setHours(23,59,59,999),o}function L(t,e){let o=n(t,e?.in),r=o.getMonth();return o.setFullYear(o.getFullYear(),r+1,0),o.setHours(23,59,59,999),o}function j(t,e,o){let r=l(t,e)/1e3;return p(o?.roundingMethod)(r)}function C(t,e){let o=n(t,e?.in);return o.setDate(1),o.setHours(0,0,0,0),o}function E(t,e){let o=O(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,i=n(t,e?.in),s=i.getDay(),f=(s<r?-7:0)+6-(s-r);return i.setDate(i.getDate()+f),i.setHours(23,59,59,999),i}function q(t,e){return n(t,e?.in).getDate()}function v(t,e){return n(t,e?.in).getDay()}function B(t,e){let o=n(t,e?.in),r=o.getFullYear(),i=o.getMonth(),s=a(o,0);return s.setFullYear(r,i+1,0),s.setHours(0,0,0,0),s.getDate()}function G(t,e){return n(t,e?.in).getHours()}function J(t,e){return n(t,e?.in).getMinutes()}function K(t,e){return n(t,e?.in).getMonth()}function P(t,e){return n(t,e?.in).getFullYear()}function Q(t,e){let o=n(t,e?.in);return o.setSeconds(0,0),o}function g(t,e){let o=n(t,e?.in);return o.setMilliseconds(0),o}function U(t,e){return+g(t)==+g(e)}function V(t,e,o){return u(t,-e,o)}function X(t,e,o){let r=n(t,o?.in),i=r.getFullYear(),s=r.getDate(),f=a(o?.in||t,0);f.setFullYear(i,e,15),f.setHours(0,0,0,0);let M=B(f);return r.setMonth(e,Math.min(s,M)),r}function Z(t,e,o){let r=n(t,o?.in);return r.setDate(e),r}function $(t,e,o){let r=n(t,o?.in);return r.setHours(e),r}function tt(t,e,o){let r=n(t,o?.in);return r.setMinutes(e),r}function et(t,e,o){let r=n(t,o?.in);return isNaN(+r)?a(o?.in||t,NaN):(r.setFullYear(e),r)}function ot(t,e,o){return d(t,-e,o)}function rt(t,e,o){return m(t,-e,o)}function st(t){return new Date(t).getTimezoneOffset()}function nt(){return{addDays:u,addHours:b,addMinutes:k,addSeconds:W,differenceInDays:T,differenceInMinutes:R,differenceInSeconds:j,endOfDay:A,endOfMonth:L,endOfWeek:E,getDay:v,getMonth:K,isSameDay:_,isSameMonth:Y,isSameSecond:U,max:w,setHours:$,setMinutes:tt,startOfDay:I,startOfMinute:Q,startOfMonth:C,startOfWeek:S,getHours:G,getMinutes:J,getTimezoneOffset:st}}function je(){return x(x({},nt()),{addWeeks:m,addMonths:d,subDays:V,subWeeks:rt,subMonths:ot,getISOWeek:N,setDate:Z,setMonth:X,setYear:et,getDate:q,getYear:P})}export{b as a,Q as b,je as c};
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.