@leapdevuk/component-toolbox 0.0.78 → 0.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -27,7 +27,7 @@ Check the top-level render call using <`+I+">.")}return x}}function ln(l,x){{if(
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,hr,nt,go,nt),dn[nt+hr]=!0}}return l===n?co(Me):uo(Me),Me}}function lo(l,x,I){return hn(l,x,I,!0)}function fo(l,x,I){return hn(l,x,I,!1)}var ho=fo,mo=lo;xt.Fragment=n,xt.jsx=ho,xt.jsxs=mo}()),xt}process.env.NODE_ENV==="production"?Dr.exports=Eo():Dr.exports=So();var g=Dr.exports;const ko=({leftComponents:t,centerComponents:r,rightComponents:e,onClickHelp:n})=>g.jsxs(g.Fragment,{children:[t&&g.jsx(g.Fragment,{children:t}),r&&g.jsx(g.Fragment,{children:r}),e&&g.jsx(g.Fragment,{children:e}),n&&g.jsx("div",{children:g.jsx(H.Tooltip,{placement:"bottom-end",title:"Help for this Window",children:g.jsx(H.Link,{component:"button",onClick:n,sx:{":hover":{cursor:"pointer",color:"#0060AC"},alignSelf:"center",paddingRight:1},underline:"hover",variant:"body1",children:"Help"})})})]}),Ae=t=>g.jsx(H.Button,{color:t.color||"primary",disabled:t.disabled,disableRipple:!0,onClick:t.onClick,size:t.size||"small",variant:t.variant||"contained",sx:t.sx,...t,children:t.children}),Do=({decimalScale:t,disabled:r,id:e,onUpdate:n,placeholder:a,prefix:o,size:i,value:s,maxLength:c,width:d})=>g.jsx(Nr.NumericFormat,{customInput:H.OutlinedInput,decimalScale:t||2,disabled:r,fixedDecimalScale:!0,id:e,slotProps:{input:{maxLength:c}},onFocus:m=>m.target.select(),onValueChange:m=>{n&&n(m.floatValue)},placeholder:a,size:i||"small",startAdornment:o&&g.jsx(H.InputAdornment,{position:"start",children:g.jsx(H.Typography,{children:o})}),sx:{paddingLeft:"8px",width:d||130,"& .MuiInputBase-input":{borderLeft:"1px solid rgba(0, 0, 0, 0.23)",color:"#000",height:"16px",textAlign:"end"},"&.MuiOutlinedInput-root":{backgroundColor:r?"#f3f3f3":"field"}},thousandSeparator:!0,value:s||""}),na=6048e5,Oo=864e5,aa=6e4,oa=36e5,Mo=1e3,yn=Symbol.for("constructDateFrom");function be(t,r){return typeof t=="function"?t(r):t&&typeof t=="object"&&yn in t?t[yn](r):t instanceof Date?new t.constructor(r):new Date(r)}function W(t,r){return be(r||t,t)}function Pt(t,r,e){const n=W(t,e==null?void 0:e.in);return isNaN(r)?be((e==null?void 0:e.in)||t,NaN):(r&&n.setDate(n.getDate()+r),n)}function sa(t,r,e){return be(t,+W(t)+r)}function Po(t,r,e){return sa(t,r*1e3)}function _o(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setTime(n.getTime()+r*aa),n}function Ro(t,r,e){return sa(t,r*oa)}function $o(t,r,e){return Pt(t,r*7,e)}function ia(t,r,e){const n=W(t,e==null?void 0:e.in);if(isNaN(r))return be(t,NaN);if(!r)return n;const a=n.getDate(),o=be(t,n.getTime());o.setMonth(n.getMonth()+r+1,0);const i=o.getDate();return a>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),a),n)}function jo(t,r,e){return ia(t,r*12,e)}function pn(t,r){const e=W(t,r==null?void 0:r.in);return e.setHours(23,59,59,999),e}let Io={};function ot(){return Io}function No(t,r){var s,c,d,m;const e=ot(),n=(r==null?void 0:r.weekStartsOn)??((c=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:c.weekStartsOn)??e.weekStartsOn??((m=(d=e.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,a=W(t,r==null?void 0:r.in),o=a.getDay(),i=(o<n?-7:0)+6-(o-n);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function bn(t,r){const e=W(t,r==null?void 0:r.in),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}const Fo={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"}},Fr=(t,r,e)=>{let n;const a=Fo[t];return typeof a=="string"?n=a:r===1?n=a.one:n=a.other.replace("{{count}}",r.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function ze(t){return(r={})=>{const e=r.width?String(r.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}const Lo={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ao={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ho={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Yo={date:ze({formats:Lo,defaultWidth:"full"}),time:ze({formats:Ao,defaultWidth:"full"}),dateTime:ze({formats:Ho,defaultWidth:"full"})},Vo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Lr=(t,r,e,n)=>Vo[t];function Tt(t){return(r,e)=>{const n=e!=null&&e.context?String(e.context):"standalone";let a;if(n==="formatting"&&t.formattingValues){const i=t.defaultFormattingWidth||t.defaultWidth,s=e!=null&&e.width?String(e.width):i;a=t.formattingValues[s]||t.formattingValues[i]}else{const i=t.defaultWidth,s=e!=null&&e.width?String(e.width):t.defaultWidth;a=t.values[s]||t.values[i]}const o=t.argumentCallback?t.argumentCallback(r):r;return a[o]}}const Wo={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qo={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"]},zo={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"]},Go={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"}},Qo={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"}},Ko=(t,r)=>{const e=Number(t),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},Ar={ordinalNumber:Ko,era:Tt({values:Wo,defaultWidth:"wide"}),quarter:Tt({values:Bo,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Tt({values:qo,defaultWidth:"wide"}),day:Tt({values:zo,defaultWidth:"wide"}),dayPeriod:Tt({values:Go,defaultWidth:"wide",formattingValues:Qo,defaultFormattingWidth:"wide"})};function Et(t){return(r,e={})=>{const n=e.width,a=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=r.match(a);if(!o)return null;const i=o[0],s=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(s)?Xo(s,h=>h.test(i)):Zo(s,h=>h.test(i));let d;d=t.valueCallback?t.valueCallback(c):c,d=e.valueCallback?e.valueCallback(d):d;const m=r.slice(i.length);return{value:d,rest:m}}}function Zo(t,r){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&r(t[e]))return e}function Xo(t,r){for(let e=0;e<t.length;e++)if(r(t[e]))return e}function Uo(t){return(r,e={})=>{const n=r.match(t.matchPattern);if(!n)return null;const a=n[0],o=r.match(t.parsePattern);if(!o)return null;let i=t.valueCallback?t.valueCallback(o[0]):o[0];i=e.valueCallback?e.valueCallback(i):i;const s=r.slice(a.length);return{value:i,rest:s}}}const Jo=/^(\d+)(th|st|nd|rd)?/i,es=/\d+/i,ts={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},rs={any:[/^b/i,/^(a|c)/i]},ns={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},as={any:[/1/i,/2/i,/3/i,/4/i]},os={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},ss={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]},is={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},us={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]},cs={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},ls={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}},Hr={ordinalNumber:Uo({matchPattern:Jo,parsePattern:es,valueCallback:t=>parseInt(t,10)}),era:Et({matchPatterns:ts,defaultMatchWidth:"wide",parsePatterns:rs,defaultParseWidth:"any"}),quarter:Et({matchPatterns:ns,defaultMatchWidth:"wide",parsePatterns:as,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Et({matchPatterns:os,defaultMatchWidth:"wide",parsePatterns:ss,defaultParseWidth:"any"}),day:Et({matchPatterns:is,defaultMatchWidth:"wide",parsePatterns:us,defaultParseWidth:"any"}),dayPeriod:Et({matchPatterns:cs,defaultMatchWidth:"any",parsePatterns:ls,defaultParseWidth:"any"})},_t={code:"en-US",formatDistance:Fr,formatLong:Yo,formatRelative:Lr,localize:Ar,match:Hr,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Gt(t){const r=W(t),e=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return e.setUTCFullYear(r.getFullYear()),+t-+e}function Nt(t,...r){const e=be.bind(null,r.find(n=>typeof n=="object"));return r.map(e)}function Rt(t,r){const e=W(t,r==null?void 0:r.in);return e.setHours(0,0,0,0),e}function fs(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r),o=Rt(n),i=Rt(a),s=+o-Gt(o),c=+i-Gt(i);return Math.round((s-c)/Oo)}function ua(t,r){const e=W(t,r==null?void 0:r.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function ds(t,r){const e=W(t,r==null?void 0:r.in);return fs(e,ua(e))+1}function Qe(t,r){var s,c,d,m;const e=ot(),n=(r==null?void 0:r.weekStartsOn)??((c=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:c.weekStartsOn)??e.weekStartsOn??((m=(d=e.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,a=W(t,r==null?void 0:r.in),o=a.getDay(),i=(o<n?7:0)+o-n;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function pt(t,r){return Qe(t,{...r,weekStartsOn:1})}function ca(t,r){const e=W(t,r==null?void 0:r.in),n=e.getFullYear(),a=be(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=pt(a),i=be(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=pt(i);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function hs(t,r){const e=ca(t,r),n=be(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),pt(n)}function la(t,r){const e=W(t,r==null?void 0:r.in),n=+pt(e)-+hs(e);return Math.round(n/na)+1}function Yr(t,r){var m,h,y,v;const e=W(t,r==null?void 0:r.in),n=e.getFullYear(),a=ot(),o=(r==null?void 0:r.firstWeekContainsDate)??((h=(m=r==null?void 0:r.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((v=(y=a.locale)==null?void 0:y.options)==null?void 0:v.firstWeekContainsDate)??1,i=be((r==null?void 0:r.in)||t,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=Qe(i,r),c=be((r==null?void 0:r.in)||t,0);c.setFullYear(n,0,o),c.setHours(0,0,0,0);const d=Qe(c,r);return+e>=+s?n+1:+e>=+d?n:n-1}function ms(t,r){var s,c,d,m;const e=ot(),n=(r==null?void 0:r.firstWeekContainsDate)??((c=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:c.firstWeekContainsDate)??e.firstWeekContainsDate??((m=(d=e.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??1,a=Yr(t,r),o=be((r==null?void 0:r.in)||t,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),Qe(o,r)}function Vr(t,r){const e=W(t,r==null?void 0:r.in),n=+Qe(e,r)-+ms(e,r);return Math.round(n/na)+1}function fe(t,r){const e=t<0?"-":"",n=Math.abs(t).toString().padStart(r,"0");return e+n}const Ze={y(t,r){const e=t.getFullYear(),n=e>0?e:1-e;return fe(r==="yy"?n%100:n,r.length)},M(t,r){const e=t.getMonth();return r==="M"?String(e+1):fe(e+1,2)},d(t,r){return fe(t.getDate(),r.length)},a(t,r){const e=t.getHours()/12>=1?"pm":"am";switch(r){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(t,r){return fe(t.getHours()%12||12,r.length)},H(t,r){return fe(t.getHours(),r.length)},m(t,r){return fe(t.getMinutes(),r.length)},s(t,r){return fe(t.getSeconds(),r.length)},S(t,r){const e=r.length,n=t.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return fe(a,r.length)}},ct={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wn={G:function(t,r,e){const n=t.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(t,r,e){if(r==="yo"){const n=t.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return Ze.y(t,r)},Y:function(t,r,e,n){const a=Yr(t,n),o=a>0?a:1-a;if(r==="YY"){const i=o%100;return fe(i,2)}return r==="Yo"?e.ordinalNumber(o,{unit:"year"}):fe(o,r.length)},R:function(t,r){const e=ca(t);return fe(e,r.length)},u:function(t,r){const e=t.getFullYear();return fe(e,r.length)},Q:function(t,r,e){const n=Math.ceil((t.getMonth()+1)/3);switch(r){case"Q":return String(n);case"QQ":return fe(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,r,e){const n=Math.ceil((t.getMonth()+1)/3);switch(r){case"q":return String(n);case"qq":return fe(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,r,e){const n=t.getMonth();switch(r){case"M":case"MM":return Ze.M(t,r);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(t,r,e){const n=t.getMonth();switch(r){case"L":return String(n+1);case"LL":return fe(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(t,r,e,n){const a=Vr(t,n);return r==="wo"?e.ordinalNumber(a,{unit:"week"}):fe(a,r.length)},I:function(t,r,e){const n=la(t);return r==="Io"?e.ordinalNumber(n,{unit:"week"}):fe(n,r.length)},d:function(t,r,e){return r==="do"?e.ordinalNumber(t.getDate(),{unit:"date"}):Ze.d(t,r)},D:function(t,r,e){const n=ds(t);return r==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):fe(n,r.length)},E:function(t,r,e){const n=t.getDay();switch(r){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(t,r,e,n){const a=t.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return fe(o,2);case"eo":return e.ordinalNumber(o,{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(t,r,e,n){const a=t.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return fe(o,r.length);case"co":return e.ordinalNumber(o,{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(t,r,e){const n=t.getDay(),a=n===0?7:n;switch(r){case"i":return String(a);case"ii":return fe(a,r.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(t,r,e){const a=t.getHours()/12>=1?"pm":"am";switch(r){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(t,r,e){const n=t.getHours();let a;switch(n===12?a=ct.noon:n===0?a=ct.midnight:a=n/12>=1?"pm":"am",r){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(t,r,e){const n=t.getHours();let a;switch(n>=17?a=ct.evening:n>=12?a=ct.afternoon:n>=4?a=ct.morning:a=ct.night,r){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(t,r,e){if(r==="ho"){let n=t.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return Ze.h(t,r)},H:function(t,r,e){return r==="Ho"?e.ordinalNumber(t.getHours(),{unit:"hour"}):Ze.H(t,r)},K:function(t,r,e){const n=t.getHours()%12;return r==="Ko"?e.ordinalNumber(n,{unit:"hour"}):fe(n,r.length)},k:function(t,r,e){let n=t.getHours();return n===0&&(n=24),r==="ko"?e.ordinalNumber(n,{unit:"hour"}):fe(n,r.length)},m:function(t,r,e){return r==="mo"?e.ordinalNumber(t.getMinutes(),{unit:"minute"}):Ze.m(t,r)},s:function(t,r,e){return r==="so"?e.ordinalNumber(t.getSeconds(),{unit:"second"}):Ze.s(t,r)},S:function(t,r){return Ze.S(t,r)},X:function(t,r,e){const n=t.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return Cn(n);case"XXXX":case"XX":return at(n);case"XXXXX":case"XXX":default:return at(n,":")}},x:function(t,r,e){const n=t.getTimezoneOffset();switch(r){case"x":return Cn(n);case"xxxx":case"xx":return at(n);case"xxxxx":case"xxx":default:return at(n,":")}},O:function(t,r,e){const n=t.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+vn(n,":");case"OOOO":default:return"GMT"+at(n,":")}},z:function(t,r,e){const n=t.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+vn(n,":");case"zzzz":default:return"GMT"+at(n,":")}},t:function(t,r,e){const n=Math.trunc(+t/1e3);return fe(n,r.length)},T:function(t,r,e){return fe(+t,r.length)}};function vn(t,r=""){const e=t>0?"-":"+",n=Math.abs(t),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+r+fe(o,2)}function Cn(t,r){return t%60===0?(t>0?"-":"+")+fe(Math.abs(t)/60,2):at(t,r)}function at(t,r=""){const e=t>0?"-":"+",n=Math.abs(t),a=fe(Math.trunc(n/60),2),o=fe(n%60,2);return e+a+r+o}const xn=(t,r)=>{switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},fa=(t,r)=>{switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},gs=(t,r)=>{const e=t.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return xn(t,r);let o;switch(n){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",xn(n,r)).replace("{{time}}",fa(a,r))},$t={p:fa,P:gs},ys=/^D+$/,ps=/^Y+$/,bs=["D","DD","YY","YYYY"];function da(t){return ys.test(t)}function ha(t){return ps.test(t)}function Or(t,r,e){const n=ws(t,r,e);if(console.warn(n),bs.includes(t))throw new RangeError(n)}function ws(t,r,e){const n=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${r}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function vs(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ma(t){return!(!vs(t)&&typeof t!="number"||isNaN(+W(t)))}const Cs=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xs=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ts=/^'([^]*?)'?$/,Es=/''/g,Ss=/[a-zA-Z]/;function ks(t,r,e){var m,h,y,v,C,f,P,R;const n=ot(),a=(e==null?void 0:e.locale)??n.locale??_t,o=(e==null?void 0:e.firstWeekContainsDate)??((h=(m=e==null?void 0:e.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(y=n.locale)==null?void 0:y.options)==null?void 0:v.firstWeekContainsDate)??1,i=(e==null?void 0:e.weekStartsOn)??((f=(C=e==null?void 0:e.locale)==null?void 0:C.options)==null?void 0:f.weekStartsOn)??n.weekStartsOn??((R=(P=n.locale)==null?void 0:P.options)==null?void 0:R.weekStartsOn)??0,s=W(t,e==null?void 0:e.in);if(!ma(s))throw new RangeError("Invalid time value");let c=r.match(xs).map(M=>{const D=M[0];if(D==="p"||D==="P"){const k=$t[D];return k(M,a.formatLong)}return M}).join("").match(Cs).map(M=>{if(M==="''")return{isToken:!1,value:"'"};const D=M[0];if(D==="'")return{isToken:!1,value:Ds(M)};if(wn[D])return{isToken:!0,value:M};if(D.match(Ss))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");return{isToken:!1,value:M}});a.localize.preprocessor&&(c=a.localize.preprocessor(s,c));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return c.map(M=>{if(!M.isToken)return M.value;const D=M.value;(!(e!=null&&e.useAdditionalWeekYearTokens)&&ha(D)||!(e!=null&&e.useAdditionalDayOfYearTokens)&&da(D))&&Or(D,r,String(t));const k=wn[D[0]];return k(s,D,a.localize,d)}).join("")}function Ds(t){const r=t.match(Ts);return r?r[1].replace(Es,"'"):t}function Os(t,r){return W(t,r==null?void 0:r.in).getDate()}function ga(t,r){const e=W(t,r==null?void 0:r.in),n=e.getFullYear(),a=e.getMonth(),o=be(e,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function Ms(t,r){return W(t,r==null?void 0:r.in).getHours()}function Ps(t,r){return W(t,r==null?void 0:r.in).getMinutes()}function _s(t,r){return W(t,r==null?void 0:r.in).getMonth()}function Rs(t){return W(t).getSeconds()}function $s(t){return W(t).getMilliseconds()}function js(t,r){return W(t,r==null?void 0:r.in).getFullYear()}function mr(t,r){return+W(t)>+W(r)}function gr(t,r){return+W(t)<+W(r)}function Is(t,r){return+W(t)==+W(r)}function Ns(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return+Rt(n)==+Rt(a)}function Fs(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return n.getFullYear()===a.getFullYear()}function Ls(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function Tn(t,r){const e=W(t,r==null?void 0:r.in);return e.setMinutes(0,0,0),e}function As(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return+Tn(n)==+Tn(a)}function Hs(){return Object.assign({},ot())}function Ys(t,r){const e=Vs(r)?new r(0):be(r,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}function Vs(t){var r;return typeof t=="function"&&((r=t.prototype)==null?void 0:r.constructor)===t}const Ws=10;class ya{constructor(){N(this,"subPriority",0)}validate(r,e){return!0}}class Bs extends ya{constructor(r,e,n,a,o){super(),this.value=r,this.validateValue=e,this.setValue=n,this.priority=a,o&&(this.subPriority=o)}validate(r,e){return this.validateValue(r,this.value,e)}set(r,e,n){return this.setValue(r,e,this.value,n)}}class qs extends ya{constructor(e,n){super();N(this,"priority",Ws);N(this,"subPriority",-1);this.context=e||(a=>be(n,a))}set(e,n){return n.timestampIsSet?e:be(e,Ys(e,this.context))}}class ie{run(r,e,n,a){const o=this.parse(r,e,n,a);return o?{setter:new Bs(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,e,n){return!0}}class zs extends ie{constructor(){super(...arguments);N(this,"priority",140);N(this,"incompatibleTokens",["R","u","t","T"])}parse(e,n,a){switch(n){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,n,a){return n.era=a,e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}const ke={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}/},Ye={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 De(t,r){return t&&{value:r(t.value),rest:t.rest}}function we(t,r){const e=r.match(t);return e?{value:parseInt(e[0],10),rest:r.slice(e[0].length)}:null}function Ve(t,r){const e=r.match(t);if(!e)return null;if(e[0]==="Z")return{value:0,rest:r.slice(1)};const n=e[1]==="+"?1:-1,a=e[2]?parseInt(e[2],10):0,o=e[3]?parseInt(e[3],10):0,i=e[5]?parseInt(e[5],10):0;return{value:n*(a*oa+o*aa+i*Mo),rest:r.slice(e[0].length)}}function pa(t){return we(ke.anyDigitsSigned,t)}function xe(t,r){switch(t){case 1:return we(ke.singleDigit,r);case 2:return we(ke.twoDigits,r);case 3:return we(ke.threeDigits,r);case 4:return we(ke.fourDigits,r);default:return we(new RegExp("^\\d{1,"+t+"}"),r)}}function Qt(t,r){switch(t){case 1:return we(ke.singleDigitSigned,r);case 2:return we(ke.twoDigitsSigned,r);case 3:return we(ke.threeDigitsSigned,r);case 4:return we(ke.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+t+"}"),r)}}function Wr(t){switch(t){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 ba(t,r){const e=r>0,n=e?r:1-r;let a;if(n<=50)a=t||100;else{const o=n+50,i=Math.trunc(o/100)*100,s=t>=o%100;a=t+i-(s?100:0)}return e?a:1-a}function wa(t){return t%400===0||t%4===0&&t%100!==0}class Gs extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,n,a){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return De(xe(4,e),o);case"yo":return De(a.ordinalNumber(e,{unit:"year"}),o);default:return De(xe(n.length,e),o)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,a){const o=e.getFullYear();if(a.isTwoDigitYear){const s=ba(a.year,o);return e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}const i=!("era"in n)||n.era===1?a.year:1-a.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}}class Qs extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,n,a){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return De(xe(4,e),o);case"Yo":return De(a.ordinalNumber(e,{unit:"year"}),o);default:return De(xe(n.length,e),o)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,a,o){const i=Yr(e,o);if(a.isTwoDigitYear){const c=ba(a.year,i);return e.setFullYear(c,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),Qe(e,o)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return e.setFullYear(s,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),Qe(e,o)}}class Ks extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,n){return Qt(n==="R"?4:n.length,e)}set(e,n,a){const o=be(e,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),pt(o)}}class Zs extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,n){return Qt(n==="u"?4:n.length,e)}set(e,n,a){return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}class Xs extends ie{constructor(){super(...arguments);N(this,"priority",120);N(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,n,a){switch(n){case"Q":case"QQ":return xe(n.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,n){return n>=1&&n<=4}set(e,n,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}}class Us extends ie{constructor(){super(...arguments);N(this,"priority",120);N(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,n,a){switch(n){case"q":case"qq":return xe(n.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,n){return n>=1&&n<=4}set(e,n,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}}class Js extends ie{constructor(){super(...arguments);N(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);N(this,"priority",110)}parse(e,n,a){const o=i=>i-1;switch(n){case"M":return De(we(ke.month,e),o);case"MM":return De(xe(2,e),o);case"Mo":return De(a.ordinalNumber(e,{unit:"month"}),o);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,n){return n>=0&&n<=11}set(e,n,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}}class ei extends ie{constructor(){super(...arguments);N(this,"priority",110);N(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,n,a){const o=i=>i-1;switch(n){case"L":return De(we(ke.month,e),o);case"LL":return De(xe(2,e),o);case"Lo":return De(a.ordinalNumber(e,{unit:"month"}),o);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,n){return n>=0&&n<=11}set(e,n,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}}function ti(t,r,e){const n=W(t,e==null?void 0:e.in),a=Vr(n,e)-r;return n.setDate(n.getDate()-a*7),W(n,e==null?void 0:e.in)}class ri extends ie{constructor(){super(...arguments);N(this,"priority",100);N(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,n,a){switch(n){case"w":return we(ke.week,e);case"wo":return a.ordinalNumber(e,{unit:"week"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,a,o){return Qe(ti(e,a,o),o)}}function ni(t,r,e){const n=W(t,e==null?void 0:e.in),a=la(n,e)-r;return n.setDate(n.getDate()-a*7),n}class ai extends ie{constructor(){super(...arguments);N(this,"priority",100);N(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,n,a){switch(n){case"I":return we(ke.week,e);case"Io":return a.ordinalNumber(e,{unit:"week"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,a){return pt(ni(e,a))}}const oi=[31,28,31,30,31,30,31,31,30,31,30,31],si=[31,29,31,30,31,30,31,31,30,31,30,31];class ii extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"subPriority",1);N(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,n,a){switch(n){case"d":return we(ke.date,e);case"do":return a.ordinalNumber(e,{unit:"date"});default:return xe(n.length,e)}}validate(e,n){const a=e.getFullYear(),o=wa(a),i=e.getMonth();return o?n>=1&&n<=si[i]:n>=1&&n<=oi[i]}set(e,n,a){return e.setDate(a),e.setHours(0,0,0,0),e}}class ui extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"subpriority",1);N(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,n,a){switch(n){case"D":case"DD":return we(ke.dayOfYear,e);case"Do":return a.ordinalNumber(e,{unit:"date"});default:return xe(n.length,e)}}validate(e,n){const a=e.getFullYear();return wa(a)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,a){return e.setMonth(0,a),e.setHours(0,0,0,0),e}}function Br(t,r,e){var h,y,v,C;const n=ot(),a=(e==null?void 0:e.weekStartsOn)??((y=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??n.weekStartsOn??((C=(v=n.locale)==null?void 0:v.options)==null?void 0:C.weekStartsOn)??0,o=W(t,e==null?void 0:e.in),i=o.getDay(),c=(r%7+7)%7,d=7-a,m=r<0||r>6?r-(i+d)%7:(c+d)%7-(i+d)%7;return Pt(o,m,e)}class ci extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,n,a){switch(n){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,n){return n>=0&&n<=6}set(e,n,a,o){return e=Br(e,a,o),e.setHours(0,0,0,0),e}}class li extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,n,a,o){const i=s=>{const c=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return De(xe(n.length,e),i);case"eo":return De(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,n){return n>=0&&n<=6}set(e,n,a,o){return e=Br(e,a,o),e.setHours(0,0,0,0),e}}class fi extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,n,a,o){const i=s=>{const c=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return De(xe(n.length,e),i);case"co":return De(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,n){return n>=0&&n<=6}set(e,n,a,o){return e=Br(e,a,o),e.setHours(0,0,0,0),e}}function di(t,r){const e=W(t,r==null?void 0:r.in).getDay();return e===0?7:e}function hi(t,r,e){const n=W(t,e==null?void 0:e.in),a=di(n,e),o=r-a;return Pt(n,o,e)}class mi extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,n,a){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return xe(n.length,e);case"io":return a.ordinalNumber(e,{unit:"day"});case"iii":return De(a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return De(a.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return De(a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),o);case"iiii":default:return De(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"}),o)}}validate(e,n){return n>=1&&n<=7}set(e,n,a){return e=hi(e,a),e.setHours(0,0,0,0),e}}class gi extends ie{constructor(){super(...arguments);N(this,"priority",80);N(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,n,a){switch(n){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,n,a){return e.setHours(Wr(a),0,0,0),e}}class yi extends ie{constructor(){super(...arguments);N(this,"priority",80);N(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,n,a){switch(n){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,n,a){return e.setHours(Wr(a),0,0,0),e}}class pi extends ie{constructor(){super(...arguments);N(this,"priority",80);N(this,"incompatibleTokens",["a","b","t","T"])}parse(e,n,a){switch(n){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,n,a){return e.setHours(Wr(a),0,0,0),e}}class bi extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,n,a){switch(n){case"h":return we(ke.hour12h,e);case"ho":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,a){const o=e.getHours()>=12;return o&&a<12?e.setHours(a+12,0,0,0):!o&&a===12?e.setHours(0,0,0,0):e.setHours(a,0,0,0),e}}class wi extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,n,a){switch(n){case"H":return we(ke.hour23h,e);case"Ho":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,a){return e.setHours(a,0,0,0),e}}class vi extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,n,a){switch(n){case"K":return we(ke.hour11h,e);case"Ko":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,a){return e.getHours()>=12&&a<12?e.setHours(a+12,0,0,0):e.setHours(a,0,0,0),e}}class Ci extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,n,a){switch(n){case"k":return we(ke.hour24h,e);case"ko":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,a){const o=a<=24?a%24:a;return e.setHours(o,0,0,0),e}}class xi extends ie{constructor(){super(...arguments);N(this,"priority",60);N(this,"incompatibleTokens",["t","T"])}parse(e,n,a){switch(n){case"m":return we(ke.minute,e);case"mo":return a.ordinalNumber(e,{unit:"minute"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,a){return e.setMinutes(a,0,0),e}}class Ti extends ie{constructor(){super(...arguments);N(this,"priority",50);N(this,"incompatibleTokens",["t","T"])}parse(e,n,a){switch(n){case"s":return we(ke.second,e);case"so":return a.ordinalNumber(e,{unit:"second"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,a){return e.setSeconds(a,0),e}}class Ei extends ie{constructor(){super(...arguments);N(this,"priority",30);N(this,"incompatibleTokens",["t","T"])}parse(e,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return De(xe(n.length,e),a)}set(e,n,a){return e.setMilliseconds(a),e}}class Si extends ie{constructor(){super(...arguments);N(this,"priority",10);N(this,"incompatibleTokens",["t","T","x"])}parse(e,n){switch(n){case"X":return Ve(Ye.basicOptionalMinutes,e);case"XX":return Ve(Ye.basic,e);case"XXXX":return Ve(Ye.basicOptionalSeconds,e);case"XXXXX":return Ve(Ye.extendedOptionalSeconds,e);case"XXX":default:return Ve(Ye.extended,e)}}set(e,n,a){return n.timestampIsSet?e:be(e,e.getTime()-Gt(e)-a)}}class ki extends ie{constructor(){super(...arguments);N(this,"priority",10);N(this,"incompatibleTokens",["t","T","X"])}parse(e,n){switch(n){case"x":return Ve(Ye.basicOptionalMinutes,e);case"xx":return Ve(Ye.basic,e);case"xxxx":return Ve(Ye.basicOptionalSeconds,e);case"xxxxx":return Ve(Ye.extendedOptionalSeconds,e);case"xxx":default:return Ve(Ye.extended,e)}}set(e,n,a){return n.timestampIsSet?e:be(e,e.getTime()-Gt(e)-a)}}class Di extends ie{constructor(){super(...arguments);N(this,"priority",40);N(this,"incompatibleTokens","*")}parse(e){return pa(e)}set(e,n,a){return[be(e,a*1e3),{timestampIsSet:!0}]}}class Oi extends ie{constructor(){super(...arguments);N(this,"priority",20);N(this,"incompatibleTokens","*")}parse(e){return pa(e)}set(e,n,a){return[be(e,a),{timestampIsSet:!0}]}}const Mi={G:new zs,y:new Gs,Y:new Qs,R:new Ks,u:new Zs,Q:new Xs,q:new Us,M:new Js,L:new ei,w:new ri,I:new ai,d:new ii,D:new ui,E:new ci,e:new li,c:new fi,i:new mi,a:new gi,b:new yi,B:new pi,h:new bi,H:new wi,K:new vi,k:new Ci,m:new xi,s:new Ti,S:new Ei,X:new Si,x:new ki,t:new Di,T:new Oi},Pi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_i=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ri=/^'([^]*?)'?$/,$i=/''/g,ji=/\S/,Ii=/[a-zA-Z]/;function Ni(t,r,e,n){var P,R,M,D,k,b,B,U;const a=()=>be((n==null?void 0:n.in)||e,NaN),o=Hs(),i=(n==null?void 0:n.locale)??o.locale??_t,s=(n==null?void 0:n.firstWeekContainsDate)??((R=(P=n==null?void 0:n.locale)==null?void 0:P.options)==null?void 0:R.firstWeekContainsDate)??o.firstWeekContainsDate??((D=(M=o.locale)==null?void 0:M.options)==null?void 0:D.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((b=(k=n==null?void 0:n.locale)==null?void 0:k.options)==null?void 0:b.weekStartsOn)??o.weekStartsOn??((U=(B=o.locale)==null?void 0:B.options)==null?void 0:U.weekStartsOn)??0;if(!r)return t?a():W(e,n==null?void 0:n.in);const d={firstWeekContainsDate:s,weekStartsOn:c,locale:i},m=[new qs(n==null?void 0:n.in,e)],h=r.match(_i).map(L=>{const S=L[0];if(S in $t){const u=$t[S];return u(L,i.formatLong)}return L}).join("").match(Pi),y=[];for(let L of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&ha(L)&&Or(L,r,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&da(L)&&Or(L,r,t);const S=L[0],u=Mi[S];if(u){const{incompatibleTokens:T}=u;if(Array.isArray(T)){const A=y.find(re=>T.includes(re.token)||re.token===S);if(A)throw new RangeError(`The format string mustn't contain \`${A.fullToken}\` and \`${L}\` at the same time`)}else if(u.incompatibleTokens==="*"&&y.length>0)throw new RangeError(`The format string mustn't contain \`${L}\` and any other token at the same time`);y.push({token:S,fullToken:L});const _=u.run(t,L,i.match,d);if(!_)return a();m.push(_.setter),t=_.rest}else{if(S.match(Ii))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");if(L==="''"?L="'":S==="'"&&(L=Fi(L)),t.indexOf(L)===0)t=t.slice(L.length);else return a()}}if(t.length>0&&ji.test(t))return a();const v=m.map(L=>L.priority).sort((L,S)=>S-L).filter((L,S,u)=>u.indexOf(L)===S).map(L=>m.filter(S=>S.priority===L).sort((S,u)=>u.subPriority-S.subPriority)).map(L=>L[0]);let C=W(e,n==null?void 0:n.in);if(isNaN(+C))return a();const f={};for(const L of v){if(!L.validate(C,d))return a();const S=L.set(C,f,d);Array.isArray(S)?(C=S[0],Object.assign(f,S[1])):C=S}return C}function Fi(t){return t.match(Ri)[1].replace($i,"'")}function Li(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setDate(r),n}function Ai(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setHours(r),n}function Hi(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setMinutes(r),n}function Yi(t,r,e){const n=W(t,e==null?void 0:e.in),a=n.getFullYear(),o=n.getDate(),i=be(t,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=ga(i);return n.setMonth(r,Math.min(o,s)),n}function Vi(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setSeconds(r),n}function Wi(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setMilliseconds(r),n}function Bi(t,r,e){const n=W(t,e==null?void 0:e.in);return isNaN(+n)?be(t,NaN):(n.setFullYear(r),n)}function qi(t,r){const e=W(t,r==null?void 0:r.in);return e.setDate(1),e.setHours(0,0,0,0),e}function zi(t,r){const e=W(t,r==null?void 0:r.in),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function Gi(t,r,e){const n=+W(t,e==null?void 0:e.in),[a,o]=[+W(r.start,e==null?void 0:e.in),+W(r.end,e==null?void 0:e.in)].sort((i,s)=>i-s);return n>=a&&n<=o}function Mr(){return Mr=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},Mr.apply(null,arguments)}const Qi={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Ki={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class Zi{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=Qi,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=i=>typeof i>"u"?new Date:i===null?null:new Date(i),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=i=>i,this.toJsDate=i=>i,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=i=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return i.match(s).map(c=>{const d=c[0];if(d==="p"||d==="P"){const m=this.longFormatters[d];return m(c,this.locale.formatLong)}return c}).join("")},this.formatNumber=i=>i,this.getDayOfWeek=i=>i.getDay()+1;const{locale:e,formats:n,longFormatters:a,lib:o}=r;this.locale=e,this.formats=Mr({},Ki,n),this.longFormatters=a,this.lib=o||"date-fns"}}class va extends Zi{constructor({locale:r,formats:e}={}){if(process.env.NODE_ENV!=="production"){if(typeof Pt!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFns` instead."].join(`
30
+ <%s key={someKey} {...props} />`,hr,nt,go,nt),dn[nt+hr]=!0}}return l===n?co(Me):uo(Me),Me}}function lo(l,x,I){return hn(l,x,I,!0)}function fo(l,x,I){return hn(l,x,I,!1)}var ho=fo,mo=lo;xt.Fragment=n,xt.jsx=ho,xt.jsxs=mo}()),xt}process.env.NODE_ENV==="production"?Dr.exports=Eo():Dr.exports=So();var g=Dr.exports;const ko=({leftComponents:t,centerComponents:r,rightComponents:e,onClickHelp:n})=>g.jsxs("div",{style:{alignItems:"center",backgroundColor:"#fafafa",borderBottom:"1px solid #d8d8d8",display:"flex",justifyContent:"space-between",minHeight:"36px",paddingLeft:"0px",paddingRight:"15px"},children:[t&&g.jsx(g.Fragment,{children:t}),r&&g.jsx(g.Fragment,{children:r}),e&&g.jsx(g.Fragment,{children:e}),n&&g.jsx("div",{children:g.jsx(H.Tooltip,{placement:"bottom-end",title:"Help for this Window",children:g.jsx(H.Link,{component:"button",onClick:n,sx:{":hover":{cursor:"pointer",color:"#0060AC"},alignSelf:"center",paddingRight:1},underline:"hover",variant:"body1",children:"Help"})})})]}),Ae=t=>g.jsx(H.Button,{color:t.color||"primary",disabled:t.disabled,disableRipple:!0,onClick:t.onClick,size:t.size||"small",variant:t.variant||"contained",sx:t.sx,...t,children:t.children}),Do=({decimalScale:t,disabled:r,id:e,onUpdate:n,placeholder:a,prefix:o,size:i,value:s,maxLength:c,width:d})=>g.jsx(Nr.NumericFormat,{customInput:H.OutlinedInput,decimalScale:t||2,disabled:r,fixedDecimalScale:!0,id:e,slotProps:{input:{maxLength:c}},onFocus:m=>m.target.select(),onValueChange:m=>{n&&n(m.floatValue)},placeholder:a,size:i||"small",startAdornment:o&&g.jsx(H.InputAdornment,{position:"start",children:g.jsx(H.Typography,{children:o})}),sx:{paddingLeft:"8px",width:d||130,"& .MuiInputBase-input":{borderLeft:"1px solid rgba(0, 0, 0, 0.23)",color:"#000",height:"16px",textAlign:"end"},"&.MuiOutlinedInput-root":{backgroundColor:r?"#f3f3f3":"field"}},thousandSeparator:!0,value:s||""}),na=6048e5,Oo=864e5,aa=6e4,oa=36e5,Mo=1e3,yn=Symbol.for("constructDateFrom");function be(t,r){return typeof t=="function"?t(r):t&&typeof t=="object"&&yn in t?t[yn](r):t instanceof Date?new t.constructor(r):new Date(r)}function W(t,r){return be(r||t,t)}function Pt(t,r,e){const n=W(t,e==null?void 0:e.in);return isNaN(r)?be((e==null?void 0:e.in)||t,NaN):(r&&n.setDate(n.getDate()+r),n)}function sa(t,r,e){return be(t,+W(t)+r)}function Po(t,r,e){return sa(t,r*1e3)}function _o(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setTime(n.getTime()+r*aa),n}function Ro(t,r,e){return sa(t,r*oa)}function $o(t,r,e){return Pt(t,r*7,e)}function ia(t,r,e){const n=W(t,e==null?void 0:e.in);if(isNaN(r))return be(t,NaN);if(!r)return n;const a=n.getDate(),o=be(t,n.getTime());o.setMonth(n.getMonth()+r+1,0);const i=o.getDate();return a>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),a),n)}function jo(t,r,e){return ia(t,r*12,e)}function pn(t,r){const e=W(t,r==null?void 0:r.in);return e.setHours(23,59,59,999),e}let Io={};function ot(){return Io}function No(t,r){var s,c,d,m;const e=ot(),n=(r==null?void 0:r.weekStartsOn)??((c=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:c.weekStartsOn)??e.weekStartsOn??((m=(d=e.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,a=W(t,r==null?void 0:r.in),o=a.getDay(),i=(o<n?-7:0)+6-(o-n);return a.setDate(a.getDate()+i),a.setHours(23,59,59,999),a}function bn(t,r){const e=W(t,r==null?void 0:r.in),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}const Fo={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"}},Fr=(t,r,e)=>{let n;const a=Fo[t];return typeof a=="string"?n=a:r===1?n=a.one:n=a.other.replace("{{count}}",r.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function ze(t){return(r={})=>{const e=r.width?String(r.width):t.defaultWidth;return t.formats[e]||t.formats[t.defaultWidth]}}const Lo={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ao={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ho={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Yo={date:ze({formats:Lo,defaultWidth:"full"}),time:ze({formats:Ao,defaultWidth:"full"}),dateTime:ze({formats:Ho,defaultWidth:"full"})},Vo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Lr=(t,r,e,n)=>Vo[t];function Tt(t){return(r,e)=>{const n=e!=null&&e.context?String(e.context):"standalone";let a;if(n==="formatting"&&t.formattingValues){const i=t.defaultFormattingWidth||t.defaultWidth,s=e!=null&&e.width?String(e.width):i;a=t.formattingValues[s]||t.formattingValues[i]}else{const i=t.defaultWidth,s=e!=null&&e.width?String(e.width):t.defaultWidth;a=t.values[s]||t.values[i]}const o=t.argumentCallback?t.argumentCallback(r):r;return a[o]}}const Wo={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qo={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"]},zo={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"]},Go={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"}},Qo={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"}},Ko=(t,r)=>{const e=Number(t),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},Ar={ordinalNumber:Ko,era:Tt({values:Wo,defaultWidth:"wide"}),quarter:Tt({values:Bo,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Tt({values:qo,defaultWidth:"wide"}),day:Tt({values:zo,defaultWidth:"wide"}),dayPeriod:Tt({values:Go,defaultWidth:"wide",formattingValues:Qo,defaultFormattingWidth:"wide"})};function Et(t){return(r,e={})=>{const n=e.width,a=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=r.match(a);if(!o)return null;const i=o[0],s=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(s)?Xo(s,h=>h.test(i)):Zo(s,h=>h.test(i));let d;d=t.valueCallback?t.valueCallback(c):c,d=e.valueCallback?e.valueCallback(d):d;const m=r.slice(i.length);return{value:d,rest:m}}}function Zo(t,r){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&r(t[e]))return e}function Xo(t,r){for(let e=0;e<t.length;e++)if(r(t[e]))return e}function Uo(t){return(r,e={})=>{const n=r.match(t.matchPattern);if(!n)return null;const a=n[0],o=r.match(t.parsePattern);if(!o)return null;let i=t.valueCallback?t.valueCallback(o[0]):o[0];i=e.valueCallback?e.valueCallback(i):i;const s=r.slice(a.length);return{value:i,rest:s}}}const Jo=/^(\d+)(th|st|nd|rd)?/i,es=/\d+/i,ts={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},rs={any:[/^b/i,/^(a|c)/i]},ns={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},as={any:[/1/i,/2/i,/3/i,/4/i]},os={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},ss={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]},is={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},us={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]},cs={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},ls={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}},Hr={ordinalNumber:Uo({matchPattern:Jo,parsePattern:es,valueCallback:t=>parseInt(t,10)}),era:Et({matchPatterns:ts,defaultMatchWidth:"wide",parsePatterns:rs,defaultParseWidth:"any"}),quarter:Et({matchPatterns:ns,defaultMatchWidth:"wide",parsePatterns:as,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Et({matchPatterns:os,defaultMatchWidth:"wide",parsePatterns:ss,defaultParseWidth:"any"}),day:Et({matchPatterns:is,defaultMatchWidth:"wide",parsePatterns:us,defaultParseWidth:"any"}),dayPeriod:Et({matchPatterns:cs,defaultMatchWidth:"any",parsePatterns:ls,defaultParseWidth:"any"})},_t={code:"en-US",formatDistance:Fr,formatLong:Yo,formatRelative:Lr,localize:Ar,match:Hr,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Gt(t){const r=W(t),e=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return e.setUTCFullYear(r.getFullYear()),+t-+e}function Nt(t,...r){const e=be.bind(null,r.find(n=>typeof n=="object"));return r.map(e)}function Rt(t,r){const e=W(t,r==null?void 0:r.in);return e.setHours(0,0,0,0),e}function fs(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r),o=Rt(n),i=Rt(a),s=+o-Gt(o),c=+i-Gt(i);return Math.round((s-c)/Oo)}function ua(t,r){const e=W(t,r==null?void 0:r.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function ds(t,r){const e=W(t,r==null?void 0:r.in);return fs(e,ua(e))+1}function Qe(t,r){var s,c,d,m;const e=ot(),n=(r==null?void 0:r.weekStartsOn)??((c=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:c.weekStartsOn)??e.weekStartsOn??((m=(d=e.locale)==null?void 0:d.options)==null?void 0:m.weekStartsOn)??0,a=W(t,r==null?void 0:r.in),o=a.getDay(),i=(o<n?7:0)+o-n;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function pt(t,r){return Qe(t,{...r,weekStartsOn:1})}function ca(t,r){const e=W(t,r==null?void 0:r.in),n=e.getFullYear(),a=be(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=pt(a),i=be(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=pt(i);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function hs(t,r){const e=ca(t,r),n=be(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),pt(n)}function la(t,r){const e=W(t,r==null?void 0:r.in),n=+pt(e)-+hs(e);return Math.round(n/na)+1}function Yr(t,r){var m,h,y,v;const e=W(t,r==null?void 0:r.in),n=e.getFullYear(),a=ot(),o=(r==null?void 0:r.firstWeekContainsDate)??((h=(m=r==null?void 0:r.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??a.firstWeekContainsDate??((v=(y=a.locale)==null?void 0:y.options)==null?void 0:v.firstWeekContainsDate)??1,i=be((r==null?void 0:r.in)||t,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=Qe(i,r),c=be((r==null?void 0:r.in)||t,0);c.setFullYear(n,0,o),c.setHours(0,0,0,0);const d=Qe(c,r);return+e>=+s?n+1:+e>=+d?n:n-1}function ms(t,r){var s,c,d,m;const e=ot(),n=(r==null?void 0:r.firstWeekContainsDate)??((c=(s=r==null?void 0:r.locale)==null?void 0:s.options)==null?void 0:c.firstWeekContainsDate)??e.firstWeekContainsDate??((m=(d=e.locale)==null?void 0:d.options)==null?void 0:m.firstWeekContainsDate)??1,a=Yr(t,r),o=be((r==null?void 0:r.in)||t,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),Qe(o,r)}function Vr(t,r){const e=W(t,r==null?void 0:r.in),n=+Qe(e,r)-+ms(e,r);return Math.round(n/na)+1}function fe(t,r){const e=t<0?"-":"",n=Math.abs(t).toString().padStart(r,"0");return e+n}const Ze={y(t,r){const e=t.getFullYear(),n=e>0?e:1-e;return fe(r==="yy"?n%100:n,r.length)},M(t,r){const e=t.getMonth();return r==="M"?String(e+1):fe(e+1,2)},d(t,r){return fe(t.getDate(),r.length)},a(t,r){const e=t.getHours()/12>=1?"pm":"am";switch(r){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(t,r){return fe(t.getHours()%12||12,r.length)},H(t,r){return fe(t.getHours(),r.length)},m(t,r){return fe(t.getMinutes(),r.length)},s(t,r){return fe(t.getSeconds(),r.length)},S(t,r){const e=r.length,n=t.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return fe(a,r.length)}},ct={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wn={G:function(t,r,e){const n=t.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(t,r,e){if(r==="yo"){const n=t.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return Ze.y(t,r)},Y:function(t,r,e,n){const a=Yr(t,n),o=a>0?a:1-a;if(r==="YY"){const i=o%100;return fe(i,2)}return r==="Yo"?e.ordinalNumber(o,{unit:"year"}):fe(o,r.length)},R:function(t,r){const e=ca(t);return fe(e,r.length)},u:function(t,r){const e=t.getFullYear();return fe(e,r.length)},Q:function(t,r,e){const n=Math.ceil((t.getMonth()+1)/3);switch(r){case"Q":return String(n);case"QQ":return fe(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,r,e){const n=Math.ceil((t.getMonth()+1)/3);switch(r){case"q":return String(n);case"qq":return fe(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,r,e){const n=t.getMonth();switch(r){case"M":case"MM":return Ze.M(t,r);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(t,r,e){const n=t.getMonth();switch(r){case"L":return String(n+1);case"LL":return fe(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(t,r,e,n){const a=Vr(t,n);return r==="wo"?e.ordinalNumber(a,{unit:"week"}):fe(a,r.length)},I:function(t,r,e){const n=la(t);return r==="Io"?e.ordinalNumber(n,{unit:"week"}):fe(n,r.length)},d:function(t,r,e){return r==="do"?e.ordinalNumber(t.getDate(),{unit:"date"}):Ze.d(t,r)},D:function(t,r,e){const n=ds(t);return r==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):fe(n,r.length)},E:function(t,r,e){const n=t.getDay();switch(r){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(t,r,e,n){const a=t.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return fe(o,2);case"eo":return e.ordinalNumber(o,{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(t,r,e,n){const a=t.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return fe(o,r.length);case"co":return e.ordinalNumber(o,{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(t,r,e){const n=t.getDay(),a=n===0?7:n;switch(r){case"i":return String(a);case"ii":return fe(a,r.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(t,r,e){const a=t.getHours()/12>=1?"pm":"am";switch(r){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(t,r,e){const n=t.getHours();let a;switch(n===12?a=ct.noon:n===0?a=ct.midnight:a=n/12>=1?"pm":"am",r){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(t,r,e){const n=t.getHours();let a;switch(n>=17?a=ct.evening:n>=12?a=ct.afternoon:n>=4?a=ct.morning:a=ct.night,r){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(t,r,e){if(r==="ho"){let n=t.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return Ze.h(t,r)},H:function(t,r,e){return r==="Ho"?e.ordinalNumber(t.getHours(),{unit:"hour"}):Ze.H(t,r)},K:function(t,r,e){const n=t.getHours()%12;return r==="Ko"?e.ordinalNumber(n,{unit:"hour"}):fe(n,r.length)},k:function(t,r,e){let n=t.getHours();return n===0&&(n=24),r==="ko"?e.ordinalNumber(n,{unit:"hour"}):fe(n,r.length)},m:function(t,r,e){return r==="mo"?e.ordinalNumber(t.getMinutes(),{unit:"minute"}):Ze.m(t,r)},s:function(t,r,e){return r==="so"?e.ordinalNumber(t.getSeconds(),{unit:"second"}):Ze.s(t,r)},S:function(t,r){return Ze.S(t,r)},X:function(t,r,e){const n=t.getTimezoneOffset();if(n===0)return"Z";switch(r){case"X":return Cn(n);case"XXXX":case"XX":return at(n);case"XXXXX":case"XXX":default:return at(n,":")}},x:function(t,r,e){const n=t.getTimezoneOffset();switch(r){case"x":return Cn(n);case"xxxx":case"xx":return at(n);case"xxxxx":case"xxx":default:return at(n,":")}},O:function(t,r,e){const n=t.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+vn(n,":");case"OOOO":default:return"GMT"+at(n,":")}},z:function(t,r,e){const n=t.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+vn(n,":");case"zzzz":default:return"GMT"+at(n,":")}},t:function(t,r,e){const n=Math.trunc(+t/1e3);return fe(n,r.length)},T:function(t,r,e){return fe(+t,r.length)}};function vn(t,r=""){const e=t>0?"-":"+",n=Math.abs(t),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+r+fe(o,2)}function Cn(t,r){return t%60===0?(t>0?"-":"+")+fe(Math.abs(t)/60,2):at(t,r)}function at(t,r=""){const e=t>0?"-":"+",n=Math.abs(t),a=fe(Math.trunc(n/60),2),o=fe(n%60,2);return e+a+r+o}const xn=(t,r)=>{switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},fa=(t,r)=>{switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},gs=(t,r)=>{const e=t.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return xn(t,r);let o;switch(n){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",xn(n,r)).replace("{{time}}",fa(a,r))},$t={p:fa,P:gs},ys=/^D+$/,ps=/^Y+$/,bs=["D","DD","YY","YYYY"];function da(t){return ys.test(t)}function ha(t){return ps.test(t)}function Or(t,r,e){const n=ws(t,r,e);if(console.warn(n),bs.includes(t))throw new RangeError(n)}function ws(t,r,e){const n=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${r}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function vs(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function ma(t){return!(!vs(t)&&typeof t!="number"||isNaN(+W(t)))}const Cs=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xs=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ts=/^'([^]*?)'?$/,Es=/''/g,Ss=/[a-zA-Z]/;function ks(t,r,e){var m,h,y,v,C,f,P,R;const n=ot(),a=(e==null?void 0:e.locale)??n.locale??_t,o=(e==null?void 0:e.firstWeekContainsDate)??((h=(m=e==null?void 0:e.locale)==null?void 0:m.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(y=n.locale)==null?void 0:y.options)==null?void 0:v.firstWeekContainsDate)??1,i=(e==null?void 0:e.weekStartsOn)??((f=(C=e==null?void 0:e.locale)==null?void 0:C.options)==null?void 0:f.weekStartsOn)??n.weekStartsOn??((R=(P=n.locale)==null?void 0:P.options)==null?void 0:R.weekStartsOn)??0,s=W(t,e==null?void 0:e.in);if(!ma(s))throw new RangeError("Invalid time value");let c=r.match(xs).map(M=>{const D=M[0];if(D==="p"||D==="P"){const k=$t[D];return k(M,a.formatLong)}return M}).join("").match(Cs).map(M=>{if(M==="''")return{isToken:!1,value:"'"};const D=M[0];if(D==="'")return{isToken:!1,value:Ds(M)};if(wn[D])return{isToken:!0,value:M};if(D.match(Ss))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");return{isToken:!1,value:M}});a.localize.preprocessor&&(c=a.localize.preprocessor(s,c));const d={firstWeekContainsDate:o,weekStartsOn:i,locale:a};return c.map(M=>{if(!M.isToken)return M.value;const D=M.value;(!(e!=null&&e.useAdditionalWeekYearTokens)&&ha(D)||!(e!=null&&e.useAdditionalDayOfYearTokens)&&da(D))&&Or(D,r,String(t));const k=wn[D[0]];return k(s,D,a.localize,d)}).join("")}function Ds(t){const r=t.match(Ts);return r?r[1].replace(Es,"'"):t}function Os(t,r){return W(t,r==null?void 0:r.in).getDate()}function ga(t,r){const e=W(t,r==null?void 0:r.in),n=e.getFullYear(),a=e.getMonth(),o=be(e,0);return o.setFullYear(n,a+1,0),o.setHours(0,0,0,0),o.getDate()}function Ms(t,r){return W(t,r==null?void 0:r.in).getHours()}function Ps(t,r){return W(t,r==null?void 0:r.in).getMinutes()}function _s(t,r){return W(t,r==null?void 0:r.in).getMonth()}function Rs(t){return W(t).getSeconds()}function $s(t){return W(t).getMilliseconds()}function js(t,r){return W(t,r==null?void 0:r.in).getFullYear()}function mr(t,r){return+W(t)>+W(r)}function gr(t,r){return+W(t)<+W(r)}function Is(t,r){return+W(t)==+W(r)}function Ns(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return+Rt(n)==+Rt(a)}function Fs(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return n.getFullYear()===a.getFullYear()}function Ls(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function Tn(t,r){const e=W(t,r==null?void 0:r.in);return e.setMinutes(0,0,0),e}function As(t,r,e){const[n,a]=Nt(e==null?void 0:e.in,t,r);return+Tn(n)==+Tn(a)}function Hs(){return Object.assign({},ot())}function Ys(t,r){const e=Vs(r)?new r(0):be(r,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e}function Vs(t){var r;return typeof t=="function"&&((r=t.prototype)==null?void 0:r.constructor)===t}const Ws=10;class ya{constructor(){N(this,"subPriority",0)}validate(r,e){return!0}}class Bs extends ya{constructor(r,e,n,a,o){super(),this.value=r,this.validateValue=e,this.setValue=n,this.priority=a,o&&(this.subPriority=o)}validate(r,e){return this.validateValue(r,this.value,e)}set(r,e,n){return this.setValue(r,e,this.value,n)}}class qs extends ya{constructor(e,n){super();N(this,"priority",Ws);N(this,"subPriority",-1);this.context=e||(a=>be(n,a))}set(e,n){return n.timestampIsSet?e:be(e,Ys(e,this.context))}}class ie{run(r,e,n,a){const o=this.parse(r,e,n,a);return o?{setter:new Bs(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(r,e,n){return!0}}class zs extends ie{constructor(){super(...arguments);N(this,"priority",140);N(this,"incompatibleTokens",["R","u","t","T"])}parse(e,n,a){switch(n){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,n,a){return n.era=a,e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}const ke={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}/},Ye={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 De(t,r){return t&&{value:r(t.value),rest:t.rest}}function we(t,r){const e=r.match(t);return e?{value:parseInt(e[0],10),rest:r.slice(e[0].length)}:null}function Ve(t,r){const e=r.match(t);if(!e)return null;if(e[0]==="Z")return{value:0,rest:r.slice(1)};const n=e[1]==="+"?1:-1,a=e[2]?parseInt(e[2],10):0,o=e[3]?parseInt(e[3],10):0,i=e[5]?parseInt(e[5],10):0;return{value:n*(a*oa+o*aa+i*Mo),rest:r.slice(e[0].length)}}function pa(t){return we(ke.anyDigitsSigned,t)}function xe(t,r){switch(t){case 1:return we(ke.singleDigit,r);case 2:return we(ke.twoDigits,r);case 3:return we(ke.threeDigits,r);case 4:return we(ke.fourDigits,r);default:return we(new RegExp("^\\d{1,"+t+"}"),r)}}function Qt(t,r){switch(t){case 1:return we(ke.singleDigitSigned,r);case 2:return we(ke.twoDigitsSigned,r);case 3:return we(ke.threeDigitsSigned,r);case 4:return we(ke.fourDigitsSigned,r);default:return we(new RegExp("^-?\\d{1,"+t+"}"),r)}}function Wr(t){switch(t){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 ba(t,r){const e=r>0,n=e?r:1-r;let a;if(n<=50)a=t||100;else{const o=n+50,i=Math.trunc(o/100)*100,s=t>=o%100;a=t+i-(s?100:0)}return e?a:1-a}function wa(t){return t%400===0||t%4===0&&t%100!==0}class Gs extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,n,a){const o=i=>({year:i,isTwoDigitYear:n==="yy"});switch(n){case"y":return De(xe(4,e),o);case"yo":return De(a.ordinalNumber(e,{unit:"year"}),o);default:return De(xe(n.length,e),o)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,a){const o=e.getFullYear();if(a.isTwoDigitYear){const s=ba(a.year,o);return e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}const i=!("era"in n)||n.era===1?a.year:1-a.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}}class Qs extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,n,a){const o=i=>({year:i,isTwoDigitYear:n==="YY"});switch(n){case"Y":return De(xe(4,e),o);case"Yo":return De(a.ordinalNumber(e,{unit:"year"}),o);default:return De(xe(n.length,e),o)}}validate(e,n){return n.isTwoDigitYear||n.year>0}set(e,n,a,o){const i=Yr(e,o);if(a.isTwoDigitYear){const c=ba(a.year,i);return e.setFullYear(c,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),Qe(e,o)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return e.setFullYear(s,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),Qe(e,o)}}class Ks extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,n){return Qt(n==="R"?4:n.length,e)}set(e,n,a){const o=be(e,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),pt(o)}}class Zs extends ie{constructor(){super(...arguments);N(this,"priority",130);N(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,n){return Qt(n==="u"?4:n.length,e)}set(e,n,a){return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}}class Xs extends ie{constructor(){super(...arguments);N(this,"priority",120);N(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,n,a){switch(n){case"Q":case"QQ":return xe(n.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,n){return n>=1&&n<=4}set(e,n,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}}class Us extends ie{constructor(){super(...arguments);N(this,"priority",120);N(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,n,a){switch(n){case"q":case"qq":return xe(n.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,n){return n>=1&&n<=4}set(e,n,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}}class Js extends ie{constructor(){super(...arguments);N(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);N(this,"priority",110)}parse(e,n,a){const o=i=>i-1;switch(n){case"M":return De(we(ke.month,e),o);case"MM":return De(xe(2,e),o);case"Mo":return De(a.ordinalNumber(e,{unit:"month"}),o);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,n){return n>=0&&n<=11}set(e,n,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}}class ei extends ie{constructor(){super(...arguments);N(this,"priority",110);N(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,n,a){const o=i=>i-1;switch(n){case"L":return De(we(ke.month,e),o);case"LL":return De(xe(2,e),o);case"Lo":return De(a.ordinalNumber(e,{unit:"month"}),o);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,n){return n>=0&&n<=11}set(e,n,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}}function ti(t,r,e){const n=W(t,e==null?void 0:e.in),a=Vr(n,e)-r;return n.setDate(n.getDate()-a*7),W(n,e==null?void 0:e.in)}class ri extends ie{constructor(){super(...arguments);N(this,"priority",100);N(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,n,a){switch(n){case"w":return we(ke.week,e);case"wo":return a.ordinalNumber(e,{unit:"week"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,a,o){return Qe(ti(e,a,o),o)}}function ni(t,r,e){const n=W(t,e==null?void 0:e.in),a=la(n,e)-r;return n.setDate(n.getDate()-a*7),n}class ai extends ie{constructor(){super(...arguments);N(this,"priority",100);N(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,n,a){switch(n){case"I":return we(ke.week,e);case"Io":return a.ordinalNumber(e,{unit:"week"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=53}set(e,n,a){return pt(ni(e,a))}}const oi=[31,28,31,30,31,30,31,31,30,31,30,31],si=[31,29,31,30,31,30,31,31,30,31,30,31];class ii extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"subPriority",1);N(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,n,a){switch(n){case"d":return we(ke.date,e);case"do":return a.ordinalNumber(e,{unit:"date"});default:return xe(n.length,e)}}validate(e,n){const a=e.getFullYear(),o=wa(a),i=e.getMonth();return o?n>=1&&n<=si[i]:n>=1&&n<=oi[i]}set(e,n,a){return e.setDate(a),e.setHours(0,0,0,0),e}}class ui extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"subpriority",1);N(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,n,a){switch(n){case"D":case"DD":return we(ke.dayOfYear,e);case"Do":return a.ordinalNumber(e,{unit:"date"});default:return xe(n.length,e)}}validate(e,n){const a=e.getFullYear();return wa(a)?n>=1&&n<=366:n>=1&&n<=365}set(e,n,a){return e.setMonth(0,a),e.setHours(0,0,0,0),e}}function Br(t,r,e){var h,y,v,C;const n=ot(),a=(e==null?void 0:e.weekStartsOn)??((y=(h=e==null?void 0:e.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??n.weekStartsOn??((C=(v=n.locale)==null?void 0:v.options)==null?void 0:C.weekStartsOn)??0,o=W(t,e==null?void 0:e.in),i=o.getDay(),c=(r%7+7)%7,d=7-a,m=r<0||r>6?r-(i+d)%7:(c+d)%7-(i+d)%7;return Pt(o,m,e)}class ci extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,n,a){switch(n){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,n){return n>=0&&n<=6}set(e,n,a,o){return e=Br(e,a,o),e.setHours(0,0,0,0),e}}class li extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,n,a,o){const i=s=>{const c=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return De(xe(n.length,e),i);case"eo":return De(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,n){return n>=0&&n<=6}set(e,n,a,o){return e=Br(e,a,o),e.setHours(0,0,0,0),e}}class fi extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,n,a,o){const i=s=>{const c=Math.floor((s-1)/7)*7;return(s+o.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return De(xe(n.length,e),i);case"co":return De(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,n){return n>=0&&n<=6}set(e,n,a,o){return e=Br(e,a,o),e.setHours(0,0,0,0),e}}function di(t,r){const e=W(t,r==null?void 0:r.in).getDay();return e===0?7:e}function hi(t,r,e){const n=W(t,e==null?void 0:e.in),a=di(n,e),o=r-a;return Pt(n,o,e)}class mi extends ie{constructor(){super(...arguments);N(this,"priority",90);N(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,n,a){const o=i=>i===0?7:i;switch(n){case"i":case"ii":return xe(n.length,e);case"io":return a.ordinalNumber(e,{unit:"day"});case"iii":return De(a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return De(a.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return De(a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),o);case"iiii":default:return De(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"}),o)}}validate(e,n){return n>=1&&n<=7}set(e,n,a){return e=hi(e,a),e.setHours(0,0,0,0),e}}class gi extends ie{constructor(){super(...arguments);N(this,"priority",80);N(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,n,a){switch(n){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,n,a){return e.setHours(Wr(a),0,0,0),e}}class yi extends ie{constructor(){super(...arguments);N(this,"priority",80);N(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,n,a){switch(n){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,n,a){return e.setHours(Wr(a),0,0,0),e}}class pi extends ie{constructor(){super(...arguments);N(this,"priority",80);N(this,"incompatibleTokens",["a","b","t","T"])}parse(e,n,a){switch(n){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,n,a){return e.setHours(Wr(a),0,0,0),e}}class bi extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,n,a){switch(n){case"h":return we(ke.hour12h,e);case"ho":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=12}set(e,n,a){const o=e.getHours()>=12;return o&&a<12?e.setHours(a+12,0,0,0):!o&&a===12?e.setHours(0,0,0,0):e.setHours(a,0,0,0),e}}class wi extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,n,a){switch(n){case"H":return we(ke.hour23h,e);case"Ho":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=23}set(e,n,a){return e.setHours(a,0,0,0),e}}class vi extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,n,a){switch(n){case"K":return we(ke.hour11h,e);case"Ko":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=11}set(e,n,a){return e.getHours()>=12&&a<12?e.setHours(a+12,0,0,0):e.setHours(a,0,0,0),e}}class Ci extends ie{constructor(){super(...arguments);N(this,"priority",70);N(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,n,a){switch(n){case"k":return we(ke.hour24h,e);case"ko":return a.ordinalNumber(e,{unit:"hour"});default:return xe(n.length,e)}}validate(e,n){return n>=1&&n<=24}set(e,n,a){const o=a<=24?a%24:a;return e.setHours(o,0,0,0),e}}class xi extends ie{constructor(){super(...arguments);N(this,"priority",60);N(this,"incompatibleTokens",["t","T"])}parse(e,n,a){switch(n){case"m":return we(ke.minute,e);case"mo":return a.ordinalNumber(e,{unit:"minute"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,a){return e.setMinutes(a,0,0),e}}class Ti extends ie{constructor(){super(...arguments);N(this,"priority",50);N(this,"incompatibleTokens",["t","T"])}parse(e,n,a){switch(n){case"s":return we(ke.second,e);case"so":return a.ordinalNumber(e,{unit:"second"});default:return xe(n.length,e)}}validate(e,n){return n>=0&&n<=59}set(e,n,a){return e.setSeconds(a,0),e}}class Ei extends ie{constructor(){super(...arguments);N(this,"priority",30);N(this,"incompatibleTokens",["t","T"])}parse(e,n){const a=o=>Math.trunc(o*Math.pow(10,-n.length+3));return De(xe(n.length,e),a)}set(e,n,a){return e.setMilliseconds(a),e}}class Si extends ie{constructor(){super(...arguments);N(this,"priority",10);N(this,"incompatibleTokens",["t","T","x"])}parse(e,n){switch(n){case"X":return Ve(Ye.basicOptionalMinutes,e);case"XX":return Ve(Ye.basic,e);case"XXXX":return Ve(Ye.basicOptionalSeconds,e);case"XXXXX":return Ve(Ye.extendedOptionalSeconds,e);case"XXX":default:return Ve(Ye.extended,e)}}set(e,n,a){return n.timestampIsSet?e:be(e,e.getTime()-Gt(e)-a)}}class ki extends ie{constructor(){super(...arguments);N(this,"priority",10);N(this,"incompatibleTokens",["t","T","X"])}parse(e,n){switch(n){case"x":return Ve(Ye.basicOptionalMinutes,e);case"xx":return Ve(Ye.basic,e);case"xxxx":return Ve(Ye.basicOptionalSeconds,e);case"xxxxx":return Ve(Ye.extendedOptionalSeconds,e);case"xxx":default:return Ve(Ye.extended,e)}}set(e,n,a){return n.timestampIsSet?e:be(e,e.getTime()-Gt(e)-a)}}class Di extends ie{constructor(){super(...arguments);N(this,"priority",40);N(this,"incompatibleTokens","*")}parse(e){return pa(e)}set(e,n,a){return[be(e,a*1e3),{timestampIsSet:!0}]}}class Oi extends ie{constructor(){super(...arguments);N(this,"priority",20);N(this,"incompatibleTokens","*")}parse(e){return pa(e)}set(e,n,a){return[be(e,a),{timestampIsSet:!0}]}}const Mi={G:new zs,y:new Gs,Y:new Qs,R:new Ks,u:new Zs,Q:new Xs,q:new Us,M:new Js,L:new ei,w:new ri,I:new ai,d:new ii,D:new ui,E:new ci,e:new li,c:new fi,i:new mi,a:new gi,b:new yi,B:new pi,h:new bi,H:new wi,K:new vi,k:new Ci,m:new xi,s:new Ti,S:new Ei,X:new Si,x:new ki,t:new Di,T:new Oi},Pi=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_i=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ri=/^'([^]*?)'?$/,$i=/''/g,ji=/\S/,Ii=/[a-zA-Z]/;function Ni(t,r,e,n){var P,R,M,D,k,b,B,U;const a=()=>be((n==null?void 0:n.in)||e,NaN),o=Hs(),i=(n==null?void 0:n.locale)??o.locale??_t,s=(n==null?void 0:n.firstWeekContainsDate)??((R=(P=n==null?void 0:n.locale)==null?void 0:P.options)==null?void 0:R.firstWeekContainsDate)??o.firstWeekContainsDate??((D=(M=o.locale)==null?void 0:M.options)==null?void 0:D.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((b=(k=n==null?void 0:n.locale)==null?void 0:k.options)==null?void 0:b.weekStartsOn)??o.weekStartsOn??((U=(B=o.locale)==null?void 0:B.options)==null?void 0:U.weekStartsOn)??0;if(!r)return t?a():W(e,n==null?void 0:n.in);const d={firstWeekContainsDate:s,weekStartsOn:c,locale:i},m=[new qs(n==null?void 0:n.in,e)],h=r.match(_i).map(L=>{const S=L[0];if(S in $t){const u=$t[S];return u(L,i.formatLong)}return L}).join("").match(Pi),y=[];for(let L of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&ha(L)&&Or(L,r,t),!(n!=null&&n.useAdditionalDayOfYearTokens)&&da(L)&&Or(L,r,t);const S=L[0],u=Mi[S];if(u){const{incompatibleTokens:T}=u;if(Array.isArray(T)){const A=y.find(re=>T.includes(re.token)||re.token===S);if(A)throw new RangeError(`The format string mustn't contain \`${A.fullToken}\` and \`${L}\` at the same time`)}else if(u.incompatibleTokens==="*"&&y.length>0)throw new RangeError(`The format string mustn't contain \`${L}\` and any other token at the same time`);y.push({token:S,fullToken:L});const _=u.run(t,L,i.match,d);if(!_)return a();m.push(_.setter),t=_.rest}else{if(S.match(Ii))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");if(L==="''"?L="'":S==="'"&&(L=Fi(L)),t.indexOf(L)===0)t=t.slice(L.length);else return a()}}if(t.length>0&&ji.test(t))return a();const v=m.map(L=>L.priority).sort((L,S)=>S-L).filter((L,S,u)=>u.indexOf(L)===S).map(L=>m.filter(S=>S.priority===L).sort((S,u)=>u.subPriority-S.subPriority)).map(L=>L[0]);let C=W(e,n==null?void 0:n.in);if(isNaN(+C))return a();const f={};for(const L of v){if(!L.validate(C,d))return a();const S=L.set(C,f,d);Array.isArray(S)?(C=S[0],Object.assign(f,S[1])):C=S}return C}function Fi(t){return t.match(Ri)[1].replace($i,"'")}function Li(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setDate(r),n}function Ai(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setHours(r),n}function Hi(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setMinutes(r),n}function Yi(t,r,e){const n=W(t,e==null?void 0:e.in),a=n.getFullYear(),o=n.getDate(),i=be(t,0);i.setFullYear(a,r,15),i.setHours(0,0,0,0);const s=ga(i);return n.setMonth(r,Math.min(o,s)),n}function Vi(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setSeconds(r),n}function Wi(t,r,e){const n=W(t,e==null?void 0:e.in);return n.setMilliseconds(r),n}function Bi(t,r,e){const n=W(t,e==null?void 0:e.in);return isNaN(+n)?be(t,NaN):(n.setFullYear(r),n)}function qi(t,r){const e=W(t,r==null?void 0:r.in);return e.setDate(1),e.setHours(0,0,0,0),e}function zi(t,r){const e=W(t,r==null?void 0:r.in),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function Gi(t,r,e){const n=+W(t,e==null?void 0:e.in),[a,o]=[+W(r.start,e==null?void 0:e.in),+W(r.end,e==null?void 0:e.in)].sort((i,s)=>i-s);return n>=a&&n<=o}function Mr(){return Mr=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},Mr.apply(null,arguments)}const Qi={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},Ki={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class Zi{constructor(r){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=Qi,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=i=>typeof i>"u"?new Date:i===null?null:new Date(i),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=i=>i,this.toJsDate=i=>i,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=i=>{const s=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return i.match(s).map(c=>{const d=c[0];if(d==="p"||d==="P"){const m=this.longFormatters[d];return m(c,this.locale.formatLong)}return c}).join("")},this.formatNumber=i=>i,this.getDayOfWeek=i=>i.getDay()+1;const{locale:e,formats:n,longFormatters:a,lib:o}=r;this.locale=e,this.formats=Mr({},Ki,n),this.longFormatters=a,this.lib=o||"date-fns"}}class va extends Zi{constructor({locale:r,formats:e}={}){if(process.env.NODE_ENV!=="production"){if(typeof Pt!="function")throw new Error(["MUI: The `date-fns` package v2.x is not compatible with this adapter.","Please, install v3.x or v4.x of the package or use the `AdapterDateFns` instead."].join(`
31
31
  `));if(!$t)throw new Error("MUI: The minimum supported `date-fns` package version compatible with this adapter is `3.2.x`.")}super({locale:r??_t,formats:e,longFormatters:$t}),this.parse=(n,a)=>n===""?null:Ni(n,a,new Date,{locale:this.locale}),this.isValid=n=>n==null?!1:ma(n),this.format=(n,a)=>this.formatByString(n,this.formats[a]),this.formatByString=(n,a)=>ks(n,a,{locale:this.locale}),this.isEqual=(n,a)=>n===null&&a===null?!0:n===null||a===null?!1:Is(n,a),this.isSameYear=(n,a)=>Fs(n,a),this.isSameMonth=(n,a)=>Ls(n,a),this.isSameDay=(n,a)=>Ns(n,a),this.isSameHour=(n,a)=>As(n,a),this.isAfter=(n,a)=>mr(n,a),this.isAfterYear=(n,a)=>mr(n,bn(a)),this.isAfterDay=(n,a)=>mr(n,pn(a)),this.isBefore=(n,a)=>gr(n,a),this.isBeforeYear=(n,a)=>gr(n,this.startOfYear(a)),this.isBeforeDay=(n,a)=>gr(n,this.startOfDay(a)),this.isWithinRange=(n,[a,o])=>Gi(n,{start:a,end:o}),this.startOfYear=n=>ua(n),this.startOfMonth=n=>qi(n),this.startOfWeek=n=>Qe(n,{locale:this.locale}),this.startOfDay=n=>Rt(n),this.endOfYear=n=>bn(n),this.endOfMonth=n=>zi(n),this.endOfWeek=n=>No(n,{locale:this.locale}),this.endOfDay=n=>pn(n),this.addYears=(n,a)=>jo(n,a),this.addMonths=(n,a)=>ia(n,a),this.addWeeks=(n,a)=>$o(n,a),this.addDays=(n,a)=>Pt(n,a),this.addHours=(n,a)=>Ro(n,a),this.addMinutes=(n,a)=>_o(n,a),this.addSeconds=(n,a)=>Po(n,a),this.getYear=n=>js(n),this.getMonth=n=>_s(n),this.getDate=n=>Os(n),this.getHours=n=>Ms(n),this.getMinutes=n=>Ps(n),this.getSeconds=n=>Rs(n),this.getMilliseconds=n=>$s(n),this.setYear=(n,a)=>Bi(n,a),this.setMonth=(n,a)=>Yi(n,a),this.setDate=(n,a)=>Li(n,a),this.setHours=(n,a)=>Ai(n,a),this.setMinutes=(n,a)=>Hi(n,a),this.setSeconds=(n,a)=>Vi(n,a),this.setMilliseconds=(n,a)=>Wi(n,a),this.getDaysInMonth=n=>ga(n),this.getWeekArray=n=>{const a=this.startOfWeek(this.startOfMonth(n)),o=this.endOfWeek(this.endOfMonth(n));let i=0,s=a;const c=[];for(;this.isBefore(s,o);){const d=Math.floor(i/7);c[d]=c[d]||[],c[d].push(s),s=this.addDays(s,1),i+=1}return c},this.getWeekNumber=n=>Vr(n,{locale:this.locale}),this.getYearRange=([n,a])=>{const o=this.startOfYear(n),i=this.endOfYear(a),s=[];let c=o;for(;this.isBefore(c,i);)s.push(c),c=this.addYears(c,1);return s}}}const Xi={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},Ui={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ji={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},e0={date:ze({formats:Xi,defaultWidth:"full"}),time:ze({formats:Ui,defaultWidth:"full"}),dateTime:ze({formats:Ji,defaultWidth:"full"})},En={code:"en-AU",formatDistance:Fr,formatLong:e0,formatRelative:Lr,localize:Ar,match:Hr,options:{weekStartsOn:1,firstWeekContainsDate:4}},t0={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},r0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},n0={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},a0={date:ze({formats:t0,defaultWidth:"full"}),time:ze({formats:r0,defaultWidth:"full"}),dateTime:ze({formats:n0,defaultWidth:"full"})},Yt={code:"en-GB",formatDistance:Fr,formatLong:a0,formatRelative:Lr,localize:Ar,match:Hr,options:{weekStartsOn:1,firstWeekContainsDate:4}},Sn="Invalid date",et="dd/MM/yyyy",kt="yyyy-MM-dd HH:mm:ss",o0=new Date("1900-01-01"),s0=Intl.DateTimeFormat().resolvedOptions().timeZone,yr="yyyy-MM-dd HH:mm:ss",i0="yyyy-MM-dd";V.format(o0,et);V.format(V.add(new Date,{weeks:1}),et);V.format(new Date,et);V.format(V.add(new Date,{days:1}),et);V.format(V.add(new Date,{weeks:2}),et);const X=(t,r,e,n,a)=>{if(!t)return null;let o=t;if(a)return V.format(new Date(o),i0);if(r)return o=V.startOfDay(t),V.format(new Date(o),yr);if(e)return o=V.endOfDay(t),V.format(new Date(o),yr);if(n){const i=new Date;return o=V.setHours(o,V.getHours(i)),o=V.setMinutes(o,V.getMinutes(i)),o=V.setSeconds(o,V.getSeconds(i)),wo.fromZonedTime(o,s0).toISOString()}else return V.format(new Date(o),yr)},gt=(t,r=et,e,n)=>{var d;if(t===null)return null;const a=t.split(/[./-]/).map(m=>parseInt(m,10));let o=e.indexOf("d")===0?a[0]:a[1],i=e.indexOf("M")===0?a[0]:a[1],s=a[2];if(!n&&a.some(isNaN)||((d=a==null?void 0:a.filter(m=>m.isNaN))==null?void 0:d.length)===(a==null?void 0:a.length)||isNaN(o))return t=Sn,null;if(isNaN(i)&&(i=new Date().getMonth()+1),isNaN(s))s=new Date().getFullYear();else{s.toString().length<=2&&(s=u0(s));//! Force maximum calendar year
32
32
  s>2099&&(s=2099)}const c=new Date(s,i-1,o);return c.getDate()!==o&&(t=Sn),V.format(new Date(c),r)},u0=t=>{const r=new Date().getFullYear()+5,e=Math.floor(r/100)*100,n=parseInt(t);return(n>r%100?e-100:e)+n},c0=t=>{if((t==null?void 0:t.hostInfo.region.toLowerCase())==="uk")return{...Yt,options:{...Yt.options,weekStartsOn:1}};if((t==null?void 0:t.hostInfo.region.toLowerCase())==="us")return{..._t,options:{..._t.options,weekStartsOn:1}};if((t==null?void 0:t.hostInfo.region.toLowerCase())==="au"){//! includes NZ
33
33
  return{...En,options:{...En.options,weekStartsOn:1}}}else if((t==null?void 0:t.hostInfo.region.toLowerCase())==="ca")return{...Yt,options:{...Yt.options,weekStartsOn:1}}},l0=(t,r)=>r&&t?V.format(t,r.formatLong.date({width:"short"})):"",f0=(t,r)=>r&&t?V.format(V.addMinutes(t,-new Date().getTimezoneOffset()),`${r.formatLong.date({width:"short"})} hh:mm a`):"";function Pr(){return g.jsxs(H.SvgIcon,{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true",children:[g.jsx("rect",{x:"4.03812",y:"7.03696",width:"16",height:"12",fill:"white"}),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.509 4C10.2132 4 9.97333 4.23985 9.97333 4.53571C9.97333 4.83158 10.2132 5.07143 10.509 5.07143H13.4957C13.7916 5.07143 14.0314 4.83158 14.0314 4.53571C14.0314 4.23985 13.7916 4 13.4957 4H10.509ZM4.46132 4.46018C4.71899 4.20251 5.08976 4.00122 5.50238 4.00122H7.00238C7.27852 4.00122 7.50238 4.22508 7.50238 4.50122C7.50238 4.77736 7.27852 5.00122 7.00238 5.00122H5.50238C5.41501 5.00122 5.28577 5.04995 5.16844 5.16728C5.0511 5.28462 5.00238 5.41386 5.00238 5.50122V6.99332H19.0024V5.50122C19.0024 5.41384 18.9537 5.2846 18.8363 5.16727C18.719 5.04995 18.5898 5.00122 18.5024 5.00122H17.0024C16.7262 5.00122 16.5024 4.77736 16.5024 4.50122C16.5024 4.22508 16.7262 4.00122 17.0024 4.00122H18.5024C18.915 4.00122 19.2858 4.20249 19.5434 4.46017C19.8011 4.71784 20.0024 5.0886 20.0024 5.50122V7.47818C20.004 7.49492 20.0048 7.51188 20.0048 7.52903C20.0048 7.54618 20.004 7.56315 20.0024 7.57989V18.5012C20.0024 18.9138 19.8011 19.2846 19.5434 19.5423C19.2858 19.7999 18.915 20.0012 18.5024 20.0012H5.50238C5.08976 20.0012 4.719 19.7999 4.46133 19.5423C4.20365 19.2846 4.00238 18.9138 4.00238 18.5012V7.57987C4.00081 7.56313 4 7.54618 4 7.52903C4 7.51189 4.00081 7.49493 4.00238 7.4782V5.50122C4.00238 5.08862 4.20366 4.71785 4.46132 4.46018ZM5.00238 18.5012V8.06475H19.0024V18.5012C19.0024 18.5886 18.9537 18.7178 18.8363 18.8352C18.719 18.9525 18.5898 19.0012 18.5024 19.0012H5.50238C5.415 19.0012 5.28576 18.9525 5.16843 18.8352C5.05111 18.7178 5.00238 18.5886 5.00238 18.5012ZM15.4869 4C15.7827 4 16.0226 4.23985 16.0226 4.53571V5.53349C16.0226 5.82935 15.7827 6.0692 15.4869 6.0692C15.191 6.0692 14.9511 5.82935 14.9511 5.53349V4.53571C14.9511 4.23985 15.191 4 15.4869 4ZM9.05364 4.53571C9.05364 4.23985 8.81379 4 8.51793 4C8.22206 4 7.98221 4.23985 7.98221 4.53571V5.53349C7.98221 5.82935 8.22206 6.0692 8.51793 6.0692C8.81379 6.0692 9.05364 5.82935 9.05364 5.53349V4.53571Z",fill:"#1E365E"}),g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5024 7.00122C10.7785 7.00122 11.0024 7.22508 11.0024 7.50122V10.0012H12.0024C12.2785 10.0012 12.5024 10.2251 12.5024 10.5012C12.5024 10.7774 12.2785 11.0012 12.0024 11.0012H11.0024V13.0012H12.0024C12.2785 13.0012 12.5024 13.2251 12.5024 13.5012C12.5024 13.7774 12.2785 14.0012 12.0024 14.0012H11.0024V16.0012H16.0024V15.0012C16.0024 14.7251 16.2262 14.5012 16.5024 14.5012C16.7785 14.5012 17.0024 14.7251 17.0024 15.0012V16.0012H19.5024C19.7785 16.0012 20.0024 16.2251 20.0024 16.5012C20.0024 16.7774 19.7785 17.0012 19.5024 17.0012H17.0024V19.5012C17.0024 19.7774 16.7785 20.0012 16.5024 20.0012C16.2262 20.0012 16.0024 19.7774 16.0024 19.5012V17.0012H11.0024V19.5012C11.0024 19.7774 10.7785 20.0012 10.5024 20.0012C10.2262 20.0012 10.0024 19.7774 10.0024 19.5012V17.0012H8.00238V19.5012C8.00238 19.7774 7.77852 20.0012 7.50238 20.0012C7.22624 20.0012 7.00238 19.7774 7.00238 19.5012V17.0012H4.50238C4.22624 17.0012 4.00238 16.7774 4.00238 16.5012C4.00238 16.2251 4.22624 16.0012 4.50238 16.0012H7.00238V14.0012H4.50238C4.22624 14.0012 4.00238 13.7774 4.00238 13.5012C4.00238 13.2251 4.22624 13.0012 4.50238 13.0012H7.00238V11.0012H4.50238C4.22624 11.0012 4.00238 10.7774 4.00238 10.5012C4.00238 10.2251 4.22624 10.0012 4.50238 10.0012H7.00238V7.50122C7.00238 7.22508 7.22624 7.00122 7.50238 7.00122C7.77852 7.00122 8.00238 7.22508 8.00238 7.50122V10.0012H10.0024V7.50122C10.0024 7.22508 10.2262 7.00122 10.5024 7.00122ZM8.00238 11.0012V13.0012H10.0024V11.0012H8.00238ZM8.00238 14.0012V16.0012H10.0024V14.0012H8.00238ZM18.0024 13.0012C17.7262 13.0012 17.5024 13.2251 17.5024 13.5012C17.5024 13.7774 17.7262 14.0012 18.0024 14.0012H19.5024C19.7785 14.0012 20.0024 13.7774 20.0024 13.5012C20.0024 13.2251 19.7785 13.0012 19.5024 13.0012H18.0024ZM18.0024 10.0012C17.7262 10.0012 17.5024 10.2251 17.5024 10.5012C17.5024 10.7774 17.7262 11.0012 18.0024 11.0012H19.5024C19.7785 11.0012 20.0024 10.7774 20.0024 10.5012C20.0024 10.2251 19.7785 10.0012 19.5024 10.0012H18.0024ZM16.5024 7.00122C16.7785 7.00122 17.0024 7.22508 17.0024 7.50122V9.00122C17.0024 9.27736 16.7785 9.50122 16.5024 9.50122C16.2262 9.50122 16.0024 9.27736 16.0024 9.00122V7.50122C16.0024 7.22508 16.2262 7.00122 16.5024 7.00122Z",fill:"#1E365E",fillOpacity:"0.5"}),g.jsx("rect",{x:"13.5381",y:"10.5369",width:"3",height:"3",fill:"#1E365E",fillOpacity:"0.5",stroke:"#1E365E"})]})}function We(t){if(typeof t!="object"||t===null)return!1;const r=Object.getPrototypeOf(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Ca(t){if(Ge.isValidElement(t)||!We(t))return t;const r={};return Object.keys(t).forEach(e=>{r[e]=Ca(t[e])}),r}function je(t,r,e={clone:!0}){const n=e.clone?{...t}:t;return We(t)&&We(r)&&Object.keys(r).forEach(a=>{Ge.isValidElement(r[a])?n[a]=r[a]:We(r[a])&&Object.prototype.hasOwnProperty.call(t,a)&&We(t[a])?n[a]=je(t[a],r[a],e):e.clone?n[a]=We(r[a])?Ca(r[a]):r[a]:n[a]=r[a]}),n}var _r={exports:{}},Vt={exports:{}},ce={};/** @license React v16.13.1