1var Be=Object.defineProperty;var $e=(n,t,e)=>t in n?Be(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var u=(n,t,e)=>$e(n,typeof t!="symbol"?t+"":t,e);import{r as je}from"./DCS5rCQu.js";import"./C7qWptLf.js";import"./hpNDvw06.js";import"./CwphVnsR.js";import"./x_rD_Ya3.js";import"./Bf9wae6a.js";import"./BYrMGjzP.js";const ke=6048e5,ze=864e5,z=6e4,V=36e5,Ve=1e3,ge=Symbol.for("constructDateFrom");function b(n,t){return typeof n=="function"?n(t):n&&typeof n=="object"&&ge in n?n[ge](t):n instanceof Date?new n.constructor(t):new Date(t)}function d(n,t){return b(t||n,n)}function S(n,t,e){const r=d(n,e==null?void 0:e.in);return isNaN(t)?b((e==null?void 0:e.in)||n,NaN):(t&&r.setDate(r.getDate()+t),r)}function se(n,t,e){const r=d(n,e==null?void 0:e.in);if(isNaN(t))return b(n,NaN);if(!t)return r;const a=r.getDate(),s=b(n,r.getTime());s.setMonth(r.getMonth()+t+1,0);const i=s.getDate();return a>=i?s:(r.setFullYear(s.getFullYear(),s.getMonth(),a),r)}function ie(n,t,e){return b(n,+d(n)+t)}function Ue(n,t,e){return ie(n,t*V)}let Ze={};function F(){return Ze}function E(n,t){var c,o,l,w;const e=F(),r=(t==null?void 0:t.weekStartsOn)??((o=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:o.weekStartsOn)??e.weekStartsOn??((w=(l=e.locale)==null?void 0:l.options)==null?void 0:w.weekStartsOn)??0,a=d(n,t==null?void 0:t.in),s=a.getDay(),i=(s<r?7:0)+s-r;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function Q(n,t){return E(n,{...t,weekStartsOn:1})}function Pe(n,t){const e=d(n,t==null?void 0:t.in),r=e.getFullYear(),a=b(e,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const s=Q(a),i=b(e,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const c=Q(i);return e.getTime()>=s.getTime()?r+1:e.getTime()>=c.getTime()?r:r-1}function J(n){const t=d(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}function I(n,...t){const e=b.bind(null,t.find(r=>typeof r=="object"));return t.map(e)}function re(n,t){const e=d(n,t==null?void 0:t.in);return e.setHours(0,0,0,0),e}function Oe(n,t,e){const[r,a]=I(e==null?void 0:e.in,n,t),s=re(r),i=re(a),c=+s-J(s),o=+i-J(i);return Math.round((c-o)/ze)}function Je(n,t){const e=Pe(n,t),r=b(n,0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),Q(r)}function Ke(n,t,e){const r=d(n,e==null?void 0:e.in);return r.setTime(r.getTime()+t*z),r}function Se(n,t,e){return se(n,t*3,e)}function pe(n,t,e){return ie(n,t*1e3)}function et(n,t,e){return S(n,t*7,e)}function tt(n,t,e){return se(n,t*12,e)}function j(n,t){const e=+d(n)-+d(t);return e<0?-1:e>0?1:e}function rt(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function Ye(n){return!(!rt(n)&&typeof n!="number"||isNaN(+d(n)))}function nt(n,t,e){const[r,a]=I(e==null?void 0:e.in,n,t),s=r.getFullYear()-a.getFullYear(),i=r.getMonth()-a.getMonth();return s*12+i}function at(n,t,e){const[r,a]=I(e==null?void 0:e.in,n,t);return r.getFullYear()-a.getFullYear()}function _e(n,t,e){const[r,a]=I(e==null?void 0:e.in,n,t),s=be(r,a),i=Math.abs(Oe(r,a));r.setDate(r.getDate()-s*i);const c=+(be(r,a)===-s),o=s*(i-c);return o===0?0:o}function be(n,t){const e=n.getFullYear()-t.getFullYear()||n.getMonth()-t.getMonth()||n.getDate()-t.getDate()||n.getHours()-t.getHours()||n.getMinutes()-t.getMinutes()||n.getSeconds()-t.getSeconds()||n.getMilliseconds()-t.getMilliseconds();return e<0?-1:e>0?1:e}function U(n){return t=>{const r=(n?Math[n]:Math.trunc)(t);return r===0?0:r}}function st(n,t,e){const[r,a]=I(e==null?void 0:e.in,n,t),s=(+r-+a)/V;return U(e==null?void 0:e.roundingMethod)(s)}function ue(n,t){return+d(n)-+d(t)}function it(n,t,e){const r=ue(n,t)/z;return U(e==null?void 0:e.roundingMethod)(r)}function We(n,t){const e=d(n,t==null?void 0:t.in);return e.setHours(23,59,59,999),e}function ve(n,t){const e=d(n,t==null?void 0:t.in),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function ut(n,t){const e=d(n,t==null?void 0:t.in);return+We(e,t)==+ve(e,t)}function Ne(n,t,e){const[r,a,s]=I(e==null?void 0:e.in,n,n,t),i=j(a,s),c=Math.abs(nt(a,s));if(c<1)return 0;a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*c);let o=j(a,s)===-i;ut(r)&&c===1&&j(r,s)===1&&(o=!1);const l=i*(c-+o);return l===0?0:l}function ct(n,t,e){const r=Ne(n,t,e)/3;return U(e==null?void 0:e.roundingMethod)(r)}function ot(n,t,e){const r=ue(n,t)/1e3;return U(e==null?void 0:e.roundingMethod)(r)}function dt(n,t,e){const r=_e(n,t,e)/7;return U(e==null?void 0:e.roundingMethod)(r)}function lt(n,t,e){const[r,a]=I(e==null?void 0:e.in,n,t),s=j(r,a),i=Math.abs(at(r,a));r.setFullYear(1584),a.setFullYear(1584);const c=j(r,a)===-s,o=s*(i-+c);return o===0?0:o}function ft(n,t){const e=d(n,t==null?void 0:t.in),r=e.getMonth(),a=r-r%3;return e.setMonth(a,1),e.setHours(0,0,0,0),e}function ht(n,t){const e=d(n,t==null?void 0:t.in);return e.setDate(1),e.setHours(0,0,0,0),e}function mt(n,t){const e=d(n,t==null?void 0:t.in),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}function Ee(n,t){const e=d(n,t==null?void 0:t.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function wt(n,t){const e=d(n,t==null?void 0:t.in);return e.setMinutes(59,59,999),e}function yt(n,t){var c,o;const e=F(),r=e.weekStartsOn??((o=(c=e.locale)==null?void 0:c.options)==null?void 0:o.weekStartsOn)??0,a=d(n,t==null?void 0:t.in),s=a.getDay(),i=(s<r?-7:0)+6-(s-r);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function gt(n,t){const e=d(n,t==null?void 0:t.in);return e.setSeconds(59,999),e}function bt(n,t){const e=d(n,t==null?void 0:t.in),r=e.getMonth(),a=r-r%3+3;return e.setMonth(a,0),e.setHours(23,59,59,999),e}function xt(n,t){const e=d(n,t==null?void 0:t.in);return e.setMilliseconds(999),e}const Mt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Dt=(n,t,e)=>{let r;const a=Mt[n];
1return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+r:r+" ago":r};function ee(n){return(t={})=>{const e=t.width?String(t.width):n.defaultWidth;return n.formats[e]||n.formats[n.defaultWidth]}}const Tt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},kt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot={date:ee({formats:Tt,defaultWidth:"full"}),time:ee({formats:kt,defaultWidth:"full"}),dateTime:ee({formats:Pt,defaultWidth:"full"})},Yt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},_t=(n,t,e,r)=>Yt[n];function G(n){return(t,e)=>{const r=e!=null&&e.context?String(e.context):"standalone";let a;if(r==="formatting"&&n.formattingValues){const i=n.defaultFormattingWidth||n.defaultWidth,c=e!=null&&e.width?String(e.width):i;a=n.formattingValues[c]||n.formattingValues[i]}else{const i=n.defaultWidth,c=e!=null&&e.width?String(e.width):n.defaultWidth;a=n.values[c]||n.values[i]}const s=n.argumentCallback?n.argumentCallback(t):t;return a[s]}}const Wt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},vt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Nt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Et={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},qt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ht={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ft=(n,t)=>{const e=Number(n),r=e%100;if(r>20||r<10)switch(r%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},It={ordinalNumber:Ft,era:G({values:Wt,defaultWidth:"wide"}),quarter:G({values:vt,defaultWidth:"wide",argumentCallback:n=>n-1}),month:G({values:Nt,defaultWidth:"wide"}),day:G({values:Et,defaultWidth:"wide"}),dayPeriod:G({values:qt,defaultWidth:"wide",formattingValues:Ht,defaultFormattingWidth:"wide"})};function B(n){return(t,e={})=>{const r=e.width,a=r&&n.matchPatterns[r]||n.matchPatterns[n.defaultMatchWidth],s=t.match(a);if(!s)return null;const i=s[0],c=r&&n.parsePatterns[r]||n.parsePatterns[n.defaultParseWidth],o=Array.isArray(c)?Lt(c,P=>P.test(i)):Ct(c,P=>P.test(i));let l;l=n.valueCallback?n.valueCallback(o):o,l=e.valueCallback?e.valueCallback(l):l;const w=t.slice(i.length);return{value:l,rest:w}}}function Ct(n,t){for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&t(n[e]))return e}function Lt(n,t){for(let e=0;e<n.length;e++)if(t(n[e]))return e}function Qt(n){return(t,e={})=>{const r=t.match(n.matchPattern);if(!r)return null;const a=r[0],s=t.match(n.parsePattern);if(!s)return null;let i=n.valueCallback?n.valueCallback(s[0]):s[0];i=e.valueCallback?e.valueCallback(i):i;const c=t.slice(a.length);return{value:i,rest:c}}}const Rt=/^(\d+)(th|st|nd|rd)?/i,Xt=/\d+/i,At={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Gt={any:[/^b/i,/^(a|c)/i]},Bt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},$t={any:[/1/i,/2/i,/3/i,/4/i]},jt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},zt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ut={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Jt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Kt={ordinalNumber:Qt({matchPattern:Rt,parsePattern:Xt,valueCallback:n=>parseInt(n,10)}),era:B({matchPatterns:At,defaultMatchWidth:"wide",parsePatterns:Gt,defaultParseWidth:"any"}),quarter:B({matchPatterns:Bt,defaultMatchWidth:"wide",parsePatterns:$t,defaultParseWidth:"any",valueCallback:n=>n+1}),month:B({matchPatterns:jt,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any"}),day:B({matchPatterns:Vt,defaultMatchWidth:"wide",parsePatterns:Ut,defaultParseWidth:"any"}),dayPeriod:B({matchPatterns:Zt,defaultMatchWidth:"any",parsePatterns:Jt,defaultParseWidth:"any"})},qe={code:"en-US",formatDistance:Dt,formatLong:Ot,formatRelative:_t,localize:It,match:Kt,options:{weekStartsOn:0,firstWeekContainsDate:1}};function St(n,t){const e=d(n,t==null?void 0:t.in);return Oe(e,Ee(e))+1}function He(n,t){const e=d(n,t==null?void 0:t.in),r=+Q(e)-+Je(e);return Math.round(r/ke)+1}function ce(n,t){var w,P,O,_;const e=d(n,t==null?void 0:t.in),r=e.getFullYear(),a=F(),s=(t==null?void 0:t.firstWeekContainsDate)??((P=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:P.firstWeekContainsDate)??a.firstWeekContainsDate??((_=(O=a.locale)==null?void 0:O.options)==null?void 0:_.firstWeekContainsDate)??1,i=b((t==null?void 0:t.in)||n,0);i.setFullYear(r+1,0,s),i.setHours(0,0,0,0);const c=E(i,t),o=b((t==null?void 0:t.in)||n,0);o.setFullYear(r,0,s),o.setHours(0,0,0,0);const l=E(o,t);return+e>=+c?r+1:+e>=+l?r:r-1}function pt(n,t){var c,o,l,w;const e=F(),r=(t==null?void 0:t.firstWeekContainsDate)??((o=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:o.firstWeekContainsDate)??e.firstWeekContainsDate??((w=(l=e.locale)==null?void 0:l.options)==null?void 0:w.firstWeekContainsDate)??1,a=ce(n,t),s=b((t==null?void 0:t.in)||n,0);return s.setFullYear(a,0,r),s.setHours(0,0,0,0),E(s,t)}function Fe(n,t){const e=d(n,t==null?void 0:t.in),r=+E(e,t)-+pt(e,t);return Math.round(r/ke)+1}function m(n,t){const e=n<0?"-":"",r=Math.abs(n).toString().padStart(t,"0");return e+r}const q={y(n,t){const e=n.getFullYear(),r=e>0?e:1-e;return m(t==="yy"?r%100:r,t.length)},M(n,t){const e=n.getMonth();return t==="M"?String(e+1):m(e+1,2)},d(n,t){return m(n.getDate(),t.length)},a(n,t){const e=n.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(n,t){return m(n.getHours()%12||12,t.length)},H(n,t){return m(n.getHours(),t.length)},m(n,t){return m(n.getMinutes(),t.length)},s(n,t){return m(n.getSeconds(),t.length)},S(n,t){const e=t.length,r=n.getMilliseconds(),a=Math.trunc(r*Math.pow(10,e-3));return m(a,t.length)}},L={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},xe={G:function(n,t,e){const r=n.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(r,{width:"abbreviated"});case"GGGGG":return e.era(r,{width:"narrow"});case"GGGG":default:return e.era(r,{width:"wide"})}},y:function(n,t,e){if(t==="yo"){const r=n.getFullYear(),a=r>0?r:1-r;return e.ordinalNumber(a,{unit:"year"})}return q.y(n,t)},Y:function(n,t,e,r){const a=ce(n,r),s=a>0?a:1-a;if(t==="YY"){const i=s%100;return m(i,2)}return t==="Yo"?e.ordinalNumber(s,{unit:"year"}):m(s,t.length)},R:function(n,t){const e=Pe(n);return m(e,t.length)},u:function(n,t){const e=n.getFullYear();return m(e,t.length)},Q:function(n,t,e){const r=Math.ceil((n.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return m(r,2);case"Qo":return e.ordinalNumber(r,{unit:"quarter"});case"QQQ":return e.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,t,e){const r=Math.ceil((n.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return m(r,2);case"qo":return e.ordinalNumber(r,{unit:"quarter"});case"qqq":return e.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,t,e){const r=n.getMonth();switch(t){case"M":case"MM":return q.M(n,t);case"Mo":return e.ordinalNumber(r+1,{unit:"month"});case"MMM":return e.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(r,{width:"wide",context:"formatting"})}},L:function(n,t,e){const r=n.getMonth();switch(t){case"L":return String(r+1);case"LL":return m(r+1,2);case"Lo":return e.ordinalNumber(r+1,{unit:"month"});case"LLL":return e.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(r,{width:"wide",context:"standalone"})}},w:function(n,t,e,r){const a=Fe(n,r);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):m(a,t.length)},I:function(n,t,e){const r=He(n);return t==="Io"?e.ordinalNumber(r,{unit:"week"}):m(r,t.length)},d:function(n,t,e){return t==="do"?e.ordinalNumber(n.getDate(),{unit:"date"}):q.d(n,t)},D:function(n,t,e){const r=St(n);return t==="Do"?e.ordinalNumber(r,{unit:"dayOfYear"}):m(r,t.length)},E:function(n,t,e){const r=n.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(r,{width:"short",context:"formatting"});case"EEEE":default:return e.day(r,{width:"wide",context:"formatting"})}},e:function(n,t,e,r){const a=n.getDay(),s=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return m(s,2);case"eo":return e.ordinalNumber(s,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(n,t,e,r){const a=n.getDay(),s=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return m(s,t.length);case"co":return e.ordinalNumber(s,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(n,t,e){const r=n.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return m(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(r,{width:"short",context:"formatting"});case"iiii":default:return e.day(r,{width:"wide",context:"formatting"})}},a:function(n,t,e){const a=n.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,t,e){const r=n.getHours();let a;switch(r===12?a=L.noon:r===0?a=L.midnight:a=r/12>
1=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,t,e){const r=n.getHours();let a;switch(r>=17?a=L.evening:r>=12?a=L.afternoon:r>=4?a=L.morning:a=L.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,t,e){if(t==="ho"){let r=n.getHours()%12;return r===0&&(r=12),e.ordinalNumber(r,{unit:"hour"})}return q.h(n,t)},H:function(n,t,e){return t==="Ho"?e.ordinalNumber(n.getHours(),{unit:"hour"}):q.H(n,t)},K:function(n,t,e){const r=n.getHours()%12;return t==="Ko"?e.ordinalNumber(r,{unit:"hour"}):m(r,t.length)},k:function(n,t,e){let r=n.getHours();return r===0&&(r=24),t==="ko"?e.ordinalNumber(r,{unit:"hour"}):m(r,t.length)},m:function(n,t,e){return t==="mo"?e.ordinalNumber(n.getMinutes(),{unit:"minute"}):q.m(n,t)},s:function(n,t,e){return t==="so"?e.ordinalNumber(n.getSeconds(),{unit:"second"}):q.s(n,t)},S:function(n,t){return q.S(n,t)},X:function(n,t,e){const r=n.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return De(r);case"XXXX":case"XX":return H(r);case"XXXXX":case"XXX":default:return H(r,":")}},x:function(n,t,e){const r=n.getTimezoneOffset();switch(t){case"x":return De(r);case"xxxx":case"xx":return H(r);case"xxxxx":case"xxx":default:return H(r,":")}},O:function(n,t,e){const r=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Me(r,":");case"OOOO":default:return"GMT"+H(r,":")}},z:function(n,t,e){const r=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Me(r,":");case"zzzz":default:return"GMT"+H(r,":")}},t:function(n,t,e){const r=Math.trunc(+n/1e3);return m(r,t.length)},T:function(n,t,e){return m(+n,t.length)}};function Me(n,t=""){const e=n>0?"-":"+",r=Math.abs(n),a=Math.trunc(r/60),s=r%60;return s===0?e+String(a):e+String(a)+t+m(s,2)}function De(n,t){return n%60===0?(n>0?"-":"+")+m(Math.abs(n)/60,2):H(n,t)}function H(n,t=""){const e=n>0?"-":"+",r=Math.abs(n),a=m(Math.trunc(r/60),2),s=m(r%60,2);return e+a+t+s}const Te=(n,t)=>{switch(n){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ie=(n,t)=>{switch(n){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},er=(n,t)=>{const e=n.match(/(P+)(p+)?/)||[],r=e[1],a=e[2];if(!a)return Te(n,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",Te(r,t)).replace("{{time}}",Ie(a,t))},ne={p:Ie,P:er},tr=/^D+$/,rr=/^Y+$/,nr=["D","DD","YY","YYYY"];function Ce(n){return tr.test(n)}function Le(n){return rr.test(n)}function ae(n,t,e){const r=ar(n,t,e);if(console.warn(r),nr.includes(n))throw new RangeError(r)}function ar(n,t,e){const r=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${r} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const sr=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ir=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ur=/^'([^]*?)'?$/,cr=/''/g,or=/[a-zA-Z]/;function dr(n,t,e){var w,P,O,_,Y,R,X,A;const r=F(),a=(e==null?void 0:e.locale)??r.locale??qe,s=(e==null?void 0:e.firstWeekContainsDate)??((P=(w=e==null?void 0:e.locale)==null?void 0:w.options)==null?void 0:P.firstWeekContainsDate)??r.firstWeekContainsDate??((_=(O=r.locale)==null?void 0:O.options)==null?void 0:_.firstWeekContainsDate)??1,i=(e==null?void 0:e.weekStartsOn)??((R=(Y=e==null?void 0:e.locale)==null?void 0:Y.options)==null?void 0:R.weekStartsOn)??r.weekStartsOn??((A=(X=r.locale)==null?void 0:X.options)==null?void 0:A.weekStartsOn)??0,c=d(n,e==null?void 0:e.in);if(!Ye(c))throw new RangeError("Invalid time value");let o=t.match(ir).map(k=>{const T=k[0];if(T==="p"||T==="P"){const C=ne[T];return C(k,a.formatLong)}return k}).join("").match(sr).map(k=>{if(k==="''")return{isToken:!1,value:"'"};const T=k[0];if(T==="'")return{isToken:!1,value:lr(k)};if(xe[T])return{isToken:!0,value:k};
1if(T.match(or))throw new RangeError("Format string contains an unescaped latin alphabet character `"+T+"`");return{isToken:!1,value:k}});a.localize.preprocessor&&(o=a.localize.preprocessor(c,o));const l={firstWeekContainsDate:s,weekStartsOn:i,locale:a};return o.map(k=>{if(!k.isToken)return k.value;const T=k.value;(!(e!=null&&e.useAdditionalWeekYearTokens)&&Le(T)||!(e!=null&&e.useAdditionalDayOfYearTokens)&&Ce(T))&&ae(T,t,String(n));const C=xe[T[0]];return C(c,T,a.localize,l)}).join("")}function lr(n){const t=n.match(ur);return t?t[1].replace(cr,"'"):n}function fr(){return Object.assign({},F())}function hr(n,t){const e=d(n,t==null?void 0:t.in).getDay();return e===0?7:e}function mr(n,t){const e=wr(t)?new t(0):b(t,0);return e.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),e.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e}function wr(n){var t;return typeof n=="function"&&((t=n.prototype)==null?void 0:t.constructor)===n}const yr=10;class Qe{constructor(){u(this,"subPriority",0)}validate(t,e){return!0}}class gr extends Qe{constructor(t,e,r,a,s){super(),this.value=t,this.validateValue=e,this.setValue=r,this.priority=a,s&&(this.subPriority=s)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,r){return this.setValue(t,e,this.value,r)}}class br extends Qe{constructor(e,r){super();u(this,"priority",yr);u(this,"subPriority",-1);this.context=e||(a=>b(r,a))}set(e,r){return r.timestampIsSet?e:b(e,mr(e,this.context))}}class h{run(t,e,r,a){const s=this.parse(t,e,r,a);return s?{setter:new gr(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(t,e,r){return!0}}class xr extends h{constructor(){super(...arguments);u(this,"priority",140);u(this,"incompatibleTokens",["R","u","t","T"])}parse(e,r,a){switch(r){case"G":case"GG":case"GGG":return a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"});case"GGGGG":return a.era(e,{width:"narrow"});case"GGGG":default:return a.era(e,{width:"wide"})||a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"})}}set(e,r,a){return r.era=a,e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}const M={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},v={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function D(n,t){return n&&{value:t(n.value),rest:n.rest}}function y(n,t){const e=t.match(n);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function N(n,t){const e=t.match(n);if(!e)return null;if(e[0]==="Z")return{value:0,rest:t.slice(1)};const r=e[1]==="+"?1:-1,a=e[2]?parseInt(e[2],10):0,s=e[3]?parseInt(e[3],10):0,i=e[5]?parseInt(e[5],10):0;return{value:r*(a*V+s*z+i*Ve),rest:t.slice(e[0].length)}}function Re(n){return y(M.anyDigitsSigned,n)}function x(n,t){switch(n){case 1:return y(M.singleDigit,t);case 2:return y(M.twoDigits,t);case 3:return y(M.threeDigits,t);case 4:return y(M.fourDigits,t);default:return y(new RegExp("^\\d{1,"+n+"}"),t)}}function K(n,t){switch(n){case 1:return y(M.singleDigitSigned,t);case 2:return y(M.twoDigitsSigned,t);case 3:return y(M.threeDigitsSigned,t);case 4:return y(M.fourDigitsSigned,t);default:return y(new RegExp("^-?\\d{1,"+n+"}"),t)}}function oe(n){switch(n){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Xe(n,t){const e=t>0,r=e?t:1-t;let a;if(r<=50)a=n||100;else{const s=r+50,i=Math.trunc(s/100)*100,c=n>=s%100;a=n+i-(c?100:0)}return e?a:1-a}
1function Ae(n){return n%400===0||n%4===0&&n%100!==0}class Mr extends h{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,r,a){const s=i=>({year:i,isTwoDigitYear:r==="yy"});switch(r){case"y":return D(x(4,e),s);case"yo":return D(a.ordinalNumber(e,{unit:"year"}),s);default:return D(x(r.length,e),s)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,a){const s=e.getFullYear();if(a.isTwoDigitYear){const c=Xe(a.year,s);return e.setFullYear(c,0,1),e.setHours(0,0,0,0),e}const i=!("era"in r)||r.era===1?a.year:1-a.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}}class Dr extends h{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,r,a){const s=i=>({year:i,isTwoDigitYear:r==="YY"});switch(r){case"Y":return D(x(4,e),s);case"Yo":return D(a.ordinalNumber(e,{unit:"year"}),s);default:return D(x(r.length,e),s)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,a,s){const i=ce(e,s);if(a.isTwoDigitYear){const o=Xe(a.year,i);return e.setFullYear(o,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),E(e,s)}const c=!("era"in r)||r.era===1?a.year:1-a.year;return e.setFullYear(c,0,s.firstWeekContainsDate),e.setHours(0,0,0,0),E(e,s)}}class Tr extends h{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,r){return K(r==="R"?4:r.length,e)}set(e,r,a){const s=b(e,0);return s.setFullYear(a,0,4),s.setHours(0,0,0,0),Q(s)}}class kr extends h{constructor(){super(...arguments);u(this,"priority",130);u(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,r){return K(r==="u"?4:r.length,e)}set(e,r,a){return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}class Pr extends h{constructor(){super(...arguments);u(this,"priority",120);u(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"Q":case"QQ":return x(r.length,e);case"Qo":return a.ordinalNumber(e,{unit:"quarter"});case"QQQ":return a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(e,{width:"wide",context:"formatting"})||a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=1&&r<=4}set(e,r,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}}class Or extends h{constructor(){super(...arguments);u(this,"priority",120);u(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"q":case"qq":return x(r.length,e);case"qo":return a.ordinalNumber(e,{unit:"quarter"});case"qqq":return a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(e,{width:"wide",context:"standalone"})||a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=1&&r<=4}set(e,r,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}}class Yr extends h{constructor(){super(...arguments);u(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);u(this,"priority",110)}parse(e,r,a){const s=i=>i-1;switch(r){case"M":return D(y(M.month,e),s);case"MM":return D(x(2,e),s);case"Mo":return D(a.ordinalNumber(e,{unit:"month"}),s);case"MMM":return a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(e,{width:"wide",context:"formatting"})||a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=11}set(e,r,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}}class _r extends h{constructor(){super(...arguments);u(this,"priority",110);u(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,r,a){const s=i=>i-1;switch(r){case"L":return D(y(M.month,e),s);case"LL":return D(x(2,e),s);case"Lo":return D(a.ordinalNumber(e,{unit:"month"}),s);case"LLL":return a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(e,{width:"wide",context:"standalone"})||a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=11}set(e,r,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}}function Wr(n,t,e){const r=d(n,e==null?void 0:e.in),a=Fe(r,e)-t;return r.setDate(r.getDate()-a*7),d(r,e==null?void 0:e.in)}class vr extends h{constructor(){super(...arguments);u(this,"priority",100);u(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,r,a){switch(r){case"w":return y(M.week,e);case"wo":return a.ordinalNumber(e,{unit:"week"});default:return x(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,a,s){return E(Wr(e,a,s),s)}}function Nr(n,t,e){const r=d(n,e==null?void 0:e.in),a=He(r,e)-t;return r.setDate(r.getDate()-a*7),r}class Er extends h{constructor(){super(...arguments);u(this,"priority",100);u(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,r,a){switch(r){case"I":return y(M.week,e);case"Io":return a.ordinalNumber(e,{unit:"week"});default:return x(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,a){return Q(Nr(e,a))}}const qr=[31,28,31,30,31,30,31,31,30,31,30,31],Hr=[31,29,31,30,31,30,31,31,30,31,30,31];class Fr extends h{constructor(){super(...arguments);u(this,"priority",90);u(this,"subPriority",1);u(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"d":return y(M.date,e);case"do":return a.ordinalNumber(e,{unit:"date"});default:return x(r.length,e)}}validate(e,r){const a=e.getFullYear(),s=Ae(a),i=e.getMonth();return s?r>=1&&r<=Hr[i]:r>=1&&r<=qr[i]}set(e,r,a){return e.setDate(a),e.setHours(0,0,0,0),e}}class Ir extends h{constructor(){super(...arguments);u(this,"priority",90);u(this,"subpriority",1);u(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,r,a){switch(r){case"D":case"DD":return y(M.dayOfYear,e);case"Do":return a.ordinalNumber(e,{unit:"date"});default:return x(r.length,e)}}validate(e,r){const a=e.getFullYear();return Ae(a)?r>=1&&r<=366:r>=1&&r<=365}set(e,r,a){return e.setMonth(0,a),e.setHours(0,0,0,0),e}}function de(n,t,e){var P,O,_,Y;const r=F(),a=(e==null?void 0:e.weekStartsOn)??((O=(P=e==null?void 0:e.locale)==null?void 0:P.options)==null?void 0:O.weekStartsOn)??r.weekStartsOn??((Y=(_=r.locale)==null?void 0:_.options)==null?void 0:Y.weekStartsOn)??0,s=d(n,e==null?void 0:e.in),i=s.getDay(),o=(t%7+7)%7,l=7-a,w=t<0||t>6?t-(i+l)%7:(o+l)%7-(i+l)%7;return S(s,w,e)}class Cr extends h{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"E":case"EE":case"EEE":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,a,s){return e=de(e,a,s),e.setHours(0,0,0,0),e}}class Lr extends h{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,r,a,s){const i=c=>{const o=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+o};switch(r){case"e":case"ee":return D(x(r.length,e),i);case"eo":return D(a.ordinalNumber(e,{unit:"day"}),i);case"eee":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeeee":return a.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,a,s){return e=de(e,a,s),e.setHours(0,0,0,0),e}}class Qr extends h{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,r,a,s){const i=c=>{const o=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+o};switch(r){case"c":case"cc":return D(x(r.length,e),i);case"co":return D(a.ordinalNumber(e,{unit:"day"}),i);case"ccc":return a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"ccccc":return a.day(e,{width:"narrow",context:"standalone"});case"cccccc":return a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(e,{width:"wide",context:"standalone"})||a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=6}set(e,r,a,s){return e=de(e,a,s),e.setHours(0,0,0,0),e}}function Rr(n,t,e){const r=d(n,e==null?void 0:e.in),a=hr(r,e),s=t-a;return S(r,s,e)}class Xr extends h{constructor(){super(...arguments);u(this,"priority",90);u(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,r,a){const s=i=>i===0?7:i;switch(r){case"i":case"ii":return x(r.length,e);case"io":return a.ordinalNumber(e,{unit:"day"});case"iii":return D(a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),s);case"iiiii":return D(a.day(e,{width:"narrow",context:"formatting"}),s);case"iiiiii":return D(a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),s);case"iiii":default:return D(a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),s)}}validate(e,r){return r>=1&&r<=7}set(e,r,a){return e=Rr(e,a),e.setHours(0,0,0,0),e}}class Ar extends h{constructor(){super(...arguments);u(this,"priority",80);u(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,r,a){switch(r){case"a":case"aa":case"aaa":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,a){return e.setHours(oe(a),0,0,0),e}}class Gr extends h{constructor(){super(...arguments);u(this,"priority",80);u(this,"incompatibleTokens",["a","B","H","k","t","T"])}
1parse(e,r,a){switch(r){case"b":case"bb":case"bbb":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,a){return e.setHours(oe(a),0,0,0),e}}class Br extends h{constructor(){super(...arguments);u(this,"priority",80);u(this,"incompatibleTokens",["a","b","t","T"])}parse(e,r,a){switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,a){return e.setHours(oe(a),0,0,0),e}}class $r extends h{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,r,a){switch(r){case"h":return y(M.hour12h,e);case"ho":return a.ordinalNumber(e,{unit:"hour"});default:return x(r.length,e)}}validate(e,r){return r>=1&&r<=12}set(e,r,a){const s=e.getHours()>=12;return s&&a<12?e.setHours(a+12,0,0,0):!s&&a===12?e.setHours(0,0,0,0):e.setHours(a,0,0,0),e}}class jr extends h{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,r,a){switch(r){case"H":return y(M.hour23h,e);case"Ho":return a.ordinalNumber(e,{unit:"hour"});default:return x(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,a){return e.setHours(a,0,0,0),e}}class zr extends h{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,r,a){switch(r){case"K":return y(M.hour11h,e);case"Ko":return a.ordinalNumber(e,{unit:"hour"});default:return x(r.length,e)}}validate(e,r){return r>=0&&r<=11}set(e,r,a){return e.getHours()>=12&&a<12?e.setHours(a+12,0,0,0):e.setHours(a,0,0,0),e}}class Vr extends h{constructor(){super(...arguments);u(this,"priority",70);u(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,r,a){switch(r){case"k":return y(M.hour24h,e);case"ko":return a.ordinalNumber(e,{unit:"hour"});default:return x(r.length,e)}}validate(e,r){return r>=1&&r<=24}set(e,r,a){const s=a<=24?a%24:a;return e.setHours(s,0,0,0),e}}class Ur extends h{constructor(){super(...arguments);u(this,"priority",60);u(this,"incompatibleTokens",["t","T"])}parse(e,r,a){switch(r){case"m":return y(M.minute,e);case"mo":return a.ordinalNumber(e,{unit:"minute"});default:return x(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,a){return e.setMinutes(a,0,0),e}}class Zr extends h{constructor(){super(...arguments);u(this,"priority",50);u(this,"incompatibleTokens",["t","T"])}parse(e,r,a){switch(r){case"s":return y(M.second,e);case"so":return a.ordinalNumber(e,{unit:"second"});default:return x(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,a){return e.setSeconds(a,0),e}}class Jr extends h{constructor(){super(...arguments);u(this,"priority",30);u(this,"incompatibleTokens",["t","T"])}parse(e,r){const a=s=>Math.trunc(s*Math.pow(10,-r.length+3));return D(x(r.length,e),a)}set(e,r,a){return e.setMilliseconds(a),e}}class Kr extends h{constructor(){super(...arguments);u(this,"priority",10);u(this,"incompatibleTokens",["t","T","x"])}parse(e,r){switch(r){case"X":return N(v.basicOptionalMinutes,e);case"XX":return N(v.basic,e);case"XXXX":return N(v.basicOptionalSeconds,e);case"XXXXX":return N(v.extendedOptionalSeconds,e);case"XXX":default:return N(v.extended,e)}}set(e,r,a){return r.timestampIsSet?e:b(e,e.getTime()-J(e)-a)}}class Sr extends h{constructor(){super(...arguments);u(this,"priority",10);u(this,"incompatibleTokens",["t","T","X"])}parse(e,r){switch(r){case"x":return N(v.basicOptionalMinutes,e);case"xx":return N(v.basic,e);case"xxxx":return N(v.basicOptionalSeconds,e);case"xxxxx":return N(v.extendedOptionalSeconds,e);case"xxx":default:return N(v.extended,e)}}set(e,r,a){return r.timestampIsSet?e:b(e,e.getTime()-J(e)-a)}}class pr extends h{constructor(){super(...arguments);u(this,"priority",40);u(this,"incompatibleTokens","*")}parse(e){return Re(e)}set(e,r,a){return[b(e,a*1e3),{timestampIsSet:!0}]}}class en extends h{constructor(){super(...arguments);u(this,"priority",20);u(this,"incompatibleTokens","*")}parse(e){return Re(e)}set(e,r,a){return[b(e,a),{timestampIsSet:!0}]}}
1const tn={G:new xr,y:new Mr,Y:new Dr,R:new Tr,u:new kr,Q:new Pr,q:new Or,M:new Yr,L:new _r,w:new vr,I:new Er,d:new Fr,D:new Ir,E:new Cr,e:new Lr,c:new Qr,i:new Xr,a:new Ar,b:new Gr,B:new Br,h:new $r,H:new jr,K:new zr,k:new Vr,m:new Ur,s:new Zr,S:new Jr,X:new Kr,x:new Sr,t:new pr,T:new en},rn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,an=/^'([^]*?)'?$/,sn=/''/g,un=/\S/,cn=/[a-zA-Z]/;function on(n,t,e,r){var X,A,k,T,C,le,fe,he;const a=()=>b((r==null?void 0:r.in)||e,NaN),s=fr(),i=(r==null?void 0:r.locale)??s.locale??qe,c=(r==null?void 0:r.firstWeekContainsDate)??((A=(X=r==null?void 0:r.locale)==null?void 0:X.options)==null?void 0:A.firstWeekContainsDate)??s.firstWeekContainsDate??((T=(k=s.locale)==null?void 0:k.options)==null?void 0:T.firstWeekContainsDate)??1,o=(r==null?void 0:r.weekStartsOn)??((le=(C=r==null?void 0:r.locale)==null?void 0:C.options)==null?void 0:le.weekStartsOn)??s.weekStartsOn??((he=(fe=s.locale)==null?void 0:fe.options)==null?void 0:he.weekStartsOn)??0;if(!t)return n?a():d(e,r==null?void 0:r.in);const l={firstWeekContainsDate:c,weekStartsOn:o,locale:i},w=[new br(r==null?void 0:r.in,e)],P=t.match(nn).map(f=>{const g=f[0];if(g in ne){const W=ne[g];return W(f,i.formatLong)}return f}).join("").match(rn),O=[];for(let f of P){!(r!=null&&r.useAdditionalWeekYearTokens)&&Le(f)&&ae(f,t,n),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Ce(f)&&ae(f,t,n);const g=f[0],W=tn[g];if(W){const{incompatibleTokens:me}=W;if(Array.isArray(me)){const we=O.find(ye=>me.includes(ye.token)||ye.token===g);if(we)throw new RangeError(`The format string mustn't contain \`${we.fullToken}\` and \`${f}\` at the same time`)}else if(W.incompatibleTokens==="*"&&O.length>0)throw new RangeError(`The format string mustn't contain \`${f}\` and any other token at the same time`);O.push({token:g,fullToken:f});const p=W.run(n,f,i.match,l);if(!p)return a();w.push(p.setter),n=p.rest}else{if(g.match(cn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");if(f==="''"?f="'":g==="'"&&(f=dn(f)),n.indexOf(f)===0)n=n.slice(f.length);else return a()}}if(n.length>0&&un.test(n))return a();const _=w.map(f=>f.priority).sort((f,g)=>g-f).filter((f,g,W)=>W.indexOf(f)===g).map(f=>w.filter(g=>g.priority===f).sort((g,W)=>W.subPriority-g.subPriority)).map(f=>f[0]);let Y=d(e,r==null?void 0:r.in);if(isNaN(+Y))return a();const R={};for(const f of _){if(!f.validate(Y,l))return a();const g=f.set(Y,R,l);Array.isArray(g)?(Y=g[0],Object.assign(R,g[1])):Y=g}return Y}function dn(n){return n.match(an)[1].replace(sn,"'")}function ln(n,t){const e=d(n,t==null?void 0:t.in);return e.setMinutes(0,0,0),e}function fn(n,t){const e=d(n,t==null?void 0:t.in);return e.setSeconds(0,0),e}function hn(n,t){const e=d(n,t==null?void 0:t.in);return e.setMilliseconds(0),e}function mn(n,t){const e=()=>b(t==null?void 0:t.in,NaN),r=(t==null?void 0:t.additionalDigits)??2,a=bn(n);let s;if(a.date){const l=xn(a.date,r);s=Mn(l.restDateString,l.year)}if(!s||isNaN(+s))return e();const i=+s;let c=0,o;if(a.time&&(c=Dn(a.time),isNaN(c)))return e();if(a.timezone){if(o=Tn(a.timezone),isNaN(o))return e()}else{const l=new Date(i+c),w=d(0,t==null?void 0:t.in);return w.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),w.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),w}return d(i+c+o,t==null?void 0:t.in)}const Z={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},wn=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,yn=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,gn=/^([+-])(\d{2})(?::?(\d{2}))?$/;function bn(n){const t={},e=n.split(Z.dateTimeDelimiter);let r;if(e.length>2)return t;if(/:/.test(e[0])?r=e[0]:(t.date=e[0],r=e[1],Z.timeZoneDelimiter.test(t.date)&&(t.date=n.split(Z.timeZoneDelimiter)[0],r=n.substr(t.date.length,n.length))),r){const a=Z.timezone.exec(r);a?(t.time=r.replace(a[1],""),t.timezone=a[1]):t.time=r}return t}function xn(n,t){const e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=n.match(e);if(!r)return{year:NaN,restDateString:""};
1const a=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:s===null?a:s*100,restDateString:n.slice((r[1]||r[2]).length)}}function Mn(n,t){if(t===null)return new Date(NaN);const e=n.match(wn);if(!e)return new Date(NaN);const r=!!e[4],a=$(e[1]),s=$(e[2])-1,i=$(e[3]),c=$(e[4]),o=$(e[5])-1;if(r)return _n(t,c,o)?kn(t,c,o):new Date(NaN);{const l=new Date(0);return!On(t,s,i)||!Yn(t,a)?new Date(NaN):(l.setUTCFullYear(t,s,Math.max(a,i)),l)}}function $(n){return n?parseInt(n):1}function Dn(n){const t=n.match(yn);if(!t)return NaN;const e=te(t[1]),r=te(t[2]),a=te(t[3]);return Wn(e,r,a)?e*V+r*z+a*1e3:NaN}function te(n){return n&&parseFloat(n.replace(",","."))||0}function Tn(n){if(n==="Z")return 0;const t=n.match(gn);if(!t)return 0;const e=t[1]==="+"?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return vn(r,a)?e*(r*V+a*z):NaN}function kn(n,t,e){const r=new Date(0);r.setUTCFullYear(n,0,4);const a=r.getUTCDay()||7,s=(t-1)*7+e+1-a;return r.setUTCDate(r.getUTCDate()+s),r}const Pn=[31,null,31,30,31,30,31,31,30,31,30,31];function Ge(n){return n%400===0||n%4===0&&n%100!==0}function On(n,t,e){return t>=0&&t<=11&&e>=1&&e<=(Pn[t]||(Ge(n)?29:28))}function Yn(n,t){return t>=1&&t<=(Ge(n)?366:365)}function _n(n,t,e){return t>=1&&t<=53&&e>=0&&e<=6}function Wn(n,t,e){return n===24?t===0&&e===0:e>=0&&e<60&&t>=0&&t<60&&n>=0&&n<25}function vn(n,t){return t>=0&&t<=59}/*! 2 * chartjs-adapter-date-fns v3.0.0 3 * https://www.chartjs.org 4 * (c) 2022 chartjs-adapter-date-fns Contributors 5 * Released under the MIT license 6 */const Nn={datetime:"MMM d, yyyy, h:mm:ss aaaa",millisecond:"h:mm:ss.SSS aaaa",second:"h:mm:ss aaaa",minute:"h:mm aaaa",hour:"ha",day:"MMM d",week:"PP",month:"MMM yyyy",quarter:"qqq - yyyy",year:"yyyy"};je._date.override({_id:"date-fns",formats:function(){return Nn},parse:function(n,t){if(n===null||typeof n>"u")return null;const e=typeof n;return e==="number"||n instanceof Date?n=d(n):e==="string"&&(typeof t=="string"?n=on(n,t,new Date,this.options):n=mn(n,this.options)),Ye(n)?n.getTime():null},format:function(n,t){return dr(n,t,this.options)},add:function(n,t,e){switch(e){case"millisecond":return ie(n,t);case"second":return pe(n,t);case"minute":return Ke(n,t);case"hour":return Ue(n,t);case"day":return S(n,t);case"week":return et(n,t);case"month":return se(n,t);case"quarter":return Se(n,t);case"year":return tt(n,t);default:return n}},diff:function(n,t,e){switch(e){case"millisecond":return ue(n,t);case"second":return ot(n,t);case"minute":return it(n,t);case"hour":return st(n,t);case"day":return _e(n,t);case"week":return dt(n,t);case"month":return Ne(n,t);case"quarter":return ct(n,t);case"year":return lt(n,t);default:return 0}},startOf:function(n,t,e){switch(t){case"second":return hn(n);case"minute":return fn(n);case"hour":return ln(n);case"day":return re(n);case"week":return E(n);case"isoWeek":return E(n,{weekStartsOn:+e});case"month":return ht(n);case"quarter":return ft(n);case"year":return Ee(n);default:return n}},endOf:function(n,t){switch(t){case"second":return xt(n);case"minute":return gt(n);case"hour":return wt(n);case"day":return We(n);case"week":return yt(n);case"month":return ve(n);case"quarter":return bt(n);case"year":return mt(n);default:return n}}});
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.